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

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

1.2       deraadt     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
1.1       deraadt     2: #
1.3     ! deraadt     3: #      Version 9.12.3
1.1       deraadt     4: #      termcap syntax
                      5: #
                      6: #      Eric S. Raymond         (current maintainer)
                      7: #      John Kunze, Berkeley
                      8: #      Craig Leres, Berkeley
                      9: #
                     10: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     11: # address is no longer valid.
                     12: #
                     13: # PURPOSE OF THIS FILE:
                     14: #
                     15: # This file describes the capabilities of various character-cell terminals,
                     16: # as needed by software such as screen-oriented editors.
                     17: #
1.2       deraadt    18: # Other terminfo and termcap files exist, supported by various OS vendors
                     19: # or as relics of various older versions of UNIX.  This one is the longest
                     20: # and most comprehensive one in existence.  It subsumes not only the entirety
                     21: # of the historical 4.4BSD, GNU, System V and SCO termcap files, but also large
                     22: # numbers of vendor-maintained termcap and terminfo entries more complete
                     23: # and carefully tested than those in historical termcap/terminfo versions.
                     24: #
1.1       deraadt    25: # Pointers to related resources (including the ncurses distribution) may
                     26: # be found at <http://www.ccil.org/~esr/ncurses.html>.
                     27: #
1.2       deraadt    28: # INTERNATIONALIZATION:
                     29: #
                     30: # This file assumes a US-ASCII character set. If you need to fix this, start
                     31: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     32: # for your character set.  \E(A and \E)A enables the British character set
                     33: # with the pound sign at position 2/3.
                     34: #
1.1       deraadt    35: # FILE FORMAT:
                     36: #
                     37: # The version you are looking at may be in any of three formats: master
                     38: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     39: # which by the format given in the header above.
                     40: #
                     41: # The master format is accepted and generated by the terminfo tools in the
                     42: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     43: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     44: # various obsolete termcap capabilities.  You can, thus, convert from master
                     45: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
                     46: # you have ncurses `tic -I' is nicer.
                     47: #
                     48: # The termcap version is generated automatically from the master version
                     49: # using tic -C.  This filtering leaves in the OT capabilities under their
                     50: # original termcap names.  All translated entries fit within the
                     51: # 1023-byte string-table limit of archaic termcap libraries except where
                     52: # explicitly noted below.
                     53: #
                     54: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     55: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     56: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     57: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     58: #
                     59: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     60: # no entry in this file has embedded comments.  This is so source translation
                     61: # to termcap only has to carry over leading comments.  Also, no name field
                     62: # contains embedded whitespace (such whitespace confuses rdist).
                     63: #
                     64: # Further note: older versions of this file were often installed with an editor
                     65: # script (reorder) that moved the most common terminal types to the front of
                     66: # the file.  This should no longer be necessary, as the file is now ordered
                     67: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     68: #
                     69: # Some information has been merged in from terminfo files distributed by
                     70: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     71: # comes from vendors who maintain official terminfos for their hardware
                     72: # (notably DEC and Wyse).
                     73: #
                     74: # A detailed change history is included at the end of this file.
                     75: #
                     76: # FILE ORGANIZATION:
                     77: #
                     78: # Comments in this file begin with # - they cannot appear in the middle
                     79: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     80: # placing a period between the colon and the capability name.
                     81: #
1.2       deraadt    82: # The file is divided up into major sections (headed by lines beginning with
                     83: # the string "########") and minor sections (beginning with "####"); do
1.1       deraadt    84: #
                     85: #      grep "^####" <file> | more
                     86: #
                     87: # to see a listing of section headings.  The intent of the divisions is
                     88: # (a) to make it easier to find things, and (b) to order the database so
                     89: # that important and frequently-encountered terminal types are near the
                     90: # front (so that you'll get reasonable search efficiency even if you don't
                     91: # use reorder).  Minor sections usually correspond to manufacturers or
                     92: # standard terminal classes.  Parenthesized words following manufacturer
                     93: # names are type prefixes or product line names used by that manufacturers.
                     94: #
                     95: # Finally, because this file is released in both terminfo and termcap formats,
                     96: # most references to termcap names in comments are bracketed with colons (the
                     97: # termcap separator) so they can be distinguished from terminfo capability
                     98: # names.
                     99: #
                    100: # HOW TO READ THE ENTRIES:
                    101: #
                    102: # The first name in an entry is the canonical name for the model or
                    103: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    104: # the terminal.
                    105: #
                    106: # Terminal names look like <manufacturer> <model> - <modes/options>
                    107: # The part to the left of the dash, if a dash is present, describes the
                    108: # particular hardware of the terminal.  The part to the right may be used
                    109: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    110: # or user preferences.
                    111: #
                    112: # All names should be in lower case, for consistency in typing.
                    113: #
                    114: # The following are conventionally used suffixes:
1.2       deraadt   115: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    116: #      -am     Enable auto-margin.
                    117: #      -m      Monochrome.  Suppress color support
                    118: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
1.1       deraadt   119: #              only support one attribute without magic-cookie lossage.
                    120: #              Their base entry is usually paired with another that
                    121: #              uses magic cookies to support multiple attributes.
1.2       deraadt   122: #      -na     No arrow keys - termcap ignores arrow keys which are
                    123: #              actually there on the terminal, so the user can use
                    124: #              the arrow keys locally.
                    125: #      -nam    No auto-margin - suppress <am> capability
                    126: #      -nl     No labels - suppress soft labels
                    127: #      -ns     No status line - suppress status line
                    128: #      -rv     Terminal in reverse video mode (black on white)
                    129: #      -s      Enable status line.
                    130: #      -vb     Use visible bell (<flash>) rather than <bel>.
                    131: #      -w      Wide - in 132 column mode.
                    132: # If a name has multiple suffixes and one is a line height, that one should
                    133: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    134: #
                    135: # Entries with embedded plus signs are designed to be included through use/tc
                    136: # capabilities, not used as standalone entries.
1.1       deraadt   137: #
                    138: # To avoid search clashes, some older all-numeric names for terminals have
                    139: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    140: # All primary names of terminals now have alphanumeric prefixes.
                    141: #
                    142: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    143: # code packaged with ncurses and contemplating the resulting error messages.
                    144: # In many cases, these indicated obvious fixes to syntax garbled by the
                    145: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    146: # capabilities by looking at context.  All the information in the original
                    147: # entries is preserved in the comments.
                    148: #
1.2       deraadt   149: # In the comments, terminfo capability names are bracketed with <> (angle
                    150: # brackets).  Termcap capability names are bracketed with :: (colons).
1.1       deraadt   151: #
                    152: # INTERPRETATION OF USER CAPABILITIES
                    153: #
                    154: # The System V Release 4 and XPG4 terminfo format defines ten string
1.2       deraadt   155: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
1.1       deraadt   156: # certain of these capabilities to describe functions which are not covered
                    157: # by terminfo.  The mapping is as follows:
                    158: #
1.3     ! deraadt   159: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
1.1       deraadt   160: #      u8      terminal answerback description
1.3     ! deraadt   161: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
        !           162: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
1.1       deraadt   163: #
1.2       deraadt   164: # The terminal enquire string <u9> should elicit an answerback response
                    165: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
1.3     ! deraadt   166: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   167: #
1.2       deraadt   168: # The cursor position request (<u7>) string should elicit a cursor position
1.3     ! deraadt   169: # report.  A typical value (for VT100 terminals) is \E[6n.
1.1       deraadt   170: #
                    171: # The terminal answerback description (u8) must consist of an expected
                    172: # answerback string.  The string may contain the following scanf(3)-like
                    173: # escapes:
                    174: #
                    175: #      %c      Accept any character
                    176: #      %[...]  Accept any number of characters in the given set
                    177: #
1.2       deraadt   178: # The cursor position report (<u6>) string must contain two scanf(3)-style
1.1       deraadt   179: # %d format elements.  The first of these must correspond to the Y coordinate
1.2       deraadt   180: # and the second to the %d.  If the string contains the sequence %i, it is
                    181: # taken as an instruction to decrement each value after reading it (this is
                    182: # the inverse sense from the cup string).  The typical CPR value is
1.3     ! deraadt   183: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   184: #
                    185: # These capabilities are used by tac(1m), the terminfo action checker soon
                    186: # to be distributed with ncurses.
                    187: #
                    188: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    189: #
1.3     ! deraadt   190: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
        !           191: # character-cell terminals are increasingly replaced by X displays, much of
        !           192: # this file is becoming a historical document (this is part of the reason for
        !           193: # the new organization, which puts ANSI types, xterm, and vt100 up front in
1.1       deraadt   194: # confidence that this will catch 95% of new hardware).
                    195: #
                    196: # For the terminal types still alive, I'd like to have manufacturer's
                    197: # contact data (Internet address and/or snail-mail + phone).
                    198: #
                    199: # I'm also interested in enriching the comments so that the latter portions of
                    200: # the file do in fact become a potted history of VDT technology as seen by
                    201: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    202: # include its live/dead/out-of-the-business status, and for as many
                    203: # terminal types as possible to be tagged with information like years
                    204: # of heaviest use, popularity, and interesting features.
                    205: #
                    206: # I'm especially interested in identifying the obscure entries listed under
                    207: # `Manufacturer unknown' and `Utter unknowns', before the tribal wisdom
                    208: # about them gets lost.
                    209: #
                    210: # If you have been around long enough to contribute, please read the file
                    211: # with this in mind and send me your annotations.
                    212: #
                    213: # COPYRIGHTS AND OTHER DELUSIONS
                    214: #
                    215: # The BSD ancestor of this file had a standard Regents of the University of
                    216: # California copyright with dates from 1980 to 1993.
                    217: #
                    218: # Some information has been merged in from a terminfo file SCO distributes.
                    219: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    220: # took so much of the content from the ancestral BSD versions of this file
                    221: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    222: #
                    223: # Not that anyone should care.  However many valid functions copyrights may
                    224: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    225: # contributors makes about as much sense as copyrighting a wall-full of
                    226: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    227: #
                    228: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    229: # If you claim you own it, you will merely succeed in looking like a fool.
                    230: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    231: # There are no guarantees anywhere.  Svaha!
                    232:
                    233: ######## STANDARD AND SPECIAL TYPES
                    234: #
                    235: # This section describes terminal classes and maker brands that are still
                    236: # quite common.
                    237: #
                    238:
                    239: #### Specials
                    240: #
                    241: # Special "terminals".  These are used to label tty lines when you don't
                    242: # know what kind of terminal is on it.  The characteristics of an unknown
                    243: # terminal are the lowest common denominator - they look about like a ti 700.
                    244: #
                    245:
1.2       deraadt   246: dumb|80-column dumb tty:\
1.1       deraadt   247:        :am:\
                    248:        :co#80:\
                    249:        :bl=^G:cr=^M:do=^J:sf=^J:
1.2       deraadt   250: unknown|unknown terminal type:\
1.3     ! deraadt   251:        :gn:tc=dumb:
1.2       deraadt   252: lpr|printer|line printer:\
1.1       deraadt   253:        :hc:os:\
                    254:        :co#132:li#66:\
                    255:        :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
                    256:
1.3     ! deraadt   257: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
1.2       deraadt   258: #
                    259: # See the end-of-file comment for more on these.
                    260: #
                    261:
                    262: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    263: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    264: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    265: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    266: # will work with any Intel console, they all seem to have inherited \E[11m
                    267: # from the ANSI.SYS de-facto standard.
                    268: klone+acs|alternate character set for ansi.sys displays:\
1.3     ! deraadt   269:        :ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333p\304r\304y\363z\362{\343|\330}\234:\
1.2       deraadt   270:        :ae=\E[10m:as=\E[11m:
                    271:
                    272: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    273: # console drivers for Intel boxes obey these.  Makes the same assumption
1.3     ! deraadt   274: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have rmso=\E[27m,
        !           275: # rmul=\E[24m, but this isn't a documented feature of ANSI.SYS.
1.2       deraadt   276: klone+sgr|attribute control for ansi.sys displays:\
1.3     ! deraadt   277:        :S2=\E[11m:S3=\E[10m:ae=\E[10m:as=\E[11m:mb=\E[5m:\
        !           278:        :md=\E[1m:me=\E[0;10m:mk=\E[8m:mr=\E[7m:\
1.2       deraadt   279:        :..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:\
                    280:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
                    281:
                    282: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    283: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    284: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    285: # diamond and arrow characters under curses.
                    286: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
1.3     ! deraadt   287:        :ae=\E[10m:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
        !           288:        :mk=\E[8m:mr=\E[7m:\
1.2       deraadt   289:        :..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:\
                    290:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
                    291:
                    292: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    293: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    294: # but equivalent strings that don't rely on that coincidence:
                    295: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    296: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    297: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
                    298: klone+color|color control for ansi.sys and ISO6429-compatible displays:\
1.3     ! deraadt   299:        :Co#8:NC#3:pa#64:\
        !           300:        :AB=\E[4%p1%dm:AF=\E[3%p1%dm:Sb=\E[%+(m:Sf=\E[%+^^m:\
        !           301:        :op=\E[37;40m:
1.2       deraadt   302:
                    303: # For comparison, here are all the capabilities implied by the Intel
                    304: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    305: # For more detail on this rather pathetic standard, see the comments
                    306: # near the end of this file.
                    307: ibcs2|Intel Binary Compatibility Standard prescriptions:\
                    308:        :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.3     ! deraadt   309:        :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:\
        !           310:        :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:\
        !           311:        :cl=\Ec:cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:\
        !           312:        :ei=:im=:rc=\E7:sc=\E7:st=\EH:
1.2       deraadt   313:
1.3     ! deraadt   314: #### ANSI/ECMA-48 terminals and terminal emulators
1.1       deraadt   315: #
                    316: # See near the end of this file for details on ANSI conformance.
                    317: # Don't mess with these entries!  Lots of other entries depend on them!
                    318: #
                    319: # This section lists entries in a least-capable to most-capable order.
                    320: # if you're in doubt about what `ANSI' matches yours, try them in that
                    321: # order and back off from the first that breaks.
                    322:
                    323: ansi-mini|any ansi terminal with pessimistic assumptions:\
                    324:        :am:bs:\
                    325:        :co#80:it#8:li#24:\
1.2       deraadt   326:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                    327:        :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
1.1       deraadt   328:
                    329: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
1.2       deraadt   330: # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
                    331: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
                    332: # <cuf1>, cud1 and cub1.  Also deleted <ich> and <ich1>, as QModem up to 5.03
                    333: # doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem to
                    334: # confuse many emulators.  On the other hand, we can count on these programs
                    335: # doing <rmacs>/<smacs>/<sgr>.  # Older versions of this entry featured
                    336: # <invis>=\E[9m, but <invis>=\E[8m now seems to be more common under
                    337: # ANSI.SYS influence.
                    338: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    339: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
                    340:        :am:bs:mi:ms:\
1.1       deraadt   341:        :co#80:it#8:li#24:\
1.2       deraadt   342:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                    343:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:\
                    344:        :do=\E[B:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                    345:        :kr=\E[C:ku=\E[A:le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:\
                    346:        :up=\E[A:tc=klone+sgr-dumb:
                    347: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
1.3     ! deraadt   348:        :li#25:tc=pcansi-m:
1.2       deraadt   349: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
1.3     ! deraadt   350:        :li#33:tc=pcansi-m:
1.2       deraadt   351: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
1.3     ! deraadt   352:        :li#43:tc=pcansi-m:
1.1       deraadt   353: # The color versions.  All PC emulators do color...
                    354: pcansi|ibm-pc terminal programs claiming to be ansi:\
1.2       deraadt   355:        :tc=klone+color:tc=pcansi-m:
1.1       deraadt   356: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
1.3     ! deraadt   357:        :li#25:tc=pcansi:
1.1       deraadt   358: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
1.3     ! deraadt   359:        :li#33:tc=pcansi:
1.1       deraadt   360: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
1.3     ! deraadt   361:        :li#43:tc=pcansi:
1.1       deraadt   362:
1.2       deraadt   363: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
1.1       deraadt   364: # If you want pound signs rather than dollars, replace `B' with `A'
1.2       deraadt   365: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    366: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    367: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
1.3     ! deraadt   368:        :5i:\
1.1       deraadt   369:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    370:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.3     ! deraadt   371:        :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:\
        !           372:        :ei=:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:\
        !           373:        :kr=\E[C:ku=\E[A:nw=\r\E[S:pf=\E[4i:po=\E[5i:\
        !           374:        :..rp=%p1%c\E[%p2%{1}%-%db:s0=\E(B:s1=\E)B:s2=\E*B:\
        !           375:        :s3=\E+B:ta=\E[I:tc=pcansi-m:
1.1       deraadt   376:
                    377: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
                    378: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color
1.2       deraadt   379: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.1       deraadt   380: ansi|ansi/pc-term compatible with color:\
1.3     ! deraadt   381:        :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
        !           382:        :u9=\E[c:tc=klone+color:tc=klone+acs:tc=klone+sgr:tc=ansi-m:
1.1       deraadt   383:
                    384: #
                    385: # ANSI.SYS entries
                    386: #
1.2       deraadt   387: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    388: # documentation (except for the keyboard key reassignment feature, which
                    389: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    390: # though undocumented.  The <pfkey> capability is untested but should work for
                    391: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    392: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    393: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
                    394:        :am:mi:ms:xo:\
1.1       deraadt   395:        :co#80:li#25:\
1.3     ! deraadt   396:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
        !           397:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:\
        !           398:        :kr=^L:ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:\
        !           399:        :sc=\E[s:u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:tc=klone+color:tc=klone+acs:tc=klone+sgr:
1.2       deraadt   400: ansi.sys|ANSI.SYS 3.1 and later versions:\
                    401:        :ce=\E[K:tc=ansi.sys-old:
                    402:
1.1       deraadt   403: #
                    404: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    405: # This should only be used when the terminal emulator cannot redefine the keys.
                    406: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    407: # definitions must be restored.  If the terminal emulator is quit while in vi
1.2       deraadt   408: # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
1.1       deraadt   409: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    410: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    411: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1.2       deraadt   412: # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
1.1       deraadt   413: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    414: # Consequently the End keypad key could not be set (it is relatively safe and
                    415: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    416: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
                    417:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
                    418:        :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:\
                    419:        :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:tc=ansi.sys:
                    420: #
                    421: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    422: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
                    423:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    424:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
                    425: #
                    426: # See ansi.sysk and nansi.sys above.
                    427: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
                    428:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    429:        :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
                    430:
                    431: #### ANSI console types
                    432: #
                    433:
                    434: # This entry is good for the 1.1.47 version of the Linux console driver.
                    435: #
                    436: # Note: there are numerous broken linux entries out there, which didn't screw
                    437: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
1.2       deraadt   438: # One common pathology is an incorrect tab length of 4.
1.1       deraadt   439: #
1.2       deraadt   440: # ***************************************************************************
                    441: # *                                                                         *
                    442: # *                           WARNING:                                      *
1.3     ! deraadt   443: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
        !           444: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
        !           445: # * character. Here are the keymap replacement lines that will set this up: *
1.2       deraadt   446: # *                                                                         *
                    447: #      keycode  15 = Tab             Tab
                    448: #              alt     keycode  15 = Meta_Tab
                    449: #              shift   keycode  15 = F26
                    450: #      string F26 ="\033[Z"
                    451: # *                                                                         *
1.3     ! deraadt   452: # * This has to use a key slot which is unfortunate (any unused one will    *
        !           453: # # do, F26 is the higher-numbered one).  The change ought to be built      *
1.2       deraadt   454: # * into the kernel tables.                                                 *
                    455: # *                                                                         *
                    456: # ***************************************************************************
                    457: #
                    458: # From: Eric S. Raymond <esr@snark.thyrsus.com> 9 Nov 1995
1.1       deraadt   459: linux|linux console:\
1.3     ! deraadt   460:        :am:eo:mi:ms:ut:xn:xo:\
1.1       deraadt   461:        :co#80:it#8:li#25:\
1.3     ! deraadt   462:        :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !           463:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
        !           464:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
        !           465:        :IC=\E[%d@:K2=\E[G:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !           466:        :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !           467:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
        !           468:        :do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:\
        !           469:        :k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
        !           470:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:\
        !           471:        :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:\
1.2       deraadt   472:        :kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mr=\E[7m:\
1.3     ! deraadt   473:        :nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:sf=^J:sr=\EM:\
        !           474:        :st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:\
        !           475:        :u9=\E[c:up=\E[A:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
1.2       deraadt   476:        :vi=\E[?25l:tc=klone+sgr:tc=klone+color:tc=klone+acs:
                    477: linux-m|Linux console no color:\
1.3     ! deraadt   478:        :Co@:pa@:\
        !           479:        :AB@:AF@:Sb@:Sf@:tc=linux:
1.1       deraadt   480:
                    481: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    482: linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
                    483:        :IC@:ei=:ic@:im=:tc=linux:
                    484:
                    485: # SCO console and SOS-Syscons console for 386bsd
                    486: # (scoansi: had unknown capabilities
                    487: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
1.2       deraadt   488: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
1.1       deraadt   489: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    490: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    491: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
1.2       deraadt   492: # I renamed GS/GE/HM/EN/PU/PD/RT -- esr)
1.1       deraadt   493: scoansi|SCO Extended ANSI standard crt:\
1.2       deraadt   494:        :am:bs:eo:xo:\
1.1       deraadt   495:        :co#80:it#8:li#25:\
1.3     ! deraadt   496:        :@7=\E[F:ae=\E[10m:al=\E[L:as=\E[12m:bt=\E[Z:cd=\E[J:\
        !           497:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
        !           498:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:\
        !           499:        :k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
        !           500:        :k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
        !           501:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
        !           502:        :md=\E[1m:me=\E[m:nd=\E[C:se=\E[m:sf=\E[S:so=\E[7m:\
        !           503:        :sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt   504:
1.3     ! deraadt   505: # This actually describes the generic SVr4 display driver for Intel boxes.
        !           506: # The <dim>=\E[2m isn't documented and therefore may not be reliable.
        !           507: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
1.2       deraadt   508: att6386|at386|386at|AT&T WGS 6386 console:\
1.1       deraadt   509:        :am:bw:eo:xo:\
                    510:        :co#80:it#8:li#25:\
1.3     ! deraadt   511:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !           512:        :F1=\EOZ:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
        !           513:        :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !           514:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt   515:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
1.3     ! deraadt   516:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:\
        !           517:        :cr=^M:ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:\
        !           518:        :ec=\E[%dX:ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:\
        !           519:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:\
        !           520:        :k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kB=^]:kD=\E[P:\
        !           521:        :kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
1.2       deraadt   522:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
1.3     ! deraadt   523:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:\
        !           524:        :nd=\E[C:nw=\r\E[S:rc=\E8:\
        !           525:        :..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:\
        !           526:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:\
        !           527:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:tc=klone+color:
1.2       deraadt   528: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    529: pc6300plus|AT&T 6300 plus:\
                    530:        :am:xo:\
1.1       deraadt   531:        :co#80:li#24:\
                    532:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
                    533:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:\
                    534:        :do=\E[B:ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:\
                    535:        :k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
1.3     ! deraadt   536:        :k9=\EOk:k;=\EOu:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
        !           537:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[2m:\
        !           538:        :mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[m:sf=^J:\
        !           539:        :so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:\
        !           540:        :vi=\E[=C:
1.1       deraadt   541:
                    542: #
                    543: #      Terminfo entry for the AT&T Unix PC 7300
                    544: #      from escape(7) in Unix PC 7300 Manual.
                    545: #      Somewhat similar to a vt100-am (but different enough
                    546: #      to redo this from scratch.)
                    547: #
                    548: #      /***************************************************************
                    549: #      *
                    550: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    551: #      *
                    552: #      *     This routine loads a font defined in the file ALTFONT
                    553: #      *     into font memory slot #1.  Once the font has been loaded,
                    554: #      *     it can be used as an alternative character set.
                    555: #      *
                    556: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    557: #      *     to this routine.  For more information, see window(7) in
                    558: #      *     the PC 7300 documentation.
                    559: #      ***************************************************************/
                    560: #      #include <string.h>             /* needed for strcpy call */
                    561: #      #include <sys/window.h>         /* needed for ioctl call */
                    562: #      #define FNSIZE  60              /* font name size */
                    563: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    564: #      /*
                    565: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    566: #      *     standard PC software.  It defines a graphics character set
                    567: #      *     similar to that of the Teletype 5425 terminal.  To view
                    568: #      *     this or other fonts in /usr/lib/wfont, use the command
                    569: #      *     cfont <filename>.  For further information on fonts see
                    570: #      *     cfont(1) in the PC 7300 documentation.
                    571: #      */
                    572: #
                    573: #      struct altfdata         /* structure for alt font data */
                    574: #      {
                    575: #      short   altf_slot;              /* memory slot number */
                    576: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    577: #      };
                    578: #      ldfont()
                    579: #      {
                    580: #              int wd;         /* window in which altfont will be */
                    581: #              struct altfdata altf;
                    582: #              altf.altf_slot=1;
                    583: #              strcpy(altf.altf_name,ALTFONT);
                    584: #              for (wd =1; wd < 12; wd++) {
                    585: #                   ioctl(wd, WIOCLFONT,&altf);
                    586: #              }
                    587: #      }
                    588: #
1.3     ! deraadt   589: # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
        !           590: # they're confirmed by the man page for the System V display---esr)
        !           591: #
        !           592: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !           593: # (sgr removed to fit entry within 1023 bytes)
        !           594: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   595: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
                    596:        :am:xn:xo:\
                    597:        :co#80:it#8:li#24:\
                    598:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                    599:        :UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E^I:\
                    600:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.3     ! deraadt   601:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:i1=^O:ic=\E[@:\
        !           602:        :im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E5:k6=\E6:\
        !           603:        :k7=\E7:k8=\E8:kD=\Edc:kI=\Eim:kN=\Epg:kP=\EPG:kb=^H:\
        !           604:        :kd=\E[B:kh=\Ehm:kl=\E[D:kr=\E[C:ku=\E[A:md=\E[7m:\
        !           605:        :me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !           606:        :se=\E[m:sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
        !           607:        :us=\E[4m:ve=\E[=1C:vi=\E[=C:
1.1       deraadt   608:
1.3     ! deraadt   609: # From: davis@unidata.ucar.edu
1.2       deraadt   610: # (iris-ansi: added rmam/smam based on init string -- esr)
1.1       deraadt   611: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
                    612:        :am:\
                    613:        :co#80:it#8:li#40:\
1.3     ! deraadt   614:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:\
        !           615:        :%f=\E[210q:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:\
        !           616:        :@7=\E[146q:@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\
        !           617:        :F1=\EOR:F2=\EOS:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
        !           618:        :SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
        !           619:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !           620:        :dl=\E[M:do=^J:ho=\E[H:\
        !           621:        :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
1.1       deraadt   622:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
1.3     ! deraadt   623:        :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:\
        !           624:        :kB=\E[Z:kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:\
        !           625:        :kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !           626:        :ku=\E[A:le=\E[D:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !           627:        :nw=\EE:pk=\EP101;%d.y%s\E\\:rc=\E8:sc=\E7:se=\E[m:\
        !           628:        :sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
        !           629:        :up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
1.2       deraadt   630:        :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
1.1       deraadt   631:
                    632: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    633: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    634: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    635: # (the former is untrue, and the latter failed under UCB/man); standout and
                    636: # underline modes have been added.  Note: this entry describes the "native"
                    637: # capabilities of the PC monochrome display, without ANY emulation; most
                    638: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    639: pcix|PC/IX console:\
1.2       deraadt   640:        :am:bw:eo:\
1.1       deraadt   641:        :co#80:li#24:\
                    642:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:\
1.2       deraadt   643:        :ho=\E[H:le=^H:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
                    644:        :up=\E[A:us=\E[4m:
1.1       deraadt   645:
1.3     ! deraadt   646: # (ibmpcx: this entry used to be known as ibmx.
        !           647: # It formerly included the following extension capabilities:
1.1       deraadt   648: #      :GC=b:GL=v:GR=t:RT=^J:\
                    649: #      :GH=\E[196g:GV=\E[179g:\
                    650: #      :GU=\E[193g:GD=\E[194g:\
                    651: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    652: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    653: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    654: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1.2       deraadt   655: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    656: # what was there before. -- esr)
1.1       deraadt   657: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
1.2       deraadt   658:        :am:ms:\
1.1       deraadt   659:        :co#80:li#25:\
1.3     ! deraadt   660:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
        !           661:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:\
        !           662:        :k1=\E[K:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:\
        !           663:        :kb=^H:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1.2       deraadt   664:        :nd=\E[C:up=\E[A:tc=klone+acs:tc=klone+sgr:
1.1       deraadt   665:
                    666:
1.2       deraadt   667: # QNX 4.0 Console
                    668: # Michael's original version of this entry had <am>@, <smcup>=\Ei,
                    669: # <rmcup>=\Eh\ER; this was so terminfo applications could write the lower
                    670: # right corner without triggering a scroll.  The ncurses terminfo library can
                    671: # handle this case with the <ich1> capability, and prefers am for optimization.
1.1       deraadt   672: # From: Michael Hunter <mphunter@qnx.com> 25 Aug 1995
1.3     ! deraadt   673: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !           674: # (sgr removed to fit entry within 1023 bytes)
        !           675: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   676: qnx|qnx4|qnx console:\
1.2       deraadt   677:        :am:km:mi:ms:xt:\
1.1       deraadt   678:        :co#80:it#4:li#25:\
                    679:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                    680:        :cr=^M:dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:\
                    681:        :k1=\377\201:k2=\377\202:k3=\377\203:k4=\377\204:\
                    682:        :k5=\377\205:k6=\377\206:k7=\377\207:k8=\377\210:\
1.2       deraadt   683:        :k9=\377\211:kD=\377\254:kI=\377\253:kN=\377\252:\
                    684:        :kP=\377\242:kd=\377\251:kh=\377\240:kl=\377\244:\
1.1       deraadt   685:        :kr=\377\246:ku=\377\241:le=^H:mb=\E{:md=\E<:\
1.3     ! deraadt   686:        :me=\E}\E]\E>\E):mr=\E(:nd=\EC:rp=\Eg%r%+ %.:se=\E):\
        !           687:        :sf=^J:so=\E(:sr=\EI:ta=^I:te=\ER:ue=\E]:up=\EA:\
        !           688:        :us=\E[:ve=\Ey1:vi=\Ey0:vs=\Ey2:
1.2       deraadt   689:
                    690: #### FreeBSD and NetBSD consoles
                    691: #
                    692: # pcvt termcap database entries (corresponding to release 3.31)
                    693: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    694: #
                    695: # (For the terminfo master file, I translated these into terminfo syntax.
                    696: # Then I dropped all the pseudo-HP entries. we don't want and can't use
                    697: # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
                    698: # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
                    699:
                    700: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
                    701: # both <ich1> and <smir> are specified (an original VT220
                    702: # shows the same buggy behaviour!), <ich1> has been taken
                    703: # out of this entry. for reference, it should be <ich1>=\E[@.
                    704: pcvtXX|pcvt vt200 emulator (DEC VT220):\
                    705:        :am:km:mi:ms:xn:\
                    706:        :it#8:vt#3:\
                    707:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt   708:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
        !           709:        :SR=\E[%dT:UP=\E[%dA:\
        !           710:        :ac=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz:\
        !           711:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:\
        !           712:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !           713:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
        !           714:        :ei=\E[4l:ho=\E[H:\
1.2       deraadt   715:        :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
                    716:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                    717:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:\
                    718:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:\
                    719:        :ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                    720:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
1.3     ! deraadt   721:        :nd=\E[C:nw=\EE:\
        !           722:        :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !           723:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
1.2       deraadt   724:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
                    725:        :us=\E[4m:
                    726:
                    727: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    728: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    729: #      50 lines entries; 80 columns
                    730: pcvt25|dec vt220 emulation with 25 lines:\
                    731:        :co#80:li#25:\
                    732:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    733: pcvt28|dec vt220 emulation with 28 lines:\
                    734:        :co#80:li#28:\
                    735:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    736: pcvt35|dec vt220 emulation with 35 lines:\
                    737:        :co#80:li#35:\
                    738:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    739: pcvt40|dec vt220 emulation with 40 lines:\
                    740:        :co#80:li#40:\
                    741:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    742: pcvt43|dec vt220 emulation with 43 lines:\
                    743:        :co#80:li#43:\
                    744:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    745: pcvt50|dec vt220 emulation with 50 lines:\
                    746:        :co#80:li#50:\
                    747:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
                    748:
                    749: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    750: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
                    751: #      50 lines entries; 132 columns
                    752: pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
                    753:        :co#132:li#25:\
                    754:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    755: pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
                    756:        :co#132:li#28:\
                    757:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    758: pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
                    759:        :co#132:li#35:\
                    760:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    761: pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
                    762:        :co#132:li#40:\
                    763:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    764: pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
                    765:        :co#132:li#43:\
                    766:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    767: pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
                    768:        :co#132:li#50:\
                    769:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
                    770:
1.3     ! deraadt   771: #### 386BSD and BSD/OS Consoles
        !           772: #
        !           773:
        !           774: # This was the original 386BSD console entry (I think).
        !           775: # Some places it's named oldpc3|oldibmpc3.
        !           776: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
        !           777: origpc3|origibmpc3|IBM PC 386BSD Console:\
        !           778:        :am:bw:eo:xo:\
        !           779:        :co#80:li#25:\
        !           780:        :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
        !           781:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:\
        !           782:        :ho=\E[H:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:\
        !           783:        :le=^H:md=\E[7m:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:\
        !           784:        :se=\E[1;0x\E[2;7x:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:\
        !           785:        :ue=\E[1;0x\E[2;7x:up=\E[A:us=\E[1;7x\E[2;0x:
        !           786:
        !           787: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
        !           788: oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
        !           789:        :km:\
        !           790:        :li#25:\
        !           791:        :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:\
        !           792:        :kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !           793:        :kr=\E[C:ku=\E[A:md=\E[=15F:me=\E[=R:mh=\E[=8F:\
        !           794:        :nw=^M^J:sf=^J:ta=^I:
        !           795:
        !           796: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
        !           797: # Note, the emulator supports many of the additional console features
        !           798: # listed in the iBCS2 (e.g. color and character-set selection) though
        !           799: # not all are described here.  This entry really ought to be upgraded.
        !           800: # Also note, the console will also work with fewer lines after doing
        !           801: # "stty rows NN", e.g. to use 24 lines.
        !           802: bsdos|BSD/OS console:\
        !           803:        :am:bw:eo:km:xo:\
        !           804:        :co#80:it#8:li#25:\
        !           805:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
        !           806:        :UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
        !           807:        :cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
        !           808:        :kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
        !           809:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !           810:        :me=\E[0m:mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
        !           811:        :sc=\E7:se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
        !           812: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
        !           813:        :ue=\E[0m:us=\E[1m:tc=bsdos:
        !           814:
        !           815: # If you are BSDI, you want the following entries, for the moment.
        !           816: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
        !           817: pc3|IBM PC BSD/386 Console:\
        !           818:        :tc=bsdos:
        !           819: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
        !           820:        :us=\E[1m:tc=bsdos-bold:
1.1       deraadt   821:
                    822: #### DEC VT100 and compatibles
1.2       deraadt   823: #
                    824: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                    825: # the basis of some emulations) are collected here. Older DEC terminals and
                    826: # micro consoles can be found in the `obsolete' section.  More details on
                    827: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                    828: # found near the end of this file.
1.1       deraadt   829: #
                    830: # Except where noted, these entries are DEC's official terminfos.
                    831: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                    832: # Engineering for more information.  Updated terminfos and termcaps
                    833: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                    834: #
                    835:
1.2       deraadt   836: vt52|dec vt52:\
                    837:        :co#80:it#8:li#24:\
                    838:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                    839:        :do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
                    840:        :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
                    841:
                    842: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                    843: # certainly includes what DEC called the `Level 1 editing extension' codes;
                    844: # only the very oldest VT100s lacked these and there probably aren't any of
                    845: # those left alive.  To capture these, use one of the VT102 entries.
                    846: #
                    847: # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
1.1       deraadt   848: # since the cursor is left in a different position while in the
                    849: # weird state (concept at beginning of next line, vt100 at end
                    850: # of this line) so all versions of vi before 3.7 don't handle
1.2       deraadt   851: # <xenl> right on vt100. The correct way to handle <xenl> is when
1.1       deraadt   852: # you output the char in column 80, immediately output CR LF
1.2       deraadt   853: # and then assume you are in column 1 of the next line. If <xenl>
1.1       deraadt   854: # is on, am should be on too.
                    855: #
                    856: # I assume you have smooth scroll off or are at a slow enough baud
                    857: # rate that it doesn't matter (1200? or less). Also this assumes
                    858: # that you set auto-nl to "on", if you set it off use vt100-nam
                    859: # below.
                    860: #
                    861: # The padding requirements listed here are guesses. It is strongly
                    862: # recommended that xon/xoff be enabled, as this is assumed here.
                    863: #
1.2       deraadt   864: # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
1.1       deraadt   865: # tab settings are in non-volatile memory and don't need to be
                    866: # reset upon login. Also setting the number of columns glitches
                    867: # the screen annoyingly. You can type "reset" to get them set.
                    868: #
                    869: # This is how the keypad gets assigned in Application Keypad mode.
                    870: #      PF1 = kf1         PF2 = kf2         PF3   = kf3       PF4 = kf4
                    871: #      7   = kf9         8   = kf10        9     = kf0       -
                    872: #      4   = kf5         5   = kf6         6     = kf7       ,   = kf8
                    873: #      1   = ka1         2   = kb2         3     = ka3
                    874: #      0   = kc1         .   = kc3         ENTER = kent
                    875: #
1.2       deraadt   876: # And here, for those of you with orphaned VT100s lacking documentation, is
                    877: # a description of the soft switches invoked when you do `Set Up'.
                    878: #
                    879: #  Scroll 0-Jump               Shifted 3   0-#
                    880: #  |      1-Smooth             |           1-British pound sign
                    881: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                    882: #  | |          1-On           | |           1-On
                    883: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                    884: #  | | |      1-Light Bkg      | | |        1-On
                    885: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                    886: #  | | | |      1-Block        | | | |         1-On
                    887: #  | | | |                     | | | |
                    888: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                    889: #                | | | |                     | | | |
                    890: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                    891: #                | | |               1-On    | | |       1-50 Hz
                    892: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                    893: #                | |           1-ANSI        | |                1-8 Bits
                    894: #                | Keyclick 0-Off            | Parity 0-Off
                    895: #                |          1-On             |        1-On
                    896: #                Margin Bell 0-Off           Parity Sense 0-Odd
                    897: #                            1-On                         1-Even
                    898: #
                    899: # The following SET-UP modes are assumed for normal operation:
                    900: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                    901: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                    902: # Other SET-UP modes may be set for operator convenience or communication
                    903: # requirements; I recommend
                    904: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                    905: # Unless you have a graphics add-on such as Digital Engineering's VT640
                    906: # (and even then, whenever it can be arranged!) you should set
                    907: #      INTERLACE_OFF
                    908: #
                    909: # (I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt   910: vt100|vt100-am|dec vt100 (w/advanced video):\
1.2       deraadt   911:        :am:ms:xn:xo:\
1.1       deraadt   912:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt   913:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:\
        !           914:        :K5=\EOn:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !           915:        :UP=\E[%dA:\
        !           916:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !           917:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !           918:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !           919:        :ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:\
        !           920:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:\
        !           921:        :k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.1       deraadt   922:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
1.3     ! deraadt   923:        :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
        !           924:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt   925:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                    926:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                    927:        :ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt   928: vt100nam|vt100-nam|vt100 no automargins:\
1.3     ! deraadt   929:        :am@:xn@:tc=vt100-am:
1.1       deraadt   930:
                    931: # Ordinary vt100 in 132 column ("wide") mode.
                    932: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1.3     ! deraadt   933:        :co#132:li#24:\
        !           934:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1.1       deraadt   935: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1.3     ! deraadt   936:        :co#132:li#14:vt@:\
        !           937:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1.1       deraadt   938:
                    939: # vt100 with no advanced video.
                    940: vt100-nav|vt100 without advanced video option:\
                    941:        :sg#1:\
                    942:        :mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
                    943: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1.3     ! deraadt   944:        :co#132:li#14:tc=vt100-nav:
1.1       deraadt   945:
                    946: # vt100 with one of the 24 lines used as a status line.
                    947: # We put the status line on the top.
                    948: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
                    949:        :es:hs:\
                    950:        :li#23:\
                    951:        :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
                    952:        :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:\
                    953:        :is=\E7\E[2;24r\E8:ts=\E7\E[1;%p1%dH\E[1K:tc=vt100-am:
                    954:
                    955: # Status line at bottom.
                    956: # Clearing the screen will clobber status line.
                    957: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
                    958:        :es:hs:\
                    959:        :li#23:\
                    960:        :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
                    961:        :ts=\E7\E[24;%p1%dH\E[1K:tc=vt100-am:
                    962:
                    963: # Most of the `vt100' emulators out there actually emulate a vt102
                    964: # This entry (or vt102-nsgr) is probably the right thing to use for
                    965: # these.
                    966: vt102|dec vt102:\
                    967:        :mi:\
                    968:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1.3     ! deraadt   969: vt102-w|dec vt102 in wide mode:\
        !           970:        :li#132:\
        !           971:        :r3=\E[?3h:tc=vt102:
1.1       deraadt   972:
                    973: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1.2       deraadt   974: # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
1.1       deraadt   975: # string in the canonical vt100 entry above leaves the screen littered
                    976: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                    977: # after highlight turnoffs.  This entry should fix that, and even leave
                    978: # ACS support working, at the cost of making multiple-highlight changes
                    979: # slightly more expensive.
                    980: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.2       deraadt   981: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1.1       deraadt   982:        :me=\E[m:sa@:tc=vt102:
                    983:
                    984: # VT125 Graphics CRT.  Clear screen also erases graphics
                    985: vt125|vt125 graphics terminal:\
1.2       deraadt   986:        :cl=\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
                    987:
                    988: # This isn't a DEC entry, it came from University of Wisconsin.
                    989: # (vt131: I added <rmam>/<smam> based on the init string -- esr)
                    990: vt131|dec vt131:\
                    991:        :am:xn:\
                    992:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt   993:        :RA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
1.2       deraadt   994:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                    995:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                    996:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                    997:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
1.3     ! deraadt   998:        :me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
        !           999:        :r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
1.2       deraadt  1000:        :se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
                   1001:        :us=2\E[4m:
1.1       deraadt  1002:
                   1003: # vt132 - like vt100 but slower and has ins/del line and such.
1.2       deraadt  1004: # I'm told that <smir>/<rmir> are backwards in the terminal from the
1.1       deraadt  1005: # manual and from the ANSI standard, this describes the actual
                   1006: # terminal. I've never actually used a vt132 myself, so this
                   1007: # is untested.
                   1008: #
                   1009: vt132|DEC vt132:\
                   1010:        :xn:\
                   1011:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
                   1012:
                   1013: # vt220:
                   1014: # This vt220 description maps F5--F9 to the second block of function keys
                   1015: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1016: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1017: # PF1--PF4 are used as F1--F4.
                   1018: #
1.3     ! deraadt  1019: vt220|vt200|DEC VT220 in vt100 emulation mode:\
1.1       deraadt  1020:        :am:mi:xn:xo:\
                   1021:        :co#80:li#24:vt#3:\
1.3     ! deraadt  1022:        :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
        !          1023:        :ac=kkllmmjjnnwwqquuttvvxx:ae=\E(B:al=\E[L:as=\E(0:\
        !          1024:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
        !          1025:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:\
        !          1026:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  1027:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1028:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1.3     ! deraadt  1029:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
        !          1030:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          1031:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          1032:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          1033:        :rf=/usr/lib/tabset/vt100:\
1.1       deraadt  1034:        :..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  1035:        :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
        !          1036:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
        !          1037: vt220-w|vt200-w|DEC vt220 in wide mode:\
        !          1038:        :co#132:\
        !          1039:        :r3=\E[?3h:tc=vt220:
        !          1040:
1.1       deraadt  1041: #
                   1042: # vt220d:
                   1043: # This vt220 description regards F6--F10 as the second block of function keys
                   1044: # at the top of the keyboard.  This mapping follows the description given
                   1045: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1046: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1047: # See vt220 for an alternate mapping.
                   1048: #
                   1049: vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1.3     ! deraadt  1050:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
        !          1051:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
        !          1052:        :k5@:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          1053:        :k;=\E[21~:tc=vt220:
1.1       deraadt  1054:
1.3     ! deraadt  1055: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
        !          1056:        :am@:\
        !          1057:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1058:
1.3     ! deraadt  1059: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1060: # (sgr removed to fit entry within 1023 bytes)
        !          1061: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1062: vt220-8|dec vt220 8 bit terminal:\
                   1063:        :am:mi:ms:xn:xo:\
                   1064:        :co#80:it#8:li#24:\
                   1065:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1066:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
                   1067:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   1068:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   1069:        :ec=\E[%dX:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:\
                   1070:        :im=\E[4h:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:\
                   1071:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.2       deraadt  1072:        :k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1073:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   1074:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
1.1       deraadt  1075:        :rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   1076:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1077:        :vb=\E[?5h\E[?5l:
                   1078:
                   1079: # This was DEC's vt320.  Use the purpose-built one below instead
                   1080: #vt320|DEC VT320 in vt100 emulation mode,
                   1081: #      use=vt220,
                   1082:
                   1083: #
                   1084: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1085: #
1.2       deraadt  1086: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1.3     ! deraadt  1087:        :am@:\
        !          1088:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1089:
                   1090: # These entries are not DEC's official ones, they were purpose-built for the
                   1091: # VT320.  Here are the designer's notes:
1.2       deraadt  1092: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1093: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1.1       deraadt  1094: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1.2       deraadt  1095: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1096: # tab usually use <knxt> instead...
1.1       deraadt  1097: # kprv is same as tab - Backtab is useless...
1.2       deraadt  1098: # I left out <sgr> because of its RIDICULOUS complexity,
1.1       deraadt  1099: # and the resulting fact that it causes the termcap translation of the entry
                   1100: # to SMASH the 1k-barrier...
                   1101: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.3     ! deraadt  1102: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1103: # (sgr removed to fit entry within 1023 bytes)
        !          1104: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1105: vt320|vt300|dec vt320 7 bit terminal:\
                   1106:        :am:es:hs:mi:ms:xn:\
                   1107:        :co#80:li#24:ws#80:\
                   1108:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1109:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   1110:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:\
1.2       deraadt  1111:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.1       deraadt  1112:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   1113:        :ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   1114:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1115:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.2       deraadt  1116:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   1117:        :kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
                   1118:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
                   1119:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
                   1120:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   1121:        :ts=\E[1$}\E[H\E[K:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  1122:        :ve=\E[?25h:vi=\E[?25l:
                   1123: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
                   1124:        :am@:\
1.3     ! deraadt  1125:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
        !          1126:        :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:tc=vt320:
1.1       deraadt  1127: # We have to init 132-col mode, not 80-col mode.
                   1128: vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
                   1129:        :co#132:ws#132:\
1.3     ! deraadt  1130:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
        !          1131:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:tc=vt320:
1.1       deraadt  1132: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
                   1133:        :am@:\
1.3     ! deraadt  1134:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
        !          1135:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:tc=vt320-w:
1.1       deraadt  1136:
1.2       deraadt  1137: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1138: #   which are pretty much a superset of the VT320.  They have the
                   1139: #   host writable status line, yet another different DRCS matrix size,
                   1140: #   and such, but they add the DEC Technical character set, Multiple text
                   1141: #   pages, selectable length pages, and the like.  The difference between
                   1142: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1143: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1144: #   support VT131 and ANSI block mode, but as with much of these things,
                   1145: #   termcap/terminfo doesn't deal with these features.
                   1146: #
                   1147: # Note that this entry is are set up in what was the standard way for GNU
                   1148: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1149: # keys were switched into application mode at the same time the numeric pad
                   1150: # is switched into application mode.  This changes the definitions of the
                   1151: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1152: # your termcap entry,
                   1153: #
                   1154: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1155: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1156: # also, added <rmam>/<smam> based on the init string -- esr)
                   1157: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
                   1158:        :am:es:hs:mi:ms:xn:xo:\
                   1159:        :co#80:it#8:li#24:vt#3:\
                   1160:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  1161:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          1162:        :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          1163:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:\
        !          1164:        :dc=\E[P:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:\
        !          1165:        :ei=\E[4l:fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  1166:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1167:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   1168:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.3     ! deraadt  1169:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:\
        !          1170:        :l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1171:        :mr=\E[7m:nd=\E[C:nw=^M\ED:r1=\E[?3l:rc=\E8:\
        !          1172:        :rf=/usr/lib/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
        !          1173:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          1174:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          1175:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1176:
                   1177: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1178: # (originally written with vt420 as its primary name, and usable for it).
                   1179: #
                   1180: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1181: #    text pages and long text pages with selectable length of the vt340, along
                   1182: #    with left and right margins, rectangular area text copy, fill, and erase
                   1183: #    operations, selected region character attribute change operations,
                   1184: #    page memory and rectangle checksums, insert/delete column, reception
                   1185: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1186: #    can only take advantage of a few of these added features.
                   1187: #
                   1188: # Note that this entry is are set up in what was the standard way for GNU
                   1189: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1190: # keys were switched into application mode at the same time the numeric pad
                   1191: # is switched into application mode.  This changes the definitions of the
                   1192: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1193: # your termcap entry,
                   1194: #
                   1195: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1196: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1197: # also, added <rmam>/<smam> based on the init string -- esr)
                   1198: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
                   1199:        :am:es:hs:mi:ms:xn:xo:\
                   1200:        :co#80:it#8:li#24:vt#3:\
                   1201:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  1202:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          1203:        :ae=^O:al=\E[L:as=^N:cd=10\E[J:ce=4\E[K:\
        !          1204:        :cl=10\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          1205:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.2       deraadt  1206:        :ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:fs=\E[$}:\
                   1207:        :ho=\E[H:ic=\E[@:im=\E[4h:\
                   1208:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1209:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   1210:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.3     ! deraadt  1211:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:\
        !          1212:        :l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1213:        :mr=\E[7m:nd=\E[C:nw=^M\ED:r1=\E<\E[?3l\E[!p\E[?7h:\
        !          1214:        :rc=\E8:rf=/usr/lib/tabset/vt100:sc=\E7:se=\E[27m:\
        !          1215:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          1216:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          1217:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1218:
                   1219: # (I removed <kf0>, it collided with <kf10>;
                   1220: # I also added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  1221: vt420|DEC VT420:\
                   1222:        :am:mi:xn:xo:\
                   1223:        :co#80:li#24:vt#3:\
1.3     ! deraadt  1224:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
        !          1225:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          1226:        :SA=\E[?7h:\
        !          1227:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1228:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1229:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1230:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                   1231:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt100:\
1.2       deraadt  1232:        :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
                   1233:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:\
1.3     ! deraadt  1234:        :k8=\E[20~:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:\
        !          1235:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kl=\E[D:\
        !          1236:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !          1237:        :me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:rc=\E8:\
        !          1238:        :rf=/usr/lib/tabset/vt100:\
1.1       deraadt  1239:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
                   1240:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   1241:        :up=\E[A:us=\E[4m:
                   1242:
                   1243: #
                   1244: #  DECUDK
                   1245: #               if (key < 16) then  value = key;
                   1246: #               else if (key < 21) then value = key + 1;
                   1247: #               else if (key < 25) then value = key + 2;
                   1248: #               else if (key < 27) then value = key + 3;
                   1249: #               else if (key < 30) then value = key + 4;
                   1250: #               else value = key + 5;
                   1251: #
                   1252: vt420pc|DEC VT420 w/PC keyboard:\
1.3     ! deraadt  1253:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:\
        !          1254:        :F4=\E[12;2~:F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:\
        !          1255:        :F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:\
        !          1256:        :FC=\E[21;2~:FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:\
        !          1257:        :FG=\E[24~:FH=\E[25~:FI=\E[26~:FJ=\E[28~:FK=\E[29~:\
        !          1258:        :FL=\E[31~:FM=\E[32~:FN=\E[33~:FO=\E[34~:FP=\E[35~:\
        !          1259:        :FQ=\E[36~:FR=\E[23;2~:FS=\E[24;2~:FT=\E[25;2~:\
        !          1260:        :FU=\E[26;2~:FV=\E[28;2~:FW=\E[29;2~:FX=\E[31;2~:\
        !          1261:        :FY=\E[32;2~:FZ=\E[33;2~:Fa=\E[34;2~:Fb=\E[35;2~:\
        !          1262:        :Fc=\E[36;2~:S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:\
        !          1263:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
        !          1264:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:\
        !          1265:        :kh=\E[H:\
        !          1266:        :..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  1267:
                   1268: vt420pcdos|DEC VT420 w/PC for DOS Merge:\
                   1269:        :li#25:\
1.3     ! deraadt  1270:        :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
        !          1271:        :S4=\E[?1;2r\E[34h:\
        !          1272:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1.2       deraadt  1273:        :me=\E[m:sa@:tc=vt420pc:
1.1       deraadt  1274:
                   1275: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1.3     ! deraadt  1276:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
        !          1277:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1.1       deraadt  1278:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.3     ! deraadt  1279:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
        !          1280:        :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:tc=vt420:
1.1       deraadt  1281:
                   1282: vt510|DEC VT510:\
                   1283:        :tc=vt420:
                   1284: vt510pc|DEC VT510 w/PC keyboard:\
                   1285:        :tc=vt420pc:
                   1286: vt510pcdos|DEC VT510 w/PC for DOS Merge:\
                   1287:        :tc=vt420pcdos:
                   1288:
                   1289: # VT520/VT525
                   1290: #
                   1291: # The VT520 is a monochrome text terminal capable of managing up to
                   1292: # four independent sessions in the terminal.  It has multiple ANSI
                   1293: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1294: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1295: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1296: #
                   1297: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1298: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1299: # terminal mode is being used.  If Set-Up has been disabled or
                   1300: # assigned to an unknown key, Set-Up may be entered by pressing
                   1301: # [F3] as the first key after power up, regardless of keyboard type.
1.2       deraadt  1302: # (I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  1303: vt520|DEC VT520:\
                   1304:        :am:mi:xn:xo:\
                   1305:        :co#80:li#24:vt#3:\
1.3     ! deraadt  1306:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
        !          1307:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          1308:        :SA=\E[?7h:\
        !          1309:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1310:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1311:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1312:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                   1313:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt100:\
                   1314:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:\
                   1315:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:\
1.3     ! deraadt  1316:        :k7=\E[19~:k8=\E[20~:k9=\E[21~:k;=\E[29~:kD=\E[3~:\
        !          1317:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:\
        !          1318:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1319:        :mr=\E[7m:nd=\E[C:\
        !          1320:        :..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\\:\
        !          1321:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/lib/tabset/vt100:\
1.1       deraadt  1322:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
                   1323:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   1324:        :up=\E[A:us=\E[4m:
                   1325:
1.2       deraadt  1326: # (I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  1327: vt525|DEC VT525:\
                   1328:        :am:mi:xn:xo:\
                   1329:        :co#80:li#24:vt#3:\
1.3     ! deraadt  1330:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
        !          1331:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          1332:        :SA=\E[?7h:\
        !          1333:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1334:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1335:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1336:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                   1337:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt100:\
                   1338:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:\
                   1339:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:\
1.3     ! deraadt  1340:        :k7=\E[19~:k8=\E[20~:k9=\E[21~:k;=\E[29~:kD=\E[3~:\
        !          1341:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:\
        !          1342:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1343:        :mr=\E[7m:nd=\E[C:\
        !          1344:        :..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\\:\
        !          1345:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/lib/tabset/vt100:\
1.1       deraadt  1346:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
                   1347:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   1348:        :up=\E[A:us=\E[4m:
                   1349:
                   1350: #### VT100 emulations
                   1351: #
                   1352:
1.2       deraadt  1353: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1354: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   1355: # to telnetd.  We'll guess that it's vt102-like but doesn't grok ^N/^O.
                   1356: dec-vt100|EWAN telnet's vt100 emulation:\
                   1357:        :tc=vt102-nsgr:
                   1358:
1.1       deraadt  1359: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1360: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1361: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1362: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1363: # I can send the address if requested.
1.2       deraadt  1364: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.1       deraadt  1365: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1366: z340|zstem vt340 terminal emulator 132col 42line:\
                   1367:        :li#42:\
1.3     ! deraadt  1368:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
        !          1369:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:tc=vt320-w:
1.1       deraadt  1370: z340-nam|zstem vt340 terminal emulator 132col 42line:\
                   1371:        :am@:\
1.3     ! deraadt  1372:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
        !          1373:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:tc=z340:
1.1       deraadt  1374:
1.3     ! deraadt  1375: #### X terminal emulators
1.1       deraadt  1376: #
                   1377:
                   1378: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
1.2       deraadt  1379: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1.1       deraadt  1380: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1381: # as these seem not to work -- esr)
                   1382: x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1.2       deraadt  1383:        :am:km:mi:ms:xn:xo:\
1.1       deraadt  1384:        :co#80:it#8:li#65:\
1.3     ! deraadt  1385:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
        !          1386:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
        !          1387:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          1388:        :ho=\E[H:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:\
        !          1389:        :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
        !          1390:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
        !          1391:        :me=\E[m:mr=\E[7m:nd=\E[C:\
1.1       deraadt  1392:        :rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:se=\E[m:\
1.2       deraadt  1393:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
                   1394:        :us=\E[4m:
1.1       deraadt  1395: # X11R6 xterm.  This is known good for the XFree86 version under Linux.
1.3     ! deraadt  1396: # It is *way* more featureful than the stock X consortium entry.
1.2       deraadt  1397: # The kmous key is actually the \E[M prefix returned by xterm's internal
                   1398: # mouse-tracking facility.  ncurses will interpret the following three bytes
                   1399: # of mouse status information.
                   1400: # From: Eric S. Raymond <esr@snark.thyrsus.com> 9 Nov 1995
1.3     ! deraadt  1401: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1402: # (sgr removed to fit entry within 1023 bytes)
        !          1403: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1404: xterm|vs100|xterm terminal emulator (X11R6 Window System):\
1.2       deraadt  1405:        :am:km:mi:ms:xn:xo:\
1.3     ! deraadt  1406:        :co#80:it#8:li#65:\
1.2       deraadt  1407:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1408:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
                   1409:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   1410:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3k:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  1411:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                   1412:        :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
                   1413:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.2       deraadt  1414:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
                   1415:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
                   1416:        :kh=\E[@:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
1.1       deraadt  1417:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   1418:        :se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   1419:        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
                   1420:        :us=\E[4m:
1.3     ! deraadt  1421: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
        !          1422:        :so=\E[1m:tc=xterm:
        !          1423: xterms|vs100s|xterm terminal emulator (small screen 24x80):\
        !          1424:        :co#80:li#24:tc=xterm:
1.2       deraadt  1425: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.1       deraadt  1426: kterm|kterm kanji terminal emulator (X window system):\
                   1427:        :es:hs:\
                   1428:        :cs=\E[%i%d;%dr:ds=\E[?H:fs=\E[?F:rc=\E8:sc=\E7:\
                   1429:        :ts=\E[?E\E[?%i%dT:tc=xterm:
                   1430:
                   1431: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1432: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
                   1433:        :IC@:ei=:ic@:im=:tc=xterm:
                   1434:
                   1435: # From: Eric S. Raymond <esr@snark.thyrsus.com> May 4 1995
                   1436: # Should work with the color xterm on the X11R6 contrib tape.
                   1437: xterm-color|xterm with color support:\
1.2       deraadt  1438:        :tc=xterm:tc=klone+color:
1.1       deraadt  1439:
                   1440: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1441: # Here's a termcap entry I've been using for xterm_color, which comes
                   1442: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1443: # color stuff, I also have a status line defined as the window manager
                   1444: # title bar. [I have translated it to terminfo -- ESR]
                   1445: xterm-pcolor|xterm with color used for highlights and status line:\
                   1446:        :hs:\
                   1447:        :ws#40:\
                   1448:        :ds=\E]0;\007:fs=^G:md=\E[1m\E[43m:mr=\E[7m\E[34m:\
                   1449:        :so=\E[7m\E[31m:ts=\E]0;:us=\E[4m\E[42m:tc=xterm:
                   1450:
1.3     ! deraadt  1451: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.2       deraadt  1452: hpterm|X-hpterm|hp X11 terminal emulator:\
                   1453:        :am:da:db:mi:xs:\
1.3     ! deraadt  1454:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
        !          1455:        :LF=\E&j@:LO=\E&jB:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
        !          1456:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:\
        !          1457:        :cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
        !          1458:        :do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
        !          1459:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
        !          1460:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:\
        !          1461:        :kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:\
        !          1462:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
        !          1463:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:\
        !          1464:        :mr=\E&dB:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
        !          1465:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
        !          1466:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
        !          1467:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1468:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
                   1469:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:\
                   1470:        :ue=\E&d@:up=\EA:us=\E&dD:
                   1471:
1.3     ! deraadt  1472: # This is for the extensible terminal emulator on the X11R6 contrib tape.
        !          1473: emu|emu native mode:\
        !          1474:        :mi:ms:xo:\
        !          1475:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
        !          1476:        :*6=\Esel:@0=\Efind:@8=^M:\
        !          1477:        :AB=\Es%i%p1%d; setaf=\Er%i%p1%d;:AL=\EQ%d;:\
        !          1478:        :DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:F2=\EF12:\
        !          1479:        :F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
        !          1480:        :F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
        !          1481:        :UP=\Ep-%d;:\
        !          1482:        :ac=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
        !          1483:        :ae=\200:al=\EQ1;:as=\200:bl=^G:cb=\EL:ce=\EK:\
        !          1484:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:\
        !          1485:        :ct=\Ej:dc=\EI1;:dl=\ER1;:do=\EB:eA=\200:\
        !          1486:        :ec=\Ej%d;\ned=\EN:ei=\EX:ho=\EE0;0;:if=\200:im=\EY:\
        !          1487:        :is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:k2=\EF02:\
        !          1488:        :k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
        !          1489:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:\
        !          1490:        :kN=\Enext:kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:\
        !          1491:        :ku=\EA:le=^H:mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:\
        !          1492:        :nd=\ED:oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:\
        !          1493:        :so=\ES\ET:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:\
        !          1494:        :us=\ES\EV:ve=\Ea:vi=\EZ:vs=\Ea:
        !          1495:
1.1       deraadt  1496: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   1497: #
                   1498:
                   1499: # Columbus UNIX virtual terminal. This terminal also appears in
                   1500: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   1501: # undocumented and does not really work quite right.
                   1502: cbunix|cb unix virtual terminal:\
1.2       deraadt  1503:        :am:da:db:\
1.1       deraadt  1504:        :co#80:li#24:lm#0:\
                   1505:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:\
                   1506:        :cr=^M:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:\
                   1507:        :kh=\EE:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:\
                   1508:        :sf=^J:so=\Ea^D:ue=\Eb^A:up=\EA:us=\Ea^A:
                   1509: # (vremote: removed obsolete ":nl@:" -- esr)
                   1510: vremote|virtual remote terminal:\
                   1511:        :am@:\
1.3     ! deraadt  1512:        :co#79:tc=cbunix:
1.1       deraadt  1513: pty|4bsd pseudo teletype:\
                   1514:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
                   1515:
1.2       deraadt  1516: # Entries for use by the FSF's `screen' program.  The screen and
                   1517: # screen-w came with version 3.6.2.  The screen2 and screen3 entries
                   1518: # come from University of Wisconsin and may be older.
                   1519:
1.1       deraadt  1520: screen|VT 100/ANSI X3.64 virtual terminal:\
                   1521:        :am:km:mi:ms:xn:\
                   1522:        :co#80:it#8:li#24:\
1.3     ! deraadt  1523:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
        !          1524:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          1525:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00:\
        !          1526:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          1527:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          1528:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          1529:        :im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          1530:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          1531:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:\
        !          1532:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
        !          1533:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
        !          1534:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:\
        !          1535:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:\
        !          1536:        :st=\EH:ta=^I:ue=\E[24m:up=\EM:us=\E[4m:
1.1       deraadt  1537: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
1.3     ! deraadt  1538:        :co#132:tc=screen:
1.2       deraadt  1539:
                   1540: screen2|VT 100/ANSI X3.64 virtual terminal:\
                   1541:        :co#80:it#8:li#24:\
                   1542:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1543:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:\
                   1544:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                   1545:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:\
                   1546:        :im=\E[4h:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
                   1547:        :k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:\
1.3     ! deraadt  1548:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
        !          1549:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:\
        !          1550:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1.2       deraadt  1551: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   1552: screen3|VT 100/ANSI X3.64 virtual terminal:\
                   1553:        :km:mi:ms:\
                   1554:        :co#80:it#8:li#24:\
1.1       deraadt  1555:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.2       deraadt  1556:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   1557:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1558:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   1559:        :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:\
                   1560:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E>:kl=\EOD:\
                   1561:        :kr=\EOC:ks=\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1.3     ! deraadt  1562:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:rc=\E8:\
        !          1563:        :sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  1564:        :ue=\E[24m:up=\EM:us=\E[4m:
                   1565:
                   1566: ######## WORKSTATION CONSOLES
                   1567: #
                   1568:
                   1569: #### Sun consoles
                   1570: #
                   1571:
1.3     ! deraadt  1572: # :is1: resets scrolling region in case a previous user had used "tset vt100"
1.1       deraadt  1573: oldsun|Sun Microsystems Workstation console:\
1.2       deraadt  1574:        :am:km:mi:ms:\
1.1       deraadt  1575:        :co#80:it#8:li#34:\
                   1576:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:\
                   1577:        :bl=^G:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  1578:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:\
1.1       deraadt  1579:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:\
1.2       deraadt  1580:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:se=\E[m:sf=^J:\
                   1581:        :so=\E[7m:ta=^I:up=\E[A:
1.3     ! deraadt  1582: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
        !          1583: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
1.1       deraadt  1584:        :am:km:ms:\
1.3     ! deraadt  1585:        :co#80:li#35:\
        !          1586:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:\
        !          1587:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:\
        !          1588:        :IC=\E[%d@:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !          1589:        :cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
        !          1590:        :ei=:ic=\E[@:im=:k1=\E[224z:k2=\E[225z:k3=\E[226z:\
        !          1591:        :k4=\E[227z:k5=\E[228z:k6=\E[229z:k7=\E[230z:\
        !          1592:        :k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\177:kN=\E[222z:\
        !          1593:        :kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:kl=\E[D:kr=\E[C:\
        !          1594:        :ku=\E[A:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          1595:        :r2=\E[s:\
1.1       deraadt  1596:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
                   1597:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:\
                   1598:        :us=\E[4m:
                   1599: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
1.3     ! deraadt  1600: # (sun-s: I added lines#34 because the Lukyanov entry for sun has 35 -- esr)
1.1       deraadt  1601: sun-s|Sun Microsystems Workstation window with status line:\
                   1602:        :hs:\
1.3     ! deraadt  1603:        :li#34:\
1.1       deraadt  1604:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
                   1605: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
                   1606:        :hs:\
                   1607:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
                   1608: sun-48|Sun 48-line window:\
1.3     ! deraadt  1609:        :co#80:li#48:tc=sun:
1.1       deraadt  1610: sun-34|Sun 34-line window:\
1.3     ! deraadt  1611:        :co#80:li#34:tc=sun:
1.1       deraadt  1612: sun-24|Sun 24-line window:\
1.3     ! deraadt  1613:        :co#80:li#24:tc=sun:
1.1       deraadt  1614: sun-17|Sun 17-line window:\
1.3     ! deraadt  1615:        :co#80:li#17:tc=sun:
1.1       deraadt  1616: sun-12|Sun 12-line window:\
1.3     ! deraadt  1617:        :co#80:li#12:tc=sun:
1.1       deraadt  1618: sun-1|Sun 1-line window for sysline:\
                   1619:        :es:hs:\
                   1620:        :co#80:li#1:\
                   1621:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
                   1622: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
                   1623:        :ei@:ic@:im@:tc=sun:
                   1624: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
                   1625:        :te=\E[>4h:ti=\E[>4l:tc=sun:
                   1626:
                   1627: #### Iris consoles
                   1628: #
                   1629:
1.2       deraadt  1630: # (wsiris: this had extension capabilities
1.1       deraadt  1631: #      :HS=\E7F2:HE=\E7F7:\
                   1632: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.3     ! deraadt  1633: # (wsiris: removed suboptimal <clear>=\EH\EJ:" -- esr)
1.1       deraadt  1634: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.2       deraadt  1635:        :am:\
1.1       deraadt  1636:        :co#80:it#8:li#40:\
1.3     ! deraadt  1637:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
1.1       deraadt  1638:        :ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:k2=\E2:\
                   1639:        :k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
1.2       deraadt  1640:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E0@:\
                   1641:        :so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:up=\EA:\
                   1642:        :us=\E7R2\E9P:ve=\E>:vs=\E;:
1.1       deraadt  1643:
                   1644: #### NeWS consoles
                   1645: #
                   1646: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   1647: # environment).   Note: these have nothing to do with Sony's News workstation
                   1648: # line.
                   1649: #
                   1650:
                   1651: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  1652: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   1653: psterm|psterm-basic|NeWS psterm-80x34:\
                   1654:        :am:bs:hs:km:ul:\
1.1       deraadt  1655:        :co#80:it#8:li#34:\
                   1656:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  1657:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
                   1658:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:\
1.1       deraadt  1659:        :ll=\EU:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:\
1.2       deraadt  1660:        :sc=^]:se=\ENo:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:\
1.1       deraadt  1661:        :ti=\EOt:ts=\EOl:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  1662: psterm-96x48|NeWS psterm 96x48:\
1.3     ! deraadt  1663:        :co#96:li#48:tc=psterm:
1.2       deraadt  1664: psterm-90x28|NeWS psterm 90x28:\
1.3     ! deraadt  1665:        :co#90:li#28:tc=psterm:
1.2       deraadt  1666: psterm-80x24|NeWS psterm 80x24:\
1.3     ! deraadt  1667:        :co#80:li#24:tc=psterm:
1.1       deraadt  1668: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   1669: # some control characters you type will do strange things to the screen.
1.2       deraadt  1670: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   1671: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   1672:        :am:bs:hs:km:ul:\
1.1       deraadt  1673:        :co#80:it#8:li#34:\
                   1674:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:\
1.2       deraadt  1675:        :dc=^F:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:\
1.1       deraadt  1676:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:\
1.2       deraadt  1677:        :md=^Od:me=^N*:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:\
                   1678:        :so=^Oo:sr=^X:ta=^I:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:\
                   1679:        :up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  1680:
                   1681: #### Apollo consoles
                   1682: #
                   1683: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   1684: # labeled HP700s now.
                   1685: #
                   1686:
                   1687: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
1.2       deraadt  1688: apollo|apollo console:\
                   1689:        :am:mi:\
1.1       deraadt  1690:        :co#88:li#53:\
1.3     ! deraadt  1691:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
        !          1692:        :cv=\EO+ :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:\
        !          1693:        :nd=\EC:se=\ET:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:\
        !          1694:        :ue=\EV:up=\EA:us=\EU:
        !          1695:
        !          1696: # We don't know whether or not the apollo guys replicated DEC's firmware bug
        !          1697: # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
        !          1698: # both these capabilities.
1.1       deraadt  1699: apollo_15P|apollo 15 inch display:\
1.3     ! deraadt  1700:        :ei@:im@:tc=vt132:
1.1       deraadt  1701: apollo_19L|apollo 19 inch display:\
1.3     ! deraadt  1702:        :ei@:im@:tc=vt132:
1.1       deraadt  1703: apollo_color|apollo color display:\
1.3     ! deraadt  1704:        :ei@:im@:tc=vt132:
1.1       deraadt  1705:
                   1706: #### Fortune Systems consoles
                   1707: #
                   1708:
                   1709: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
1.2       deraadt  1710: # (This had extension capabilities
                   1711: #      :rv=\EH:re=\EI:rg=0:GG=0:\
1.1       deraadt  1712: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   1713: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   1714: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   1715: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   1716: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   1717: # to force both magic cookie glitches off.  Once upon a time, I
                   1718: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   1719: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
1.3     ! deraadt  1720: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
1.2       deraadt  1721: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   1722: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
1.1       deraadt  1723: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   1724: fos|fortune|Fortune system:\
1.2       deraadt  1725:        :am:bw:\
1.1       deraadt  1726:        :co#80:li#25:\
1.3     ! deraadt  1727:        :@7=^Ak\r:@8=^Aq:ac=l m"k(j*v%w#q&x-:ae=^O:al=\034E:\
        !          1728:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :\
        !          1729:        :cr=^M:dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:\
        !          1730:        :im=:is=^_..:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:\
        !          1731:        :k5=^Ae\r:k6=^Af\r:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:\
        !          1732:        :kP=^An\r:kb=^H:kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:\
        !          1733:        :ku=^Ax\r:le=^H:mb=\EN:me=\EI:mr=\EH:nw=^M^J:se=^\I`:\
        !          1734:        :sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:us=^\HP:ve=\E\\:\
        !          1735:        :vi=\E]:vs=\E\072:
1.1       deraadt  1736:
                   1737: ######## COMMON TERMINAL TYPES
                   1738: #
                   1739: # This section describes terminal classes and maker brands that are still
                   1740: # quite common, but have proprietary command sets not blessed by ANSI.
                   1741:
                   1742: #### Altos
                   1743: #
                   1744: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   1745: # His comments suggest they were shipped with the system.
                   1746: #
                   1747:
1.2       deraadt  1748: # (altos2: had extension capabilities
1.1       deraadt  1749: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1750: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1751: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1752: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1753: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1754: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   1755: #      :HL=^AP\r:SP=\E[i:\
                   1756: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   1757: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   1758: # Comparison with the k* capabilities makes it obvious that the c* things are
                   1759: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   1760: # :sr: was given as a boolean-- esr)
                   1761: altos2|alt2|altos-2|altos II:\
                   1762:        :co#80:it#8:li#24:sg#0:\
1.3     ! deraadt  1763:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:\
        !          1764:        :FO=^Ab\r:FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:\
        !          1765:        :FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
        !          1766:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:\
        !          1767:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:do=\E[1B:\
        !          1768:        :ei=:ho=\E[H:ic=\E[@:if=/usr/share/tabset/vt100:\
        !          1769:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
1.1       deraadt  1770:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.3     ! deraadt  1771:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:\
        !          1772:        :kB=^AK\r:kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:\
1.2       deraadt  1773:        :kd=\E[B:kh=\E[f:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   1774:        :nd=\E[1C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
                   1775:        :ue=\E[m:up=\E[1A:us=\E[4m:
                   1776: # (altos3: had extension capabilities
1.1       deraadt  1777: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1778: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1779: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1780: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1781: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1782: #      :HL=^AP\r:SP=\E[i:\
                   1783: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
1.2       deraadt  1784: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
                   1785:        :mb=\E[5p:me=\E[p:sr=\EM:tc=altos2:
1.1       deraadt  1786: altos4|alt4|altos-4|altos IV:\
                   1787:        :tc=wy50:
1.2       deraadt  1788: # (altos7: had extension capabilities:
                   1789: #      :GG#0:GI=\EH8:GF=\EH7:\
1.1       deraadt  1790: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1791: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1792: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1793: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1794: # Comparison with the k* capabilities makes it obvious that the c* things are
                   1795: # shift keys.  I have renamed them to keys 32 and up accordingly -- esr)
                   1796: altos7|alt7|altos VII:\
                   1797:        :am:mi:\
                   1798:        :co#80:li#24:sg#0:\
1.3     ! deraadt  1799:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
        !          1800:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:\
        !          1801:        :FU=^Ah\r:FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
        !          1802:        :ac=l2m1k3j5t4u9v=w0q\072x6n8\nblink=\EG2:al=\EE:\
        !          1803:        :cd=\EY:ce=\ET:cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:\
        !          1804:        :do=^J:ei=\Er:ho=^^:im=\Eq:\
1.1       deraadt  1805:        :is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:k0=^AI\r:\
                   1806:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.3     ! deraadt  1807:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:\
        !          1808:        :kB=^AK\r:kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:\
1.2       deraadt  1809:        :kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
1.3     ! deraadt  1810:        :md=\EGt:me=\EG0:mh=\EGp:mk=\EG1:mr=\EG4:nd=^L:\
        !          1811:        :nw=^M^J:pf=\EJ:po=\Ed#:se=\EG0:sf=^J:so=\EG4:sr=\Ej:\
        !          1812:        :ta=^I:ue=\EG0:up=^K:us=\EG8:
1.1       deraadt  1813: altos7pc|alt7pc|altos PC VII:\
1.3     ! deraadt  1814:        :@7=\ET:tc=altos7:
1.1       deraadt  1815:
                   1816: #### Hewlett-Packard (hp)
                   1817: #
                   1818: #      Hewlett-Packard
                   1819: #      8000 Foothills Blvd
                   1820: #      Roseville, CA 95747
                   1821: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   1822: #           1-(800)-633-3600   (General customer support)
                   1823: #
                   1824:
                   1825: # Generic HP terminal - this should (hopefully) work on any HP terminal.
1.2       deraadt  1826: hpgeneric|hp|hewlett-packard generic terminal:\
1.1       deraadt  1827:        :am:da:db:mi:xs:\
                   1828:        :co#80:li#24:lm#0:vt#6:\
1.3     ! deraadt  1829:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
        !          1830:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:\
        !          1831:        :dl=\EM:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:\
        !          1832:        :nd=\EC:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:\
        !          1833:        :ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  1834:
                   1835: hp110|hewlett-packard model 110 portable:\
1.3     ! deraadt  1836:        :li#16:tc=hpgeneric:
1.1       deraadt  1837:
                   1838: hp+pfk+cr|hp function keys with CR:\
                   1839:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:\
                   1840:        :k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:
                   1841:
                   1842: hp+pfk-cr|hp function keys w/o CR:\
                   1843:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
                   1844:        :k8=\Ew:
                   1845:
                   1846: # The 2621s use the same keys for the arrows and function keys,
                   1847: # but not separate escape sequences. These definitions allow the
                   1848: # user to use those keys as arrow keys rather than as function
                   1849: # keys.
                   1850: hp+pfk+arrows|hp alternate arrow definitions:\
1.3     ! deraadt  1851:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:\
        !          1852:        :kR=\Es\r:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
        !          1853:        :ku=\Et\r:
1.1       deraadt  1854:
                   1855: hp+arrows|hp arrow definitions:\
1.3     ! deraadt  1856:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
        !          1857:        :ku=\EA:
1.1       deraadt  1858:
                   1859: # Generic stuff from the HP 262x series
                   1860: #
                   1861: hp262x|HP 262x terminals:\
                   1862:        :xs:\
1.3     ! deraadt  1863:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:\
        !          1864:        :kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:\
1.2       deraadt  1865:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
1.3     ! deraadt  1866:        :ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:mr=\E&dB:\
1.1       deraadt  1867:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
                   1868:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.2       deraadt  1869:
                   1870: # Note: no <home> on HP's since that homes to top of memory, not screen.
1.1       deraadt  1871: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   1872: # transmit anything at all is to turn on the function key labels
1.2       deraadt  1873: # with <smkx>, and even then the user has to hold down shift!
1.1       deraadt  1874: # The default 2621 turns off the labels except when it has to to
                   1875: # enable the function keys. If your installation prefers labels
                   1876: # on all the time, or off all the time (at the "expense" of the
                   1877: # function keys) move the # 2621-nl or 2621-wl labels to the
                   1878: # front using reorder.
                   1879: # Note: there are newer ROMs for 2621's that allow you to set
                   1880: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   1881: # 2645. However, even with this strap set, the terminal stops
                   1882: # xmitting if you reset it, until you unset and reset the strap!
                   1883: # Since there is no way to set/unset the strap with an escape
                   1884: # sequence, we don't use it in the default.
1.3     ! deraadt  1885: # If you like, you can use 2621-ba (brain-damaged arrow keys).
1.1       deraadt  1886: hp2621-ba|2621-ba|2621 w/new rom and strap A set:\
                   1887:        :ke@:ks@:tc=hp+arrows:tc=hp2621:
                   1888:
1.2       deraadt  1889: # hp2621 with function labels. Most of the time they are off,
1.1       deraadt  1890: # but inside vi, the function key labels appear. You have to
                   1891: # hold down shift to get them to xmit.
                   1892: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
                   1893:        :is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
                   1894: hp2621-fl|2621-fl|hp 2621:\
                   1895:        :xo:xs@:\
                   1896:        :pb#19200:\
                   1897:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:\
                   1898:        :ke=\E&j@:ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:\
                   1899:        :ta=\011:ue=\E&d@:us=\E&dD:tc=hp+pfk+cr:tc=hpgeneric:
                   1900:
                   1901: # To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
                   1902: hp2621p|2621p|2621P|hp 2621 with printer:\
1.3     ! deraadt  1903:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  1904:
                   1905: hp2621p-a|2621p-a|hp2621p with fn as arrows:\
                   1906:        :tc=hp+pfk+arrows:tc=hp2621p:
                   1907:
                   1908: # hp2621 with k45 keyboard
                   1909: hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard:\
                   1910:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   1911:        :ks=\E&s1A:ku=\EA:tc=hp2621:
                   1912:
1.2       deraadt  1913: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   1914: hp2621-48|48 line 2621:\
                   1915:        :li#48:\
1.3     ! deraadt  1916:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.2       deraadt  1917:
                   1918: # 2621 with no labels ever. Also prevents vi delays on escape.
                   1919: hp2621-nl|hp 2621 with no labels:\
                   1920:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
                   1921:
                   1922: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   1923: # (wrong).
                   1924: #
                   1925: hp2621-nt|hp 2621 w/no tabs:\
                   1926:        :ta@:tc=hp2621:
1.1       deraadt  1927:
                   1928: # Hp 2624 B with 4 or 10 pages of memory.
                   1929: #
                   1930: # Some assumptions are made with this entry. These settings are
                   1931: # NOT set up by the initialization strings.
                   1932: #
                   1933: # Port Configuration
                   1934: #      RecvPace=Xon/Xoff
                   1935: #      XmitPace=Xon/Xoff
                   1936: #      StripNulDel=Yes
                   1937: #
                   1938: # Terminal Configuration
                   1939: #      InhHndShk=Yes
                   1940: #      InhDC2=Yes
                   1941: #      XmitFnctn(A)=No
                   1942: #      InhEolWrp=No
                   1943: #
1.2       deraadt  1944: # Note: the 2624 DOES have a true <home>, believe it or not!
1.1       deraadt  1945: #
                   1946: # The 2624 has an "error line" to which messages can be sent.
                   1947: # This is CLOSE to what is expected for a "status line". However,
                   1948: # after a message is sent to the "error line", the next carriage
                   1949: # return is EATEN and the "error line" is turned back off again!
1.2       deraadt  1950: # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
1.1       deraadt  1951: #
                   1952: # This entry supports emacs (and any other program that uses raw
                   1953: # mode) at 4800 baud and less. I couldn't get the padding right
                   1954: # for 9.6.
                   1955: #
1.3     ! deraadt  1956: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
1.1       deraadt  1957: hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B:\
                   1958:        :da:db:\
                   1959:        :lm#96:\
1.3     ! deraadt  1960:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
1.1       deraadt  1961:
                   1962: # This hp2626 entry does not use any of the fancy windowing stuff
                   1963: # of the 2626.
                   1964: #
                   1965: # Indeed, terminfo does not yet handle such stuff. Since changing
                   1966: # any window clears memory, it is probably not possible to use
                   1967: # this for screen opt.
                   1968: #
                   1969: # ed is incredibly slow most of the time - I am guessing at the
                   1970: # exact padding. Since the terminal uses xoff/xon this is intended
                   1971: # only for cost computation, so that the terminal will prefer el
                   1972: # or even dl1 which is probably faster!
                   1973: #
                   1974: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   1975: # extra slow on the last line of the window.
                   1976: #
                   1977: # The padding probably should be changed.
                   1978: #
                   1979: hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626:\
                   1980:        :da:db:\
                   1981:        :lm#0:pb#19200:\
                   1982:        :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:
                   1983:
                   1984: # This entry is for sysline. It allocates a 23 line window with
                   1985: # a 115 line workspace for regular use, and a 1 line window for
                   1986: # the status line.
                   1987: #
                   1988: # This assumes port 2 is being used.
                   1989: # Turn off horizontal line, Create ws #1 with 115 lines,
                   1990: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   1991: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   1992: # Note that this clears the tabs so it must be done by tset before
                   1993: # it sets the tabs.
                   1994: #
                   1995: hp2626-s|2626-s|hp 2626 using only 23 lines:\
                   1996:        :es:hs:\
                   1997:        :li#23:\
                   1998:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
                   1999:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I\n\E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
                   2000:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:tc=hp2626:
                   2001: # Force terminal back to 24 lines after being 23.
                   2002: hp2626-ns|2626-ns|hp 2626 using all 24 lines:\
                   2003:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I\n\E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
                   2004: # Various entries useful for small windows on 2626.
1.2       deraadt  2005: hp2626-12|2626-12|hewlett-packard 2626 12 lines:\
1.3     ! deraadt  2006:        :li#12:tc=hp2626:
1.2       deraadt  2007: hp2626-12x40|2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
1.3     ! deraadt  2008:        :co#40:li#12:tc=hp2626:
1.2       deraadt  2009: hp2626-x40|2626-x40|hewlett-packard 2626 40 columns:\
1.3     ! deraadt  2010:        :co#40:tc=hp2626:
1.2       deraadt  2011: hp2626-12-s|2626-12-s|hewlett-packard 2626 11 lines plus status:\
1.3     ! deraadt  2012:        :li#11:tc=hp2626-s:
1.2       deraadt  2013:
                   2014: #
                   2015: # hp2627 color tubes from University of Wisconsin
                   2016: #
                   2017: hp2627a-rev|hp 2627 with reverse video colors:\
                   2018:        :cr=^M:do=^J:\
                   2019:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
                   2020:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   2021:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:tc=hp2621-nl:
                   2022: hp2627a|2627|hp 2627 color terminal with no labels:\
                   2023:        :cr=^M:do=^J:\
                   2024:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
                   2025:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:\
                   2026:        :ta=^I:ue=\E&v0S\E&d@:us=\E&dD\E&v1S:tc=hp2621-nl:
                   2027: hp2627c|hp 2627 color (cyan) terminal with no labels:\
                   2028:        :cr=^M:do=^J:\
                   2029:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
                   2030:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=hp2627a:
1.1       deraadt  2031:
                   2032: # 2640a doesn't have the Y cursor addressing feature, and C is
                   2033: # memory relative instead of screen relative, as we need.
                   2034: #
                   2035: hp2640a|2640a|hp 2640a:\
                   2036:        :cm@:ke@:ks@:tc=hp2645:
                   2037:
                   2038: hp2640b|hp2644a|hp 264x series:\
                   2039:        :ke@:ks@:tc=hp2645:
                   2040:
1.2       deraadt  2041: # This terminal should be used at 4800 baud or less. It needs padding for
                   2042: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2043: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2044: # software to support it.
                   2045: hp2645|hp45|HP 2645 series:\
                   2046:        :pb#9600:\
1.3     ! deraadt  2047:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
        !          2048:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:\
        !          2049:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
        !          2050:        :ku=\EA:mb=\E&dA:me=\E&d@:mh=\E&dH:mr=\E&dB:\
1.2       deraadt  2051:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c:\
                   2052:        :us=\E&dD:tc=hpgeneric:
                   2053: # You should use this terminal at 4800 baud or less.
                   2054: hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal:\
                   2055:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
1.1       deraadt  2056:
                   2057: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2058: # clreol standout problem. It also has graphics capabilities and
                   2059: # a touch screen, which we don't describe here.
                   2060: hp150|hewlett packard Model 150:\
                   2061:        :tc=hp2622:
                   2062:
                   2063: # Hp 2382a terminals, "the little ones." They don't have any
                   2064: # alternate character set support and sending out ^N/^O will
                   2065: # leave the screen blank.
                   2066: hp2382a|hp2382|hewlett packard 2382a:\
                   2067:        :da:db:\
1.3     ! deraadt  2068:        :lh#1:lm#48:\
        !          2069:        :ac@:ae@:as@:me=\E&d@:\
        !          2070:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
1.1       deraadt  2071:        :..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:tc=hp+labels:tc=scrhp:
                   2072:
                   2073: hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows:\
                   2074:        :tc=hp+pfk+arrows:tc=hp2621-fl:
                   2075:
                   2076: # newer hewlett packard terminals
                   2077:
                   2078: newhpkeyboard|generic entry for HP extended keyboard:\
1.3     ! deraadt  2079:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:\
        !          2080:        :kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:\
        !          2081:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          2082:        :ks=\E&s1A:ku=\EA:tc=hp+pfk-cr:
1.1       deraadt  2083:
                   2084: newhp|generic entry for new hewlett packard terminals:\
                   2085:        :am:bw:mi:xo:xs:\
                   2086:        :co#80:li#24:pb#4800:\
1.3     ! deraadt  2087:        :ac=T1R!U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\\\054x.n/:\
1.1       deraadt  2088:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:\
                   2089:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:\
                   2090:        :ip=:le=^H:mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:\
1.3     ! deraadt  2091:        :mk=\E&dS:mr=\E&dB:nd=\EC:nw=^M^J:\
        !          2092:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
        !          2093:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
        !          2094:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
1.1       deraadt  2095:        :..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%;:\
                   2096:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:\
                   2097:        :ue=\E&d@:up=\EA:us=\E&dD:tc=newhpkeyboard:
                   2098:
                   2099: memhp|memory relative addressing for new HP ttys:\
                   2100:        :vt#6:\
                   2101:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3     ! deraadt  2102:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
        !          2103:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
1.1       deraadt  2104:
                   2105: scrhp|screen relative addressing for new HP ttys:\
                   2106:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3     ! deraadt  2107:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
        !          2108:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:tc=newhp:
1.1       deraadt  2109:
                   2110: hp+labels|"standard" label info for new HP ttys:\
1.3     ! deraadt  2111:        :Nl#8:lh#2:lw#8:\
        !          2112:        :LO=\E&jB:\
        !          2113:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
1.1       deraadt  2114:
1.2       deraadt  2115: hp+printer|"standard" printer info for HP ttys:\
1.3     ! deraadt  2116:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
1.1       deraadt  2117:
                   2118:
                   2119: # The new hp2621b is kind of a cross between the old 2621 and the
                   2120: # new 262x series of machines. It has dip-switched options.
                   2121: # The firmware has a bug in it such that if you give it a null
                   2122: # length label, the following character is eaten!
                   2123: hp2621b|2621b|hp 2621b with old style keyboard:\
1.3     ! deraadt  2124:        :Nl#8:lh#1:lm#48:lw#8:\
        !          2125:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:\
        !          2126:        :kr=\EC:ku=\EA:\
        !          2127:        :..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  2128:
                   2129: hp2621b-p|2621b-p|hp 2621b with printer:\
                   2130:        :tc=hp+printer:tc=hp2621b:
                   2131:
                   2132: # hp2621b - new 2621b with new extended keyboard
                   2133: # these are closer to the new 26xx series than the other 2621b
                   2134: hp2621b-kx|2621b-kx|hp 2621b with extended keyboard:\
                   2135:        :tc=newhpkeyboard:tc=hp2621b:
                   2136:
                   2137: hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer:\
                   2138:        :tc=hp+printer:tc=hp2621b-kx:
                   2139:
                   2140: # Some assumptions are made in the following entries.
                   2141: # These settings are NOT set up by the initialization strings.
                   2142: #
                   2143: #    Port Configuration
                   2144: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2145: #
                   2146: #    Terminal Configuration
                   2147: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2148: # XmitFnctn(A)=No              InhEolWrp=No
                   2149: #
                   2150: #
                   2151: # Hp 2622a & hp2623a display and graphics terminals
                   2152: #
                   2153: hp2622|hp2622a|2622|2622a|hp 2622:\
                   2154:        :da:db:\
                   2155:        :lm#0:pb#19200:\
                   2156:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   2157:
                   2158: # The 2623 is a 2622 with extra graphics hardware.
                   2159: hp2623|hp2623a|2623|2623a|hp 2623:\
                   2160:        :tc=hp2622:
                   2161:
                   2162: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
                   2163:        :tc=hp+printer:tc=hp2624:
                   2164:
1.2       deraadt  2165: # The hewlett packard B can have an optional extra 6 pages of memory.
1.1       deraadt  2166: hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
1.3     ! deraadt  2167:        :lm#240:tc=hp2624:
1.1       deraadt  2168:
                   2169: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
1.3     ! deraadt  2170:        :lm#240:tc=hp2624b-p:
1.1       deraadt  2171:
                   2172: # Color manipulations for HP terminals
                   2173: hp+color|hp with colors:\
1.3     ! deraadt  2174:        :cc:\
        !          2175:        :Co#16:NC#17:pa#7:\
        !          2176:        :..Ip=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a\n%?%p3%{1000}%=%t1%e.%p3%d%;b\n%?%p4%{1000}%=%t1%e.%p4%d%;c\n%?%p5%{1000}%=%t1%e.%p5%d%;x\n%?%p6%{1000}%=%t1%e.%p6%d%;y\n%?%p7%{1000}%=%t1%e.%p7%d%;z\n%p1%dI:\
        !          2177:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
        !          2178:        :op=\E&v0S:sp=\E&v%dS:
1.1       deraadt  2179:
1.2       deraadt  2180: # <is2> sets the screen to be 80 columns wide
1.1       deraadt  2181: hp2397a|2397a|hp2397|2397|hewlett packard 2397A color terminal:\
                   2182:        :is=\E&w6f80X:tc=memhp:tc=hp+labels:tc=hp+color:
                   2183:
                   2184: #  HP 700/44 Setup parameters:
                   2185: # Terminal Mode                HP-PCterm
                   2186: # Inhibit Auto Wrap    NO
                   2187: # Status Line          Host Writable
                   2188: # PC Character Set     YES
                   2189: # Twenty-Five Line Mode        YES
                   2190: # XON/XOFF             @128 or 64 (sc)
                   2191: # Keycode Mode                 NO   or YES (sc)
                   2192: # Backspace Key                BS or BS/DEL
                   2193: #
1.2       deraadt  2194: # <is2>        sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
                   2195: # \E\\? does not turn off keycode mode
                   2196: # <smsc>       sets alternate start/stop; keycode on
1.1       deraadt  2197: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
                   2198:        :am:eo:xn:xo:\
                   2199:        :co#80:li#25:\
1.3     ! deraadt  2200:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\\:\
        !          2201:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:\
        !          2202:        :XN=e:\
        !          2203:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.1       deraadt  2204:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
                   2205:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   2206:        :ho=\E[H:ic=\E[@:im=:\
                   2207:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
                   2208:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
1.3     ! deraadt  2209:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
        !          2210:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:\
        !          2211:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:nd=\E[C:se=\E[m:\
        !          2212:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          2213:        :ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  2214: #
                   2215: hp2392|2392|2393|239x series:\
                   2216:        :co#80:\
1.3     ! deraadt  2217:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:im=\EQ:k1=\Ep\r:\
        !          2218:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
        !          2219:        :k7=\Ev\r:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:\
        !          2220:        :kh=\Eh:ue=\E&d@:us=\E&dD:tc=hpsub:
1.1       deraadt  2221:
                   2222: hpsub|hp terminals -- capability subset:\
                   2223:        :am:da:db:mi:xo:xs:\
                   2224:        :li#24:\
1.3     ! deraadt  2225:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
        !          2226:        :cr=^M:dc=\EP:dl=\EM:do=\EB:ei=\ER:\
        !          2227:        :if=/usr/share/tabset/stdcrt:is=\E&s1A\E<\E&k0\\:kb=^H:\
        !          2228:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
        !          2229:        :ku=\EA:le=^H:nd=\EC:se=\E&d@:sf=^J:so=\E&dB:ta=^I:\
        !          2230:        :up=\EA:
1.2       deraadt  2231:
                   2232: # hpex:
                   2233: #      May be used for most 24 x 80 hp terminals,
                   2234: # but has no padding added, so may allow runover in some terminals at high
                   2235: # baud rates.  Will not work for 2640a or 2640b terminals, 98x6 and 98x5
                   2236: # terminal emulators or 98x6 consoles.
                   2237: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2238: # last line, and underline capabilities.
                   2239: #
                   2240: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:" -- esr)
                   2241: hpex|hp extended capabilites:\
1.3     ! deraadt  2242:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:im=\EQ:kb=^H:\
        !          2243:        :kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:tc=hpsub:
1.1       deraadt  2244:
                   2245: # HP 236 console
                   2246: # From: <ddavis@ic.berkeley.edu>
                   2247: hp236|hp236 internal terminal emulator:\
1.2       deraadt  2248:        :am:\
1.1       deraadt  2249:        :co#80:li#24:\
                   2250:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:\
1.2       deraadt  2251:        :ic=\EI:im=:le=^H:se=\ECI:so=\EBI:up=^K:ve=\EDE:\
                   2252:        :vs=\EDB:
1.1       deraadt  2253:
                   2254: # This works on a hp300 console running Utah 4.3 BSD
                   2255: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2256: hp300h|HP Catseye console:\
1.2       deraadt  2257:        :am:da:db:mi:xs:\
1.1       deraadt  2258:        :co#128:li#51:lm#0:sg#0:\
1.3     ! deraadt  2259:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          2260:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
        !          2261:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:\
        !          2262:        :if=/usr/share/tabset/stdcrt:im=\EQ:kb=^H:kd=\EB:\
        !          2263:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          2264:        :le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:so=\E&dB:ta=^I:\
        !          2265:        :ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2266: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   2267: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
1.2       deraadt  2268:        :am:da:db:mi:xs:\
1.1       deraadt  2269:        :co#128:it#8:li#46:lm#0:\
1.3     ! deraadt  2270:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          2271:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:\
        !          2272:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:\
        !          2273:        :kA=\EL:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:\
        !          2274:        :kS=\EJ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
1.1       deraadt  2275:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:\
1.2       deraadt  2276:        :sf=^J:so=\E&v5S:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   2277:        :us=\E&dD:
1.1       deraadt  2278: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
                   2279: hp98550|hp98550a|HP 9000 Series 300 color console:\
1.2       deraadt  2280:        :am:da:db:mi:xs:\
1.1       deraadt  2281:        :co#128:it#8:li#49:lm#0:\
                   2282:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
1.3     ! deraadt  2283:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
        !          2284:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
        !          2285:        :if=/usr/share/tabset/9837:im=\EQ:k1=\Ep:k2=\Eq:\
        !          2286:        :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:\
        !          2287:        :kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
        !          2288:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:\
        !          2289:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          2290:        :ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:md=\E&dJ:\
        !          2291:        :me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:se=\E&d@:\
        !          2292:        :sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          2293:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
1.1       deraadt  2294: # From: Victor Duchovni <vic@fine.princeton.edu>
1.2       deraadt  2295: # (hp700-wy: removed obsolete ":nl=^J:" -- esr)
1.1       deraadt  2296: hp700-wy|HP700/41 emulating wyse30:\
1.2       deraadt  2297:        :am:bw:mi:ms:\
1.1       deraadt  2298:        :co#80:it#8:li#24:sg#1:ug#1:\
1.2       deraadt  2299:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:\
1.3     ! deraadt  2300:        :cm=\E=%+ %+ :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:\
        !          2301:        :do=^V:ei=\Er:ho=^^:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
        !          2302:        :if=/usr/share/tabset/hp700-wy:im=\Eq:kB=\EI:kC=^Z:\
        !          2303:        :kE=\ET:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:\
        !          2304:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:nd=^L:\
1.2       deraadt  2305:        :se=10\EG0:so=10\EG4:sr=\Ej:ta=\011\nhts=\E1:\
                   2306:        :ue=10\EG0:up=^K:us=10\EG8:
                   2307: hp70092|70092a|70092A|hp70092a|hp70092A|HP 700/92:\
1.1       deraadt  2308:        :am:da:db:xs:\
1.3     ! deraadt  2309:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
        !          2310:        :LF=\E&j@:LO=\E&jB:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
        !          2311:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
        !          2312:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:\
        !          2313:        :im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:\
        !          2314:        :k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:\
        !          2315:        :kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:\
        !          2316:        :kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          2317:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:\
        !          2318:        :mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:\
        !          2319:        :se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
        !          2320:        :up=\EA:us=\E&dD:
1.1       deraadt  2321:
                   2322: bobcat|sbobcat|HP 9000 model 300 console:\
                   2323:        :am:da:db:mi:xs:\
                   2324:        :co#128:it#8:li#47:sg#0:\
1.3     ! deraadt  2325:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:\
        !          2326:        :cl=\EH\EJ:cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:\
        !          2327:        :dl=10*\EM:do=\EB:ei=\ER:im=\EQ:kb=^H:kd=\EB:\
        !          2328:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          2329:        :le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:ta=^I:\
        !          2330:        :ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2331: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
1.3     ! deraadt  2332:        :li#94:tc=gator:
1.1       deraadt  2333: gator|HP 9000 model 237 emulating AAA:\
                   2334:        :bw:km:mi:ul:\
                   2335:        :co#128:it#8:li#47:\
                   2336:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:\
1.3     ! deraadt  2337:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
        !          2338:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          2339:        :do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=^J:kl=^H:\
        !          2340:        :le=^H:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          2341:        :rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\EM:\
        !          2342:        :us=\E[4m:
1.1       deraadt  2343: gator-52|HP 9000 model 237 emulating VT52:\
1.3     ! deraadt  2344:        :co#128:li#47:tc=vt52:
1.1       deraadt  2345: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
1.3     ! deraadt  2346:        :li#94:tc=gator-52:
1.1       deraadt  2347:
                   2348: #### Honeywell-Bull
                   2349: #
                   2350: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   2351: #
                   2352:
                   2353: # Honeywell Bull terminal.  Its cursor and function keys send single
                   2354: # control characters and it has standout/underline glitch.  Most programs
1.2       deraadt  2355: # do not like these features/bugs.  Visual bell is realized by flashing the
                   2356: # "keyboard locked" LED.
                   2357: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
1.1       deraadt  2358:        :co#80:li#25:\
                   2359:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:\
                   2360:        :ho=^]:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:\
                   2361:        :nd=^X:nw=^M^J:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
1.2       deraadt  2362: dku7003|Honeywell Bull DKU 7003 all features described:\
1.1       deraadt  2363:        :ms:\
1.2       deraadt  2364:        :sg#1:ug#1:\
                   2365:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
                   2366:        :so=\E[7m:ue=\E[m:us=\E[4m:tc=dku7003-dumb:
1.1       deraadt  2367:
                   2368: #### Lear-Siegler (adm)
                   2369: #
                   2370: # These guys are long since out of the terminals business, but
                   2371: # in 1995 many current terminals still have an adm type as one of their
1.3     ! deraadt  2372: # emulations (usually their stupidest, and usually labeled adm3, though
1.1       deraadt  2373: # these `adm3' emulations normally have adm3a+ capabilities).
                   2374: #
1.2       deraadt  2375: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   2376: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   2377: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   2378: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   2379: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   2380: # check it out with a breakout box and tell us if this rumor is correct!
                   2381: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   2382: #
1.1       deraadt  2383:
                   2384: adm1a|adm1|lsi adm1a:\
                   2385:        :am:\
                   2386:        :co#80:li#24:\
                   2387:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:\
                   2388:        :nd=^L:sf=^J:up=^K:
                   2389: adm2|lsi adm2:\
1.2       deraadt  2390:        :am:\
1.1       deraadt  2391:        :co#80:li#24:\
                   2392:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
                   2393:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   2394:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
                   2395:        :up=^K:
                   2396: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2397: adm3|lsi adm3:\
1.2       deraadt  2398:        :am:\
1.1       deraadt  2399:        :co#80:li#24:\
                   2400:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
                   2401: # The following ADM-3A switch settings are assumed for normal operation:
                   2402: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2403: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2404: # Other switches may be set for operator convenience or communication
                   2405: # requirements.  I recommend
                   2406: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2407: #      ETX_OFF         EOT_OFF
1.2       deraadt  2408: # Most of these terminals required an option ROM to support lower case display.
                   2409: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2410: # socket, you may be out of luck.
                   2411: #
1.1       deraadt  2412: # (adm3a: removed obsolete ":ma=^K^P:" -- esr)
                   2413: adm3a|lsi adm3a:\
1.2       deraadt  2414:        :am:\
1.1       deraadt  2415:        :co#80:li#24:\
                   2416:        :bl=^G:cl=\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:\
                   2417:        :nd=^L:sf=^J:up=^K:
1.2       deraadt  2418: adm3a+|adm3a plus:\
1.1       deraadt  2419:        :kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
1.2       deraadt  2420: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
1.1       deraadt  2421: adm5|lsi adm5:\
                   2422:        :sg#1:\
                   2423:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:\
                   2424:        :so=\EG:tc=adm3a+:
                   2425: # From: <stephen%comp.lancs.ac.uk@ucl-cs.arpa>
                   2426: # (adm11: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   2427: adm11|lsi adm11:\
1.2       deraadt  2428:        :am:hs:\
1.1       deraadt  2429:        :co#80:li#24:\
                   2430:        :bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:do=^J:\
                   2431:        :ds=\Eh:fs=\E(\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
1.2       deraadt  2432:        :le=^H:nd=^L:se=\E(:so=\E):ts=\EF\E):up=^K:
1.1       deraadt  2433: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2434: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
                   2435: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   2436: adm12|lsi adm12:\
1.2       deraadt  2437:        :am:mi:\
1.1       deraadt  2438:        :co#80:li#24:\
                   2439:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   2440:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eq:\
                   2441:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
                   2442:        :k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:\
1.3     ! deraadt  2443:        :kl=^H:kr=^L:ku=^K:le=^H:mk=\EG1:nd=^L:se=\EG0:\
        !          2444:        :so=\EG4:ue=\EG0:up=^K:us=\EG8:
1.2       deraadt  2445: # (adm20: removed obsolete ":kn#7:" -- esr)
1.1       deraadt  2446: adm20|lear siegler adm20:\
1.2       deraadt  2447:        :am:\
1.1       deraadt  2448:        :co#80:it#8:li#24:\
                   2449:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   2450:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:\
                   2451:        :ic=\EQ:im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:\
1.2       deraadt  2452:        :k7=^Z:le=^H:nd=^L:se=\E(:so=\E):ta=^I:up=^K:
1.1       deraadt  2453: adm21|lear siegler adm21:\
                   2454:        :sg#1:ug#1:\
                   2455:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:\
                   2456:        :dl=30*\ER:do=^J:ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:\
                   2457:        :kl=^H:kr=^L:ku=^K:se=\EG0:sf=^J:so=\EG4:ue=\EG0:\
                   2458:        :us=\EG8:tc=adm3a:
                   2459: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
1.2       deraadt  2460: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
                   2461: # removed bogus-looking \200 from before <cup>. -- esr)
1.1       deraadt  2462: adm22|lsi adm22:\
1.2       deraadt  2463:        :am:\
1.1       deraadt  2464:        :co#80:li#24:\
                   2465:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:\
1.2       deraadt  2466:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
                   2467:        :ic=\EQ:im=:\
1.3     ! deraadt  2468:        :is=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200:\
1.1       deraadt  2469:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   2470:        :k6=^AE\r:k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
1.3     ! deraadt  2471:        :ku=^K:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:\
        !          2472:        :le=^H:nd=^L:se=\E(:so=\E):ta=\Ei:up=^K:
1.2       deraadt  2473: # ADM 31 DIP Switches
                   2474: #
                   2475: # This information comes from two versions of the manual for the
                   2476: # Lear-Siegler ADM 31.
                   2477: #
                   2478: # Main board:
                   2479: #                  rear of case
                   2480: #   +-||||-------------------------------------+
                   2481: #   + S1S2                              ||S    +
                   2482: #   +                                   ||3    +
                   2483: #   +                                          +
                   2484: #   +                                ||S       +
                   2485: #   +                                ||4       +
                   2486: #   +                                          +
                   2487: #   +                                          +
                   2488: #   +                                          +
                   2489: #   +                                          +
                   2490: #   +                                          +
                   2491: # +-+                                          +-+
                   2492: # +                                              +
                   2493: # +                               S5 S6 S7       +
                   2494: # +                               == == ==       +
                   2495: # +----------------------------------------------+
                   2496: #            front of case (keyboard)
                   2497: #
                   2498: #  S1 - Data Rate - Modem
                   2499: #  S2 - Data Rate - Printer
                   2500: # ------------------------
                   2501: # Data Rate   Setting
                   2502: # -------------------
                   2503: # 50          0 0 0 0
                   2504: # 75          1 0 0 0
                   2505: # 110         0 1 0 0
                   2506: # 134.5       1 1 0 0
                   2507: # 150         0 0 1 0
                   2508: # 300         1 0 1 0
                   2509: # 600         0 1 1 0
                   2510: # 1200        1 1 1 0
                   2511: # 1800        0 0 0 1
                   2512: # 2000        1 0 0 1
                   2513: # 2400        0 1 0 1
                   2514: # 3600        1 1 0 1
                   2515: # 4800        0 0 1 1
                   2516: # 7200        1 0 1 1
                   2517: # 9600        0 1 1 1
                   2518: # x           1 1 1 1
                   2519: #
                   2520: # S3 - Interface/Printer/Attributes
                   2521: # ---------------------------------
                   2522: # Printer Busy Control
                   2523: # sw1   sw2   sw3
                   2524: # ---------------
                   2525: # off   off   off   Busy not active, CD disabled
                   2526: # off   off   on    Busy not active, CD enabled
                   2527: # off   on    off   Busy active on J5-20, CD disabled
                   2528: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   2529: # on    off   on    Busy active on J5-19, CD enabled
                   2530: #
                   2531: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   2532: #
                   2533: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   2534: #
                   2535: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   2536: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   2537: #
                   2538: # sw7   ON - steady cursor - Factory Setting
                   2539: #       OFF - blinking cursor
                   2540: #
                   2541: # sw8   ON causes selected attribute character to be displayed
                   2542: #       OFF causes SPACE to be displayed instead - Factory Setting
                   2543: #
                   2544: # S4 - Interface
                   2545: # --------------
                   2546: # Modem Interface
                   2547: # S3    S4    S4    S4    S4
                   2548: # sw4   sw1   sw2   sw3   sw4
                   2549: # ---------------------------
                   2550: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   2551: #                               Current Loop disabled - Factory Setting
                   2552: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   2553: #                               disabled
                   2554: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   2555: #                               Current Loop Disabled
                   2556: #
                   2557: # sw5   ON disables dot stretching mode - Factory Setting
                   2558: #       OFF enables dot stretching mode
                   2559: # sw6   ON enables blanking function
                   2560: #       OFF enables underline function - Factory Setting
                   2561: # sw7   ON causes NULLS to be displayed as NULLS
                   2562: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   2563: #
                   2564: # S5 - Word Structure
                   2565: # -------------------
                   2566: # sw1   ON enables BREAK key - Factory Setting
                   2567: #       OFF disables BREAK key
                   2568: # sw2   ON selects 50Hz monitor refresh rate
                   2569: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   2570: #
                   2571: # Modem Port Selection
                   2572: # sw3   sw4   sw5
                   2573: # ---------------
                   2574: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   2575: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   2576: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   2577: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   2578: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   2579: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   2580: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   2581: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   2582: #
                   2583: # sw6   ON  sends bit 8 a 1 (mark)
                   2584: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   2585: # sw7   ON  selects Block Mode
                   2586: #       OFF selects Conversation Mode - Factory Setting
                   2587: # sw8   ON  selects Full Duplex operation
                   2588: #       OFF selects Half Duplex operation - Factory Setting
                   2589: #
                   2590: # S6 - Printer
                   2591: # ------------
                   2592: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   2593: #
                   2594: # Printer Port Selection
                   2595: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   2596: #
                   2597: # sw8   ON   enables Printer Port
                   2598: #       OFF disables Printer Port - Factory Setting
                   2599: #
                   2600: # S7 - Polling Address
                   2601: # --------------------
                   2602: # sw1-7 Establish ASCII character which designates terminal polling address
                   2603: #       ON  = logic 0
                   2604: #       OFF = logic 1 - Factory Setting
                   2605: # sw8   ON   enables Polling Option
                   2606: #       OFF disables Polling Option - Factory Setting
                   2607: #
                   2608: #
                   2609: # On some older ADM 31s, S4 does not exist, and S5-sw6 is not defined.
                   2610: #
1.1       deraadt  2611: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   2612: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   2613: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   2614: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
                   2615: adm31|lsi adm31:\
1.2       deraadt  2616:        :am:mi:\
1.1       deraadt  2617:        :co#80:li#24:\
                   2618:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
                   2619:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   2620:        :is=\Eu\E0:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:\
                   2621:        :k4=^A4\r:k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:\
                   2622:        :k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   2623:        :se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
1.2       deraadt  2624: adm31-old|o31|old adm31:\
1.1       deraadt  2625:        :so=\EG4:ue@:us@:tc=adm31:
                   2626: # ADM36 in native mode (not VT52 emulation mode)
1.2       deraadt  2627: # Hmmm...this looks a lot like an incomplete and slightly botched description
                   2628: # of a vt100 emulator.  Might be worth trying vt100 on this type and seeing
                   2629: # if it flies.  Assuming there are any of these left alive...
                   2630: # (adm36: I added <rmam>/<smam> based on the initialization string -- esr)
1.1       deraadt  2631: adm36|lsi adm36:\
                   2632:        :am:mi:\
                   2633:        :co#80:li#24:\
1.3     ! deraadt  2634:        :RA=\E[?7l:SA=\E[?7h:al=\E[1L:cd=\E[0J:ce=\E[0K:\
        !          2635:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[1M:ei=\E[4l:\
        !          2636:        :im=\E[4h:is=\E[6;?7h\E[4;20;?1;?3;?6;?4l\E(B\E)B\E>:\
        !          2637:        :kd=\EB:kl=\ED:kr=\EC:ku=\E[A:le=^H:nd=\E[D:up=\E[A:
1.1       deraadt  2638: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   2639: adm42|lsi adm42:\
1.2       deraadt  2640:        :am:\
1.1       deraadt  2641:        :co#80:li#24:\
                   2642:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:\
                   2643:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:\
                   2644:        :im=\Eq:ip=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   2645:        :nd=^L:pc=\177:se=\EG0:sf=^J:so=\EG4:ta=^I:up=^K:\
                   2646:        :vs=\EC\E3 \E3(:
                   2647: # The following termcap for the Lear Siegler ADM-42 leaves the
                   2648: # "system line" at the bottom of the screen blank (for those who
                   2649: # find it distracting otherwise)
1.2       deraadt  2650: adm42-ns|lsi adm-42 with no system line:\
1.1       deraadt  2651:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
                   2652:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
                   2653:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
                   2654:        :im=\Eq\EF \011:tc=adm42:
                   2655:
                   2656: #### Prime
                   2657: #
                   2658: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   2659: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
                   2660:
                   2661: pt100|pt200|wren|fenix|prime pt100/pt200:\
                   2662:        :am:bw:mi:ms:\
                   2663:        :co#80:it#8:li#24:\
                   2664:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   2665:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:\
                   2666:        :ce=\E[K\E[t:cl=\E?:cm=\E0%+!%+!:cr=^M:dc=\E[P:\
                   2667:        :do=\ED:ei=\E[4l:ho=\E$B:im=\E[4h:kb=^H:kd=\E[B:\
                   2668:        :ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:ks=\E[>13h:\
                   2669:        :ku=\E[A:le=^H:nd=\E[C:nw=^M^J:se=\E[m:sf=^J:\
                   2670:        :so=\E[2;7m:ta=^I:\
                   2671:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
1.2       deraadt  2672:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
1.1       deraadt  2673: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
                   2674:        :co#132:\
                   2675:        :cm=\E[%i%d;%dH:tc=pt100:
                   2676: pt250|Prime PT250:\
                   2677:        :so@:tc=pt100:
                   2678: pt250w|Prime PT250 in 132-column mode:\
                   2679:        :so@:tc=pt100w:
                   2680:
                   2681: #### Qume (qvt)
                   2682: #
                   2683: #      Qume, Inc.
                   2684: #      3475-A North 1st Street
                   2685: #      San Jose CA 95134
                   2686: #      Vox: (800)-457-4447
                   2687: #      Fax: (408)-473-1510
                   2688: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   2689: #
                   2690: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   2691: # group and production division.
                   2692: #
                   2693: # Discontinued Qume models:
                   2694: #
                   2695: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   2696: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   2697: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   2698: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   2699: # ANSI-compatible terminals with the qvt323 and qvt61.
                   2700: #
                   2701: # Current Qume models (as of February 1995):
                   2702: #
                   2703: # All current Qume terminals have ANSI-compatible operation modes.
                   2704: # Qume is still producing the qvt62, which features emulations for other
                   2705: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   2706: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
1.3     ! deraadt  2707: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
1.1       deraadt  2708: # model is the qvt520, which is vt420-compatible.
                   2709: #
                   2710: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   2711:
                   2712: qvt101|qvt108|qume qvt 101 and QVT 108:\
                   2713:        :sg#1:\
                   2714:        :se=\EG0:so=\EG4:tc=qvt101+:
1.3     ! deraadt  2715:
        !          2716: # This used to have <cvvis>=\E.2 but no <cnorm> or <civis>.  The BSD termcap
        !          2717: # file had <cvvis>=\EM4 \200\200\200.  I've done the safe thing and yanked
        !          2718: # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
        !          2719: # What seems to be going on here is that this entry was designed so that
        !          2720: # the normal highlight is bold and standout is dim plus something else
        !          2721: # (reverse-video maybe?  But then, are there two <rev> sequences?)
1.1       deraadt  2722: qvt101+|qvt101p|qume qvt 101 PLUS product:\
                   2723:        :am:bw:hs:ul:\
                   2724:        :co#80:li#24:sg#0:\
                   2725:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   2726:        :cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:\
                   2727:        :ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:im=:k1=^A@\r:\
                   2728:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
1.3     ! deraadt  2729:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:\
        !          2730:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
        !          2731:        :kr=^L:ku=^K:le=^H:mr=\EG4:nd=^L:pf=\EA:po=\E@:\
        !          2732:        :se=\E(:sf=^J:so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:\
        !          2733:        :ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.4:
1.2       deraadt  2734: qvt102|qume qvt 102:\
1.1       deraadt  2735:        :ve=\E.:tc=qvt101:
1.2       deraadt  2736: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  2737: qvt103|qume qvt 103:\
                   2738:        :am:xn:xo:\
                   2739:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt  2740:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          2741:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          2742:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
        !          2743:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
        !          2744:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          2745:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          2746:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  2747:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
                   2748:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   2749:        :ue=\E[m:up=\E[A:us=\E[4m:
                   2750: qvt103-w|qume qvt103 132 cols:\
1.3     ! deraadt  2751:        :co#132:li#24:\
        !          2752:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
1.1       deraadt  2753: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
                   2754:        :am:hs:mi:ms:\
                   2755:        :co#80:li#24:sg#0:\
                   2756:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:\
                   2757:        :cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:\
                   2758:        :ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
                   2759:        :is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:k1=^A@\r:\
                   2760:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2761:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:\
1.3     ! deraadt  2762:        :kr=^L:ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:se=\EG0:sf=^J:\
        !          2763:        :so=\EG4:sr=\EJ:st=\E1:ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:\
        !          2764:        :us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:
1.1       deraadt  2765: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
1.3     ! deraadt  2766:        :li#25:tc=qvt119+:
1.1       deraadt  2767: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
                   2768:        :co#132:\
                   2769:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
                   2770: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
1.3     ! deraadt  2771:        :li#25:tc=qvt119+:
1.1       deraadt  2772: qvt203|qvt203+|qume qvt 203 Plus:\
1.2       deraadt  2773:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:\
                   2774:        :k0=\E[29~:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
                   2775:        :k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:\
                   2776:        :sf=\n:tc=qvt103:
1.1       deraadt  2777: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
1.3     ! deraadt  2778:        :co#132:li#24:\
        !          2779:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
1.1       deraadt  2780: #
                   2781: #      Since a command is present for enabling 25 data lines,
                   2782: #      a specific terminfo entry may be generated for the 203.
                   2783: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   2784: #      be selected in the status line (setup line 9).
                   2785: #
                   2786: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
                   2787:        :co#80:li#25:\
                   2788:        :is=\E[=40h\E[?3l:tc=qvt203:
                   2789: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
1.3     ! deraadt  2790:        :co#132:li#25:\
        !          2791:        :r2=\E[?3h\E[=40h:tc=qvt203:
1.1       deraadt  2792:
                   2793: #### Televideo (tvi)
                   2794: #
                   2795: #      TeleVideo
                   2796: #      550 East Brokaw Road
                   2797: #      PO Box 49048    95161
                   2798: #      San Jose CA 95112
                   2799: #      Vox: (408)-954-8333
                   2800: #      Fax: (408)-954-0623
                   2801: #
                   2802: #
                   2803: # There are some tvi terminals that require incredible amounts of padding and
                   2804: # some that don't.  I'm assuming 912 and 920 are the old slow ones,
                   2805: # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
                   2806: #
                   2807: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   2808: # Televideo terminals are ANSI and PC-ANSI compatible.
                   2809:
                   2810: tvi803|televideo 803:\
                   2811:        :cl=\E*:tc=tvi950:
                   2812:
                   2813: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
1.2       deraadt  2814: # Switch settings are:
                   2815: #
                   2816: # S1  1 2 3 4
                   2817: #     D D D D  9600
                   2818: #     D D D U    50
                   2819: #     D D U D    75
                   2820: #     D D U U   110
                   2821: #     D U D D   135
                   2822: #     D U D U   150
                   2823: #     D U U D   300
                   2824: #     D U U U   600
                   2825: #     U D D D  1200
                   2826: #     U D D U  1800
                   2827: #     U D U D  2400
                   2828: #     U D U U  3600
                   2829: #     U U D D  4800
                   2830: #     U U D U  7200
                   2831: #     U U U D  9600
                   2832: #     U U U U 19200
                   2833: #
                   2834: # S1  5 6 7 8
                   2835: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   2836: #     U D X U  7N2
                   2837: #     U U D D  7O1
                   2838: #     U U D U  7O2
                   2839: #     U U U D  7E1
                   2840: #     U U U U  7E2
                   2841: #     D D X D  8N1
                   2842: #     D D X U  8N2
                   2843: #     D U D D  8O1
                   2844: #     D U U U  8E2
                   2845: #
                   2846: # S1  9  Autowrap
                   2847: #     U  on
                   2848: #     D  off
                   2849: #
                   2850: # S1 10  CR/LF
                   2851: #     U  do CR/LF when CR received
                   2852: #     D  do CR when CR received
                   2853: #
                   2854: # S2  1  Mode
                   2855: #     U  block
                   2856: #     D  conversational
                   2857: #
                   2858: # S2  2  Duplex
                   2859: #     U  half
                   2860: #     D  full
                   2861: #
                   2862: # S2  3  Hertz
                   2863: #     U  50
                   2864: #     D  60
                   2865: #
                   2866: # S2  4  Edit mode
                   2867: #     U  local
                   2868: #     D  duplex
                   2869: #
                   2870: # S2  5  Cursor type
                   2871: #     U  underline
                   2872: #     D  block
                   2873: #
                   2874: # S2  6  Cursor down key
                   2875: #     U  send ^J
                   2876: #     D  send ^V
                   2877: #
                   2878: # S2  7  Screen colour
                   2879: #     U  green on black
                   2880: #     D  black on green
                   2881: #
                   2882: # S2  8  DSR status (pin 6)
                   2883: #     U  disconnected
                   2884: #     D  connected
                   2885: #
                   2886: # S2  9  DCD status (pin 8)
                   2887: #     U  disconnected
                   2888: #     D  duplex
                   2889: #
                   2890: # S2 10  DTR status (pin 20)
                   2891: #     U  disconnected
                   2892: #     D  duplex
                   2893: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
                   2894: # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
1.1       deraadt  2895: tvi910|televideo model 910:\
1.2       deraadt  2896:        :am:ms:\
                   2897:        :co#80:it#8:li#24:sg#1:ug#1:\
1.3     ! deraadt  2898:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:\
        !          2899:        :cm=\E=%+ %+ :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
        !          2900:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:\
        !          2901:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          2902:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:\
        !          2903:        :kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:sf=^J:so=\EG4:ta=^I:\
        !          2904:        :ue=\EG0:up=^K:us=\EG8:
1.1       deraadt  2905: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   2906: # as subsequently hacked over by someone at SCO
1.2       deraadt  2907: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   2908: #
                   2909: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   2910: #
                   2911: # S1  1 2 3 4:
                   2912: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   2913: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   2914: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   2915: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   2916: #
                   2917: # S1  5 6 7 8:
                   2918: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   2919: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   2920: #     D U D D  8O1     D U U U  8E2
                   2921: #
                   2922: # S1  9  Autowrap            (U = on, D = off)
                   2923: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   2924: # S2  1  Mode                (U = block, D = conversational)
                   2925: # S2  2  Duplex              (U =  half, D = full)
                   2926: # S2  3  Hertz               (U = 50, D = 60)
                   2927: # S2  4  Edit mode           (U = local, D = duplex)
                   2928: # S2  5  Cursor type         (U = underline, D = block)
                   2929: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   2930: # S2  7  Screen colour       (U = green on black, D = black on green)
                   2931: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   2932: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   2933: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   2934: #
1.1       deraadt  2935: tvi910+|910+|televideo 910+:\
1.2       deraadt  2936:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:\
                   2937:        :k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:\
                   2938:        :k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:ll=\E=7 :tc=tvi910:
                   2939:
                   2940: # (tvi912: removed obsolete ":ma=^K^P^L :" -- esr)
                   2941: tvi912|tvi914|tvi920|old televideo 912/914/920:\
                   2942:        :am:\
                   2943:        :co#80:it#8:li#24:sg#1:ug#1:\
1.1       deraadt  2944:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   2945:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
                   2946:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
                   2947:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2948:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:\
                   2949:        :ku=^K:le=^H:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:\
                   2950:        :ue=\Em:up=^K:us=\El:
                   2951: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   2952: # The 920 has this plus real function keys that xmit different things.
                   2953: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   2954: tvi912c|tvi912b|912c|912b|tvi|new televideo 912:\
                   2955:        :al=\EE:dl=\ER:tc=tvi912:
1.2       deraadt  2956: # set to page 1 when entering curses application (\E-17 )
                   2957: # reset to page 0 when exiting curses application (\E-07 )
1.1       deraadt  2958: tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
                   2959:        :te=\E-07 :ti=\E-17 :tc=tvi912:
                   2960: # We got some new tvi912c terminals that act really weird on the regular
                   2961: # termcap, so one of our gurus worked this up. Seems that cursor
                   2962: # addressing is broken.
                   2963: tvi912cc|tvi912 at cowell college:\
                   2964:        :cm@:tc=tvi912c:
                   2965:
1.2       deraadt  2966: # Here are the switch settings for the TVI 920c:
                   2967: #
                   2968: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   2969: # 2: 9600      3: 4800         4: 2400         5: 1200
                   2970: # 6:  600      7:  300         8:  150         9:   75
                   2971: # 10: 110
                   2972: #
                   2973: # S2 UART/Terminal options:
                   2974: #              Up                      Down
                   2975: # 1:           Not used                Not allowed
                   2976: # 2:   Alternate character set   Standard character set
                   2977: # 3:       Full duplex             Half duplex
                   2978: # 4:       50 Hz refresh           60 Hz refresh
                   2979: # 5:         No parity              Send parity
                   2980: # 6:        2 stop bits             1 stop bit
                   2981: # 7:        8 data bits             7 data bits
                   2982: # 8:           Not used                Not allowed on Rev E or lower
                   2983: # 9:        Even parity             Odd parity
                   2984: # 10:      Steady cursor           Blinking cursor
                   2985: #      (On Rev E or lower, use W25 instead of switch 10.)
                   2986: #
                   2987: # S5 UART/Terminal options:
                   2988: #              Open                    Closed
                   2989: # 1:   P3-6 Not connected      DSR received on P3-6
                   2990: # 2:   P3-8 Not connected      DCD received on P3-8
                   2991: #
                   2992: # 3 Open, 4 Open:              P3-20 Not connected
                   2993: # 3 Open, 4 Closed:    DTR on when terminal is on
                   2994: # 3 Closed, 4 Open:    DTR is connected to RTS
                   2995: # 3 Closed, 4 Closed:  Not allowed
                   2996: #
                   2997: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   2998: #              all data transmitted out of the modem port (P3) will also be
                   2999: #              transmitted out of the printer port (P4).
                   3000: #
                   3001: # 6 Open, 7 Open:              Not allowed
                   3002: # 6 Open, 7 Closed:    20ma current loop input
                   3003: # 6 Closed, 7 Open:    RS232 input
                   3004: # 6 Closed, 7 Closed:  Not allowed
                   3005: #
                   3006: # Jumper options:
                   3007: # If the jumper is installed, the effect will occur (the next time the terminal
                   3008: # is switched on).
                   3009: #
                   3010: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3011: #              remote or keyboard.
                   3012: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3013: #              installed, a carriage return is sent.
                   3014: # S4/W33:      Disables automatic carriage return in column 80.
                   3015: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3016: #              installed, Extension Mode is selected.
                   3017: #
1.1       deraadt  3018: tvi920b|tvi920c|new televideo 920:\
                   3019:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3020:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   3021:        :k9=^AH\r:tc=tvi912:
                   3022:
1.2       deraadt  3023: # Televideo 921 and variants
                   3024: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
                   3025: # (tvi921: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3026: tvi921|televideo model 921 with sysline same as page & real vi function:\
                   3027:        :am:hs:xn:xs:\
                   3028:        :co#80:li#24:sg#0:\
                   3029:        :ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
                   3030:        :cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:\
                   3031:        :ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:ic=\EQ:\
                   3032:        :if=/usr/share/tabset/stdcrt:im=:\
1.3     ! deraadt  3033:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:\
        !          3034:        :kE=\ET:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:\
        !          3035:        :kr=^L:ku=^K:le=^H:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
        !          3036:        :so=\EG4:ta=^I:ts=\Ef\EG0:ue=\EG0:up=^K:us=\EG8:\
        !          3037:        :ve=\E.3:vs=\E.2:
1.2       deraadt  3038: # without the beeper
                   3039: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3040: tvi92B|televideo model 921 with sysline same as page & real vi function:\
                   3041:        :am:hs:xn:xs:\
                   3042:        :co#80:li#24:sg#0:\
                   3043:        :ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
                   3044:        :cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:\
                   3045:        :ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:ic=\EQ:\
                   3046:        :if=/usr/share/tabset/stdcrt:im=:\
1.3     ! deraadt  3047:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:\
        !          3048:        :kE=\ET:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:\
        !          3049:        :kr=^L:ku=^K:le=^H:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
        !          3050:        :so=\EG4:ta=^I:ts=\Ef\EG0:ue=\EG0:up=^K:us=\EG8:\
        !          3051:        :vb=\Eb\Ed:ve=\E.3:vs=\E.2:
1.2       deraadt  3052: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3053: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
1.3     ! deraadt  3054:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:\
        !          3055:        :kA=2*\EE:kL=2*\ER:tc=tvi92B:
1.2       deraadt  3056:
1.3     ! deraadt  3057: # (tvi924: This used to have <dsl>=\Es0, <fsl>=\031.  I put the new strings
        !          3058: # in from a BSD termcap file because it looks like they do something the
        !          3059: # old ones skip -- esr)
1.1       deraadt  3060: tvi924|televideo tvi924:\
                   3061:        :am:bw:hs:in:mi:ms:xn:xo:\
                   3062:        :co#80:it#8:li#24:sg#0:ws#80:\
1.3     ! deraadt  3063:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:\
        !          3064:        :bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :\
        !          3065:        :cr=^M:cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:\
        !          3066:        :ds=\Es0\Ef\031:ei=:fs=\031\Es1:ho=^^:\
1.1       deraadt  3067:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
                   3068:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
                   3069:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
1.3     ! deraadt  3070:        :k7=^AG\r:k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:\
        !          3071:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:\
        !          3072:        :kh=^^:kl=^H:kr=^L:ku=^K:l0=F1:l1=F2:l2=F3:l3=F4:\
        !          3073:        :l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:la=F11:le=^H:\
        !          3074:        :mb=\EG2:me=\EG0:mk=\EG1:nd=^L:pk=\E|%+1%s\031:\
        !          3075:        :se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:ta=^I:ts=\Ef:\
        !          3076:        :ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
        !          3077:        :vs=\E.1:
1.2       deraadt  3078:
                   3079: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3080: #
                   3081: # Here are the settings for the external (baud) switches (S1):
                   3082: #
                   3083: #             Position         Baud
                   3084: # 7    8       9       10              [Printer]
                   3085: # 1    2       3       4               [Main RS232]
                   3086: # -----------------------------------------------------
                   3087: # D    D       D       D       9600
                   3088: # D    D       D       U         50
                   3089: # D    D       U       D         75
                   3090: # D    D       U       U        110
                   3091: # D    U       D       D        135
                   3092: # D    U       D       U        150
                   3093: # D    U       U       D        300
                   3094: # D    U       U       U        600
                   3095: # U    D       D       D       1200
                   3096: # U    D       D       U       1800
                   3097: # U    D       U       D       2400
                   3098: # U    D       U       U       3600
                   3099: # U    U       D       D       4800
                   3100: # U    U       D       U       7200
                   3101: # U    U       U       D       9600
                   3102: # U    U       U       U       19200
                   3103: #
                   3104: #
                   3105: # Settings for word length and stop-bits (S1)
                   3106: #
                   3107: #  Position    Description
                   3108: # 5    6
                   3109: # ---------------------------
                   3110: # U    -       7-bit word
                   3111: # D    -       8-bit word
                   3112: # -    U       2 stop bits
                   3113: # -    D       1 stop bit
                   3114: #
                   3115: #
                   3116: # S2 (external) settings
                   3117: #
                   3118: # Position     Up      Dn      Description
                   3119: # --------------------------------------------
                   3120: # 1            X               Local edit
                   3121: #                      X       Duplex edit (transmit editing keys)
                   3122: # --------------------------------------------
                   3123: # 2            X               912/920 emulation
                   3124: #                      X       925
                   3125: # --------------------------------------------
                   3126: # 3                    X
                   3127: # 4                    X       No parity
                   3128: # 5                    X
                   3129: # --------------------------------------------
                   3130: # 3                    X
                   3131: # 4                    X       Odd parity
                   3132: # 5            X
                   3133: # --------------------------------------------
                   3134: # 3                    X
                   3135: # 4            X               Even parity
                   3136: # 5            X
                   3137: # --------------------------------------------
                   3138: # 3            X
                   3139: # 4                    X       Mark parity
                   3140: # 5            X
                   3141: # --------------------------------------------
                   3142: # 3            X
                   3143: # 4            X               Space parity
                   3144: # 5            X
                   3145: # --------------------------------------------
                   3146: # 6            X               White on black display
                   3147: #                      X       Black on white display
                   3148: # --------------------------------------------
                   3149: # 7                    X       Half Duplex
                   3150: # 8                    X
                   3151: # --------------------------------------------
                   3152: # 7            X               Full Duplex
                   3153: # 8                    X
                   3154: # --------------------------------------------
                   3155: # 7                    X       Block mode
                   3156: # 8            X
                   3157: # --------------------------------------------
                   3158: # 9                    X       50 Hz
                   3159: #              X               60 Hz
                   3160: # --------------------------------------------
                   3161: # 10           X               CR/LF (Auto LF)
                   3162: #                      X       CR only
                   3163: #
                   3164: # S3 (internal switch) settings:
                   3165: #
                   3166: # Position     Up      Dn      Description
                   3167: # --------------------------------------------
                   3168: # 1            X               Keyclick off
                   3169: #                      X       Keyclick on
                   3170: # --------------------------------------------
                   3171: # 2                    X       English
                   3172: # 3                    X
                   3173: # --------------------------------------------
                   3174: # 2                    X       German
                   3175: # 3            X
                   3176: # --------------------------------------------
                   3177: # 2            X               French
                   3178: # 3                    X
                   3179: # --------------------------------------------
                   3180: # 2            X               Spanish
                   3181: # 3            X
                   3182: # --------------------------------------------
                   3183: # 4                    X       Blinking block cursor
                   3184: # 5                    X
                   3185: # --------------------------------------------
                   3186: # 4                    X       Blinking underline cursor
                   3187: # 5            X
                   3188: # --------------------------------------------
                   3189: # 4            X               Steady block cursor
                   3190: # 5                    X
                   3191: # --------------------------------------------
                   3192: # 4            X               Steady underline cursor
                   3193: # 5            X
                   3194: # --------------------------------------------
                   3195: # 6            X               Screen blanking timer (ON)
                   3196: #                      X       Screen blanking timer (OFF)
                   3197: # --------------------------------------------
                   3198: # 7            X               Page attributes
                   3199: #                      X       Line attributes
                   3200: # --------------------------------------------
                   3201: # 8            X               DCD disconnected
                   3202: #                      X       DCD connected
                   3203: # --------------------------------------------
                   3204: # 9            X               DSR disconnected
                   3205: #                      X       DSR connected
                   3206: # --------------------------------------------
                   3207: # 10           X               DTR Disconnected
                   3208: #                      X       DTR connected
                   3209: # --------------------------------------------
1.3     ! deraadt  3210: #
        !          3211: # (tvi925: BSD has <clear>=\E*.  I got <is2> and <ri> from there -- esr)
1.1       deraadt  3212: tvi925|925|televideo 925:\
                   3213:        :am:bw:hs:ul:\
                   3214:        :co#80:li#24:sg#1:ug#1:\
                   3215:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   3216:        :cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^V:\
1.3     ! deraadt  3217:        :ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:im=:\
        !          3218:        :is=\El\E"\nkclr=\032:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
        !          3219:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          3220:        :k8=^AG\r:k9=^AH\r:kA=\EE:kD=\EW:kE=\ET:kI=\EQ:\
        !          3221:        :kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
        !          3222:        :le=^H:nd=^L:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:\
        !          3223:        :ta=^I:ts=\Eh\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:\
        !          3224:        :ve=\E.4:vs=\E.2:
1.1       deraadt  3225:
                   3226: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3227: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3228: # for additional capabilities,
                   3229: # The following tvi descriptions from B:pjphar and virus!mike
                   3230: # is for all 950s.  It sets the following attributes:
                   3231: # full duplex (\EDF)           write protect off (\E()
                   3232: # conversation mode (\EC)      graphics mode off (\E%)
                   3233: # white on black (\Ed)         auto page flip off (\Ew)
                   3234: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3235: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3236: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3237: # line edit mode (\EO)         enable buffer control (^O)
                   3238: # protect mode off (\E\047)    duplex edit keys (\El)
                   3239: # program unshifted send key to send line all (\E016)
                   3240: # program shifted send key to send line unprotected (\E004)
                   3241: # set the following to nulls:
                   3242: #      field delimiter (\Ex0\200\200)
                   3243: #      line delimiter (\Ex1\200\200)
                   3244: #      start-protected field delimiter (\Ex2\200\200)
                   3245: #      end-protected field delimiter (\Ex3\200\200)
                   3246: # set end of text delimiter to carriage return/null (\Ex4\r\200)
1.2       deraadt  3247: #
                   3248: #                     TVI 950 Switch Setting Reference Charts
                   3249: #
                   3250: #                                     TABLE 1:
                   3251: #
                   3252: #      S1     1     2     3     4     5     6     7     8     9    10
                   3253: #          +-----------------------+-----+-----+-----------------------+
                   3254: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3255: #          |                       |Bits |Bits |                       |
                   3256: #   +------+-----------------------+-----+-----+-----------------------+
                   3257: #   |  Up  |        See            |  7  |  2  |        See            |
                   3258: #   +------+-----------------------+-----+-----+-----------------------+
                   3259: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3260: #   +------+-----------------------+-----+-----+-----------------------+
                   3261: #
                   3262: #
                   3263: #      S2     1     2     3     4     5     6     7     8     9    10
                   3264: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3265: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3266: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3267: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3268: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3269: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3270: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3271: #
                   3272: #                                    TABLE 2:
                   3273: #
                   3274: #             +-----------+-----+-----+-----+-----+-----------+
                   3275: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3276: #             +-----------+-----+-----+-----+-----+           |
                   3277: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3278: #             +-----------+-----+-----+-----+-----+-----------+
                   3279: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3280: #                         |  U  |  D  |  D  |  D  |     50    |
                   3281: #                         |  D  |  U  |  D  |  D  |     75    |
                   3282: #                         |  U  |  U  |  D  |  D  |    110    |
                   3283: #                         |  D  |  D  |  U  |  D  |    135    |
                   3284: #                         |  U  |  D  |  U  |  D  |    150    |
                   3285: #                         |  D  |  U  |  U  |  D  |    300    |
                   3286: #                         |  U  |  U  |  U  |  D  |    600    |
                   3287: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3288: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3289: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3290: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3291: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3292: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3293: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3294: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3295: #                         +-----+-----+-----+-----+-----------+
                   3296: #
                   3297: #                                    TABLE 3:
                   3298: #                         +-----+-----+-----+-----------+
                   3299: #                         |  3  |  4  |  5  |   Parity  |
                   3300: #                         +-----+-----+-----+-----------+
                   3301: #                         |  X  |  X  |  D  |    None   |
                   3302: #                         |  D  |  D  |  U  |     Odd   |
                   3303: #                         |  D  |  U  |  U  |    Even   |
                   3304: #                         |  U  |  D  |  U  |    Mark   |
                   3305: #                         |  U  |  U  |  U  |   Space   |
                   3306: #                         +-----+-----+-----+-----------+
                   3307: #                                 X = don't care
                   3308: #
                   3309: #                                     CHART:
                   3310: #                         +-----+-----+-----------------+
                   3311: #                         |  7  |  8  | Communication   |
                   3312: #                         +-----+-----+-----------------+
                   3313: #                         |  D  |  D  |  Half Duplex    |
                   3314: #                         |  D  |  U  |  Full Duplex    |
                   3315: #                         |  U  |  D  |     Block       |
                   3316: #                         |  U  |  U  |     Local       |
                   3317: #                         +-----+-----+-----------------+
                   3318: #
                   3319: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
                   3320: # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
1.3     ! deraadt  3321: # should be present and all tvi native modes use the same string for this.
        !          3322: # Finally, note that BSD has cud1=^V. -- esr)
1.2       deraadt  3323: tvi950|950|televideo 950:\
                   3324:        :am:hs:mi:ms:xn:xo:\
                   3325:        :co#80:it#8:li#24:sg#1:ug#1:\
1.3     ! deraadt  3326:        :ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:\
        !          3327:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:\
        !          3328:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
        !          3329:        :ho=^^:ic=\EQ:im=\Eq:\
1.1       deraadt  3330:        :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r:\
                   3331:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
1.3     ! deraadt  3332:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:\
        !          3333:        :kB=\EI:kC=\E*:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:\
        !          3334:        :kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
        !          3335:        :pf=\Ea:po=\E`:se=\EG0:sf=^J:so=\EG4:sr=\Ej:st=\E1:\
        !          3336:        :ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:
1.1       deraadt  3337: #
                   3338: # is for 950 with two pages adds the following:
                   3339: #      set 48 line page (\E\\2)
                   3340: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3341: #      set local (no send) edit keys (\Ek)
                   3342: #
                   3343: # two page 950 adds the following:
                   3344: #      when entering ex, set 24 line page (\E\\1)
                   3345: #      when exiting ex, reset 48 line page (\E\\2)
                   3346: #                       place cursor at 0,24,1 (\E-07 )
                   3347: #      set duplex (send) edit keys (\El) when entering vi
                   3348: #      set local (no send) edit keys (\Ek) when exiting vi
                   3349: #
                   3350: tvi950-2p|950-2p|televideo950 w/2 pages:\
                   3351:        :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011:\
                   3352:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :tc=tvi950:
                   3353: #
                   3354: # is for 950 with four pages adds the following:
                   3355: #      set 96 line page (\E\\3)
                   3356: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3357: #
                   3358: # four page 950 adds the following:
                   3359: #      when entering ex, set 24 line page (\E\\1)
                   3360: #      when exiting ex, reset 96 line page (\E\\3)
                   3361: #                       place cursor at 0,24,1 (\E-07 )
                   3362: #
                   3363: tvi950-4p|950-4p|televideo950 w/4 pages:\
                   3364:        :is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011:\
                   3365:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :tc=tvi950:
                   3366: #
1.2       deraadt  3367: # <is2> for reverse video 950 changes the following:
1.1       deraadt  3368: #      set reverse video (\Ed)
                   3369: #
1.2       deraadt  3370: # set vb accordingly (\Ed ...delay... \Eb)
1.1       deraadt  3371: #
                   3372: tvi950-rv|950-rv|televideo950 rev video:\
                   3373:        :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200:\
1.2       deraadt  3374:        :vb=\Ed\Eb:tc=tvi950:
                   3375:
                   3376: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.1       deraadt  3377: tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
                   3378:        :is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 :\
                   3379:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :\
1.2       deraadt  3380:        :vb=\Ed\Eb:tc=tvi950:
                   3381:
                   3382: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.1       deraadt  3383: tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
                   3384:        :is=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 :\
                   3385:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :\
1.2       deraadt  3386:        :vb=\Ed\Eb:tc=tvi950:
1.1       deraadt  3387: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
1.2       deraadt  3388: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3389: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
                   3390: # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
                   3391: # the :ko: string had :cl: in it, which means that one of the original
                   3392: # <clear>=\E*, <kclr>=\EY had to be wrong; set <kclr>=\E* because that's what
                   3393: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3394: # ko implies -- esr)
1.3     ! deraadt  3395: # If the BSD termcap file was right, <cup>=\E=%p1%{32}%+%c%p2%{32}%+%c would
        !          3396: # also work.
1.2       deraadt  3397: tvi955|televideo 955:\
1.3     ! deraadt  3398:        :5i:ms@:\
1.2       deraadt  3399:        :it#8:sg@:\
1.3     ! deraadt  3400:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
        !          3401:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
        !          3402:        :cm=\E[%i%d;%dH:do=^V:\
        !          3403:        :is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:kM=\EQ:kN=\EK:\
        !          3404:        :kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:me=\EG0\E[=5l:\
        !          3405:        :mh=\E[=5h:mk=\EG1:mr=\EG4:ps=\EP:\
        !          3406:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r:\
        !          3407:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:tc=tvi950:
1.1       deraadt  3408: tvi955-w|955-w|televideo955 w/132 cols:\
                   3409:        :co#132:\
1.2       deraadt  3410:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
                   3411: # use half-intensity as normal mode, full intensity as <bold>
1.1       deraadt  3412: tvi955-hb|955-hb|televideo955 half-bright:\
                   3413:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
                   3414:        :me=\EG0\E[=5h:mh@:tc=tvi955:
                   3415: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
1.2       deraadt  3416: # (tvi970: removed ":sg#0:" -- esr)
                   3417: tvi970|televideo 970:\
                   3418:        :da:db:mi:ms:\
1.1       deraadt  3419:        :co#80:it#8:li#24:\
                   3420:        :ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:cd=\E[0J:ce=\E[0K:\
                   3421:        :cl=\E[H\E[2J:cm=\E[%i%d;%df:dc=\E[P:dl=\E[M:do=\ED:\
1.3     ! deraadt  3422:        :ds=\Eg\Ef\r:ei=\E[4l:im=\E[4h:\
1.1       deraadt  3423:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:\
                   3424:        :k1=\E?a:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:\
                   3425:        :k7=\E?g:k8=\E?h:k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:\
1.2       deraadt  3426:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:se=\E[m:\
                   3427:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\EM:us=\E[4m:\
1.3     ! deraadt  3428:        :vb=\E[5;m\E[0;m:vs=\E[1Q:
1.1       deraadt  3429: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3430: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
                   3431: # padding is needed, but adapted from the tvi920c termcap.  The :so: and :us:
                   3432: # strings are klutzy, but at least use no screen space.
1.2       deraadt  3433: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>. -- esr)
                   3434: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   3435: tvipt|televideo personal terminal:\
                   3436:        :am:\
1.1       deraadt  3437:        :co#80:li#24:\
1.3     ! deraadt  3438:        :SA=\Ev:al=\EE:bt=\EI:ce=\ET:cl=^Z:cm=\E=%+ %+ :\
        !          3439:        :dl=\ER:ho=^^:if=/usr/share/tabset/stdcrt:\
1.2       deraadt  3440:        :is=\Ev\Eu\EK:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
                   3441:        :nd=^L:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
1.1       deraadt  3442:
                   3443: #### Visual (vi)
                   3444: #
                   3445:
1.2       deraadt  3446: # vi50 is from University of Wisconsin
                   3447: # This is a provisional vi50 termcap entry.  It was copied from vi500
                   3448: # entry.  Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
                   3449: # disguise; <kf7>-<kf9> are really l1-l3.  No highlighting enabled at present.
1.1       deraadt  3450: vi50|visual 50:\
1.2       deraadt  3451:        :am:ms:\
                   3452:        :co#80:it#8:li#24:\
                   3453:        :al=\EL:bt=4\Ez:cd=\Ek:ce=16\EK:cl=\Ev:cm=\EY%+ %+ :\
                   3454:        :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:k3=\ER:\
                   3455:        :k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
                   3456:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   3457:        :nw=^M^J:sf=^J:ta=^I:up=\EA:
                   3458: # this one was BSD & SCO's vi50
                   3459: vi50adm|visual 50 in adm3a mode:\
                   3460:        :am:ms:\
                   3461:        :co#80:it#8:li#24:\
1.1       deraadt  3462:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   3463:        :dl=\EM:do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   3464:        :kr=\EC:ku=\EA:le=^H:nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:\
                   3465:        :up=^K:
                   3466: # From: Jeff Siegal <jbs@athena.mit.edu>
                   3467: vi55|Visual 55:\
1.2       deraadt  3468:        :am:mi:ms:\
1.1       deraadt  3469:        :co#80:it#8:li#24:\
                   3470:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :\
                   3471:        :cs=\E_%+A%+A:dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:\
                   3472:        :im=\Ea:is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:\
                   3473:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:\
1.2       deraadt  3474:        :ta=^I:up=\EA:
1.1       deraadt  3475:
                   3476: # The Visual 200 beeps when you type a character in insert mode.
                   3477: # This is a horribly obnoxious misfeature, and some of the entries
                   3478: # below try to get around the problem by ignoring the feature or
                   3479: # turning it off when inputting a character.  They are said not to
                   3480: # work well at 300 baud.  (You could always cut the wire to the bell!)
1.2       deraadt  3481: # (vi200: this used to use ich1=\Ei\s\010\Ej but it's more effective to
                   3482: # use <smir>/<rmir> directly -- esr)
1.1       deraadt  3483: # From: <mike@brl-vgr> Mon Nov 14 08:34:29 1983
                   3484: vi200|vis200|visual 200 with function keys:\
1.2       deraadt  3485:        :am:\
                   3486:        :co#80:it#8:li#24:\
1.1       deraadt  3487:        :al=\EL:bl=^G:cd=\Ey:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :\
1.2       deraadt  3488:        :cr=^M:dc=\EO:dl=\EM:do=^J:ei=\Ej:ho=\EH:im=\Ei:\
                   3489:        :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:k0=\EP:k1=\EQ:k2=\ER:\
                   3490:        :k3=\E :k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:\
                   3491:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   3492:        :se=\E3:sf=^J:so=\E4:sr=\EI:ta=^I:up=\EA:ve=\Ec:\
                   3493:        :vs=\Ed:
1.1       deraadt  3494: # The older Visuals didn't come with function keys. This entry uses
1.2       deraadt  3495: # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
1.1       deraadt  3496: # If your version of vi doesn't support function keys you may want
                   3497: # to use vi200-f.
                   3498: vi200-f|visual|visual 200 no function keys:\
1.2       deraadt  3499:        :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:\
1.1       deraadt  3500:        :k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:\
1.2       deraadt  3501:        :k8=\E?x:k9=\E?y:ke=\E>:ks=\E=:se@:so@:tc=vi200:
1.1       deraadt  3502: vi200-rv|visual 200 reverse video:\
                   3503:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
                   3504:
1.2       deraadt  3505: # the function keys are programmable but we don't reprogram them to their
                   3506: # default values with <is2> because programming them is very verbose. maybe
                   3507: # an initialization file should be made for the 300 and they could be stuck
                   3508: # in it.
                   3509: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  3510: vi300|visual 300 ansi x3.64:\
                   3511:        :am:bw:mi:xn:\
                   3512:        :co#80:li#24:\
1.3     ! deraadt  3513:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:\
        !          3514:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
        !          3515:        :dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  3516:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
                   3517:        :k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
                   3518:        :k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
                   3519:        :k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   3520:        :le=^H:nd=\E[C:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:\
                   3521:        :ue=\E[m:up=\E[A:us=\E[4m:
                   3522: # some of the vi300s have older firmware that has the command
                   3523: # sequence for setting editing extent reversed.
1.2       deraadt  3524: vi300-old|visual 300 with old firmware (set edit extent reversed):\
                   3525:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:tc=vi300:
                   3526:
                   3527: # Visual 500 prototype entry from University of Wisconsin.
                   3528: # The best place to look for the escape sequences is page A1-1 of the
                   3529: # Visual 500 manual.  The initialization sequence given here may be
                   3530: # overkill, but it does leave out some of the initializations which can
                   3531: # be done with the menus in set-up mode.
                   3532: # The :xp: line below is so that emacs can understand the padding requirements
                   3533: # of this slow terminal.  :xp: is 10 time the padding factor.
                   3534: # (vi500: removed unknown :xp#4: termcap -- esr)
                   3535: vi500|visual 500:\
                   3536:        :am:mi:ms:\
                   3537:        :co#80:it#8:li#33:\
                   3538:        :ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
                   3539:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
                   3540:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
                   3541:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
                   3542:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   3543:        :nd=\EC:nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:\
                   3544:        :ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  3545:
1.2       deraadt  3546: # The visual 550 is a visual 300 with tektronix graphics,
1.1       deraadt  3547: # and with 33 lines. clear screen is modified here to
                   3548: # also clear the graphics.
                   3549: vi550|visual 550 ansi x3.64:\
                   3550:        :li#33:\
1.2       deraadt  3551:        :cl=\030\E[H\E[2J:tc=vi300:
1.1       deraadt  3552:
                   3553: vi603|visual603|visual 603:\
                   3554:        :hs:mi:\
                   3555:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   3556:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
1.2       deraadt  3557:        :ds=\EP2;1~\E\\:ei=\E[4l:fs=\E\\:\
                   3558:        :i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:im=\E[4h:\
1.1       deraadt  3559:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.2       deraadt  3560:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
                   3561:        :up=\E[A:us=\E[4m:tc=vt100:
1.1       deraadt  3562:
                   3563: #### Wyse (wy)
                   3564: #
                   3565: #      Wyse Technology
                   3566: #      3471 North First Street
                   3567: #      San Jose, CA 95134
                   3568: #      Vox: (408)-473-1200
                   3569: #      Fax: (408) 473-1222
                   3570: #
                   3571: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
                   3572: # (800)-800-WYSE (option 5 gets you a human).
                   3573: #
                   3574: # All the following entries until (but not including) wy100q are direct from
                   3575: # Wyse technical support and represent their best knowledge as of January 1995.
1.2       deraadt  3576: # I canceled the bel capacities in the vb entries.
                   3577: # I made two trivial syntax fixes in the wyse30 entry.
1.1       deraadt  3578: #
                   3579: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   3580:
                   3581: #         Although the Wyse 30 can support more than one attribute
                   3582: #      it requires magic cookies to do so.  Many applications do not
                   3583: #      function well with magic cookies.  The following terminfo uses
                   3584: #      the protect mode to support one attribute (dim) without cookies.
                   3585: #      If more than one attribute is needed then the wy30-mc terminfo
                   3586: #      should be used.
                   3587: #
                   3588: wy30|wyse30|Wyse 30:\
1.3     ! deraadt  3589:        :5i:am:bw:hs:mi:ms:xo:\
        !          3590:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
        !          3591:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
        !          3592:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
        !          3593:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          3594:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:\
        !          3595:        :ds=\EF\r:ei=\Er:fs=^M:ho=^^:im=\Eq:ip=:\
1.1       deraadt  3596:        :is=\E'\E(\E^3\E`9\016\024:k1=^A@\r:k2=^AA\r:\
                   3597:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
1.3     ! deraadt  3598:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:\
        !          3599:        :kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
        !          3600:        :ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
        !          3601:        :mp=\E`7\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:\
        !          3602:        :ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3603:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
                   3604:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:\
1.2       deraadt  3605:        :ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3606: #
                   3607: #      This terminal description uses the non-hidden attribute mode
                   3608: #      (with magic cookie).
                   3609: #
                   3610: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
                   3611:        :ms@:\
                   3612:        :ma@:sg#1:ug#1:\
                   3613:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.3     ! deraadt  3614:        :me=\EG0\E(\EH\003:mh=\EGp:mk=\EG1:mp=\EG0\E):\
        !          3615:        :mr=\EG4:\
1.1       deraadt  3616:        :..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%;:\
                   3617:        :se=\EG0:so=\EG4:te=\EG0:ue=\EG0:us=\EG8:tc=wy30:
1.2       deraadt  3618: #      The mandatory pause used by <flash> does not work with
1.1       deraadt  3619: #      older versions of terminfo.  If you see this effect then
                   3620: #      unset xon and delete the / from the delay.
                   3621: #      i.e. change $<100/> to $<100>
                   3622: wy30-vb|wyse30-vb|wyse 30 visible bell:\
1.2       deraadt  3623:        :bl@:tc=wy30:
1.1       deraadt  3624: #
                   3625: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   3626: #      Normal) without magic cookies by using the protect mode.
                   3627: #      The following description uses this feature, but when more
                   3628: #      than one attribute is put on the screen at once, all attributes
                   3629: #      will be changed to be the same as the last attribute given.
                   3630: #         The Wyse 50 can support more attributes when used with magic
                   3631: #      cookies.  The wy50-mc terminal description uses magic cookies
                   3632: #      to correctly handle multiple attributes on a screen.
                   3633: #
                   3634: wy50|wyse50|Wyse 50:\
1.3     ! deraadt  3635:        :5i:am:bw:hs:mi:ms:xo:\
        !          3636:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
        !          3637:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:\
        !          3638:        :F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:\
        !          3639:        :LO=\EA10:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:\
        !          3640:        :al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          3641:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:\
        !          3642:        :ds=\EF\r:ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:im=\Eq:\
        !          3643:        :ip=:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
        !          3644:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
        !          3645:        :k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:\
        !          3646:        :kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:\
        !          3647:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:\
        !          3648:        :mh=\E`7\E):mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:\
        !          3649:        :pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3650:        :..sa=%?%p1%p3%|%t\E`6\E)\n%e%p5%p8%|%t\E`7\E)%e\E(%;\n%?%p9%t\EH\002%e\EH\003%;:\
                   3651:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:\
1.2       deraadt  3652:        :up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3653: #
                   3654: #      This terminal description uses the non-hidden attribute mode
                   3655: #      (with magic cookie).
                   3656: #
1.2       deraadt  3657: #      The mandatory pause used by flash does not work with some
                   3658: #      older versions of terminfo.  If you see this effect then
                   3659: #      unset <xon> and delete the / from the delay.
                   3660: #      i.e. change $<100/> to $<100>
1.1       deraadt  3661: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
                   3662:        :ms@:\
                   3663:        :ma@:sg#1:ug#1:\
                   3664:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.3     ! deraadt  3665:        :me=\EG0\E(\EH\003:mh=\EGp:mk=\EG1:mp=\EG0\E):\
        !          3666:        :mr=\EG4:\
1.1       deraadt  3667:        :..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%;:\
                   3668:        :se=\EG0:so=\EGt:te=\EG0:ue=\EG0:us=\EG8:tc=wy50:
                   3669: wy50-vb|wyse50-vb|wyse 50 visible bell:\
1.2       deraadt  3670:        :bl@:tc=wy50:
1.1       deraadt  3671: wy50-w|wyse50-w|wyse 50 132-column:\
1.3     ! deraadt  3672:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3673:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
                   3674: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
1.2       deraadt  3675:        :bl@:tc=wy50-w:
1.1       deraadt  3676: #
                   3677: #      The Wyse 350 is a Wyse 50 with color.
                   3678: #      Unfortunately this means that it has magic cookies.
                   3679: #      The color attributes are designed to overlap the reverse, dim and
                   3680: #      underline attributes.  This is nice for monochrome applications
                   3681: #      because you can make underline stuff green (or any other color)
                   3682: #      but for true color applications it's not so hot because you cannot
                   3683: #      mix color with reverse, dim or underline.
                   3684: #          To further complicate things one of the attributes must be
                   3685: #      black (either the foreground or the background).  In reverse video
                   3686: #      the background changes color with black letters.  In normal video
                   3687: #      the foreground changes colors on a black background.
                   3688: #          This terminfo uses some of the more advanced features of curses
                   3689: #      to display both color and blink.  In the final analysis I am not
                   3690: #      sure that the wy350 runs better with this terminfo than it does
                   3691: #      with the wy50 terminfo (with user adjusted colors).
                   3692: #
1.2       deraadt  3693: #      The mandatory pause used by flash does not work with
                   3694: #      older versions of terminfo.  If you see this effect then
                   3695: #      unset xon and delete the / from the delay.
                   3696: #      i.e. change $<100/> to $<100>
                   3697: #
1.3     ! deraadt  3698: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  3699: wy350|wyse350|Wyse 350:\
1.3     ! deraadt  3700:        :5i:am:bw:hs:mi:xo:\
        !          3701:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:\
        !          3702:        :ug#1:ws#45:\
        !          3703:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:\
        !          3704:        :F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:\
        !          3705:        :LO=\EA10:Sb= :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:\
1.1       deraadt  3706:        :ae=\EG0\EH\003:al=\EE:as=\EG0\EH\002:bl=^G:bt=\EI:\
                   3707:        :cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:\
                   3708:        :dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=^^:\
                   3709:        :i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:is=\016\024\E'\E(:\
                   3710:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.3     ! deraadt  3711:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
        !          3712:        :kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
        !          3713:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3714:        :ll=^^^K:mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:\
        !          3715:        :mh=\EGp:mk=\EG1:mp=\EG0\E):mr=\EG4:nd=^L:nw=^M^J:\
        !          3716:        :oc=\E%?:op=\EG0:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:\
        !          3717:        :px=\Ez%+?%s\177:se=\EG0:sf=\n:so=\EG4:sr=\Ej:st=\E1:\
        !          3718:        :ta=^I:ts=\EF:ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:\
        !          3719:        :ve=\E`1:vi=\E`0:
1.1       deraadt  3720: wy350-vb|wyse350-vb|wyse 350 visible bell:\
1.2       deraadt  3721:        :bl@:tc=wy350:
1.1       deraadt  3722: wy350-w|wyse350-w|wyse 350 132-column:\
1.3     ! deraadt  3723:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3724:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
                   3725: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
1.2       deraadt  3726:        :bl@:tc=wy350-w:
1.1       deraadt  3727: #
                   3728: #      This terminfo description is untested.
                   3729: #
                   3730: wy100|wyse 100:\
                   3731:        :hs:mi:\
                   3732:        :co#80:li#24:sg#1:ug#1:\
                   3733:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
                   3734:        :cr=^M:dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:\
                   3735:        :im=\Eq:is=\Eu\E0:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3736:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:\
                   3737:        :kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:\
                   3738:        :sf=^J:so=\EG4:ts=\EF:ue=\EG0:up=^K:us=\EG8:
                   3739: #
                   3740: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   3741: #      This terminal does not need padding up to 9600 baud!
1.2       deraadt  3742: #      <msgr> should be set but the clear screen fails when in
                   3743: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
                   3744: #      then set <msgr>.
1.1       deraadt  3745: #
1.3     ! deraadt  3746: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3747: # (sgr removed to fit entry within 1023 bytes)
        !          3748: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  3749: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
1.2       deraadt  3750:        :am:bw:hs:km:mi:ms:xo:\
1.1       deraadt  3751:        :co#80:it#8:li#24:pb#9601:ws#45:\
                   3752:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   3753:        :cl=\E+:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:\
                   3754:        :ds=\EF\r:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:\
                   3755:        :i2=\EwJ\Ew1:im=\Eq:ip=:\
                   3756:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   3757:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.2       deraadt  3758:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:\
                   3759:        :kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
                   3760:        :le=^H:ll=^^^K:mb=\EG2:me=\E(\EH\003\EG0\EcD:mh=\EGp:\
1.3     ! deraadt  3761:        :mr=\EG4:nd=^L:nw=\r\n:se=\EG0:sf=\n:so=\EGt:sr=\Ej:\
        !          3762:        :st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:ue=\EG0:up=^K:\
        !          3763:        :us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3764: #
                   3765: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
1.3     ! deraadt  3766:        :Nl#16:co#132:lw#7:ws#97:\
        !          3767:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
1.1       deraadt  3768: #
                   3769: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
1.3     ! deraadt  3770:        :Nl@:lh@:li#25:lw@:\
        !          3771:        :pn@:r3=\EwG\Ee):tc=wy120:
1.1       deraadt  3772: #
                   3773: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
1.3     ! deraadt  3774:        :Nl@:lh@:li#25:lw@:\
        !          3775:        :pn@:r3=\EwG\Ee):tc=wy120-w:
1.1       deraadt  3776: #
                   3777: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
1.2       deraadt  3778:        :bl@:tc=wy120:
1.1       deraadt  3779: #
                   3780: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
1.2       deraadt  3781:        :bl@:tc=wy120-w:
1.1       deraadt  3782: #
                   3783: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   3784: #      The reset strings are slow and the pad times very depending
                   3785: #      on other parameters such as font loading.  I have tried
                   3786: #      to follow the following outline:
1.2       deraadt  3787: #
                   3788: #              <rs1> -> set personality
                   3789: #              <rs2> -> set number of columns
                   3790: #              <rs3> -> set number of lines
                   3791: #              <is1> -> select the proper font
                   3792: #              <is2> -> do the initialization
                   3793: #              <is3> -> set up display memory (2 pages)
1.1       deraadt  3794: #
                   3795: #      The Wyse 60's that have vt100 emulation are slower than the
                   3796: #      older Wyse 60's.  This change happened mid-1987.
1.2       deraadt  3797: #      The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
1.1       deraadt  3798: #
                   3799: #      The meta key is only half right.  This terminal will return the
                   3800: #      high order bit set when you hit CTRL-function_key
                   3801: #
                   3802: #      It may be useful to assign two function keys with the
                   3803: #      values  \E=(\s  look at old data in page 1
1.3     ! deraadt  3804: #              \E=W,   look at bottom of page 1
1.1       deraadt  3805: #      where \s is a space ( ).
                   3806: #
                   3807: #      Note:
                   3808: #         The Wyse 60 runs faster when the XON/XOFF
                   3809: #         handshake is turned off.
                   3810: #
1.3     ! deraadt  3811: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
        !          3812: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
        !          3813: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3814: # (sgr removed to fit entry within 1023 bytes)
        !          3815: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  3816: wy60|wyse60|Wyse 60:\
1.2       deraadt  3817:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  3818:        :co#80:li#24:ws#45:\
                   3819:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   3820:        :cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
1.3     ! deraadt  3821:        :do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:\
1.1       deraadt  3822:        :i2=\EwJ\Ew1:im=\Eq:ip=:\
                   3823:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   3824:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.2       deraadt  3825:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:\
                   3826:        :kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
1.3     ! deraadt  3827:        :le=^H:ll=\E{^K:mb=\EG2:me=\E(\EH\003\EG0\EcD:\
        !          3828:        :mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:se=\EG0:sf=\n:so=\EGt:\
        !          3829:        :sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:\
        !          3830:        :ue=\EG0:up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3831: #
                   3832: wy60-w|wyse60-w|wyse 60 132-column:\
1.3     ! deraadt  3833:        :Nl#16:co#132:lw#7:ws#97:\
        !          3834:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
1.1       deraadt  3835: #
                   3836: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
1.3     ! deraadt  3837:        :Nl@:lh@:li#25:lw@:\
        !          3838:        :pn@:r3=\EwG\Ee):tc=wy60:
1.1       deraadt  3839: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
1.3     ! deraadt  3840:        :Nl@:lh@:li#25:lw@:\
        !          3841:        :pn@:r3=\EwG\Ee):tc=wy60-w:
1.1       deraadt  3842: #
                   3843: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
                   3844:        :li#42:\
                   3845:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
1.3     ! deraadt  3846:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
1.1       deraadt  3847: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
1.3     ! deraadt  3848:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3849:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:\
1.3     ! deraadt  3850:        :nw=\r\n:r2=\EeF\E`;:tc=wy60-42:
1.1       deraadt  3851: #
                   3852: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
1.3     ! deraadt  3853:        :Nl@:lh@:li#43:lw@:\
        !          3854:        :pn@:r3=\Ee+:tc=wy60-42:
1.1       deraadt  3855: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
1.3     ! deraadt  3856:        :Nl@:lh@:li#43:lw@:\
        !          3857:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  3858: #
                   3859: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
1.2       deraadt  3860:        :bl@:tc=wy60:
1.1       deraadt  3861: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
1.2       deraadt  3862:        :bl@:tc=wy60-w:
1.1       deraadt  3863:
                   3864: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   3865: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   3866: #      setup parameter controls the number of lines on the screen.
                   3867: #      For the Wyse 99GT the "lines" setup parameter controls the
                   3868: #      number of lines in a page.  The screen can display 25 lines max.
                   3869: #          The Wyse-99GT also has personalities for the VT220 and
                   3870: #      Tektronix 4014.  But this has no bearing on the native mode.
                   3871: #
                   3872: #      (msgr) should be set but the clear screen fails when in
1.2       deraadt  3873: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.1       deraadt  3874: #      then set msgr, else use msgr@.
                   3875: #
                   3876: #      u0 -> enter Tektronix mode
                   3877: #      u1 -> exit Tektronix mode
                   3878: #
                   3879: wy99gt|wyse99gt|Wyse 99gt:\
                   3880:        :ms@:\
                   3881:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:\
1.3     ! deraadt  3882:        :ip=:nw@:r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:\
        !          3883:        :ti=\Ew1:u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  3884: #
                   3885: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
1.3     ! deraadt  3886:        :Nl#16:co#132:lw#7:ws#97:\
        !          3887:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  3888: #
                   3889: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
1.3     ! deraadt  3890:        :Nl@:lh@:li#25:lw@:\
        !          3891:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  3892: #
                   3893: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
1.3     ! deraadt  3894:        :Nl@:lh@:li#25:lw@:\
        !          3895:        :pn@:r2=\E`;:tc=wy99gt-w:
1.1       deraadt  3896: #
                   3897: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
1.2       deraadt  3898:        :bl@:tc=wy99gt:
1.1       deraadt  3899: #
                   3900: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
1.2       deraadt  3901:        :bl@:tc=wy99gt-w:
1.1       deraadt  3902: #
                   3903: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   3904: #      The reset strings are slow and the pad times very depending
                   3905: #      on other parameters such as font loading.  I have tried
                   3906: #      to follow the following outline:
1.2       deraadt  3907: #
                   3908: #              <rs1> -> set personality
                   3909: #              <rs2> -> set number of columns
                   3910: #              <rs3> -> set number of lines
                   3911: #              <is1> -> select the proper font
                   3912: #              <is2> -> do the initialization
                   3913: #              <is3> -> set up display memory (2 pages)
1.1       deraadt  3914: #
                   3915: #      The display memory may be used for either text or graphics.
                   3916: #      When "Display Memory = Shared" the terminal will have more pages
                   3917: #      but garbage may be left on the screen when you switch from
                   3918: #      graphics to text.  If "Display Memory = Unshared" then the
                   3919: #      text area will be only one page long.
                   3920: #
1.3     ! deraadt  3921: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
        !          3922: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
        !          3923: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3924: # (sgr removed to fit entry within 1023 bytes)
        !          3925: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  3926: wy160|wyse160|Wyse 160:\
1.2       deraadt  3927:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  3928:        :co#80:li#24:ws#38:\
                   3929:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   3930:        :cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
1.3     ! deraadt  3931:        :do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:\
1.1       deraadt  3932:        :i2=\Ew0:im=\Eq:ip=:\
                   3933:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   3934:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.2       deraadt  3935:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:\
                   3936:        :kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
1.3     ! deraadt  3937:        :le=^H:ll=\E{^K:mb=\EG2:me=\E(\EH\003\EG0\EcD:\
        !          3938:        :mh=\EGp:mr=\EG4:nd=^L:nw=\r\n:se=\EG0:sf=\n:so=\EGt:\
        !          3939:        :sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:ue=\EG0:\
        !          3940:        :up=^K:us=\EG8:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3941: #
                   3942: wy160-w|wyse160-w|wyse 160 132-column:\
1.3     ! deraadt  3943:        :Nl#16:co#132:lw#7:ws#90:\
        !          3944:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.1       deraadt  3945: #
                   3946: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
1.3     ! deraadt  3947:        :Nl@:lh@:li#25:lw@:\
        !          3948:        :pn@:r3=\EwG\Ee):tc=wy160:
1.1       deraadt  3949: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
1.3     ! deraadt  3950:        :Nl@:lh@:li#25:lw@:\
        !          3951:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.1       deraadt  3952: #
                   3953: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
                   3954:        :li#42:\
                   3955:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:\
1.3     ! deraadt  3956:        :r3=\Ee*:sf=\n:sr=\Ej:tc=wy160:
1.1       deraadt  3957: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
1.3     ! deraadt  3958:        :Nl#16:co#132:lw#7:ws#90:\
        !          3959:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.1       deraadt  3960: #
                   3961: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
1.3     ! deraadt  3962:        :Nl@:lh@:li#43:lw@:\
        !          3963:        :pn@:r3=\Ee+:tc=wy160-42:
1.1       deraadt  3964: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
1.3     ! deraadt  3965:        :Nl@:lh@:li#43:lw@:\
        !          3966:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.1       deraadt  3967: #
                   3968: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
1.2       deraadt  3969:        :bl@:tc=wy160:
1.1       deraadt  3970: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
1.2       deraadt  3971:        :bl@:tc=wy160-w:
1.1       deraadt  3972: #
                   3973: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   3974: #
                   3975: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   3976: #      Underline) without magic cookies.  The following description
                   3977: #      uses this capability, but when more than one attribute is
                   3978: #      put on the screen at once, all attributes will be changed
                   3979: #      to be the same as the last attribute given.
                   3980: #         The Wyse 75 can support more attributes when used with magic
                   3981: #      cookies.  The wy75-mc terminal description uses magic cookies
                   3982: #      to correctly handle multiple attributes on a screen.
                   3983: #
                   3984: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3     ! deraadt  3985: # (sgr removed to fit entry within 1023 bytes)
        !          3986: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  3987: wy75|wyse75|wyse 75:\
1.2       deraadt  3988:        :am:hs:mi:ms:xn:xo:\
                   3989:        :co#80:li#24:ma#1:pb#1201:ws#78:\
1.1       deraadt  3990:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   3991:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   3992:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
1.2       deraadt  3993:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   3994:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  3995:        :ds=\E[>\\\054\001\001\E[>-\001\001:ec=\E[%dX:\
                   3996:        :ei=\E[4l:fs=^A:ho=\E[H:\
                   3997:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
                   3998:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
                   3999:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:\
1.2       deraadt  4000:        :k8=\E[19~:k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:\
                   4001:        :kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
                   4002:        :ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:me=\E[m\017:\
                   4003:        :mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   4004:        :se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  4005:        :ts=\E[>\\\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
1.2       deraadt  4006:        :vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4007: #
                   4008: #      This terminal description uses the non-hidden attribute mode
                   4009: #      (with magic cookie).
                   4010: #
                   4011: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
                   4012:        :ms@:\
                   4013:        :ma@:sg#1:ug#1:\
                   4014:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
1.3     ! deraadt  4015:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
1.1       deraadt  4016:        :..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%;:\
                   4017:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:tc=wy75:
                   4018: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
                   4019:        :pb@:\
1.2       deraadt  4020:        :bl@:tc=wy75:
1.1       deraadt  4021: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
1.3     ! deraadt  4022:        :co#132:ws#130:\
        !          4023:        :r2=\E[35h\E[?3h:tc=wy75:
1.1       deraadt  4024: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
                   4025:        :pb@:\
1.2       deraadt  4026:        :bl@:tc=wy75-w:
1.1       deraadt  4027: #
                   4028: #      Wyse 85 emulating a vt220 7 bit mode.
                   4029: #              24 line screen with status line.
                   4030: #
                   4031: #      The vt220 mode permits more function keys but it wipes out
1.3     ! deraadt  4032: #      the escape key.  I strongly recommend that <f11> be set to
1.1       deraadt  4033: #      escape (esc).
                   4034: #      The terminal may have to be set for 8 data bits and 2 stop
                   4035: #      bits for the arrow keys to work.
                   4036: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
1.2       deraadt  4037: #      <dch> and <ich> work best when XON/XOFF is set.  <ich> and
                   4038: #      <dch> leave trash on the screen when used without XON/XOFF.
1.1       deraadt  4039: #
1.2       deraadt  4040: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3     ! deraadt  4041: # (sgr removed to fit entry within 1023 bytes)
        !          4042: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4043: wy85|wyse85|wyse 85:\
1.2       deraadt  4044:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4045:        :co#80:it#8:li#24:ws#80:\
                   4046:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4047:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4048:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   4049:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4050:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   4051:        :ds=\E[40l:ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4052:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:\
                   4053:        :ip=:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4054:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.2       deraadt  4055:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   4056:        :kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:\
                   4057:        :kr=\E[C:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:\
                   4058:        :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   4059:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:\
                   4060:        :ta=\011:ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:\
                   4061:        :us=\E[4m:vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:\
                   4062:        :vi=\E[?25l:
1.1       deraadt  4063: #
                   4064: #      Wyse 85 with visual bell.
                   4065: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
1.2       deraadt  4066:        :bl@:vb=\E[30h\E\\\054\E[30l:tc=wy85:
1.1       deraadt  4067: #
                   4068: #      Wyse 85 in 132-column mode.
                   4069: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
1.3     ! deraadt  4070:        :co#132:ws#132:\
        !          4071:        :r2=\E[35h\E[?3h:tc=wy85:
1.1       deraadt  4072: #
                   4073: #      Wyse 85 in 132-column mode with visual bell.
                   4074: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
1.2       deraadt  4075:        :bl@:tc=wy85-w:
1.1       deraadt  4076: #
                   4077: #      Wyse 185 emulating a vt320 7 bit mode.
                   4078: #
                   4079: #      This terminal always displays 25 lines.  These lines may be used
                   4080: #      as 24 data lines and a terminal status line (top or bottom) or
                   4081: #      25 data lines.  The 48 and 50 line modes change the page size
                   4082: #      and not the number of lines on the screen.
                   4083: #
                   4084: #      The Compose Character key can be used as a meta key if changed
                   4085: #      by set-up.
                   4086: #
                   4087: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3     ! deraadt  4088: # (sgr removed to fit entry within 1023 bytes)
        !          4089: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4090: wy185|wyse185|wyse 185:\
1.2       deraadt  4091:        :am:hs:km:mi:ms:xn:xo:\
1.1       deraadt  4092:        :co#80:it#8:li#24:ws#80:\
                   4093:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4094:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4095:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
1.2       deraadt  4096:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   4097:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  4098:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
                   4099:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
                   4100:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4101:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4102:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.2       deraadt  4103:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
                   4104:        :kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:\
                   4105:        :kr=\E[C:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:\
                   4106:        :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   4107:        :rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:\
                   4108:        :st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:ts=\E7\E[99;%i%p1%dH:\
                   4109:        :ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[30h\E\\\054\E[30l:\
                   4110:        :ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
1.1       deraadt  4111: #
                   4112: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4113: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
                   4114:        :hs@:\
1.3     ! deraadt  4115:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4116: #
                   4117: #      Wyse 185 with visual bell.
                   4118: wy185-vb|wyse185-vb|wyse 185+flash:\
1.2       deraadt  4119:        :bl@:tc=wy185:
1.1       deraadt  4120: #
                   4121: #      Wyse 185 in 132-column mode.
                   4122: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
                   4123:        :co#132:ws#132:\
1.3     ! deraadt  4124:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:\
        !          4125:        :r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4126: #
                   4127: #      Wyse 185 in 132-column mode with visual bell.
                   4128: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
1.2       deraadt  4129:        :bl@:tc=wy185-w:
1.1       deraadt  4130:
                   4131: # wy325 terminfo entries
                   4132: # Done by Joe H. Davis        3-9-92
                   4133:
                   4134: # lines 25  columns 80
                   4135: #
1.3     ! deraadt  4136: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4137: # (sgr removed to fit entry within 1023 bytes)
        !          4138: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  4139: wy325|wyse325|Wyse epc:\
                   4140:        :am:bw:hs:mi:\
1.1       deraadt  4141:        :co#80:li#24:pb#9601:ws#45:\
                   4142:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   4143:        :cl=\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:\
                   4144:        :do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:\
                   4145:        :i2=\Ew0:im=\Eq:ip=:\
                   4146:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
                   4147:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.2       deraadt  4148:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:\
                   4149:        :kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
                   4150:        :le=^H:ll=^^^K:mb=\EG2:me=\E(\EH\003\EG0\EcD:mh=\EGp:\
1.3     ! deraadt  4151:        :mr=\EG4:nd=^L:se=\EG0:sf=\n:so=\EGt:sr=\Ej:st=\E1:\
        !          4152:        :ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:ue=\EG0:up=^K:us=\EG8:\
        !          4153:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  4154:
                   4155: #
                   4156: # lines 24  columns 80  vb
                   4157: #
1.2       deraadt  4158: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
                   4159:        :bl@:tc=wy325:
1.1       deraadt  4160:
                   4161: #
                   4162: # lines 24  columns 132
                   4163: #
1.2       deraadt  4164: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
1.3     ! deraadt  4165:        :Nl#16:co#132:lw#7:ws#97:\
        !          4166:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
1.1       deraadt  4167: #
                   4168: # lines 25  columns 80
                   4169: #
1.2       deraadt  4170: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
1.3     ! deraadt  4171:        :Nl@:lh@:li#25:lw@:\
        !          4172:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4173: #
                   4174: # lines 25  columns 132
                   4175: #
                   4176: wy325-25w|wyse325-25w|wy325 132 columns:\
1.3     ! deraadt  4177:        :Nl@:lh@:li#25:lw@:\
        !          4178:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4179: #
                   4180: # lines 25  columns 132  vb
                   4181: #
1.2       deraadt  4182: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
                   4183:        :bl@:tc=wy325-w:
1.1       deraadt  4184:
                   4185: #
                   4186: # lines 42  columns 80
                   4187: #
1.2       deraadt  4188: wy325-42|wyse325-42|wyse-325 42 lines:\
1.3     ! deraadt  4189:        :Nl@:lh@:li#42:lw@:\
        !          4190:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4191: #
                   4192: # lines 42  columns 132
                   4193: #
1.2       deraadt  4194: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
1.3     ! deraadt  4195:        :Nl@:lh@:li#42:lw@:\
        !          4196:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4197: #
                   4198: # lines 42  columns 132  vb
                   4199: #
1.2       deraadt  4200: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
                   4201:        :bl@:tc=wy325-w:
1.1       deraadt  4202: #
                   4203: # lines 43  columns 80
                   4204: #
1.2       deraadt  4205: wy325-43|wyse325-43|wyse-325 43 lines:\
1.3     ! deraadt  4206:        :Nl@:lh@:li#43:lw@:\
        !          4207:        :pn@:tc=wy325:
1.1       deraadt  4208: #
                   4209: # lines 43  columns 132
                   4210: #
1.2       deraadt  4211: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
1.3     ! deraadt  4212:        :Nl@:lh@:li#43:lw@:\
        !          4213:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4214: #
                   4215: # lines 43  columns 132  vb
                   4216: #
1.2       deraadt  4217: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
                   4218:        :bl@:tc=wy325-w:
                   4219:
                   4220: #      Wyse 370 -- 24 line screen with status line.
1.1       deraadt  4221: #
                   4222: #      The terminal may have to be set for 8 data bits and 2 stop
                   4223: #      bits for the arrow keys to work.
                   4224: #
                   4225: #      If you change keyboards the terminal will send different
                   4226: #      escape sequences.
                   4227: #      The following definition is for the basic terminal without
                   4228: #      function keys.
                   4229: #
1.2       deraadt  4230: #      <u0> -> enter Tektronix 4010/4014 mode
                   4231: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4232: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4233: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4234: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4235: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.1       deraadt  4236: #
1.3     ! deraadt  4237: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4238: # (sgr removed to fit entry within 1023 bytes)
        !          4239: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4240: wy370-nk|wyse 370 without function keys:\
1.2       deraadt  4241:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4242:        :co#80:it#8:li#24:ws#80:\
                   4243:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4244:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
1.2       deraadt  4245:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   4246:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:\
                   4247:        :dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:ec=\E[%dX:ei=\E[4l:\
                   4248:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[90;1"p\E[?5W:\
                   4249:        :i2=\E>\017\E)0\E(B\E[63;0w\E[m:im=\E[4h:ip=:\
1.1       deraadt  4250:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
                   4251:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:\
1.3     ! deraadt  4252:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
        !          4253:        :se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          4254:        :te=\E[ R:ti=\E[ Q:ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:\
        !          4255:        :ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[30h\E\\\054\E[30l:\
        !          4256:        :ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:
1.1       deraadt  4257: #
1.2       deraadt  4258: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   4259: #      This is the default 370.
1.1       deraadt  4260: #
1.2       deraadt  4261: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
1.3     ! deraadt  4262:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
        !          4263:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:\
        !          4264:        :k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4265:        :k9=\E[20~:k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:\
        !          4266:        :kL=\EOQ:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
1.2       deraadt  4267:        :kl=\E[D:kr=\E[C:ku=\E[A:tc=wy370-nk:
1.1       deraadt  4268: #
1.2       deraadt  4269: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.1       deraadt  4270: #
                   4271: wy370-105k|Wyse 370 with 105 key keyboard:\
1.3     ! deraadt  4272:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:\
        !          4273:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
        !          4274:        :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:\
        !          4275:        :K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:\
        !          4276:        :k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4277:        :k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
1.2       deraadt  4278:        :kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:\
1.3     ! deraadt  4279:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:tc=wy370-nk:
1.1       deraadt  4280: #
1.2       deraadt  4281: #      Function key set for the PC compatible keyboard
1.1       deraadt  4282: #
                   4283: wy370-EPC|Wyse 370 with 102 key keyboard:\
1.3     ! deraadt  4284:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:\
        !          4285:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:\
        !          4286:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:\
        !          4287:        :kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          4288:        :kr=\E[C:ku=\E[A:tc=wy370-nk:
1.1       deraadt  4289: #
                   4290: #      Wyse 370 with visual bell.
                   4291: wy370-vb|Wyse 370 with visible bell:\
1.2       deraadt  4292:        :bl@:tc=wy370:
1.1       deraadt  4293: #
                   4294: #      Wyse 370 in 132-column mode.
                   4295: wy370-w|Wyse 370 in 132-column mode:\
1.3     ! deraadt  4296:        :co#132:ws#132:\
        !          4297:        :r2=\E[35h\E[?3h:tc=wy370:
1.1       deraadt  4298: #
                   4299: #      Wyse 370 in 132-column mode with visual bell.
                   4300: wy370-wvb|Wyse 370 with visible bell 132-columns:\
                   4301:        :vb=\E[30h\E\\\054\E[30l:tc=wy370-w:
                   4302: wy370-rv|Wyse 370 reverse video:\
1.3     ! deraadt  4303:        :r3=\E[32h\E[?5h:tc=wy370:
1.1       deraadt  4304: #
                   4305: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   4306: #
                   4307: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
1.2       deraadt  4308:        :am:os:\
1.1       deraadt  4309:        :co#74:li#35:\
                   4310:        :bl=^G:cl=\E^L:\
                   4311:        :..cm=\035%{3040}%{89}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037:\
                   4312:        :cr=^M:do=^J:ff=^L:\
                   4313:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4314:        :ho=^]7`x @\037:\
                   4315:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.3     ! deraadt  4316:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:\
        !          4317:        :up=^K:
1.1       deraadt  4318: #
                   4319: #      Wyse 160 Tektronix 4010/4014 emulator,
                   4320: #
                   4321: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
                   4322:        :..cm=\035%{3103}%{91}%p1%*%-%Py\n%p2%{55}%*%Px\n%gy%{128}%/%{31}%&%{32}%+%c\n%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c\n%gy%{004}%/%{31}%&%{96}%+%c\n%gx%{128}%/%{31}%&%{32}%+%c\n%gx%{004}%/%{31}%&%{64}%+%c\037:\
                   4323:        :ho=^]8`g @\037:tc=wy99gt-tek:
                   4324: #
                   4325: #      Wyse 370 Tektronix 4010/4014 emulator,
                   4326: #
                   4327: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
1.2       deraadt  4328:        :am:os:\
1.1       deraadt  4329:        :co#80:li#36:\
                   4330:        :bl=^G:cl=\E^L:\
                   4331:        :..cm=\035%{775}%{108}%p1%*%{5}%/%-%Py\n%p2%{64}%*%{4}%+%{5}%/%Px\n%gy%{32}%/%{31}%&%{32}%+%c\n%gy%{31}%&%{96}%+%c\n%gx%{32}%/%{31}%&%{32}%+%c\n%gx%{31}%&%{64}%+%c\037:\
                   4332:        :cr=^M:do=^J:ff=^L:\
                   4333:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4334:        :ho=^]8g @\037:\
                   4335:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
                   4336:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :\
1.3     ! deraadt  4337:        :nw=^M^J:u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
1.1       deraadt  4338:
                   4339: # Vendor-supplied Wyse entries end here.
                   4340:
1.3     ! deraadt  4341: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
        !          4342: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
        !          4343:        :am:\
        !          4344:        :co#80:it#8:li#24:\
        !          4345:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:\
        !          4346:        :dc=\EW:dl=\El:do=^J:ei=\Er:ho=^A:\
        !          4347:        :if=/usr/share/tabset/wyse-adds:im=\Eq:\
        !          4348:        :is=\E`\072\E`9\017\Er:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
        !          4349:        :ku=^Z:le=^H:ll=^A^Z:nd=^F:nw=^M^J:\
        !          4350:        :r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:ta=^I:ue=^O:\
        !          4351:        :up=^Z:us=^N:
        !          4352:
        !          4353: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
        !          4354:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
        !          4355:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
        !          4356:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
        !          4357:
1.1       deraadt  4358: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   4359: wy100q|Wyse 100 for Quotron:\
                   4360:        :co#80:li#24:sg#1:ug#1:\
                   4361:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :\
                   4362:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   4363:        :is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:\
1.2       deraadt  4364:        :kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:so=\EG4:sr=\Ej:\
                   4365:        :ue=\EG0:up=^K:us=\EG8:
1.1       deraadt  4366:
                   4367: #### Kermit terminal emulations
                   4368: #
                   4369: # Obsolete Kermit versions may be listed in the section describing obsolete
                   4370: # non-ANSI terminal emulators later in the file.
                   4371: #
                   4372:
                   4373: # KERMIT standard all versions.
                   4374: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4375: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   4376: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   4377: kermit|standard kermit:\
                   4378:        :co#80:li#24:\
                   4379:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
                   4380:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
1.2       deraadt  4381:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
                   4382: kermit-am|standard kermit plus auto-margin:\
1.1       deraadt  4383:        :am:\
                   4384:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
                   4385: # IBMPC Kermit 1.2.
1.2       deraadt  4386: # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
                   4387: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   4388: # line).
1.1       deraadt  4389: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   4390: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
                   4391:        :am:\
                   4392:        :li#25:\
                   4393:        :cd@:ce@:cl=\EH\EJ:\
                   4394:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
                   4395: # IBMPC Kermit 1.20
                   4396: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4397: # Initialization must escape from that region by cursor position to line 24.
                   4398: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
1.2       deraadt  4399: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4400: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   4401: pckermit120|UCB IBMPC Kermit 1.20:\
                   4402:        :it#8:li#24:\
                   4403:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
                   4404:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
1.2       deraadt  4405:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:tc=kermit:
1.1       deraadt  4406: # MS-DOS Kermit 2.27 for the IBMPC
                   4407: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4408: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4409: # Initialization must escape from that region by cursor position to line 24.
1.2       deraadt  4410: # Does not use am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4411: # Reverse video for standout like H19.
1.2       deraadt  4412: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1.1       deraadt  4413: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4414: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
1.2       deraadt  4415:        :am@:\
1.1       deraadt  4416:        :co#80:it#8:li#24:\
                   4417:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:\
                   4418:        :dl=\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:\
                   4419:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
1.2       deraadt  4420:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:\
                   4421:        :sc=\Ej:se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
1.1       deraadt  4422: # MS-DOS Kermit 2.27 with automatic margins
                   4423: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   4424: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
                   4425:        :am:\
                   4426:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
                   4427:        :vs=\EO\Eq\EG\EvK5:tc=msk227:
                   4428: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
1.2       deraadt  4429: # Automatic margins now default.  Use ansi <sgr> for highlights.
                   4430: # Define function keys.
1.1       deraadt  4431: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   4432: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4433: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
                   4434:        :am:\
                   4435:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
                   4436:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:\
                   4437:        :k7=\E7:k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:\
                   4438:        :se=\E[m:so=\E[1m:ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:tc=mskermit227:
                   4439: # This was designed for a VT320 emulator, but it is probably a good start
                   4440: # at support for the VT320 itself.
                   4441: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
1.2       deraadt  4442: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3     ! deraadt  4443: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4444: # (sgr removed to fit entry within 1023 bytes)
        !          4445: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4446: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
                   4447:        :am:es:hs:km:mi:ms:xn:\
                   4448:        :co#80:it#8:li#49:pb#9600:vt#3:\
                   4449:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   4450:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:\
                   4451:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  4452:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   4453:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:ec=\E[%dX:\
                   4454:        :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
                   4455:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
                   4456:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4457:        :k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4458:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                   4459:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
                   4460:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:\
1.1       deraadt  4461:        :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4462:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4463:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
                   4464:        :vi=\E[?25l:
1.2       deraadt  4465: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
                   4466: # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
                   4467: vt320-k311|dec vt320 series as defined by kermit 3.11:\
                   4468:        :am:es:hs:mi:ms:xn:xo:\
                   4469:        :co#80:it#8:li#24:vt#3:\
                   4470:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  4471:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          4472:        :al=3\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
        !          4473:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:\
        !          4474:        :dc=\E[P:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:\
        !          4475:        :ei=\E[4l:fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  4476:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   4477:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4478:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.3     ! deraadt  4479:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:\
        !          4480:        :l3=pf3:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          4481:        :mr=\E[7m:nd=\E[C:nw=^M\ED:r1=\E[?3l:rc=\E8:\
        !          4482:        :rf=/usr/lib/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
        !          4483:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4484:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          4485:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  4486:
                   4487: ######## NON-ANSI TERMINAL EMULATIONS
                   4488: #
                   4489:
                   4490: #### Avatar
                   4491: #
                   4492: # These entries attempt to describe Avatar, a terminal emulation used with
                   4493: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   4494: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   4495: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   4496: # in the BBS world.
                   4497: #
                   4498: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   4499: # models that terminfo knows about.  An Avatar color attribute is the
                   4500: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   4501: #
                   4502: # I wrote these entries while looking at the Avatar spec.  I don't have
                   4503: # the facilities to test them.  Let me know if they work, or don't.
                   4504: #
                   4505: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4506: # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
                   4507: # tell ncurses that the corresponding highlights exist; it should use <sgr>,
                   4508: # which is the only method that will actually work for multiple highlights.)
                   4509: avatar0|avatar terminal emulator level 0:\
1.3     ! deraadt  4510:        :am:ms:ut:\
1.2       deraadt  4511:        :co#80:it#8:li#25:\
                   4512:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
1.3     ! deraadt  4513:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\200:\
        !          4514:        :mr=^A^Vp:nd=^V^F:r2=^L:rp=\031%.%d:\
1.2       deraadt  4515:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
                   4516:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:tc=klone+acs:
                   4517: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4518: avatar0+|avatar terminal emulator level 0+:\
                   4519:        :dc=^V^N:ei=\026\n\200\200\200\200:im=^V^I:tc=avatar0:
                   4520: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4521: avatar|avatar1|avatar terminal emulator level 1:\
1.3     ! deraadt  4522:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:\
        !          4523:        :vi=^V'^B:vs=^V^C:tc=avatar0+:
1.1       deraadt  4524:
                   4525: ######## OLDER TERMINAL TYPES
                   4526: #
                   4527: # This section is devoted to older commercial terminal brands that are now
                   4528: # discontinued, but known to be still in use or represented by emulations.
                   4529: #
                   4530:
                   4531: #### AT&T (att, tty)
                   4532: #
                   4533: # This section also includes Teletype-branded VDTs.
                   4534: #
                   4535: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
                   4536: # details, see the header comment on the ADDS section.
                   4537: #
1.2       deraadt  4538: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   4539: # removed.
1.1       deraadt  4540: #
1.2       deraadt  4541: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
1.1       deraadt  4542:        :am:eo:mi:ms:xo:\
                   4543:        :co#80:it#8:li#24:\
1.3     ! deraadt  4544:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
        !          4545:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
        !          4546:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:\
        !          4547:        :bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          4548:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          4549:        :ho=\E[H:im=\E[4h:k1=\E[1r:k2=\E[2r:k3=\E[3r:\
        !          4550:        :k4=\E[4r:k5=\E[5r:k6=\E[6r:k7=\E[7r:k8=\E[8r:\
        !          4551:        :k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:kC=\E[J:kD=\E[P:\
        !          4552:        :kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          4553:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          4554:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:\
1.2       deraadt  4555:        :ta=^I:up=\E[A:
1.1       deraadt  4556: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
1.3     ! deraadt  4557:        :pf@:po@:ps@:tc=att2300:
1.1       deraadt  4558:
                   4559: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   4560: # Seems upward compatible with vt100, plus ins/del line/char.
                   4561: # On sgr, the protection parameter is ignored.
                   4562: # No check is made to make sure that only 3 parameters are output.
                   4563: #      standout= reverse + half-intensity = 3 | 5.
                   4564: #      bold= reverse + underline = 2 | 3.
                   4565: # note that half-bright blinking doesn't look different from normal blinking.
                   4566: # NOTE:you must program the function keys first, label second!
1.3     ! deraadt  4567: # (att4410: a BSD entry has been seen with the following capabilities:
        !          4568: # <is2>=\E[?6l, <kf1>=\EOc, <kf2>=\EOd, <kf3>=\EOe, <kf4>=\EOg,
        !          4569: # <kf6>=\EOh, <kf7>=\EOi, <kf8>=\EOj, -- esr)
        !          4570: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4571: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
                   4572:        :am:hs:mi:ms:xo:\
1.3     ! deraadt  4573:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
        !          4574:        :ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\\\054\\\054..:\
1.1       deraadt  4575:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:\
                   4576:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   4577:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:fs=\E8:ho=\E[H:\
                   4578:        :i1=\E[?3l\E)0:\
                   4579:        :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:\
                   4580:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
1.3     ! deraadt  4581:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
        !          4582:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          4583:        :ll=\E[24H:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
        !          4584:        :mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          4585:        :r2=\Ec\E[?3l\E[2;0y:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          4586:        :so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%p1%{1}%+%dH:\
        !          4587:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  4588:
                   4589: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
                   4590:        :co#132:ws#132:\
1.3     ! deraadt  4591:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
1.1       deraadt  4592:
                   4593: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
1.3     ! deraadt  4594:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
1.1       deraadt  4595:
                   4596: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
                   4597:        :co#132:ws#132:\
1.3     ! deraadt  4598:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
1.1       deraadt  4599:
                   4600: # 5410 in terms of a vt100
1.2       deraadt  4601: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  4602: v5410|5410 in terms of a vt100:\
                   4603:        :am:mi:ms:xo:\
                   4604:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt  4605:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          4606:        :RA=\E[?7l:SA=\E[?7h:\
        !          4607:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          4608:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          4609:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          4610:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:\
        !          4611:        :ho=\E[H:ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          4612:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:\
        !          4613:        :k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
        !          4614:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
        !          4615:        :me=\E[m\017:mr=\E[7m:nd=\E[C:\
        !          4616:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  4617:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   4618:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   4619:        :ue=\E[m:up=\E[A:us=\E[4m:
                   4620:
                   4621: #
                   4622: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   4623: # even! the 5420 has three modes: scroll, window or page mode
                   4624: # this terminfo should work in scroll or window mode, but doesn't
                   4625: # take advantage of any of the differences between them.
                   4626: #
                   4627: # Has memory below (2 lines!)
                   4628: # 3 pages of memory (plus some spare)
1.2       deraadt  4629: # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
                   4630: # <hpa>, <hts> would work for these, but these work in both scroll and window
                   4631: # mode... Unset insert character so insert mode works
                   4632: # <is1> sets 80 column mode,
                   4633: # <is2> escape sequence:
1.1       deraadt  4634: # 1) turn off all fonts
                   4635: # 2) function keys off, keyboard lock off, control display off,
                   4636: #    insert mode off, erasure mode off,
                   4637: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   4638: # 4) reset origin mode
                   4639: # 5) set line wraparound
                   4640: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   4641: # 7) clear margins
                   4642: # 8) program ENTER to transmit ^J,
                   4643: # We use \212 to program the ^J because a bare ^J will get translated by
                   4644: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   4645: #     1      2            3              4     5     6    7  8
1.2       deraadt  4646: # <is3> set screen color to black,
1.1       deraadt  4647: # No representation in terminfo for the delete word key: kdw1=\Ed
                   4648: # Key capabilities assume the power-up send sequence...
1.2       deraadt  4649: # This <rmcup> is not strictly necessary, but it helps maximize
                   4650: # memory usefulness: <rmcup>=\Ez,
                   4651: # Alternate sgr0:      <sgr0>=\E[m\EW^O,
                   4652: # Alternate sgr:       <sgr>=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;,
1.1       deraadt  4653: # smkx programs the SYS PF keys to send a set sequence.
                   4654: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
1.2       deraadt  4655: # This string causes them to send the strings <kf1>-<kf8>
1.1       deraadt  4656: # when pressed in SYS PF mode.
1.2       deraadt  4657: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.3     ! deraadt  4658: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4659: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
                   4660:        :db:mi:xo:\
1.3     ! deraadt  4661:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
        !          4662:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:\
        !          4663:        :CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          4664:        :IC=\E[%d@:LE=\E[%dD:LF=\E|:LO=\E~:RA=\E[?7l:\
        !          4665:        :RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:\
        !          4666:        :bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:cm=\E[%i%d;%dx:\
        !          4667:        :ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:ei=\E[4l:\
1.2       deraadt  4668:        :ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
                   4669:        :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:\
1.1       deraadt  4670:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
1.3     ! deraadt  4671:        :k7=\EOi:k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:\
        !          4672:        :kF=\E[T:kH=\Eu:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:\
        !          4673:        :kR=\E[S:ke=\E[19;0j\E[21;1j\212:\
        !          4674:        :ks=\E[19;1j\E[21;4j\Eent:l1=F1:l2=F2:l3=F3:l4=F4:\
        !          4675:        :l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:me=\E[m\017:mp=\EV:\
        !          4676:        :pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
        !          4677:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:\
1.1       deraadt  4678:        :ve=\E[11;0j:vs=\E[11;1j:tc=att4410:
                   4679:
                   4680: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
                   4681:        :co#132:lm#54:ws#97:\
                   4682:        :i1=\E[?3h:tc=att4415:
                   4683:
                   4684: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
                   4685:        :i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   4686:
                   4687: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
                   4688:        :co#132:lm#54:ws#97:\
                   4689:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   4690:
                   4691: # Note that this mode permits programming USER PF KEYS and labels
                   4692: # However, when you program user pf labels you have to reselect
                   4693: # user pf keys to make them appear!
                   4694: att4415+nl|4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
1.3     ! deraadt  4695:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          4696:        :..pn=\E[%p1%d;0;0;1q%p2%\072-16.16s:\
        !          4697:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
1.1       deraadt  4698:
                   4699: att4415-nl|4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
                   4700:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415:
                   4701:
                   4702: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
                   4703:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-rv:
                   4704:
                   4705: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
                   4706:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-w:
                   4707:
                   4708: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
                   4709:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-w-rv:
                   4710:
                   4711: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3     ! deraadt  4712: # (sgr removed to fit entry within 1023 bytes)
        !          4713: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4714: att5420_2|AT&T 5420 model 2 80 cols:\
                   4715:        :am:db:hs:mi:ms:xo:\
                   4716:        :co#80:it#8:li#24:lm#78:ws#55:\
                   4717:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
                   4718:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
                   4719:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:\
1.2       deraadt  4720:        :ce=\E[0K:cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:\
                   4721:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
                   4722:        :ec=\E[%ds\E[%dD:ei=:fs=\E8:ho=\E[H:\
1.1       deraadt  4723:        :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:\
                   4724:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.2       deraadt  4725:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:\
                   4726:        :kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:\
                   4727:        :kl=\E[D:kr=\E[C:ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:\
                   4728:        :mb=\E[5m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[1C:\
                   4729:        :nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   4730:        :st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
                   4731:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
1.1       deraadt  4732: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
                   4733:        :co#132:\
                   4734:        :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:
                   4735:
1.2       deraadt  4736: att4418|att5418|AT&T 5418 80 cols:\
1.1       deraadt  4737:        :am:xo:\
                   4738:        :co#80:li#24:\
1.3     ! deraadt  4739:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          4740:        :F1=\E[n:F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:\
        !          4741:        :F9=\E[L:FA=\E[E:FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:\
        !          4742:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:\
        !          4743:        :al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
        !          4744:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:\
        !          4745:        :ho=\E[H:i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:\
        !          4746:        :k1=\E[h:k2=\E[i:k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:\
        !          4747:        :k9=\E[w:k;=\E[m:kC=\E[%:kd=\EU:kh=\Ec:kl=\E@:kr=\EA:\
        !          4748:        :ku=\ES:le=\E[D:mb=\E[5m:me=\E[m\017:mh=\E[2m:\
        !          4749:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          4750:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  4751: att4418-w|att5418-w|AT&T 5418 132 cols:\
                   4752:        :co#132:\
                   4753:        :i1=\E[?3h:tc=att5418:
                   4754:
1.2       deraadt  4755: att4420|tty4420|teletype 4420:\
1.1       deraadt  4756:        :da:db:eo:ms:ul:xo:\
                   4757:        :co#80:li#24:lm#72:\
                   4758:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :\
                   4759:        :cr=\EG:dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:\
1.3     ! deraadt  4760:        :k3=\E@:kA=\EL:kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E^:\
        !          4761:        :kL=\EM:kR=\ET:kd=\EB:kh=\EH:kl=^H:kr=\EC:ku=\EA:\
        !          4762:        :l0=segment advance:l3=cursor tab:le=\ED:nd=\EC:\
        !          4763:        :se=\E~:sf=\EH\EM\EY7 :so=\E}:ue=\EZ:up=\EA:us=\E\\:
1.1       deraadt  4764:
                   4765: #  The following is a termcap entry for the Teletype 4424
                   4766: #  asynchronous keyboard-display terminal.  It supports
                   4767: #  the vi editor.  The terminal must be "set up" as follows,
                   4768: #
                   4769: #      HIGHLIGHT DEFINITION    3-TONE
                   4770: #      DISPLAY FUNCTION        GROUP III
                   4771: #
                   4772: #  The second entry below provides limited (a la adm3a)
                   4773: #  operation under GROUP II.
                   4774: #
                   4775: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   4776: #      and HIGHLIGHT DEFINITION 3-TONE
                   4777: # The terminal has either bold or blink, depending on options
                   4778: #
                   4779: att4424|tty4424|teletype 4424:\
                   4780:        :am:xo:\
                   4781:        :co#80:li#24:\
                   4782:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4783:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\EL:\
                   4784:        :as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:cl=\E[H\E[2J:\
                   4785:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:dc=\EP:\
                   4786:        :dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E^:im=:\
                   4787:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.3     ! deraadt  4788:        :kC=\EJ:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          4789:        :ku=\E[A:le=^H:mb=\E3:md=\E3:me=\EX\E~\EZ\E4\E(B:\
        !          4790:        :mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
1.1       deraadt  4791:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
                   4792:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ti=\E[1m:\
                   4793:        :ue=\EZ:up=\EA:us=\E\\:
                   4794:
                   4795: att4424-1|tty4424-1|teletype 4424 in display function group I:\
1.3     ! deraadt  4796:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:tc=att4424:
        !          4797:
        !          4798: # This entry is not one of AT&T's official ones, it was translated from the
        !          4799: # 4.4BSD termcap file.  The highlight strings are different from att4424.
        !          4800: # I have no idea why this is -- older firmware version, maybe?
        !          4801: # The following two lines are the comment originally attached to the entry:
        !          4802: # This entry appears to avoid the top line - I have no idea why.
        !          4803: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
        !          4804: att4424m|tty4424m|teletype 4424M:\
        !          4805:        :am:da:db:mi:\
        !          4806:        :co#80:it#8:li#23:\
        !          4807:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:\
        !          4808:        :cm=\E[%i%2;%2H\E[B:cr=^M:dc=\EP:dl=\EM:do=^J:ei=:\
        !          4809:        :ic=\E^:im=:ip=2:is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:\
        !          4810:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          4811:        :kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:se=\E[m:sf=^J:\
        !          4812:        :so=\E[7m:sr=\ET:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  4813:
                   4814: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   4815: # is quite similar, except for some minor differences. No page
1.2       deraadt  4816: # mode, for example, so all of the <cup> sequences used above have
1.1       deraadt  4817: # to change back to what's being used for the 5410. Many of the
                   4818: # option settings have changed their numbering as well.
                   4819: #
                   4820: # This has been tested on a preliminary model.
                   4821: #
1.2       deraadt  4822: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  4823: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3     ! deraadt  4824: # (sgr removed to fit entry within 1023 bytes)
        !          4825: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4826: att5425|tty5425|att4425|AT&T 4425/5425:\
                   4827:        :am:da:db:hs:mi:ms:xn:xo:\
                   4828:        :co#80:it#8:li#24:lm#78:ws#55:\
                   4829:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4830:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:\
                   4831:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.2       deraadt  4832:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   4833:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%ds\E[%dD:\
                   4834:        :ei=\E[4l:fs=\E8:ho=\E[H:i1=\E<\E[?3l:i2=\E[?5l:\
                   4835:        :im=\E[4h:\
                   4836:        :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:\
1.1       deraadt  4837:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
1.2       deraadt  4838:        :k7=\EOi:k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
1.1       deraadt  4839:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   4840:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
1.2       deraadt  4841:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
                   4842:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   4843:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4844:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:\
                   4845:        :vb=\E[?5h\E[?5l:ve=\E[12;0j:vs=\E[12;1j:
1.1       deraadt  4846:
                   4847: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
                   4848:        :ks=\E[21;1j\E[25;4j\Eent:tc=att4425:
                   4849:
                   4850: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
                   4851:        :co#132:lm#54:ws#97:\
                   4852:        :i1=\E[?3h:tc=tty5425:
                   4853:
1.2       deraadt  4854: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   4855: # I also added <rmam>/<smam> -- esr)
1.1       deraadt  4856: att4426|tty4426|teletype 4426S:\
                   4857:        :am:da:db:xo:\
                   4858:        :co#80:li#24:lm#48:\
                   4859:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  4860:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
        !          4861:        :SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\EL:as=\E(0:bl=^G:\
        !          4862:        :cd=\E[J:ce=\E[0K:ch=\E[%dG:\
1.2       deraadt  4863:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:\
1.3     ! deraadt  4864:        :cr=^M:ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:\
        !          4865:        :ho=\E[H:i1=\Ec\E[?7h:ic=\E^:im=:is=\E[m\E[1;24r:\
        !          4866:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:\
        !          4867:        :k7=\EOV:k8=\EOW:kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:\
        !          4868:        :kd=\EB:kh=\E[H:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
        !          4869:        :ll=\E[24H:md=\E[5m:me=\E[m\E(B:mr=\E[7m:nd=\E[C:\
        !          4870:        :nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:sc=\E7:se=\E[m:\
        !          4871:        :sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:up=\EA:\
        !          4872:        :us=\E[4m:
1.1       deraadt  4873:
                   4874: # Terminfo entry for the AT&T 510 A Personal Terminal
                   4875: # Function keys 9 - 16 are available only after the
                   4876: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   4877: # 9 corresponds to the leftmost touch target on the screen,
                   4878: # function key 16 corresponds to the rightmost.
                   4879: #
                   4880: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   4881: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.3     ! deraadt  4882: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4883: att510a|510a|bct510a|510A|AT&T 510A Personal Terminal:\
                   4884:        :am:mi:ms:xn:xo:\
1.3     ! deraadt  4885:        :Nl#8:co#80:lh#2:li#24:lw#7:\
        !          4886:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          4887:        :DO=\E[%dB:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:\
        !          4888:        :F6=\EOj:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          4889:        :ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b:\
        !          4890:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
        !          4891:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          4892:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
        !          4893:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
        !          4894:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:\
        !          4895:        :k9=\EOc:k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:\
1.1       deraadt  4896:        :kd=\E[B:ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:\
                   4897:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[2;7m:me=\E[m\017:\
1.3     ! deraadt  4898:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:pf=\E[?8i:\
        !          4899:        :po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          4900:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
        !          4901:        :us=\E[4m:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
1.1       deraadt  4902:
                   4903: # Terminfo entry for the AT&T 510 D Personal Terminal
                   4904: # Function keys 9 through 16 are accessed by bringing up the
                   4905: # system blocks.
                   4906: # Function key 9 corresponds to the leftmost touch target on the screen,
                   4907: # function key 16 corresponds to the rightmost.
                   4908: #
                   4909: # There are problems with soft key labeling.  These are due to
                   4910: # strangenesses in the native terminal that are impossible to
                   4911: # describe in a terminfo.
1.3     ! deraadt  4912: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4913: # (sgr removed to fit entry within 1023 bytes)
        !          4914: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4915: att510d|510d|bct510d|510D|AT&T 510D Personal Terminal:\
                   4916:        :am:da:db:mi:ms:xn:xo:\
                   4917:        :co#80:li#24:lm#48:\
                   4918:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4919:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   4920:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:\
1.2       deraadt  4921:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:\
                   4922:        :dl=\E[M:do=\E[1B:ei=\E[4l:ff=^L:ho=\E[H:\
                   4923:        :i1=\E(B\E)1\E[5;0|:i2=\E[21;1|\212:im=\E[4h:k1=\EOm:\
                   4924:        :k2=\EOV:k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:\
                   4925:        :k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:ke=\E[19;0|:kl=\E[D:\
                   4926:        :kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
                   4927:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
1.3     ! deraadt  4928:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
        !          4929:        :st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;3|:\
        !          4930:        :vs=\E[11;2|:
1.1       deraadt  4931:
1.2       deraadt  4932: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.3     ! deraadt  4933: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4934: # (sgr removed to fit entry within 1023 bytes)
        !          4935: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  4936: att500|att513|500bct|513bct|AT&T 513 using page mode:\
1.1       deraadt  4937:        :am:mi:ms:xn:xo:\
                   4938:        :co#80:li#24:\
                   4939:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4940:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:\
                   4941:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.2       deraadt  4942:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:\
                   4943:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1.1       deraadt  4944:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
                   4945:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.2       deraadt  4946:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:\
                   4947:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0|\E[21;1|\212:\
                   4948:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[19;1|\E[21;4|\Eent:\
                   4949:        :ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:md=\E[2;7m:\
                   4950:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
                   4951:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4952:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
1.1       deraadt  4953:
                   4954: # 01-07-88
                   4955: # printer must be set to EMUL ANSI to accept ESC codes
1.2       deraadt  4956: # <cuu1> stops at top margin
                   4957: # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1.1       deraadt  4958: #      and alt font ascii,wrap on,tabs cleared
1.2       deraadt  4959: # <is2> disables newline on LF,Emphasized off
                   4960: # The <u0> capability sets form length
                   4961: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
1.3     ! deraadt  4962:        :YA:YD:\
        !          4963:        :Ya#8192:Yi#10:Yj#12:Yk#100:Yl#72:Ym#120:co#132:it#8:\
        !          4964:        :li#66:\
        !          4965:        :DO=\E[%de:RI=\E[%da:\
        !          4966:        :ZA=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;:\
        !          4967:        :ZB=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;:\
        !          4968:        :ZM=\E[5m:ZU=\E[m:\
        !          4969:        :Zj=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%}%=%t\E(}%;:\
        !          4970:        :Zl=\E[;%dr:Zm=\E[%+^As:Zn=\E[;%+^As:Zp=\E[%dr:\
        !          4971:        :Zy=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7:\
        !          4972:        :ch=\E[%d`:cr=^M:cv=\E[%dd:do=^J:ff=^L:i1=\Ec:\
        !          4973:        :is=\E[20l\r:nd= :ta=^I:u0=\E[%dt:up=\EM:
1.1       deraadt  4974:
                   4975: # 5620 terminfo  (2.0 or later ROMS with char attributes)
1.2       deraadt  4976: # assumptions: <ind> (scroll forward one line) is only done at screen bottom
1.3     ! deraadt  4977: # Be aware that older versions of the dmd have a firmware bug that affects
        !          4978: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1.2       deraadt  4979: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.1       deraadt  4980: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
1.3     ! deraadt  4981:        :NL:NP:am:xo:\
1.1       deraadt  4982:        :co#88:it#8:li#70:\
                   4983:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   4984:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   4985:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
1.3     ! deraadt  4986:        :ho=\E[H:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:\
        !          4987:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          4988:        :md=\E[2m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:\
        !          4989:        :..px=\E[%p1%d;%p2%l%dq%p2%s:r1=\Ec:rc=\E8:sc=\E7:\
        !          4990:        :se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[0m:\
        !          4991:        :up=\E[A:us=\E[4m:
1.1       deraadt  4992: att5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
1.3     ! deraadt  4993:        :li#24:tc=att5620:
1.1       deraadt  4994: att5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
1.3     ! deraadt  4995:        :li#34:tc=att5620:
1.1       deraadt  4996:
1.2       deraadt  4997: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  4998: #
1.2       deraadt  4999: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1.1       deraadt  5000: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.3     ! deraadt  5001: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5002: # (sgr removed to fit entry within 1023 bytes)
        !          5003: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5004: att605|605bct|AT&T 605  80 column  102key keyboard:\
                   5005:        :am:eo:xo:\
                   5006:        :co#80:li#24:ws#80:\
                   5007:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:\
                   5008:        :as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   5009:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   5010:        :do=\E[B:ei=\E[4l:fs=\E8:\
                   5011:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
1.2       deraadt  5012:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
                   5013:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:\
                   5014:        :kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                   5015:        :kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:\
                   5016:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
                   5017:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
                   5018:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5019: att605-pc|605bct-pc|ATT 605 in pc term mode:\
1.3     ! deraadt  5020:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:\
        !          5021:        :S5=400\E[50;0|:XF=g:XN=e:\
        !          5022:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
        !          5023:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:\
        !          5024:        :im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:\
        !          5025:        :k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:\
        !          5026:        :kI=\E[@:kL=\E[M:kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:\
        !          5027:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:nd=\E[C:up=\E[A:tc=att605:
1.1       deraadt  5028: att605-w|605bct-w|AT&T 605-w 132 column 102 key keyboard:\
                   5029:        :co#132:ws#132:\
                   5030:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:tc=att605:
1.3     ! deraadt  5031: # (att610: I added <rmam>/<smam> based on the init string.  I also
        !          5032: # added <indn> and <rin> because the BSD file says the 615s have them,
        !          5033: # and the 615 is like a 610 with a big keyboard, and most of their other
        !          5034: # smart terminals support the same sequence -- esr)
        !          5035: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5036: # (sgr removed to fit entry within 1023 bytes)
        !          5037: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5038: att610|610bct|AT&T 610; 80 column; 98key keyboard:\
                   5039:        :am:es:hs:mi:ms:xn:xo:\
                   5040:        :co#80:it#8:li#24:ws#80:\
                   5041:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  5042:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          5043:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          5044:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          5045:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5046:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
1.2       deraadt  5047:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:\
1.1       deraadt  5048:        :k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
                   5049:        :k9=\ENo:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5050:        :ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:\
1.2       deraadt  5051:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
1.1       deraadt  5052:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
                   5053:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5054:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5055:        :vs=\E[?12;25h:
                   5056: att610-w|610bct-w|AT&T 610; 132 column; 98key keyboard:\
                   5057:        :co#132:ws#132:\
                   5058:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
                   5059:
                   5060: att610-103k|610-103k|610bct-103k|AT&T 610; 80 column; 103key keyboard:\
1.3     ! deraadt  5061:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:\
        !          5062:        :%2=\ENi:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:\
        !          5063:        :%8=\ENg:%9=\EOz:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:\
        !          5064:        :%e=\ENG:%f=\EOZ:%g=\EOT:%h=\EOY:%j=\EOQ:&0=\EOW:\
        !          5065:        :&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:&5=\EOq:&6=\EOo:\
        !          5066:        :&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:*2=\END:\
        !          5067:        :*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5068:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:\
        !          5069:        :@5=\ENd:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:\
        !          5070:        :F4@:k9@:k;@:kD=\ENf:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:\
        !          5071:        :kN=\E[U:kP=\E[V:tc=att610:
1.1       deraadt  5072: att610-103k-w|610-103k-w|610bct-103k-w|AT&T 610; 132 column; 103key keyboard:\
                   5073:        :co#132:ws#132:\
                   5074:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
                   5075: att615|615mt|AT&T 615; 80 column; 98key keyboard:\
1.3     ! deraadt  5076:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:\
        !          5077:        :F9=\EOG:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:\
        !          5078:        :FF=\ENQ:FG=\ENR:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:\
        !          5079:        :FL=\EOR:FM=\EOS:FN=\EOw:FO=\EOx:FP=\EOy:FQ=\EOm:\
        !          5080:        :FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:FV=\EOq:FW=\EOr:\
        !          5081:        :FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:tc=att610:
1.1       deraadt  5082: att615-w|615-w|615mt-w|AT&T 615; 132 column; 98key keyboard:\
1.3     ! deraadt  5083:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:\
        !          5084:        :F9=\EOG:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:\
        !          5085:        :FF=\ENQ:FG=\ENR:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:\
        !          5086:        :FL=\EOR:FM=\EOS:FN=\EOw:FO=\EOx:FP=\EOy:FQ=\EOm:\
        !          5087:        :FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:FV=\EOq:FW=\EOr:\
        !          5088:        :FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:tc=att610-w:
1.1       deraadt  5089: att615-103k|615-103k|615mt-103k|AT&T 615; 80 column; 103key keyboard:\
1.3     ! deraadt  5090:        :#4=\E[ A:%i=\E[ @:tc=att610-103k:
1.1       deraadt  5091: att615-103k-w|615-103k-w|615mt-103k-w|AT&T 615; 132 column; 103key keyboard:\
1.3     ! deraadt  5092:        :#4=\E[ A:%i=\E[ @:tc=att610-103k-w:
        !          5093: # (att620: I added <rmam>/<smam> based on the init string and
        !          5094: # <rin>/<indn> from a BSD termcap -- esr)
        !          5095: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5096: # (sgr removed to fit entry within 1023 bytes)
        !          5097: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5098: att620|620mtg|AT&T 620; 80 column; 98key keyboard:\
                   5099:        :am:es:hs:mi:ms:xn:xo:\
                   5100:        :co#80:it#8:li#24:ws#80:\
                   5101:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  5102:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          5103:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:\
        !          5104:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          5105:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
        !          5106:        :fs=\E8:ho=\E[H:\
1.1       deraadt  5107:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
1.2       deraadt  5108:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:\
1.1       deraadt  5109:        :k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
                   5110:        :k9=\ENo:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5111:        :ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:\
1.2       deraadt  5112:        :me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
1.3     ! deraadt  5113:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
1.1       deraadt  5114:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5115:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5116:        :vs=\E[?12;25h:
                   5117: att620-w|620-w|620mtg-w|AT&T 620; 132 column; 98key keyboard:\
                   5118:        :co#132:ws#132:\
                   5119:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
                   5120: att620-103k|620-103k|620mtg-103k|AT&T 620; 80 column; 103key keyboard:\
1.3     ! deraadt  5121:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:\
        !          5122:        :%2=\ENi:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:\
        !          5123:        :%8=\ENg:%9=\EOz:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:\
        !          5124:        :%e=\ENG:%f=\EOZ:%g=\EOT:%h=\EOY:%j=\EOQ:&0=\EOW:\
        !          5125:        :&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:&5=\EOq:&6=\EOo:\
        !          5126:        :&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:*2=\END:\
        !          5127:        :*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5128:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:\
        !          5129:        :@5=\ENd:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:\
        !          5130:        :F4@:F5@:F6@:F7@:F8@:F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:\
        !          5131:        :FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:FQ@:FR@:FS@:FT@:\
        !          5132:        :FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:kE=\EOa:\
        !          5133:        :kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:tc=att620:
1.1       deraadt  5134:
                   5135: att620-103k-w|620-103k-w|620mtg-103k-w|AT&T 620; 132 column; 103key keyboard:\
                   5136:        :co#132:ws#132:\
                   5137:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
                   5138:
1.3     ! deraadt  5139: # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
1.1       deraadt  5140: att630|5630|5630DMD|630MTG|AT&T 630 windowing terminal:\
1.3     ! deraadt  5141:        :NP:am:da:db:mi:ms:xo:\
1.1       deraadt  5142:        :co#80:it#8:li#60:lm#0:\
1.3     ! deraadt  5143:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          5144:        :F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:\
        !          5145:        :F7=\ENw:F8=\ENx:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:\
        !          5146:        :FD=\EN}:FE=\EN~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
        !          5147:        :SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
        !          5148:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          5149:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
        !          5150:        :ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:kA=\E[L:\
        !          5151:        :kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
        !          5152:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          5153:        :mb=\E[5m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          5154:        :pf=\E[?4i:po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:\
        !          5155:        :r2=\Ec:rc=\E8:\
1.1       deraadt  5156:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
                   5157:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   5158:        :up=\E[A:us=\E[4m:
                   5159: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
1.3     ! deraadt  5160:        :li#24:tc=att630:
1.1       deraadt  5161:
                   5162: # This entry was modified 3/13/90 by JWE.
1.2       deraadt  5163: # fixes include additions of <enacs>, correcting <rep>, and modification
                   5164: # of <kHOM>.  (See comments below)
                   5165: # att730 has status line of 80 chars
                   5166: # These were commented out: <indn>=\E[%p1%dS, <rin>=\E[%p1%dT,
                   5167: # the <kf25> and up keys are used for shifted system Fkeys
1.1       deraadt  5168: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1.2       deraadt  5169: # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
1.1       deraadt  5170: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1.2       deraadt  5171: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1.1       deraadt  5172: # 102, 102+1, or 122 key keyboards
                   5173: #       kHOM=\E[2J,
1.2       deraadt  5174: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.3     ! deraadt  5175: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5176: # (sgr removed to fit entry within 1023 bytes)
        !          5177: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5178: att730|730MTG|AT&T 730 windowing terminal:\
1.1       deraadt  5179:        :am:da:db:es:hs:mi:ms:xn:xo:\
                   5180:        :co#80:it#8:li#60:lm#0:ws#80:\
                   5181:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5182:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
                   5183:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5184:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5185:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5186:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.2       deraadt  5187:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:\
1.1       deraadt  5188:        :k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
1.2       deraadt  5189:        :k9=\ENo:kI=\E[@:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
                   5190:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
1.3     ! deraadt  5191:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:\
        !          5192:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
1.1       deraadt  5193:        :ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
                   5194:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5195:        :vs=\E[?12;25h:
                   5196: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
1.3     ! deraadt  5197:        :li#41:tc=att730:
1.1       deraadt  5198: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
1.3     ! deraadt  5199:        :li#24:tc=att730:
1.1       deraadt  5200: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
                   5201:        :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
                   5202:        :vb=\E[?5l\E[?5h:tc=att730:
                   5203: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
1.3     ! deraadt  5204:        :li#41:tc=att730r:
1.1       deraadt  5205: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
1.3     ! deraadt  5206:        :li#24:tc=att730r:
1.1       deraadt  5207:
                   5208: # The following represents the screen layout along with the associated
                   5209: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   5210: # not appear on the screen but are shown to reference the bezel buttons.
                   5211: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   5212: # position relative to the screen.
                   5213: #
                   5214: #
                   5215: #
                   5216: #      +----------------------------------------------------------------+
                   5217: #      |                                                                |
                   5218: # XXXX | kf0                                                       kf24 | XXXX
                   5219: #      |                                                                |
                   5220: #      |                                                                |
                   5221: # XXXX | kf1                                                       kf23 | XXXX
                   5222: #      |                                                                |
                   5223: #      |                                                                |
                   5224: # XXXX | kf2                                                       kf22 | XXXX
                   5225: #      |                                                                |
                   5226: #      |                                                                |
                   5227: # XXXX | kf3                                                       kf21 | XXXX
                   5228: #      |                                                                |
                   5229: #      |                                                                |
                   5230: # XXXX | kf4                                                       kf20 | XXXX
                   5231: #      |                                                                |
                   5232: #      |                                                                |
                   5233: # XXXX | kf5                                                       kf19 | XXXX
                   5234: #      |                                                                |
                   5235: #      |                                                                |
                   5236: # XXXX | kf6                                                       kf18 | XXXX
                   5237: #      |                                                                |
                   5238: #      |                                                                |
                   5239: # XXXX |                                                                | XXXX
                   5240: #      |                                                                |
                   5241: #      |                                                                |
                   5242: #      +----------------------------------------------------------------+
                   5243: #
                   5244: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   5245: #
                   5246: # Note: XXXX represents the screen buttons
                   5247: #                                                          CMD   REDRAW
                   5248: #
                   5249: #                                                          MAIL
                   5250: #
1.2       deraadt  5251: # version 1 note:
                   5252: #      The character string sent by key 'kf26' may be user programmable
                   5253: #       to send either \E[16s, or \E[26s.
                   5254: #       The character string sent by key 'krfr' may be user programmable
                   5255: #       to send either \E[17s, or \E[27s.
                   5256: #
1.1       deraadt  5257: # Depression of the "CMD" key sends    \E!    (kcmd)
                   5258: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   5259: # "REDRAW" same as "REFRESH" (krfr)
                   5260: #
                   5261: # "kf" functions adds carriage return to output string if terminal is in
                   5262: # 'new line' mode.
                   5263: #
                   5264: # The following are functions not covered in the table above:
                   5265: #
                   5266: #       Set keyboard character (SKC): \EPn1;Pn2w
                   5267: #                       Pn1= 0 Back Space key
                   5268: #                       Pn1= 1 Break key
                   5269: #                       Pn2=   Program char (hex)
                   5270: #
                   5271: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   5272: #                       Pn1=     Window number (1-39)
                   5273: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   5274: #
                   5275: #       Screen Selection (SSL): \E[Pnu
                   5276: #                       Pn= Window number
                   5277: #
                   5278: #       Set Terminal Modes (SM): \E[Pnh
                   5279: #                       Pn= 3 Graphics mode
                   5280: #                       Pn= > Cursor blink
                   5281: #                       Pn= < Enter new line mode
                   5282: #                       Pn= = Enter reverse insert/replace mode
                   5283: #                       Pn= ? Enter no scroll mode
                   5284: #
                   5285: #       Reset Terminal Mode (RM): \E[Pnl
                   5286: #                       Pn= 3 Exit graphics mode
                   5287: #                       Pn= > Exit cursor blink
                   5288: #                       Pn= < Exit new line mode
                   5289: #                       Pn= = Exit reverse insert/replace mode
                   5290: #                       Pn= ? Exit no scroll mode
                   5291: #
                   5292: #       Screen Status Report (SSR): \E[Pnp
                   5293: #                       Pn= 0 Request current window number
                   5294: #                       Pn= 1 Request current window dimensions
                   5295: #
                   5296: #       Device Status Report (DSR): \E[6n    Request cursor position
                   5297: #
                   5298: #       Call Status Report (CSR): \E[Pnv
                   5299: #                       Pn= 0 Call failed
                   5300: #                       Pn= 1 Call successful
                   5301: #
                   5302: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   5303: #                       Pn1= Button number to be loaded
                   5304: #                       Pn2= Character count of "string"
                   5305: #                       Pn3= Key mode being loaded:
                   5306: #                               0= Unshifted
                   5307: #                               1= Shifted
                   5308: #                               2= Control
                   5309: #                       String= Text string (15 chars max)
                   5310: #
                   5311: #       Screen Number Report (SNR): \E[Pnp
                   5312: #                       Pn= Screen number
                   5313: #
                   5314: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   5315: #                       Pn1= Number of rows available in window
                   5316: #                       Pn2= Number of columns available in window
                   5317: #
                   5318: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
1.3     ! deraadt  5319: #                       Pn1= "Y" Position of cursor
1.1       deraadt  5320: #                       Pn2= "X" Position of cursor
                   5321: #
                   5322: #       Request Answer Back (RAB): \E[c
                   5323: #
                   5324: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   5325: #                       *=  0 No printer available
                   5326: #                       *=  2 Printer available
                   5327: #                       V=  Software version number
                   5328: #                       SV= Software sub version number
1.2       deraadt  5329: #      (printer-available field not documented in v1)
1.1       deraadt  5330: #
1.3     ! deraadt  5331: #       Screen Alignment Aid: \En
1.1       deraadt  5332: #
                   5333: #       Bell (lower pitch): \E[x
                   5334: #
                   5335: #       Dial Phone Number: \EPdstring\
                   5336: #                       string= Phone number to be dialed
                   5337: #
                   5338: #       Set Phone Labels: \EPpstring\
                   5339: #                       string= Label for phone buttons
                   5340: #
                   5341: #       Set Clock: \EPchour;minute;second\
                   5342: #
                   5343: #       Position Clock: \EPsY;X\
                   5344: #                       Y= "Y" coordinate
                   5345: #                       X= "X" coordinate
                   5346: #
                   5347: #       Delete Clock: \Epr\
                   5348: #
                   5349: #       Programming The Function Buttons: \EPfPn;string\
                   5350: #                       Pn= Button number (00-06, 18-24)
                   5351: #                                         (kf00-kf06, kf18-kf24)
                   5352: #                       string= Text to sent on button depression
                   5353: #
1.2       deraadt  5354: # The following in version 2 only:
                   5355: #
1.1       deraadt  5356: #       Request For Local Directory Data: \EPp12;\
                   5357: #
                   5358: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   5359: #
                   5360: #      Request for Local Directory Data in print format: \EPp13;\
                   5361: #
                   5362: #      Enable 'Prt on Line' mode: \022 (DC2)
                   5363: #
                   5364: #      Disable 'Prt on Line' mode: \024 (DC4)
                   5365: #
1.2       deraadt  5366:
                   5367: # 05-Aug-86:
                   5368: # The following Terminfo entry describes functions which are supported by
                   5369: # the AT&T 5430/pt505 terminal software version 2 and later.
1.1       deraadt  5370: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
                   5371:        :am:xo:\
                   5372:        :co#80:it#8:li#24:\
1.3     ! deraadt  5373:        :&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          5374:        :DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
        !          5375:        :FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
        !          5376:        :RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
        !          5377:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
        !          5378:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:\
        !          5379:        :dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.2       deraadt  5380:        :i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
1.1       deraadt  5381:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
                   5382:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
1.2       deraadt  5383:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
1.3     ! deraadt  5384:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:\
        !          5385:        :sc=\E7:se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:\
        !          5386:        :us=\E[4m:ve=\E[>l:vs=\E[>h:
1.1       deraadt  5387:
                   5388: # The following Terminfo entry describes functions which are supported by
                   5389: # the AT&T 5430/pt505 terminal software version 1.
1.2       deraadt  5390: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
                   5391:        :li#24:\
1.3     ! deraadt  5392:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
1.2       deraadt  5393: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
1.3     ! deraadt  5394:        :li#22:tc=att505:
1.1       deraadt  5395: #
                   5396: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   5397: # This cut mark helps make life less painful for people running ncurses tic
                   5398: # on machines with relatively little RAM.  The file can be broken in half here
                   5399: # cleanly and compiled in sections -- no `use' references cross this cut
                   5400: # going forward.
                   5401: #
                   5402:
                   5403: #### Ampex (Dialogue)
                   5404: #
                   5405: # Yes, these are the same people who are better-known for making audio- and
                   5406: # videotape.  I'm told they are located in Redwood City, CA.
                   5407:
                   5408: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1.2       deraadt  5409: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   5410: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
                   5411:        :am:bw:ul:\
                   5412:        :co#80:it#8:li#24:\
1.1       deraadt  5413:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:\
                   5414:        :cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:\
                   5415:        :ic=\EQ:im=:is=\EA:le=^H:nd=^L:se=\Ek:sf=^J:so=\Ej:\
                   5416:        :st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
                   5417: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   5418: ampex175|ampex d175:\
                   5419:        :am:\
                   5420:        :co#80:li#24:\
                   5421:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   5422:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
1.3     ! deraadt  5423:        :is=\EX\EA\EF:kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:\
        !          5424:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:nd=^L:se=\Ek:\
        !          5425:        :sf=^J:so=\Ej:te=\EF:ti=\EN:ue=\Em:up=^K:us=\El:
1.1       deraadt  5426: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   5427: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   5428: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   5429: # mode), this key can be used as the erase key; I find I like this. Because
                   5430: # some people and some systems may not, there is another termcap ("ampex175")
                   5431: # that suppresses this little eccentricity by omitting the relevant capability.
                   5432: ampex175-b|ampex d175 using left arrow for erase:\
                   5433:        :kb=^_:tc=ampex175:
                   5434: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1.2       deraadt  5435: # (ampex210: removed obsolete ":kn#10:" -- esr)
1.1       deraadt  5436: ampex210|a210|ampex a210:\
1.2       deraadt  5437:        :am:hs:xn:\
                   5438:        :co#80:it#8:li#24:sg#1:ug#1:\
1.1       deraadt  5439:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
                   5440:        :dc=\EW:dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:\
                   5441:        :if=/usr/share/tabset/std:im=:\
                   5442:        :is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:k0=^A0\r:\
                   5443:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   5444:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:\
1.2       deraadt  5445:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:so=\EG4:ta=^I:\
1.1       deraadt  5446:        :ts=\E.0\Eg\E}\Ef:ue=\EG0:up=^K:us=\EG8:\
                   5447:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:
1.2       deraadt  5448: # (ampex219: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  5449: ampex219|ampex-219|amp219|Ampex with Automargins:\
                   5450:        :hs:xn:\
                   5451:        :co#80:it#8:li#24:\
1.3     ! deraadt  5452:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          5453:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
        !          5454:        :do=\E[B:ho=\E[H:\
1.1       deraadt  5455:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   5456:        :k0=\E[21~:k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:\
                   5457:        :k5=\E[11~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   5458:        :kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E=:\
1.2       deraadt  5459:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1m:\
                   5460:        :mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   5461:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5462: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
                   5463:        :co#132:li#24:\
                   5464:        :bl=^G:cr=^M:do=^J:\
                   5465:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:sf=^J:\
                   5466:        :vs=\E[?3h:tc=ampex219:
                   5467: ampex232|ampex-232|Ampex Model 232:\
                   5468:        :am:\
                   5469:        :co#80:li#24:sg#1:ug#1:\
                   5470:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   5471:        :dc=\EW:dl=5*\ER:do=^V:ei=:ic=\EQ:\
                   5472:        :if=/usr/share/tabset/ampex:im=:is=\Eg\El:k0=^A@\r:\
                   5473:        :k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:\
                   5474:        :k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:\
                   5475:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:so=\EG4:\
1.3     ! deraadt  5476:        :ta=^I:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.4:\
        !          5477:        :vi=\E.0:
1.1       deraadt  5478: ampex232w|Ampex Model 232 / 132 columns:\
                   5479:        :co#132:li#24:\
                   5480:        :if=/usr/share/tabset/amp-132:is=\E\034Eg\El:tc=ampex232:
                   5481:
                   5482: #### Ann Arbor (aa)
                   5483: #
                   5484:
                   5485: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   5486: # Highly modified 6/22 by Mike O'Brien.
                   5487: # split out into several for the various screen sizes by dave-yost@rand
                   5488: # Modifications made 3/82 by Mark Horton
                   5489: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1.2       deraadt  5490: # status line moved to top of screen, <flash> removed 5/82
1.1       deraadt  5491: # Some unknown person at SCO then hacked the init strings to make them more
                   5492: # efficient.
                   5493: #
                   5494: # assumes the following setup:
                   5495: #   A menu: 0000 1010  0001 0000
                   5496: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5497: #   C menu: 56   66   0    0    9600  0110 1100
                   5498: #   D menu: 0110 1001   1   0
                   5499: #
                   5500: #      Briefly, the settings are for the following modes:
                   5501: #         (values are for bit set/clear with * indicating our preference
                   5502: #          and the value used to test these termcaps)
1.3     ! deraadt  5503: #      Note that many of these settings are irrelevent to the terminfo
1.1       deraadt  5504: #      and are just set to the default mode of the terminal as shipped
                   5505: #      by the factory.
                   5506: #
                   5507: # A menu: 0000 1010  0001 0000
                   5508: #      Block/underline cursor*
                   5509: #      blinking/nonblinking cursor*
                   5510: #      key click/no key click*
                   5511: #      bell/no bell at column 72*
                   5512: #
                   5513: #      key pad is cursor control*/key pad is numeric
                   5514: #      return and line feed/return for <cr> key *
                   5515: #      repeat after .5 sec*/no repeat
                   5516: #      repeat at 25/15 chars per sec. *
                   5517: #
                   5518: #      hold data until pause pressed/process data unless pause pressed*
                   5519: #      slow scroll/no slow scroll*
                   5520: #      Hold in area/don't hold in area*
                   5521: #      functions keys have default*/function keys disabled on powerup
                   5522: #
                   5523: #      show/don't show position of cursor during page transmit*
                   5524: #      unused
                   5525: #      unused
                   5526: #      unused
                   5527: #
                   5528: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5529: #      Baud rate (9600*)
                   5530: #
                   5531: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   5532: #      1 stop bit*/2 stop bits
                   5533: #      parity error detection off*/on
                   5534: #
                   5535: #      keyboard local/on line*
                   5536: #      half/full duplex*
                   5537: #      disable/do not disable keyboard after data transmission*
                   5538: #
                   5539: #      transmit entire page/stop transmission at cursor*
                   5540: #      transfer/do not transfer protected characters*
                   5541: #      transmit all characters/transmit only selected characters*
                   5542: #      transmit all selected areas/transmit only 1 selected area*
                   5543: #
1.3     ! deraadt  5544: #      transmit/do not transmit line separators to host*
1.1       deraadt  5545: #      transmit/do not transmit page tab stops tabs to host*
                   5546: #      transmit/do not transmit column tab stop tabs to host*
                   5547: #      transmit/do not transmit graphics control (underline,inverse..)*
                   5548: #
                   5549: #      enable*/disable auto XON/XOFF control
                   5550: #      require/do not require receipt of a DC1 from host after each LF*
                   5551: #      pause key acts as a meta key/pause key is pause*
                   5552: #      unused
                   5553: #
                   5554: #      unused
                   5555: #      unused
                   5556: #      unused
                   5557: #      unused
                   5558: #
                   5559: #      XON character (17*)
                   5560: #      XOFF character (19*)
                   5561: #
                   5562: # C menu: 56   66   0    0    9600  0110 1100
                   5563: #      number of lines to print data on (printer) (56*)
                   5564: #
                   5565: #      number of lines on a sheet of paper (printer) (66*)
                   5566: #
                   5567: #      left margin (printer) (0*)
                   5568: #
                   5569: #      number of pad chars on new line to printer (0*)
                   5570: #
                   5571: #      printer baud rate (9600*)
                   5572: #
                   5573: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   5574: #      printer stop bits: 2*/1
                   5575: #      print/do not print guarded areas*
                   5576: #
                   5577: #      new line is: 01=LF,10=CR,11=CRLF*
                   5578: #      unused
                   5579: #      unused
                   5580: #
                   5581: # D menu: 0110 1001   1   0
                   5582: #      LF is newline/LF is down one line, same column*
1.3     ! deraadt  5583: #      wrap to preceding line if move left from col 1*/don't wrap
1.1       deraadt  5584: #      wrap to next line if move right from col 80*/don't wrap
                   5585: #      backspace is/is not destructive*
                   5586: #
                   5587: #      display*/ignore DEL character
                   5588: #      display will not/will scroll*
                   5589: #      page/column tab stops*
                   5590: #      erase everything*/erase unprotected only
                   5591: #
                   5592: #      editing extent: 0=display,1=line*,2=field,3=area
                   5593: #
                   5594: #      unused
                   5595: #
                   5596:
1.2       deraadt  5597: annarbor4080|aa4080|ann arbor 4080:\
1.1       deraadt  5598:        :am:\
                   5599:        :co#80:li#40:\
                   5600:        :bl=^G:cl=\014:\
                   5601:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
                   5602:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:\
                   5603:        :kr=^_:ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
                   5604:
                   5605: # If you're using the GNU termcap library, add
1.2       deraadt  5606: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1.1       deraadt  5607: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   5608: # capability, arguments are:
                   5609: #   1. Total number of lines on the screen.
                   5610: #   2. Number of lines above desired scroll region.
                   5611: #   3. Number of lines below (outside of) desired scroll region.
                   5612: #   4. Total number of lines on the screen, the same as the first parameter.
                   5613: # The generic Ann Arbor entry is the only one that uses this.
1.3     ! deraadt  5614: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5615: # (sgr removed to fit entry within 1023 bytes)
        !          5616: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5617: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
                   5618:        :am:km:mi:xo:\
                   5619:        :co#80:it#8:\
                   5620:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5621:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
1.2       deraadt  5622:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   5623:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
                   5624:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\\:\
                   5625:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
                   5626:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:\
                   5627:        :kb=^H:kd=\E[B:\
1.1       deraadt  5628:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
                   5629:        :kh=\E[H:kl=\E[D:kr=\E[C:\
                   5630:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
1.2       deraadt  5631:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
1.3     ! deraadt  5632:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
        !          5633:        :sf=^K:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
        !          5634:        :us=\E[4m:
1.1       deraadt  5635:
                   5636: aaa+rv|ann arbor ambassador in reverse video:\
                   5637:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3     ! deraadt  5638:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  5639:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   5640:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   5641: # Ambassador with the DEC option, for partial vt100 compatibility.
                   5642: aaa+dec|ann arbor ambassador in dec vt100 mode:\
1.3     ! deraadt  5643:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
        !          5644:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
1.1       deraadt  5645:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
                   5646: aaa-18|ann arbor ambassador/18 lines:\
                   5647:        :li#18:\
                   5648:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
                   5649:        :ti=\E[18;0;0;18p:tc=aaa+unk:
                   5650: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
                   5651:        :tc=aaa+rv:tc=aaa-18:
                   5652: aaa-20|ann arbor ambassador/20 lines:\
                   5653:        :li#20:\
                   5654:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
                   5655:        :ti=\E[20;0;0;20p:tc=aaa+unk:
                   5656: aaa-22|ann arbor ambassador/22 lines:\
                   5657:        :li#22:\
                   5658:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
                   5659:        :ti=\E[22;0;0;22p:tc=aaa+unk:
                   5660: aaa-24|ann arbor ambassador/24 lines:\
                   5661:        :li#24:\
                   5662:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
                   5663:        :ti=\E[24;0;0;24p:tc=aaa+unk:
                   5664: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
                   5665:        :tc=aaa+rv:tc=aaa-24:
                   5666: aaa-26|ann arbor ambassador/26 lines:\
                   5667:        :li#26:\
                   5668:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
                   5669:        :ti=\E[H\E[J\E[26;0;0;26p:tc=aaa+unk:
                   5670: aaa-28|ann arbor ambassador/28 lines:\
                   5671:        :li#28:\
                   5672:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
                   5673:        :ti=\E[H\E[J\E[28;0;0;28p:tc=aaa+unk:
                   5674: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
                   5675:        :es:hs:\
                   5676:        :li#29:\
                   5677:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   5678:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
                   5679:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
                   5680:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
                   5681:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   5682: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
                   5683:        :tc=aaa+rv:tc=aaa-30-s:
                   5684: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
                   5685:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   5686:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
                   5687: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context:\
                   5688:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   5689:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
                   5690: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
                   5691:        :li#30:\
                   5692:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
                   5693:        :ti=\E[H\E[J\E[30;0;0;30p:tc=aaa+unk:
                   5694: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
                   5695:        :tc=aaa+rv:tc=aaa-30:
                   5696: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
                   5697:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:tc=aaa-30:
                   5698: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
                   5699:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:tc=aaa+rv:tc=aaa-30:
                   5700: aaa-36|ann arbor ambassador/36 lines:\
                   5701:        :li#36:\
                   5702:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
                   5703:        :ti=\E[H\E[J\E[36;0;0;36p:tc=aaa+unk:
                   5704: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
                   5705:        :tc=aaa+rv:tc=aaa-36:
                   5706: aaa-40|ann arbor ambassador/40 lines:\
                   5707:        :li#40:\
                   5708:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
                   5709:        :ti=\E[H\E[J\E[40;0;0;40p:tc=aaa+unk:
                   5710: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
                   5711:        :tc=aaa+rv:tc=aaa-40:
                   5712: aaa-48|ann arbor ambassador/48 lines:\
                   5713:        :li#48:\
                   5714:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
                   5715:        :ti=\E[H\E[J\E[48;0;0;48p:tc=aaa+unk:
                   5716: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
                   5717:        :tc=aaa+rv:tc=aaa-48:
                   5718: aaa-60-s|ann arbor ambassador/59 lines+status:\
                   5719:        :es:hs:\
                   5720:        :li#59:\
                   5721:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   5722:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
                   5723:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   5724: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
                   5725:        :tc=aaa+rv:tc=aaa-60-s:
1.2       deraadt  5726: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
1.1       deraadt  5727:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
                   5728: aaa-60|ann arbor ambassador/60 lines:\
                   5729:        :li#60:\
                   5730:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
                   5731: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
                   5732:        :tc=aaa+rv:tc=aaa-60:
                   5733: aaa-db|ann arbor ambassador 30/destructive backspace:\
                   5734:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
                   5735:
                   5736: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
                   5737:        :li#33:\
                   5738:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
                   5739:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:tc=aaa+unk:
                   5740: guru+rv|guru changes for reverse video:\
                   5741:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
                   5742: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
                   5743:        :tc=guru+rv:tc=guru-33:
                   5744: guru+s|guru status line:\
                   5745:        :es:hs:\
                   5746:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
                   5747:        :te=\E[255;1p\E[255;1H\E[K:\
                   5748:        :ts=\E[>51h\E[1;%p1%dH\E[2K:
1.2       deraadt  5749: guru-nctxt|guru with no saved context:\
1.1       deraadt  5750:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
                   5751: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
                   5752:        :li#32:\
                   5753:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
                   5754:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
1.2       deraadt  5755: guru-24|ann arbor guru 24 lines:\
1.1       deraadt  5756:        :co#80:li#24:\
                   5757:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
1.2       deraadt  5758: guru-44|ann arbor guru 44 lines:\
1.1       deraadt  5759:        :co#97:li#44:\
                   5760:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
                   5761: guru-44-s|ann arbor guru/44 lines+status:\
                   5762:        :li#43:\
                   5763:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
                   5764:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
                   5765: guru-76|guru with 76 lines by 89 cols:\
                   5766:        :co#89:li#76:\
                   5767:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   5768: guru-76-s|ann arbor guru/76 lines+status:\
                   5769:        :co#89:li#75:\
                   5770:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
                   5771:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
                   5772: guru-76-lp|guru-lp|guru with page bigger than line printer:\
                   5773:        :co#134:li#76:\
                   5774:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   5775: guru-76-w|guru 76 lines by 178 cols:\
                   5776:        :co#178:li#76:\
                   5777:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   5778: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
                   5779:        :co#178:li#75:\
                   5780:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
                   5781:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
                   5782: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
                   5783:        :co#178:li#76:\
                   5784:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
1.2       deraadt  5785: aaa-rv-unk|ann arbor unknown type:\
1.3     ! deraadt  5786:        :Nl#0:lh#0:lw#0:\
1.2       deraadt  5787:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3     ! deraadt  5788:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  5789:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   5790:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   5791:
                   5792: #### Applied Digital Data Systems (adds)
                   5793: #
                   5794: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   5795: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   5796: # terminals was merged again.  Then AT&T sold the terminal business to
                   5797: # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
1.2       deraadt  5798: # and NCR (who are still there as of early 1995) are at:
1.1       deraadt  5799: #
                   5800: #      SunRiver Data Systems
                   5801: #      100 Marcus Boulevard
                   5802: #      Hauppauge, NY 117883-762
                   5803: #      Vox: (800)-231-5445
                   5804: #      Fax: (516)-342-7378
                   5805: #
                   5806: # Their voice mail describes the place as "SunRiver (formerly ADDS)".
                   5807:
                   5808: # Regent: lowest common denominator, works on all regents.
                   5809: # (regent: renamed ":bc:" to ":le:" -- esr)
                   5810: regent|Adds Regent Series:\
                   5811:        :am:bs:\
                   5812:        :co#80:li#24:\
                   5813:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:\
                   5814:        :sf=^J:up=^Z:
                   5815: # Regent 100 has a bug where if computer sends escape when user is holding
                   5816: # down shift key it gets confused, so we avoid escape.
                   5817: regent100|Adds Regent 100:\
                   5818:        :sg#1:ug#1:\
                   5819:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
1.3     ! deraadt  5820:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:\
        !          5821:        :l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:se=\E0@:\
        !          5822:        :so=\E0P:ue=\E0@:us=\E0`:tc=regent:
1.1       deraadt  5823: regent20|Adds Regent 20:\
                   5824:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
                   5825: regent25|Adds Regent 25:\
                   5826:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
                   5827: regent40|Adds Regent 40:\
                   5828:        :sg#1:ug#1:\
                   5829:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
1.3     ! deraadt  5830:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:\
        !          5831:        :l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:se=\E0@:\
        !          5832:        :so=\E0P:ue=\E0@:us=\E0`:tc=regent25:
1.1       deraadt  5833: regent40+|Adds Regent 40+:\
                   5834:        :is=\EB:tc=regent40:
                   5835: regent60|regent200|Adds Regent 60:\
1.3     ! deraadt  5836:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
1.2       deraadt  5837:        :se=\ER\E0@\EV:so=\ER\E0P\EV:tc=regent40+:
1.1       deraadt  5838: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1.2       deraadt  5839: # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
1.1       deraadt  5840: viewpoint|addsviewpoint|adds viewpoint:\
1.2       deraadt  5841:        :am:\
1.1       deraadt  5842:        :co#80:li#24:\
                   5843:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:\
                   5844:        :do=^J:is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":\
                   5845:        :k5=^B#:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:\
                   5846:        :nd=^F:se=^O:sf=^J:so=^N:ue=^O:up=^Z:us=^N:\
                   5847:        :ve=\017\E0`:vs=\017\E0P:
1.2       deraadt  5848: # Some viewpoints have bad ROMs that foo up on ^O
1.1       deraadt  5849: screwpoint|adds viewpoint with ^O bug:\
1.2       deraadt  5850:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
                   5851:
1.1       deraadt  5852: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
1.2       deraadt  5853: # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1.1       deraadt  5854: # Theory; the 3a+ wants \E0%c to set highlights, where normal=01000000,
                   5855: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   5856: # invis=01000100 and %c is the logical or of desired attributes.
                   5857: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   5858: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
                   5859:        :am:bw:\
                   5860:        :co#80:it#8:li#24:\
                   5861:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   5862:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:\
                   5863:        :nd=^L:nw=^M^J:\
                   5864:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
                   5865:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
1.2       deraadt  5866: vp60|viewpoint60|addsvp60|adds viewpoint60:\
1.1       deraadt  5867:        :tc=regent40:
                   5868: #
                   5869: # adds viewpoint 90 - from cornell
                   5870: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   5871: #        insert mode. This unfortunately puts the viewpoint90 IN insert
1.2       deraadt  5872: #        mode.  A hack to get around this is <ich1>=\EF\s\EF^U.  (Also,
1.1       deraadt  5873: #   -    :ei=:im=: must be present in the termcap translation.)
1.2       deraadt  5874: #   -    <xhp> indicates glitch that attributes stick to location
                   5875: #   -    <msgr> means it's safe to move in standout mode
                   5876: #   -    <clear>=\EG\Ek: clears screen and visual attributes without affecting
1.1       deraadt  5877: #               the status line
                   5878: # Function key and label capabilities merged in from SCO.
                   5879: vp90|viewpoint90|adds viewpoint 90:\
1.2       deraadt  5880:        :bw:ms:xs:\
1.1       deraadt  5881:        :co#80:li#24:\
                   5882:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:\
                   5883:        :do=^J:ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:\
                   5884:        :k1=^B2\r:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:\
1.3     ! deraadt  5885:        :k6=^B7\r:k7=^B8\r:k8=^B9\r:k9=^B\072\r:k;=^B;\r:\
        !          5886:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:l0=F1:l1=F2:\
        !          5887:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
        !          5888:        :la=F11:le=^H:ll=^A:nd=^F:se=\ER\E0@\EV:sf=^J:\
        !          5889:        :so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:up=^Z:\
        !          5890:        :us=\ER\E0`\EV:
1.1       deraadt  5891: # Note: if return acts weird on a980, check internal switch #2
                   5892: # on the top chip on the CONTROL pc board.
                   5893: adds980|a980|adds consul 980:\
1.2       deraadt  5894:        :am:\
1.1       deraadt  5895:        :co#80:li#24:\
                   5896:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:\
                   5897:        :cr=^M:dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:\
                   5898:        :k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:\
                   5899:        :nd=\E^E01:se=^O:sf=^J:so=^Y^^^N:
                   5900:
                   5901: #### C. Itoh Electronics
                   5902: #
                   5903: # As of 1995 these people no longer make terminals (they're still in the
                   5904: # printer business).  Their terminals were all clones of the DEC VT series.
                   5905: # They're located in Orange County, CA.
                   5906: #
                   5907:
                   5908: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   5909: #           the delay times and do an auto tab set rather than the indirect
                   5910: #           file used in vt100.
                   5911: cit80|cit-80|citoh 80:\
1.2       deraadt  5912:        :am:\
1.1       deraadt  5913:        :co#80:li#24:\
1.2       deraadt  5914:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
                   5915:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
                   5916:        :ks=\E[?1h\E=:ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  5917: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1.2       deraadt  5918: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   5919: cit101|citc|C.itoh fast vt100:\
                   5920:        :am:xn:\
                   5921:        :co#80:li#24:\
1.3     ! deraadt  5922:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !          5923:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:\
        !          5924:        :ic=\E[@:im=:\
1.1       deraadt  5925:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
                   5926:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1.2       deraadt  5927:        :ku=\EOA:le=^H:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
                   5928:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:\
                   5929:        :vs=\E7\E[U:
1.1       deraadt  5930: # The CIT-500 was unusual in that it had a portrait-style display.
1.2       deraadt  5931: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
                   5932: # (This entry used to have lines#40, but Michael Coughlin <mikc@gnu.ai.mit.edu>
                   5933: # says this is wrong, they actually have 64 lines.  Perhaps someone was
                   5934: # thinking in hex? -- esr)
1.1       deraadt  5935: cit500|cit-500|cit 500:\
1.2       deraadt  5936:        :am:xn:\
                   5937:        :co#80:it#8:li#64:\
1.3     ! deraadt  5938:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=50\E[J:ce=3\E[K:\
        !          5939:        :cl=50\E[H\E[2J:cm=5\E[%i%2;%2H:dc=\E[P:dl=\E[M:\
        !          5940:        :do=\ED:is=\E(B\E)0\E>\E[?3l\E[?7h\E[?8h:k1=\EOP:\
        !          5941:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
        !          5942:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          5943:        :nd=2\E[C:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:\
        !          5944:        :up=2\E[A:us=2\E[4m:
1.1       deraadt  5945:
                   5946: citoh|ci8510|8510|c.itoh 8510a:\
                   5947:        :co#80:it#8:\
                   5948:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
                   5949:        :le@:md=\E!:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
                   5950:        :us=\EX:tc=lpr:
                   5951: citoh-pica|citoh in pica:\
                   5952:        :i1=\EN:tc=citoh:
                   5953: citoh-elite|citoh in elite:\
                   5954:        :co#96:\
                   5955:        :i1=\EE:\
                   5956:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
                   5957: citoh-comp|citoh in compressed:\
                   5958:        :co#136:\
                   5959:        :i1=\EQ:\
                   5960:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
                   5961: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   5962: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
                   5963:        :co#32767:\
                   5964:        :i1=\EP:tc=citoh:
                   5965: citoh-6lpi|citoh in 6 lines per inch mode:\
                   5966:        :i2=\EA:tc=citoh:
                   5967: citoh-8lpi|citoh in 8 lines per inch mode:\
                   5968:        :li#88:\
                   5969:        :i2=\EB:tc=citoh:
                   5970:
                   5971: #### Control Data (cdc)
                   5972: #
                   5973:
1.2       deraadt  5974: cdc456|cdc 456 terminal:\
                   5975:        :am:\
1.1       deraadt  5976:        :co#80:li#24:\
                   5977:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:\
                   5978:        :dl=\EJ:do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
                   5979:
                   5980: #### Human Designed Systems (Concept)
                   5981: #
                   5982: #      Human Designed Systems
                   5983: #      400 Fehley Drive
                   5984: #      King of Prussia, PA 19406
                   5985: #      Vox: (610)-277-8300
                   5986: #      Fax: (610)-275-5739
                   5987: #      Net: support@hds.com
                   5988: #
                   5989: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   5990: # the character-terminal business now (1995) and making X terminals.  In
                   5991: # particular, the whole `Concept' line described here was discontinued long
                   5992: # ago.
                   5993:
                   5994: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   5995: # Extensive changes to c108 by arpavax:eric Feb 1982
                   5996: # Some unknown person at SCO then translated it to terminfo.
                   5997: #
                   5998: # There seem to be a number of different versions of the C108 PROMS
                   5999: # (with bug fixes in its Z-80 program).
                   6000: #
                   6001: # The first one that we had would lock out the keyboard of you
                   6002: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   6003: # Try that on your C108 and see if it sends a ^S when you type it.
                   6004: # If so, you have an old version of the PROMs.
                   6005: #
                   6006: # You should configure the C108 to send ^S/^Q before running this.
                   6007: # It is much faster (at 9600 baud) than the c100 because the delays
                   6008: # are not fixed.
                   6009: # new status line display entries for c108-8p:
1.2       deraadt  6010: # <is3> - init str #3 - setup term for status display -
1.1       deraadt  6011: # set programmer mode, select window 2, define window at last
                   6012: # line of memory, set bkgnd stat mesg there, select window 0.
                   6013: #
1.2       deraadt  6014: # <tsl> - to status line - select window 2, home cursor, erase to
1.1       deraadt  6015: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   6016: #
1.2       deraadt  6017: # <fsl> - from status line - 1/2 bright off, select window 0
1.1       deraadt  6018: #
1.2       deraadt  6019: # <dsl> - disable status display - set bkgnd status mesg with
1.1       deraadt  6020: # illegal window #
                   6021: #
                   6022: # There are probably more function keys that should be added but
                   6023: # I don't know what they are.
                   6024: #
1.2       deraadt  6025: # No delays needed on c108 because of ^S/^Q handshaking
                   6026: #
1.1       deraadt  6027: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
                   6028:        :i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n:\
                   6029:        :te=\Ev  \001\177p\Ep\r\n:tc=c108-4p:
                   6030: c108-4p|concept108-4p|concept 108 w/4 pages:\
                   6031:        :es:hs:xo:\
                   6032:        :pb@:\
1.3     ! deraadt  6033:        :ac=l\\qLkTxUmMjE:ae=\Ej :as=\Ej!:\
1.1       deraadt  6034:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
                   6035:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E!\E F:\
                   6036:        :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n:\
                   6037:        :sf=^J:te=\Ev  \001 p\Ep\r\n:\
                   6038:        :ti=\EU\Ev  8p\Ep\r\E\025:\
                   6039:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:tc=c100:
                   6040: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
                   6041:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:tc=c108-rv-4p:
1.2       deraadt  6042: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
1.1       deraadt  6043:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:tc=c108-4p:
                   6044: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
                   6045:        :co#132:\
                   6046:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
                   6047:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
                   6048:
                   6049: # Concept 100:
                   6050: # These have only window relative cursor addressing, not screen
                   6051: # relative. To get it to work right here, smcup/rmcup (which
                   6052: # were invented for the concept) lock you into a one page
                   6053: # window for screen style programs.
                   6054: #
                   6055: # To get out of the one page window, we use a clever trick:
                   6056: # we set the window size to zero ("\Ev    " in rmcup) which the
                   6057: # terminal recognizes as an error and resets the window to all
                   6058: # of memory.
                   6059: #
                   6060: # This trick works on c100 but does not on c108, sigh.
                   6061: #
                   6062: # Some tty drivers use cr3 for concept, others use nl3, hence
                   6063: # the delays on cr and ind below. This padding is only needed at
1.2       deraadt  6064: # 9600 baud and up.  One or the other is commented out depending on
1.1       deraadt  6065: # local conventions.
                   6066: #
1.2       deraadt  6067: # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
1.1       deraadt  6068: # less than 6 but more than 2 will work.
                   6069: #
                   6070: # Note: can't use function keys f7-f10 because they are
                   6071: # indistinguishable from arrow keys (!), also, del char and
                   6072: # clear eol use xon/xoff so they probably won't work very well.
                   6073: #
                   6074: # Also note that we don't define insrt/del char/delline/eop/send
                   6075: # because they don't transmit unless we reset them - I figured
                   6076: # it was a bad idea to clobber their definitions.
                   6077: #
1.2       deraadt  6078: # The <mc5> sequence changes the escape character to ^^ so that
1.1       deraadt  6079: # escapes will be passed through to the printer. Only trouble
                   6080: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   6081: # Unfortunately, if you're sending raster bits through to be
                   6082: # plotted, any character you choose will be likely, so we lose.
                   6083: #
                   6084: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   6085: # cannot be # in is2 because it will hang a c100 with no printer
                   6086: # if sent twice.
                   6087: c100|concept100|concept|c104|c100-4p|hds concept 100:\
                   6088:        :am:eo:mi:ul:xn:\
                   6089:        :co#80:li#24:pb#9600:vt#8:\
                   6090:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
                   6091:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:\
                   6092:        :ei=\E  :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
                   6093:        :is=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
                   6094:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:\
1.3     ! deraadt  6095:        :k7=\E\072b:k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:\
        !          6096:        :kE=\E^S:kF=\E[:kI=\E^P:kL=\E^B:kM=\E\200:kN=\E-:\
        !          6097:        :kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:kb=^H:kd=\E<:ke=\Ex:\
        !          6098:        :kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:le=^H:\
        !          6099:        :mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
        !          6100:        :pf=\036o \E\EQ!\EYP\027:po=\EQ"\EY(\027\EYD\Eo \036:\
1.1       deraadt  6101:        :rp=\Er%.%+ :se=\Ed:sf=^J:so=\ED:ta=\011:\
                   6102:        :te=\Ev    \Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:\
                   6103:        :up=\E;:us=\EG:vb=\Ek\EK:
                   6104: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
                   6105:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
                   6106: oc100|oconcept|c100-1p|old 1 page concept 100:\
                   6107:        :in:\
                   6108:        :i3@:tc=c100:
                   6109:
1.2       deraadt  6110: # <ht> through <el> included to specify padding needed in raw mode.
1.3     ! deraadt  6111: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  6112: avt-ns|concept avt no status line:\
                   6113:        :am:eo:mi:ul:xn:xo:\
                   6114:        :co#80:it#8:li#24:lm#192:\
                   6115:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
                   6116:        :RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:\
1.3     ! deraadt  6117:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
        !          6118:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
        !          6119:        :cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:ho=\E[H:\
        !          6120:        :i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
1.1       deraadt  6121:        :is=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\0720\07232!r\E[0*w\E[w\E2\r\n\E[2;27!t:\
1.3     ! deraadt  6122:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E^C\r:kD=\E^B\r:\
        !          6123:        :kI=\E^A\r:kS=\E^D\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
        !          6124:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:\
        !          6125:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1!{:\
        !          6126:        :mk=\E8m:mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:\
        !          6127:        :pl=\E[%d;0u#%s#:po=\E[5i:ps=\E[0i:px=\E[%d;1u#%s#:\
        !          6128:        :rc=\E8:sc=\E7:se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:\
        !          6129:        :st=\EH:ta=\011:te=\E[w\E2\r\n:\
        !          6130:        :ti=\E[=4l\E[1;24w\E2\r:ue=\E[4!{:up=\E[A:us=\E[4m:\
        !          6131:        :ve=\E[=119l:vs=\E[=119h:
1.1       deraadt  6132: avt-rv-ns|concept avt in reverse video mode/no status line:\
                   6133:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt-ns:
                   6134: avt-w-ns|concept avt in 132 column mode/no status line:\
                   6135:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt-ns:
                   6136: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
                   6137:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   6138:        :vb=\E[=205l\E[=205h:tc=avt-ns:
                   6139:
                   6140: # Concept AVT with status line. We get the status line using the
                   6141: # "Background status line" feature of the terminal. We swipe the
                   6142: # first line of memory in window 2 for the status line, keeping
                   6143: # 191 lines of memory and 24 screen lines for regular use.
                   6144: # The first line is used instead of the last so that this works
                   6145: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   6146: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   6147: #
                   6148: avt+s|concept avt status line changes:\
                   6149:        :es:hs:\
                   6150:        :lm#191:\
                   6151:        :ds=\E[0*w:fs=\E[1;1!w:\
                   6152:        :i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
                   6153:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
                   6154:        :ts=\E[2;1!w\E[;%p1%dH\E[2K:
                   6155: avt|avt-s|concept-avt|avt w/80 columns:\
                   6156:        :tc=avt+s:tc=avt-ns:
                   6157: avt-rv|avt-rv-s|avt reverse video w/sl:\
                   6158:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   6159: avt-w|avt-w-s|concept avt 132 cols+status:\
                   6160:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
                   6161: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
                   6162:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   6163:        :vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   6164:
                   6165: #### Contel Business Systems.
                   6166: #
                   6167:
                   6168: # Contel c300 and c320 terminals.
                   6169: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
                   6170:        :am:in:xo:\
                   6171:        :co#80:li#24:sg#1:\
                   6172:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :\
                   6173:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:\
                   6174:        :im=:ip=:k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:\
                   6175:        :k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:\
                   6176:        :ll=\EH\EA:nd=\EC:se=\E!\200:sf=^J:so=\E!\r:st=\E1:\
                   6177:        :up=\EA:vb=\020\002\020\003:
                   6178: # Contel c301 and c321 terminals.
                   6179: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
1.2       deraadt  6180:        :ei=:ic@:im=:ip@:se=\E!\200:so=\E!\r:vb@:tc=contel300:
1.1       deraadt  6181:
                   6182: #### Data General (dg)
                   6183: #
                   6184: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   6185: # the terminals group at Data General was shut down in 1991; all these
                   6186: # terminals have thus been discontinued.
                   6187: #
                   6188:
1.3     ! deraadt  6189: # According to the 4.4BSD termcap file, the dg200 <cup> should be the
        !          6190: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
        !          6191: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
        !          6192: # maybe they were originally nuls (which would fit).
1.1       deraadt  6193: dg200|data general dasher 200:\
                   6194:        :NL:am:bw:\
                   6195:        :co#80:li#24:\
                   6196:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
                   6197:        :k0=^^z:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
                   6198:        :k7=^^w:k8=^^x:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
1.3     ! deraadt  6199:        :l0=f10:le=^Y:nd=^X:nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:\
        !          6200:        :up=^W:us=^T:
1.2       deraadt  6201: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   6202: # courtesy of Carlos Rucalde of Vantage Software, Inc.
                   6203: # (dg211: this had <cup>=\020%r%.%., which was an ancient termcap hangover.
                   6204: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   6205: dg211|Data General d211:\
1.3     ! deraadt  6206:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:\
1.2       deraadt  6207:        :nw=^M^Z:se=00\036E\200/>:sf@:\
                   6208:        :so=00\036D\200\200\200\200\200/>:ta=^I:te=^L:\
                   6209:        :ti=^L^R:ve=^L:vs=^L^R:tc=dg200:
                   6210:
                   6211: # dg450 from cornell
1.1       deraadt  6212: dg450|dg6134|data general 6134:\
1.2       deraadt  6213:        :le@:nd=^X:tc=dg200:
                   6214:
1.1       deraadt  6215: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   6216: # having a command to move straight down from any position on the bottom line
                   6217: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   6218: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   6219: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   6220: # backspace on all terminals.  This is not so in DG mode.
                   6221: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1.2       deraadt  6222: # grounds that there is no matching ":ml:"
1.1       deraadt  6223: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
1.2       deraadt  6224: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
                   6225:        :am:ms:ul:\
                   6226:        :co#80:it#8:li#24:\
1.1       deraadt  6227:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:\
                   6228:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:\
                   6229:        :is=^^F@:k0=\E[001z:k1=\E[002z:k2=\E[003z:k3=\E[004z:\
                   6230:        :k4=\E[005z:k5=\E[006z:k6=\E[007z:k7=\E[008z:\
                   6231:        :k8=\E[009z:k9=\E[010z:kb=\E[D:kd=\E[B:kh=\E[H:\
1.3     ! deraadt  6232:        :kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:l3=f4:\
        !          6233:        :l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:\
        !          6234:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:\
        !          6235:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[05:up=\E[A:\
        !          6236:        :us=\E[4m:
1.1       deraadt  6237: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   6238: # Data General 605x
                   6239: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   6240: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
1.3     ! deraadt  6241: # (dg6053: the 4.4BSD file had <cub1>=^H, <cud1>=^J, <cuf1>=^S. -- esr)
1.1       deraadt  6242: dg6053|data general 6053:\
1.2       deraadt  6243:        :am:bs:bw:ul:\
1.1       deraadt  6244:        :co#80:li#24:\
                   6245:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
                   6246:        :is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:\
                   6247:        :k6=^^w:k7=^^x:k8=^^y:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:\
                   6248:        :ku=^W:le=^Y:nd=^X:nw=^M^Z:se=\200^^E:\
                   6249:        :so=\200\200\200\200\200\036D:ta=^I:te=^L:ti=^L^R:\
                   6250:        :ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
                   6251:
                   6252: #### Datamedia (dm)
                   6253: #
                   6254:
                   6255: cs10|colorscan|Datamedia Color Scan 10:\
                   6256:        :ms:\
                   6257:        :co#80:li#24:\
1.2       deraadt  6258:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:\
1.1       deraadt  6259:        :cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:\
                   6260:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:se=\E[m:sf=^J:\
                   6261:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   6262: cs10-w|Datamedia Color Scan 10 with 132 columns:\
                   6263:        :co#132:\
                   6264:        :cm=\E[%i%02;%03H:tc=cs10:
                   6265:
1.2       deraadt  6266: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
1.1       deraadt  6267: dm1520|dm1521|datamedia 1520:\
1.2       deraadt  6268:        :am:xn:\
                   6269:        :co#80:it#8:li#24:\
1.1       deraadt  6270:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
                   6271:        :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:\
                   6272:        :sf=^J:ta=^I:up=^_:
                   6273: dm2500|datamedia2500|datamedia 2500:\
1.2       deraadt  6274:        :nc:\
1.1       deraadt  6275:        :co#80:li#24:\
                   6276:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
                   6277:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
                   6278:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
                   6279:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
                   6280:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
                   6281: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1.2       deraadt  6282: # also, has a meta-key.
1.1       deraadt  6283: # From: <goldberger@su-csli.arpa>
                   6284: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   6285: dmchat|dmchat version of datamedia 2500:\
                   6286:        :km:\
                   6287:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
1.2       deraadt  6288: # (dm3025: ":MT:" changed to ":km:" -- esr)
1.1       deraadt  6289: dm3025|datamedia 3025a:\
1.2       deraadt  6290:        :km:\
                   6291:        :co#80:it#8:li#24:\
1.1       deraadt  6292:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:\
                   6293:        :cm=\EY%r%+ %+ :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:\
                   6294:        :do=^J:ed=\EQ:ei=\EQ:ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:\
                   6295:        :le=^H:nd=\EC:se=\EO0:sf=^J:so=\EO1:ta=^I:up=\EA:
                   6296: dm3045|datamedia 3045a:\
1.2       deraadt  6297:        :am:eo:km@:ul:xn:\
                   6298:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:\
                   6299:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:\
                   6300:        :k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:\
                   6301:        :ku=\EA:pc=\177:se@:so@:tc=dm3025:
                   6302: # Datamedia DT80 soft switches:
                   6303: # 1    0=Jump  1=Smooth
                   6304: #      Autorepeat      0=off  1=on
                   6305: #      Screen          0=Dark 1=light
                   6306: #      Cursor          0=u/l  1=block
                   6307: #
                   6308: # 2    Margin Bell     0=off  1=on
                   6309: #      Keyclick        0=off  1=on
                   6310: #      Ansi/VT52       0=VT52 1=Ansi
                   6311: #      Xon/Xoff        0=Off  1=On
                   6312: #
                   6313: # 3    Shift3          0=Hash 1=UK Pound
                   6314: #      Wrap            0=Off  1=On
                   6315: #      Newline         0=Off  1=On
                   6316: #      Interlace       0=Off  1=On
                   6317: #
                   6318: # 4    Parity          0=Odd  1=Even
                   6319: #      Parity          0=Off  1=On
                   6320: #      Bits/Char       0=7    1=8
                   6321: #      Power           0=60Hz 1=50Hz
                   6322: #
                   6323: # 5    Line Interface  0=EIA  1=Loop
                   6324: #      Aux Interface   0=EIA  1=Loop
                   6325: #      Local Copy      0=Off  1=On
                   6326: #      Spare
                   6327: #
                   6328: # 6    Aux Parity      0=Odd  1=Even
                   6329: #      Aux Parity      0=Off  1=On
                   6330: #      Aux Bits/Char   0=7    1=8
                   6331: #      CRT Saver       0=Off  1=On
1.1       deraadt  6332: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   6333: dm80|dmdt80|dt80|datamedia dt80/1:\
                   6334:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
1.3     ! deraadt  6335:        :ho=\E[H:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:\
        !          6336:        :so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:tc=vt100:
1.1       deraadt  6337: # except in 132 column mode, where it needs a little padding.
                   6338: # This is still less padding than the vt100, and you can always turn on
                   6339: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   6340: # reverse video.
                   6341: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
                   6342:        :co#132:\
                   6343:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:\
                   6344:        :cm=5\E[%i%d;%dH:do=^J:up=5\E[A:tc=dm80:
                   6345: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   6346: dtx-sas|dt80-sas|Datamedia DT803/DTX for SAS usage:\
                   6347:        :am:bw:\
                   6348:        :co#80:li#24:\
                   6349:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
                   6350:        :cm=\E=%r%+ %+ :cr=^M:\
                   6351:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
                   6352:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:\
1.3     ! deraadt  6353:        :is=\E)0\E<\EP\E'0\E$2:kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:\
        !          6354:        :kl=^H:kr=^\:ku=^_:le=^H:me=^X:mr=\E$2\004:nd=^\:\
        !          6355:        :pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:sr=\EI:st=\E'1:\
        !          6356:        :ta=^I:up=^_:
1.1       deraadt  6357:
                   6358: #### Falco
                   6359: #
                   6360: #      Falco Data Products
                   6361: #      440 Potrero Avenue
                   6362: #      Sunnyvale, CA 940864-196
                   6363: #      Vox: (800)-325-2648
                   6364: #      Fax: (408)-745-7860
                   6365: #      Net: techsup@charm.sys.falco.com
                   6366: #
                   6367: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   6368: # emulations of DEC VT-series, Wyse, and Televideo types.
                   6369:
1.2       deraadt  6370: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1.1       deraadt  6371: # This terminal was released around 1983 and was discontinued long ago.
                   6372: falco|ts1|ts-1|falco ts-1:\
1.2       deraadt  6373:        :am:\
                   6374:        :co#80:it#8:li#24:\
1.1       deraadt  6375:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:\
                   6376:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:\
                   6377:        :im=\Eq:is=\Eu\E3:k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:\
                   6378:        :le=^H:nd=^L:se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:\
                   6379:        :up=^K:us=\Eg1:
                   6380: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
1.2       deraadt  6381:        :am:da:db:mi:ms:ul:\
                   6382:        :co#80:it#8:li#24:\
1.1       deraadt  6383:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:\
                   6384:        :cl=\E*:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:\
                   6385:        :ei=\Er:im=\Eq:is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:\
                   6386:        :kr=\E[C:ku=\E[A:le=^H:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:\
                   6387:        :ta=^I:te=\E_b:ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
1.2       deraadt  6388: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  6389: ts100|ts100-sp|falco ts100-sp:\
                   6390:        :am:mi:ms:xn:xo:\
                   6391:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt  6392:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:\
        !          6393:        :K5=\EOn:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          6394:        :UP=\E[%dA:\
        !          6395:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          6396:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          6397:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          6398:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:\
        !          6399:        :ho=\E[H:i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:\
        !          6400:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:\
        !          6401:        :k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.1       deraadt  6402:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
1.3     ! deraadt  6403:        :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
        !          6404:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  6405:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   6406:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   6407:        :ue=\E[m:up=\E[A:us=\E[4m:
                   6408: ts100-ctxt|falco ts-100 saving context:\
                   6409:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
                   6410:
                   6411: #### Florida Computer Graphics
                   6412: #
                   6413:
1.2       deraadt  6414: # Florida Computer Graphics Beacon System, using terminal emulator program
                   6415: # "host.com", as provided by FCG.  This description is for an early release
                   6416: # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
                   6417: # commented out.
                   6418:
                   6419: # From: David Bryant <cbosg!djb> 1/7/83
1.1       deraadt  6420: beacon|FCG Beacon System:\
                   6421:        :am:da:db:\
                   6422:        :co#80:li#32:\
                   6423:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
                   6424:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:\
                   6425:        :ic=\EQ:im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
                   6426:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
                   6427:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
                   6428:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
                   6429:        :so=\ESTART\r\E70\0546\r\EEND\r:\
                   6430:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
                   6431:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
                   6432:        :us=\ESTART\r\E60\0541\r\EEND\r:
                   6433:
                   6434: #### Fluke
                   6435: #
                   6436:
                   6437: # The 1720a differences from ANSI: no auto margin, destructive
                   6438: # tabs, # of lines, funny highlighting and underlining
                   6439: f1720|f1720a|fluke 1720A:\
                   6440:        :xt:\
                   6441:        :co#80:li#16:sg#1:ug#1:\
1.2       deraadt  6442:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   6443:        :cr=^M:do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:\
1.1       deraadt  6444:        :le=^H:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:\
                   6445:        :ue=\E[m:up=\E[A:us=\E[4m:
                   6446:
                   6447: #### Liberty Electronics (Freedom)
                   6448: #
                   6449: #      Liberty Electronics
                   6450: #      48089 Fremont Blvd
                   6451: #      Fremont CA 94538
                   6452: #      Vox: (510)-623-6000
                   6453: #      Fax: (510)-623-7021
                   6454:
                   6455: # From: <faletti@berkeley.edu>
                   6456: f100|freedom|freedom100|freedom model 100:\
                   6457:        :am:bw:hs:mi:ms:xo:\
                   6458:        :co#80:li#24:\
                   6459:        :ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
1.3     ! deraadt  6460:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
        !          6461:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:\
        !          6462:        :im=\Eq:ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:\
        !          6463:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          6464:        :k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=\EI:kb=^H:kd=^V:kh=^^:\
        !          6465:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:sf=^J:so=\EG4:\
        !          6466:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:ue=\EG0:up=^K:us=\EG8:\
        !          6467:        :vb=\Eb\Ed:
1.1       deraadt  6468: f100-rv|freedom-rv|freedom 100 in reverse video:\
                   6469:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
                   6470: # The f110 and f200 have problems with vi(1).  They use the ^V
                   6471: # code for the down cursor key. When kcud1 is defined in terminfo
                   6472: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   6473: # is lost! It cannot be remapped in vi because it is necessary to enter
                   6474: # a ^V to to quote the ^V that is being remapped!!!
                   6475: #
                   6476: # f110 users will have to decide whether
                   6477: # to lose the down cursor key or the quoting capability. We will opt
                   6478: # initially for leaving the quoting capability out, since use of VI
                   6479: # is not generally applicable to most interactive applications
                   6480: #
                   6481: # The same applies to f200 users, except that another option exists.
                   6482: # This option has been chosen locally. It will not be distributed unless
1.2       deraadt  6483: # a user runs into this problem and requests assistance.  Very few users,
1.1       deraadt  6484: # if any, should run into this problem. The local solution is in
1.2       deraadt  6485: # vifix.local.ti.  The f200 has the ability to reprogram the down cursor
1.1       deraadt  6486: # key. The key is reprogrammed to ^J (linefeed). This value is remembered
                   6487: # in non-volatile RAM, so powering the terminal off and on will not cause
                   6488: # the change to be lost. The terminfo definition for the f200 is changed
1.2       deraadt  6489: # to identify <kcud1> as ^J instead of ^V.
                   6490: # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
1.1       deraadt  6491: f110|freedom110|Liberty Freedom 110:\
1.2       deraadt  6492:        :bw@:es:\
                   6493:        :it#8:ws#80:\
                   6494:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:\
1.3     ! deraadt  6495:        :ei=\Er\EO:im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:\
        !          6496:        :kC=^^:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:\
        !          6497:        :md=\EG0:me=\EG0:mh=\EG@:mk=\EG1:mr=\EG4:pf=\Ea:\
        !          6498:        :po=\E`:so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:\
        !          6499:        :vi=\E.1:vs=\E.2:tc=f100:
1.1       deraadt  6500: f110-14|Liberty Freedom 110 14inch:\
                   6501:        :dc@:tc=f110:
                   6502: f110-w|Liberty Freedom 110 - 132 cols:\
1.3     ! deraadt  6503:        :co#132:tc=f110:
1.1       deraadt  6504: f110-14w|Liberty Freedom 110 14in/132 cols:\
                   6505:        :co#132:\
                   6506:        :dc@:tc=f110:
                   6507: f200|freedom200|Liberty Freedom 200:\
                   6508:        :am:es:hs:mi:ms:xo:\
                   6509:        :co#80:it#8:li#24:ws#80:\
                   6510:        :ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
1.3     ! deraadt  6511:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :\
        !          6512:        :ct=\E3:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:\
        !          6513:        :ei=\Er:fs=^M:ho=^^:im=\Eq:k0=^AI\r:k1=^A@\r:\
        !          6514:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          6515:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:kD=\EW:\
        !          6516:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
        !          6517:        :ku=^K:le=^H:mb=\EG2:md=\EG0:me=\EG0:mh=\EG@:mk=\EG1:\
        !          6518:        :mr=\EG4:nd=^L:pf=\Ea:po=\E`:se=\EG0:sf=^J:so=\EG<:\
        !          6519:        :sr=\EJ:st=\E1:ts=\Ef:ue=\EG0:up=^K:us=\EG8:\
1.2       deraadt  6520:        :vb=\Eo\En:ve=\E.1:vi=\E.0:vs=\E.1:
1.1       deraadt  6521: f200-w|Liberty Freedom 200 - 132 cols:\
1.3     ! deraadt  6522:        :co#132:tc=f200:
1.1       deraadt  6523: f200vi|Liberty Freedom 200 for vi:\
1.2       deraadt  6524:        :kd=^J:vb=\Eb\Ed:tc=f200:
1.1       deraadt  6525: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
1.3     ! deraadt  6526:        :co#132:tc=f200vi:
1.1       deraadt  6527:
                   6528: #### GraphOn (go)
                   6529: #
                   6530: #      Graphon Corporation
                   6531: #      544 Division Street
                   6532: #      Campbell, CA 95008
                   6533: #      Vox: (408)-370-4080
                   6534: #      Fax: (408)-370-5047
                   6535: #      Net: troy@graphon.com (Troy Morrison)
                   6536: #
                   6537: #
                   6538: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   6539: # including one odd hybrid that starts out life on power-up as a character
                   6540: # terminal, than can be switched to X graphics mode (driven over the serial
                   6541: # line) by an escape sequence.  No info on this beast yet.
1.2       deraadt  6542: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  6543: go140|graphon go-140:\
1.2       deraadt  6544:        :co#80:it#8:li#24:\
1.3     ! deraadt  6545:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
        !          6546:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:\
        !          6547:        :ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  6548:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
                   6549:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:\
                   6550:        :ke=\E[?1l\E>:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1.2       deraadt  6551:        :ku=\EOA:le=^H:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:\
                   6552:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6553: go140w|graphon go-140 in 132 column mode:\
1.2       deraadt  6554:        :am:\
1.1       deraadt  6555:        :co#132:\
                   6556:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
                   6557: # Hacked up vt200 termcap to handle GO-225/VT220
                   6558: # From: <edm@nwnexus.WA.COM>
1.2       deraadt  6559: # (go225: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  6560: go225|go-225|Graphon 225:\
1.2       deraadt  6561:        :am:mi:xn:\
                   6562:        :co#80:it#8:li#25:vt#3:\
1.3     ! deraadt  6563:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:\
        !          6564:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:\
        !          6565:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  6566:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
                   6567:        :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:\
                   6568:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
1.3     ! deraadt  6569:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          6570:        :r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
        !          6571:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
        !          6572:        :so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
        !          6573:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  6574:
                   6575: #### Harris (Beehive)
                   6576: #
                   6577: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   6578: # Their terminal group is ancient history now (1995) though the parent
                   6579: # company is still in business.
                   6580: #
                   6581:
                   6582: # Beehive documentation is undated and marked Preliminary and has no figures
                   6583: # so we must have early Superbee2 (Model 600, according to phone conversation
                   6584: # with mfr.). It has proved reliable except for some missing padding
1.2       deraadt  6585: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  6586: #
1.2       deraadt  6587: # The key idea is that AEP mode is poison for <cup> & that US's in
1.1       deraadt  6588: # the local memory should be avoided like the plague. That means
                   6589: # that the 2048 character local buffer is used as 25 lines of 80
                   6590: # characters, period. No scrolling local memory, folks. It also
                   6591: # appears that we cannot use naked INS LINE feature since it uses
1.2       deraadt  6592: # US. The sbi fakes <il1> with an 80-space insert that may be too
1.1       deraadt  6593: # slow at low speeds; also spaces get converted to \040 which is
                   6594: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   6595: #
1.2       deraadt  6596: # The <nl> string is designed for last line of screen ONLY; cup to
1.1       deraadt  6597: # 25th line corrects the motion inherent in scrolling to Page 1.
                   6598: #
                   6599: # There is one understood bug. It is that the screen appears to
1.2       deraadt  6600: # pop to a new (blank) page after a <nel>, or leave a half-line
1.3     ! deraadt  6601: # ellipsis to a quad that is the extra 48 memory locations. The
1.1       deraadt  6602: # data received is dumped into memory but not displayed.  Not to
1.2       deraadt  6603: # worry if <cup> is being used; the lines not displayed will be,
                   6604: # whenever the cursor is moved up there. Since <cup> is addressed
1.1       deraadt  6605: # relative to MEMORY of window, nothing is lost; but beware of
1.2       deraadt  6606: # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
                   6607: # therefore, is setenv MORE -c .
1.1       deraadt  6608: #
                   6609: # WARNING: Not all features tested.
                   6610: #
                   6611: # Timings are assembled from 3 sources. Some timings may reflect
                   6612: # SB2/Model 300 that were used if more conservative.
                   6613: # Tested on a Model 600 at 1200 and 9600 bd.
                   6614: #
                   6615: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   6616: # placed on the keyboard and useless because of AEP, is made
                   6617: # into a backspace key. In use ESC must be pressed twice (to send)
1.3     ! deraadt  6618: # and sending ^C must be prefixed by ESC to avoid that weird
1.1       deraadt  6619: # transmit mode associated with ENTER key.
                   6620: #
                   6621: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   6622: # the screen, then it has dropped into ENTER mode; hit
                   6623: # RESET--ONLINE--!tset.
                   6624: #
                   6625: # As delivered this machine has a FATAL feature that will throw
                   6626: # it into that strange transmit state (SPOW) if the space bar is
                   6627: # hit after a CR is received, but before receiving a LF (or a
                   6628: # few others).
                   6629: #
                   6630: # The circuits MUST be modified to eliminate the SPOW latch.
                   6631: # This is done by strapping on chip A46 of the I/O board; cut
                   6632: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   6633: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   6634: # With this modification absurdly high timings on cr are
                   6635: # unnecessary.
                   6636: #
                   6637: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   6638: # not AEP!
                   6639: #
                   6640: sb1|beehive superbee:\
                   6641:        :am:bw:da:db:mi:ul:xb:\
                   6642:        :co#80:li#25:sg#1:ug#1:\
                   6643:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
                   6644:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:\
                   6645:        :cr=\r:ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:\
                   6646:        :im=\EQ\EO:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:\
                   6647:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
1.3     ! deraadt  6648:        :k9=\E1:kE=\EK:kI=\EQ\EO:kL=\EM:kM=\ER:kS=\EJ:kb=^_:\
        !          6649:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=TAB CLEAR:\
        !          6650:        :l9=TAB SET:le=^H:nd=\EC:se=\E_3:sf=^J:so=\E_1:\
        !          6651:        :st=\E1:ta=^I:ti=\EO:ue=\E_3:up=\EA:us=\E_0:
1.1       deraadt  6652: sbi|superbee|beehive superbee at Indiana U.:\
                   6653:        :xb:\
                   6654:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
                   6655: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   6656: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   6657: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   6658: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   6659: # the switch in the back set to CRLF instead of AEP.  This description
                   6660: # is tested on the sb2 but should work on all with either switch setting.
1.2       deraadt  6661: # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
1.1       deraadt  6662: # the other two if you want to try to hit that tiny escape key.
                   6663: # This description is tricky: being able to use cup depends on there being
1.2       deraadt  6664: # 2048 bytes of memory and the hairy <nl> string.
1.1       deraadt  6665: superbee-xsb|beehive super bee:\
1.2       deraadt  6666:        :am:da:db:xb:\
                   6667:        :co#80:it#8:li#25:\
1.1       deraadt  6668:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:\
                   6669:        :dc=\EP:dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:\
                   6670:        :k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:\
1.2       deraadt  6671:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E_3:\
1.1       deraadt  6672:        :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
1.2       deraadt  6673:        :so=\E_1:st=\E1:ta=^I:up=\EA:ve=^J:
1.1       deraadt  6674: # This loses on lines > 80 chars long, use at your own risk
                   6675: superbeeic|super bee with insert char:\
                   6676:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
                   6677: sb2|sb3|fixed superbee:\
1.3     ! deraadt  6678:        :xb@:tc=superbee:
1.1       deraadt  6679:
                   6680: # Reports are that most of these Beehive entries (except superbee) have not
1.2       deraadt  6681: # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
1.1       deraadt  6682:
1.2       deraadt  6683: # (bee: <ich1> was empty, which is obviously bogus -- esr)
1.1       deraadt  6684: beehive|bee|harris beehive:\
1.2       deraadt  6685:        :am:mi:\
1.1       deraadt  6686:        :co#80:li#24:\
                   6687:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :\
1.3     ! deraadt  6688:        :dc=\EP:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:\
        !          6689:        :kB=\E>:kC=\EE:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:\
        !          6690:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
        !          6691:        :nd=\EC:se=\Ed@:so=\EdP:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  6692: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1.2       deraadt  6693: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
                   6694: # look at those spaces in <rmso>/<smso>.  Seems strange to me...
                   6695: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
                   6696:        :am:\
                   6697:        :co#80:it#8:li#20:\
1.1       deraadt  6698:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:\
                   6699:        :do=^J:ho=^E:if=/usr/share/tabset/beehive:le=^H:\
                   6700:        :ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :ta=^I:up=^K:
                   6701: beehive4|bh4|beehive 4:\
                   6702:        :am:\
                   6703:        :co#80:li#24:\
                   6704:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:\
                   6705:        :le=\ED:nd=\EC:sf=^J:up=\EA:
                   6706: microb|microbee|micro bee series:\
1.2       deraadt  6707:        :am:\
                   6708:        :co#80:it#8:li#24:\
1.1       deraadt  6709:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:\
                   6710:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
                   6711:        :k8=\Ew:k9=\Ex:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
                   6712:        :le=^H:nd=\EC:se=\Ed@ :sf=^J:so= \EdP:ta=^I:ue=\Ed@:\
                   6713:        :up=\EA:us=\Ed`:
                   6714:
                   6715: # 8675, 8686, and bee from Cyrus Rahman
                   6716: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   6717: ha8675|harris 8675:\
1.3     ! deraadt  6718:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
1.1       deraadt  6719:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:\
1.3     ! deraadt  6720:        :k3=^N:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:tc=bee:
1.1       deraadt  6721: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   6722: # in :is: -- esr)
                   6723: ha8686|harris 8686:\
1.3     ! deraadt  6724:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
        !          6725:        :F5=\002\E~\003:F6=\002\E\177\003:\
1.1       deraadt  6726:        :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#:\
                   6727:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
1.3     ! deraadt  6728:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:\
        !          6729:        :k;=\Ej:tc=bee:
1.1       deraadt  6730:
                   6731: #### Hazeltine
                   6732: #
                   6733: # Hazeltine appears to be out of the business now (1995).  These guys were
                   6734: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
1.2       deraadt  6735: # They have a hazeltine.com domain and can be reached at:
                   6736: #
                   6737: #      Hazeltine
                   6738: #      450 East Pulaski Road
                   6739: #      Greenlawn, New York 11740
1.1       deraadt  6740: #
1.2       deraadt  6741: # As late as 1993, manuals for the terminal product line could still be
                   6742: # purchased from:
1.1       deraadt  6743: #
1.2       deraadt  6744: #      TRW Customer Service Division
                   6745: #      15 Law Drive
                   6746: #      P.O. Box 2076
                   6747: #      Fairfield, NJ 07007-2078
1.1       deraadt  6748: #
1.2       deraadt  6749:
                   6750: # Since <cuf1> is blank, when you want to erase something you
1.1       deraadt  6751: # are out of luck.  You will have to do ^L's a lot to
                   6752: # redraw the screen.  h1000 is untested.  It doesn't work in
                   6753: # vi - this terminal is too dumb for even vi.  (The code is
                   6754: # there but it isn't debugged for this case.)
1.3     ! deraadt  6755: hz1000|hazeltine 1000:\
1.1       deraadt  6756:        :co#80:li#12:\
                   6757:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
                   6758: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1.3     ! deraadt  6759: hz1420|hazeltine 1420:\
1.2       deraadt  6760:        :am:\
1.1       deraadt  6761:        :co#80:li#24:\
                   6762:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:\
                   6763:        :cm=\E\021%r%.%+ :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:\
                   6764:        :se=\E^Y:sf=^J:so=\E^_:ta=^N:up=\E^L:
1.2       deraadt  6765: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   6766: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   6767: # receive tildes.
1.3     ! deraadt  6768: hz1500|hazeltine 1500:\
1.2       deraadt  6769:        :am:hz:\
1.1       deraadt  6770:        :co#80:li#24:\
                   6771:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
                   6772:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:\
                   6773:        :kd=^J:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:\
                   6774:        :sf=^J:so=~^_:up=~^L:
                   6775: # h1510 assumed to be in sane escape mode.  Else use h1500.
1.2       deraadt  6776: # (h1510: early versions of this entry apparently had "<rmso>=\E^_,
                   6777: # <smso>=\E^Y, but these caps were commented out in 8.3; also,
                   6778: # removed incorrect and overridden ":do=^J:" -- esr)
1.3     ! deraadt  6779: hz1510|hazeltine 1510:\
1.2       deraadt  6780:        :am:\
1.1       deraadt  6781:        :co#80:li#24:\
                   6782:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:\
                   6783:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:\
                   6784:        :sf=^J:up=\E^L:
                   6785: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
1.3     ! deraadt  6786: hz1520|hazeltine 1520:\
1.2       deraadt  6787:        :am:hz:\
1.1       deraadt  6788:        :co#80:li#24:\
                   6789:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:\
                   6790:        :cr=^M:dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:\
                   6791:        :so=~^_:up=~^L:
                   6792: # Note: the h1552 appears to be the first Hazeltine terminal which
                   6793: # is not braindamaged.  It has tildes and backprimes and everything!
                   6794: # Be sure the auto lf/cr switch is set to cr.
1.3     ! deraadt  6795: hz1552|hazeltine 1552:\
        !          6796:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:\
        !          6797:        :l2=red:l3=green:tc=vt52:
        !          6798: hz1552-rv|hazeltine 1552 reverse video:\
        !          6799:        :do=^J:se=\ET:so=\ES:tc=hz1552:
1.1       deraadt  6800: # Note: h2000 won't work well because of a clash between upper case and ~'s.
1.3     ! deraadt  6801: hz2000|hazeltine 2000:\
1.2       deraadt  6802:        :am:nc:\
1.1       deraadt  6803:        :co#74:li#27:\
                   6804:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:\
                   6805:        :do=^J:ho=~^R:le=^H:pc=\177:sf=^J:
                   6806: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   6807: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   6808: # to work ok. There is one problem though if one types a lot of garbage
                   6809: # characters very fast vi seems not able to keep up and hangs while trying
                   6810: # to insert. That's in insert mode while trying to insert in the middle of
                   6811: # a line. It might be because the Esprit doesn't have insert char and delete
                   6812: # char as a built in function. Vi has to delete to end of line and then
                   6813: # redraw the rest of the line.
                   6814: esprit|Hazeltine Esprit I:\
                   6815:        :am:bw:\
                   6816:        :co#80:li#24:\
                   6817:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
                   6818:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:\
                   6819:        :is=\E?:k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:\
                   6820:        :k5=^B5^J:k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:\
                   6821:        :kd=\E^K:ke=\E>:kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:\
1.3     ! deraadt  6822:        :l0=0:l1=1:l2=2:l3=3:l4=4:l5=5:l6=6:l7=7:l8=8:l9=9:\
1.1       deraadt  6823:        :le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:up=\E^L:
                   6824: esprit-am|hazeltine esprit auto-margin:\
1.3     ! deraadt  6825:        :am:tc=esprit:
1.1       deraadt  6826:
                   6827: #### IBM
                   6828: #
                   6829:
                   6830: ibm327x|line mode IBM 3270 style:\
                   6831:        :gn:\
                   6832:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  6833:
                   6834: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  6835: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
                   6836: ibm3101|i3101|IBM 3101-10:\
1.2       deraadt  6837:        :am:xo:\
1.1       deraadt  6838:        :co#80:li#24:\
                   6839:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:\
                   6840:        :ct=\E1:do=^J:ho=\EH:if=/usr/share/tabset/ibm3101:\
                   6841:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   6842:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   6843: #   Received from the IBM terminals division (given to DRB)
                   6844: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  6845: ibm3151|i3151|IBM 3151:\
1.1       deraadt  6846:        :me=\E4@:\
                   6847:        :..sa=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c:\
                   6848:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:tc=ibm3163:
                   6849: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  6850: # I've commented out or translated some IBM extensions.
1.1       deraadt  6851: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
                   6852:        :am:mi:ms:\
                   6853:        :co#80:it#8:li#24:\
1.3     ! deraadt  6854:        :F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
        !          6855:        :F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
        !          6856:        :FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
        !          6857:        :ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
1.1       deraadt  6858:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   6859:        :dc=\EQ:dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:\
                   6860:        :k3=\Ec\r:k4=\Ed\r:k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:\
1.3     ! deraadt  6861:        :k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:kA=\EN:kB=\E2:kC=\EL\r:\
        !          6862:        :kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:kS=\EJ:kT=\E0:\
        !          6863:        :ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:kt=\E1:\
        !          6864:        :ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
        !          6865:        :mr=\E4A:nd=\EC:\
1.1       deraadt  6866:        :..sa=\E4%'@'%?%p1%t%'A'%|%;\n%?%p2%t%'B'%|%;\n%?%p3%t%'A'%|%;\n%?%p4%t%'D'%|%;\n%?%p5%t%'@'%|%;\n%?%p6%t%'H'%|%;\n%?%p7%t%'P'%|%;%c\n%?%p9%t\E>A%e\E<@%;:\
                   6867:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:\
                   6868:        :up=\EA:us=\E4B:
                   6869:
                   6870: # How the 3164 sgr string works:
                   6871: #      %{32}           # push space for no special video characteristics
                   6872: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   6873: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   6874: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   6875: #      %c              # pop Pa1
                   6876: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   6877: #      %c              # pop Pa2
                   6878: #      %{64}           # use only black background for now
                   6879: #      %c              # pop Pa3
1.2       deraadt  6880: ibm3164|i3164|IBM 3164:\
1.1       deraadt  6881:        :mb=\E4D:md=\E4H:me=\E4@:\
                   6882:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   6883:
                   6884: ibmaed|IBM Experimental display:\
1.2       deraadt  6885:        :am:eo:ms:\
                   6886:        :co#80:it#8:li#52:\
1.1       deraadt  6887:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:\
                   6888:        :dl=\EO:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:\
1.2       deraadt  6889:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E0:so=\E0:\
                   6890:        :ta=^I:up=\EA:vb=\EG:
1.1       deraadt  6891: ibm-apl|apl|IBM apl terminal simulator:\
1.3     ! deraadt  6892:        :li#25:tc=dm1520:
1.1       deraadt  6893: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   6894: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   6895: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  6896:        :es:hs:\
1.1       deraadt  6897:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:\
                   6898:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
1.3     ! deraadt  6899:        :k8=\ER:k9=\EY:kF=\EE:kI=\200:kN=\EE:kP=\Eg:kR=\EG:\
        !          6900:        :kb=^H:kh=\EH:l0=f10:md=\EZ:me=\Ew\Eq\Ez\EB:\
        !          6901:        :mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:so=\EZ:sr=\EA:\
1.1       deraadt  6902:        :ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:tc=ibm3101:
1.2       deraadt  6903: ibmega|ibm5154|IBM Enhanced Color Display:\
                   6904:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.1       deraadt  6905: ibmega-c|ibm5154-c|IBM Enhanced Color Display:\
                   6906:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
1.2       deraadt  6907: ibmvga-c|IBM VGA display color termcap:\
                   6908:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   6909: ibmvga|IBM VGA display:\
                   6910:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  6911: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   6912: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   6913:        :li#32:\
                   6914:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   6915: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   6916: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   6917:        :li#31:\
                   6918:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   6919: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   6920:        :li#31:\
                   6921:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   6922: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   6923: # also in /usr/lpp/bos/bsdsysadmin.
                   6924: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   6925: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   6926: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  6927: # I also added <rmam>/<smam> based on the terminal reset string.
1.1       deraadt  6928: # There was an unknown boolean ":ht:" which I assume was meant to set
1.2       deraadt  6929: # hardware tabs, so I have inserted it#8. Finally, "ac=^N" paired with the
1.1       deraadt  6930: # ae looked like a typo for ":as=^N:" -- esr)
                   6931: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   6932:        :am:mi:ms:\
                   6933:        :co#80:it#8:li#25:\
1.3     ! deraadt  6934:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ae=^O:\
        !          6935:        :al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          6936:        :cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:do=^J:ec=\E[%dX:\
        !          6937:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  6938:        :is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
                   6939:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
                   6940:        :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:\
                   6941:        :kh=\E[H:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
1.3     ! deraadt  6942:        :mr=\E[7m:nd=\E[C:r1=\Eb\E[m\017\E[?7h\E[H\E[J:\
        !          6943:        :rc=\E[u:sc=\E[s:se=\E[m:so=\E[7m:te=\E[20h:\
        !          6944:        :ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6945: hft|AIWS High Function Terminal:\
                   6946:        :am:xo:\
                   6947:        :co#80:li#25:\
                   6948:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   6949:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:\
                   6950:        :ho=\E[H:ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:\
                   6951:        :k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
1.2       deraadt  6952:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kN=\E[153q:\
1.3     ! deraadt  6953:        :kP=\E[159q:ka=\E[010q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          6954:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          6955:        :mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
        !          6956:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  6957: ibm-system1|system1|ibm system/1 computer:\
                   6958:        :am:xt:\
                   6959:        :co#80:li#24:\
                   6960:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:\
                   6961:        :up=^^:
                   6962:
1.1       deraadt  6963: # From: <pryor@math.berkeley.edu>
                   6964: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
                   6965:        :es:hs:\
                   6966:        :li#33:\
                   6967:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
                   6968: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
                   6969:        :es:hs:\
                   6970:        :li#33:\
                   6971:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  6972: ibm8514|IBM 8514 color display:\
                   6973:        :es:hs:\
                   6974:        :li#41:\
                   6975:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:\
                   6976:        :kl=^H:nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:tc=ibmega:
                   6977: ibm8514-c|IBM 8514 color display:\
                   6978:        :es:hs:\
                   6979:        :li#41:\
                   6980:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:\
                   6981:        :kl=^H:nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:tc=ibmega-c:
                   6982:
                   6983: #
                   6984: # AIX entries.  IBM ships these with AIX 3.
                   6985: # AIX extension caps are commented out,
                   6986: # except for box1 which has been translated to an <acsc> string.
                   6987: #
                   6988: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   6989:        :es:hs:\
1.3     ! deraadt  6990:        :ac=llqqkkxxjjmmwwuuvvttnn:ds=\E[?E:fs=\E[?F:\
        !          6991:        :md=\E[1m:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  6992:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
                   6993:        :sr@:ts=\E[?%p1%dT:tc=ibm6153:
                   6994: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator:\
                   6995:        :es:hs:\
                   6996:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   6997:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
                   6998:        :sr@:ts=\E[?%p1%dT:tc=ibm6153:
                   6999: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.3     ! deraadt  7000:        :ac@:tc=aixterm-m:
1.1       deraadt  7001:
                   7002: #### Infoton/General Terminal Corp.
                   7003: #
                   7004:
                   7005: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   7006: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.2       deraadt  7007:        :am:\
1.1       deraadt  7008:        :co#80:li#24:\
                   7009:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :\
                   7010:        :cr=^M:dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:\
                   7011:        :so=\Eb:up=\EA:vb=\Eb\Ea:
                   7012: i400|infoton 400:\
1.2       deraadt  7013:        :am:\
1.1       deraadt  7014:        :co#80:li#25:\
                   7015:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   7016:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
                   7017:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:\
                   7018:        :up=\E[A:
                   7019: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   7020: addrinfo:\
                   7021:        :am:\
                   7022:        :co#80:li#24:\
                   7023:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:\
                   7024:        :cr=^M:do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
1.2       deraadt  7025: # (infoton: used to have the no-ops <lh>#0, <lw>#0, <nlab>#0 -- esr)
1.1       deraadt  7026: infoton:\
                   7027:        :am:\
                   7028:        :co#80:li#24:\
                   7029:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:\
                   7030:        :sf=^J:up=^\:
                   7031:
                   7032: #### Interactive Systems Corp
                   7033: #
                   7034: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   7035: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   7036: # bought out by Sun.
                   7037: #
                   7038:
                   7039: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  7040: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  7041: # ":le=^_:" later overridden -- esr)
                   7042: intext|Interactive Systems Corporation modified owl 1200:\
                   7043:        :am:\
1.2       deraadt  7044:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  7045:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
                   7046:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:\
                   7047:        :im=^V;:ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:\
                   7048:        :k4=^VD\r:k5=^VE\r:k6=^VF\r:k7=^VG\r:k8=^VH\r:\
                   7049:        :k9=^VI\r:kb=^H:kd=^J:ke=^V9:kh=^Z:kl=^_:kr=^^:\
                   7050:        :ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:se=^V# :\
                   7051:        :sf=^J:so=^V$\054:ta=^I:up=^\:
                   7052: intext2|intextii|INTERACTIVE modified owl 1251:\
                   7053:        :am:bw:ul:\
                   7054:        :co#80:li#24:sg#0:\
1.3     ! deraadt  7055:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
        !          7056:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          7057:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
        !          7058:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:\
        !          7059:        :k8=\EX\r:k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:\
        !          7060:        :kr=\EC\r:ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:\
        !          7061:        :l3=GOTO:l4=+PAGE:l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:\
        !          7062:        :l9=RIGHT:nd=\E[C:se=\E[2 D:sf=\E[S:so=\E[6 D:\
1.2       deraadt  7063:        :sr=\E[T:ta=^I:ue=\E[2 D:up=\E[A:us=\E[18 D:\
                   7064:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  7065:
                   7066: #### Kimtron (abm, kt)
                   7067: #
1.2       deraadt  7068: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   7069: # enter bold mode, enter reverse mode, turn off all attributes.
                   7070: #
1.1       deraadt  7071:
                   7072: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  7073: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  7074: abm85|Kimtron ABM 85:\
1.2       deraadt  7075:        :am:bw:ms:\
                   7076:        :co#80:it#8:li#24:sg#1:ug#1:\
1.1       deraadt  7077:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
                   7078:        :dc=\EW:dl=\ER:do=^J:ei=\Er:\
                   7079:        :if=/usr/share/tabset/stdcrt:im=\EQ:\
                   7080:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.2       deraadt  7081:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:\
                   7082:        :ue=\Em:up=^K:us=\El:
1.1       deraadt  7083: # Kimtron ABM 85H added by Dual Systems.
                   7084: # Some notes about the 85h entries:
1.2       deraadt  7085: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  7086: #    firmware revs prior to SP51
                   7087: # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
                   7088: #    85e entry if it is in 920 emulation mode. They are incompatible in
1.2       deraadt  7089: #    some places and NOT software settable i.e., <is2> can't fix it)
1.1       deraadt  7090: # 3) In 85h mode, the arrow keys and special functions transmit when
                   7091: #    the terminal is in dup-edit, and work only locally in local-edit.
1.2       deraadt  7092: #    Vi won't swallow `del char' for instance, but <smcup> turns on
1.1       deraadt  7093: #    dup-edit anyway so that the arrow keys will work right. If the
1.2       deraadt  7094: #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
                   7095: #    <is2>.  Note that 920E mode does not have software commands to toggle
                   7096: #    between dup and local edit, so you get whatever was set last on the
                   7097: #    terminal.
                   7098: # 4) <flash> attribute is nice, but seems too slow to work correctly
                   7099: #    (\Eb<pad>\Ed)
1.1       deraadt  7100: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  7101: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  7102: # 6) auto new-line should be on (selectable from setup mode only)
                   7103: #
                   7104: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  7105: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  7106:        :hs:\
                   7107:        :sg@:ug@:\
1.2       deraadt  7108:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  7109:        :is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
                   7110:        :kd=^V:me=\E(\EG0:mh=\E):mr=\EG4:se=\EG0:so=\EG4:\
                   7111:        :ts=\Eg\Ef:ue=\EG0:us=\EG8:vb@:ve=\E.4:vs=\E.2:tc=abm85:
1.2       deraadt  7112: abm85e|Kimtron ABM 85H in 920E mode:\
                   7113:        :sg@:\
                   7114:        :bl=^G:im=\EZ:\
1.1       deraadt  7115:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
                   7116:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:tc=abm85:
1.2       deraadt  7117: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   7118:        :sg@:\
                   7119:        :bl=^G:im=\EZ:\
1.1       deraadt  7120:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.2       deraadt  7121:        :me=\E(\Ek:mh=\E):mr=\Ej:tc=abm85:
1.1       deraadt  7122: # From: <malman@bbn-vax.arpa>
1.2       deraadt  7123: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  7124: kt7|kimtron model kt-7:\
1.2       deraadt  7125:        :am:\
                   7126:        :co#80:it#8:li#24:\
1.1       deraadt  7127:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :\
                   7128:        :dc=\EW:dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
                   7129:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
                   7130:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.3     ! deraadt  7131:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:\
        !          7132:        :kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:\
        !          7133:        :kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EG0:\
        !          7134:        :so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:
1.1       deraadt  7135:
                   7136: #### Microterm (act, mime)
                   7137: #
                   7138: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   7139: # The default mime is assumed to be in enhanced act iv mode.
                   7140: #
                   7141:
1.2       deraadt  7142: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
                   7143: # freakout with out-of-range args on Sytek multiplexors.  No <smso>=^N and
                   7144: # <rmso>=^N since  it gets confused and it's too dim anyway.  No <ich1>
                   7145: # since Sytek insists ^S means xoff.
1.1       deraadt  7146: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   7147: act4|microterm|microterm act iv:\
1.2       deraadt  7148:        :am:\
1.1       deraadt  7149:        :co#80:li#24:\
                   7150:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   7151:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
                   7152:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:\
                   7153:        :le=^H:nd=^X:sf=^J:up=^Z:
                   7154: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   7155: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   7156: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   7157: act5|microterm5|microterm act v:\
                   7158:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   7159: # Mimes using brightness for standout.  Half bright is really dim unless
                   7160: # you turn up the brightness so far that lines show up on the screen.
                   7161: mime-fb|full bright mime1:\
                   7162:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   7163: mime-hb|half bright mime1:\
                   7164:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   7165: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  7166: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  7167: # uc was at one time disabled to get around a curses bug, be wary of it
                   7168: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.2       deraadt  7169:        :am:\
1.1       deraadt  7170:        :co#80:it#8:li#24:vt#9:\
                   7171:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:\
                   7172:        :cm=\024%+^X%> 0%+P:cr=^M:dl=\027:do=^J:ho=^]:\
                   7173:        :is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:sf=^J:\
                   7174:        :sr=\022:ta=\011:uc=^U:up=^Z:
                   7175: # These termcaps (for mime 2a) put the terminal in low intensity mode
                   7176: # since high intensity mode is so obnoxious.
                   7177: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.2       deraadt  7178:        :am:\
1.1       deraadt  7179:        :co#80:li#24:\
                   7180:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\
                   7181:        :cr=^M:dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:\
                   7182:        :is=\E):kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:\
                   7183:        :sf=^J:so=\E\072:sr=\EI:ue=\E7:up=\EI:us=\E6:
                   7184: # This is the preferred mode (but ^X can't be used as a kill character)
                   7185: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
                   7186:        :co#80:it#8:li#24:\
                   7187:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :\
                   7188:        :cr=^M:dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:\
                   7189:        :is=^Y:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   7190:        :se=\E9:sf=^J:so=\E8:sr=\EA:ta=^I:ue=\E5:up=\EA:\
                   7191:        :us=\E4:
                   7192: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   7193: mime3a|mime1 emulating 3a:\
                   7194:        :am@:\
                   7195:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   7196: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   7197:        :it#8:\
                   7198:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   7199: # Wed Mar  9 18:53:21 1983
                   7200: # We run our terminals at 2400 baud, so there might be some timing problems at
                   7201: # higher speeds. The major improvements in this model are the terminal now
                   7202: # scrolls down and insert mode works without redrawing the rest of the line
                   7203: # to the right of the cursor. This is done with a bit of a kludge using the
                   7204: # exit graphics mode to get out of insert, but it does not appear to hurt
                   7205: # anything when using vi at least. If you have some users using act4s with
                   7206: # programs that use curses and graphics mode this could be a problem.
                   7207: mime314|mm314|mime 314:\
                   7208:        :am:\
                   7209:        :co#80:li#24:\
                   7210:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:\
                   7211:        :ei=^V:ho=^]:im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:\
                   7212:        :nd=^X:ta=^I:up=^Z:
1.2       deraadt  7213: # Microterm mime 340 from University of Wisconsin
                   7214: mm340|mime340|mime 340:\
                   7215:        :co#80:li#24:\
                   7216:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
                   7217:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:\
                   7218:        :kd=^J:kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:\
                   7219:        :up=^K:
                   7220: # This came from University of Wisconsin marked "astro termcap for jooss".
                   7221: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   7222: # also added <rmam>/<smam> based  on the init string -- esr)
                   7223: mt4520-rv|micro-term 4520 reverse video:\
                   7224:        :am:hs:ms:xn:xo:\
                   7225:        :co#80:it#8:li#24:ws#80:\
                   7226:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  7227:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !          7228:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          7229:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:\
        !          7230:        :dl=\E[M:do=\E[B:ei=:fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:\
        !          7231:        :im=:\
1.2       deraadt  7232:        :is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
                   7233:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:\
                   7234:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:\
1.3     ! deraadt  7235:        :nd=\E[C:nw=\EE:\
        !          7236:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
        !          7237:        :rc=\E8:rf=/usr/lib/tabset/vt100:sc=\E7:se=\E[0m:\
        !          7238:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:\
        !          7239:        :ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:\
        !          7240:        :ve=\E[0V\E8:vs=\E7\E[0U:
1.2       deraadt  7241:
1.1       deraadt  7242: # Fri Aug  5 08:11:57 1983
                   7243: # This entry works for the ergo 4000 with the following setups:
                   7244: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   7245: # setup a & c.
                   7246: #
                   7247: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   7248: # Be advised that very early versions DO NOT WORK RIGHT !!
                   7249: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  7250: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7251: ergo4000|microterm ergo 4000:\
                   7252:        :da:db:ms:\
                   7253:        :co#80:li#66:\
1.3     ! deraadt  7254:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:\
        !          7255:        :ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:\
        !          7256:        :dl=\E[1M:do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  7257:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
                   7258:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:\
1.3     ! deraadt  7259:        :kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          7260:        :le=^H:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
        !          7261:        :up=\E[A:
1.1       deraadt  7262:
                   7263: #### NCR
                   7264: #
                   7265: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   7266: # For what happened to that group, see the ADDS section.
                   7267: #
                   7268:
1.2       deraadt  7269: # NCR7900 DIP switches:
                   7270: #
                   7271: # Switch A:
                   7272: # 1-4 - Baud Rate
                   7273: # 5   - Parity (Odd/Even)
                   7274: # 6   - Don't Send or Do Send Spaces
                   7275: # 7   - Parity Enable
                   7276: # 8   - Stop Bits (One/Two)
                   7277: #
                   7278: # Switch B:
                   7279: # 1   - Upper/Lower Shift
                   7280: # 2   - Typewriter Shift
                   7281: # 3   - Half Duplex / Full Duplex
                   7282: # 4   - Light/Dark Background
                   7283: # 5-6 - Carriage Return Without / With Line Feed
                   7284: # 7   - Extended Mode
                   7285: # 8   - Suppress Keyboard Display
                   7286: #
                   7287: # Switch C:
                   7288: # 1   - End of line entry disabled/enabled
                   7289: # 2   - Conversational mode / (Local?) Mode
                   7290: # 3   - Control characters displayed / not displayed
                   7291: # 4   - (2-wire?) / 4-wire communications
                   7292: # 5   - RTS on and off for each character
                   7293: # 6   - (50Hz?) / 60 Hz
                   7294: # 7   - Exit after level zero diagnostics
                   7295: # 8   - RS-232 interface
                   7296: #
                   7297: # Switch D:
                   7298: # 1   - Reverse Channel (yes / no)
                   7299: # 2   - Manual answer (no / yes)
                   7300: # 3-4 - Cursor appearance
                   7301: # 5   - Communication Rate
                   7302: # 6   - Enable / Disable EXT turnoff
                   7303: # 7   - Enable / Disable CR turnoff
                   7304: # 8   - Enable / Disable backspace
                   7305: #
1.1       deraadt  7306: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
                   7307: ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1:\
                   7308:        :am:bw:ul:\
                   7309:        :co#80:li#24:sg#1:ug#1:\
                   7310:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
                   7311:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:\
                   7312:        :le=^H:ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:\
1.3     ! deraadt  7313:        :pf=^T:po=^R:\
1.1       deraadt  7314:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   7315:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   7316: ncr7900iv|ncr 7900 model 4:\
                   7317:        :am:bw:es:hs:\
                   7318:        :co#80:li#24:\
                   7319:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:\
                   7320:        :dl=\E^O:do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:\
                   7321:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
                   7322:        :k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:\
1.3     ! deraadt  7323:        :l6=blue:l7=red:l8=white:le=^H:nw=^M^J:sf=^J:\
1.1       deraadt  7324:        :ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
                   7325: ncr7901|7901|ncr 7901 model:\
                   7326:        :am:bw:ul:\
                   7327:        :co#80:li#24:\
1.3     ! deraadt  7328:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :\
        !          7329:        :cr=^M:cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:\
        !          7330:        :kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:\
        !          7331:        :mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  7332:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
                   7333:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:\
                   7334:        :ve=^X:vi=^W:
                   7335:
                   7336: #### Perkin-Elmer (Owl)
                   7337: #
                   7338: # These are official terminfo entries from within Perkin-Elmer.
                   7339: #
                   7340:
                   7341: bantam|pe550|pe6100|perkin elmer 550:\
                   7342:        :co#80:li#24:\
                   7343:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:\
                   7344:        :ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
                   7345: fox|pe1100|perkin elmer 1100:\
                   7346:        :am:\
                   7347:        :co#80:li#24:\
                   7348:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
                   7349:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:\
                   7350:        :st=\E1:up=\EA:vb=\020\002\020\003:
                   7351: owl|pe1200|perkin elmer 1200:\
                   7352:        :am:in:\
                   7353:        :co#80:li#24:\
                   7354:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:\
                   7355:        :cm=\EX%+ \EY%+ :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:\
                   7356:        :ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:k1=\ERA:k2=\ERB:\
                   7357:        :k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:\
                   7358:        :k9=\ERI:kb=^H:le=^H:ll=\EH\EA:nd=\EC:se=\E!\200:\
                   7359:        :sf=^J:so=\E!^H:st=\E1:up=\EA:vb=\020\002\020\003:
                   7360: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   7361:        :am:\
                   7362:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
                   7363:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
                   7364:        :ct=\E3:do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:\
                   7365:        :k3=\ERD:k4=\ERE:k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:\
1.3     ! deraadt  7366:        :k9=\ERJ:k;=\ERK:le=\ED:nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  7367: # (pe7000m: this had
                   7368: #      rmul=\E!\0, smul=\E!\040,
                   7369: # which is probably wrong, it collides with kf0
1.1       deraadt  7370: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   7371:        :am:\
                   7372:        :co#80:li#24:\
                   7373:        :bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :\
                   7374:        :cr=^M:do=\EB:ho=\EH:i1=\E!\200\EW  7o\Egf\ES7 :\
                   7375:        :k0=\E!\200:k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:\
1.3     ! deraadt  7376:        :k5=\E!^E:k6=\E!^F:k7=\E!^G:k8=\E!^H:k9=\E!^I:\
        !          7377:        :k;=\E!^J:kb=^H:kd=\E!U:kh=\E!S:kl=\E!V:kr=\E!W:\
        !          7378:        :ku=\E!T:le=\ED:ll=\ES7 :nd=\EC:sf=^J:sr=\ER:up=\EA:
1.1       deraadt  7379: pe7000c|perkin elmer 7000 series colour monitor:\
1.2       deraadt  7380:        :i1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
                   7381:        :ue=\E!\200:us=\E! :tc=pe7000m:
1.1       deraadt  7382:
                   7383: #### Sperry Univac
                   7384: #
                   7385: # Sperry Univac has merged with Burroughs to form Unisys.
                   7386: #
                   7387:
                   7388: # This entry is for the Sperry UTS30 terminal running the TTY
                   7389: # utility under control of CP/M Plus 1R1. The functionality
                   7390: # provided is comparable to the DEC vt100.
1.2       deraadt  7391: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7392: uts30|sperry uts30 with cp/m@1R1:\
                   7393:        :am:bw:hs:\
                   7394:        :co#80:li#24:ws#40:\
                   7395:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  7396:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
        !          7397:        :SR=\E[%dA:UP=\E[%dA:ae=\Ed:al=\EN:as=\EF:bl=^G:\
        !          7398:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:\
        !          7399:        :cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:ei=:fs=^M:ho=\E[H:\
        !          7400:        :ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:kd=\EOB:kh=\E[H:\
        !          7401:        :kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
        !          7402:        :me=\E[m:mr=\E[7m:nd=\EC:\
        !          7403:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
        !          7404:        :rf=/usr/lib/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
1.1       deraadt  7405:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:\
                   7406:        :up=\E[A:us=\E[4m:ve=\ES:vi=\ER:
                   7407:
                   7408: #### Tandem
                   7409: #
                   7410: # Tandem builds these things for use with its line of fault-tolerant
                   7411: # transaction-processing computers.  They aren't generally available
                   7412: # on the merchant market, and so are fairly uncommon.
                   7413: #
                   7414:
                   7415: tandem6510|adm3a repackaged by Tandem:\
                   7416:        :tc=adm3a:
                   7417:
                   7418: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   7419: # have a fourth digit after 653 that designates minor variants.  These are
                   7420: # natively block-mode and rather ugly, but they have a character mode which
                   7421: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
                   7422: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf -- esr)
                   7423: tandem653|t653x|Tandem 653x multipage terminal:\
1.2       deraadt  7424:        :am:da:db:hs:\
1.1       deraadt  7425:        :co#80:li#24:sg#1:ug#1:ws#64:\
                   7426:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:\
                   7427:        :fs=^M:ho=\EH:if=/usr/share/tabset/tandem653:le=^H:\
                   7428:        :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:ts=\Eo:ue=\E6 :\
                   7429:        :up=\EA:us=\E60:
                   7430:
                   7431: #### Tandy/Radio Shack
                   7432: #
                   7433: # Tandy has a line of VDTs distinct from its microcomputers.
                   7434: #
                   7435:
                   7436: dmterm|deskmate terminal:\
                   7437:        :am:bw:\
                   7438:        :co#80:li#24:\
                   7439:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :\
                   7440:        :cr=^M:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:\
                   7441:        :k0=\E1:k1=\E2:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:\
                   7442:        :k7=\E8:k8=\E9:k9=\E0:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
1.3     ! deraadt  7443:        :ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
        !          7444:        :l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:nd=\EC:se=\EG0:\
        !          7445:        :sf=\EX:so=\EG4:ta=^I:up=\EA:ve=\EG6:vi=\EG5:
1.1       deraadt  7446: dt100|dt-100|Tandy DT-100 terminal:\
                   7447:        :xo:\
                   7448:        :co#80:li#24:sg#1:ug#1:\
1.3     ! deraadt  7449:        :ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          7450:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
        !          7451:        :cr=^M:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
        !          7452:        :ho=\E[H:ic=\E[@:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:\
        !          7453:        :k2=\E[2i:k3=\E[@:k4=\E[M:k5=\E[17~:k6=\E[18~:\
        !          7454:        :k7=\E[19~:k8=\E[20~:k9=\E[21~:k;=\E[?5i:kN=\E[29~:\
        !          7455:        :kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          7456:        :l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:l8=f8:\
        !          7457:        :le=^H:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          7458:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  7459: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3     ! deraadt  7460:        :co#132:tc=dt100:
1.1       deraadt  7461: dt110|Tandy DT-110 emulating ansi:\
                   7462:        :xo:\
                   7463:        :co#80:li#24:\
1.3     ! deraadt  7464:        :@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:\
        !          7465:        :as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
        !          7466:        :cm=\010\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:\
        !          7467:        :dl=\E[0M:do=\E[0B:eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:\
        !          7468:        :im=:is=\E[?3l\E)0\E(B:k1=\E[1~:k2=\E[2~:k3=\E[3~:\
        !          7469:        :k4=\E[4~:k5=\E[5~:k6=\E[6~:k7=\E[7~:k8=\E[8~:\
        !          7470:        :k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:kP=\E[25~:\
        !          7471:        :kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:\
        !          7472:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:\
1.2       deraadt  7473:        :le=^H:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   7474:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  7475: pt210|TRS-80 PT-210 printing terminal:\
                   7476:        :hc:os:\
                   7477:        :co#80:\
                   7478:        :bl=^G:cr=^M:do=^J:sf=^J:
                   7479:
                   7480: #### Tektronix (tek)
                   7481: #
                   7482: # Tektronix tubes are graphics terminals.  Most of them use modified
                   7483: # oscilloscope technology incorporating a long-persistence green phosphor,
                   7484: # and support vector graphics on a main screen with an attached "dialogue
                   7485: # area" for interactive text.
                   7486: #
                   7487:
                   7488: tek|tek4012|4012|tektronix 4012:\
                   7489:        :os:\
                   7490:        :co#75:li#35:\
                   7491:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
                   7492: tek4013|4013|tektronix 4013:\
                   7493:        :ae=\E^O:as=\E^N:tc=tek4012:
                   7494: tek4014|4014|tektronix 4014:\
                   7495:        :co#81:li#38:\
                   7496:        :is=\E\017\E9:tc=tek4012:
                   7497: tek4015|4015|tektronix 4015:\
                   7498:        :ae=\E^O:as=\E^N:tc=tek4014:
                   7499: tek4014-sm|4014-sm|tektronix 4014 in small font:\
                   7500:        :co#121:li#58:\
                   7501:        :is=\E\017\E\072:tc=tek4014:
                   7502: tek4015-sm|4015-sm|tektronix 4015 in small font:\
                   7503:        :ae=\E^O:as=\E^N:tc=tek4014-sm:
                   7504: tek4023|4023|tex|tektronix 4023:\
                   7505:        :am:\
                   7506:        :co#80:li#24:vt#4:\
                   7507:        :bl=^G:cl=\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:le=^H:\
                   7508:        :nd=^I:se=^_@:sf=^J:so=^_P:
                   7509: # It is recommended that you run the 4025 at 4800 baud or less;
                   7510: # various bugs in the terminal appear at 9600.  It wedges at the
                   7511: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   7512: # on keyboard don't work.  You have to hit BREAK twice to get
                   7513: # one break at any speed - this is a documented feature.
                   7514: # Can't use cursor motion because it's memory relative, and
                   7515: # because it only works in the workspace, not the monitor.
                   7516: # Same for home. Likewise, standout only works in the workspace.
                   7517: #
1.2       deraadt  7518: # <el> was commented out since vi and rogue seem to work better
1.1       deraadt  7519: # simulating it with lots of spaces!
                   7520: #
1.2       deraadt  7521: # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  7522: # and didn't seem necessary.
                   7523: #
                   7524: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
                   7525:        :am:da:db:\
                   7526:        :co#80:it#8:li#34:lm#0:\
                   7527:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   7528:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   7529:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   7530:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   7531:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
                   7532:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
                   7533:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   7534:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   7535:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
                   7536: tek4025-17|4025-17|4027-17|tek 4025 17 line window:\
1.3     ! deraadt  7537:        :li#17:tc=tek4025:
1.1       deraadt  7538: tek4025-17-ws|4025-17-ws|4025-17ws|4027-17ws|4027-17-ws|tek 4025 17 line window in workspace:\
                   7539:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
                   7540:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
                   7541:        :ti=\037wor h\r:tc=tek4025-17:
                   7542: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
                   7543:        :is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
                   7544:        :te=\037com 33\r:ti=!com 31\r:tc=tek4025:
                   7545: # Tektronix 4025a
                   7546: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   7547: # The following status modes are assumed for normal operation (replace the
                   7548: # initial "!" by whatever the current command character is):
                   7549: #      !COM 29                 # NOTE: changes command character to GS (^])
                   7550: #      ^]DUP
                   7551: #      ^]ECH R
                   7552: #      ^]EOL
                   7553: #      ^]RSS T
                   7554: #      ^]SNO N
                   7555: #      ^]STO 9 17 25 33 41 49 57 65 73
                   7556: # Other modes may be set according to communication requirements.
                   7557: # If the command character is inadvertently changed, termcap can't restore it.
                   7558: # Insert-character cannot be made to work on both top and bottom rows.
1.3     ! deraadt  7559: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  7560: # There also seems to be a problem with vertical motion, perhaps involving
                   7561: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   7562: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  7563: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   7564: # work any more. -- esr)
1.1       deraadt  7565: tek4025a|4025a|Tektronix 4025A:\
1.2       deraadt  7566:        :am:bw:da:db:xo:\
                   7567:        :co#80:it#8:li#34:\
1.1       deraadt  7568:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   7569:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   7570:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.3     ! deraadt  7571:        :ce=\035dch 80;:ch=\r\035rig %d;:\
        !          7572:        :cl=\035era;\n\035rup;:cr=^M:ct=\035sto;:dc=\035dch;:\
        !          7573:        :dl=\035dli;:do=^J:le=^H:nd=\035rig;:\
1.1       deraadt  7574:        :rs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
                   7575:        :sf=^J:ta=^I:up=^K:
                   7576: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   7577: # Here's the command file that I use to get rogue to work on the 4025.
                   7578: # It should work with any program using the old curses (e.g. it better
                   7579: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   7580: # see the cursor.)
                   7581: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   7582: tek4025-cr|4025-cr|tek 4025 for curses and rogue:\
1.2       deraadt  7583:        :am:\
                   7584:        :co#80:it#8:li#33:\
1.1       deraadt  7585:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
                   7586:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  7587:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  7588:        :ti=\037wor 33h:up=^K:
                   7589: # next two lines commented out since curses only allows 128 chars, sigh.
                   7590: #      :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:\
                   7591: #      :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:
                   7592: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
                   7593:        :is=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
                   7594:        :te=\037com 33\r:ti=!com 31\r:tc=tek4025:
                   7595: tek4105|4105|tektronix 4105:\
                   7596:        :am:mi:ms:ul:xn:xt:\
                   7597:        :co#79:it#8:li#29:\
1.2       deraadt  7598:        :ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  7599:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
                   7600:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:\
1.2       deraadt  7601:        :i1=\E%!1\E[m:im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:\
1.1       deraadt  7602:        :kd=\E[1B:kl=\E[1D:kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:\
1.3     ! deraadt  7603:        :md=\E[=7;<4m:me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:\
        !          7604:        :mr=\E[=1;<3m:nd=\E[1C:se=\E[=0;<1m:sf=\E[S:\
        !          7605:        :so=\E[=2;<3m:sr=\E[T:ta=^I:ti=\E%!1\E[?6l\E[2J:\
        !          7606:        :ue=\E[=0;<1m:up=\E[1A:us=\E[=5;<2m:
1.1       deraadt  7607:
1.2       deraadt  7608: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7609: tek4105-30|4105-30|4015 emulating 30 line vt100:\
                   7610:        :am:mi:ms:xn:xo:\
                   7611:        :co#80:it#8:li#30:vt#3:\
1.3     ! deraadt  7612:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:\
        !          7613:        :K5=\EOn:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          7614:        :UP=\E[%dA:\
        !          7615:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          7616:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          7617:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          7618:        :ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:\
        !          7619:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:\
        !          7620:        :k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
1.1       deraadt  7621:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
1.3     ! deraadt  7622:        :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:\
        !          7623:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  7624:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   7625:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   7626:        :ue=\E[m:up=\E[A:us=\E[4m:
                   7627:
                   7628: tek4107|tek4109|4107|4109|tektronix terminals 4107 4109:\
                   7629:        :am:mi:ms:ul:xn:xt:\
                   7630:        :co#79:it#8:li#29:\
                   7631:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:\
                   7632:        :do=^J:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   7633:        :mb=\E%!1\E[5m\E%!0:md=\E%!1\E[1m\E%!0:\
                   7634:        :me=\E%!1\E[m\E%!0:mh=\E%!1\E[<0m\E%!0:\
                   7635:        :mr=\E%!1\E[7m\E%0:nd=\EC:\
                   7636:        :..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0:\
                   7637:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   7638:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   7639:        :ve=\E%!0:vs=\E%!3:
                   7640: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   7641: # see the note attached to tek4207.
                   7642: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   7643:        :es:hs:\
                   7644:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  7645:        :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:\
                   7646:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  7647:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   7648:
                   7649: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   7650: # look good for screen editing.  In the dialog area, you can't move the cursor
                   7651: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   7652: # is no way to scroll.
                   7653: #
                   7654: # Note that there is a floppy for free from Tek that makes the
                   7655: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   7656: # an expected enhancement that will use ANSI standard sequences.
                   7657: #
                   7658: # 4112 in non-dialog area pretending to scroll. It really wraps
                   7659: # but vi is said to work (more or less) in this mode.
                   7660: #
                   7661: # 'vi' works reasonably well with this entry.
                   7662: #
                   7663: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   7664:        :am:\
                   7665:        :co#80:li#34:\
                   7666:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   7667:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   7668: # The 4112 with the ANSI compatibility enhancement
                   7669: tek4112|tek4114|tektronix 4110 series:\
1.2       deraadt  7670:        :am:db:\
1.1       deraadt  7671:        :co#80:li#34:\
                   7672:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
                   7673:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
1.2       deraadt  7674:        :is=\E3!1:le=^H:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
1.1       deraadt  7675:        :so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=\EM:\
1.2       deraadt  7676:        :us=\E[4m:
1.1       deraadt  7677: tek4112-nd|4112-nd|4112 not in dialog area:\
                   7678:        :ns:\
                   7679:        :up=^K:tc=tek4112:
                   7680: tek4112-5|4112-5|4112 in 5 line dialog area:\
1.3     ! deraadt  7681:        :li#5:tc=tek4112:
1.2       deraadt  7682: # (tek4113: this used to have "<cuf1>=\LM1\s\LM0:", someone's mistake;
                   7683: # removed "<smacs>=\E^N, <rmacs>=\E^O:", which had been commented out in 8.3.
                   7684: # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
                   7685: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   7686: # to be 4-digit octal -- esr)
                   7687: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
                   7688:        :am:da:eo:\
1.1       deraadt  7689:        :co#80:li#5:\
                   7690:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   7691:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   7692:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.2       deraadt  7693: tek4113-34|4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  7694:        :li#34:\
                   7695:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   7696: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   7697: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   7698: # :vb: needs enough delay to let you see the background color being toggled.
1.2       deraadt  7699: tek4113-nd|4113-nd|tektronix 4113 color graphics with no dialog area:\
                   7700:        :am:eo:\
                   7701:        :co#80:it#8:li#34:\
1.1       deraadt  7702:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:\
                   7703:        :is=\ELZ\EKA0\ELF7l\177 @:le=^H:ll=\ELF hl @:nd=^I:\
1.2       deraadt  7704:        :se=\EMT1:so=\EMT2:ta=^I:uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  7705:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   7706:        :vs=\ELZ\EKA0:
                   7707: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  7708: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  7709: otek4115|Tektronix 4115:\
1.2       deraadt  7710:        :am:bs:da:db:eo:\
                   7711:        :co#80:it#8:li#34:\
1.3     ! deraadt  7712:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          7713:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
        !          7714:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:\
        !          7715:        :im=\E[4h:\
1.2       deraadt  7716:        :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.1       deraadt  7717:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:nd=\E[C:se=\E[m:\
1.2       deraadt  7718:        :so=\E[7m:sr=\EM:ta=^I:\
                   7719:        :te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:ti=\E%!0\ELBB2\E%!1:\
                   7720:        :ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  7721:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   7722: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   7723:        :am:xo:\
                   7724:        :co#80:li#34:\
                   7725:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.3     ! deraadt  7726:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:\
        !          7727:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
        !          7728:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:\
        !          7729:        :cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
        !          7730:        :ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          7731:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
        !          7732:        :mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  7733:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   7734:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   7735:        :us=\E[4m:
                   7736: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.2       deraadt  7737: # command is ignored.  The following entry replaces <csr> with the needed
                   7738: # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
1.1       deraadt  7739: # chokes on; and adds a lot of initialization for the tek dialog area.
                   7740: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   7741: # Steve Jacobson 8/85
                   7742: # (tek4125: there were two "\!"s in the is that I replaced with "\E!" -- esr)
1.2       deraadt  7743: tek4125|tektronix 4125:\
1.1       deraadt  7744:        :li#34:\
                   7745:        :al=\E[1L:cs@:dl=\E[1M:im=\E1:\
                   7746:        :is=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   7747:        :ks=\E=:rc@:sc@:tc=vt100:
                   7748:
                   7749: # From: <jcoker@ucbic>
1.2       deraadt  7750: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   7751: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   7752: # note that if jcoker wasn't confused you may be able to use this one. -- esr)
1.1       deraadt  7753: tek4207|Tektronix 4207 graphics terminal with memory:\
1.2       deraadt  7754:        :am:bw:mi:ul:xn:\
                   7755:        :co#80:it#8:li#32:\
1.1       deraadt  7756:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
                   7757:        :cm=\E[%i%d;%dH:dc=4\E[P:dl=3\E[M:do=^J:ei=:ho=\E[H:\
                   7758:        :ic=4\E[@:im=:\
                   7759:        :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:\
                   7760:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:\
                   7761:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
1.2       deraadt  7762:        :so=\E[7m:ta=^I:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:\
1.1       deraadt  7763:        :ti=\E[?6l\E[H\E[J:ue=\E[m:up=\EM:us=\E[4m:
                   7764:
                   7765: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.2       deraadt  7766: # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
                   7767: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   7768: tek4404|tektronix 4404:\
                   7769:        :co#80:it#8:li#32:\
                   7770:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.1       deraadt  7771:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:\
                   7772:        :do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:kd=\E[B:ke=\E[?1h:\
1.2       deraadt  7773:        :kl=\E[D:kr=\E[C:ks=\E[?1l:ku=\E[A:le=^H:mb=\E[5m:\
                   7774:        :md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
                   7775:        :so=\E[7m:st=\E[2I:ta=^I:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
1.1       deraadt  7776:        :ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
                   7777:        :us=\E[4m:
1.2       deraadt  7778: # Some unknown person wrote:
1.1       deraadt  7779: # I added the is string - straight Unix has ESC ; in the login
                   7780: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   7781: # mode). The is string here cleans up a few things (but not
                   7782: # everything).
                   7783: ct8500|tektronix ct8500:\
                   7784:        :am:bw:da:db:\
                   7785:        :co#80:li#25:\
                   7786:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
                   7787:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:\
                   7788:        :ic=\E^\:im=:is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:\
                   7789:        :se=\E :sf=^J:so=\E$:sr=\E^A:ta=^I:ue=\E :up=\ER:\
                   7790:        :us=\E!:
                   7791:
                   7792: # Tektronix 4205 terminal.
                   7793: #
                   7794: # am is not defined because the wrap around occurs not when the char.
                   7795: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  7796: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   7797: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  7798: #
                   7799: # Bold, dim, and standout are simulated by colors and thus not allowed
                   7800: # with colors.  The tektronix color table is mapped into the RGB color
                   7801: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  7802: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  7803: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   7804: # interval then maps into pre-defined value.
1.3     ! deraadt  7805: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  7806: tek4205|4205|tektronix 4205:\
1.3     ! deraadt  7807:        :cc:mi:ms:\
        !          7808:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  7809:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3     ! deraadt  7810:        :UP=\E[%dA:\
        !          7811:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          7812:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
        !          7813:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
        !          7814:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
        !          7815:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:\
        !          7816:        :k1=\EOB:k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:\
        !          7817:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
        !          7818:        :mb=\E[5m:md=\E[=7;<4m:me=\E[=0;<1m\E[24;25;27m\017:\
        !          7819:        :mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:\
        !          7820:        :oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1:\
        !          7821:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:\
        !          7822:        :sr=\EM:ta=^I:ti=\E%%!1\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
1.2       deraadt  7823:        :us=\E[4m:
1.1       deraadt  7824:
                   7825: #### Teletype (tty)
                   7826: #
                   7827: # These are the hardcopy Teletypes from before AT&T bought the company,
                   7828: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   7829: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   7830: # Teletype-branded VDTs are listed in the AT&T section.
                   7831: #
                   7832: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   7833: # other programs still default to emitting codes for the Model 37.
                   7834: #
                   7835:
1.2       deraadt  7836: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  7837:        :hc:os:xo:\
                   7838:        :co#72:\
                   7839:        :bl=^G:cr=^M:do=^J:sf=^J:
                   7840: tty37|model 37 teletype:\
1.2       deraadt  7841:        :hc:os:xo:\
1.1       deraadt  7842:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   7843:
                   7844: # There are known to be at least three flavors of the tty40, all seem more
                   7845: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   7846: # awful braindamage, such as printing a visible newline indicator after each
                   7847: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   7848: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   7849: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   7850: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  7851: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  7852: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.2       deraadt  7853: # to get crlf, even if <cr> is not ^M.)
1.1       deraadt  7854: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   7855: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
                   7856:        :xo:\
                   7857:        :co#80:li#24:\
                   7858:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:\
                   7859:        :dl=\EM:do=\EB:ei=:ho=\EH:ic=\E^:im=:kb=^]:kl=^H:\
1.3     ! deraadt  7860:        :le=^H:nd=\EC:pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:\
        !          7861:        :so=\E3:sr=\ET:st=\E1:ta=\E@:up=\E7:
1.1       deraadt  7862: tty43|model 43 teletype:\
1.2       deraadt  7863:        :am:hc:os:xo:\
1.1       deraadt  7864:        :co#132:\
                   7865:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   7866:
                   7867: #### Tymshare
                   7868: #
                   7869:
1.2       deraadt  7870: # You can add <is2>=\E< to put this 40-column mode, though I can't
                   7871: # for the life of me think why anyone would want to.
1.1       deraadt  7872: scanset|sc410|sc415|Tymshare Scan Set:\
                   7873:        :am:bw:ms:\
                   7874:        :co#80:li#24:\
1.3     ! deraadt  7875:        :ac=l<m-k4j%q\\\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:\
        !          7876:        :ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
        !          7877:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:\
        !          7878:        :po=\E;0:ps=\E;3:r1=\E>:rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  7879:
                   7880: #### Volker-Craig (vc)
                   7881: #
                   7882:
                   7883: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   7884: # every other linefeed.
                   7885: vc303|vc103|vc203|volker-craig 303:\
1.2       deraadt  7886:        :am:ns:\
1.1       deraadt  7887:        :co#80:li#24:\
                   7888:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:\
                   7889:        :ku=^N:le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  7890: vc303a|vc403a|volker-craig 303a:\
                   7891:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:\
                   7892:        :up=^Z:tc=vc303:
1.1       deraadt  7893: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   7894: vc404|volker-craig 404:\
1.2       deraadt  7895:        :am:\
1.1       deraadt  7896:        :co#80:li#24:\
                   7897:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:\
                   7898:        :do=^J:ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:\
                   7899:        :sf=^J:up=^Z:
                   7900: vc404-s|volker-craig 404 w/standout mode:\
                   7901:        :do=^J:se=^O:so=^N:tc=vc404:
                   7902: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  7903: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  7904: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   7905:        :am:bs:\
                   7906:        :co#80:li#24:\
1.2       deraadt  7907:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:\
                   7908:        :cm=\E\021%r%.%.:dc=\E3:dl=\E\023:do=\E^K:ei=:\
                   7909:        :ho=\E^R:ic=\E\072:im=:k0=\EA:k1=\EB:k2=\EC:k3=\ED:\
                   7910:        :k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:kh=\E^R:kl=^H:\
1.3     ! deraadt  7911:        :kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=PF5:\
        !          7912:        :l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  7913: vc415|volker-craig 415:\
                   7914:        :cl=^L:tc=vc404:
                   7915:
                   7916: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   7917: #
                   7918:
                   7919: #### IBM PC and clones
                   7920: #
                   7921:
                   7922: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   7923: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   7924: # doesn't support scrolling regions, ignores add line commands, and ignores
                   7925: # delete line commands. Consequently, the resulting behavior looks like a
                   7926: # crude adm3a-type terminal.
                   7927: # Steve Jacobson 8/85
                   7928: pcplot|pc-plot terminal emulation program:\
                   7929:        :xn@:\
1.2       deraadt  7930:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.1       deraadt  7931: # (kaypro: removed obsolete ":ma=^K^P:" -- esr)
                   7932: kaypro|kaypro2|kaypro II:\
1.2       deraadt  7933:        :am:\
1.1       deraadt  7934:        :co#80:li#24:\
                   7935:        :cl=1\032:cm=\E=%+ %+ :ho=^^:kd=^J:kl=^H:kr=^L:ku=^K:\
1.2       deraadt  7936:        :le=^H:nd=^L:up=^K:
1.1       deraadt  7937:
                   7938: # From IBM, Thu May  5 19:35:27 1983
                   7939: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
                   7940:        :am:\
                   7941:        :co#80:li#24:\
                   7942:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:im=\200R:kd=^_:\
                   7943:        :le=^]:nd=^\:sf=\n:up=^^:
                   7944:
                   7945: #### Apple
                   7946: #
                   7947:
                   7948: appleII|apple ii plus:\
1.2       deraadt  7949:        :am:\
                   7950:        :co#80:it#8:li#24:\
1.1       deraadt  7951:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.2       deraadt  7952:        :is=\024T1\016:kd=^J:kr=^U:le=^H:nd=^\:se=^N:so=^O:\
                   7953:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  7954: # Originally by Gary Ford 21NOV83
                   7955: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   7956: apple-80|apple II with smarterm 80 col:\
1.2       deraadt  7957:        :am:bw:\
1.1       deraadt  7958:        :co#80:li#24:\
                   7959:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:\
                   7960:        :cm=\036%r%+ %+ :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:\
                   7961:        :up=^_:
                   7962: apple-soroc|apple emulating soroc 120:\
                   7963:        :am:\
                   7964:        :co#80:li#24:\
                   7965:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:\
                   7966:        :ho=^^:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
                   7967:        :up=^K:
                   7968: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   7969: #   ucbvax!ucsfmis!harrison  .....uucp
                   7970: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   7971: # "These two work.  If you don't have the inverse video chip for the
                   7972: # Apple with videx then remove the so and se fields."
1.2       deraadt  7973: # (apple-videx: this used to be called DaleApple -- esr)
                   7974: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
                   7975:        :am:xn:\
                   7976:        :co#80:it#8:li#24:\
1.1       deraadt  7977:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:\
                   7978:        :kd=^J:kh=^Y:kl=^H:kr=^U:le=^H:nd=^\:se=^Z2:so=^Z3:\
1.2       deraadt  7979:        :ta=^I:up=^_:
                   7980: lisa|apple lisa console display (black on white):\
                   7981:        :am:eo:ms:\
                   7982:        :co#88:it#8:li#32:\
1.3     ! deraadt  7983:        :ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:\
        !          7984:        :as=\E[11m:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:\
        !          7985:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:\
        !          7986:        :is=\E>\E[m\014:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
        !          7987:        :ku=\E[A:le=^H:nd=\E[C:se=\E[m:so=\E[7m:ta=^I:\
        !          7988:        :ue=\E[m:up=\E[A:us=\E[4m:vi=\E[5h:vs=\E[5l:
1.2       deraadt  7989: liswb|apple lisa console display (white on black):\
                   7990:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  7991:        :us=\E[4m:tc=lisa:
                   7992: mac|macintosh|Macintosh with MacTerminal:\
                   7993:        :xn:\
                   7994:        :dN#30:\
                   7995:        :al=20\E[L:dc=7\E[P:dl=20\E[M:ei=:ic=9\E[@:im=:ip=7:tc=vt100:
                   7996:
                   7997: #### Radio Shack/Tandy
                   7998: #
                   7999:
                   8000: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   8001: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   8002: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   8003: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.2       deraadt  8004:        :am:\
1.1       deraadt  8005:        :co#80:it#8:li#24:\
                   8006:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.2       deraadt  8007:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:\
                   8008:        :mb=^_":md=\E\072^A:me=\037!\E\072\200:mr=^_ :nd=^F:\
                   8009:        :se=^_!:so=^_ :ue=^_#:up=^I:us=^_":ve=^E!:vi=^E :
                   8010: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  8011: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.2       deraadt  8012:        :am:ms:\
                   8013:        :co#80:it#8:li#24:\
1.1       deraadt  8014:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:\
                   8015:        :dl=^K:do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:\
1.2       deraadt  8016:        :le=^H:nd=^]:se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  8017: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  8018: # (This had extension capabilities
1.1       deraadt  8019: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   8020: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  8021: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  8022: trs16|trs-80 model 16 console:\
1.2       deraadt  8023:        :am:\
                   8024:        :co#80:it#8:li#24:\
1.3     ! deraadt  8025:        :ac=l_mbk`javewcquxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:\
        !          8026:        :cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
        !          8027:        :dl=\EM:do=\EB:ei=:ho=\EH:ic=\EP:im=:k0=^A:k1=^B:\
        !          8028:        :k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:k7=^S:kb=^H:kd=\EB:\
        !          8029:        :kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
        !          8030:        :l4=f5:l5=f6:l6=f7:l7=f8:le=^H:nd=\EC:pf=\E]+:\
        !          8031:        :po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
        !          8032:        :vi=\ERc:
1.1       deraadt  8033:
                   8034: #### Atari ST
                   8035: #
                   8036:
                   8037: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   8038: atari|atari st:\
1.2       deraadt  8039:        :am:\
                   8040:        :co#80:it#8:li#25:\
1.1       deraadt  8041:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:\
1.2       deraadt  8042:        :do=\EB:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
                   8043:        :se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8044: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   8045: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  8046: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  8047:        :li#49:\
                   8048:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
                   8049:
                   8050: #### Commodore Business Machines
                   8051: #
                   8052: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   8053: # after years of shaky engineering and egregious mismanagement.  Made one
                   8054: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   8055: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   8056: # ever (most units sold); they can still be found gathering dust in closets
                   8057: # everywhere.
                   8058: #
                   8059:
                   8060: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   8061: # Added a few more entries, converted caret-type control sequence (^x) entries
                   8062: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   8063: #
                   8064: # :as:, :ae:                   Support for alternate character sets.
                   8065: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   8066: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   8067: #     This one appears to fix a problem I always had with a line ending
                   8068: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   8069: #     line tended to disappear and reappear depending on how the screen
                   8070: #     was refreshed. Note that this is probably needed only if you use
                   8071: #     something like a Dnet Fterm with the window sized to some peculiar
                   8072: #     dimension larger than 80 columns.
                   8073: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
                   8074: # (amiga: removed obsolete ":kn#10:" -- esr)
1.3     ! deraadt  8075: amiga-old|Amiga ANSI:\
1.1       deraadt  8076:        :am:bs:bw:xn:\
                   8077:        :co#80:li#24:\
                   8078:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   8079:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   8080:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   8081:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
                   8082:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:\
                   8083:        :k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:\
                   8084:        :k8=\E7~:k9=\E8~:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
1.2       deraadt  8085:        :le=\E[D:mb=\E[7;2m:md=\E[1m:me=\E[m:mh=\E[2m:\
1.3     ! deraadt  8086:        :mk=\E[8m:mr=\E[7m:nd=\E[C:r1=\Ec:se=\E[m:sf=\E[S:\
        !          8087:        :so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[ p:\
        !          8088:        :vi=\E[0 p:
        !          8089:
        !          8090: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
        !          8091: amiga|Amiga ANSI:\
        !          8092:        :bw:ms:\
        !          8093:        :co#80:li#24:\
        !          8094:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:\
        !          8095:        :RI=\233%dC:SF=\233%dS:SR=\233%dT:UP=\233%dA:ae=^O:\
        !          8096:        :as=^N:bl=^G:bt=\233Z:cd=\233J:ce=\233K:\
        !          8097:        :cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:dc=\233P:\
        !          8098:        :do=\233B:ec=\233%dP:ei=:ho=\233H:ic=\233@:im=:\
        !          8099:        :is=\23320l:k0=\2339~:k1=\2330~:k2=\2331~:k3=\2332~:\
        !          8100:        :k4=\2333~:k5=\2334~:k6=\2335~:k7=\2336~:k8=\2337~:\
        !          8101:        :k9=\2338~:kD=\177:kb=^H:kd=\233B:kl=\233D:kr=\233C:\
        !          8102:        :ku=\233A:le=\233D:mb=\2337;2m:md=\2331m:me=\2330m:\
        !          8103:        :mh=\2332m:mk=\2338m:mr=\2337m:nd=\233C:nw=\233B\r:\
        !          8104:        :r1=\Ec:se=\2330m:sf=\233S:so=\2337m:sr=\233T:ta=^I:\
        !          8105:        :te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:us=\2334m:\
        !          8106:        :vb=^G:ve=\233 p:vi=\2330 p:
1.1       deraadt  8107:
                   8108: #### Osborne
                   8109: #
                   8110: # Thu Jul  7 03:55:16 1983
                   8111: #
                   8112: # As an aside, be careful; it may sound like an anomaly on the
                   8113: # Osborne, but with the 80-column upgrade, it's too easy to
                   8114: # enter lines >80 columns!
                   8115: #
                   8116: # I've already had several comments...
                   8117: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  8118: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  8119: # with most systems.
                   8120: #
                   8121: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   8122: ozzie|osborne|osborne1|osborne 1:\
                   8123:        :ms:ul:xt:\
                   8124:        :co#104:li#24:\
                   8125:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:\
                   8126:        :dl=\ER:do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:\
                   8127:        :le=^H:nd=^L:se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
                   8128:
1.2       deraadt  8129: #### Console types for obsolete UNIX clones
                   8130: #
                   8131: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   8132: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
                   8133: # were commercial, Minix an educational tool sold in conjuction with a book.
                   8134: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   8135: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   8136: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   8137: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
                   8138: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.
1.1       deraadt  8139: #
                   8140:
1.2       deraadt  8141: minix|minix console:\
                   8142:        :co#80:it#8:li#25:\
                   8143:        :AL=\E[%dLce=\E[K:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   8144:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:\
                   8145:        :cd=\E[0J:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   8146:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:\
                   8147:        :k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:\
                   8148:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   8149:        :mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                   8150:        :se=\E[0m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[0m:\
                   8151:        :up=\E[A:us=\E[4m:
                   8152:
1.1       deraadt  8153: # According to the Coherent 2.3 manual, the PC console is similar
                   8154: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   8155: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   8156: # has blinking and bold.
                   8157: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   8158:        :am:mi:\
                   8159:        :co#80:it#8:li#25:\
                   8160:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:\
                   8161:        :dc=\EN:do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:\
                   8162:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:\
                   8163:        :sf=^J:so=\Ep:sr=\EI:ta=^I:up=\EA:
                   8164:
                   8165: # According to the Venix 1.1 manual, the PC console is similar
                   8166: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   8167: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  8168: # Note in particular that it doesn't have automatic margins.
1.1       deraadt  8169: # There are other keys (f1-f10, pgup, pgdn, backtab, insch, delch)
                   8170: # not described here.
                   8171: pc-venix|venix|IBM PC console running Venix:\
                   8172:        :co#80:it#8:li#25:\
                   8173:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   8174:        :cr=^M:dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:\
                   8175:        :kr=\EM:ku=\EH:le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:\
                   8176:        :up=\EA:
                   8177:
                   8178: #### Miscellaneous microcomputer consoles
                   8179: #
                   8180: # If you know anything more about any of these, please tell me.
                   8181:
                   8182: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   8183: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   8184: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   8185: basis|BASIS108 computer with terminal translation table active:\
                   8186:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:\
                   8187:        :kr=^L:ku=^K:se=\E):so=\E(:tc=adm3a:
                   8188: # luna's BMC terminal emulator
                   8189: luna|luna68k|LUNA68K Bitmap console:\
1.3     ! deraadt  8190:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  8191: megatek|pegasus workstation terminal emulator:\
                   8192:        :am:os:\
1.3     ! deraadt  8193:        :co#83:li#60:
1.2       deraadt  8194: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   8195: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  8196: xerox820|x820|Xerox 820:\
                   8197:        :am:\
                   8198:        :co#80:li#24:\
                   8199:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:\
                   8200:        :ho=^^:le=^H:nd=^L:sf=^J:up=^K:
                   8201:
                   8202: #### Videotex and teletext
                   8203: #
                   8204:
                   8205: # standard-issue France Telecom minitel terminal (made by Philips)
                   8206: # (m2-nam: had unknown ":zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:";
1.2       deraadt  8207: # also deleted unnecessary ":ug#0:sg#0:" -- esr)
1.1       deraadt  8208: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel:\
1.2       deraadt  8209:        :xn:\
1.1       deraadt  8210:        :co#80:it#8:li#24:\
                   8211:        :ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   8212:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:\
                   8213:        :im=\E[4h:ip=7:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
                   8214:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
1.2       deraadt  8215:        :ku=\E[A:le=^H:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   8216:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  8217:
                   8218: ######## OBSOLETE VDT TYPES
                   8219: #
                   8220: # These terminals are *long* dead -- these entries are retained for
                   8221: # historical interest only.
                   8222:
                   8223: #### Amtek Business Machines
                   8224: #
                   8225:
                   8226: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   8227: # but these caps were commented out in 8.3; also, removed overridden
                   8228: # ":do=^J:" -- esr)
                   8229: abm80|amtek business machines 80:\
1.2       deraadt  8230:        :am:bw:\
1.1       deraadt  8231:        :co#80:li#24:\
                   8232:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:\
                   8233:        :cm=\E\021%r%+ %+ :dl=\E^S:do=\E^K:ho=\E^R:le=^H:\
                   8234:        :nd=^P:up=\E^L:
                   8235:
                   8236: #### Bell Labs blit terminals
                   8237: #
1.2       deraadt  8238: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   8239: # David Breneman <daveb@dgtl.com> has this to say:
                   8240: #
                   8241: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   8242: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   8243: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   8244: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   8245: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   8246: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   8247: #  world. And the Jerq lived the rest of its days in research, but never
                   8248: #  strayed from those paths.
                   8249: #
                   8250: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   8251: #  it started to be shown outside of the halls of the Bell Labs Research
                   8252: #  organization, the management powers that be decided that the name could
                   8253: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   8254: #
                   8255: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   8256: # 730, and 730+.)
1.1       deraadt  8257: #
                   8258:
                   8259: blit|jerq|blit running teletype rom:\
                   8260:        :am:eo:ul:xo:\
                   8261:        :co#87:it#8:li#72:\
                   8262:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:\
                   8263:        :bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee!:\
                   8264:        :dl=\EE!:do=^J:ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:\
                   8265:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
                   8266:        :sf=^J:ta=^I:up=\EA:
                   8267:
1.3     ! deraadt  8268: # (cbblit: here's a BSD termcap that says <cud1>=\EG -- esr)
1.1       deraadt  8269: cbblit|fixterm|blit running columbus code:\
                   8270:        :co#88:\
1.3     ! deraadt  8271:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:\
        !          8272:        :se=\EV!:so=\EU!:ue=\EV":us=\EU":vb=\E^G:tc=blit:
1.1       deraadt  8273:
                   8274: oblit|ojerq|first version of blit rom:\
                   8275:        :am:da:db:eo:mi:ul:xo:\
                   8276:        :co#88:it#8:li#72:\
                   8277:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:\
                   8278:        :cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:\
                   8279:        :ei=\ER:im=\EQ:kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:\
                   8280:        :up=\EA:vb=\E^G:
                   8281:
                   8282: #### Bolt, Beranek & Newman (bbn)
                   8283: #
                   8284: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   8285: # The parent company, best known as the architects of the Internet, is
                   8286: # still around.
                   8287: #
                   8288:
                   8289: # Entries for the BitGraph terminals.  The problem
                   8290: # with scrolling in vi can only be fixed by getting BBN to put
                   8291: # smarter scroll logic in the terminal or changing vi or padding
                   8292: # scrolls with about 500 ms delay.
                   8293: #
                   8294: # I always thought the problem was related to the terminal
                   8295: # counting newlines in its input buffer before scrolling and
                   8296: # then moving the screen that much. Then vi comes along and
                   8297: # paints lines in on the bottom line of the screen, so you get
                   8298: # this big white gap.
                   8299:
1.2       deraadt  8300: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
                   8301:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg2.0:
                   8302: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  8303:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  8304: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.1       deraadt  8305:        :xn:\
                   8306:        :co#85:li#64:\
                   8307:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   8308:        :cm=%i\E[%d;%dH:cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:\
                   8309:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:\
1.3     ! deraadt  8310:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\
        !          8311:        :l4=PF4:le=^H:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
        !          8312:        :so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  8313:
1.1       deraadt  8314: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   8315:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   8316: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   8317:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  8318: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8319: bg1.25|bbn bitgraph 1.25:\
                   8320:        :co#85:li#64:\
1.3     ! deraadt  8321:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
        !          8322:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:\
        !          8323:        :k1=\EP:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:\
        !          8324:        :kr=\EC:ks=\E=:ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
        !          8325:        :le=^H:ll=\E[64;1H:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:\
        !          8326:        :ta=^I:up=\E[A:
1.1       deraadt  8327:
                   8328: #### Chromatics
                   8329: #
                   8330:
1.2       deraadt  8331: # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
1.1       deraadt  8332: # that is smaller than the screen, and puts up a warning message
                   8333: # outside the window. Te erases the warning message, puts the
                   8334: # window back to be the whole screen, and puts the cursor at just
1.2       deraadt  8335: # below the small window. I defined <cnorm> and <civis> to really turn
1.1       deraadt  8336: # the cursor on and off, but I have taken this out since I don't
                   8337: # like the cursor being turned off when vi exits.
                   8338: cg7900|chromatics|chromatics 7900:\
                   8339:        :am:\
                   8340:        :co#80:li#40:\
                   8341:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:\
                   8342:        :cm=\001M%r%d\\\054%d\\\054:cr=^M:dc=^A<1:dl=^A<2:\
                   8343:        :do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:nd=^]:\
                   8344:        :se=\001C1\\\054\001c2\\\054:sf=^J:\
                   8345:        :so=\001C4\\\054\001c7\\\054:\
                   8346:        :te=\001W0\\\05440\\\05485\\\05448\\\054\014\001W0\\\0540\\\05485\\\05448\\\054\001M0\\\05440\\\054:\
                   8347:        :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.3     ! deraadt  8348:        :uc=\001\001_\001\200:up=^K:
1.1       deraadt  8349:
                   8350: #### Computer Automation
                   8351: #
                   8352:
                   8353: ca22851|computer automation 22851:\
                   8354:        :am:\
                   8355:        :co#80:li#24:\
                   8356:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:\
                   8357:        :ho=^^:kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:\
                   8358:        :up=^V:
                   8359:
                   8360: #### Cybernex
                   8361: #
                   8362:
                   8363: # This entry has correct padding and the undocumented "ri" capability
                   8364: cyb83|xl83|cybernex xl-83:\
1.2       deraadt  8365:        :am:\
1.1       deraadt  8366:        :co#80:li#24:\
                   8367:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:\
                   8368:        :do=^J:ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:\
                   8369:        :sf=^J:sr=^N:up=^N:
                   8370: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   8371: cyb110|mdl110|cybernex mdl-110:\
1.2       deraadt  8372:        :am:\
1.1       deraadt  8373:        :co#80:li#24:\
                   8374:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   8375:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
                   8376:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:\
                   8377:        :le=^H:nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
                   8378:
                   8379: #### Datapoint
                   8380: #
                   8381: # Datapoint is gone.  They used to be headquartered in Texas.
                   8382: # They created ARCnet, an Ethernet competitor that flourished for a while
                   8383: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   8384: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   8385: #
                   8386:
                   8387: dp3360|datapoint|datapoint 3360:\
1.2       deraadt  8388:        :am:\
1.1       deraadt  8389:        :co#82:li#25:\
                   8390:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:\
                   8391:        :nd=^X:sf=^J:up=^Z:
                   8392:
                   8393: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   8394: #
                   8395: # These entries are DEC's official terminfos for its older terminals.
                   8396: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   8397: # Engineering for more information.  Updated terminfos and termcaps
                   8398: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   8399: #
                   8400:
                   8401: gt40|dec gt40:\
                   8402:        :os:\
                   8403:        :co#72:li#30:\
                   8404:        :bl=^G:cr=^M:do=^J:le=^H:
                   8405: gt42|dec gt42:\
                   8406:        :os:\
                   8407:        :co#72:li#40:\
                   8408:        :bl=^G:cr=^M:do=^J:le=^H:
                   8409: vt50|dec vt50:\
                   8410:        :co#80:li#12:\
                   8411:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:\
                   8412:        :nd=\EC:sf=^J:ta=^I:up=\EA:
                   8413: vt50h|dec vt50h:\
                   8414:        :co#80:li#12:\
                   8415:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   8416:        :do=^J:le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.3     ! deraadt  8417: # (vt61: there's a BSD termcap that claims <dl1>=\EPd, <il1>=\EPf. <kbs>=^H)
1.2       deraadt  8418: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  8419:        :co#80:li#24:\
                   8420:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:\
                   8421:        :do=^J:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   8422:        :sf=\n:sr=\EI:ta=^I:up=\EA:
                   8423:
                   8424: # The gigi does standout with red!
1.2       deraadt  8425: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  8426: gigi|vk100|dec gigi graphics terminal:\
                   8427:        :am:xn:\
                   8428:        :co#84:li#24:\
1.3     ! deraadt  8429:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          8430:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          8431:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
        !          8432:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
        !          8433:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
        !          8434:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          8435:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:\
        !          8436:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  8437:
                   8438: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   8439: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   8440: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   8441: # a format program, so you had to buy pre-formatted floppies from DEC at
                   8442: # a hefty premium!).
                   8443: pro350|decpro|dec pro console:\
1.2       deraadt  8444:        :co#80:it#8:li#24:\
1.1       deraadt  8445:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   8446:        :do=\EB:ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:\
                   8447:        :k5=\EJ:k6=\Ei:k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
1.2       deraadt  8448:        :ku=\EA:le=^H:nd=\EC:se=\E^N:so=\E^H:sr=\EI:ta=^I:\
                   8449:        :ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  8450:
                   8451: dw1|decwriter I:\
                   8452:        :hc:os:\
                   8453:        :co#72:\
                   8454:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   8455: dw2|decwriter|dw|decwriter II:\
                   8456:        :hc:os:\
                   8457:        :co#132:\
                   8458:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   8459:
                   8460: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   8461: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   8462: # \E[w         10 char/in pitch
                   8463: # \E[1;132     full width horizontal margins
                   8464: # \E[2g                clear all tab stops
                   8465: # \E[z         6 lines/in
                   8466: # \E[66t       66 lines/page (for \f)
                   8467: # \E[1;66r     full vertical page can be printed
                   8468: # \E[4g                clear vertical tab stops
                   8469: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  8470: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  8471: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   8472: #              a tab stop)
                   8473: #
                   8474: #       The dw3 does standout with wide characters.
                   8475: #
                   8476: dw3|la120|decwriter III:\
                   8477:        :hc:os:\
                   8478:        :co#132:\
                   8479:        :bl=^G:cr=^M:do=^J:\
                   8480:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   8481:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
                   8482:        :kb=^H:le=^H:se=\E[w:sf=^J:so=\E[6w:ta=^I:
                   8483: dw4|decwriter IV:\
                   8484:        :am:hc:os:\
                   8485:        :co#132:\
                   8486:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:\
                   8487:        :k3=\EOS:kb=^H:le=^H:sf=^J:ta=^I:
                   8488:
1.3     ! deraadt  8489: # These aren't official
        !          8490: ln03|dec ln03 laser printer:\
        !          8491:        :hc:\
        !          8492:        :co#80:li#66:\
        !          8493:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:nw=^M^J:se=\E[22m:\
        !          8494:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
        !          8495: ln03-w|dec ln03 laser printer 132 cols:\
        !          8496:        :co#132:\
        !          8497:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:\
        !          8498:        :ta=^I:tc=ln03:
        !          8499:
1.1       deraadt  8500: #### Delta Data (dd)
                   8501: #
                   8502:
                   8503: # Untested. The cup sequence is hairy enough that it probably needs work.
                   8504: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   8505: # There are BSD-derived termcap entries floating around for this puppy
                   8506: # that are *certainly* wrong.
                   8507: delta|dd5000|delta data 5000:\
                   8508:        :am:\
                   8509:        :co#80:li#27:\
                   8510:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:\
                   8511:        :ho=^NQ:le=^H:nd=^Y:sf=^J:up=^Z:
                   8512:
                   8513: #### Digital Data Research (ddr)
                   8514: #
                   8515:
1.2       deraadt  8516: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8517: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.2       deraadt  8518:        :am:xn:\
                   8519:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt  8520:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
        !          8521:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
        !          8522:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          8523:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:\
        !          8524:        :ks=\E[?1h\E=:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:\
        !          8525:        :me=2\E[m:mr=2\E[7m:nd=2\E[C:\
        !          8526:        :r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          8527:        :rf=/usr/share/lib/tabset/vt100:sc=\E7:se=\E[m:\
        !          8528:        :sf=5\ED:so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
        !          8529:        :us=2\E[4m:
1.1       deraadt  8530:
                   8531: #### General Electric (ge)
                   8532: #
                   8533:
                   8534: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
                   8535:        :hc:os:\
                   8536:        :co#120:\
                   8537:        :bl=^G:cr=^M:do=^J:sf=^J:
                   8538:
                   8539: #### Heathkit/Zenith
                   8540: #
                   8541:
1.2       deraadt  8542: # Here is a description of the H19 DIP switches:
                   8543: #
                   8544: # S401
                   8545: # 0-3 = baud rate as follows:
                   8546: #
                   8547: #         3       2       1       0
                   8548: #      ---     ---     ---     ---
                   8549: #         0       0       1       1       300 baud
                   8550: #         0       1       0       1       1200 baud
                   8551: #         1       0       0       0       2400 baud
                   8552: #         1       0       1       0       4800 baud
                   8553: #         1       1       0       0       9600 baud
                   8554: #         1       1       0       1       19.2K baud
                   8555: #
                   8556: # 4 = parity (0 = no parity)
                   8557: # 5 = even parity (0 = odd parity)
                   8558: # 6 = stick parity (0 = normal parity)
                   8559: # 7 = full duplex (0 = half duplex)
                   8560: #
                   8561: # S402
                   8562: # 0 = block cursor (0 = underscore cursor)
                   8563: # 1 = no key click (0 = keyclick)
                   8564: # 2 = wrap at end of line (0 = no wrap)
                   8565: # 3 = auto LF on CR (0 = no LF on CR)
                   8566: # 4 = auto CR on LF (0 = no CR on LF)
                   8567: # 5 = ANSI mode (0 = VT52 mode)
                   8568: # 6 = keypad shifted (0 = keypad unshifted)
                   8569: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   8570: #
                   8571: # Factory Default settings are as follows:
                   8572: #          7 6 5 4 3 2 1 0
                   8573: # S401     1 0 0 0 1 1 0 0
                   8574: # S402     0 0 0 0 0 0 0 0
                   8575: # (h19: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8576: h19-a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
                   8577:        :am:mi:ms:\
                   8578:        :co#80:it#8:li#24:\
1.3     ! deraadt  8579:        :RA=\E[?7l:SA=\E[?7h:ae=\E[11m:al=\E[1L:as=\E[10m:\
        !          8580:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          8581:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:\
        !          8582:        :im=\E[4h:\
1.2       deraadt  8583:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:\
1.1       deraadt  8584:        :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:\
                   8585:        :k7=\EOQ:k8=\EOR:kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:\
1.3     ! deraadt  8586:        :kr=\E[1C:ku=\E[1A:l6=blue:l7=red:l8=white:le=^H:\
        !          8587:        :nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          8588:        :up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  8589: h19-bs|heathkit w/keypad shifted:\
                   8590:        :ke=\Eu:ks=\Et:tc=h19-b:
                   8591: h19-smul|heathkit w/keypad shifted/underscore cursor:\
                   8592:        :ke=\Eu:ks=\Et:tc=h19-u:
1.3     ! deraadt  8593: # (h19: merged in <ip> from BSDI hp19-e entry>
1.1       deraadt  8594: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
                   8595:        :am:es:hs:mi:ms:\
                   8596:        :co#80:it#8:li#24:\
                   8597:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
                   8598:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=\EO:\
1.3     ! deraadt  8599:        :fs=\Ek\Ey5:ho=\EH:im=\E@:ip=1.5<1.5/>:k1=\ES:k2=\ET:\
        !          8600:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:\
        !          8601:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:\
        !          8602:        :l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:sr=\EI:\
        !          8603:        :ta=^I:ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:\
        !          8604:        :ve=\Ey4:vs=\Ex4:
1.1       deraadt  8605: h19-u|heathkit with underscore cursor:\
                   8606:        :ve@:vs@:tc=h19-b:
1.3     ! deraadt  8607: h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
        !          8608:        :ke=\Eu:ks=\Et:tc=h19-u:
        !          8609: h19-g|h19g|heathkit w/block cursor:\
        !          8610:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  8611: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   8612:        :li#60:\
                   8613:        :al=\EL:dl=\EM:tc=h19:
                   8614:
1.3     ! deraadt  8615: # The major problem with the Z29 is that it requires more padding than the Z19.
        !          8616: #
        !          8617: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  8618: # it needs more padding. It especially loses if a program attempts
                   8619: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   8620: # even loses worse if the program attempts to insert tabs at 9600
                   8621: # baud. Adding padding to text that is inserted loses because in
                   8622: # order to make the Z29 not die, one must add so much padding that
                   8623: # whenever the program tries to use insert mode, the effective
                   8624: # rate is about 110 baud.
                   8625: #
                   8626: # What program would want to put the terminal into insert mode
                   8627: # and shove stuff at it at 9600 baud you ask?
                   8628: #
                   8629: # Emacs. Emacs seems to want to do the mathematically optimal
                   8630: # thing in doing a redisplay rather than the practical thing.
                   8631: # When it is about to output a line on top of a line that is
                   8632: # already on the screen, instead of just killing to the end of
1.3     ! deraadt  8633: # the line and outputting the new line, it compares the old line
1.1       deraadt  8634: # and the new line and if there are any similarities, it
                   8635: # constructs the new line by deleting the text on the old line
                   8636: # on the terminal that is already there and then inserting new
                   8637: # text into the line to transform it into the new line that is
                   8638: # to be displayed. The Z29 does not react kindly to this.
                   8639: #
                   8640: # But don't cry for too long.... There is a solution. You can make
                   8641: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   8642: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   8643: # line will be really slow", you say. Well there is a sort of a
                   8644: # solution to that too. There is an insert character option on
                   8645: # the Z29 that will insert one character. Unfortunately, it
                   8646: # involves putting the terminal into ansi mode, inserting the
                   8647: # character, and changing it back to H19 mode. All this takes 12
                   8648: # characters. Pretty expensive to insert one character, but it
                   8649: # works. Either Emacs doesn't try to use its inserting hack when
                   8650: # it's only given an insert character ability or the Z29 doesn't
                   8651: # require padding with this (the former is probably more likely,
                   8652: # but I haven't checked it out).
                   8653: z29|zenith29|z29b|zenith z29b:\
                   8654:        :am:ms:\
                   8655:        :co#80:li#24:\
                   8656:        :ae=\EF:al=\EL:as=\EG:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
                   8657:        :cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=:\
                   8658:        :ho=\EH:ic=\E<\E[1@\E[?2h:im=:is=\E<\E[?2h\Ev:k0=\E~:\
                   8659:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:\
                   8660:        :k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
1.3     ! deraadt  8661:        :ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
        !          8662:        :sr=\EI:ta=^I:ue=\Es0:up=\EA:us=\Es8:ve=\Ey4:vs=\Ex4:
        !          8663: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
        !          8664: # the world is stable. <rs1> causes the terminal to be reset to the state
        !          8665: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
        !          8666: # cursor, bc -> block cursor.
        !          8667: # From: Mike Meyers
        !          8668: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
        !          8669:        :es:hs:\
        !          8670:        :co#80:it#8:li#24:\
        !          8671:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          8672:        :RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
        !          8673:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:\
        !          8674:        :dc=\E[1P:do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
        !          8675:        :if=/usr/share/tabset/zenith29:k0=\E[~:k1=\EOS:\
        !          8676:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:\
        !          8677:        :k8=\EOR:k9=\EOX:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:\
        !          8678:        :kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:l0=help:le=^H:\
        !          8679:        :mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          8680:        :nw=^M\ED:ps=\E#7:\
        !          8681:        :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:\
        !          8682:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:\
        !          8683:        :st=\EH:ta=^I:te=\E[?7h:ti=\E[?7l:\
        !          8684:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
        !          8685:        :us=\E[4m:
        !          8686: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
        !          8687:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:tc=z29a:
        !          8688: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
        !          8689:        :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:tc=z29a:
        !          8690: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
        !          8691:        :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:tc=z29a:
1.2       deraadt  8692: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   8693: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3     ! deraadt  8694:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  8695:        :co#80:li#24:\
1.3     ! deraadt  8696:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          8697:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          8698:        :RI=\E[%dC:UP=\E[%dA:\
        !          8699:        :ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a:ae=\E(B:\
        !          8700:        :al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
        !          8701:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  8702:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   8703:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
                   8704:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:\
                   8705:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
1.3     ! deraadt  8706:        :k9=\EOX:kS=\E[J:kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:\
        !          8707:        :kl=\E[D:kr=\E[C:ks=\E[>7h:ku=\E[A:le=^H:ll=\E[24;1H:\
1.2       deraadt  8708:        :mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:\
1.3     ! deraadt  8709:        :nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[?19h\E[i:\
        !          8710:        :r2=\E<\Ec\200:rc=\E[u:sc=\E[s:se=\E[0m:sf=^J:\
        !          8711:        :so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
        !          8712:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  8713:
                   8714: # From: Brad Brahms <Brahms@USC-ECLC>
                   8715: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
                   8716:        :ve=\Ey4\Em70:vs=\Ex4\Em71:tc=z100bw:
1.2       deraadt  8717: # (z100bw: removed obsolete ":kn#10:" -- esr)
1.1       deraadt  8718: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.2       deraadt  8719:        :mi:ms:\
                   8720:        :co#80:it#8:li#24:\
1.1       deraadt  8721:        :ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
                   8722:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:\
                   8723:        :ho=\EH:im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:\
                   8724:        :k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:\
1.2       deraadt  8725:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:\
                   8726:        :so=\Ep:sr=\EI:ta=^I:up=\EA:ve=\Ey4:vs=\Ex4:
                   8727: p19|h19-b with il1/dl1:\
1.1       deraadt  8728:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   8729: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  8730: # (ztx: removed duplicate :sr: -- esr)
                   8731: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
                   8732:        :am:es:hs:\
                   8733:        :co#80:it#8:li#24:\
1.1       deraadt  8734:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:\
                   8735:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
                   8736:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
                   8737:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:\
                   8738:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.2       deraadt  8739:        :se=\Eq:so=\Es5:sr=\EI:ta=^I:\
                   8740:        :ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:us=\Es2:
1.1       deraadt  8741:
                   8742: #### IMS International (ims)
                   8743: #
                   8744: # There was a company called IMS International located in Carson City,
                   8745: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   8746: # bus/Z80 hardware and a line of terminals called Ultimas.
                   8747:
                   8748: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   8749: ims950-b|bare ims950 no init string:\
                   8750:        :is@:tc=ims950:
                   8751: # (ims950: removed obsolete ":ko@:" -- esr)
                   8752: ims950|ims televideo 950 emulation:\
                   8753:        :xn@:\
                   8754:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:\
                   8755:        :kl@:kr@:ku@:vb@:tc=tvi950:
                   8756: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   8757: ims950-rv|ims tvi950 rev video:\
                   8758:        :xn@:\
                   8759:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:\
                   8760:        :kl@:kr@:ku@:vb@:tc=tvi950-rv:
                   8761: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.2       deraadt  8762:        :am:\
                   8763:        :co#80:it#8:li#24:\
                   8764:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:\
1.1       deraadt  8765:        :do=\ED:if=/usr/share/tabset/vt100:\
1.2       deraadt  8766:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:\
                   8767:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:se=\E[m\E[1m:\
                   8768:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  8769:
                   8770: #### Intertec Data Systems
                   8771: #
                   8772: # I think this company is long dead as of 1995.  They made an early CP/M
                   8773: # micro called the "Intertec Superbrain" that was moderately popular,
                   8774: # then sank out of sight.
                   8775: #
                   8776:
                   8777: superbrain|intertec superbrain:\
                   8778:        :am:bw:\
                   8779:        :co#80:li#24:\
                   8780:        :bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
                   8781:        :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:\
                   8782:        :sf=^J:ta=^I:te=^L:ti=^L:up=^K:
                   8783: intertube|intertec|Intertec InterTube:\
                   8784:        :am:\
                   8785:        :co#80:li#25:\
                   8786:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:\
                   8787:        :nd=^F:se=\E0@:sf=^J:so=\E0P:up=^Z:
                   8788: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   8789: # are typing and a command comes in, the keystrokes you type get interspersed
                   8790: # with the command and it messes up
1.2       deraadt  8791: intertube2|intertec data systems intertube 2:\
1.3     ! deraadt  8792:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
        !          8793:        :ll=^K^X\r:tc=intertube:
1.2       deraadt  8794:
                   8795: #### Ithaca Intersystems
                   8796: #
                   8797: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   8798: # past.  They used to be reachable at:
                   8799: #
                   8800: #      Ithaca Intersystems
                   8801: #      1650 Hanshaw Road
                   8802: #      Ithaca, New York 14850
                   8803: #
                   8804: # However, the outfit went bankrupt years ago.
                   8805: #
                   8806:
                   8807: # The Graphos III was a color graphics terminal frome Ithaca Intersystems.
                   8808: # These entries were written (originally in termcap syntax) by Brian Yandell
                   8809: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   8810: # University of Wisconsin.
                   8811:
                   8812: # (graphos: removed obsolete and syntactically incorrect :kn=4: -- esr)
                   8813: graphos|graphos III:\
                   8814:        :am:mi:\
                   8815:        :co#80:it#8:li#24:\
                   8816:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   8817:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   8818:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:\
                   8819:        :do=\E[B:ed=\E[4l:ei=\E[4l:ho=\E[H:\
                   8820:        :if=/usr/share/tabset/init.graphos:im=\E[4h:k1=\EOP:\
                   8821:        :k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
                   8822:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M\ED:\
1.3     ! deraadt  8823:        :rc=\E8:rf=/usr/lib/tabset/init.graphos:sc=\E7:\
        !          8824:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
        !          8825:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  8826:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   8827: graphos-30|graphos III with 30 lines:\
                   8828:        :li#30:\
                   8829:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  8830:
                   8831: #### Modgraph
                   8832: #
                   8833: # These people used to be reachable at:
                   8834: #
                   8835: #      Modgraph, Inc
                   8836: #      1393 Main Street,
                   8837: #      Waltham, MA 02154
                   8838: #      Vox: (617)-890-5796.
                   8839: #
                   8840: # However, if you call that number today you'll get an insurance company.
                   8841: # I think Modgraph is long gone.
                   8842: #
                   8843:
                   8844: modgraph|mod|modgraph terminal emulating vt100:\
                   8845:        :xn@:\
                   8846:        :co#80:li#24:\
                   8847:        :is=\E^9;0s\E^7;1s\E[3g\E^11;9s\E^11;17s\E^11;25s\E^11;33s\E^11;41s\E^11;49s\E^11;57s\E^11;65s\E^11;73s\E^11;81s\E^11;89s:\
1.3     ! deraadt  8848:        :rf@:sr=5\EM\E[K:vs=\E^9;0s\E^7;1s:tc=vt100:
1.2       deraadt  8849: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   8850: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   8851:        :am:da:db:\
                   8852:        :co#80:it#8:li#24:\
1.1       deraadt  8853:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
                   8854:        :is=\E<\E^5;2s\E^7;1s\E[3g\E^11;9s\E^11;17s\E^11;25s\E^11;33s\E^11;41s\E^11;49s\E^11;57s\E^11;65s\E^11;73s\E^11;81s\E^11;89s\E^12;0s\E^14;2s\E^15;9s\E^25;1s\E^9;1s\E^27;1:\
1.2       deraadt  8855:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.1       deraadt  8856:
                   8857: #### Morrow Designs
                   8858: #
                   8859: # This was George Morrow's company.  They started in the late 1970s making
                   8860: # S100-bus machines.  They used to be reachable at:
                   8861: #
                   8862: #        Morrow
                   8863: #        600 McCormick St.
                   8864: #        San Leandro, CA 94577
                   8865: #
                   8866: # but they're long gone now (1995).
                   8867: #
                   8868:
                   8869: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   8870: # Jeff's specimen was dated June 1984.
                   8871: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   8872: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   8873:        :am:mi:ms:xo:\
                   8874:        :co#80:it#8:li#24:\
1.3     ! deraadt  8875:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:\
        !          8876:        :F5=^Ad\r:F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:\
        !          8877:        :FA=^Ai\r:ac=+z\\\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ:\
1.1       deraadt  8878:        :ae=\E%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   8879:        :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:\
                   8880:        :ei=:ho=^^:i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:\
                   8881:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
1.3     ! deraadt  8882:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=^A^Z\r:\
        !          8883:        :kC=^An\r:kD=\177:kb=^H:kd=^AK\r:kh=^AN\r:kl=^AL\r:\
        !          8884:        :kr=^AM\r:ku=^AJ\r:le=^H:me=\EG0:mh=\EG2:mr=\EG4:\
        !          8885:        :nd=^L:nw=^_:se=\EG0:sf=^J:so=\EG4:ta=^I:\
        !          8886:        :ti=\E"2\EG0\E]:up=^K:us=\EG1:vb=\EK1\EK0:ve=\E"2:\
        !          8887:        :vi=\E"0:
1.1       deraadt  8888:
                   8889: #### Omron
                   8890: #
                   8891: # This company is still around in 1995, manufacturing point-of-sale systems.
                   8892:
                   8893: omron|Omron 8025AG:\
1.2       deraadt  8894:        :am:da:db:\
1.1       deraadt  8895:        :co#80:li#24:\
                   8896:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:\
                   8897:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:\
                   8898:        :so=\Ef:sr=\ET:up=\EA:vs=\EN:
                   8899:
1.2       deraadt  8900: #### Signetics
                   8901: #
                   8902:
                   8903: # From University of Wisconsin
                   8904: vsc|Signetics Vsc Video driver by RMC:\
                   8905:        :am:ms:\
                   8906:        :co#80:it#8:li#26:\
                   8907:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   8908:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_!:mr=^_ :\
                   8909:        :nd=\E[C:nw=^M^J:se=^_!:sf=^J:so=^_ :ta=^I:ue=^_#:\
                   8910:        :up=\E[A:us=^_":
                   8911:
1.1       deraadt  8912: #### Soroc
                   8913: #
1.2       deraadt  8914: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   8915: #
                   8916: # As you may recall, the Soroc logo consisted of their name,
                   8917: # with the letter "S" superimposed over an odd design.   This
                   8918: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   8919: # wedge with rounded corners inside it.   The color was sort of
                   8920: # a metallic gold/yellow.
                   8921: #
                   8922: # If I had been more of a beer drinker it might have been obvious
                   8923: # to me, but it took a clue from their service department to make
                   8924: # me exclaim, "Of course!"   The circular object was the top of
                   8925: # a beer can (the old removable pop-top style) and "Soroc" was an
                   8926: # anagram for "Coors".
                   8927: #
                   8928: # I can just imagine the founders of the company sitting around
                   8929: # one evening, tossing back a few and trying to decide what to
                   8930: # call their new company and what to use for a logo.
                   8931: #
1.1       deraadt  8932:
                   8933: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3     ! deraadt  8934: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  8935:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   8936: soroc140|iq140|soroc iq140:\
                   8937:        :am:mi:\
                   8938:        :co#80:li#24:\
                   8939:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:\
                   8940:        :cm=\E=%+ %+ :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:\
                   8941:        :im=\E9:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   8942:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:\
                   8943:        :kh=^^:kr=^L:ku=^K:le=^H:ll=^^^K:nd=^L:se=\E\177:\
                   8944:        :sf=^J:so=\E\177:ue=\E^A:up=^K:us=\E^A:
                   8945:
                   8946: #### Southwest Technical Products
                   8947: #
                   8948: # These guys made an early personal micro called the M6800.
                   8949: # The ct82 was probably its console terminal.
                   8950: #
                   8951:
                   8952: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   8953: swtp|ct82|southwest technical products ct82:\
                   8954:        :am:\
                   8955:        :co#82:li#20:\
                   8956:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:\
                   8957:        :dc=^^H:dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
                   8958:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   8959:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   8960:
                   8961: #### Synertek
                   8962: #
                   8963: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   8964: #
                   8965: # Synertek used to make ICs, various 6502-based single-board process
                   8966: # control and hobbyist computers, and assorted peripherals including a
                   8967: # series of small inexpensive terminals (I think they were one of the
                   8968: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   8969: # was only slightly larger than the keyboard).
                   8970: #
                   8971: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   8972: # was a 40x24 terminal that could connect to a standard TV through a
                   8973: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   8974: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   8975: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   8976: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   8977: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   8978: # and I've never had any problems with mine (witness the fact that mine
                   8979: # was made in 1981 and is still working great... I've blown the video
                   8980: # output transistor a couple of times, but it's a 2N2222 :-)
                   8981: #
                   8982: # The KTM-3 (which is what is listed in the terminfo file) was their
                   8983: # attempt at putting a KTM-2 in a box (and some models came with a
                   8984: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   8985: # control and escape sequences are very different. The KTM-3 was always
                   8986: # real broken, at least according to the folks I've talked to about it.
                   8987: #
                   8988: # The padding in the entry is probably off--these terminals were very
                   8989: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   8990: # anyone with any sanity replaced the ROMs with something that provided
                   8991: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   8992: # obviously very primitive... oh, you could get an upgraded ROM from
                   8993: # Synertek for some incredible amount of money, but what hacker with an
                   8994: # EPROM burner would do that? :)
                   8995: #
                   8996: # Sorry I don't have any contact info; I believe they were located in
                   8997: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   8998: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   8999: # business these days.
                   9000:
                   9001: # Tested, seems to work fine with vi.
                   9002: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   9003:        :am:\
                   9004:        :co#80:li#24:\
                   9005:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   9006:
                   9007: #### Tab Office Products
                   9008: #
                   9009: #      TAB Products Co. - Palo Alto, California
                   9010: #      Electronic Office Products,
                   9011: #      1451 California Avenue 94304
                   9012: #
                   9013: # I think they're out of business.
                   9014: #
                   9015:
                   9016: # The tab 132 uses xon/xoff, so no padding needed.
1.2       deraadt  9017: # <smkx>/<rmkx> have nothing to do with arrow keys.
                   9018: # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
1.1       deraadt  9019: # Seems to be no way to get rid of status line.
                   9020: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  9021: # compatible but looks more vt100-like.
1.1       deraadt  9022: tab132|tab|tab132-15|tab 132/15:\
                   9023:        :da:db:\
                   9024:        :co#80:dN@:li#24:lm#96:\
                   9025:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:\
                   9026:        :ei=\E[4l:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:\
                   9027:        :kl=\E[D:ks@:ku=\E[A:tc=vt100:
                   9028: tab132-w|tab132 in wide mode:\
                   9029:        :co#132:\
                   9030:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   9031: tab132-rv|tab132 in reverse-video mode:\
                   9032:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   9033: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   9034:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   9035:
                   9036:
                   9037: #### Teleray
                   9038: #
                   9039: #      Research Incorporated
                   9040: #      6425 Flying Cloud Drive
                   9041: #      Eden Prairie, MN 55344
                   9042: #      Vox: (612)-941-3300
                   9043: #
                   9044: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   9045: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   9046: # people believe that all the types listed below are very rare now (1995).
                   9047: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   9048: # Model 100) that were ANSI-compatible.
                   9049: #
                   9050: # Note two things called "teleray".  Reorder should move the common one
                   9051: # to the front if you have either.  A dumb teleray with the cursor stuck
                   9052: # on the bottom and no obvious model number is probably a 3700.
                   9053: #
                   9054:
                   9055: t3700|dumb teleray 3700:\
                   9056:        :co#80:li#24:\
                   9057:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   9058: t3800|teleray 3800 series:\
1.2       deraadt  9059:        :co#80:it#8:li#24:\
1.1       deraadt  9060:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:\
                   9061:        :ho=\EH:le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
                   9062: t1061|teleray|teleray 1061:\
                   9063:        :am:km:xs:xt:\
1.2       deraadt  9064:        :co#80:it#8:li#24:sg#1:ug#1:\
1.1       deraadt  9065:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :\
                   9066:        :cr=^M:ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:\
                   9067:        :im=:ip=:\
                   9068:        :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:\
                   9069:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:\
                   9070:        :k8=^Z8:le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:\
                   9071:        :ta=^I:ue=\ER@:up=\EA:us=\ERH:
                   9072: t1061f|teleray 1061 with fast PROMs:\
                   9073:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3     ! deraadt  9074: # "Teleray Arpa Special", officially designated as
1.1       deraadt  9075: # "Teleray Arpa network model 10" with "Special feature 720".
                   9076: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3     ! deraadt  9077: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  9078: # converts the keypad to programmable function keys, and has other goodies.
                   9079: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   9080: # programs handle such lossage properly.
                   9081: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   9082: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  9083: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  9084: t10|teleray 10 special:\
1.2       deraadt  9085:        :km:xs:xt:\
                   9086:        :co#80:it#8:li#24:sg#2:ug#2:\
1.1       deraadt  9087:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:\
1.2       deraadt  9088:        :dl=\EM:ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\200:\
                   9089:        :se=\ER@:sf=\Eq:so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:\
                   9090:        :us=\ERH:
1.1       deraadt  9091: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   9092: # back/forth words. Put the function keys (f1-f10) where they can be
                   9093: # found, and turn off the other magic keys along the top row, except
                   9094: # for line/local. Do the magic appropriate to make the page shifts work.
                   9095: # Also toggle ^S/^Q for those of us who use Emacs.
                   9096: t16|teleray 16:\
                   9097:        :am:da:db:mi:xs:xt:\
                   9098:        :co#80:li#24:\
                   9099:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
                   9100:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
                   9101:        :ei=\E[4l:ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:\
1.3     ! deraadt  9102:        :k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:\
        !          9103:        :le=^H:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\E[T:ta=^I:\
1.1       deraadt  9104:        :te=\E[V\E[24;1f\E[?38h:ti=\E[U\E[?38l:ue=\E[m:\
                   9105:        :up=\E[A:us=\E[4m:
                   9106:
                   9107: #### Texas Instruments (ti)
                   9108: #
                   9109:
1.2       deraadt  9110: # The Silent 700 was so called because it was built around a quiet thermal
                   9111: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   9112: # neat for its day.
                   9113: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
                   9114:        :hc:os:\
                   9115:        :co#80:\
1.1       deraadt  9116:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  9117:
1.1       deraadt  9118: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
                   9119:        :am:xo:\
                   9120:        :co#80:it#8:li#24:\
                   9121:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
                   9122:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:\
                   9123:        :dl=\E[M:do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   9124:        :k4=\EOS:k5=\E[16~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
1.2       deraadt  9125:        :k9=\E[20~:kD=\E[P:kI=\E[@:kb=^H:kd=\E[B:kl=\E[D:\
                   9126:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   9127:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
                   9128:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   9129:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9130: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   9131:        :am:xo:\
                   9132:        :co#80:it#8:li#24:\
                   9133:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
                   9134:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:\
                   9135:        :dl=\E[M:do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:\
                   9136:        :k3=R\217>:k4=S\217>:k5=~\23316>:k6=~\23317>:\
1.2       deraadt  9137:        :k7=~\23318>:k8=~\23319>:k9=~\23320>:kD=P\233>:\
                   9138:        :kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
                   9139:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   9140:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:\
                   9141:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   9142:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9143: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3     ! deraadt  9144:        :co#132:tc=ti924:
1.1       deraadt  9145: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3     ! deraadt  9146:        :co#132:tc=ti924-8:
1.1       deraadt  9147: ti931|Texas Instruments 931 VDT:\
                   9148:        :am:xo:\
                   9149:        :co#80:li#24:\
1.2       deraadt  9150:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :\
                   9151:        :cr=^M:dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:\
                   9152:        :im=:is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:\
                   9153:        :k4=\Ei4:k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:\
1.3     ! deraadt  9154:        :kA=\EN:kD=\EQ:kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:\
        !          9155:        :ku=\EA:le=\ED:mb=\E4P:me=\E4@:mk=\E4H:mr=\E4B:\
        !          9156:        :nd=\EC:se=\E4@:sf=\Ea:so=\E4A:sr=\Eb:ue=\E4@:up=\EA:\
        !          9157:        :us=\E4D:ve=\E4@:
1.1       deraadt  9158: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   9159:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  9160: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  9161: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.2       deraadt  9162:        :cs@:sf=\2331S:sr=\2331T:tc=ti924-8:
1.1       deraadt  9163: ti_ansi|basic entry for ti928:\
1.3     ! deraadt  9164:        :am:eo:ut:xn:xo:\
        !          9165:        :Co#8:co#80:it#8:li#25:pa#64:\
        !          9166:        :@7=\E[F:Sb=\E[4%dm:Sf=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
        !          9167:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
        !          9168:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          9169:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
        !          9170:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:\
        !          9171:        :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          9172:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:\
        !          9173:        :op=\E[37;40m:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
        !          9174:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  9175: #
                   9176: #       928 VDT 7 bit control mode
                   9177: #
1.2       deraadt  9178: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.3     ! deraadt  9179:        :%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
        !          9180:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
        !          9181:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
        !          9182:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:tc=ti_ansi:
1.1       deraadt  9183: #
                   9184: #       928 VDT 8 bit control mode
                   9185: #
1.2       deraadt  9186: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.3     ! deraadt  9187:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:\
        !          9188:        :F2=\23331~:F3=\23332~:F5=\23334~:k1=\23317~:\
        !          9189:        :k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:\
        !          9190:        :k6=\23323~:k7=\23324~:k8=\23325~:k9=\23326~:\
        !          9191:        :k;=\23328~:kD=\233P:kI=\233@:kN=\233S:kP=\233T:\
1.2       deraadt  9192:        :kh=\233H:tc=ti_ansi:
1.1       deraadt  9193:
                   9194: #### Zentec (zen)
                   9195: #
                   9196:
                   9197: # (zen30: removed obsolete ":ma=^L ^R^L^K^P:" -- esr)
                   9198: zen30|z30|zentec 30:\
1.2       deraadt  9199:        :am:mi:ul:\
1.1       deraadt  9200:        :co#80:li#24:\
                   9201:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
                   9202:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:\
                   9203:        :nd=^L:se=\EG0:sf=^J:so=\EG6:up=^K:
1.2       deraadt  9204: # (zen50: this had extension capabilities
1.1       deraadt  9205: #      :BS=^U:CL=^V:CR=^B:
                   9206: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   9207: # which were also in the original entry -- esr)
                   9208: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   9209: zen50|z50|zentec zephyr:\
1.2       deraadt  9210:        :am:\
1.1       deraadt  9211:        :co#80:li#24:sg#1:\
                   9212:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
                   9213:        :dl=\ER:ei=:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
1.2       deraadt  9214:        :le=^H:se=\EGO:so=\EG4:up=^K:
                   9215:
                   9216: ######## OBSOLETE UNIX CONSOLES
                   9217: #
                   9218:
                   9219: #### Masscomp consoles
                   9220: #
                   9221: # Masscomp has gone out of business.  Their product line was purchased by
                   9222: # comany in Georgia (US) called "XS International", parts and service may
                   9223: # still be available through them.
                   9224: #
                   9225:
                   9226: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   9227: masscomp|masscomp workstation console:\
                   9228:        :km:mi:\
                   9229:        :co#80:it#8:li#24:\
                   9230:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:\
                   9231:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:\
                   9232:        :is=\EGc\EGb\EGw:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:\
                   9233:        :ku=\EOA:le=^H:nd=\E[C:se=\E[m:so=\E[7m:ta=^I:\
                   9234:        :ue=\EGau:up=\E[A:us=\EGu:
                   9235: masscomp1|masscomp large screen version 1:\
1.3     ! deraadt  9236:        :co#104:li#36:tc=masscomp:
1.2       deraadt  9237: masscomp2|masscomp large screen version 2:\
1.3     ! deraadt  9238:        :co#64:li#21:tc=masscomp:
        !          9239:
        !          9240: #### DEC consoles
        !          9241: #
        !          9242:
        !          9243: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
        !          9244: # The digital uVax II's had a graphic display called a qdss.  It was
        !          9245: # supposed to be a high performance graphic accelerator, but it was
        !          9246: # late to market and barely appeared before faster dumb frame buffers
        !          9247: # appeared.  I have only used this display while running X11.  However,
        !          9248: # during bootup, it was in text mode, and probably had a terminal emulator
        !          9249: # within it.  And that is what your termcap entry is for.  In graphics
        !          9250: # mode the screen size is 1024x864 pixels.
        !          9251: qdss|qdcons|qdss glass tty:\
        !          9252:        :am:\
        !          9253:        :co#128:li#57:\
        !          9254:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
1.1       deraadt  9255:
                   9256: ######## OTHER OBSOLETE TYPES
                   9257: #
                   9258: # These terminals are *long* dead -- these entries are retained for
                   9259: # historical interest only.
                   9260:
                   9261: #### Obsolete non-ANSI software emulations
                   9262: #
                   9263:
                   9264: # CTRM terminal emulator
                   9265: # 1. underlining is not allowed with colors: first, is is simulated by
                   9266: # black on white, second, it disables background color manipulations.
                   9267: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   9268: # so we have to save their status in the static registers A, B and H
                   9269: # respectively, to be able to restore them when color changes
                   9270: # (because any color change turns off ALL attributes)
1.2       deraadt  9271: # 3. <bold> and <rev> sequences alternate modes,
1.1       deraadt  9272: # rather then simply  entering them.  Thus we have to check the
                   9273: # static register B and H to determine the status, before sending the
                   9274: # escape sequence.
1.2       deraadt  9275: # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  9276: # and then reset colors
                   9277: # 5. implementation of the protect mode would badly penalize the performance.
                   9278: # we would have to use \E&bn sequence to turn off colors (as well as all
                   9279: # other attributes), and keep the status of protect mode in yet another
1.3     ! deraadt  9280: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  9281: # create another terminfo entry.
                   9282: # 6. original color-pair is white on black.
                   9283: # store the information about colors into static registers
                   9284: # 7. set foreground color.  it performs the following steps.
                   9285: #   1) turn off all attributes
1.3     ! deraadt  9286: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  9287: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   9288: #   3) turn on foreground attributes
                   9289: #   4) store information about foreground into U,V,W static registers
                   9290: # 8. turn on background: similar to turn on foreground above
1.3     ! deraadt  9291: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  9292: ctrm|C terminal emulator:\
1.3     ! deraadt  9293:        :am:ut:xo:\
        !          9294:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:\
        !          9295:        :pb#19200:vt#6:\
        !          9296:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          9297:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:\
        !          9298:        :dc=\EP:dl=\EM:do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:\
        !          9299:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:\
        !          9300:        :k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:kb=^H:kd=\Ew\r:ke=\E&jA:\
        !          9301:        :kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ks=\E&jB:ku=\Et\r:le=^H:\
        !          9302:        :mb=\E&dA%{1}%PA:md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  9303:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   9304:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.3     ! deraadt  9305:        :op=\E&bn\E&bB\E&bG\E&bR\n%{0}%PX%{0}%PY%{0}%PZ\n%{1}%PW%{1}%PV%{1}%PU:\
1.1       deraadt  9306:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   9307:
                   9308: # gs6300 - can't use blue foreground, it clashes with underline;
                   9309: # it's simulated with cyan
1.2       deraadt  9310: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3     ! deraadt  9311:        :am:ms:ut:xo:\
        !          9312:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  9313:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3     ! deraadt  9314:        :LE=\E[%dD:LF=\E|:RI=\E[%dC:Sb=\E[?;%dm:\
        !          9315:        :..Sf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m:\
        !          9316:        :UP=\E[%dA:\
        !          9317:        :ac=\\\054\\\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          9318:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
        !          9319:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          9320:        :do=^J:ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:\
        !          9321:        :k2=\E[24s:k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:\
        !          9322:        :k7=\E[3s:k8=\E[21s:kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:\
        !          9323:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !          9324:        :me=\E[m\E[10m:mr=\E[7m:nd=\E[C:op=\E[?;m:pf=\E[4i:\
        !          9325:        :po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:ta=^I:\
1.2       deraadt  9326:        :up=\E[A:us=\E[4m:
1.1       deraadt  9327:
                   9328: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   9329: # MS-Kermit with Heath-19 emulation mode enabled
                   9330: # (h19k: changed ":pt@:" to ":it@"
                   9331: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   9332:        :am@:da:db:xt:\
                   9333:        :it@:\
                   9334:        :ta@:tc=h19-u:
                   9335:
1.2       deraadt  9336: # Apple Macintosh with Versaterm, a terminal emulator formerly
                   9337: # distributed by Peripherals Computers & Supplies, Inc
                   9338: # 2232 Perkiomen Ave., Mt. Penn, PA 19606, (215) 779-0522
                   9339: # The number no longer reaches them and they are no longer listed.
                   9340: versaterm|versaterm vt100 emulator for the macintosh:\
                   9341:        :am:xn:\
                   9342:        :co#80:it#8:li#24:\
                   9343:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   9344:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   9345:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   9346:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   9347:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:\
                   9348:        :ks=\E=\E[?1h:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
1.3     ! deraadt  9349:        :me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
        !          9350:        :rf=/usr/lib/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
        !          9351:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  9352:
                   9353: # vs100 emulator using tsim
                   9354: # From: <lai@decwrl.dec.com>
1.2       deraadt  9355: # (vs100t: had Al/Dl in front of obvious AL/DL capabilities -- esr)
                   9356: vs100t|tsim|vs100-tsim|tsim vs100 emulator:\
                   9357:        :am:\
                   9358:        :co#80:it#8:li#24:\
1.1       deraadt  9359:        :AL=\E+%+ :DL=\E-%+ :al=\EI:cd=\EQ:ce=\EL:cl=\EE:\
                   9360:        :cm=\EM%+ %+ :cs=\ES%+ %+ :dc=\Ed:dl=\ED:do=^J:ei=:\
1.2       deraadt  9361:        :ho=\EH:i1=\ER:ic=\Ei:im=:le=^H:nd=\En:se=\Er:so=\Eh:\
                   9362:        :ta=^I:ue=\Ev:up=^K:us=\Eu:
1.1       deraadt  9363:
                   9364: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  9365: # (xtalk: I added <rmam>/<smam> based on the init string.
                   9366: # I also removed <xmc>#1, I don't believe it on a PC display -- esr)
1.1       deraadt  9367: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   9368:        :am:mi:ms:xo:\
1.2       deraadt  9369:        :co#80:it#8:li#24:vt#3:\
1.3     ! deraadt  9370:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:\
        !          9371:        :K5=\EOn:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
        !          9372:        :UP=\E[%dA:\
        !          9373:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          9374:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          9375:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:\
        !          9376:        :do=^J:eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:\
        !          9377:        :k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:\
        !          9378:        :k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9379:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:nd=\E[C:\
        !          9380:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m :sf=^J:\
        !          9381:        :so=\E[7m :sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  9382:
                   9383: # The official PC terminal emulator program of the AT&T Product Centers.
                   9384: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   9385: simterm|attpc running simterm:\
                   9386:        :am:\
                   9387:        :co#80:li#24:\
                   9388:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :\
                   9389:        :cr=^M:dc=\ER:dl=\EM:do=\EB:ho=\EH:im=\EQ:le=^H:\
                   9390:        :nd=\EC:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
                   9391:
                   9392: #### Daisy wheel printers
                   9393: #
                   9394: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   9395: # wheel terminals.  These are now largely obsolete.
                   9396: #
1.2       deraadt  9397:
                   9398: diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
1.1       deraadt  9399:        :hc:os:\
1.2       deraadt  9400:        :co#132:it#8:\
1.3     ! deraadt  9401:        :ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:\
1.1       deraadt  9402:        :if=/usr/share/tabset/xerox1720:kb=^H:le=^H:st=\E1:\
1.2       deraadt  9403:        :ta=^I:up=\E^J:
1.1       deraadt  9404: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
                   9405:        :co#124:\
1.2       deraadt  9406:        :is=\r        \E9:tc=diablo1620:
1.1       deraadt  9407: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
                   9408:        :bl=^G:if=/usr/share/tabset/xerox1730:se=\E&:so=\EW:\
                   9409:        :ue=\ER:us=\EE:tc=diablo1620:
                   9410: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
                   9411:        :co#124:\
                   9412:        :if=/usr/share/tabset/xerox1730-lm:se=\E&:so=\EW:\
                   9413:        :ue=\ER:us=\EE:tc=diablo1620:
1.2       deraadt  9414: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
1.1       deraadt  9415:        :tc=diablo1640-lm:
1.2       deraadt  9416: # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
                   9417: # <smso>=^P\s\002^PF works but won't go away without dynamite <rmso>=^P\s\200.
1.1       deraadt  9418: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   9419: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   9420: # around all of memory.  Note that return puts a blank ("a return character")
                   9421: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
1.2       deraadt  9422: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   9423: # curses won't work (some old BSD versions) because it doesn't clear this bit,
1.1       deraadt  9424: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   9425: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   9426: # least one line with no tabs in it, and once you tab through that line,
                   9427: # it completely weirds out.
                   9428: dtc382|DTC 382:\
                   9429:        :am:da:db:xs:\
                   9430:        :co#80:li#24:lm#96:\
                   9431:        :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
                   9432:        :cl=\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
                   9433:        :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:\
                   9434:        :te=\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:\
                   9435:        :vs=^PB:
                   9436: dtc300s|DTC 300s:\
                   9437:        :hc:os:\
                   9438:        :co#132:\
                   9439:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:\
                   9440:        :le=^H:sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  9441: gsi|mystery gsi terminal:\
1.1       deraadt  9442:        :hc:os:\
                   9443:        :co#132:\
                   9444:        :bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:\
                   9445:        :up=^Z:
                   9446: aj830|aj832|aj|anderson jacobson:\
1.2       deraadt  9447:        :hc:os:\
1.1       deraadt  9448:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   9449: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
1.2       deraadt  9450: aj510|Anderson-Jacobson model 510:\
                   9451:        :am:mi:\
1.1       deraadt  9452:        :co#80:li#24:\
                   9453:        :al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :\
                   9454:        :dc=.1*\E'D:dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:\
1.2       deraadt  9455:        :kd=\EZ:kl=\EW:kr=\EX:ku=\EY:le=^H:nd=\EX:pc=\177:\
                   9456:        :se=\E"I:so=\E"I:te=\E"N:ti=\E"N:ue=\E"U:up=\EY:\
                   9457:        :us=\E"U:
1.1       deraadt  9458: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   9459: # This is incomplete, but it's a start.
                   9460: nec5520|nec|spinwriter|nec 5520:\
1.2       deraadt  9461:        :hc:os:\
                   9462:        :co#132:it#8:\
1.1       deraadt  9463:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
                   9464:        :hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:\
                   9465:        :up=\E9:
                   9466: qume5|qume|Qume Sprint 5:\
1.2       deraadt  9467:        :hc:os:\
                   9468:        :co#80:it#8:\
1.1       deraadt  9469:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:\
                   9470:        :le=^H:sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  9471: # I suspect the xerox 1720 is the same as the diablo 1620.
1.1       deraadt  9472: xerox1720|x1720|x1750|xerox 1720:\
1.2       deraadt  9473:        :hc:os:\
                   9474:        :co#132:it#8:\
1.1       deraadt  9475:        :bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:\
                   9476:        :ta=^I:
                   9477:
                   9478: #### Miscellaneous obsolete terminals, manufacturers unknown
                   9479: #
                   9480: # If you have any information about these (like, a manufacturer's name,
                   9481: # and a date on the serial-number plate) please send it!
                   9482:
                   9483: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.2       deraadt  9484:        :am:\
1.1       deraadt  9485:        :co#73:li#36:\
1.2       deraadt  9486:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  9487: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.2       deraadt  9488:        :am:\
1.1       deraadt  9489:        :co#85:li#39:\
                   9490:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:\
1.2       deraadt  9491:        :kl=\E3:kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:\
                   9492:        :up=^K:
                   9493: cops10|cops|cops-10|cops 10:\
1.1       deraadt  9494:        :am:bw:\
                   9495:        :co#80:li#24:\
1.2       deraadt  9496:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:\
                   9497:        :do=^J:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:\
                   9498:        :nd=^L:sf=^J:up=^K:
1.1       deraadt  9499: # (d132: removed duplicate ":ic=\E5:" -- esr)
                   9500: d132|datagraphix|datagraphix 132a:\
                   9501:        :da:db:in:\
                   9502:        :co#80:li#30:\
                   9503:        :al=\E3:bl=^G:cl=^L:cr=^M:dc=\E6:do=^J:ei=:ho=\Et:\
                   9504:        :ic=\E5:im=:nd=\El:sf=\Ev:sr=\Ew:up=\Ek:ve=\Em\En:\
                   9505:        :vs=\Ex:
                   9506: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   9507: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   9508: # mode (which is what this entry looks like) and several other lesser-known
                   9509: # emulations.
                   9510: d800|Direct 800/A:\
1.2       deraadt  9511:        :am:da:db:ms:xs:\
                   9512:        :co#80:it#8:li#24:\
                   9513:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:\
1.1       deraadt  9514:        :cl=\E[1;1H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:\
                   9515:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
                   9516:        :k8=\EOW:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1.2       deraadt  9517:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
                   9518:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:vs=\E[>12l:
1.1       deraadt  9519: digilog|digilog 333:\
                   9520:        :co#80:li#16:\
                   9521:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:\
                   9522:        :up=^O:
                   9523: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  9524:        :xn@:\
1.3     ! deraadt  9525:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  9526:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  9527: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   9528: # coupler attached, the whole rig fitting in a suitcase and more or less
                   9529: # portable.  Hot stuff for c.1977 :-) -- esr
                   9530: ep48|ep4080|execuport 4080:\
1.2       deraadt  9531:        :am:os:\
1.1       deraadt  9532:        :co#80:\
                   9533:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   9534: ep40|ep4000|execuport 4000:\
1.3     ! deraadt  9535:        :co#136:tc=ep4080:
1.1       deraadt  9536: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   9537: # Informer series - these are all portable units, resembling older
                   9538: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   9539: # design, but isn't.  The structure is similar to the Direct terminals,
                   9540: # but only half the width.  The entire unit is only about 10" wide.
                   9541: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   9542: # keyboard.  All the keys are crammed together, much like some laptop
                   9543: # PCs today, but perhaps less well organized...all these units have a
                   9544: # bewildering array of plugs on the back, including a built-in modem.
                   9545: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   9546: # color terminals built for IBM bisync protocols.
                   9547: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   9548: ifmr|Informer D304:\
1.2       deraadt  9549:        :am:\
1.1       deraadt  9550:        :co#80:li#24:\
                   9551:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=^J:\
1.2       deraadt  9552:        :ei=:ho=\EH:ic=\E[:im=:le=^H:nd=\EC:se=\EK:so=\EJ:\
                   9553:        :sr=\En:up=\EA:
1.1       deraadt  9554: # Entry largely based on wy60 and has the features of wy60ak.
1.3     ! deraadt  9555: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          9556: # (sgr removed to fit entry within 1023 bytes)
        !          9557: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  9558: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  9559:        :am:bw:hs:km:mi:ms:ul:xo:\
                   9560:        :co#80:li#24:ws#80:\
                   9561:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   9562:        :cl=\E*:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:\
                   9563:        :do=^J:ds=\Ez(\r:ei=\Er:fs=^M:ho=\036:\
                   9564:        :if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  9565:        :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.1       deraadt  9566:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
1.2       deraadt  9567:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:\
                   9568:        :kN=\EK:kP=\EJ:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:\
                   9569:        :ku=\E[A:le=^H:mb=\EG2:me=\E(\EH\003\EG0\EcD:mh=\EGp:\
1.3     ! deraadt  9570:        :mr=\EG4:nd=^L:nw=\r\n:se=\EG0:sf=^J:so=\EG4:sr=\Ej:\
        !          9571:        :st=\E1:ta=\011:\
1.2       deraadt  9572:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.1       deraadt  9573:        :ts=\Ez(:uc=\EG8%p1%c\EG0:ue=\EG0:up=^K:us=\EG8:\
                   9574:        :ve=\E`1:vi=\E`0:
                   9575: # (ps300: changed ":pt@:" to "it@" -- esr)
                   9576: ps300|Picture System 300:\
                   9577:        :xt:\
                   9578:        :it@:\
                   9579:        :se@:so@:ue@:us@:tc=vt100:
1.2       deraadt  9580: teletec|Teletec Datascreen:\
1.1       deraadt  9581:        :am:\
                   9582:        :co#80:li#24:\
                   9583:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:\
                   9584:        :up=^K:
1.2       deraadt  9585: # Terak made a PDP-11 based machine with a bitmapped display that ran UCSD
                   9586: # Pascal as the native OS. It was quite a nice box, and there were several
                   9587: # at UC Berkeley.
1.1       deraadt  9588: terak|Terak emulating Datamedia 1520:\
                   9589:        :tc=dm1520:
                   9590: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   9591: #              This termcap is for the LANPAR Technologies VISION 3220
                   9592: #      terminal.  The function key definitions k0-k5 represent the
                   9593: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   9594: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   9595: #      PF4 keys.
1.2       deraadt  9596: # (v3220: removed obsolete ":kn#10:",
                   9597: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  9598: v3220|LANPAR Vision II model 3220/3221/3222:\
1.2       deraadt  9599:        :am:mi:xn:\
                   9600:        :co#80:it#8:li#24:\
1.3     ! deraadt  9601:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:\
        !          9602:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:\
        !          9603:        :im=\E[4h:is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:\
        !          9604:        :k1=\E[2~:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:\
        !          9605:        :k6=\E[OP:k7=\E[OQ:k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:\
        !          9606:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
        !          9607:        :nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          9608:        :up=\E[A:us=\E[4m:
1.1       deraadt  9609: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   9610: #
                   9611: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   9612: # are present; the symptom is doubled characters in an update using insert.
                   9613: # These applications are technically correct; in both 4.3BSD termcap and
                   9614: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   9615: # unless the terminal needs both.  This requirement is now rare; most ich
                   9616: # sequences do not require previous smir, and most smir insert modes do not
                   9617: # require ich1 before each character.
                   9618: #
                   9619: # For ncurses-based applications this is not a problem, as ncurses uses
                   9620: # one or the other as appropriate but never mixes the two.  Therefore we
                   9621: # have not corrected entries like `linux' and `xterm' that specify both.
                   9622: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  9623: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   9624: #
                   9625:
1.3     ! deraadt  9626: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  9627: #
                   9628: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   9629: # ECMA-48 standards are said to be almost identical, but are not the same
1.3     ! deraadt  9630: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  9631: #
                   9632: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   9633: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   9634: # Coded Character Sets"), include your snail-mail address, and you should
                   9635: # receive the document in due course.  Don't expect an email acknowledgement.
                   9636: #
                   9637: # Related standards include "X3.4-1977: American National Standard Code for
                   9638: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   9639: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3     ! deraadt  9640: # American National Standard for Information Interchange."  I believe (but
        !          9641: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
        !          9642: # respectively.
1.1       deraadt  9643: #
1.2       deraadt  9644:
1.3     ! deraadt  9645: #### VT100/ANSI/ECMA-48
1.1       deraadt  9646: #
                   9647: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3     ! deraadt  9648: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  9649: #
                   9650: # Most of the content of this comment is adapted from a table prepared by
1.3     ! deraadt  9651: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
        !          9652: # discussion of some terminfo-related issues, and updates to capture ECMA-48
        !          9653: # have been added.  Control functions described in ECMA-48 only are tagged
        !          9654: # with * after their names.
        !          9655: #
        !          9656: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
        !          9657: # sequences.  In the main table, \E stands for an escape (\033) character,
        !          9658: # SPC for space.  Pn stands for a single numeric parameter to be inserted
        !          9659: # in decimal ASCII.  Ps stands for a list of such parameters separated by
        !          9660: # semicolons.  Parameter meanings for most parametrized sequences are
        !          9661: # decribed in the notes.
        !          9662: #
        !          9663: # (NOTE: THE ECMA-48 COVERAGE IN THE TABLE IS NOT YET ACTUALLY COMPLETE,
        !          9664: # IT IS ONLY COMPLETE UP TO THE BROKEN LINE OF DASHES.  Have patience,
        !          9665: # reading the legalese and adding entries is a long-drawn-out and tedious
        !          9666: # process...)
        !          9667: #                                                    Default    Type
1.1       deraadt  9668: # Sequence     Sequence                             Parameter   or
                   9669: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   9670: # -----------------------------------------------------------------------------
1.3     ! deraadt  9671: # APC  Applicatn Program Command \E _                -         Delim  -
        !          9672: # BEL  Bell *                    ^G                  -         -      bel
        !          9673: # BPH  Break Permitted Here *    \E B                -         *      -
        !          9674: # BS   Backpace *                ^H                  -         EF     -
        !          9675: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  9676: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   9677: # CCH  Cancel Previous Character \E T                -         -      -
1.3     ! deraadt  9678: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
        !          9679: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
        !          9680: # CMD  Coding Method Delimiter * \E
        !          9681: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  9682: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3     ! deraadt  9683: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  9684: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3     ! deraadt  9685: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  9686: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   9687: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   9688: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3     ! deraadt  9689: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  9690: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3     ! deraadt  9691: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  9692: # DA   Device Attributes         \E [ Pn c           0         -      -
                   9693: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   9694: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   9695: # DCS  Device Control String     \E P                -         Delim  -
                   9696: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3     ! deraadt  9697: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  9698: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3     ! deraadt  9699: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
        !          9700: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
        !          9701: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  9702: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3     ! deraadt  9703: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  9704: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3     ! deraadt  9705: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
        !          9706: # EM   Eend of Medium *          ^Y                  -         -      -
1.1       deraadt  9707: # EMI  Enable Manual Input       \E b                          Fs     -
1.3     ! deraadt  9708: # ENQ  Enquire                   ^E                  -         -      -
        !          9709: # EOT  End Of Transmission       ^D                  -         -      -
        !          9710: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  9711: # ESA  End of Selected Area      \E G                -         -      -
1.3     ! deraadt  9712: # ESC  Escape                    ^[                  -         -      -
        !          9713: # ETB  End Transmission Block    ^W                  -         -      -
        !          9714: # ETX  End of Text               ^C                  -         -      -
        !          9715: # FF   Form Feed                 ^L                  -         -      -
        !          9716: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
        !          9717: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  9718: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3     ! deraadt  9719: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  9720: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3     ! deraadt  9721: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
        !          9722: # HPB  Char Position Backward    \E [ j              1         FE     -
        !          9723: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
        !          9724: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
        !          9725: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  9726: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3     ! deraadt  9727: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  9728: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3     ! deraadt  9729: # IDCS ID Device Control String  \E [ SPC O          -         *      -
        !          9730: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  9731: # IL   Insert Line               \E [ Pn L           1         eF     il
                   9732: # IND  Index                     \E D                -         FE     -
                   9733: # INT  Interrupt                 \E a                -         Fs     -
                   9734: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3     ! deraadt  9735: # IS1  Info Separator #1 *       ^_                  -         *      -
        !          9736: # IS2  Info Separator #1 *       ^^                  -         *      -
        !          9737: # IS3  Info Separator #1 *       ^]                  -         *      -
        !          9738: # IS4  Info Separator #1 *       ^\                  -         *      -
        !          9739: # LF   Line Feed                 ^J                  -         -      -
        !          9740: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
        !          9741: # LS2  Locking Shift 2 *         \E n                -         -      -
        !          9742: # LS2R Locking Shift Right 2 *   \E }                -         -      -
        !          9743: # LS3  Locking Shift 3 *         \E o                -         -      -
        !          9744: # LS3R Locking Shift Right 3 *   \E |                -         -      -
        !          9745: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  9746: # MW   Message Waiting           \E U                -         -      -
1.3     ! deraadt  9747: # NAK  Negative Acknowledge *    ^U                  -         -      -
        !          9748: # NBH  No Break Here *           \E C                -         -      -
        !          9749: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  9750: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3     ! deraadt  9751: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  9752: # OSC  Operating System Command  \E ]                -         Delim  -
1.3     ! deraadt  9753: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         -         -      -
        !          9754: # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1.1       deraadt  9755: # PLD  Partial Line Down         \E K                -         FE     -
                   9756: # PLU  Partial Line Up           \E L                -         FE     -
                   9757: # PM   Privacy Message           \E ^                -         Delim  -
                   9758: # PP   Preceding Page            \E [ Pn V           1         eF     -
                   9759: # PU1  Private Use 1             \E Q                -         -      -
                   9760: # PU2  Private Use 2             \E R                -         -      -
                   9761: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   9762: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
                   9763: # RI   Reverse Index             \E M                -         FE     -
                   9764: # RIS  Reset to Initial State    \E c                -         Fs     -
                   9765: # RM   Reset Mode                \E [ Ps l           none      -      -
                   9766: # SD   Scroll Down               \E [ Pn T           1         eF     rin
                   9767: # SEM  Select Edit Extent Mode   \E [ Ps Q           0         -      -
1.3     ! deraadt  9768: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
        !          9769: # SI   Shift In                  ^O                  -         -      -   (P)
1.1       deraadt  9770: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
                   9771: # SM   Select Mode               \E [ Ps h           none      -      -
1.3     ! deraadt  9772: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.1       deraadt  9773: # SPA  Start of Protected Area   \E V                -         -      -
                   9774: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
                   9775: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
                   9776: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   9777: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   9778: # SSA  Start of Selected Area    \E F                -         -      -
                   9779: # ST   String Terminator         \E \                -         Delim  -
                   9780: # STS  Set Transmit State        \E S                -         -      -
                   9781: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
                   9782: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
                   9783: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
                   9784: # VPA  Vert Position Absolute    \E [ Pn d           1         FE     vpa
1.3     ! deraadt  9785: # VPR  Vert Position Relative    \E [ Pn e           1         FE     -   (R)
1.1       deraadt  9786: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   9787: #
                   9788: # ---------------------------------------------------------------------------
                   9789: #
                   9790: # Notes:
                   9791: #
1.3     ! deraadt  9792: # Some control characters are listed in the ECMA-48 standard without
        !          9793: # being assigned functions relevant to terminal control there (they
        !          9794: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
        !          9795: # here anyway for completeness.
        !          9796: #
        !          9797: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH acronyms.
        !          9798: #
        !          9799: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  9800: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3     ! deraadt  9801: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
        !          9802: # preserved the CHA acronym.
1.1       deraadt  9803: #
1.3     ! deraadt  9804: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  9805: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3     ! deraadt  9806: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
        !          9807: # CHT acronym.
1.1       deraadt  9808: #
1.3     ! deraadt  9809: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  9810: #
1.3     ! deraadt  9811: # (E) ECNA-48 calls this "Active Position Report" but preserves the CPR
        !          9812: # acronym.
        !          9813: #
        !          9814: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
        !          9815: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
        !          9816: # 5 = clear all char tabs, 6 = clear all line tabs.
        !          9817: #
        !          9818: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
        !          9819: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
        !          9820: # Position Absolute" but retains the HVP acronym.
        !          9821: #
        !          9822: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT acronym.
1.1       deraadt  9823: #
1.3     ! deraadt  9824: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
        !          9825: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
        !          9826: # DSR, 6 = request CPR response.
        !          9827: #
        !          9828: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
        !          9829: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  9830: #
1.3     ! deraadt  9831: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA acronym.
        !          9832: #
        !          9833: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
        !          9834: #
        !          9835: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
        !          9836: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
        !          9837: # Position Relative" but retains the HPR acronym.
1.1       deraadt  9838: #
1.3     ! deraadt  9839: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT acronym.
1.1       deraadt  9840: #
1.3     ! deraadt  9841: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
        !          9842: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
        !          9843: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
        !          9844: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
        !          9845: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
        !          9846: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
        !          9847: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
        !          9848: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
        !          9849: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
        !          9850: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
        !          9851: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
        !          9852: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
        !          9853: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
        !          9854: # 61-65 = variable highlights for ideograms.
        !          9855: #
        !          9856: # (P) SI is also called LSO, Locking Shift Zero.
        !          9857: #
        !          9858: # (Q) SI is also called LS1, Locking Shift One.
        !          9859: #
        !          9860: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.1       deraadt  9861: # use CUD for this function and ignore VPR.
                   9862: #
1.3     ! deraadt  9863: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
        !          9864: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
        !          9865: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
        !          9866: # start relay to primary aux device, 6 = stop relay to secondary aux device,
        !          9867: # 7 = start relay to secondary aux device.
        !          9868: #
1.1       deraadt  9869: # ---------------------------------------------------------------------------
                   9870: #
                   9871: # Abbreviations:
                   9872: #
                   9873: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   9874: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   9875: #
                   9876: # Delim  a Delimiter
                   9877: #
                   9878: # x/y    identifies a character by position in the ASCII table (column/row)
                   9879: #
                   9880: # eF     editor function (see explanation)
                   9881: #
                   9882: # FE     format effector (see explanation)
1.3     ! deraadt  9883: #
1.1       deraadt  9884: # F      is a Final character in
                   9885: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   9886: #             a control sequence (F from 4/0 to 7/14)
                   9887: #
                   9888: # Gs     is a graphic character appearing in strings (Gs ranges from
                   9889: #        2/0 to 7/14) in the ASCII table
                   9890: #
                   9891: # Ce     is a control represented as a single bit combination in the C1 set
                   9892: #        of controls in an 8-bit character set
                   9893: #
                   9894: # C0     the familiar set of 7-bit ASCII control characters
                   9895: #
                   9896: # C1     roughly, the set of control characters available only in 8-bit systems.
                   9897: #        This is too complicated to explain fully here, so read Jim Fleming's
                   9898: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   9899: #
                   9900: # Fe     is a Final character of a 2-character Escape sequence that has an
                   9901: #        equivalent representation in an 8-bit environment as a Ce-type
                   9902: #        (Fe ranges from 4/0 to 5/15)
                   9903: #
                   9904: # Fs     is a Final character of a 2-character Escape sequence that is
                   9905: #        standardized internationally with identical representation in 7-bit
                   9906: #        and 8-bit environments and is independent of the currently
                   9907: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   9908: #
                   9909: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   9910: #        ASCII table
                   9911: #
                   9912: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   9913: #        table
                   9914: #
                   9915: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   9916: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   9917: #
                   9918: # Ps     is a variable number of selective parameters in a control sequence
                   9919: #        with each selective parameter separated from the other by the code
                   9920: #        3/11 (which usually represents a semicolon); Ps ranges from
                   9921: #        3/0 to 3/9 and includes 3/11
1.3     ! deraadt  9922: #
        !          9923: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  9924: #
                   9925: # Format Effectors versus Editor Functions
                   9926: #
                   9927: # A format effector specifies how following output is to be displayed.
                   9928: # An editor function allows you to modify the display.  Informally
                   9929: # format effectors may be destructive; format effectors should not be.
                   9930: #
                   9931: # For instance, a format effector that moves the "active position" (the
                   9932: # cursor or equivalent) one space to the left would be useful when you want to
                   9933: # create an overstrike, a compound character made of two standard characters
                   9934: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   9935: # format effector, so you can do this. But many systems use it in a
                   9936: # nonstandard fashion, as an editor function, deleting the character to the
                   9937: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   9938: # be an editor function, you cannot predict whether its use will create an
                   9939: # overstrike unless you also know whether the output device is in an "insert
                   9940: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   9941: # its effect can always be predicted. The familiar characters carriage
                   9942: # return, linefeed, formfeed, etc., are defined as format effectors.
                   9943: #
                   9944: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   9945: #
                   9946: # Control sequences implemented in the VT100 are as follows:
                   9947: #
                   9948: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   9949: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   9950: #
                   9951: # plus several private DEC commands.
                   9952: #
                   9953: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   9954: #
                   9955: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   9956: #      Erase from beginning of line to cursor     Esc [ 1 K
                   9957: #      Erase line containing cursor               Esc [ 2 K
                   9958: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   9959: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   9960: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  9961: #
                   9962: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   9963: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  9964: #
                   9965: # The VT100 responds to receiving the DA (Device Attributes) control
                   9966: #
                   9967: #      Esc [ c    (or Esc [ 0 c)
                   9968: #
                   9969: # by transmitting the sequence
                   9970: #
                   9971: #      Esc [ ? l ; Ps c
                   9972: #
                   9973: # where Ps is a character that describes installed options.
                   9974: #
                   9975: # The VT100's cursor location can be read with the DSR (Device Status
                   9976: # Report) control
                   9977: #
                   9978: #      Esc [ 6 n
                   9979: #
                   9980: # The VT100 reports by transmitting the CPR sequence
                   9981: #
                   9982: #      Esc [ Pl ; Pc R
                   9983: #
                   9984: # where Pl is the line number and Pc is the column number (in decimal).
                   9985: #
                   9986: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  9987:
                   9988: #### ANSI.SYS
1.1       deraadt  9989: #
1.2       deraadt  9990: # Here is a description of the color and attribute controls supported in the
                   9991: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   9992: # terminal emulators for Intel boxes obey these.
1.1       deraadt  9993: #
                   9994: # 0    all attributes off
                   9995: # 1    foreground bright
                   9996: # 4    underscore on
                   9997: # 5    blink on/background bright (not reliable with brown)
                   9998: # 7    reverse-video
                   9999: # 8    set blank (non-display)
                   10000: # 10   set primary font
                   10001: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   10002: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   10003: #
                   10004: #                      Color attribute sets
                   10005: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   10006: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   10007: # Bright black becomes gray.  Bright brown becomes yellow,
1.3     ! deraadt  10008: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  10009: #
                   10010: # * If the 5 attribute is on and you set a background color (40-47) it is
                   10011: #   supposed to enable bright background.
                   10012: #
1.1       deraadt  10013: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   10014: #   when you try to set a "bright brown" (yellow) background with attribute
                   10015: #   5 (you get a blinking yellow foreground instead).  A few displays
                   10016: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  10017: #   braindamage (this is required by iBCS2).
1.1       deraadt  10018: #
                   10019: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   10020: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.
1.2       deraadt  10021: #
                   10022: # The entries following are not standalone.  They are meant to be included
                   10023: # via use= in other entries.
                   10024: #
                   10025:
                   10026: #### Intel Binary Compatibility Standard
                   10027: #
                   10028: # For comparison, here are the capabilities implied by the Intel Binary
                   10029: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   10030: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3     ! deraadt  10031: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
        !          10032: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
        !          10033: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
        !          10034: # terminfo entry are followed with the corresponding capability in parens:
        !          10035: #
        !          10036: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
        !          10037: #      CSI 2h                  lock keyboard
        !          10038: #      CSI 2i                  send screen as input
        !          10039: #      CSI 2l                  unlock keyboard
        !          10040: #      CSI 6m                  enable background color intensity
        !          10041: #      CSI <0-2>c              reserved
        !          10042: #      CSI <0-59>m             select graphic rendition
        !          10043: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
        !          10044: #      CSI <n>;<m>f            cursor to line n and column m
        !          10045: #      CSI <n>@        (ich)   insert characters
        !          10046: #      CSI <n>A        (cuu)   cursor up n lines
        !          10047: #      CSI <n>B        (cud)   cursor down n lines
        !          10048: #      CSI <n>C        (cuu)   cursor right n characters
        !          10049: #      CSI <n>D        (cud)   cursor left n characters
        !          10050: #      CSI <n>E                cursor down n lines and in first column
        !          10051: #      CSI <n>F                cursor up n lines and in first column
        !          10052: #      CSI <n>G        (hpa)   position cursor at column n-1
        !          10053: #      CSI <n>J        (ed)    erase in display
        !          10054: #      CSI <n>K        (el)    erase in line
        !          10055: #      CSI <n>L        (il)    insert line(s)
        !          10056: #      CSI <n>P        (dch)   delete characters
        !          10057: #      CSI <n>S        (indn)  scroll up n lines
        !          10058: #      CSI <n>T        (rin)   scroll down n lines
        !          10059: #      CSI <n>X        (ech)   erase characters
        !          10060: #      CSI <n>Z        (cbt)   back up n tab stops
        !          10061: #      CSI <n>`                cursor to column n on line
        !          10062: #      CSI <n>a        (cuu)   cursor right n characters
        !          10063: #      CSI <n>d        (vpa)   cursor to line n
        !          10064: #      CSI <n>e                cursor down n lines and in first column
        !          10065: #      CSI <n>g        (cbt)   clear all tabs
        !          10066: #      CSI <n>z                make virtual terminal n active
        !          10067: #      CSI ?7h         (smam)  turn automargin on
        !          10068: #      CSI ?7l         (rmam)  turn automargin off
        !          10069: #      CSI s                   save cursor position
        !          10070: #      CSI u                   restore cursor position to saved value
        !          10071: #      CSI =<c>A               set overscan color
        !          10072: #      CSI =<c>F               set normal foreground color
        !          10073: #      CSI =<c>G               set normal background color
        !          10074: #      CSI =<c>H               set reverse foreground color
        !          10075: #      CSI =<c>I               set reverse foreground color
        !          10076: #      CSI =<c>J               set graphic foreground color
        !          10077: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  10078: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3     ! deraadt  10079: #      CSI =<p>;<d>B           set bell parameters
        !          10080: #      CSI =<s>;<e>C           set cursor parameters
        !          10081: #      CSI =<x>D               enable/disable intensity of background color
        !          10082: #      CSI =<x>E               set/clear blink vs. bold background
        !          10083: #      CSI 7           (sc)    (sc) save cursor position
        !          10084: #      CSI 8           (rc)    (rc) restore cursor position to saved value
        !          10085: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  10086: #      CSI Q<n><string>        define function key string
                   10087: #                              (string must begin and end with delimiter char)
                   10088: #      CSI c           (clear) clear screen
                   10089: #
                   10090: # The lack of any specification for attributes in SGR (among other things)
                   10091: # makes this a wretchedly weak standard. The table above is literally
                   10092: # everything iBSC2 has to say about terminal escape sequences; there is
                   10093: # no further discussion of their meaning or how to set the parameters
                   10094: # in these sequences at all.
                   10095: #
1.1       deraadt  10096:
                   10097: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   10098: #
                   10099: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   10100: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   10101: # with the extension names chosen for compatibility with the termcap names
                   10102: # assigned in System V terminfo.  There are some variant extension sets out
                   10103: # there.  We try to describe them here.
                   10104: #
                   10105: # XENIX extensions:
                   10106: #
                   10107: # The XENIX extensions include a set of function-key capabilities as follows:
                   10108: #
                   10109: #       code   XENIX variable name     terminfo name   name clashes?
                   10110: #      ----    -------------------     -------------   -----------------------
                   10111: #      CL      key_char_left
                   10112: #      CR      key_char_right
                   10113: #      CW      key_change_window                       create_window
                   10114: #      EN      key_end                 kend
                   10115: #      HM      key_home                khome
                   10116: #      HP      ??
                   10117: #      LD      key_delete_line         kdl1
                   10118: #      LF      key_linefeed                            label_off
                   10119: #      NU      key_next_unlocked_cell
                   10120: #      PD      key_page_down           knp
                   10121: #      PL      ??
                   10122: #      PN      start_print             mc5
                   10123: #      PR      ??
                   10124: #      PS      stop_print              mc4
                   10125: #      PU      key_page_up             kpp             pulse
                   10126: #      RC      key_recalc                              remove_clock
                   10127: #      RF      key_toggle_ref                          req_for_input
                   10128: #      RT      key_return              kent
                   10129: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   10130: #      WL      key_word_left
                   10131: #      WR      key_word_right
                   10132: #
                   10133: # The XENIX extensions also include the following character-set and highlight
                   10134: # capabilities:
                   10135: #
                   10136: #      XENIX   terminfo        function
                   10137: #      -----   --------        ------------------------------
                   10138: #      GS      smacs           start alternate character set
                   10139: #      GE      rmacs           end alternate character set
                   10140: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   10141: #      bo      blink           begin blink (not used in /etc/termcap)
                   10142: #      be                      end blink (not used in /etc/termcap)
                   10143: #      bb                      blink glitch  (not used in /etc/termcap)
                   10144: #      it      dim             begin dim (not used in /etc/termcap)
                   10145: #      ie                      end dim (not used in /etc/termcap)
                   10146: #      ig                      dim glitch  (not used in /etc/termcap)
                   10147: #
1.2       deraadt  10148: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  10149: #
1.2       deraadt  10150: #      single  double  type             ASCII approximation
                   10151: #      ------  ------  -------------    -------------------
                   10152: #      GV      Gv      vertical line             |
                   10153: #      GH      Gv      horizontal line       -   _
                   10154: #      G1      G5      top right corner       _   |
                   10155: #      G2      G6      top left corner       |
                   10156: #      G3      G7      bottom left corner         |_
                   10157: #      G4      G8      bottom right corner   _|
                   10158: #      GD      Gd      down-tick character        T
                   10159: #      GL      Gl      left-tick character   -|
                   10160: #      GR      Gr      right-tick character       |-
                   10161: #      GC      Gc      middle intersection   -|-
                   10162: #      GU      Gu      up-tick character          _|_
                   10163: #
                   10164: # These were invented to take advantage of the IBM PC ROM character set.  One
                   10165: # can compose an acsc string from the single-width characters as follows
                   10166: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   10167: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  10168: #
                   10169: # AT&T Extensions:
                   10170: #
                   10171: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   10172: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   10173: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   10174: # set.  Comments in the original, and a little cross-checking with other AT&T
                   10175: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   10176: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   10177: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   10178: # cursor invisible), and CV=:ve: (make cursor normal).
                   10179: #
1.2       deraadt  10180: # HP Extensions
                   10181: #
                   10182: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   10183: # have the System V capabilities up to SVr1 level.  After that, it supports
                   10184: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   10185: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   10186: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   10187: # HP binary format incompatible with SVr4's.
                   10188: #
                   10189: # IBM Extensions
                   10190: #
                   10191: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   10192: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   10193: # capabilities following prtr_non with the following special capabilties:
                   10194: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   10195: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   10196: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   10197: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   10198: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   10199: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   10200: # correspond to acsc chars, here is the mapping:
                   10201: #
                   10202: #      box1[0]  = ACS_ULCORNER
                   10203: #      box1[1]  = ACS_HLINE
                   10204: #      box1[2]  = ACS_URCORNER
                   10205: #      box1[3]  = ACS_VLINE
                   10206: #      box1[4]  = ACS_LRCORNER
                   10207: #      box1[5]  = ACS_LLCORNER
                   10208: #      box1[6]  = ACS_TTEE
                   10209: #      box1[7]  = ACS_RTEE
                   10210: #      box1[8]  = ACS_BTEE
                   10211: #      box1[9]  = ACS_LTEE
                   10212: #      box1[10] = ACS_PLUS
                   10213: #
                   10214: # The box2 characters are the double-line versions of these forms graphics.
                   10215: # The AIX binary terminfo format is incompatible with SVr4's.
                   10216: #
1.1       deraadt  10217: # TC Extensions:
                   10218: #
                   10219: # There is a set of extended termcaps associated with something
                   10220: # called the "Terminal Control" or TC package created by MainStream Systems,
                   10221: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   10222: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   10223: # that flags color terminals.
1.2       deraadt  10224: #
1.1       deraadt  10225: ######## CHANGE HISTORY
                   10226: #
1.2       deraadt  10227: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   10228: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   10229: # project.
                   10230: #
                   10231: # This file contains all the capability information present in John Kunze's
                   10232: # last version of the termcap master file, except as noted in the change
                   10233: # comments at end of file.  Some information about very ancient obsolete
                   10234: # capabilities has been moved to comments.  Some all-numeric names of older
                   10235: # terminals have been retired.
                   10236: #
                   10237: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   10238: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   10239: # used by BSD curses.
                   10240: #
                   10241: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   10242: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   10243: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   10244: # making perfectly synchronized mistakes which I then failed to catch by
                   10245: # eyeball, the translation was correct and perfectly information-preserving.
                   10246: #
                   10247: # Here is a log of the changes since then:
                   10248: #
1.1       deraadt  10249: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   10250: #      * First terminfo master translated from 8.3.
                   10251: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   10252: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   10253: #
                   10254: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   10255: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   10256: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   10257: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   10258: #      * Contact and history info supplied by Qume.
                   10259: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
                   10260: #      * Raided the Shufort FTP site for recent termcaps/terminfos.
                   10261: #      * Added information on X3.64 and VT100 standard escape sequences.
                   10262: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   10263: #      * Added a correct X11R6 xterm entry.
                   10264: #      * Fixed terminfo translations of padding.
                   10265: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   10266: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   10267: #      * Added u6/u7/u8/u9 capabilities.
                   10268: #      * Added PCVT entry.
                   10269: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   10270: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   10271: #        to use reverse-video standout so Emacs will look right.
                   10272: #      * Added el1 capability to ansi.
                   10273: #      * Added smacs/rmacs to ansi.sys.
                   10274: #
                   10275: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   10276: #      * New mt70 entry.
                   10277: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   10278: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   10279: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   10280: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   10281: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   10282: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   10283: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   10284: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   10285: #      * Restored the old minimal-ansi entry, luna needs it.
                   10286: #      * Fixed some incorrect ip and proportional-padding translations.
                   10287: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   10288: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   10289: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   10290: #        to force a particular height.
                   10291: #      * Added beehive4 and reorganized other Harris entries.
                   10292: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   10293: #      * Merged in DEC's official entries for its terminals.  The only old
                   10294: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   10295: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   10296: #        ones from AT&T's SVr3.
                   10297: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   10298: #      * Added teleray 16, vc415, cops10.
                   10299: #      * Merged in many individual capabilities from SCO terminfo files.
                   10300: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   10301: #      * Typo fixes.
                   10302: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   10303: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   10304: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   10305: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   10306: #        simterm, citoh and variants.
                   10307: #      * Replaced sol entry with sol1 and sol2.
                   10308: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   10309: #        terminfo entries.
                   10310: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   10311: #        and dg200 entries using caps from from SCO.
                   10312: #      * Added the usual set of function-key mappings to ANSI entry.
                   10313: #      * Corrected xterm's function-key capabilities.
                   10314: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   10315: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   10316: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   10317: #      * Fix in xterm entry, get the arrow keys right.
                   10318: #      * Change some \0 escapes to \200.
                   10319: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   10320: #      * Added apple (Videx card), adm1a, oadm31.
                   10321: #      * Fixed malformed ampex csr.
                   10322: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   10323: #      * Changed mandatory to advisory padding in many entries.
                   10324: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   10325: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   10326: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   10327: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   10328: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   10329: #        more efficient (but the entries otherwise identical).
                   10330: #      * Added dg211 from Shuford archive.
                   10331: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   10332: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   10333: #      * Pull SCO's padding into vi200 entry.
                   10334: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   10335: #        entries merged in from SCO's descriptions.
                   10336: #      * Fixed old-style prefix padding on zen50, h1500.
                   10337: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   10338: #        entry from SCO's description.
                   10339: #      * Reorganized the special entries.
                   10340: #      * Added lm#0 to cbunix and virtual entries.
                   10341: #
                   10342: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   10343: #      * Restored cdc456tst.
                   10344: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   10345: #      * Added megatek, beacon, microkit.
                   10346: #      * Freeze for ncurses-1.9 release.
                   10347: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   10348: #      * Added historical data for TAB.
                   10349: #      * Comment fixes from David MacKenzie.
                   10350: #      * Added the new BSDI pc3 entry.
                   10351: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   10352: #      * A change in the tic -C logic now ensures that all entries in
                   10353: #        the termcap translation will fit in < 1024 bytes.
                   10354: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   10355: #        from GNU termcap file.  This merges in all their local information.
                   10356: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   10357: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   10358: #      * Added warnings about entries with long translations (restoring
                   10359: #        all the GNU termcaps pushes a few over the edge).
                   10360: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   10361: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   10362: #        number of long (> 1024) termcap translations back to 0.
                   10363: #
                   10364: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   10365: #      * Added kf13-kf20 to Linux entry.
                   10366: #      * Regularize Prime terminal names.
                   10367: #      * Historical data on Synertek.
                   10368: #      * Freeze for ncurses-1.9.1.
                   10369: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   10370: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   10371: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   10372: #      * Name field changes to shorten some long entries.
                   10373: #      * Termcap translation now automatically generates empty rmir/smir
                   10374: #        when ich1/ich is present (copes with an ancient vi bug).
                   10375: #      * Added `screen' entries from FSF's screen-3.6.2.
                   10376: #      * Added linux-nic and xterm-nic entries.
                   10377: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   10378: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   10379: #        eliminating some special-case code in ncurses.
                   10380: #
                   10381: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   10382: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   10383: #        that captures everything unique from it.
                   10384: #      * Added reorder script generator.
                   10385: #      * Freeze for ncurses 1.9.2 release.
                   10386: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   10387: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   10388: #      * Added Olaf Siebert's corrections for adm12.
                   10389: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   10390: #        entries which use it will inherit them automatically.
                   10391: #      * The linux entry can now recognize the center (keypad 5) key.
                   10392: #      * Removed some junk that found its way into Linux acsc.
                   10393: #
                   10394: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   10395: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   10396: #      * xterm doesn't try to use application keypad mode any more.
                   10397: #      * Freeze for ncurses-1.9.3 release.
                   10398: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   10399: #      * Added corrected sun entry from vendor.
                   10400: #      * Added csr capability to linux entry.
                   10401: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   10402: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   10403: #      * Some commented-out caps in long entries come back in, my code
                   10404: #        for computing string-table lengths had a bug in it.
                   10405: #      * pcansi series modified to fit comm-program reality better.
                   10406: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   10407: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   10408: #      * Correct some bad aliases in the pcansi series
                   10409: #      * Added entry for QNX console.
                   10410: #      * Clean up duplicate long names for use with 4.4 library.
                   10411: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   10412: #        this makes the Emacs status line look better.
                   10413: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   10414: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   10415: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  10416: #
                   10417: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   10418: #      * Added dec-vt100 for use with the EWAN emulator.
                   10419: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   10420: #      * Freeze for 1.9.5 alpha release.
                   10421: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   10422: #      * Changed xterm lines to 24, the X11R6 default.
                   10423: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   10424: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   10425: #        entry (the pryz{|} characters).
                   10426: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   10427: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   10428: #      * I finally figured out how to translate ko capabilities.  Done.
                   10429: #      * Added tvi921 entries from Tim Theisen.
                   10430: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   10431: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   10432: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   10433: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   10434: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   10435: #        by making them relative to use capabilities
                   10436: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   10437: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   10438: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   10439: #        ampex80,
                   10440: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   10441: #        equivalent.
                   10442: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   10443: #        vt100 and ANSI-like terminals.
                   10444: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   10445: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   10446: #        does this now, too.
                   10447: #      * fviewpoint is gone, it duplicated screwpoint.
                   10448: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   10449: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   10450: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   10451: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   10452: #      * No more embedded commas in name fields.
                   10453: #
                   10454: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   10455: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   10456: #      * Introduced klone+* entries for describing Intel-console behavior.
                   10457: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   10458: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   10459: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   10460: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   10461: #        that it was messing up someone's 3270 emulator.
                   10462: #      * Added some longname fields in order to avoid warning messages from
                   10463: #        older tic implementations.
                   10464: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   10465: #        it! (This gives us pi, greater than, less than, and a few more.)
                   10466: #      * Freeze for ncurses-1.9.6 release.
                   10467: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   10468: #      * Add xon to a number of console entries, they're memory-mapped and
                   10469: #        don't need padding.
                   10470: #      * Correct the use dependencies in the ansi series.
                   10471: #      * Hand-translate more XENIX capabilities.
                   10472: #      * Added hpterm entry for HP's X terminal emulator.
                   10473: #      * Added aixterm entries.
                   10474: #      * Shortened four names so everything fits in 14 chars.
                   10475: #
                   10476: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   10477: #      * Added ibcs2 entry and info on iBCS2 standard.
                   10478: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   10479: #      * We can handle the HP meml/memu capability now.
                   10480: #      * Added smacs to klone entries, just as documentation.
                   10481: #      * Carrected ansi.sys and cit-500 entries.
                   10482: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   10483: #      * Make pcansi use the ansi.sys invis capability.
                   10484: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   10485: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   10486: #      * X3.64 has been withdrawn, change some references.
                   10487: #      * Removed function keys from ansi-m entry.
                   10488: #      * Corrected ansi.sys entry.
                   10489: #      * Freeze for ncurses-1.9.7 release.
                   10490: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   10491: #      * Added rmam/smam capabilities to many entries based on init strings.
                   10492: #      * Added correct hpa/vpa to linux.
                   10493: #      * Reduced several entries relative to vt52.
                   10494: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   10495: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   10496: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   10497: #        look flat-out incorrect, garbled, or redundant.  These include the
                   10498: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   10499: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   10500: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   10501: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   10502: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   10503: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   10504: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   10505: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   10506: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   10507: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   10508: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   10509: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   10510: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   10511: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   10512: #        <bgrayson@pine.ece.utexas.edu>.
                   10513: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   10514: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   10515: #      * Added kent=\EOM to xterm entry.
                   10516: #
                   10517: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   10518: #      * Corrected gigi entry.
                   10519: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   10520: #        bad hpa/vpa capabilities.
                   10521: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   10522: #        more speed-dependent NUL-padding!
                   10523: #      * terminfo capabilities in comments bracketed with <>.
                   10524: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3     ! deraadt  10525: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  10526: #      * Freeze for 1.9.7a.
1.3     ! deraadt  10527: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
        !          10528: #      * Added emu entry from the X11R6 contrib tape sources.
        !          10529: #
        !          10530: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
        !          10531: #      * Improved iris-ansi and sun entries.
        !          10532: #      * More flash string improvements.
        !          10533: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
        !          10534: #      * Added dim to at386.
        !          10535: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
        !          10536: #        he's ready to start using the termcap generated from this one.
        !          10537: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
        !          10538: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
        !          10539: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
        !          10540: #        att610, att620, att630,
        !          10541: #      * Changed hazeltine name prefix from h to hz.
        !          10542: #      * Sent t500 to the UFI file.
        !          10543: #      * I think we've sucked all the juice out of BSDI's termcap file now.
        !          10544: #      * Freeze for ncurses 1.9.8 release
        !          10545: #
        !          10546: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
        !          10547: #      * Unfreeze, linux kbs needed to be fixed.
        !          10548: #      * Tim Theisen pinned down a bug in the DMD firmware.
        !          10549: #
        !          10550: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
        !          10551: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
        !          10552: #        (The broken ones had been shadowed by sgr.)
        !          10553: #
        !          10554: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
        !          10555: #      * Added documentation on ECMA-48 standard.
        !          10556: #      * New Amiga entry.
1.1       deraadt  10557: #
                   10558: ######## REORDER
                   10559: #
                   10560: # Older termcap distributions featured a kluge called `reorder' intended to
                   10561: # time-optimize access to selected terminals by moving them to the front of
                   10562: # the file.  This is obsolete under terminfo, but for completeness's sake
                   10563: # we give a reorder script generator here (strip off the leading #s to use).
                   10564: #
                   10565: #: mkreorder --  generate script to optimize access to given terminal types
                   10566: #:
                   10567: #: entries named on command line will be sorted to the front in reverse order
                   10568: #echo "ed -- termcap <<EOF"
                   10569: #for x in $*
                   10570: #do
                   10571: #      echo "/^$x[|:]/;.,/^[a-z#]/-1m0"
                   10572: #done
                   10573: #echo "0a"
                   10574: #echo "."
                   10575: #echo "w termcap.sorted"
                   10576: #echo "q"
                   10577: #echo "EOF"
                   10578: #:end of script
                   10579: #
                   10580: # Invoke this script like this:
                   10581: #
                   10582: #      mkreorder h19 wy60 vt100 >reorder
                   10583: #
                   10584: # The following sets edit modes for GNU EMACS
                   10585: # Local Variables:
                   10586: # fill-prefix:"\t"
                   10587: # fill-column:75
                   10588: # End:
                   10589: ######## SHANTIH!  SHANTIH!  SHANTIH!