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

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

1.4       mickey      1: #      $OpenBSD$
1.2       deraadt     2: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
1.1       deraadt     3: #
1.5     ! tholo       4: #      Version 9.13.8
1.1       deraadt     5: #      termcap syntax
                      6: #
                      7: #      Eric S. Raymond         (current maintainer)
                      8: #      John Kunze, Berkeley
                      9: #      Craig Leres, Berkeley
                     10: #
                     11: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     12: # address is no longer valid.
                     13: #
                     14: # PURPOSE OF THIS FILE:
                     15: #
                     16: # This file describes the capabilities of various character-cell terminals,
                     17: # as needed by software such as screen-oriented editors.
                     18: #
1.2       deraadt    19: # Other terminfo and termcap files exist, supported by various OS vendors
                     20: # or as relics of various older versions of UNIX.  This one is the longest
                     21: # and most comprehensive one in existence.  It subsumes not only the entirety
                     22: # of the historical 4.4BSD, GNU, System V and SCO termcap files, but also large
                     23: # numbers of vendor-maintained termcap and terminfo entries more complete
                     24: # and carefully tested than those in historical termcap/terminfo versions.
                     25: #
1.1       deraadt    26: # Pointers to related resources (including the ncurses distribution) may
1.5     ! tholo      27: # be found at <http://www.ccil.org/terminfo>.
1.1       deraadt    28: #
1.2       deraadt    29: # INTERNATIONALIZATION:
                     30: #
                     31: # This file assumes a US-ASCII character set. If you need to fix this, start
                     32: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     33: # for your character set.  \E(A and \E)A enables the British character set
1.5     ! tholo      34: # with the pound sign at position 2/3.
        !            35: #
        !            36: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
        !            37: # C1 characters are considered the first-byte set of the Japanese encodings,
        !            38: # so \E)0 should be avoided in <enacs> and initialization strings.
1.2       deraadt    39: #
1.1       deraadt    40: # FILE FORMAT:
                     41: #
                     42: # The version you are looking at may be in any of three formats: master
                     43: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     44: # which by the format given in the header above.
                     45: #
                     46: # The master format is accepted and generated by the terminfo tools in the
                     47: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     48: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     49: # various obsolete termcap capabilities.  You can, thus, convert from master
                     50: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
1.5     ! tholo      51: # you have ncurses `tic -I' is nicer (among other things, it automatically
        !            52: # outputs entries in a canonical form).
1.1       deraadt    53: #
                     54: # The termcap version is generated automatically from the master version
                     55: # using tic -C.  This filtering leaves in the OT capabilities under their
1.5     ! tholo      56: # original termcap names.  All translated entries fit within the 1023-byte
        !            57: # string-table limit of archaic termcap libraries except where explicitly
        !            58: # noted below.  Note that the termcap translation assumes that your termcap
        !            59: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
        !            60: # capability.  Older versions of GNU termcap, through 1.3, do not.
1.1       deraadt    61: #
                     62: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     63: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     64: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     65: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     66: #
                     67: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     68: # no entry in this file has embedded comments.  This is so source translation
                     69: # to termcap only has to carry over leading comments.  Also, no name field
                     70: # contains embedded whitespace (such whitespace confuses rdist).
                     71: #
                     72: # Further note: older versions of this file were often installed with an editor
                     73: # script (reorder) that moved the most common terminal types to the front of
                     74: # the file.  This should no longer be necessary, as the file is now ordered
                     75: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     76: #
                     77: # Some information has been merged in from terminfo files distributed by
                     78: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     79: # comes from vendors who maintain official terminfos for their hardware
                     80: # (notably DEC and Wyse).
                     81: #
                     82: # A detailed change history is included at the end of this file.
                     83: #
                     84: # FILE ORGANIZATION:
                     85: #
                     86: # Comments in this file begin with # - they cannot appear in the middle
                     87: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     88: # placing a period between the colon and the capability name.
                     89: #
1.2       deraadt    90: # The file is divided up into major sections (headed by lines beginning with
                     91: # the string "########") and minor sections (beginning with "####"); do
1.1       deraadt    92: #
                     93: #      grep "^####" <file> | more
                     94: #
                     95: # to see a listing of section headings.  The intent of the divisions is
                     96: # (a) to make it easier to find things, and (b) to order the database so
                     97: # that important and frequently-encountered terminal types are near the
                     98: # front (so that you'll get reasonable search efficiency even if you don't
                     99: # use reorder).  Minor sections usually correspond to manufacturers or
                    100: # standard terminal classes.  Parenthesized words following manufacturer
                    101: # names are type prefixes or product line names used by that manufacturers.
                    102: #
                    103: # HOW TO READ THE ENTRIES:
                    104: #
                    105: # The first name in an entry is the canonical name for the model or
                    106: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    107: # the terminal.
                    108: #
                    109: # Terminal names look like <manufacturer> <model> - <modes/options>
                    110: # The part to the left of the dash, if a dash is present, describes the
                    111: # particular hardware of the terminal.  The part to the right may be used
                    112: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    113: # or user preferences.
                    114: #
                    115: # All names should be in lower case, for consistency in typing.
                    116: #
                    117: # The following are conventionally used suffixes:
1.2       deraadt   118: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    119: #      -am     Enable auto-margin.
                    120: #      -m      Monochrome.  Suppress color support
                    121: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
1.1       deraadt   122: #              only support one attribute without magic-cookie lossage.
                    123: #              Their base entry is usually paired with another that
                    124: #              uses magic cookies to support multiple attributes.
1.2       deraadt   125: #      -na     No arrow keys - termcap ignores arrow keys which are
                    126: #              actually there on the terminal, so the user can use
                    127: #              the arrow keys locally.
1.5     ! tholo     128: #      -nam    No auto-margin - suppress :am: capability
1.2       deraadt   129: #      -nl     No labels - suppress soft labels
                    130: #      -ns     No status line - suppress status line
                    131: #      -rv     Terminal in reverse video mode (black on white)
                    132: #      -s      Enable status line.
1.5     ! tholo     133: #      -vb     Use visible bell (:vb:) rather than :bl:.
1.2       deraadt   134: #      -w      Wide - in 132 column mode.
                    135: # If a name has multiple suffixes and one is a line height, that one should
                    136: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    137: #
                    138: # Entries with embedded plus signs are designed to be included through use/tc
                    139: # capabilities, not used as standalone entries.
1.1       deraadt   140: #
                    141: # To avoid search clashes, some older all-numeric names for terminals have
                    142: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    143: # All primary names of terminals now have alphanumeric prefixes.
                    144: #
                    145: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    146: # code packaged with ncurses and contemplating the resulting error messages.
                    147: # In many cases, these indicated obvious fixes to syntax garbled by the
                    148: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    149: # capabilities by looking at context.  All the information in the original
                    150: # entries is preserved in the comments.
                    151: #
1.2       deraadt   152: # In the comments, terminfo capability names are bracketed with <> (angle
                    153: # brackets).  Termcap capability names are bracketed with :: (colons).
1.1       deraadt   154: #
                    155: # INTERPRETATION OF USER CAPABILITIES
                    156: #
                    157: # The System V Release 4 and XPG4 terminfo format defines ten string
1.2       deraadt   158: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
1.1       deraadt   159: # certain of these capabilities to describe functions which are not covered
                    160: # by terminfo.  The mapping is as follows:
                    161: #
1.3       deraadt   162: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
1.1       deraadt   163: #      u8      terminal answerback description
1.3       deraadt   164: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    165: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
1.1       deraadt   166: #
1.2       deraadt   167: # The terminal enquire string <u9> should elicit an answerback response
                    168: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
1.3       deraadt   169: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   170: #
1.2       deraadt   171: # The cursor position request (<u7>) string should elicit a cursor position
1.3       deraadt   172: # report.  A typical value (for VT100 terminals) is \E[6n.
1.1       deraadt   173: #
                    174: # The terminal answerback description (u8) must consist of an expected
                    175: # answerback string.  The string may contain the following scanf(3)-like
                    176: # escapes:
                    177: #
                    178: #      %c      Accept any character
                    179: #      %[...]  Accept any number of characters in the given set
                    180: #
1.2       deraadt   181: # The cursor position report (<u6>) string must contain two scanf(3)-style
1.1       deraadt   182: # %d format elements.  The first of these must correspond to the Y coordinate
1.2       deraadt   183: # and the second to the %d.  If the string contains the sequence %i, it is
                    184: # taken as an instruction to decrement each value after reading it (this is
                    185: # the inverse sense from the cup string).  The typical CPR value is
1.3       deraadt   186: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   187: #
                    188: # These capabilities are used by tac(1m), the terminfo action checker soon
                    189: # to be distributed with ncurses.
                    190: #
                    191: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    192: #
1.3       deraadt   193: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    194: # character-cell terminals are increasingly replaced by X displays, much of
                    195: # this file is becoming a historical document (this is part of the reason for
                    196: # the new organization, which puts ANSI types, xterm, and vt100 up front in
1.1       deraadt   197: # confidence that this will catch 95% of new hardware).
                    198: #
                    199: # For the terminal types still alive, I'd like to have manufacturer's
                    200: # contact data (Internet address and/or snail-mail + phone).
                    201: #
                    202: # I'm also interested in enriching the comments so that the latter portions of
                    203: # the file do in fact become a potted history of VDT technology as seen by
                    204: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    205: # include its live/dead/out-of-the-business status, and for as many
                    206: # terminal types as possible to be tagged with information like years
                    207: # of heaviest use, popularity, and interesting features.
                    208: #
                    209: # I'm especially interested in identifying the obscure entries listed under
1.5     ! tholo     210: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
        !           211: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
        !           212: # please go to the terminfo resource page, grab the file ufo.ti, and eyeball
        !           213: # it for things you can identify.
1.1       deraadt   214: #
                    215: # If you have been around long enough to contribute, please read the file
                    216: # with this in mind and send me your annotations.
                    217: #
                    218: # COPYRIGHTS AND OTHER DELUSIONS
                    219: #
                    220: # The BSD ancestor of this file had a standard Regents of the University of
                    221: # California copyright with dates from 1980 to 1993.
                    222: #
                    223: # Some information has been merged in from a terminfo file SCO distributes.
                    224: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    225: # took so much of the content from the ancestral BSD versions of this file
                    226: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    227: #
                    228: # Not that anyone should care.  However many valid functions copyrights may
                    229: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    230: # contributors makes about as much sense as copyrighting a wall-full of
                    231: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    232: #
                    233: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    234: # If you claim you own it, you will merely succeed in looking like a fool.
                    235: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    236: # There are no guarantees anywhere.  Svaha!
                    237:
                    238: ######## STANDARD AND SPECIAL TYPES
                    239: #
                    240: # This section describes terminal classes and maker brands that are still
                    241: # quite common.
                    242: #
                    243:
                    244: #### Specials
                    245: #
                    246: # Special "terminals".  These are used to label tty lines when you don't
                    247: # know what kind of terminal is on it.  The characteristics of an unknown
                    248: # terminal are the lowest common denominator - they look about like a ti 700.
                    249: #
                    250:
1.2       deraadt   251: dumb|80-column dumb tty:\
1.1       deraadt   252:        :am:\
                    253:        :co#80:\
                    254:        :bl=^G:cr=^M:do=^J:sf=^J:
1.2       deraadt   255: unknown|unknown terminal type:\
1.3       deraadt   256:        :gn:tc=dumb:
1.2       deraadt   257: lpr|printer|line printer:\
1.1       deraadt   258:        :hc:os:\
                    259:        :co#132:li#66:\
                    260:        :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
1.5     ! tholo     261: glasstty|classic glass tty interpreting ASCII control characters:\
        !           262:        :am:\
        !           263:        :co#80:\
        !           264:        :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
        !           265:        :ta=^I:
1.1       deraadt   266:
1.3       deraadt   267: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
1.2       deraadt   268: #
                    269: # See the end-of-file comment for more on these.
                    270: #
                    271:
                    272: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    273: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    274: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    275: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    276: # will work with any Intel console, they all seem to have inherited \E[11m
                    277: # from the ANSI.SYS de-facto standard.
                    278: klone+acs|alternate character set for ansi.sys displays:\
1.3       deraadt   279:        :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   280:        :ae=\E[10m:as=\E[11m:
                    281:
                    282: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    283: # console drivers for Intel boxes obey these.  Makes the same assumption
1.5     ! tholo     284: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
        !           285: # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
1.2       deraadt   286: klone+sgr|attribute control for ansi.sys displays:\
1.5     ! tholo     287:        :S2=\E[11m:S3=\E[10m: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;11%;m:\
1.5     ! tholo     290:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
        !           291:        :tc=klone+acs:
1.2       deraadt   292:
                    293: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    294: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    295: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    296: # diamond and arrow characters under curses.
                    297: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
1.5     ! tholo     298:        :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
        !           299:        :mr=\E[7m:\
1.2       deraadt   300:        :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m:\
1.5     ! tholo     301:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
        !           302:        :tc=klone+acs:
1.2       deraadt   303:
                    304: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    305: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    306: # but equivalent strings that don't rely on that coincidence:
                    307: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    308: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    309: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
1.5     ! tholo     310: # They match a subset of ECMA-48.
1.2       deraadt   311: klone+color|color control for ansi.sys and ISO6429-compatible displays:\
1.3       deraadt   312:        :Co#8:NC#3:pa#64:\
1.5     ! tholo     313:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[37;40m:
        !           314:
        !           315: # This is better than klone+color, it doesn't assume white-on-black as the
        !           316: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
        !           317: ecma+color|color control for ECMA-48-compatible terminals:\
        !           318:        :Co#8:NC#3:pa#64:\
        !           319:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[39;49m:
        !           320:
        !           321: # Attribute control for ECMA-48-compatible terminals
        !           322: ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
        !           323:        :se=\E[27m:ue=\E[24m:\
        !           324:        :tc=klone+sgr:
1.2       deraadt   325:
                    326: # For comparison, here are all the capabilities implied by the Intel
                    327: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    328: # For more detail on this rather pathetic standard, see the comments
                    329: # near the end of this file.
                    330: ibcs2|Intel Binary Compatibility Standard prescriptions:\
                    331:        :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5     ! tholo     332:        :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
        !           333:        :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
        !           334:        :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
        !           335:        :rc=\E7:sc=\E7:st=\EH:
1.2       deraadt   336:
1.3       deraadt   337: #### ANSI/ECMA-48 terminals and terminal emulators
1.1       deraadt   338: #
                    339: # See near the end of this file for details on ANSI conformance.
                    340: # Don't mess with these entries!  Lots of other entries depend on them!
                    341: #
                    342: # This section lists entries in a least-capable to most-capable order.
                    343: # if you're in doubt about what `ANSI' matches yours, try them in that
                    344: # order and back off from the first that breaks.
                    345:
                    346: ansi-mini|any ansi terminal with pessimistic assumptions:\
                    347:        :am:bs:\
                    348:        :co#80:it#8:li#24:\
1.2       deraadt   349:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                    350:        :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
1.1       deraadt   351:
                    352: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
1.5     ! tholo     353: # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
        !           354: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
        !           355: # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
        !           356: # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
        !           357: # to confuse many emulators.  On the other hand, we can count on these programs
        !           358: # doing :ae:/:as:/:sa:.  # Older versions of this entry featured
        !           359: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
1.2       deraadt   360: # ANSI.SYS influence.
                    361: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    362: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
                    363:        :am:bs:mi:ms:\
1.1       deraadt   364:        :co#80:it#8:li#24:\
1.2       deraadt   365:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5     ! tholo     366:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
        !           367:        :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !           368:        :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
        !           369:        :tc=klone+sgr-dumb:
1.2       deraadt   370: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
1.3       deraadt   371:        :li#25:tc=pcansi-m:
1.2       deraadt   372: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
1.3       deraadt   373:        :li#33:tc=pcansi-m:
1.2       deraadt   374: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
1.3       deraadt   375:        :li#43:tc=pcansi-m:
1.1       deraadt   376: # The color versions.  All PC emulators do color...
                    377: pcansi|ibm-pc terminal programs claiming to be ansi:\
1.2       deraadt   378:        :tc=klone+color:tc=pcansi-m:
1.1       deraadt   379: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
1.3       deraadt   380:        :li#25:tc=pcansi:
1.1       deraadt   381: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
1.3       deraadt   382:        :li#33:tc=pcansi:
1.1       deraadt   383: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
1.3       deraadt   384:        :li#43:tc=pcansi:
1.1       deraadt   385:
1.2       deraadt   386: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
1.1       deraadt   387: # If you want pound signs rather than dollars, replace `B' with `A'
1.2       deraadt   388: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    389: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    390: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
1.3       deraadt   391:        :5i:\
1.1       deraadt   392:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    393:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5     ! tholo     394:        :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
        !           395:        :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
        !           396:        :nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
        !           397:        :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
        !           398:        :tc=pcansi-m:
1.1       deraadt   399:
                    400: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
1.5     ! tholo     401: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
1.2       deraadt   402: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.1       deraadt   403: ansi|ansi/pc-term compatible with color:\
1.3       deraadt   404:        :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
1.5     ! tholo     405:        :u9=\E[c:\
        !           406:        :tc=ecma+color:tc=klone+sgr:tc=ansi-m:
1.1       deraadt   407:
                    408: #
                    409: # ANSI.SYS entries
                    410: #
1.2       deraadt   411: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    412: # documentation (except for the keyboard key reassignment feature, which
                    413: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    414: # though undocumented.  The <pfkey> capability is untested but should work for
                    415: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    416: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    417: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
                    418:        :am:mi:ms:xo:\
1.1       deraadt   419:        :co#80:li#25:\
1.3       deraadt   420:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
1.5     ! tholo     421:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
        !           422:        :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
        !           423:        :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
        !           424:        :tc=klone+color:tc=klone+sgr:
1.2       deraadt   425: ansi.sys|ANSI.SYS 3.1 and later versions:\
                    426:        :ce=\E[K:tc=ansi.sys-old:
                    427:
1.1       deraadt   428: #
                    429: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    430: # This should only be used when the terminal emulator cannot redefine the keys.
                    431: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    432: # definitions must be restored.  If the terminal emulator is quit while in vi
1.5     ! tholo     433: # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
1.1       deraadt   434: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    435: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    436: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1.5     ! tholo     437: # Note that :kl: is always BS, because PC-dos can tolerate this change.
1.1       deraadt   438: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    439: # Consequently the End keypad key could not be set (it is relatively safe and
                    440: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    441: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
                    442:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
                    443:        :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:\
1.5     ! tholo     444:        :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:\
        !           445:        :tc=ansi.sys:
1.1       deraadt   446: #
                    447: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    448: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
                    449:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    450:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
                    451: #
                    452: # See ansi.sysk and nansi.sys above.
                    453: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
                    454:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    455:        :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
                    456:
                    457: #### ANSI console types
                    458: #
                    459:
1.5     ! tholo     460: # This entry is good for the 1.2.13 version of the Linux console driver.
1.1       deraadt   461: #
                    462: # Note: there are numerous broken linux entries out there, which didn't screw
                    463: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
1.2       deraadt   464: # One common pathology is an incorrect tab length of 4.
1.1       deraadt   465: #
1.2       deraadt   466: # ***************************************************************************
                    467: # *                                                                         *
                    468: # *                           WARNING:                                      *
1.3       deraadt   469: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    470: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    471: # * character. Here are the keymap replacement lines that will set this up: *
1.2       deraadt   472: # *                                                                         *
                    473: #      keycode  15 = Tab             Tab
                    474: #              alt     keycode  15 = Meta_Tab
                    475: #              shift   keycode  15 = F26
                    476: #      string F26 ="\033[Z"
                    477: # *                                                                         *
1.3       deraadt   478: # * This has to use a key slot which is unfortunate (any unused one will    *
                    479: # # do, F26 is the higher-numbered one).  The change ought to be built      *
1.2       deraadt   480: # * into the kernel tables.                                                 *
                    481: # *                                                                         *
                    482: # ***************************************************************************
                    483: #
1.5     ! tholo     484: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
        !           485: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
        !           486: # not back-portable to SV curses and not supported in ncurses versions before
        !           487: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
        !           488: # themselves; this entry assumes that capability.
        !           489: #
        !           490: # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
1.1       deraadt   491: linux|linux console:\
1.3       deraadt   492:        :am:eo:mi:ms:ut:xn:xo:\
1.5     ! tholo     493:        :it#8:\
        !           494:        :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[23~:\
        !           495:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
        !           496:        :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
        !           497:        :K2=\E[G:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.3       deraadt   498:        :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                    499:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
1.5     ! tholo     500:        :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
        !           501:        :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
        !           502:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
        !           503:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
        !           504:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !           505:        :nw=^M^J:r1=\Ec:rc=\E8:\
        !           506:        :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m:\
        !           507:        :sc=\E7:sf=^J:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
        !           508:        :u8=\E[?6c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
        !           509:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
        !           510:        :tc=klone+sgr:tc=ecma+color:
1.2       deraadt   511: linux-m|Linux console no color:\
1.3       deraadt   512:        :Co@:pa@:\
                    513:        :AB@:AF@:Sb@:Sf@:tc=linux:
1.5     ! tholo     514: linux-c-nc|linux console 1.3.x hack for ncurses only:\
        !           515:        :cc:\
        !           516:        :..Ic=\E]P%p1%x%p2%02x%p3%02x%p4%02x:oc=\E]R:tc=linux:
        !           517: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
        !           518: linux-c|linux console 1.3.6+, with private palette for each virtual console:\
        !           519:        :cc:\
        !           520:        :Co#8:pa#64:\
        !           521:        :..Ic=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;:\
        !           522:        :oc=\E]R:\
        !           523:        :tc=linux:
1.1       deraadt   524:
                    525: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    526: linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
1.5     ! tholo     527:        :IC@:ei=:ic@:im=:\
        !           528:        :tc=linux:
        !           529:
        !           530: linux-old|linux console with hardwired screen size:\
        !           531:        :co#80:li#25:tc=linux:
1.1       deraadt   532:
                    533: # SCO console and SOS-Syscons console for 386bsd
                    534: # (scoansi: had unknown capabilities
                    535: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
1.2       deraadt   536: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
1.1       deraadt   537: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    538: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    539: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
1.5     ! tholo     540: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
        !           541: # on the :as:=\E[12m  -- esr)
1.1       deraadt   542: scoansi|SCO Extended ANSI standard crt:\
1.2       deraadt   543:        :am:bs:eo:xo:\
1.1       deraadt   544:        :co#80:it#8:li#25:\
1.5     ! tholo     545:        :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !           546:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !           547:        :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
        !           548:        :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
        !           549:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
        !           550:        :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
        !           551:        :tc=klone+sgr-dumb:
1.1       deraadt   552:
1.3       deraadt   553: # This actually describes the generic SVr4 display driver for Intel boxes.
1.5     ! tholo     554: # The :mh=\E[2m: isn't documented and therefore may not be reliable.
1.3       deraadt   555: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
1.2       deraadt   556: att6386|at386|386at|AT&T WGS 6386 console:\
1.1       deraadt   557:        :am:bw:eo:xo:\
                    558:        :co#80:it#8:li#25:\
1.5     ! tholo     559:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
        !           560:        :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
        !           561:        :SR=\E[%dT:UP=\E[%dA:\
1.3       deraadt   562:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt   563:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
1.5     ! tholo     564:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
        !           565:        :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
        !           566:        :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
        !           567:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
        !           568:        :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
        !           569:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
        !           570:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
        !           571:        :nw=\r\E[S:rc=\E8:\
1.3       deraadt   572:        :..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:\
1.5     ! tholo     573:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
        !           574:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
        !           575:        :tc=klone+color:
1.2       deraadt   576: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    577: pc6300plus|AT&T 6300 plus:\
                    578:        :am:xo:\
1.1       deraadt   579:        :co#80:li#24:\
                    580:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
1.5     ! tholo     581:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
        !           582:        :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
        !           583:        :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
        !           584:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !           585:        :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !           586:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
        !           587:        :ve=\E[=1C:vi=\E[=C:
1.1       deraadt   588:
                    589: #
                    590: #      Terminfo entry for the AT&T Unix PC 7300
                    591: #      from escape(7) in Unix PC 7300 Manual.
                    592: #      Somewhat similar to a vt100-am (but different enough
                    593: #      to redo this from scratch.)
                    594: #
                    595: #      /***************************************************************
                    596: #      *
                    597: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    598: #      *
                    599: #      *     This routine loads a font defined in the file ALTFONT
                    600: #      *     into font memory slot #1.  Once the font has been loaded,
                    601: #      *     it can be used as an alternative character set.
                    602: #      *
                    603: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    604: #      *     to this routine.  For more information, see window(7) in
                    605: #      *     the PC 7300 documentation.
                    606: #      ***************************************************************/
                    607: #      #include <string.h>             /* needed for strcpy call */
                    608: #      #include <sys/window.h>         /* needed for ioctl call */
                    609: #      #define FNSIZE  60              /* font name size */
                    610: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    611: #      /*
                    612: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    613: #      *     standard PC software.  It defines a graphics character set
                    614: #      *     similar to that of the Teletype 5425 terminal.  To view
                    615: #      *     this or other fonts in /usr/lib/wfont, use the command
                    616: #      *     cfont <filename>.  For further information on fonts see
                    617: #      *     cfont(1) in the PC 7300 documentation.
                    618: #      */
                    619: #
                    620: #      struct altfdata         /* structure for alt font data */
                    621: #      {
                    622: #      short   altf_slot;              /* memory slot number */
                    623: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    624: #      };
                    625: #      ldfont()
                    626: #      {
                    627: #              int wd;         /* window in which altfont will be */
                    628: #              struct altfdata altf;
                    629: #              altf.altf_slot=1;
                    630: #              strcpy(altf.altf_name,ALTFONT);
                    631: #              for (wd =1; wd < 12; wd++) {
                    632: #                   ioctl(wd, WIOCLFONT,&altf);
                    633: #              }
                    634: #      }
                    635: #
1.5     ! tholo     636: # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
1.3       deraadt   637: # they're confirmed by the man page for the System V display---esr)
                    638: #
                    639: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    640: # (sgr removed to fit entry within 1023 bytes)
                    641: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   642: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
                    643:        :am:xn:xo:\
                    644:        :co#80:it#8:li#24:\
                    645:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                    646:        :UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E^I:\
                    647:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.5     ! tholo     648:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:i1=^O:ic=\E[@:im=:\
        !           649:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E5:k6=\E6:k7=\E7:\
        !           650:        :k8=\E8:kD=\Edc:kI=\Eim:kN=\Epg:kP=\EPG:kb=^H:kd=\E[B:\
        !           651:        :kh=\Ehm:kl=\E[D:kr=\E[C:ku=\E[A:md=\E[7m:me=\E[0;10m:\
        !           652:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:sf=^J:so=\E[7m:\
        !           653:        :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
1.1       deraadt   654:
1.3       deraadt   655: # From: davis@unidata.ucar.edu
1.2       deraadt   656: # (iris-ansi: added rmam/smam based on init string -- esr)
1.1       deraadt   657: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
                    658:        :am:\
                    659:        :co#80:it#8:li#40:\
1.5     ! tholo     660:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
        !           661:        :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
        !           662:        :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
        !           663:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
        !           664:        :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !           665:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
1.3       deraadt   666:        :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
1.5     ! tholo     667:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
        !           668:        :k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:kD=\177:\
        !           669:        :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=^H:\
        !           670:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:md=\E[1m:\
        !           671:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:pk=\EP101;%d.y%s\E\\:\
        !           672:        :rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:\
        !           673:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
1.2       deraadt   674:        :vs=\E[10/y\E[=1h\E[=2l\E[=6h:
1.1       deraadt   675:
                    676: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    677: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    678: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    679: # (the former is untrue, and the latter failed under UCB/man); standout and
                    680: # underline modes have been added.  Note: this entry describes the "native"
                    681: # capabilities of the PC monochrome display, without ANY emulation; most
                    682: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    683: pcix|PC/IX console:\
1.2       deraadt   684:        :am:bw:eo:\
1.1       deraadt   685:        :co#80:li#24:\
1.5     ! tholo     686:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
        !           687:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
        !           688:        :us=\E[4m:
1.1       deraadt   689:
1.3       deraadt   690: # (ibmpcx: this entry used to be known as ibmx.
                    691: # It formerly included the following extension capabilities:
1.1       deraadt   692: #      :GC=b:GL=v:GR=t:RT=^J:\
                    693: #      :GH=\E[196g:GV=\E[179g:\
                    694: #      :GU=\E[193g:GD=\E[194g:\
                    695: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    696: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    697: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    698: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1.2       deraadt   699: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    700: # what was there before. -- esr)
1.1       deraadt   701: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
1.2       deraadt   702:        :am:ms:\
1.1       deraadt   703:        :co#80:li#25:\
1.3       deraadt   704:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
1.5     ! tholo     705:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
        !           706:        :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
        !           707:        :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
        !           708:        :tc=klone+acs:tc=klone+sgr:
1.1       deraadt   709:
                    710:
1.2       deraadt   711: # QNX 4.0 Console
1.5     ! tholo     712: # Michael's original version of this entry had <am@>, :ti=\Ei:,
        !           713: # :te=\Eh\ER:; this was so terminfo applications could write the lower
1.2       deraadt   714: # right corner without triggering a scroll.  The ncurses terminfo library can
1.5     ! tholo     715: # handle this case with the :ic: capability, and prefers :am: for better
        !           716: # optimization.  Bug: The <op> capability resets attributes.
1.1       deraadt   717: # From: Michael Hunter <mphunter@qnx.com> 25 Aug 1995
1.3       deraadt   718: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    719: # (sgr removed to fit entry within 1023 bytes)
                    720: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   721: qnx|qnx4|qnx console:\
1.2       deraadt   722:        :am:km:mi:ms:xt:\
1.1       deraadt   723:        :co#80:it#4:li#25:\
1.5     ! tholo     724:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
        !           725:        :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
        !           726:        :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
        !           727:        :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
        !           728:        :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
        !           729:        :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
        !           730:        :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
        !           731:        :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
        !           732:        :te=\ER:ti=:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:vs=\Ey2:
1.2       deraadt   733:
1.5     ! tholo     734: #### NetBSD consoles
1.2       deraadt   735: #
                    736: # pcvt termcap database entries (corresponding to release 3.31)
                    737: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    738: #
                    739: # (For the terminfo master file, I translated these into terminfo syntax.
                    740: # Then I dropped all the pseudo-HP entries. we don't want and can't use
1.5     ! tholo     741: # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
        !           742: # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
1.2       deraadt   743:
                    744: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
1.5     ! tholo     745: # both :ic: and :im: are specified (an original VT220
        !           746: # shows the same buggy behaviour!), :ic: has been taken
        !           747: # out of this entry. for reference, it should be <ich1=\E[@>.
        !           748: pcvtXX|pcvt vt200 emulator (DEC VT220):\
        !           749:        :am:km:mi:ms:xn:\
        !           750:        :it#8:vt#3:\
        !           751:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !           752:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
        !           753:        :SR=\E[%dT:UP=\E[%dA:\
        !           754:        :ac=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz:\
        !           755:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !           756:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !           757:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
        !           758:        :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
        !           759:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
        !           760:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
        !           761:        :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
        !           762:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
        !           763:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !           764:        :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !           765:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
        !           766:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1.2       deraadt   767:
                    768: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    769: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5     ! tholo     770: #      50 lines entries; 80 columns
        !           771: pcvt25|dec vt220 emulation with 25 lines:\
        !           772:        :co#80:li#25:\
        !           773:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
        !           774: pcvt28|dec vt220 emulation with 28 lines:\
        !           775:        :co#80:li#28:\
        !           776:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
        !           777: pcvt35|dec vt220 emulation with 35 lines:\
        !           778:        :co#80:li#35:\
        !           779:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
        !           780: pcvt40|dec vt220 emulation with 40 lines:\
        !           781:        :co#80:li#40:\
        !           782:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
        !           783: pcvt43|dec vt220 emulation with 43 lines:\
        !           784:        :co#80:li#43:\
        !           785:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
        !           786: pcvt50|dec vt220 emulation with 50 lines:\
        !           787:        :co#80:li#50:\
        !           788:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
1.2       deraadt   789:
                    790: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    791: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5     ! tholo     792: #      50 lines entries; 132 columns
        !           793: pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
        !           794:        :co#132:li#25:\
        !           795:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
        !           796: pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
        !           797:        :co#132:li#28:\
        !           798:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
        !           799: pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
        !           800:        :co#132:li#35:\
        !           801:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
        !           802: pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
        !           803:        :co#132:li#40:\
        !           804:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
        !           805: pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
        !           806:        :co#132:li#43:\
        !           807:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
        !           808: pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
        !           809:        :co#132:li#50:\
        !           810:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
        !           811:
        !           812: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
        !           813: # manufactured by Sharp for the Japenese market.
        !           814: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
        !           815: x68k|x68k-ite|NetBSD/x68k ITE:\
        !           816:        :co#96:li#32:\
        !           817:        :%1=\E[28~:kC=\E[9~:tc=vt220:
        !           818:
        !           819: #### FreeBSD console entries
        !           820: #
        !           821: # From: Andrew Chernov <ache@astral.msk.su> 29 Mar 1996
        !           822: # Andew Chernov maintains the FreeBSD termcap distributions.
        !           823: #
        !           824: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
        !           825: # or comment out the <el1> capability in the console entry.
        !           826: #
        !           827:
        !           828: # for syscons
        !           829: # common entry without semigraphics
        !           830: # Bug: The <op> capability resets attributes.
        !           831: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
        !           832:        :NP:am:bw:eo:ms:ut:\
        !           833:        :Co#8:co#80:it#8:li#25:pa#64:\
        !           834:        :@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
        !           835:        :F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
        !           836:        :SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
        !           837:        :bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
        !           838:        :cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
        !           839:        :ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
        !           840:        :k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
        !           841:        :kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
        !           842:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !           843:        :me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:op=\E[x:\
        !           844:        :r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
        !           845:        :up=\E[A:
        !           846: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
        !           847:        :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261I^U0\333y\363z\362:\
        !           848:        :tc=cons25w:
        !           849: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
        !           850:        :Co@:pa@:\
        !           851:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
        !           852: cons30|ansi80x30|freebsd console (30-line ansi mode):\
        !           853:        :li#30:tc=cons25:
        !           854: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
        !           855:        :li#30:tc=cons25-m:
        !           856: cons43|ansi80x43|freebsd console (43-line ansi mode):\
        !           857:        :li#43:tc=cons25:
        !           858: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
        !           859:        :li#43:tc=cons25-m:
        !           860: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
        !           861:        :li#50:tc=cons25:
        !           862: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
        !           863:        :li#50:tc=cons25-m:
        !           864: cons60|ansi80x60|freebsd console (60-line ansi mode):\
        !           865:        :li#60:tc=cons25:
        !           866: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
        !           867:        :li#60:tc=cons25-m:
        !           868: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
        !           869:        :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215:\
        !           870:        :tc=cons25w:
        !           871: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
        !           872:        :Co@:pa@:\
        !           873:        :Sb@:Sf@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
        !           874: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
        !           875:        :li#50:tc=cons25r:
        !           876: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
        !           877:        :li#50:tc=cons25r-m:
        !           878: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
        !           879:        :li#60:tc=cons25r:
        !           880: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
        !           881:        :li#60:tc=cons25r-m:
        !           882: # ISO 8859-1 FreeBSD console
        !           883: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
        !           884:        :ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.\031-\030+\253\054\273I\247y\232z\233:\
        !           885:        :tc=cons25w:
        !           886: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
        !           887:        :Co@:pa@:\
        !           888:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
        !           889: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
        !           890:        :li#50:tc=cons25l1:
        !           891: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
        !           892:        :li#50:tc=cons25l1-m:
        !           893: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
        !           894:        :li#60:tc=cons25l1:
        !           895: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
        !           896:        :li#60:tc=cons25l1-m:
1.2       deraadt   897:
1.3       deraadt   898: #### 386BSD and BSD/OS Consoles
                    899: #
                    900:
                    901: # This was the original 386BSD console entry (I think).
                    902: # Some places it's named oldpc3|oldibmpc3.
                    903: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    904: origpc3|origibmpc3|IBM PC 386BSD Console:\
                    905:        :am:bw:eo:xo:\
                    906:        :co#80:li#25:\
                    907:        :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
1.5     ! tholo     908:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
        !           909:        :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
        !           910:        :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
        !           911:        :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
        !           912:        :up=\E[A:us=\E[1;7x\E[2;0x:
1.3       deraadt   913:
                    914: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                    915: oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
                    916:        :km:\
                    917:        :li#25:\
1.5     ! tholo     918:        :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
        !           919:        :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !           920:        :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
1.3       deraadt   921:
                    922: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                    923: # Note, the emulator supports many of the additional console features
1.5     ! tholo     924: # listed in the iBCS2 (e.g. character-set selection) though not all
        !           925: # are described here.  This entry really ought to be upgraded.
1.3       deraadt   926: # Also note, the console will also work with fewer lines after doing
                    927: # "stty rows NN", e.g. to use 24 lines.
1.5     ! tholo     928: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
        !           929: # Bug: The <op> capability resets attributes.
1.3       deraadt   930: bsdos|BSD/OS console:\
                    931:        :am:bw:eo:km:xo:\
1.5     ! tholo     932:        :Co#8:co#80:it#8:li#25:pa#64:\
1.3       deraadt   933:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5     ! tholo     934:        :Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
        !           935:        :ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:\
        !           936:        :kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
        !           937:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
        !           938:        :mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:rc=\E8:sc=\E7:\
        !           939:        :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt   940: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5     ! tholo     941:        :ue=\E[0m:us=\E[1m:\
        !           942:        :tc=bsdos:
1.3       deraadt   943:
                    944: # If you are BSDI, you want the following entries, for the moment.
                    945: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                    946: pc3|IBM PC BSD/386 Console:\
                    947:        :tc=bsdos:
                    948: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5     ! tholo     949:        :us=\E[1m:\
        !           950:        :tc=bsdos-bold:
1.1       deraadt   951:
                    952: #### DEC VT100 and compatibles
1.2       deraadt   953: #
                    954: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                    955: # the basis of some emulations) are collected here. Older DEC terminals and
                    956: # micro consoles can be found in the `obsolete' section.  More details on
                    957: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                    958: # found near the end of this file.
1.1       deraadt   959: #
                    960: # Except where noted, these entries are DEC's official terminfos.
                    961: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                    962: # Engineering for more information.  Updated terminfos and termcaps
                    963: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                    964: #
1.5     ! tholo     965: # In October 1995 DEC sold its terminals business, including the VT and Dorio
        !           966: # line and trademark, to SunRiver Data Systems.
        !           967: #
1.1       deraadt   968:
1.2       deraadt   969: vt52|dec vt52:\
                    970:        :co#80:it#8:li#24:\
1.5     ! tholo     971:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=\EB:\
        !           972:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
        !           973:        :nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
1.2       deraadt   974:
                    975: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                    976: # certainly includes what DEC called the `Level 1 editing extension' codes;
                    977: # only the very oldest VT100s lacked these and there probably aren't any of
                    978: # those left alive.  To capture these, use one of the VT102 entries.
                    979: #
1.5     ! tholo     980: # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
1.1       deraadt   981: # since the cursor is left in a different position while in the
                    982: # weird state (concept at beginning of next line, vt100 at end
                    983: # of this line) so all versions of vi before 3.7 don't handle
1.5     ! tholo     984: # :xn: right on vt100. The correct way to handle :xn: is when
1.1       deraadt   985: # you output the char in column 80, immediately output CR LF
1.5     ! tholo     986: # and then assume you are in column 1 of the next line. If :xn:
1.1       deraadt   987: # is on, am should be on too.
                    988: #
                    989: # I assume you have smooth scroll off or are at a slow enough baud
                    990: # rate that it doesn't matter (1200? or less). Also this assumes
                    991: # that you set auto-nl to "on", if you set it off use vt100-nam
                    992: # below.
                    993: #
                    994: # The padding requirements listed here are guesses. It is strongly
                    995: # recommended that xon/xoff be enabled, as this is assumed here.
                    996: #
1.5     ! tholo     997: # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
1.1       deraadt   998: # tab settings are in non-volatile memory and don't need to be
                    999: # reset upon login. Also setting the number of columns glitches
                   1000: # the screen annoyingly. You can type "reset" to get them set.
                   1001: #
                   1002: # This is how the keypad gets assigned in Application Keypad mode.
                   1003: #      PF1 = kf1         PF2 = kf2         PF3   = kf3       PF4 = kf4
                   1004: #      7   = kf9         8   = kf10        9     = kf0       -
                   1005: #      4   = kf5         5   = kf6         6     = kf7       ,   = kf8
                   1006: #      1   = ka1         2   = kb2         3     = ka3
                   1007: #      0   = kc1         .   = kc3         ENTER = kent
                   1008: #
1.2       deraadt  1009: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1010: # a description of the soft switches invoked when you do `Set Up'.
                   1011: #
                   1012: #  Scroll 0-Jump               Shifted 3   0-#
                   1013: #  |      1-Smooth             |           1-British pound sign
                   1014: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1015: #  | |          1-On           | |           1-On
                   1016: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1017: #  | | |      1-Light Bkg      | | |        1-On
                   1018: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1019: #  | | | |      1-Block        | | | |         1-On
                   1020: #  | | | |                     | | | |
                   1021: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1022: #                | | | |                     | | | |
                   1023: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1024: #                | | |               1-On    | | |       1-50 Hz
                   1025: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1026: #                | |           1-ANSI        | |                1-8 Bits
                   1027: #                | Keyclick 0-Off            | Parity 0-Off
                   1028: #                |          1-On             |        1-On
                   1029: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1030: #                            1-On                         1-Even
                   1031: #
                   1032: # The following SET-UP modes are assumed for normal operation:
                   1033: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1034: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1035: # Other SET-UP modes may be set for operator convenience or communication
                   1036: # requirements; I recommend
                   1037: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1038: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1039: # (and even then, whenever it can be arranged!) you should set
                   1040: #      INTERLACE_OFF
                   1041: #
1.5     ! tholo    1042: # (I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.1       deraadt  1043: vt100|vt100-am|dec vt100 (w/advanced video):\
1.5     ! tholo    1044:        :am:bs:ms:xn:xo:\
1.1       deraadt  1045:        :co#80:it#8:li#24:vt#3:\
1.5     ! tholo    1046:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          1047:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  1048:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5     ! tholo    1049:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          1050:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
        !          1051:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          1052:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        !          1053:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          1054:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          1055:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  1056:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
1.5     ! tholo    1057:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
        !          1058:        :up=\E[A:us=\E[4m:
1.2       deraadt  1059: vt100nam|vt100-nam|vt100 no automargins:\
1.3       deraadt  1060:        :am@:xn@:tc=vt100-am:
1.1       deraadt  1061:
                   1062: # Ordinary vt100 in 132 column ("wide") mode.
                   1063: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1.3       deraadt  1064:        :co#132:li#24:\
                   1065:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1.1       deraadt  1066: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1.3       deraadt  1067:        :co#132:li#14:vt@:\
                   1068:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1.1       deraadt  1069:
                   1070: # vt100 with no advanced video.
                   1071: vt100-nav|vt100 without advanced video option:\
                   1072:        :sg#1:\
1.5     ! tholo    1073:        :mb@:md@:me=:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1.1       deraadt  1074: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1.3       deraadt  1075:        :co#132:li#14:tc=vt100-nav:
1.1       deraadt  1076:
                   1077: # vt100 with one of the 24 lines used as a status line.
                   1078: # We put the status line on the top.
                   1079: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
                   1080:        :es:hs:\
                   1081:        :li#23:\
                   1082:        :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1.5     ! tholo    1083:        :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
        !          1084:        :ts=\E7\E[1;%p1%dH\E[1K:\
        !          1085:        :tc=vt100-am:
1.1       deraadt  1086:
                   1087: # Status line at bottom.
                   1088: # Clearing the screen will clobber status line.
                   1089: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
                   1090:        :es:hs:\
                   1091:        :li#23:\
                   1092:        :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1.5     ! tholo    1093:        :ts=\E7\E[24;%p1%dH\E[1K:\
        !          1094:        :tc=vt100-am:
1.1       deraadt  1095:
                   1096: # Most of the `vt100' emulators out there actually emulate a vt102
                   1097: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1098: # these.
                   1099: vt102|dec vt102:\
                   1100:        :mi:\
                   1101:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1.3       deraadt  1102: vt102-w|dec vt102 in wide mode:\
                   1103:        :li#132:\
                   1104:        :r3=\E[?3h:tc=vt102:
1.1       deraadt  1105:
                   1106: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1.5     ! tholo    1107: # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1.1       deraadt  1108: # string in the canonical vt100 entry above leaves the screen littered
                   1109: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1110: # after highlight turnoffs.  This entry should fix that, and even leave
                   1111: # ACS support working, at the cost of making multiple-highlight changes
                   1112: # slightly more expensive.
                   1113: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.2       deraadt  1114: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1.5     ! tholo    1115:        :me=\E[m:sa@:\
        !          1116:        :tc=vt102:
1.1       deraadt  1117:
                   1118: # VT125 Graphics CRT.  Clear screen also erases graphics
                   1119: vt125|vt125 graphics terminal:\
1.2       deraadt  1120:        :cl=\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
                   1121:
                   1122: # This isn't a DEC entry, it came from University of Wisconsin.
1.5     ! tholo    1123: # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.2       deraadt  1124: vt131|dec vt131:\
1.5     ! tholo    1125:        :am:bs:xn:\
1.2       deraadt  1126:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  1127:        :RA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
1.2       deraadt  1128:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   1129:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5     ! tholo    1130:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          1131:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
        !          1132:        :nd=2\E[C:nw=^M^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          1133:        :rc=\E8:sc=\E7:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:\
        !          1134:        :up=2\E[A:us=2\E[4m:
1.1       deraadt  1135:
                   1136: # vt132 - like vt100 but slower and has ins/del line and such.
1.5     ! tholo    1137: # I'm told that :im:/:ei: are backwards in the terminal from the
1.1       deraadt  1138: # manual and from the ANSI standard, this describes the actual
                   1139: # terminal. I've never actually used a vt132 myself, so this
                   1140: # is untested.
                   1141: #
                   1142: vt132|DEC vt132:\
                   1143:        :xn:\
                   1144:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
                   1145:
                   1146: # vt220:
                   1147: # This vt220 description maps F5--F9 to the second block of function keys
                   1148: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1149: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1150: # PF1--PF4 are used as F1--F4.
                   1151: #
1.3       deraadt  1152: vt220|vt200|DEC VT220 in vt100 emulation mode:\
1.1       deraadt  1153:        :am:mi:xn:xo:\
                   1154:        :co#80:li#24:vt#3:\
1.5     ! tholo    1155:        :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:ac=kkllmmjjnnwwqquuttvvxx:\
        !          1156:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
        !          1157:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          1158:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
        !          1159:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  1160:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1161:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1.3       deraadt  1162:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
1.5     ! tholo    1163:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          1164:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1165:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.5     ! tholo    1166:        :rf=/usr/share/tabset/vt100:\
1.1       deraadt  1167:        :..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  1168:        :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
                   1169:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
                   1170: vt220-w|vt200-w|DEC vt220 in wide mode:\
                   1171:        :co#132:\
                   1172:        :r3=\E[?3h:tc=vt220:
                   1173:
1.1       deraadt  1174: #
                   1175: # vt220d:
                   1176: # This vt220 description regards F6--F10 as the second block of function keys
                   1177: # at the top of the keyboard.  This mapping follows the description given
                   1178: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1179: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1180: # See vt220 for an alternate mapping.
                   1181: #
                   1182: vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1.3       deraadt  1183:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1.5     ! tholo    1184:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
        !          1185:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
        !          1186:        :tc=vt220:
1.1       deraadt  1187:
1.3       deraadt  1188: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
                   1189:        :am@:\
                   1190:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1191:
1.3       deraadt  1192: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1193: # (sgr removed to fit entry within 1023 bytes)
                   1194: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1195: vt220-8|dec vt220 8 bit terminal:\
1.5     ! tholo    1196:        :am:bs:mi:ms:xn:xo:\
1.1       deraadt  1197:        :co#80:it#8:li#24:\
                   1198:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    1199:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          1200:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          1201:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
        !          1202:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
        !          1203:        :is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          1204:        :k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
        !          1205:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          1206:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          1207:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
        !          1208:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  1209:
                   1210: # This was DEC's vt320.  Use the purpose-built one below instead
                   1211: #vt320|DEC VT320 in vt100 emulation mode,
                   1212: #      use=vt220,
                   1213:
                   1214: #
                   1215: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1216: #
1.2       deraadt  1217: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1.3       deraadt  1218:        :am@:\
                   1219:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1220:
                   1221: # These entries are not DEC's official ones, they were purpose-built for the
                   1222: # VT320.  Here are the designer's notes:
1.2       deraadt  1223: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1224: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1.1       deraadt  1225: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1.2       deraadt  1226: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1227: # tab usually use <knxt> instead...
1.1       deraadt  1228: # kprv is same as tab - Backtab is useless...
1.5     ! tholo    1229: # I left out :sa: because of its RIDICULOUS complexity,
1.1       deraadt  1230: # and the resulting fact that it causes the termcap translation of the entry
                   1231: # to SMASH the 1k-barrier...
                   1232: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5     ! tholo    1233: # (vt320: uncommented :fs: --esr)
1.3       deraadt  1234: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1235: # (sgr removed to fit entry within 1023 bytes)
                   1236: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1237: vt320|vt300|dec vt320 7 bit terminal:\
                   1238:        :am:es:hs:mi:ms:xn:\
                   1239:        :co#80:li#24:ws#80:\
                   1240:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1241:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5     ! tholo    1242:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
        !          1243:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1244:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
        !          1245:        :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.1       deraadt  1246:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1247:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    1248:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1249:        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
        !          1250:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1251:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
        !          1252:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
        !          1253:        :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  1254: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
                   1255:        :am@:\
1.3       deraadt  1256:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5     ! tholo    1257:        :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
        !          1258:        :tc=vt320:
1.1       deraadt  1259: # We have to init 132-col mode, not 80-col mode.
                   1260: vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
                   1261:        :co#132:ws#132:\
1.3       deraadt  1262:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1.5     ! tholo    1263:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
        !          1264:        :tc=vt320:
1.1       deraadt  1265: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
                   1266:        :am@:\
1.3       deraadt  1267:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5     ! tholo    1268:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
        !          1269:        :tc=vt320-w:
1.1       deraadt  1270:
1.2       deraadt  1271: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1272: #   which are pretty much a superset of the VT320.  They have the
                   1273: #   host writable status line, yet another different DRCS matrix size,
                   1274: #   and such, but they add the DEC Technical character set, Multiple text
                   1275: #   pages, selectable length pages, and the like.  The difference between
                   1276: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1277: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1278: #   support VT131 and ANSI block mode, but as with much of these things,
                   1279: #   termcap/terminfo doesn't deal with these features.
                   1280: #
                   1281: # Note that this entry is are set up in what was the standard way for GNU
                   1282: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1283: # keys were switched into application mode at the same time the numeric pad
                   1284: # is switched into application mode.  This changes the definitions of the
                   1285: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1286: # your termcap entry,
                   1287: #
                   1288: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1289: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1290: # also, added <rmam>/<smam> based on the init string -- esr)
                   1291: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
                   1292:        :am:es:hs:mi:ms:xn:xo:\
                   1293:        :co#80:it#8:li#24:vt#3:\
                   1294:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1295:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5     ! tholo    1296:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  1297:        :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5     ! tholo    1298:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          1299:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
        !          1300:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  1301:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1302:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    1303:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          1304:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          1305:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
        !          1306:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
        !          1307:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  1308:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1309:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1310:
                   1311: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1312: # (originally written with vt420 as its primary name, and usable for it).
                   1313: #
                   1314: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1315: #    text pages and long text pages with selectable length of the vt340, along
                   1316: #    with left and right margins, rectangular area text copy, fill, and erase
                   1317: #    operations, selected region character attribute change operations,
                   1318: #    page memory and rectangle checksums, insert/delete column, reception
                   1319: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1320: #    can only take advantage of a few of these added features.
                   1321: #
                   1322: # Note that this entry is are set up in what was the standard way for GNU
                   1323: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1324: # keys were switched into application mode at the same time the numeric pad
                   1325: # is switched into application mode.  This changes the definitions of the
                   1326: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1327: # your termcap entry,
                   1328: #
                   1329: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1330: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1331: # also, added <rmam>/<smam> based on the init string -- esr)
                   1332: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
                   1333:        :am:es:hs:mi:ms:xn:xo:\
                   1334:        :co#80:it#8:li#24:vt#3:\
                   1335:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1336:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5     ! tholo    1337:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          1338:        :ae=^O:al=\E[L:as=^N:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
        !          1339:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          1340:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
        !          1341:        :fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
1.2       deraadt  1342:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1343:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    1344:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          1345:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          1346:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
        !          1347:        :r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
        !          1348:        :rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
        !          1349:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
        !          1350:        :ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
        !          1351:        :ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1352:
1.5     ! tholo    1353: # (vt420: I removed :k0:, it collided with <kf10> -- esr)
1.1       deraadt  1354: vt420|DEC VT420:\
                   1355:        :am:mi:xn:xo:\
                   1356:        :co#80:li#24:vt#3:\
1.3       deraadt  1357:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1358:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1359:        :SA=\E[?7h:\
                   1360:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1361:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1362:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1363:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5     ! tholo    1364:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
        !          1365:        :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          1366:        :k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
        !          1367:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1368:        :kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
        !          1369:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          1370:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1371:        :..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.5     ! tholo    1372:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          1373:        :us=\E[4m:
1.1       deraadt  1374:
                   1375: #
                   1376: #  DECUDK
                   1377: #               if (key < 16) then  value = key;
                   1378: #               else if (key < 21) then value = key + 1;
                   1379: #               else if (key < 25) then value = key + 2;
                   1380: #               else if (key < 27) then value = key + 3;
                   1381: #               else if (key < 30) then value = key + 4;
                   1382: #               else value = key + 5;
                   1383: #
                   1384: vt420pc|DEC VT420 w/PC keyboard:\
1.5     ! tholo    1385:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
        !          1386:        :F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
        !          1387:        :F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
        !          1388:        :FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
        !          1389:        :FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
        !          1390:        :FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
        !          1391:        :FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
        !          1392:        :FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
        !          1393:        :Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
        !          1394:        :S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
        !          1395:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
        !          1396:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1.3       deraadt  1397:        :..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  1398:
                   1399: vt420pcdos|DEC VT420 w/PC for DOS Merge:\
                   1400:        :li#25:\
1.3       deraadt  1401:        :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
                   1402:        :S4=\E[?1;2r\E[34h:\
                   1403:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1.5     ! tholo    1404:        :me=\E[m:sa@:\
        !          1405:        :tc=vt420pc:
1.1       deraadt  1406:
                   1407: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1.3       deraadt  1408:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
                   1409:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1.1       deraadt  1410:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.3       deraadt  1411:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1.5     ! tholo    1412:        :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
        !          1413:        :tc=vt420:
1.1       deraadt  1414:
                   1415: vt510|DEC VT510:\
                   1416:        :tc=vt420:
                   1417: vt510pc|DEC VT510 w/PC keyboard:\
                   1418:        :tc=vt420pc:
                   1419: vt510pcdos|DEC VT510 w/PC for DOS Merge:\
                   1420:        :tc=vt420pcdos:
                   1421:
                   1422: # VT520/VT525
                   1423: #
                   1424: # The VT520 is a monochrome text terminal capable of managing up to
                   1425: # four independent sessions in the terminal.  It has multiple ANSI
                   1426: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1427: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1428: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1429: #
                   1430: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1431: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1432: # terminal mode is being used.  If Set-Up has been disabled or
                   1433: # assigned to an unknown key, Set-Up may be entered by pressing
                   1434: # [F3] as the first key after power up, regardless of keyboard type.
1.5     ! tholo    1435: # (vt520: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  1436: vt520|DEC VT520:\
                   1437:        :am:mi:xn:xo:\
                   1438:        :co#80:li#24:vt#3:\
1.3       deraadt  1439:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1440:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1441:        :SA=\E[?7h:\
                   1442:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1443:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1444:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1445:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5     ! tholo    1446:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
        !          1447:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
        !          1448:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
        !          1449:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1450:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          1451:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1452:        :..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\\:\
1.5     ! tholo    1453:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1454:        :..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.5     ! tholo    1455:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          1456:        :us=\E[4m:
1.1       deraadt  1457:
1.5     ! tholo    1458: # (vt525: I added <rmam>/<smam> based on the init string;
        !          1459: # removed :se:=\E[m, :ue:=\E[m, -- esr)
1.1       deraadt  1460: vt525|DEC VT525:\
                   1461:        :am:mi:xn:xo:\
                   1462:        :co#80:li#24:vt#3:\
1.3       deraadt  1463:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1464:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1465:        :SA=\E[?7h:\
                   1466:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1467:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1468:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1469:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5     ! tholo    1470:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
        !          1471:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
        !          1472:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
        !          1473:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1474:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          1475:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.3       deraadt  1476:        :..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\\:\
1.5     ! tholo    1477:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1478:        :..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.5     ! tholo    1479:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          1480:        :us=\E[4m:
1.1       deraadt  1481:
                   1482: #### VT100 emulations
                   1483: #
                   1484:
1.2       deraadt  1485: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1486: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
                   1487: # to telnetd.  We'll guess that it's vt102-like but doesn't grok ^N/^O.
                   1488: dec-vt100|EWAN telnet's vt100 emulation:\
                   1489:        :tc=vt102-nsgr:
                   1490:
1.1       deraadt  1491: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1492: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1493: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1494: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1495: # I can send the address if requested.
1.2       deraadt  1496: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.1       deraadt  1497: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1498: z340|zstem vt340 terminal emulator 132col 42line:\
                   1499:        :li#42:\
1.3       deraadt  1500:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1.5     ! tholo    1501:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
        !          1502:        :tc=vt320-w:
1.1       deraadt  1503: z340-nam|zstem vt340 terminal emulator 132col 42line:\
                   1504:        :am@:\
1.3       deraadt  1505:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1.5     ! tholo    1506:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
        !          1507:        :tc=z340:
1.1       deraadt  1508:
1.3       deraadt  1509: #### X terminal emulators
1.1       deraadt  1510: #
1.5     ! tholo    1511: # You can add the following line to your .Xdefaults to change the terminal type
        !          1512: # set by the xterms you start up to my-xterm:
        !          1513: #
        !          1514: # *termName:  my-xterm
        !          1515: #
        !          1516: # System administrators can change the default entry for xterm instances
        !          1517: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
        !          1518: # case, xterm will detect and reject an invalid terminal type, falling back
        !          1519: # to the default of xterm.
        !          1520: #
1.1       deraadt  1521:
                   1522: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
1.2       deraadt  1523: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1.1       deraadt  1524: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1525: # as these seem not to work -- esr)
                   1526: x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1.2       deraadt  1527:        :am:km:mi:ms:xn:xo:\
1.1       deraadt  1528:        :co#80:it#8:li#65:\
1.3       deraadt  1529:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
                   1530:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1.5     ! tholo    1531:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          1532:        :im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
        !          1533:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          1534:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
        !          1535:        :mr=\E[7m:nd=\E[C:\
1.1       deraadt  1536:        :rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:se=\E[m:\
1.5     ! tholo    1537:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
        !          1538: # This entry is designed for XFree86 version 3.1.2E.
        !          1539: # It is *way* more featureful than the stock X consortium entry (has <acsc>,
        !          1540: # for starters -- note that this only works for some fonts, including the
        !          1541: # `fixed' series).  The <kmous> key is actually the \E[M prefix returned by
        !          1542: # xterm's internal mouse-tracking facility; ncurses will interpret the
        !          1543: # following three bytes of mouse status information.
        !          1544: # From: Eric S. Raymond <esr@snark.thyrsus.com> 14 Dec 1995
        !          1545: # Updated: T.Dickey <dickey@clark.net> 12 May 1996, for XFree86 3.1.2E
1.3       deraadt  1546: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1547: # (sgr removed to fit entry within 1023 bytes)
                   1548: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.5     ! tholo    1549: xterm-color|xterm terminal emulator (XFree86 3.1.2E and above):\
1.2       deraadt  1550:        :am:km:mi:ms:xn:xo:\
1.3       deraadt  1551:        :co#80:it#8:li#65:\
1.2       deraadt  1552:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    1553:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          1554:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1555:        :cs=\E[%i%d;%dr:ct=\E[3k:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          1556:        :ho=\E[H:ic=\E[@:im=\E[4h:\
        !          1557:        :is=\E[r\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l\E[4l:\
1.1       deraadt  1558:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.5     ! tholo    1559:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
        !          1560:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
        !          1561:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
        !          1562:        :me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          1563:        :so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
        !          1564:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          1565: # Use this version if you have stock X consortium xterm,
        !          1566: # or an XFree86 xterm at version 3.1.2D or older.
        !          1567: # Note that due to an array indexing error in the xterm code, even these
        !          1568: # correct versions of <kend>/:kh: will probably fail in versions
        !          1569: # earlier than XFree86's 3.1.2C.
        !          1570: xterm-x11r6|vs100-x11r6|xterm for XFree86 versions previous to 3.1.2E:\
        !          1571:        :ut@:\
        !          1572:        :Co@:pa@:\
        !          1573:        :@7=\EOe:ch@:cv@:kh=\EO\200:op@:tc=xterm:
        !          1574:
        !          1575: # Here's another way to choose the xterm version for your stock xterm.
        !          1576: # The xterm-color choice is unabashedly biased towards up-to-date free-UNIX
        !          1577: # systems (Linux, netBSD, freeBSD) running XFree86 3.1.2E or later. If you
        !          1578: # have an older version of xterm, you probably want to use use xterm-x11r6
        !          1579: # instead.  If you need to use x10term you'll be all too painfully aware of it.
        !          1580: xterm|vs100|xterm terminal emulator (X11R6 Window System):\
        !          1581:        :tc=xterm-color:
        !          1582:
        !          1583: # These entries allow access to the X titlebar and icon name as a status line.
        !          1584: # Note that twm (and possibly window managers descended from it such as tvtwm,
        !          1585: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
        !          1586: # with it.
        !          1587: xterm-sl|access X title line and icon name:\
        !          1588:        :hs:\
        !          1589:        :ws#40:\
        !          1590:        :ds=\E]0;\007:fs=^G:ts=\E]0;:
        !          1591: xterm-sl-twm|access X title line (pacify twm-descended window managers):\
        !          1592:        :hs:\
        !          1593:        :ws#40:\
        !          1594:        :ds=\E]2;\007:fs=^G:ts=\E]2;:
        !          1595:
        !          1596: #
        !          1597: # The following xterm varients don't depend on your base version
        !          1598: #
1.3       deraadt  1599: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1.5     ! tholo    1600:        :so=\E[1m:\
        !          1601:        :tc=xterm:
1.3       deraadt  1602: xterms|vs100s|xterm terminal emulator (small screen 24x80):\
                   1603:        :co#80:li#24:tc=xterm:
1.2       deraadt  1604: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.5     ! tholo    1605: # (kterm should not invoke DEC Graphics as the alternate character set
        !          1606: #  -- Kenji Rikitake)
1.1       deraadt  1607: kterm|kterm kanji terminal emulator (X window system):\
                   1608:        :es:hs:\
1.5     ! tholo    1609:        :cs=\E[%i%d;%dr:ds=\E[?H:eA=\E(B:fs=\E[?F:rc=\E8:sc=\E7:\
        !          1610:        :ts=\E[?E\E[?%i%dT:\
        !          1611:        :tc=xterm:
1.1       deraadt  1612: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1613: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1.5     ! tholo    1614:        :IC@:ei=:ic@:im=:\
        !          1615:        :tc=xterm:
        !          1616: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
        !          1617: xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
        !          1618:        :te@:ti@:\
        !          1619:        :tc=xterm:
        !          1620:
        !          1621: # Sigh...this ought to grok ecma+color, but it doesn't.
        !          1622: # From: Thomas Dickey <dickey@clark.net> 13 Dec 1995
        !          1623: rxvt|rxvt terminal emulator:\
        !          1624:        :@7=\EOw:Km@:kh=\E[H:tc=xterm-x11r6:tc=klone+color:
1.1       deraadt  1625:
                   1626: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1627: # Here's a termcap entry I've been using for xterm_color, which comes
                   1628: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1629: # color stuff, I also have a status line defined as the window manager
                   1630: # title bar. [I have translated it to terminfo -- ESR]
                   1631: xterm-pcolor|xterm with color used for highlights and status line:\
1.5     ! tholo    1632:        :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
        !          1633:        :us=\E[4m\E[42m:\
        !          1634:        :tc=xterm-sl:tc=xterm:
1.1       deraadt  1635:
1.3       deraadt  1636: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.5     ! tholo    1637: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.2       deraadt  1638: hpterm|X-hpterm|hp X11 terminal emulator:\
                   1639:        :am:da:db:mi:xs:\
1.3       deraadt  1640:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
1.5     ! tholo    1641:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
        !          1642:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
        !          1643:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
        !          1644:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
        !          1645:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
        !          1646:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
        !          1647:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
        !          1648:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
        !          1649:        :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
1.3       deraadt  1650:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   1651:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   1652:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1653:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
1.5     ! tholo    1654:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
        !          1655:        :up=\EA:us=\E&dD:
        !          1656:
        !          1657: # This entry describes an xterm with Sun-style function keys enabled
        !          1658: # via the X resource setting "xterm*sunFunctionKeys:true"
        !          1659: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
        !          1660: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
        !          1661: # because we want it to be seen as <kcpy>.
        !          1662: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
        !          1663: # with their Sun keyboard labels instead.
        !          1664: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
        !          1665: xterm-sun|xterm with sunFunctionKeys true:\
        !          1666:        :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
        !          1667:        :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
        !          1668:        :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
        !          1669:        :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
        !          1670:        :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
        !          1671:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
        !          1672:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
        !          1673:        :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
        !          1674:        :tc=xterm:
        !          1675: xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
        !          1676:        :co#80:li#24:tc=xterm-sun:
1.2       deraadt  1677:
1.3       deraadt  1678: # This is for the extensible terminal emulator on the X11R6 contrib tape.
1.5     ! tholo    1679: # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
1.3       deraadt  1680: emu|emu native mode:\
                   1681:        :mi:ms:xo:\
                   1682:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
1.5     ! tholo    1683:        :*6=\Esel:@0=\Efind:@8=^M:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:\
        !          1684:        :DO=\Ep%d;:F1=\EF11:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:\
        !          1685:        :F6=\EF16:F7=\EF17:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:\
        !          1686:        :RI=\Eq%d;:Sb=\Es%i%d; setf=\Er%i%d;:UP=\Ep-%d;:\
1.3       deraadt  1687:        :ac=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
1.5     ! tholo    1688:        :ae=\200:al=\EQ1;:as=\200:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
        !          1689:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
        !          1690:        :dc=\EI1;:dl=\ER1;:do=\EB:eA=\200:ec=\Ej%d;:ei=\EX:\
        !          1691:        :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
        !          1692:        :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
        !          1693:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
        !          1694:        :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
        !          1695:        :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
        !          1696:        :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
        !          1697:        :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
        !          1698:        :vs=\Ea:
1.3       deraadt  1699:
1.1       deraadt  1700: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   1701: #
                   1702:
                   1703: # Columbus UNIX virtual terminal. This terminal also appears in
                   1704: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   1705: # undocumented and does not really work quite right.
                   1706: cbunix|cb unix virtual terminal:\
1.2       deraadt  1707:        :am:da:db:\
1.1       deraadt  1708:        :co#80:li#24:lm#0:\
1.5     ! tholo    1709:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
        !          1710:        :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
        !          1711:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
        !          1712:        :ue=\Eb^A:up=\EA:us=\Ea^A:
1.1       deraadt  1713: # (vremote: removed obsolete ":nl@:" -- esr)
                   1714: vremote|virtual remote terminal:\
                   1715:        :am@:\
1.3       deraadt  1716:        :co#79:tc=cbunix:
1.1       deraadt  1717: pty|4bsd pseudo teletype:\
                   1718:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
                   1719:
1.5     ! tholo    1720: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
        !          1721: eterm|gnu emacs term.el terminal emulation:\
        !          1722:        :am:mi:xn:\
        !          1723:        :co#80:li#24:\
        !          1724:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          1725:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
        !          1726:        :cd=\\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          1727:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          1728:        :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
        !          1729:        :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
        !          1730:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          1731:
1.2       deraadt  1732: # Entries for use by the FSF's `screen' program.  The screen and
1.5     ! tholo    1733: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
1.2       deraadt  1734: # come from University of Wisconsin and may be older.
                   1735:
1.1       deraadt  1736: screen|VT 100/ANSI X3.64 virtual terminal:\
                   1737:        :am:km:mi:ms:xn:\
1.5     ! tholo    1738:        :Co#8:co#80:it#8:li#24:pa#64:\
1.3       deraadt  1739:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   1740:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   1741:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00:\
                   1742:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   1743:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5     ! tholo    1744:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
        !          1745:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.3       deraadt  1746:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1.5     ! tholo    1747:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1748:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
        !          1749:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          1750:        :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
        !          1751:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
        !          1752:        :us=\E[4m:vb=\Eg:vi=\E[?25l:vs=\E[34l:\
        !          1753:        :tc=ecma+color:
        !          1754:
1.1       deraadt  1755: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
1.3       deraadt  1756:        :co#132:tc=screen:
1.2       deraadt  1757:
                   1758: screen2|VT 100/ANSI X3.64 virtual terminal:\
                   1759:        :co#80:it#8:li#24:\
                   1760:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    1761:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
        !          1762:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          1763:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
        !          1764:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
        !          1765:        :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
        !          1766:        :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
        !          1767:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
        !          1768:        :us=\E[4m:
1.2       deraadt  1769: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   1770: screen3|VT 100/ANSI X3.64 virtual terminal:\
                   1771:        :km:mi:ms:\
                   1772:        :co#80:it#8:li#24:\
1.1       deraadt  1773:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.2       deraadt  1774:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   1775:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.5     ! tholo    1776:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          1777:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          1778:        :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
        !          1779:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
        !          1780:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  1781:        :ue=\E[24m:up=\EM:us=\E[4m:
                   1782:
                   1783: ######## WORKSTATION CONSOLES
                   1784: #
                   1785:
                   1786: #### Sun consoles
                   1787: #
                   1788:
1.3       deraadt  1789: # :is1: resets scrolling region in case a previous user had used "tset vt100"
1.1       deraadt  1790: oldsun|Sun Microsystems Workstation console:\
1.2       deraadt  1791:        :am:km:mi:ms:\
1.1       deraadt  1792:        :co#80:it#8:li#34:\
1.5     ! tholo    1793:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
        !          1794:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
        !          1795:        :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
        !          1796:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          1797:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt  1798: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
1.5     ! tholo    1799: # lines capability later corrected by J.T. Conklin <jtc@cygnus.com>
1.3       deraadt  1800: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
1.1       deraadt  1801:        :am:km:ms:\
1.5     ! tholo    1802:        :co#80:li#34:\
        !          1803:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
        !          1804:        :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
        !          1805:        :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
        !          1806:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
        !          1807:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
        !          1808:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
        !          1809:        :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
        !          1810:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          1811:        :nd=\E[C:r2=\E[s:\
1.1       deraadt  1812:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
1.5     ! tholo    1813:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1814: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
1.3       deraadt  1815: # (sun-s: I added lines#34 because the Lukyanov entry for sun has 35 -- esr)
1.1       deraadt  1816: sun-s|Sun Microsystems Workstation window with status line:\
                   1817:        :hs:\
1.3       deraadt  1818:        :li#34:\
1.1       deraadt  1819:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
                   1820: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
                   1821:        :hs:\
                   1822:        :ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
                   1823: sun-48|Sun 48-line window:\
1.3       deraadt  1824:        :co#80:li#48:tc=sun:
1.1       deraadt  1825: sun-34|Sun 34-line window:\
1.3       deraadt  1826:        :co#80:li#34:tc=sun:
1.1       deraadt  1827: sun-24|Sun 24-line window:\
1.3       deraadt  1828:        :co#80:li#24:tc=sun:
1.1       deraadt  1829: sun-17|Sun 17-line window:\
1.3       deraadt  1830:        :co#80:li#17:tc=sun:
1.1       deraadt  1831: sun-12|Sun 12-line window:\
1.3       deraadt  1832:        :co#80:li#12:tc=sun:
1.1       deraadt  1833: sun-1|Sun 1-line window for sysline:\
                   1834:        :es:hs:\
                   1835:        :co#80:li#1:\
                   1836:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
                   1837: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
1.5     ! tholo    1838:        :ei@:ic@:im@:\
        !          1839:        :tc=sun:
1.1       deraadt  1840: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
1.5     ! tholo    1841:        :te=\E[>4h:ti=\E[>4l:\
        !          1842:        :tc=sun:
1.1       deraadt  1843:
                   1844: #### Iris consoles
                   1845: #
                   1846:
1.2       deraadt  1847: # (wsiris: this had extension capabilities
1.1       deraadt  1848: #      :HS=\E7F2:HE=\E7F7:\
                   1849: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.5     ! tholo    1850: # See the note on Iris extensions near the end of this file.
        !          1851: # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
        !          1852: # :vb: from BRL -- esr)
1.1       deraadt  1853: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.2       deraadt  1854:        :am:\
1.1       deraadt  1855:        :co#80:it#8:li#40:\
1.5     ! tholo    1856:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:do=\EB:\
1.1       deraadt  1857:        :ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:k2=\E2:\
1.5     ! tholo    1858:        :k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:kd=\EB:\
        !          1859:        :kl=\ED:kr=\EC:ku=\EA:le=^H:mh=\E7F2:nd=\EC:se=\E0@:so=\E9P:\
        !          1860:        :sr=\EI:ta=^I:ue=\E7R3\E0@:up=\EA:us=\E7R2\E9P:\
        !          1861:        :vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:vs=\E;:
1.1       deraadt  1862:
                   1863: #### NeWS consoles
                   1864: #
                   1865: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   1866: # environment).   Note: these have nothing to do with Sony's News workstation
                   1867: # line.
                   1868: #
                   1869:
                   1870: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  1871: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   1872: psterm|psterm-basic|NeWS psterm-80x34:\
                   1873:        :am:bs:hs:km:ul:\
1.1       deraadt  1874:        :co#80:it#8:li#34:\
                   1875:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  1876:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
1.5     ! tholo    1877:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
        !          1878:        :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
        !          1879:        :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
        !          1880:        :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  1881: psterm-96x48|NeWS psterm 96x48:\
1.3       deraadt  1882:        :co#96:li#48:tc=psterm:
1.2       deraadt  1883: psterm-90x28|NeWS psterm 90x28:\
1.3       deraadt  1884:        :co#90:li#28:tc=psterm:
1.2       deraadt  1885: psterm-80x24|NeWS psterm 80x24:\
1.3       deraadt  1886:        :co#80:li#24:tc=psterm:
1.1       deraadt  1887: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   1888: # some control characters you type will do strange things to the screen.
1.2       deraadt  1889: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   1890: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   1891:        :am:bs:hs:km:ul:\
1.1       deraadt  1892:        :co#80:it#8:li#34:\
1.5     ! tholo    1893:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
        !          1894:        :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
        !          1895:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
        !          1896:        :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
        !          1897:        :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  1898:
1.5     ! tholo    1899: #### NeXT Consoles
1.1       deraadt  1900: #
1.5     ! tholo    1901: # Use `glasstty' for the Workspace application
1.1       deraadt  1902: #
                   1903:
1.5     ! tholo    1904: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
        !          1905: next|NeXT console:\
        !          1906:        :am:xt:\
        !          1907:        :co#80:it#8:li#24:\
        !          1908:        :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
        !          1909:        :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
        !          1910:        :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
        !          1911: nextshell|NeXT Shell application:\
        !          1912:        :am:\
        !          1913:        :co#80:\
        !          1914:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
1.1       deraadt  1915:
                   1916: ######## COMMON TERMINAL TYPES
                   1917: #
                   1918: # This section describes terminal classes and maker brands that are still
                   1919: # quite common, but have proprietary command sets not blessed by ANSI.
                   1920:
                   1921: #### Altos
                   1922: #
1.5     ! tholo    1923: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
        !          1924: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
        !          1925: # Acer has a web site at http://www.acer.com.
        !          1926: #
1.1       deraadt  1927: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   1928: # His comments suggest they were shipped with the system.
                   1929: #
                   1930:
1.2       deraadt  1931: # (altos2: had extension capabilities
1.1       deraadt  1932: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1933: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1934: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1935: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1936: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1937: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   1938: #      :HL=^AP\r:SP=\E[i:\
                   1939: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   1940: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   1941: # Comparison with the k* capabilities makes it obvious that the c* things are
                   1942: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   1943: # :sr: was given as a boolean-- esr)
                   1944: altos2|alt2|altos-2|altos II:\
                   1945:        :co#80:it#8:li#24:sg#0:\
1.5     ! tholo    1946:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
        !          1947:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
        !          1948:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
        !          1949:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1950:        :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
        !          1951:        :if=/usr/share/tabset/vt100:im=:\
        !          1952:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
        !          1953:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          1954:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
        !          1955:        :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
        !          1956:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
        !          1957:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
1.2       deraadt  1958: # (altos3: had extension capabilities
1.1       deraadt  1959: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1960: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1961: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1962: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1963: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   1964: #      :HL=^AP\r:SP=\E[i:\
                   1965: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
1.2       deraadt  1966: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
1.5     ! tholo    1967:        :mb=\E[5p:me=\E[p:sr=\EM:\
        !          1968:        :tc=altos2:
1.1       deraadt  1969: altos4|alt4|altos-4|altos IV:\
                   1970:        :tc=wy50:
1.2       deraadt  1971: # (altos7: had extension capabilities:
                   1972: #      :GG#0:GI=\EH8:GF=\EH7:\
1.1       deraadt  1973: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   1974: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   1975: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   1976: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   1977: # Comparison with the k* capabilities makes it obvious that the c* things are
1.5     ! tholo    1978: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
        !          1979: # also masde this entry relative to adm12 in order to give it an :sa:. The
        !          1980: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
1.1       deraadt  1981: altos7|alt7|altos VII:\
                   1982:        :am:mi:\
                   1983:        :co#80:li#24:sg#0:\
1.3       deraadt  1984:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
1.5     ! tholo    1985:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
        !          1986:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
        !          1987:        :ac=l2m1k3j5t4u9v=w0q\072x6n8:al=\EE:cd=\EY:ce=\ET:\
        !          1988:        :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
        !          1989:        :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
        !          1990:        :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          1991:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
        !          1992:        :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
        !          1993:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
        !          1994:        :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
        !          1995:        :up=^K:\
        !          1996:        :tc=adm+sgr:
1.1       deraadt  1997: altos7pc|alt7pc|altos PC VII:\
1.3       deraadt  1998:        :@7=\ET:tc=altos7:
1.1       deraadt  1999:
                   2000: #### Hewlett-Packard (hp)
                   2001: #
                   2002: #      Hewlett-Packard
                   2003: #      8000 Foothills Blvd
                   2004: #      Roseville, CA 95747
                   2005: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   2006: #           1-(800)-633-3600   (General customer support)
                   2007: #
                   2008:
                   2009: # Generic HP terminal - this should (hopefully) work on any HP terminal.
1.2       deraadt  2010: hpgeneric|hp|hewlett-packard generic terminal:\
1.1       deraadt  2011:        :am:da:db:mi:xs:\
                   2012:        :co#80:li#24:lm#0:vt#6:\
1.3       deraadt  2013:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
1.5     ! tholo    2014:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
        !          2015:        :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
        !          2016:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          2017:        :us=\E&dD:
1.1       deraadt  2018:
                   2019: hp110|hewlett-packard model 110 portable:\
1.3       deraadt  2020:        :li#16:tc=hpgeneric:
1.1       deraadt  2021:
                   2022: hp+pfk+cr|hp function keys with CR:\
1.5     ! tholo    2023:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
        !          2024:        :k7=\Ev\r:k8=\Ew\r:
1.1       deraadt  2025:
                   2026: hp+pfk-cr|hp function keys w/o CR:\
1.5     ! tholo    2027:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
1.1       deraadt  2028:
                   2029: # The 2621s use the same keys for the arrows and function keys,
                   2030: # but not separate escape sequences. These definitions allow the
                   2031: # user to use those keys as arrow keys rather than as function
                   2032: # keys.
                   2033: hp+pfk+arrows|hp alternate arrow definitions:\
1.5     ! tholo    2034:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
        !          2035:        :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
1.1       deraadt  2036:
                   2037: hp+arrows|hp arrow definitions:\
1.5     ! tholo    2038:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
1.1       deraadt  2039:
                   2040: # Generic stuff from the HP 262x series
                   2041: #
                   2042: hp262x|HP 262x terminals:\
                   2043:        :xs:\
1.5     ! tholo    2044:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
        !          2045:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          2046:        :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
        !          2047:        :mr=\E&dB:\
1.1       deraadt  2048:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
                   2049:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.2       deraadt  2050:
1.5     ! tholo    2051: # Note: no :ho: on HP's since that homes to top of memory, not screen.
1.1       deraadt  2052: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   2053: # transmit anything at all is to turn on the function key labels
1.5     ! tholo    2054: # with :ks:, and even then the user has to hold down shift!
1.1       deraadt  2055: # The default 2621 turns off the labels except when it has to to
                   2056: # enable the function keys. If your installation prefers labels
                   2057: # on all the time, or off all the time (at the "expense" of the
                   2058: # function keys) move the # 2621-nl or 2621-wl labels to the
                   2059: # front using reorder.
                   2060: # Note: there are newer ROMs for 2621's that allow you to set
                   2061: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   2062: # 2645. However, even with this strap set, the terminal stops
                   2063: # xmitting if you reset it, until you unset and reset the strap!
                   2064: # Since there is no way to set/unset the strap with an escape
                   2065: # sequence, we don't use it in the default.
1.3       deraadt  2066: # If you like, you can use 2621-ba (brain-damaged arrow keys).
1.1       deraadt  2067: hp2621-ba|2621-ba|2621 w/new rom and strap A set:\
1.5     ! tholo    2068:        :ke@:ks@:\
        !          2069:        :tc=hp+arrows:tc=hp2621:
1.1       deraadt  2070:
1.2       deraadt  2071: # hp2621 with function labels. Most of the time they are off,
1.1       deraadt  2072: # but inside vi, the function key labels appear. You have to
                   2073: # hold down shift to get them to xmit.
                   2074: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
1.5     ! tholo    2075:        :is=\E&jA\r:ke=\E&jA:\
        !          2076:        :tc=hp2621-fl:
1.1       deraadt  2077: hp2621-fl|2621-fl|hp 2621:\
                   2078:        :xo:xs@:\
                   2079:        :pb#19200:\
1.5     ! tholo    2080:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
        !          2081:        :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
        !          2082:        :us=\E&dD:\
        !          2083:        :tc=hp+pfk+cr:tc=hpgeneric:
1.1       deraadt  2084:
                   2085: # To use 2621p printer, setenv TERM=2621p, PRINTER=2612p
                   2086: hp2621p|2621p|2621P|hp 2621 with printer:\
1.3       deraadt  2087:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  2088:
                   2089: hp2621p-a|2621p-a|hp2621p with fn as arrows:\
                   2090:        :tc=hp+pfk+arrows:tc=hp2621p:
                   2091:
                   2092: # hp2621 with k45 keyboard
                   2093: hp2621-k45|hp2621k45|2621k45|k45|hp 2621 with 45 keyboard:\
1.5     ! tholo    2094:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
        !          2095:        :ku=\EA:\
        !          2096:        :tc=hp2621:
1.1       deraadt  2097:
1.2       deraadt  2098: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   2099: hp2621-48|48 line 2621:\
                   2100:        :li#48:\
1.3       deraadt  2101:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.2       deraadt  2102:
                   2103: # 2621 with no labels ever. Also prevents vi delays on escape.
                   2104: hp2621-nl|hp 2621 with no labels:\
                   2105:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
                   2106:
                   2107: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   2108: # (wrong).
                   2109: #
                   2110: hp2621-nt|hp 2621 w/no tabs:\
                   2111:        :ta@:tc=hp2621:
1.1       deraadt  2112:
                   2113: # Hp 2624 B with 4 or 10 pages of memory.
                   2114: #
                   2115: # Some assumptions are made with this entry. These settings are
                   2116: # NOT set up by the initialization strings.
                   2117: #
                   2118: # Port Configuration
                   2119: #      RecvPace=Xon/Xoff
                   2120: #      XmitPace=Xon/Xoff
                   2121: #      StripNulDel=Yes
                   2122: #
                   2123: # Terminal Configuration
                   2124: #      InhHndShk=Yes
                   2125: #      InhDC2=Yes
                   2126: #      XmitFnctn(A)=No
                   2127: #      InhEolWrp=No
                   2128: #
1.5     ! tholo    2129: # Note: the 2624 DOES have a true :ho:, believe it or not!
1.1       deraadt  2130: #
                   2131: # The 2624 has an "error line" to which messages can be sent.
                   2132: # This is CLOSE to what is expected for a "status line". However,
                   2133: # after a message is sent to the "error line", the next carriage
                   2134: # return is EATEN and the "error line" is turned back off again!
1.5     ! tholo    2135: # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
1.1       deraadt  2136: #
                   2137: # This entry supports emacs (and any other program that uses raw
                   2138: # mode) at 4800 baud and less. I couldn't get the padding right
1.5     ! tholo    2139: # for 9600.
1.1       deraadt  2140: #
1.3       deraadt  2141: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
1.1       deraadt  2142: hp2624|hp2624a|hp2624b|hp2624b-4p|2624-4p|2624|2624a|2624b|Hewlett Packard 2624 B:\
                   2143:        :da:db:\
                   2144:        :lm#96:\
1.3       deraadt  2145:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
1.1       deraadt  2146:
                   2147: # This hp2626 entry does not use any of the fancy windowing stuff
                   2148: # of the 2626.
                   2149: #
                   2150: # Indeed, terminfo does not yet handle such stuff. Since changing
                   2151: # any window clears memory, it is probably not possible to use
                   2152: # this for screen opt.
                   2153: #
                   2154: # ed is incredibly slow most of the time - I am guessing at the
                   2155: # exact padding. Since the terminal uses xoff/xon this is intended
                   2156: # only for cost computation, so that the terminal will prefer el
                   2157: # or even dl1 which is probably faster!
                   2158: #
                   2159: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   2160: # extra slow on the last line of the window.
                   2161: #
                   2162: # The padding probably should be changed.
                   2163: #
                   2164: hp2626|hp2626a|hp2626p|2626|2626a|2626p|2626A|2626P|hp 2626:\
                   2165:        :da:db:\
                   2166:        :lm#0:pb#19200:\
                   2167:        :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:
                   2168:
                   2169: # This entry is for sysline. It allocates a 23 line window with
                   2170: # a 115 line workspace for regular use, and a 1 line window for
                   2171: # the status line.
                   2172: #
                   2173: # This assumes port 2 is being used.
                   2174: # Turn off horizontal line, Create ws #1 with 115 lines,
                   2175: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   2176: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   2177: # Note that this clears the tabs so it must be done by tset before
                   2178: # it sets the tabs.
                   2179: #
                   2180: hp2626-s|2626-s|hp 2626 using only 23 lines:\
                   2181:        :es:hs:\
                   2182:        :li#23:\
                   2183:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
1.5     ! tholo    2184:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
        !          2185:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
        !          2186:        :tc=hp2626:
1.1       deraadt  2187: # Force terminal back to 24 lines after being 23.
                   2188: hp2626-ns|2626-ns|hp 2626 using all 24 lines:\
1.5     ! tholo    2189:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
1.1       deraadt  2190: # Various entries useful for small windows on 2626.
1.2       deraadt  2191: hp2626-12|2626-12|hewlett-packard 2626 12 lines:\
1.3       deraadt  2192:        :li#12:tc=hp2626:
1.2       deraadt  2193: hp2626-12x40|2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
1.3       deraadt  2194:        :co#40:li#12:tc=hp2626:
1.2       deraadt  2195: hp2626-x40|2626-x40|hewlett-packard 2626 40 columns:\
1.3       deraadt  2196:        :co#40:tc=hp2626:
1.2       deraadt  2197: hp2626-12-s|2626-12-s|hewlett-packard 2626 11 lines plus status:\
1.3       deraadt  2198:        :li#11:tc=hp2626-s:
1.2       deraadt  2199:
                   2200: #
                   2201: # hp2627 color tubes from University of Wisconsin
                   2202: #
                   2203: hp2627a-rev|hp 2627 with reverse video colors:\
                   2204:        :cr=^M:do=^J:\
                   2205:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
1.5     ! tholo    2206:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
        !          2207:        :us=\E&dD\E&v1S:\
        !          2208:        :tc=hp2621-nl:
1.2       deraadt  2209: hp2627a|2627|hp 2627 color terminal with no labels:\
                   2210:        :cr=^M:do=^J:\
                   2211:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
1.5     ! tholo    2212:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
        !          2213:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
        !          2214:        :tc=hp2621-nl:
1.2       deraadt  2215: hp2627c|hp 2627 color (cyan) terminal with no labels:\
                   2216:        :cr=^M:do=^J:\
                   2217:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
1.5     ! tholo    2218:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
        !          2219:        :tc=hp2627a:
1.1       deraadt  2220:
                   2221: # 2640a doesn't have the Y cursor addressing feature, and C is
                   2222: # memory relative instead of screen relative, as we need.
                   2223: #
                   2224: hp2640a|2640a|hp 2640a:\
                   2225:        :cm@:ke@:ks@:tc=hp2645:
                   2226:
                   2227: hp2640b|hp2644a|hp 264x series:\
                   2228:        :ke@:ks@:tc=hp2645:
                   2229:
1.2       deraadt  2230: # This terminal should be used at 4800 baud or less. It needs padding for
                   2231: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2232: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2233: # software to support it.
                   2234: hp2645|hp45|HP 2645 series:\
                   2235:        :pb#9600:\
1.5     ! tholo    2236:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
        !          2237:        :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          2238:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
        !          2239:        :mh=\E&dH:mr=\E&dB:\
1.2       deraadt  2240:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c:\
1.5     ! tholo    2241:        :us=\E&dD:\
        !          2242:        :tc=hpgeneric:
1.2       deraadt  2243: # You should use this terminal at 4800 baud or less.
                   2244: hp2648|hp2648a|2648a|2648A|2648|HP 2648a graphics terminal:\
1.5     ! tholo    2245:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:\
        !          2246:        :tc=hp2645:
1.1       deraadt  2247:
                   2248: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2249: # clreol standout problem. It also has graphics capabilities and
                   2250: # a touch screen, which we don't describe here.
                   2251: hp150|hewlett packard Model 150:\
                   2252:        :tc=hp2622:
                   2253:
                   2254: # Hp 2382a terminals, "the little ones." They don't have any
                   2255: # alternate character set support and sending out ^N/^O will
                   2256: # leave the screen blank.
                   2257: hp2382a|hp2382|hewlett packard 2382a:\
                   2258:        :da:db:\
1.3       deraadt  2259:        :lh#1:lm#48:\
                   2260:        :ac@:ae@:as@:me=\E&d@:\
                   2261:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
1.5     ! tholo    2262:        :..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:\
        !          2263:        :tc=hp+labels:tc=scrhp:
1.1       deraadt  2264:
                   2265: hp2621-a|hp2621a-a|2621-a|hp2621 with fn as arrows:\
                   2266:        :tc=hp+pfk+arrows:tc=hp2621-fl:
                   2267:
                   2268: # newer hewlett packard terminals
                   2269:
                   2270: newhpkeyboard|generic entry for HP extended keyboard:\
1.5     ! tholo    2271:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
        !          2272:        :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
        !          2273:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          2274:        :tc=hp+pfk-cr:
1.1       deraadt  2275:
                   2276: newhp|generic entry for new hewlett packard terminals:\
                   2277:        :am:bw:mi:xo:xs:\
                   2278:        :co#80:li#24:pb#4800:\
1.3       deraadt  2279:        :ac=T1R!U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\\\054x.n/:\
1.5     ! tholo    2280:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
        !          2281:        :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
        !          2282:        :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
        !          2283:        :mr=\E&dB:nd=\EC:nw=^M^J:\
1.3       deraadt  2284:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
                   2285:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
                   2286:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
1.1       deraadt  2287:        :..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%;:\
1.5     ! tholo    2288:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
        !          2289:        :up=\EA:us=\E&dD:\
        !          2290:        :tc=newhpkeyboard:
1.1       deraadt  2291:
                   2292: memhp|memory relative addressing for new HP ttys:\
                   2293:        :vt#6:\
                   2294:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2295:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
                   2296:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
1.1       deraadt  2297:
                   2298: scrhp|screen relative addressing for new HP ttys:\
                   2299:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2300:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
1.5     ! tholo    2301:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
        !          2302:        :tc=newhp:
1.1       deraadt  2303:
                   2304: hp+labels|"standard" label info for new HP ttys:\
1.3       deraadt  2305:        :Nl#8:lh#2:lw#8:\
1.5     ! tholo    2306:        :LF=\E&j@:LO=\E&jB:\
1.3       deraadt  2307:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
1.1       deraadt  2308:
1.2       deraadt  2309: hp+printer|"standard" printer info for HP ttys:\
1.3       deraadt  2310:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
1.1       deraadt  2311:
                   2312:
                   2313: # The new hp2621b is kind of a cross between the old 2621 and the
                   2314: # new 262x series of machines. It has dip-switched options.
                   2315: # The firmware has a bug in it such that if you give it a null
                   2316: # length label, the following character is eaten!
                   2317: hp2621b|2621b|hp 2621b with old style keyboard:\
1.3       deraadt  2318:        :Nl#8:lh#1:lm#48:lw#8:\
1.5     ! tholo    2319:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
        !          2320:        :ku=\EA:\
1.3       deraadt  2321:        :..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  2322:
                   2323: hp2621b-p|2621b-p|hp 2621b with printer:\
                   2324:        :tc=hp+printer:tc=hp2621b:
                   2325:
                   2326: # hp2621b - new 2621b with new extended keyboard
                   2327: # these are closer to the new 26xx series than the other 2621b
                   2328: hp2621b-kx|2621b-kx|hp 2621b with extended keyboard:\
                   2329:        :tc=newhpkeyboard:tc=hp2621b:
                   2330:
                   2331: hp2621b-kx-p|2621b-kx-p|hp 2621b with new keyboard & printer:\
                   2332:        :tc=hp+printer:tc=hp2621b-kx:
                   2333:
                   2334: # Some assumptions are made in the following entries.
                   2335: # These settings are NOT set up by the initialization strings.
                   2336: #
                   2337: #    Port Configuration
                   2338: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2339: #
                   2340: #    Terminal Configuration
                   2341: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2342: # XmitFnctn(A)=No              InhEolWrp=No
                   2343: #
                   2344: #
                   2345: # Hp 2622a & hp2623a display and graphics terminals
                   2346: #
                   2347: hp2622|hp2622a|2622|2622a|hp 2622:\
                   2348:        :da:db:\
                   2349:        :lm#0:pb#19200:\
                   2350:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   2351:
                   2352: # The 2623 is a 2622 with extra graphics hardware.
                   2353: hp2623|hp2623a|2623|2623a|hp 2623:\
                   2354:        :tc=hp2622:
                   2355:
                   2356: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
                   2357:        :tc=hp+printer:tc=hp2624:
                   2358:
1.2       deraadt  2359: # The hewlett packard B can have an optional extra 6 pages of memory.
1.1       deraadt  2360: hp2624-10p|hp2624a-10p|hp2624b-10p|2624-10p|2624a-10p|2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
1.3       deraadt  2361:        :lm#240:tc=hp2624:
1.1       deraadt  2362:
                   2363: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
1.3       deraadt  2364:        :lm#240:tc=hp2624b-p:
1.1       deraadt  2365:
                   2366: # Color manipulations for HP terminals
                   2367: hp+color|hp with colors:\
1.3       deraadt  2368:        :cc:\
                   2369:        :Co#16:NC#17:pa#7:\
                   2370:        :..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:\
                   2371:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
                   2372:        :op=\E&v0S:sp=\E&v%dS:
1.1       deraadt  2373:
1.5     ! tholo    2374: # :is: sets the screen to be 80 columns wide
1.1       deraadt  2375: hp2397a|2397a|hp2397|2397|hewlett packard 2397A color terminal:\
1.5     ! tholo    2376:        :is=\E&w6f80X:\
        !          2377:        :tc=memhp:tc=hp+labels:tc=hp+color:
1.1       deraadt  2378:
                   2379: #  HP 700/44 Setup parameters:
                   2380: # Terminal Mode                HP-PCterm
                   2381: # Inhibit Auto Wrap    NO
                   2382: # Status Line          Host Writable
                   2383: # PC Character Set     YES
                   2384: # Twenty-Five Line Mode        YES
                   2385: # XON/XOFF             @128 or 64 (sc)
                   2386: # Keycode Mode                 NO   or YES (sc)
                   2387: # Backspace Key                BS or BS/DEL
                   2388: #
1.5     ! tholo    2389: # :is:         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
1.2       deraadt  2390: # \E\\? does not turn off keycode mode
                   2391: # <smsc>       sets alternate start/stop; keycode on
1.1       deraadt  2392: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
                   2393:        :am:eo:xn:xo:\
                   2394:        :co#80:li#25:\
1.3       deraadt  2395:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\\:\
1.5     ! tholo    2396:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
1.3       deraadt  2397:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.1       deraadt  2398:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5     ! tholo    2399:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          2400:        :ic=\E[@:im=:\
1.1       deraadt  2401:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
                   2402:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
1.3       deraadt  2403:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
1.5     ! tholo    2404:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
        !          2405:        :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
        !          2406:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
        !          2407:        :vi=\E[?25l:
1.1       deraadt  2408: #
                   2409: hp2392|2392|2393|239x series:\
                   2410:        :co#80:\
1.5     ! tholo    2411:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:im=\EQ:k1=\Ep\r:k2=\Eq\r:\
        !          2412:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
        !          2413:        :kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:us=\E&dD:\
        !          2414:        :tc=hpsub:
1.1       deraadt  2415:
                   2416: hpsub|hp terminals -- capability subset:\
                   2417:        :am:da:db:mi:xo:xs:\
                   2418:        :li#24:\
1.5     ! tholo    2419:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
        !          2420:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
        !          2421:        :is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
        !          2422:        :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
        !          2423:        :sf=^J:so=\E&dB:ta=^I:up=\EA:
1.2       deraadt  2424:
                   2425: # hpex:
                   2426: #      May be used for most 24 x 80 hp terminals,
                   2427: # but has no padding added, so may allow runover in some terminals at high
                   2428: # baud rates.  Will not work for 2640a or 2640b terminals, 98x6 and 98x5
                   2429: # terminal emulators or 98x6 consoles.
                   2430: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2431: # last line, and underline capabilities.
                   2432: #
                   2433: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:" -- esr)
                   2434: hpex|hp extended capabilites:\
1.5     ! tholo    2435:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:im=\EQ:kb=^H:kd=^J:\
        !          2436:        :kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
        !          2437:        :tc=hpsub:
1.1       deraadt  2438:
                   2439: # HP 236 console
                   2440: # From: <ddavis@ic.berkeley.edu>
                   2441: hp236|hp236 internal terminal emulator:\
1.2       deraadt  2442:        :am:\
1.1       deraadt  2443:        :co#80:li#24:\
1.5     ! tholo    2444:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
        !          2445:        :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
1.1       deraadt  2446:
                   2447: # This works on a hp300 console running Utah 4.3 BSD
                   2448: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2449: hp300h|HP Catseye console:\
1.2       deraadt  2450:        :am:da:db:mi:xs:\
1.1       deraadt  2451:        :co#128:li#51:lm#0:sg#0:\
1.3       deraadt  2452:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5     ! tholo    2453:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
        !          2454:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
        !          2455:        :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          2456:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
        !          2457:        :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2458: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   2459: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
1.2       deraadt  2460:        :am:da:db:mi:xs:\
1.1       deraadt  2461:        :co#128:it#8:li#46:lm#0:\
1.3       deraadt  2462:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5     ! tholo    2463:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
        !          2464:        :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
        !          2465:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
        !          2466:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
        !          2467:        :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
        !          2468:        :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2469: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
1.5     ! tholo    2470: # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
        !          2471: # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.1       deraadt  2472: hp98550|hp98550a|HP 9000 Series 300 color console:\
1.2       deraadt  2473:        :am:da:db:mi:xs:\
1.1       deraadt  2474:        :co#128:it#8:li#49:lm#0:\
1.5     ! tholo    2475:        :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
1.3       deraadt  2476:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
                   2477:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
1.5     ! tholo    2478:        :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
        !          2479:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
        !          2480:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
        !          2481:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          2482:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
        !          2483:        :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
        !          2484:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
1.3       deraadt  2485:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
1.1       deraadt  2486: # From: Victor Duchovni <vic@fine.princeton.edu>
1.5     ! tholo    2487: # (hp700-wy: removed obsolete ":nl=^J:";
        !          2488: # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
1.1       deraadt  2489: hp700-wy|HP700/41 emulating wyse30:\
1.2       deraadt  2490:        :am:bw:mi:ms:\
1.1       deraadt  2491:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5     ! tholo    2492:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
        !          2493:        :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
        !          2494:        :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
        !          2495:        :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
        !          2496:        :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
        !          2497:        :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
        !          2498:        :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
        !          2499: # (hp70092: added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.2       deraadt  2500: hp70092|70092a|70092A|hp70092a|hp70092A|HP 700/92:\
1.1       deraadt  2501:        :am:da:db:xs:\
1.3       deraadt  2502:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
1.5     ! tholo    2503:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
        !          2504:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:\
        !          2505:        :ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
        !          2506:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
        !          2507:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
        !          2508:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
        !          2509:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
        !          2510:        :ku=\EA:le=^H:mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:\
        !          2511:        :nd=\EC:se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
1.3       deraadt  2512:        :up=\EA:us=\E&dD:
1.1       deraadt  2513:
                   2514: bobcat|sbobcat|HP 9000 model 300 console:\
                   2515:        :am:da:db:mi:xs:\
                   2516:        :co#128:it#8:li#47:sg#0:\
1.5     ! tholo    2517:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
        !          2518:        :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
        !          2519:        :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
        !          2520:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
        !          2521:        :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2522: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
1.3       deraadt  2523:        :li#94:tc=gator:
1.1       deraadt  2524: gator|HP 9000 model 237 emulating AAA:\
                   2525:        :bw:km:mi:ul:\
                   2526:        :co#128:it#8:li#47:\
1.5     ! tholo    2527:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
        !          2528:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
        !          2529:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
        !          2530:        :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
        !          2531:        :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
        !          2532:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  2533: gator-52|HP 9000 model 237 emulating VT52:\
1.3       deraadt  2534:        :co#128:li#47:tc=vt52:
1.1       deraadt  2535: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
1.3       deraadt  2536:        :li#94:tc=gator-52:
1.1       deraadt  2537:
                   2538: #### Honeywell-Bull
                   2539: #
                   2540: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   2541: #
                   2542:
                   2543: # Honeywell Bull terminal.  Its cursor and function keys send single
                   2544: # control characters and it has standout/underline glitch.  Most programs
1.2       deraadt  2545: # do not like these features/bugs.  Visual bell is realized by flashing the
                   2546: # "keyboard locked" LED.
                   2547: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
1.1       deraadt  2548:        :co#80:li#25:\
1.5     ! tholo    2549:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
        !          2550:        :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
        !          2551:        :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
1.2       deraadt  2552: dku7003|Honeywell Bull DKU 7003 all features described:\
1.1       deraadt  2553:        :ms:\
1.2       deraadt  2554:        :sg#1:ug#1:\
                   2555:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
1.5     ! tholo    2556:        :so=\E[7m:ue=\E[m:us=\E[4m:\
        !          2557:        :tc=dku7003-dumb:
1.1       deraadt  2558:
                   2559: #### Lear-Siegler (adm)
                   2560: #
                   2561: # These guys are long since out of the terminals business, but
                   2562: # in 1995 many current terminals still have an adm type as one of their
1.3       deraadt  2563: # emulations (usually their stupidest, and usually labeled adm3, though
1.1       deraadt  2564: # these `adm3' emulations normally have adm3a+ capabilities).
                   2565: #
1.2       deraadt  2566: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   2567: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   2568: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   2569: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   2570: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   2571: # check it out with a breakout box and tell us if this rumor is correct!
                   2572: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   2573: #
1.1       deraadt  2574:
                   2575: adm1a|adm1|lsi adm1a:\
                   2576:        :am:\
                   2577:        :co#80:li#24:\
1.5     ! tholo    2578:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
        !          2579:        :sf=^J:up=^K:
1.1       deraadt  2580: adm2|lsi adm2:\
1.2       deraadt  2581:        :am:\
1.1       deraadt  2582:        :co#80:li#24:\
1.5     ! tholo    2583:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
        !          2584:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
        !          2585:        :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  2586: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2587: adm3|lsi adm3:\
1.2       deraadt  2588:        :am:\
1.1       deraadt  2589:        :co#80:li#24:\
                   2590:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
                   2591: # The following ADM-3A switch settings are assumed for normal operation:
                   2592: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2593: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2594: # Other switches may be set for operator convenience or communication
                   2595: # requirements.  I recommend
                   2596: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2597: #      ETX_OFF         EOT_OFF
1.2       deraadt  2598: # Most of these terminals required an option ROM to support lower case display.
                   2599: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2600: # socket, you may be out of luck.
                   2601: #
1.1       deraadt  2602: # (adm3a: removed obsolete ":ma=^K^P:" -- esr)
                   2603: adm3a|lsi adm3a:\
1.2       deraadt  2604:        :am:\
1.1       deraadt  2605:        :co#80:li#24:\
1.5     ! tholo    2606:        :bl=^G:cl=\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
        !          2607:        :sf=^J:up=^K:
1.2       deraadt  2608: adm3a+|adm3a plus:\
1.1       deraadt  2609:        :kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
1.2       deraadt  2610: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
1.1       deraadt  2611: adm5|lsi adm5:\
                   2612:        :sg#1:\
1.5     ! tholo    2613:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
        !          2614: # A lot of terminals other than adm12s use these.  Wherever you see
        !          2615: # use=adm+sgr with some of its capabilities disabled, try the
        !          2616: # disabled ones.  They may well work but not have been documented or
        !          2617: # expressed in the using entry.  We'd like to cook up an :sa: but the
        !          2618: # :ae:/:as: sequences of the using entries vary too much.
        !          2619: adm+sgr|adm style highlight capabilities:\
        !          2620:        :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
        !          2621: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
        !          2622: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
        !          2623: # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
        !          2624: # be ^Z, according to his entry.
        !          2625: # (adm11: :us:=\EG4 was obviously erroneous because it also said
        !          2626: # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
        !          2627: adm11|LSI ADM-11:\
1.2       deraadt  2628:        :am:hs:\
1.1       deraadt  2629:        :co#80:li#24:\
1.5     ! tholo    2630:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
        !          2631:        :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          2632:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
        !          2633:        :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nw=^M^J:ta=^I:\
        !          2634:        :ts=\EF\E):up=^K:\
        !          2635:        :tc=adm+sgr:
1.1       deraadt  2636: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2637: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
1.5     ! tholo    2638: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
        !          2639: # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
        !          2640: # -- esr)
1.1       deraadt  2641: adm12|lsi adm12:\
1.2       deraadt  2642:        :am:mi:\
1.1       deraadt  2643:        :co#80:li#24:\
1.5     ! tholo    2644:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:\
        !          2645:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
        !          2646:        :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
        !          2647:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
        !          2648:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
        !          2649:        :ku=^K:le=^H:nd=^L:up=^K:\
        !          2650:        :tc=adm+sgr:
1.2       deraadt  2651: # (adm20: removed obsolete ":kn#7:" -- esr)
1.1       deraadt  2652: adm20|lear siegler adm20:\
1.2       deraadt  2653:        :am:\
1.1       deraadt  2654:        :co#80:it#8:li#24:\
                   2655:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
1.5     ! tholo    2656:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
        !          2657:        :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
        !          2658:        :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
1.1       deraadt  2659: adm21|lear siegler adm21:\
1.5     ! tholo    2660:        :sg#1:\
        !          2661:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
        !          2662:        :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
        !          2663:        :tc=adm+sgr:tc=adm3a:
1.1       deraadt  2664: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
1.2       deraadt  2665: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
1.5     ! tholo    2666: # removed bogus-looking \200 from before :cm:. -- esr)
1.1       deraadt  2667: adm22|lsi adm22:\
1.2       deraadt  2668:        :am:\
1.1       deraadt  2669:        :co#80:li#24:\
1.5     ! tholo    2670:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
        !          2671:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
1.3       deraadt  2672:        :is=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200:\
1.5     ! tholo    2673:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          2674:        :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
        !          2675:        :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
        !          2676:        :so=\E):ta=\Ei:up=^K:
1.2       deraadt  2677: # ADM 31 DIP Switches
                   2678: #
                   2679: # This information comes from two versions of the manual for the
                   2680: # Lear-Siegler ADM 31.
                   2681: #
                   2682: # Main board:
                   2683: #                  rear of case
                   2684: #   +-||||-------------------------------------+
                   2685: #   + S1S2                              ||S    +
                   2686: #   +                                   ||3    +
                   2687: #   +                                          +
                   2688: #   +                                ||S       +
                   2689: #   +                                ||4       +
                   2690: #   +                                          +
                   2691: #   +                                          +
                   2692: #   +                                          +
                   2693: #   +                                          +
                   2694: #   +                                          +
                   2695: # +-+                                          +-+
                   2696: # +                                              +
                   2697: # +                               S5 S6 S7       +
                   2698: # +                               == == ==       +
                   2699: # +----------------------------------------------+
                   2700: #            front of case (keyboard)
                   2701: #
                   2702: #  S1 - Data Rate - Modem
                   2703: #  S2 - Data Rate - Printer
                   2704: # ------------------------
                   2705: # Data Rate   Setting
                   2706: # -------------------
                   2707: # 50          0 0 0 0
                   2708: # 75          1 0 0 0
                   2709: # 110         0 1 0 0
                   2710: # 134.5       1 1 0 0
                   2711: # 150         0 0 1 0
                   2712: # 300         1 0 1 0
                   2713: # 600         0 1 1 0
                   2714: # 1200        1 1 1 0
                   2715: # 1800        0 0 0 1
                   2716: # 2000        1 0 0 1
                   2717: # 2400        0 1 0 1
                   2718: # 3600        1 1 0 1
                   2719: # 4800        0 0 1 1
                   2720: # 7200        1 0 1 1
                   2721: # 9600        0 1 1 1
                   2722: # x           1 1 1 1
                   2723: #
                   2724: # S3 - Interface/Printer/Attributes
                   2725: # ---------------------------------
                   2726: # Printer Busy Control
                   2727: # sw1   sw2   sw3
                   2728: # ---------------
                   2729: # off   off   off   Busy not active, CD disabled
                   2730: # off   off   on    Busy not active, CD enabled
                   2731: # off   on    off   Busy active on J5-20, CD disabled
                   2732: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   2733: # on    off   on    Busy active on J5-19, CD enabled
                   2734: #
                   2735: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   2736: #
                   2737: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   2738: #
                   2739: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   2740: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   2741: #
                   2742: # sw7   ON - steady cursor - Factory Setting
                   2743: #       OFF - blinking cursor
                   2744: #
                   2745: # sw8   ON causes selected attribute character to be displayed
                   2746: #       OFF causes SPACE to be displayed instead - Factory Setting
                   2747: #
                   2748: # S4 - Interface
                   2749: # --------------
                   2750: # Modem Interface
                   2751: # S3    S4    S4    S4    S4
                   2752: # sw4   sw1   sw2   sw3   sw4
                   2753: # ---------------------------
                   2754: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   2755: #                               Current Loop disabled - Factory Setting
                   2756: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   2757: #                               disabled
                   2758: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   2759: #                               Current Loop Disabled
                   2760: #
                   2761: # sw5   ON disables dot stretching mode - Factory Setting
                   2762: #       OFF enables dot stretching mode
                   2763: # sw6   ON enables blanking function
                   2764: #       OFF enables underline function - Factory Setting
                   2765: # sw7   ON causes NULLS to be displayed as NULLS
                   2766: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   2767: #
                   2768: # S5 - Word Structure
                   2769: # -------------------
                   2770: # sw1   ON enables BREAK key - Factory Setting
                   2771: #       OFF disables BREAK key
                   2772: # sw2   ON selects 50Hz monitor refresh rate
                   2773: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   2774: #
                   2775: # Modem Port Selection
                   2776: # sw3   sw4   sw5
                   2777: # ---------------
                   2778: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   2779: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   2780: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   2781: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   2782: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   2783: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   2784: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   2785: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   2786: #
                   2787: # sw6   ON  sends bit 8 a 1 (mark)
                   2788: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   2789: # sw7   ON  selects Block Mode
                   2790: #       OFF selects Conversation Mode - Factory Setting
                   2791: # sw8   ON  selects Full Duplex operation
                   2792: #       OFF selects Half Duplex operation - Factory Setting
                   2793: #
                   2794: # S6 - Printer
                   2795: # ------------
                   2796: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   2797: #
                   2798: # Printer Port Selection
                   2799: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   2800: #
                   2801: # sw8   ON   enables Printer Port
                   2802: #       OFF disables Printer Port - Factory Setting
                   2803: #
                   2804: # S7 - Polling Address
                   2805: # --------------------
                   2806: # sw1-7 Establish ASCII character which designates terminal polling address
                   2807: #       ON  = logic 0
                   2808: #       OFF = logic 1 - Factory Setting
                   2809: # sw8   ON   enables Polling Option
                   2810: #       OFF disables Polling Option - Factory Setting
                   2811: #
                   2812: #
                   2813: # On some older ADM 31s, S4 does not exist, and S5-sw6 is not defined.
                   2814: #
1.5     ! tholo    2815: # This adm31 entry uses underline as the standout mode.
1.1       deraadt  2816: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   2817: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   2818: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   2819: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
1.5     ! tholo    2820: adm31|lsi adm31 with sw6 set for underline mode:\
1.2       deraadt  2821:        :am:mi:\
1.1       deraadt  2822:        :co#80:li#24:\
1.5     ! tholo    2823:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
        !          2824:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
        !          2825:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
        !          2826:        :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
        !          2827:        :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
1.2       deraadt  2828: adm31-old|o31|old adm31:\
1.1       deraadt  2829:        :so=\EG4:ue@:us@:tc=adm31:
                   2830: # ADM36 in native mode (not VT52 emulation mode)
1.2       deraadt  2831: # Hmmm...this looks a lot like an incomplete and slightly botched description
                   2832: # of a vt100 emulator.  Might be worth trying vt100 on this type and seeing
                   2833: # if it flies.  Assuming there are any of these left alive...
1.5     ! tholo    2834: # (adm36: I added <rmam>/<smam> based on the initialization string;
        !          2835: # also added :me:=\E[m -- esr)
1.1       deraadt  2836: adm36|lsi adm36:\
                   2837:        :am:mi:\
                   2838:        :co#80:li#24:\
1.3       deraadt  2839:        :RA=\E[?7l:SA=\E[?7h:al=\E[1L:cd=\E[0J:ce=\E[0K:\
1.5     ! tholo    2840:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dl=\E[1M:ei=\E[4l:im=\E[4h:\
        !          2841:        :is=\E[6;?7h\E[4;20;?1;?3;?6;?4l\E(B\E)B\E>:kd=\EB:\
        !          2842:        :kl=\ED:kr=\EC:ku=\E[A:le=^H:me=\E[m:nd=\E[D:up=\E[A:
1.1       deraadt  2843: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   2844: adm42|lsi adm42:\
1.2       deraadt  2845:        :am:\
1.1       deraadt  2846:        :co#80:li#24:\
1.5     ! tholo    2847:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
        !          2848:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
        !          2849:        :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
        !          2850:        :up=^K:us@:vs=\EC\E3 \E3(:\
        !          2851:        :tc=adm+sgr:
1.1       deraadt  2852: # The following termcap for the Lear Siegler ADM-42 leaves the
                   2853: # "system line" at the bottom of the screen blank (for those who
                   2854: # find it distracting otherwise)
1.2       deraadt  2855: adm42-ns|lsi adm-42 with no system line:\
1.1       deraadt  2856:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
                   2857:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
                   2858:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
                   2859:        :im=\Eq\EF \011:tc=adm42:
1.5     ! tholo    2860: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
        !          2861: # The insert mode of this terminal is commented out because it's broken for our
        !          2862: # purposes in that it will shift the position of every character on the page,
        !          2863: # not just the cursor line!
        !          2864: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
        !          2865: adm1178|1178|lsi adm1178:\
        !          2866:        :am:\
        !          2867:        :co#80:li#24:sg#1:ug#1:\
        !          2868:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          2869:        :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
        !          2870:        :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
        !          2871:        :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
1.1       deraadt  2872:
                   2873: #### Prime
                   2874: #
                   2875: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   2876: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
1.5     ! tholo    2877: #
1.1       deraadt  2878:
1.5     ! tholo    2879: # Standout mode is dim reverse-video.
1.1       deraadt  2880: pt100|pt200|wren|fenix|prime pt100/pt200:\
                   2881:        :am:bw:mi:ms:\
                   2882:        :co#80:it#8:li#24:\
                   2883:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5     ! tholo    2884:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
        !          2885:        :cl=\E?:cm=\E0%+!%+!:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
        !          2886:        :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
        !          2887:        :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
        !          2888:        :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:\
1.1       deraadt  2889:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
1.2       deraadt  2890:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
1.1       deraadt  2891: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
                   2892:        :co#132:\
                   2893:        :cm=\E[%i%d;%dH:tc=pt100:
                   2894: pt250|Prime PT250:\
1.5     ! tholo    2895:        :se@:so@:tc=pt100:
1.1       deraadt  2896: pt250w|Prime PT250 in 132-column mode:\
1.5     ! tholo    2897:        :se@:so@:tc=pt100w:
1.1       deraadt  2898:
                   2899: #### Qume (qvt)
                   2900: #
                   2901: #      Qume, Inc.
                   2902: #      3475-A North 1st Street
                   2903: #      San Jose CA 95134
                   2904: #      Vox: (800)-457-4447
                   2905: #      Fax: (408)-473-1510
                   2906: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   2907: #
                   2908: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   2909: # group and production division.
                   2910: #
                   2911: # Discontinued Qume models:
                   2912: #
                   2913: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   2914: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   2915: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   2916: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   2917: # ANSI-compatible terminals with the qvt323 and qvt61.
                   2918: #
                   2919: # Current Qume models (as of February 1995):
                   2920: #
                   2921: # All current Qume terminals have ANSI-compatible operation modes.
                   2922: # Qume is still producing the qvt62, which features emulations for other
                   2923: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   2924: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
1.3       deraadt  2925: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
1.1       deraadt  2926: # model is the qvt520, which is vt420-compatible.
                   2927: #
                   2928: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   2929:
                   2930: qvt101|qvt108|qume qvt 101 and QVT 108:\
1.5     ! tholo    2931:        :sg#1:tc=qvt101+:
1.3       deraadt  2932:
1.5     ! tholo    2933: # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
        !          2934: # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
        !          2935: # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
1.3       deraadt  2936: # What seems to be going on here is that this entry was designed so that
                   2937: # the normal highlight is bold and standout is dim plus something else
1.5     ! tholo    2938: # (reverse-video maybe?  But then, are there two :mr: sequences?)
1.1       deraadt  2939: qvt101+|qvt101p|qume qvt 101 PLUS product:\
                   2940:        :am:bw:hs:ul:\
                   2941:        :co#80:li#24:sg#0:\
1.5     ! tholo    2942:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
        !          2943:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
        !          2944:        :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          2945:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
        !          2946:        :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
        !          2947:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
        !          2948:        :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
        !          2949:        :tc=adm+sgr:
1.2       deraadt  2950: qvt102|qume qvt 102:\
1.1       deraadt  2951:        :ve=\E.:tc=qvt101:
1.2       deraadt  2952: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  2953: qvt103|qume qvt 103:\
                   2954:        :am:xn:xo:\
                   2955:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  2956:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   2957:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   2958:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
1.5     ! tholo    2959:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
        !          2960:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          2961:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          2962:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  2963:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5     ! tholo    2964:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
        !          2965:        :up=\E[A:us=\E[4m:
1.1       deraadt  2966: qvt103-w|qume qvt103 132 cols:\
1.3       deraadt  2967:        :co#132:li#24:\
                   2968:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
1.1       deraadt  2969: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
                   2970:        :am:hs:mi:ms:\
                   2971:        :co#80:li#24:sg#0:\
1.5     ! tholo    2972:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
        !          2973:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
        !          2974:        :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
        !          2975:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          2976:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
        !          2977:        :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
        !          2978:        :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
        !          2979:        :tc=adm+sgr:
1.1       deraadt  2980: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
1.3       deraadt  2981:        :li#25:tc=qvt119+:
1.1       deraadt  2982: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
                   2983:        :co#132:\
                   2984:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
                   2985: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
1.3       deraadt  2986:        :li#25:tc=qvt119+:
1.1       deraadt  2987: qvt203|qvt203+|qume qvt 203 Plus:\
1.5     ! tholo    2988:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
        !          2989:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
        !          2990:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
        !          2991:        :tc=qvt103:
1.1       deraadt  2992: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
1.3       deraadt  2993:        :co#132:li#24:\
                   2994:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
1.1       deraadt  2995: #
                   2996: #      Since a command is present for enabling 25 data lines,
                   2997: #      a specific terminfo entry may be generated for the 203.
                   2998: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   2999: #      be selected in the status line (setup line 9).
                   3000: #
                   3001: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
                   3002:        :co#80:li#25:\
                   3003:        :is=\E[=40h\E[?3l:tc=qvt203:
                   3004: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
1.3       deraadt  3005:        :co#132:li#25:\
                   3006:        :r2=\E[?3h\E[=40h:tc=qvt203:
1.1       deraadt  3007:
                   3008: #### Televideo (tvi)
                   3009: #
                   3010: #      TeleVideo
                   3011: #      550 East Brokaw Road
                   3012: #      PO Box 49048    95161
                   3013: #      San Jose CA 95112
                   3014: #      Vox: (408)-954-8333
                   3015: #      Fax: (408)-954-0623
                   3016: #
                   3017: #
                   3018: # There are some tvi terminals that require incredible amounts of padding and
                   3019: # some that don't.  I'm assuming 912 and 920 are the old slow ones,
                   3020: # and 912b, 912c, 920b, 920c are the new ones that don't need padding.
                   3021: #
                   3022: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3023: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3024:
                   3025: tvi803|televideo 803:\
                   3026:        :cl=\E*:tc=tvi950:
                   3027:
                   3028: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
1.2       deraadt  3029: # Switch settings are:
                   3030: #
                   3031: # S1  1 2 3 4
                   3032: #     D D D D  9600
                   3033: #     D D D U    50
                   3034: #     D D U D    75
                   3035: #     D D U U   110
                   3036: #     D U D D   135
                   3037: #     D U D U   150
                   3038: #     D U U D   300
                   3039: #     D U U U   600
                   3040: #     U D D D  1200
                   3041: #     U D D U  1800
                   3042: #     U D U D  2400
                   3043: #     U D U U  3600
                   3044: #     U U D D  4800
                   3045: #     U U D U  7200
                   3046: #     U U U D  9600
                   3047: #     U U U U 19200
                   3048: #
                   3049: # S1  5 6 7 8
                   3050: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3051: #     U D X U  7N2
                   3052: #     U U D D  7O1
                   3053: #     U U D U  7O2
                   3054: #     U U U D  7E1
                   3055: #     U U U U  7E2
                   3056: #     D D X D  8N1
                   3057: #     D D X U  8N2
                   3058: #     D U D D  8O1
                   3059: #     D U U U  8E2
                   3060: #
                   3061: # S1  9  Autowrap
                   3062: #     U  on
                   3063: #     D  off
                   3064: #
                   3065: # S1 10  CR/LF
                   3066: #     U  do CR/LF when CR received
                   3067: #     D  do CR when CR received
                   3068: #
                   3069: # S2  1  Mode
                   3070: #     U  block
                   3071: #     D  conversational
                   3072: #
                   3073: # S2  2  Duplex
                   3074: #     U  half
                   3075: #     D  full
                   3076: #
                   3077: # S2  3  Hertz
                   3078: #     U  50
                   3079: #     D  60
                   3080: #
                   3081: # S2  4  Edit mode
                   3082: #     U  local
                   3083: #     D  duplex
                   3084: #
                   3085: # S2  5  Cursor type
                   3086: #     U  underline
                   3087: #     D  block
                   3088: #
                   3089: # S2  6  Cursor down key
                   3090: #     U  send ^J
                   3091: #     D  send ^V
                   3092: #
                   3093: # S2  7  Screen colour
                   3094: #     U  green on black
                   3095: #     D  black on green
                   3096: #
                   3097: # S2  8  DSR status (pin 6)
                   3098: #     U  disconnected
                   3099: #     D  connected
                   3100: #
                   3101: # S2  9  DCD status (pin 8)
                   3102: #     U  disconnected
                   3103: #     D  duplex
                   3104: #
                   3105: # S2 10  DTR status (pin 20)
                   3106: #     U  disconnected
                   3107: #     D  duplex
1.5     ! tholo    3108: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
        !          3109: # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
1.1       deraadt  3110: tvi910|televideo model 910:\
1.2       deraadt  3111:        :am:ms:\
1.5     ! tholo    3112:        :co#80:it#8:li#24:sg#1:\
        !          3113:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
        !          3114:        :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
        !          3115:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
        !          3116:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
        !          3117:        :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
        !          3118:        :sf=^J:ta=^I:up=^K:\
        !          3119:        :tc=adm+sgr:
1.1       deraadt  3120: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3121: # as subsequently hacked over by someone at SCO
1.2       deraadt  3122: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3123: #
                   3124: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3125: #
                   3126: # S1  1 2 3 4:
                   3127: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3128: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3129: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3130: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3131: #
                   3132: # S1  5 6 7 8:
                   3133: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3134: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3135: #     D U D D  8O1     D U U U  8E2
                   3136: #
                   3137: # S1  9  Autowrap            (U = on, D = off)
                   3138: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3139: # S2  1  Mode                (U = block, D = conversational)
                   3140: # S2  2  Duplex              (U =  half, D = full)
                   3141: # S2  3  Hertz               (U = 50, D = 60)
                   3142: # S2  4  Edit mode           (U = local, D = duplex)
                   3143: # S2  5  Cursor type         (U = underline, D = block)
                   3144: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3145: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3146: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3147: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3148: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3149: #
1.1       deraadt  3150: tvi910+|910+|televideo 910+:\
1.5     ! tholo    3151:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
        !          3152:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          3153:        :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
        !          3154:        :tc=tvi910:
1.2       deraadt  3155:
                   3156: # (tvi912: removed obsolete ":ma=^K^P^L :" -- esr)
                   3157: tvi912|tvi914|tvi920|old televideo 912/914/920:\
                   3158:        :am:\
                   3159:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5     ! tholo    3160:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
        !          3161:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
1.1       deraadt  3162:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
1.5     ! tholo    3163:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          3164:        :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
        !          3165:        :se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  3166: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3167: # The 920 has this plus real function keys that xmit different things.
                   3168: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
                   3169: tvi912c|tvi912b|912c|912b|tvi|new televideo 912:\
                   3170:        :al=\EE:dl=\ER:tc=tvi912:
1.2       deraadt  3171: # set to page 1 when entering curses application (\E-17 )
                   3172: # reset to page 0 when exiting curses application (\E-07 )
1.1       deraadt  3173: tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages:\
1.5     ! tholo    3174:        :te=\E-07 :ti=\E-17 :\
        !          3175:        :tc=tvi912:
1.1       deraadt  3176: # We got some new tvi912c terminals that act really weird on the regular
                   3177: # termcap, so one of our gurus worked this up. Seems that cursor
                   3178: # addressing is broken.
                   3179: tvi912cc|tvi912 at cowell college:\
                   3180:        :cm@:tc=tvi912c:
                   3181:
1.2       deraadt  3182: # Here are the switch settings for the TVI 920c:
                   3183: #
                   3184: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3185: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3186: # 6:  600      7:  300         8:  150         9:   75
                   3187: # 10: 110
                   3188: #
                   3189: # S2 UART/Terminal options:
                   3190: #              Up                      Down
                   3191: # 1:           Not used                Not allowed
                   3192: # 2:   Alternate character set   Standard character set
                   3193: # 3:       Full duplex             Half duplex
                   3194: # 4:       50 Hz refresh           60 Hz refresh
                   3195: # 5:         No parity              Send parity
                   3196: # 6:        2 stop bits             1 stop bit
                   3197: # 7:        8 data bits             7 data bits
                   3198: # 8:           Not used                Not allowed on Rev E or lower
                   3199: # 9:        Even parity             Odd parity
                   3200: # 10:      Steady cursor           Blinking cursor
                   3201: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3202: #
                   3203: # S5 UART/Terminal options:
                   3204: #              Open                    Closed
                   3205: # 1:   P3-6 Not connected      DSR received on P3-6
                   3206: # 2:   P3-8 Not connected      DCD received on P3-8
                   3207: #
                   3208: # 3 Open, 4 Open:              P3-20 Not connected
                   3209: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3210: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3211: # 3 Closed, 4 Closed:  Not allowed
                   3212: #
                   3213: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3214: #              all data transmitted out of the modem port (P3) will also be
                   3215: #              transmitted out of the printer port (P4).
                   3216: #
                   3217: # 6 Open, 7 Open:              Not allowed
                   3218: # 6 Open, 7 Closed:    20ma current loop input
                   3219: # 6 Closed, 7 Open:    RS232 input
                   3220: # 6 Closed, 7 Closed:  Not allowed
                   3221: #
                   3222: # Jumper options:
                   3223: # If the jumper is installed, the effect will occur (the next time the terminal
                   3224: # is switched on).
                   3225: #
                   3226: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3227: #              remote or keyboard.
                   3228: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3229: #              installed, a carriage return is sent.
                   3230: # S4/W33:      Disables automatic carriage return in column 80.
                   3231: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3232: #              installed, Extension Mode is selected.
                   3233: #
1.1       deraadt  3234: tvi920b|tvi920c|new televideo 920:\
                   3235:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
1.5     ! tholo    3236:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
        !          3237:        :tc=tvi912:
1.1       deraadt  3238:
1.2       deraadt  3239: # Televideo 921 and variants
                   3240: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
1.5     ! tholo    3241: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
        !          3242: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3243: tvi921|televideo model 921 with sysline same as page & real vi function:\
                   3244:        :am:hs:xn:xs:\
                   3245:        :co#80:li#24:sg#0:\
1.5     ! tholo    3246:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
        !          3247:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
        !          3248:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
        !          3249:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
        !          3250:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3251:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
        !          3252:        :vs=\E.2:\
        !          3253:        :tc=adm+sgr:
1.2       deraadt  3254: # without the beeper
1.5     ! tholo    3255: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
        !          3256: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3257: tvi92B|televideo model 921 with sysline same as page & real vi function:\
                   3258:        :am:hs:xn:xs:\
                   3259:        :co#80:li#24:sg#0:\
1.5     ! tholo    3260:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
        !          3261:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
        !          3262:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
        !          3263:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
        !          3264:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3265:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
        !          3266:        :ve=\E.3:vs=\E.2:\
        !          3267:        :tc=adm+sgr:
1.2       deraadt  3268: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3269: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
1.5     ! tholo    3270:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
        !          3271:        :kL=2*\ER:\
        !          3272:        :tc=tvi92B:
1.2       deraadt  3273:
1.5     ! tholo    3274: # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
1.3       deraadt  3275: # in from a BSD termcap file because it looks like they do something the
                   3276: # old ones skip -- esr)
1.1       deraadt  3277: tvi924|televideo tvi924:\
                   3278:        :am:bw:hs:in:mi:ms:xn:xo:\
                   3279:        :co#80:it#8:li#24:sg#0:ws#80:\
1.5     ! tholo    3280:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
        !          3281:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
        !          3282:        :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
        !          3283:        :ei=:fs=\031\Es1:ho=^^:\
1.1       deraadt  3284:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
                   3285:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
1.5     ! tholo    3286:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          3287:        :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
        !          3288:        :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
        !          3289:        :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
        !          3290:        :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
        !          3291:        :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
        !          3292:        :vs=\E.1:\
        !          3293:        :tc=adm+sgr:
1.2       deraadt  3294:
                   3295: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3296: #
                   3297: # Here are the settings for the external (baud) switches (S1):
                   3298: #
                   3299: #             Position         Baud
                   3300: # 7    8       9       10              [Printer]
                   3301: # 1    2       3       4               [Main RS232]
                   3302: # -----------------------------------------------------
                   3303: # D    D       D       D       9600
                   3304: # D    D       D       U         50
                   3305: # D    D       U       D         75
                   3306: # D    D       U       U        110
                   3307: # D    U       D       D        135
                   3308: # D    U       D       U        150
                   3309: # D    U       U       D        300
                   3310: # D    U       U       U        600
                   3311: # U    D       D       D       1200
                   3312: # U    D       D       U       1800
                   3313: # U    D       U       D       2400
                   3314: # U    D       U       U       3600
                   3315: # U    U       D       D       4800
                   3316: # U    U       D       U       7200
                   3317: # U    U       U       D       9600
                   3318: # U    U       U       U       19200
                   3319: #
                   3320: #
                   3321: # Settings for word length and stop-bits (S1)
                   3322: #
                   3323: #  Position    Description
                   3324: # 5    6
                   3325: # ---------------------------
                   3326: # U    -       7-bit word
                   3327: # D    -       8-bit word
                   3328: # -    U       2 stop bits
                   3329: # -    D       1 stop bit
                   3330: #
                   3331: #
                   3332: # S2 (external) settings
                   3333: #
                   3334: # Position     Up      Dn      Description
                   3335: # --------------------------------------------
                   3336: # 1            X               Local edit
                   3337: #                      X       Duplex edit (transmit editing keys)
                   3338: # --------------------------------------------
                   3339: # 2            X               912/920 emulation
                   3340: #                      X       925
                   3341: # --------------------------------------------
                   3342: # 3                    X
                   3343: # 4                    X       No parity
                   3344: # 5                    X
                   3345: # --------------------------------------------
                   3346: # 3                    X
                   3347: # 4                    X       Odd parity
                   3348: # 5            X
                   3349: # --------------------------------------------
                   3350: # 3                    X
                   3351: # 4            X               Even parity
                   3352: # 5            X
                   3353: # --------------------------------------------
                   3354: # 3            X
                   3355: # 4                    X       Mark parity
                   3356: # 5            X
                   3357: # --------------------------------------------
                   3358: # 3            X
                   3359: # 4            X               Space parity
                   3360: # 5            X
                   3361: # --------------------------------------------
                   3362: # 6            X               White on black display
                   3363: #                      X       Black on white display
                   3364: # --------------------------------------------
                   3365: # 7                    X       Half Duplex
                   3366: # 8                    X
                   3367: # --------------------------------------------
                   3368: # 7            X               Full Duplex
                   3369: # 8                    X
                   3370: # --------------------------------------------
                   3371: # 7                    X       Block mode
                   3372: # 8            X
                   3373: # --------------------------------------------
                   3374: # 9                    X       50 Hz
                   3375: #              X               60 Hz
                   3376: # --------------------------------------------
                   3377: # 10           X               CR/LF (Auto LF)
                   3378: #                      X       CR only
                   3379: #
                   3380: # S3 (internal switch) settings:
                   3381: #
                   3382: # Position     Up      Dn      Description
                   3383: # --------------------------------------------
                   3384: # 1            X               Keyclick off
                   3385: #                      X       Keyclick on
                   3386: # --------------------------------------------
                   3387: # 2                    X       English
                   3388: # 3                    X
                   3389: # --------------------------------------------
                   3390: # 2                    X       German
                   3391: # 3            X
                   3392: # --------------------------------------------
                   3393: # 2            X               French
                   3394: # 3                    X
                   3395: # --------------------------------------------
                   3396: # 2            X               Spanish
                   3397: # 3            X
                   3398: # --------------------------------------------
                   3399: # 4                    X       Blinking block cursor
                   3400: # 5                    X
                   3401: # --------------------------------------------
                   3402: # 4                    X       Blinking underline cursor
                   3403: # 5            X
                   3404: # --------------------------------------------
                   3405: # 4            X               Steady block cursor
                   3406: # 5                    X
                   3407: # --------------------------------------------
                   3408: # 4            X               Steady underline cursor
                   3409: # 5            X
                   3410: # --------------------------------------------
                   3411: # 6            X               Screen blanking timer (ON)
                   3412: #                      X       Screen blanking timer (OFF)
                   3413: # --------------------------------------------
                   3414: # 7            X               Page attributes
                   3415: #                      X       Line attributes
                   3416: # --------------------------------------------
                   3417: # 8            X               DCD disconnected
                   3418: #                      X       DCD connected
                   3419: # --------------------------------------------
                   3420: # 9            X               DSR disconnected
                   3421: #                      X       DSR connected
                   3422: # --------------------------------------------
                   3423: # 10           X               DTR Disconnected
                   3424: #                      X       DTR connected
                   3425: # --------------------------------------------
1.3       deraadt  3426: #
1.5     ! tholo    3427: # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
1.1       deraadt  3428: tvi925|925|televideo 925:\
                   3429:        :am:bw:hs:ul:\
1.5     ! tholo    3430:        :co#80:li#24:sg#1:\
        !          3431:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
        !          3432:        :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
        !          3433:        :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
        !          3434:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
        !          3435:        :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
        !          3436:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
        !          3437:        :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
        !          3438:        :tc=adm+sgr:
1.1       deraadt  3439:
                   3440: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3441: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3442: # for additional capabilities,
                   3443: # The following tvi descriptions from B:pjphar and virus!mike
                   3444: # is for all 950s.  It sets the following attributes:
                   3445: # full duplex (\EDF)           write protect off (\E()
                   3446: # conversation mode (\EC)      graphics mode off (\E%)
                   3447: # white on black (\Ed)         auto page flip off (\Ew)
                   3448: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3449: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3450: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3451: # line edit mode (\EO)         enable buffer control (^O)
                   3452: # protect mode off (\E\047)    duplex edit keys (\El)
                   3453: # program unshifted send key to send line all (\E016)
                   3454: # program shifted send key to send line unprotected (\E004)
                   3455: # set the following to nulls:
                   3456: #      field delimiter (\Ex0\200\200)
                   3457: #      line delimiter (\Ex1\200\200)
                   3458: #      start-protected field delimiter (\Ex2\200\200)
                   3459: #      end-protected field delimiter (\Ex3\200\200)
                   3460: # set end of text delimiter to carriage return/null (\Ex4\r\200)
1.2       deraadt  3461: #
                   3462: #                     TVI 950 Switch Setting Reference Charts
                   3463: #
                   3464: #                                     TABLE 1:
                   3465: #
                   3466: #      S1     1     2     3     4     5     6     7     8     9    10
                   3467: #          +-----------------------+-----+-----+-----------------------+
                   3468: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3469: #          |                       |Bits |Bits |                       |
                   3470: #   +------+-----------------------+-----+-----+-----------------------+
                   3471: #   |  Up  |        See            |  7  |  2  |        See            |
                   3472: #   +------+-----------------------+-----+-----+-----------------------+
                   3473: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3474: #   +------+-----------------------+-----+-----+-----------------------+
                   3475: #
                   3476: #
                   3477: #      S2     1     2     3     4     5     6     7     8     9    10
                   3478: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3479: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3480: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3481: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3482: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3483: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3484: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3485: #
                   3486: #                                    TABLE 2:
                   3487: #
                   3488: #             +-----------+-----+-----+-----+-----+-----------+
                   3489: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3490: #             +-----------+-----+-----+-----+-----+           |
                   3491: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3492: #             +-----------+-----+-----+-----+-----+-----------+
                   3493: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3494: #                         |  U  |  D  |  D  |  D  |     50    |
                   3495: #                         |  D  |  U  |  D  |  D  |     75    |
                   3496: #                         |  U  |  U  |  D  |  D  |    110    |
                   3497: #                         |  D  |  D  |  U  |  D  |    135    |
                   3498: #                         |  U  |  D  |  U  |  D  |    150    |
                   3499: #                         |  D  |  U  |  U  |  D  |    300    |
                   3500: #                         |  U  |  U  |  U  |  D  |    600    |
                   3501: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3502: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3503: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3504: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3505: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3506: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3507: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3508: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3509: #                         +-----+-----+-----+-----+-----------+
                   3510: #
                   3511: #                                    TABLE 3:
                   3512: #                         +-----+-----+-----+-----------+
                   3513: #                         |  3  |  4  |  5  |   Parity  |
                   3514: #                         +-----+-----+-----+-----------+
                   3515: #                         |  X  |  X  |  D  |    None   |
                   3516: #                         |  D  |  D  |  U  |     Odd   |
                   3517: #                         |  D  |  U  |  U  |    Even   |
                   3518: #                         |  U  |  D  |  U  |    Mark   |
                   3519: #                         |  U  |  U  |  U  |   Space   |
                   3520: #                         +-----+-----+-----+-----------+
                   3521: #                                 X = don't care
                   3522: #
                   3523: #                                     CHART:
                   3524: #                         +-----+-----+-----------------+
                   3525: #                         |  7  |  8  | Communication   |
                   3526: #                         +-----+-----+-----------------+
                   3527: #                         |  D  |  D  |  Half Duplex    |
                   3528: #                         |  D  |  U  |  Full Duplex    |
                   3529: #                         |  U  |  D  |     Block       |
                   3530: #                         |  U  |  U  |     Local       |
                   3531: #                         +-----+-----+-----------------+
                   3532: #
                   3533: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
1.5     ! tholo    3534: # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
1.3       deraadt  3535: # should be present and all tvi native modes use the same string for this.
                   3536: # Finally, note that BSD has cud1=^V. -- esr)
1.2       deraadt  3537: tvi950|950|televideo 950:\
                   3538:        :am:hs:mi:ms:xn:xo:\
1.5     ! tholo    3539:        :co#80:it#8:li#24:sg#1:\
        !          3540:        :ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
        !          3541:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
        !          3542:        :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
1.1       deraadt  3543:        :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:\
1.5     ! tholo    3544:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
        !          3545:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
        !          3546:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
        !          3547:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
        !          3548:        :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
        !          3549:        :tc=adm+sgr:
1.1       deraadt  3550: #
                   3551: # is for 950 with two pages adds the following:
                   3552: #      set 48 line page (\E\\2)
                   3553: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3554: #      set local (no send) edit keys (\Ek)
                   3555: #
                   3556: # two page 950 adds the following:
                   3557: #      when entering ex, set 24 line page (\E\\1)
                   3558: #      when exiting ex, reset 48 line page (\E\\2)
                   3559: #                       place cursor at 0,24,1 (\E-07 )
                   3560: #      set duplex (send) edit keys (\El) when entering vi
                   3561: #      set local (no send) edit keys (\Ek) when exiting vi
                   3562: #
                   3563: tvi950-2p|950-2p|televideo950 w/2 pages:\
                   3564:        :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:\
1.5     ! tholo    3565:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :\
        !          3566:        :tc=tvi950:
1.1       deraadt  3567: #
                   3568: # is for 950 with four pages adds the following:
                   3569: #      set 96 line page (\E\\3)
                   3570: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3571: #
                   3572: # four page 950 adds the following:
                   3573: #      when entering ex, set 24 line page (\E\\1)
                   3574: #      when exiting ex, reset 96 line page (\E\\3)
                   3575: #                       place cursor at 0,24,1 (\E-07 )
                   3576: #
                   3577: tvi950-4p|950-4p|televideo950 w/4 pages:\
                   3578:        :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:\
1.5     ! tholo    3579:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :\
        !          3580:        :tc=tvi950:
1.1       deraadt  3581: #
1.5     ! tholo    3582: # :is: for reverse video 950 changes the following:
1.1       deraadt  3583: #      set reverse video (\Ed)
                   3584: #
1.2       deraadt  3585: # set vb accordingly (\Ed ...delay... \Eb)
1.1       deraadt  3586: #
                   3587: tvi950-rv|950-rv|televideo950 rev video:\
                   3588:        :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.5     ! tholo    3589:        :vb=\Ed\Eb:\
        !          3590:        :tc=tvi950:
1.2       deraadt  3591:
                   3592: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.1       deraadt  3593: tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages:\
                   3594:        :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 :\
1.5     ! tholo    3595:        :ke=\Ek:ks=\El:te=\E\\2\E-07 :ti=\E\\1\E-07 :vb=\Ed\Eb:\
        !          3596:        :tc=tvi950:
1.2       deraadt  3597:
                   3598: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.1       deraadt  3599: tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages:\
                   3600:        :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 :\
1.5     ! tholo    3601:        :ke=\Ek:ks=\El:te=\E\\3\E-07 :ti=\E\\1\E-07 :vb=\Ed\Eb:\
        !          3602:        :tc=tvi950:
1.1       deraadt  3603: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
1.2       deraadt  3604: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3605: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
1.5     ! tholo    3606: # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
1.2       deraadt  3607: # the :ko: string had :cl: in it, which means that one of the original
1.5     ! tholo    3608: # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
1.2       deraadt  3609: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3610: # ko implies -- esr)
1.5     ! tholo    3611: # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
1.3       deraadt  3612: # also work.
1.2       deraadt  3613: tvi955|televideo 955:\
1.3       deraadt  3614:        :5i:ms@:\
1.2       deraadt  3615:        :it#8:sg@:\
1.3       deraadt  3616:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
                   3617:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
1.5     ! tholo    3618:        :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
        !          3619:        :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
        !          3620:        :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
1.3       deraadt  3621:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r:\
1.5     ! tholo    3622:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
        !          3623:        :tc=tvi950:
1.1       deraadt  3624: tvi955-w|955-w|televideo955 w/132 cols:\
                   3625:        :co#132:\
1.2       deraadt  3626:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
1.5     ! tholo    3627: # use half-intensity as normal mode, full intensity as :md:
1.1       deraadt  3628: tvi955-hb|955-hb|televideo955 half-bright:\
                   3629:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
                   3630:        :me=\EG0\E[=5h:mh@:tc=tvi955:
                   3631: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
1.5     ! tholo    3632: # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
        !          3633: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3634: tvi970|televideo 970:\
                   3635:        :da:db:mi:ms:\
1.1       deraadt  3636:        :co#80:it#8:li#24:\
1.5     ! tholo    3637:        :ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:cd=\E[0J:ce=\E[0K:\
1.1       deraadt  3638:        :cl=\E[H\E[2J:cm=\E[%i%d;%df:dc=\E[P:dl=\E[M:do=\ED:\
1.3       deraadt  3639:        :ds=\Eg\Ef\r:ei=\E[4l:im=\E[4h:\
1.5     ! tholo    3640:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
        !          3641:        :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
        !          3642:        :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          3643:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:\
        !          3644:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E[5;m\E[0;m:vs=\E[1Q:
1.1       deraadt  3645: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3646: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
1.5     ! tholo    3647: # padding is needed, but adapted from the tvi920c termcap.  The :so: and
        !          3648: # :us: strings are klutzy, but at least use no screen space.
1.2       deraadt  3649: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>. -- esr)
                   3650: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
                   3651: tvipt|televideo personal terminal:\
                   3652:        :am:\
1.1       deraadt  3653:        :co#80:li#24:\
1.5     ! tholo    3654:        :SA=\Ev:al=\EE:bt=\EI:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
        !          3655:        :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:kb=^H:\
        !          3656:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\EF:so=\EG1@A\EH:\
        !          3657:        :ue=\EF:up=^K:us=\EG1B@\EH:
1.1       deraadt  3658:
                   3659: #### Visual (vi)
                   3660: #
1.5     ! tholo    3661: # In September 1993, Visual Technology of Westboro, Massachusetts,
        !          3662: # merged with White Pine Software of Nashua, New Hampshire.
        !          3663: #
        !          3664: # White Pine Software may be contacted at +1 603/886-9050.
        !          3665: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
        !          3666: #
1.1       deraadt  3667:
1.2       deraadt  3668: # vi50 is from University of Wisconsin
                   3669: # This is a provisional vi50 termcap entry.  It was copied from vi500
1.5     ! tholo    3670: # entry.  Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
        !          3671: # disguise; :k7:-:k9: are really l1-l3.  No highlighting enabled at present.
1.1       deraadt  3672: vi50|visual 50:\
1.2       deraadt  3673:        :am:ms:\
                   3674:        :co#80:it#8:li#24:\
1.5     ! tholo    3675:        :al=\EL:bt=4\Ez:cd=\Ek:ce=16\EK:cl=\Ev:cm=\EY%+ %+ :cr=^M:\
        !          3676:        :dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:k3=\ER:k4=\EV:k5=\EE:\
        !          3677:        :k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
        !          3678:        :kr=\EC:ku=\EA:le=^H:nd=\EC:nw=^M^J:sf=^J:ta=^I:up=\EA:
1.2       deraadt  3679: # this one was BSD & SCO's vi50
                   3680: vi50adm|visual 50 in adm3a mode:\
                   3681:        :am:ms:\
                   3682:        :co#80:it#8:li#24:\
1.5     ! tholo    3683:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
        !          3684:        :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
        !          3685:        :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
1.1       deraadt  3686: # From: Jeff Siegal <jbs@athena.mit.edu>
                   3687: vi55|Visual 55:\
1.2       deraadt  3688:        :am:mi:ms:\
1.1       deraadt  3689:        :co#80:it#8:li#24:\
1.5     ! tholo    3690:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
        !          3691:        :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
        !          3692:        :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
        !          3693:        :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  3694:
                   3695: # The Visual 200 beeps when you type a character in insert mode.
                   3696: # This is a horribly obnoxious misfeature, and some of the entries
                   3697: # below try to get around the problem by ignoring the feature or
                   3698: # turning it off when inputting a character.  They are said not to
                   3699: # work well at 300 baud.  (You could always cut the wire to the bell!)
1.2       deraadt  3700: # (vi200: this used to use ich1=\Ei\s\010\Ej but it's more effective to
1.5     ! tholo    3701: # use :im:/:ei: directly -- esr)
1.1       deraadt  3702: # From: <mike@brl-vgr> Mon Nov 14 08:34:29 1983
                   3703: vi200|vis200|visual 200 with function keys:\
1.2       deraadt  3704:        :am:\
                   3705:        :co#80:it#8:li#24:\
1.5     ! tholo    3706:        :al=\EL:bl=^G:cd=\Ey:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :cr=^M:\
        !          3707:        :dc=\EO:dl=\EM:do=^J:ei=\Ej:ho=\EH:im=\Ei:\
1.2       deraadt  3708:        :is=\E3\Eb\Ej\E\\\El\EG\Ec\Ek:k0=\EP:k1=\EQ:k2=\ER:\
1.5     ! tholo    3709:        :k3=\E :k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
        !          3710:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E3:sf=^J:\
        !          3711:        :so=\E4:sr=\EI:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
1.1       deraadt  3712: # The older Visuals didn't come with function keys. This entry uses
1.5     ! tholo    3713: # :ks: and :ke: so that the keypad keys can be used as function keys.
1.1       deraadt  3714: # If your version of vi doesn't support function keys you may want
                   3715: # to use vi200-f.
                   3716: vi200-f|visual|visual 200 no function keys:\
1.5     ! tholo    3717:        :is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
        !          3718:        :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
        !          3719:        :ke=\E>:ks=\E=:se@:so@:\
        !          3720:        :tc=vi200:
1.1       deraadt  3721: vi200-rv|visual 200 reverse video:\
                   3722:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
                   3723:
1.2       deraadt  3724: # the function keys are programmable but we don't reprogram them to their
1.5     ! tholo    3725: # default values with :is: because programming them is very verbose. maybe
1.2       deraadt  3726: # an initialization file should be made for the 300 and they could be stuck
                   3727: # in it.
                   3728: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  3729: vi300|visual 300 ansi x3.64:\
                   3730:        :am:bw:mi:xn:\
                   3731:        :co#80:li#24:\
1.5     ! tholo    3732:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
        !          3733:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          3734:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  3735:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
                   3736:        :k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
                   3737:        :k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
1.5     ! tholo    3738:        :k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          3739:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:\
1.1       deraadt  3740:        :ue=\E[m:up=\E[A:us=\E[4m:
                   3741: # some of the vi300s have older firmware that has the command
                   3742: # sequence for setting editing extent reversed.
1.2       deraadt  3743: vi300-old|visual 300 with old firmware (set edit extent reversed):\
1.5     ! tholo    3744:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
        !          3745:        :tc=vi300:
1.2       deraadt  3746:
                   3747: # Visual 500 prototype entry from University of Wisconsin.
                   3748: # The best place to look for the escape sequences is page A1-1 of the
                   3749: # Visual 500 manual.  The initialization sequence given here may be
                   3750: # overkill, but it does leave out some of the initializations which can
                   3751: # be done with the menus in set-up mode.
                   3752: # The :xp: line below is so that emacs can understand the padding requirements
                   3753: # of this slow terminal.  :xp: is 10 time the padding factor.
1.5     ! tholo    3754: # (vi500: removed unknown :xp#4: termcap;
        !          3755: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3756: vi500|visual 500:\
                   3757:        :am:mi:ms:\
                   3758:        :co#80:it#8:li#33:\
1.5     ! tholo    3759:        :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
1.2       deraadt  3760:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
                   3761:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
                   3762:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
1.5     ! tholo    3763:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
        !          3764:        :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
        !          3765:        :us=\E^D:
1.1       deraadt  3766:
1.2       deraadt  3767: # The visual 550 is a visual 300 with tektronix graphics,
1.1       deraadt  3768: # and with 33 lines. clear screen is modified here to
                   3769: # also clear the graphics.
                   3770: vi550|visual 550 ansi x3.64:\
                   3771:        :li#33:\
1.2       deraadt  3772:        :cl=\030\E[H\E[2J:tc=vi300:
1.1       deraadt  3773:
                   3774: vi603|visual603|visual 603:\
                   3775:        :hs:mi:\
1.5     ! tholo    3776:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          3777:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\\:ei=\E[4l:\
        !          3778:        :fs=\E\\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
        !          3779:        :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.2       deraadt  3780:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
1.5     ! tholo    3781:        :up=\E[A:us=\E[4m:\
        !          3782:        :tc=vt100:
1.1       deraadt  3783:
                   3784: #### Wyse (wy)
                   3785: #
                   3786: #      Wyse Technology
                   3787: #      3471 North First Street
                   3788: #      San Jose, CA 95134
                   3789: #      Vox: (408)-473-1200
                   3790: #      Fax: (408) 473-1222
1.5     ! tholo    3791: #      Web: http://www.wyse.com
1.1       deraadt  3792: #
                   3793: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
1.5     ! tholo    3794: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
        !          3795: # obvious address, http://www.wyse.com.
1.1       deraadt  3796: #
1.5     ! tholo    3797: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
        !          3798: # They now own the Qume and Amdek brands, too.  So these are the people to
        !          3799: # talk with about all Link, Qume, and Amdek terminals.
        !          3800: #
        !          3801: # Wyse has a BBS containing termcap and terminfo stuff for their terminals
        !          3802: # (though this may not last long -- I expect the Web will kill it off by
        !          3803: # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
        !          3804: # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
        !          3805: # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
        !          3806: #
        !          3807: # All the following entries until (but not including) wy520 are direct from
1.1       deraadt  3808: # Wyse technical support and represent their best knowledge as of January 1995.
1.2       deraadt  3809: # I canceled the bel capacities in the vb entries.
                   3810: # I made two trivial syntax fixes in the wyse30 entry.
1.5     ! tholo    3811: # I made some entries relative to adm+sgr.
        !          3812: #
1.1       deraadt  3813: #
                   3814: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   3815:
                   3816: #         Although the Wyse 30 can support more than one attribute
                   3817: #      it requires magic cookies to do so.  Many applications do not
                   3818: #      function well with magic cookies.  The following terminfo uses
                   3819: #      the protect mode to support one attribute (dim) without cookies.
                   3820: #      If more than one attribute is needed then the wy30-mc terminfo
                   3821: #      should be used.
                   3822: #
                   3823: wy30|wyse30|Wyse 30:\
1.3       deraadt  3824:        :5i:am:bw:hs:mi:ms:xo:\
                   3825:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
                   3826:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
                   3827:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
1.5     ! tholo    3828:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          3829:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
        !          3830:        :ho=^^:im=\Eq:ip=:is=\E'\E(\E^3\E`9\016\024:k1=^A@\r:\
        !          3831:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
        !          3832:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
        !          3833:        :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3834:        :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
        !          3835:        :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3836:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
1.5     ! tholo    3837:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
        !          3838:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3839: #
                   3840: #      This terminal description uses the non-hidden attribute mode
                   3841: #      (with magic cookie).
                   3842: #
1.5     ! tholo    3843: # (wy30-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  3844: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
                   3845:        :ms@:\
1.5     ! tholo    3846:        :ma@:sg#1:\
1.1       deraadt  3847:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5     ! tholo    3848:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  3849:        :..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%;:\
1.5     ! tholo    3850:        :te=\EG0:ti=:\
        !          3851:        :tc=wy30:tc=adm+sgr:
        !          3852: #      The mandatory pause used by :vb: does not work with
1.1       deraadt  3853: #      older versions of terminfo.  If you see this effect then
                   3854: #      unset xon and delete the / from the delay.
                   3855: #      i.e. change $<100/> to $<100>
                   3856: wy30-vb|wyse30-vb|wyse 30 visible bell:\
1.2       deraadt  3857:        :bl@:tc=wy30:
1.1       deraadt  3858: #
                   3859: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   3860: #      Normal) without magic cookies by using the protect mode.
                   3861: #      The following description uses this feature, but when more
                   3862: #      than one attribute is put on the screen at once, all attributes
                   3863: #      will be changed to be the same as the last attribute given.
                   3864: #         The Wyse 50 can support more attributes when used with magic
                   3865: #      cookies.  The wy50-mc terminal description uses magic cookies
                   3866: #      to correctly handle multiple attributes on a screen.
                   3867: #
                   3868: wy50|wyse50|Wyse 50:\
1.3       deraadt  3869:        :5i:am:bw:hs:mi:ms:xo:\
                   3870:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
1.5     ! tholo    3871:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          3872:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
        !          3873:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
        !          3874:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
        !          3875:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
        !          3876:        :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
        !          3877:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          3878:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
        !          3879:        :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
        !          3880:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
        !          3881:        :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
        !          3882:        :po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  3883:        :..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%;:\
1.5     ! tholo    3884:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
        !          3885:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  3886: #
                   3887: #      This terminal description uses the non-hidden attribute mode
                   3888: #      (with magic cookie).
                   3889: #
1.2       deraadt  3890: #      The mandatory pause used by flash does not work with some
                   3891: #      older versions of terminfo.  If you see this effect then
1.5     ! tholo    3892: #      unset :xo: and delete the / from the delay.
1.2       deraadt  3893: #      i.e. change $<100/> to $<100>
1.5     ! tholo    3894: # (wy50-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  3895: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
                   3896:        :ms@:\
1.5     ! tholo    3897:        :ma@:sg#1:\
1.1       deraadt  3898:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5     ! tholo    3899:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  3900:        :..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%;:\
1.5     ! tholo    3901:        :so=\EGt:te=\EG0:ti=:\
        !          3902:        :tc=wy50:tc=adm+sgr:
1.1       deraadt  3903: wy50-vb|wyse50-vb|wyse 50 visible bell:\
1.2       deraadt  3904:        :bl@:tc=wy50:
1.1       deraadt  3905: wy50-w|wyse50-w|wyse 50 132-column:\
1.3       deraadt  3906:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3907:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
                   3908: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
1.5     ! tholo    3909:        :bl@:\
        !          3910:        :tc=wy50-w:
1.1       deraadt  3911: #
                   3912: #      The Wyse 350 is a Wyse 50 with color.
                   3913: #      Unfortunately this means that it has magic cookies.
                   3914: #      The color attributes are designed to overlap the reverse, dim and
                   3915: #      underline attributes.  This is nice for monochrome applications
                   3916: #      because you can make underline stuff green (or any other color)
                   3917: #      but for true color applications it's not so hot because you cannot
                   3918: #      mix color with reverse, dim or underline.
                   3919: #          To further complicate things one of the attributes must be
                   3920: #      black (either the foreground or the background).  In reverse video
                   3921: #      the background changes color with black letters.  In normal video
                   3922: #      the foreground changes colors on a black background.
                   3923: #          This terminfo uses some of the more advanced features of curses
                   3924: #      to display both color and blink.  In the final analysis I am not
                   3925: #      sure that the wy350 runs better with this terminfo than it does
                   3926: #      with the wy50 terminfo (with user adjusted colors).
                   3927: #
1.2       deraadt  3928: #      The mandatory pause used by flash does not work with
                   3929: #      older versions of terminfo.  If you see this effect then
                   3930: #      unset xon and delete the / from the delay.
                   3931: #      i.e. change $<100/> to $<100>
                   3932: #
1.5     ! tholo    3933: # Bug: The <op> capability resets attributes.
1.3       deraadt  3934: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  3935: wy350|wyse350|Wyse 350:\
1.3       deraadt  3936:        :5i:am:bw:hs:mi:xo:\
1.5     ! tholo    3937:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
        !          3938:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          3939:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
        !          3940:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
        !          3941:        :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          3942:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          3943:        :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
        !          3944:        :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          3945:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
        !          3946:        :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
        !          3947:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
        !          3948:        :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
        !          3949:        :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
        !          3950:        :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
        !          3951:        :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          3952:        :tc=adm+sgr:
1.1       deraadt  3953: wy350-vb|wyse350-vb|wyse 350 visible bell:\
1.2       deraadt  3954:        :bl@:tc=wy350:
1.1       deraadt  3955: wy350-w|wyse350-w|wyse 350 132-column:\
1.3       deraadt  3956:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  3957:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
                   3958: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
1.5     ! tholo    3959:        :bl@:\
        !          3960:        :tc=wy350-w:
1.1       deraadt  3961: #
                   3962: #      This terminfo description is untested.
                   3963: #
                   3964: wy100|wyse 100:\
                   3965:        :hs:mi:\
1.5     ! tholo    3966:        :co#80:li#24:sg#1:\
        !          3967:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
        !          3968:        :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
        !          3969:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          3970:        :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
        !          3971:        :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
        !          3972:        :tc=adm+sgr:
1.1       deraadt  3973: #
                   3974: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   3975: #      This terminal does not need padding up to 9600 baud!
1.5     ! tholo    3976: #      :ms: should be set but the clear screen fails when in
1.2       deraadt  3977: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.5     ! tholo    3978: #      then set :ms:.
1.1       deraadt  3979: #
1.3       deraadt  3980: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   3981: # (sgr removed to fit entry within 1023 bytes)
                   3982: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  3983: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
1.2       deraadt  3984:        :am:bw:hs:km:mi:ms:xo:\
1.1       deraadt  3985:        :co#80:it#8:li#24:pb#9601:ws#45:\
1.5     ! tholo    3986:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          3987:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:\
        !          3988:        :fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  3989:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5     ! tholo    3990:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          3991:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          3992:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
        !          3993:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          3994:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
        !          3995:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          3996:        :tc=adm+sgr:
1.1       deraadt  3997: #
                   3998: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
1.3       deraadt  3999:        :Nl#16:co#132:lw#7:ws#97:\
                   4000:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
1.1       deraadt  4001: #
                   4002: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
1.3       deraadt  4003:        :Nl@:lh@:li#25:lw@:\
                   4004:        :pn@:r3=\EwG\Ee):tc=wy120:
1.1       deraadt  4005: #
                   4006: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
1.3       deraadt  4007:        :Nl@:lh@:li#25:lw@:\
                   4008:        :pn@:r3=\EwG\Ee):tc=wy120-w:
1.1       deraadt  4009: #
                   4010: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
1.5     ! tholo    4011:        :bl@:\
        !          4012:        :tc=wy120:
1.1       deraadt  4013: #
                   4014: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
1.5     ! tholo    4015:        :bl@:\
        !          4016:        :tc=wy120-w:
1.1       deraadt  4017: #
                   4018: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4019: #      The reset strings are slow and the pad times very depending
                   4020: #      on other parameters such as font loading.  I have tried
                   4021: #      to follow the following outline:
1.2       deraadt  4022: #
                   4023: #              <rs1> -> set personality
                   4024: #              <rs2> -> set number of columns
                   4025: #              <rs3> -> set number of lines
1.5     ! tholo    4026: #              :i1: -> select the proper font
        !          4027: #              :is: -> do the initialization
        !          4028: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4029: #
                   4030: #      The Wyse 60's that have vt100 emulation are slower than the
                   4031: #      older Wyse 60's.  This change happened mid-1987.
1.5     ! tholo    4032: #      The capabilities effected are :dc: :dl: :al: :sf: :sr:
1.1       deraadt  4033: #
                   4034: #      The meta key is only half right.  This terminal will return the
                   4035: #      high order bit set when you hit CTRL-function_key
                   4036: #
                   4037: #      It may be useful to assign two function keys with the
                   4038: #      values  \E=(\s  look at old data in page 1
1.3       deraadt  4039: #              \E=W,   look at bottom of page 1
1.1       deraadt  4040: #      where \s is a space ( ).
                   4041: #
                   4042: #      Note:
                   4043: #         The Wyse 60 runs faster when the XON/XOFF
                   4044: #         handshake is turned off.
                   4045: #
1.3       deraadt  4046: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4047: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4048: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4049: # (sgr removed to fit entry within 1023 bytes)
                   4050: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4051: wy60|wyse60|Wyse 60:\
1.2       deraadt  4052:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  4053:        :co#80:li#24:ws#45:\
1.5     ! tholo    4054:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4055:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4056:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  4057:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5     ! tholo    4058:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4059:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          4060:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
        !          4061:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          4062:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
        !          4063:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4064:        :tc=adm+sgr:
1.1       deraadt  4065: #
                   4066: wy60-w|wyse60-w|wyse 60 132-column:\
1.3       deraadt  4067:        :Nl#16:co#132:lw#7:ws#97:\
                   4068:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
1.1       deraadt  4069: #
                   4070: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
1.3       deraadt  4071:        :Nl@:lh@:li#25:lw@:\
                   4072:        :pn@:r3=\EwG\Ee):tc=wy60:
1.1       deraadt  4073: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
1.3       deraadt  4074:        :Nl@:lh@:li#25:lw@:\
                   4075:        :pn@:r3=\EwG\Ee):tc=wy60-w:
1.1       deraadt  4076: #
                   4077: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
                   4078:        :li#42:\
                   4079:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
1.3       deraadt  4080:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
1.1       deraadt  4081: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
1.3       deraadt  4082:        :Nl#16:co#132:lw#7:ws#97:\
1.5     ! tholo    4083:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
        !          4084:        :r2=\EeF\E`;:\
        !          4085:        :tc=wy60-42:
1.1       deraadt  4086: #
                   4087: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
1.3       deraadt  4088:        :Nl@:lh@:li#43:lw@:\
                   4089:        :pn@:r3=\Ee+:tc=wy60-42:
1.1       deraadt  4090: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
1.3       deraadt  4091:        :Nl@:lh@:li#43:lw@:\
                   4092:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  4093: #
                   4094: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
1.2       deraadt  4095:        :bl@:tc=wy60:
1.1       deraadt  4096: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
1.5     ! tholo    4097:        :bl@:\
        !          4098:        :tc=wy60-w:
1.1       deraadt  4099:
                   4100: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4101: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4102: #      setup parameter controls the number of lines on the screen.
                   4103: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4104: #      number of lines in a page.  The screen can display 25 lines max.
                   4105: #          The Wyse-99GT also has personalities for the VT220 and
                   4106: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4107: #
                   4108: #      (msgr) should be set but the clear screen fails when in
1.2       deraadt  4109: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.1       deraadt  4110: #      then set msgr, else use msgr@.
                   4111: #
                   4112: #      u0 -> enter Tektronix mode
                   4113: #      u1 -> exit Tektronix mode
                   4114: #
                   4115: wy99gt|wyse99gt|Wyse 99gt:\
                   4116:        :ms@:\
1.5     ! tholo    4117:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
        !          4118:        :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
        !          4119:        :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  4120: #
                   4121: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
1.3       deraadt  4122:        :Nl#16:co#132:lw#7:ws#97:\
                   4123:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  4124: #
                   4125: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
1.3       deraadt  4126:        :Nl@:lh@:li#25:lw@:\
                   4127:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  4128: #
                   4129: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
1.3       deraadt  4130:        :Nl@:lh@:li#25:lw@:\
                   4131:        :pn@:r2=\E`;:tc=wy99gt-w:
1.1       deraadt  4132: #
                   4133: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
1.2       deraadt  4134:        :bl@:tc=wy99gt:
1.1       deraadt  4135: #
                   4136: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
1.5     ! tholo    4137:        :bl@:\
        !          4138:        :tc=wy99gt-w:
1.1       deraadt  4139: #
                   4140: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4141: #      The reset strings are slow and the pad times very depending
                   4142: #      on other parameters such as font loading.  I have tried
                   4143: #      to follow the following outline:
1.2       deraadt  4144: #
                   4145: #              <rs1> -> set personality
                   4146: #              <rs2> -> set number of columns
                   4147: #              <rs3> -> set number of lines
1.5     ! tholo    4148: #              :i1: -> select the proper font
        !          4149: #              :is: -> do the initialization
        !          4150: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4151: #
                   4152: #      The display memory may be used for either text or graphics.
                   4153: #      When "Display Memory = Shared" the terminal will have more pages
                   4154: #      but garbage may be left on the screen when you switch from
                   4155: #      graphics to text.  If "Display Memory = Unshared" then the
                   4156: #      text area will be only one page long.
                   4157: #
1.3       deraadt  4158: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4159: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4160: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4161: # (sgr removed to fit entry within 1023 bytes)
                   4162: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4163: wy160|wyse160|Wyse 160:\
1.2       deraadt  4164:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  4165:        :co#80:li#24:ws#38:\
1.5     ! tholo    4166:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4167:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4168:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4169:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5     ! tholo    4170:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4171:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          4172:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
        !          4173:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
        !          4174:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
        !          4175:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4176:        :tc=adm+sgr:
1.1       deraadt  4177: #
                   4178: wy160-w|wyse160-w|wyse 160 132-column:\
1.3       deraadt  4179:        :Nl#16:co#132:lw#7:ws#90:\
                   4180:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.1       deraadt  4181: #
                   4182: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
1.3       deraadt  4183:        :Nl@:lh@:li#25:lw@:\
                   4184:        :pn@:r3=\EwG\Ee):tc=wy160:
1.1       deraadt  4185: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
1.3       deraadt  4186:        :Nl@:lh@:li#25:lw@:\
                   4187:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.1       deraadt  4188: #
                   4189: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
                   4190:        :li#42:\
1.5     ! tholo    4191:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
        !          4192:        :sf=\n:sr=\Ej:\
        !          4193:        :tc=wy160:
1.1       deraadt  4194: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
1.3       deraadt  4195:        :Nl#16:co#132:lw#7:ws#90:\
                   4196:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.1       deraadt  4197: #
                   4198: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
1.3       deraadt  4199:        :Nl@:lh@:li#43:lw@:\
                   4200:        :pn@:r3=\Ee+:tc=wy160-42:
1.1       deraadt  4201: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
1.3       deraadt  4202:        :Nl@:lh@:li#43:lw@:\
                   4203:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.1       deraadt  4204: #
                   4205: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
1.2       deraadt  4206:        :bl@:tc=wy160:
1.1       deraadt  4207: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
1.5     ! tholo    4208:        :bl@:\
        !          4209:        :tc=wy160-w:
1.1       deraadt  4210: #
                   4211: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   4212: #
                   4213: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4214: #      Underline) without magic cookies.  The following description
                   4215: #      uses this capability, but when more than one attribute is
                   4216: #      put on the screen at once, all attributes will be changed
                   4217: #      to be the same as the last attribute given.
                   4218: #         The Wyse 75 can support more attributes when used with magic
                   4219: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4220: #      to correctly handle multiple attributes on a screen.
                   4221: #
                   4222: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4223: # (sgr removed to fit entry within 1023 bytes)
                   4224: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4225: wy75|wyse75|wyse 75:\
1.2       deraadt  4226:        :am:hs:mi:ms:xn:xo:\
                   4227:        :co#80:li#24:ma#1:pb#1201:ws#78:\
1.1       deraadt  4228:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4229:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5     ! tholo    4230:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4231:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4232:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          4233:        :ds=\E[>\\\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
        !          4234:        :fs=^A:ho=\E[H:\
1.1       deraadt  4235:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
                   4236:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
1.5     ! tholo    4237:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4238:        :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
        !          4239:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
        !          4240:        :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
        !          4241:        :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  4242:        :ts=\E[>\\\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
1.2       deraadt  4243:        :vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4244: #
                   4245: #      This terminal description uses the non-hidden attribute mode
                   4246: #      (with magic cookie).
                   4247: #
                   4248: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
                   4249:        :ms@:\
                   4250:        :ma@:sg#1:ug#1:\
                   4251:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
1.3       deraadt  4252:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
1.1       deraadt  4253:        :..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%;:\
1.5     ! tholo    4254:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
        !          4255:        :tc=wy75:
1.1       deraadt  4256: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
                   4257:        :pb@:\
1.2       deraadt  4258:        :bl@:tc=wy75:
1.1       deraadt  4259: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
1.3       deraadt  4260:        :co#132:ws#130:\
                   4261:        :r2=\E[35h\E[?3h:tc=wy75:
1.1       deraadt  4262: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
                   4263:        :pb@:\
1.2       deraadt  4264:        :bl@:tc=wy75-w:
1.1       deraadt  4265: #
                   4266: #      Wyse 85 emulating a vt220 7 bit mode.
                   4267: #              24 line screen with status line.
                   4268: #
                   4269: #      The vt220 mode permits more function keys but it wipes out
1.3       deraadt  4270: #      the escape key.  I strongly recommend that <f11> be set to
1.1       deraadt  4271: #      escape (esc).
                   4272: #      The terminal may have to be set for 8 data bits and 2 stop
                   4273: #      bits for the arrow keys to work.
                   4274: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
1.5     ! tholo    4275: #      :DC: and :IC: work best when XON/XOFF is set.  :IC: and
        !          4276: #      :DC: leave trash on the screen when used without XON/XOFF.
1.1       deraadt  4277: #
1.2       deraadt  4278: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4279: # (sgr removed to fit entry within 1023 bytes)
                   4280: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4281: wy85|wyse85|wyse 85:\
1.2       deraadt  4282:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4283:        :co#80:it#8:li#24:ws#80:\
                   4284:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4285:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5     ! tholo    4286:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4287:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4288:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
        !          4289:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
        !          4290:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
        !          4291:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
1.1       deraadt  4292:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    4293:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4294:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
        !          4295:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4296:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
        !          4297:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          4298:        :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
        !          4299:        :vb=\E[30h\E\\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4300: #
                   4301: #      Wyse 85 with visual bell.
                   4302: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
1.2       deraadt  4303:        :bl@:vb=\E[30h\E\\\054\E[30l:tc=wy85:
1.1       deraadt  4304: #
                   4305: #      Wyse 85 in 132-column mode.
                   4306: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
1.3       deraadt  4307:        :co#132:ws#132:\
                   4308:        :r2=\E[35h\E[?3h:tc=wy85:
1.1       deraadt  4309: #
                   4310: #      Wyse 85 in 132-column mode with visual bell.
                   4311: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
1.5     ! tholo    4312:        :bl@:\
        !          4313:        :tc=wy85-w:
1.1       deraadt  4314: #
                   4315: #      Wyse 185 emulating a vt320 7 bit mode.
                   4316: #
                   4317: #      This terminal always displays 25 lines.  These lines may be used
                   4318: #      as 24 data lines and a terminal status line (top or bottom) or
                   4319: #      25 data lines.  The 48 and 50 line modes change the page size
                   4320: #      and not the number of lines on the screen.
                   4321: #
                   4322: #      The Compose Character key can be used as a meta key if changed
                   4323: #      by set-up.
                   4324: #
                   4325: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4326: # (sgr removed to fit entry within 1023 bytes)
                   4327: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4328: wy185|wyse185|wyse 185:\
1.2       deraadt  4329:        :am:hs:km:mi:ms:xn:xo:\
1.1       deraadt  4330:        :co#80:it#8:li#24:ws#80:\
                   4331:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4332:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5     ! tholo    4333:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4334:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4335:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  4336:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
                   4337:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
                   4338:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4339:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4340:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    4341:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4342:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
        !          4343:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4344:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
        !          4345:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
        !          4346:        :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          4347:        :vb=\E[30h\E\\\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
        !          4348:        :vs=\E[?25h\E[34l:
1.1       deraadt  4349: #
                   4350: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4351: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
                   4352:        :hs@:\
1.3       deraadt  4353:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4354: #
                   4355: #      Wyse 185 with visual bell.
                   4356: wy185-vb|wyse185-vb|wyse 185+flash:\
1.2       deraadt  4357:        :bl@:tc=wy185:
1.1       deraadt  4358: #
                   4359: #      Wyse 185 in 132-column mode.
                   4360: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
                   4361:        :co#132:ws#132:\
1.5     ! tholo    4362:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4363: #
                   4364: #      Wyse 185 in 132-column mode with visual bell.
                   4365: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
1.2       deraadt  4366:        :bl@:tc=wy185-w:
1.1       deraadt  4367:
                   4368: # wy325 terminfo entries
                   4369: # Done by Joe H. Davis        3-9-92
                   4370:
                   4371: # lines 25  columns 80
                   4372: #
1.3       deraadt  4373: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.2       deraadt  4374: wy325|wyse325|Wyse epc:\
1.5     ! tholo    4375:        :5i:am:bw:hs:mi:\
        !          4376:        :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
        !          4377:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
        !          4378:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
        !          4379:        :SA=\Ed/:\
        !          4380:        :ac=+/\\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
        !          4381:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
        !          4382:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
        !          4383:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4384:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5     ! tholo    4385:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          4386:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
        !          4387:        :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
        !          4388:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
        !          4389:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
        !          4390:        :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
        !          4391:        :px=\EZ1%+?%s\177:r1=\E~!\E~4:r2=\EeF\E`\072:\
        !          4392:        :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
        !          4393:        :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
        !          4394:        :tc=adm+sgr:
1.1       deraadt  4395:
                   4396: #
                   4397: # lines 24  columns 80  vb
                   4398: #
1.2       deraadt  4399: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
                   4400:        :bl@:tc=wy325:
1.1       deraadt  4401:
                   4402: #
                   4403: # lines 24  columns 132
                   4404: #
1.2       deraadt  4405: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
1.3       deraadt  4406:        :Nl#16:co#132:lw#7:ws#97:\
                   4407:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
1.1       deraadt  4408: #
                   4409: # lines 25  columns 80
                   4410: #
1.2       deraadt  4411: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
1.3       deraadt  4412:        :Nl@:lh@:li#25:lw@:\
                   4413:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4414: #
                   4415: # lines 25  columns 132
                   4416: #
                   4417: wy325-25w|wyse325-25w|wy325 132 columns:\
1.3       deraadt  4418:        :Nl@:lh@:li#25:lw@:\
                   4419:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4420: #
                   4421: # lines 25  columns 132  vb
                   4422: #
1.2       deraadt  4423: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
1.5     ! tholo    4424:        :bl@:\
        !          4425:        :tc=wy325-w:
1.1       deraadt  4426:
                   4427: #
                   4428: # lines 42  columns 80
                   4429: #
1.2       deraadt  4430: wy325-42|wyse325-42|wyse-325 42 lines:\
1.3       deraadt  4431:        :Nl@:lh@:li#42:lw@:\
                   4432:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4433: #
                   4434: # lines 42  columns 132
                   4435: #
1.2       deraadt  4436: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
1.3       deraadt  4437:        :Nl@:lh@:li#42:lw@:\
                   4438:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4439: #
                   4440: # lines 42  columns 132  vb
                   4441: #
1.2       deraadt  4442: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
1.5     ! tholo    4443:        :bl@:\
        !          4444:        :tc=wy325-w:
1.1       deraadt  4445: #
                   4446: # lines 43  columns 80
                   4447: #
1.2       deraadt  4448: wy325-43|wyse325-43|wyse-325 43 lines:\
1.3       deraadt  4449:        :Nl@:lh@:li#43:lw@:\
                   4450:        :pn@:tc=wy325:
1.1       deraadt  4451: #
                   4452: # lines 43  columns 132
                   4453: #
1.2       deraadt  4454: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
1.3       deraadt  4455:        :Nl@:lh@:li#43:lw@:\
                   4456:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4457: #
                   4458: # lines 43  columns 132  vb
                   4459: #
1.2       deraadt  4460: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
1.5     ! tholo    4461:        :bl@:\
        !          4462:        :tc=wy325-w:
1.2       deraadt  4463:
                   4464: #      Wyse 370 -- 24 line screen with status line.
1.1       deraadt  4465: #
                   4466: #      The terminal may have to be set for 8 data bits and 2 stop
                   4467: #      bits for the arrow keys to work.
                   4468: #
                   4469: #      If you change keyboards the terminal will send different
                   4470: #      escape sequences.
                   4471: #      The following definition is for the basic terminal without
                   4472: #      function keys.
                   4473: #
1.2       deraadt  4474: #      <u0> -> enter Tektronix 4010/4014 mode
                   4475: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4476: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4477: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4478: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4479: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.1       deraadt  4480: #
1.5     ! tholo    4481: # Bug: The <op> capability resets attributes.
1.3       deraadt  4482: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4483: # (sgr removed to fit entry within 1023 bytes)
                   4484: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4485: wy370-nk|wyse 370 without function keys:\
1.2       deraadt  4486:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4487:        :co#80:it#8:li#24:ws#80:\
                   4488:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    4489:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          4490:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4491:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
        !          4492:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
        !          4493:        :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
        !          4494:        :im=\E[4h:ip=:\
1.1       deraadt  4495:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
1.5     ! tholo    4496:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
        !          4497:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
        !          4498:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
        !          4499:        :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
        !          4500:        :us=\E[4m:vb=\E[30h\E\\\054\E[30l:ve=\E[34h\E[?25h:\
        !          4501:        :vi=\E[?25l:vs=\E[?25h\E[34l:
1.1       deraadt  4502: #
1.2       deraadt  4503: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   4504: #      This is the default 370.
1.1       deraadt  4505: #
1.2       deraadt  4506: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
1.3       deraadt  4507:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
1.5     ! tholo    4508:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
        !          4509:        :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          4510:        :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
        !          4511:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          4512:        :tc=wy370-nk:
1.1       deraadt  4513: #
1.2       deraadt  4514: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.1       deraadt  4515: #
                   4516: wy370-105k|Wyse 370 with 105 key keyboard:\
1.5     ! tholo    4517:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
        !          4518:        :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
        !          4519:        :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
        !          4520:        :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
        !          4521:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
        !          4522:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
        !          4523:        :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
        !          4524:        :tc=wy370-nk:
1.1       deraadt  4525: #
1.2       deraadt  4526: #      Function key set for the PC compatible keyboard
1.1       deraadt  4527: #
                   4528: wy370-EPC|Wyse 370 with 102 key keyboard:\
1.5     ! tholo    4529:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
        !          4530:        :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4531:        :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
        !          4532:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          4533:        :tc=wy370-nk:
1.1       deraadt  4534: #
                   4535: #      Wyse 370 with visual bell.
                   4536: wy370-vb|Wyse 370 with visible bell:\
1.2       deraadt  4537:        :bl@:tc=wy370:
1.1       deraadt  4538: #
                   4539: #      Wyse 370 in 132-column mode.
                   4540: wy370-w|Wyse 370 in 132-column mode:\
1.3       deraadt  4541:        :co#132:ws#132:\
                   4542:        :r2=\E[35h\E[?3h:tc=wy370:
1.1       deraadt  4543: #
                   4544: #      Wyse 370 in 132-column mode with visual bell.
                   4545: wy370-wvb|Wyse 370 with visible bell 132-columns:\
                   4546:        :vb=\E[30h\E\\\054\E[30l:tc=wy370-w:
                   4547: wy370-rv|Wyse 370 reverse video:\
1.3       deraadt  4548:        :r3=\E[32h\E[?5h:tc=wy370:
1.1       deraadt  4549: #
                   4550: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   4551: #
                   4552: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
1.2       deraadt  4553:        :am:os:\
1.1       deraadt  4554:        :co#74:li#35:\
                   4555:        :bl=^G:cl=\E^L:\
                   4556:        :..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:\
                   4557:        :cr=^M:do=^J:ff=^L:\
                   4558:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4559:        :ho=^]7`x @\037:\
                   4560:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5     ! tholo    4561:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
1.1       deraadt  4562: #
                   4563: #      Wyse 160 Tektronix 4010/4014 emulator,
                   4564: #
                   4565: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
                   4566:        :..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:\
1.5     ! tholo    4567:        :ho=^]8`g @\037:\
        !          4568:        :tc=wy99gt-tek:
1.1       deraadt  4569: #
                   4570: #      Wyse 370 Tektronix 4010/4014 emulator,
                   4571: #
                   4572: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
1.2       deraadt  4573:        :am:os:\
1.1       deraadt  4574:        :co#80:li#36:\
                   4575:        :bl=^G:cl=\E^L:\
                   4576:        :..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:\
                   4577:        :cr=^M:do=^J:ff=^L:\
                   4578:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4579:        :ho=^]8g @\037:\
                   4580:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5     ! tholo    4581:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
        !          4582:        :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
1.1       deraadt  4583:
                   4584: # Vendor-supplied Wyse entries end here.
                   4585:
1.5     ! tholo    4586: #
        !          4587: #TITLE:  TERMINFO ENTRY WY520
        !          4588: #DATE:   8/5/93
        !          4589: # The WY520 terminfo is based on the WY285 entry published on the WYSE
        !          4590: # BBS with the addition of more function keys and special keys.
        !          4591: #
        !          4592: #               rs1 -> set personality
        !          4593: #               rs2 -> set number of columns
        !          4594: #               rs3 -> set number of lines
        !          4595: #               is1 -> select the proper font
        !          4596: #               is2 -> do the initialization
        !          4597: #               is3 -> If this string is empty then rs3 gets sent.
        !          4598: #
        !          4599: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
        !          4600: #       - The BS key is programmed to generate BS in smcup since
        !          4601: #         is2 doesn't seem to work.
        !          4602: #       - Remove and shift/Remove: delete a character
        !          4603: #       - Insert : enter insert mode
        !          4604: #       - Find   : delete to end of file
        !          4605: #       - Select : clear a line
        !          4606: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
        !          4607: #       - F14 : Home key
        !          4608: #       - Bottom status line (host writable line) is used.
        !          4609: #       - smkx,rmkx are removed because this would put the numeric
        !          4610: #         keypad in Dec application mode which doesn't seem to work
        !          4611: #         with SCO applications.
        !          4612: #
        !          4613: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          4614: # (sgr removed to fit entry within 1023 bytes)
        !          4615: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          4616: wy520|wyse520|wyse 520:\
        !          4617:        :am:hs:km:mi:xn:xo:\
        !          4618:        :co#80:it#8:li#24:ws#80:\
        !          4619:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4620:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          4621:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
        !          4622:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          4623:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
        !          4624:        :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
        !          4625:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
        !          4626:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
        !          4627:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
        !          4628:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          4629:        :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          4630:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          4631:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          4632:        :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
        !          4633:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
        !          4634:        :vs=\E[?25h\E[34l:
        !          4635: #
        !          4636: #       Wyse 520 with 24 data lines and status (terminal status)
        !          4637: wy520-24|wyse520-24|wyse 520 with 24 data lines:\
        !          4638:        :hs@:\
        !          4639:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
        !          4640: #
        !          4641: #       Wyse 520 with visual bell.
        !          4642: wy520-vb|wyse520-vb|wyse 520 with visible bell:\
        !          4643:        :vb=\E[30h\E\\\054\E[30l:tc=wy520:
        !          4644: #
        !          4645: #       Wyse 520 in 132-column mode.
        !          4646: wy520-w|wyse520-w|wyse 520 in 132-column mode:\
        !          4647:        :co#132:ws#132:\
        !          4648:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
        !          4649: #
        !          4650: #       Wyse 520 in 132-column mode with visual bell.
        !          4651: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
        !          4652:        :vb=\E[30h\E\\\054\E[30l:\
        !          4653:        :tc=wy520-w:
        !          4654: #
        !          4655: #
        !          4656: #       Wyse 520 emulating a vt420 7 bit mode.
        !          4657: #       The DEL key is programmed to generate BS in is2.
        !          4658: #       With EPC keyboard.
        !          4659: #       - 'End' key will clear till end of line on EPC keyboard
        !          4660: #       - Shift/End : ignored.
        !          4661: #       - Insert : enter insert mode.
        !          4662: #       - Delete : delete a character (have to change interrupt character
        !          4663: #                  to CTRL-C: stty intr '^c') for it to work since the
        !          4664: #                  Delete key sends 7FH.
        !          4665: wy520-epc|wyse520-epc|wyse 520 with EPC kb:\
        !          4666:        :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
        !          4667:        :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
        !          4668:        :tc=wy520:
        !          4669: #
        !          4670: #       Wyse 520 with 24 data lines and status (terminal status)
        !          4671: #       with EPC keyboard.
        !          4672: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines:\
        !          4673:        :hs@:\
        !          4674:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
        !          4675: #
        !          4676: #       Wyse 520 with visual bell.
        !          4677: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell:\
        !          4678:        :vb=\E[30h\E\\\054\E[30l:\
        !          4679:        :tc=wy520-epc:
        !          4680: #
        !          4681: #       Wyse 520 in 132-column mode.
        !          4682: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode:\
        !          4683:        :co#132:ws#132:\
        !          4684:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
        !          4685: #
        !          4686: #       Wyse 520 in 132-column mode with visual bell.
        !          4687: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns:\
        !          4688:        :vb=\E[30h\E\\\054\E[30l:\
        !          4689:        :tc=wy520-epc-w:
        !          4690: #
        !          4691: #       Wyse 520 in 80-column, 36 lines
        !          4692: wy520-36|wyse520-36|wyse 520 with 36 data lines:\
        !          4693:        :hs@:\
        !          4694:        :li#36:\
        !          4695:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
        !          4696: #
        !          4697: #       Wyse 520 in 80-column, 48 lines
        !          4698: wy520-48|wyse520-48|wyse 520 with 48 data lines:\
        !          4699:        :hs@:\
        !          4700:        :li#48:\
        !          4701:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
        !          4702: #
        !          4703: #       Wyse 520 in 132-column, 36 lines
        !          4704: wy520-36w|wyse520-36w|wyse 520 with 36 data lines:\
        !          4705:        :co#132:ws#132:\
        !          4706:        :r2=\E[?3h:\
        !          4707:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
        !          4708: #
        !          4709: #       Wyse 520 in 132-column, 48 lines
        !          4710: wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
        !          4711:        :co#132:ws#132:\
        !          4712:        :r2=\E[?3h:\
        !          4713:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
        !          4714: #
        !          4715: #
        !          4716: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
        !          4717: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines:\
        !          4718:        :hs@:\
        !          4719:        :li#36:\
        !          4720:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
        !          4721: #
        !          4722: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
        !          4723: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines:\
        !          4724:        :hs@:\
        !          4725:        :li#48:\
        !          4726:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
        !          4727: #
        !          4728: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
        !          4729: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines:\
        !          4730:        :co#132:ws#132:\
        !          4731:        :r2=\E[?3h:\
        !          4732:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
        !          4733: #
        !          4734: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
        !          4735: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines:\
        !          4736:        :co#132:ws#132:\
        !          4737:        :r2=\E[?3h:\
        !          4738:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
        !          4739:
1.3       deraadt  4740: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
1.5     ! tholo    4741: # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
        !          4742: # file and we don't know what :st: is -- esr)
1.3       deraadt  4743: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
                   4744:        :am:\
                   4745:        :co#80:it#8:li#24:\
1.5     ! tholo    4746:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
        !          4747:        :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
        !          4748:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
        !          4749:        :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
        !          4750:        :ta=^I:ue=^O:up=^Z:us=^N:
1.3       deraadt  4751:
                   4752: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
                   4753:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
                   4754:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
                   4755:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
                   4756:
1.1       deraadt  4757: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   4758: wy100q|Wyse 100 for Quotron:\
1.5     ! tholo    4759:        :co#80:li#24:sg#1:\
        !          4760:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
        !          4761:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
        !          4762:        :is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
        !          4763:        :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
        !          4764:        :tc=adm+sgr:
1.1       deraadt  4765:
                   4766: #### Kermit terminal emulations
                   4767: #
                   4768: # Obsolete Kermit versions may be listed in the section describing obsolete
                   4769: # non-ANSI terminal emulators later in the file.
                   4770: #
                   4771:
                   4772: # KERMIT standard all versions.
                   4773: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4774: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   4775: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   4776: kermit|standard kermit:\
                   4777:        :co#80:li#24:\
                   4778:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
                   4779:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
1.2       deraadt  4780:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
                   4781: kermit-am|standard kermit plus auto-margin:\
1.1       deraadt  4782:        :am:\
                   4783:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
                   4784: # IBMPC Kermit 1.2.
1.5     ! tholo    4785: # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
1.2       deraadt  4786: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   4787: # line).
1.1       deraadt  4788: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   4789: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
                   4790:        :am:\
                   4791:        :li#25:\
                   4792:        :cd@:ce@:cl=\EH\EJ:\
                   4793:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
                   4794: # IBMPC Kermit 1.20
                   4795: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4796: # Initialization must escape from that region by cursor position to line 24.
                   4797: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
1.2       deraadt  4798: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4799: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   4800: pckermit120|UCB IBMPC Kermit 1.20:\
                   4801:        :it#8:li#24:\
                   4802:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
                   4803:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
1.5     ! tholo    4804:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
        !          4805:        :tc=kermit:
1.1       deraadt  4806: # MS-DOS Kermit 2.27 for the IBMPC
                   4807: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   4808: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   4809: # Initialization must escape from that region by cursor position to line 24.
1.2       deraadt  4810: # Does not use am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  4811: # Reverse video for standout like H19.
1.2       deraadt  4812: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1.1       deraadt  4813: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4814: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
1.2       deraadt  4815:        :am@:\
1.1       deraadt  4816:        :co#80:it#8:li#24:\
1.5     ! tholo    4817:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
        !          4818:        :do=\EB:ei=\EO:ho=\EH:im=\E@:\
1.1       deraadt  4819:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
1.5     ! tholo    4820:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
        !          4821:        :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
1.1       deraadt  4822: # MS-DOS Kermit 2.27 with automatic margins
                   4823: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   4824: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
                   4825:        :am:\
                   4826:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
1.5     ! tholo    4827:        :vs=\EO\Eq\EG\EvK5:\
        !          4828:        :tc=msk227:
1.1       deraadt  4829: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
1.5     ! tholo    4830: # Automatic margins now default.  Use ansi :sa: for highlights.
1.2       deraadt  4831: # Define function keys.
1.1       deraadt  4832: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   4833: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   4834: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
                   4835:        :am:\
                   4836:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
1.5     ! tholo    4837:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
        !          4838:        :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
        !          4839:        :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
        !          4840:        :tc=mskermit227:
1.1       deraadt  4841: # This was designed for a VT320 emulator, but it is probably a good start
                   4842: # at support for the VT320 itself.
                   4843: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
1.2       deraadt  4844: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  4845: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4846: # (sgr removed to fit entry within 1023 bytes)
                   4847: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4848: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
                   4849:        :am:es:hs:km:mi:ms:xn:\
                   4850:        :co#80:it#8:li#49:pb#9600:vt#3:\
1.5     ! tholo    4851:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          4852:        :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
        !          4853:        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          4854:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          4855:        :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  4856:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
1.5     ! tholo    4857:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          4858:        :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
        !          4859:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          4860:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
        !          4861:        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  4862:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4863:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
                   4864:        :vi=\E[?25l:
1.2       deraadt  4865: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
1.5     ! tholo    4866: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
        !          4867: # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
1.2       deraadt  4868: vt320-k311|dec vt320 series as defined by kermit 3.11:\
                   4869:        :am:es:hs:mi:ms:xn:xo:\
                   4870:        :co#80:it#8:li#24:vt#3:\
                   4871:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  4872:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5     ! tholo    4873:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          4874:        :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
        !          4875:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          4876:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
        !          4877:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  4878:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   4879:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5     ! tholo    4880:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          4881:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
        !          4882:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
        !          4883:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
        !          4884:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  4885:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   4886:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  4887:
                   4888: ######## NON-ANSI TERMINAL EMULATIONS
                   4889: #
                   4890:
                   4891: #### Avatar
                   4892: #
                   4893: # These entries attempt to describe Avatar, a terminal emulation used with
                   4894: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   4895: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   4896: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   4897: # in the BBS world.
                   4898: #
                   4899: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   4900: # models that terminfo knows about.  An Avatar color attribute is the
                   4901: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   4902: #
                   4903: # I wrote these entries while looking at the Avatar spec.  I don't have
                   4904: # the facilities to test them.  Let me know if they work, or don't.
                   4905: #
                   4906: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
1.5     ! tholo    4907: # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
        !          4908: # tell ncurses that the corresponding highlights exist; it should use :sa:,
1.2       deraadt  4909: # which is the only method that will actually work for multiple highlights.)
                   4910: avatar0|avatar terminal emulator level 0:\
1.3       deraadt  4911:        :am:ms:ut:\
1.2       deraadt  4912:        :co#80:it#8:li#25:\
                   4913:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
1.5     ! tholo    4914:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\200:mr=^A^Vp:\
        !          4915:        :nd=^V^F:r2=^L:rp=\031%.%d:\
1.2       deraadt  4916:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
1.5     ! tholo    4917:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
        !          4918:        :tc=klone+acs:
1.2       deraadt  4919: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4920: avatar0+|avatar terminal emulator level 0+:\
                   4921:        :dc=^V^N:ei=\026\n\200\200\200\200:im=^V^I:tc=avatar0:
                   4922: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   4923: avatar|avatar1|avatar terminal emulator level 1:\
1.5     ! tholo    4924:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
        !          4925:        :vs=^V^C:\
        !          4926:        :tc=avatar0+:
1.1       deraadt  4927:
                   4928: ######## OLDER TERMINAL TYPES
                   4929: #
                   4930: # This section is devoted to older commercial terminal brands that are now
                   4931: # discontinued, but known to be still in use or represented by emulations.
                   4932: #
                   4933:
                   4934: #### AT&T (att, tty)
                   4935: #
                   4936: # This section also includes Teletype-branded VDTs.
                   4937: #
                   4938: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems; for
                   4939: # details, see the header comment on the ADDS section.
                   4940: #
1.2       deraadt  4941: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   4942: # removed.
1.1       deraadt  4943: #
1.2       deraadt  4944: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
1.1       deraadt  4945:        :am:eo:mi:ms:xo:\
                   4946:        :co#80:it#8:li#24:\
1.3       deraadt  4947:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
                   4948:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
1.5     ! tholo    4949:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
        !          4950:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          4951:        :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          4952:        :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
        !          4953:        :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
        !          4954:        :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
        !          4955:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          4956:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
        !          4957:        :up=\E[A:
1.1       deraadt  4958: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
1.5     ! tholo    4959:        :pf@:po@:ps@:\
        !          4960:        :tc=att2300:
1.1       deraadt  4961:
                   4962: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   4963: # Seems upward compatible with vt100, plus ins/del line/char.
                   4964: # On sgr, the protection parameter is ignored.
                   4965: # No check is made to make sure that only 3 parameters are output.
                   4966: #      standout= reverse + half-intensity = 3 | 5.
                   4967: #      bold= reverse + underline = 2 | 3.
                   4968: # note that half-bright blinking doesn't look different from normal blinking.
                   4969: # NOTE:you must program the function keys first, label second!
1.3       deraadt  4970: # (att4410: a BSD entry has been seen with the following capabilities:
1.5     ! tholo    4971: # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
        !          4972: # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
1.3       deraadt  4973: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4974: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
                   4975:        :am:hs:mi:ms:xo:\
1.3       deraadt  4976:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
                   4977:        :ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\\\054\\\054..:\
1.5     ! tholo    4978:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          4979:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
        !          4980:        :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
1.1       deraadt  4981:        :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:\
                   4982:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
1.3       deraadt  4983:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
1.5     ! tholo    4984:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          4985:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
        !          4986:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
        !          4987:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          4988:        :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  4989:
                   4990: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
                   4991:        :co#132:ws#132:\
1.3       deraadt  4992:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
1.1       deraadt  4993:
                   4994: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
1.5     ! tholo    4995:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:\
        !          4996:        :tc=att5410v1:
1.1       deraadt  4997:
                   4998: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
                   4999:        :co#132:ws#132:\
1.3       deraadt  5000:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
1.1       deraadt  5001:
                   5002: # 5410 in terms of a vt100
1.2       deraadt  5003: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  5004: v5410|5410 in terms of a vt100:\
                   5005:        :am:mi:ms:xo:\
                   5006:        :co#80:it#8:li#24:vt#3:\
1.5     ! tholo    5007:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
        !          5008:        :SA=\E[?7h:\
1.3       deraadt  5009:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5010:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5011:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5     ! tholo    5012:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
        !          5013:        :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          5014:        :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
        !          5015:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          5016:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          5017:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  5018:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   5019:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   5020:        :ue=\E[m:up=\E[A:us=\E[4m:
                   5021:
                   5022: #
                   5023: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5024: # even! the 5420 has three modes: scroll, window or page mode
                   5025: # this terminfo should work in scroll or window mode, but doesn't
                   5026: # take advantage of any of the differences between them.
                   5027: #
                   5028: # Has memory below (2 lines!)
                   5029: # 3 pages of memory (plus some spare)
1.5     ! tholo    5030: # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
        !          5031: # <hpa>, :st: would work for these, but these work in both scroll and window
1.2       deraadt  5032: # mode... Unset insert character so insert mode works
1.5     ! tholo    5033: # :i1: sets 80 column mode,
        !          5034: # :is: escape sequence:
1.1       deraadt  5035: # 1) turn off all fonts
                   5036: # 2) function keys off, keyboard lock off, control display off,
                   5037: #    insert mode off, erasure mode off,
                   5038: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5039: # 4) reset origin mode
                   5040: # 5) set line wraparound
                   5041: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5042: # 7) clear margins
                   5043: # 8) program ENTER to transmit ^J,
                   5044: # We use \212 to program the ^J because a bare ^J will get translated by
                   5045: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5046: #     1      2            3              4     5     6    7  8
1.5     ! tholo    5047: # :i3: set screen color to black,
1.1       deraadt  5048: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5049: # Key capabilities assume the power-up send sequence...
1.5     ! tholo    5050: # This :te: is not strictly necessary, but it helps maximize
        !          5051: # memory usefulness: :te=\Ez:,
        !          5052: # Alternate sgr0:      :me=\E[m\EW^O:,
        !          5053: # Alternate sgr:       :sa=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;:,
1.1       deraadt  5054: # smkx programs the SYS PF keys to send a set sequence.
                   5055: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
1.5     ! tholo    5056: # This string causes them to send the strings :k1:-:k8:
1.1       deraadt  5057: # when pressed in SYS PF mode.
1.2       deraadt  5058: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5059: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5060: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
                   5061:        :db:mi:xo:\
1.3       deraadt  5062:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
1.5     ! tholo    5063:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
        !          5064:        :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
        !          5065:        :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
        !          5066:        :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
        !          5067:        :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
        !          5068:        :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
1.2       deraadt  5069:        :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.5     ! tholo    5070:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
        !          5071:        :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
        !          5072:        :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
        !          5073:        :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
        !          5074:        :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
        !          5075:        :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
        !          5076:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
        !          5077:        :vs=\E[11;1j:\
        !          5078:        :tc=att4410:
1.1       deraadt  5079:
                   5080: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
                   5081:        :co#132:lm#54:ws#97:\
                   5082:        :i1=\E[?3h:tc=att4415:
                   5083:
                   5084: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
1.5     ! tholo    5085:        :i2=\E[?5h:vb=\E[?5l\E[?5h:\
        !          5086:        :tc=att4415:
1.1       deraadt  5087:
                   5088: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
                   5089:        :co#132:lm#54:ws#97:\
                   5090:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   5091:
                   5092: # Note that this mode permits programming USER PF KEYS and labels
                   5093: # However, when you program user pf labels you have to reselect
                   5094: # user pf keys to make them appear!
                   5095: att4415+nl|4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
1.3       deraadt  5096:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5097:        :..pn=\E[%p1%d;0;0;1q%p2%\072-16.16s:\
                   5098:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
1.1       deraadt  5099:
                   5100: att4415-nl|4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
1.5     ! tholo    5101:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5102:        :tc=att4415+nl:tc=att4415:
1.1       deraadt  5103:
                   5104: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
1.5     ! tholo    5105:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5106:        :tc=att4415+nl:tc=att4415-rv:
1.1       deraadt  5107:
                   5108: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
1.5     ! tholo    5109:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5110:        :tc=att4415+nl:tc=att4415-w:
1.1       deraadt  5111:
                   5112: att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
1.5     ! tholo    5113:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
        !          5114:        :tc=att4415+nl:tc=att4415-w-rv:
1.1       deraadt  5115:
                   5116: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5117: # (sgr removed to fit entry within 1023 bytes)
                   5118: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5119: att5420_2|AT&T 5420 model 2 80 cols:\
                   5120:        :am:db:hs:mi:ms:xo:\
                   5121:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5122:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
                   5123:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
1.5     ! tholo    5124:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
        !          5125:        :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
        !          5126:        :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
        !          5127:        :ho=\E[H:\
1.1       deraadt  5128:        :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:\
                   5129:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5     ! tholo    5130:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
        !          5131:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          5132:        :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
        !          5133:        :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
        !          5134:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          5135:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
        !          5136:        :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
1.1       deraadt  5137: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
                   5138:        :co#132:\
                   5139:        :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:
                   5140:
1.2       deraadt  5141: att4418|att5418|AT&T 5418 80 cols:\
1.1       deraadt  5142:        :am:xo:\
                   5143:        :co#80:li#24:\
1.5     ! tholo    5144:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
        !          5145:        :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
        !          5146:        :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
        !          5147:        :RI=\E[%dC:UP=\E[%dA:\
        !          5148:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5149:        :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
        !          5150:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5151:        :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
        !          5152:        :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
        !          5153:        :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
        !          5154:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
        !          5155:        :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5156: att4418-w|att5418-w|AT&T 5418 132 cols:\
                   5157:        :co#132:\
                   5158:        :i1=\E[?3h:tc=att5418:
                   5159:
1.2       deraadt  5160: att4420|tty4420|teletype 4420:\
1.1       deraadt  5161:        :da:db:eo:ms:ul:xo:\
                   5162:        :co#80:li#24:lm#72:\
1.5     ! tholo    5163:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
        !          5164:        :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
        !          5165:        :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E^:kL=\EM:kR=\ET:kd=\EB:\
        !          5166:        :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
        !          5167:        :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
        !          5168:        :ue=\EZ:up=\EA:us=\E\\:
1.1       deraadt  5169:
                   5170: #  The following is a termcap entry for the Teletype 4424
                   5171: #  asynchronous keyboard-display terminal.  It supports
                   5172: #  the vi editor.  The terminal must be "set up" as follows,
                   5173: #
                   5174: #      HIGHLIGHT DEFINITION    3-TONE
                   5175: #      DISPLAY FUNCTION        GROUP III
                   5176: #
                   5177: #  The second entry below provides limited (a la adm3a)
                   5178: #  operation under GROUP II.
                   5179: #
                   5180: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   5181: #      and HIGHLIGHT DEFINITION 3-TONE
                   5182: # The terminal has either bold or blink, depending on options
                   5183: #
                   5184: att4424|tty4424|teletype 4424:\
                   5185:        :am:xo:\
                   5186:        :co#80:li#24:\
                   5187:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5188:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          5189:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5190:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
        !          5191:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
        !          5192:        :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E^:im=:\
        !          5193:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
        !          5194:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
        !          5195:        :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
1.1       deraadt  5196:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
1.5     ! tholo    5197:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ti=\E[1m:ue=\EZ:\
        !          5198:        :up=\EA:us=\E\\:
1.1       deraadt  5199:
                   5200: att4424-1|tty4424-1|teletype 4424 in display function group I:\
1.5     ! tholo    5201:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
        !          5202:        :tc=att4424:
1.3       deraadt  5203:
                   5204: # This entry is not one of AT&T's official ones, it was translated from the
                   5205: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   5206: # I have no idea why this is -- older firmware version, maybe?
                   5207: # The following two lines are the comment originally attached to the entry:
                   5208: # This entry appears to avoid the top line - I have no idea why.
                   5209: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   5210: att4424m|tty4424m|teletype 4424M:\
                   5211:        :am:da:db:mi:\
                   5212:        :co#80:it#8:li#23:\
1.5     ! tholo    5213:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
        !          5214:        :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E^:im=:ip=2:\
        !          5215:        :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
        !          5216:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
        !          5217:        :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
        !          5218:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5219:
                   5220: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   5221: # is quite similar, except for some minor differences. No page
1.5     ! tholo    5222: # mode, for example, so all of the :cm: sequences used above have
1.1       deraadt  5223: # to change back to what's being used for the 5410. Many of the
                   5224: # option settings have changed their numbering as well.
                   5225: #
                   5226: # This has been tested on a preliminary model.
                   5227: #
1.2       deraadt  5228: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  5229: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5230: # (sgr removed to fit entry within 1023 bytes)
                   5231: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5232: att5425|tty5425|att4425|AT&T 4425/5425:\
                   5233:        :am:da:db:hs:mi:ms:xn:xo:\
                   5234:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5235:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5236:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
        !          5237:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5238:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          5239:        :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
        !          5240:        :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
1.2       deraadt  5241:        :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.5     ! tholo    5242:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
        !          5243:        :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
1.1       deraadt  5244:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5245:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
1.2       deraadt  5246:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
1.5     ! tholo    5247:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
        !          5248:        :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
        !          5249:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
        !          5250:        :vs=\E[12;1j:
1.1       deraadt  5251:
                   5252: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
1.5     ! tholo    5253:        :ks=\E[21;1j\E[25;4j\Eent:\
        !          5254:        :tc=att4425:
1.1       deraadt  5255:
                   5256: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
                   5257:        :co#132:lm#54:ws#97:\
                   5258:        :i1=\E[?3h:tc=tty5425:
                   5259:
1.2       deraadt  5260: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   5261: # I also added <rmam>/<smam> -- esr)
1.1       deraadt  5262: att4426|tty4426|teletype 4426S:\
                   5263:        :am:da:db:xo:\
                   5264:        :co#80:li#24:lm#48:\
                   5265:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5266:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
1.5     ! tholo    5267:        :SR=\E[%dT:UP=\E[%dA:\
        !          5268:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          5269:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
        !          5270:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
        !          5271:        :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5272:        :i1=\Ec\E[?7h:ic=\E^:im=:is=\E[m\E[1;24r:k1=\EOP:k2=\EOQ:\
        !          5273:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kB=\EO:\
        !          5274:        :kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:kr=\EC:\
        !          5275:        :ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:mr=\E[7m:\
        !          5276:        :nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:sc=\E7:\
        !          5277:        :se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:up=\EA:\
1.3       deraadt  5278:        :us=\E[4m:
1.1       deraadt  5279:
                   5280: # Terminfo entry for the AT&T 510 A Personal Terminal
                   5281: # Function keys 9 - 16 are available only after the
                   5282: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   5283: # 9 corresponds to the leftmost touch target on the screen,
                   5284: # function key 16 corresponds to the rightmost.
                   5285: #
                   5286: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   5287: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.3       deraadt  5288: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5289: att510a|510a|bct510a|510A|AT&T 510A Personal Terminal:\
                   5290:        :am:mi:ms:xn:xo:\
1.3       deraadt  5291:        :Nl#8:co#80:lh#2:li#24:lw#7:\
1.5     ! tholo    5292:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          5293:        :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
        !          5294:        :RI=\E[%dC:UP=\E[%dA:\
1.3       deraadt  5295:        :ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\\\054h.e+g`b:\
                   5296:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
                   5297:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   5298:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
                   5299:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
1.5     ! tholo    5300:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
        !          5301:        :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
        !          5302:        :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
        !          5303:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          5304:        :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5305:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5306:        :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
1.1       deraadt  5307:
                   5308: # Terminfo entry for the AT&T 510 D Personal Terminal
                   5309: # Function keys 9 through 16 are accessed by bringing up the
                   5310: # system blocks.
                   5311: # Function key 9 corresponds to the leftmost touch target on the screen,
                   5312: # function key 16 corresponds to the rightmost.
                   5313: #
                   5314: # There are problems with soft key labeling.  These are due to
                   5315: # strangenesses in the native terminal that are impossible to
                   5316: # describe in a terminfo.
1.3       deraadt  5317: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5318: # (sgr removed to fit entry within 1023 bytes)
                   5319: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5320: att510d|510d|bct510d|510D|AT&T 510D Personal Terminal:\
                   5321:        :am:da:db:mi:ms:xn:xo:\
                   5322:        :co#80:li#24:lm#48:\
                   5323:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5324:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
        !          5325:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
        !          5326:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
        !          5327:        :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
        !          5328:        :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
        !          5329:        :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
        !          5330:        :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
        !          5331:        :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
        !          5332:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5333:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5334:        :ve=\E[11;3|:vs=\E[11;2|:
1.1       deraadt  5335:
1.2       deraadt  5336: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.3       deraadt  5337: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5338: # (sgr removed to fit entry within 1023 bytes)
                   5339: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5340: att500|att513|500bct|513bct|AT&T 513 using page mode:\
1.1       deraadt  5341:        :am:mi:ms:xn:xo:\
                   5342:        :co#80:li#24:\
                   5343:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5344:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
        !          5345:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5346:        :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
        !          5347:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1.1       deraadt  5348:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
1.5     ! tholo    5349:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
        !          5350:        :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
        !          5351:        :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          5352:        :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
        !          5353:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          5354:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.2       deraadt  5355:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
1.1       deraadt  5356:
                   5357: # 01-07-88
                   5358: # printer must be set to EMUL ANSI to accept ESC codes
1.5     ! tholo    5359: # :up: stops at top margin
        !          5360: # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1.1       deraadt  5361: #      and alt font ascii,wrap on,tabs cleared
1.5     ! tholo    5362: # :is: disables newline on LF,Emphasized off
1.2       deraadt  5363: # The <u0> capability sets form length
1.5     ! tholo    5364: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          5365: # (sgr removed to fit entry within 1023 bytes)
        !          5366: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5367: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
1.5     ! tholo    5368:        :co#132:it#8:li#66:\
        !          5369:        :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
        !          5370:        :nd= :ta=^I:up=\EM:
1.1       deraadt  5371:
                   5372: # 5620 terminfo  (2.0 or later ROMS with char attributes)
1.5     ! tholo    5373: # assumptions: :sf: (scroll forward one line) is only done at screen bottom
1.3       deraadt  5374: # Be aware that older versions of the dmd have a firmware bug that affects
                   5375: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1.2       deraadt  5376: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.1       deraadt  5377: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
1.3       deraadt  5378:        :NL:NP:am:xo:\
1.1       deraadt  5379:        :co#88:it#8:li#70:\
                   5380:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   5381:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5     ! tholo    5382:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
        !          5383:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
        !          5384:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
        !          5385:        :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
        !          5386:        :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
        !          5387:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
1.1       deraadt  5388: att5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
1.3       deraadt  5389:        :li#24:tc=att5620:
1.1       deraadt  5390: att5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
1.3       deraadt  5391:        :li#34:tc=att5620:
1.1       deraadt  5392:
1.2       deraadt  5393: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  5394: #
1.2       deraadt  5395: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1.1       deraadt  5396: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.3       deraadt  5397: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5398: # (sgr removed to fit entry within 1023 bytes)
                   5399: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5400: att605|605bct|AT&T 605  80 column  102key keyboard:\
                   5401:        :am:eo:xo:\
                   5402:        :co#80:li#24:ws#80:\
1.5     ! tholo    5403:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
        !          5404:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          5405:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
1.1       deraadt  5406:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
1.2       deraadt  5407:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5     ! tholo    5408:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
        !          5409:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          5410:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
        !          5411:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
        !          5412:        :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
        !          5413:        :us=\E[4m:
1.1       deraadt  5414: att605-pc|605bct-pc|ATT 605 in pc term mode:\
1.5     ! tholo    5415:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
        !          5416:        :XF=g:XN=e:\
1.3       deraadt  5417:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.5     ! tholo    5418:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
        !          5419:        :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
        !          5420:        :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
        !          5421:        :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          5422:        :le=\E[D:nd=\E[C:up=\E[A:\
        !          5423:        :tc=att605:
1.1       deraadt  5424: att605-w|605bct-w|AT&T 605-w 132 column 102 key keyboard:\
                   5425:        :co#132:ws#132:\
                   5426:        :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  5427: # (att610: I added <rmam>/<smam> based on the init string.  I also
1.5     ! tholo    5428: # added :SF: and :SR: because the BSD file says the 615s have them,
1.3       deraadt  5429: # and the 615 is like a 610 with a big keyboard, and most of their other
                   5430: # smart terminals support the same sequence -- esr)
                   5431: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5432: # (sgr removed to fit entry within 1023 bytes)
                   5433: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5434: att610|610bct|AT&T 610; 80 column; 98key keyboard:\
                   5435:        :am:es:hs:mi:ms:xn:xo:\
                   5436:        :co#80:it#8:li#24:ws#80:\
                   5437:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5438:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
        !          5439:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5440:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
        !          5441:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5442:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
1.5     ! tholo    5443:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5444:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
        !          5445:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          5446:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          5447:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
1.1       deraadt  5448:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5449:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5450:        :vs=\E[?12;25h:
                   5451: att610-w|610bct-w|AT&T 610; 132 column; 98key keyboard:\
                   5452:        :co#132:ws#132:\
                   5453:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
                   5454:
                   5455: att610-103k|610-103k|610bct-103k|AT&T 610; 80 column; 103key keyboard:\
1.5     ! tholo    5456:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
        !          5457:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
        !          5458:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
        !          5459:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
        !          5460:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
        !          5461:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5462:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
        !          5463:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
        !          5464:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
        !          5465:        :tc=att610:
1.1       deraadt  5466: att610-103k-w|610-103k-w|610bct-103k-w|AT&T 610; 132 column; 103key keyboard:\
                   5467:        :co#132:ws#132:\
                   5468:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
                   5469: att615|615mt|AT&T 615; 80 column; 98key keyboard:\
1.5     ! tholo    5470:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
        !          5471:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
        !          5472:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
        !          5473:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
        !          5474:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
        !          5475:        :tc=att610:
1.1       deraadt  5476: att615-w|615-w|615mt-w|AT&T 615; 132 column; 98key keyboard:\
1.5     ! tholo    5477:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
        !          5478:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
        !          5479:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
        !          5480:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
        !          5481:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
        !          5482:        :tc=att610-w:
1.1       deraadt  5483: att615-103k|615-103k|615mt-103k|AT&T 615; 80 column; 103key keyboard:\
1.5     ! tholo    5484:        :#4=\E[ A:%i=\E[ @:\
        !          5485:        :tc=att610-103k:
1.1       deraadt  5486: att615-103k-w|615-103k-w|615mt-103k-w|AT&T 615; 132 column; 103key keyboard:\
1.5     ! tholo    5487:        :#4=\E[ A:%i=\E[ @:\
        !          5488:        :tc=att610-103k-w:
1.3       deraadt  5489: # (att620: I added <rmam>/<smam> based on the init string and
1.5     ! tholo    5490: # :SR:/:SF: from a BSD termcap -- esr)
1.3       deraadt  5491: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5492: # (sgr removed to fit entry within 1023 bytes)
                   5493: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5494: att620|620mtg|AT&T 620; 80 column; 98key keyboard:\
                   5495:        :am:es:hs:mi:ms:xn:xo:\
                   5496:        :co#80:it#8:li#24:ws#80:\
                   5497:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5498:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5     ! tholo    5499:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
        !          5500:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          5501:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5502:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
1.5     ! tholo    5503:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5504:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
        !          5505:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
        !          5506:        :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
        !          5507:        :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
        !          5508:        :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
        !          5509:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
1.1       deraadt  5510:        :vs=\E[?12;25h:
                   5511: att620-w|620-w|620mtg-w|AT&T 620; 132 column; 98key keyboard:\
                   5512:        :co#132:ws#132:\
                   5513:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
                   5514: att620-103k|620-103k|620mtg-103k|AT&T 620; 80 column; 103key keyboard:\
1.5     ! tholo    5515:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
        !          5516:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
        !          5517:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
        !          5518:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
        !          5519:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
        !          5520:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
        !          5521:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
        !          5522:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
        !          5523:        :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
        !          5524:        :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
        !          5525:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
        !          5526:        :tc=att620:
1.1       deraadt  5527:
                   5528: att620-103k-w|620-103k-w|620mtg-103k-w|AT&T 620; 132 column; 103key keyboard:\
                   5529:        :co#132:ws#132:\
                   5530:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
                   5531:
1.5     ! tholo    5532: # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
1.1       deraadt  5533: att630|5630|5630DMD|630MTG|AT&T 630 windowing terminal:\
1.3       deraadt  5534:        :NP:am:da:db:mi:ms:xo:\
1.1       deraadt  5535:        :co#80:it#8:li#60:lm#0:\
1.5     ! tholo    5536:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
        !          5537:        :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
        !          5538:        :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
        !          5539:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
        !          5540:        :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !          5541:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
        !          5542:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
        !          5543:        :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
        !          5544:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          5545:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
        !          5546:        :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
1.1       deraadt  5547:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
                   5548:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   5549:        :up=\E[A:us=\E[4m:
                   5550: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
1.3       deraadt  5551:        :li#24:tc=att630:
1.1       deraadt  5552:
                   5553: # This entry was modified 3/13/90 by JWE.
1.5     ! tholo    5554: # fixes include additions of <enacs>, correcting :rp:, and modification
1.2       deraadt  5555: # of <kHOM>.  (See comments below)
                   5556: # att730 has status line of 80 chars
1.5     ! tholo    5557: # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
1.2       deraadt  5558: # the <kf25> and up keys are used for shifted system Fkeys
1.1       deraadt  5559: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1.5     ! tholo    5560: # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
1.1       deraadt  5561: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1.2       deraadt  5562: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1.1       deraadt  5563: # 102, 102+1, or 122 key keyboards
                   5564: #       kHOM=\E[2J,
1.2       deraadt  5565: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5566: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5567: # (sgr removed to fit entry within 1023 bytes)
                   5568: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5569: att730|730MTG|AT&T 730 windowing terminal:\
1.1       deraadt  5570:        :am:da:db:es:hs:mi:ms:xn:xo:\
                   5571:        :co#80:it#8:li#60:lm#0:ws#80:\
                   5572:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    5573:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          5574:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          5575:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
        !          5576:        :ho=\E[H:\
1.1       deraadt  5577:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.5     ! tholo    5578:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
        !          5579:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
        !          5580:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          5581:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
        !          5582:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
        !          5583:        :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
1.1       deraadt  5584:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5585:        :vs=\E[?12;25h:
                   5586: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
1.3       deraadt  5587:        :li#41:tc=att730:
1.1       deraadt  5588: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
1.3       deraadt  5589:        :li#24:tc=att730:
1.1       deraadt  5590: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
                   5591:        :i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.5     ! tholo    5592:        :vb=\E[?5l\E[?5h:\
        !          5593:        :tc=att730:
1.1       deraadt  5594: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
1.3       deraadt  5595:        :li#41:tc=att730r:
1.1       deraadt  5596: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
1.3       deraadt  5597:        :li#24:tc=att730r:
1.1       deraadt  5598:
                   5599: # The following represents the screen layout along with the associated
                   5600: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   5601: # not appear on the screen but are shown to reference the bezel buttons.
                   5602: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   5603: # position relative to the screen.
                   5604: #
                   5605: #
                   5606: #
                   5607: #      +----------------------------------------------------------------+
                   5608: #      |                                                                |
                   5609: # XXXX | kf0                                                       kf24 | XXXX
                   5610: #      |                                                                |
                   5611: #      |                                                                |
                   5612: # XXXX | kf1                                                       kf23 | XXXX
                   5613: #      |                                                                |
                   5614: #      |                                                                |
                   5615: # XXXX | kf2                                                       kf22 | XXXX
                   5616: #      |                                                                |
                   5617: #      |                                                                |
                   5618: # XXXX | kf3                                                       kf21 | XXXX
                   5619: #      |                                                                |
                   5620: #      |                                                                |
                   5621: # XXXX | kf4                                                       kf20 | XXXX
                   5622: #      |                                                                |
                   5623: #      |                                                                |
                   5624: # XXXX | kf5                                                       kf19 | XXXX
                   5625: #      |                                                                |
                   5626: #      |                                                                |
                   5627: # XXXX | kf6                                                       kf18 | XXXX
                   5628: #      |                                                                |
                   5629: #      |                                                                |
                   5630: # XXXX |                                                                | XXXX
                   5631: #      |                                                                |
                   5632: #      |                                                                |
                   5633: #      +----------------------------------------------------------------+
                   5634: #
                   5635: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   5636: #
                   5637: # Note: XXXX represents the screen buttons
                   5638: #                                                          CMD   REDRAW
                   5639: #
                   5640: #                                                          MAIL
                   5641: #
1.2       deraadt  5642: # version 1 note:
                   5643: #      The character string sent by key 'kf26' may be user programmable
                   5644: #       to send either \E[16s, or \E[26s.
                   5645: #       The character string sent by key 'krfr' may be user programmable
                   5646: #       to send either \E[17s, or \E[27s.
                   5647: #
1.1       deraadt  5648: # Depression of the "CMD" key sends    \E!    (kcmd)
                   5649: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   5650: # "REDRAW" same as "REFRESH" (krfr)
                   5651: #
                   5652: # "kf" functions adds carriage return to output string if terminal is in
                   5653: # 'new line' mode.
                   5654: #
                   5655: # The following are functions not covered in the table above:
                   5656: #
                   5657: #       Set keyboard character (SKC): \EPn1;Pn2w
                   5658: #                       Pn1= 0 Back Space key
                   5659: #                       Pn1= 1 Break key
                   5660: #                       Pn2=   Program char (hex)
                   5661: #
                   5662: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   5663: #                       Pn1=     Window number (1-39)
                   5664: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   5665: #
                   5666: #       Screen Selection (SSL): \E[Pnu
                   5667: #                       Pn= Window number
                   5668: #
                   5669: #       Set Terminal Modes (SM): \E[Pnh
                   5670: #                       Pn= 3 Graphics mode
                   5671: #                       Pn= > Cursor blink
                   5672: #                       Pn= < Enter new line mode
                   5673: #                       Pn= = Enter reverse insert/replace mode
                   5674: #                       Pn= ? Enter no scroll mode
                   5675: #
                   5676: #       Reset Terminal Mode (RM): \E[Pnl
                   5677: #                       Pn= 3 Exit graphics mode
                   5678: #                       Pn= > Exit cursor blink
                   5679: #                       Pn= < Exit new line mode
                   5680: #                       Pn= = Exit reverse insert/replace mode
                   5681: #                       Pn= ? Exit no scroll mode
                   5682: #
                   5683: #       Screen Status Report (SSR): \E[Pnp
                   5684: #                       Pn= 0 Request current window number
                   5685: #                       Pn= 1 Request current window dimensions
                   5686: #
                   5687: #       Device Status Report (DSR): \E[6n    Request cursor position
                   5688: #
                   5689: #       Call Status Report (CSR): \E[Pnv
                   5690: #                       Pn= 0 Call failed
                   5691: #                       Pn= 1 Call successful
                   5692: #
                   5693: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   5694: #                       Pn1= Button number to be loaded
                   5695: #                       Pn2= Character count of "string"
                   5696: #                       Pn3= Key mode being loaded:
                   5697: #                               0= Unshifted
                   5698: #                               1= Shifted
                   5699: #                               2= Control
                   5700: #                       String= Text string (15 chars max)
                   5701: #
                   5702: #       Screen Number Report (SNR): \E[Pnp
                   5703: #                       Pn= Screen number
                   5704: #
                   5705: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   5706: #                       Pn1= Number of rows available in window
                   5707: #                       Pn2= Number of columns available in window
                   5708: #
                   5709: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
1.3       deraadt  5710: #                       Pn1= "Y" Position of cursor
1.1       deraadt  5711: #                       Pn2= "X" Position of cursor
                   5712: #
                   5713: #       Request Answer Back (RAB): \E[c
                   5714: #
                   5715: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   5716: #                       *=  0 No printer available
                   5717: #                       *=  2 Printer available
                   5718: #                       V=  Software version number
                   5719: #                       SV= Software sub version number
1.2       deraadt  5720: #      (printer-available field not documented in v1)
1.1       deraadt  5721: #
1.3       deraadt  5722: #       Screen Alignment Aid: \En
1.1       deraadt  5723: #
                   5724: #       Bell (lower pitch): \E[x
                   5725: #
                   5726: #       Dial Phone Number: \EPdstring\
                   5727: #                       string= Phone number to be dialed
                   5728: #
                   5729: #       Set Phone Labels: \EPpstring\
                   5730: #                       string= Label for phone buttons
                   5731: #
                   5732: #       Set Clock: \EPchour;minute;second\
                   5733: #
                   5734: #       Position Clock: \EPsY;X\
                   5735: #                       Y= "Y" coordinate
                   5736: #                       X= "X" coordinate
                   5737: #
                   5738: #       Delete Clock: \Epr\
                   5739: #
                   5740: #       Programming The Function Buttons: \EPfPn;string\
                   5741: #                       Pn= Button number (00-06, 18-24)
                   5742: #                                         (kf00-kf06, kf18-kf24)
                   5743: #                       string= Text to sent on button depression
                   5744: #
1.2       deraadt  5745: # The following in version 2 only:
                   5746: #
1.1       deraadt  5747: #       Request For Local Directory Data: \EPp12;\
                   5748: #
                   5749: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   5750: #
                   5751: #      Request for Local Directory Data in print format: \EPp13;\
                   5752: #
                   5753: #      Enable 'Prt on Line' mode: \022 (DC2)
                   5754: #
                   5755: #      Disable 'Prt on Line' mode: \024 (DC4)
                   5756: #
1.2       deraadt  5757:
                   5758: # 05-Aug-86:
                   5759: # The following Terminfo entry describes functions which are supported by
                   5760: # the AT&T 5430/pt505 terminal software version 2 and later.
1.1       deraadt  5761: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
                   5762:        :am:xo:\
                   5763:        :co#80:it#8:li#24:\
1.5     ! tholo    5764:        :&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
        !          5765:        :F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC=\E[22s:\
        !          5766:        :FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:RA=\E[11;1j:\
        !          5767:        :RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
        !          5768:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  5769:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
1.5     ! tholo    5770:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          5771:        :do=\E[B:ei=\E[4l:ho=\E[H:\
1.2       deraadt  5772:        :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  5773:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
                   5774:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
1.2       deraadt  5775:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
1.5     ! tholo    5776:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
        !          5777:        :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !          5778:        :ve=\E[>l:vs=\E[>h:
1.1       deraadt  5779:
                   5780: # The following Terminfo entry describes functions which are supported by
                   5781: # the AT&T 5430/pt505 terminal software version 1.
1.2       deraadt  5782: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
                   5783:        :li#24:\
1.3       deraadt  5784:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
1.2       deraadt  5785: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
1.3       deraadt  5786:        :li#22:tc=att505:
1.1       deraadt  5787: #
                   5788: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   5789: # This cut mark helps make life less painful for people running ncurses tic
                   5790: # on machines with relatively little RAM.  The file can be broken in half here
                   5791: # cleanly and compiled in sections -- no `use' references cross this cut
                   5792: # going forward.
                   5793: #
                   5794:
                   5795: #### Ampex (Dialogue)
                   5796: #
                   5797: # Yes, these are the same people who are better-known for making audio- and
                   5798: # videotape.  I'm told they are located in Redwood City, CA.
1.5     ! tholo    5799: #
1.1       deraadt  5800:
                   5801: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1.2       deraadt  5802: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   5803: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
                   5804:        :am:bw:ul:\
                   5805:        :co#80:it#8:li#24:\
1.5     ! tholo    5806:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
        !          5807:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
        !          5808:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  5809: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   5810: ampex175|ampex d175:\
                   5811:        :am:\
                   5812:        :co#80:li#24:\
1.5     ! tholo    5813:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
        !          5814:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
        !          5815:        :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
        !          5816:        :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
        !          5817:        :ue=\Em:up=^K:us=\El:
1.1       deraadt  5818: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   5819: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   5820: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   5821: # mode), this key can be used as the erase key; I find I like this. Because
                   5822: # some people and some systems may not, there is another termcap ("ampex175")
                   5823: # that suppresses this little eccentricity by omitting the relevant capability.
                   5824: ampex175-b|ampex d175 using left arrow for erase:\
1.5     ! tholo    5825:        :kb=^_:\
        !          5826:        :tc=ampex175:
1.1       deraadt  5827: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1.2       deraadt  5828: # (ampex210: removed obsolete ":kn#10:" -- esr)
1.1       deraadt  5829: ampex210|a210|ampex a210:\
1.2       deraadt  5830:        :am:hs:xn:\
1.5     ! tholo    5831:        :co#80:it#8:li#24:sg#1:\
        !          5832:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
        !          5833:        :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
        !          5834:        :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
        !          5835:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
        !          5836:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
        !          5837:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
        !          5838:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
        !          5839:        :tc=adm+sgr:
        !          5840: # (ampex219: I added <rmam>/<smam> based on the init string,
        !          5841: # and moved the padding to be *after* the caps -- esr)
1.1       deraadt  5842: ampex219|ampex-219|amp219|Ampex with Automargins:\
                   5843:        :hs:xn:\
                   5844:        :co#80:it#8:li#24:\
1.3       deraadt  5845:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   5846:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
                   5847:        :do=\E[B:ho=\E[H:\
1.5     ! tholo    5848:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
        !          5849:        :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
        !          5850:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
        !          5851:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
        !          5852:        :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
        !          5853:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5854: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
                   5855:        :co#132:li#24:\
1.5     ! tholo    5856:        :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          5857:        :sf=^J:vs=\E[?3h:\
        !          5858:        :tc=ampex219:
        !          5859: # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
1.1       deraadt  5860: ampex232|ampex-232|Ampex Model 232:\
                   5861:        :am:\
1.5     ! tholo    5862:        :co#80:li#24:sg#1:\
        !          5863:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
        !          5864:        :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
        !          5865:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
        !          5866:        :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          5867:        :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
        !          5868:        :tc=adm+sgr:
        !          5869: # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
1.1       deraadt  5870: ampex232w|Ampex Model 232 / 132 columns:\
                   5871:        :co#132:li#24:\
1.5     ! tholo    5872:        :is=\E\034Eg\El:tc=ampex232:
1.1       deraadt  5873:
                   5874: #### Ann Arbor (aa)
                   5875: #
1.5     ! tholo    5876: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
        !          5877: # numbers of function keys.  At least some used monitors in portrait mode,
        !          5878: # allowing up to 76-character screen heights!  They can't be found on the Web;
        !          5879: # I fear they're long dead.  R.I.P.
        !          5880: #
        !          5881:
1.1       deraadt  5882:
                   5883: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   5884: # Highly modified 6/22 by Mike O'Brien.
                   5885: # split out into several for the various screen sizes by dave-yost@rand
                   5886: # Modifications made 3/82 by Mark Horton
                   5887: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1.5     ! tholo    5888: # status line moved to top of screen, :vb: removed 5/82
1.1       deraadt  5889: # Some unknown person at SCO then hacked the init strings to make them more
                   5890: # efficient.
                   5891: #
                   5892: # assumes the following setup:
                   5893: #   A menu: 0000 1010  0001 0000
                   5894: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5895: #   C menu: 56   66   0    0    9600  0110 1100
                   5896: #   D menu: 0110 1001   1   0
                   5897: #
                   5898: #      Briefly, the settings are for the following modes:
                   5899: #         (values are for bit set/clear with * indicating our preference
                   5900: #          and the value used to test these termcaps)
1.3       deraadt  5901: #      Note that many of these settings are irrelevent to the terminfo
1.1       deraadt  5902: #      and are just set to the default mode of the terminal as shipped
                   5903: #      by the factory.
                   5904: #
                   5905: # A menu: 0000 1010  0001 0000
                   5906: #      Block/underline cursor*
                   5907: #      blinking/nonblinking cursor*
                   5908: #      key click/no key click*
                   5909: #      bell/no bell at column 72*
                   5910: #
                   5911: #      key pad is cursor control*/key pad is numeric
1.5     ! tholo    5912: #      return and line feed/return for :cr: key *
1.1       deraadt  5913: #      repeat after .5 sec*/no repeat
                   5914: #      repeat at 25/15 chars per sec. *
                   5915: #
                   5916: #      hold data until pause pressed/process data unless pause pressed*
                   5917: #      slow scroll/no slow scroll*
                   5918: #      Hold in area/don't hold in area*
                   5919: #      functions keys have default*/function keys disabled on powerup
                   5920: #
                   5921: #      show/don't show position of cursor during page transmit*
                   5922: #      unused
                   5923: #      unused
                   5924: #      unused
                   5925: #
                   5926: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   5927: #      Baud rate (9600*)
                   5928: #
                   5929: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   5930: #      1 stop bit*/2 stop bits
                   5931: #      parity error detection off*/on
                   5932: #
                   5933: #      keyboard local/on line*
                   5934: #      half/full duplex*
                   5935: #      disable/do not disable keyboard after data transmission*
                   5936: #
                   5937: #      transmit entire page/stop transmission at cursor*
                   5938: #      transfer/do not transfer protected characters*
                   5939: #      transmit all characters/transmit only selected characters*
                   5940: #      transmit all selected areas/transmit only 1 selected area*
                   5941: #
1.3       deraadt  5942: #      transmit/do not transmit line separators to host*
1.1       deraadt  5943: #      transmit/do not transmit page tab stops tabs to host*
                   5944: #      transmit/do not transmit column tab stop tabs to host*
                   5945: #      transmit/do not transmit graphics control (underline,inverse..)*
                   5946: #
                   5947: #      enable*/disable auto XON/XOFF control
                   5948: #      require/do not require receipt of a DC1 from host after each LF*
                   5949: #      pause key acts as a meta key/pause key is pause*
                   5950: #      unused
                   5951: #
                   5952: #      unused
                   5953: #      unused
                   5954: #      unused
                   5955: #      unused
                   5956: #
                   5957: #      XON character (17*)
                   5958: #      XOFF character (19*)
                   5959: #
                   5960: # C menu: 56   66   0    0    9600  0110 1100
                   5961: #      number of lines to print data on (printer) (56*)
                   5962: #
                   5963: #      number of lines on a sheet of paper (printer) (66*)
                   5964: #
                   5965: #      left margin (printer) (0*)
                   5966: #
                   5967: #      number of pad chars on new line to printer (0*)
                   5968: #
                   5969: #      printer baud rate (9600*)
                   5970: #
                   5971: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   5972: #      printer stop bits: 2*/1
                   5973: #      print/do not print guarded areas*
                   5974: #
                   5975: #      new line is: 01=LF,10=CR,11=CRLF*
                   5976: #      unused
                   5977: #      unused
                   5978: #
                   5979: # D menu: 0110 1001   1   0
                   5980: #      LF is newline/LF is down one line, same column*
1.3       deraadt  5981: #      wrap to preceding line if move left from col 1*/don't wrap
1.1       deraadt  5982: #      wrap to next line if move right from col 80*/don't wrap
                   5983: #      backspace is/is not destructive*
                   5984: #
                   5985: #      display*/ignore DEL character
                   5986: #      display will not/will scroll*
                   5987: #      page/column tab stops*
                   5988: #      erase everything*/erase unprotected only
                   5989: #
                   5990: #      editing extent: 0=display,1=line*,2=field,3=area
                   5991: #
                   5992: #      unused
                   5993: #
                   5994:
1.2       deraadt  5995: annarbor4080|aa4080|ann arbor 4080:\
1.1       deraadt  5996:        :am:\
                   5997:        :co#80:li#40:\
                   5998:        :bl=^G:cl=\014:\
                   5999:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
1.5     ! tholo    6000:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
        !          6001:        :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
1.1       deraadt  6002:
                   6003: # If you're using the GNU termcap library, add
1.2       deraadt  6004: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1.1       deraadt  6005: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   6006: # capability, arguments are:
                   6007: #   1. Total number of lines on the screen.
                   6008: #   2. Number of lines above desired scroll region.
                   6009: #   3. Number of lines below (outside of) desired scroll region.
                   6010: #   4. Total number of lines on the screen, the same as the first parameter.
                   6011: # The generic Ann Arbor entry is the only one that uses this.
1.3       deraadt  6012: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6013: # (sgr removed to fit entry within 1023 bytes)
                   6014: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  6015: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
                   6016:        :am:km:mi:xo:\
                   6017:        :co#80:it#8:\
                   6018:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6019:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
1.2       deraadt  6020:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   6021:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
                   6022:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\\:\
                   6023:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
1.5     ! tholo    6024:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
        !          6025:        :kd=\E[B:\
1.1       deraadt  6026:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
                   6027:        :kh=\E[H:kl=\E[D:kr=\E[C:\
                   6028:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
1.2       deraadt  6029:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
1.5     ! tholo    6030:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
        !          6031:        :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6032:
                   6033: aaa+rv|ann arbor ambassador in reverse video:\
                   6034:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6035:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6036:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6037:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6038: # Ambassador with the DEC option, for partial vt100 compatibility.
                   6039: aaa+dec|ann arbor ambassador in dec vt100 mode:\
1.3       deraadt  6040:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
                   6041:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
1.1       deraadt  6042:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
                   6043: aaa-18|ann arbor ambassador/18 lines:\
                   6044:        :li#18:\
                   6045:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
1.5     ! tholo    6046:        :ti=\E[18;0;0;18p:\
        !          6047:        :tc=aaa+unk:
1.1       deraadt  6048: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
                   6049:        :tc=aaa+rv:tc=aaa-18:
                   6050: aaa-20|ann arbor ambassador/20 lines:\
                   6051:        :li#20:\
                   6052:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
1.5     ! tholo    6053:        :ti=\E[20;0;0;20p:\
        !          6054:        :tc=aaa+unk:
1.1       deraadt  6055: aaa-22|ann arbor ambassador/22 lines:\
                   6056:        :li#22:\
                   6057:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
1.5     ! tholo    6058:        :ti=\E[22;0;0;22p:\
        !          6059:        :tc=aaa+unk:
1.1       deraadt  6060: aaa-24|ann arbor ambassador/24 lines:\
                   6061:        :li#24:\
                   6062:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
1.5     ! tholo    6063:        :ti=\E[24;0;0;24p:\
        !          6064:        :tc=aaa+unk:
1.1       deraadt  6065: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
                   6066:        :tc=aaa+rv:tc=aaa-24:
                   6067: aaa-26|ann arbor ambassador/26 lines:\
                   6068:        :li#26:\
                   6069:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
1.5     ! tholo    6070:        :ti=\E[H\E[J\E[26;0;0;26p:\
        !          6071:        :tc=aaa+unk:
1.1       deraadt  6072: aaa-28|ann arbor ambassador/28 lines:\
                   6073:        :li#28:\
                   6074:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
1.5     ! tholo    6075:        :ti=\E[H\E[J\E[28;0;0;28p:\
        !          6076:        :tc=aaa+unk:
1.1       deraadt  6077: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
                   6078:        :es:hs:\
                   6079:        :li#29:\
                   6080:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6081:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
                   6082:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
                   6083:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
                   6084:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6085: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
                   6086:        :tc=aaa+rv:tc=aaa-30-s:
                   6087: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
                   6088:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6089:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
                   6090: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context:\
                   6091:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6092:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
                   6093: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
                   6094:        :li#30:\
                   6095:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
1.5     ! tholo    6096:        :ti=\E[H\E[J\E[30;0;0;30p:\
        !          6097:        :tc=aaa+unk:
1.1       deraadt  6098: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
                   6099:        :tc=aaa+rv:tc=aaa-30:
                   6100: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
1.5     ! tholo    6101:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
        !          6102:        :tc=aaa-30:
1.1       deraadt  6103: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
1.5     ! tholo    6104:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
        !          6105:        :tc=aaa+rv:tc=aaa-30:
1.1       deraadt  6106: aaa-36|ann arbor ambassador/36 lines:\
                   6107:        :li#36:\
                   6108:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
1.5     ! tholo    6109:        :ti=\E[H\E[J\E[36;0;0;36p:\
        !          6110:        :tc=aaa+unk:
1.1       deraadt  6111: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
                   6112:        :tc=aaa+rv:tc=aaa-36:
                   6113: aaa-40|ann arbor ambassador/40 lines:\
                   6114:        :li#40:\
                   6115:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
1.5     ! tholo    6116:        :ti=\E[H\E[J\E[40;0;0;40p:\
        !          6117:        :tc=aaa+unk:
1.1       deraadt  6118: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
                   6119:        :tc=aaa+rv:tc=aaa-40:
                   6120: aaa-48|ann arbor ambassador/48 lines:\
                   6121:        :li#48:\
                   6122:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
1.5     ! tholo    6123:        :ti=\E[H\E[J\E[48;0;0;48p:\
        !          6124:        :tc=aaa+unk:
1.1       deraadt  6125: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
                   6126:        :tc=aaa+rv:tc=aaa-48:
                   6127: aaa-60-s|ann arbor ambassador/59 lines+status:\
                   6128:        :es:hs:\
                   6129:        :li#59:\
                   6130:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6131:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
                   6132:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6133: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
                   6134:        :tc=aaa+rv:tc=aaa-60-s:
1.2       deraadt  6135: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
1.1       deraadt  6136:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
                   6137: aaa-60|ann arbor ambassador/60 lines:\
                   6138:        :li#60:\
                   6139:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
                   6140: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
                   6141:        :tc=aaa+rv:tc=aaa-60:
                   6142: aaa-db|ann arbor ambassador 30/destructive backspace:\
1.5     ! tholo    6143:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:\
        !          6144:        :tc=aaa-30:
1.1       deraadt  6145:
                   6146: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
                   6147:        :li#33:\
                   6148:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
1.5     ! tholo    6149:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
        !          6150:        :tc=aaa+unk:
1.1       deraadt  6151: guru+rv|guru changes for reverse video:\
                   6152:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
                   6153: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
                   6154:        :tc=guru+rv:tc=guru-33:
                   6155: guru+s|guru status line:\
                   6156:        :es:hs:\
                   6157:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
1.5     ! tholo    6158:        :te=\E[255;1p\E[255;1H\E[K:ts=\E[>51h\E[1;%p1%dH\E[2K:
1.2       deraadt  6159: guru-nctxt|guru with no saved context:\
1.1       deraadt  6160:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
                   6161: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
                   6162:        :li#32:\
                   6163:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
1.5     ! tholo    6164:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
        !          6165:        :tc=guru+unk:
1.2       deraadt  6166: guru-24|ann arbor guru 24 lines:\
1.1       deraadt  6167:        :co#80:li#24:\
                   6168:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
1.2       deraadt  6169: guru-44|ann arbor guru 44 lines:\
1.1       deraadt  6170:        :co#97:li#44:\
                   6171:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
                   6172: guru-44-s|ann arbor guru/44 lines+status:\
                   6173:        :li#43:\
                   6174:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
1.5     ! tholo    6175:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
        !          6176:        :tc=guru+unk:
1.1       deraadt  6177: guru-76|guru with 76 lines by 89 cols:\
                   6178:        :co#89:li#76:\
                   6179:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6180: guru-76-s|ann arbor guru/76 lines+status:\
                   6181:        :co#89:li#75:\
                   6182:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
1.5     ! tholo    6183:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
        !          6184:        :tc=guru+unk:
1.1       deraadt  6185: guru-76-lp|guru-lp|guru with page bigger than line printer:\
                   6186:        :co#134:li#76:\
                   6187:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6188: guru-76-w|guru 76 lines by 178 cols:\
                   6189:        :co#178:li#76:\
                   6190:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6191: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
                   6192:        :co#178:li#75:\
                   6193:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
1.5     ! tholo    6194:        :ti=\E[76;1p\E[255;1H\E[K:\
        !          6195:        :tc=guru+s:tc=guru+unk:
1.1       deraadt  6196: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
                   6197:        :co#178:li#76:\
                   6198:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
1.2       deraadt  6199: aaa-rv-unk|ann arbor unknown type:\
1.3       deraadt  6200:        :Nl#0:lh#0:lw#0:\
1.2       deraadt  6201:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6202:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6203:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6204:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6205:
                   6206: #### Applied Digital Data Systems (adds)
                   6207: #
                   6208: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   6209: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   6210: # terminals was merged again.  Then AT&T sold the terminal business to
                   6211: # SunRiver.  The engineers from Teletype, AT&T terminals, ADDS,
1.2       deraadt  6212: # and NCR (who are still there as of early 1995) are at:
1.1       deraadt  6213: #
                   6214: #      SunRiver Data Systems
                   6215: #      100 Marcus Boulevard
1.5     ! tholo    6216: #      Hauppauge, NY 11788-3762
1.1       deraadt  6217: #      Vox: (800)-231-5445
                   6218: #      Fax: (516)-342-7378
                   6219: #
1.5     ! tholo    6220: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
        !          6221: # In 1995 SunRiver acquired DEC's terminals business.
        !          6222: #
1.1       deraadt  6223:
                   6224: # Regent: lowest common denominator, works on all regents.
                   6225: # (regent: renamed ":bc:" to ":le:" -- esr)
                   6226: regent|Adds Regent Series:\
                   6227:        :am:bs:\
                   6228:        :co#80:li#24:\
1.5     ! tholo    6229:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
        !          6230:        :up=^Z:
1.1       deraadt  6231: # Regent 100 has a bug where if computer sends escape when user is holding
                   6232: # down shift key it gets confused, so we avoid escape.
                   6233: regent100|Adds Regent 100:\
                   6234:        :sg#1:ug#1:\
                   6235:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
1.5     ! tholo    6236:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
        !          6237:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
        !          6238:        :ue=\E0@:us=\E0`:\
        !          6239:        :tc=regent:
1.1       deraadt  6240: regent20|Adds Regent 20:\
                   6241:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
                   6242: regent25|Adds Regent 25:\
                   6243:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
                   6244: regent40|Adds Regent 40:\
                   6245:        :sg#1:ug#1:\
1.5     ! tholo    6246:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
        !          6247:        :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
        !          6248:        :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
        !          6249:        :ue=\E0@:us=\E0`:\
        !          6250:        :tc=regent25:
1.1       deraadt  6251: regent40+|Adds Regent 40+:\
                   6252:        :is=\EB:tc=regent40:
                   6253: regent60|regent200|Adds Regent 60:\
1.3       deraadt  6254:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
1.5     ! tholo    6255:        :se=\ER\E0@\EV:so=\ER\E0P\EV:\
        !          6256:        :tc=regent40+:
1.1       deraadt  6257: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1.5     ! tholo    6258: # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
1.1       deraadt  6259: viewpoint|addsviewpoint|adds viewpoint:\
1.2       deraadt  6260:        :am:\
1.1       deraadt  6261:        :co#80:li#24:\
1.5     ! tholo    6262:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
        !          6263:        :is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":k5=^B#:kd=^J:kh=^A:\
        !          6264:        :kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:so=^N:\
        !          6265:        :ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
1.2       deraadt  6266: # Some viewpoints have bad ROMs that foo up on ^O
1.1       deraadt  6267: screwpoint|adds viewpoint with ^O bug:\
1.2       deraadt  6268:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
                   6269:
1.1       deraadt  6270: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
1.5     ! tholo    6271: # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
1.1       deraadt  6272: # Theory; the 3a+ wants \E0%c to set highlights, where normal=01000000,
                   6273: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   6274: # invis=01000100 and %c is the logical or of desired attributes.
                   6275: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   6276: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
                   6277:        :am:bw:\
                   6278:        :co#80:it#8:li#24:\
1.5     ! tholo    6279:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
        !          6280:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
1.1       deraadt  6281:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
                   6282:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
1.2       deraadt  6283: vp60|viewpoint60|addsvp60|adds viewpoint60:\
1.1       deraadt  6284:        :tc=regent40:
                   6285: #
                   6286: # adds viewpoint 90 - from cornell
                   6287: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   6288: #        insert mode. This unfortunately puts the viewpoint90 IN insert
1.5     ! tholo    6289: #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
1.1       deraadt  6290: #   -    :ei=:im=: must be present in the termcap translation.)
1.5     ! tholo    6291: #   -    :xs: indicates glitch that attributes stick to location
        !          6292: #   -    :ms: means it's safe to move in standout mode
        !          6293: #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
1.1       deraadt  6294: #               the status line
                   6295: # Function key and label capabilities merged in from SCO.
                   6296: vp90|viewpoint90|adds viewpoint 90:\
1.2       deraadt  6297:        :bw:ms:xs:\
1.1       deraadt  6298:        :co#80:li#24:\
1.5     ! tholo    6299:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
        !          6300:        :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
        !          6301:        :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
        !          6302:        :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
        !          6303:        :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
        !          6304:        :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
        !          6305:        :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
        !          6306:        :up=^Z:us=\ER\E0`\EV:
1.1       deraadt  6307: # Note: if return acts weird on a980, check internal switch #2
                   6308: # on the top chip on the CONTROL pc board.
                   6309: adds980|a980|adds consul 980:\
1.2       deraadt  6310:        :am:\
1.1       deraadt  6311:        :co#80:li#24:\
1.5     ! tholo    6312:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
        !          6313:        :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
        !          6314:        :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
        !          6315:        :sf=^J:so=^Y^^^N:
1.1       deraadt  6316:
                   6317: #### C. Itoh Electronics
                   6318: #
                   6319: # As of 1995 these people no longer make terminals (they're still in the
                   6320: # printer business).  Their terminals were all clones of the DEC VT series.
                   6321: # They're located in Orange County, CA.
                   6322: #
                   6323:
                   6324: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   6325: #           the delay times and do an auto tab set rather than the indirect
                   6326: #           file used in vt100.
                   6327: cit80|cit-80|citoh 80:\
1.2       deraadt  6328:        :am:\
1.1       deraadt  6329:        :co#80:li#24:\
1.2       deraadt  6330:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
1.5     ! tholo    6331:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          6332:        :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  6333: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1.2       deraadt  6334: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   6335: cit101|citc|C.itoh fast vt100:\
                   6336:        :am:xn:\
                   6337:        :co#80:li#24:\
1.3       deraadt  6338:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5     ! tholo    6339:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
        !          6340:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
1.1       deraadt  6341:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1.5     ! tholo    6342:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
        !          6343:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
        !          6344: # CIE Terminals CIT-500 from BRL
        !          6345: # The following SET-UP modes are assumed for normal operation:
        !          6346: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
        !          6347: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
        !          6348: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
        !          6349: # Other SET-UP modes may be set for operator convenience or communication
        !          6350: # requirements.
        !          6351: # Hardware tabs are assumed to be set every 8 columns; they can be set up
        !          6352: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
        !          6353: # "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  6354: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
1.5     ! tholo    6355: cit500|CIE Terminals CIT-500:\
        !          6356:        :mi:ms:xo:\
        !          6357:        :co#80:it#8:li#64:vt#3:\
        !          6358:        :#3=\E[4h:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          6359:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
        !          6360:        :as=^N:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:\
        !          6361:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          6362:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:\
        !          6363:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:\
        !          6364:        :k7=\EOX:k8=\EOY:k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:\
        !          6365:        :kI=\E[4h:kL=\E[M:kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:\
        !          6366:        :ke=\E[?1l\E>:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          6367:        :ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:l4=F15:l5=F16:l6=F17:\
        !          6368:        :l7=F18:l8=F19:l9=F20:le=^H:ll=\E[64H:mb=\E[5m:md=\E[1m:\
        !          6369:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          6370:        :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
        !          6371:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          6372:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  6373:
1.5     ! tholo    6374: # C. Itoh printers begin here
1.1       deraadt  6375: citoh|ci8510|8510|c.itoh 8510a:\
                   6376:        :co#80:it#8:\
                   6377:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
1.5     ! tholo    6378:        :le@:md=\E!:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:us=\EX:\
        !          6379:        :tc=lpr:
1.1       deraadt  6380: citoh-pica|citoh in pica:\
                   6381:        :i1=\EN:tc=citoh:
                   6382: citoh-elite|citoh in elite:\
                   6383:        :co#96:\
                   6384:        :i1=\EE:\
                   6385:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
                   6386: citoh-comp|citoh in compressed:\
                   6387:        :co#136:\
                   6388:        :i1=\EQ:\
                   6389:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
                   6390: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   6391: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
                   6392:        :co#32767:\
                   6393:        :i1=\EP:tc=citoh:
                   6394: citoh-6lpi|citoh in 6 lines per inch mode:\
                   6395:        :i2=\EA:tc=citoh:
                   6396: citoh-8lpi|citoh in 8 lines per inch mode:\
                   6397:        :li#88:\
                   6398:        :i2=\EB:tc=citoh:
                   6399:
                   6400: #### Control Data (cdc)
                   6401: #
                   6402:
1.2       deraadt  6403: cdc456|cdc 456 terminal:\
                   6404:        :am:\
1.1       deraadt  6405:        :co#80:li#24:\
1.5     ! tholo    6406:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
        !          6407:        :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
        !          6408: #
        !          6409: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
        !          6410: #
        !          6411: # Part of the long initialization string defines the "DOWN" key to the left
        !          6412: # of the tab key to send an ESC.  The real ESC key is position way out in right
        !          6413: # field.
        !          6414: #
        !          6415: # The termcap won't work in 132 column mode due to the way it it moves the
        !          6416: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
        !          6417: # handle the 721 in 132 column mode.
        !          6418: #
        !          6419: # Personal preference: the key definitions have been commented out by a
        !          6420: # period before the name.  Remove them if you want.
        !          6421: #
        !          6422: # (cdc721: changed :ri: to :sr: -- esr)
        !          6423: cdc721-esc|Control Data 721:\
        !          6424:        :am:bw:ms:xo:\
        !          6425:        :co#80:it#8:li#30:\
        !          6426:        :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
        !          6427:        :cr=^M:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
        !          6428:        :is=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\\\036\022^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o:\
        !          6429:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
        !          6430:        :k8=^^y:k9=^^z:kb=^H:kd=^J:kl=^H:le=^H:ll=^B =:mb=^N:\
        !          6431:        :me=\017\025\035\036E\036\022\\:mh=^\:mk=^^^R[:mr=^^D:\
        !          6432:        :nd=^X:nw=\r\036W =\036U:se=^^E:sf=\036W =\036U:so=^^D:\
        !          6433:        :sr=\036W =\036V:st=^^^RW:ta=^I:ue=^]:up=^W:us=^\:
        !          6434:
        !          6435: #### Getronics
        !          6436: #
        !          6437: # Getronics is a Dutch electronics company that at one time was called
        !          6438: # `Geveke' and made async terminals; but (according to the company itself!)
        !          6439: # they've lost all their documentation on the command set.  The hardware
        !          6440: # documentation suggests the terminals were actually manufactured by a
        !          6441: # Taiwanese electronics company named Cal-Comp.  There are known
        !          6442: # to have been at least two models, the 33 and the 50.
        !          6443: #
        !          6444:
        !          6445: # The 50 seems to be a top end vt220 clone, with the addition of a higher
        !          6446: # screen resolution, a larger screen, at least 1 page of memory above and
        !          6447: # below the screen, apparently pages of memory right and left of the screen
        !          6448: # which can be panned, and about 75 function keys (15 function keys x normal,
        !          6449: # shift, control, func A, func B). It also has more setup possibilities than
        !          6450: # the vt220. The monitor case is dated November 1978 and the keyboard case is
        !          6451: # May 1982.
        !          6452: #
        !          6453: # The vt100 emulation works as is.  The entry below describes the rather
        !          6454: # non-conformant (but more featureful) ANSI mode.
        !          6455: #
        !          6456: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
        !          6457: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          6458: # (sgr removed to fit entry within 1023 bytes)
        !          6459: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          6460: visa50|geveke visa 50 terminal in ansi 80 character mode:\
        !          6461:        :bw:mi:ms:\
        !          6462:        :co#80:li#25:\
        !          6463:        :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          6464:        :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
        !          6465:        :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
        !          6466:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
        !          6467:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
        !          6468:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
        !          6469:        :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
        !          6470:        :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
        !          6471:        :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
        !          6472:        :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
        !          6473:        :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
        !          6474:        :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
        !          6475:        :us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  6476:
                   6477: #### Human Designed Systems (Concept)
                   6478: #
                   6479: #      Human Designed Systems
                   6480: #      400 Fehley Drive
                   6481: #      King of Prussia, PA 19406
                   6482: #      Vox: (610)-277-8300
                   6483: #      Fax: (610)-275-5739
                   6484: #      Net: support@hds.com
                   6485: #
                   6486: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   6487: # the character-terminal business now (1995) and making X terminals.  In
                   6488: # particular, the whole `Concept' line described here was discontinued long
                   6489: # ago.
1.5     ! tholo    6490: #
1.1       deraadt  6491:
                   6492: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   6493: # Extensive changes to c108 by arpavax:eric Feb 1982
                   6494: # Some unknown person at SCO then translated it to terminfo.
                   6495: #
                   6496: # There seem to be a number of different versions of the C108 PROMS
                   6497: # (with bug fixes in its Z-80 program).
                   6498: #
                   6499: # The first one that we had would lock out the keyboard of you
                   6500: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   6501: # Try that on your C108 and see if it sends a ^S when you type it.
                   6502: # If so, you have an old version of the PROMs.
                   6503: #
                   6504: # You should configure the C108 to send ^S/^Q before running this.
                   6505: # It is much faster (at 9600 baud) than the c100 because the delays
                   6506: # are not fixed.
                   6507: # new status line display entries for c108-8p:
1.5     ! tholo    6508: # :i3: - init str #3 - setup term for status display -
1.1       deraadt  6509: # set programmer mode, select window 2, define window at last
                   6510: # line of memory, set bkgnd stat mesg there, select window 0.
                   6511: #
1.5     ! tholo    6512: # :ts: - to status line - select window 2, home cursor, erase to
1.1       deraadt  6513: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   6514: #
1.5     ! tholo    6515: # :fs: - from status line - 1/2 bright off, select window 0
1.1       deraadt  6516: #
1.5     ! tholo    6517: # :ds: - disable status display - set bkgnd status mesg with
1.1       deraadt  6518: # illegal window #
                   6519: #
                   6520: # There are probably more function keys that should be added but
                   6521: # I don't know what they are.
                   6522: #
1.2       deraadt  6523: # No delays needed on c108 because of ^S/^Q handshaking
                   6524: #
1.1       deraadt  6525: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
                   6526:        :i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n:\
1.5     ! tholo    6527:        :te=\Ev  \001\177p\Ep\r\n:\
        !          6528:        :tc=c108-4p:
1.1       deraadt  6529: c108-4p|concept108-4p|concept 108 w/4 pages:\
                   6530:        :es:hs:xo:\
                   6531:        :pb@:\
1.3       deraadt  6532:        :ac=l\\qLkTxUmMjE:ae=\Ej :as=\Ej!:\
1.1       deraadt  6533:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
                   6534:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E!\E F:\
                   6535:        :i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n:\
1.5     ! tholo    6536:        :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
        !          6537:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
        !          6538:        :tc=c100:
1.1       deraadt  6539: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
1.5     ! tholo    6540:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
        !          6541:        :tc=c108-rv-4p:
1.2       deraadt  6542: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
1.5     ! tholo    6543:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
        !          6544:        :tc=c108-4p:
1.1       deraadt  6545: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
                   6546:        :co#132:\
                   6547:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
                   6548:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
                   6549:
                   6550: # Concept 100:
                   6551: # These have only window relative cursor addressing, not screen
                   6552: # relative. To get it to work right here, smcup/rmcup (which
                   6553: # were invented for the concept) lock you into a one page
                   6554: # window for screen style programs.
                   6555: #
                   6556: # To get out of the one page window, we use a clever trick:
                   6557: # we set the window size to zero ("\Ev    " in rmcup) which the
                   6558: # terminal recognizes as an error and resets the window to all
                   6559: # of memory.
                   6560: #
                   6561: # This trick works on c100 but does not on c108, sigh.
                   6562: #
                   6563: # Some tty drivers use cr3 for concept, others use nl3, hence
                   6564: # the delays on cr and ind below. This padding is only needed at
1.2       deraadt  6565: # 9600 baud and up.  One or the other is commented out depending on
1.1       deraadt  6566: # local conventions.
                   6567: #
1.5     ! tholo    6568: # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
1.1       deraadt  6569: # less than 6 but more than 2 will work.
                   6570: #
                   6571: # Note: can't use function keys f7-f10 because they are
                   6572: # indistinguishable from arrow keys (!), also, del char and
                   6573: # clear eol use xon/xoff so they probably won't work very well.
                   6574: #
                   6575: # Also note that we don't define insrt/del char/delline/eop/send
                   6576: # because they don't transmit unless we reset them - I figured
                   6577: # it was a bad idea to clobber their definitions.
                   6578: #
1.2       deraadt  6579: # The <mc5> sequence changes the escape character to ^^ so that
1.1       deraadt  6580: # escapes will be passed through to the printer. Only trouble
                   6581: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   6582: # Unfortunately, if you're sending raster bits through to be
                   6583: # plotted, any character you choose will be likely, so we lose.
                   6584: #
                   6585: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   6586: # cannot be # in is2 because it will hang a c100 with no printer
                   6587: # if sent twice.
                   6588: c100|concept100|concept|c104|c100-4p|hds concept 100:\
                   6589:        :am:eo:mi:ul:xn:\
                   6590:        :co#80:li#24:pb#9600:vt#8:\
                   6591:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
1.5     ! tholo    6592:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
        !          6593:        :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
1.1       deraadt  6594:        :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:\
1.5     ! tholo    6595:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
        !          6596:        :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
        !          6597:        :kL=\E^B:kM=\E\200:kN=\E-:kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:\
        !          6598:        :kb=^H:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:\
        !          6599:        :ku=\E;:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:\
        !          6600:        :nd=\E=:pf=\036o \E\EQ!\EYP\027:\
        !          6601:        :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
        !          6602:        :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
        !          6603:        :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
1.1       deraadt  6604: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
                   6605:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
                   6606: oc100|oconcept|c100-1p|old 1 page concept 100:\
                   6607:        :in:\
                   6608:        :i3@:tc=c100:
                   6609:
1.5     ! tholo    6610: # :ta: through :ce: included to specify padding needed in raw mode.
        !          6611: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.3       deraadt  6612: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  6613: avt-ns|concept avt no status line:\
                   6614:        :am:eo:mi:ul:xn:xo:\
                   6615:        :co#80:it#8:li#24:lm#192:\
                   6616:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5     ! tholo    6617:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=\016:al=\E[L:as=\017:bl=^G:\
1.3       deraadt  6618:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   6619:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[2g:\
                   6620:        :cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:ho=\E[H:\
                   6621:        :i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
1.1       deraadt  6622:        :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  6623:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E^C\r:kD=\E^B\r:\
                   6624:        :kI=\E^A\r:kS=\E^D\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
1.5     ! tholo    6625:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:le=^H:\
        !          6626:        :ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1!{:mk=\E8m:\
        !          6627:        :mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:pl=\E[%d;0u#%s#:\
        !          6628:        :po=\E[5i:ps=\E[0i:px=\E[%d;1u#%s#:rc=\E8:sc=\E7:\
        !          6629:        :se=\E[7!{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          6630:        :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4!{:\
        !          6631:        :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
1.1       deraadt  6632: avt-rv-ns|concept avt in reverse video mode/no status line:\
1.5     ! tholo    6633:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
        !          6634:        :tc=avt-ns:
1.1       deraadt  6635: avt-w-ns|concept avt in 132 column mode/no status line:\
1.5     ! tholo    6636:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
        !          6637:        :tc=avt-ns:
1.1       deraadt  6638: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
                   6639:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   6640:        :vb=\E[=205l\E[=205h:tc=avt-ns:
                   6641:
                   6642: # Concept AVT with status line. We get the status line using the
                   6643: # "Background status line" feature of the terminal. We swipe the
                   6644: # first line of memory in window 2 for the status line, keeping
                   6645: # 191 lines of memory and 24 screen lines for regular use.
                   6646: # The first line is used instead of the last so that this works
                   6647: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   6648: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   6649: #
                   6650: avt+s|concept avt status line changes:\
                   6651:        :es:hs:\
                   6652:        :lm#191:\
                   6653:        :ds=\E[0*w:fs=\E[1;1!w:\
                   6654:        :i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
                   6655:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
                   6656:        :ts=\E[2;1!w\E[;%p1%dH\E[2K:
                   6657: avt|avt-s|concept-avt|avt w/80 columns:\
                   6658:        :tc=avt+s:tc=avt-ns:
                   6659: avt-rv|avt-rv-s|avt reverse video w/sl:\
                   6660:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   6661: avt-w|avt-w-s|concept avt 132 cols+status:\
                   6662:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
                   6663: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
                   6664:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
1.5     ! tholo    6665:        :vb=\E[=205l\E[=205h:tc=avt+s:\
        !          6666:        :tc=avt-ns:
1.1       deraadt  6667:
                   6668: #### Contel Business Systems.
                   6669: #
                   6670:
                   6671: # Contel c300 and c320 terminals.
                   6672: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
                   6673:        :am:in:xo:\
                   6674:        :co#80:li#24:sg#1:\
1.5     ! tholo    6675:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
        !          6676:        :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
        !          6677:        :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
        !          6678:        :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:nd=\EC:\
        !          6679:        :se=\E!\200:sf=^J:so=\E!\r:st=\E1:up=\EA:\
        !          6680:        :vb=\020\002\020\003:
1.1       deraadt  6681: # Contel c301 and c321 terminals.
                   6682: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
1.5     ! tholo    6683:        :ei=:ic@:im=:ip@:se=\E!\200:so=\E!\r:vb@:\
        !          6684:        :tc=contel300:
1.1       deraadt  6685:
                   6686: #### Data General (dg)
                   6687: #
                   6688: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   6689: # the terminals group at Data General was shut down in 1991; all these
                   6690: # terminals have thus been discontinued.
                   6691: #
                   6692:
1.5     ! tholo    6693: # According to the 4.4BSD termcap file, the dg200 :cm: should be the
1.3       deraadt  6694: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   6695: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   6696: # maybe they were originally nuls (which would fit).
1.1       deraadt  6697: dg200|data general dasher 200:\
                   6698:        :NL:am:bw:\
                   6699:        :co#80:li#24:\
1.5     ! tholo    6700:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
        !          6701:        :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
        !          6702:        :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
        !          6703:        :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
1.2       deraadt  6704: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   6705: # courtesy of Carlos Rucalde of Vantage Software, Inc.
1.5     ! tholo    6706: # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
1.2       deraadt  6707: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   6708: dg211|Data General d211:\
1.5     ! tholo    6709:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
        !          6710:        :se=00\036E\200/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
        !          6711:        :vs=^L^R:\
        !          6712:        :tc=dg200:
1.2       deraadt  6713:
                   6714: # dg450 from cornell
1.1       deraadt  6715: dg450|dg6134|data general 6134:\
1.2       deraadt  6716:        :le@:nd=^X:tc=dg200:
                   6717:
1.1       deraadt  6718: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   6719: # having a command to move straight down from any position on the bottom line
                   6720: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   6721: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   6722: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   6723: # backspace on all terminals.  This is not so in DG mode.
                   6724: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1.2       deraadt  6725: # grounds that there is no matching ":ml:"
1.1       deraadt  6726: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
1.2       deraadt  6727: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
                   6728:        :am:ms:ul:\
                   6729:        :co#80:it#8:li#24:\
1.5     ! tholo    6730:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
        !          6731:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
        !          6732:        :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
        !          6733:        :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
        !          6734:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
        !          6735:        :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
        !          6736:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
        !          6737:        :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
1.1       deraadt  6738: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   6739: # Data General 605x
                   6740: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   6741: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
1.5     ! tholo    6742: # This also matches a posted description of something called A `Dasher 100'
        !          6743: # so there's a dg100 alias here.
        !          6744: # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
        !          6745: dg6053|dg100|data general 6053:\
1.2       deraadt  6746:        :am:bs:bw:ul:\
1.1       deraadt  6747:        :co#80:li#24:\
1.5     ! tholo    6748:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:is=^R:\
        !          6749:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
        !          6750:        :k8=^^y:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:le=^Y:nd=^X:\
        !          6751:        :nw=^M^Z:se=\200^^E:so=\200\200\200\200\200\036D:ta=^I:\
        !          6752:        :te=^L:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
1.1       deraadt  6753:
                   6754: #### Datamedia (dm)
                   6755: #
                   6756:
                   6757: cs10|colorscan|Datamedia Color Scan 10:\
                   6758:        :ms:\
                   6759:        :co#80:li#24:\
1.5     ! tholo    6760:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
        !          6761:        :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
        !          6762:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
1.1       deraadt  6763:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   6764: cs10-w|Datamedia Color Scan 10 with 132 columns:\
                   6765:        :co#132:\
                   6766:        :cm=\E[%i%02;%03H:tc=cs10:
                   6767:
1.2       deraadt  6768: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
1.1       deraadt  6769: dm1520|dm1521|datamedia 1520:\
1.2       deraadt  6770:        :am:xn:\
                   6771:        :co#80:it#8:li#24:\
1.5     ! tholo    6772:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
        !          6773:        :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
1.1       deraadt  6774: dm2500|datamedia2500|datamedia 2500:\
1.2       deraadt  6775:        :nc:\
1.1       deraadt  6776:        :co#80:li#24:\
                   6777:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
                   6778:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
                   6779:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
                   6780:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
                   6781:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
                   6782: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1.2       deraadt  6783: # also, has a meta-key.
1.1       deraadt  6784: # From: <goldberger@su-csli.arpa>
                   6785: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   6786: dmchat|dmchat version of datamedia 2500:\
                   6787:        :km:\
                   6788:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
1.2       deraadt  6789: # (dm3025: ":MT:" changed to ":km:" -- esr)
1.1       deraadt  6790: dm3025|datamedia 3025a:\
1.2       deraadt  6791:        :km:\
                   6792:        :co#80:it#8:li#24:\
1.5     ! tholo    6793:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
        !          6794:        :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
        !          6795:        :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
        !          6796:        :so=\EO1:ta=^I:up=\EA:
1.1       deraadt  6797: dm3045|datamedia 3045a:\
1.2       deraadt  6798:        :am:eo:km@:ul:xn:\
1.5     ! tholo    6799:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
        !          6800:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
        !          6801:        :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
        !          6802:        :tc=dm3025:
1.2       deraadt  6803: # Datamedia DT80 soft switches:
                   6804: # 1    0=Jump  1=Smooth
                   6805: #      Autorepeat      0=off  1=on
                   6806: #      Screen          0=Dark 1=light
                   6807: #      Cursor          0=u/l  1=block
                   6808: #
                   6809: # 2    Margin Bell     0=off  1=on
                   6810: #      Keyclick        0=off  1=on
                   6811: #      Ansi/VT52       0=VT52 1=Ansi
                   6812: #      Xon/Xoff        0=Off  1=On
                   6813: #
                   6814: # 3    Shift3          0=Hash 1=UK Pound
                   6815: #      Wrap            0=Off  1=On
                   6816: #      Newline         0=Off  1=On
                   6817: #      Interlace       0=Off  1=On
                   6818: #
                   6819: # 4    Parity          0=Odd  1=Even
                   6820: #      Parity          0=Off  1=On
                   6821: #      Bits/Char       0=7    1=8
                   6822: #      Power           0=60Hz 1=50Hz
                   6823: #
                   6824: # 5    Line Interface  0=EIA  1=Loop
                   6825: #      Aux Interface   0=EIA  1=Loop
                   6826: #      Local Copy      0=Off  1=On
                   6827: #      Spare
                   6828: #
                   6829: # 6    Aux Parity      0=Odd  1=Even
                   6830: #      Aux Parity      0=Off  1=On
                   6831: #      Aux Bits/Char   0=7    1=8
                   6832: #      CRT Saver       0=Off  1=On
1.1       deraadt  6833: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   6834: dm80|dmdt80|dt80|datamedia dt80/1:\
                   6835:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
1.5     ! tholo    6836:        :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
        !          6837:        :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
        !          6838:        :tc=vt100:
1.1       deraadt  6839: # except in 132 column mode, where it needs a little padding.
                   6840: # This is still less padding than the vt100, and you can always turn on
                   6841: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   6842: # reverse video.
                   6843: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
                   6844:        :co#132:\
1.5     ! tholo    6845:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
        !          6846:        :do=^J:up=5\E[A:\
        !          6847:        :tc=dm80:
1.1       deraadt  6848: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5     ! tholo    6849: dt80-sas|Datamedia DT803/DTX for SAS usage:\
1.1       deraadt  6850:        :am:bw:\
                   6851:        :co#80:li#24:\
1.5     ! tholo    6852:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt  6853:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
                   6854:        :cm=\E=%r%+ %+ :cr=^M:\
                   6855:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
1.5     ! tholo    6856:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
        !          6857:        :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
        !          6858:        :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
        !          6859:        :sr=\EI:st=\E'1:ta=^I:up=^_:
        !          6860:
        !          6861: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
        !          6862: # These aren't end-all Excel termcaps; but do insert/delete char/line
        !          6863: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
        !          6864: # The naming convention has been bent somewhat, with the use of E? (where
        !          6865: # E is for 'Excel') as # a name.  This was done to distinguish the entries
        !          6866: # from the other Datamedias in use here, and yet to associate a model of
        !          6867: # the Excel terminals with the regular datamedia terminals that share
        !          6868: # major characteristics.
        !          6869: excel62|excel64|datamedia Excel 62:\
        !          6870:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          6871:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
        !          6872:        :tc=dt80:
        !          6873: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
        !          6874:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          6875:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
        !          6876:        :tc=dt80w:
        !          6877: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
        !          6878:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
        !          6879:        :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
        !          6880:        :tc=dt80:
1.1       deraadt  6881:
                   6882: #### Falco
                   6883: #
                   6884: #      Falco Data Products
                   6885: #      440 Potrero Avenue
                   6886: #      Sunnyvale, CA 940864-196
                   6887: #      Vox: (800)-325-2648
                   6888: #      Fax: (408)-745-7860
                   6889: #      Net: techsup@charm.sys.falco.com
                   6890: #
                   6891: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   6892: # emulations of DEC VT-series, Wyse, and Televideo types.
                   6893:
1.2       deraadt  6894: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1.1       deraadt  6895: # This terminal was released around 1983 and was discontinued long ago.
1.5     ! tholo    6896: # The standout and underline highlights are the same.
1.1       deraadt  6897: falco|ts1|ts-1|falco ts-1:\
1.2       deraadt  6898:        :am:\
                   6899:        :co#80:it#8:li#24:\
1.5     ! tholo    6900:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
        !          6901:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
        !          6902:        :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
        !          6903:        :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
1.1       deraadt  6904: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
1.2       deraadt  6905:        :am:da:db:mi:ms:ul:\
                   6906:        :co#80:it#8:li#24:\
1.5     ! tholo    6907:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
        !          6908:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
        !          6909:        :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          6910:        :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
        !          6911:        :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
1.2       deraadt  6912: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  6913: ts100|ts100-sp|falco ts100-sp:\
                   6914:        :am:mi:ms:xn:xo:\
                   6915:        :co#80:it#8:li#24:vt#3:\
1.5     ! tholo    6916:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          6917:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  6918:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   6919:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   6920:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5     ! tholo    6921:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
        !          6922:        :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          6923:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        !          6924:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          6925:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          6926:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  6927:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   6928:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   6929:        :ue=\E[m:up=\E[A:us=\E[4m:
                   6930: ts100-ctxt|falco ts-100 saving context:\
                   6931:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
                   6932:
                   6933: #### Florida Computer Graphics
                   6934: #
                   6935:
1.2       deraadt  6936: # Florida Computer Graphics Beacon System, using terminal emulator program
                   6937: # "host.com", as provided by FCG.  This description is for an early release
1.5     ! tholo    6938: # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
1.2       deraadt  6939: # commented out.
                   6940:
                   6941: # From: David Bryant <cbosg!djb> 1/7/83
1.1       deraadt  6942: beacon|FCG Beacon System:\
                   6943:        :am:da:db:\
                   6944:        :co#80:li#32:\
                   6945:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
1.5     ! tholo    6946:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
        !          6947:        :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
1.1       deraadt  6948:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
                   6949:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
                   6950:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
                   6951:        :so=\ESTART\r\E70\0546\r\EEND\r:\
                   6952:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
                   6953:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
                   6954:        :us=\ESTART\r\E60\0541\r\EEND\r:
                   6955:
                   6956: #### Fluke
                   6957: #
                   6958:
                   6959: # The 1720a differences from ANSI: no auto margin, destructive
                   6960: # tabs, # of lines, funny highlighting and underlining
                   6961: f1720|f1720a|fluke 1720A:\
                   6962:        :xt:\
                   6963:        :co#80:li#16:sg#1:ug#1:\
1.5     ! tholo    6964:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          6965:        :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
        !          6966:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
        !          6967:        :us=\E[4m:
1.1       deraadt  6968:
                   6969: #### Liberty Electronics (Freedom)
                   6970: #
                   6971: #      Liberty Electronics
                   6972: #      48089 Fremont Blvd
                   6973: #      Fremont CA 94538
                   6974: #      Vox: (510)-623-6000
                   6975: #      Fax: (510)-623-7021
                   6976:
                   6977: # From: <faletti@berkeley.edu>
1.5     ! tholo    6978: # (f100: added empty <acsc> to suppress a tic warning;
        !          6979: # made this relative to adm+sgr -- note that <invis> isn't
        !          6980: # known to work for f100 but does on the f110. --esr)
1.1       deraadt  6981: f100|freedom|freedom100|freedom model 100:\
                   6982:        :am:bw:hs:mi:ms:xo:\
                   6983:        :co#80:li#24:\
1.5     ! tholo    6984:        :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
1.3       deraadt  6985:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
1.5     ! tholo    6986:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
        !          6987:        :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          6988:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
        !          6989:        :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
        !          6990:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
        !          6991:        :tc=adm+sgr:
1.1       deraadt  6992: f100-rv|freedom-rv|freedom 100 in reverse video:\
                   6993:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
                   6994: # The f110 and f200 have problems with vi(1).  They use the ^V
                   6995: # code for the down cursor key. When kcud1 is defined in terminfo
                   6996: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   6997: # is lost! It cannot be remapped in vi because it is necessary to enter
                   6998: # a ^V to to quote the ^V that is being remapped!!!
                   6999: #
1.5     ! tholo    7000: # f110/f200 users will have to decide whether
1.1       deraadt  7001: # to lose the down cursor key or the quoting capability. We will opt
                   7002: # initially for leaving the quoting capability out, since use of VI
                   7003: # is not generally applicable to most interactive applications
1.5     ! tholo    7004: # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
1.1       deraadt  7005: f110|freedom110|Liberty Freedom 110:\
1.2       deraadt  7006:        :bw@:es:\
                   7007:        :it#8:ws#80:\
1.5     ! tholo    7008:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
        !          7009:        :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
        !          7010:        :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
        !          7011:        :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
        !          7012:        :tc=f100:
1.1       deraadt  7013: f110-14|Liberty Freedom 110 14inch:\
                   7014:        :dc@:tc=f110:
                   7015: f110-w|Liberty Freedom 110 - 132 cols:\
1.3       deraadt  7016:        :co#132:tc=f110:
1.1       deraadt  7017: f110-14w|Liberty Freedom 110 14in/132 cols:\
                   7018:        :co#132:\
                   7019:        :dc@:tc=f110:
1.5     ! tholo    7020: # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  7021: f200|freedom200|Liberty Freedom 200:\
                   7022:        :am:es:hs:mi:ms:xo:\
                   7023:        :co#80:it#8:li#24:ws#80:\
1.5     ! tholo    7024:        :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
        !          7025:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
        !          7026:        :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
        !          7027:        :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          7028:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
        !          7029:        :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
        !          7030:        :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
        !          7031:        :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
        !          7032:        :vi=\E.0:vs=\E.1:\
        !          7033:        :tc=adm+sgr:
1.1       deraadt  7034: f200-w|Liberty Freedom 200 - 132 cols:\
1.3       deraadt  7035:        :co#132:tc=f200:
1.5     ! tholo    7036: # The f200 has the ability to reprogram the down cursor key. The key is
        !          7037: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
        !          7038: # so powering the terminal off and on will not cause the change to be lost.
1.1       deraadt  7039: f200vi|Liberty Freedom 200 for vi:\
1.2       deraadt  7040:        :kd=^J:vb=\Eb\Ed:tc=f200:
1.1       deraadt  7041: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
1.3       deraadt  7042:        :co#132:tc=f200vi:
1.1       deraadt  7043:
                   7044: #### GraphOn (go)
                   7045: #
                   7046: #      Graphon Corporation
                   7047: #      544 Division Street
                   7048: #      Campbell, CA 95008
                   7049: #      Vox: (408)-370-4080
                   7050: #      Fax: (408)-370-5047
                   7051: #      Net: troy@graphon.com (Troy Morrison)
                   7052: #
                   7053: #
                   7054: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   7055: # including one odd hybrid that starts out life on power-up as a character
                   7056: # terminal, than can be switched to X graphics mode (driven over the serial
                   7057: # line) by an escape sequence.  No info on this beast yet.
1.2       deraadt  7058: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7059: go140|graphon go-140:\
1.2       deraadt  7060:        :co#80:it#8:li#24:\
1.3       deraadt  7061:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
1.5     ! tholo    7062:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
        !          7063:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  7064:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
1.5     ! tholo    7065:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
        !          7066:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
        !          7067:        :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          7068:        :up=\E[A:us=\E[4m:
1.1       deraadt  7069: go140w|graphon go-140 in 132 column mode:\
1.2       deraadt  7070:        :am:\
1.1       deraadt  7071:        :co#132:\
                   7072:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
                   7073: # Hacked up vt200 termcap to handle GO-225/VT220
                   7074: # From: <edm@nwnexus.WA.COM>
1.2       deraadt  7075: # (go225: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7076: go225|go-225|Graphon 225:\
1.2       deraadt  7077:        :am:mi:xn:\
                   7078:        :co#80:it#8:li#25:vt#3:\
1.5     ! tholo    7079:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          7080:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
        !          7081:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          7082:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
        !          7083:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
        !          7084:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          7085:        :mr=\E[7m:nd=\E[C:r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
1.3       deraadt  7086:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                   7087:        :so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
                   7088:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  7089:
                   7090: #### Harris (Beehive)
                   7091: #
                   7092: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   7093: # Their terminal group is ancient history now (1995) though the parent
                   7094: # company is still in business.
                   7095: #
                   7096:
                   7097: # Beehive documentation is undated and marked Preliminary and has no figures
                   7098: # so we must have early Superbee2 (Model 600, according to phone conversation
                   7099: # with mfr.). It has proved reliable except for some missing padding
1.2       deraadt  7100: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  7101: #
1.5     ! tholo    7102: # The key idea is that AEP mode is poison for :cm: & that US's in
1.1       deraadt  7103: # the local memory should be avoided like the plague. That means
                   7104: # that the 2048 character local buffer is used as 25 lines of 80
                   7105: # characters, period. No scrolling local memory, folks. It also
                   7106: # appears that we cannot use naked INS LINE feature since it uses
1.5     ! tholo    7107: # US. The sbi fakes :al: with an 80-space insert that may be too
1.1       deraadt  7108: # slow at low speeds; also spaces get converted to \040 which is
                   7109: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   7110: #
1.2       deraadt  7111: # The <nl> string is designed for last line of screen ONLY; cup to
1.1       deraadt  7112: # 25th line corrects the motion inherent in scrolling to Page 1.
                   7113: #
                   7114: # There is one understood bug. It is that the screen appears to
1.5     ! tholo    7115: # pop to a new (blank) page after a :nw:, or leave a half-line
1.3       deraadt  7116: # ellipsis to a quad that is the extra 48 memory locations. The
1.1       deraadt  7117: # data received is dumped into memory but not displayed.  Not to
1.5     ! tholo    7118: # worry if :cm: is being used; the lines not displayed will be,
        !          7119: # whenever the cursor is moved up there. Since :cm: is addressed
1.1       deraadt  7120: # relative to MEMORY of window, nothing is lost; but beware of
1.5     ! tholo    7121: # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
1.2       deraadt  7122: # therefore, is setenv MORE -c .
1.1       deraadt  7123: #
                   7124: # WARNING: Not all features tested.
                   7125: #
                   7126: # Timings are assembled from 3 sources. Some timings may reflect
                   7127: # SB2/Model 300 that were used if more conservative.
                   7128: # Tested on a Model 600 at 1200 and 9600 bd.
                   7129: #
                   7130: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   7131: # placed on the keyboard and useless because of AEP, is made
                   7132: # into a backspace key. In use ESC must be pressed twice (to send)
1.3       deraadt  7133: # and sending ^C must be prefixed by ESC to avoid that weird
1.1       deraadt  7134: # transmit mode associated with ENTER key.
                   7135: #
                   7136: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   7137: # the screen, then it has dropped into ENTER mode; hit
                   7138: # RESET--ONLINE--!tset.
                   7139: #
                   7140: # As delivered this machine has a FATAL feature that will throw
                   7141: # it into that strange transmit state (SPOW) if the space bar is
                   7142: # hit after a CR is received, but before receiving a LF (or a
                   7143: # few others).
                   7144: #
                   7145: # The circuits MUST be modified to eliminate the SPOW latch.
                   7146: # This is done by strapping on chip A46 of the I/O board; cut
                   7147: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   7148: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   7149: # With this modification absurdly high timings on cr are
                   7150: # unnecessary.
                   7151: #
                   7152: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   7153: # not AEP!
                   7154: #
                   7155: sb1|beehive superbee:\
                   7156:        :am:bw:da:db:mi:ul:xb:\
                   7157:        :co#80:li#25:sg#1:ug#1:\
                   7158:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
1.5     ! tholo    7159:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
        !          7160:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
        !          7161:        :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
        !          7162:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
        !          7163:        :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          7164:        :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
        !          7165:        :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:ti=\EO:ue=\E_3:up=\EA:\
        !          7166:        :us=\E_0:
1.1       deraadt  7167: sbi|superbee|beehive superbee at Indiana U.:\
                   7168:        :xb:\
                   7169:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
                   7170: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   7171: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   7172: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   7173: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   7174: # the switch in the back set to CRLF instead of AEP.  This description
                   7175: # is tested on the sb2 but should work on all with either switch setting.
1.5     ! tholo    7176: # The f1/f2 business is for the sb1 and the :xb: can be taken out for
1.1       deraadt  7177: # the other two if you want to try to hit that tiny escape key.
                   7178: # This description is tricky: being able to use cup depends on there being
1.2       deraadt  7179: # 2048 bytes of memory and the hairy <nl> string.
1.1       deraadt  7180: superbee-xsb|beehive super bee:\
1.2       deraadt  7181:        :am:da:db:xb:\
                   7182:        :co#80:it#8:li#25:\
1.5     ! tholo    7183:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
        !          7184:        :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
        !          7185:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          7186:        :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
1.1       deraadt  7187:        :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
1.2       deraadt  7188:        :so=\E_1:st=\E1:ta=^I:up=\EA:ve=^J:
1.1       deraadt  7189: # This loses on lines > 80 chars long, use at your own risk
                   7190: superbeeic|super bee with insert char:\
                   7191:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
                   7192: sb2|sb3|fixed superbee:\
1.3       deraadt  7193:        :xb@:tc=superbee:
1.1       deraadt  7194:
                   7195: # Reports are that most of these Beehive entries (except superbee) have not
1.5     ! tholo    7196: # been tested and do not work right.  :se: is a trouble spot.  Be warned.
1.1       deraadt  7197:
1.5     ! tholo    7198: # (bee: :ic: was empty, which is obviously bogus -- esr)
1.1       deraadt  7199: beehive|bee|harris beehive:\
1.2       deraadt  7200:        :am:mi:\
1.1       deraadt  7201:        :co#80:li#24:\
1.5     ! tholo    7202:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
        !          7203:        :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
        !          7204:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
        !          7205:        :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
        !          7206:        :ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7207: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1.2       deraadt  7208: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
1.5     ! tholo    7209: # look at those spaces in :se:/:so:.  Seems strange to me...
        !          7210: # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
        !          7211: # really care, cook up one using ^F -- esr)
1.2       deraadt  7212: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
                   7213:        :am:\
                   7214:        :co#80:it#8:li#20:\
1.5     ! tholo    7215:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
        !          7216:        :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
1.1       deraadt  7217: beehive4|bh4|beehive 4:\
                   7218:        :am:\
                   7219:        :co#80:li#24:\
1.5     ! tholo    7220:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
        !          7221:        :sf=^J:up=\EA:
1.1       deraadt  7222: microb|microbee|micro bee series:\
1.2       deraadt  7223:        :am:\
                   7224:        :co#80:it#8:li#24:\
1.5     ! tholo    7225:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
        !          7226:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
        !          7227:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
        !          7228:        :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7229:
                   7230: # 8675, 8686, and bee from Cyrus Rahman
                   7231: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   7232: ha8675|harris 8675:\
1.3       deraadt  7233:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
1.5     ! tholo    7234:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
        !          7235:        :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
        !          7236:        :tc=bee:
1.1       deraadt  7237: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   7238: # in :is: -- esr)
                   7239: ha8686|harris 8686:\
1.3       deraadt  7240:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
                   7241:        :F5=\002\E~\003:F6=\002\E\177\003:\
1.1       deraadt  7242:        :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#:\
                   7243:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
1.5     ! tholo    7244:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
1.1       deraadt  7245:
                   7246: #### Hazeltine
                   7247: #
                   7248: # Hazeltine appears to be out of the business now (1995).  These guys were
                   7249: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
1.2       deraadt  7250: # They have a hazeltine.com domain and can be reached at:
                   7251: #
                   7252: #      Hazeltine
                   7253: #      450 East Pulaski Road
                   7254: #      Greenlawn, New York 11740
1.1       deraadt  7255: #
1.2       deraadt  7256: # As late as 1993, manuals for the terminal product line could still be
                   7257: # purchased from:
1.1       deraadt  7258: #
1.2       deraadt  7259: #      TRW Customer Service Division
                   7260: #      15 Law Drive
                   7261: #      P.O. Box 2076
                   7262: #      Fairfield, NJ 07007-2078
1.1       deraadt  7263: #
1.2       deraadt  7264:
1.5     ! tholo    7265: # Since :nd: is blank, when you want to erase something you
1.1       deraadt  7266: # are out of luck.  You will have to do ^L's a lot to
                   7267: # redraw the screen.  h1000 is untested.  It doesn't work in
                   7268: # vi - this terminal is too dumb for even vi.  (The code is
                   7269: # there but it isn't debugged for this case.)
1.3       deraadt  7270: hz1000|hazeltine 1000:\
1.1       deraadt  7271:        :co#80:li#12:\
                   7272:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
                   7273: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1.3       deraadt  7274: hz1420|hazeltine 1420:\
1.2       deraadt  7275:        :am:\
1.1       deraadt  7276:        :co#80:li#24:\
1.5     ! tholo    7277:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
        !          7278:        :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
        !          7279:        :up=\E^L:
1.2       deraadt  7280: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   7281: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   7282: # receive tildes.
1.3       deraadt  7283: hz1500|hazeltine 1500:\
1.2       deraadt  7284:        :am:hz:\
1.1       deraadt  7285:        :co#80:li#24:\
                   7286:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
1.5     ! tholo    7287:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
        !          7288:        :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
        !          7289:        :up=~^L:
1.1       deraadt  7290: # h1510 assumed to be in sane escape mode.  Else use h1500.
1.5     ! tholo    7291: # (h1510: early versions of this entry apparently had ":se=\E^_:,
        !          7292: # :so=\E^Y:, but these caps were commented out in 8.3; also,
1.2       deraadt  7293: # removed incorrect and overridden ":do=^J:" -- esr)
1.3       deraadt  7294: hz1510|hazeltine 1510:\
1.2       deraadt  7295:        :am:\
1.1       deraadt  7296:        :co#80:li#24:\
1.5     ! tholo    7297:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
        !          7298:        :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
1.1       deraadt  7299: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
1.3       deraadt  7300: hz1520|hazeltine 1520:\
1.2       deraadt  7301:        :am:hz:\
1.1       deraadt  7302:        :co#80:li#24:\
1.5     ! tholo    7303:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
        !          7304:        :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
1.1       deraadt  7305: # Note: the h1552 appears to be the first Hazeltine terminal which
                   7306: # is not braindamaged.  It has tildes and backprimes and everything!
                   7307: # Be sure the auto lf/cr switch is set to cr.
1.3       deraadt  7308: hz1552|hazeltine 1552:\
1.5     ! tholo    7309:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
        !          7310:        :l3=green:\
        !          7311:        :tc=vt52:
1.3       deraadt  7312: hz1552-rv|hazeltine 1552 reverse video:\
                   7313:        :do=^J:se=\ET:so=\ES:tc=hz1552:
1.1       deraadt  7314: # Note: h2000 won't work well because of a clash between upper case and ~'s.
1.3       deraadt  7315: hz2000|hazeltine 2000:\
1.2       deraadt  7316:        :am:nc:\
1.1       deraadt  7317:        :co#74:li#27:\
1.5     ! tholo    7318:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
        !          7319:        :ho=~^R:le=^H:pc=\177:sf=^J:
1.1       deraadt  7320: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   7321: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   7322: # to work ok. There is one problem though if one types a lot of garbage
                   7323: # characters very fast vi seems not able to keep up and hangs while trying
                   7324: # to insert. That's in insert mode while trying to insert in the middle of
                   7325: # a line. It might be because the Esprit doesn't have insert char and delete
                   7326: # char as a built in function. Vi has to delete to end of line and then
                   7327: # redraw the rest of the line.
                   7328: esprit|Hazeltine Esprit I:\
                   7329:        :am:bw:\
                   7330:        :co#80:li#24:\
                   7331:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
1.5     ! tholo    7332:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
        !          7333:        :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
        !          7334:        :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
        !          7335:        :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
        !          7336:        :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
        !          7337:        :up=\E^L:
1.1       deraadt  7338: esprit-am|hazeltine esprit auto-margin:\
1.3       deraadt  7339:        :am:tc=esprit:
1.1       deraadt  7340:
                   7341: #### IBM
                   7342: #
                   7343:
                   7344: ibm327x|line mode IBM 3270 style:\
                   7345:        :gn:\
                   7346:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  7347:
                   7348: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  7349: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
1.5     ! tholo    7350: # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
1.1       deraadt  7351: ibm3101|i3101|IBM 3101-10:\
1.2       deraadt  7352:        :am:xo:\
1.1       deraadt  7353:        :co#80:li#24:\
1.5     ! tholo    7354:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
        !          7355:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.1       deraadt  7356:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   7357: #   Received from the IBM terminals division (given to DRB)
                   7358: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  7359: ibm3151|i3151|IBM 3151:\
1.1       deraadt  7360:        :me=\E4@:\
                   7361:        :..sa=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c:\
1.5     ! tholo    7362:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:\
        !          7363:        :tc=ibm3163:
1.1       deraadt  7364: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  7365: # I've commented out or translated some IBM extensions.
1.1       deraadt  7366: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
                   7367:        :am:mi:ms:\
                   7368:        :co#80:it#8:li#24:\
1.3       deraadt  7369:        :F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
                   7370:        :F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
                   7371:        :FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
                   7372:        :ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
1.5     ! tholo    7373:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
        !          7374:        :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
        !          7375:        :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
        !          7376:        :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
        !          7377:        :kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          7378:        :kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
1.3       deraadt  7379:        :mr=\E4A:nd=\EC:\
1.1       deraadt  7380:        :..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<@%;:\
1.5     ! tholo    7381:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
        !          7382:        :us=\E4B:
1.1       deraadt  7383:
                   7384: # How the 3164 sgr string works:
                   7385: #      %{32}           # push space for no special video characteristics
                   7386: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   7387: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   7388: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   7389: #      %c              # pop Pa1
                   7390: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   7391: #      %c              # pop Pa2
                   7392: #      %{64}           # use only black background for now
                   7393: #      %c              # pop Pa3
1.2       deraadt  7394: ibm3164|i3164|IBM 3164:\
1.1       deraadt  7395:        :mb=\E4D:md=\E4H:me=\E4@:\
                   7396:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   7397:
                   7398: ibmaed|IBM Experimental display:\
1.2       deraadt  7399:        :am:eo:ms:\
                   7400:        :co#80:it#8:li#52:\
1.5     ! tholo    7401:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
        !          7402:        :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
        !          7403:        :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
        !          7404:        :vb=\EG:
1.1       deraadt  7405: ibm-apl|apl|IBM apl terminal simulator:\
1.3       deraadt  7406:        :li#25:tc=dm1520:
1.1       deraadt  7407: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   7408: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   7409: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  7410:        :es:hs:\
1.5     ! tholo    7411:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
        !          7412:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
        !          7413:        :kF=\EE:kI=\200:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
        !          7414:        :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
        !          7415:        :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
        !          7416:        :tc=ibm3101:
1.2       deraadt  7417: ibmega|ibm5154|IBM Enhanced Color Display:\
                   7418:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.1       deraadt  7419: ibmega-c|ibm5154-c|IBM Enhanced Color Display:\
                   7420:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
1.2       deraadt  7421: ibmvga-c|IBM VGA display color termcap:\
                   7422:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   7423: ibmvga|IBM VGA display:\
                   7424:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  7425: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   7426: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   7427:        :li#32:\
                   7428:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   7429: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   7430: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   7431:        :li#31:\
                   7432:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   7433: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   7434:        :li#31:\
                   7435:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   7436: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   7437: # also in /usr/lpp/bos/bsdsysadmin.
                   7438: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   7439: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   7440: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  7441: # I also added <rmam>/<smam> based on the terminal reset string.
1.5     ! tholo    7442: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
        !          7443: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
        !          7444: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
1.1       deraadt  7445: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   7446:        :am:mi:ms:\
                   7447:        :co#80:it#8:li#25:\
1.5     ! tholo    7448:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ac=:ae=^O:al=\E[L:\
        !          7449:        :as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:\
        !          7450:        :dm=\E[4h:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:\
        !          7451:        :im=\E[4h:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
        !          7452:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
        !          7453:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:\
        !          7454:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          7455:        :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
        !          7456:        :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
        !          7457:        :us=\E[4m:
1.1       deraadt  7458: hft|AIWS High Function Terminal:\
                   7459:        :am:xo:\
                   7460:        :co#80:li#25:\
                   7461:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5     ! tholo    7462:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
        !          7463:        :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
        !          7464:        :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
        !          7465:        :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
        !          7466:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          7467:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
        !          7468:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  7469: ibm-system1|system1|ibm system/1 computer:\
                   7470:        :am:xt:\
                   7471:        :co#80:li#24:\
1.5     ! tholo    7472:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
1.2       deraadt  7473:
1.1       deraadt  7474: # From: <pryor@math.berkeley.edu>
                   7475: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
                   7476:        :es:hs:\
                   7477:        :li#33:\
                   7478:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
                   7479: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
                   7480:        :es:hs:\
                   7481:        :li#33:\
                   7482:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  7483: ibm8514|IBM 8514 color display:\
                   7484:        :es:hs:\
                   7485:        :li#41:\
1.5     ! tholo    7486:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
        !          7487:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
        !          7488:        :tc=ibmega:
1.2       deraadt  7489: ibm8514-c|IBM 8514 color display:\
                   7490:        :es:hs:\
                   7491:        :li#41:\
1.5     ! tholo    7492:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
        !          7493:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
        !          7494:        :tc=ibmega-c:
1.2       deraadt  7495:
                   7496: #
                   7497: # AIX entries.  IBM ships these with AIX 3.
                   7498: # AIX extension caps are commented out,
                   7499: # except for box1 which has been translated to an <acsc> string.
                   7500: #
                   7501: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   7502:        :es:hs:\
1.5     ! tholo    7503:        :ac=llqqkkxxjjmmwwuuvvttnn:ds=\E[?E:fs=\E[?F:md=\E[1m:\
        !          7504:        :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  7505:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5     ! tholo    7506:        :sr@:ts=\E[?%p1%dT:\
        !          7507:        :tc=ibm6153:
1.2       deraadt  7508: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator:\
                   7509:        :es:hs:\
                   7510:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   7511:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5     ! tholo    7512:        :sr@:ts=\E[?%p1%dT:\
        !          7513:        :tc=ibm6153:
1.2       deraadt  7514: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.5     ! tholo    7515:        :ac@:\
        !          7516:        :tc=aixterm-m:
1.1       deraadt  7517:
                   7518: #### Infoton/General Terminal Corp.
                   7519: #
                   7520:
                   7521: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   7522: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.2       deraadt  7523:        :am:\
1.1       deraadt  7524:        :co#80:li#24:\
1.5     ! tholo    7525:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
        !          7526:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
        !          7527:        :vb=\Eb\Ea:
1.1       deraadt  7528: i400|infoton 400:\
1.2       deraadt  7529:        :am:\
1.1       deraadt  7530:        :co#80:li#25:\
                   7531:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   7532:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
1.5     ! tholo    7533:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  7534: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   7535: addrinfo:\
                   7536:        :am:\
                   7537:        :co#80:li#24:\
1.5     ! tholo    7538:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
        !          7539:        :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
        !          7540: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
1.1       deraadt  7541: infoton:\
                   7542:        :am:\
                   7543:        :co#80:li#24:\
1.5     ! tholo    7544:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
        !          7545:        :up=^\:
1.1       deraadt  7546:
                   7547: #### Interactive Systems Corp
                   7548: #
                   7549: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   7550: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   7551: # bought out by Sun.
                   7552: #
                   7553:
                   7554: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  7555: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  7556: # ":le=^_:" later overridden -- esr)
                   7557: intext|Interactive Systems Corporation modified owl 1200:\
                   7558:        :am:\
1.2       deraadt  7559:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  7560:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
1.5     ! tholo    7561:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
        !          7562:        :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
        !          7563:        :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
        !          7564:        :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
        !          7565:        :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
1.1       deraadt  7566: intext2|intextii|INTERACTIVE modified owl 1251:\
                   7567:        :am:bw:ul:\
                   7568:        :co#80:li#24:sg#0:\
1.3       deraadt  7569:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
                   7570:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   7571:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
1.5     ! tholo    7572:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
        !          7573:        :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
        !          7574:        :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
        !          7575:        :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
        !          7576:        :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
        !          7577:        :up=\E[A:us=\E[18 D:\
1.2       deraadt  7578:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  7579:
                   7580: #### Kimtron (abm, kt)
                   7581: #
1.2       deraadt  7582: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   7583: # enter bold mode, enter reverse mode, turn off all attributes.
                   7584: #
1.1       deraadt  7585:
                   7586: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  7587: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  7588: abm85|Kimtron ABM 85:\
1.2       deraadt  7589:        :am:bw:ms:\
                   7590:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5     ! tholo    7591:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
        !          7592:        :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
1.1       deraadt  7593:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.5     ! tholo    7594:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
        !          7595:        :up=^K:us=\El:
1.1       deraadt  7596: # Kimtron ABM 85H added by Dual Systems.
                   7597: # Some notes about the 85h entries:
1.2       deraadt  7598: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  7599: #    firmware revs prior to SP51
                   7600: # 2) Make sure to use 85h entry if the terminal is in 85H mode and the
                   7601: #    85e entry if it is in 920 emulation mode. They are incompatible in
1.5     ! tholo    7602: #    some places and NOT software settable i.e., :is: can't fix it)
1.1       deraadt  7603: # 3) In 85h mode, the arrow keys and special functions transmit when
                   7604: #    the terminal is in dup-edit, and work only locally in local-edit.
1.5     ! tholo    7605: #    Vi won't swallow `del char' for instance, but :ti: turns on
1.1       deraadt  7606: #    dup-edit anyway so that the arrow keys will work right. If the
1.5     ! tholo    7607: #    arrow keys don't work the way you like, change :ti:, :te:, and
        !          7608: #    :is:.  Note that 920E mode does not have software commands to toggle
1.2       deraadt  7609: #    between dup and local edit, so you get whatever was set last on the
                   7610: #    terminal.
1.5     ! tholo    7611: # 4) :vb: attribute is nice, but seems too slow to work correctly
        !          7612: #    (\Eb:pc:\Ed)
1.1       deraadt  7613: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  7614: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  7615: # 6) auto new-line should be on (selectable from setup mode only)
                   7616: #
                   7617: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  7618: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  7619:        :hs:\
1.5     ! tholo    7620:        :sg@:\
1.2       deraadt  7621:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  7622:        :is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
1.5     ! tholo    7623:        :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
        !          7624:        :tc=adm+sgr:tc=abm85:
1.2       deraadt  7625: abm85e|Kimtron ABM 85H in 920E mode:\
                   7626:        :sg@:\
                   7627:        :bl=^G:im=\EZ:\
1.1       deraadt  7628:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
1.5     ! tholo    7629:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
        !          7630:        :tc=abm85:
1.2       deraadt  7631: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   7632:        :sg@:\
                   7633:        :bl=^G:im=\EZ:\
1.1       deraadt  7634:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.5     ! tholo    7635:        :me=\E(\Ek:mh=\E):mr=\Ej:\
        !          7636:        :tc=abm85:
1.1       deraadt  7637: # From: <malman@bbn-vax.arpa>
1.2       deraadt  7638: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  7639: kt7|kimtron model kt-7:\
1.2       deraadt  7640:        :am:\
                   7641:        :co#80:it#8:li#24:\
1.5     ! tholo    7642:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
        !          7643:        :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
1.1       deraadt  7644:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
1.5     ! tholo    7645:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          7646:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
        !          7647:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
        !          7648:        :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
        !          7649:        :tc=adm+sgr:
1.1       deraadt  7650:
                   7651: #### Microterm (act, mime)
                   7652: #
                   7653: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   7654: # The default mime is assumed to be in enhanced act iv mode.
                   7655: #
                   7656:
1.2       deraadt  7657: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1.5     ! tholo    7658: # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
        !          7659: # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
1.2       deraadt  7660: # since Sytek insists ^S means xoff.
1.1       deraadt  7661: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   7662: act4|microterm|microterm act iv:\
1.2       deraadt  7663:        :am:\
1.1       deraadt  7664:        :co#80:li#24:\
                   7665:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   7666:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
1.5     ! tholo    7667:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
        !          7668:        :sf=^J:up=^Z:
1.1       deraadt  7669: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   7670: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   7671: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   7672: act5|microterm5|microterm act v:\
                   7673:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   7674: # Mimes using brightness for standout.  Half bright is really dim unless
                   7675: # you turn up the brightness so far that lines show up on the screen.
                   7676: mime-fb|full bright mime1:\
                   7677:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   7678: mime-hb|half bright mime1:\
                   7679:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   7680: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  7681: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  7682: # uc was at one time disabled to get around a curses bug, be wary of it
                   7683: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.2       deraadt  7684:        :am:\
1.1       deraadt  7685:        :co#80:it#8:li#24:vt#9:\
1.5     ! tholo    7686:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
        !          7687:        :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
        !          7688:        :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
1.1       deraadt  7689: # These termcaps (for mime 2a) put the terminal in low intensity mode
                   7690: # since high intensity mode is so obnoxious.
                   7691: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.2       deraadt  7692:        :am:\
1.1       deraadt  7693:        :co#80:li#24:\
1.5     ! tholo    7694:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
        !          7695:        :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
        !          7696:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
        !          7697:        :ue=\E7:up=\EI:us=\E6:
1.1       deraadt  7698: # This is the preferred mode (but ^X can't be used as a kill character)
                   7699: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
                   7700:        :co#80:it#8:li#24:\
1.5     ! tholo    7701:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
        !          7702:        :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
        !          7703:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
        !          7704:        :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
1.1       deraadt  7705: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   7706: mime3a|mime1 emulating 3a:\
                   7707:        :am@:\
                   7708:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   7709: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   7710:        :it#8:\
                   7711:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   7712: # Wed Mar  9 18:53:21 1983
                   7713: # We run our terminals at 2400 baud, so there might be some timing problems at
                   7714: # higher speeds. The major improvements in this model are the terminal now
                   7715: # scrolls down and insert mode works without redrawing the rest of the line
                   7716: # to the right of the cursor. This is done with a bit of a kludge using the
                   7717: # exit graphics mode to get out of insert, but it does not appear to hurt
                   7718: # anything when using vi at least. If you have some users using act4s with
                   7719: # programs that use curses and graphics mode this could be a problem.
                   7720: mime314|mm314|mime 314:\
                   7721:        :am:\
                   7722:        :co#80:li#24:\
1.5     ! tholo    7723:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
        !          7724:        :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
1.2       deraadt  7725: # Microterm mime 340 from University of Wisconsin
                   7726: mm340|mime340|mime 340:\
                   7727:        :co#80:li#24:\
                   7728:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
1.5     ! tholo    7729:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
        !          7730:        :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
1.2       deraadt  7731: # This came from University of Wisconsin marked "astro termcap for jooss".
                   7732: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   7733: # also added <rmam>/<smam> based  on the init string -- esr)
                   7734: mt4520-rv|micro-term 4520 reverse video:\
                   7735:        :am:hs:ms:xn:xo:\
                   7736:        :co#80:it#8:li#24:ws#80:\
                   7737:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  7738:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5     ! tholo    7739:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          7740:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
        !          7741:        :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
1.2       deraadt  7742:        :is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
1.5     ! tholo    7743:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
        !          7744:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
1.3       deraadt  7745:        :nd=\E[C:nw=\EE:\
                   7746:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
1.5     ! tholo    7747:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
        !          7748:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
        !          7749:        :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
        !          7750:        :vs=\E7\E[0U:
1.2       deraadt  7751:
1.1       deraadt  7752: # Fri Aug  5 08:11:57 1983
                   7753: # This entry works for the ergo 4000 with the following setups:
                   7754: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   7755: # setup a & c.
                   7756: #
                   7757: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   7758: # Be advised that very early versions DO NOT WORK RIGHT !!
                   7759: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  7760: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7761: ergo4000|microterm ergo 4000:\
                   7762:        :da:db:ms:\
                   7763:        :co#80:li#66:\
1.5     ! tholo    7764:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
        !          7765:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
        !          7766:        :do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  7767:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
1.5     ! tholo    7768:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
        !          7769:        :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
        !          7770:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
1.1       deraadt  7771:
                   7772: #### NCR
                   7773: #
                   7774: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   7775: # For what happened to that group, see the ADDS section.
                   7776: #
1.5     ! tholo    7777: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
        !          7778: #
1.1       deraadt  7779:
1.2       deraadt  7780: # NCR7900 DIP switches:
                   7781: #
                   7782: # Switch A:
                   7783: # 1-4 - Baud Rate
                   7784: # 5   - Parity (Odd/Even)
                   7785: # 6   - Don't Send or Do Send Spaces
                   7786: # 7   - Parity Enable
                   7787: # 8   - Stop Bits (One/Two)
                   7788: #
                   7789: # Switch B:
                   7790: # 1   - Upper/Lower Shift
                   7791: # 2   - Typewriter Shift
                   7792: # 3   - Half Duplex / Full Duplex
                   7793: # 4   - Light/Dark Background
                   7794: # 5-6 - Carriage Return Without / With Line Feed
                   7795: # 7   - Extended Mode
                   7796: # 8   - Suppress Keyboard Display
                   7797: #
                   7798: # Switch C:
                   7799: # 1   - End of line entry disabled/enabled
                   7800: # 2   - Conversational mode / (Local?) Mode
                   7801: # 3   - Control characters displayed / not displayed
                   7802: # 4   - (2-wire?) / 4-wire communications
                   7803: # 5   - RTS on and off for each character
                   7804: # 6   - (50Hz?) / 60 Hz
                   7805: # 7   - Exit after level zero diagnostics
                   7806: # 8   - RS-232 interface
                   7807: #
                   7808: # Switch D:
                   7809: # 1   - Reverse Channel (yes / no)
                   7810: # 2   - Manual answer (no / yes)
                   7811: # 3-4 - Cursor appearance
                   7812: # 5   - Communication Rate
                   7813: # 6   - Enable / Disable EXT turnoff
                   7814: # 7   - Enable / Disable CR turnoff
                   7815: # 8   - Enable / Disable backspace
                   7816: #
1.1       deraadt  7817: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
                   7818: ncr7900i|7900i|ncr7900|7900|ncr 7900 model 1:\
                   7819:        :am:bw:ul:\
                   7820:        :co#80:li#24:sg#1:ug#1:\
                   7821:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
1.5     ! tholo    7822:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
        !          7823:        :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  7824:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   7825:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   7826: ncr7900iv|ncr 7900 model 4:\
                   7827:        :am:bw:es:hs:\
                   7828:        :co#80:li#24:\
1.5     ! tholo    7829:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
        !          7830:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
        !          7831:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
        !          7832:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
        !          7833:        :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
1.1       deraadt  7834: ncr7901|7901|ncr 7901 model:\
                   7835:        :am:bw:ul:\
                   7836:        :co#80:li#24:\
1.5     ! tholo    7837:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
        !          7838:        :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
        !          7839:        :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
        !          7840:        :po=^R:\
1.1       deraadt  7841:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
1.5     ! tholo    7842:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
        !          7843:        :vi=^W:
1.1       deraadt  7844:
                   7845: #### Perkin-Elmer (Owl)
                   7846: #
                   7847: # These are official terminfo entries from within Perkin-Elmer.
                   7848: #
                   7849:
                   7850: bantam|pe550|pe6100|perkin elmer 550:\
                   7851:        :co#80:li#24:\
1.5     ! tholo    7852:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
        !          7853:        :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
1.1       deraadt  7854: fox|pe1100|perkin elmer 1100:\
                   7855:        :am:\
                   7856:        :co#80:li#24:\
                   7857:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
1.5     ! tholo    7858:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
        !          7859:        :up=\EA:vb=\020\002\020\003:
1.1       deraadt  7860: owl|pe1200|perkin elmer 1200:\
                   7861:        :am:in:\
                   7862:        :co#80:li#24:\
1.5     ! tholo    7863:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
        !          7864:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
        !          7865:        :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
        !          7866:        :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:\
        !          7867:        :nd=\EC:se=\E!\200:sf=^J:so=\E!^H:st=\E1:up=\EA:\
        !          7868:        :vb=\020\002\020\003:
1.1       deraadt  7869: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   7870:        :am:\
                   7871:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
1.5     ! tholo    7872:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
        !          7873:        :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
        !          7874:        :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
        !          7875:        :nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  7876: # (pe7000m: this had
                   7877: #      rmul=\E!\0, smul=\E!\040,
                   7878: # which is probably wrong, it collides with kf0
1.1       deraadt  7879: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   7880:        :am:\
                   7881:        :co#80:li#24:\
1.5     ! tholo    7882:        :bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
        !          7883:        :do=\EB:ho=\EH:i1=\E!\200\EW  7o\Egf\ES7 :k0=\E!\200:\
        !          7884:        :k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:k5=\E!^E:k6=\E!^F:\
        !          7885:        :k7=\E!^G:k8=\E!^H:k9=\E!^I:k;=\E!^J:kb=^H:kd=\E!U:kh=\E!S:\
        !          7886:        :kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7 :nd=\EC:sf=^J:\
        !          7887:        :sr=\ER:up=\EA:
1.1       deraadt  7888: pe7000c|perkin elmer 7000 series colour monitor:\
1.2       deraadt  7889:        :i1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
1.5     ! tholo    7890:        :ue=\E!\200:us=\E! :\
        !          7891:        :tc=pe7000m:
1.1       deraadt  7892:
                   7893: #### Sperry Univac
                   7894: #
                   7895: # Sperry Univac has merged with Burroughs to form Unisys.
                   7896: #
                   7897:
                   7898: # This entry is for the Sperry UTS30 terminal running the TTY
                   7899: # utility under control of CP/M Plus 1R1. The functionality
                   7900: # provided is comparable to the DEC vt100.
1.2       deraadt  7901: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7902: uts30|sperry uts30 with cp/m@1R1:\
                   7903:        :am:bw:hs:\
                   7904:        :co#80:li#24:ws#40:\
                   7905:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  7906:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
1.5     ! tholo    7907:        :SR=\E[%dA:UP=\E[%dA:\
        !          7908:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          7909:        :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
        !          7910:        :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
        !          7911:        :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
        !          7912:        :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
        !          7913:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
1.3       deraadt  7914:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
1.5     ! tholo    7915:        :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
        !          7916:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
        !          7917:        :us=\E[4m:ve=\ES:vi=\ER:
1.1       deraadt  7918:
                   7919: #### Tandem
                   7920: #
                   7921: # Tandem builds these things for use with its line of fault-tolerant
                   7922: # transaction-processing computers.  They aren't generally available
                   7923: # on the merchant market, and so are fairly uncommon.
                   7924: #
                   7925:
                   7926: tandem6510|adm3a repackaged by Tandem:\
                   7927:        :tc=adm3a:
                   7928:
                   7929: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   7930: # have a fourth digit after 653 that designates minor variants.  These are
                   7931: # natively block-mode and rather ugly, but they have a character mode which
                   7932: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1.5     ! tholo    7933: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
        !          7934: # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
1.1       deraadt  7935: tandem653|t653x|Tandem 653x multipage terminal:\
1.2       deraadt  7936:        :am:da:db:hs:\
1.1       deraadt  7937:        :co#80:li#24:sg#1:ug#1:ws#64:\
1.5     ! tholo    7938:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
        !          7939:        :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
        !          7940:        :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
1.1       deraadt  7941:
                   7942: #### Tandy/Radio Shack
                   7943: #
                   7944: # Tandy has a line of VDTs distinct from its microcomputers.
                   7945: #
                   7946:
                   7947: dmterm|deskmate terminal:\
                   7948:        :am:bw:\
                   7949:        :co#80:li#24:\
1.5     ! tholo    7950:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
        !          7951:        :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
        !          7952:        :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
        !          7953:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
        !          7954:        :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
        !          7955:        :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
        !          7956:        :tc=adm+sgr:
1.1       deraadt  7957: dt100|dt-100|Tandy DT-100 terminal:\
                   7958:        :xo:\
                   7959:        :co#80:li#24:sg#1:ug#1:\
1.3       deraadt  7960:        :ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
1.5     ! tholo    7961:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
        !          7962:        :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
        !          7963:        :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
        !          7964:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
        !          7965:        :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          7966:        :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
        !          7967:        :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
        !          7968:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  7969: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3       deraadt  7970:        :co#132:tc=dt100:
1.1       deraadt  7971: dt110|Tandy DT-110 emulating ansi:\
                   7972:        :xo:\
                   7973:        :co#80:li#24:\
1.5     ! tholo    7974:        :@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:as=^N:\
        !          7975:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
        !          7976:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
        !          7977:        :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
        !          7978:        :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
        !          7979:        :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
        !          7980:        :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
        !          7981:        :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
        !          7982:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1.2       deraadt  7983:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  7984: pt210|TRS-80 PT-210 printing terminal:\
                   7985:        :hc:os:\
                   7986:        :co#80:\
                   7987:        :bl=^G:cr=^M:do=^J:sf=^J:
                   7988:
                   7989: #### Tektronix (tek)
                   7990: #
                   7991: # Tektronix tubes are graphics terminals.  Most of them use modified
                   7992: # oscilloscope technology incorporating a long-persistence green phosphor,
                   7993: # and support vector graphics on a main screen with an attached "dialogue
                   7994: # area" for interactive text.
                   7995: #
                   7996:
                   7997: tek|tek4012|4012|tektronix 4012:\
                   7998:        :os:\
                   7999:        :co#75:li#35:\
                   8000:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
1.5     ! tholo    8001: # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8002: tek4013|4013|tektronix 4013:\
1.5     ! tholo    8003:        :ac=:ae=\E^O:as=\E^N:tc=tek4012:
1.1       deraadt  8004: tek4014|4014|tektronix 4014:\
                   8005:        :co#81:li#38:\
                   8006:        :is=\E\017\E9:tc=tek4012:
1.5     ! tholo    8007: # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8008: tek4015|4015|tektronix 4015:\
1.5     ! tholo    8009:        :ac=:ae=\E^O:as=\E^N:tc=tek4014:
1.1       deraadt  8010: tek4014-sm|4014-sm|tektronix 4014 in small font:\
                   8011:        :co#121:li#58:\
                   8012:        :is=\E\017\E\072:tc=tek4014:
1.5     ! tholo    8013: # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  8014: tek4015-sm|4015-sm|tektronix 4015 in small font:\
1.5     ! tholo    8015:        :ac=:ae=\E^O:as=\E^N:\
        !          8016:        :tc=tek4014-sm:
1.1       deraadt  8017: tek4023|4023|tex|tektronix 4023:\
                   8018:        :am:\
                   8019:        :co#80:li#24:vt#4:\
1.5     ! tholo    8020:        :bl=^G:cl=\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:le=^H:nd=^I:\
        !          8021:        :se=^_@:sf=^J:so=^_P:
1.1       deraadt  8022: # It is recommended that you run the 4025 at 4800 baud or less;
                   8023: # various bugs in the terminal appear at 9600.  It wedges at the
                   8024: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   8025: # on keyboard don't work.  You have to hit BREAK twice to get
                   8026: # one break at any speed - this is a documented feature.
                   8027: # Can't use cursor motion because it's memory relative, and
                   8028: # because it only works in the workspace, not the monitor.
                   8029: # Same for home. Likewise, standout only works in the workspace.
                   8030: #
1.5     ! tholo    8031: # :ce: was commented out since vi and rogue seem to work better
1.1       deraadt  8032: # simulating it with lots of spaces!
                   8033: #
1.5     ! tholo    8034: # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  8035: # and didn't seem necessary.
                   8036: #
                   8037: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
                   8038:        :am:da:db:\
                   8039:        :co#80:it#8:li#34:lm#0:\
                   8040:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   8041:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   8042:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   8043:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   8044:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
                   8045:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
                   8046:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   8047:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   8048:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
                   8049: tek4025-17|4025-17|4027-17|tek 4025 17 line window:\
1.3       deraadt  8050:        :li#17:tc=tek4025:
1.1       deraadt  8051: tek4025-17-ws|4025-17-ws|4025-17ws|4027-17ws|4027-17-ws|tek 4025 17 line window in workspace:\
                   8052:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
                   8053:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
1.5     ! tholo    8054:        :ti=\037wor h\r:\
        !          8055:        :tc=tek4025-17:
1.1       deraadt  8056: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
                   8057:        :is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
1.5     ! tholo    8058:        :te=\037com 33\r:ti=!com 31\r:\
        !          8059:        :tc=tek4025:
1.1       deraadt  8060: # Tektronix 4025a
                   8061: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   8062: # The following status modes are assumed for normal operation (replace the
                   8063: # initial "!" by whatever the current command character is):
                   8064: #      !COM 29                 # NOTE: changes command character to GS (^])
                   8065: #      ^]DUP
                   8066: #      ^]ECH R
                   8067: #      ^]EOL
                   8068: #      ^]RSS T
                   8069: #      ^]SNO N
                   8070: #      ^]STO 9 17 25 33 41 49 57 65 73
                   8071: # Other modes may be set according to communication requirements.
                   8072: # If the command character is inadvertently changed, termcap can't restore it.
                   8073: # Insert-character cannot be made to work on both top and bottom rows.
1.3       deraadt  8074: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  8075: # There also seems to be a problem with vertical motion, perhaps involving
                   8076: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   8077: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  8078: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   8079: # work any more. -- esr)
1.1       deraadt  8080: tek4025a|4025a|Tektronix 4025A:\
1.2       deraadt  8081:        :am:bw:da:db:xo:\
                   8082:        :co#80:it#8:li#34:\
1.1       deraadt  8083:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   8084:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   8085:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.5     ! tholo    8086:        :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
        !          8087:        :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
        !          8088:        :nd=\035rig;:\
1.1       deraadt  8089:        :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;:\
                   8090:        :sf=^J:ta=^I:up=^K:
                   8091: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   8092: # Here's the command file that I use to get rogue to work on the 4025.
                   8093: # It should work with any program using the old curses (e.g. it better
                   8094: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   8095: # see the cursor.)
                   8096: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
                   8097: tek4025-cr|4025-cr|tek 4025 for curses and rogue:\
1.2       deraadt  8098:        :am:\
                   8099:        :co#80:it#8:li#33:\
1.1       deraadt  8100:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
                   8101:        :is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  8102:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  8103:        :ti=\037wor 33h:up=^K:
                   8104: # next two lines commented out since curses only allows 128 chars, sigh.
                   8105: #      :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:\
                   8106: #      :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:
                   8107: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
                   8108:        :is=\037com 33\r\n!sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
1.5     ! tholo    8109:        :te=\037com 33\r:ti=!com 31\r:\
        !          8110:        :tc=tek4025:
1.1       deraadt  8111: tek4105|4105|tektronix 4105:\
                   8112:        :am:mi:ms:ul:xn:xt:\
                   8113:        :co#79:it#8:li#29:\
1.5     ! tholo    8114:        :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  8115:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
1.5     ! tholo    8116:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
        !          8117:        :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
        !          8118:        :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
        !          8119:        :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
        !          8120:        :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
        !          8121:        :ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:us=\E[=5;<2m:
1.1       deraadt  8122:
1.2       deraadt  8123: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8124: tek4105-30|4105-30|4015 emulating 30 line vt100:\
                   8125:        :am:mi:ms:xn:xo:\
                   8126:        :co#80:it#8:li#30:vt#3:\
1.5     ! tholo    8127:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          8128:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  8129:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5     ! tholo    8130:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          8131:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
        !          8132:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          8133:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        !          8134:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          8135:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
        !          8136:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  8137:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   8138:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   8139:        :ue=\E[m:up=\E[A:us=\E[4m:
                   8140:
                   8141: tek4107|tek4109|4107|4109|tektronix terminals 4107 4109:\
                   8142:        :am:mi:ms:ul:xn:xt:\
                   8143:        :co#79:it#8:li#29:\
1.5     ! tholo    8144:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
        !          8145:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
        !          8146:        :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
        !          8147:        :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
1.1       deraadt  8148:        :..sa=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0:\
                   8149:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   8150:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   8151:        :ve=\E%!0:vs=\E%!3:
                   8152: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   8153: # see the note attached to tek4207.
                   8154: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   8155:        :es:hs:\
                   8156:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  8157:        :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:\
                   8158:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  8159:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   8160:
                   8161: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   8162: # look good for screen editing.  In the dialog area, you can't move the cursor
                   8163: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   8164: # is no way to scroll.
                   8165: #
                   8166: # Note that there is a floppy for free from Tek that makes the
                   8167: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   8168: # an expected enhancement that will use ANSI standard sequences.
                   8169: #
                   8170: # 4112 in non-dialog area pretending to scroll. It really wraps
                   8171: # but vi is said to work (more or less) in this mode.
                   8172: #
                   8173: # 'vi' works reasonably well with this entry.
                   8174: #
                   8175: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   8176:        :am:\
                   8177:        :co#80:li#34:\
                   8178:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   8179:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   8180: # The 4112 with the ANSI compatibility enhancement
                   8181: tek4112|tek4114|tektronix 4110 series:\
1.2       deraadt  8182:        :am:db:\
1.1       deraadt  8183:        :co#80:li#34:\
                   8184:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
1.5     ! tholo    8185:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:is=\E3!1:\
        !          8186:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\E7\E[0;0H\E[M\E8:\
        !          8187:        :so=\E[7m:sr=\E7\E[0;0H\E[L\E8:ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  8188: tek4112-nd|4112-nd|4112 not in dialog area:\
                   8189:        :ns:\
                   8190:        :up=^K:tc=tek4112:
                   8191: tek4112-5|4112-5|4112 in 5 line dialog area:\
1.3       deraadt  8192:        :li#5:tc=tek4112:
1.5     ! tholo    8193: # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
        !          8194: # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
        !          8195: # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
1.2       deraadt  8196: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   8197: # to be 4-digit octal -- esr)
                   8198: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
                   8199:        :am:da:eo:\
1.1       deraadt  8200:        :co#80:li#5:\
                   8201:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   8202:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   8203:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.2       deraadt  8204: tek4113-34|4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  8205:        :li#34:\
                   8206:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   8207: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   8208: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   8209: # :vb: needs enough delay to let you see the background color being toggled.
1.2       deraadt  8210: tek4113-nd|4113-nd|tektronix 4113 color graphics with no dialog area:\
                   8211:        :am:eo:\
                   8212:        :co#80:it#8:li#34:\
1.5     ! tholo    8213:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
        !          8214:        :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
        !          8215:        :uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  8216:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   8217:        :vs=\ELZ\EKA0:
                   8218: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  8219: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  8220: otek4115|Tektronix 4115:\
1.2       deraadt  8221:        :am:bs:da:db:eo:\
                   8222:        :co#80:it#8:li#34:\
1.3       deraadt  8223:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   8224:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
1.5     ! tholo    8225:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.2       deraadt  8226:        :is=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m:\
1.5     ! tholo    8227:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
        !          8228:        :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
        !          8229:        :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  8230:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   8231: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   8232:        :am:xo:\
                   8233:        :co#80:li#34:\
                   8234:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5     ! tholo    8235:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
        !          8236:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
        !          8237:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
        !          8238:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
        !          8239:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          8240:        :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  8241:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   8242:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   8243:        :us=\E[4m:
                   8244: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.5     ! tholo    8245: # command is ignored.  The following entry replaces :cs: with the needed
        !          8246: # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
1.1       deraadt  8247: # chokes on; and adds a lot of initialization for the tek dialog area.
                   8248: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   8249: # Steve Jacobson 8/85
                   8250: # (tek4125: there were two "\!"s in the is that I replaced with "\E!" -- esr)
1.2       deraadt  8251: tek4125|tektronix 4125:\
1.1       deraadt  8252:        :li#34:\
                   8253:        :al=\E[1L:cs@:dl=\E[1M:im=\E1:\
                   8254:        :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:\
1.5     ! tholo    8255:        :ks=\E=:rc@:sc@:\
        !          8256:        :tc=vt100:
1.1       deraadt  8257:
                   8258: # From: <jcoker@ucbic>
1.2       deraadt  8259: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   8260: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
                   8261: # note that if jcoker wasn't confused you may be able to use this one. -- esr)
1.1       deraadt  8262: tek4207|Tektronix 4207 graphics terminal with memory:\
1.2       deraadt  8263:        :am:bw:mi:ul:xn:\
                   8264:        :co#80:it#8:li#32:\
1.1       deraadt  8265:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
                   8266:        :cm=\E[%i%d;%dH:dc=4\E[P:dl=3\E[M:do=^J:ei=:ho=\E[H:\
                   8267:        :ic=4\E[@:im=:\
                   8268:        :is=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
1.5     ! tholo    8269:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
        !          8270:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:so=\E[7m:ta=^I:\
        !          8271:        :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
        !          8272:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  8273:
                   8274: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.5     ! tholo    8275: # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
1.2       deraadt  8276: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   8277: tek4404|tektronix 4404:\
                   8278:        :co#80:it#8:li#32:\
1.5     ! tholo    8279:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
        !          8280:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
        !          8281:        :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
        !          8282:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
        !          8283:        :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
        !          8284:        :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
        !          8285:        :ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  8286: # Some unknown person wrote:
1.1       deraadt  8287: # I added the is string - straight Unix has ESC ; in the login
                   8288: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   8289: # mode). The is string here cleans up a few things (but not
                   8290: # everything).
                   8291: ct8500|tektronix ct8500:\
                   8292:        :am:bw:da:db:\
                   8293:        :co#80:li#25:\
                   8294:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
1.5     ! tholo    8295:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
        !          8296:        :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
        !          8297:        :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E!:
1.1       deraadt  8298:
                   8299: # Tektronix 4205 terminal.
                   8300: #
                   8301: # am is not defined because the wrap around occurs not when the char.
                   8302: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  8303: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   8304: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  8305: #
                   8306: # Bold, dim, and standout are simulated by colors and thus not allowed
                   8307: # with colors.  The tektronix color table is mapped into the RGB color
                   8308: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  8309: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  8310: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   8311: # interval then maps into pre-defined value.
1.3       deraadt  8312: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  8313: tek4205|4205|tektronix 4205:\
1.3       deraadt  8314:        :cc:mi:ms:\
                   8315:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  8316:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3       deraadt  8317:        :UP=\E[%dA:\
                   8318:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   8319:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
                   8320:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
                   8321:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
1.5     ! tholo    8322:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
        !          8323:        :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
        !          8324:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
        !          8325:        :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
        !          8326:        :mr=\E[7m:nd=\E[C:\
1.3       deraadt  8327:        :oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1:\
1.5     ! tholo    8328:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
        !          8329:        :ta=^I:ti=\E%%!1\E[?6l\E[2J:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  8330:
                   8331: #### Teletype (tty)
                   8332: #
                   8333: # These are the hardcopy Teletypes from before AT&T bought the company,
                   8334: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   8335: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   8336: # Teletype-branded VDTs are listed in the AT&T section.
                   8337: #
                   8338: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   8339: # other programs still default to emitting codes for the Model 37.
                   8340: #
                   8341:
1.2       deraadt  8342: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  8343:        :hc:os:xo:\
                   8344:        :co#72:\
                   8345:        :bl=^G:cr=^M:do=^J:sf=^J:
                   8346: tty37|model 37 teletype:\
1.2       deraadt  8347:        :hc:os:xo:\
1.1       deraadt  8348:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   8349:
                   8350: # There are known to be at least three flavors of the tty40, all seem more
                   8351: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   8352: # awful braindamage, such as printing a visible newline indicator after each
                   8353: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   8354: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   8355: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   8356: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  8357: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  8358: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.5     ! tholo    8359: # to get crlf, even if :cr: is not ^M.)
1.1       deraadt  8360: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   8361: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
                   8362:        :xo:\
                   8363:        :co#80:li#24:\
1.5     ! tholo    8364:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
        !          8365:        :do=\EB:ei=:ho=\EH:ic=\E^:im=:kb=^]:kl=^H:le=^H:nd=\EC:pf=^T:\
        !          8366:        :po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:st=\E1:\
        !          8367:        :ta=\E@:up=\E7:
1.1       deraadt  8368: tty43|model 43 teletype:\
1.2       deraadt  8369:        :am:hc:os:xo:\
1.1       deraadt  8370:        :co#132:\
                   8371:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   8372:
                   8373: #### Tymshare
                   8374: #
                   8375:
1.5     ! tholo    8376: # You can add :is=\E<: to put this 40-column mode, though I can't
1.2       deraadt  8377: # for the life of me think why anyone would want to.
1.1       deraadt  8378: scanset|sc410|sc415|Tymshare Scan Set:\
                   8379:        :am:bw:ms:\
                   8380:        :co#80:li#24:\
1.5     ! tholo    8381:        :ac=l<m-k4j%q\\\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
        !          8382:        :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
        !          8383:        :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
        !          8384:        :rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  8385:
                   8386: #### Volker-Craig (vc)
                   8387: #
1.5     ! tholo    8388: # If you saw a Byte Magazine cover with a terminal on it during the early
        !          8389: # 1980s, it was probably one of these.  Carl Helmers liked them because
        !          8390: # they could crank 19.2 and were cheap (that is, until he tried to program
        !          8391: # one...)
        !          8392: #
1.1       deraadt  8393:
                   8394: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   8395: # every other linefeed.
                   8396: vc303|vc103|vc203|volker-craig 303:\
1.2       deraadt  8397:        :am:ns:\
1.1       deraadt  8398:        :co#80:li#24:\
1.5     ! tholo    8399:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
        !          8400:        :le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  8401: vc303a|vc403a|volker-craig 303a:\
1.5     ! tholo    8402:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
1.1       deraadt  8403: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   8404: vc404|volker-craig 404:\
1.2       deraadt  8405:        :am:\
1.1       deraadt  8406:        :co#80:li#24:\
1.5     ! tholo    8407:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
        !          8408:        :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
1.1       deraadt  8409: vc404-s|volker-craig 404 w/standout mode:\
                   8410:        :do=^J:se=^O:so=^N:tc=vc404:
                   8411: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  8412: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  8413: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   8414:        :am:bs:\
                   8415:        :co#80:li#24:\
1.5     ! tholo    8416:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
        !          8417:        :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
        !          8418:        :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
        !          8419:        :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
        !          8420:        :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  8421: vc415|volker-craig 415:\
                   8422:        :cl=^L:tc=vc404:
                   8423:
                   8424: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   8425: #
                   8426:
                   8427: #### IBM PC and clones
                   8428: #
                   8429:
                   8430: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   8431: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   8432: # doesn't support scrolling regions, ignores add line commands, and ignores
                   8433: # delete line commands. Consequently, the resulting behavior looks like a
                   8434: # crude adm3a-type terminal.
                   8435: # Steve Jacobson 8/85
                   8436: pcplot|pc-plot terminal emulation program:\
                   8437:        :xn@:\
1.2       deraadt  8438:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.1       deraadt  8439: # (kaypro: removed obsolete ":ma=^K^P:" -- esr)
                   8440: kaypro|kaypro2|kaypro II:\
1.2       deraadt  8441:        :am:\
1.1       deraadt  8442:        :co#80:li#24:\
1.5     ! tholo    8443:        :cl=1\032:cm=\E=%+ %+ :ho=^^:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
        !          8444:        :nd=^L:up=^K:
1.1       deraadt  8445:
                   8446: # From IBM, Thu May  5 19:35:27 1983
                   8447: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
                   8448:        :am:\
                   8449:        :co#80:li#24:\
1.5     ! tholo    8450:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:im=\200R:kd=^_:le=^]:\
        !          8451:        :nd=^\:sf=\n:up=^^:
1.1       deraadt  8452:
                   8453: #### Apple
                   8454: #
                   8455:
                   8456: appleII|apple ii plus:\
1.2       deraadt  8457:        :am:\
                   8458:        :co#80:it#8:li#24:\
1.1       deraadt  8459:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.5     ! tholo    8460:        :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
1.2       deraadt  8461:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  8462: # Originally by Gary Ford 21NOV83
                   8463: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   8464: apple-80|apple II with smarterm 80 col:\
1.2       deraadt  8465:        :am:bw:\
1.1       deraadt  8466:        :co#80:li#24:\
1.5     ! tholo    8467:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
        !          8468:        :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
1.1       deraadt  8469: apple-soroc|apple emulating soroc 120:\
                   8470:        :am:\
                   8471:        :co#80:li#24:\
1.5     ! tholo    8472:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
        !          8473:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  8474: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   8475: #   ucbvax!ucsfmis!harrison  .....uucp
                   8476: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   8477: # "These two work.  If you don't have the inverse video chip for the
1.5     ! tholo    8478: # Apple with videx then remove the :so: and :se: fields."
1.2       deraadt  8479: # (apple-videx: this used to be called DaleApple -- esr)
                   8480: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
                   8481:        :am:xn:\
                   8482:        :co#80:it#8:li#24:\
1.5     ! tholo    8483:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
        !          8484:        :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
        !          8485:        :up=^_:
1.2       deraadt  8486: lisa|apple lisa console display (black on white):\
                   8487:        :am:eo:ms:\
                   8488:        :co#88:it#8:li#32:\
1.5     ! tholo    8489:        :ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
        !          8490:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
        !          8491:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
        !          8492:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
        !          8493:        :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:vi=\E[5h:\
        !          8494:        :vs=\E[5l:
1.2       deraadt  8495: liswb|apple lisa console display (white on black):\
                   8496:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  8497:        :us=\E[4m:tc=lisa:
                   8498: mac|macintosh|Macintosh with MacTerminal:\
                   8499:        :xn:\
                   8500:        :dN#30:\
                   8501:        :al=20\E[L:dc=7\E[P:dl=20\E[M:ei=:ic=9\E[@:im=:ip=7:tc=vt100:
                   8502:
                   8503: #### Radio Shack/Tandy
                   8504: #
                   8505:
                   8506: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   8507: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   8508: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   8509: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.2       deraadt  8510:        :am:\
1.1       deraadt  8511:        :co#80:it#8:li#24:\
                   8512:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.5     ! tholo    8513:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
        !          8514:        :md=\E\072^A:me=\037!\E\072\200:mr=^_ :nd=^F:se=^_!:\
        !          8515:        :so=^_ :ue=^_#:up=^I:us=^_":ve=^E!:vi=^E :
1.2       deraadt  8516: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  8517: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.2       deraadt  8518:        :am:ms:\
                   8519:        :co#80:it#8:li#24:\
1.5     ! tholo    8520:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
        !          8521:        :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
        !          8522:        :se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  8523: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  8524: # (This had extension capabilities
1.1       deraadt  8525: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   8526: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  8527: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  8528: trs16|trs-80 model 16 console:\
1.2       deraadt  8529:        :am:\
                   8530:        :co#80:it#8:li#24:\
1.5     ! tholo    8531:        :ac=l_mbk`javewcquxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
        !          8532:        :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
        !          8533:        :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
        !          8534:        :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
        !          8535:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
        !          8536:        :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
1.3       deraadt  8537:        :vi=\ERc:
1.1       deraadt  8538:
                   8539: #### Atari ST
                   8540: #
                   8541:
                   8542: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   8543: atari|atari st:\
1.2       deraadt  8544:        :am:\
                   8545:        :co#80:it#8:li#25:\
1.5     ! tholo    8546:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
        !          8547:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
        !          8548:        :so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8549: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   8550: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  8551: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  8552:        :li#49:\
                   8553:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
1.5     ! tholo    8554: # MiNT VT52 emulation. 80 columns, 25 rows.
        !          8555: # MiNT is Now TOS, the operating system which comes with all Ataris now
        !          8556: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
        !          8557: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
        !          8558: # From: Per Persson <pp@pfawww.pp.se>, 27 Feb 1996
        !          8559: st52|Atari ST with VT52 emulation:\
        !          8560:        :am:km:\
        !          8561:        :co#80:li#25:\
        !          8562:        :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
        !          8563:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
        !          8564:        :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
        !          8565:        :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
        !          8566:        :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
        !          8567:        :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
        !          8568:        :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:ti=\Ee:\
        !          8569:        :up=\EA:ve=\Ee:vi=\Ef:
        !          8570:
1.1       deraadt  8571: #### Commodore Business Machines
                   8572: #
                   8573: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   8574: # after years of shaky engineering and egregious mismanagement.  Made one
                   8575: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   8576: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   8577: # ever (most units sold); they can still be found gathering dust in closets
                   8578: # everywhere.
                   8579: #
                   8580:
                   8581: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   8582: # Added a few more entries, converted caret-type control sequence (^x) entries
                   8583: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   8584: #
                   8585: # :as:, :ae:                   Support for alternate character sets.
                   8586: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   8587: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   8588: #     This one appears to fix a problem I always had with a line ending
                   8589: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   8590: #     line tended to disappear and reappear depending on how the screen
                   8591: #     was refreshed. Note that this is probably needed only if you use
                   8592: #     something like a Dnet Fterm with the window sized to some peculiar
                   8593: #     dimension larger than 80 columns.
                   8594: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1.5     ! tholo    8595: # (amiga: removed obsolete :kn#10:,
        !          8596: # also added empty <acsc> to suppress a warning --esr)
1.3       deraadt  8597: amiga-old|Amiga ANSI:\
1.1       deraadt  8598:        :am:bs:bw:xn:\
                   8599:        :co#80:li#24:\
                   8600:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    8601:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
1.1       deraadt  8602:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.5     ! tholo    8603:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
        !          8604:        :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:k2=\E1~:\
        !          8605:        :k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
        !          8606:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:\
        !          8607:        :md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
        !          8608:        :r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
        !          8609:        :us=\E[4m:ve=\E[ p:vi=\E[0 p:
1.3       deraadt  8610:
                   8611: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1.5     ! tholo    8612: # (amiga: added empty <acsc> to suppress a warning --esr)
1.3       deraadt  8613: amiga|Amiga ANSI:\
                   8614:        :bw:ms:\
                   8615:        :co#80:li#24:\
1.5     ! tholo    8616:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
        !          8617:        :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
        !          8618:        :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
        !          8619:        :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
        !          8620:        :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
        !          8621:        :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
        !          8622:        :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
        !          8623:        :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
        !          8624:        :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
        !          8625:        :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
        !          8626:        :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
        !          8627:        :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
        !          8628:
        !          8629: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
        !          8630: #      I'm trying to write a termcap for a commodore b-128, and I'm
        !          8631: # having a little trouble. I've had to map most of my control characters
        !          8632: # to something that unix will accept (my delete-char is a ctrl-t, etc),
        !          8633: # and create some functions (like cm), but thats life.
        !          8634: #      The problem is with the arrow keys - right, and up work fine, but
        !          8635: # left deletes the previous character and down I just can't figure out.
        !          8636: # Jove knows what I want, but I don't know what it's sending to me (it
        !          8637: # isn't thats bound to next-line in jove).
        !          8638: #      Anybody got any ideas? Here's my termcap.
        !          8639: # DAG -- I changed his "^n" entries to "\n"; see if that works.
        !          8640: #
        !          8641: commodore|b-128|Commodore B-128 micro:\
        !          8642:        :am:bw:\
        !          8643:        :co#80:li#24:pb#150:\
        !          8644:        :al=10\Ei:bl=^G:ce=10\Eq:cl=10\E\006:\
        !          8645:        :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
        !          8646:        :do=^M:ei=:ho=\E^E:ic=5\E\n:im=:kb=^H:kd=^J:kh=\E^E:kl=^B:\
        !          8647:        :kr=^F:ku=^P:le=^H:nd=^F:nw=^M^M:ta=5\011:up=^P:
        !          8648:
        !          8649: #### North Star
        !          8650: #
        !          8651: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
        !          8652: northstar|North Star Advantage:\
        !          8653:        :co#80:li#24:\
        !          8654:        :bl=^G:cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
        !          8655:        :cr=^M:do=^J:ho=200\034\032:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
        !          8656:        :sf=^J:ta=^I:
1.1       deraadt  8657:
                   8658: #### Osborne
                   8659: #
                   8660: # Thu Jul  7 03:55:16 1983
                   8661: #
                   8662: # As an aside, be careful; it may sound like an anomaly on the
                   8663: # Osborne, but with the 80-column upgrade, it's too easy to
                   8664: # enter lines >80 columns!
                   8665: #
                   8666: # I've already had several comments...
                   8667: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  8668: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  8669: # with most systems.
                   8670: #
                   8671: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
                   8672: ozzie|osborne|osborne1|osborne 1:\
                   8673:        :ms:ul:xt:\
                   8674:        :co#104:li#24:\
1.5     ! tholo    8675:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
        !          8676:        :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
        !          8677:        :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
        !          8678:
        !          8679: #
        !          8680: # Osborne Executive definition from BRL
        !          8681: # Similar to tvi920
        !          8682: # Added by David Milligan and Tom Smith (SMU)
        !          8683: osexec|Osborne executive:\
        !          8684:        :am:\
        !          8685:        :co#80:li#24:sg#1:ug#1:\
        !          8686:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
        !          8687:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
        !          8688:        :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
        !          8689:        :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
        !          8690:        :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nw=^M^J:se=\Ek:\
        !          8691:        :so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  8692:
1.2       deraadt  8693: #### Console types for obsolete UNIX clones
                   8694: #
                   8695: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   8696: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1.5     ! tholo    8697: # were commercial, Minix an educational tool sold in conjunction with a book.
1.2       deraadt  8698: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   8699: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   8700: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   8701: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1.5     ! tholo    8702: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
        !          8703: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
        !          8704: # even as single processes under SunOS and the Macintosh OS.
1.1       deraadt  8705: #
                   8706:
1.2       deraadt  8707: minix|minix console:\
                   8708:        :co#80:it#8:li#25:\
1.5     ! tholo    8709:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          8710:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:cd=\E[0J:ce=\E[K:\
        !          8711:        :cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
        !          8712:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:k2=\E[U:\
        !          8713:        :k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          8714:        :kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:\
        !          8715:        :nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          8716:        :ue=\E[0m:up=\E[A:us=\E[4m:
        !          8717:
        !          8718: pc-minix|minix console on an Intel box:\
        !          8719:        :tc=klone+acs:tc=minix:
1.2       deraadt  8720:
1.1       deraadt  8721: # According to the Coherent 2.3 manual, the PC console is similar
                   8722: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   8723: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   8724: # has blinking and bold.
                   8725: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   8726:        :am:mi:\
                   8727:        :co#80:it#8:li#25:\
1.5     ! tholo    8728:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
        !          8729:        :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
        !          8730:        :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
        !          8731:        :sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8732:
                   8733: # According to the Venix 1.1 manual, the PC console is similar
                   8734: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   8735: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  8736: # Note in particular that it doesn't have automatic margins.
1.5     ! tholo    8737: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
        !          8738: # not described here because this derives from an old termcap entry.
1.1       deraadt  8739: pc-venix|venix|IBM PC console running Venix:\
                   8740:        :co#80:it#8:li#25:\
1.5     ! tholo    8741:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
        !          8742:        :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
        !          8743:        :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  8744:
                   8745: #### Miscellaneous microcomputer consoles
                   8746: #
                   8747: # If you know anything more about any of these, please tell me.
1.5     ! tholo    8748: #
1.1       deraadt  8749:
                   8750: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   8751: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   8752: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   8753: basis|BASIS108 computer with terminal translation table active:\
1.5     ! tholo    8754:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
        !          8755:        :ku=^K:me=\E):se=\E):so=\E(:\
        !          8756:        :tc=adm3a:
1.1       deraadt  8757: # luna's BMC terminal emulator
                   8758: luna|luna68k|LUNA68K Bitmap console:\
1.3       deraadt  8759:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  8760: megatek|pegasus workstation terminal emulator:\
                   8761:        :am:os:\
1.3       deraadt  8762:        :co#83:li#60:
1.2       deraadt  8763: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   8764: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  8765: xerox820|x820|Xerox 820:\
                   8766:        :am:\
                   8767:        :co#80:li#24:\
1.5     ! tholo    8768:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
        !          8769:        :le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  8770:
                   8771: #### Videotex and teletext
                   8772: #
                   8773:
                   8774: # standard-issue France Telecom minitel terminal (made by Philips)
1.5     ! tholo    8775: # (m2-nam: had unknown :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:; also deleted
        !          8776: # unnecessary :ug#0:sg#0: and added <acsc> to quiet tic. -- esr)
1.1       deraadt  8777: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel:\
1.2       deraadt  8778:        :xn:\
1.1       deraadt  8779:        :co#80:it#8:li#24:\
1.5     ! tholo    8780:        :ac=:ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          8781:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          8782:        :ip=7:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          8783:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
        !          8784:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          8785:        :up=\E[A:us=\E[4m:
1.1       deraadt  8786:
                   8787: ######## OBSOLETE VDT TYPES
                   8788: #
                   8789: # These terminals are *long* dead -- these entries are retained for
                   8790: # historical interest only.
                   8791:
                   8792: #### Amtek Business Machines
                   8793: #
                   8794:
                   8795: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   8796: # but these caps were commented out in 8.3; also, removed overridden
                   8797: # ":do=^J:" -- esr)
                   8798: abm80|amtek business machines 80:\
1.2       deraadt  8799:        :am:bw:\
1.1       deraadt  8800:        :co#80:li#24:\
1.5     ! tholo    8801:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
        !          8802:        :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
1.1       deraadt  8803:
                   8804: #### Bell Labs blit terminals
                   8805: #
1.2       deraadt  8806: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   8807: # David Breneman <daveb@dgtl.com> has this to say:
                   8808: #
                   8809: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   8810: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   8811: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   8812: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   8813: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   8814: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   8815: #  world. And the Jerq lived the rest of its days in research, but never
                   8816: #  strayed from those paths.
                   8817: #
                   8818: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   8819: #  it started to be shown outside of the halls of the Bell Labs Research
                   8820: #  organization, the management powers that be decided that the name could
                   8821: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   8822: #
                   8823: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   8824: # 730, and 730+.)
1.1       deraadt  8825: #
                   8826:
                   8827: blit|jerq|blit running teletype rom:\
                   8828:        :am:eo:ul:xo:\
                   8829:        :co#87:it#8:li#72:\
1.5     ! tholo    8830:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:bl=^G:\
        !          8831:        :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee!:dl=\EE!:do=^J:\
        !          8832:        :ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:kl=\ED:\
        !          8833:        :kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
1.1       deraadt  8834:
1.5     ! tholo    8835: # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
1.1       deraadt  8836: cbblit|fixterm|blit running columbus code:\
                   8837:        :co#88:\
1.5     ! tholo    8838:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV!:\
        !          8839:        :so=\EU!:ue=\EV":us=\EU":vb=\E^G:\
        !          8840:        :tc=blit:
1.1       deraadt  8841:
                   8842: oblit|ojerq|first version of blit rom:\
                   8843:        :am:da:db:eo:mi:ul:xo:\
                   8844:        :co#88:it#8:li#72:\
1.5     ! tholo    8845:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
        !          8846:        :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
        !          8847:        :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
1.1       deraadt  8848:
                   8849: #### Bolt, Beranek & Newman (bbn)
                   8850: #
                   8851: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   8852: # The parent company, best known as the architects of the Internet, is
                   8853: # still around.
                   8854: #
                   8855:
                   8856: # Entries for the BitGraph terminals.  The problem
                   8857: # with scrolling in vi can only be fixed by getting BBN to put
                   8858: # smarter scroll logic in the terminal or changing vi or padding
                   8859: # scrolls with about 500 ms delay.
                   8860: #
                   8861: # I always thought the problem was related to the terminal
                   8862: # counting newlines in its input buffer before scrolling and
                   8863: # then moving the screen that much. Then vi comes along and
                   8864: # paints lines in on the bottom line of the screen, so you get
                   8865: # this big white gap.
                   8866:
1.2       deraadt  8867: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
1.5     ! tholo    8868:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
        !          8869:        :tc=bg2.0:
1.2       deraadt  8870: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  8871:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  8872: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.1       deraadt  8873:        :xn:\
                   8874:        :co#85:li#64:\
1.5     ! tholo    8875:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
        !          8876:        :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
        !          8877:        :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
        !          8878:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
        !          8879:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  8880:
1.1       deraadt  8881: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   8882:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   8883: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   8884:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  8885: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8886: bg1.25|bbn bitgraph 1.25:\
                   8887:        :co#85:li#64:\
1.3       deraadt  8888:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5     ! tholo    8889:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
        !          8890:        :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
        !          8891:        :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
        !          8892:        :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.1       deraadt  8893:
                   8894: #### Chromatics
                   8895: #
                   8896:
1.5     ! tholo    8897: # I have put the long strings in :ti:/:te:. Ti sets up a window
1.1       deraadt  8898: # that is smaller than the screen, and puts up a warning message
                   8899: # outside the window. Te erases the warning message, puts the
                   8900: # window back to be the whole screen, and puts the cursor at just
1.5     ! tholo    8901: # below the small window. I defined :ve: and :vi: to really turn
1.1       deraadt  8902: # the cursor on and off, but I have taken this out since I don't
                   8903: # like the cursor being turned off when vi exits.
                   8904: cg7900|chromatics|chromatics 7900:\
                   8905:        :am:\
                   8906:        :co#80:li#40:\
                   8907:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:\
1.5     ! tholo    8908:        :cm=\001M%r%d\\\054%d\\\054:cr=^M:dc=^A<1:dl=^A<2:do=^J:\
        !          8909:        :ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:nd=^]:\
1.1       deraadt  8910:        :se=\001C1\\\054\001c2\\\054:sf=^J:\
                   8911:        :so=\001C4\\\054\001c7\\\054:\
                   8912:        :te=\001W0\\\05440\\\05485\\\05448\\\054\014\001W0\\\0540\\\05485\\\05448\\\054\001M0\\\05440\\\054:\
                   8913:        :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  8914:        :uc=\001\001_\001\200:up=^K:
1.1       deraadt  8915:
                   8916: #### Computer Automation
                   8917: #
                   8918:
                   8919: ca22851|computer automation 22851:\
                   8920:        :am:\
                   8921:        :co#80:li#24:\
1.5     ! tholo    8922:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
        !          8923:        :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
1.1       deraadt  8924:
                   8925: #### Cybernex
                   8926: #
                   8927:
                   8928: # This entry has correct padding and the undocumented "ri" capability
                   8929: cyb83|xl83|cybernex xl-83:\
1.2       deraadt  8930:        :am:\
1.1       deraadt  8931:        :co#80:li#24:\
1.5     ! tholo    8932:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
        !          8933:        :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
1.1       deraadt  8934: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   8935: cyb110|mdl110|cybernex mdl-110:\
1.2       deraadt  8936:        :am:\
1.1       deraadt  8937:        :co#80:li#24:\
                   8938:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   8939:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
1.5     ! tholo    8940:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
        !          8941:        :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
1.1       deraadt  8942:
                   8943: #### Datapoint
                   8944: #
                   8945: # Datapoint is gone.  They used to be headquartered in Texas.
                   8946: # They created ARCnet, an Ethernet competitor that flourished for a while
                   8947: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   8948: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   8949: #
                   8950:
                   8951: dp3360|datapoint|datapoint 3360:\
1.2       deraadt  8952:        :am:\
1.1       deraadt  8953:        :co#82:li#25:\
1.5     ! tholo    8954:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
        !          8955:        :sf=^J:up=^Z:
1.1       deraadt  8956:
                   8957: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   8958: #
                   8959: # These entries are DEC's official terminfos for its older terminals.
                   8960: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   8961: # Engineering for more information.  Updated terminfos and termcaps
                   8962: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   8963: #
                   8964:
                   8965: gt40|dec gt40:\
                   8966:        :os:\
                   8967:        :co#72:li#30:\
                   8968:        :bl=^G:cr=^M:do=^J:le=^H:
                   8969: gt42|dec gt42:\
                   8970:        :os:\
                   8971:        :co#72:li#40:\
                   8972:        :bl=^G:cr=^M:do=^J:le=^H:
                   8973: vt50|dec vt50:\
                   8974:        :co#80:li#12:\
1.5     ! tholo    8975:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
        !          8976:        :sf=^J:ta=^I:up=\EA:
1.1       deraadt  8977: vt50h|dec vt50h:\
                   8978:        :co#80:li#12:\
1.5     ! tholo    8979:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
        !          8980:        :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
        !          8981: # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
1.2       deraadt  8982: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  8983:        :co#80:li#24:\
1.5     ! tholo    8984:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
        !          8985:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
        !          8986:        :up=\EA:
1.1       deraadt  8987:
                   8988: # The gigi does standout with red!
1.2       deraadt  8989: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  8990: gigi|vk100|dec gigi graphics terminal:\
                   8991:        :am:xn:\
                   8992:        :co#84:li#24:\
1.3       deraadt  8993:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   8994:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   8995:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   8996:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
1.5     ! tholo    8997:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
        !          8998:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
        !          8999:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
        !          9000:        :up=\E[A:us=\E[4m:
1.1       deraadt  9001:
                   9002: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   9003: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   9004: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   9005: # a format program, so you had to buy pre-formatted floppies from DEC at
                   9006: # a hefty premium!).
                   9007: pro350|decpro|dec pro console:\
1.2       deraadt  9008:        :co#80:it#8:li#24:\
1.5     ! tholo    9009:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          9010:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
        !          9011:        :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
        !          9012:        :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
        !          9013:        :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  9014:
                   9015: dw1|decwriter I:\
                   9016:        :hc:os:\
                   9017:        :co#72:\
                   9018:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   9019: dw2|decwriter|dw|decwriter II:\
                   9020:        :hc:os:\
                   9021:        :co#132:\
                   9022:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   9023:
                   9024: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   9025: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   9026: # \E[w         10 char/in pitch
                   9027: # \E[1;132     full width horizontal margins
                   9028: # \E[2g                clear all tab stops
                   9029: # \E[z         6 lines/in
                   9030: # \E[66t       66 lines/page (for \f)
                   9031: # \E[1;66r     full vertical page can be printed
                   9032: # \E[4g                clear vertical tab stops
                   9033: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  9034: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  9035: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   9036: #              a tab stop)
                   9037: #
                   9038: #       The dw3 does standout with wide characters.
                   9039: #
                   9040: dw3|la120|decwriter III:\
                   9041:        :hc:os:\
                   9042:        :co#132:\
                   9043:        :bl=^G:cr=^M:do=^J:\
                   9044:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   9045:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
1.5     ! tholo    9046:        :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
1.1       deraadt  9047: dw4|decwriter IV:\
                   9048:        :am:hc:os:\
                   9049:        :co#132:\
1.5     ! tholo    9050:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
        !          9051:        :kb=^H:le=^H:sf=^J:ta=^I:
1.1       deraadt  9052:
1.3       deraadt  9053: # These aren't official
                   9054: ln03|dec ln03 laser printer:\
                   9055:        :hc:\
                   9056:        :co#80:li#66:\
1.5     ! tholo    9057:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
1.3       deraadt  9058:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
                   9059: ln03-w|dec ln03 laser printer 132 cols:\
                   9060:        :co#132:\
1.5     ! tholo    9061:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
1.3       deraadt  9062:
1.1       deraadt  9063: #### Delta Data (dd)
                   9064: #
                   9065:
                   9066: # Untested. The cup sequence is hairy enough that it probably needs work.
                   9067: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   9068: # There are BSD-derived termcap entries floating around for this puppy
                   9069: # that are *certainly* wrong.
                   9070: delta|dd5000|delta data 5000:\
                   9071:        :am:\
                   9072:        :co#80:li#27:\
1.5     ! tholo    9073:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
        !          9074:        :le=^H:nd=^Y:sf=^J:up=^Z:
1.1       deraadt  9075:
                   9076: #### Digital Data Research (ddr)
                   9077: #
                   9078:
1.2       deraadt  9079: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  9080: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.2       deraadt  9081:        :am:xn:\
                   9082:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  9083:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
                   9084:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   9085:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5     ! tholo    9086:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
        !          9087:        :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
        !          9088:        :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
        !          9089:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
        !          9090:        :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
        !          9091:
        !          9092: #### Evans & Sutherland
        !          9093: #
        !          9094:
        !          9095: # Jon Leech <leech@cs.unc.edu> tells us:
        !          9096: # The ps300 was the Evans & Sutherland Picture System 300, a high
        !          9097: # performance 3D vector graphics system with a bunch of specialized hardware.
        !          9098: # Approximate date of release was 1982 (early 80s, anyway), and it had several
        !          9099: # evolutions including (limited) color versions such as the PS330C. PS300s
        !          9100: # were effectively obsolete by the late 80s, replaced by raster graphics
        !          9101: # systems, although specialized applications like molecular modelling
        !          9102: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
        !          9103: # are out of production, though of course E&S is very much alive (in 1996).
        !          9104: # (ps300: changed ":pt@:" to "it@" -- esr)
        !          9105: #
        !          9106: ps300|Picture System 300:\
        !          9107:        :xt:\
        !          9108:        :it@:\
        !          9109:        :se@:so@:ue@:us@:tc=vt100:
1.1       deraadt  9110:
                   9111: #### General Electric (ge)
                   9112: #
                   9113:
                   9114: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
                   9115:        :hc:os:\
                   9116:        :co#120:\
                   9117:        :bl=^G:cr=^M:do=^J:sf=^J:
                   9118:
                   9119: #### Heathkit/Zenith
                   9120: #
                   9121:
1.2       deraadt  9122: # Here is a description of the H19 DIP switches:
                   9123: #
                   9124: # S401
                   9125: # 0-3 = baud rate as follows:
                   9126: #
                   9127: #         3       2       1       0
                   9128: #      ---     ---     ---     ---
                   9129: #         0       0       1       1       300 baud
                   9130: #         0       1       0       1       1200 baud
                   9131: #         1       0       0       0       2400 baud
                   9132: #         1       0       1       0       4800 baud
                   9133: #         1       1       0       0       9600 baud
                   9134: #         1       1       0       1       19.2K baud
                   9135: #
                   9136: # 4 = parity (0 = no parity)
                   9137: # 5 = even parity (0 = odd parity)
                   9138: # 6 = stick parity (0 = normal parity)
                   9139: # 7 = full duplex (0 = half duplex)
                   9140: #
                   9141: # S402
                   9142: # 0 = block cursor (0 = underscore cursor)
                   9143: # 1 = no key click (0 = keyclick)
                   9144: # 2 = wrap at end of line (0 = no wrap)
                   9145: # 3 = auto LF on CR (0 = no LF on CR)
                   9146: # 4 = auto CR on LF (0 = no CR on LF)
                   9147: # 5 = ANSI mode (0 = VT52 mode)
                   9148: # 6 = keypad shifted (0 = keypad unshifted)
                   9149: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   9150: #
                   9151: # Factory Default settings are as follows:
                   9152: #          7 6 5 4 3 2 1 0
                   9153: # S401     1 0 0 0 1 1 0 0
                   9154: # S402     0 0 0 0 0 0 0 0
1.5     ! tholo    9155: # (h19: I added <rmam>/<smam> based on the init string;
        !          9156: # also added empty <acsc> to suppress a tic warning -- esr)
        !          9157: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
1.1       deraadt  9158:        :am:mi:ms:\
                   9159:        :co#80:it#8:li#24:\
1.5     ! tholo    9160:        :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
1.3       deraadt  9161:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.5     ! tholo    9162:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          9163:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
        !          9164:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
        !          9165:        :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
        !          9166:        :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
        !          9167:        :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  9168: h19-bs|heathkit w/keypad shifted:\
                   9169:        :ke=\Eu:ks=\Et:tc=h19-b:
                   9170: h19-smul|heathkit w/keypad shifted/underscore cursor:\
1.5     ! tholo    9171:        :ke=\Eu:ks=\Et:\
        !          9172:        :tc=h19-u:
        !          9173: # (h19: merged in :ip: from BSDI hp19-e entry>;
        !          9174: # also added empty <acsc> to suppress a tic warning --esr)
1.1       deraadt  9175: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
                   9176:        :am:es:hs:mi:ms:\
                   9177:        :co#80:it#8:li#24:\
1.5     ! tholo    9178:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
        !          9179:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=\EO:fs=\Ek\Ey5:\
        !          9180:        :ho=\EH:im=\E@:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:\
        !          9181:        :k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
        !          9182:        :kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
        !          9183:        :sf=^J:so=\Ep:sr=\EI:ta=^I:\
        !          9184:        :ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:ve=\Ey4:\
        !          9185:        :vs=\Ex4:
1.1       deraadt  9186: h19-u|heathkit with underscore cursor:\
                   9187:        :ve@:vs@:tc=h19-b:
1.3       deraadt  9188: h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
1.5     ! tholo    9189:        :ke=\Eu:ks=\Et:\
        !          9190:        :tc=h19-u:
1.3       deraadt  9191: h19-g|h19g|heathkit w/block cursor:\
                   9192:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  9193: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   9194:        :li#60:\
                   9195:        :al=\EL:dl=\EM:tc=h19:
                   9196:
1.3       deraadt  9197: # The major problem with the Z29 is that it requires more padding than the Z19.
                   9198: #
                   9199: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  9200: # it needs more padding. It especially loses if a program attempts
                   9201: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   9202: # even loses worse if the program attempts to insert tabs at 9600
                   9203: # baud. Adding padding to text that is inserted loses because in
                   9204: # order to make the Z29 not die, one must add so much padding that
                   9205: # whenever the program tries to use insert mode, the effective
                   9206: # rate is about 110 baud.
                   9207: #
                   9208: # What program would want to put the terminal into insert mode
                   9209: # and shove stuff at it at 9600 baud you ask?
                   9210: #
                   9211: # Emacs. Emacs seems to want to do the mathematically optimal
                   9212: # thing in doing a redisplay rather than the practical thing.
                   9213: # When it is about to output a line on top of a line that is
                   9214: # already on the screen, instead of just killing to the end of
1.3       deraadt  9215: # the line and outputting the new line, it compares the old line
1.1       deraadt  9216: # and the new line and if there are any similarities, it
                   9217: # constructs the new line by deleting the text on the old line
                   9218: # on the terminal that is already there and then inserting new
                   9219: # text into the line to transform it into the new line that is
                   9220: # to be displayed. The Z29 does not react kindly to this.
                   9221: #
                   9222: # But don't cry for too long.... There is a solution. You can make
                   9223: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   9224: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   9225: # line will be really slow", you say. Well there is a sort of a
                   9226: # solution to that too. There is an insert character option on
                   9227: # the Z29 that will insert one character. Unfortunately, it
                   9228: # involves putting the terminal into ansi mode, inserting the
                   9229: # character, and changing it back to H19 mode. All this takes 12
                   9230: # characters. Pretty expensive to insert one character, but it
                   9231: # works. Either Emacs doesn't try to use its inserting hack when
                   9232: # it's only given an insert character ability or the Z29 doesn't
                   9233: # require padding with this (the former is probably more likely,
                   9234: # but I haven't checked it out).
1.5     ! tholo    9235: # (z29: added empty <acsc> to suppress a tic warning --esr)
1.1       deraadt  9236: z29|zenith29|z29b|zenith z29b:\
                   9237:        :am:ms:\
                   9238:        :co#80:li#24:\
1.5     ! tholo    9239:        :ac=:ae=\EF:al=\EL:as=\EG:bl=^G:bt=\E-:cd=\EJ:ce=\EK:cl=\EE:\
        !          9240:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=:ho=\EH:\
        !          9241:        :ic=\E<\E[1@\E[?2h:im=:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:\
        !          9242:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
        !          9243:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=home:le=^H:\
        !          9244:        :nd=\EC:se=\Eq:sf=\n:so=\Ep:sr=\EI:ta=^I:ue=\Es0:up=\EA:\
        !          9245:        :us=\Es8:ve=\Ey4:vs=\Ex4:
1.3       deraadt  9246: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   9247: # the world is stable. <rs1> causes the terminal to be reset to the state
                   9248: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   9249: # cursor, bc -> block cursor.
                   9250: # From: Mike Meyers
1.5     ! tholo    9251: # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
        !          9252: # looks vt100-compatible -- esr)
1.3       deraadt  9253: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
                   9254:        :es:hs:\
                   9255:        :co#80:it#8:li#24:\
                   9256:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   9257:        :RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
1.5     ! tholo    9258:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
        !          9259:        :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
        !          9260:        :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
        !          9261:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
        !          9262:        :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
        !          9263:        :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
        !          9264:        :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
1.3       deraadt  9265:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
1.5     ! tholo    9266:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
        !          9267:        :ta=^I:te=\E[?7h:ti=\E[?7l:\
1.3       deraadt  9268:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
                   9269:        :us=\E[4m:
                   9270: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
1.5     ! tholo    9271:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
        !          9272:        :tc=z29a:
1.3       deraadt  9273: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
1.5     ! tholo    9274:        :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:\
        !          9275:        :tc=z29a:
1.3       deraadt  9276: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
1.5     ! tholo    9277:        :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:\
        !          9278:        :tc=z29a:
1.2       deraadt  9279: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   9280: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3       deraadt  9281:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  9282:        :co#80:li#24:\
1.5     ! tholo    9283:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
        !          9284:        :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
        !          9285:        :UP=\E[%dA:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a:\
        !          9286:        :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
1.3       deraadt  9287:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  9288:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   9289:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
1.5     ! tholo    9290:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
        !          9291:        :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
        !          9292:        :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
        !          9293:        :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
        !          9294:        :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
        !          9295:        :ps=\E[?19h\E[i:r2=\E<\Ec\200:rc=\E[u:sc=\E[s:se=\E[0m:\
        !          9296:        :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
1.3       deraadt  9297:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  9298:
                   9299: # From: Brad Brahms <Brahms@USC-ECLC>
                   9300: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
1.5     ! tholo    9301:        :ve=\Ey4\Em70:vs=\Ex4\Em71:\
        !          9302:        :tc=z100bw:
        !          9303: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
1.1       deraadt  9304: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.2       deraadt  9305:        :mi:ms:\
                   9306:        :co#80:it#8:li#24:\
1.5     ! tholo    9307:        :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
        !          9308:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
        !          9309:        :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
        !          9310:        :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
        !          9311:        :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
        !          9312:        :ve=\Ey4:vs=\Ex4:
1.2       deraadt  9313: p19|h19-b with il1/dl1:\
1.1       deraadt  9314:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   9315: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  9316: # (ztx: removed duplicate :sr: -- esr)
                   9317: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
                   9318:        :am:es:hs:\
                   9319:        :co#80:it#8:li#24:\
1.5     ! tholo    9320:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
        !          9321:        :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
1.1       deraadt  9322:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
1.5     ! tholo    9323:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
        !          9324:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
        !          9325:        :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
        !          9326:        :us=\Es2:
1.1       deraadt  9327:
                   9328: #### IMS International (ims)
                   9329: #
                   9330: # There was a company called IMS International located in Carson City,
                   9331: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   9332: # bus/Z80 hardware and a line of terminals called Ultimas.
                   9333:
                   9334: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   9335: ims950-b|bare ims950 no init string:\
                   9336:        :is@:tc=ims950:
                   9337: # (ims950: removed obsolete ":ko@:" -- esr)
                   9338: ims950|ims televideo 950 emulation:\
                   9339:        :xn@:\
1.5     ! tholo    9340:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
1.1       deraadt  9341: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   9342: ims950-rv|ims tvi950 rev video:\
                   9343:        :xn@:\
1.5     ! tholo    9344:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
1.1       deraadt  9345: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.2       deraadt  9346:        :am:\
                   9347:        :co#80:it#8:li#24:\
1.5     ! tholo    9348:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
        !          9349:        :if=/usr/share/tabset/vt100:\
        !          9350:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
        !          9351:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
1.2       deraadt  9352:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  9353:
                   9354: #### Intertec Data Systems
                   9355: #
                   9356: # I think this company is long dead as of 1995.  They made an early CP/M
                   9357: # micro called the "Intertec Superbrain" that was moderately popular,
                   9358: # then sank out of sight.
                   9359: #
                   9360:
                   9361: superbrain|intertec superbrain:\
                   9362:        :am:bw:\
                   9363:        :co#80:li#24:\
1.5     ! tholo    9364:        :bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :cr=^M:\
        !          9365:        :do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:te=^L:\
        !          9366:        :ti=^L:up=^K:
1.1       deraadt  9367: intertube|intertec|Intertec InterTube:\
                   9368:        :am:\
                   9369:        :co#80:li#25:\
1.5     ! tholo    9370:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
        !          9371:        :se=\E0@:sf=^J:so=\E0P:up=^Z:
1.1       deraadt  9372: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   9373: # are typing and a command comes in, the keystrokes you type get interspersed
                   9374: # with the command and it messes up
1.2       deraadt  9375: intertube2|intertec data systems intertube 2:\
1.3       deraadt  9376:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
1.5     ! tholo    9377:        :ll=^K^X\r:\
        !          9378:        :tc=intertube:
1.2       deraadt  9379:
                   9380: #### Ithaca Intersystems
                   9381: #
                   9382: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   9383: # past.  They used to be reachable at:
                   9384: #
                   9385: #      Ithaca Intersystems
                   9386: #      1650 Hanshaw Road
                   9387: #      Ithaca, New York 14850
                   9388: #
                   9389: # However, the outfit went bankrupt years ago.
                   9390: #
                   9391:
                   9392: # The Graphos III was a color graphics terminal frome Ithaca Intersystems.
                   9393: # These entries were written (originally in termcap syntax) by Brian Yandell
                   9394: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   9395: # University of Wisconsin.
                   9396:
1.5     ! tholo    9397: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
        !          9398: # removed :if=/usr/share/tabset/init.graphos: and
        !          9399: # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
1.2       deraadt  9400: graphos|graphos III:\
                   9401:        :am:mi:\
                   9402:        :co#80:it#8:li#24:\
                   9403:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   9404:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5     ! tholo    9405:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
        !          9406:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
        !          9407:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          9408:        :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
1.3       deraadt  9409:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
                   9410:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  9411:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   9412: graphos-30|graphos III with 30 lines:\
                   9413:        :li#30:\
                   9414:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  9415:
                   9416: #### Modgraph
                   9417: #
                   9418: # These people used to be reachable at:
                   9419: #
                   9420: #      Modgraph, Inc
                   9421: #      1393 Main Street,
                   9422: #      Waltham, MA 02154
                   9423: #      Vox: (617)-890-5796.
                   9424: #
                   9425: # However, if you call that number today you'll get an insurance company.
                   9426: # I think Modgraph is long gone.
                   9427: #
                   9428:
                   9429: modgraph|mod|modgraph terminal emulating vt100:\
                   9430:        :xn@:\
                   9431:        :co#80:li#24:\
                   9432:        :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.5     ! tholo    9433:        :rf@:sr=5\EM\E[K:vs=\E^9;0s\E^7;1s:\
        !          9434:        :tc=vt100:
1.2       deraadt  9435: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   9436: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   9437:        :am:da:db:\
                   9438:        :co#80:it#8:li#24:\
1.1       deraadt  9439:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
                   9440:        :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  9441:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.1       deraadt  9442:
                   9443: #### Morrow Designs
                   9444: #
                   9445: # This was George Morrow's company.  They started in the late 1970s making
                   9446: # S100-bus machines.  They used to be reachable at:
                   9447: #
                   9448: #        Morrow
                   9449: #        600 McCormick St.
                   9450: #        San Leandro, CA 94577
                   9451: #
                   9452: # but they're long gone now (1995).
                   9453: #
                   9454:
                   9455: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   9456: # Jeff's specimen was dated June 1984.
                   9457: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   9458: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   9459:        :am:mi:ms:xo:\
                   9460:        :co#80:it#8:li#24:\
1.5     ! tholo    9461:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
        !          9462:        :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
        !          9463:        :ac=+z\\\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ:ae=\E%:\
        !          9464:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
        !          9465:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
        !          9466:        :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
        !          9467:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
        !          9468:        :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
        !          9469:        :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
        !          9470:        :nd=^L:nw=^_:sf=^J:ta=^I:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
        !          9471:        :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
        !          9472:        :tc=adm+sgr:
1.1       deraadt  9473:
                   9474: #### Omron
                   9475: #
                   9476: # This company is still around in 1995, manufacturing point-of-sale systems.
                   9477:
                   9478: omron|Omron 8025AG:\
1.2       deraadt  9479:        :am:da:db:\
1.1       deraadt  9480:        :co#80:li#24:\
1.5     ! tholo    9481:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
        !          9482:        :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
        !          9483:        :vs=\EN:
        !          9484:
        !          9485: #### Ramtek
        !          9486: #
        !          9487: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
        !          9488: # were competition for things like the Tektronics 4025.
        !          9489: #
        !          9490:
        !          9491: # Ramtek 6221 from BRL, probably by Doug Gwyn
        !          9492: # The following SET-UP modes are assumed for normal operation:
        !          9493: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
        !          9494: #      NEWLINE_OFF             80_COLUMNS
        !          9495: # Other SET-UP modes may be set for operator convenience or communication
        !          9496: # requirements; I recommend
        !          9497: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
        !          9498: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
        !          9499: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
        !          9500: # Note that the Control-E key is useless on this brain-damaged terminal.  No
        !          9501: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          9502: rt6221|Ramtek 6221, 80x24:\
        !          9503:        :ms:xo:\
        !          9504:        :co#80:it#8:li#24:vt#3:\
        !          9505:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
        !          9506:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
        !          9507:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
        !          9508:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
        !          9509:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
        !          9510:        :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          9511:        :nd=\E[C:nw=\EE:\
        !          9512:        :r1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>:\
        !          9513:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9514:        :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
        !          9515:        :vs=\E[>7h\E[>9l:
        !          9516: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
        !          9517: rt6221-w|Ramtek 6221, 160x48:\
        !          9518:        :co#160:li#48:\
        !          9519:        :kb=^H:kd=^J:kl=^H:ll=\E[48;1H:tc=rt6221:
        !          9520:
        !          9521: #### Selanar
        !          9522: #
        !          9523:
        !          9524: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
        !          9525: # The following SET-UP modes are assumed for normal operation:
        !          9526: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
        !          9527: #      ONLINE                  ANSI                    CURSOR_VISIBLE
        !          9528: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
        !          9529: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
        !          9530: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
        !          9531: # For use with graphics software, all graphics modes should be set to factory
        !          9532: # default.  Other SET-UP modes may be set for operator convenience or
        !          9533: # communication requirements.  No delays are specified; use "stty ixon -ixany"
        !          9534: # to enable DC3/DC1 flow control!
        !          9535: # I commented out the scrolling capabilities since they are too slow.
        !          9536: hirez100|Selanar HiREZ-100:\
        !          9537:        :mi:ms:xo:\
        !          9538:        :co#80:it#8:li#48:vt#3:\
        !          9539:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          9540:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        !          9541:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
        !          9542:        :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
        !          9543:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9544:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
        !          9545:        :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          9546:        :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
        !          9547:        :r1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>:\
        !          9548:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:\
        !          9549:        :up=\EM:us=\E[4m:
        !          9550: hirez100-w|Selanar HiREZ-100 in 132-column mode:\
        !          9551:        :co#132:\
        !          9552:        :kb=^H:kd=^J:kl=^H:tc=hirez100:
1.1       deraadt  9553:
1.2       deraadt  9554: #### Signetics
                   9555: #
                   9556:
                   9557: # From University of Wisconsin
                   9558: vsc|Signetics Vsc Video driver by RMC:\
                   9559:        :am:ms:\
                   9560:        :co#80:it#8:li#26:\
                   9561:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
1.5     ! tholo    9562:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_!:mr=^_ :nd=\E[C:\
        !          9563:        :nw=^M^J:se=^_!:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
1.2       deraadt  9564:
1.1       deraadt  9565: #### Soroc
                   9566: #
1.2       deraadt  9567: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   9568: #
                   9569: # As you may recall, the Soroc logo consisted of their name,
                   9570: # with the letter "S" superimposed over an odd design.   This
                   9571: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   9572: # wedge with rounded corners inside it.   The color was sort of
                   9573: # a metallic gold/yellow.
                   9574: #
                   9575: # If I had been more of a beer drinker it might have been obvious
                   9576: # to me, but it took a clue from their service department to make
                   9577: # me exclaim, "Of course!"   The circular object was the top of
                   9578: # a beer can (the old removable pop-top style) and "Soroc" was an
                   9579: # anagram for "Coors".
                   9580: #
                   9581: # I can just imagine the founders of the company sitting around
                   9582: # one evening, tossing back a few and trying to decide what to
                   9583: # call their new company and what to use for a logo.
                   9584: #
1.1       deraadt  9585:
                   9586: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3       deraadt  9587: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  9588:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   9589: soroc140|iq140|soroc iq140:\
                   9590:        :am:mi:\
                   9591:        :co#80:li#24:\
1.5     ! tholo    9592:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
        !          9593:        :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
        !          9594:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          9595:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
        !          9596:        :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
        !          9597:        :us=\E^A:
1.1       deraadt  9598:
                   9599: #### Southwest Technical Products
                   9600: #
                   9601: # These guys made an early personal micro called the M6800.
                   9602: # The ct82 was probably its console terminal.
                   9603: #
                   9604:
                   9605: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   9606: swtp|ct82|southwest technical products ct82:\
                   9607:        :am:\
                   9608:        :co#82:li#20:\
1.5     ! tholo    9609:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
        !          9610:        :dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
1.1       deraadt  9611:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   9612:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   9613:
                   9614: #### Synertek
                   9615: #
                   9616: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   9617: #
                   9618: # Synertek used to make ICs, various 6502-based single-board process
                   9619: # control and hobbyist computers, and assorted peripherals including a
                   9620: # series of small inexpensive terminals (I think they were one of the
                   9621: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   9622: # was only slightly larger than the keyboard).
                   9623: #
                   9624: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   9625: # was a 40x24 terminal that could connect to a standard TV through a
                   9626: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   9627: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   9628: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   9629: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   9630: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   9631: # and I've never had any problems with mine (witness the fact that mine
                   9632: # was made in 1981 and is still working great... I've blown the video
                   9633: # output transistor a couple of times, but it's a 2N2222 :-)
                   9634: #
                   9635: # The KTM-3 (which is what is listed in the terminfo file) was their
                   9636: # attempt at putting a KTM-2 in a box (and some models came with a
                   9637: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   9638: # control and escape sequences are very different. The KTM-3 was always
                   9639: # real broken, at least according to the folks I've talked to about it.
                   9640: #
                   9641: # The padding in the entry is probably off--these terminals were very
                   9642: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   9643: # anyone with any sanity replaced the ROMs with something that provided
                   9644: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   9645: # obviously very primitive... oh, you could get an upgraded ROM from
                   9646: # Synertek for some incredible amount of money, but what hacker with an
                   9647: # EPROM burner would do that? :)
                   9648: #
                   9649: # Sorry I don't have any contact info; I believe they were located in
                   9650: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   9651: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   9652: # business these days.
1.5     ! tholo    9653: #
1.1       deraadt  9654:
                   9655: # Tested, seems to work fine with vi.
                   9656: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   9657:        :am:\
                   9658:        :co#80:li#24:\
                   9659:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   9660:
                   9661: #### Tab Office Products
                   9662: #
                   9663: #      TAB Products Co. - Palo Alto, California
                   9664: #      Electronic Office Products,
                   9665: #      1451 California Avenue 94304
                   9666: #
                   9667: # I think they're out of business.
                   9668: #
                   9669:
                   9670: # The tab 132 uses xon/xoff, so no padding needed.
1.5     ! tholo    9671: # :ks:/:ke: have nothing to do with arrow keys.
        !          9672: # :is: sets 80 col mode, normal video, autowrap on (for :am:).
1.1       deraadt  9673: # Seems to be no way to get rid of status line.
                   9674: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  9675: # compatible but looks more vt100-like.
1.1       deraadt  9676: tab132|tab|tab132-15|tab 132/15:\
                   9677:        :da:db:\
                   9678:        :co#80:dN@:li#24:lm#96:\
1.5     ! tholo    9679:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
        !          9680:        :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
        !          9681:        :ku=\E[A:\
        !          9682:        :tc=vt100:
1.1       deraadt  9683: tab132-w|tab132 in wide mode:\
                   9684:        :co#132:\
                   9685:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   9686: tab132-rv|tab132 in reverse-video mode:\
                   9687:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   9688: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   9689:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   9690:
                   9691:
                   9692: #### Teleray
                   9693: #
                   9694: #      Research Incorporated
                   9695: #      6425 Flying Cloud Drive
                   9696: #      Eden Prairie, MN 55344
                   9697: #      Vox: (612)-941-3300
                   9698: #
                   9699: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   9700: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   9701: # people believe that all the types listed below are very rare now (1995).
                   9702: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   9703: # Model 100) that were ANSI-compatible.
                   9704: #
                   9705: # Note two things called "teleray".  Reorder should move the common one
                   9706: # to the front if you have either.  A dumb teleray with the cursor stuck
                   9707: # on the bottom and no obvious model number is probably a 3700.
                   9708: #
                   9709:
                   9710: t3700|dumb teleray 3700:\
                   9711:        :co#80:li#24:\
                   9712:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   9713: t3800|teleray 3800 series:\
1.2       deraadt  9714:        :co#80:it#8:li#24:\
1.5     ! tholo    9715:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
        !          9716:        :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
1.1       deraadt  9717: t1061|teleray|teleray 1061:\
                   9718:        :am:km:xs:xt:\
1.2       deraadt  9719:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5     ! tholo    9720:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
        !          9721:        :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
1.1       deraadt  9722:        :is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
1.5     ! tholo    9723:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
        !          9724:        :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
        !          9725:        :up=\EA:us=\ERH:
1.1       deraadt  9726: t1061f|teleray 1061 with fast PROMs:\
                   9727:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3       deraadt  9728: # "Teleray Arpa Special", officially designated as
1.1       deraadt  9729: # "Teleray Arpa network model 10" with "Special feature 720".
                   9730: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3       deraadt  9731: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  9732: # converts the keypad to programmable function keys, and has other goodies.
                   9733: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   9734: # programs handle such lossage properly.
                   9735: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   9736: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  9737: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  9738: t10|teleray 10 special:\
1.2       deraadt  9739:        :km:xs:xt:\
                   9740:        :co#80:it#8:li#24:sg#2:ug#2:\
1.5     ! tholo    9741:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
        !          9742:        :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\200:se=\ER@:sf=\Eq:\
        !          9743:        :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
1.1       deraadt  9744: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   9745: # back/forth words. Put the function keys (f1-f10) where they can be
                   9746: # found, and turn off the other magic keys along the top row, except
                   9747: # for line/local. Do the magic appropriate to make the page shifts work.
                   9748: # Also toggle ^S/^Q for those of us who use Emacs.
                   9749: t16|teleray 16:\
                   9750:        :am:da:db:mi:xs:xt:\
                   9751:        :co#80:li#24:\
                   9752:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
1.5     ! tholo    9753:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
        !          9754:        :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
        !          9755:        :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
        !          9756:        :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
        !          9757:        :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  9758:
                   9759: #### Texas Instruments (ti)
                   9760: #
                   9761:
1.2       deraadt  9762: # The Silent 700 was so called because it was built around a quiet thermal
                   9763: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   9764: # neat for its day.
                   9765: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
                   9766:        :hc:os:\
                   9767:        :co#80:\
1.1       deraadt  9768:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  9769:
1.1       deraadt  9770: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
                   9771:        :am:xo:\
                   9772:        :co#80:it#8:li#24:\
                   9773:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5     ! tholo    9774:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
        !          9775:        :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
        !          9776:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
        !          9777:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
        !          9778:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
        !          9779:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
1.2       deraadt  9780:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9781: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   9782:        :am:xo:\
                   9783:        :co#80:it#8:li#24:\
                   9784:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5     ! tholo    9785:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
        !          9786:        :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
        !          9787:        :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
        !          9788:        :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
        !          9789:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          9790:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
        !          9791:        :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
1.2       deraadt  9792:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  9793: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3       deraadt  9794:        :co#132:tc=ti924:
1.1       deraadt  9795: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3       deraadt  9796:        :co#132:tc=ti924-8:
1.1       deraadt  9797: ti931|Texas Instruments 931 VDT:\
                   9798:        :am:xo:\
                   9799:        :co#80:li#24:\
1.5     ! tholo    9800:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
        !          9801:        :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
        !          9802:        :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
        !          9803:        :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
        !          9804:        :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
        !          9805:        :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
        !          9806:        :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
1.1       deraadt  9807: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   9808:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  9809: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  9810: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.5     ! tholo    9811:        :cs@:sf=\2331S:sr=\2331T:\
        !          9812:        :tc=ti924-8:
1.1       deraadt  9813: ti_ansi|basic entry for ti928:\
1.3       deraadt  9814:        :am:eo:ut:xn:xo:\
                   9815:        :Co#8:co#80:it#8:li#25:pa#64:\
                   9816:        :@7=\E[F:Sb=\E[4%dm:Sf=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
                   9817:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                   9818:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   9819:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1.5     ! tholo    9820:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
        !          9821:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          9822:        :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
        !          9823:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  9824: #
                   9825: #       928 VDT 7 bit control mode
                   9826: #
1.2       deraadt  9827: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.3       deraadt  9828:        :%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
                   9829:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
                   9830:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
1.5     ! tholo    9831:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
        !          9832:        :tc=ti_ansi:
1.1       deraadt  9833: #
                   9834: #       928 VDT 8 bit control mode
                   9835: #
1.2       deraadt  9836: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.5     ! tholo    9837:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
        !          9838:        :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
        !          9839:        :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
        !          9840:        :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
        !          9841:        :kP=\233T:kh=\233H:\
        !          9842:        :tc=ti_ansi:
1.1       deraadt  9843:
                   9844: #### Zentec (zen)
                   9845: #
                   9846:
1.5     ! tholo    9847: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
        !          9848: # had just :so:=\EG6 which I think means standout was supposed to be
        !          9849: # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
        !          9850: # <invis> might work-- esr)
1.1       deraadt  9851: zen30|z30|zentec 30:\
1.2       deraadt  9852:        :am:mi:ul:\
1.1       deraadt  9853:        :co#80:li#24:\
1.5     ! tholo    9854:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
        !          9855:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
        !          9856:        :sf=^J:so=\EG6:ue@:up=^K:us@:\
        !          9857:        :tc=adm+sgr:
1.2       deraadt  9858: # (zen50: this had extension capabilities
1.1       deraadt  9859: #      :BS=^U:CL=^V:CR=^B:
                   9860: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   9861: # which were also in the original entry -- esr)
                   9862: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   9863: zen50|z50|zentec zephyr:\
1.2       deraadt  9864:        :am:\
1.1       deraadt  9865:        :co#80:li#24:sg#1:\
1.5     ! tholo    9866:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
        !          9867:        :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
        !          9868:        :us@:\
        !          9869:        :tc=adm+sgr:
1.2       deraadt  9870:
                   9871: ######## OBSOLETE UNIX CONSOLES
                   9872: #
                   9873:
1.5     ! tholo    9874: #### Apollo consoles
        !          9875: #
        !          9876: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
        !          9877: # labeled HP700s now.
        !          9878: #
        !          9879:
        !          9880: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
        !          9881: apollo|apollo console:\
        !          9882:        :am:mi:\
        !          9883:        :co#88:li#53:\
        !          9884:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
        !          9885:        :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
        !          9886:        :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
        !          9887:
        !          9888: # We don't know whether or not the apollo guys replicated DEC's firmware bug
        !          9889: # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
        !          9890: # both these capabilities.
        !          9891: apollo_15P|apollo 15 inch display:\
        !          9892:        :ei@:im@:tc=vt132:
        !          9893: apollo_19L|apollo 19 inch display:\
        !          9894:        :ei@:im@:tc=vt132:
        !          9895: apollo_color|apollo color display:\
        !          9896:        :ei@:im@:tc=vt132:
        !          9897:
        !          9898: #### Fortune Systems consoles
        !          9899: #
        !          9900: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
        !          9901: # in their day; I (esr) used one myself for a year or so around 1984.
        !          9902: # They had no graphics, though, and couldn't compete against Suns and
        !          9903: # the like.  R.I.P.
        !          9904: #
        !          9905:
        !          9906: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
        !          9907: # (This had extension capabilities
        !          9908: #      :rv=\EH:re=\EI:rg=0:GG=0:\
        !          9909: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
        !          9910: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
        !          9911: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
        !          9912: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
        !          9913: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
        !          9914: # to force both magic cookie glitches off.  Once upon a time, I
        !          9915: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
        !          9916: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
        !          9917: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
        !          9918: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
        !          9919: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
        !          9920: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
        !          9921: fos|fortune|Fortune system:\
        !          9922:        :am:bw:\
        !          9923:        :co#80:li#25:\
        !          9924:        :@7=^Ak\r:@8=^Aq:ac=l m"k(j*v%w#q&x-:ae=^O:al=\034E:\
        !          9925:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
        !          9926:        :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
        !          9927:        :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
        !          9928:        :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
        !          9929:        :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
        !          9930:        :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
        !          9931:        :us=^\HP:ve=\E\\:vi=\E]:vs=\E\072:
        !          9932:
1.2       deraadt  9933: #### Masscomp consoles
                   9934: #
                   9935: # Masscomp has gone out of business.  Their product line was purchased by
                   9936: # comany in Georgia (US) called "XS International", parts and service may
                   9937: # still be available through them.
                   9938: #
                   9939:
                   9940: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   9941: masscomp|masscomp workstation console:\
                   9942:        :km:mi:\
                   9943:        :co#80:it#8:li#24:\
1.5     ! tholo    9944:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
        !          9945:        :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
        !          9946:        :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
        !          9947:        :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
1.2       deraadt  9948: masscomp1|masscomp large screen version 1:\
1.3       deraadt  9949:        :co#104:li#36:tc=masscomp:
1.2       deraadt  9950: masscomp2|masscomp large screen version 2:\
1.3       deraadt  9951:        :co#64:li#21:tc=masscomp:
                   9952:
                   9953: #### DEC consoles
                   9954: #
                   9955:
                   9956: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
                   9957: # The digital uVax II's had a graphic display called a qdss.  It was
                   9958: # supposed to be a high performance graphic accelerator, but it was
                   9959: # late to market and barely appeared before faster dumb frame buffers
                   9960: # appeared.  I have only used this display while running X11.  However,
                   9961: # during bootup, it was in text mode, and probably had a terminal emulator
                   9962: # within it.  And that is what your termcap entry is for.  In graphics
                   9963: # mode the screen size is 1024x864 pixels.
                   9964: qdss|qdcons|qdss glass tty:\
                   9965:        :am:\
                   9966:        :co#128:li#57:\
                   9967:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
1.1       deraadt  9968:
                   9969: ######## OTHER OBSOLETE TYPES
                   9970: #
                   9971: # These terminals are *long* dead -- these entries are retained for
                   9972: # historical interest only.
1.5     ! tholo    9973: #
1.1       deraadt  9974:
                   9975: #### Obsolete non-ANSI software emulations
                   9976: #
                   9977:
                   9978: # CTRM terminal emulator
                   9979: # 1. underlining is not allowed with colors: first, is is simulated by
                   9980: # black on white, second, it disables background color manipulations.
                   9981: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   9982: # so we have to save their status in the static registers A, B and H
                   9983: # respectively, to be able to restore them when color changes
                   9984: # (because any color change turns off ALL attributes)
1.5     ! tholo    9985: # 3. :md: and :mr: sequences alternate modes,
1.1       deraadt  9986: # rather then simply  entering them.  Thus we have to check the
                   9987: # static register B and H to determine the status, before sending the
                   9988: # escape sequence.
1.5     ! tholo    9989: # 4. :me: now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  9990: # and then reset colors
                   9991: # 5. implementation of the protect mode would badly penalize the performance.
                   9992: # we would have to use \E&bn sequence to turn off colors (as well as all
                   9993: # other attributes), and keep the status of protect mode in yet another
1.3       deraadt  9994: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  9995: # create another terminfo entry.
                   9996: # 6. original color-pair is white on black.
                   9997: # store the information about colors into static registers
                   9998: # 7. set foreground color.  it performs the following steps.
                   9999: #   1) turn off all attributes
1.3       deraadt  10000: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  10001: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   10002: #   3) turn on foreground attributes
                   10003: #   4) store information about foreground into U,V,W static registers
                   10004: # 8. turn on background: similar to turn on foreground above
1.3       deraadt  10005: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  10006: ctrm|C terminal emulator:\
1.3       deraadt  10007:        :am:ut:xo:\
1.5     ! tholo    10008:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
        !          10009:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
        !          10010:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
        !          10011:        :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
        !          10012:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
        !          10013:        :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
        !          10014:        :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
        !          10015:        :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  10016:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   10017:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.3       deraadt  10018:        :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  10019:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   10020:
                   10021: # gs6300 - can't use blue foreground, it clashes with underline;
                   10022: # it's simulated with cyan
1.5     ! tholo    10023: # Bug: The <op> capability probably resets attributes.
        !          10024: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.2       deraadt  10025: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3       deraadt  10026:        :am:ms:ut:xo:\
                   10027:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  10028:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5     ! tholo    10029:        :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
1.3       deraadt  10030:        :..Sf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m:\
                   10031:        :UP=\E[%dA:\
                   10032:        :ac=\\\054\\\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10033:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
1.5     ! tholo    10034:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
        !          10035:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
        !          10036:        :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
        !          10037:        :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
        !          10038:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
        !          10039:        :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
        !          10040:        :ta=^I:up=\E[A:us=\E[4m:
1.1       deraadt  10041:
                   10042: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   10043: # MS-Kermit with Heath-19 emulation mode enabled
                   10044: # (h19k: changed ":pt@:" to ":it@"
                   10045: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   10046:        :am@:da:db:xt:\
                   10047:        :it@:\
                   10048:        :ta@:tc=h19-u:
                   10049:
1.5     ! tholo    10050: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
        !          10051: # Software (formerly Peripherals Computers & Supplies, Inc) of
        !          10052: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
        !          10053: # also be reached at support@synergy.com.
1.2       deraadt  10054: versaterm|versaterm vt100 emulator for the macintosh:\
                   10055:        :am:xn:\
                   10056:        :co#80:it#8:li#24:\
                   10057:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   10058:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   10059:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   10060:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5     ! tholo    10061:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
        !          10062:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
        !          10063:        :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
        !          10064:        :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
1.3       deraadt  10065:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  10066:
                   10067: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  10068: # (xtalk: I added <rmam>/<smam> based on the init string.
1.5     ! tholo    10069: # I also removed :sg#1: and the trailing \s characters from the highlight
        !          10070: # changers, I don't believe these on a VT100-emulating PC display -- esr)
1.1       deraadt  10071: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   10072:        :am:mi:ms:xo:\
1.2       deraadt  10073:        :co#80:it#8:li#24:vt#3:\
1.5     ! tholo    10074:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
        !          10075:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  10076:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10077:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.5     ! tholo    10078:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
        !          10079:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          10080:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
        !          10081:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          10082:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
        !          10083:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m:sf=^J:\
        !          10084:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  10085:
                   10086: # The official PC terminal emulator program of the AT&T Product Centers.
                   10087: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   10088: simterm|attpc running simterm:\
                   10089:        :am:\
                   10090:        :co#80:li#24:\
1.5     ! tholo    10091:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
        !          10092:        :dc=\ER:dl=\EM:do=\EB:ho=\EH:im=\EQ:le=^H:me=\E&d@:nd=\EC:\
        !          10093:        :se=\E&d@:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
1.1       deraadt  10094:
                   10095: #### Daisy wheel printers
                   10096: #
                   10097: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   10098: # wheel terminals.  These are now largely obsolete.
                   10099: #
1.2       deraadt  10100:
1.5     ! tholo    10101: # (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
1.2       deraadt  10102: diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
1.1       deraadt  10103:        :hc:os:\
1.2       deraadt  10104:        :co#132:it#8:\
1.5     ! tholo    10105:        :ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:kb=^H:le=^H:\
        !          10106:        :st=\E1:ta=^I:up=\E^J:
1.1       deraadt  10107: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
                   10108:        :co#124:\
1.2       deraadt  10109:        :is=\r        \E9:tc=diablo1620:
1.5     ! tholo    10110: # (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
1.1       deraadt  10111: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
1.5     ! tholo    10112:        :bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:\
        !          10113:        :tc=diablo1620:
        !          10114: # (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such
        !          10115: # file -- esr)
1.1       deraadt  10116: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
                   10117:        :co#124:\
1.5     ! tholo    10118:        :se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
1.2       deraadt  10119: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
1.1       deraadt  10120:        :tc=diablo1640-lm:
1.5     ! tholo    10121: # DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
        !          10122: # :so=^P\s\002^PF: works but won't go away without dynamite :se=^P\s\200:.
1.1       deraadt  10123: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   10124: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   10125: # around all of memory.  Note that return puts a blank ("a return character")
                   10126: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
1.2       deraadt  10127: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   10128: # curses won't work (some old BSD versions) because it doesn't clear this bit,
1.1       deraadt  10129: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   10130: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   10131: # least one line with no tabs in it, and once you tab through that line,
                   10132: # it completely weirds out.
1.5     ! tholo    10133: # (dtc382: change :te: to :ti: -- it  just does a clear --esr)
1.1       deraadt  10134: dtc382|DTC 382:\
                   10135:        :am:da:db:xs:\
                   10136:        :co#80:li#24:lm#96:\
                   10137:        :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
                   10138:        :cl=\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
                   10139:        :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:\
1.5     ! tholo    10140:        :ti=\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
1.1       deraadt  10141: dtc300s|DTC 300s:\
                   10142:        :hc:os:\
                   10143:        :co#132:\
1.5     ! tholo    10144:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
        !          10145:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  10146: gsi|mystery gsi terminal:\
1.1       deraadt  10147:        :hc:os:\
                   10148:        :co#132:\
1.5     ! tholo    10149:        :bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:up=^Z:
1.1       deraadt  10150: aj830|aj832|aj|anderson jacobson:\
1.2       deraadt  10151:        :hc:os:\
1.1       deraadt  10152:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   10153: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
1.2       deraadt  10154: aj510|Anderson-Jacobson model 510:\
                   10155:        :am:mi:\
1.1       deraadt  10156:        :co#80:li#24:\
1.5     ! tholo    10157:        :al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
        !          10158:        :dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
        !          10159:        :ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
        !          10160:        :ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
1.1       deraadt  10161: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   10162: # This is incomplete, but it's a start.
                   10163: nec5520|nec|spinwriter|nec 5520:\
1.2       deraadt  10164:        :hc:os:\
                   10165:        :co#132:it#8:\
1.1       deraadt  10166:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
1.5     ! tholo    10167:        :hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:up=\E9:
1.1       deraadt  10168: qume5|qume|Qume Sprint 5:\
1.2       deraadt  10169:        :hc:os:\
                   10170:        :co#80:it#8:\
1.5     ! tholo    10171:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
        !          10172:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  10173: # I suspect the xerox 1720 is the same as the diablo 1620.
1.1       deraadt  10174: xerox1720|x1720|x1750|xerox 1720:\
1.2       deraadt  10175:        :hc:os:\
                   10176:        :co#132:it#8:\
1.5     ! tholo    10177:        :bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:ta=^I:
1.1       deraadt  10178:
                   10179: #### Miscellaneous obsolete terminals, manufacturers unknown
                   10180: #
                   10181: # If you have any information about these (like, a manufacturer's name,
                   10182: # and a date on the serial-number plate) please send it!
                   10183:
                   10184: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.2       deraadt  10185:        :am:\
1.1       deraadt  10186:        :co#73:li#36:\
1.2       deraadt  10187:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  10188: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.2       deraadt  10189:        :am:\
1.1       deraadt  10190:        :co#85:li#39:\
1.5     ! tholo    10191:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
        !          10192:        :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
1.2       deraadt  10193: cops10|cops|cops-10|cops 10:\
1.1       deraadt  10194:        :am:bw:\
                   10195:        :co#80:li#24:\
1.5     ! tholo    10196:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
        !          10197:        :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  10198: # (d132: removed duplicate ":ic=\E5:" -- esr)
                   10199: d132|datagraphix|datagraphix 132a:\
                   10200:        :da:db:in:\
                   10201:        :co#80:li#30:\
1.5     ! tholo    10202:        :al=\E3:bl=^G:cl=^L:cr=^M:dc=\E6:do=^J:ei=:ho=\Et:ic=\E5:im=:\
        !          10203:        :nd=\El:sf=\Ev:sr=\Ew:up=\Ek:ve=\Em\En:vs=\Ex:
1.1       deraadt  10204: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   10205: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   10206: # mode (which is what this entry looks like) and several other lesser-known
                   10207: # emulations.
                   10208: d800|Direct 800/A:\
1.2       deraadt  10209:        :am:da:db:ms:xs:\
                   10210:        :co#80:it#8:li#24:\
1.5     ! tholo    10211:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
        !          10212:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
        !          10213:        :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
        !          10214:        :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
        !          10215:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
        !          10216:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
        !          10217:        :vs=\E[>12l:
1.1       deraadt  10218: digilog|digilog 333:\
                   10219:        :co#80:li#16:\
1.5     ! tholo    10220:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
        !          10221: # The DWK was a terminal manufactured in the Soviet Union c.1986
        !          10222: dwk|dwk-vt|dwk terminal:\
        !          10223:        :am:\
        !          10224:        :co#80:it#8:li#24:\
        !          10225:        :ac=lJmFkCjXtEuPv\\wKqUxWnNo~s_`+a\072f'g#~_\\\054Q+^.M-Sh#I#0\177:\
        !          10226:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
        !          10227:        :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
        !          10228:        :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
        !          10229:        :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
        !          10230:        :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
        !          10231:        :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
1.1       deraadt  10232: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  10233:        :xn@:\
1.3       deraadt  10234:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  10235:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  10236: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   10237: # coupler attached, the whole rig fitting in a suitcase and more or less
                   10238: # portable.  Hot stuff for c.1977 :-) -- esr
                   10239: ep48|ep4080|execuport 4080:\
1.2       deraadt  10240:        :am:os:\
1.1       deraadt  10241:        :co#80:\
                   10242:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   10243: ep40|ep4000|execuport 4000:\
1.3       deraadt  10244:        :co#136:tc=ep4080:
1.1       deraadt  10245: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   10246: # Informer series - these are all portable units, resembling older
                   10247: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   10248: # design, but isn't.  The structure is similar to the Direct terminals,
                   10249: # but only half the width.  The entire unit is only about 10" wide.
                   10250: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   10251: # keyboard.  All the keys are crammed together, much like some laptop
                   10252: # PCs today, but perhaps less well organized...all these units have a
                   10253: # bewildering array of plugs on the back, including a built-in modem.
                   10254: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   10255: # color terminals built for IBM bisync protocols.
                   10256: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   10257: ifmr|Informer D304:\
1.2       deraadt  10258:        :am:\
1.1       deraadt  10259:        :co#80:li#24:\
1.5     ! tholo    10260:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=^J:ei=:\
        !          10261:        :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
        !          10262:        :up=\EA:
1.1       deraadt  10263: # Entry largely based on wy60 and has the features of wy60ak.
1.3       deraadt  10264: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   10265: # (sgr removed to fit entry within 1023 bytes)
                   10266: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  10267: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  10268:        :am:bw:hs:km:mi:ms:ul:xo:\
                   10269:        :co#80:li#24:ws#80:\
1.5     ! tholo    10270:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
        !          10271:        :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
        !          10272:        :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  10273:        :is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12:\
1.5     ! tholo    10274:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
        !          10275:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
        !          10276:        :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
        !          10277:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
1.3       deraadt  10278:        :st=\E1:ta=\011:\
1.2       deraadt  10279:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.5     ! tholo    10280:        :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
        !          10281:        :tc=adm+sgr:
1.2       deraadt  10282: teletec|Teletec Datascreen:\
1.1       deraadt  10283:        :am:\
                   10284:        :co#80:li#24:\
1.5     ! tholo    10285:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
1.2       deraadt  10286: # Terak made a PDP-11 based machine with a bitmapped display that ran UCSD
                   10287: # Pascal as the native OS. It was quite a nice box, and there were several
                   10288: # at UC Berkeley.
1.1       deraadt  10289: terak|Terak emulating Datamedia 1520:\
                   10290:        :tc=dm1520:
                   10291: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   10292: #              This termcap is for the LANPAR Technologies VISION 3220
                   10293: #      terminal.  The function key definitions k0-k5 represent the
                   10294: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   10295: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   10296: #      PF4 keys.
1.2       deraadt  10297: # (v3220: removed obsolete ":kn#10:",
                   10298: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10299: v3220|LANPAR Vision II model 3220/3221/3222:\
1.2       deraadt  10300:        :am:mi:xn:\
                   10301:        :co#80:it#8:li#24:\
1.5     ! tholo    10302:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          10303:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
        !          10304:        :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
        !          10305:        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
        !          10306:        :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          10307:        :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
        !          10308:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  10309: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   10310: #
                   10311: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   10312: # are present; the symptom is doubled characters in an update using insert.
                   10313: # These applications are technically correct; in both 4.3BSD termcap and
                   10314: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   10315: # unless the terminal needs both.  This requirement is now rare; most ich
                   10316: # sequences do not require previous smir, and most smir insert modes do not
                   10317: # require ich1 before each character.
                   10318: #
                   10319: # For ncurses-based applications this is not a problem, as ncurses uses
                   10320: # one or the other as appropriate but never mixes the two.  Therefore we
                   10321: # have not corrected entries like `linux' and `xterm' that specify both.
                   10322: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  10323: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   10324: #
                   10325:
1.3       deraadt  10326: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  10327: #
                   10328: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   10329: # ECMA-48 standards are said to be almost identical, but are not the same
1.3       deraadt  10330: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  10331: #
                   10332: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   10333: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   10334: # Coded Character Sets"), include your snail-mail address, and you should
                   10335: # receive the document in due course.  Don't expect an email acknowledgement.
                   10336: #
                   10337: # Related standards include "X3.4-1977: American National Standard Code for
                   10338: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   10339: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3       deraadt  10340: # American National Standard for Information Interchange."  I believe (but
                   10341: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   10342: # respectively.
1.1       deraadt  10343: #
1.2       deraadt  10344:
1.3       deraadt  10345: #### VT100/ANSI/ECMA-48
1.1       deraadt  10346: #
                   10347: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3       deraadt  10348: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  10349: #
1.5     ! tholo    10350: # Much of the content of this comment is adapted from a table prepared by
1.3       deraadt  10351: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   10352: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   10353: # have been added.  Control functions described in ECMA-48 only are tagged
                   10354: # with * after their names.
                   10355: #
                   10356: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   10357: # sequences.  In the main table, \E stands for an escape (\033) character,
                   10358: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   10359: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   10360: # semicolons.  Parameter meanings for most parametrized sequences are
                   10361: # decribed in the notes.
                   10362: #
1.1       deraadt  10363: # Sequence     Sequence                             Parameter   or
                   10364: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   10365: # -----------------------------------------------------------------------------
1.3       deraadt  10366: # APC  Applicatn Program Command \E _                -         Delim  -
                   10367: # BEL  Bell *                    ^G                  -         -      bel
                   10368: # BPH  Break Permitted Here *    \E B                -         *      -
                   10369: # BS   Backpace *                ^H                  -         EF     -
                   10370: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  10371: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   10372: # CCH  Cancel Previous Character \E T                -         -      -
1.3       deraadt  10373: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   10374: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   10375: # CMD  Coding Method Delimiter * \E
                   10376: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  10377: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3       deraadt  10378: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  10379: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3       deraadt  10380: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  10381: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   10382: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   10383: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3       deraadt  10384: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  10385: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3       deraadt  10386: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  10387: # DA   Device Attributes         \E [ Pn c           0         -      -
                   10388: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   10389: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   10390: # DCS  Device Control String     \E P                -         Delim  -
                   10391: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3       deraadt  10392: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  10393: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3       deraadt  10394: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   10395: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   10396: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  10397: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3       deraadt  10398: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  10399: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3       deraadt  10400: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
                   10401: # EM   Eend of Medium *          ^Y                  -         -      -
1.1       deraadt  10402: # EMI  Enable Manual Input       \E b                          Fs     -
1.3       deraadt  10403: # ENQ  Enquire                   ^E                  -         -      -
1.5     ! tholo    10404: # EOT  End Of Transmission       ^D                  -         *      -
1.3       deraadt  10405: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  10406: # ESA  End of Selected Area      \E G                -         -      -
1.3       deraadt  10407: # ESC  Escape                    ^[                  -         -      -
                   10408: # ETB  End Transmission Block    ^W                  -         -      -
                   10409: # ETX  End of Text               ^C                  -         -      -
                   10410: # FF   Form Feed                 ^L                  -         -      -
                   10411: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   10412: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  10413: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3       deraadt  10414: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  10415: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3       deraadt  10416: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   10417: # HPB  Char Position Backward    \E [ j              1         FE     -
                   10418: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   10419: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   10420: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  10421: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3       deraadt  10422: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  10423: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3       deraadt  10424: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   10425: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  10426: # IL   Insert Line               \E [ Pn L           1         eF     il
                   10427: # IND  Index                     \E D                -         FE     -
                   10428: # INT  Interrupt                 \E a                -         Fs     -
                   10429: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3       deraadt  10430: # IS1  Info Separator #1 *       ^_                  -         *      -
                   10431: # IS2  Info Separator #1 *       ^^                  -         *      -
                   10432: # IS3  Info Separator #1 *       ^]                  -         *      -
                   10433: # IS4  Info Separator #1 *       ^\                  -         *      -
                   10434: # LF   Line Feed                 ^J                  -         -      -
                   10435: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   10436: # LS2  Locking Shift 2 *         \E n                -         -      -
                   10437: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   10438: # LS3  Locking Shift 3 *         \E o                -         -      -
                   10439: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   10440: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  10441: # MW   Message Waiting           \E U                -         -      -
1.5     ! tholo    10442: # NAK  Negative Acknowledge *    ^U                  -         *      -
1.3       deraadt  10443: # NBH  No Break Here *           \E C                -         -      -
                   10444: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  10445: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3       deraadt  10446: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  10447: # OSC  Operating System Command  \E ]                -         Delim  -
1.5     ! tholo    10448: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
        !          10449: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
        !          10450: # PLD  Partial Line Down         \E K                -         FE     -   (T)
        !          10451: # PLU  Partial Line Up           \E L                -         FE     -   (U)
1.1       deraadt  10452: # PM   Privacy Message           \E ^                -         Delim  -
                   10453: # PP   Preceding Page            \E [ Pn V           1         eF     -
1.5     ! tholo    10454: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
        !          10455: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
        !          10456: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
        !          10457: # PTX  Parallel Texts *          \E [ \              -         -      -
1.1       deraadt  10458: # PU1  Private Use 1             \E Q                -         -      -
                   10459: # PU2  Private Use 2             \E R                -         -      -
                   10460: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   10461: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1.5     ! tholo    10462: # RI   Reverse Index             \E M                -         FE     -   (V)
1.1       deraadt  10463: # RIS  Reset to Initial State    \E c                -         Fs     -
1.5     ! tholo    10464: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
        !          10465: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
        !          10466: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
        !          10467: # SCI  Single-Char Introducer    \E Z                -         -      -
        !          10468: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
        !          10469: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1.1       deraadt  10470: # SD   Scroll Down               \E [ Pn T           1         eF     rin
1.5     ! tholo    10471: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
        !          10472: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
        !          10473: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1.3       deraadt  10474: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1.5     ! tholo    10475: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1.3       deraadt  10476: # SI   Shift In                  ^O                  -         -      -   (P)
1.5     ! tholo    10477: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1.1       deraadt  10478: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1.5     ! tholo    10479: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
        !          10480: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
        !          10481: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
        !          10482: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
1.3       deraadt  10483: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.5     ! tholo    10484: # SOH  Start Of Heading *        ^A                  -         -      -
        !          10485: # SOS  Start of String *         \E X                -         -      -
        !          10486: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
        !          10487: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
        !          10488: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1.1       deraadt  10489: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1.5     ! tholo    10490: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
        !          10491: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1.1       deraadt  10492: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1.5     ! tholo    10493: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
        !          10494: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
        !          10495: # SSA  Start of Selected Area    \E F                -         -      -
        !          10496: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
        !          10497: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1.1       deraadt  10498: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   10499: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   10500: # ST   String Terminator         \E \                -         Delim  -
1.5     ! tholo    10501: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1.1       deraadt  10502: # STS  Set Transmit State        \E S                -         -      -
1.5     ! tholo    10503: # STX  Start pf Text *           ^B                  -         -      -
1.1       deraadt  10504: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
1.5     ! tholo    10505: # SUB  Substitute *              ^Z                  -         -      -
        !          10506: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
        !          10507: # SYN  Synchronous Idle *        ^F                  -         -      -
        !          10508: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
        !          10509: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
        !          10510: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1.1       deraadt  10511: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1.5     ! tholo    10512: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
        !          10513: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1.1       deraadt  10514: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1.5     ! tholo    10515: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
        !          10516: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
        !          10517: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
        !          10518: # VT   Vertical Tabulation *     ^K                  -         FE     -
1.1       deraadt  10519: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   10520: #
                   10521: # ---------------------------------------------------------------------------
                   10522: #
                   10523: # Notes:
                   10524: #
1.3       deraadt  10525: # Some control characters are listed in the ECMA-48 standard without
                   10526: # being assigned functions relevant to terminal control there (they
                   10527: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   10528: # here anyway for completeness.
                   10529: #
1.5     ! tholo    10530: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1.3       deraadt  10531: #
                   10532: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  10533: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3       deraadt  10534: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1.5     ! tholo    10535: # preserved the CHA abbreviation.
1.1       deraadt  10536: #
1.3       deraadt  10537: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  10538: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3       deraadt  10539: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1.5     ! tholo    10540: # CHT abbreviation.
1.1       deraadt  10541: #
1.3       deraadt  10542: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  10543: #
1.3       deraadt  10544: # (E) ECNA-48 calls this "Active Position Report" but preserves the CPR
1.5     ! tholo    10545: # abbreviation.
1.3       deraadt  10546: #
                   10547: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   10548: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   10549: # 5 = clear all char tabs, 6 = clear all line tabs.
                   10550: #
                   10551: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   10552: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
1.5     ! tholo    10553: # Position Absolute" but retains the HVP abbreviation.
1.3       deraadt  10554: #
1.5     ! tholo    10555: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
        !          10556: # abbreviation.
1.1       deraadt  10557: #
1.3       deraadt  10558: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   10559: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   10560: # DSR, 6 = request CPR response.
                   10561: #
                   10562: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   10563: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  10564: #
1.5     ! tholo    10565: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
1.3       deraadt  10566: #
                   10567: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   10568: #
                   10569: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   10570: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
1.5     ! tholo    10571: # Position Relative" but retains the HPR abbreviation.
1.1       deraadt  10572: #
1.5     ! tholo    10573: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
        !          10574: # abbreviation.
1.1       deraadt  10575: #
1.3       deraadt  10576: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   10577: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   10578: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   10579: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   10580: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   10581: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   10582: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   10583: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   10584: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   10585: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   10586: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   10587: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   10588: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   10589: # 61-65 = variable highlights for ideograms.
                   10590: #
                   10591: # (P) SI is also called LSO, Locking Shift Zero.
                   10592: #
                   10593: # (Q) SI is also called LS1, Locking Shift One.
                   10594: #
                   10595: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.5     ! tholo    10596: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
        !          10597: # Absolute but retains the VPA abbreviation.
1.1       deraadt  10598: #
1.3       deraadt  10599: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   10600: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   10601: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   10602: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   10603: # 7 = start relay to secondary aux device.
                   10604: #
1.5     ! tholo    10605: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
        !          10606: # abbreviation.
        !          10607: #
        !          10608: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
        !          10609: # abbreviation.
        !          10610: #
        !          10611: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
        !          10612: #
        !          10613: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
        !          10614: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
        !          10615: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
        !          10616: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
        !          10617: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
        !          10618: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
        !          10619: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
        !          10620: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
        !          10621: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
        !          10622: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
        !          10623: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
        !          10624: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
        !          10625: # from ECMA-48's 5th edition but are listed here for reference.
        !          10626: #
        !          10627: # (X) Select Alternate Presentation Variants is used only for non-Latin
        !          10628: # alphabets.
        !          10629: #
        !          10630: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
        !          10631: #
        !          10632: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
        !          10633: # abbreviation.
        !          10634: #
1.1       deraadt  10635: # ---------------------------------------------------------------------------
                   10636: #
                   10637: # Abbreviations:
                   10638: #
                   10639: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   10640: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   10641: #
                   10642: # Delim  a Delimiter
                   10643: #
                   10644: # x/y    identifies a character by position in the ASCII table (column/row)
                   10645: #
                   10646: # eF     editor function (see explanation)
                   10647: #
                   10648: # FE     format effector (see explanation)
1.3       deraadt  10649: #
1.1       deraadt  10650: # F      is a Final character in
                   10651: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   10652: #             a control sequence (F from 4/0 to 7/14)
                   10653: #
                   10654: # Gs     is a graphic character appearing in strings (Gs ranges from
                   10655: #        2/0 to 7/14) in the ASCII table
                   10656: #
                   10657: # Ce     is a control represented as a single bit combination in the C1 set
                   10658: #        of controls in an 8-bit character set
                   10659: #
                   10660: # C0     the familiar set of 7-bit ASCII control characters
                   10661: #
1.5     ! tholo    10662: # C1     roughly, the set of control chars available only in 8-bit systems.
1.1       deraadt  10663: #        This is too complicated to explain fully here, so read Jim Fleming's
                   10664: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   10665: #
                   10666: # Fe     is a Final character of a 2-character Escape sequence that has an
                   10667: #        equivalent representation in an 8-bit environment as a Ce-type
                   10668: #        (Fe ranges from 4/0 to 5/15)
                   10669: #
                   10670: # Fs     is a Final character of a 2-character Escape sequence that is
                   10671: #        standardized internationally with identical representation in 7-bit
                   10672: #        and 8-bit environments and is independent of the currently
                   10673: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   10674: #
                   10675: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   10676: #        ASCII table
                   10677: #
                   10678: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   10679: #        table
                   10680: #
                   10681: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   10682: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   10683: #
                   10684: # Ps     is a variable number of selective parameters in a control sequence
                   10685: #        with each selective parameter separated from the other by the code
                   10686: #        3/11 (which usually represents a semicolon); Ps ranges from
                   10687: #        3/0 to 3/9 and includes 3/11
1.3       deraadt  10688: #
                   10689: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  10690: #
                   10691: # Format Effectors versus Editor Functions
                   10692: #
                   10693: # A format effector specifies how following output is to be displayed.
                   10694: # An editor function allows you to modify the display.  Informally
                   10695: # format effectors may be destructive; format effectors should not be.
                   10696: #
                   10697: # For instance, a format effector that moves the "active position" (the
                   10698: # cursor or equivalent) one space to the left would be useful when you want to
                   10699: # create an overstrike, a compound character made of two standard characters
                   10700: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   10701: # format effector, so you can do this. But many systems use it in a
                   10702: # nonstandard fashion, as an editor function, deleting the character to the
                   10703: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   10704: # be an editor function, you cannot predict whether its use will create an
                   10705: # overstrike unless you also know whether the output device is in an "insert
                   10706: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   10707: # its effect can always be predicted. The familiar characters carriage
                   10708: # return, linefeed, formfeed, etc., are defined as format effectors.
                   10709: #
                   10710: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   10711: #
                   10712: # Control sequences implemented in the VT100 are as follows:
                   10713: #
                   10714: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   10715: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   10716: #
                   10717: # plus several private DEC commands.
                   10718: #
                   10719: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   10720: #
                   10721: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   10722: #      Erase from beginning of line to cursor     Esc [ 1 K
                   10723: #      Erase line containing cursor               Esc [ 2 K
                   10724: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   10725: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   10726: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  10727: #
                   10728: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   10729: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  10730: #
                   10731: # The VT100 responds to receiving the DA (Device Attributes) control
                   10732: #
                   10733: #      Esc [ c    (or Esc [ 0 c)
                   10734: #
                   10735: # by transmitting the sequence
                   10736: #
                   10737: #      Esc [ ? l ; Ps c
                   10738: #
                   10739: # where Ps is a character that describes installed options.
                   10740: #
                   10741: # The VT100's cursor location can be read with the DSR (Device Status
                   10742: # Report) control
                   10743: #
                   10744: #      Esc [ 6 n
                   10745: #
                   10746: # The VT100 reports by transmitting the CPR sequence
                   10747: #
                   10748: #      Esc [ Pl ; Pc R
                   10749: #
                   10750: # where Pl is the line number and Pc is the column number (in decimal).
                   10751: #
                   10752: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  10753:
                   10754: #### ANSI.SYS
1.1       deraadt  10755: #
1.2       deraadt  10756: # Here is a description of the color and attribute controls supported in the
                   10757: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
                   10758: # terminal emulators for Intel boxes obey these.
1.1       deraadt  10759: #
                   10760: # 0    all attributes off
                   10761: # 1    foreground bright
                   10762: # 4    underscore on
                   10763: # 5    blink on/background bright (not reliable with brown)
                   10764: # 7    reverse-video
                   10765: # 8    set blank (non-display)
                   10766: # 10   set primary font
                   10767: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   10768: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   10769: #
                   10770: #                      Color attribute sets
                   10771: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   10772: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   10773: # Bright black becomes gray.  Bright brown becomes yellow,
1.3       deraadt  10774: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  10775: #
                   10776: # * If the 5 attribute is on and you set a background color (40-47) it is
                   10777: #   supposed to enable bright background.
                   10778: #
1.1       deraadt  10779: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   10780: #   when you try to set a "bright brown" (yellow) background with attribute
                   10781: #   5 (you get a blinking yellow foreground instead).  A few displays
                   10782: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  10783: #   braindamage (this is required by iBCS2).
1.1       deraadt  10784: #
                   10785: # * Some older versions of ANSI.SYS have a bug that causes thems to require
                   10786: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.
1.2       deraadt  10787: #
                   10788: # The entries following are not standalone.  They are meant to be included
                   10789: # via use= in other entries.
                   10790: #
                   10791:
                   10792: #### Intel Binary Compatibility Standard
                   10793: #
                   10794: # For comparison, here are the capabilities implied by the Intel Binary
                   10795: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   10796: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3       deraadt  10797: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   10798: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   10799: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   10800: # terminfo entry are followed with the corresponding capability in parens:
                   10801: #
                   10802: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   10803: #      CSI 2h                  lock keyboard
                   10804: #      CSI 2i                  send screen as input
                   10805: #      CSI 2l                  unlock keyboard
                   10806: #      CSI 6m                  enable background color intensity
                   10807: #      CSI <0-2>c              reserved
                   10808: #      CSI <0-59>m             select graphic rendition
                   10809: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   10810: #      CSI <n>;<m>f            cursor to line n and column m
                   10811: #      CSI <n>@        (ich)   insert characters
                   10812: #      CSI <n>A        (cuu)   cursor up n lines
                   10813: #      CSI <n>B        (cud)   cursor down n lines
                   10814: #      CSI <n>C        (cuu)   cursor right n characters
                   10815: #      CSI <n>D        (cud)   cursor left n characters
                   10816: #      CSI <n>E                cursor down n lines and in first column
                   10817: #      CSI <n>F                cursor up n lines and in first column
                   10818: #      CSI <n>G        (hpa)   position cursor at column n-1
                   10819: #      CSI <n>J        (ed)    erase in display
                   10820: #      CSI <n>K        (el)    erase in line
                   10821: #      CSI <n>L        (il)    insert line(s)
                   10822: #      CSI <n>P        (dch)   delete characters
                   10823: #      CSI <n>S        (indn)  scroll up n lines
                   10824: #      CSI <n>T        (rin)   scroll down n lines
                   10825: #      CSI <n>X        (ech)   erase characters
                   10826: #      CSI <n>Z        (cbt)   back up n tab stops
                   10827: #      CSI <n>`                cursor to column n on line
                   10828: #      CSI <n>a        (cuu)   cursor right n characters
                   10829: #      CSI <n>d        (vpa)   cursor to line n
                   10830: #      CSI <n>e                cursor down n lines and in first column
                   10831: #      CSI <n>g        (cbt)   clear all tabs
                   10832: #      CSI <n>z                make virtual terminal n active
                   10833: #      CSI ?7h         (smam)  turn automargin on
                   10834: #      CSI ?7l         (rmam)  turn automargin off
                   10835: #      CSI s                   save cursor position
                   10836: #      CSI u                   restore cursor position to saved value
                   10837: #      CSI =<c>A               set overscan color
                   10838: #      CSI =<c>F               set normal foreground color
                   10839: #      CSI =<c>G               set normal background color
                   10840: #      CSI =<c>H               set reverse foreground color
                   10841: #      CSI =<c>I               set reverse foreground color
                   10842: #      CSI =<c>J               set graphic foreground color
                   10843: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  10844: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3       deraadt  10845: #      CSI =<p>;<d>B           set bell parameters
                   10846: #      CSI =<s>;<e>C           set cursor parameters
                   10847: #      CSI =<x>D               enable/disable intensity of background color
                   10848: #      CSI =<x>E               set/clear blink vs. bold background
                   10849: #      CSI 7           (sc)    (sc) save cursor position
                   10850: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   10851: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  10852: #      CSI Q<n><string>        define function key string
                   10853: #                              (string must begin and end with delimiter char)
                   10854: #      CSI c           (clear) clear screen
                   10855: #
                   10856: # The lack of any specification for attributes in SGR (among other things)
                   10857: # makes this a wretchedly weak standard. The table above is literally
                   10858: # everything iBSC2 has to say about terminal escape sequences; there is
                   10859: # no further discussion of their meaning or how to set the parameters
                   10860: # in these sequences at all.
                   10861: #
1.1       deraadt  10862:
                   10863: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   10864: #
                   10865: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   10866: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   10867: # with the extension names chosen for compatibility with the termcap names
                   10868: # assigned in System V terminfo.  There are some variant extension sets out
                   10869: # there.  We try to describe them here.
                   10870: #
                   10871: # XENIX extensions:
                   10872: #
                   10873: # The XENIX extensions include a set of function-key capabilities as follows:
                   10874: #
                   10875: #       code   XENIX variable name     terminfo name   name clashes?
                   10876: #      ----    -------------------     -------------   -----------------------
                   10877: #      CL      key_char_left
                   10878: #      CR      key_char_right
                   10879: #      CW      key_change_window                       create_window
                   10880: #      EN      key_end                 kend
                   10881: #      HM      key_home                khome
                   10882: #      HP      ??
                   10883: #      LD      key_delete_line         kdl1
                   10884: #      LF      key_linefeed                            label_off
                   10885: #      NU      key_next_unlocked_cell
                   10886: #      PD      key_page_down           knp
                   10887: #      PL      ??
                   10888: #      PN      start_print             mc5
                   10889: #      PR      ??
                   10890: #      PS      stop_print              mc4
                   10891: #      PU      key_page_up             kpp             pulse
                   10892: #      RC      key_recalc                              remove_clock
                   10893: #      RF      key_toggle_ref                          req_for_input
                   10894: #      RT      key_return              kent
                   10895: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   10896: #      WL      key_word_left
                   10897: #      WR      key_word_right
                   10898: #
                   10899: # The XENIX extensions also include the following character-set and highlight
                   10900: # capabilities:
                   10901: #
                   10902: #      XENIX   terminfo        function
                   10903: #      -----   --------        ------------------------------
                   10904: #      GS      smacs           start alternate character set
                   10905: #      GE      rmacs           end alternate character set
                   10906: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   10907: #      bo      blink           begin blink (not used in /etc/termcap)
                   10908: #      be                      end blink (not used in /etc/termcap)
                   10909: #      bb                      blink glitch  (not used in /etc/termcap)
                   10910: #      it      dim             begin dim (not used in /etc/termcap)
                   10911: #      ie                      end dim (not used in /etc/termcap)
                   10912: #      ig                      dim glitch  (not used in /etc/termcap)
                   10913: #
1.2       deraadt  10914: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  10915: #
1.2       deraadt  10916: #      single  double  type             ASCII approximation
                   10917: #      ------  ------  -------------    -------------------
                   10918: #      GV      Gv      vertical line             |
                   10919: #      GH      Gv      horizontal line       -   _
                   10920: #      G1      G5      top right corner       _   |
                   10921: #      G2      G6      top left corner       |
                   10922: #      G3      G7      bottom left corner         |_
                   10923: #      G4      G8      bottom right corner   _|
                   10924: #      GD      Gd      down-tick character        T
                   10925: #      GL      Gl      left-tick character   -|
                   10926: #      GR      Gr      right-tick character       |-
                   10927: #      GC      Gc      middle intersection   -|-
                   10928: #      GU      Gu      up-tick character          _|_
                   10929: #
                   10930: # These were invented to take advantage of the IBM PC ROM character set.  One
                   10931: # can compose an acsc string from the single-width characters as follows
                   10932: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
                   10933: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  10934: #
                   10935: # AT&T Extensions:
                   10936: #
                   10937: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   10938: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   10939: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   10940: # set.  Comments in the original, and a little cross-checking with other AT&T
                   10941: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   10942: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   10943: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   10944: # cursor invisible), and CV=:ve: (make cursor normal).
                   10945: #
1.2       deraadt  10946: # HP Extensions
                   10947: #
                   10948: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   10949: # have the System V capabilities up to SVr1 level.  After that, it supports
                   10950: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   10951: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   10952: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   10953: # HP binary format incompatible with SVr4's.
                   10954: #
                   10955: # IBM Extensions
                   10956: #
                   10957: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   10958: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   10959: # capabilities following prtr_non with the following special capabilties:
                   10960: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   10961: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   10962: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   10963: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   10964: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   10965: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   10966: # correspond to acsc chars, here is the mapping:
                   10967: #
                   10968: #      box1[0]  = ACS_ULCORNER
                   10969: #      box1[1]  = ACS_HLINE
                   10970: #      box1[2]  = ACS_URCORNER
                   10971: #      box1[3]  = ACS_VLINE
                   10972: #      box1[4]  = ACS_LRCORNER
                   10973: #      box1[5]  = ACS_LLCORNER
                   10974: #      box1[6]  = ACS_TTEE
                   10975: #      box1[7]  = ACS_RTEE
                   10976: #      box1[8]  = ACS_BTEE
                   10977: #      box1[9]  = ACS_LTEE
                   10978: #      box1[10] = ACS_PLUS
                   10979: #
                   10980: # The box2 characters are the double-line versions of these forms graphics.
                   10981: # The AIX binary terminfo format is incompatible with SVr4's.
                   10982: #
1.5     ! tholo    10983: # Iris console extensions:
        !          10984: #
        !          10985: # HS is half-intensity start; HE is half-intensity end
        !          10986: # CT is color terminal type (for Curses & rogue)
        !          10987: # CP is color change escape sequence
        !          10988: # CZ are color names (for Curses & rogue)
        !          10989: #
        !          10990: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
        !          10991: #
1.1       deraadt  10992: # TC Extensions:
                   10993: #
                   10994: # There is a set of extended termcaps associated with something
                   10995: # called the "Terminal Control" or TC package created by MainStream Systems,
                   10996: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   10997: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   10998: # that flags color terminals.
1.2       deraadt  10999: #
1.1       deraadt  11000: ######## CHANGE HISTORY
                   11001: #
1.2       deraadt  11002: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   11003: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   11004: # project.
                   11005: #
                   11006: # This file contains all the capability information present in John Kunze's
                   11007: # last version of the termcap master file, except as noted in the change
                   11008: # comments at end of file.  Some information about very ancient obsolete
                   11009: # capabilities has been moved to comments.  Some all-numeric names of older
                   11010: # terminals have been retired.
                   11011: #
                   11012: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   11013: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   11014: # used by BSD curses.
                   11015: #
                   11016: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   11017: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   11018: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   11019: # making perfectly synchronized mistakes which I then failed to catch by
                   11020: # eyeball, the translation was correct and perfectly information-preserving.
                   11021: #
                   11022: # Here is a log of the changes since then:
                   11023: #
1.1       deraadt  11024: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   11025: #      * First terminfo master translated from 8.3.
                   11026: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   11027: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   11028: #
                   11029: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   11030: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   11031: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   11032: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   11033: #      * Contact and history info supplied by Qume.
                   11034: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
1.5     ! tholo    11035: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
1.1       deraadt  11036: #      * Added information on X3.64 and VT100 standard escape sequences.
                   11037: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   11038: #      * Added a correct X11R6 xterm entry.
                   11039: #      * Fixed terminfo translations of padding.
                   11040: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   11041: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   11042: #      * Added u6/u7/u8/u9 capabilities.
                   11043: #      * Added PCVT entry.
                   11044: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   11045: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   11046: #        to use reverse-video standout so Emacs will look right.
                   11047: #      * Added el1 capability to ansi.
                   11048: #      * Added smacs/rmacs to ansi.sys.
                   11049: #
                   11050: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   11051: #      * New mt70 entry.
                   11052: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   11053: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   11054: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   11055: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   11056: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   11057: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   11058: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   11059: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   11060: #      * Restored the old minimal-ansi entry, luna needs it.
                   11061: #      * Fixed some incorrect ip and proportional-padding translations.
                   11062: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   11063: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   11064: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   11065: #        to force a particular height.
                   11066: #      * Added beehive4 and reorganized other Harris entries.
                   11067: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   11068: #      * Merged in DEC's official entries for its terminals.  The only old
                   11069: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   11070: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   11071: #        ones from AT&T's SVr3.
                   11072: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   11073: #      * Added teleray 16, vc415, cops10.
                   11074: #      * Merged in many individual capabilities from SCO terminfo files.
                   11075: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   11076: #      * Typo fixes.
                   11077: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   11078: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   11079: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   11080: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   11081: #        simterm, citoh and variants.
                   11082: #      * Replaced sol entry with sol1 and sol2.
                   11083: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   11084: #        terminfo entries.
                   11085: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   11086: #        and dg200 entries using caps from from SCO.
                   11087: #      * Added the usual set of function-key mappings to ANSI entry.
                   11088: #      * Corrected xterm's function-key capabilities.
                   11089: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   11090: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   11091: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   11092: #      * Fix in xterm entry, get the arrow keys right.
                   11093: #      * Change some \0 escapes to \200.
                   11094: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   11095: #      * Added apple (Videx card), adm1a, oadm31.
                   11096: #      * Fixed malformed ampex csr.
                   11097: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   11098: #      * Changed mandatory to advisory padding in many entries.
                   11099: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   11100: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   11101: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   11102: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   11103: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   11104: #        more efficient (but the entries otherwise identical).
                   11105: #      * Added dg211 from Shuford archive.
                   11106: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   11107: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   11108: #      * Pull SCO's padding into vi200 entry.
                   11109: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   11110: #        entries merged in from SCO's descriptions.
                   11111: #      * Fixed old-style prefix padding on zen50, h1500.
                   11112: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   11113: #        entry from SCO's description.
                   11114: #      * Reorganized the special entries.
                   11115: #      * Added lm#0 to cbunix and virtual entries.
                   11116: #
                   11117: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   11118: #      * Restored cdc456tst.
                   11119: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   11120: #      * Added megatek, beacon, microkit.
                   11121: #      * Freeze for ncurses-1.9 release.
                   11122: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   11123: #      * Added historical data for TAB.
                   11124: #      * Comment fixes from David MacKenzie.
                   11125: #      * Added the new BSDI pc3 entry.
                   11126: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   11127: #      * A change in the tic -C logic now ensures that all entries in
                   11128: #        the termcap translation will fit in < 1024 bytes.
                   11129: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   11130: #        from GNU termcap file.  This merges in all their local information.
                   11131: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   11132: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   11133: #      * Added warnings about entries with long translations (restoring
                   11134: #        all the GNU termcaps pushes a few over the edge).
                   11135: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   11136: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   11137: #        number of long (> 1024) termcap translations back to 0.
                   11138: #
                   11139: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   11140: #      * Added kf13-kf20 to Linux entry.
                   11141: #      * Regularize Prime terminal names.
                   11142: #      * Historical data on Synertek.
                   11143: #      * Freeze for ncurses-1.9.1.
                   11144: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   11145: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   11146: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   11147: #      * Name field changes to shorten some long entries.
                   11148: #      * Termcap translation now automatically generates empty rmir/smir
                   11149: #        when ich1/ich is present (copes with an ancient vi bug).
                   11150: #      * Added `screen' entries from FSF's screen-3.6.2.
                   11151: #      * Added linux-nic and xterm-nic entries.
                   11152: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   11153: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   11154: #        eliminating some special-case code in ncurses.
                   11155: #
                   11156: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   11157: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   11158: #        that captures everything unique from it.
                   11159: #      * Added reorder script generator.
                   11160: #      * Freeze for ncurses 1.9.2 release.
                   11161: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   11162: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   11163: #      * Added Olaf Siebert's corrections for adm12.
                   11164: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   11165: #        entries which use it will inherit them automatically.
                   11166: #      * The linux entry can now recognize the center (keypad 5) key.
                   11167: #      * Removed some junk that found its way into Linux acsc.
                   11168: #
                   11169: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   11170: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   11171: #      * xterm doesn't try to use application keypad mode any more.
                   11172: #      * Freeze for ncurses-1.9.3 release.
                   11173: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   11174: #      * Added corrected sun entry from vendor.
                   11175: #      * Added csr capability to linux entry.
                   11176: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   11177: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   11178: #      * Some commented-out caps in long entries come back in, my code
                   11179: #        for computing string-table lengths had a bug in it.
                   11180: #      * pcansi series modified to fit comm-program reality better.
                   11181: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   11182: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   11183: #      * Correct some bad aliases in the pcansi series
                   11184: #      * Added entry for QNX console.
                   11185: #      * Clean up duplicate long names for use with 4.4 library.
                   11186: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   11187: #        this makes the Emacs status line look better.
                   11188: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   11189: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   11190: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  11191: #
                   11192: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   11193: #      * Added dec-vt100 for use with the EWAN emulator.
                   11194: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   11195: #      * Freeze for 1.9.5 alpha release.
                   11196: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   11197: #      * Changed xterm lines to 24, the X11R6 default.
                   11198: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   11199: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   11200: #        entry (the pryz{|} characters).
                   11201: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   11202: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   11203: #      * I finally figured out how to translate ko capabilities.  Done.
                   11204: #      * Added tvi921 entries from Tim Theisen.
                   11205: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   11206: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   11207: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   11208: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   11209: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   11210: #        by making them relative to use capabilities
                   11211: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   11212: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   11213: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   11214: #        ampex80,
                   11215: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   11216: #        equivalent.
                   11217: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   11218: #        vt100 and ANSI-like terminals.
                   11219: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   11220: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   11221: #        does this now, too.
                   11222: #      * fviewpoint is gone, it duplicated screwpoint.
                   11223: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   11224: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   11225: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   11226: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   11227: #      * No more embedded commas in name fields.
                   11228: #
                   11229: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   11230: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   11231: #      * Introduced klone+* entries for describing Intel-console behavior.
                   11232: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   11233: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   11234: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   11235: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   11236: #        that it was messing up someone's 3270 emulator.
                   11237: #      * Added some longname fields in order to avoid warning messages from
                   11238: #        older tic implementations.
                   11239: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   11240: #        it! (This gives us pi, greater than, less than, and a few more.)
                   11241: #      * Freeze for ncurses-1.9.6 release.
                   11242: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   11243: #      * Add xon to a number of console entries, they're memory-mapped and
                   11244: #        don't need padding.
                   11245: #      * Correct the use dependencies in the ansi series.
                   11246: #      * Hand-translate more XENIX capabilities.
                   11247: #      * Added hpterm entry for HP's X terminal emulator.
                   11248: #      * Added aixterm entries.
                   11249: #      * Shortened four names so everything fits in 14 chars.
                   11250: #
                   11251: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   11252: #      * Added ibcs2 entry and info on iBCS2 standard.
                   11253: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   11254: #      * We can handle the HP meml/memu capability now.
                   11255: #      * Added smacs to klone entries, just as documentation.
                   11256: #      * Carrected ansi.sys and cit-500 entries.
                   11257: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   11258: #      * Make pcansi use the ansi.sys invis capability.
                   11259: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   11260: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   11261: #      * X3.64 has been withdrawn, change some references.
                   11262: #      * Removed function keys from ansi-m entry.
                   11263: #      * Corrected ansi.sys entry.
                   11264: #      * Freeze for ncurses-1.9.7 release.
                   11265: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   11266: #      * Added rmam/smam capabilities to many entries based on init strings.
                   11267: #      * Added correct hpa/vpa to linux.
                   11268: #      * Reduced several entries relative to vt52.
                   11269: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   11270: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   11271: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   11272: #        look flat-out incorrect, garbled, or redundant.  These include the
                   11273: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   11274: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   11275: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   11276: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   11277: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   11278: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   11279: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   11280: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   11281: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   11282: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   11283: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   11284: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   11285: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   11286: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   11287: #        <bgrayson@pine.ece.utexas.edu>.
                   11288: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   11289: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   11290: #      * Added kent=\EOM to xterm entry.
                   11291: #
                   11292: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   11293: #      * Corrected gigi entry.
                   11294: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   11295: #        bad hpa/vpa capabilities.
                   11296: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   11297: #        more speed-dependent NUL-padding!
                   11298: #      * terminfo capabilities in comments bracketed with <>.
                   11299: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3       deraadt  11300: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  11301: #      * Freeze for 1.9.7a.
1.3       deraadt  11302: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   11303: #      * Added emu entry from the X11R6 contrib tape sources.
                   11304: #
                   11305: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   11306: #      * Improved iris-ansi and sun entries.
                   11307: #      * More flash string improvements.
                   11308: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   11309: #      * Added dim to at386.
                   11310: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   11311: #        he's ready to start using the termcap generated from this one.
                   11312: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   11313: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   11314: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   11315: #        att610, att620, att630,
                   11316: #      * Changed hazeltine name prefix from h to hz.
                   11317: #      * Sent t500 to the UFI file.
                   11318: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   11319: #      * Freeze for ncurses 1.9.8 release
                   11320: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   11321: #      * Unfreeze, linux kbs needed to be fixed.
                   11322: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   11323: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   11324: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   11325: #        (The broken ones had been shadowed by sgr.)
                   11326: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   11327: #      * Added documentation on ECMA-48 standard.
                   11328: #      * New Amiga entry.
1.5     ! tholo    11329: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
        !          11330: #      * More ECMA-48 stuff
        !          11331: #      * Corrected typo in minix entry, added pc-minix.
        !          11332: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
        !          11333: #      * Added rxvt entry.
        !          11334: #      * Added 1.3.x color-change capabilities to linux entry.
        !          11335: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
        !          11336: #      * Corrected rxvt entry khome/kend.
        !          11337: #      * Corrected linux color change capabilities.
        !          11338: #      * NeXT entries from Dave Wetzel.
        !          11339: #      * Cleaned up if and rf file names (all in /usr/share now).
        !          11340: #      * Changed linux op capability to avoid screwing up a background color
        !          11341: #        pair set by setterm.
        !          11342: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
        !          11343: #      * Added xterm-sun.
        !          11344: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
        !          11345: #      * Added visa50.
        !          11346: #
        !          11347: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
        !          11348: #      * Another sweep through the Shuford archive looking for new info.
        !          11349: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
        !          11350: #      * Added st52 from Per Persson.
        !          11351: #      * Added eterm from the GNU Emacs 19.30 distribution.
        !          11352: #      * Freeze for 1.9.9.
        !          11353: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
        !          11354: #      * FreeBSD console entries from Andrew Chernov.
        !          11355: #      * Removed duplicate Atari st52 name.
        !          11356: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
        !          11357: #      * xterm doesn't actually have ACS_BLOCK.
        !          11358: #      * Change klone+color setf/setb to simpler forms that can be
        !          11359: #        translated into termcap.
        !          11360: #      * Added xterm1.
        !          11361: #      * Removed mechanically-generated junk capabilities from cons* entries.
        !          11362: #      * Added color support to bsdos.
        !          11363: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
        !          11364: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
        !          11365: #      * Created ecma+color, linux can use it.  Also added ech to linux.
        !          11366: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
        !          11367: #      * Add descriptions to FreeBSD console entries.  Also shorten
        !          11368: #        some aliases to <= 14 chars for portability.
        !          11369: #      * Added x68k console
        !          11370: #      * Added OTbs to several VT-series entries.
        !          11371: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
        !          11372: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
        !          11373: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
        !          11374: #      * kterm correction due to Kenji Rikitake.
        !          11375: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
        !          11376: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
        !          11377: #      * Sun console entry correction from J.T. Conklin.
        !          11378: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
        !          11379: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
        !          11380: #      * Added smul to linux entry (we never noticed it was missing
        !          11381: #        because of sgr!).
        !          11382: #      * Added rmln to hp+labels (deduced from other HP entries).
        !          11383: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
        !          11384: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
        !          11385: #      * Corrected vt220 acsc.
        !          11386: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
        !          11387: #        this corresponds to reality and helps prevent some tic warnings.
        !          11388: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
        !          11389: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
        !          11390: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
        !          11391: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
        !          11392: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
        !          11393: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
        !          11394: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
        !          11395: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
        !          11396: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
        !          11397: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
        !          11398: #        ifmr, v3220, wy100q, tandem653, ibmaed.
        !          11399: #      * Added DWK terminal description.
        !          11400: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996)
        !          11401: #      * Many entries now have highlights inherited from adm+sgr.
        !          11402: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
        !          11403: #      * xtitle and xtitle-twm enable access to the X status line.
        !          11404: #      * Added linux-1.3.6 color palette caps in conventional format.
        !          11405: #      * Added adm1178 terminal.
        !          11406: #      * Move fos and apollo terminals to obsolete category.
        !          11407: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
        !          11408: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
        !          11409: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
        !          11410: #        cit500, adm11,
        !          11411:
1.1       deraadt  11412: ######## REORDER
                   11413: #
                   11414: # Older termcap distributions featured a kluge called `reorder' intended to
                   11415: # time-optimize access to selected terminals by moving them to the front of
                   11416: # the file.  This is obsolete under terminfo, but for completeness's sake
                   11417: # we give a reorder script generator here (strip off the leading #s to use).
                   11418: #
                   11419: #: mkreorder --  generate script to optimize access to given terminal types
                   11420: #:
                   11421: #: entries named on command line will be sorted to the front in reverse order
                   11422: #echo "ed -- termcap <<EOF"
                   11423: #for x in $*
                   11424: #do
                   11425: #      echo "/^$x[|:]/;.,/^[a-z#]/-1m0"
                   11426: #done
                   11427: #echo "0a"
                   11428: #echo "."
                   11429: #echo "w termcap.sorted"
                   11430: #echo "q"
                   11431: #echo "EOF"
                   11432: #:end of script
                   11433: #
                   11434: # Invoke this script like this:
                   11435: #
                   11436: #      mkreorder h19 wy60 vt100 >reorder
                   11437: #
                   11438: # The following sets edit modes for GNU EMACS
                   11439: # Local Variables:
                   11440: # fill-prefix:"\t"
                   11441: # fill-column:75
                   11442: # End:
                   11443: ######## SHANTIH!  SHANTIH!  SHANTIH!