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

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

1.2       deraadt     1: ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
1.1       deraadt     2: #
1.8     ! tholo       3: #      Version 9.13.24
1.1       deraadt     4: #      termcap syntax
                      5: #
                      6: #      Eric S. Raymond         (current maintainer)
                      7: #      John Kunze, Berkeley
                      8: #      Craig Leres, Berkeley
                      9: #
                     10: # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
                     11: # address is no longer valid.
                     12: #
                     13: # PURPOSE OF THIS FILE:
                     14: #
                     15: # This file describes the capabilities of various character-cell terminals,
                     16: # as needed by software such as screen-oriented editors.
                     17: #
1.2       deraadt    18: # Other terminfo and termcap files exist, supported by various OS vendors
                     19: # or as relics of various older versions of UNIX.  This one is the longest
                     20: # and most comprehensive one in existence.  It subsumes not only the entirety
1.8     ! tholo      21: # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
        !            22: # termcap file, but also large numbers of vendor-maintained termcap and
        !            23: # terminfo entries more complete and carefully tested than those in historical
        !            24: # termcap/terminfo versions.
1.2       deraadt    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: #
1.8     ! tholo      31: # This file uses only the US-ASCII character set (no ISO8859 characters).
        !            32: #
1.2       deraadt    33: # This file assumes a US-ASCII character set. If you need to fix this, start
                     34: # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
                     35: # for your character set.  \E(A and \E)A enables the British character set
1.5       tholo      36: # with the pound sign at position 2/3.
                     37: #
                     38: # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
                     39: # C1 characters are considered the first-byte set of the Japanese encodings,
                     40: # so \E)0 should be avoided in <enacs> and initialization strings.
1.2       deraadt    41: #
1.1       deraadt    42: # FILE FORMAT:
                     43: #
                     44: # The version you are looking at may be in any of three formats: master
                     45: # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
                     46: # which by the format given in the header above.
                     47: #
                     48: # The master format is accepted and generated by the terminfo tools in the
                     49: # ncurses suite; it differs from stock (System V-compatible) terminfo only
                     50: # in that it admits a group of capabilities (prefixed `OT') equivalent to
                     51: # various obsolete termcap capabilities.  You can, thus, convert from master
                     52: # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
1.5       tholo      53: # you have ncurses `tic -I' is nicer (among other things, it automatically
                     54: # outputs entries in a canonical form).
1.1       deraadt    55: #
                     56: # The termcap version is generated automatically from the master version
                     57: # using tic -C.  This filtering leaves in the OT capabilities under their
1.5       tholo      58: # original termcap names.  All translated entries fit within the 1023-byte
                     59: # string-table limit of archaic termcap libraries except where explicitly
                     60: # noted below.  Note that the termcap translation assumes that your termcap
                     61: # library can handle multiple tc capabilities in an entry. 4.4BSD has this
                     62: # capability.  Older versions of GNU termcap, through 1.3, do not.
1.1       deraadt    63: #
                     64: # For details on these formats, see terminfo(5) in the ncurses distribution,
                     65: # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
                     66: # curses has been declared obsolete by the caretakers of the 4.4BSD sources
                     67: # as of June 1995; they are encouraging everyone to migrate to ncurses.
                     68: #
                     69: # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
                     70: # no entry in this file has embedded comments.  This is so source translation
                     71: # to termcap only has to carry over leading comments.  Also, no name field
                     72: # contains embedded whitespace (such whitespace confuses rdist).
                     73: #
                     74: # Further note: older versions of this file were often installed with an editor
                     75: # script (reorder) that moved the most common terminal types to the front of
                     76: # the file.  This should no longer be necessary, as the file is now ordered
                     77: # roughly by type frequency with ANSI/VT100 and other common types up front.
                     78: #
                     79: # Some information has been merged in from terminfo files distributed by
                     80: # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
                     81: # comes from vendors who maintain official terminfos for their hardware
                     82: # (notably DEC and Wyse).
                     83: #
                     84: # A detailed change history is included at the end of this file.
                     85: #
                     86: # FILE ORGANIZATION:
                     87: #
                     88: # Comments in this file begin with # - they cannot appear in the middle
                     89: # of a terminfo/termcap entry.  Individual capabilities are commented out by
                     90: # placing a period between the colon and the capability name.
                     91: #
1.2       deraadt    92: # The file is divided up into major sections (headed by lines beginning with
                     93: # the string "########") and minor sections (beginning with "####"); do
1.1       deraadt    94: #
                     95: #      grep "^####" <file> | more
                     96: #
                     97: # to see a listing of section headings.  The intent of the divisions is
                     98: # (a) to make it easier to find things, and (b) to order the database so
                     99: # that important and frequently-encountered terminal types are near the
                    100: # front (so that you'll get reasonable search efficiency even if you don't
                    101: # use reorder).  Minor sections usually correspond to manufacturers or
                    102: # standard terminal classes.  Parenthesized words following manufacturer
                    103: # names are type prefixes or product line names used by that manufacturers.
                    104: #
                    105: # HOW TO READ THE ENTRIES:
                    106: #
                    107: # The first name in an entry is the canonical name for the model or
                    108: # type, last entry is a verbose description.  Others are mnemonic synonyms for
                    109: # the terminal.
                    110: #
                    111: # Terminal names look like <manufacturer> <model> - <modes/options>
                    112: # The part to the left of the dash, if a dash is present, describes the
                    113: # particular hardware of the terminal.  The part to the right may be used
                    114: # for flags indicating special ROMs, extra memory, particular terminal modes,
                    115: # or user preferences.
                    116: #
                    117: # All names should be in lower case, for consistency in typing.
                    118: #
                    119: # The following are conventionally used suffixes:
1.2       deraadt   120: #      -2p     Has two pages of memory.  Likewise 4p, 8p, etc.
                    121: #      -am     Enable auto-margin.
                    122: #      -m      Monochrome.  Suppress color support
                    123: #      -mc     Magic-cookie.  Some terminals (notably older Wyses) can
1.1       deraadt   124: #              only support one attribute without magic-cookie lossage.
                    125: #              Their base entry is usually paired with another that
                    126: #              uses magic cookies to support multiple attributes.
1.2       deraadt   127: #      -na     No arrow keys - termcap ignores arrow keys which are
                    128: #              actually there on the terminal, so the user can use
                    129: #              the arrow keys locally.
1.5       tholo     130: #      -nam    No auto-margin - suppress :am: capability
1.2       deraadt   131: #      -nl     No labels - suppress soft labels
                    132: #      -ns     No status line - suppress status line
                    133: #      -rv     Terminal in reverse video mode (black on white)
                    134: #      -s      Enable status line.
1.5       tholo     135: #      -vb     Use visible bell (:vb:) rather than :bl:.
1.2       deraadt   136: #      -w      Wide - in 132 column mode.
                    137: # If a name has multiple suffixes and one is a line height, that one should
                    138: # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.
                    139: #
                    140: # Entries with embedded plus signs are designed to be included through use/tc
                    141: # capabilities, not used as standalone entries.
1.1       deraadt   142: #
                    143: # To avoid search clashes, some older all-numeric names for terminals have
                    144: # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
                    145: # All primary names of terminals now have alphanumeric prefixes.
                    146: #
                    147: # Comments marked "esr" are mostly results of applying the termcap-compiler
                    148: # code packaged with ncurses and contemplating the resulting error messages.
                    149: # In many cases, these indicated obvious fixes to syntax garbled by the
                    150: # composers.  In a few cases, I was able to deduce corrected forms for garbled
                    151: # capabilities by looking at context.  All the information in the original
                    152: # entries is preserved in the comments.
                    153: #
1.2       deraadt   154: # In the comments, terminfo capability names are bracketed with <> (angle
                    155: # brackets).  Termcap capability names are bracketed with :: (colons).
1.1       deraadt   156: #
                    157: # INTERPRETATION OF USER CAPABILITIES
                    158: #
                    159: # The System V Release 4 and XPG4 terminfo format defines ten string
1.2       deraadt   160: # capabilities for use by applications, <u0>...<u9>.   In this file, we use
1.1       deraadt   161: # certain of these capabilities to describe functions which are not covered
                    162: # by terminfo.  The mapping is as follows:
                    163: #
1.3       deraadt   164: #      u9      terminal enquire string (equiv. to ANSI/ECMA-48 DA)
1.1       deraadt   165: #      u8      terminal answerback description
1.3       deraadt   166: #      u7      cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
                    167: #      u6      cursor position report (equiv. to ANSI/ECMA-48 CPR)
1.1       deraadt   168: #
1.2       deraadt   169: # The terminal enquire string <u9> should elicit an answerback response
                    170: # from the terminal.  Common values for <u9> will be ^E (on older ASCII
1.3       deraadt   171: # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   172: #
1.2       deraadt   173: # The cursor position request (<u7>) string should elicit a cursor position
1.3       deraadt   174: # report.  A typical value (for VT100 terminals) is \E[6n.
1.1       deraadt   175: #
                    176: # The terminal answerback description (u8) must consist of an expected
                    177: # answerback string.  The string may contain the following scanf(3)-like
                    178: # escapes:
                    179: #
                    180: #      %c      Accept any character
                    181: #      %[...]  Accept any number of characters in the given set
                    182: #
1.2       deraadt   183: # The cursor position report (<u6>) string must contain two scanf(3)-style
1.1       deraadt   184: # %d format elements.  The first of these must correspond to the Y coordinate
1.2       deraadt   185: # and the second to the %d.  If the string contains the sequence %i, it is
                    186: # taken as an instruction to decrement each value after reading it (this is
                    187: # the inverse sense from the cup string).  The typical CPR value is
1.3       deraadt   188: # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
1.1       deraadt   189: #
                    190: # These capabilities are used by tac(1m), the terminfo action checker soon
                    191: # to be distributed with ncurses.
1.8     ! tholo     192: #
        !           193: # TABSET FILES
        !           194: #
        !           195: # All the entries in this file have been edited to assume that the tabset
        !           196: # files directory is /usr/share/tabset, in conformance with the File Hierarchy
        !           197: # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
        !           198: # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
        !           199: #
        !           200: # No curses package we know of uses these files.  If their location is an
        !           201: # issue, you will have to hand-patch the file locations before compiling
        !           202: # this file.
1.1       deraadt   203: #
                    204: # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
                    205: #
1.3       deraadt   206: # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
                    207: # character-cell terminals are increasingly replaced by X displays, much of
                    208: # this file is becoming a historical document (this is part of the reason for
1.8     ! tholo     209: # the new organization, which puts ANSI types, xterm, free-Unix consoles,
        !           210: # and vt100 up front in confidence that this will catch 95% of new hardware).
1.1       deraadt   211: #
                    212: # For the terminal types still alive, I'd like to have manufacturer's
                    213: # contact data (Internet address and/or snail-mail + phone).
                    214: #
                    215: # I'm also interested in enriching the comments so that the latter portions of
                    216: # the file do in fact become a potted history of VDT technology as seen by
                    217: # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
                    218: # include its live/dead/out-of-the-business status, and for as many
                    219: # terminal types as possible to be tagged with information like years
                    220: # of heaviest use, popularity, and interesting features.
                    221: #
                    222: # I'm especially interested in identifying the obscure entries listed under
1.5       tholo     223: # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
                    224: # wisdom about them gets lost.  If you know a lot about obscure old terminals,
1.8     ! tholo     225: # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
        !           226: # eyeball it for things you can identify and describe.
1.1       deraadt   227: #
                    228: # If you have been around long enough to contribute, please read the file
                    229: # with this in mind and send me your annotations.
                    230: #
                    231: # COPYRIGHTS AND OTHER DELUSIONS
                    232: #
                    233: # The BSD ancestor of this file had a standard Regents of the University of
                    234: # California copyright with dates from 1980 to 1993.
                    235: #
                    236: # Some information has been merged in from a terminfo file SCO distributes.
                    237: # It has an obnoxious boilerplate copyright which I'm ignoring because they
                    238: # took so much of the content from the ancestral BSD versions of this file
                    239: # and didn't attribute it, thereby violating the BSD Regents' copyright.
                    240: #
                    241: # Not that anyone should care.  However many valid functions copyrights may
                    242: # serve, putting one on a termcap/terminfo file with hundreds of anonymous
                    243: # contributors makes about as much sense as copyrighting a wall-full of
                    244: # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
                    245: #
                    246: # This file deliberately has no copyright.  It belongs to no one and everyone.
                    247: # If you claim you own it, you will merely succeed in looking like a fool.
                    248: # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
                    249: # There are no guarantees anywhere.  Svaha!
1.8     ! tholo     250: #
1.1       deraadt   251:
                    252: ######## STANDARD AND SPECIAL TYPES
                    253: #
                    254: # This section describes terminal classes and maker brands that are still
                    255: # quite common.
                    256: #
                    257:
                    258: #### Specials
                    259: #
                    260: # Special "terminals".  These are used to label tty lines when you don't
                    261: # know what kind of terminal is on it.  The characteristics of an unknown
                    262: # terminal are the lowest common denominator - they look about like a ti 700.
                    263: #
                    264:
1.2       deraadt   265: dumb|80-column dumb tty:\
1.1       deraadt   266:        :am:\
                    267:        :co#80:\
                    268:        :bl=^G:cr=^M:do=^J:sf=^J:
1.2       deraadt   269: unknown|unknown terminal type:\
1.3       deraadt   270:        :gn:tc=dumb:
1.2       deraadt   271: lpr|printer|line printer:\
1.8     ! tholo     272:        :bs:hc:os:\
1.1       deraadt   273:        :co#132:li#66:\
                    274:        :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
1.5       tholo     275: glasstty|classic glass tty interpreting ASCII control characters:\
                    276:        :am:\
                    277:        :co#80:\
                    278:        :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
                    279:        :ta=^I:
1.1       deraadt   280:
1.3       deraadt   281: #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
1.2       deraadt   282: #
                    283: # See the end-of-file comment for more on these.
                    284: #
                    285:
                    286: # The IBM PC alternate character set.  Plug this into any Intel console entry.
                    287: # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
                    288: # ROM graphics for control characters such as the diamond, up- and down-arrow.
                    289: # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
                    290: # will work with any Intel console, they all seem to have inherited \E[11m
                    291: # from the ANSI.SYS de-facto standard.
                    292: klone+acs|alternate character set for ansi.sys displays:\
1.3       deraadt   293:        :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   294:        :ae=\E[10m:as=\E[11m:
                    295:
                    296: # Highlight controls corresponding to the ANSI.SYS standard.  Most
                    297: # console drivers for Intel boxes obey these.  Makes the same assumption
1.5       tholo     298: # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
                    299: # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
1.2       deraadt   300: klone+sgr|attribute control for ansi.sys displays:\
1.5       tholo     301:        :S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
                    302:        :mk=\E[8m:mr=\E[7m:\
1.2       deraadt   303:        :..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     304:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    305:        :tc=klone+acs:
1.2       deraadt   306:
                    307: # Highlight controls corresponding to the ANSI.SYS standard.  *All*
                    308: # console drivers for Intel boxes obey these.  Does not assume \E[11m will
                    309: # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
                    310: # diamond and arrow characters under curses.
                    311: klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
1.5       tholo     312:        :as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0;10m:mk=\E[8m:\
                    313:        :mr=\E[7m:\
1.2       deraadt   314:        :..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     315:        :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
                    316:        :tc=klone+acs:
1.2       deraadt   317:
1.8     ! tholo     318: # KOI8 (RFC1489) alternate character set
        !           319: # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
        !           320: klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
        !           321:        :ac=l\202m\204k\203j\205u\207t\206v\210w\211q\200x\201n\212o\213s\214p\216r\217`\004a\237f\234g\232~\225.\037-\036+\020\054\021h\222I\2200\215y\230z\231{\267}L|\274:\
        !           322:        :ae=\E[10m:as=\E[11m:
        !           323:
1.2       deraadt   324: # ANSI.SYS color control.  The setb/setf caps depend on the coincidence
                    325: # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
                    326: # but equivalent strings that don't rely on that coincidence:
                    327: # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    328: # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
                    329: # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
1.5       tholo     330: # They match a subset of ECMA-48.
1.2       deraadt   331: klone+color|color control for ansi.sys and ISO6429-compatible displays:\
1.3       deraadt   332:        :Co#8:NC#3:pa#64:\
1.5       tholo     333:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[37;40m:
                    334:
                    335: # This is better than klone+color, it doesn't assume white-on-black as the
                    336: # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
                    337: ecma+color|color control for ECMA-48-compatible terminals:\
                    338:        :Co#8:NC#3:pa#64:\
                    339:        :Sb=\E[4%dm:Sf=\E[3%dm:op=\E[39;49m:
                    340:
                    341: # Attribute control for ECMA-48-compatible terminals
                    342: ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
                    343:        :se=\E[27m:ue=\E[24m:\
                    344:        :tc=klone+sgr:
1.2       deraadt   345:
                    346: # For comparison, here are all the capabilities implied by the Intel
                    347: # Binary Compatibility Standard (level 2) that fit within terminfo.
                    348: # For more detail on this rather pathetic standard, see the comments
                    349: # near the end of this file.
                    350: ibcs2|Intel Binary Compatibility Standard prescriptions:\
                    351:        :AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo     352:        :RA=\E[?7l:RI=\E[%dC:S1=\E=%p1%dg:SA=\E[?7h:SF=\E[%dS:\
                    353:        :SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
                    354:        :cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:\
                    355:        :rc=\E7:sc=\E7:st=\EH:
1.2       deraadt   356:
1.3       deraadt   357: #### ANSI/ECMA-48 terminals and terminal emulators
1.1       deraadt   358: #
                    359: # See near the end of this file for details on ANSI conformance.
                    360: # Don't mess with these entries!  Lots of other entries depend on them!
                    361: #
                    362: # This section lists entries in a least-capable to most-capable order.
                    363: # if you're in doubt about what `ANSI' matches yours, try them in that
                    364: # order and back off from the first that breaks.
                    365:
                    366: ansi-mini|any ansi terminal with pessimistic assumptions:\
                    367:        :am:bs:\
                    368:        :co#80:it#8:li#24:\
1.2       deraadt   369:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
                    370:        :le=\E[D:nd=\E[C:ta=^I:up=\E[A:
1.1       deraadt   371:
1.8     ! tholo     372: # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
        !           373: #
        !           374: # The following is an entry for the full ANSI 3.64 (1977).  It lacks
        !           375: # padding, but most terminals using the standard are "fast" enough
        !           376: # not to require any -- even at 9600 bps.  If you encounter problems,
        !           377: # try including the padding specifications.
        !           378: #
        !           379: # Note: the "as" and "ae" specifications are not implemented here, for
        !           380: # the available termcap documentation does not make clear WHICH alternate
        !           381: # character set to specify.  ANSI 3.64 seems to make allowances for several.
        !           382: # Please make the appropriate adjustments to fit your needs -- that is
        !           383: # if you will be using alternate character sets.
        !           384: #
        !           385: # There are very few terminals running the full ANSI 3.64 standard,
        !           386: # so I could only test this entry on one verified terminal (Visual 102).
        !           387: # I would appreciate the results on other terminals sent to me.
        !           388: #
        !           389: # Please report comments, changes, and problems to:
        !           390: #
        !           391: # U.S. MAIL:   Hugh Hansard
        !           392: #              Box: 22830
        !           393: #              Emory University
        !           394: #              Atlanta, GA. 30322.
        !           395: #
        !           396: # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
        !           397: #
        !           398: ansi77|ansi 3.64 standard 1977 version:\
        !           399:        :am:bs:mi:\
        !           400:        :co#80:it#8:li#24:\
        !           401:        :al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
        !           402:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
        !           403:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
        !           404:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !           405:        :nd=\E[C:nw=^M\ED:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
        !           406:        :ue=\E[m:up=\E[A:us=\E[4m:
        !           407:
1.1       deraadt   408: # Procomm and some other ANSI emulations don't recognize all of the ANSI-
1.5       tholo     409: # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
                    410: # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
                    411: # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
                    412: # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
                    413: # to confuse many emulators.  On the other hand, we can count on these programs
1.8     ! tholo     414: # doing :ae:/:as:/:sa:. Older versions of this entry featured
1.5       tholo     415: # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
1.2       deraadt   416: # ANSI.SYS influence.
                    417: # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
                    418: pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
                    419:        :am:bs:mi:ms:\
1.1       deraadt   420:        :co#80:it#8:li#24:\
1.2       deraadt   421:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo     422:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:dc=\E[P:dl=\E[M:do=\E[B:\
                    423:        :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    424:        :le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
                    425:        :tc=klone+sgr-dumb:
1.2       deraadt   426: pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
1.3       deraadt   427:        :li#25:tc=pcansi-m:
1.2       deraadt   428: pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
1.3       deraadt   429:        :li#33:tc=pcansi-m:
1.2       deraadt   430: pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
1.3       deraadt   431:        :li#43:tc=pcansi-m:
1.1       deraadt   432: # The color versions.  All PC emulators do color...
                    433: pcansi|ibm-pc terminal programs claiming to be ansi:\
1.2       deraadt   434:        :tc=klone+color:tc=pcansi-m:
1.1       deraadt   435: pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
1.3       deraadt   436:        :li#25:tc=pcansi:
1.1       deraadt   437: pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
1.3       deraadt   438:        :li#33:tc=pcansi:
1.1       deraadt   439: pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
1.3       deraadt   440:        :li#43:tc=pcansi:
1.1       deraadt   441:
1.2       deraadt   442: # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
1.1       deraadt   443: # If you want pound signs rather than dollars, replace `B' with `A'
1.2       deraadt   444: # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
                    445: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
                    446: ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
1.3       deraadt   447:        :5i:\
1.1       deraadt   448:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    449:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5       tholo     450:        :cb=\E[1K:ch=\E[%i%dG:ct=\E[2g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
                    451:        :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
                    452:        :nw=\r\E[S:pf=\E[4i:po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:\
                    453:        :s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
                    454:        :tc=pcansi-m:
1.1       deraadt   455:
                    456: # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
1.5       tholo     457: # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
1.2       deraadt   458: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
1.1       deraadt   459: ansi|ansi/pc-term compatible with color:\
1.3       deraadt   460:        :u6=\E[%i%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
1.5       tholo     461:        :u9=\E[c:\
                    462:        :tc=ecma+color:tc=klone+sgr:tc=ansi-m:
1.1       deraadt   463:
                    464: #
                    465: # ANSI.SYS entries
                    466: #
1.2       deraadt   467: # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
                    468: # documentation (except for the keyboard key reassignment feature, which
                    469: # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
                    470: # though undocumented.  The <pfkey> capability is untested but should work for
                    471: # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
                    472: # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
                    473: ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
1.8     ! tholo     474:        :am:bs:mi:ms:xo:\
1.1       deraadt   475:        :co#80:li#25:\
1.3       deraadt   476:        :RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
1.5       tholo     477:        :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
                    478:        :ku=^K:le=^H:nd=\E[C:pk=\E[0;%+:;"%s":rc=\E[u:sc=\E[s:\
                    479:        :u6=\E[%i%d;%dR:u7=\E[6n:up=\E[A:\
                    480:        :tc=klone+color:tc=klone+sgr:
1.2       deraadt   481: ansi.sys|ANSI.SYS 3.1 and later versions:\
                    482:        :ce=\E[K:tc=ansi.sys-old:
                    483:
1.1       deraadt   484: #
                    485: # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
                    486: # This should only be used when the terminal emulator cannot redefine the keys.
                    487: # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
                    488: # definitions must be restored.  If the terminal emulator is quit while in vi
1.5       tholo     489: # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
1.1       deraadt   490: # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
                    491: # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
                    492: # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
1.5       tholo     493: # Note that :kl: is always BS, because PC-dos can tolerate this change.
1.1       deraadt   494: # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
                    495: # Consequently the End keypad key could not be set (it is relatively safe and
                    496: # actually useful because it sends ^@ O, which beeps and opens a line above).
                    497: ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
                    498:        :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
                    499:        :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     500:        :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:\
                    501:        :tc=ansi.sys:
1.1       deraadt   502: #
                    503: # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
                    504: nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
                    505:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    506:        :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
                    507: #
                    508: # See ansi.sysk and nansi.sys above.
                    509: nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
                    510:        :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
                    511:        :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
                    512:
1.8     ! tholo     513: # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
        !           514: ansi-nt|psx_ansi|Windows NT POSIX console:\
        !           515:        :am:bw:ms:\
        !           516:        :co#80:it#8:li#25:\
        !           517:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
        !           518:        :ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !           519:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
        !           520:        :se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
        !           521:
1.1       deraadt   522: #### ANSI console types
                    523: #
                    524:
1.5       tholo     525: # This entry is good for the 1.2.13 version of the Linux console driver.
1.1       deraadt   526: #
                    527: # Note: there are numerous broken linux entries out there, which didn't screw
                    528: # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
1.2       deraadt   529: # One common pathology is an incorrect tab length of 4.
1.1       deraadt   530: #
1.2       deraadt   531: # ***************************************************************************
                    532: # *                                                                         *
                    533: # *                           WARNING:                                      *
1.3       deraadt   534: # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
                    535: # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
                    536: # * character. Here are the keymap replacement lines that will set this up: *
1.2       deraadt   537: # *                                                                         *
                    538: #      keycode  15 = Tab             Tab
                    539: #              alt     keycode  15 = Meta_Tab
                    540: #              shift   keycode  15 = F26
                    541: #      string F26 ="\033[Z"
                    542: # *                                                                         *
1.3       deraadt   543: # * This has to use a key slot which is unfortunate (any unused one will    *
                    544: # # do, F26 is the higher-numbered one).  The change ought to be built      *
1.2       deraadt   545: # * into the kernel tables.                                                 *
                    546: # *                                                                         *
                    547: # ***************************************************************************
                    548: #
1.5       tholo     549: # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
                    550: # and it matters, turn off <ccc>.  The %02x escape used to implement this is
                    551: # not back-portable to SV curses and not supported in ncurses versions before
                    552: # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
                    553: # themselves; this entry assumes that capability.
                    554: #
                    555: # From: Eric S. Raymond <esr@snark.thyrsus.com> 15 Dec 1995
1.1       deraadt   556: linux|linux console:\
1.3       deraadt   557:        :am:eo:mi:ms:ut:xn:xo:\
1.5       tholo     558:        :it#8:\
                    559:        :&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[23~:\
                    560:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
                    561:        :F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
                    562:        :K2=\E[G:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.3       deraadt   563:        :ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                    564:        :cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
1.5       tholo     565:        :do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                    566:        :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
                    567:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
                    568:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
                    569:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                    570:        :nw=^M^J:r1=\Ec:rc=\E8:\
                    571:        :..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:\
1.8     ! tholo     572:        :sc=\E7:se=\E[27m:sf=^J:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:\
        !           573:        :u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:\
1.5       tholo     574:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
                    575:        :tc=klone+sgr:tc=ecma+color:
1.2       deraadt   576: linux-m|Linux console no color:\
1.3       deraadt   577:        :Co@:pa@:\
                    578:        :AB@:AF@:Sb@:Sf@:tc=linux:
1.5       tholo     579: linux-c-nc|linux console 1.3.x hack for ncurses only:\
                    580:        :cc:\
                    581:        :..Ic=\E]P%p1%x%p2%02x%p3%02x%p4%02x:oc=\E]R:tc=linux:
                    582: # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
                    583: linux-c|linux console 1.3.6+, with private palette for each virtual console:\
                    584:        :cc:\
                    585:        :Co#8:pa#64:\
                    586:        :..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%;:\
                    587:        :oc=\E]R:\
                    588:        :tc=linux:
1.1       deraadt   589:
                    590: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                    591: linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
1.5       tholo     592:        :IC@:ei=:ic@:im=:\
                    593:        :tc=linux:
                    594:
1.8     ! tholo     595: # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
        !           596: linux-koi8|linux with koi8 alternate character set:\
        !           597:        :tc=linux:tc=klone+koi8acs:
1.1       deraadt   598:
                    599: # SCO console and SOS-Syscons console for 386bsd
                    600: # (scoansi: had unknown capabilities
                    601: #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
1.2       deraadt   602: #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
1.1       deraadt   603: #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
                    604: #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
                    605: #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
1.5       tholo     606: # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
                    607: # on the :as:=\E[12m  -- esr)
1.1       deraadt   608: scoansi|SCO Extended ANSI standard crt:\
1.2       deraadt   609:        :am:bs:eo:xo:\
1.1       deraadt   610:        :co#80:it#8:li#25:\
1.5       tholo     611:        :@7=\E[F:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                    612:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                    613:        :ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
                    614:        :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:kN=\E[G:kP=\E[I:\
                    615:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
                    616:        :mb=\E[5m:md=\E[1m:nd=\E[C:sf=\E[S:sr=\E[T:ta=^I:up=\E[A:\
                    617:        :tc=klone+sgr-dumb:
1.1       deraadt   618:
1.3       deraadt   619: # This actually describes the generic SVr4 display driver for Intel boxes.
1.5       tholo     620: # The :mh=\E[2m: isn't documented and therefore may not be reliable.
1.3       deraadt   621: # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
1.2       deraadt   622: att6386|at386|386at|AT&T WGS 6386 console:\
1.1       deraadt   623:        :am:bw:eo:xo:\
                    624:        :co#80:it#8:li#25:\
1.5       tholo     625:        :@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
                    626:        :F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
                    627:        :SR=\E[%dT:UP=\E[%dA:\
1.3       deraadt   628:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt   629:        :ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
1.5       tholo     630:        :ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                    631:        :ct=\E[2g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
                    632:        :ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
                    633:        :k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
                    634:        :k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
                    635:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                    636:        :md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
                    637:        :nw=\r\E[S:rc=\E8:\
1.3       deraadt   638:        :..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     639:        :sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
                    640:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
                    641:        :tc=klone+color:
1.2       deraadt   642: # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
                    643: pc6300plus|AT&T 6300 plus:\
1.8     ! tholo     644:        :am:bs:xo:\
1.1       deraadt   645:        :co#80:li#24:\
                    646:        :al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
1.5       tholo     647:        :cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                    648:        :ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
                    649:        :k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
                    650:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                    651:        :me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                    652:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
                    653:        :ve=\E[=1C:vi=\E[=C:
1.1       deraadt   654:
                    655: #
                    656: #      Terminfo entry for the AT&T Unix PC 7300
                    657: #      from escape(7) in Unix PC 7300 Manual.
                    658: #      Somewhat similar to a vt100-am (but different enough
                    659: #      to redo this from scratch.)
                    660: #
                    661: #      /***************************************************************
                    662: #      *
                    663: #      *           FONT LOADING PROGRAM FOR THE UNIX PC
                    664: #      *
                    665: #      *     This routine loads a font defined in the file ALTFONT
                    666: #      *     into font memory slot #1.  Once the font has been loaded,
                    667: #      *     it can be used as an alternative character set.
                    668: #      *
                    669: #      *     The call to ioctl with the argument WIOCLFONT is the key
                    670: #      *     to this routine.  For more information, see window(7) in
                    671: #      *     the PC 7300 documentation.
                    672: #      ***************************************************************/
                    673: #      #include <string.h>             /* needed for strcpy call */
                    674: #      #include <sys/window.h>         /* needed for ioctl call */
                    675: #      #define FNSIZE  60              /* font name size */
                    676: #      #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
                    677: #      /*
                    678: #      *     The file /usr/lib/wfont/special.8.ft comes with the
                    679: #      *     standard PC software.  It defines a graphics character set
                    680: #      *     similar to that of the Teletype 5425 terminal.  To view
                    681: #      *     this or other fonts in /usr/lib/wfont, use the command
                    682: #      *     cfont <filename>.  For further information on fonts see
                    683: #      *     cfont(1) in the PC 7300 documentation.
                    684: #      */
                    685: #
                    686: #      struct altfdata         /* structure for alt font data */
                    687: #      {
                    688: #      short   altf_slot;              /* memory slot number */
                    689: #      char    altf_name[FNSIZE];      /* font name (file name) */
                    690: #      };
                    691: #      ldfont()
                    692: #      {
                    693: #              int wd;         /* window in which altfont will be */
                    694: #              struct altfdata altf;
                    695: #              altf.altf_slot=1;
                    696: #              strcpy(altf.altf_name,ALTFONT);
                    697: #              for (wd =1; wd < 12; wd++) {
                    698: #                   ioctl(wd, WIOCLFONT,&altf);
                    699: #              }
                    700: #      }
                    701: #
1.5       tholo     702: # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
1.3       deraadt   703: # they're confirmed by the man page for the System V display---esr)
                    704: #
                    705: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    706: # (sgr removed to fit entry within 1023 bytes)
                    707: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   708: att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
                    709:        :am:xn:xo:\
                    710:        :co#80:it#8:li#24:\
                    711:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                    712:        :UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E^I:\
                    713:        :cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo     714:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:i1=^O:ic=\E[@:im=:\
                    715:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E5:k6=\E6:k7=\E7:\
                    716:        :k8=\E8:kD=\Edc:kI=\Eim:kN=\Epg:kP=\EPG:kb=^H:kd=\E[B:\
                    717:        :kh=\Ehm:kl=\E[D:kr=\E[C:ku=\E[A:md=\E[7m:me=\E[0;10m:\
                    718:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:sf=^J:so=\E[7m:\
                    719:        :sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:
1.1       deraadt   720:
1.3       deraadt   721: # From: davis@unidata.ucar.edu
1.2       deraadt   722: # (iris-ansi: added rmam/smam based on init string -- esr)
1.1       deraadt   723: iris-ansi|iris-ansi-net|IRIS emulating ANSI terminal:\
1.8     ! tholo     724:        :am:pt:\
        !           725:        :co#80:it#8:kn#4:li#40:\
1.5       tholo     726:        :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
                    727:        :%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
                    728:        :@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\EOR:F2=\EOS:\
                    729:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.8     ! tholo     730:        :al=\E[L:bc=\ED:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
        !           731:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
        !           732:        :ho=\E[H:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
        !           733:        :k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
        !           734:        :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:k;=\EOQ:kB=\E[Z:\
        !           735:        :kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:\
        !           736:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
        !           737:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !           738:        :pk=\EP101;%d.y%s\E\:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
        !           739:        :so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
        !           740:        :ve=\E[9/y\E[12/y\E[=6l:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
        !           741: iris-ansi-ap|IRIS ANSI in application-keypad mode:\
        !           742:        :F1=\E[011q:F2=\E[012q:is=\E[?1l\E>\E[?7h:k;=\E[010q:\
        !           743:        :ke=\E>:ks=\E=:\
        !           744:        :tc=iris-ansi:
1.1       deraadt   745:
                    746: # The following is a version of the ibm-pc entry distributed with PC/IX,
                    747: # (Interactive Systems' System 3 for the Big Blue), modified by Richard
                    748: # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
                    749: # (the former is untrue, and the latter failed under UCB/man); standout and
                    750: # underline modes have been added.  Note: this entry describes the "native"
                    751: # capabilities of the PC monochrome display, without ANY emulation; most
                    752: # communications packages (but NOT PC/IX connect) do some kind of emulation.
                    753: pcix|PC/IX console:\
1.2       deraadt   754:        :am:bw:eo:\
1.1       deraadt   755:        :co#80:li#24:\
1.5       tholo     756:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                    757:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
                    758:        :us=\E[4m:
1.1       deraadt   759:
1.3       deraadt   760: # (ibmpcx: this entry used to be known as ibmx.
                    761: # It formerly included the following extension capabilities:
1.1       deraadt   762: #      :GC=b:GL=v:GR=t:RT=^J:\
                    763: #      :GH=\E[196g:GV=\E[179g:\
                    764: #      :GU=\E[193g:GD=\E[194g:\
                    765: #      :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
                    766: #      :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
                    767: #      :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
                    768: # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1.2       deraadt   769: # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
                    770: # what was there before. -- esr)
1.1       deraadt   771: ibmpcx|xenix|ibmx|IBM PC xenix console display:\
1.8     ! tholo     772:        :am:bs:ms:\
1.1       deraadt   773:        :co#80:li#25:\
1.3       deraadt   774:        :@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
1.5       tholo     775:        :dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
                    776:        :k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
                    777:        :kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
                    778:        :tc=klone+acs:tc=klone+sgr:
1.1       deraadt   779:
                    780:
1.2       deraadt   781: # QNX 4.0 Console
1.5       tholo     782: # Michael's original version of this entry had <am@>, :ti=\Ei:,
                    783: # :te=\Eh\ER:; this was so terminfo applications could write the lower
1.2       deraadt   784: # right corner without triggering a scroll.  The ncurses terminfo library can
1.5       tholo     785: # handle this case with the :ic: capability, and prefers :am: for better
                    786: # optimization.  Bug: The <op> capability resets attributes.
1.8     ! tholo     787: # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1.3       deraadt   788: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                    789: # (sgr removed to fit entry within 1023 bytes)
                    790: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt   791: qnx|qnx4|qnx console:\
1.8     ! tholo     792:        :km:mi:ms:xt:\
1.1       deraadt   793:        :co#80:it#4:li#25:\
1.5       tholo     794:        :al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                    795:        :dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
                    796:        :k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
                    797:        :k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
                    798:        :kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
                    799:        :kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
                    800:        :ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
                    801:        :nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
1.8     ! tholo     802:        :te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
        !           803:        :vs=\Ey2:
1.2       deraadt   804:
1.5       tholo     805: #### NetBSD consoles
1.2       deraadt   806: #
                    807: # pcvt termcap database entries (corresponding to release 3.31)
                    808: # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
                    809: #
                    810: # (For the terminfo master file, I translated these into terminfo syntax.
                    811: # Then I dropped all the pseudo-HP entries. we don't want and can't use
1.5       tholo     812: # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
                    813: # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
1.2       deraadt   814:
                    815: # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
1.5       tholo     816: # both :ic: and :im: are specified (an original VT220
                    817: # shows the same buggy behaviour!), :ic: has been taken
                    818: # out of this entry. for reference, it should be <ich1=\E[@>.
                    819: pcvtXX|pcvt vt200 emulator (DEC VT220):\
                    820:        :am:km:mi:ms:xn:\
                    821:        :it#8:vt#3:\
                    822:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                    823:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
                    824:        :SR=\E[%dT:UP=\E[%dA:\
                    825:        :ac=llmmkkjjuuttvvwwqqxxnnoosspprr``aaffgg~~..--++\054\054hhII00yyzz:\
                    826:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                    827:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                    828:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                    829:        :i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
                    830:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                    831:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
                    832:        :kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
                    833:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
                    834:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
                    835:        :r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                    836:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
                    837:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
1.2       deraadt   838:
                    839: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    840: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     841: #      50 lines entries; 80 columns
                    842: pcvt25|dec vt220 emulation with 25 lines:\
                    843:        :co#80:li#25:\
                    844:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    845: pcvt28|dec vt220 emulation with 28 lines:\
                    846:        :co#80:li#28:\
                    847:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    848: pcvt35|dec vt220 emulation with 35 lines:\
                    849:        :co#80:li#35:\
                    850:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    851: pcvt40|dec vt220 emulation with 40 lines:\
                    852:        :co#80:li#40:\
                    853:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    854: pcvt43|dec vt220 emulation with 43 lines:\
                    855:        :co#80:li#43:\
                    856:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    857: pcvt50|dec vt220 emulation with 50 lines:\
                    858:        :co#80:li#50:\
                    859:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
1.2       deraadt   860:
                    861: #      NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
                    862: #      termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1.5       tholo     863: #      50 lines entries; 132 columns
                    864: pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
                    865:        :co#132:li#25:\
                    866:        :is=\E[1;25r\E[25;1H:tc=pcvtXX:
                    867: pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
                    868:        :co#132:li#28:\
                    869:        :is=\E[1;28r\E[28;1H:tc=pcvtXX:
                    870: pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
                    871:        :co#132:li#35:\
                    872:        :is=\E[1;35r\E[35;1H:tc=pcvtXX:
                    873: pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
                    874:        :co#132:li#40:\
                    875:        :is=\E[1;40r\E[40;1H:tc=pcvtXX:
                    876: pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
                    877:        :co#132:li#43:\
                    878:        :is=\E[1;43r\E[43;1H:tc=pcvtXX:
                    879: pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
                    880:        :co#132:li#50:\
                    881:        :is=\E[1;50r\E[50;1H:tc=pcvtXX:
                    882:
                    883: # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
                    884: # manufactured by Sharp for the Japenese market.
                    885: # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
                    886: x68k|x68k-ite|NetBSD/x68k ITE:\
                    887:        :co#96:li#32:\
                    888:        :%1=\E[28~:kC=\E[9~:tc=vt220:
                    889:
                    890: #### FreeBSD console entries
                    891: #
1.8     ! tholo     892: # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
        !           893: # Andrey Chernov maintains the FreeBSD termcap distributions.
1.5       tholo     894: #
                    895: # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1.8     ! tholo     896: # or comment out the :cb: capability in the console entry.
        !           897: #
        !           898: # Alexander Lukyanov reports:
        !           899: # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
        !           900: # Now el1 clears not only to the line beginning, but also a large chunk
        !           901: # of previous line. But there is another bug - ech does not work at all.
1.5       tholo     902: #
                    903:
                    904: # for syscons
                    905: # common entry without semigraphics
                    906: # Bug: The <op> capability resets attributes.
                    907: cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
                    908:        :NP:am:bw:eo:ms:ut:\
                    909:        :Co#8:co#80:it#8:li#25:pa#64:\
                    910:        :@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
                    911:        :F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
                    912:        :SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
                    913:        :bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
                    914:        :cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
                    915:        :ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
                    916:        :k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
                    917:        :kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
                    918:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                    919:        :me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:op=\E[x:\
                    920:        :r1=\E[x\E[m\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
                    921:        :up=\E[A:
                    922: cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
                    923:        :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:\
                    924:        :tc=cons25w:
                    925: cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
                    926:        :Co@:pa@:\
                    927:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
                    928: cons30|ansi80x30|freebsd console (30-line ansi mode):\
                    929:        :li#30:tc=cons25:
                    930: cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
                    931:        :li#30:tc=cons25-m:
                    932: cons43|ansi80x43|freebsd console (43-line ansi mode):\
                    933:        :li#43:tc=cons25:
                    934: cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
                    935:        :li#43:tc=cons25-m:
                    936: cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
                    937:        :li#50:tc=cons25:
                    938: cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
                    939:        :li#50:tc=cons25-m:
                    940: cons60|ansi80x60|freebsd console (60-line ansi mode):\
                    941:        :li#60:tc=cons25:
                    942: cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
                    943:        :li#60:tc=cons25-m:
                    944: cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
                    945:        :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\221`\004.\031-\030I^U0\215:\
                    946:        :tc=cons25w:
                    947: cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
                    948:        :Co@:pa@:\
                    949:        :Sb@:Sf@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
                    950: cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
                    951:        :li#50:tc=cons25r:
                    952: cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
                    953:        :li#50:tc=cons25r-m:
                    954: cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
                    955:        :li#60:tc=cons25r:
                    956: cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
                    957:        :li#60:tc=cons25r-m:
                    958: # ISO 8859-1 FreeBSD console
                    959: cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
                    960:        :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:\
                    961:        :tc=cons25w:
                    962: cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
                    963:        :Co@:pa@:\
                    964:        :Sb@:Sf@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
                    965: cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
                    966:        :li#50:tc=cons25l1:
                    967: cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
                    968:        :li#50:tc=cons25l1-m:
                    969: cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
                    970:        :li#60:tc=cons25l1:
                    971: cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
                    972:        :li#60:tc=cons25l1-m:
1.2       deraadt   973:
1.3       deraadt   974: #### 386BSD and BSD/OS Consoles
                    975: #
                    976:
                    977: # This was the original 386BSD console entry (I think).
                    978: # Some places it's named oldpc3|oldibmpc3.
                    979: # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
                    980: origpc3|origibmpc3|IBM PC 386BSD Console:\
1.8     ! tholo     981:        :am:bs:bw:eo:xo:\
1.3       deraadt   982:        :co#80:li#25:\
                    983:        :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
1.5       tholo     984:        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
                    985:        :kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
                    986:        :me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
                    987:        :sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
                    988:        :up=\E[A:us=\E[1;7x\E[2;0x:
1.3       deraadt   989:
                    990: # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
                    991: oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
1.8     ! tholo     992:        :bs:km:\
1.3       deraadt   993:        :li#25:\
1.5       tholo     994:        :al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
                    995:        :kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                    996:        :md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
1.3       deraadt   997:
                    998: # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
                    999: # Note, the emulator supports many of the additional console features
1.5       tholo    1000: # listed in the iBCS2 (e.g. character-set selection) though not all
                   1001: # are described here.  This entry really ought to be upgraded.
1.3       deraadt  1002: # Also note, the console will also work with fewer lines after doing
                   1003: # "stty rows NN", e.g. to use 24 lines.
1.5       tholo    1004: # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
                   1005: # Bug: The <op> capability resets attributes.
1.3       deraadt  1006: bsdos|BSD/OS console:\
1.8     ! tholo    1007:        :am:bs:bw:eo:km:xo:\
1.5       tholo    1008:        :Co#8:co#80:it#8:li#25:pa#64:\
1.3       deraadt  1009:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5       tholo    1010:        :Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
                   1011:        :ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:\
                   1012:        :kH=\E[F:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:\
                   1013:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   1014:        :mh=\E[=8F:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[x:rc=\E8:sc=\E7:\
                   1015:        :se=\E[0m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt  1016: bsdos-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo    1017:        :ue=\E[0m:us=\E[1m:\
                   1018:        :tc=bsdos:
1.3       deraadt  1019:
                   1020: # If you are BSDI, you want the following entries, for the moment.
                   1021: # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
                   1022: pc3|IBM PC BSD/386 Console:\
                   1023:        :tc=bsdos:
                   1024: ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline:\
1.5       tholo    1025:        :us=\E[1m:\
                   1026:        :tc=bsdos-bold:
1.1       deraadt  1027:
                   1028: #### DEC VT100 and compatibles
1.2       deraadt  1029: #
                   1030: # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
                   1031: # the basis of some emulations) are collected here. Older DEC terminals and
                   1032: # micro consoles can be found in the `obsolete' section.  More details on
                   1033: # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
                   1034: # found near the end of this file.
1.1       deraadt  1035: #
                   1036: # Except where noted, these entries are DEC's official terminfos.
                   1037: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   1038: # Engineering for more information.  Updated terminfos and termcaps
                   1039: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   1040: #
1.5       tholo    1041: # In October 1995 DEC sold its terminals business, including the VT and Dorio
1.8     ! tholo    1042: # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
        !          1043: # its name to Boundless Technologies; see http://www.boundless.com.
1.5       tholo    1044: #
1.8     ! tholo    1045: # (The <acsc>, :ae:, and :as: capabilities aren't in DEC's official
        !          1046: # entry -- esr)
1.1       deraadt  1047:
1.2       deraadt  1048: vt52|dec vt52:\
1.8     ! tholo    1049:        :bs:\
1.2       deraadt  1050:        :co#80:it#8:li#24:\
1.8     ! tholo    1051:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          1052:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
        !          1053:        :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
        !          1054:        :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
1.2       deraadt  1055:
                   1056: # NOTE:  Any VT100 emulation, whether in hardware or software, almost
                   1057: # certainly includes what DEC called the `Level 1 editing extension' codes;
                   1058: # only the very oldest VT100s lacked these and there probably aren't any of
                   1059: # those left alive.  To capture these, use one of the VT102 entries.
                   1060: #
1.5       tholo    1061: # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
1.1       deraadt  1062: # since the cursor is left in a different position while in the
                   1063: # weird state (concept at beginning of next line, vt100 at end
                   1064: # of this line) so all versions of vi before 3.7 don't handle
1.5       tholo    1065: # :xn: right on vt100. The correct way to handle :xn: is when
1.1       deraadt  1066: # you output the char in column 80, immediately output CR LF
1.5       tholo    1067: # and then assume you are in column 1 of the next line. If :xn:
1.1       deraadt  1068: # is on, am should be on too.
                   1069: #
                   1070: # I assume you have smooth scroll off or are at a slow enough baud
                   1071: # rate that it doesn't matter (1200? or less). Also this assumes
                   1072: # that you set auto-nl to "on", if you set it off use vt100-nam
                   1073: # below.
                   1074: #
                   1075: # The padding requirements listed here are guesses. It is strongly
                   1076: # recommended that xon/xoff be enabled, as this is assumed here.
                   1077: #
1.5       tholo    1078: # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
1.1       deraadt  1079: # tab settings are in non-volatile memory and don't need to be
                   1080: # reset upon login. Also setting the number of columns glitches
                   1081: # the screen annoyingly. You can type "reset" to get them set.
                   1082: #
1.8     ! tholo    1083: # Here's a diagram of the VT100 keypad keys with their bindings.
        !          1084: # The top line is the name of the key (some DEC keyboards have the keys
        !          1085: # labelled somewhat differently, like GOLD instead of PF1, but this is
        !          1086: # the most "official" name).  The second line is the escape sequence it
        !          1087: # generates in Application Keypad mode (where "$" means the ESC
        !          1088: # character).  The third line contains two items, first the mapping of
        !          1089: # the key in terminfo, and then in termcap.
        !          1090: #   _______________________________________
        !          1091: #  |   PF1   |   PF2   |   PF3   |   PF4   |
        !          1092: #  |   $OP   |   $OQ   |   $OR   |   $OS   |
        !          1093: #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
        !          1094: #  |    7         8         9         -    |
        !          1095: #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
        !          1096: #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
        !          1097: #  |    4    |    5    |    6    |    ,    |
        !          1098: #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
        !          1099: #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
        !          1100: #  |    1    |    2    |    3    |         |
        !          1101: #  |   $Oq   |   $Or   |   $Os   |  enter  |
        !          1102: #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
        !          1103: #  |         0         |   .     |         |
        !          1104: #  |        $Op        |  $On    |         |
        !          1105: #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1.1       deraadt  1106: #
1.2       deraadt  1107: # And here, for those of you with orphaned VT100s lacking documentation, is
                   1108: # a description of the soft switches invoked when you do `Set Up'.
                   1109: #
                   1110: #  Scroll 0-Jump               Shifted 3   0-#
                   1111: #  |      1-Smooth             |           1-British pound sign
                   1112: #  | Autorepeat 0-Off          | Wrap Around 0-Off
                   1113: #  | |          1-On           | |           1-On
                   1114: #  | | Screen 0-Dark Bkg       | | New Line 0-Off
                   1115: #  | | |      1-Light Bkg      | | |        1-On
                   1116: #  | | | Cursor 0-Underline    | | | Interlace 0-Off
                   1117: #  | | | |      1-Block        | | | |         1-On
                   1118: #  | | | |                     | | | |
                   1119: #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
                   1120: #                | | | |                     | | | |
                   1121: #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
                   1122: #                | | |               1-On    | | |       1-50 Hz
                   1123: #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
                   1124: #                | |           1-ANSI        | |                1-8 Bits
                   1125: #                | Keyclick 0-Off            | Parity 0-Off
                   1126: #                |          1-On             |        1-On
                   1127: #                Margin Bell 0-Off           Parity Sense 0-Odd
                   1128: #                            1-On                         1-Even
                   1129: #
                   1130: # The following SET-UP modes are assumed for normal operation:
                   1131: #      ANSI_MODE       AUTO_XON/XOFF_ON        NEWLINE_OFF     80_COLUMNS
                   1132: #      WRAP_AROUND_ON  JUMP_SCROLL_OFF
                   1133: # Other SET-UP modes may be set for operator convenience or communication
                   1134: # requirements; I recommend
                   1135: #      AUTOREPEAT_ON   BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
                   1136: # Unless you have a graphics add-on such as Digital Engineering's VT640
                   1137: # (and even then, whenever it can be arranged!) you should set
                   1138: #      INTERLACE_OFF
                   1139: #
1.5       tholo    1140: # (I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.1       deraadt  1141: vt100|vt100-am|dec vt100 (w/advanced video):\
1.5       tholo    1142:        :am:bs:ms:xn:xo:\
1.1       deraadt  1143:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    1144:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   1145:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  1146:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    1147:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   1148:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   1149:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1150:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   1151:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   1152:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   1153:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  1154:        :..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    1155:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                   1156:        :up=\E[A:us=\E[4m:
1.2       deraadt  1157: vt100nam|vt100-nam|vt100 no automargins:\
1.3       deraadt  1158:        :am@:xn@:tc=vt100-am:
1.1       deraadt  1159:
                   1160: # Ordinary vt100 in 132 column ("wide") mode.
                   1161: vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
1.3       deraadt  1162:        :co#132:li#24:\
                   1163:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
1.1       deraadt  1164: vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
1.3       deraadt  1165:        :co#132:li#14:vt@:\
                   1166:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
1.1       deraadt  1167:
                   1168: # vt100 with no advanced video.
                   1169: vt100-nav|vt100 without advanced video option:\
                   1170:        :sg#1:\
1.8     ! tholo    1171:        :mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
1.1       deraadt  1172: vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
1.3       deraadt  1173:        :co#132:li#14:tc=vt100-nav:
1.1       deraadt  1174:
                   1175: # vt100 with one of the 24 lines used as a status line.
                   1176: # We put the status line on the top.
                   1177: vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
                   1178:        :es:hs:\
                   1179:        :li#23:\
                   1180:        :cl=\E[2;1H\E[J:cm=\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
1.5       tholo    1181:        :ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
                   1182:        :ts=\E7\E[1;%p1%dH\E[1K:\
                   1183:        :tc=vt100-am:
1.1       deraadt  1184:
                   1185: # Status line at bottom.
                   1186: # Clearing the screen will clobber status line.
                   1187: vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
                   1188:        :es:hs:\
                   1189:        :li#23:\
                   1190:        :ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
1.5       tholo    1191:        :ts=\E7\E[24;%p1%dH\E[1K:\
                   1192:        :tc=vt100-am:
1.1       deraadt  1193:
                   1194: # Most of the `vt100' emulators out there actually emulate a vt102
                   1195: # This entry (or vt102-nsgr) is probably the right thing to use for
                   1196: # these.
                   1197: vt102|dec vt102:\
                   1198:        :mi:\
                   1199:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
1.3       deraadt  1200: vt102-w|dec vt102 in wide mode:\
                   1201:        :li#132:\
                   1202:        :r3=\E[?3h:tc=vt102:
1.1       deraadt  1203:
                   1204: # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
1.5       tholo    1205: # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
1.1       deraadt  1206: # string in the canonical vt100 entry above leaves the screen littered
                   1207: # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
                   1208: # after highlight turnoffs.  This entry should fix that, and even leave
                   1209: # ACS support working, at the cost of making multiple-highlight changes
                   1210: # slightly more expensive.
                   1211: # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
1.2       deraadt  1212: vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
1.5       tholo    1213:        :me=\E[m:sa@:\
                   1214:        :tc=vt102:
1.1       deraadt  1215:
                   1216: # VT125 Graphics CRT.  Clear screen also erases graphics
                   1217: vt125|vt125 graphics terminal:\
1.8     ! tholo    1218:        :cl=\E[H\E[2J\EPpS(E)\E\:tc=vt100:
1.2       deraadt  1219:
                   1220: # This isn't a DEC entry, it came from University of Wisconsin.
1.5       tholo    1221: # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
1.2       deraadt  1222: vt131|dec vt131:\
1.5       tholo    1223:        :am:bs:xn:\
1.2       deraadt  1224:        :co#80:it#8:li#24:vt#3:\
1.8     ! tholo    1225:        :RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
        !          1226:        :cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
        !          1227:        :do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
        !          1228:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          1229:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
        !          1230:        :me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
        !          1231:        :r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
        !          1232:        :se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
        !          1233:        :us=2\E[4m:
1.1       deraadt  1234:
                   1235: # vt132 - like vt100 but slower and has ins/del line and such.
1.5       tholo    1236: # I'm told that :im:/:ei: are backwards in the terminal from the
1.1       deraadt  1237: # manual and from the ANSI standard, this describes the actual
                   1238: # terminal. I've never actually used a vt132 myself, so this
                   1239: # is untested.
                   1240: #
                   1241: vt132|DEC vt132:\
                   1242:        :xn:\
                   1243:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4h:im=\E[4l:ip=:sf=\n:tc=vt100:
                   1244:
                   1245: # vt220:
                   1246: # This vt220 description maps F5--F9 to the second block of function keys
                   1247: # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
                   1248: # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
                   1249: # PF1--PF4 are used as F1--F4.
                   1250: #
1.3       deraadt  1251: vt220|vt200|DEC VT220 in vt100 emulation mode:\
1.8     ! tholo    1252:        :am:bs:mi:pt:xn:xo:\
1.1       deraadt  1253:        :co#80:li#24:vt#3:\
1.8     ! tholo    1254:        :@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
        !          1255:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    1256:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
                   1257:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   1258:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
                   1259:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  1260:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1261:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1.3       deraadt  1262:        :k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
1.5       tholo    1263:        :kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1.8     ! tholo    1264:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:\
1.3       deraadt  1265:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.5       tholo    1266:        :rf=/usr/share/tabset/vt100:\
1.1       deraadt  1267:        :..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  1268:        :sc=\E7:se=\E[27m:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:\
                   1269:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
                   1270: vt220-w|vt200-w|DEC vt220 in wide mode:\
                   1271:        :co#132:\
                   1272:        :r3=\E[?3h:tc=vt220:
                   1273:
1.1       deraadt  1274: #
                   1275: # vt220d:
                   1276: # This vt220 description regards F6--F10 as the second block of function keys
                   1277: # at the top of the keyboard.  This mapping follows the description given
                   1278: # in the VT220 Programmer Reference Manual and agrees with the labeling
                   1279: # on some terminals that emulate the vt220.  There is no support for an F5.
                   1280: # See vt220 for an alternate mapping.
                   1281: #
                   1282: vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
1.3       deraadt  1283:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1.5       tholo    1284:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
                   1285:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
                   1286:        :tc=vt220:
1.1       deraadt  1287:
1.3       deraadt  1288: vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
                   1289:        :am@:\
                   1290:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1291:
1.3       deraadt  1292: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1293: # (sgr removed to fit entry within 1023 bytes)
                   1294: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1295: vt220-8|dec vt220 8 bit terminal:\
1.5       tholo    1296:        :am:bs:mi:ms:xn:xo:\
1.1       deraadt  1297:        :co#80:it#8:li#24:\
                   1298:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1299:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   1300:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   1301:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1302:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
                   1303:        :is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1304:        :k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:\
                   1305:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   1306:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   1307:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   1308:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  1309:
                   1310: # This was DEC's vt320.  Use the purpose-built one below instead
                   1311: #vt320|DEC VT320 in vt100 emulation mode,
                   1312: #      use=vt220,
                   1313:
                   1314: #
                   1315: # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
                   1316: #
1.2       deraadt  1317: vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
1.3       deraadt  1318:        :am@:\
                   1319:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
1.1       deraadt  1320:
                   1321: # These entries are not DEC's official ones, they were purpose-built for the
                   1322: # VT320.  Here are the designer's notes:
1.2       deraadt  1323: # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
                   1324: # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
1.1       deraadt  1325: # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
1.2       deraadt  1326: # Things that use <knxt> usually use tab anyways... and things that don't use
                   1327: # tab usually use <knxt> instead...
1.1       deraadt  1328: # kprv is same as tab - Backtab is useless...
1.5       tholo    1329: # I left out :sa: because of its RIDICULOUS complexity,
1.1       deraadt  1330: # and the resulting fact that it causes the termcap translation of the entry
                   1331: # to SMASH the 1k-barrier...
                   1332: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5       tholo    1333: # (vt320: uncommented :fs: --esr)
1.3       deraadt  1334: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1335: # (sgr removed to fit entry within 1023 bytes)
                   1336: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  1337: vt320|vt300|dec vt320 7 bit terminal:\
                   1338:        :am:es:hs:mi:ms:xn:\
                   1339:        :co#80:li#24:ws#80:\
                   1340:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1341:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    1342:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
                   1343:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   1344:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
                   1345:        :ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.1       deraadt  1346:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1347:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1348:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1349:        :kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   1350:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   1351:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
                   1352:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[1$}\E[H\E[K:ue=\E[m:\
                   1353:        :up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  1354: vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
                   1355:        :am@:\
1.3       deraadt  1356:        :is=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1357:        :r2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1358:        :tc=vt320:
1.1       deraadt  1359: # We have to init 132-col mode, not 80-col mode.
                   1360: vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
                   1361:        :co#132:ws#132:\
1.3       deraadt  1362:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1363:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1364:        :tc=vt320:
1.1       deraadt  1365: vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
                   1366:        :am@:\
1.3       deraadt  1367:        :is=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
1.5       tholo    1368:        :r2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
                   1369:        :tc=vt320-w:
1.1       deraadt  1370:
1.2       deraadt  1371: # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
                   1372: #   which are pretty much a superset of the VT320.  They have the
                   1373: #   host writable status line, yet another different DRCS matrix size,
                   1374: #   and such, but they add the DEC Technical character set, Multiple text
                   1375: #   pages, selectable length pages, and the like.  The difference between
                   1376: #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
                   1377: #   monitor, the former has 4 planes and a color monitor.  These terminals
                   1378: #   support VT131 and ANSI block mode, but as with much of these things,
                   1379: #   termcap/terminfo doesn't deal with these features.
                   1380: #
                   1381: # Note that this entry is are set up in what was the standard way for GNU
                   1382: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1383: # keys were switched into application mode at the same time the numeric pad
                   1384: # is switched into application mode.  This changes the definitions of the
                   1385: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
1.8     ! tholo    1386: # your termcap or terminfo entry,
1.2       deraadt  1387: #
                   1388: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1389: # (vt340: string capability "sb=\E[M" corrected to "sr";
                   1390: # also, added <rmam>/<smam> based on the init string -- esr)
                   1391: vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
                   1392:        :am:es:hs:mi:ms:xn:xo:\
                   1393:        :co#80:it#8:li#24:vt#3:\
                   1394:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  1395:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    1396:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  1397:        :ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo    1398:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   1399:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   1400:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  1401:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1402:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1403:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1404:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   1405:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   1406:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:\
                   1407:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  1408:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   1409:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1410:
                   1411: # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
                   1412: # (originally written with vt420 as its primary name, and usable for it).
                   1413: #
                   1414: # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
                   1415: #    text pages and long text pages with selectable length of the vt340, along
                   1416: #    with left and right margins, rectangular area text copy, fill, and erase
                   1417: #    operations, selected region character attribute change operations,
                   1418: #    page memory and rectangle checksums, insert/delete column, reception
                   1419: #    macros, and other features too numerous to remember right now.  TERMCAP
                   1420: #    can only take advantage of a few of these added features.
                   1421: #
                   1422: # Note that this entry is are set up in what was the standard way for GNU
                   1423: # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
                   1424: # keys were switched into application mode at the same time the numeric pad
                   1425: # is switched into application mode.  This changes the definitions of the
                   1426: # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
                   1427: # your termcap entry,
                   1428: #
                   1429: # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
                   1430: # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
                   1431: # also, added <rmam>/<smam> based on the init string -- esr)
1.8     ! tholo    1432: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1433: # (sgr removed to fit entry within 1023 bytes)
        !          1434: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  1435: vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
                   1436:        :am:es:hs:mi:ms:xn:xo:\
                   1437:        :co#80:it#8:li#24:vt#3:\
                   1438:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8     ! tholo    1439:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
        !          1440:        :cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          1441:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          1442:        :ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:fs=\E[$}:ho=\E[H:\
        !          1443:        :ic=\E[@:im=\E[4h:\
1.2       deraadt  1444:        :is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   1445:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    1446:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
1.8     ! tholo    1447:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
        !          1448:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[27m:\
        !          1449:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          1450:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          1451:        :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  1452:
1.8     ! tholo    1453: # (vt420: I removed :k0:, it collided with <kf10>.  I also restored
        !          1454: # a missing :sc: -- esr)
1.1       deraadt  1455: vt420|DEC VT420:\
                   1456:        :am:mi:xn:xo:\
                   1457:        :co#80:li#24:vt#3:\
1.3       deraadt  1458:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1459:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1460:        :SA=\E[?7h:\
                   1461:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1462:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1463:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1464:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1465:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1466:        :im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   1467:        :k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1468:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1469:        :kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
                   1470:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   1471:        :r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
1.1       deraadt  1472:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;:\
1.8     ! tholo    1473:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
        !          1474:        :up=\E[A:us=\E[4m:
1.1       deraadt  1475:
                   1476: #
                   1477: #  DECUDK
                   1478: #               if (key < 16) then  value = key;
                   1479: #               else if (key < 21) then value = key + 1;
                   1480: #               else if (key < 25) then value = key + 2;
                   1481: #               else if (key < 27) then value = key + 3;
                   1482: #               else if (key < 30) then value = key + 4;
                   1483: #               else value = key + 5;
                   1484: #
                   1485: vt420pc|DEC VT420 w/PC keyboard:\
1.5       tholo    1486:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
                   1487:        :F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
                   1488:        :F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
                   1489:        :FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
                   1490:        :FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
                   1491:        :FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
                   1492:        :FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
                   1493:        :FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
                   1494:        :Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
                   1495:        :S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
                   1496:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
                   1497:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:\
1.8     ! tholo    1498:        :..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  1499:
                   1500: vt420pcdos|DEC VT420 w/PC for DOS Merge:\
                   1501:        :li#25:\
1.3       deraadt  1502:        :S1=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;:\
                   1503:        :S4=\E[?1;2r\E[34h:\
                   1504:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
1.5       tholo    1505:        :me=\E[m:sa@:\
                   1506:        :tc=vt420pc:
1.1       deraadt  1507:
                   1508: vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
1.3       deraadt  1509:        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
                   1510:        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1.1       deraadt  1511:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.3       deraadt  1512:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
1.5       tholo    1513:        :kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:\
                   1514:        :tc=vt420:
1.1       deraadt  1515:
                   1516: vt510|DEC VT510:\
                   1517:        :tc=vt420:
                   1518: vt510pc|DEC VT510 w/PC keyboard:\
                   1519:        :tc=vt420pc:
                   1520: vt510pcdos|DEC VT510 w/PC for DOS Merge:\
                   1521:        :tc=vt420pcdos:
1.6       etheisen 1522:
1.1       deraadt  1523: # VT520/VT525
                   1524: #
                   1525: # The VT520 is a monochrome text terminal capable of managing up to
                   1526: # four independent sessions in the terminal.  It has multiple ANSI
                   1527: # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
                   1528: # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
                   1529: # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
                   1530: #
                   1531: # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
                   1532: # [Alt]/[Print Screen] depending upon which keyboard and which
                   1533: # terminal mode is being used.  If Set-Up has been disabled or
                   1534: # assigned to an unknown key, Set-Up may be entered by pressing
                   1535: # [F3] as the first key after power up, regardless of keyboard type.
1.8     ! tholo    1536: # (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
        !          1537: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  1538: vt520|DEC VT520:\
                   1539:        :am:mi:xn:xo:\
                   1540:        :co#80:li#24:vt#3:\
1.3       deraadt  1541:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1542:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1543:        :SA=\E[?7h:\
                   1544:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1545:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1546:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1547:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1548:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1549:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1550:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1551:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1552:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1.8     ! tholo    1553:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
        !          1554:        :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
        !          1555:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1556:
1.5       tholo    1557: # (vt525: I added <rmam>/<smam> based on the init string;
1.8     ! tholo    1558: # removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
        !          1559: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  1560: vt525|DEC VT525:\
                   1561:        :am:mi:xn:xo:\
                   1562:        :co#80:li#24:vt#3:\
1.3       deraadt  1563:        :*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
                   1564:        :S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
                   1565:        :SA=\E[?7h:\
                   1566:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.1       deraadt  1567:        :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:\
1.2       deraadt  1568:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.1       deraadt  1569:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1.5       tholo    1570:        :i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
                   1571:        :im=\E[4h:is=\E[1;24r\E[24;1H:k0=\E[29~:k1=\EOP:k2=\EOQ:\
                   1572:        :k3=\EOR:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
                   1573:        :k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1574:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
1.8     ! tholo    1575:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:r3=\E[?67h\E[64;1"p:\
        !          1576:        :rc=\E8:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[m:sf=\ED:\
        !          1577:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  1578:
                   1579: #### VT100 emulations
                   1580: #
                   1581:
1.2       deraadt  1582: # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
                   1583: # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
1.8     ! tholo    1584: # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
        !          1585: # that this works best with a stock vt100 entry.
1.2       deraadt  1586: dec-vt100|EWAN telnet's vt100 emulation:\
1.8     ! tholo    1587:        :tc=vt100:
        !          1588:
        !          1589: # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
        !          1590: dec-vt220|DOS tnvt200 terminal emulator:\
        !          1591:        :am@:tc=vt220:
1.2       deraadt  1592:
1.1       deraadt  1593: # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
                   1594: # anyone who needs PC VT340 emulation. (or anything below that level, for
                   1595: # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
                   1596: # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
                   1597: # I can send the address if requested.
1.2       deraadt  1598: # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
1.1       deraadt  1599: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
                   1600: z340|zstem vt340 terminal emulator 132col 42line:\
                   1601:        :li#42:\
1.3       deraadt  1602:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1603:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
                   1604:        :tc=vt320-w:
1.1       deraadt  1605: z340-nam|zstem vt340 terminal emulator 132col 42line:\
                   1606:        :am@:\
1.3       deraadt  1607:        :is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
1.5       tholo    1608:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
                   1609:        :tc=z340:
1.1       deraadt  1610:
1.3       deraadt  1611: #### X terminal emulators
1.1       deraadt  1612: #
1.5       tholo    1613: # You can add the following line to your .Xdefaults to change the terminal type
                   1614: # set by the xterms you start up to my-xterm:
                   1615: #
                   1616: # *termName:  my-xterm
                   1617: #
                   1618: # System administrators can change the default entry for xterm instances
                   1619: # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
                   1620: # case, xterm will detect and reject an invalid terminal type, falling back
                   1621: # to the default of xterm.
                   1622: #
1.1       deraadt  1623:
                   1624: # X10/6.6      11/7/86, minus alternate screen, plus (csr)
1.2       deraadt  1625: # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
1.1       deraadt  1626: # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
                   1627: # as these seem not to work -- esr)
                   1628: x10term|vs100-x10|xterm terminal emulator (X10 window system):\
1.8     ! tholo    1629:        :am:bs:km:mi:ms:xn:xo:\
1.1       deraadt  1630:        :co#80:it#8:li#65:\
1.3       deraadt  1631:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
                   1632:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
1.5       tholo    1633:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1634:        :im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
                   1635:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   1636:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
                   1637:        :mr=\E[7m:nd=\E[C:\
1.1       deraadt  1638:        :rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:se=\E[m:\
1.5       tholo    1639:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.8     ! tholo    1640: # Compatible with the R5 xterm
        !          1641: # (from the XFree86 3.2 distribution, <blink=@> removed)
        !          1642: xterm-r5|xterm R5 version:\
        !          1643:        :am:bs:km:ms:xn:\
        !          1644:        :co#80:it#8:li#24:\
        !          1645:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
        !          1646:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          1647:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          1648:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          1649:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:k0=\EOq:k1=\E[11~:\
        !          1650:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
        !          1651:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kA=\E[30~:\
        !          1652:        :kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:kN=\E[6~:kP=\E[5~:\
        !          1653:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[7~:kl=\EOD:kr=\EOC:\
        !          1654:        :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
        !          1655:        :nd=\E[C:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
        !          1656:        :rc=\E8:\
        !          1657:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
        !          1658:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
        !          1659: # Compatible with the R6 xterm
        !          1660: # (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
        !          1661: xterm-r6|xterm-old|xterm X11R6 version:\
        !          1662:        :am:bs:km:mi:ms:xn:\
        !          1663:        :co#80:it#8:li#24:\
        !          1664:        :*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          1665:        :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
        !          1666:        :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
        !          1667:        :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          1668:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
        !          1669:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          1670:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          1671:        :dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          1672:        :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
        !          1673:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
        !          1674:        :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
        !          1675:        :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
        !          1676:        :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
        !          1677:        :mr=\E[7m:mu=\Em:nd=\E[C:\
        !          1678:        :r2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:rc=\E8:\
        !          1679:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
        !          1680:        :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
        !          1681:        :us=\E[4m:
        !          1682: # This is the stock xterm entry supplied with XFree86 3.2
        !          1683: # The name has been changed and some aliases have been removed.
1.3       deraadt  1684: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   1685: # (sgr removed to fit entry within 1023 bytes)
                   1686: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    1687: xterm-xf86-v32|xterm terminal emulator (X Window System):\
        !          1688:        :am:bs:km:mi:ms:xn:\
        !          1689:        :co#80:it#8:li#24:\
1.2       deraadt  1690:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8     ! tholo    1691:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          1692:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        !          1693:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1694:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
        !          1695:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
        !          1696:        :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
1.1       deraadt  1697:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
1.5       tholo    1698:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
                   1699:        :kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
                   1700:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
1.8     ! tholo    1701:        :me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
        !          1702:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
        !          1703:        :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          1704:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.5       tholo    1705:
1.8     ! tholo    1706: # This is xterm for ncurses. It mainly adds mappings for more high-half
        !          1707: # characters.  Note that these will only work for fixed-width fonts.
        !          1708: # Once XFree86 3.2 is established, we'll switch this to use=xterm-xf86-v32
        !          1709: xterm|vs100|xterms|xterm terminal emulator (X Window System):\
        !          1710:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054II00:\
        !          1711:        :u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:\
        !          1712:        :tc=xterm-r6:
1.5       tholo    1713:
                   1714: # These entries allow access to the X titlebar and icon name as a status line.
                   1715: # Note that twm (and possibly window managers descended from it such as tvtwm,
                   1716: # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
                   1717: # with it.
1.8     ! tholo    1718: xterm+sl|access X title line and icon name:\
1.5       tholo    1719:        :hs:\
                   1720:        :ws#40:\
                   1721:        :ds=\E]0;\007:fs=^G:ts=\E]0;:
1.8     ! tholo    1722: xterm+sl-twm|access X title line (pacify twm-descended window managers):\
1.5       tholo    1723:        :hs:\
                   1724:        :ws#40:\
                   1725:        :ds=\E]2;\007:fs=^G:ts=\E]2;:
                   1726:
                   1727: #
1.8     ! tholo    1728: # The following xterm variants don't depend on your base version
1.5       tholo    1729: #
1.3       deraadt  1730: xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
1.5       tholo    1731:        :so=\E[1m:\
                   1732:        :tc=xterm:
1.2       deraadt  1733: # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
1.5       tholo    1734: # (kterm should not invoke DEC Graphics as the alternate character set
                   1735: #  -- Kenji Rikitake)
1.1       deraadt  1736: kterm|kterm kanji terminal emulator (X window system):\
                   1737:        :es:hs:\
1.5       tholo    1738:        :cs=\E[%i%d;%dr:ds=\E[?H:eA=\E(B:fs=\E[?F:rc=\E8:sc=\E7:\
                   1739:        :ts=\E[?E\E[?%i%dT:\
                   1740:        :tc=xterm:
1.1       deraadt  1741: # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
                   1742: xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
1.5       tholo    1743:        :IC@:ei=:ic@:im=:\
                   1744:        :tc=xterm:
                   1745: # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
                   1746: xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
                   1747:        :te@:ti@:\
                   1748:        :tc=xterm:
                   1749:
1.8     ! tholo    1750: # This describes the capabilities of color_xterm, an xterm variant from
        !          1751: # before ECMA-64 color support was folded into the main-line xterm release.
        !          1752: # This entry is straight from color_xterm's maintainer.
        !          1753: # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
        !          1754: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1755: # (sgr removed to fit entry within 1023 bytes)
        !          1756: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          1757: color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
        !          1758:        :am:km:mi:ms:xn:\
        !          1759:        :co#80:it#8:li#65:\
        !          1760:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          1761:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
        !          1762:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
        !          1763:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          1764:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
        !          1765:        :i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
        !          1766:        :k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
        !          1767:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          1768:        :kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
        !          1769:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
        !          1770:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E>\E[?41;1r:\
        !          1771:        :ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:up=\E[A:us=\E[4m:
        !          1772:
        !          1773: # From: Mark Olesen & Thomas Dickey <dickey@clark.net> 13 Jul 1996
        !          1774: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          1775: # (sgr removed to fit entry within 1023 bytes)
        !          1776: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          1777: rxvt|reduced xterm terminal (X Window System):\
        !          1778:        :am:km:mi:ms:xn:xo:\
        !          1779:        :co#80:it#8:li#24:\
        !          1780:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          1781:        :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:LE=\E[%dD:\
        !          1782:        :RI=\E[%dC:UP=\E[%dA:ae=\E(B\E)0\017:al=\E[L:\
        !          1783:        :as=\E(B\E)U\016:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
        !          1784:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          1785:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
        !          1786:        :i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
        !          1787:        :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
        !          1788:        :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
        !          1789:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
        !          1790:        :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
        !          1791:        :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
        !          1792:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
        !          1793:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?47l\E8:\
        !          1794:        :ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
        !          1795:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.1       deraadt  1796:
                   1797: # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
                   1798: # Here's a termcap entry I've been using for xterm_color, which comes
                   1799: # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
                   1800: # color stuff, I also have a status line defined as the window manager
                   1801: # title bar. [I have translated it to terminfo -- ESR]
                   1802: xterm-pcolor|xterm with color used for highlights and status line:\
1.5       tholo    1803:        :md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
                   1804:        :us=\E[4m\E[42m:\
1.8     ! tholo    1805:        :tc=xterm+sl:tc=xterm:
1.1       deraadt  1806:
1.3       deraadt  1807: # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
1.5       tholo    1808: # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
1.8     ! tholo    1809: xhpterm|X-hpterm|hp X11 terminal emulator:\
1.2       deraadt  1810:        :am:da:db:mi:xs:\
1.3       deraadt  1811:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:\
1.5       tholo    1812:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   1813:        :cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
                   1814:        :cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   1815:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   1816:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   1817:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   1818:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   1819:        :ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
                   1820:        :mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
1.3       deraadt  1821:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
                   1822:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
                   1823:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
1.2       deraadt  1824:        :..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    1825:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
                   1826:        :up=\EA:us=\E&dD:
                   1827:
                   1828: # This entry describes an xterm with Sun-style function keys enabled
                   1829: # via the X resource setting "xterm*sunFunctionKeys:true"
                   1830: # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
                   1831: # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
                   1832: # because we want it to be seen as <kcpy>.
                   1833: # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
                   1834: # with their Sun keyboard labels instead.
                   1835: # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
                   1836: xterm-sun|xterm with sunFunctionKeys true:\
                   1837:        :%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
                   1838:        :F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:F5=\E[196z:\
                   1839:        :F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:FL=\E[208z:\
                   1840:        :FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:FQ=\E[213z:\
                   1841:        :FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:K2=\E[218z:\
                   1842:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   1843:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   1844:        :kI=\E[2z:kN=\E[222z:kP=\E[216z:kh=\E[214z:\
                   1845:        :tc=xterm:
                   1846: xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
                   1847:        :co#80:li#24:tc=xterm-sun:
1.2       deraadt  1848:
1.3       deraadt  1849: # This is for the extensible terminal emulator on the X11R6 contrib tape.
1.5       tholo    1850: # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
1.3       deraadt  1851: emu|emu native mode:\
                   1852:        :mi:ms:xo:\
                   1853:        :Co#15:co#80:it#8:li#24:pa#64:vt#200:\
1.5       tholo    1854:        :*6=\Esel:@0=\Efind:@8=^M:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:\
                   1855:        :DO=\Ep%d;:F1=\EF11:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:\
                   1856:        :F6=\EF16:F7=\EF17:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:\
                   1857:        :RI=\Eq%d;:Sb=\Es%i%d; setf=\Er%i%d;:UP=\Ep-%d;:\
1.3       deraadt  1858:        :ac=a\202f\260g261j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
1.5       tholo    1859:        :ae=\200:al=\EQ1;:as=\200:bl=^G:cb=\EL:cd=\EN:ce=\EK:\
                   1860:        :cl=\EP\EE0;0;:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:\
                   1861:        :dc=\EI1;:dl=\ER1;:do=\EB:eA=\200:ec=\Ej%d;:ei=\EX:\
                   1862:        :ho=\EE0;0;:im=\EY:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:\
                   1863:        :k2=\EF02:k3=\EF03:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:\
                   1864:        :k8=\EF08:k9=\EF09:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:\
                   1865:        :kP=\Eprior:kb=^H:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:\
                   1866:        :mb=\ES\EW:md=\ES\EU:me=\ES:mr=\ES\ET:nd=\ED:\
                   1867:        :oc=\Es0;\Er0;:r2=\ES\Es0;\Er0;:se=\ES:sf=\EG:so=\ES\ET:\
                   1868:        :sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\ES\EV:ve=\Ea:vi=\EZ:\
                   1869:        :vs=\Ea:
1.3       deraadt  1870:
1.8     ! tholo    1871: ######## MGR
        !          1872: #
        !          1873: # MGR is a Bell Labs window system lighter-weight than X.
        !          1874: # These entries describe MGR's xterm-equivalent.
        !          1875: # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
        !          1876: #
        !          1877:
        !          1878: mgr|Bellcore MGR (non X) window system terminal emulation:\
        !          1879:        :am:km:\
        !          1880:        :AL=\E%da:DC=\E%dE:DL=\E%dd:IC=\E%dA:RA=\E5S:SA=\E5s:\
        !          1881:        :al=\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:cr=^M:\
        !          1882:        :cs=\E%d;%dt:dc=\EE:dl=\Ed:do=\Ef:ei=:hd=\E1;2f:hu=\E1;2u:\
        !          1883:        :ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          1884:        :md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
        !          1885:        :so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
        !          1886:        :vs=\E0h:
        !          1887: mgr-sun|Mgr window with Sun keyboard:\
        !          1888:        :%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E197z:\
        !          1889:        :@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
        !          1890:        :K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
        !          1891:        :k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
        !          1892:        :k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
        !          1893:        :kP=\E[216z:kh=\E[214z:\
        !          1894:        :tc=mgr:
        !          1895: mgr-linux|Mgr window with Linux keyboard:\
        !          1896:        :@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
        !          1897:        :K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
        !          1898:        :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        !          1899:        :k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:tc=mgr:
        !          1900:
1.1       deraadt  1901: ######## UNIX VIRTUAL TERMINALS AND VIRTUAL CONSOLES
                   1902: #
                   1903:
                   1904: # Columbus UNIX virtual terminal. This terminal also appears in
                   1905: # UNIX 4.0 and successors as line discipline 1 (?), but is
                   1906: # undocumented and does not really work quite right.
                   1907: cbunix|cb unix virtual terminal:\
1.8     ! tholo    1908:        :am:bs:da:db:\
1.1       deraadt  1909:        :co#80:li#24:lm#0:\
1.5       tholo    1910:        :al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
                   1911:        :dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
                   1912:        :kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
                   1913:        :ue=\Eb^A:up=\EA:us=\Ea^A:
1.1       deraadt  1914: # (vremote: removed obsolete ":nl@:" -- esr)
                   1915: vremote|virtual remote terminal:\
                   1916:        :am@:\
1.3       deraadt  1917:        :co#79:tc=cbunix:
1.1       deraadt  1918: pty|4bsd pseudo teletype:\
1.8     ! tholo    1919:        :cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb\041:us=\Ea\041:tc=cbunix:
1.1       deraadt  1920:
1.5       tholo    1921: # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
                   1922: eterm|gnu emacs term.el terminal emulation:\
                   1923:        :am:mi:xn:\
                   1924:        :co#80:li#24:\
                   1925:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   1926:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
1.8     ! tholo    1927:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    1928:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
                   1929:        :im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
                   1930:        :sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
                   1931:        :ue=\E[m:up=\E[A:us=\E[4m:
                   1932:
1.2       deraadt  1933: # Entries for use by the FSF's `screen' program.  The screen and
1.5       tholo    1934: # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
1.2       deraadt  1935: # come from University of Wisconsin and may be older.
1.8     ! tholo    1936: # (screen: added :ve: on ANSI model -- esr)
1.2       deraadt  1937:
1.1       deraadt  1938: screen|VT 100/ANSI X3.64 virtual terminal:\
                   1939:        :am:km:mi:ms:xn:\
1.5       tholo    1940:        :Co#8:co#80:it#8:li#24:pa#64:\
1.3       deraadt  1941:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
                   1942:        :F2=\E[24~:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   1943:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00:\
                   1944:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   1945:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    1946:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
                   1947:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.3       deraadt  1948:        :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1.5       tholo    1949:        :k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   1950:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
                   1951:        :ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   1952:        :mr=\E[7m:nd=\E[C:nw=\EE:r2=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   1953:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
1.8     ! tholo    1954:        :us=\E[4m:vb=\Eg:ve=\E[?25h:vi=\E[?25l:vs=\E[34l:\
1.5       tholo    1955:        :tc=ecma+color:
                   1956:
1.1       deraadt  1957: screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
1.3       deraadt  1958:        :co#132:tc=screen:
1.2       deraadt  1959:
                   1960: screen2|VT 100/ANSI X3.64 virtual terminal:\
                   1961:        :co#80:it#8:li#24:\
                   1962:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    1963:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
                   1964:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   1965:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
                   1966:        :k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
                   1967:        :k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   1968:        :me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
                   1969:        :sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
                   1970:        :us=\E[4m:
1.2       deraadt  1971: # (screen3: removed unknown ":xv:LP:G0:" -- esr)
                   1972: screen3|VT 100/ANSI X3.64 virtual terminal:\
                   1973:        :km:mi:ms:\
                   1974:        :co#80:it#8:li#24:\
1.1       deraadt  1975:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.2       deraadt  1976:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
                   1977:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    1978:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   1979:        :ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   1980:        :kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
                   1981:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
                   1982:        :rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  1983:        :ue=\E[24m:up=\EM:us=\E[4m:
                   1984:
                   1985: ######## WORKSTATION CONSOLES
                   1986: #
                   1987:
                   1988: #### Sun consoles
                   1989: #
                   1990:
1.3       deraadt  1991: # :is1: resets scrolling region in case a previous user had used "tset vt100"
1.1       deraadt  1992: oldsun|Sun Microsystems Workstation console:\
1.8     ! tholo    1993:        :am:bs:km:mi:ms:\
1.1       deraadt  1994:        :co#80:it#8:li#34:\
1.5       tholo    1995:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
                   1996:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
                   1997:        :dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
                   1998:        :k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   1999:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
1.3       deraadt  2000: # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
1.8     ! tholo    2001: # :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
        !          2002: sun-il|Sun Microsystems console with working insert-line:\
1.1       deraadt  2003:        :am:km:ms:\
1.5       tholo    2004:        :co#80:li#34:\
                   2005:        :%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
                   2006:        :DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
                   2007:        :K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   2008:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
                   2009:        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
                   2010:        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
                   2011:        :kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
                   2012:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
                   2013:        :nd=\E[C:r2=\E[s:\
1.1       deraadt  2014:        :..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
1.5       tholo    2015:        :se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.8     ! tholo    2016: # On a SparcStation 5, :al:/:AL: flake out on the last line.
        !          2017: # Unfortunately, without them the terminal has no way to scroll.
        !          2018: sun-ss5|Sun SparcStation 5 console:\
        !          2019:        :AL@:al@:tc=sun-il:
        !          2020: # If you are using an SS5, change the sun definition to use sun-ss5.
        !          2021: sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
        !          2022:        :tc=sun-il:
        !          2023:
1.1       deraadt  2024: # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
                   2025: sun-s|Sun Microsystems Workstation window with status line:\
                   2026:        :hs:\
1.8     ! tholo    2027:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun:
1.1       deraadt  2028: sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
                   2029:        :hs:\
1.8     ! tholo    2030:        :ds=\E]l\E\:fs=\E\:ts=\E]l:tc=sun-e:
1.1       deraadt  2031: sun-48|Sun 48-line window:\
1.3       deraadt  2032:        :co#80:li#48:tc=sun:
1.1       deraadt  2033: sun-34|Sun 34-line window:\
1.3       deraadt  2034:        :co#80:li#34:tc=sun:
1.1       deraadt  2035: sun-24|Sun 24-line window:\
1.3       deraadt  2036:        :co#80:li#24:tc=sun:
1.1       deraadt  2037: sun-17|Sun 17-line window:\
1.3       deraadt  2038:        :co#80:li#17:tc=sun:
1.1       deraadt  2039: sun-12|Sun 12-line window:\
1.3       deraadt  2040:        :co#80:li#12:tc=sun:
1.1       deraadt  2041: sun-1|Sun 1-line window for sysline:\
                   2042:        :es:hs:\
                   2043:        :co#80:li#1:\
                   2044:        :ds=^L:fs=\E[K:ts=^M:tc=sun:
                   2045: sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
1.5       tholo    2046:        :ei@:ic@:im@:\
                   2047:        :tc=sun:
1.1       deraadt  2048: sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
1.8     ! tholo    2049:        :li#35:\
        !          2050:        :te=\E[>4h:ti=\E[>4l:tc=sun:
1.1       deraadt  2051:
                   2052: #### Iris consoles
                   2053: #
                   2054:
1.2       deraadt  2055: # (wsiris: this had extension capabilities
1.1       deraadt  2056: #      :HS=\E7F2:HE=\E7F7:\
                   2057: #      :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
1.8     ! tholo    2058: # See the note on Iris extensions near the end of this file.
1.5       tholo    2059: # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
                   2060: # :vb: from BRL -- esr)
1.1       deraadt  2061: wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
1.8     ! tholo    2062:        :am:bs:nc:pt:\
        !          2063:        :co#80:it#8:kn#3:li#40:\
        !          2064:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
        !          2065:        :do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
        !          2066:        :k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
        !          2067:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
        !          2068:        :nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
        !          2069:        :up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
        !          2070:        :vs=\E;:
1.1       deraadt  2071:
                   2072: #### NeWS consoles
                   2073: #
                   2074: # Console terminal windows under the NeWS (Sun's Display Postscript windowing
                   2075: # environment).   Note: these have nothing to do with Sony's News workstation
                   2076: # line.
                   2077: #
                   2078:
                   2079: # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
1.2       deraadt  2080: # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
                   2081: psterm|psterm-basic|NeWS psterm-80x34:\
                   2082:        :am:bs:hs:km:ul:\
1.1       deraadt  2083:        :co#80:it#8:li#34:\
                   2084:        :al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
1.2       deraadt  2085:        :dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
1.5       tholo    2086:        :im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
                   2087:        :mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
                   2088:        :sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
                   2089:        :ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
1.2       deraadt  2090: psterm-96x48|NeWS psterm 96x48:\
1.3       deraadt  2091:        :co#96:li#48:tc=psterm:
1.2       deraadt  2092: psterm-90x28|NeWS psterm 90x28:\
1.3       deraadt  2093:        :co#90:li#28:tc=psterm:
1.2       deraadt  2094: psterm-80x24|NeWS psterm 80x24:\
1.3       deraadt  2095:        :co#80:li#24:tc=psterm:
1.1       deraadt  2096: # This is a faster termcap for psterm.  Warning:  if you use this termcap,
                   2097: # some control characters you type will do strange things to the screen.
1.2       deraadt  2098: # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
                   2099: psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
                   2100:        :am:bs:hs:km:ul:\
1.1       deraadt  2101:        :co#80:it#8:li#34:\
1.5       tholo    2102:        :al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
                   2103:        :dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
                   2104:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
                   2105:        :mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
                   2106:        :te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
1.1       deraadt  2107:
1.5       tholo    2108: #### NeXT Consoles
1.1       deraadt  2109: #
1.5       tholo    2110: # Use `glasstty' for the Workspace application
1.1       deraadt  2111: #
                   2112:
1.5       tholo    2113: # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
                   2114: next|NeXT console:\
                   2115:        :am:xt:\
                   2116:        :co#80:it#8:li#24:\
                   2117:        :bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
                   2118:        :kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
                   2119:        :sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
                   2120: nextshell|NeXT Shell application:\
                   2121:        :am:\
                   2122:        :co#80:\
                   2123:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
1.1       deraadt  2124:
1.8     ! tholo    2125: ### Common Desktop Environment
        !          2126: #
        !          2127:
        !          2128: # This ships with Sun's CDE in Solaris 2.5
        !          2129: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          2130: # (sgr removed to fit entry within 1023 bytes)
        !          2131: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          2132: dtterm|CDE desktop terminal:\
        !          2133:        :am:mi:ms:xn:xo:\
        !          2134:        :co#80:it#8:li#24:lm#0:\
        !          2135:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          2136:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
        !          2137:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          2138:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
        !          2139:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          2140:        :is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
        !          2141:        :k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
        !          2142:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
        !          2143:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
        !          2144:        :md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
        !          2145:        :rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:so=\E[2;7m:sr=\EM:\
        !          2146:        :st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
        !          2147:        :ve=\E[?25h:vi=\E[?25l:
        !          2148:
1.1       deraadt  2149: ######## COMMON TERMINAL TYPES
                   2150: #
                   2151: # This section describes terminal classes and maker brands that are still
                   2152: # quite common, but have proprietary command sets not blessed by ANSI.
1.8     ! tholo    2153: #
1.1       deraadt  2154:
                   2155: #### Altos
                   2156: #
1.5       tholo    2157: # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
                   2158: # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
                   2159: # Acer has a web site at http://www.acer.com.
                   2160: #
1.1       deraadt  2161: # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
                   2162: # His comments suggest they were shipped with the system.
                   2163: #
                   2164:
1.2       deraadt  2165: # (altos2: had extension capabilities
1.1       deraadt  2166: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2167: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2168: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2169: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2170: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2171: #      :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
                   2172: #      :HL=^AP\r:SP=\E[i:\
                   2173: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
                   2174: #      :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
                   2175: # Comparison with the k* capabilities makes it obvious that the c* things are
                   2176: # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
                   2177: # :sr: was given as a boolean-- esr)
                   2178: altos2|alt2|altos-2|altos II:\
                   2179:        :co#80:it#8:li#24:sg#0:\
1.5       tholo    2180:        :*5=^Am\r:*8=^An\r:DL=\E[M:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
                   2181:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   2182:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:\
                   2183:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   2184:        :dc=\E[P:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
                   2185:        :if=/usr/share/tabset/vt100:im=:\
                   2186:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
                   2187:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2188:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
                   2189:        :kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
                   2190:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
                   2191:        :sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
1.2       deraadt  2192: # (altos3: had extension capabilities
1.1       deraadt  2193: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2194: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2195: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2196: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2197: #      :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
                   2198: #      :HL=^AP\r:SP=\E[i:\
                   2199: #      :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
1.2       deraadt  2200: altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
1.5       tholo    2201:        :mb=\E[5p:me=\E[p:sr=\EM:\
                   2202:        :tc=altos2:
1.1       deraadt  2203: altos4|alt4|altos-4|altos IV:\
                   2204:        :tc=wy50:
1.2       deraadt  2205: # (altos7: had extension capabilities:
                   2206: #      :GG#0:GI=\EH8:GF=\EH7:\
1.1       deraadt  2207: #      :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
                   2208: #      :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
                   2209: #      :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
                   2210: #      :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
                   2211: # Comparison with the k* capabilities makes it obvious that the c* things are
1.5       tholo    2212: # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
1.8     ! tholo    2213: # also made this entry relative to adm12 in order to give it an :sa:. The
1.5       tholo    2214: # <invis> imported by use=adm+sgr may work, let me know. -- esr)
1.1       deraadt  2215: altos7|alt7|altos VII:\
                   2216:        :am:mi:\
                   2217:        :co#80:li#24:sg#0:\
1.3       deraadt  2218:        :*5=^Am\r:*8=^An\r:DL=\ER:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:\
1.5       tholo    2219:        :FP=^Ac\r:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:\
                   2220:        :FV=^Ai\r:FW=^Aj\r:FX=^Ak\r:\
                   2221:        :ac=l2m1k3j5t4u9v=w0q\072x6n8:al=\EE:cd=\EY:ce=\ET:\
                   2222:        :cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:do=^J:ei=\Er:ho=^^:\
                   2223:        :im=\Eq:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:\
                   2224:        :k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   2225:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:\
                   2226:        :kC=^AL\r:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:\
                   2227:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:\
                   2228:        :mk=\EG1:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:\
                   2229:        :up=^K:\
                   2230:        :tc=adm+sgr:
1.1       deraadt  2231: altos7pc|alt7pc|altos PC VII:\
1.3       deraadt  2232:        :@7=\ET:tc=altos7:
1.1       deraadt  2233:
                   2234: #### Hewlett-Packard (hp)
                   2235: #
                   2236: #      Hewlett-Packard
                   2237: #      8000 Foothills Blvd
                   2238: #      Roseville, CA 95747
                   2239: #      Vox: 1-(916)-785-4363   (Technical response line for VDTs)
                   2240: #           1-(800)-633-3600   (General customer support)
                   2241: #
                   2242:
                   2243: # Generic HP terminal - this should (hopefully) work on any HP terminal.
1.2       deraadt  2244: hpgeneric|hp|hewlett-packard generic terminal:\
1.8     ! tholo    2245:        :am:bs:da:db:mi:pt:xs:\
1.1       deraadt  2246:        :co#80:li#24:lm#0:vt#6:\
1.3       deraadt  2247:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
1.5       tholo    2248:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   2249:        :do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
                   2250:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
                   2251:        :us=\E&dD:
1.1       deraadt  2252:
                   2253: hp110|hewlett-packard model 110 portable:\
1.3       deraadt  2254:        :li#16:tc=hpgeneric:
1.1       deraadt  2255:
                   2256: hp+pfk+cr|hp function keys with CR:\
1.5       tholo    2257:        :k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
                   2258:        :k7=\Ev\r:k8=\Ew\r:
1.1       deraadt  2259:
                   2260: hp+pfk-cr|hp function keys w/o CR:\
1.5       tholo    2261:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
1.1       deraadt  2262:
1.8     ! tholo    2263: # The hp2621s use the same keys for the arrows and function keys,
1.1       deraadt  2264: # but not separate escape sequences. These definitions allow the
                   2265: # user to use those keys as arrow keys rather than as function
                   2266: # keys.
                   2267: hp+pfk+arrows|hp alternate arrow definitions:\
1.5       tholo    2268:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
                   2269:        :kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
1.1       deraadt  2270:
                   2271: hp+arrows|hp arrow definitions:\
1.5       tholo    2272:        :kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
1.1       deraadt  2273:
                   2274: # Generic stuff from the HP 262x series
                   2275: #
                   2276: hp262x|HP 262x terminals:\
                   2277:        :xs:\
1.5       tholo    2278:        :cd=\EJ:dc=\EP:ip=:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:\
                   2279:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2280:        :kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:mk=\E&dS:\
                   2281:        :mr=\E&dB:\
1.1       deraadt  2282:        :..sa=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c:\
                   2283:        :se=\E&d@:sf=\ES:so=\E&dB:ta=\011:ue=\E&d@:us=\E&dD:
1.2       deraadt  2284:
1.8     ! tholo    2285: # Note: no :ho: on HPs since that homes to top of memory, not screen.
1.1       deraadt  2286: # Due to severe 2621 braindamage, the only way to get the arrow keys to
                   2287: # transmit anything at all is to turn on the function key labels
1.5       tholo    2288: # with :ks:, and even then the user has to hold down shift!
1.1       deraadt  2289: # The default 2621 turns off the labels except when it has to to
                   2290: # enable the function keys. If your installation prefers labels
                   2291: # on all the time, or off all the time (at the "expense" of the
1.8     ! tholo    2292: # function keys), use 2621-nl or 2621-wl.
        !          2293: #
1.1       deraadt  2294: # Note: there are newer ROMs for 2621's that allow you to set
                   2295: # strap A so the regular arrow keys xmit \EA, etc, as with the
                   2296: # 2645. However, even with this strap set, the terminal stops
                   2297: # xmitting if you reset it, until you unset and reset the strap!
                   2298: # Since there is no way to set/unset the strap with an escape
                   2299: # sequence, we don't use it in the default.
1.3       deraadt  2300: # If you like, you can use 2621-ba (brain-damaged arrow keys).
1.8     ! tholo    2301: hp2621-ba|2621 w/new rom and strap A set:\
        !          2302:        :ke@:ks@:tc=hp+arrows:\
        !          2303:        :tc=hp2621:
1.1       deraadt  2304:
1.2       deraadt  2305: # hp2621 with function labels. Most of the time they are off,
1.1       deraadt  2306: # but inside vi, the function key labels appear. You have to
                   2307: # hold down shift to get them to xmit.
                   2308: hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
1.5       tholo    2309:        :is=\E&jA\r:ke=\E&jA:\
                   2310:        :tc=hp2621-fl:
1.8     ! tholo    2311: hp2621-fl|hp 2621:\
1.1       deraadt  2312:        :xo:xs@:\
                   2313:        :pb#19200:\
1.5       tholo    2314:        :bt=\Ei:cm=\E&a%r%dc%dY:dc=\EP:ip=:is=\E&j@\r:ke=\E&j@:\
                   2315:        :ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=\011:ue=\E&d@:\
                   2316:        :us=\E&dD:\
                   2317:        :tc=hp+pfk+cr:tc=hpgeneric:
1.1       deraadt  2318:
1.8     ! tholo    2319: # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
        !          2320: hp2621p|hp 2621 with printer:\
1.3       deraadt  2321:        :pf=\E&p13C:po=\E&p11C:tc=hp2621:
1.1       deraadt  2322:
1.8     ! tholo    2323: hp2621p-a|hp2621p with fn as arrows:\
1.1       deraadt  2324:        :tc=hp+pfk+arrows:tc=hp2621p:
                   2325:
                   2326: # hp2621 with k45 keyboard
1.8     ! tholo    2327: hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
1.5       tholo    2328:        :kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
                   2329:        :ku=\EA:\
                   2330:        :tc=hp2621:
1.1       deraadt  2331:
1.2       deraadt  2332: # 2621 using all 48 lines of memory, only 24 visible at any time.
                   2333: hp2621-48|48 line 2621:\
                   2334:        :li#48:\
1.3       deraadt  2335:        :cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
1.2       deraadt  2336:
                   2337: # 2621 with no labels ever. Also prevents vi delays on escape.
                   2338: hp2621-nl|hp 2621 with no labels:\
                   2339:        :kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
                   2340:
                   2341: # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
                   2342: # (wrong).
                   2343: #
                   2344: hp2621-nt|hp 2621 w/no tabs:\
                   2345:        :ta@:tc=hp2621:
1.1       deraadt  2346:
                   2347: # Hp 2624 B with 4 or 10 pages of memory.
                   2348: #
                   2349: # Some assumptions are made with this entry. These settings are
                   2350: # NOT set up by the initialization strings.
                   2351: #
                   2352: # Port Configuration
                   2353: #      RecvPace=Xon/Xoff
                   2354: #      XmitPace=Xon/Xoff
                   2355: #      StripNulDel=Yes
                   2356: #
                   2357: # Terminal Configuration
                   2358: #      InhHndShk=Yes
                   2359: #      InhDC2=Yes
                   2360: #      XmitFnctn(A)=No
                   2361: #      InhEolWrp=No
                   2362: #
1.5       tholo    2363: # Note: the 2624 DOES have a true :ho:, believe it or not!
1.1       deraadt  2364: #
                   2365: # The 2624 has an "error line" to which messages can be sent.
                   2366: # This is CLOSE to what is expected for a "status line". However,
                   2367: # after a message is sent to the "error line", the next carriage
                   2368: # return is EATEN and the "error line" is turned back off again!
1.5       tholo    2369: # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
1.1       deraadt  2370: #
                   2371: # This entry supports emacs (and any other program that uses raw
                   2372: # mode) at 4800 baud and less. I couldn't get the padding right
1.5       tholo    2373: # for 9600.
1.1       deraadt  2374: #
1.3       deraadt  2375: # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
1.8     ! tholo    2376: hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
1.1       deraadt  2377:        :da:db:\
                   2378:        :lm#96:\
1.3       deraadt  2379:        :vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
1.1       deraadt  2380:
                   2381: # This hp2626 entry does not use any of the fancy windowing stuff
                   2382: # of the 2626.
                   2383: #
                   2384: # Indeed, terminfo does not yet handle such stuff. Since changing
                   2385: # any window clears memory, it is probably not possible to use
                   2386: # this for screen opt.
                   2387: #
                   2388: # ed is incredibly slow most of the time - I am guessing at the
                   2389: # exact padding. Since the terminal uses xoff/xon this is intended
                   2390: # only for cost computation, so that the terminal will prefer el
                   2391: # or even dl1 which is probably faster!
                   2392: #
                   2393: # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
                   2394: # extra slow on the last line of the window.
                   2395: #
                   2396: # The padding probably should be changed.
                   2397: #
1.8     ! tholo    2398: hp2626|hp2626a|hp2626p|hp 2626:\
1.1       deraadt  2399:        :da:db:\
                   2400:        :lm#0:pb#19200:\
                   2401:        :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:
                   2402:
                   2403: # This entry is for sysline. It allocates a 23 line window with
                   2404: # a 115 line workspace for regular use, and a 1 line window for
                   2405: # the status line.
                   2406: #
                   2407: # This assumes port 2 is being used.
                   2408: # Turn off horizontal line, Create ws #1 with 115 lines,
                   2409: # Create ws #2 with 1 line, Create window #1 lines 1-23,
                   2410: # Create window #2 lines 24-24, Attach cursor to workspace #1.
                   2411: # Note that this clears the tabs so it must be done by tset before
                   2412: # it sets the tabs.
                   2413: #
1.8     ! tholo    2414: hp2626-s|hp 2626 using only 23 lines:\
1.1       deraadt  2415:        :es:hs:\
                   2416:        :li#23:\
                   2417:        :fs=\E&d@\E&w7f2p1I\E&w4f1I:\
1.5       tholo    2418:        :i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
                   2419:        :ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC:\
                   2420:        :tc=hp2626:
1.1       deraadt  2421: # Force terminal back to 24 lines after being 23.
1.8     ! tholo    2422: hp2626-ns|hp 2626 using all 24 lines:\
1.5       tholo    2423:        :i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:tc=hp2626:
1.1       deraadt  2424: # Various entries useful for small windows on 2626.
1.8     ! tholo    2425: hp2626-12|hewlett-packard 2626 12 lines:\
1.3       deraadt  2426:        :li#12:tc=hp2626:
1.8     ! tholo    2427: hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
1.3       deraadt  2428:        :co#40:li#12:tc=hp2626:
1.8     ! tholo    2429: hp2626-x40|hewlett-packard 2626 40 columns:\
1.3       deraadt  2430:        :co#40:tc=hp2626:
1.8     ! tholo    2431: hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
1.3       deraadt  2432:        :li#11:tc=hp2626-s:
1.2       deraadt  2433:
                   2434: #
                   2435: # hp2627 color tubes from University of Wisconsin
                   2436: #
                   2437: hp2627a-rev|hp 2627 with reverse video colors:\
                   2438:        :cr=^M:do=^J:\
                   2439:        :is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
1.5       tholo    2440:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
                   2441:        :us=\E&dD\E&v1S:\
                   2442:        :tc=hp2621-nl:
1.8     ! tholo    2443: hp2627a|hp 2627 color terminal with no labels:\
1.2       deraadt  2444:        :cr=^M:do=^J:\
                   2445:        :is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
1.5       tholo    2446:        :kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
                   2447:        :ue=\E&v0S\E&d@:us=\E&dD\E&v1S:\
                   2448:        :tc=hp2621-nl:
1.2       deraadt  2449: hp2627c|hp 2627 color (cyan) terminal with no labels:\
                   2450:        :cr=^M:do=^J:\
                   2451:        :is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
1.5       tholo    2452:        :kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
                   2453:        :tc=hp2627a:
1.1       deraadt  2454:
1.8     ! tholo    2455: # hp2640a doesn't have the Y cursor addressing feature, and C is
1.1       deraadt  2456: # memory relative instead of screen relative, as we need.
                   2457: #
1.8     ! tholo    2458: hp2640a|hp 2640a:\
1.1       deraadt  2459:        :cm@:ke@:ks@:tc=hp2645:
                   2460:
                   2461: hp2640b|hp2644a|hp 264x series:\
                   2462:        :ke@:ks@:tc=hp2645:
                   2463:
1.8     ! tholo    2464: # (hp2641a: removed unknown :gu: -- esr)
        !          2465: hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
        !          2466:        :am:da:db:mi:xs:\
        !          2467:        :co#80:li#24:\
        !          2468:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
        !          2469:        :cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
        !          2470:        :ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
        !          2471:        :kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
        !          2472:        :ta=^I:up=\EA:
        !          2473:
1.2       deraadt  2474: # This terminal should be used at 4800 baud or less. It needs padding for
                   2475: # plain characters at 9600, I guessed at an appropriate cr delay.  It really
                   2476: # wants ^E/^F handshaking, but that doesn't work well even if you write
                   2477: # software to support it.
                   2478: hp2645|hp45|HP 2645 series:\
                   2479:        :pb#9600:\
1.5       tholo    2480:        :cr=\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
                   2481:        :kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2482:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
                   2483:        :mh=\E&dH:mr=\E&dB:\
1.2       deraadt  2484:        :..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    2485:        :us=\E&dD:\
                   2486:        :tc=hpgeneric:
1.2       deraadt  2487: # You should use this terminal at 4800 baud or less.
1.8     ! tholo    2488: hp2648|hp2648a|HP 2648a graphics terminal:\
        !          2489:        :cl=\EH\EJ:cm=\E&a%r%dc%dY:dc=\EP:ip=:tc=hp2645:
1.1       deraadt  2490:
                   2491: # The HP 150 terminal is a fairly vanilla HP terminal, with the
                   2492: # clreol standout problem. It also has graphics capabilities and
                   2493: # a touch screen, which we don't describe here.
                   2494: hp150|hewlett packard Model 150:\
1.8     ! tholo    2495:        :bs:tc=hp2622:
1.1       deraadt  2496:
1.8     ! tholo    2497: # HP 2382a terminals, "the little ones." They don't have any
1.1       deraadt  2498: # alternate character set support and sending out ^N/^O will
                   2499: # leave the screen blank.
                   2500: hp2382a|hp2382|hewlett packard 2382a:\
                   2501:        :da:db:\
1.3       deraadt  2502:        :lh#1:lm#48:\
                   2503:        :ac@:ae@:as@:me=\E&d@:\
                   2504:        :..pn=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:\
1.5       tholo    2505:        :..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:\
                   2506:        :tc=hp+labels:tc=scrhp:
1.1       deraadt  2507:
1.8     ! tholo    2508: hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
1.1       deraadt  2509:        :tc=hp+pfk+arrows:tc=hp2621-fl:
                   2510:
                   2511: # newer hewlett packard terminals
                   2512:
                   2513: newhpkeyboard|generic entry for HP extended keyboard:\
1.5       tholo    2514:        :kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
                   2515:        :kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
                   2516:        :ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   2517:        :tc=hp+pfk-cr:
1.1       deraadt  2518:
                   2519: newhp|generic entry for new hewlett packard terminals:\
                   2520:        :am:bw:mi:xo:xs:\
                   2521:        :co#80:li#24:pb#4800:\
1.8     ! tholo    2522:        :ac=T1R\041U2S"W3O#V4P$t5u6w7v8\072'9(LQKWlRkT5I3@2[MAJSmFjGdHQ;Y+Z*X\0724>q\054x.n/:\
1.5       tholo    2523:        :ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
                   2524:        :dc=\EP:dl=\EM:do=^J:ei=\ER:i1=\E&jB:im=\EQ:ip=:le=^H:\
                   2525:        :mb=\E&dA:md=\E&dF:me=\E&d@\017:mh=\E&dH:mk=\E&dS:\
                   2526:        :mr=\E&dB:nd=\EC:nw=^M^J:\
1.3       deraadt  2527:        :..pk=\E&f0a%p1%dk0d%p2%l%dL%p2%s:\
                   2528:        :..pl=\E&f1a%p1%dk0d%p2%l%dL%p2%s:\
                   2529:        :..px=\E&f2a%p1%dk0d%p2%l%dL%p2%s:r1=\Eg:\
1.1       deraadt  2530:        :..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    2531:        :se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=\011:ue=\E&d@:\
                   2532:        :up=\EA:us=\E&dD:\
                   2533:        :tc=newhpkeyboard:
1.1       deraadt  2534:
                   2535: memhp|memory relative addressing for new HP ttys:\
                   2536:        :vt#6:\
                   2537:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2538:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\EH\EJ:\
                   2539:        :cm=\E&a%dr%dC:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
1.1       deraadt  2540:
                   2541: scrhp|screen relative addressing for new HP ttys:\
                   2542:        :CM=\E&a%p1%dr%p2%dC:DO=\E&a+%dR:LE=\E&a-%dC:\
1.3       deraadt  2543:        :RI=\E&a+%dC:UP=\E&a-%dR:ch=\E&a%dC:cl=\E&a0c0Y\EJ:\
1.5       tholo    2544:        :cm=\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
                   2545:        :tc=newhp:
1.1       deraadt  2546:
1.8     ! tholo    2547: # (hp+labels: added label values from a BRL termcap -- esr)
1.1       deraadt  2548: hp+labels|"standard" label info for new HP ttys:\
1.3       deraadt  2549:        :Nl#8:lh#2:lw#8:\
1.8     ! tholo    2550:        :LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
        !          2551:        :l7=f8:\
1.3       deraadt  2552:        :..pn=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s:
1.1       deraadt  2553:
1.2       deraadt  2554: hp+printer|"standard" printer info for HP ttys:\
1.3       deraadt  2555:        :ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
1.1       deraadt  2556:
                   2557:
                   2558: # The new hp2621b is kind of a cross between the old 2621 and the
                   2559: # new 262x series of machines. It has dip-switched options.
                   2560: # The firmware has a bug in it such that if you give it a null
                   2561: # length label, the following character is eaten!
1.8     ! tholo    2562: hp2621b|hp 2621b with old style keyboard:\
1.3       deraadt  2563:        :Nl#8:lh#1:lm#48:lw#8:\
1.5       tholo    2564:        :LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
                   2565:        :ku=\EA:\
1.3       deraadt  2566:        :..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  2567:
1.8     ! tholo    2568: hp2621b-p|hp 2621b with printer:\
1.1       deraadt  2569:        :tc=hp+printer:tc=hp2621b:
                   2570:
                   2571: # hp2621b - new 2621b with new extended keyboard
                   2572: # these are closer to the new 26xx series than the other 2621b
1.8     ! tholo    2573: hp2621b-kx|hp 2621b with extended keyboard:\
1.1       deraadt  2574:        :tc=newhpkeyboard:tc=hp2621b:
                   2575:
1.8     ! tholo    2576: hp2621b-kx-p|hp 2621b with new keyboard & printer:\
1.1       deraadt  2577:        :tc=hp+printer:tc=hp2621b-kx:
                   2578:
                   2579: # Some assumptions are made in the following entries.
                   2580: # These settings are NOT set up by the initialization strings.
                   2581: #
                   2582: #    Port Configuration
                   2583: # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff       StripNulDel=Yes
                   2584: #
                   2585: #    Terminal Configuration
                   2586: # InhHndShk(G)=Yes     InhDC2(H)=Yes
                   2587: # XmitFnctn(A)=No              InhEolWrp=No
                   2588: #
                   2589: #
                   2590: # Hp 2622a & hp2623a display and graphics terminals
                   2591: #
1.8     ! tholo    2592: hp2622|hp2622a|hp 2622:\
1.1       deraadt  2593:        :da:db:\
                   2594:        :lm#0:pb#19200:\
                   2595:        :is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
                   2596:
                   2597: # The 2623 is a 2622 with extra graphics hardware.
1.8     ! tholo    2598: hp2623|hp2623a|hp 2623:\
1.1       deraadt  2599:        :tc=hp2622:
                   2600:
                   2601: hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
                   2602:        :tc=hp+printer:tc=hp2624:
                   2603:
1.2       deraadt  2604: # The hewlett packard B can have an optional extra 6 pages of memory.
1.8     ! tholo    2605: hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
1.3       deraadt  2606:        :lm#240:tc=hp2624:
1.1       deraadt  2607:
                   2608: hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
1.3       deraadt  2609:        :lm#240:tc=hp2624b-p:
1.1       deraadt  2610:
                   2611: # Color manipulations for HP terminals
                   2612: hp+color|hp with colors:\
1.3       deraadt  2613:        :cc:\
                   2614:        :Co#16:NC#17:pa#7:\
                   2615:        :..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:\
                   2616:        :oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
                   2617:        :op=\E&v0S:sp=\E&v%dS:
1.1       deraadt  2618:
1.5       tholo    2619: # :is: sets the screen to be 80 columns wide
1.8     ! tholo    2620: hp2397a|hp2397|hewlett packard 2397A color terminal:\
1.5       tholo    2621:        :is=\E&w6f80X:\
                   2622:        :tc=memhp:tc=hp+labels:tc=hp+color:
1.1       deraadt  2623:
                   2624: #  HP 700/44 Setup parameters:
                   2625: # Terminal Mode                HP-PCterm
                   2626: # Inhibit Auto Wrap    NO
                   2627: # Status Line          Host Writable
                   2628: # PC Character Set     YES
                   2629: # Twenty-Five Line Mode        YES
                   2630: # XON/XOFF             @128 or 64 (sc)
                   2631: # Keycode Mode                 NO   or YES (sc)
                   2632: # Backspace Key                BS or BS/DEL
                   2633: #
1.5       tholo    2634: # :is:         sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
1.2       deraadt  2635: # \E\\? does not turn off keycode mode
                   2636: # <smsc>       sets alternate start/stop; keycode on
1.1       deraadt  2637: hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
                   2638:        :am:eo:xn:xo:\
                   2639:        :co#80:li#25:\
1.8     ! tholo    2640:        :@7=\E[4~:RA=\E[?7l:S4=\E[>11h\EPO**x0/65;1/67\E\:\
        !          2641:        :S5=\E[>11l\EP1**x0/11;1/13\E[m\E\:SA=\E[?7h:XF=g:XN=e:\
1.3       deraadt  2642:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.1       deraadt  2643:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    2644:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   2645:        :ic=\E[@:im=:\
1.8     ! tholo    2646:        :is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\:\
1.1       deraadt  2647:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
1.3       deraadt  2648:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
1.5       tholo    2649:        :kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
                   2650:        :kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
                   2651:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
                   2652:        :vi=\E[?25l:
1.1       deraadt  2653: #
1.8     ! tholo    2654: # (hp2392: copied :ei: here from hpex -- esr)
        !          2655: hp2392|239x series:\
1.1       deraadt  2656:        :co#80:\
1.8     ! tholo    2657:        :bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
        !          2658:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
        !          2659:        :k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
        !          2660:        :us=\E&dD:\
1.5       tholo    2661:        :tc=hpsub:
1.1       deraadt  2662:
                   2663: hpsub|hp terminals -- capability subset:\
                   2664:        :am:da:db:mi:xo:xs:\
                   2665:        :li#24:\
1.5       tholo    2666:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
1.8     ! tholo    2667:        :dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
        !          2668:        :is=\E&s1A\E<\E&k0\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
1.5       tholo    2669:        :kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
                   2670:        :sf=^J:so=\E&dB:ta=^I:up=\EA:
1.2       deraadt  2671:
                   2672: # hpex:
                   2673: #      May be used for most 24 x 80 hp terminals,
                   2674: # but has no padding added, so may allow runover in some terminals at high
1.8     ! tholo    2675: # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
        !          2676: # hp98x5 terminal emulators or hp98x6 consoles.
1.2       deraadt  2677: #      Adds xy-cursor addressing, vertical cursor addressing, home,
                   2678: # last line, and underline capabilities.
                   2679: #
1.8     ! tholo    2680: # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
        !          2681: # moved :ei: here from hpsub -- esr)
1.2       deraadt  2682: hpex|hp extended capabilites:\
1.8     ! tholo    2683:        :cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
        !          2684:        :kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:\
1.5       tholo    2685:        :tc=hpsub:
1.1       deraadt  2686:
1.8     ! tholo    2687: # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
        !          2688: hp2|hpex2|hewlett-packard extended capabilities newer version:\
        !          2689:        :am:da:db:mi:xs:\
        !          2690:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:\
        !          2691:        :LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
        !          2692:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
        !          2693:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
        !          2694:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
        !          2695:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
        !          2696:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
        !          2697:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@:\
        !          2698:        :ml=\El:mu=\Em:nd=\EC:..pk=\E&f%p1%dk%p2%l%dL%p2%s:\
        !          2699:        :..pl=\E&f1a%p1%dk%p2%l%dL%p2%s:\
        !          2700:        :..pn=\E&f%p1%dk%p2%l%dd0L%p2%s:\
        !          2701:        :..px=\E&f2a%p1%dk%p2%l%dL%p2%s:\
        !          2702:        :..sa=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;:\
        !          2703:        :se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
        !          2704:        :us=\E&dD:
        !          2705:
1.1       deraadt  2706: # HP 236 console
                   2707: # From: <ddavis@ic.berkeley.edu>
                   2708: hp236|hp236 internal terminal emulator:\
1.8     ! tholo    2709:        :am:bs:\
1.1       deraadt  2710:        :co#80:li#24:\
1.5       tholo    2711:        :al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
                   2712:        :im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
1.1       deraadt  2713:
                   2714: # This works on a hp300 console running Utah 4.3 BSD
                   2715: # From: Craig Leres <leres@okeeffe.berkeley.edu>
                   2716: hp300h|HP Catseye console:\
1.8     ! tholo    2717:        :am:bs:da:db:mi:xs:\
1.1       deraadt  2718:        :co#128:li#51:lm#0:sg#0:\
1.3       deraadt  2719:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5       tholo    2720:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
                   2721:        :dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
                   2722:        :im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   2723:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
                   2724:        :so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2725: # From: Greg Couch <gregc@ernie.berkeley.edu>
                   2726: hp9837|hp98720|hp98721|HP 9000/300 workstations:\
1.8     ! tholo    2727:        :am:bs:da:db:mi:xs:\
1.1       deraadt  2728:        :co#128:it#8:li#46:lm#0:\
1.3       deraadt  2729:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
1.5       tholo    2730:        :cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
                   2731:        :dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
                   2732:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
                   2733:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
                   2734:        :le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
                   2735:        :ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.8     ! tholo    2736: # HP 9845 desktop computer from BRL
        !          2737: # (hp9845: removed unknown capability :gu: -- esr)
        !          2738: hp9845|HP 9845:\
        !          2739:        :am:bs:da:db:eo:mi:xs:\
        !          2740:        :co#80:li#21:\
        !          2741:        :al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
        !          2742:        :dc=\EP:dl=\EM:ei=\ER:if=/usr/share/tabset/std:im=\EQ:\
        !          2743:        :nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
1.1       deraadt  2744: # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
1.5       tholo    2745: # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
                   2746: # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.1       deraadt  2747: hp98550|hp98550a|HP 9000 Series 300 color console:\
1.8     ! tholo    2748:        :am:bs:da:db:mi:xs:\
1.1       deraadt  2749:        :co#128:it#8:li#49:lm#0:\
1.5       tholo    2750:        :ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
1.3       deraadt  2751:        :ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
                   2752:        :cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
1.5       tholo    2753:        :if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
                   2754:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
                   2755:        :kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
                   2756:        :kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
                   2757:        :kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
                   2758:        :md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
                   2759:        :se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
1.3       deraadt  2760:        :us=\E&dD:ve=\E*dQ:vi=\E*dR:
1.1       deraadt  2761: # From: Victor Duchovni <vic@fine.princeton.edu>
1.5       tholo    2762: # (hp700-wy: removed obsolete ":nl=^J:";
                   2763: # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
1.1       deraadt  2764: hp700-wy|HP700/41 emulating wyse30:\
1.8     ! tholo    2765:        :am:bs:bw:mi:ms:\
1.1       deraadt  2766:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    2767:        :al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
                   2768:        :cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
                   2769:        :i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
                   2770:        :if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
                   2771:        :kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
                   2772:        :ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
                   2773:        :sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
                   2774: # (hp70092: added empty <acsc> to avoid warnings re :as:/:ae: --esr)
1.8     ! tholo    2775: hp70092|hp70092a|hp70092A|HP 700/92:\
1.1       deraadt  2776:        :am:da:db:xs:\
1.3       deraadt  2777:        :Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
1.5       tholo    2778:        :LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
                   2779:        :ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:\
                   2780:        :ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
                   2781:        :k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
                   2782:        :kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
                   2783:        :kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
                   2784:        :kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
                   2785:        :ku=\EA:le=^H:mb=\E&dA:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:\
                   2786:        :nd=\EC:se=\E&d@:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:\
1.3       deraadt  2787:        :up=\EA:us=\E&dD:
1.1       deraadt  2788:
                   2789: bobcat|sbobcat|HP 9000 model 300 console:\
                   2790:        :am:da:db:mi:xs:\
                   2791:        :co#128:it#8:li#47:sg#0:\
1.5       tholo    2792:        :al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
                   2793:        :cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
                   2794:        :ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
                   2795:        :ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
                   2796:        :sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
1.1       deraadt  2797: gator-t|HP 9000 model 237 emulating extra-tall AAA:\
1.3       deraadt  2798:        :li#94:tc=gator:
1.1       deraadt  2799: gator|HP 9000 model 237 emulating AAA:\
                   2800:        :bw:km:mi:ul:\
                   2801:        :co#128:it#8:li#47:\
1.5       tholo    2802:        :AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
                   2803:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
                   2804:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
                   2805:        :ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
                   2806:        :nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
                   2807:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  2808: gator-52|HP 9000 model 237 emulating VT52:\
1.3       deraadt  2809:        :co#128:li#47:tc=vt52:
1.1       deraadt  2810: gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
1.3       deraadt  2811:        :li#94:tc=gator-52:
1.1       deraadt  2812:
                   2813: #### Honeywell-Bull
                   2814: #
                   2815: # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
                   2816: #
                   2817:
                   2818: # Honeywell Bull terminal.  Its cursor and function keys send single
                   2819: # control characters and it has standout/underline glitch.  Most programs
1.2       deraadt  2820: # do not like these features/bugs.  Visual bell is realized by flashing the
                   2821: # "keyboard locked" LED.
                   2822: dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
1.1       deraadt  2823:        :co#80:li#25:\
1.5       tholo    2824:        :cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
                   2825:        :kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
                   2826:        :sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
1.2       deraadt  2827: dku7003|Honeywell Bull DKU 7003 all features described:\
1.1       deraadt  2828:        :ms:\
1.2       deraadt  2829:        :sg#1:ug#1:\
                   2830:        :mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
1.5       tholo    2831:        :so=\E[7m:ue=\E[m:us=\E[4m:\
                   2832:        :tc=dku7003-dumb:
1.1       deraadt  2833:
                   2834: #### Lear-Siegler (adm)
                   2835: #
                   2836: # These guys are long since out of the terminals business, but
                   2837: # in 1995 many current terminals still have an adm type as one of their
1.3       deraadt  2838: # emulations (usually their stupidest, and usually labeled adm3, though
1.1       deraadt  2839: # these `adm3' emulations normally have adm3a+ capabilities).
                   2840: #
1.2       deraadt  2841: # WARNING: Some early ADM terminals (including the ADM3 and ADM5) are
                   2842: # reputed to have had the weird `feature' that sending them a ^G would trigger
                   2843: # a diagnostic dump to screen if one of the more obscure RS-232 pins
                   2844: # (variously reported as 22 or as `Ring Indicator') was being held high during
                   2845: # receipt of the ^G.  If you have a real ADM and think you've run into this,
                   2846: # check it out with a breakout box and tell us if this rumor is correct!
                   2847: # A quick fix might be to drop back to a cheesy 4-wire cable.
                   2848: #
1.1       deraadt  2849:
                   2850: adm1a|adm1|lsi adm1a:\
                   2851:        :am:\
                   2852:        :co#80:li#24:\
1.5       tholo    2853:        :bl=^G:cl=\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
                   2854:        :sf=^J:up=^K:
1.1       deraadt  2855: adm2|lsi adm2:\
1.8     ! tholo    2856:        :am:bs:\
1.1       deraadt  2857:        :co#80:li#24:\
1.5       tholo    2858:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   2859:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
                   2860:        :kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  2861: # (adm3: removed obsolete ":ma=^K^P:" -- esr)
                   2862: adm3|lsi adm3:\
1.8     ! tholo    2863:        :am:bs:\
1.1       deraadt  2864:        :co#80:li#24:\
                   2865:        :bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
                   2866: # The following ADM-3A switch settings are assumed for normal operation:
                   2867: #      SPACE           U/L_DISP        CLR_SCRN        24_LINE
                   2868: #      CUR_CTL         LC_EN           AUTO_NL         FDX
                   2869: # Other switches may be set for operator convenience or communication
                   2870: # requirements.  I recommend
                   2871: #      DISABLE_KB_LOCK LOCAL_OFF       103             202_OFF
                   2872: #      ETX_OFF         EOT_OFF
1.2       deraadt  2873: # Most of these terminals required an option ROM to support lower case display.
                   2874: # Open the case and look at the motherboard; if you see an open 24-pin DIP
                   2875: # socket, you may be out of luck.
                   2876: #
1.8     ! tholo    2877: # (adm3a: some capabilities merged in from BRl entry -- esr)
1.1       deraadt  2878: adm3a|lsi adm3a:\
1.8     ! tholo    2879:        :am:bs:\
1.1       deraadt  2880:        :co#80:li#24:\
1.8     ! tholo    2881:        :bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
        !          2882:        :kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:r1=^N:rs=^N:sf=^J:\
        !          2883:        :up=^K:
1.2       deraadt  2884: adm3a+|adm3a plus:\
1.8     ! tholo    2885:        :kb=^H:tc=adm3a:
1.2       deraadt  2886: # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
1.1       deraadt  2887: adm5|lsi adm5:\
                   2888:        :sg#1:\
1.5       tholo    2889:        :bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:tc=adm3a+:
1.8     ! tholo    2890: # A lot of terminals other than adm11s use these.  Wherever you see
1.5       tholo    2891: # use=adm+sgr with some of its capabilities disabled, try the
                   2892: # disabled ones.  They may well work but not have been documented or
                   2893: # expressed in the using entry.  We'd like to cook up an :sa: but the
                   2894: # :ae:/:as: sequences of the using entries vary too much.
                   2895: adm+sgr|adm style highlight capabilities:\
                   2896:        :me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
                   2897: # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
                   2898: # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
                   2899: # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
                   2900: # be ^Z, according to his entry.
                   2901: # (adm11: :us:=\EG4 was obviously erroneous because it also said
                   2902: # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
                   2903: adm11|LSI ADM-11:\
1.8     ! tholo    2904:        :am:bs:hs:\
        !          2905:        :co#80:kn#8:li#24:\
1.5       tholo    2906:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
                   2907:        :fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   2908:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
1.8     ! tholo    2909:        :kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
1.5       tholo    2910:        :ts=\EF\E):up=^K:\
                   2911:        :tc=adm+sgr:
1.1       deraadt  2912: # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
                   2913: # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
1.5       tholo    2914: # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
                   2915: # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
1.8     ! tholo    2916: # via BRL.  That entry asserted :sg#1:, but I've left that out because
        !          2917: # neither earlier nor later ADMSs have it -- esr)
1.1       deraadt  2918: adm12|lsi adm12:\
1.8     ! tholo    2919:        :am:bs:mi:pt:\
        !          2920:        :co#80:it#8:li#24:ug#1:\
        !          2921:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
        !          2922:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
1.5       tholo    2923:        :is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
                   2924:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   2925:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
1.8     ! tholo    2926:        :ku=^K:le=^H:nd=^L:st=\E1:up=^K:\
1.5       tholo    2927:        :tc=adm+sgr:
1.2       deraadt  2928: # (adm20: removed obsolete ":kn#7:" -- esr)
1.1       deraadt  2929: adm20|lear siegler adm20:\
1.8     ! tholo    2930:        :am:bs:\
1.1       deraadt  2931:        :co#80:it#8:li#24:\
                   2932:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
1.5       tholo    2933:        :cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
                   2934:        :im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
                   2935:        :nd=^L:se=\E(:so=\E):ta=^I:up=^K:
1.1       deraadt  2936: adm21|lear siegler adm21:\
1.5       tholo    2937:        :sg#1:\
                   2938:        :al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
                   2939:        :ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
                   2940:        :tc=adm+sgr:tc=adm3a:
1.1       deraadt  2941: # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
1.2       deraadt  2942: # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
1.5       tholo    2943: # removed bogus-looking \200 from before :cm:. -- esr)
1.1       deraadt  2944: adm22|lsi adm22:\
1.8     ! tholo    2945:        :am:bs:\
1.1       deraadt  2946:        :co#80:li#24:\
1.5       tholo    2947:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   2948:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
1.3       deraadt  2949:        :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    2950:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   2951:        :k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
                   2952:        :l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
                   2953:        :so=\E):ta=\Ei:up=^K:
1.2       deraadt  2954: # ADM 31 DIP Switches
                   2955: #
                   2956: # This information comes from two versions of the manual for the
                   2957: # Lear-Siegler ADM 31.
                   2958: #
                   2959: # Main board:
                   2960: #                  rear of case
                   2961: #   +-||||-------------------------------------+
                   2962: #   + S1S2                              ||S    +
                   2963: #   +                                   ||3    +
                   2964: #   +                                          +
                   2965: #   +                                ||S       +
                   2966: #   +                                ||4       +
                   2967: #   +                                          +
                   2968: #   +                                          +
                   2969: #   +                                          +
                   2970: #   +                                          +
                   2971: #   +                                          +
                   2972: # +-+                                          +-+
                   2973: # +                                              +
                   2974: # +                               S5 S6 S7       +
                   2975: # +                               == == ==       +
                   2976: # +----------------------------------------------+
                   2977: #            front of case (keyboard)
                   2978: #
                   2979: #  S1 - Data Rate - Modem
                   2980: #  S2 - Data Rate - Printer
                   2981: # ------------------------
                   2982: # Data Rate   Setting
                   2983: # -------------------
                   2984: # 50          0 0 0 0
                   2985: # 75          1 0 0 0
                   2986: # 110         0 1 0 0
                   2987: # 134.5       1 1 0 0
                   2988: # 150         0 0 1 0
                   2989: # 300         1 0 1 0
                   2990: # 600         0 1 1 0
                   2991: # 1200        1 1 1 0
                   2992: # 1800        0 0 0 1
                   2993: # 2000        1 0 0 1
                   2994: # 2400        0 1 0 1
                   2995: # 3600        1 1 0 1
                   2996: # 4800        0 0 1 1
                   2997: # 7200        1 0 1 1
                   2998: # 9600        0 1 1 1
                   2999: # x           1 1 1 1
                   3000: #
                   3001: # S3 - Interface/Printer/Attributes
                   3002: # ---------------------------------
                   3003: # Printer Busy Control
                   3004: # sw1   sw2   sw3
                   3005: # ---------------
                   3006: # off   off   off   Busy not active, CD disabled
                   3007: # off   off   on    Busy not active, CD enabled
                   3008: # off   on    off   Busy active on J5-20, CD disabled
                   3009: # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
                   3010: # on    off   on    Busy active on J5-19, CD enabled
                   3011: #
                   3012: # sw4   Used in conjuction with S4 for comm interface control - Fact 0
                   3013: #
                   3014: # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
                   3015: #
                   3016: # sw6   ON enables printer BUSY active LOW - Factory Setting
                   3017: #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
                   3018: #
                   3019: # sw7   ON - steady cursor - Factory Setting
                   3020: #       OFF - blinking cursor
                   3021: #
                   3022: # sw8   ON causes selected attribute character to be displayed
                   3023: #       OFF causes SPACE to be displayed instead - Factory Setting
                   3024: #
                   3025: # S4 - Interface
                   3026: # --------------
                   3027: # Modem Interface
                   3028: # S3    S4    S4    S4    S4
                   3029: # sw4   sw1   sw2   sw3   sw4
                   3030: # ---------------------------
                   3031: # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
                   3032: #                               Current Loop disabled - Factory Setting
                   3033: # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
                   3034: #                               disabled
                   3035: # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
                   3036: #                               Current Loop Disabled
                   3037: #
                   3038: # sw5   ON disables dot stretching mode - Factory Setting
                   3039: #       OFF enables dot stretching mode
                   3040: # sw6   ON enables blanking function
                   3041: #       OFF enables underline function - Factory Setting
                   3042: # sw7   ON causes NULLS to be displayed as NULLS
                   3043: #       OFF causes NULLS to be displayed as SPACES - Factory Setting
                   3044: #
                   3045: # S5 - Word Structure
                   3046: # -------------------
                   3047: # sw1   ON enables BREAK key - Factory Setting
                   3048: #       OFF disables BREAK key
                   3049: # sw2   ON selects 50Hz monitor refresh rate
                   3050: #       OFF selects 60Hz monitor refresh rate - Factory Setting
                   3051: #
                   3052: # Modem Port Selection
                   3053: # sw3   sw4   sw5
                   3054: # ---------------
                   3055: # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
                   3056: # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
                   3057: # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
                   3058: # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
                   3059: # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
                   3060: # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
                   3061: # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
                   3062: # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
                   3063: #
                   3064: # sw6   ON  sends bit 8 a 1 (mark)
                   3065: #       OFF sends bit 8 as 0 (space) - Factory Setting
                   3066: # sw7   ON  selects Block Mode
                   3067: #       OFF selects Conversation Mode - Factory Setting
                   3068: # sw8   ON  selects Full Duplex operation
                   3069: #       OFF selects Half Duplex operation - Factory Setting
                   3070: #
                   3071: # S6 - Printer
                   3072: # ------------
                   3073: # sw1, sw2, sw6, sw7   Reserved - Factory 0
                   3074: #
                   3075: # Printer Port Selection
                   3076: # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
                   3077: #
                   3078: # sw8   ON   enables Printer Port
                   3079: #       OFF disables Printer Port - Factory Setting
                   3080: #
                   3081: # S7 - Polling Address
                   3082: # --------------------
                   3083: # sw1-7 Establish ASCII character which designates terminal polling address
                   3084: #       ON  = logic 0
                   3085: #       OFF = logic 1 - Factory Setting
                   3086: # sw8   ON   enables Polling Option
                   3087: #       OFF disables Polling Option - Factory Setting
                   3088: #
                   3089: #
1.8     ! tholo    3090: # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
1.2       deraadt  3091: #
1.5       tholo    3092: # This adm31 entry uses underline as the standout mode.
1.1       deraadt  3093: # If the adm31 gives you trouble with standout mode, check the DIP switch in
                   3094: # position 6, bank @c11, 25% from back end of the circuit board.  Should be
                   3095: # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
                   3096: # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
1.5       tholo    3097: adm31|lsi adm31 with sw6 set for underline mode:\
1.8     ! tholo    3098:        :am:bs:mi:\
1.1       deraadt  3099:        :co#80:li#24:\
1.5       tholo    3100:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   3101:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
                   3102:        :k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
                   3103:        :k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
                   3104:        :me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
1.2       deraadt  3105: adm31-old|o31|old adm31:\
1.1       deraadt  3106:        :so=\EG4:ue@:us@:tc=adm31:
1.8     ! tholo    3107: # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
        !          3108: adm36|LSI ADM36:\
        !          3109:        :bs:pt:\
        !          3110:        :kn#4:\
        !          3111:        :if=/usr/lib/tabset/vt100:\
        !          3112:        :is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:tc=vt100:
1.1       deraadt  3113: # (adm42: removed obsolete ":ma=^K^P:" -- esr)
                   3114: adm42|lsi adm42:\
1.8     ! tholo    3115:        :am:bs:\
1.1       deraadt  3116:        :co#80:li#24:\
1.5       tholo    3117:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
                   3118:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=:kd=^J:kh=^^:\
                   3119:        :kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
                   3120:        :up=^K:us@:vs=\EC\E3 \E3(:\
                   3121:        :tc=adm+sgr:
1.1       deraadt  3122: # The following termcap for the Lear Siegler ADM-42 leaves the
                   3123: # "system line" at the bottom of the screen blank (for those who
                   3124: # find it distracting otherwise)
1.2       deraadt  3125: adm42-ns|lsi adm-42 with no system line:\
1.1       deraadt  3126:        :al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
                   3127:        :ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
                   3128:        :dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
                   3129:        :im=\Eq\EF \011:tc=adm42:
1.5       tholo    3130: # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
                   3131: # The insert mode of this terminal is commented out because it's broken for our
                   3132: # purposes in that it will shift the position of every character on the page,
                   3133: # not just the cursor line!
                   3134: # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
                   3135: adm1178|1178|lsi adm1178:\
                   3136:        :am:\
                   3137:        :co#80:li#24:sg#1:ug#1:\
                   3138:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   3139:        :cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
                   3140:        :le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
                   3141:        :sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
1.1       deraadt  3142:
                   3143: #### Prime
                   3144: #
                   3145: # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
                   3146: # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
1.5       tholo    3147: #
1.1       deraadt  3148:
1.5       tholo    3149: # Standout mode is dim reverse-video.
1.1       deraadt  3150: pt100|pt200|wren|fenix|prime pt100/pt200:\
                   3151:        :am:bw:mi:ms:\
                   3152:        :co#80:it#8:li#24:\
                   3153:        :DC=\E[%dP:DL=\E[M:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1.5       tholo    3154:        :UP=\E[%dA:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:\
1.8     ! tholo    3155:        :cl=\E?:cm=\E0%+\%+\:cr=^M:dc=\E[P:do=\ED:ei=\E[4l:ho=\E$B:\
1.5       tholo    3156:        :im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:kr=\E[C:\
                   3157:        :ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:nw=^M^J:\
1.8     ! tholo    3158:        :se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
1.1       deraadt  3159:        :ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
1.2       deraadt  3160:        :ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
1.1       deraadt  3161: pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
                   3162:        :co#132:\
                   3163:        :cm=\E[%i%d;%dH:tc=pt100:
                   3164: pt250|Prime PT250:\
1.5       tholo    3165:        :se@:so@:tc=pt100:
1.1       deraadt  3166: pt250w|Prime PT250 in 132-column mode:\
1.5       tholo    3167:        :se@:so@:tc=pt100w:
1.1       deraadt  3168:
                   3169: #### Qume (qvt)
                   3170: #
                   3171: #      Qume, Inc.
                   3172: #      3475-A North 1st Street
                   3173: #      San Jose CA 95134
                   3174: #      Vox: (800)-457-4447
                   3175: #      Fax: (408)-473-1510
                   3176: #      Net: josed@techsupp.wyse.com (Jose D'Oliveira)
                   3177: #
                   3178: # Qume was bought by Wyse, but still (as of early 1995) has its own support
                   3179: # group and production division.
                   3180: #
                   3181: # Discontinued Qume models:
                   3182: #
                   3183: # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
                   3184: # built to replace them, and a qvt119+ which was a 101+ with available wide
                   3185: # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
                   3186: # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
                   3187: # ANSI-compatible terminals with the qvt323 and qvt61.
                   3188: #
                   3189: # Current Qume models (as of February 1995):
                   3190: #
                   3191: # All current Qume terminals have ANSI-compatible operation modes.
                   3192: # Qume is still producing the qvt62, which features emulations for other
                   3193: # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
                   3194: # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
1.3       deraadt  3195: # with many emulations including Wyse370, Wyse 325, etc.  Their newest
1.1       deraadt  3196: # model is the qvt520, which is vt420-compatible.
                   3197: #
                   3198: # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
                   3199:
                   3200: qvt101|qvt108|qume qvt 101 and QVT 108:\
1.5       tholo    3201:        :sg#1:tc=qvt101+:
1.3       deraadt  3202:
1.5       tholo    3203: # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
                   3204: # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
                   3205: # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
1.3       deraadt  3206: # What seems to be going on here is that this entry was designed so that
                   3207: # the normal highlight is bold and standout is dim plus something else
1.5       tholo    3208: # (reverse-video maybe?  But then, are there two :mr: sequences?)
1.1       deraadt  3209: qvt101+|qvt101p|qume qvt 101 PLUS product:\
                   3210:        :am:bw:hs:ul:\
                   3211:        :co#80:li#24:sg#0:\
1.5       tholo    3212:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   3213:        :ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
                   3214:        :ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   3215:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
                   3216:        :kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
                   3217:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
                   3218:        :so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
                   3219:        :tc=adm+sgr:
1.2       deraadt  3220: qvt102|qume qvt 102:\
1.1       deraadt  3221:        :ve=\E.:tc=qvt101:
1.2       deraadt  3222: # (qvt103: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  3223: qvt103|qume qvt 103:\
                   3224:        :am:xn:xo:\
                   3225:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  3226:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   3227:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   3228:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
1.5       tholo    3229:        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
                   3230:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   3231:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   3232:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  3233:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    3234:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
                   3235:        :up=\E[A:us=\E[4m:
1.1       deraadt  3236: qvt103-w|qume qvt103 132 cols:\
1.3       deraadt  3237:        :co#132:li#24:\
                   3238:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
1.1       deraadt  3239: qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
                   3240:        :am:hs:mi:ms:\
                   3241:        :co#80:li#24:sg#0:\
1.5       tholo    3242:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
                   3243:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
                   3244:        :ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
                   3245:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   3246:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
                   3247:        :ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
                   3248:        :ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
                   3249:        :tc=adm+sgr:
1.1       deraadt  3250: qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
1.3       deraadt  3251:        :li#25:tc=qvt119+:
1.1       deraadt  3252: qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
                   3253:        :co#132:\
                   3254:        :is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
                   3255: qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
1.3       deraadt  3256:        :li#25:tc=qvt119+:
1.1       deraadt  3257: qvt203|qvt203+|qume qvt 203 Plus:\
1.5       tholo    3258:        :al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:ip=:k0=\E[29~:\
                   3259:        :k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
                   3260:        :k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:sf=\n:\
                   3261:        :tc=qvt103:
1.1       deraadt  3262: qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
1.3       deraadt  3263:        :co#132:li#24:\
                   3264:        :r2=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
1.1       deraadt  3265: #
                   3266: #      Since a command is present for enabling 25 data lines,
                   3267: #      a specific terminfo entry may be generated for the 203.
                   3268: #      If one is desired for the QVT 119 PLUS then 25 lines must
                   3269: #      be selected in the status line (setup line 9).
                   3270: #
                   3271: qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
                   3272:        :co#80:li#25:\
                   3273:        :is=\E[=40h\E[?3l:tc=qvt203:
                   3274: qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
1.3       deraadt  3275:        :co#132:li#25:\
                   3276:        :r2=\E[?3h\E[=40h:tc=qvt203:
1.1       deraadt  3277:
                   3278: #### Televideo (tvi)
                   3279: #
                   3280: #      TeleVideo
                   3281: #      550 East Brokaw Road
                   3282: #      PO Box 49048    95161
                   3283: #      San Jose CA 95112
                   3284: #      Vox: (408)-954-8333
                   3285: #      Fax: (408)-954-0623
                   3286: #
                   3287: #
                   3288: # There are some tvi terminals that require incredible amounts of padding and
1.8     ! tholo    3289: # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
        !          3290: # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
1.1       deraadt  3291: #
                   3292: # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
                   3293: # Televideo terminals are ANSI and PC-ANSI compatible.
                   3294:
                   3295: tvi803|televideo 803:\
                   3296:        :cl=\E*:tc=tvi950:
                   3297:
                   3298: # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
1.2       deraadt  3299: # Switch settings are:
                   3300: #
                   3301: # S1  1 2 3 4
                   3302: #     D D D D  9600
                   3303: #     D D D U    50
                   3304: #     D D U D    75
                   3305: #     D D U U   110
                   3306: #     D U D D   135
                   3307: #     D U D U   150
                   3308: #     D U U D   300
                   3309: #     D U U U   600
                   3310: #     U D D D  1200
                   3311: #     U D D U  1800
                   3312: #     U D U D  2400
                   3313: #     U D U U  3600
                   3314: #     U U D D  4800
                   3315: #     U U D U  7200
                   3316: #     U U U D  9600
                   3317: #     U U U U 19200
                   3318: #
                   3319: # S1  5 6 7 8
                   3320: #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
                   3321: #     U D X U  7N2
                   3322: #     U U D D  7O1
                   3323: #     U U D U  7O2
                   3324: #     U U U D  7E1
                   3325: #     U U U U  7E2
                   3326: #     D D X D  8N1
                   3327: #     D D X U  8N2
                   3328: #     D U D D  8O1
                   3329: #     D U U U  8E2
                   3330: #
                   3331: # S1  9  Autowrap
                   3332: #     U  on
                   3333: #     D  off
                   3334: #
                   3335: # S1 10  CR/LF
                   3336: #     U  do CR/LF when CR received
                   3337: #     D  do CR when CR received
                   3338: #
                   3339: # S2  1  Mode
                   3340: #     U  block
                   3341: #     D  conversational
                   3342: #
                   3343: # S2  2  Duplex
                   3344: #     U  half
                   3345: #     D  full
                   3346: #
                   3347: # S2  3  Hertz
                   3348: #     U  50
                   3349: #     D  60
                   3350: #
                   3351: # S2  4  Edit mode
                   3352: #     U  local
                   3353: #     D  duplex
                   3354: #
                   3355: # S2  5  Cursor type
                   3356: #     U  underline
                   3357: #     D  block
                   3358: #
                   3359: # S2  6  Cursor down key
                   3360: #     U  send ^J
                   3361: #     D  send ^V
                   3362: #
                   3363: # S2  7  Screen colour
                   3364: #     U  green on black
                   3365: #     D  black on green
                   3366: #
                   3367: # S2  8  DSR status (pin 6)
                   3368: #     U  disconnected
                   3369: #     D  connected
                   3370: #
                   3371: # S2  9  DCD status (pin 8)
                   3372: #     U  disconnected
                   3373: #     D  duplex
                   3374: #
                   3375: # S2 10  DTR status (pin 20)
                   3376: #     U  disconnected
                   3377: #     D  duplex
1.5       tholo    3378: # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
                   3379: # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
1.1       deraadt  3380: tvi910|televideo model 910:\
1.8     ! tholo    3381:        :am:bs:ms:\
1.5       tholo    3382:        :co#80:it#8:li#24:sg#1:\
                   3383:        :bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
                   3384:        :cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
                   3385:        :if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
                   3386:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
                   3387:        :k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
                   3388:        :sf=^J:ta=^I:up=^K:\
                   3389:        :tc=adm+sgr:
1.1       deraadt  3390: # From: Alan R. Rogers <rogers%albany@csnet-relay>
                   3391: # as subsequently hacked over by someone at SCO
1.2       deraadt  3392: # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
                   3393: #
                   3394: # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
                   3395: #
                   3396: # S1  1 2 3 4:
                   3397: #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
                   3398: #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
                   3399: #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
                   3400: #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
                   3401: #
                   3402: # S1  5 6 7 8:
                   3403: #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
                   3404: #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
                   3405: #     D U D D  8O1     D U U U  8E2
                   3406: #
                   3407: # S1  9  Autowrap            (U = on, D = off)
                   3408: # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
                   3409: # S2  1  Mode                (U = block, D = conversational)
                   3410: # S2  2  Duplex              (U =  half, D = full)
                   3411: # S2  3  Hertz               (U = 50, D = 60)
                   3412: # S2  4  Edit mode           (U = local, D = duplex)
                   3413: # S2  5  Cursor type         (U = underline, D = block)
                   3414: # S2  6  Cursor down key     (U = send ^J, D = send ^V)
                   3415: # S2  7  Screen colour       (U = green on black, D = black on green)
                   3416: # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
                   3417: # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
                   3418: # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
                   3419: #
1.8     ! tholo    3420: tvi910+|televideo 910+:\
1.5       tholo    3421:        :al=\EE:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:k1=^AA\r:\
                   3422:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3423:        :k8=^AH\r:k9=^AI\r:ll=\E=7 :\
                   3424:        :tc=tvi910:
1.2       deraadt  3425:
1.8     ! tholo    3426: # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
        !          3427: # :kh: from BRL entry -- esr)
1.2       deraadt  3428: tvi912|tvi914|tvi920|old televideo 912/914/920:\
1.8     ! tholo    3429:        :am:bs:ms:pt:\
1.2       deraadt  3430:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    3431:        :al=\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   3432:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:\
1.1       deraadt  3433:        :if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
1.5       tholo    3434:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
1.8     ! tholo    3435:        :k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
        !          3436:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
        !          3437:        :vb=\Eb\Ed:
1.1       deraadt  3438: # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
                   3439: # The 920 has this plus real function keys that xmit different things.
                   3440: # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
1.8     ! tholo    3441: tvi912c|tvi912b|new televideo 912:\
1.1       deraadt  3442:        :al=\EE:dl=\ER:tc=tvi912:
1.2       deraadt  3443: # set to page 1 when entering curses application (\E-17 )
                   3444: # reset to page 0 when exiting curses application (\E-07 )
1.8     ! tholo    3445: tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages:\
        !          3446:        :te=\E-07 :ti=\E-17 :tc=tvi912:
1.1       deraadt  3447: # We got some new tvi912c terminals that act really weird on the regular
                   3448: # termcap, so one of our gurus worked this up. Seems that cursor
                   3449: # addressing is broken.
                   3450: tvi912cc|tvi912 at cowell college:\
                   3451:        :cm@:tc=tvi912c:
                   3452:
1.8     ! tholo    3453: # Here are the switch settings for the tvi920c:
1.2       deraadt  3454: #
                   3455: # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
                   3456: # 2: 9600      3: 4800         4: 2400         5: 1200
                   3457: # 6:  600      7:  300         8:  150         9:   75
                   3458: # 10: 110
                   3459: #
                   3460: # S2 UART/Terminal options:
                   3461: #              Up                      Down
                   3462: # 1:           Not used                Not allowed
                   3463: # 2:   Alternate character set   Standard character set
                   3464: # 3:       Full duplex             Half duplex
                   3465: # 4:       50 Hz refresh           60 Hz refresh
                   3466: # 5:         No parity              Send parity
                   3467: # 6:        2 stop bits             1 stop bit
                   3468: # 7:        8 data bits             7 data bits
                   3469: # 8:           Not used                Not allowed on Rev E or lower
                   3470: # 9:        Even parity             Odd parity
                   3471: # 10:      Steady cursor           Blinking cursor
                   3472: #      (On Rev E or lower, use W25 instead of switch 10.)
                   3473: #
                   3474: # S5 UART/Terminal options:
                   3475: #              Open                    Closed
                   3476: # 1:   P3-6 Not connected      DSR received on P3-6
                   3477: # 2:   P3-8 Not connected      DCD received on P3-8
                   3478: #
                   3479: # 3 Open, 4 Open:              P3-20 Not connected
                   3480: # 3 Open, 4 Closed:    DTR on when terminal is on
                   3481: # 3 Closed, 4 Open:    DTR is connected to RTS
                   3482: # 3 Closed, 4 Closed:  Not allowed
                   3483: #
                   3484: # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
                   3485: #              all data transmitted out of the modem port (P3) will also be
                   3486: #              transmitted out of the printer port (P4).
                   3487: #
                   3488: # 6 Open, 7 Open:              Not allowed
                   3489: # 6 Open, 7 Closed:    20ma current loop input
                   3490: # 6 Closed, 7 Open:    RS232 input
                   3491: # 6 Closed, 7 Closed:  Not allowed
                   3492: #
                   3493: # Jumper options:
                   3494: # If the jumper is installed, the effect will occur (the next time the terminal
                   3495: # is switched on).
                   3496: #
                   3497: # S4/W31:      Enables automatic LF upon receipt of CR from
                   3498: #              remote or keyboard.
                   3499: # S4/W32:      Enables transmission of EOT at the end of Send.  If not
                   3500: #              installed, a carriage return is sent.
                   3501: # S4/W33:      Disables automatic carriage return in column 80.
                   3502: # S4/W34:      Selects Page Print Mode as initial condition.  If not
                   3503: #              installed, Extension Mode is selected.
                   3504: #
1.1       deraadt  3505: tvi920b|tvi920c|new televideo 920:\
                   3506:        :al=\EE:dl=\ER:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
1.5       tholo    3507:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3508:        :tc=tvi912:
1.1       deraadt  3509:
1.2       deraadt  3510: # Televideo 921 and variants
                   3511: # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
1.5       tholo    3512: # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
                   3513: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3514: tvi921|televideo model 921 with sysline same as page & real vi function:\
1.8     ! tholo    3515:        :am:bs:hs:pt:xn:xs:\
1.2       deraadt  3516:        :co#80:li#24:sg#0:\
1.5       tholo    3517:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3518:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3519:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3520:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3521:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3522:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
                   3523:        :vs=\E.2:\
                   3524:        :tc=adm+sgr:
1.2       deraadt  3525: # without the beeper
1.5       tholo    3526: # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
                   3527: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  3528: tvi92B|televideo model 921 with sysline same as page & real vi function:\
                   3529:        :am:hs:xn:xs:\
                   3530:        :co#80:li#24:sg#0:\
1.5       tholo    3531:        :ac=:ae=\E%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:cm=3\E=%+ %+ :\
                   3532:        :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:fs=\Eg:ho=^^:\
                   3533:        :ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
                   3534:        :is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
                   3535:        :kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
                   3536:        :mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
                   3537:        :ve=\E.3:vs=\E.2:\
                   3538:        :tc=adm+sgr:
1.2       deraadt  3539: # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
                   3540: tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
1.5       tholo    3541:        :al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
                   3542:        :kL=2*\ER:\
                   3543:        :tc=tvi92B:
1.2       deraadt  3544:
1.5       tholo    3545: # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
1.3       deraadt  3546: # in from a BSD termcap file because it looks like they do something the
                   3547: # old ones skip -- esr)
1.1       deraadt  3548: tvi924|televideo tvi924:\
                   3549:        :am:bw:hs:in:mi:ms:xn:xo:\
                   3550:        :co#80:it#8:li#24:sg#0:ws#80:\
1.5       tholo    3551:        :F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
                   3552:        :bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
                   3553:        :cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
                   3554:        :ei=:fs=\031\Es1:ho=^^:\
1.1       deraadt  3555:        :i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
                   3556:        :if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
1.5       tholo    3557:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   3558:        :k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
                   3559:        :kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
                   3560:        :l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
                   3561:        :la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=^J:\
                   3562:        :sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
                   3563:        :vs=\E.1:\
                   3564:        :tc=adm+sgr:
1.2       deraadt  3565:
                   3566: # TVI925 DIP switches.  In each of these, D = Down and U = Up,
                   3567: #
                   3568: # Here are the settings for the external (baud) switches (S1):
                   3569: #
                   3570: #             Position         Baud
                   3571: # 7    8       9       10              [Printer]
                   3572: # 1    2       3       4               [Main RS232]
                   3573: # -----------------------------------------------------
                   3574: # D    D       D       D       9600
                   3575: # D    D       D       U         50
                   3576: # D    D       U       D         75
                   3577: # D    D       U       U        110
                   3578: # D    U       D       D        135
                   3579: # D    U       D       U        150
                   3580: # D    U       U       D        300
                   3581: # D    U       U       U        600
                   3582: # U    D       D       D       1200
                   3583: # U    D       D       U       1800
                   3584: # U    D       U       D       2400
                   3585: # U    D       U       U       3600
                   3586: # U    U       D       D       4800
                   3587: # U    U       D       U       7200
                   3588: # U    U       U       D       9600
                   3589: # U    U       U       U       19200
                   3590: #
                   3591: #
                   3592: # Settings for word length and stop-bits (S1)
                   3593: #
                   3594: #  Position    Description
                   3595: # 5    6
                   3596: # ---------------------------
                   3597: # U    -       7-bit word
                   3598: # D    -       8-bit word
                   3599: # -    U       2 stop bits
                   3600: # -    D       1 stop bit
                   3601: #
                   3602: #
                   3603: # S2 (external) settings
                   3604: #
                   3605: # Position     Up      Dn      Description
                   3606: # --------------------------------------------
                   3607: # 1            X               Local edit
                   3608: #                      X       Duplex edit (transmit editing keys)
                   3609: # --------------------------------------------
                   3610: # 2            X               912/920 emulation
                   3611: #                      X       925
                   3612: # --------------------------------------------
                   3613: # 3                    X
                   3614: # 4                    X       No parity
                   3615: # 5                    X
                   3616: # --------------------------------------------
                   3617: # 3                    X
                   3618: # 4                    X       Odd parity
                   3619: # 5            X
                   3620: # --------------------------------------------
                   3621: # 3                    X
                   3622: # 4            X               Even parity
                   3623: # 5            X
                   3624: # --------------------------------------------
                   3625: # 3            X
                   3626: # 4                    X       Mark parity
                   3627: # 5            X
                   3628: # --------------------------------------------
                   3629: # 3            X
                   3630: # 4            X               Space parity
                   3631: # 5            X
                   3632: # --------------------------------------------
                   3633: # 6            X               White on black display
                   3634: #                      X       Black on white display
                   3635: # --------------------------------------------
                   3636: # 7                    X       Half Duplex
                   3637: # 8                    X
                   3638: # --------------------------------------------
                   3639: # 7            X               Full Duplex
                   3640: # 8                    X
                   3641: # --------------------------------------------
                   3642: # 7                    X       Block mode
                   3643: # 8            X
                   3644: # --------------------------------------------
                   3645: # 9                    X       50 Hz
                   3646: #              X               60 Hz
                   3647: # --------------------------------------------
                   3648: # 10           X               CR/LF (Auto LF)
                   3649: #                      X       CR only
                   3650: #
                   3651: # S3 (internal switch) settings:
                   3652: #
                   3653: # Position     Up      Dn      Description
                   3654: # --------------------------------------------
                   3655: # 1            X               Keyclick off
                   3656: #                      X       Keyclick on
                   3657: # --------------------------------------------
                   3658: # 2                    X       English
                   3659: # 3                    X
                   3660: # --------------------------------------------
                   3661: # 2                    X       German
                   3662: # 3            X
                   3663: # --------------------------------------------
                   3664: # 2            X               French
                   3665: # 3                    X
                   3666: # --------------------------------------------
                   3667: # 2            X               Spanish
                   3668: # 3            X
                   3669: # --------------------------------------------
                   3670: # 4                    X       Blinking block cursor
                   3671: # 5                    X
                   3672: # --------------------------------------------
                   3673: # 4                    X       Blinking underline cursor
                   3674: # 5            X
                   3675: # --------------------------------------------
                   3676: # 4            X               Steady block cursor
                   3677: # 5                    X
                   3678: # --------------------------------------------
                   3679: # 4            X               Steady underline cursor
                   3680: # 5            X
                   3681: # --------------------------------------------
                   3682: # 6            X               Screen blanking timer (ON)
                   3683: #                      X       Screen blanking timer (OFF)
                   3684: # --------------------------------------------
                   3685: # 7            X               Page attributes
                   3686: #                      X       Line attributes
                   3687: # --------------------------------------------
                   3688: # 8            X               DCD disconnected
                   3689: #                      X       DCD connected
                   3690: # --------------------------------------------
                   3691: # 9            X               DSR disconnected
                   3692: #                      X       DSR connected
                   3693: # --------------------------------------------
                   3694: # 10           X               DTR Disconnected
                   3695: #                      X       DTR connected
                   3696: # --------------------------------------------
1.3       deraadt  3697: #
1.5       tholo    3698: # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
1.8     ! tholo    3699: tvi925|televideo 925:\
        !          3700:        :am:bs:bw:hs:ul:\
1.5       tholo    3701:        :co#80:li#24:sg#1:\
                   3702:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
                   3703:        :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
                   3704:        :im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   3705:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   3706:        :kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
                   3707:        :kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
                   3708:        :ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
                   3709:        :tc=adm+sgr:
1.8     ! tholo    3710: # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
        !          3711: # to avoid "magic cookie" standout glitch:
        !          3712: tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
        !          3713:        :sg@:\
        !          3714:        :kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
1.1       deraadt  3715:
                   3716: # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
                   3717: # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
                   3718: # for additional capabilities,
                   3719: # The following tvi descriptions from B:pjphar and virus!mike
                   3720: # is for all 950s.  It sets the following attributes:
                   3721: # full duplex (\EDF)           write protect off (\E()
                   3722: # conversation mode (\EC)      graphics mode off (\E%)
                   3723: # white on black (\Ed)         auto page flip off (\Ew)
                   3724: # turn off status line (\Eg)   clear status line (\Ef\r)
                   3725: # normal video (\E0)           monitor mode off (\EX or \Eu)
                   3726: # edit mode (\Er)              load blank char to space (\Ee\040)
                   3727: # line edit mode (\EO)         enable buffer control (^O)
                   3728: # protect mode off (\E\047)    duplex edit keys (\El)
                   3729: # program unshifted send key to send line all (\E016)
                   3730: # program shifted send key to send line unprotected (\E004)
                   3731: # set the following to nulls:
                   3732: #      field delimiter (\Ex0\200\200)
                   3733: #      line delimiter (\Ex1\200\200)
                   3734: #      start-protected field delimiter (\Ex2\200\200)
                   3735: #      end-protected field delimiter (\Ex3\200\200)
                   3736: # set end of text delimiter to carriage return/null (\Ex4\r\200)
1.2       deraadt  3737: #
                   3738: #                     TVI 950 Switch Setting Reference Charts
                   3739: #
                   3740: #                                     TABLE 1:
                   3741: #
                   3742: #      S1     1     2     3     4     5     6     7     8     9    10
                   3743: #          +-----------------------+-----+-----+-----------------------+
                   3744: #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
                   3745: #          |                       |Bits |Bits |                       |
                   3746: #   +------+-----------------------+-----+-----+-----------------------+
                   3747: #   |  Up  |        See            |  7  |  2  |        See            |
                   3748: #   +------+-----------------------+-----+-----+-----------------------+
                   3749: #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
                   3750: #   +------+-----------------------+-----+-----+-----------------------+
                   3751: #
                   3752: #
                   3753: #      S2     1     2     3     4     5     6     7     8     9    10
                   3754: #          +-----+-----+-----------------+-----+-----------+-----+-----+
                   3755: #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
                   3756: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3757: #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
                   3758: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3759: #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
                   3760: #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
                   3761: #
                   3762: #                                    TABLE 2:
                   3763: #
                   3764: #             +-----------+-----+-----+-----+-----+-----------+
                   3765: #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
                   3766: #             +-----------+-----+-----+-----+-----+           |
                   3767: #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
                   3768: #             +-----------+-----+-----+-----+-----+-----------+
                   3769: #                         |  D  |  D  |  D  |  D  |   9600    |
                   3770: #                         |  U  |  D  |  D  |  D  |     50    |
                   3771: #                         |  D  |  U  |  D  |  D  |     75    |
                   3772: #                         |  U  |  U  |  D  |  D  |    110    |
                   3773: #                         |  D  |  D  |  U  |  D  |    135    |
                   3774: #                         |  U  |  D  |  U  |  D  |    150    |
                   3775: #                         |  D  |  U  |  U  |  D  |    300    |
                   3776: #                         |  U  |  U  |  U  |  D  |    600    |
                   3777: #                         |  D  |  D  |  D  |  U  |   1200    |
                   3778: #                         |  U  |  D  |  D  |  U  |   1800    |
                   3779: #                         |  D  |  U  |  D  |  U  |   2400    |
                   3780: #                         |  U  |  U  |  D  |  U  |   3600    |
                   3781: #                         |  D  |  D  |  U  |  U  |   4800    |
                   3782: #                         |  U  |  D  |  U  |  U  |   7200    |
                   3783: #                         |  D  |  U  |  U  |  U  |   9600    |
                   3784: #                         |  U  |  U  |  U  |  U  |  19200    |
                   3785: #                         +-----+-----+-----+-----+-----------+
                   3786: #
                   3787: #                                    TABLE 3:
                   3788: #                         +-----+-----+-----+-----------+
                   3789: #                         |  3  |  4  |  5  |   Parity  |
                   3790: #                         +-----+-----+-----+-----------+
                   3791: #                         |  X  |  X  |  D  |    None   |
                   3792: #                         |  D  |  D  |  U  |     Odd   |
                   3793: #                         |  D  |  U  |  U  |    Even   |
                   3794: #                         |  U  |  D  |  U  |    Mark   |
                   3795: #                         |  U  |  U  |  U  |   Space   |
                   3796: #                         +-----+-----+-----+-----------+
                   3797: #                                 X = don't care
                   3798: #
                   3799: #                                     CHART:
                   3800: #                         +-----+-----+-----------------+
                   3801: #                         |  7  |  8  | Communication   |
                   3802: #                         +-----+-----+-----------------+
                   3803: #                         |  D  |  D  |  Half Duplex    |
                   3804: #                         |  D  |  U  |  Full Duplex    |
                   3805: #                         |  U  |  D  |     Block       |
                   3806: #                         |  U  |  U  |     Local       |
                   3807: #                         +-----+-----+-----------------+
                   3808: #
                   3809: # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
1.5       tholo    3810: # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
1.3       deraadt  3811: # should be present and all tvi native modes use the same string for this.
                   3812: # Finally, note that BSD has cud1=^V. -- esr)
1.8     ! tholo    3813: tvi950|televideo 950:\
        !          3814:        :am:bs:hs:mi:ms:xn:xo:\
1.5       tholo    3815:        :co#80:it#8:li#24:sg#1:\
                   3816:        :ac=d\rc\014e\nb\011i\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
                   3817:        :cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
                   3818:        :dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
1.1       deraadt  3819:        :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    3820:        :k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
                   3821:        :k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
                   3822:        :kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
                   3823:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
                   3824:        :st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   3825:        :tc=adm+sgr:
1.1       deraadt  3826: #
                   3827: # is for 950 with two pages adds the following:
                   3828: #      set 48 line page (\E\\2)
                   3829: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3830: #      set local (no send) edit keys (\Ek)
                   3831: #
                   3832: # two page 950 adds the following:
                   3833: #      when entering ex, set 24 line page (\E\\1)
                   3834: #      when exiting ex, reset 48 line page (\E\\2)
                   3835: #                       place cursor at 0,24,1 (\E-07 )
                   3836: #      set duplex (send) edit keys (\El) when entering vi
                   3837: #      set local (no send) edit keys (\Ek) when exiting vi
                   3838: #
1.8     ! tholo    3839: tvi950-2p|televideo950 w/2 pages:\
        !          3840:        :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:\
        !          3841:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :\
1.5       tholo    3842:        :tc=tvi950:
1.1       deraadt  3843: #
                   3844: # is for 950 with four pages adds the following:
                   3845: #      set 96 line page (\E\\3)
                   3846: #      place cursor at page 0, line 24, column 1 (\E-07 )
                   3847: #
                   3848: # four page 950 adds the following:
                   3849: #      when entering ex, set 24 line page (\E\\1)
                   3850: #      when exiting ex, reset 96 line page (\E\\3)
                   3851: #                       place cursor at 0,24,1 (\E-07 )
                   3852: #
1.8     ! tholo    3853: tvi950-4p|televideo950 w/4 pages:\
        !          3854:        :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:\
        !          3855:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :\
1.5       tholo    3856:        :tc=tvi950:
1.1       deraadt  3857: #
1.5       tholo    3858: # :is: for reverse video 950 changes the following:
1.1       deraadt  3859: #      set reverse video (\Ed)
                   3860: #
1.2       deraadt  3861: # set vb accordingly (\Ed ...delay... \Eb)
1.1       deraadt  3862: #
1.8     ! tholo    3863: tvi950-rv|televideo950 rev video:\
1.1       deraadt  3864:        :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    3865:        :vb=\Ed\Eb:\
                   3866:        :tc=tvi950:
1.2       deraadt  3867:
                   3868: # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
1.8     ! tholo    3869: tvi950-rv-2p|televideo950 rev video w/2 pages:\
        !          3870:        :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 :\
        !          3871:        :ke=\Ek:ks=\El:te=\E\2\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
1.5       tholo    3872:        :tc=tvi950:
1.2       deraadt  3873:
                   3874: # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
1.8     ! tholo    3875: tvi950-rv-4p|televideo950 rev video w/4 pages:\
        !          3876:        :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 :\
        !          3877:        :ke=\Ek:ks=\El:te=\E\3\E-07 :ti=\E\1\E-07 :vb=\Ed\Eb:\
1.5       tholo    3878:        :tc=tvi950:
1.1       deraadt  3879: # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
1.2       deraadt  3880: # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
                   3881: # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
1.5       tholo    3882: # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
1.2       deraadt  3883: # the :ko: string had :cl: in it, which means that one of the original
1.5       tholo    3884: # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
1.2       deraadt  3885: # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
                   3886: # ko implies -- esr)
1.5       tholo    3887: # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
1.3       deraadt  3888: # also work.
1.2       deraadt  3889: tvi955|televideo 955:\
1.8     ! tholo    3890:        :5i:bs:ms@:\
1.2       deraadt  3891:        :it#8:sg@:\
1.3       deraadt  3892:        :RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
                   3893:        :ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
1.5       tholo    3894:        :cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
                   3895:        :kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
                   3896:        :me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
1.3       deraadt  3897:        :r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r:\
1.5       tholo    3898:        :sf@:ve=\E.2:vi=\E.0:vs=\E.1:\
                   3899:        :tc=tvi950:
1.1       deraadt  3900: tvi955-w|955-w|televideo955 w/132 cols:\
                   3901:        :co#132:\
1.2       deraadt  3902:        :is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
1.5       tholo    3903: # use half-intensity as normal mode, full intensity as :md:
1.1       deraadt  3904: tvi955-hb|955-hb|televideo955 half-bright:\
                   3905:        :is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
                   3906:        :me=\EG0\E[=5h:mh@:tc=tvi955:
                   3907: # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
1.5       tholo    3908: # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
1.8     ! tholo    3909: # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
        !          3910: # According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
        !          3911: # it does to the function keys.  I deduced <rmam>/<smam>.
        !          3912: # also added empty <acsc> to suppress tic warning,  -- esr)
1.2       deraadt  3913: tvi970|televideo 970:\
1.8     ! tholo    3914:        :am:bs:da:db:mi:ms:pt:\
1.1       deraadt  3915:        :co#80:it#8:li#24:\
1.8     ! tholo    3916:        :RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
        !          3917:        :cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
        !          3918:        :cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
        !          3919:        :ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.5       tholo    3920:        :is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
                   3921:        :k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
                   3922:        :k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
1.8     ! tholo    3923:        :le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
        !          3924:        :ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
        !          3925:        :vb=\E[5m\E[m:vs=\E[1Q:
        !          3926: tvi970-vb|televideo 970 with visual bell:\
        !          3927:        :vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:tc=tvi970:
        !          3928: tvi970-2p|televideo 970 with using 2 pages of memory:\
        !          3929:        :te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:\
        !          3930:        :tc=tvi970:
1.1       deraadt  3931: # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
                   3932: # per line (rather than 40), Esc K chooses the normal character set.  Not sure
1.5       tholo    3933: # padding is needed, but adapted from the tvi920c termcap.  The :so: and
                   3934: # :us: strings are klutzy, but at least use no screen space.
1.8     ! tholo    3935: # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
        !          3936: # its absence means <smam>=\Ev isn't save to use. -- esr)
1.2       deraadt  3937: # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
1.8     ! tholo    3938: # The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
        !          3939: # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
1.2       deraadt  3940: tvipt|televideo personal terminal:\
1.8     ! tholo    3941:        :am:bs:\
1.1       deraadt  3942:        :co#80:li#24:\
1.8     ! tholo    3943:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=\ER:\
        !          3944:        :ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
        !          3945:        :k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
        !          3946:        :po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
        !          3947: # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
        !          3948: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          3949: # (sgr removed to fit entry within 1023 bytes)
        !          3950: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
        !          3951: tvi9065|televideo 9065:\
        !          3952:        :am:bw:hs:mi:ms:xn:xo:\
        !          3953:        :co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
        !          3954:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          3955:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E%:\
        !          3956:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
        !          3957:        :cm=\E=%+ %+ :cr=^M:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:\
        !          3958:        :dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\200:ei=\Er:fs=^M:\
        !          3959:        :ho=^^:\
        !          3960:        :i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
        !          3961:        :i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
        !          3962:        :ip=:is=\EF2\EG0\E\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          3963:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kb=^H:\
        !          3964:        :kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E[25;1H:mb=\EG2:\
        !          3965:        :md=\EG\054:me=\EG0:mh=\EGp:mr=\EG4:nd=^L:nw=^M^J:\
        !          3966:        :rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:st=\E1:ta=^I:\
        !          3967:        :te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:ts=\E[4;1v\E_30:\
        !          3968:        :uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:vb=\Eb\Ed:ve=\E.3:\
        !          3969:        :vi=\E.0:vs=\E.2:
1.1       deraadt  3970:
                   3971: #### Visual (vi)
                   3972: #
1.5       tholo    3973: # In September 1993, Visual Technology of Westboro, Massachusetts,
                   3974: # merged with White Pine Software of Nashua, New Hampshire.
                   3975: #
                   3976: # White Pine Software may be contacted at +1 603/886-9050.
                   3977: # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
                   3978: #
1.1       deraadt  3979:
1.8     ! tholo    3980: # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
        !          3981: # Recently I hacked together the following termcap for Visual
        !          3982: # Technology's Visual 50 terminal. It's a slight modification of
        !          3983: # the vt52 termcap.
        !          3984: # It's intended to run when the Visual 50 is in vt52 emulation mode
        !          3985: # (I know what you're thinking; if it's emulating a vt52, then why
        !          3986: # another termcap? Well, it turns out that the Visual 50 can handle
        !          3987: # :dl: and db(?) among other things, which the vt52 can't)
        !          3988: # The termcap works OK for the most part. The only problem is on
        !          3989: # character inserts. The whole line gets painfully redrawn for each
        !          3990: # character typed. Any suggestions?
        !          3991: # Beau's entry is combined with the vi50 entry from University of Wisconsin.
        !          3992: # Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
        !          3993: # disguise; :k7:-:k9: are really l1-l3.
1.1       deraadt  3994: vi50|visual 50:\
1.8     ! tholo    3995:        :am:bs:da:db:ms:pt:\
1.2       deraadt  3996:        :co#80:it#8:li#24:\
1.8     ! tholo    3997:        :al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
        !          3998:        :cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
        !          3999:        :k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
        !          4000:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
        !          4001:        :nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
        !          4002:        :us=\ES:
1.2       deraadt  4003: # this one was BSD & SCO's vi50
                   4004: vi50adm|visual 50 in adm3a mode:\
                   4005:        :am:ms:\
                   4006:        :co#80:it#8:li#24:\
1.5       tholo    4007:        :al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
                   4008:        :do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
                   4009:        :nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
1.1       deraadt  4010: # From: Jeff Siegal <jbs@athena.mit.edu>
                   4011: vi55|Visual 55:\
1.8     ! tholo    4012:        :am:bs:mi:ms:\
1.1       deraadt  4013:        :co#80:it#8:li#24:\
1.5       tholo    4014:        :al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
                   4015:        :dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
                   4016:        :is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   4017:        :ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  4018:
1.8     ! tholo    4019: # Visual 200 from BRL
        !          4020: # The following switch settings are assumed for normal operation:
        !          4021: #      FULL_DUPLEX             SCROLL                  CR
        !          4022: #      AUTO_NEW_LINE_ON        VISUAL_200_EMULATION_MODE
        !          4023: # Other switches may be set for operator convenience or communication
        !          4024: # requirements.
        !          4025: # Character insertion is kludged in order to get around the "beep" misfeature.
        !          4026: # (This cap is commented out because :im:/:ei: is more efficient -- esr)
        !          4027: # Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
        !          4028: # and :dl: strings, but we seem to get along fine without them.
        !          4029: vi200|visual 200:\
        !          4030:        :am:bs:mi:ms:pt:\
        !          4031:        :co#80:it#8:kn#10:li#24:\
        !          4032:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
        !          4033:        :cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
        !          4034:        :k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
        !          4035:        :k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
        !          4036:        :kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
        !          4037:        :kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
        !          4038:        :mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
        !          4039:        :r1=\E3\Eb\Ej\E\\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
        !          4040:        :sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
1.1       deraadt  4041: # The older Visuals didn't come with function keys. This entry uses
1.5       tholo    4042: # :ks: and :ke: so that the keypad keys can be used as function keys.
1.1       deraadt  4043: # If your version of vi doesn't support function keys you may want
                   4044: # to use vi200-f.
1.8     ! tholo    4045: vi200-f|visual 200 no function keys:\
        !          4046:        :is=\E3\Eb\Ej\E\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
1.5       tholo    4047:        :k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
                   4048:        :ke=\E>:ks=\E=:se@:so@:\
                   4049:        :tc=vi200:
1.1       deraadt  4050: vi200-rv|visual 200 reverse video:\
                   4051:        :se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
                   4052:
1.2       deraadt  4053: # the function keys are programmable but we don't reprogram them to their
1.5       tholo    4054: # default values with :is: because programming them is very verbose. maybe
1.2       deraadt  4055: # an initialization file should be made for the 300 and they could be stuck
                   4056: # in it.
                   4057: # (vi300: added <rmam>/<smam> based on init string -- esr)
1.1       deraadt  4058: vi300|visual 300 ansi x3.64:\
                   4059:        :am:bw:mi:xn:\
                   4060:        :co#80:li#24:\
1.5       tholo    4061:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   4062:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   4063:        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
1.1       deraadt  4064:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
1.8     ! tholo    4065:        :k1=\E_A\E\:k2=\E_B\E\:k3=\E_C\E\:k4=\E_D\E\:k5=\E_E\E\:\
        !          4066:        :k6=\E_F\E\:k7=\E_G\E\:k8=\E_H\E\:k9=\E_I\E\:kd=\E[B:\
        !          4067:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
        !          4068:        :se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          4069:        :us=\E[4m:
1.1       deraadt  4070: # some of the vi300s have older firmware that has the command
                   4071: # sequence for setting editing extent reversed.
1.2       deraadt  4072: vi300-old|visual 300 with old firmware (set edit extent reversed):\
1.5       tholo    4073:        :is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
                   4074:        :tc=vi300:
1.2       deraadt  4075:
                   4076: # Visual 500 prototype entry from University of Wisconsin.
                   4077: # The best place to look for the escape sequences is page A1-1 of the
                   4078: # Visual 500 manual.  The initialization sequence given here may be
                   4079: # overkill, but it does leave out some of the initializations which can
                   4080: # be done with the menus in set-up mode.
                   4081: # The :xp: line below is so that emacs can understand the padding requirements
                   4082: # of this slow terminal.  :xp: is 10 time the padding factor.
1.5       tholo    4083: # (vi500: removed unknown :xp#4: termcap;
                   4084: # also added empty <acsc> to suppress tic warning -- esr)
1.2       deraadt  4085: vi500|visual 500:\
                   4086:        :am:mi:ms:\
                   4087:        :co#80:it#8:li#33:\
1.5       tholo    4088:        :ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
1.2       deraadt  4089:        :cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
                   4090:        :dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
1.8     ! tholo    4091:        :is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\:\
1.5       tholo    4092:        :kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   4093:        :nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
                   4094:        :us=\E^D:
1.1       deraadt  4095:
1.2       deraadt  4096: # The visual 550 is a visual 300 with tektronix graphics,
1.1       deraadt  4097: # and with 33 lines. clear screen is modified here to
                   4098: # also clear the graphics.
                   4099: vi550|visual 550 ansi x3.64:\
                   4100:        :li#33:\
1.2       deraadt  4101:        :cl=\030\E[H\E[2J:tc=vi300:
1.1       deraadt  4102:
                   4103: vi603|visual603|visual 603:\
                   4104:        :hs:mi:\
1.5       tholo    4105:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
1.8     ! tholo    4106:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\:ei=\E[4l:\
        !          4107:        :fs=\E\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
1.5       tholo    4108:        :im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
1.2       deraadt  4109:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
1.5       tholo    4110:        :up=\E[A:us=\E[4m:\
                   4111:        :tc=vt100:
1.1       deraadt  4112:
                   4113: #### Wyse (wy)
                   4114: #
                   4115: #      Wyse Technology
                   4116: #      3471 North First Street
                   4117: #      San Jose, CA 95134
                   4118: #      Vox: (408)-473-1200
                   4119: #      Fax: (408) 473-1222
1.5       tholo    4120: #      Web: http://www.wyse.com
1.1       deraadt  4121: #
                   4122: # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
1.5       tholo    4123: # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
                   4124: # obvious address, http://www.wyse.com.
1.1       deraadt  4125: #
1.5       tholo    4126: # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
                   4127: # They now own the Qume and Amdek brands, too.  So these are the people to
                   4128: # talk with about all Link, Qume, and Amdek terminals.
                   4129: #
                   4130: # Wyse has a BBS containing termcap and terminfo stuff for their terminals
                   4131: # (though this may not last long -- I expect the Web will kill it off by
                   4132: # mid-1997 or so).  According to their tech support, at 800-800-9973, it's
                   4133: # at 408-922-4400 thru 4405.  The 4400 modem is flaky as of 5/96, so
                   4134: # call 4401 etc.  Come in at 9600 hard; don't use autospeed sense.
                   4135: #
                   4136: # All the following entries until (but not including) wy520 are direct from
1.1       deraadt  4137: # Wyse technical support and represent their best knowledge as of January 1995.
1.2       deraadt  4138: # I canceled the bel capacities in the vb entries.
                   4139: # I made two trivial syntax fixes in the wyse30 entry.
1.5       tholo    4140: # I made some entries relative to adm+sgr.
                   4141: #
1.1       deraadt  4142: #
                   4143: # Note: The wyse75, wyse85, and wyse99 have been discontinued.
                   4144:
                   4145: #         Although the Wyse 30 can support more than one attribute
                   4146: #      it requires magic cookies to do so.  Many applications do not
                   4147: #      function well with magic cookies.  The following terminfo uses
                   4148: #      the protect mode to support one attribute (dim) without cookies.
                   4149: #      If more than one attribute is needed then the wy30-mc terminfo
                   4150: #      should be used.
                   4151: #
                   4152: wy30|wyse30|Wyse 30:\
1.8     ! tholo    4153:        :5i:am:bs:bw:hs:mi:ms:xo:\
1.3       deraadt  4154:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
                   4155:        :#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
                   4156:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
1.5       tholo    4157:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   4158:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
1.8     ! tholo    4159:        :ho=^^:im=\Eq:ip=:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:\
1.5       tholo    4160:        :k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
                   4161:        :k8=^AG\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:\
                   4162:        :kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   4163:        :ll=^^^K:me=\E(\EH\003:mh=\E`7\E):mp=\E`7\E):nd=^L:\
                   4164:        :nw=^M^J:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  4165:        :..sa=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;:\
1.5       tholo    4166:        :se=\E(:sf=\n:so=\E`7\E):sr=\Ej:st=\E1:ta=\011:ts=\EF:up=^K:\
                   4167:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  4168: #
                   4169: #      This terminal description uses the non-hidden attribute mode
                   4170: #      (with magic cookie).
                   4171: #
1.5       tholo    4172: # (wy30-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  4173: wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
                   4174:        :ms@:\
1.5       tholo    4175:        :ma@:sg#1:\
1.1       deraadt  4176:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5       tholo    4177:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  4178:        :..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    4179:        :te=\EG0:ti=:\
                   4180:        :tc=wy30:tc=adm+sgr:
                   4181: #      The mandatory pause used by :vb: does not work with
1.1       deraadt  4182: #      older versions of terminfo.  If you see this effect then
                   4183: #      unset xon and delete the / from the delay.
                   4184: #      i.e. change $<100/> to $<100>
                   4185: wy30-vb|wyse30-vb|wyse 30 visible bell:\
1.2       deraadt  4186:        :bl@:tc=wy30:
1.1       deraadt  4187: #
                   4188: #         The Wyse 50 can support one attribute (e.g. Dim, Inverse,
                   4189: #      Normal) without magic cookies by using the protect mode.
                   4190: #      The following description uses this feature, but when more
                   4191: #      than one attribute is put on the screen at once, all attributes
                   4192: #      will be changed to be the same as the last attribute given.
                   4193: #         The Wyse 50 can support more attributes when used with magic
                   4194: #      cookies.  The wy50-mc terminal description uses magic cookies
                   4195: #      to correctly handle multiple attributes on a screen.
                   4196: #
                   4197: wy50|wyse50|Wyse 50:\
1.8     ! tholo    4198:        :5i:am:bs:bw:hs:mi:ms:xo:\
1.3       deraadt  4199:        :Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
1.5       tholo    4200:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   4201:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
                   4202:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
                   4203:        :as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
                   4204:        :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
                   4205:        :ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
                   4206:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4207:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   4208:        :kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   4209:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(\EH\003:mh=\E`7\E):\
                   4210:        :mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:pf=^T:pn=\Ez%+/%s\r:\
                   4211:        :po=^X:ps=\EP:px=\Ez%+?%s\177:\
1.1       deraadt  4212:        :..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    4213:        :se=\E(:sf=\n:so=\E`6\E):sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
                   4214:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:
1.1       deraadt  4215: #
                   4216: #      This terminal description uses the non-hidden attribute mode
                   4217: #      (with magic cookie).
                   4218: #
1.2       deraadt  4219: #      The mandatory pause used by flash does not work with some
                   4220: #      older versions of terminfo.  If you see this effect then
1.5       tholo    4221: #      unset :xo: and delete the / from the delay.
1.2       deraadt  4222: #      i.e. change $<100/> to $<100>
1.5       tholo    4223: # (wy50-mc: added :ti: to suppress tic warning --esr)
1.1       deraadt  4224: wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
                   4225:        :ms@:\
1.5       tholo    4226:        :ma@:sg#1:\
1.1       deraadt  4227:        :ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
1.5       tholo    4228:        :me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):\
1.1       deraadt  4229:        :..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    4230:        :so=\EGt:te=\EG0:ti=:\
                   4231:        :tc=wy50:tc=adm+sgr:
1.1       deraadt  4232: wy50-vb|wyse50-vb|wyse 50 visible bell:\
1.2       deraadt  4233:        :bl@:tc=wy50:
1.1       deraadt  4234: wy50-w|wyse50-w|wyse 50 132-column:\
1.3       deraadt  4235:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  4236:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy50:
                   4237: wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
1.5       tholo    4238:        :bl@:\
                   4239:        :tc=wy50-w:
1.1       deraadt  4240: #
                   4241: #      The Wyse 350 is a Wyse 50 with color.
                   4242: #      Unfortunately this means that it has magic cookies.
                   4243: #      The color attributes are designed to overlap the reverse, dim and
                   4244: #      underline attributes.  This is nice for monochrome applications
                   4245: #      because you can make underline stuff green (or any other color)
                   4246: #      but for true color applications it's not so hot because you cannot
                   4247: #      mix color with reverse, dim or underline.
                   4248: #          To further complicate things one of the attributes must be
                   4249: #      black (either the foreground or the background).  In reverse video
                   4250: #      the background changes color with black letters.  In normal video
                   4251: #      the foreground changes colors on a black background.
                   4252: #          This terminfo uses some of the more advanced features of curses
                   4253: #      to display both color and blink.  In the final analysis I am not
                   4254: #      sure that the wy350 runs better with this terminfo than it does
                   4255: #      with the wy50 terminfo (with user adjusted colors).
                   4256: #
1.2       deraadt  4257: #      The mandatory pause used by flash does not work with
                   4258: #      older versions of terminfo.  If you see this effect then
                   4259: #      unset xon and delete the / from the delay.
                   4260: #      i.e. change $<100/> to $<100>
                   4261: #
1.5       tholo    4262: # Bug: The <op> capability resets attributes.
1.3       deraadt  4263: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  4264: wy350|wyse350|Wyse 350:\
1.3       deraadt  4265:        :5i:am:bw:hs:mi:xo:\
1.5       tholo    4266:        :Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
                   4267:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   4268:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
                   4269:        :ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
                   4270:        :as=\EG0\EH\002:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4271:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4272:        :ei=\Er:fs=^M:ho=^^:i1=\E`\072\E`9:i2=\E%?:im=\Eq:ip=:\
                   4273:        :is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   4274:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   4275:        :kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
                   4276:        :kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
                   4277:        :mb=\EG2:me=\EG0\E(\EH\003%{0}%PA%{0}%PC:mh=\EGp:\
                   4278:        :mp=\EG0\E):nd=^L:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:\
                   4279:        :pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:sf=\n:sr=\Ej:\
                   4280:        :st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4281:        :tc=adm+sgr:
1.1       deraadt  4282: wy350-vb|wyse350-vb|wyse 350 visible bell:\
1.2       deraadt  4283:        :bl@:tc=wy350:
1.1       deraadt  4284: wy350-w|wyse350-w|wyse 350 132-column:\
1.3       deraadt  4285:        :Nl#16:co#132:lw#7:ws#97:\
1.1       deraadt  4286:        :cm=\Ea%i%dR%dC:dc=\EW:i1=\E`;\E`9:tc=wy350:
                   4287: wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
1.5       tholo    4288:        :bl@:\
                   4289:        :tc=wy350-w:
1.1       deraadt  4290: #
                   4291: #      This terminfo description is untested.
1.8     ! tholo    4292: #      The wyse100 emulates an adm31, so the adm31 entry should work.
1.1       deraadt  4293: #
                   4294: wy100|wyse 100:\
                   4295:        :hs:mi:\
1.5       tholo    4296:        :co#80:li#24:sg#1:\
                   4297:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
                   4298:        :dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
                   4299:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4300:        :k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
                   4301:        :le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:\
                   4302:        :tc=adm+sgr:
1.1       deraadt  4303: #
                   4304: #      The Wyse 120/150 has most of the features of the Wyse 60.
                   4305: #      This terminal does not need padding up to 9600 baud!
1.5       tholo    4306: #      :ms: should be set but the clear screen fails when in
1.2       deraadt  4307: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.5       tholo    4308: #      then set :ms:.
1.1       deraadt  4309: #
1.3       deraadt  4310: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4311: # (sgr removed to fit entry within 1023 bytes)
                   4312: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4313: wy120|wyse120|wy150|wyse150|Wyse 120/150:\
1.2       deraadt  4314:        :am:bw:hs:km:mi:ms:xo:\
1.1       deraadt  4315:        :co#80:it#8:li#24:pb#9601:ws#45:\
1.5       tholo    4316:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4317:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:\
                   4318:        :fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  4319:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4320:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4321:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4322:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4323:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4324:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4325:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4326:        :tc=adm+sgr:
1.1       deraadt  4327: #
                   4328: wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
1.3       deraadt  4329:        :Nl#16:co#132:lw#7:ws#97:\
                   4330:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy120:
1.1       deraadt  4331: #
                   4332: wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
1.3       deraadt  4333:        :Nl@:lh@:li#25:lw@:\
                   4334:        :pn@:r3=\EwG\Ee):tc=wy120:
1.1       deraadt  4335: #
                   4336: wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
1.3       deraadt  4337:        :Nl@:lh@:li#25:lw@:\
                   4338:        :pn@:r3=\EwG\Ee):tc=wy120-w:
1.1       deraadt  4339: #
                   4340: wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
1.5       tholo    4341:        :bl@:\
                   4342:        :tc=wy120:
1.1       deraadt  4343: #
                   4344: wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
1.5       tholo    4345:        :bl@:\
                   4346:        :tc=wy120-w:
1.1       deraadt  4347: #
                   4348: #      The Wyse 60 is like the Wyse 50 but with more padding.
                   4349: #      The reset strings are slow and the pad times very depending
                   4350: #      on other parameters such as font loading.  I have tried
                   4351: #      to follow the following outline:
1.2       deraadt  4352: #
                   4353: #              <rs1> -> set personality
                   4354: #              <rs2> -> set number of columns
                   4355: #              <rs3> -> set number of lines
1.5       tholo    4356: #              :i1: -> select the proper font
                   4357: #              :is: -> do the initialization
                   4358: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4359: #
                   4360: #      The Wyse 60's that have vt100 emulation are slower than the
                   4361: #      older Wyse 60's.  This change happened mid-1987.
1.5       tholo    4362: #      The capabilities effected are :dc: :dl: :al: :sf: :sr:
1.1       deraadt  4363: #
                   4364: #      The meta key is only half right.  This terminal will return the
                   4365: #      high order bit set when you hit CTRL-function_key
                   4366: #
                   4367: #      It may be useful to assign two function keys with the
                   4368: #      values  \E=(\s  look at old data in page 1
1.3       deraadt  4369: #              \E=W,   look at bottom of page 1
1.1       deraadt  4370: #      where \s is a space ( ).
                   4371: #
                   4372: #      Note:
                   4373: #         The Wyse 60 runs faster when the XON/XOFF
                   4374: #         handshake is turned off.
                   4375: #
1.3       deraadt  4376: # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4377: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4378: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4379: # (sgr removed to fit entry within 1023 bytes)
                   4380: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4381: wy60|wyse60|Wyse 60:\
1.8     ! tholo    4382:        :am:bs:bw:hs:km:mi:ms:\
1.1       deraadt  4383:        :co#80:li#24:ws#45:\
1.5       tholo    4384:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4385:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4386:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\EwJ\Ew1:im=\Eq:ip=:\
1.1       deraadt  4387:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4388:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4389:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4390:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4391:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4392:        :so=\EGt:sr=\Ej:st=\E1:ta=\011:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:\
                   4393:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4394:        :tc=adm+sgr:
1.1       deraadt  4395: #
                   4396: wy60-w|wyse60-w|wyse 60 132-column:\
1.3       deraadt  4397:        :Nl#16:co#132:lw#7:ws#97:\
                   4398:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy60:
1.1       deraadt  4399: #
                   4400: wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
1.3       deraadt  4401:        :Nl@:lh@:li#25:lw@:\
                   4402:        :pn@:r3=\EwG\Ee):tc=wy60:
1.1       deraadt  4403: wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
1.3       deraadt  4404:        :Nl@:lh@:li#25:lw@:\
                   4405:        :pn@:r3=\EwG\Ee):tc=wy60-w:
1.1       deraadt  4406: #
                   4407: wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
                   4408:        :li#42:\
                   4409:        :al=\EE:cd=\Ey:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:\
1.3       deraadt  4410:        :i1=\EcB2\EcC3:ip=:nw=\r\n:r3=\Ee*:sf=\n:sr=\Ej:tc=wy60:
1.1       deraadt  4411: wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
1.3       deraadt  4412:        :Nl#16:co#132:lw#7:ws#97:\
1.5       tholo    4413:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ho=\036:ip=:nw=\r\n:\
                   4414:        :r2=\EeF\E`;:\
                   4415:        :tc=wy60-42:
1.1       deraadt  4416: #
                   4417: wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
1.3       deraadt  4418:        :Nl@:lh@:li#43:lw@:\
                   4419:        :pn@:r3=\Ee+:tc=wy60-42:
1.1       deraadt  4420: wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
1.3       deraadt  4421:        :Nl@:lh@:li#43:lw@:\
                   4422:        :pn@:r3=\Ee+:tc=wy60-42-w:
1.1       deraadt  4423: #
                   4424: wy60-vb|wyse60-vb|Wyse 60 visible bell:\
1.2       deraadt  4425:        :bl@:tc=wy60:
1.1       deraadt  4426: wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
1.5       tholo    4427:        :bl@:\
                   4428:        :tc=wy60-w:
1.1       deraadt  4429:
                   4430: #      The Wyse-99GT looks at lot like the Wyse 60 except that it
                   4431: #      does not have the 42/43 line mode.  In the Wyse-60 the "lines"
                   4432: #      setup parameter controls the number of lines on the screen.
                   4433: #      For the Wyse 99GT the "lines" setup parameter controls the
                   4434: #      number of lines in a page.  The screen can display 25 lines max.
                   4435: #          The Wyse-99GT also has personalities for the VT220 and
                   4436: #      Tektronix 4014.  But this has no bearing on the native mode.
                   4437: #
                   4438: #      (msgr) should be set but the clear screen fails when in
1.2       deraadt  4439: #      alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
1.1       deraadt  4440: #      then set msgr, else use msgr@.
                   4441: #
                   4442: #      u0 -> enter Tektronix mode
                   4443: #      u1 -> exit Tektronix mode
                   4444: #
                   4445: wy99gt|wyse99gt|Wyse 99gt:\
                   4446:        :ms@:\
1.5       tholo    4447:        :al=\EE:cd=\Ey:ce=\Et:cl=\E+:dc=\EW:dl=\ER:i2=\Ew0:ip=:nw@:\
                   4448:        :r2=\E`\072:sf=\n:sr=\Ej:ta=\011:te=\Ew0:ti=\Ew1:\
                   4449:        :u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
1.1       deraadt  4450: #
                   4451: wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
1.3       deraadt  4452:        :Nl#16:co#132:lw#7:ws#97:\
                   4453:        :cd=\Ey:cl=\E+:cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy99gt:
1.1       deraadt  4454: #
                   4455: wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
1.3       deraadt  4456:        :Nl@:lh@:li#25:lw@:\
                   4457:        :pn@:r2=\E`\072:r3=\EwG\Ee):tc=wy99gt:
1.1       deraadt  4458: #
                   4459: wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
1.3       deraadt  4460:        :Nl@:lh@:li#25:lw@:\
                   4461:        :pn@:r2=\E`;:tc=wy99gt-w:
1.1       deraadt  4462: #
                   4463: wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
1.2       deraadt  4464:        :bl@:tc=wy99gt:
1.1       deraadt  4465: #
                   4466: wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
1.5       tholo    4467:        :bl@:\
                   4468:        :tc=wy99gt-w:
1.1       deraadt  4469: #
                   4470: #      The Wyse 160 is combination of the WY-60 and the WY-99gt.
                   4471: #      The reset strings are slow and the pad times very depending
                   4472: #      on other parameters such as font loading.  I have tried
                   4473: #      to follow the following outline:
1.2       deraadt  4474: #
                   4475: #              <rs1> -> set personality
                   4476: #              <rs2> -> set number of columns
                   4477: #              <rs3> -> set number of lines
1.5       tholo    4478: #              :i1: -> select the proper font
                   4479: #              :is: -> do the initialization
                   4480: #              :i3: -> set up display memory (2 pages)
1.1       deraadt  4481: #
                   4482: #      The display memory may be used for either text or graphics.
                   4483: #      When "Display Memory = Shared" the terminal will have more pages
                   4484: #      but garbage may be left on the screen when you switch from
                   4485: #      graphics to text.  If "Display Memory = Unshared" then the
                   4486: #      text area will be only one page long.
                   4487: #
1.3       deraadt  4488: # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
                   4489: # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
                   4490: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4491: # (sgr removed to fit entry within 1023 bytes)
                   4492: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4493: wy160|wyse160|Wyse 160:\
1.2       deraadt  4494:        :am:bw:hs:km:mi:ms:\
1.1       deraadt  4495:        :co#80:li#24:ws#38:\
1.5       tholo    4496:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4497:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4498:        :ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4499:        :is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4500:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4501:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   4502:        :kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
                   4503:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=\n:\
                   4504:        :so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:\
                   4505:        :vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4506:        :tc=adm+sgr:
1.1       deraadt  4507: #
                   4508: wy160-w|wyse160-w|wyse 160 132-column:\
1.3       deraadt  4509:        :Nl#16:co#132:lw#7:ws#90:\
                   4510:        :cm=\Ea%i%dR%dC:dc=\EW:r2=\EeF\E`;:tc=wy160:
1.1       deraadt  4511: #
                   4512: wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
1.3       deraadt  4513:        :Nl@:lh@:li#25:lw@:\
                   4514:        :pn@:r3=\EwG\Ee):tc=wy160:
1.1       deraadt  4515: wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
1.3       deraadt  4516:        :Nl@:lh@:li#25:lw@:\
                   4517:        :pn@:r3=\EwG\Ee):tc=wy160-w:
1.1       deraadt  4518: #
                   4519: wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
                   4520:        :li#42:\
1.5       tholo    4521:        :al=\EE:cd=\Ey:cl=\E+:dl=\ER:i1=\EcB2\EcC3:nw=\r\n:r3=\Ee*:\
                   4522:        :sf=\n:sr=\Ej:\
                   4523:        :tc=wy160:
1.1       deraadt  4524: wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
1.3       deraadt  4525:        :Nl#16:co#132:lw#7:ws#90:\
                   4526:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\EeF\E`;:tc=wy160-42:
1.1       deraadt  4527: #
                   4528: wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
1.3       deraadt  4529:        :Nl@:lh@:li#43:lw@:\
                   4530:        :pn@:r3=\Ee+:tc=wy160-42:
1.1       deraadt  4531: wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
1.3       deraadt  4532:        :Nl@:lh@:li#43:lw@:\
                   4533:        :pn@:r3=\Ee+:tc=wy160-42-w:
1.1       deraadt  4534: #
                   4535: wy160-vb|wyse160-vb|Wyse 160 visible bell:\
1.2       deraadt  4536:        :bl@:tc=wy160:
1.1       deraadt  4537: wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
1.5       tholo    4538:        :bl@:\
                   4539:        :tc=wy160-w:
1.1       deraadt  4540: #
                   4541: #      The Wyse 75 is a vt100 lookalike without advanced video.
                   4542: #
                   4543: #         The Wyse 75 can support one attribute (e.g. Dim, Inverse,
                   4544: #      Underline) without magic cookies.  The following description
                   4545: #      uses this capability, but when more than one attribute is
                   4546: #      put on the screen at once, all attributes will be changed
                   4547: #      to be the same as the last attribute given.
                   4548: #         The Wyse 75 can support more attributes when used with magic
                   4549: #      cookies.  The wy75-mc terminal description uses magic cookies
                   4550: #      to correctly handle multiple attributes on a screen.
                   4551: #
                   4552: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4553: # (sgr removed to fit entry within 1023 bytes)
                   4554: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4555: wy75|wyse75|wyse 75:\
1.8     ! tholo    4556:        :am:bs:hs:mi:ms:xn:xo:\
1.2       deraadt  4557:        :co#80:li#24:ma#1:pb#1201:ws#78:\
1.1       deraadt  4558:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4559:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4560:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4561:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4562:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.8     ! tholo    4563:        :ds=\E[>\\054\001\001\E[>-\001\001:ec=\E[%dX:ei=\E[4l:\
1.5       tholo    4564:        :fs=^A:ho=\E[H:\
1.1       deraadt  4565:        :i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
                   4566:        :im=\E[4h:ip=:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
1.5       tholo    4567:        :k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4568:        :k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
                   4569:        :kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
                   4570:        :me=\E[m\017:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
                   4571:        :sc=\E7:se=\E[m:sf=\n:so=\E[1t\E[7m:sr=\EM:st=\EH:ta=^I:\
1.8     ! tholo    4572:        :ts=\E[>\\054\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
        !          4573:        :vb=\E[30h\E\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4574: #
                   4575: #      This terminal description uses the non-hidden attribute mode
                   4576: #      (with magic cookie).
                   4577: #
                   4578: wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
                   4579:        :ms@:\
                   4580:        :ma@:sg#1:ug#1:\
                   4581:        :ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
1.3       deraadt  4582:        :me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:\
1.1       deraadt  4583:        :..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    4584:        :se=\E[0p:so=\E[17p:ue=\E[0p:us=\E[8p:\
                   4585:        :tc=wy75:
1.1       deraadt  4586: wy75-vb|wyse75-vb|wyse 75 with visible bell:\
                   4587:        :pb@:\
1.2       deraadt  4588:        :bl@:tc=wy75:
1.1       deraadt  4589: wy75-w|wyse75-w|wyse 75 in 132 column mode:\
1.3       deraadt  4590:        :co#132:ws#130:\
                   4591:        :r2=\E[35h\E[?3h:tc=wy75:
1.1       deraadt  4592: wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
                   4593:        :pb@:\
1.2       deraadt  4594:        :bl@:tc=wy75-w:
1.1       deraadt  4595: #
                   4596: #      Wyse 85 emulating a vt220 7 bit mode.
                   4597: #              24 line screen with status line.
                   4598: #
                   4599: #      The vt220 mode permits more function keys but it wipes out
1.3       deraadt  4600: #      the escape key.  I strongly recommend that <f11> be set to
1.1       deraadt  4601: #      escape (esc).
                   4602: #      The terminal may have to be set for 8 data bits and 2 stop
                   4603: #      bits for the arrow keys to work.
                   4604: #      The Wyse 85 runs faster with XON/XOFF enabled.  Also the
1.5       tholo    4605: #      :DC: and :IC: work best when XON/XOFF is set.  :IC: and
                   4606: #      :DC: leave trash on the screen when used without XON/XOFF.
1.1       deraadt  4607: #
1.2       deraadt  4608: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4609: # (sgr removed to fit entry within 1023 bytes)
                   4610: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4611: wy85|wyse85|wyse 85:\
1.8     ! tholo    4612:        :am:bs:hs:mi:ms:xn:xo:\
1.1       deraadt  4613:        :co#80:it#8:li#24:ws#80:\
                   4614:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4615:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4616:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4617:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4618:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4619:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4620:        :i1=\E[62;1"p\E[?5W:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4621:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
1.1       deraadt  4622:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    4623:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4624:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4625:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4626:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
                   4627:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:\
                   4628:        :ts=\E[40h\E7\E[25;%i%p1%dH:ue=\E[m:up=\E[A:us=\E[4m:\
1.8     ! tholo    4629:        :vb=\E[30h\E\\054\E[30l:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  4630: #
                   4631: #      Wyse 85 with visual bell.
                   4632: wy85-vb|wyse85-vb|wyse 85 with visible bell:\
1.8     ! tholo    4633:        :bl@:vb=\E[30h\E\\054\E[30l:tc=wy85:
1.1       deraadt  4634: #
                   4635: #      Wyse 85 in 132-column mode.
                   4636: wy85-w|wyse85-w|wyse 85 in 132-column mode:\
1.3       deraadt  4637:        :co#132:ws#132:\
                   4638:        :r2=\E[35h\E[?3h:tc=wy85:
1.1       deraadt  4639: #
                   4640: #      Wyse 85 in 132-column mode with visual bell.
                   4641: wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
1.5       tholo    4642:        :bl@:\
                   4643:        :tc=wy85-w:
1.1       deraadt  4644: #
                   4645: #      Wyse 185 emulating a vt320 7 bit mode.
                   4646: #
                   4647: #      This terminal always displays 25 lines.  These lines may be used
                   4648: #      as 24 data lines and a terminal status line (top or bottom) or
                   4649: #      25 data lines.  The 48 and 50 line modes change the page size
                   4650: #      and not the number of lines on the screen.
                   4651: #
                   4652: #      The Compose Character key can be used as a meta key if changed
                   4653: #      by set-up.
                   4654: #
                   4655: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  4656: # (sgr removed to fit entry within 1023 bytes)
                   4657: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4658: wy185|wyse185|wyse 185:\
1.2       deraadt  4659:        :am:hs:km:mi:ms:xn:xo:\
1.1       deraadt  4660:        :co#80:it#8:li#24:ws#80:\
                   4661:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4662:        :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
1.5       tholo    4663:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4664:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4665:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
1.1       deraadt  4666:        :ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
                   4667:        :fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
                   4668:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4669:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
                   4670:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    4671:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4672:        :kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
                   4673:        :ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4674:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4675:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
                   4676:        :ts=\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
1.8     ! tholo    4677:        :vb=\E[30h\E\\054\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
1.5       tholo    4678:        :vs=\E[?25h\E[34l:
1.1       deraadt  4679: #
                   4680: #      Wyse 185 with 24 data lines and top status (terminal status)
                   4681: wy185-24|wyse185-24|wyse 185 with 24 data lines:\
                   4682:        :hs@:\
1.3       deraadt  4683:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
1.1       deraadt  4684: #
                   4685: #      Wyse 185 with visual bell.
                   4686: wy185-vb|wyse185-vb|wyse 185+flash:\
1.2       deraadt  4687:        :bl@:tc=wy185:
1.1       deraadt  4688: #
                   4689: #      Wyse 185 in 132-column mode.
                   4690: wy185-w|wyse185-w|wyse 185 in 132-column mode:\
                   4691:        :co#132:ws#132:\
1.5       tholo    4692:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy185:
1.1       deraadt  4693: #
                   4694: #      Wyse 185 in 132-column mode with visual bell.
                   4695: wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
1.2       deraadt  4696:        :bl@:tc=wy185-w:
1.1       deraadt  4697:
                   4698: # wy325 terminfo entries
                   4699: # Done by Joe H. Davis        3-9-92
                   4700:
                   4701: # lines 25  columns 80
                   4702: #
1.3       deraadt  4703: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.2       deraadt  4704: wy325|wyse325|Wyse epc:\
1.5       tholo    4705:        :5i:am:bw:hs:mi:\
                   4706:        :Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
                   4707:        :#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
                   4708:        :F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
                   4709:        :SA=\Ed/:\
1.8     ! tholo    4710:        :ac=+/\\054.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
1.5       tholo    4711:        :ae=\EcD:al=\EE:as=\EcE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:\
                   4712:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:\
                   4713:        :ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=\Ew0:im=\Eq:ip=:\
1.1       deraadt  4714:        :is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
1.5       tholo    4715:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   4716:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
                   4717:        :kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
                   4718:        :kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
                   4719:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
                   4720:        :pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
1.8     ! tholo    4721:        :px=\EZ1%+?%s\177:r1=\E~\041\E~4:r2=\EeF\E`\072:\
1.5       tholo    4722:        :r3=\EwG\Ee(:sf=\n:so=\EGt:sr=\Ej:st=\E1:ta=^I:te=\Ew0:\
                   4723:        :ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
                   4724:        :tc=adm+sgr:
1.1       deraadt  4725:
                   4726: #
                   4727: # lines 24  columns 80  vb
                   4728: #
1.2       deraadt  4729: wy325-vb|wyse325-vb|wyse-325 with visual bell:\
                   4730:        :bl@:tc=wy325:
1.1       deraadt  4731:
                   4732: #
                   4733: # lines 24  columns 132
                   4734: #
1.2       deraadt  4735: wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
1.3       deraadt  4736:        :Nl#16:co#132:lw#7:ws#97:\
                   4737:        :cm=\Ea%i%dR%dC:dc=\EW:ip=:r2=\E`;:tc=wy325:
1.1       deraadt  4738: #
                   4739: # lines 25  columns 80
                   4740: #
1.2       deraadt  4741: wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
1.3       deraadt  4742:        :Nl@:lh@:li#25:lw@:\
                   4743:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4744: #
                   4745: # lines 25  columns 132
                   4746: #
                   4747: wy325-25w|wyse325-25w|wy325 132 columns:\
1.3       deraadt  4748:        :Nl@:lh@:li#25:lw@:\
                   4749:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4750: #
                   4751: # lines 25  columns 132  vb
                   4752: #
1.2       deraadt  4753: wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
1.5       tholo    4754:        :bl@:\
                   4755:        :tc=wy325-w:
1.1       deraadt  4756:
                   4757: #
                   4758: # lines 42  columns 80
                   4759: #
1.2       deraadt  4760: wy325-42|wyse325-42|wyse-325 42 lines:\
1.3       deraadt  4761:        :Nl@:lh@:li#42:lw@:\
                   4762:        :pn@:r3=\EwG\Ee):tc=wy325:
1.1       deraadt  4763: #
                   4764: # lines 42  columns 132
                   4765: #
1.2       deraadt  4766: wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
1.3       deraadt  4767:        :Nl@:lh@:li#42:lw@:\
                   4768:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4769: #
                   4770: # lines 42  columns 132  vb
                   4771: #
1.2       deraadt  4772: wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
1.5       tholo    4773:        :bl@:\
                   4774:        :tc=wy325-w:
1.1       deraadt  4775: #
                   4776: # lines 43  columns 80
                   4777: #
1.2       deraadt  4778: wy325-43|wyse325-43|wyse-325 43 lines:\
1.3       deraadt  4779:        :Nl@:lh@:li#43:lw@:\
                   4780:        :pn@:tc=wy325:
1.1       deraadt  4781: #
                   4782: # lines 43  columns 132
                   4783: #
1.2       deraadt  4784: wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
1.3       deraadt  4785:        :Nl@:lh@:li#43:lw@:\
                   4786:        :pn@:r3=\EwG\Ee):tc=wy325-w:
1.1       deraadt  4787: #
                   4788: # lines 43  columns 132  vb
                   4789: #
1.2       deraadt  4790: wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
1.5       tholo    4791:        :bl@:\
                   4792:        :tc=wy325-w:
1.2       deraadt  4793:
                   4794: #      Wyse 370 -- 24 line screen with status line.
1.1       deraadt  4795: #
                   4796: #      The terminal may have to be set for 8 data bits and 2 stop
                   4797: #      bits for the arrow keys to work.
                   4798: #
                   4799: #      If you change keyboards the terminal will send different
                   4800: #      escape sequences.
                   4801: #      The following definition is for the basic terminal without
                   4802: #      function keys.
                   4803: #
1.2       deraadt  4804: #      <u0> -> enter Tektronix 4010/4014 mode
                   4805: #      <u1> -> exit  Tektronix 4010/4014 mode
                   4806: #      <u2> -> enter ASCII mode (from any ANSI mode)
                   4807: #      <u3> -> exit  ASCII mode (goto native ANSI mode)
                   4808: #      <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
                   4809: #      <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1.1       deraadt  4810: #
1.5       tholo    4811: # Bug: The <op> capability resets attributes.
1.3       deraadt  4812: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4813: # (sgr removed to fit entry within 1023 bytes)
                   4814: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  4815: wy370-nk|wyse 370 without function keys:\
1.2       deraadt  4816:        :am:hs:mi:ms:xn:xo:\
1.1       deraadt  4817:        :co#80:it#8:li#24:ws#80:\
                   4818:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    4819:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   4820:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4821:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[40l:\
                   4822:        :ec=\E[%dX:ei=\E[4l:fs=\E[1;24r\E8:ho=\E[H:\
                   4823:        :i1=\E[90;1"p\E[?5W:i2=\E>\017\E)0\E(B\E[63;0w\E[m:\
                   4824:        :im=\E[4h:ip=:\
1.1       deraadt  4825:        :is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
1.5       tholo    4826:        :ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:\
                   4827:        :mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
                   4828:        :so=\E[7m:sr=\EM:st=\EH:ta=\011:te=\E[ R:ti=\E[ Q:\
                   4829:        :ts=\E[40l\E[40h\E7\E[99;%i%p1%dH:ue=\E[24m:up=\E[A:\
1.8     ! tholo    4830:        :us=\E[4m:vb=\E[30h\E\\054\E[30l:ve=\E[34h\E[?25h:\
1.5       tholo    4831:        :vi=\E[?25l:vs=\E[?25h\E[34l:
1.1       deraadt  4832: #
1.2       deraadt  4833: #      Function key set for the ASCII (wy-50 compatible) keyboard
                   4834: #      This is the default 370.
1.1       deraadt  4835: #
1.2       deraadt  4836: wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
1.3       deraadt  4837:        :@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
1.5       tholo    4838:        :F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
                   4839:        :k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
                   4840:        :k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
                   4841:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4842:        :tc=wy370-nk:
1.1       deraadt  4843: #
1.2       deraadt  4844: #      Function key set for the VT-320 (and wy85) compatible keyboard
1.1       deraadt  4845: #
                   4846: wy370-105k|Wyse 370 with 105 key keyboard:\
1.5       tholo    4847:        :%1=\E[28~:*6=\E[4~:@0=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:\
                   4848:        :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
                   4849:        :F8=\E[32~:F9=\E[33~:FA=\E[34~:K1=\EOw:K2=\EOu:K3=\EOy:\
                   4850:        :K4=\EOq:K5=\EOs:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:\
                   4851:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
                   4852:        :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
                   4853:        :kl=\E[D:kr=\E[C:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
                   4854:        :tc=wy370-nk:
1.1       deraadt  4855: #
1.2       deraadt  4856: #      Function key set for the PC compatible keyboard
1.1       deraadt  4857: #
                   4858: wy370-EPC|Wyse 370 with 102 key keyboard:\
1.5       tholo    4859:        :@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
                   4860:        :k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   4861:        :k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
                   4862:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   4863:        :tc=wy370-nk:
1.1       deraadt  4864: #
                   4865: #      Wyse 370 with visual bell.
                   4866: wy370-vb|Wyse 370 with visible bell:\
1.2       deraadt  4867:        :bl@:tc=wy370:
1.1       deraadt  4868: #
                   4869: #      Wyse 370 in 132-column mode.
                   4870: wy370-w|Wyse 370 in 132-column mode:\
1.3       deraadt  4871:        :co#132:ws#132:\
                   4872:        :r2=\E[35h\E[?3h:tc=wy370:
1.1       deraadt  4873: #
                   4874: #      Wyse 370 in 132-column mode with visual bell.
                   4875: wy370-wvb|Wyse 370 with visible bell 132-columns:\
1.8     ! tholo    4876:        :vb=\E[30h\E\\054\E[30l:tc=wy370-w:
1.1       deraadt  4877: wy370-rv|Wyse 370 reverse video:\
1.3       deraadt  4878:        :r3=\E[32h\E[?5h:tc=wy370:
1.1       deraadt  4879: #
                   4880: #      Wyse 99gt Tektronix 4010/4014 emulator,
                   4881: #
                   4882: wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
1.2       deraadt  4883:        :am:os:\
1.1       deraadt  4884:        :co#74:li#35:\
                   4885:        :bl=^G:cl=\E^L:\
                   4886:        :..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:\
                   4887:        :cr=^M:do=^J:ff=^L:\
                   4888:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4889:        :ho=^]7`x @\037:\
                   4890:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5       tholo    4891:        :is=\E8:le=^H:nd= :nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
1.1       deraadt  4892: #
                   4893: #      Wyse 160 Tektronix 4010/4014 emulator,
                   4894: #
                   4895: wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
                   4896:        :..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    4897:        :ho=^]8`g @\037:\
                   4898:        :tc=wy99gt-tek:
1.1       deraadt  4899: #
                   4900: #      Wyse 370 Tektronix 4010/4014 emulator,
                   4901: #
                   4902: wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
1.2       deraadt  4903:        :am:os:\
1.1       deraadt  4904:        :co#80:li#36:\
                   4905:        :bl=^G:cl=\E^L:\
                   4906:        :..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:\
                   4907:        :cr=^M:do=^J:ff=^L:\
                   4908:        :hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
                   4909:        :ho=^]8g @\037:\
                   4910:        :hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
1.5       tholo    4911:        :is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd= :nw=^M^J:\
                   4912:        :u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
1.1       deraadt  4913:
                   4914: # Vendor-supplied Wyse entries end here.
                   4915:
1.5       tholo    4916: #
                   4917: #TITLE:  TERMINFO ENTRY WY520
                   4918: #DATE:   8/5/93
                   4919: # The WY520 terminfo is based on the WY285 entry published on the WYSE
                   4920: # BBS with the addition of more function keys and special keys.
                   4921: #
                   4922: #               rs1 -> set personality
                   4923: #               rs2 -> set number of columns
                   4924: #               rs3 -> set number of lines
                   4925: #               is1 -> select the proper font
                   4926: #               is2 -> do the initialization
                   4927: #               is3 -> If this string is empty then rs3 gets sent.
                   4928: #
                   4929: #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
                   4930: #       - The BS key is programmed to generate BS in smcup since
                   4931: #         is2 doesn't seem to work.
                   4932: #       - Remove and shift/Remove: delete a character
                   4933: #       - Insert : enter insert mode
                   4934: #       - Find   : delete to end of file
                   4935: #       - Select : clear a line
                   4936: #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
                   4937: #       - F14 : Home key
                   4938: #       - Bottom status line (host writable line) is used.
                   4939: #       - smkx,rmkx are removed because this would put the numeric
                   4940: #         keypad in Dec application mode which doesn't seem to work
                   4941: #         with SCO applications.
                   4942: #
                   4943: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   4944: # (sgr removed to fit entry within 1023 bytes)
                   4945: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   4946: wy520|wyse520|wyse 520:\
                   4947:        :am:hs:km:mi:xn:xo:\
                   4948:        :co#80:it#8:li#24:ws#80:\
                   4949:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   4950:        :K1=\EOw:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:\
                   4951:        :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
                   4952:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   4953:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[0$~:\
                   4954:        :ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
                   4955:        :i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=:\
                   4956:        :is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
                   4957:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
                   4958:        :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
                   4959:        :kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   4960:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   4961:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   4962:        :te=\E[ R:ti=\E[ Q\E[?67;8h:ts=\E[2$~\E[1$}\E[%i%p1%d`:\
                   4963:        :ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[34h\E[?25h:vi=\E[?25l:\
                   4964:        :vs=\E[?25h\E[34l:
                   4965: #
                   4966: #       Wyse 520 with 24 data lines and status (terminal status)
                   4967: wy520-24|wyse520-24|wyse 520 with 24 data lines:\
                   4968:        :hs@:\
                   4969:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
                   4970: #
                   4971: #       Wyse 520 with visual bell.
                   4972: wy520-vb|wyse520-vb|wyse 520 with visible bell:\
1.8     ! tholo    4973:        :vb=\E[30h\E\\054\E[30l:tc=wy520:
1.5       tholo    4974: #
                   4975: #       Wyse 520 in 132-column mode.
                   4976: wy520-w|wyse520-w|wyse 520 in 132-column mode:\
                   4977:        :co#132:ws#132:\
                   4978:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520:
                   4979: #
                   4980: #       Wyse 520 in 132-column mode with visual bell.
                   4981: wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
1.8     ! tholo    4982:        :vb=\E[30h\E\\054\E[30l:\
1.5       tholo    4983:        :tc=wy520-w:
                   4984: #
                   4985: #
                   4986: #       Wyse 520 emulating a vt420 7 bit mode.
                   4987: #       The DEL key is programmed to generate BS in is2.
                   4988: #       With EPC keyboard.
                   4989: #       - 'End' key will clear till end of line on EPC keyboard
                   4990: #       - Shift/End : ignored.
                   4991: #       - Insert : enter insert mode.
                   4992: #       - Delete : delete a character (have to change interrupt character
                   4993: #                  to CTRL-C: stty intr '^c') for it to work since the
                   4994: #                  Delete key sends 7FH.
                   4995: wy520-epc|wyse520-epc|wyse 520 with EPC kb:\
                   4996:        :@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
                   4997:        :k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:\
                   4998:        :tc=wy520:
                   4999: #
                   5000: #       Wyse 520 with 24 data lines and status (terminal status)
                   5001: #       with EPC keyboard.
                   5002: wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines:\
                   5003:        :hs@:\
                   5004:        :ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
                   5005: #
                   5006: #       Wyse 520 with visual bell.
                   5007: wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell:\
1.8     ! tholo    5008:        :vb=\E[30h\E\\054\E[30l:\
1.5       tholo    5009:        :tc=wy520-epc:
                   5010: #
                   5011: #       Wyse 520 in 132-column mode.
                   5012: wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode:\
                   5013:        :co#132:ws#132:\
                   5014:        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ei=:im=:ip=:r2=\E[35h\E[?3h:tc=wy520-epc:
                   5015: #
                   5016: #       Wyse 520 in 132-column mode with visual bell.
                   5017: wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns:\
1.8     ! tholo    5018:        :vb=\E[30h\E\\054\E[30l:\
1.5       tholo    5019:        :tc=wy520-epc-w:
                   5020: #
                   5021: #       Wyse 520 in 80-column, 36 lines
                   5022: wy520-36|wyse520-36|wyse 520 with 36 data lines:\
                   5023:        :hs@:\
                   5024:        :li#36:\
                   5025:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520:
                   5026: #
                   5027: #       Wyse 520 in 80-column, 48 lines
                   5028: wy520-48|wyse520-48|wyse 520 with 48 data lines:\
                   5029:        :hs@:\
                   5030:        :li#48:\
                   5031:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520:
                   5032: #
                   5033: #       Wyse 520 in 132-column, 36 lines
                   5034: wy520-36w|wyse520-36w|wyse 520 with 36 data lines:\
                   5035:        :co#132:ws#132:\
                   5036:        :r2=\E[?3h:\
                   5037:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36:
                   5038: #
                   5039: #       Wyse 520 in 132-column, 48 lines
                   5040: wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
                   5041:        :co#132:ws#132:\
                   5042:        :r2=\E[?3h:\
                   5043:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48:
                   5044: #
                   5045: #
                   5046: #       Wyse 520 in 80-column, 36 lines with EPC keyboard
                   5047: wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines:\
                   5048:        :hs@:\
                   5049:        :li#36:\
                   5050:        :ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:tc=wy520-epc:
                   5051: #
                   5052: #       Wyse 520 in 80-column, 48 lines with EPC keyboard
                   5053: wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines:\
                   5054:        :hs@:\
                   5055:        :li#48:\
                   5056:        :ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:tc=wy520-epc:
                   5057: #
                   5058: #       Wyse 520 in 132-column, 36 lines with EPC keyboard
                   5059: wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines:\
                   5060:        :co#132:ws#132:\
                   5061:        :r2=\E[?3h:\
                   5062:        :r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:tc=wy520-36pc:
                   5063: #
                   5064: #       Wyse 520 in 132-column, 48 lines with EPC keyboard
                   5065: wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines:\
                   5066:        :co#132:ws#132:\
                   5067:        :r2=\E[?3h:\
                   5068:        :r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:tc=wy520-48pc:
                   5069:
1.3       deraadt  5070: # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
1.5       tholo    5071: # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
                   5072: # file and we don't know what :st: is -- esr)
1.3       deraadt  5073: wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
1.8     ! tholo    5074:        :am:bs:\
1.3       deraadt  5075:        :co#80:it#8:li#24:\
1.5       tholo    5076:        :al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
                   5077:        :dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
                   5078:        :kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
                   5079:        :nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
                   5080:        :ta=^I:ue=^O:up=^Z:us=^N:
1.3       deraadt  5081:
                   5082: wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
                   5083:        :is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
                   5084:        :kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
                   5085:        :ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
                   5086:
1.1       deraadt  5087: # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
                   5088: wy100q|Wyse 100 for Quotron:\
1.8     ! tholo    5089:        :bs:\
1.5       tholo    5090:        :co#80:li#24:sg#1:\
                   5091:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   5092:        :dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
                   5093:        :is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
                   5094:        :ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:\
                   5095:        :tc=adm+sgr:
1.1       deraadt  5096:
                   5097: #### Kermit terminal emulations
                   5098: #
                   5099: # Obsolete Kermit versions may be listed in the section describing obsolete
                   5100: # non-ANSI terminal emulators later in the file.
                   5101: #
                   5102:
                   5103: # KERMIT standard all versions.
                   5104: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5105: # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
                   5106: # From: greg small <gts@populi.berkeley.edu> 9-25-84
                   5107: kermit|standard kermit:\
1.8     ! tholo    5108:        :bs:\
1.1       deraadt  5109:        :co#80:li#24:\
                   5110:        :cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :ho=\EH:\
                   5111:        :is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
1.2       deraadt  5112:        :kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
                   5113: kermit-am|standard kermit plus auto-margin:\
1.1       deraadt  5114:        :am:\
                   5115:        :is=K1 Standard Kermit plus Automatic Margins\n:tc=kermit:
                   5116: # IBMPC Kermit 1.2.
1.5       tholo    5117: # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
1.2       deraadt  5118: # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
                   5119: # line).
1.1       deraadt  5120: # From: greg small <gts@populi.berkeley.edu> 8-30-84
                   5121: pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
                   5122:        :am:\
                   5123:        :li#25:\
                   5124:        :cd@:ce@:cl=\EH\EJ:\
                   5125:        :is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
                   5126: # IBMPC Kermit 1.20
                   5127: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5128: # Initialization must escape from that region by cursor position to line 24.
                   5129: # Cannot use character insert because 1.20 goes crazy if insert at col 80.
1.2       deraadt  5130: # Does not use :am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  5131: # From: greg small <gts@populi.berkeley.edu> 12-19-84
                   5132: pckermit120|UCB IBMPC Kermit 1.20:\
                   5133:        :it#8:li#24:\
                   5134:        :al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
                   5135:        :is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
1.5       tholo    5136:        :se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:\
                   5137:        :tc=kermit:
1.1       deraadt  5138: # MS-DOS Kermit 2.27 for the IBMPC
                   5139: # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
                   5140: # Cannot use line 25, now acts funny like ansi special scrolling region.
                   5141: # Initialization must escape from that region by cursor position to line 24.
1.2       deraadt  5142: # Does not use am: because autowrap is lost when kermit dropped and restarted.
1.1       deraadt  5143: # Reverse video for standout like H19.
1.2       deraadt  5144: # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1.1       deraadt  5145: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5146: msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
1.8     ! tholo    5147:        :am@:bs:\
1.1       deraadt  5148:        :co#80:it#8:li#24:\
1.5       tholo    5149:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
                   5150:        :do=\EB:ei=\EO:ho=\EH:im=\E@:\
1.1       deraadt  5151:        :is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
1.5       tholo    5152:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
                   5153:        :se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
1.1       deraadt  5154: # MS-DOS Kermit 2.27 with automatic margins
                   5155: # From:        greg small <gts@populi.berkeley.edu> 3-17-85
                   5156: msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
                   5157:        :am:\
                   5158:        :is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
1.5       tholo    5159:        :vs=\EO\Eq\EG\EvK5:\
                   5160:        :tc=msk227:
1.1       deraadt  5161: # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
1.5       tholo    5162: # Automatic margins now default.  Use ansi :sa: for highlights.
1.2       deraadt  5163: # Define function keys.
1.1       deraadt  5164: # (msk22714: removed obsolete ":kn#10:" -- esr)
                   5165: # From: greg small <gts@populi.berkeley.edu> 3-17-85
                   5166: msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
                   5167:        :am:\
                   5168:        :is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
1.5       tholo    5169:        :k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
                   5170:        :k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
                   5171:        :ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:\
                   5172:        :tc=mskermit227:
1.1       deraadt  5173: # This was designed for a VT320 emulator, but it is probably a good start
                   5174: # at support for the VT320 itself.
                   5175: # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
1.2       deraadt  5176: # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5177: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5178: # (sgr removed to fit entry within 1023 bytes)
                   5179: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5180: vt320-k3|MS-Kermit 3.00's vt320 emulation:\
                   5181:        :am:es:hs:km:mi:ms:xn:\
                   5182:        :co#80:it#8:li#49:pb#9600:vt#3:\
1.5       tholo    5183:        :AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   5184:        :LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
                   5185:        :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   5186:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
                   5187:        :ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  5188:        :is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
1.5       tholo    5189:        :k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
                   5190:        :k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
                   5191:        :ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   5192:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
                   5193:        :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.1       deraadt  5194:        :ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
                   5195:        :vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
                   5196:        :vi=\E[?25l:
1.2       deraadt  5197: # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
1.5       tholo    5198: # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
                   5199: # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
1.2       deraadt  5200: vt320-k311|dec vt320 series as defined by kermit 3.11:\
                   5201:        :am:es:hs:mi:ms:xn:xo:\
                   5202:        :co#80:it#8:li#24:vt#3:\
                   5203:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5204:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    5205:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5206:        :ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
                   5207:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   5208:        :dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
                   5209:        :fs=\E[$}:ho=\E[H:im=\E[4h:\
1.2       deraadt  5210:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
                   5211:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
1.5       tholo    5212:        :k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   5213:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
                   5214:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
                   5215:        :r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
                   5216:        :se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.3       deraadt  5217:        :ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
                   5218:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
1.2       deraadt  5219:
                   5220: ######## NON-ANSI TERMINAL EMULATIONS
                   5221: #
                   5222:
                   5223: #### Avatar
                   5224: #
                   5225: # These entries attempt to describe Avatar, a terminal emulation used with
                   5226: # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
                   5227: # capabilities, but with cheaper (shorter) control sequences.  Messy design,
                   5228: # excessively dependent on PC idiosyncracies, but apparently rather popular
                   5229: # in the BBS world.
                   5230: #
                   5231: # No color support.  Avatar doesn't fit either of the Tektronix or HP color
                   5232: # models that terminfo knows about.  An Avatar color attribute is the
                   5233: # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
                   5234: #
                   5235: # I wrote these entries while looking at the Avatar spec.  I don't have
                   5236: # the facilities to test them.  Let me know if they work, or don't.
                   5237: #
                   5238: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
1.5       tholo    5239: # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
                   5240: # tell ncurses that the corresponding highlights exist; it should use :sa:,
1.2       deraadt  5241: # which is the only method that will actually work for multiple highlights.)
                   5242: avatar0|avatar terminal emulator level 0:\
1.3       deraadt  5243:        :am:ms:ut:\
1.2       deraadt  5244:        :co#80:it#8:li#25:\
                   5245:        :as=:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
1.5       tholo    5246:        :mb=^A^V\177:md=^V^A^P:me=^V^A^G:mk=^V^A\200:mr=^A^Vp:\
                   5247:        :nd=^V^F:r2=^L:rp=\031%.%d:\
1.2       deraadt  5248:        :..sa=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;:\
1.5       tholo    5249:        :sf=^J:so=^A^Vp:up=^V^C:us=^V^A:\
                   5250:        :tc=klone+acs:
1.2       deraadt  5251: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5252: avatar0+|avatar terminal emulator level 0+:\
                   5253:        :dc=^V^N:ei=\026\n\200\200\200\200:im=^V^I:tc=avatar0:
                   5254: # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
                   5255: avatar|avatar1|avatar terminal emulator level 1:\
1.5       tholo    5256:        :RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
                   5257:        :vs=^V^C:\
                   5258:        :tc=avatar0+:
1.1       deraadt  5259:
                   5260: ######## OLDER TERMINAL TYPES
                   5261: #
                   5262: # This section is devoted to older commercial terminal brands that are now
                   5263: # discontinued, but known to be still in use or represented by emulations.
                   5264: #
                   5265:
                   5266: #### AT&T (att, tty)
                   5267: #
                   5268: # This section also includes Teletype-branded VDTs.
                   5269: #
1.8     ! tholo    5270: # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
        !          5271: # Boundless Technologies); for details, see the header comment on the ADDS
        !          5272: # section.
1.1       deraadt  5273: #
1.2       deraadt  5274: # These are AT&T's official terminfo entries.  All-caps aliases have been
                   5275: # removed.
1.1       deraadt  5276: #
1.2       deraadt  5277: att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
1.1       deraadt  5278:        :am:eo:mi:ms:xo:\
                   5279:        :co#80:it#8:li#24:\
1.3       deraadt  5280:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
                   5281:        :F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
1.5       tholo    5282:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
                   5283:        :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   5284:        :cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   5285:        :k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
                   5286:        :k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
                   5287:        :kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
                   5288:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
                   5289:        :pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
                   5290:        :up=\E[A:
1.1       deraadt  5291: att2350|AT&T 2350 Video Information Terminal 80 column mode:\
1.5       tholo    5292:        :pf@:po@:ps@:\
                   5293:        :tc=att2300:
1.1       deraadt  5294:
                   5295: # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
                   5296: # Seems upward compatible with vt100, plus ins/del line/char.
                   5297: # On sgr, the protection parameter is ignored.
                   5298: # No check is made to make sure that only 3 parameters are output.
                   5299: #      standout= reverse + half-intensity = 3 | 5.
                   5300: #      bold= reverse + underline = 2 | 3.
                   5301: # note that half-bright blinking doesn't look different from normal blinking.
                   5302: # NOTE:you must program the function keys first, label second!
1.3       deraadt  5303: # (att4410: a BSD entry has been seen with the following capabilities:
1.5       tholo    5304: # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
                   5305: # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
1.3       deraadt  5306: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5307: att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
                   5308:        :am:hs:mi:ms:xo:\
1.3       deraadt  5309:        :Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
1.8     ! tholo    5310:        :ac=``aaffhhggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~00++--\054\054..:\
1.5       tholo    5311:        :ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5312:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5313:        :do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
1.1       deraadt  5314:        :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:\
                   5315:        :ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
1.3       deraadt  5316:        :k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
1.5       tholo    5317:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5318:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mk=\E[8m:\
                   5319:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
                   5320:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
                   5321:        :ts=\E7\E[25;%p1%{1}%+%dH:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5322:
                   5323: att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
                   5324:        :co#132:ws#132:\
1.3       deraadt  5325:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att5410v1:
1.1       deraadt  5326:
                   5327: att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
1.8     ! tholo    5328:        :bs:\
        !          5329:        :..px=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s:tc=att5410v1:
1.1       deraadt  5330:
                   5331: att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
                   5332:        :co#132:ws#132:\
1.3       deraadt  5333:        :i1=\E[?3h\E)0:r2=\Ec\E[?3h\E[2;0y:tc=att4410:
1.1       deraadt  5334:
                   5335: # 5410 in terms of a vt100
1.2       deraadt  5336: # (v5410: added <rmam>/<smam> based on init string -- esr)
1.8     ! tholo    5337: v5410|att5410 in terms of a vt100:\
1.1       deraadt  5338:        :am:mi:ms:xo:\
                   5339:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    5340:        :@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:RA=\E[?7l:\
                   5341:        :SA=\E[?7h:\
1.3       deraadt  5342:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5343:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5344:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    5345:        :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   5346:        :ic=\E[@:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
                   5347:        :k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:\
                   5348:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   5349:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   5350:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  5351:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   5352:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   5353:        :ue=\E[m:up=\E[A:us=\E[4m:
                   5354:
                   5355: #
                   5356: # Teletype Model 5420 -- A souped up 5410, with multiple windows,
                   5357: # even! the 5420 has three modes: scroll, window or page mode
                   5358: # this terminfo should work in scroll or window mode, but doesn't
                   5359: # take advantage of any of the differences between them.
                   5360: #
                   5361: # Has memory below (2 lines!)
                   5362: # 3 pages of memory (plus some spare)
1.5       tholo    5363: # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
                   5364: # <hpa>, :st: would work for these, but these work in both scroll and window
1.2       deraadt  5365: # mode... Unset insert character so insert mode works
1.5       tholo    5366: # :i1: sets 80 column mode,
                   5367: # :is: escape sequence:
1.1       deraadt  5368: # 1) turn off all fonts
                   5369: # 2) function keys off, keyboard lock off, control display off,
                   5370: #    insert mode off, erasure mode off,
                   5371: # 3) full duplex, monitor mode off, send graphics off, nl on lf off
                   5372: # 4) reset origin mode
                   5373: # 5) set line wraparound
                   5374: # 6) exit erasure mode, positional attribute mode, and erasure extent mode
                   5375: # 7) clear margins
                   5376: # 8) program ENTER to transmit ^J,
                   5377: # We use \212 to program the ^J because a bare ^J will get translated by
                   5378: # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
                   5379: #     1      2            3              4     5     6    7  8
1.5       tholo    5380: # :i3: set screen color to black,
1.1       deraadt  5381: # No representation in terminfo for the delete word key: kdw1=\Ed
                   5382: # Key capabilities assume the power-up send sequence...
1.5       tholo    5383: # This :te: is not strictly necessary, but it helps maximize
                   5384: # memory usefulness: :te=\Ez:,
                   5385: # Alternate sgr0:      :me=\E[m\EW^O:,
                   5386: # 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  5387: # smkx programs the SYS PF keys to send a set sequence.
                   5388: # It also sets up labels f1, f2, ..., f8, and sends edit keys.
1.5       tholo    5389: # This string causes them to send the strings :k1:-:k8:
1.1       deraadt  5390: # when pressed in SYS PF mode.
1.2       deraadt  5391: # (att4415: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5392: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  5393: att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
1.8     ! tholo    5394:        :bs:db:mi:xo:\
1.3       deraadt  5395:        :Nl#8:lh#2:lm#78:lw#8:ws#55:\
1.5       tholo    5396:        :@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:\
                   5397:        :DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
                   5398:        :LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
                   5399:        :UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
                   5400:        :cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
                   5401:        :ei=\E[4l:ho=\E[x:i1=\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
1.2       deraadt  5402:        :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    5403:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5404:        :k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
                   5405:        :kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
                   5406:        :ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
                   5407:        :l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
                   5408:        :me=\E[m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
                   5409:        :ts=\E7\E[25;%p1%{8}%+%dH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
                   5410:        :vs=\E[11;1j:\
                   5411:        :tc=att4410:
1.1       deraadt  5412:
                   5413: att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
                   5414:        :co#132:lm#54:ws#97:\
                   5415:        :i1=\E[?3h:tc=att4415:
                   5416:
                   5417: att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
1.5       tholo    5418:        :i2=\E[?5h:vb=\E[?5l\E[?5h:\
                   5419:        :tc=att4415:
1.1       deraadt  5420:
                   5421: att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
                   5422:        :co#132:lm#54:ws#97:\
                   5423:        :i1=\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
                   5424:
                   5425: # Note that this mode permits programming USER PF KEYS and labels
                   5426: # However, when you program user pf labels you have to reselect
                   5427: # user pf keys to make them appear!
1.8     ! tholo    5428: att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
1.3       deraadt  5429:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
1.8     ! tholo    5430:        :..pn=\E[%p1%d;0;0;1q%p2%:-16.16s:\
1.3       deraadt  5431:        :..px=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s:
1.1       deraadt  5432:
1.8     ! tholo    5433: att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
1.5       tholo    5434:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5435:        :tc=att4415+nl:tc=att4415:
1.1       deraadt  5436:
                   5437: att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
1.5       tholo    5438:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5439:        :tc=att4415+nl:tc=att4415-rv:
1.1       deraadt  5440:
                   5441: att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
1.5       tholo    5442:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5443:        :tc=att4415+nl:tc=att4415-w:
1.1       deraadt  5444:
                   5445: 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    5446:        :k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:\
                   5447:        :tc=att4415+nl:tc=att4415-w-rv:
1.1       deraadt  5448:
                   5449: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5450: # (sgr removed to fit entry within 1023 bytes)
                   5451: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5452: att5420_2|AT&T 5420 model 2 80 cols:\
                   5453:        :am:db:hs:mi:ms:xo:\
                   5454:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5455:        :AL=\E[%dL:CM=\E[%i%p1%d;%p2%dt:DC=\E[%dP:DL=\E[%dM:\
                   5456:        :IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
1.5       tholo    5457:        :UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
                   5458:        :cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
                   5459:        :dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
                   5460:        :ho=\E[H:\
1.1       deraadt  5461:        :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:\
                   5462:        :ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5       tholo    5463:        :k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
                   5464:        :kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5465:        :ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[m\017:\
                   5466:        :mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:\
                   5467:        :sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   5468:        :ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:us=\E[4m:\
                   5469:        :vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
1.1       deraadt  5470: att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
                   5471:        :co#132:\
                   5472:        :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:
                   5473:
1.2       deraadt  5474: att4418|att5418|AT&T 5418 80 cols:\
1.1       deraadt  5475:        :am:xo:\
                   5476:        :co#80:li#24:\
1.5       tholo    5477:        :@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
                   5478:        :F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
                   5479:        :FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
                   5480:        :RI=\E[%dC:UP=\E[%dA:\
                   5481:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5482:        :ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
                   5483:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5484:        :i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
                   5485:        :k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%:\
                   5486:        :kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
                   5487:        :me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
                   5488:        :se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5489: att4418-w|att5418-w|AT&T 5418 132 cols:\
                   5490:        :co#132:\
                   5491:        :i1=\E[?3h:tc=att5418:
                   5492:
1.2       deraadt  5493: att4420|tty4420|teletype 4420:\
1.8     ! tholo    5494:        :bs:da:db:eo:ms:ul:xo:\
1.1       deraadt  5495:        :co#80:li#24:lm#72:\
1.5       tholo    5496:        :al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
                   5497:        :dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
1.8     ! tholo    5498:        :kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
1.5       tholo    5499:        :kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
                   5500:        :l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7 :so=\E}:\
1.8     ! tholo    5501:        :ue=\EZ:up=\EA:us=\E\:
1.1       deraadt  5502:
1.8     ! tholo    5503: #  The following is a terminfo entry for the Teletype 4424
1.1       deraadt  5504: #  asynchronous keyboard-display terminal.  It supports
1.8     ! tholo    5505: #  the vi editor.  The terminal must be set up as follows,
1.1       deraadt  5506: #
                   5507: #      HIGHLIGHT DEFINITION    3-TONE
                   5508: #      DISPLAY FUNCTION        GROUP III
                   5509: #
                   5510: #  The second entry below provides limited (a la adm3a)
                   5511: #  operation under GROUP II.
                   5512: #
                   5513: #  This must be used with DISPLAY FUNCTION GROUP I or III
                   5514: #      and HIGHLIGHT DEFINITION 3-TONE
                   5515: # The terminal has either bold or blink, depending on options
                   5516: #
1.8     ! tholo    5517: # (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
1.1       deraadt  5518: att4424|tty4424|teletype 4424:\
1.8     ! tholo    5519:        :am:bs:xo:\
1.1       deraadt  5520:        :co#80:li#24:\
                   5521:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5522:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
                   5523:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5524:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
                   5525:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
1.8     ! tholo    5526:        :dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
1.5       tholo    5527:        :is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
                   5528:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
                   5529:        :md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
1.1       deraadt  5530:        :..sa=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m:\
1.8     ! tholo    5531:        :se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
        !          5532:        :us=\E\:
1.1       deraadt  5533:
                   5534: att4424-1|tty4424-1|teletype 4424 in display function group I:\
1.5       tholo    5535:        :kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:\
                   5536:        :tc=att4424:
1.3       deraadt  5537:
                   5538: # This entry is not one of AT&T's official ones, it was translated from the
                   5539: # 4.4BSD termcap file.  The highlight strings are different from att4424.
                   5540: # I have no idea why this is -- older firmware version, maybe?
                   5541: # The following two lines are the comment originally attached to the entry:
                   5542: # This entry appears to avoid the top line - I have no idea why.
                   5543: # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
                   5544: att4424m|tty4424m|teletype 4424M:\
                   5545:        :am:da:db:mi:\
                   5546:        :co#80:it#8:li#23:\
1.5       tholo    5547:        :al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
1.8     ! tholo    5548:        :cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
1.5       tholo    5549:        :is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
                   5550:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
                   5551:        :nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
                   5552:        :ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  5553:
                   5554: # The Teletype 5425 is really version 2 of the Teletype 5420. It
                   5555: # is quite similar, except for some minor differences. No page
1.5       tholo    5556: # mode, for example, so all of the :cm: sequences used above have
1.1       deraadt  5557: # to change back to what's being used for the 5410. Many of the
                   5558: # option settings have changed their numbering as well.
                   5559: #
                   5560: # This has been tested on a preliminary model.
                   5561: #
1.2       deraadt  5562: # (att5425: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  5563: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.3       deraadt  5564: # (sgr removed to fit entry within 1023 bytes)
                   5565: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  5566: att5425|tty5425|att4425|AT&T 4425/5425:\
                   5567:        :am:da:db:hs:mi:ms:xn:xo:\
                   5568:        :co#80:it#8:li#24:lm#78:ws#55:\
                   5569:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5570:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5571:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5572:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
                   5573:        :dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
                   5574:        :i1=\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
1.2       deraadt  5575:        :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    5576:        :k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
                   5577:        :k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
1.1       deraadt  5578:        :ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5579:        :ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
1.2       deraadt  5580:        :mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:\
1.5       tholo    5581:        :nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:\
                   5582:        :sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%p1%{8}%+%dH:ue=\E[m:\
                   5583:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
                   5584:        :vs=\E[12;1j:
1.1       deraadt  5585:
                   5586: att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
1.5       tholo    5587:        :ks=\E[21;1j\E[25;4j\Eent:\
                   5588:        :tc=att4425:
1.1       deraadt  5589:
                   5590: att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
                   5591:        :co#132:lm#54:ws#97:\
                   5592:        :i1=\E[?3h:tc=tty5425:
                   5593:
1.2       deraadt  5594: # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
                   5595: # I also added <rmam>/<smam> -- esr)
1.1       deraadt  5596: att4426|tty4426|teletype 4426S:\
                   5597:        :am:da:db:xo:\
                   5598:        :co#80:li#24:lm#48:\
                   5599:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5600:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
1.5       tholo    5601:        :SR=\E[%dT:UP=\E[%dA:\
                   5602:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   5603:        :ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
                   5604:        :cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
                   5605:        :ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
1.8     ! tholo    5606:        :i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
        !          5607:        :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
        !          5608:        :kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
        !          5609:        :kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
        !          5610:        :mr=\E[7m:nd=\E[C:nw=^M^J:r2=\Ec\E[?3l\E[2;0y:rc=\E8:\
        !          5611:        :sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
        !          5612:        :up=\EA:us=\E[4m:
1.1       deraadt  5613:
                   5614: # Terminfo entry for the AT&T 510 A Personal Terminal
                   5615: # Function keys 9 - 16 are available only after the
                   5616: # screen labeled (soft keys/action blocks) are labeled.  Function key
                   5617: # 9 corresponds to the leftmost touch target on the screen,
                   5618: # function key 16 corresponds to the rightmost.
                   5619: #
                   5620: # This entry is based on one done by Ernie Rice at Summit, NJ and
                   5621: # changed by Anne Gallup, Skokie, IL, ttrdc!anne
1.3       deraadt  5622: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.8     ! tholo    5623: att510a|bct510a|AT&T 510A Personal Terminal:\
1.1       deraadt  5624:        :am:mi:ms:xn:xo:\
1.3       deraadt  5625:        :Nl#8:co#80:lh#2:li#24:lw#7:\
1.5       tholo    5626:        :#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
                   5627:        :F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
                   5628:        :RI=\E[%dC:UP=\E[%dA:\
1.8     ! tholo    5629:        :ac=hrisjjkkllmmnnqqttuuvvwwxx{{||}}~~-f\054h.e+g`b:\
1.3       deraadt  5630:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
                   5631:        :ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   5632:        :dc=\E[P:dl=\E[M:do=\E[1B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
                   5633:        :i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
1.5       tholo    5634:        :k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
                   5635:        :k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
                   5636:        :kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
                   5637:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5638:        :pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5639:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5640:        :ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
1.1       deraadt  5641:
                   5642: # Terminfo entry for the AT&T 510 D Personal Terminal
                   5643: # Function keys 9 through 16 are accessed by bringing up the
                   5644: # system blocks.
                   5645: # Function key 9 corresponds to the leftmost touch target on the screen,
                   5646: # function key 16 corresponds to the rightmost.
                   5647: #
                   5648: # There are problems with soft key labeling.  These are due to
                   5649: # strangenesses in the native terminal that are impossible to
                   5650: # describe in a terminfo.
1.3       deraadt  5651: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5652: # (sgr removed to fit entry within 1023 bytes)
                   5653: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5654: att510d|bct510d|AT&T 510D Personal Terminal:\
1.1       deraadt  5655:        :am:da:db:mi:ms:xn:xo:\
                   5656:        :co#80:li#24:lm#48:\
                   5657:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5658:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5659:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
                   5660:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[1B:\
                   5661:        :ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
                   5662:        :i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
                   5663:        :k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:kb=^H:kd=\E[B:\
                   5664:        :ke=\E[19;0|:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:\
                   5665:        :ll=\E#2:mb=\E[5m:md=\E[2;7m:me=\E[m\017:mh=\E[2m:\
                   5666:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5667:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   5668:        :ve=\E[11;3|:vs=\E[11;2|:
1.1       deraadt  5669:
1.2       deraadt  5670: # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
1.3       deraadt  5671: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5672: # (sgr removed to fit entry within 1023 bytes)
                   5673: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5674: att500|att513|AT&T 513 using page mode:\
1.1       deraadt  5675:        :am:mi:ms:xn:xo:\
                   5676:        :co#80:li#24:\
                   5677:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5678:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
                   5679:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5680:        :cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=\E[P:\
                   5681:        :dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
1.1       deraadt  5682:        :i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
1.5       tholo    5683:        :im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
                   5684:        :k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
                   5685:        :kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
                   5686:        :ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
                   5687:        :md=\E[2;7m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
                   5688:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
1.2       deraadt  5689:        :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
1.1       deraadt  5690:
                   5691: # 01-07-88
                   5692: # printer must be set to EMUL ANSI to accept ESC codes
1.5       tholo    5693: # :up: stops at top margin
                   5694: # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1.1       deraadt  5695: #      and alt font ascii,wrap on,tabs cleared
1.5       tholo    5696: # :is: disables newline on LF,Emphasized off
1.2       deraadt  5697: # The <u0> capability sets form length
1.5       tholo    5698: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5699: # (sgr removed to fit entry within 1023 bytes)
                   5700: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  5701: att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
1.5       tholo    5702:        :co#132:it#8:li#66:\
                   5703:        :DO=\E[%de:RI=\E[%da:cr=^M:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:\
                   5704:        :nd= :ta=^I:up=\EM:
1.1       deraadt  5705:
1.8     ! tholo    5706: # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
        !          5707: # The following SET-UP modes are assumed for normal operation:
        !          5708: #      CR_DEF=CR       NL_DEF=INDEX    DUPLEX=FULL
        !          5709: # Other SET-UP modes may be set for operator convenience or communication
        !          5710: # requirements.  This termcap description is for the Resident Terminal Mode.
        !          5711: # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          5712: # The BRL entry also said: UNSAFE :ll=\E[70H:
        !          5713: att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
        !          5714:        :am:xo:\
        !          5715:        :co#88:it#8:li#70:vt#3:\
        !          5716:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
        !          5717:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          5718:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
        !          5719:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
        !          5720:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
        !          5721:        :rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
        !          5722:
1.1       deraadt  5723: # 5620 terminfo  (2.0 or later ROMS with char attributes)
1.8     ! tholo    5724: # The following SET-UP modes are assumed for normal operation:
        !          5725: #      DUPLEX=FULL     GEN_FLOW=ON     NEWLINE=INDEX   RETURN=CR
        !          5726: # Other SET-UP modes may be set for operator convenience or communication
        !          5727: # requirements.  This termcap description is for Resident Terminal Mode.  No
        !          5728: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.5       tholo    5729: # assumptions: :sf: (scroll forward one line) is only done at screen bottom
1.3       deraadt  5730: # Be aware that older versions of the dmd have a firmware bug that affects
                   5731: # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1.8     ! tholo    5732: # :ms: is from an otherwise inferior BRL for this terminal.  That entry
        !          5733: # also has :ll:=\E[70H commented out and marked unsafe.
1.2       deraadt  5734: # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
1.1       deraadt  5735: att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
1.8     ! tholo    5736:        :NL:NP:am:bs:ms:xo:\
1.1       deraadt  5737:        :co#88:it#8:li#70:\
                   5738:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
                   5739:        :SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
1.5       tholo    5740:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   5741:        :ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
                   5742:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
                   5743:        :mr=\E[7m:nd=\E[C:nw=^J:..px=\E[%p1%d;%p2%l%dq%p2%s:\
                   5744:        :r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
                   5745:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
1.8     ! tholo    5746: att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
1.3       deraadt  5747:        :li#24:tc=att5620:
1.8     ! tholo    5748: att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
1.3       deraadt  5749:        :li#34:tc=att5620:
1.8     ! tholo    5750: # 5620 layer running the "S" system's downloaded graphics handler:
        !          5751: att5620-s|tty5620-s|layer|vitty|5620 S layer:\
        !          5752:        :am:bs:pt:\
        !          5753:        :co#80:it#8:li#72:\
        !          5754:        :al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
        !          5755:        :do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          5756:        :kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
1.1       deraadt  5757:
1.2       deraadt  5758: # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1.1       deraadt  5759: #
1.2       deraadt  5760: # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1.1       deraadt  5761: # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
1.3       deraadt  5762: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5763: # (sgr removed to fit entry within 1023 bytes)
                   5764: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5765: att605|AT&T 605 80 column 102key keyboard:\
1.1       deraadt  5766:        :am:eo:xo:\
                   5767:        :co#80:li#24:ws#80:\
1.5       tholo    5768:        :DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
                   5769:        :bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   5770:        :cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
1.1       deraadt  5771:        :i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
1.2       deraadt  5772:        :is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
1.5       tholo    5773:        :k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
                   5774:        :kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5775:        :le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
                   5776:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
                   5777:        :so=\E[7m:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5778:        :us=\E[4m:
1.8     ! tholo    5779: att605-pc|ATT 605 in pc term mode:\
1.5       tholo    5780:        :@7=\E[F:AL=\E[L:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:\
                   5781:        :XF=g:XN=e:\
1.3       deraadt  5782:        :ac=k\277l\332m\300j\331n\305w\302q\304u\264t\303v\301x\263:\
1.5       tholo    5783:        :al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
                   5784:        :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
                   5785:        :k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
                   5786:        :kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   5787:        :le=\E[D:nd=\E[C:up=\E[A:\
                   5788:        :tc=att605:
1.8     ! tholo    5789: att605-w|AT&T 605-w 132 column 102 key keyboard:\
1.1       deraadt  5790:        :co#132:ws#132:\
                   5791:        :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  5792: # (att610: I added <rmam>/<smam> based on the init string.  I also
1.8     ! tholo    5793: # added :SF: and :SR: because the BSD file says the att615s have them,
1.3       deraadt  5794: # and the 615 is like a 610 with a big keyboard, and most of their other
                   5795: # smart terminals support the same sequence -- esr)
                   5796: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5797: # (sgr removed to fit entry within 1023 bytes)
                   5798: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5799: att610|AT&T 610; 80 column; 98key keyboard:\
1.1       deraadt  5800:        :am:es:hs:mi:ms:xn:xo:\
                   5801:        :co#80:it#8:li#24:ws#80:\
                   5802:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5803:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
                   5804:        :al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   5805:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
                   5806:        :do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5807:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
1.5       tholo    5808:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5809:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5810:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5811:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5812:        :nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:\
1.1       deraadt  5813:        :ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:us=\E[4m:\
                   5814:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5815:        :vs=\E[?12;25h:
1.8     ! tholo    5816: att610-w|AT&T 610; 132 column; 98key keyboard:\
1.1       deraadt  5817:        :co#132:ws#132:\
                   5818:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610:
                   5819:
1.8     ! tholo    5820: att610-103k|AT&T 610; 80 column; 103key keyboard:\
1.5       tholo    5821:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5822:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5823:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5824:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5825:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5826:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5827:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5828:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
                   5829:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5830:        :tc=att610:
1.8     ! tholo    5831: att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
1.1       deraadt  5832:        :co#132:ws#132:\
                   5833:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att610-103k:
1.8     ! tholo    5834: att615|AT&T 615; 80 column; 98key keyboard:\
1.5       tholo    5835:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5836:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5837:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5838:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5839:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5840:        :tc=att610:
1.8     ! tholo    5841: att615-w|AT&T 615; 132 column; 98key keyboard:\
1.5       tholo    5842:        :#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
                   5843:        :FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
                   5844:        :FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
                   5845:        :FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
                   5846:        :FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
                   5847:        :tc=att610-w:
1.8     ! tholo    5848: att615-103k|AT&T 615; 80 column; 103key keyboard:\
1.5       tholo    5849:        :#4=\E[ A:%i=\E[ @:\
                   5850:        :tc=att610-103k:
1.8     ! tholo    5851: att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
1.5       tholo    5852:        :#4=\E[ A:%i=\E[ @:\
                   5853:        :tc=att610-103k-w:
1.3       deraadt  5854: # (att620: I added <rmam>/<smam> based on the init string and
1.5       tholo    5855: # :SR:/:SF: from a BSD termcap -- esr)
1.3       deraadt  5856: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5857: # (sgr removed to fit entry within 1023 bytes)
                   5858: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5859: att620|AT&T 620; 80 column; 98key keyboard:\
1.1       deraadt  5860:        :am:es:hs:mi:ms:xn:xo:\
                   5861:        :co#80:it#8:li#24:ws#80:\
                   5862:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  5863:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1.5       tholo    5864:        :ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
                   5865:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
                   5866:        :dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
1.1       deraadt  5867:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
1.5       tholo    5868:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5869:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
                   5870:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
                   5871:        :mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
                   5872:        :nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   5873:        :sr=\EM:ta=^I:ts=\E7\E[25;%i%p1%dx:ue=\E[m:up=\E[A:\
                   5874:        :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
1.1       deraadt  5875:        :vs=\E[?12;25h:
1.8     ! tholo    5876: att620-w|AT&T 620; 132 column; 98key keyboard:\
1.1       deraadt  5877:        :co#132:ws#132:\
                   5878:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620:
1.8     ! tholo    5879: att620-103k|AT&T 620; 80 column; 103key keyboard:\
1.5       tholo    5880:        :!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
                   5881:        :%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
                   5882:        :%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
                   5883:        :%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
                   5884:        :&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
                   5885:        :*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
                   5886:        :*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
                   5887:        :@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
                   5888:        :F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
                   5889:        :FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
                   5890:        :kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:\
                   5891:        :tc=att620:
1.1       deraadt  5892:
1.8     ! tholo    5893: att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
1.1       deraadt  5894:        :co#132:ws#132:\
                   5895:        :i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:tc=att620-103k:
                   5896:
1.8     ! tholo    5897: # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
        !          5898: # The following SETUP modes are assumed for normal operation:
        !          5899: #      Local_Echo=Off  Gen_Flow=On     Return=CR       Received_Newline=LF
        !          5900: #      Font_Size=Large         Non-Layers_Window_Cols=80
        !          5901: #                              Non-Layers_Window_Rows=60
        !          5902: # Other SETUP modes may be set for operator convenience or communication
        !          5903: # requirements.  Some capabilities assume a printer attached to the Aux EIA
        !          5904: # port.  This termcap description is for the Fixed Non-Layers Window.  No
        !          5905: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.5       tholo    5906: # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
1.8     ! tholo    5907: att630|AT&T 630 windowing terminal:\
        !          5908:        :NP:am:bs:da:db:mi:ms:xo:\
1.1       deraadt  5909:        :co#80:it#8:li#60:lm#0:\
1.5       tholo    5910:        :@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
                   5911:        :F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
                   5912:        :F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
                   5913:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
                   5914:        :al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   5915:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
                   5916:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
                   5917:        :kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
                   5918:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   5919:        :me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
                   5920:        :po=\E[?5i:..px=\E[%p1%d;%p2%l%dq%p2%s:r2=\Ec:rc=\E8:\
1.1       deraadt  5921:        :..sa=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m:\
                   5922:        :sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   5923:        :up=\E[A:us=\E[4m:
                   5924: att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
1.3       deraadt  5925:        :li#24:tc=att630:
1.1       deraadt  5926:
                   5927: # This entry was modified 3/13/90 by JWE.
1.5       tholo    5928: # fixes include additions of <enacs>, correcting :rp:, and modification
1.2       deraadt  5929: # of <kHOM>.  (See comments below)
                   5930: # att730 has status line of 80 chars
1.5       tholo    5931: # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
1.2       deraadt  5932: # the <kf25> and up keys are used for shifted system Fkeys
1.1       deraadt  5933: # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1.5       tholo    5934: # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
1.1       deraadt  5935: # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1.2       deraadt  5936: # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1.1       deraadt  5937: # 102, 102+1, or 122 key keyboards
                   5938: #       kHOM=\E[2J,
1.2       deraadt  5939: # (att730: I added <rmam>/<smam> based on the init string -- esr)
1.3       deraadt  5940: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   5941: # (sgr removed to fit entry within 1023 bytes)
                   5942: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.8     ! tholo    5943: att730|AT&T 730 windowing terminal:\
1.1       deraadt  5944:        :am:da:db:es:hs:mi:ms:xn:xo:\
                   5945:        :co#80:it#8:li#60:lm#0:ws#80:\
                   5946:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    5947:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
                   5948:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   5949:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
                   5950:        :ho=\E[H:\
1.1       deraadt  5951:        :i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
1.5       tholo    5952:        :i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
                   5953:        :k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
                   5954:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   5955:        :mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:\
                   5956:        :nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
                   5957:        :ta=^I:ts=\E7\E[;%i%p1%dx:ue=\E[24m:up=\E[A:us=\E[4m:\
1.1       deraadt  5958:        :vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
                   5959:        :vs=\E[?12;25h:
                   5960: att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
1.3       deraadt  5961:        :li#41:tc=att730:
1.1       deraadt  5962: att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
1.3       deraadt  5963:        :li#24:tc=att730:
1.1       deraadt  5964: att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
                   5965:        :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    5966:        :vb=\E[?5l\E[?5h:\
                   5967:        :tc=att730:
1.1       deraadt  5968: att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
1.3       deraadt  5969:        :li#41:tc=att730r:
1.1       deraadt  5970: att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
1.3       deraadt  5971:        :li#24:tc=att730r:
1.1       deraadt  5972:
                   5973: # The following represents the screen layout along with the associated
                   5974: # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
                   5975: # not appear on the screen but are shown to reference the bezel buttons.
                   5976: # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
                   5977: # position relative to the screen.
                   5978: #
                   5979: #
                   5980: #
                   5981: #      +----------------------------------------------------------------+
                   5982: #      |                                                                |
                   5983: # XXXX | kf0                                                       kf24 | XXXX
                   5984: #      |                                                                |
                   5985: #      |                                                                |
                   5986: # XXXX | kf1                                                       kf23 | XXXX
                   5987: #      |                                                                |
                   5988: #      |                                                                |
                   5989: # XXXX | kf2                                                       kf22 | XXXX
                   5990: #      |                                                                |
                   5991: #      |                                                                |
                   5992: # XXXX | kf3                                                       kf21 | XXXX
                   5993: #      |                                                                |
                   5994: #      |                                                                |
                   5995: # XXXX | kf4                                                       kf20 | XXXX
                   5996: #      |                                                                |
                   5997: #      |                                                                |
                   5998: # XXXX | kf5                                                       kf19 | XXXX
                   5999: #      |                                                                |
                   6000: #      |                                                                |
                   6001: # XXXX | kf6                                                       kf18 | XXXX
                   6002: #      |                                                                |
                   6003: #      |                                                                |
                   6004: # XXXX |                                                                | XXXX
                   6005: #      |                                                                |
                   6006: #      |                                                                |
                   6007: #      +----------------------------------------------------------------+
                   6008: #
                   6009: #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
                   6010: #
                   6011: # Note: XXXX represents the screen buttons
                   6012: #                                                          CMD   REDRAW
                   6013: #
                   6014: #                                                          MAIL
                   6015: #
1.2       deraadt  6016: # version 1 note:
                   6017: #      The character string sent by key 'kf26' may be user programmable
                   6018: #       to send either \E[16s, or \E[26s.
                   6019: #       The character string sent by key 'krfr' may be user programmable
                   6020: #       to send either \E[17s, or \E[27s.
                   6021: #
1.1       deraadt  6022: # Depression of the "CMD" key sends    \E!    (kcmd)
                   6023: # Depression of the "MAIL" key sends   \E[26s (kf26)
                   6024: # "REDRAW" same as "REFRESH" (krfr)
                   6025: #
                   6026: # "kf" functions adds carriage return to output string if terminal is in
                   6027: # 'new line' mode.
                   6028: #
                   6029: # The following are functions not covered in the table above:
                   6030: #
                   6031: #       Set keyboard character (SKC): \EPn1;Pn2w
                   6032: #                       Pn1= 0 Back Space key
                   6033: #                       Pn1= 1 Break key
                   6034: #                       Pn2=   Program char (hex)
                   6035: #
                   6036: #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
                   6037: #                       Pn1=     Window number (1-39)
                   6038: #                       Pn2-Pn5= Y;X;Y;X coordinates
                   6039: #
                   6040: #       Screen Selection (SSL): \E[Pnu
                   6041: #                       Pn= Window number
                   6042: #
                   6043: #       Set Terminal Modes (SM): \E[Pnh
                   6044: #                       Pn= 3 Graphics mode
                   6045: #                       Pn= > Cursor blink
                   6046: #                       Pn= < Enter new line mode
                   6047: #                       Pn= = Enter reverse insert/replace mode
                   6048: #                       Pn= ? Enter no scroll mode
                   6049: #
                   6050: #       Reset Terminal Mode (RM): \E[Pnl
                   6051: #                       Pn= 3 Exit graphics mode
                   6052: #                       Pn= > Exit cursor blink
                   6053: #                       Pn= < Exit new line mode
                   6054: #                       Pn= = Exit reverse insert/replace mode
                   6055: #                       Pn= ? Exit no scroll mode
                   6056: #
                   6057: #       Screen Status Report (SSR): \E[Pnp
                   6058: #                       Pn= 0 Request current window number
                   6059: #                       Pn= 1 Request current window dimensions
                   6060: #
                   6061: #       Device Status Report (DSR): \E[6n    Request cursor position
                   6062: #
                   6063: #       Call Status Report (CSR): \E[Pnv
                   6064: #                       Pn= 0 Call failed
                   6065: #                       Pn= 1 Call successful
                   6066: #
                   6067: #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
                   6068: #                       Pn1= Button number to be loaded
                   6069: #                       Pn2= Character count of "string"
                   6070: #                       Pn3= Key mode being loaded:
                   6071: #                               0= Unshifted
                   6072: #                               1= Shifted
                   6073: #                               2= Control
                   6074: #                       String= Text string (15 chars max)
                   6075: #
                   6076: #       Screen Number Report (SNR): \E[Pnp
                   6077: #                       Pn= Screen number
                   6078: #
                   6079: #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
                   6080: #                       Pn1= Number of rows available in window
                   6081: #                       Pn2= Number of columns available in window
                   6082: #
                   6083: #       Cursor Position Report (CPR): \E[Pn1;Pn2R
1.3       deraadt  6084: #                       Pn1= "Y" Position of cursor
1.1       deraadt  6085: #                       Pn2= "X" Position of cursor
                   6086: #
                   6087: #       Request Answer Back (RAB): \E[c
                   6088: #
                   6089: #       Answer Back Response (ABR): \E[?;*;30;VSV
                   6090: #                       *=  0 No printer available
                   6091: #                       *=  2 Printer available
                   6092: #                       V=  Software version number
                   6093: #                       SV= Software sub version number
1.2       deraadt  6094: #      (printer-available field not documented in v1)
1.1       deraadt  6095: #
1.3       deraadt  6096: #       Screen Alignment Aid: \En
1.1       deraadt  6097: #
                   6098: #       Bell (lower pitch): \E[x
                   6099: #
                   6100: #       Dial Phone Number: \EPdstring\
                   6101: #                       string= Phone number to be dialed
                   6102: #
                   6103: #       Set Phone Labels: \EPpstring\
                   6104: #                       string= Label for phone buttons
                   6105: #
                   6106: #       Set Clock: \EPchour;minute;second\
                   6107: #
                   6108: #       Position Clock: \EPsY;X\
                   6109: #                       Y= "Y" coordinate
                   6110: #                       X= "X" coordinate
                   6111: #
                   6112: #       Delete Clock: \Epr\
                   6113: #
                   6114: #       Programming The Function Buttons: \EPfPn;string\
                   6115: #                       Pn= Button number (00-06, 18-24)
                   6116: #                                         (kf00-kf06, kf18-kf24)
                   6117: #                       string= Text to sent on button depression
                   6118: #
1.2       deraadt  6119: # The following in version 2 only:
                   6120: #
1.1       deraadt  6121: #       Request For Local Directory Data: \EPp12;\
                   6122: #
                   6123: #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
                   6124: #
                   6125: #      Request for Local Directory Data in print format: \EPp13;\
                   6126: #
                   6127: #      Enable 'Prt on Line' mode: \022 (DC2)
                   6128: #
                   6129: #      Disable 'Prt on Line' mode: \024 (DC4)
                   6130: #
1.2       deraadt  6131:
                   6132: # 05-Aug-86:
                   6133: # The following Terminfo entry describes functions which are supported by
                   6134: # the AT&T 5430/pt505 terminal software version 2 and later.
1.1       deraadt  6135: att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
                   6136:        :am:xo:\
                   6137:        :co#80:it#8:li#24:\
1.8     ! tholo    6138:        :&2=\E[27s:@4=\E\041:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          6139:        :DO=\E[%dB:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:\
        !          6140:        :FC=\E[22s:FD=\E[23s:FE=\E24s:FG=\E26s:LE=\E[%dD:\
        !          6141:        :RA=\E[11;1j:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
1.5       tholo    6142:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  6143:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E2K:cd=\E[0J:\
1.5       tholo    6144:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   6145:        :do=\E[B:ei=\E[4l:ho=\E[H:\
1.8     ! tholo    6146:        :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  6147:        :im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
                   6148:        :k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
1.2       deraadt  6149:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
1.5       tholo    6150:        :mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
                   6151:        :se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
                   6152:        :ve=\E[>l:vs=\E[>h:
1.1       deraadt  6153:
                   6154: # The following Terminfo entry describes functions which are supported by
                   6155: # the AT&T 5430/pt505 terminal software version 1.
1.2       deraadt  6156: att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
                   6157:        :li#24:\
1.3       deraadt  6158:        :RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
1.2       deraadt  6159: tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
1.3       deraadt  6160:        :li#22:tc=att505:
1.1       deraadt  6161: #
                   6162: # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
                   6163: # This cut mark helps make life less painful for people running ncurses tic
                   6164: # on machines with relatively little RAM.  The file can be broken in half here
                   6165: # cleanly and compiled in sections -- no `use' references cross this cut
                   6166: # going forward.
                   6167: #
                   6168:
                   6169: #### Ampex (Dialogue)
                   6170: #
                   6171: # Yes, these are the same people who are better-known for making audio- and
                   6172: # videotape.  I'm told they are located in Redwood City, CA.
1.5       tholo    6173: #
1.1       deraadt  6174:
                   6175: # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1.2       deraadt  6176: # (ampex80: some capabilities merged in from SCO's entry -- esr)
                   6177: ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
1.8     ! tholo    6178:        :am:bs:bw:ul:\
1.2       deraadt  6179:        :co#80:it#8:li#24:\
1.5       tholo    6180:        :al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
                   6181:        :cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:le=^H:\
                   6182:        :nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:
1.1       deraadt  6183: # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
                   6184: ampex175|ampex d175:\
                   6185:        :am:\
                   6186:        :co#80:li#24:\
1.5       tholo    6187:        :al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
                   6188:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
                   6189:        :kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
                   6190:        :le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
                   6191:        :ue=\Em:up=^K:us=\El:
1.1       deraadt  6192: # No backspace key in the main QWERTY cluster. Fortunately, it has a
                   6193: # NEWLINE/PAGE key just above RETURN that sends a strange single-character
                   6194: # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
                   6195: # mode), this key can be used as the erase key; I find I like this. Because
                   6196: # some people and some systems may not, there is another termcap ("ampex175")
                   6197: # that suppresses this little eccentricity by omitting the relevant capability.
                   6198: ampex175-b|ampex d175 using left arrow for erase:\
1.5       tholo    6199:        :kb=^_:\
                   6200:        :tc=ampex175:
1.1       deraadt  6201: # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1.2       deraadt  6202: # (ampex210: removed obsolete ":kn#10:" -- esr)
1.1       deraadt  6203: ampex210|a210|ampex a210:\
1.8     ! tholo    6204:        :am:bs:hs:xn:\
1.5       tholo    6205:        :co#80:it#8:li#24:sg#1:\
                   6206:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   6207:        :dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
                   6208:        :im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
                   6209:        :k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
                   6210:        :k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
                   6211:        :kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
                   6212:        :vb=\EU\EX\EU\EX\EU\EX\EU\EX:\
                   6213:        :tc=adm+sgr:
1.8     ! tholo    6214: # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
        !          6215: # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
1.5       tholo    6216: # and moved the padding to be *after* the caps -- esr)
1.1       deraadt  6217: ampex219|ampex-219|amp219|Ampex with Automargins:\
                   6218:        :hs:xn:\
                   6219:        :co#80:it#8:li#24:\
1.3       deraadt  6220:        :RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   6221:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
                   6222:        :do=\E[B:ho=\E[H:\
1.5       tholo    6223:        :is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
                   6224:        :k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
                   6225:        :k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
                   6226:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
                   6227:        :me=\E[m:mh=\E[1m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:\
1.8     ! tholo    6228:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?3l:vs=\E[?3h:
1.1       deraadt  6229: ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
                   6230:        :co#132:li#24:\
1.5       tholo    6231:        :bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
1.8     ! tholo    6232:        :sf=^J:\
1.5       tholo    6233:        :tc=ampex219:
                   6234: # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
1.1       deraadt  6235: ampex232|ampex-232|Ampex Model 232:\
                   6236:        :am:\
1.5       tholo    6237:        :co#80:li#24:sg#1:\
                   6238:        :al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
                   6239:        :dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
                   6240:        :k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
                   6241:        :k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
                   6242:        :mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:\
                   6243:        :tc=adm+sgr:
                   6244: # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
1.1       deraadt  6245: ampex232w|Ampex Model 232 / 132 columns:\
                   6246:        :co#132:li#24:\
1.5       tholo    6247:        :is=\E\034Eg\El:tc=ampex232:
1.1       deraadt  6248:
                   6249: #### Ann Arbor (aa)
                   6250: #
1.5       tholo    6251: # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
                   6252: # numbers of function keys.  At least some used monitors in portrait mode,
1.8     ! tholo    6253: # allowing up to 76-character screen heights!  They were reachable at:
        !          6254: #
        !          6255: #      Ann Arbor Terminals
        !          6256: #      6175 Jackson Road
        !          6257: #      Ann Arbor, MI 48103
        !          6258: #      (313)-663-8000
        !          6259: #
        !          6260: # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
        !          6261: # can't be found on the Web; I fear they're long dead.  R.I.P.
1.5       tholo    6262: #
                   6263:
1.1       deraadt  6264:
                   6265: # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
                   6266: # Highly modified 6/22 by Mike O'Brien.
                   6267: # split out into several for the various screen sizes by dave-yost@rand
                   6268: # Modifications made 3/82 by Mark Horton
                   6269: # Modified by Tom Quarles at UCB for greater efficiency and more diversity
1.5       tholo    6270: # status line moved to top of screen, :vb: removed 5/82
1.1       deraadt  6271: # Some unknown person at SCO then hacked the init strings to make them more
                   6272: # efficient.
                   6273: #
                   6274: # assumes the following setup:
                   6275: #   A menu: 0000 1010  0001 0000
                   6276: #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6277: #   C menu: 56   66   0    0    9600  0110 1100
                   6278: #   D menu: 0110 1001   1   0
                   6279: #
                   6280: #      Briefly, the settings are for the following modes:
                   6281: #         (values are for bit set/clear with * indicating our preference
                   6282: #          and the value used to test these termcaps)
1.3       deraadt  6283: #      Note that many of these settings are irrelevent to the terminfo
1.1       deraadt  6284: #      and are just set to the default mode of the terminal as shipped
                   6285: #      by the factory.
                   6286: #
                   6287: # A menu: 0000 1010  0001 0000
                   6288: #      Block/underline cursor*
                   6289: #      blinking/nonblinking cursor*
                   6290: #      key click/no key click*
                   6291: #      bell/no bell at column 72*
                   6292: #
                   6293: #      key pad is cursor control*/key pad is numeric
1.5       tholo    6294: #      return and line feed/return for :cr: key *
1.1       deraadt  6295: #      repeat after .5 sec*/no repeat
                   6296: #      repeat at 25/15 chars per sec. *
                   6297: #
                   6298: #      hold data until pause pressed/process data unless pause pressed*
                   6299: #      slow scroll/no slow scroll*
                   6300: #      Hold in area/don't hold in area*
                   6301: #      functions keys have default*/function keys disabled on powerup
                   6302: #
                   6303: #      show/don't show position of cursor during page transmit*
                   6304: #      unused
                   6305: #      unused
                   6306: #      unused
                   6307: #
                   6308: # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
                   6309: #      Baud rate (9600*)
                   6310: #
                   6311: #      2 bits of parity - 00=odd,01=even*,10=space,11=mark
                   6312: #      1 stop bit*/2 stop bits
                   6313: #      parity error detection off*/on
                   6314: #
                   6315: #      keyboard local/on line*
                   6316: #      half/full duplex*
                   6317: #      disable/do not disable keyboard after data transmission*
                   6318: #
                   6319: #      transmit entire page/stop transmission at cursor*
                   6320: #      transfer/do not transfer protected characters*
                   6321: #      transmit all characters/transmit only selected characters*
                   6322: #      transmit all selected areas/transmit only 1 selected area*
                   6323: #
1.3       deraadt  6324: #      transmit/do not transmit line separators to host*
1.1       deraadt  6325: #      transmit/do not transmit page tab stops tabs to host*
                   6326: #      transmit/do not transmit column tab stop tabs to host*
                   6327: #      transmit/do not transmit graphics control (underline,inverse..)*
                   6328: #
                   6329: #      enable*/disable auto XON/XOFF control
                   6330: #      require/do not require receipt of a DC1 from host after each LF*
                   6331: #      pause key acts as a meta key/pause key is pause*
                   6332: #      unused
                   6333: #
                   6334: #      unused
                   6335: #      unused
                   6336: #      unused
                   6337: #      unused
                   6338: #
                   6339: #      XON character (17*)
                   6340: #      XOFF character (19*)
                   6341: #
                   6342: # C menu: 56   66   0    0    9600  0110 1100
                   6343: #      number of lines to print data on (printer) (56*)
                   6344: #
                   6345: #      number of lines on a sheet of paper (printer) (66*)
                   6346: #
                   6347: #      left margin (printer) (0*)
                   6348: #
                   6349: #      number of pad chars on new line to printer (0*)
                   6350: #
                   6351: #      printer baud rate (9600*)
                   6352: #
                   6353: #      printer parity: 00=odd,01=even*,10=space,11=mark
                   6354: #      printer stop bits: 2*/1
                   6355: #      print/do not print guarded areas*
                   6356: #
                   6357: #      new line is: 01=LF,10=CR,11=CRLF*
                   6358: #      unused
                   6359: #      unused
                   6360: #
                   6361: # D menu: 0110 1001   1   0
                   6362: #      LF is newline/LF is down one line, same column*
1.3       deraadt  6363: #      wrap to preceding line if move left from col 1*/don't wrap
1.1       deraadt  6364: #      wrap to next line if move right from col 80*/don't wrap
                   6365: #      backspace is/is not destructive*
                   6366: #
                   6367: #      display*/ignore DEL character
                   6368: #      display will not/will scroll*
                   6369: #      page/column tab stops*
                   6370: #      erase everything*/erase unprotected only
                   6371: #
                   6372: #      editing extent: 0=display,1=line*,2=field,3=area
                   6373: #
                   6374: #      unused
                   6375: #
                   6376:
1.2       deraadt  6377: annarbor4080|aa4080|ann arbor 4080:\
1.8     ! tholo    6378:        :am:bs:\
1.1       deraadt  6379:        :co#80:li#40:\
                   6380:        :bl=^G:cl=\014:\
                   6381:        :..cm=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c:\
1.5       tholo    6382:        :cr=^M:ct=^^P^P:do=^J:ho=^K:kb=^^:kd=^J:kh=^K:kl=^H:kr=^_:\
                   6383:        :ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:up=^N:
1.1       deraadt  6384:
1.8     ! tholo    6385: # Strange Ann Arbor terminal from BRL
        !          6386: aas1901|Ann Arbor K4080 w/S1901 mod:\
        !          6387:        :am:\
        !          6388:        :co#80:li#40:\
        !          6389:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
        !          6390:        :ll=^O\200c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
        !          6391:
1.1       deraadt  6392: # If you're using the GNU termcap library, add
1.2       deraadt  6393: #      :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1.1       deraadt  6394: # to these capabilities.  This is the nonstandard GNU termcap scrolling
                   6395: # capability, arguments are:
                   6396: #   1. Total number of lines on the screen.
                   6397: #   2. Number of lines above desired scroll region.
                   6398: #   3. Number of lines below (outside of) desired scroll region.
                   6399: #   4. Total number of lines on the screen, the same as the first parameter.
                   6400: # The generic Ann Arbor entry is the only one that uses this.
1.3       deraadt  6401: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6402: # (sgr removed to fit entry within 1023 bytes)
                   6403: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  6404: aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
1.8     ! tholo    6405:        :am:bs:km:mi:xo:\
1.1       deraadt  6406:        :co#80:it#8:\
                   6407:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6408:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
1.2       deraadt  6409:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
                   6410:        :ct=\E[2g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
1.8     ! tholo    6411:        :i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\:\
1.2       deraadt  6412:        :ic=\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
1.5       tholo    6413:        :k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
                   6414:        :kd=\E[B:\
1.8     ! tholo    6415:        :ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\:\
1.1       deraadt  6416:        :kh=\E[H:kl=\E[D:kr=\E[C:\
1.8     ! tholo    6417:        :ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\:\
1.2       deraadt  6418:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
1.5       tholo    6419:        :mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
                   6420:        :so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  6421:
                   6422: aaa+rv|ann arbor ambassador in reverse video:\
                   6423:        :i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6424:        :me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6425:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6426:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6427: # Ambassador with the DEC option, for partial vt100 compatibility.
                   6428: aaa+dec|ann arbor ambassador in dec vt100 mode:\
1.3       deraadt  6429:        :ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
                   6430:        :ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:\
1.1       deraadt  6431:        :..sa=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;:
                   6432: aaa-18|ann arbor ambassador/18 lines:\
                   6433:        :li#18:\
                   6434:        :is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
1.5       tholo    6435:        :ti=\E[18;0;0;18p:\
                   6436:        :tc=aaa+unk:
1.1       deraadt  6437: aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
                   6438:        :tc=aaa+rv:tc=aaa-18:
                   6439: aaa-20|ann arbor ambassador/20 lines:\
                   6440:        :li#20:\
                   6441:        :is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
1.5       tholo    6442:        :ti=\E[20;0;0;20p:\
                   6443:        :tc=aaa+unk:
1.1       deraadt  6444: aaa-22|ann arbor ambassador/22 lines:\
                   6445:        :li#22:\
                   6446:        :is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
1.5       tholo    6447:        :ti=\E[22;0;0;22p:\
                   6448:        :tc=aaa+unk:
1.1       deraadt  6449: aaa-24|ann arbor ambassador/24 lines:\
                   6450:        :li#24:\
                   6451:        :is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
1.5       tholo    6452:        :ti=\E[24;0;0;24p:\
                   6453:        :tc=aaa+unk:
1.1       deraadt  6454: aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
                   6455:        :tc=aaa+rv:tc=aaa-24:
                   6456: aaa-26|ann arbor ambassador/26 lines:\
                   6457:        :li#26:\
                   6458:        :is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
1.5       tholo    6459:        :ti=\E[H\E[J\E[26;0;0;26p:\
                   6460:        :tc=aaa+unk:
1.1       deraadt  6461: aaa-28|ann arbor ambassador/28 lines:\
                   6462:        :li#28:\
                   6463:        :is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
1.5       tholo    6464:        :ti=\E[H\E[J\E[28;0;0;28p:\
                   6465:        :tc=aaa+unk:
1.1       deraadt  6466: aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
                   6467:        :es:hs:\
                   6468:        :li#29:\
                   6469:        :ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6470:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
                   6471:        :te=\E[60;1;0;30p\E[29;1H\E[K:\
                   6472:        :ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
                   6473:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6474: aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
                   6475:        :tc=aaa+rv:tc=aaa-30-s:
                   6476: aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
                   6477:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6478:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
                   6479: aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context:\
                   6480:        :te=\E[60;1;0;30p\E[59;1H\E[K:\
                   6481:        :ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
                   6482: aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
                   6483:        :li#30:\
                   6484:        :is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
1.5       tholo    6485:        :ti=\E[H\E[J\E[30;0;0;30p:\
                   6486:        :tc=aaa+unk:
1.1       deraadt  6487: aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
                   6488:        :tc=aaa+rv:tc=aaa-30:
                   6489: aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
1.5       tholo    6490:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6491:        :tc=aaa-30:
1.1       deraadt  6492: aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
1.5       tholo    6493:        :te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
                   6494:        :tc=aaa+rv:tc=aaa-30:
1.1       deraadt  6495: aaa-36|ann arbor ambassador/36 lines:\
                   6496:        :li#36:\
                   6497:        :is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
1.5       tholo    6498:        :ti=\E[H\E[J\E[36;0;0;36p:\
                   6499:        :tc=aaa+unk:
1.1       deraadt  6500: aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
                   6501:        :tc=aaa+rv:tc=aaa-36:
                   6502: aaa-40|ann arbor ambassador/40 lines:\
                   6503:        :li#40:\
                   6504:        :is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
1.5       tholo    6505:        :ti=\E[H\E[J\E[40;0;0;40p:\
                   6506:        :tc=aaa+unk:
1.1       deraadt  6507: aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
                   6508:        :tc=aaa+rv:tc=aaa-40:
                   6509: aaa-48|ann arbor ambassador/48 lines:\
                   6510:        :li#48:\
                   6511:        :is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
1.5       tholo    6512:        :ti=\E[H\E[J\E[48;0;0;48p:\
                   6513:        :tc=aaa+unk:
1.1       deraadt  6514: aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
                   6515:        :tc=aaa+rv:tc=aaa-48:
                   6516: aaa-60-s|ann arbor ambassador/59 lines+status:\
                   6517:        :es:hs:\
                   6518:        :li#59:\
                   6519:        :ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
                   6520:        :fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
                   6521:        :ts=\E[>51h\E[1;%p1%dH\E[2K:tc=aaa+unk:
                   6522: aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
                   6523:        :tc=aaa+rv:tc=aaa-60-s:
1.2       deraadt  6524: aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
1.1       deraadt  6525:        :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
                   6526: aaa-60|ann arbor ambassador/60 lines:\
                   6527:        :li#60:\
                   6528:        :is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
                   6529: aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
                   6530:        :tc=aaa+rv:tc=aaa-60:
                   6531: aaa-db|ann arbor ambassador 30/destructive backspace:\
1.8     ! tholo    6532:        :bs@:\
        !          6533:        :i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
1.1       deraadt  6534:
                   6535: guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
                   6536:        :li#33:\
                   6537:        :i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
1.5       tholo    6538:        :te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
                   6539:        :tc=aaa+unk:
1.1       deraadt  6540: guru+rv|guru changes for reverse video:\
                   6541:        :i2=\E[>59h:vb=\E[>59l\E[>59h:
                   6542: guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
                   6543:        :tc=guru+rv:tc=guru-33:
                   6544: guru+s|guru status line:\
                   6545:        :es:hs:\
                   6546:        :ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
1.8     ! tholo    6547:        :te=\E[255;1p\E[255;1H\E[K:ti=:\
        !          6548:        :ts=\E[>51h\E[1;%p1%dH\E[2K:
1.2       deraadt  6549: guru-nctxt|guru with no saved context:\
1.1       deraadt  6550:        :ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
                   6551: guru-s|guru-33-s|ann arbor guru/33 lines+status:\
                   6552:        :li#32:\
                   6553:        :is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
1.5       tholo    6554:        :ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:\
                   6555:        :tc=guru+unk:
1.2       deraadt  6556: guru-24|ann arbor guru 24 lines:\
1.1       deraadt  6557:        :co#80:li#24:\
                   6558:        :is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:tc=guru+unk:
1.2       deraadt  6559: guru-44|ann arbor guru 44 lines:\
1.1       deraadt  6560:        :co#97:li#44:\
                   6561:        :is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:tc=guru+unk:
                   6562: guru-44-s|ann arbor guru/44 lines+status:\
                   6563:        :li#43:\
                   6564:        :is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
1.5       tholo    6565:        :ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:\
                   6566:        :tc=guru+unk:
1.1       deraadt  6567: guru-76|guru with 76 lines by 89 cols:\
                   6568:        :co#89:li#76:\
                   6569:        :is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6570: guru-76-s|ann arbor guru/76 lines+status:\
                   6571:        :co#89:li#75:\
                   6572:        :is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
1.5       tholo    6573:        :ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:\
                   6574:        :tc=guru+unk:
1.1       deraadt  6575: guru-76-lp|guru-lp|guru with page bigger than line printer:\
                   6576:        :co#134:li#76:\
                   6577:        :is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6578: guru-76-w|guru 76 lines by 178 cols:\
                   6579:        :co#178:li#76:\
                   6580:        :is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:tc=guru+unk:
                   6581: guru-76-w-s|ann arbor guru/76 lines+status+wide:\
                   6582:        :co#178:li#75:\
                   6583:        :is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
1.5       tholo    6584:        :ti=\E[76;1p\E[255;1H\E[K:\
                   6585:        :tc=guru+s:tc=guru+unk:
1.1       deraadt  6586: guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
                   6587:        :co#178:li#76:\
                   6588:        :is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:tc=guru+unk:
1.2       deraadt  6589: aaa-rv-unk|ann arbor unknown type:\
1.3       deraadt  6590:        :Nl#0:lh#0:lw#0:\
1.2       deraadt  6591:        :ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
1.3       deraadt  6592:        :me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:\
1.1       deraadt  6593:        :..sa=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m:\
                   6594:        :se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
                   6595:
                   6596: #### Applied Digital Data Systems (adds)
                   6597: #
                   6598: # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
                   6599: # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
                   6600: # terminals was merged again.  Then AT&T sold the terminal business to
1.8     ! tholo    6601: # SunRiver, which later changed its  name to Boundless Technologies.  The
        !          6602: # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
        !          6603: # as of early 1995) are at:
1.1       deraadt  6604: #
1.8     ! tholo    6605: #      Boundless Technologies
1.1       deraadt  6606: #      100 Marcus Boulevard
1.5       tholo    6607: #      Hauppauge, NY 11788-3762
1.1       deraadt  6608: #      Vox: (800)-231-5445
                   6609: #      Fax: (516)-342-7378
                   6610: #
1.5       tholo    6611: # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
1.8     ! tholo    6612: # In 1995 Boundless acquired DEC's terminals business.
1.5       tholo    6613: #
1.1       deraadt  6614:
                   6615: # Regent: lowest common denominator, works on all regents.
                   6616: # (regent: renamed ":bc:" to ":le:" -- esr)
                   6617: regent|Adds Regent Series:\
                   6618:        :am:bs:\
                   6619:        :co#80:li#24:\
1.5       tholo    6620:        :bl=^G:cl=^L:cr=^M:do=^J:ho=\EY  :le=^U:ll=^A:nd=^F:sf=^J:\
                   6621:        :up=^Z:
1.1       deraadt  6622: # Regent 100 has a bug where if computer sends escape when user is holding
                   6623: # down shift key it gets confused, so we avoid escape.
                   6624: regent100|Adds Regent 100:\
                   6625:        :sg#1:ug#1:\
                   6626:        :bl=^G:cm=\013%+ %B\020%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
1.5       tholo    6627:        :k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
                   6628:        :l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6629:        :ue=\E0@:us=\E0`:\
                   6630:        :tc=regent:
1.1       deraadt  6631: regent20|Adds Regent 20:\
                   6632:        :bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
                   6633: regent25|Adds Regent 25:\
                   6634:        :bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
                   6635: regent40|Adds Regent 40:\
                   6636:        :sg#1:ug#1:\
1.5       tholo    6637:        :al=\EM:bl=^G:dl=\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:k3=^B4\r:\
                   6638:        :k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:l2=F3:\
                   6639:        :l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
                   6640:        :ue=\E0@:us=\E0`:\
                   6641:        :tc=regent25:
1.1       deraadt  6642: regent40+|Adds Regent 40+:\
                   6643:        :is=\EB:tc=regent40:
                   6644: regent60|regent200|Adds Regent 60:\
1.3       deraadt  6645:        :dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
1.5       tholo    6646:        :se=\ER\E0@\EV:so=\ER\E0P\EV:\
                   6647:        :tc=regent40+:
1.1       deraadt  6648: # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1.5       tholo    6649: # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
1.1       deraadt  6650: viewpoint|addsviewpoint|adds viewpoint:\
1.8     ! tholo    6651:        :am:bs:\
1.1       deraadt  6652:        :co#80:li#24:\
1.5       tholo    6653:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dl=\El:do=^J:\
1.8     ! tholo    6654:        :is=\017\E0`:k0=^B1:k2=^B2:k3=^B\041:k4=^B":k5=^B#:kd=^J:\
        !          6655:        :kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:se=^O:sf=^J:\
        !          6656:        :so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:vs=\017\E0P:
1.2       deraadt  6657: # Some viewpoints have bad ROMs that foo up on ^O
1.1       deraadt  6658: screwpoint|adds viewpoint with ^O bug:\
1.2       deraadt  6659:        :se@:so@:ue@:us@:vs@:tc=viewpoint:
                   6660:
1.1       deraadt  6661: # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
1.5       tholo    6662: # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
1.8     ! tholo    6663: # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1.1       deraadt  6664: # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
                   6665: # invis=01000100 and %c is the logical or of desired attributes.
                   6666: # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
                   6667: vp3a+|viewpoint3a+|adds viewpoint 3a+:\
                   6668:        :am:bw:\
                   6669:        :co#80:it#8:li#24:\
1.5       tholo    6670:        :cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kb=^H:\
                   6671:        :kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\E(:nd=^L:nw=^M^J:\
1.1       deraadt  6672:        :..sa=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E):\
                   6673:        :se=\E(:sf=^J:so=\E0Q\E):ta=^I:up=^K:ve=^X:vi=^W:
1.2       deraadt  6674: vp60|viewpoint60|addsvp60|adds viewpoint60:\
1.1       deraadt  6675:        :tc=regent40:
                   6676: #
                   6677: # adds viewpoint 90 - from cornell
                   6678: # Note:  emacs sends ei occasionally to insure the terminal is out of
                   6679: #        insert mode. This unfortunately puts the viewpoint90 IN insert
1.5       tholo    6680: #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
1.1       deraadt  6681: #   -    :ei=:im=: must be present in the termcap translation.)
1.5       tholo    6682: #   -    :xs: indicates glitch that attributes stick to location
                   6683: #   -    :ms: means it's safe to move in standout mode
                   6684: #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
1.1       deraadt  6685: #               the status line
                   6686: # Function key and label capabilities merged in from SCO.
                   6687: vp90|viewpoint90|adds viewpoint 90:\
1.8     ! tholo    6688:        :bs:bw:ms:xs:\
1.1       deraadt  6689:        :co#80:li#24:\
1.5       tholo    6690:        :cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
                   6691:        :ei=:ho=\EY  :ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
                   6692:        :k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
                   6693:        :k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
                   6694:        :kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
                   6695:        :l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
                   6696:        :se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
                   6697:        :up=^Z:us=\ER\E0`\EV:
1.1       deraadt  6698: # Note: if return acts weird on a980, check internal switch #2
                   6699: # on the top chip on the CONTROL pc board.
                   6700: adds980|a980|adds consul 980:\
1.8     ! tholo    6701:        :am:bs:\
1.1       deraadt  6702:        :co#80:li#24:\
1.5       tholo    6703:        :al=\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
                   6704:        :dl=\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:\
                   6705:        :k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:se=^O:\
                   6706:        :sf=^J:so=^Y^^^N:
1.1       deraadt  6707:
                   6708: #### C. Itoh Electronics
                   6709: #
                   6710: # As of 1995 these people no longer make terminals (they're still in the
                   6711: # printer business).  Their terminals were all clones of the DEC VT series.
                   6712: # They're located in Orange County, CA.
                   6713: #
                   6714:
                   6715: # CIT 80  - vt-52 emulator, the termcap has been modified to remove
                   6716: #           the delay times and do an auto tab set rather than the indirect
                   6717: #           file used in vt100.
                   6718: cit80|cit-80|citoh 80:\
1.8     ! tholo    6719:        :am:bs:\
1.1       deraadt  6720:        :co#80:li#24:\
1.2       deraadt  6721:        :cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:ff=^L:\
1.5       tholo    6722:        :is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   6723:        :ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  6724: # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1.2       deraadt  6725: # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
                   6726: cit101|citc|C.itoh fast vt100:\
1.8     ! tholo    6727:        :am:bs:xn:\
1.2       deraadt  6728:        :co#80:li#24:\
1.3       deraadt  6729:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    6730:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:\
                   6731:        :im=:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
1.1       deraadt  6732:        :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
1.5       tholo    6733:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
                   6734:        :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
1.8     ! tholo    6735: # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
        !          6736: # The following termcap entry was created from the Callan cd100 entry.  The
        !          6737: # last two lines (with the capabilities in caps) are used by RM-cobol to allow
        !          6738: # full selection of combinations of reverse video, underline, and blink.
        !          6739: # (cit101e: emoved unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
        !          6740: # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
        !          6741: # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
        !          6742: cit101e|C. Itoh CIT-101e:\
        !          6743:        :am:bs:mi:ms:pt:\
        !          6744:        :co#80:it#8:li#24:\
        !          6745:        :ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          6746:        :cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
        !          6747:        :ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
        !          6748:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
        !          6749:        :k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
        !          6750:        :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:\
        !          6751:        :up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
        !          6752: cit101e-n|CIT-101e w/o am:\
        !          6753:        :am@:\
        !          6754:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
        !          6755: cit101e-132|CIT-101e, 132 cols:\
        !          6756:        :co#132:\
        !          6757:        :kb=^H:kd=^J:kl=^H:tc=cit101e:
        !          6758: cit101e-n132|CIT-101e, 132 cols w/o am:\
        !          6759:        :am@:\
        !          6760:        :co#132:\
        !          6761:        :kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
1.5       tholo    6762: # CIE Terminals CIT-500 from BRL
                   6763: # The following SET-UP modes are assumed for normal operation:
                   6764: #      GENERATE_XON/XOFF:YES   DUPLEX:FULL             NEWLINE:OFF
                   6765: #      AUTOWRAP:ON             MODE:ANSI               SCREEN_LENGTH:64_LINES
                   6766: #      DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80           EDIT_MODE:OFF
                   6767: # Other SET-UP modes may be set for operator convenience or communication
                   6768: # requirements.
                   6769: # Hardware tabs are assumed to be set every 8 columns; they can be set up
                   6770: # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
                   6771: # "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  6772: # (cit500: I added <rmam>/<smam> based on the init string -- esr)
1.5       tholo    6773: cit500|CIE Terminals CIT-500:\
1.8     ! tholo    6774:        :bs:mi:ms:pt:xo:\
        !          6775:        :co#80:it#8:kn#10:li#64:vt#3:\
        !          6776:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
        !          6777:        :RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
        !          6778:        :bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          6779:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
        !          6780:        :ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
        !          6781:        :k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
        !          6782:        :k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
        !          6783:        :kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
        !          6784:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
        !          6785:        :l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
        !          6786:        :ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          6787:        :nw=\EE:\
1.5       tholo    6788:        :r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
                   6789:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   6790:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  6791:
1.5       tholo    6792: # C. Itoh printers begin here
1.1       deraadt  6793: citoh|ci8510|8510|c.itoh 8510a:\
                   6794:        :co#80:it#8:\
                   6795:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073.:\
1.8     ! tholo    6796:        :le@:md=\E\041:me=\E"\EY:rp=\ER%r%03%.:sr=\Er:ue=\EY:\
        !          6797:        :us=\EX:\
1.5       tholo    6798:        :tc=lpr:
1.1       deraadt  6799: citoh-pica|citoh in pica:\
                   6800:        :i1=\EN:tc=citoh:
                   6801: citoh-elite|citoh in elite:\
                   6802:        :co#96:\
                   6803:        :i1=\EE:\
                   6804:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089.:tc=citoh:
                   6805: citoh-comp|citoh in compressed:\
                   6806:        :co#136:\
                   6807:        :i1=\EQ:\
                   6808:        :is=\E(009\054017\054025\054033\054041\054049\054057\054065\054073\054081\054089\054097\054105\054113\054121\054129.:tc=citoh:
                   6809: # citoh has infinite cols because we don't want lp ever inserting \n\t**.
                   6810: citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
                   6811:        :co#32767:\
                   6812:        :i1=\EP:tc=citoh:
                   6813: citoh-6lpi|citoh in 6 lines per inch mode:\
                   6814:        :i2=\EA:tc=citoh:
                   6815: citoh-8lpi|citoh in 8 lines per inch mode:\
                   6816:        :li#88:\
                   6817:        :i2=\EB:tc=citoh:
                   6818:
                   6819: #### Control Data (cdc)
                   6820: #
                   6821:
1.2       deraadt  6822: cdc456|cdc 456 terminal:\
1.8     ! tholo    6823:        :am:bs:\
1.1       deraadt  6824:        :co#80:li#24:\
1.5       tholo    6825:        :al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
                   6826:        :do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
1.8     ! tholo    6827:
        !          6828: # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
        !          6829: cdc721|CDC Viking:\
        !          6830:        :am:bs:\
        !          6831:        :co#80:li#24:\
        !          6832:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
        !          6833:        :ku=^W:nd=^X:up=^W:
        !          6834: cdc721ll|CDC Vikingll:\
        !          6835:        :am:bs:\
        !          6836:        :co#132:li#24:\
        !          6837:        :ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
        !          6838:        :ku=^W:nd=^X:up=^W:
        !          6839: # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
        !          6840: cdc752|CDC 752:\
        !          6841:        :am:bs:bw:xs:\
        !          6842:        :co#80:li#24:\
        !          6843:        :bl=^G:ce=^V:cl=\030\E1  :cm=\E1%r%+ %+ :cr=^M:do=^J:\
        !          6844:        :ho=\E1  :le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
        !          6845:        :sf=^J:up=^Z:
        !          6846: # CDC 756
        !          6847: # The following switch/key settings are assumed for normal operation:
        !          6848: #      96 chars        SCROLL          FULL duplex     not BLOCK
        !          6849: # Other switches may be set according to communication requirements.
        !          6850: # Insert/delete-character cannot be used, as the whole display is affected.
        !          6851: # "so" & "se" are commented out until jove handles "sg" correctly.
        !          6852: cdc756|CDC 756:\
        !          6853:        :am:bs:bw:\
        !          6854:        :co#80:kn#10:li#24:\
        !          6855:        :al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
        !          6856:        :dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
        !          6857:        :k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
        !          6858:        :kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
        !          6859:        :ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
        !          6860:        :l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
        !          6861:        :up=^Z:
1.5       tholo    6862: #
                   6863: # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
                   6864: #
                   6865: # Part of the long initialization string defines the "DOWN" key to the left
1.8     ! tholo    6866: # of the tab key to send an ESC.  The real ESC key is positioned way out
        !          6867: # in right field.
1.5       tholo    6868: #
                   6869: # The termcap won't work in 132 column mode due to the way it it moves the
                   6870: # cursor.  Termcap doesn't have the capability (as far as I could tell) to
                   6871: # handle the 721 in 132 column mode.
                   6872: #
                   6873: # (cdc721: changed :ri: to :sr: -- esr)
                   6874: cdc721-esc|Control Data 721:\
1.8     ! tholo    6875:        :am:bs:bw:ms:pt:xo:\
        !          6876:        :co#80:it#8:kn#10:li#30:\
1.5       tholo    6877:        :al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
1.8     ! tholo    6878:        :ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
        !          6879:        :is=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\\036\022\136\036\022b\036\022i\036W =\036\022Z\036\011C1-` `\041k/o:\
1.5       tholo    6880:        :k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
1.8     ! tholo    6881:        :k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
        !          6882:        :ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
        !          6883:        :me=\017\025\035\036E\036\022\:mh=^\:mk=^^^R[:mr=^^D:\
        !          6884:        :nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
        !          6885:        :st=^^^RW:ue=^]:up=^W:us=^\:
1.5       tholo    6886:
                   6887: #### Getronics
                   6888: #
                   6889: # Getronics is a Dutch electronics company that at one time was called
                   6890: # `Geveke' and made async terminals; but (according to the company itself!)
                   6891: # they've lost all their documentation on the command set.  The hardware
                   6892: # documentation suggests the terminals were actually manufactured by a
                   6893: # Taiwanese electronics company named Cal-Comp.  There are known
                   6894: # to have been at least two models, the 33 and the 50.
                   6895: #
                   6896:
                   6897: # The 50 seems to be a top end vt220 clone, with the addition of a higher
                   6898: # screen resolution, a larger screen, at least 1 page of memory above and
                   6899: # below the screen, apparently pages of memory right and left of the screen
                   6900: # which can be panned, and about 75 function keys (15 function keys x normal,
                   6901: # shift, control, func A, func B). It also has more setup possibilities than
                   6902: # the vt220. The monitor case is dated November 1978 and the keyboard case is
                   6903: # May 1982.
                   6904: #
                   6905: # The vt100 emulation works as is.  The entry below describes the rather
                   6906: # non-conformant (but more featureful) ANSI mode.
                   6907: #
                   6908: # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
                   6909: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   6910: # (sgr removed to fit entry within 1023 bytes)
                   6911: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
                   6912: visa50|geveke visa 50 terminal in ansi 80 character mode:\
                   6913:        :bw:mi:ms:\
                   6914:        :co#80:li#25:\
                   6915:        :AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
                   6916:        :K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
                   6917:        :RI=\E[%dC:UP=\E[%dA:ae=\E[3l:al=\E[L:as=\E3h:bl=^G:\
                   6918:        :bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   6919:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[X:dl=\E[M:do=\E[B:\
                   6920:        :ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
                   6921:        :is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
                   6922:        :k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
                   6923:        :k7=\E007:k8=\E008:k9=\E009:kD=\177:kb=^H:kd=\E[A:ke=\E>:\
                   6924:        :kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[D:mb=\E[5m:\
                   6925:        :md=\E[1m:me=\E[0;2m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
                   6926:        :se=\E[0;2m:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:\
                   6927:        :us=\E[4m:vb=\E[?5h\E[?5l:
1.1       deraadt  6928:
                   6929: #### Human Designed Systems (Concept)
                   6930: #
                   6931: #      Human Designed Systems
                   6932: #      400 Fehley Drive
                   6933: #      King of Prussia, PA 19406
                   6934: #      Vox: (610)-277-8300
                   6935: #      Fax: (610)-275-5739
                   6936: #      Net: support@hds.com
                   6937: #
                   6938: # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
                   6939: # the character-terminal business now (1995) and making X terminals.  In
                   6940: # particular, the whole `Concept' line described here was discontinued long
                   6941: # ago.
1.5       tholo    6942: #
1.1       deraadt  6943:
                   6944: # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
                   6945: # Extensive changes to c108 by arpavax:eric Feb 1982
                   6946: # Some unknown person at SCO then translated it to terminfo.
                   6947: #
                   6948: # There seem to be a number of different versions of the C108 PROMS
                   6949: # (with bug fixes in its Z-80 program).
                   6950: #
                   6951: # The first one that we had would lock out the keyboard of you
                   6952: # sent lots of short lines (like /usr/dict/words) at 9600 baud.
                   6953: # Try that on your C108 and see if it sends a ^S when you type it.
                   6954: # If so, you have an old version of the PROMs.
                   6955: #
                   6956: # You should configure the C108 to send ^S/^Q before running this.
                   6957: # It is much faster (at 9600 baud) than the c100 because the delays
                   6958: # are not fixed.
                   6959: # new status line display entries for c108-8p:
1.5       tholo    6960: # :i3: - init str #3 - setup term for status display -
1.1       deraadt  6961: # set programmer mode, select window 2, define window at last
                   6962: # line of memory, set bkgnd stat mesg there, select window 0.
                   6963: #
1.5       tholo    6964: # :ts: - to status line - select window 2, home cursor, erase to
1.1       deraadt  6965: # end-of-window, 1/2 bright on, goto(line#0, col#?)
                   6966: #
1.5       tholo    6967: # :fs: - from status line - 1/2 bright off, select window 0
1.1       deraadt  6968: #
1.5       tholo    6969: # :ds: - disable status display - set bkgnd status mesg with
1.1       deraadt  6970: # illegal window #
                   6971: #
                   6972: # There are probably more function keys that should be added but
                   6973: # I don't know what they are.
                   6974: #
1.2       deraadt  6975: # No delays needed on c108 because of ^S/^Q handshaking
                   6976: #
1.1       deraadt  6977: c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
1.8     ! tholo    6978:        :i2=\EU\E z"\Ev\001\177 \041p\E ;"\E z \Ev  \001\177p\Ep\n:\
1.5       tholo    6979:        :te=\Ev  \001\177p\Ep\r\n:\
                   6980:        :tc=c108-4p:
1.1       deraadt  6981: c108-4p|concept108-4p|concept 108 w/4 pages:\
1.8     ! tholo    6982:        :bs:es:hs:xo:\
1.1       deraadt  6983:        :pb@:\
1.8     ! tholo    6984:        :ac=l\qLkTxUmMjE:ae=\Ej :as=\Ej\041:\
1.1       deraadt  6985:        :..cm=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c:\
1.8     ! tholo    6986:        :cr=^M:dc=\E 1:ds=\E ;\177:fs=\Ee\E z :i1=\EK\E\041\E F:\
        !          6987:        :i2=\EU\E z"\Ev\177 \041p\E ;"\E z \Ev  \001 p\Ep\n:\
1.5       tholo    6988:        :sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
                   6989:        :ts=\E z"\E?\E\005\EE\Ea %+ :ve=\Ew:vs=\EW:\
                   6990:        :tc=c100:
1.1       deraadt  6991: c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
1.5       tholo    6992:        :te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
                   6993:        :tc=c108-rv-4p:
1.2       deraadt  6994: c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
1.5       tholo    6995:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:\
                   6996:        :tc=c108-4p:
1.1       deraadt  6997: c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
                   6998:        :co#132:\
                   6999:        :i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
                   7000:        :ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
                   7001:
                   7002: # Concept 100:
                   7003: # These have only window relative cursor addressing, not screen
                   7004: # relative. To get it to work right here, smcup/rmcup (which
                   7005: # were invented for the concept) lock you into a one page
                   7006: # window for screen style programs.
                   7007: #
                   7008: # To get out of the one page window, we use a clever trick:
                   7009: # we set the window size to zero ("\Ev    " in rmcup) which the
                   7010: # terminal recognizes as an error and resets the window to all
                   7011: # of memory.
                   7012: #
                   7013: # This trick works on c100 but does not on c108, sigh.
                   7014: #
                   7015: # Some tty drivers use cr3 for concept, others use nl3, hence
                   7016: # the delays on cr and ind below. This padding is only needed at
1.2       deraadt  7017: # 9600 baud and up.  One or the other is commented out depending on
1.1       deraadt  7018: # local conventions.
                   7019: #
1.5       tholo    7020: # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
1.1       deraadt  7021: # less than 6 but more than 2 will work.
                   7022: #
                   7023: # Note: can't use function keys f7-f10 because they are
                   7024: # indistinguishable from arrow keys (!), also, del char and
                   7025: # clear eol use xon/xoff so they probably won't work very well.
                   7026: #
                   7027: # Also note that we don't define insrt/del char/delline/eop/send
                   7028: # because they don't transmit unless we reset them - I figured
                   7029: # it was a bad idea to clobber their definitions.
                   7030: #
1.2       deraadt  7031: # The <mc5> sequence changes the escape character to ^^ so that
1.1       deraadt  7032: # escapes will be passed through to the printer. Only trouble
                   7033: # is that ^^ won't be - ^^ was chosen to be unlikely.
                   7034: # Unfortunately, if you're sending raster bits through to be
                   7035: # plotted, any character you choose will be likely, so we lose.
                   7036: #
                   7037: # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
                   7038: # cannot be # in is2 because it will hang a c100 with no printer
                   7039: # if sent twice.
                   7040: c100|concept100|concept|c104|c100-4p|hds concept 100:\
1.8     ! tholo    7041:        :am:bs:eo:mi:ul:xn:\
1.1       deraadt  7042:        :co#80:li#24:pb#9600:vt#8:\
                   7043:        :al=\E\022:bl=^G:cd=\E\005:ce=\E\025:cl=\E?\E\005:\
1.5       tholo    7044:        :cm=\Ea%+ %+ :cr=\r:dc=\E\021:dl=\E\002:do=^J:ei=\E  :\
                   7045:        :i1=\EK:i2=\Ev    \Ep\n:im=\E^P:ip=:\
1.8     ! tholo    7046:        :is=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo\041\200\E\007\041\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
1.5       tholo    7047:        :k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
                   7048:        :k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
1.8     ! tholo    7049:        :kL=\E^B:kM=\E\200:kN=\E-:kP=\E.:kR=\E\:kS=\E^C:kT=\E]:\
1.5       tholo    7050:        :kb=^H:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:\
                   7051:        :ku=\E;:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:\
1.8     ! tholo    7052:        :nd=\E=:pf=\036o \E\EQ\041\EYP\027:\
1.5       tholo    7053:        :po=\EQ"\EY(\027\EYD\Eo \036:rp=\Er%.%+ :se=\Ed:sf=^J:\
                   7054:        :so=\ED:ta=\011:te=\Ev    \Ep\r\n:\
                   7055:        :ti=\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:vb=\Ek\EK:
1.1       deraadt  7056: c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
                   7057:        :i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
                   7058: oc100|oconcept|c100-1p|old 1 page concept 100:\
                   7059:        :in:\
                   7060:        :i3@:tc=c100:
                   7061:
1.5       tholo    7062: # :ta: through :ce: included to specify padding needed in raw mode.
                   7063: # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
1.3       deraadt  7064: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.8     ! tholo    7065: # (sgr removed to fit entry within 1023 bytes)
        !          7066: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.1       deraadt  7067: avt-ns|concept avt no status line:\
1.8     ! tholo    7068:        :am:bs:eo:mi:ul:xn:xo:\
1.1       deraadt  7069:        :co#80:it#8:li#24:lm#192:\
                   7070:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.8     ! tholo    7071:        :RI=\E[%dC:UP=\E[%dA:ae=\016:al=\E[L:as=\017:bl=^G:bt=\E[Z:\
        !          7072:        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
        !          7073:        :cs=\E[%i%d;%dr:ct=\E[2g:dc=\E[P:dl=\E[M:do=^J:ei=\E4l:\
        !          7074:        :ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E1:ip=:\
        !          7075:        :is=\E[1*q\E[2\041t\E[7\041t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[\041y\E[\041z\E>\E[0\0720\07232\041r\E[0*w\E[w\E2\r\n\E[2;27\041t:\
        !          7076:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\E^B\r:kI=\E^A\r:kb=^H:\
        !          7077:        :kd=\E[B:ke=\E[\041z\E[0;2u:kh=\E[H:kl=\E[D:kr=\E[C:\
        !          7078:        :ks=\E[1\041z\E[0;3u:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:\
        !          7079:        :md=\E[1m:me=\E[m:mh=\E[1\041{:mr=\E[7m:nd=\E[C:rc=\E8:\
        !          7080:        :sc=\E7:se=\E[7\041{:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=\011:\
        !          7081:        :te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4\041{:\
1.5       tholo    7082:        :up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
1.1       deraadt  7083: avt-rv-ns|concept avt in reverse video mode/no status line:\
1.5       tholo    7084:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:\
                   7085:        :tc=avt-ns:
1.1       deraadt  7086: avt-w-ns|concept avt in 132 column mode/no status line:\
1.5       tholo    7087:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:\
                   7088:        :tc=avt-ns:
1.1       deraadt  7089: avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
                   7090:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
                   7091:        :vb=\E[=205l\E[=205h:tc=avt-ns:
                   7092:
                   7093: # Concept AVT with status line. We get the status line using the
                   7094: # "Background status line" feature of the terminal. We swipe the
                   7095: # first line of memory in window 2 for the status line, keeping
                   7096: # 191 lines of memory and 24 screen lines for regular use.
                   7097: # The first line is used instead of the last so that this works
                   7098: # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
                   7099: # assumes an 8 page AVT but lm isn't currently used anywhere.)
                   7100: #
                   7101: avt+s|concept avt status line changes:\
                   7102:        :es:hs:\
                   7103:        :lm#191:\
1.8     ! tholo    7104:        :ds=\E[0*w:fs=\E[1;1\041w:\
        !          7105:        :i2=\E[2w\E[2\041w\E[1;1;1;80w\E[H\E[2*w\E[1\041w\E2\r\n:\
1.1       deraadt  7106:        :te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
1.8     ! tholo    7107:        :ts=\E[2;1\041w\E[;%p1%dH\E[2K:
1.1       deraadt  7108: avt|avt-s|concept-avt|avt w/80 columns:\
                   7109:        :tc=avt+s:tc=avt-ns:
                   7110: avt-rv|avt-rv-s|avt reverse video w/sl:\
                   7111:        :i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
                   7112: avt-w|avt-w-s|concept avt 132 cols+status:\
                   7113:        :i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:tc=avt-ns:
                   7114: avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
                   7115:        :i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
1.5       tholo    7116:        :vb=\E[=205l\E[=205h:tc=avt+s:\
                   7117:        :tc=avt-ns:
1.1       deraadt  7118:
                   7119: #### Contel Business Systems.
                   7120: #
                   7121:
                   7122: # Contel c300 and c320 terminals.
                   7123: contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
                   7124:        :am:in:xo:\
                   7125:        :co#80:li#24:sg#1:\
1.5       tholo    7126:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:\
                   7127:        :ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:k0=\ERJ:\
                   7128:        :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\
1.8     ! tholo    7129:        :k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:me=\E\041\200:\
        !          7130:        :nd=\EC:se=\E\041\200:sf=^J:so=\E\041\r:st=\E1:up=\EA:\
1.5       tholo    7131:        :vb=\020\002\020\003:
1.1       deraadt  7132: # Contel c301 and c321 terminals.
                   7133: contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
1.8     ! tholo    7134:        :ei=:ic@:im=:ip@:se=\E\041\200:so=\E\041\r:vb@:\
1.5       tholo    7135:        :tc=contel300:
1.1       deraadt  7136:
                   7137: #### Data General (dg)
                   7138: #
                   7139: # According to James Carlson <carlson@xylogics.com> writing in January 1995,
                   7140: # the terminals group at Data General was shut down in 1991; all these
                   7141: # terminals have thus been discontinued.
                   7142: #
                   7143:
1.5       tholo    7144: # According to the 4.4BSD termcap file, the dg200 :cm: should be the
1.3       deraadt  7145: # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
                   7146: # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
                   7147: # maybe they were originally nuls (which would fit).
1.1       deraadt  7148: dg200|data general dasher 200:\
1.8     ! tholo    7149:        :NL:am:bs:bw:\
1.1       deraadt  7150:        :co#80:li#24:\
1.5       tholo    7151:        :bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
                   7152:        :k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
                   7153:        :k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
                   7154:        :nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
1.8     ! tholo    7155: # Data General 210/211 (and 410?)      from Lee Pearson (umich!lp) via BRL
        !          7156: dg210|dg-ansi|Data General 210/211:\
        !          7157:        :am:\
        !          7158:        :co#80:li#24:\
        !          7159:        :cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
        !          7160:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nl=\E[B:\
        !          7161:        :nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:up=\E[A:\
        !          7162:        :us=\E[4;m:
1.2       deraadt  7163: # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
                   7164: # courtesy of Carlos Rucalde of Vantage Software, Inc.
1.5       tholo    7165: # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
1.2       deraadt  7166: # I suspect the d200 function keys actually work on the dg211, check it out.)
                   7167: dg211|Data General d211:\
1.5       tholo    7168:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
                   7169:        :se=00\036E\200/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
                   7170:        :vs=^L^R:\
                   7171:        :tc=dg200:
1.2       deraadt  7172: # dg450 from cornell
1.1       deraadt  7173: dg450|dg6134|data general 6134:\
1.2       deraadt  7174:        :le@:nd=^X:tc=dg200:
1.1       deraadt  7175: # Note: lesser Dasher terminals will not work with vi because vi insists upon
                   7176: # having a command to move straight down from any position on the bottom line
                   7177: # and scroll the screen up, or a direct vertical scroll command.  The 460 and
                   7178: # above have both, the D210/211, for instance, has neither.  We must use ANSI
                   7179: # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
                   7180: # backspace on all terminals.  This is not so in DG mode.
                   7181: # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1.2       deraadt  7182: # grounds that there is no matching ":ml:"
1.1       deraadt  7183: # fixed garbled ":k9=\E[00\:z:" capability -- esr)
1.2       deraadt  7184: dg460-ansi|Data General Dasher 460 in ANSI-mode:\
1.8     ! tholo    7185:        :am:bs:ms:ul:\
1.2       deraadt  7186:        :co#80:it#8:li#24:\
1.5       tholo    7187:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
                   7188:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
                   7189:        :k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
                   7190:        :k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[010z:kb=\E[D:\
                   7191:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
                   7192:        :l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:me=\E[m:\
                   7193:        :mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:se=\E[m:sf=\E[S:so=\E[7m:\
                   7194:        :sr=\E[T:ta=^I:ue=\E[05:up=\E[A:us=\E[4m:
1.1       deraadt  7195: # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
                   7196: # Data General 605x
                   7197: # Ought to work for a Model 6242, Type D210 as well as a 605x.
                   7198: # Note that the cursor-down key transmits ^Z.  Job control users, beware!
1.8     ! tholo    7199: # This also matches a posted description of something called a `Dasher 100'
1.5       tholo    7200: # so there's a dg100 alias here.
                   7201: # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
                   7202: dg6053|dg100|data general 6053:\
1.2       deraadt  7203:        :am:bs:bw:ul:\
1.1       deraadt  7204:        :co#80:li#24:\
1.8     ! tholo    7205:        :bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
        !          7206:        :is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
        !          7207:        :k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
        !          7208:        :le=^Y:nd=^X:se=\200^^E:so=\200\200\200\200\200\036D:\
        !          7209:        :ta=^I:te=^L:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
1.1       deraadt  7210:
                   7211: #### Datamedia (dm)
                   7212: #
1.8     ! tholo    7213: # Datamedia was headquartered in Nashua, New Hampshire in 1993.
        !          7214: # As of early 1996, at least one company called `Datamedia' has been taken
        !          7215: # over by:
        !          7216: #
        !          7217: #    Axent Technologies, Inc.
        !          7218: #    2400 Research Boulevard
        !          7219: #    Rockville, Maryland 20850
        !          7220: #    voice: +1 301/258-5043
        !          7221: #      fax: +1 301/330-5756
        !          7222: #    email: <info@axent.com>
        !          7223: #
        !          7224: # makers of OmniGuard client/server security software.  They are a software
        !          7225: # only company and no longer make terminals.  However, the operator there
        !          7226: # told me that she had once spoken to a customer looking for Datamedia
        !          7227: # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
        !          7228: # by comp.terminals poosting describing the ID plate on the back of a
        !          7229: # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
        !          7230: # Inquiring minds want to know...
        !          7231: #
1.1       deraadt  7232:
                   7233: cs10|colorscan|Datamedia Color Scan 10:\
                   7234:        :ms:\
                   7235:        :co#80:li#24:\
1.5       tholo    7236:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%02;%02H:cr=^M:\
                   7237:        :do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
                   7238:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
1.1       deraadt  7239:        :so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
                   7240: cs10-w|Datamedia Color Scan 10 with 132 columns:\
                   7241:        :co#132:\
                   7242:        :cm=\E[%i%02;%03H:tc=cs10:
                   7243:
1.2       deraadt  7244: # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
1.1       deraadt  7245: dm1520|dm1521|datamedia 1520:\
1.8     ! tholo    7246:        :am:bs:xn:\
1.2       deraadt  7247:        :co#80:it#8:li#24:\
1.5       tholo    7248:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
                   7249:        :kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
1.1       deraadt  7250: dm2500|datamedia2500|datamedia 2500:\
1.8     ! tholo    7251:        :bs:nc:\
1.1       deraadt  7252:        :co#80:li#24:\
                   7253:        :al=\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
                   7254:        :cm=\014%r%n%.%.:dc=\020\010\030\035:\
                   7255:        :dl=\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
                   7256:        :ei=\377\377\030\035:ho=^B:ic=\020\034\030\035:im=^P:\
                   7257:        :le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
                   7258: # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1.2       deraadt  7259: # also, has a meta-key.
1.1       deraadt  7260: # From: <goldberger@su-csli.arpa>
                   7261: # (dmchat: ":MT:" changed to ":km:" -- esr)
                   7262: dmchat|dmchat version of datamedia 2500:\
                   7263:        :km:\
                   7264:        :al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:tc=dm2500:
1.2       deraadt  7265: # (dm3025: ":MT:" changed to ":km:" -- esr)
1.1       deraadt  7266: dm3025|datamedia 3025a:\
1.8     ! tholo    7267:        :bs:km:\
1.2       deraadt  7268:        :co#80:it#8:li#24:\
1.5       tholo    7269:        :al=\EP\n\EQ:bl=^G:cd=\EJ:ce=\EK:cl=\EM:cm=\EY%r%+ %+ :\
                   7270:        :cr=^M:dc=\010:dl=\EP\EA\EQ:dm=\EP:do=^J:ed=\EQ:ei=\EQ:\
                   7271:        :ho=\EH:im=\EP:ip=:is=\EQ\EU\EV:le=^H:nd=\EC:se=\EO0:sf=^J:\
                   7272:        :so=\EO1:ta=^I:up=\EA:
1.1       deraadt  7273: dm3045|datamedia 3045a:\
1.8     ! tholo    7274:        :am:bs:eo:km@:ul:xn:\
1.5       tholo    7275:        :al@:dc=\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
                   7276:        :k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
                   7277:        :k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
                   7278:        :tc=dm3025:
1.2       deraadt  7279: # Datamedia DT80 soft switches:
                   7280: # 1    0=Jump  1=Smooth
                   7281: #      Autorepeat      0=off  1=on
                   7282: #      Screen          0=Dark 1=light
                   7283: #      Cursor          0=u/l  1=block
                   7284: #
                   7285: # 2    Margin Bell     0=off  1=on
                   7286: #      Keyclick        0=off  1=on
                   7287: #      Ansi/VT52       0=VT52 1=Ansi
                   7288: #      Xon/Xoff        0=Off  1=On
                   7289: #
                   7290: # 3    Shift3          0=Hash 1=UK Pound
                   7291: #      Wrap            0=Off  1=On
                   7292: #      Newline         0=Off  1=On
                   7293: #      Interlace       0=Off  1=On
                   7294: #
                   7295: # 4    Parity          0=Odd  1=Even
                   7296: #      Parity          0=Off  1=On
                   7297: #      Bits/Char       0=7    1=8
                   7298: #      Power           0=60Hz 1=50Hz
                   7299: #
                   7300: # 5    Line Interface  0=EIA  1=Loop
                   7301: #      Aux Interface   0=EIA  1=Loop
                   7302: #      Local Copy      0=Off  1=On
                   7303: #      Spare
                   7304: #
                   7305: # 6    Aux Parity      0=Odd  1=Even
                   7306: #      Aux Parity      0=Off  1=On
                   7307: #      Aux Bits/Char   0=7    1=8
                   7308: #      CRT Saver       0=Off  1=On
1.1       deraadt  7309: # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
                   7310: dm80|dmdt80|dt80|datamedia dt80/1:\
                   7311:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
1.5       tholo    7312:        :ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
                   7313:        :se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
                   7314:        :tc=vt100:
1.1       deraadt  7315: # except in 132 column mode, where it needs a little padding.
                   7316: # This is still less padding than the vt100, and you can always turn on
                   7317: # the ^S/^Q handshaking, so you can use vt100 flavors for things like
                   7318: # reverse video.
                   7319: dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
                   7320:        :co#132:\
1.5       tholo    7321:        :cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
                   7322:        :do=^J:up=5\E[A:\
                   7323:        :tc=dm80:
1.1       deraadt  7324: # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
1.5       tholo    7325: dt80-sas|Datamedia DT803/DTX for SAS usage:\
1.1       deraadt  7326:        :am:bw:\
                   7327:        :co#80:li#24:\
1.5       tholo    7328:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1.1       deraadt  7329:        :ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
                   7330:        :cm=\E=%r%+ %+ :cr=^M:\
                   7331:        :..cs=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2:\
1.5       tholo    7332:        :ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:is=\E)0\E<\EP\E'0\E$2:\
                   7333:        :kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:me=^X:\
                   7334:        :mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:sf=\EB:so=\E$2\004:\
                   7335:        :sr=\EI:st=\E'1:ta=^I:up=^_:
                   7336:
                   7337: # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
                   7338: # These aren't end-all Excel termcaps; but do insert/delete char/line
                   7339: # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
                   7340: # The naming convention has been bent somewhat, with the use of E? (where
                   7341: # E is for 'Excel') as # a name.  This was done to distinguish the entries
                   7342: # from the other Datamedias in use here, and yet to associate a model of
                   7343: # the Excel terminals with the regular datamedia terminals that share
                   7344: # major characteristics.
                   7345: excel62|excel64|datamedia Excel 62:\
                   7346:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7347:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   7348:        :tc=dt80:
                   7349: excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
                   7350:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7351:        :k9=\EOy:kb=^H:kd=^J:kl=^H:\
                   7352:        :tc=dt80w:
                   7353: excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
                   7354:        :dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
                   7355:        :k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:\
                   7356:        :tc=dt80:
1.1       deraadt  7357:
                   7358: #### Falco
                   7359: #
                   7360: #      Falco Data Products
                   7361: #      440 Potrero Avenue
                   7362: #      Sunnyvale, CA 940864-196
                   7363: #      Vox: (800)-325-2648
                   7364: #      Fax: (408)-745-7860
                   7365: #      Net: techsup@charm.sys.falco.com
                   7366: #
                   7367: # Current Falco models as of 1995 are generally ANSI-compatible and support
                   7368: # emulations of DEC VT-series, Wyse, and Televideo types.
1.8     ! tholo    7369: #
1.1       deraadt  7370:
1.2       deraadt  7371: # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1.1       deraadt  7372: # This terminal was released around 1983 and was discontinued long ago.
1.5       tholo    7373: # The standout and underline highlights are the same.
1.1       deraadt  7374: falco|ts1|ts-1|falco ts-1:\
1.8     ! tholo    7375:        :am:bs:\
1.2       deraadt  7376:        :co#80:it#8:li#24:\
1.5       tholo    7377:        :al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
                   7378:        :cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
                   7379:        :k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
                   7380:        :se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
1.1       deraadt  7381: falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
1.8     ! tholo    7382:        :am:bs:da:db:mi:ms:ul:\
1.2       deraadt  7383:        :co#80:it#8:li#24:\
1.5       tholo    7384:        :al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
                   7385:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
                   7386:        :is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   7387:        :le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
                   7388:        :ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
1.2       deraadt  7389: # (ts100: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7390: ts100|ts100-sp|falco ts100-sp:\
                   7391:        :am:mi:ms:xn:xo:\
                   7392:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    7393:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   7394:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  7395:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   7396:        :ae=^O:al=\E~E:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
                   7397:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1.5       tholo    7398:        :ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
                   7399:        :i1=\E~)\E~ea:ic=\E~Q:im=:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   7400:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   7401:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   7402:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   7403:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  7404:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   7405:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   7406:        :ue=\E[m:up=\E[A:us=\E[4m:
                   7407: ts100-ctxt|falco ts-100 saving context:\
                   7408:        :te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
                   7409:
                   7410: #### Florida Computer Graphics
                   7411: #
                   7412:
1.2       deraadt  7413: # Florida Computer Graphics Beacon System, using terminal emulator program
                   7414: # "host.com", as provided by FCG.  This description is for an early release
1.5       tholo    7415: # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
1.2       deraadt  7416: # commented out.
                   7417:
                   7418: # From: David Bryant <cbosg!djb> 1/7/83
1.1       deraadt  7419: beacon|FCG Beacon System:\
                   7420:        :am:da:db:\
                   7421:        :co#80:li#32:\
                   7422:        :al=\EE:bl=\ESTART\r\E37\r\EEND\r:ce=\ET:cl=\EZ:\
1.5       tholo    7423:        :cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=\EH:ic=\EQ:\
                   7424:        :im=:le=^H:mb=\ESTART\r\E61\0541\r\EEND\r:\
1.1       deraadt  7425:        :me=\ESTART\r\E78\r\E70\0540\r\EEND\r:\
                   7426:        :mr=\ESTART\r\E59\0541\r\EEND\r:nd=\EV:\
                   7427:        :se=\ESTART\r\E70\0540\r\EEND\r:sf=^J:\
1.8     ! tholo    7428:        :so=\ESTART\r\E70\0546\r\EEND\r:te=:\
1.1       deraadt  7429:        :ti=\ESTART\r\E2\0540\r\E12\r\EEND\r:\
                   7430:        :ue=\ESTART\r\E60\0540\r\EEND\r:up=\EU:\
                   7431:        :us=\ESTART\r\E60\0541\r\EEND\r:
                   7432:
                   7433: #### Fluke
                   7434: #
                   7435:
1.8     ! tholo    7436: # The f1720a differences from ANSI: no auto margin, destructive
1.1       deraadt  7437: # tabs, # of lines, funny highlighting and underlining
                   7438: f1720|f1720a|fluke 1720A:\
                   7439:        :xt:\
                   7440:        :co#80:li#16:sg#1:ug#1:\
1.5       tholo    7441:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
                   7442:        :do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
                   7443:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
                   7444:        :us=\E[4m:
1.1       deraadt  7445:
                   7446: #### Liberty Electronics (Freedom)
                   7447: #
                   7448: #      Liberty Electronics
                   7449: #      48089 Fremont Blvd
                   7450: #      Fremont CA 94538
                   7451: #      Vox: (510)-623-6000
                   7452: #      Fax: (510)-623-7021
                   7453:
                   7454: # From: <faletti@berkeley.edu>
1.5       tholo    7455: # (f100: added empty <acsc> to suppress a tic warning;
                   7456: # made this relative to adm+sgr -- note that <invis> isn't
                   7457: # known to work for f100 but does on the f110. --esr)
1.1       deraadt  7458: f100|freedom|freedom100|freedom model 100:\
1.8     ! tholo    7459:        :am:bs:bw:hs:mi:ms:xo:\
1.1       deraadt  7460:        :co#80:li#24:\
1.5       tholo    7461:        :ac=:ae=\E$:al=\EE:as=\E%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
1.3       deraadt  7462:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
1.5       tholo    7463:        :dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
                   7464:        :ip=:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7465:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
                   7466:        :kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:\
                   7467:        :sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
                   7468:        :tc=adm+sgr:
1.1       deraadt  7469: f100-rv|freedom-rv|freedom 100 in reverse video:\
                   7470:        :is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
                   7471: # The f110 and f200 have problems with vi(1).  They use the ^V
                   7472: # code for the down cursor key. When kcud1 is defined in terminfo
                   7473: # as ^V, the Control Character Quoting capability (^V in insert mode)
                   7474: # is lost! It cannot be remapped in vi because it is necessary to enter
                   7475: # a ^V to to quote the ^V that is being remapped!!!
                   7476: #
1.5       tholo    7477: # f110/f200 users will have to decide whether
1.1       deraadt  7478: # to lose the down cursor key or the quoting capability. We will opt
                   7479: # initially for leaving the quoting capability out, since use of VI
                   7480: # is not generally applicable to most interactive applications
1.5       tholo    7481: # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
1.1       deraadt  7482: f110|freedom110|Liberty Freedom 110:\
1.2       deraadt  7483:        :bw@:es:\
                   7484:        :it#8:ws#80:\
1.5       tholo    7485:        :ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
                   7486:        :im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
                   7487:        :kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
                   7488:        :so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:vs=\E.2:\
                   7489:        :tc=f100:
1.1       deraadt  7490: f110-14|Liberty Freedom 110 14inch:\
                   7491:        :dc@:tc=f110:
                   7492: f110-w|Liberty Freedom 110 - 132 cols:\
1.3       deraadt  7493:        :co#132:tc=f110:
1.1       deraadt  7494: f110-14w|Liberty Freedom 110 14in/132 cols:\
                   7495:        :co#132:\
                   7496:        :dc@:tc=f110:
1.5       tholo    7497: # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.1       deraadt  7498: f200|freedom200|Liberty Freedom 200:\
1.8     ! tholo    7499:        :am:bs:es:hs:mi:ms:xo:\
1.1       deraadt  7500:        :co#80:it#8:li#24:ws#80:\
1.5       tholo    7501:        :ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
                   7502:        :ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
                   7503:        :cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
                   7504:        :im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
                   7505:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
                   7506:        :kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
                   7507:        :ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
                   7508:        :sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
                   7509:        :vi=\E.0:vs=\E.1:\
                   7510:        :tc=adm+sgr:
1.1       deraadt  7511: f200-w|Liberty Freedom 200 - 132 cols:\
1.3       deraadt  7512:        :co#132:tc=f200:
1.5       tholo    7513: # The f200 has the ability to reprogram the down cursor key. The key is
                   7514: # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
                   7515: # so powering the terminal off and on will not cause the change to be lost.
1.1       deraadt  7516: f200vi|Liberty Freedom 200 for vi:\
1.2       deraadt  7517:        :kd=^J:vb=\Eb\Ed:tc=f200:
1.1       deraadt  7518: f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
1.3       deraadt  7519:        :co#132:tc=f200vi:
1.1       deraadt  7520:
                   7521: #### GraphOn (go)
                   7522: #
                   7523: #      Graphon Corporation
                   7524: #      544 Division Street
                   7525: #      Campbell, CA 95008
                   7526: #      Vox: (408)-370-4080
                   7527: #      Fax: (408)-370-5047
                   7528: #      Net: troy@graphon.com (Troy Morrison)
                   7529: #
                   7530: #
                   7531: # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
                   7532: # including one odd hybrid that starts out life on power-up as a character
                   7533: # terminal, than can be switched to X graphics mode (driven over the serial
                   7534: # line) by an escape sequence.  No info on this beast yet.
1.2       deraadt  7535: # (go140: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7536: go140|graphon go-140:\
1.8     ! tholo    7537:        :bs:\
1.2       deraadt  7538:        :co#80:it#8:li#24:\
1.3       deraadt  7539:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
1.5       tholo    7540:        :cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:ei=\E[4l:\
                   7541:        :if=/usr/share/tabset/vt100:im=\E[4h:\
1.1       deraadt  7542:        :is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
1.5       tholo    7543:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
                   7544:        :kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
                   7545:        :me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
                   7546:        :up=\E[A:us=\E[4m:
1.1       deraadt  7547: go140w|graphon go-140 in 132 column mode:\
1.2       deraadt  7548:        :am:\
1.1       deraadt  7549:        :co#132:\
                   7550:        :is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:tc=go140:
                   7551: # Hacked up vt200 termcap to handle GO-225/VT220
                   7552: # From: <edm@nwnexus.WA.COM>
1.2       deraadt  7553: # (go225: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  7554: go225|go-225|Graphon 225:\
1.8     ! tholo    7555:        :am:bs:mi:xn:\
1.2       deraadt  7556:        :co#80:it#8:li#25:vt#3:\
1.5       tholo    7557:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   7558:        :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
                   7559:        :ei=\E[4l:ho=\E[H:im=\E[4h:\
                   7560:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
                   7561:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
                   7562:        :kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
1.8     ! tholo    7563:        :mr=\E[7m:nd=\E[C:r1=\E[\041p\E[?7h\E[2;1;1#w:rc=\E8:\
1.3       deraadt  7564:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
1.8     ! tholo    7565:        :so=\E[7m:sr=\EM:ta=^I:te=\E[\041p\E[?7h\E[2;1;1#w:\
1.3       deraadt  7566:        :ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
1.1       deraadt  7567:
                   7568: #### Harris (Beehive)
                   7569: #
                   7570: # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
                   7571: # Their terminal group is ancient history now (1995) though the parent
                   7572: # company is still in business.
                   7573: #
                   7574:
                   7575: # Beehive documentation is undated and marked Preliminary and has no figures
                   7576: # so we must have early Superbee2 (Model 600, according to phone conversation
                   7577: # with mfr.). It has proved reliable except for some missing padding
1.2       deraadt  7578: # (notably after \EK and <nl> at bottom of screen).
1.1       deraadt  7579: #
1.5       tholo    7580: # The key idea is that AEP mode is poison for :cm: & that US's in
1.1       deraadt  7581: # the local memory should be avoided like the plague. That means
                   7582: # that the 2048 character local buffer is used as 25 lines of 80
                   7583: # characters, period. No scrolling local memory, folks. It also
                   7584: # appears that we cannot use naked INS LINE feature since it uses
1.5       tholo    7585: # US. The sbi fakes :al: with an 80-space insert that may be too
1.1       deraadt  7586: # slow at low speeds; also spaces get converted to \040 which is
                   7587: # too long for some programs (not vi).  DEL LINE is ok but slow.
                   7588: #
1.2       deraadt  7589: # The <nl> string is designed for last line of screen ONLY; cup to
1.1       deraadt  7590: # 25th line corrects the motion inherent in scrolling to Page 1.
                   7591: #
                   7592: # There is one understood bug. It is that the screen appears to
1.5       tholo    7593: # pop to a new (blank) page after a :nw:, or leave a half-line
1.3       deraadt  7594: # ellipsis to a quad that is the extra 48 memory locations. The
1.1       deraadt  7595: # data received is dumped into memory but not displayed.  Not to
1.5       tholo    7596: # worry if :cm: is being used; the lines not displayed will be,
                   7597: # whenever the cursor is moved up there. Since :cm: is addressed
1.1       deraadt  7598: # relative to MEMORY of window, nothing is lost; but beware of
1.5       tholo    7599: # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
1.2       deraadt  7600: # therefore, is setenv MORE -c .
1.1       deraadt  7601: #
                   7602: # WARNING: Not all features tested.
                   7603: #
                   7604: # Timings are assembled from 3 sources. Some timings may reflect
                   7605: # SB2/Model 300 that were used if more conservative.
                   7606: # Tested on a Model 600 at 1200 and 9600 bd.
                   7607: #
                   7608: # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
                   7609: # placed on the keyboard and useless because of AEP, is made
                   7610: # into a backspace key. In use ESC must be pressed twice (to send)
1.3       deraadt  7611: # and sending ^C must be prefixed by ESC to avoid that weird
1.1       deraadt  7612: # transmit mode associated with ENTER key.
                   7613: #
                   7614: # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
                   7615: # the screen, then it has dropped into ENTER mode; hit
                   7616: # RESET--ONLINE--!tset.
                   7617: #
                   7618: # As delivered this machine has a FATAL feature that will throw
                   7619: # it into that strange transmit state (SPOW) if the space bar is
                   7620: # hit after a CR is received, but before receiving a LF (or a
                   7621: # few others).
                   7622: #
                   7623: # The circuits MUST be modified to eliminate the SPOW latch.
                   7624: # This is done by strapping on chip A46 of the I/O board; cut
                   7625: # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
                   7626: # chip. This mod has been checked out on a Mod 600 of Superbee II.
                   7627: # With this modification absurdly high timings on cr are
                   7628: # unnecessary.
                   7629: #
                   7630: # NOTE WELL that the rear panel switch should be set to CR/LF,
                   7631: # not AEP!
                   7632: #
                   7633: sb1|beehive superbee:\
1.8     ! tholo    7634:        :am:bs:bw:da:db:mi:ul:xb:\
1.1       deraadt  7635:        :co#80:li#25:sg#1:ug#1:\
                   7636:        :al=\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
1.5       tholo    7637:        :bl=^G:bt=\E`:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%03%03:cr=\r:\
                   7638:        :ct=\E3:dc=\EP:dl=\EM:do=^J:ei=\ER:ho=\EH:im=\EQ\EO:\
                   7639:        :is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:k3=\Er:\
                   7640:        :k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:kI=\EQ\EO:\
                   7641:        :kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7642:        :ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:nd=\EC:\
1.8     ! tholo    7643:        :se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:ue=\E_3:\
        !          7644:        :up=\EA:us=\E_0:
1.1       deraadt  7645: sbi|superbee|beehive superbee at Indiana U.:\
                   7646:        :xb:\
                   7647:        :al=1\EN\EL\EQ \EP \EO\ER\EA:cr=\r:tc=sb1:
                   7648: # Alternate (older) description of Superbee - f1=escape, f2=^C.
                   7649: # Note: there are at least 3 kinds of superbees in the world.  The sb1
                   7650: # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
                   7651: # The sb3 puts garbage on the bottom of the screen when you scroll with
                   7652: # the switch in the back set to CRLF instead of AEP.  This description
                   7653: # is tested on the sb2 but should work on all with either switch setting.
1.5       tholo    7654: # The f1/f2 business is for the sb1 and the :xb: can be taken out for
1.1       deraadt  7655: # the other two if you want to try to hit that tiny escape key.
                   7656: # This description is tricky: being able to use cup depends on there being
1.2       deraadt  7657: # 2048 bytes of memory and the hairy <nl> string.
1.1       deraadt  7658: superbee-xsb|beehive super bee:\
1.2       deraadt  7659:        :am:da:db:xb:\
                   7660:        :co#80:it#8:li#25:\
1.5       tholo    7661:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EF%r%3%3:cr=\r:ct=\E3:dc=\EP:\
                   7662:        :dl=\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:\
                   7663:        :k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7664:        :ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
1.1       deraadt  7665:        :sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
1.2       deraadt  7666:        :so=\E_1:st=\E1:ta=^I:up=\EA:ve=^J:
1.1       deraadt  7667: # This loses on lines > 80 chars long, use at your own risk
                   7668: superbeeic|super bee with insert char:\
                   7669:        :ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
                   7670: sb2|sb3|fixed superbee:\
1.3       deraadt  7671:        :xb@:tc=superbee:
1.1       deraadt  7672:
                   7673: # Reports are that most of these Beehive entries (except superbee) have not
1.5       tholo    7674: # been tested and do not work right.  :se: is a trouble spot.  Be warned.
1.1       deraadt  7675:
1.5       tholo    7676: # (bee: :ic: was empty, which is obviously bogus -- esr)
1.1       deraadt  7677: beehive|bee|harris beehive:\
1.8     ! tholo    7678:        :am:bs:mi:\
1.1       deraadt  7679:        :co#80:li#24:\
1.5       tholo    7680:        :al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
                   7681:        :dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
                   7682:        :kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
                   7683:        :kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
                   7684:        :ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7685: # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1.2       deraadt  7686: # good grief - does this entry make :sg:/:ug: when it doesn't have to?
1.5       tholo    7687: # look at those spaces in :se:/:so:.  Seems strange to me...
                   7688: # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
                   7689: # really care, cook up one using ^F -- esr)
1.2       deraadt  7690: beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
1.8     ! tholo    7691:        :am:bs:\
1.2       deraadt  7692:        :co#80:it#8:li#20:\
1.5       tholo    7693:        :al=\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=\021:do=^J:ho=^E:\
                   7694:        :le=^H:ll=^E^K:nd=^L:se= ^_:sf=^J:so=^] :st=^F:ta=^I:up=^K:
1.1       deraadt  7695: beehive4|bh4|beehive 4:\
                   7696:        :am:\
                   7697:        :co#80:li#24:\
1.5       tholo    7698:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
                   7699:        :sf=^J:up=\EA:
1.1       deraadt  7700: microb|microbee|micro bee series:\
1.8     ! tholo    7701:        :am:bs:\
1.2       deraadt  7702:        :co#80:it#8:li#24:\
1.5       tholo    7703:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
                   7704:        :k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
                   7705:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
                   7706:        :se=\Ed@:sf=^J:so= \EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
1.1       deraadt  7707:
                   7708: # 8675, 8686, and bee from Cyrus Rahman
                   7709: # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
                   7710: ha8675|harris 8675:\
1.3       deraadt  7711:        :F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
1.5       tholo    7712:        :is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
                   7713:        :k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:\
                   7714:        :tc=bee:
1.1       deraadt  7715: # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
                   7716: # in :is: -- esr)
                   7717: ha8686|harris 8686:\
1.3       deraadt  7718:        :F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
                   7719:        :F5=\002\E~\003:F6=\002\E\177\003:\
1.1       deraadt  7720:        :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#:\
                   7721:        :k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
1.5       tholo    7722:        :k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
1.1       deraadt  7723:
                   7724: #### Hazeltine
                   7725: #
                   7726: # Hazeltine appears to be out of the business now (1995).  These guys were
                   7727: # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
1.2       deraadt  7728: # They have a hazeltine.com domain and can be reached at:
                   7729: #
                   7730: #      Hazeltine
                   7731: #      450 East Pulaski Road
                   7732: #      Greenlawn, New York 11740
1.1       deraadt  7733: #
1.2       deraadt  7734: # As late as 1993, manuals for the terminal product line could still be
                   7735: # purchased from:
1.1       deraadt  7736: #
1.2       deraadt  7737: #      TRW Customer Service Division
                   7738: #      15 Law Drive
                   7739: #      P.O. Box 2076
                   7740: #      Fairfield, NJ 07007-2078
1.1       deraadt  7741: #
1.2       deraadt  7742:
1.5       tholo    7743: # Since :nd: is blank, when you want to erase something you
1.1       deraadt  7744: # are out of luck.  You will have to do ^L's a lot to
                   7745: # redraw the screen.  h1000 is untested.  It doesn't work in
                   7746: # vi - this terminal is too dumb for even vi.  (The code is
                   7747: # there but it isn't debugged for this case.)
1.3       deraadt  7748: hz1000|hazeltine 1000:\
1.8     ! tholo    7749:        :bs:\
1.1       deraadt  7750:        :co#80:li#12:\
                   7751:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd= :sf=^J:
                   7752: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1.3       deraadt  7753: hz1420|hazeltine 1420:\
1.8     ! tholo    7754:        :am:bs:\
1.1       deraadt  7755:        :co#80:li#24:\
1.5       tholo    7756:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
                   7757:        :cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
                   7758:        :up=\E^L:
1.2       deraadt  7759: # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
                   7760: # freakout with out-of-range args and tn3270.  No hz since it needs to
                   7761: # receive tildes.
1.3       deraadt  7762: hz1500|hazeltine 1500:\
1.8     ! tholo    7763:        :am:bs:hz:\
1.1       deraadt  7764:        :co#80:li#24:\
                   7765:        :al=~\032:bl=^G:cd=~\030:ce=~^O:cl=~^\:\
1.5       tholo    7766:        :cm=~\021%r%>^^ %+`%+`:cr=^M:dl=~\023:do=~^K:ho=~^R:kd=^J:\
                   7767:        :kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:\
                   7768:        :up=~^L:
1.1       deraadt  7769: # h1510 assumed to be in sane escape mode.  Else use h1500.
1.5       tholo    7770: # (h1510: early versions of this entry apparently had ":se=\E^_:,
                   7771: # :so=\E^Y:, but these caps were commented out in 8.3; also,
1.2       deraadt  7772: # removed incorrect and overridden ":do=^J:" -- esr)
1.3       deraadt  7773: hz1510|hazeltine 1510:\
1.8     ! tholo    7774:        :am:bs:\
1.1       deraadt  7775:        :co#80:li#24:\
1.5       tholo    7776:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
                   7777:        :cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
1.8     ! tholo    7778: # Hazeltine 1520
        !          7779: # The following switch settings are assumed for normal operation:
        !          7780: #      FULL            CR              U/L_CASE        ESCAPE
        !          7781: #      FORMAT_OFF      EOM_A_OFF       EOM_B_OFF       WRAPAROUND_ON
        !          7782: # Other switches may be set for operator convenience or communication
        !          7783: # requirements.
        !          7784: hz1520|Hazeltine 1520:\
        !          7785:        :am:bs:bw:ms:\
        !          7786:        :co#80:li#24:\
        !          7787:        :al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
        !          7788:        :cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
        !          7789:        :kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
        !          7790:        :le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
        !          7791:        :se=\E^Y:sf=^J:so=\E^_:up=\E^L:
        !          7792: # This version works with the escape switch off
1.1       deraadt  7793: # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
1.8     ! tholo    7794: hz1520-noesc|hazeltine 1520:\
1.2       deraadt  7795:        :am:hz:\
1.1       deraadt  7796:        :co#80:li#24:\
1.5       tholo    7797:        :al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=~\021%r%.%.:cr=^M:\
                   7798:        :dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
1.1       deraadt  7799: # Note: the h1552 appears to be the first Hazeltine terminal which
                   7800: # is not braindamaged.  It has tildes and backprimes and everything!
                   7801: # Be sure the auto lf/cr switch is set to cr.
1.3       deraadt  7802: hz1552|hazeltine 1552:\
1.8     ! tholo    7803:        :bs:\
1.5       tholo    7804:        :al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
                   7805:        :l3=green:\
                   7806:        :tc=vt52:
1.3       deraadt  7807: hz1552-rv|hazeltine 1552 reverse video:\
                   7808:        :do=^J:se=\ET:so=\ES:tc=hz1552:
1.1       deraadt  7809: # Note: h2000 won't work well because of a clash between upper case and ~'s.
1.3       deraadt  7810: hz2000|hazeltine 2000:\
1.8     ! tholo    7811:        :am:bs:nc:\
1.1       deraadt  7812:        :co#74:li#27:\
1.5       tholo    7813:        :al=~\032:bl=^G:cl=~\034:cm=~\021%r%.%.:dl=~\023:do=^J:\
                   7814:        :ho=~^R:le=^H:pc=\177:sf=^J:
1.1       deraadt  7815: # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
                   7816: # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
                   7817: # to work ok. There is one problem though if one types a lot of garbage
                   7818: # characters very fast vi seems not able to keep up and hangs while trying
                   7819: # to insert. That's in insert mode while trying to insert in the middle of
                   7820: # a line. It might be because the Esprit doesn't have insert char and delete
                   7821: # char as a built in function. Vi has to delete to end of line and then
                   7822: # redraw the rest of the line.
                   7823: esprit|Hazeltine Esprit I:\
1.8     ! tholo    7824:        :am:bs:bw:\
1.1       deraadt  7825:        :co#80:li#24:\
                   7826:        :al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
1.5       tholo    7827:        :cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
                   7828:        :k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
                   7829:        :k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
                   7830:        :kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
                   7831:        :l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
                   7832:        :up=\E^L:
1.1       deraadt  7833: esprit-am|hazeltine esprit auto-margin:\
1.3       deraadt  7834:        :am:tc=esprit:
1.8     ! tholo    7835: # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
        !          7836: # Vi it seems always wants to send a control J for "do" and it turned out
        !          7837: # that the terminal would work somewhat if the auto LF/CR was turned off.
        !          7838: # (hmod1: removed :dn=~^K: -- esr)
        !          7839: hmod1|Hazeltine Modular 1:\
        !          7840:        :am:bs:hz:\
        !          7841:        :co#80:li#24:\
        !          7842:        :al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
        !          7843:        :do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
        !          7844:        :nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
        !          7845: #
        !          7846: # Hazeltine Executive 80 Model 30 (1554?)
        !          7847: #      from  Will Martin <control@ALMSA-1.ARPA> via BRL
        !          7848: # Like VT100, except for different "am" behavior.
        !          7849: hazel|exec80|h80|he80|Hazeltine Executive 80:\
        !          7850:        :am:bs:pt:\
        !          7851:        :co#80:it#8:li#24:vt#3:\
        !          7852:        :bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
        !          7853:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
        !          7854:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
        !          7855:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
        !          7856:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
        !          7857:        :nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
        !          7858:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
        !          7859:        :so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  7860:
                   7861: #### IBM
                   7862: #
                   7863:
                   7864: ibm327x|line mode IBM 3270 style:\
                   7865:        :gn:\
                   7866:        :ce=^M:cl=^M^J:ho=^M:
1.2       deraadt  7867:
                   7868: # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
1.1       deraadt  7869: # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
1.5       tholo    7870: # (ibm3101: :if=/usr/share/tabset/ibm3101: removed, no such file -- esr)
1.1       deraadt  7871: ibm3101|i3101|IBM 3101-10:\
1.8     ! tholo    7872:        :am:bs:xo:\
1.1       deraadt  7873:        :co#80:li#24:\
1.5       tholo    7874:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\E1:do=^J:\
                   7875:        :ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
1.1       deraadt  7876:        :nw=^M^J:sf=^J:st=\E0:ta=^I:up=\EA:
                   7877: #   Received from the IBM terminals division (given to DRB)
                   7878: #   June 1988 for PS/2 OS 2.2.3 cut
1.2       deraadt  7879: ibm3151|i3151|IBM 3151:\
1.1       deraadt  7880:        :me=\E4@:\
                   7881:        :..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    7882:        :se=\E4@:so=\E4A:ue=\E4@:us=\E4B:\
                   7883:        :tc=ibm3163:
1.1       deraadt  7884: # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1.2       deraadt  7885: # I've commented out or translated some IBM extensions.
1.1       deraadt  7886: ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
1.8     ! tholo    7887:        :am:bs:mi:ms:\
1.1       deraadt  7888:        :co#80:it#8:li#24:\
1.8     ! tholo    7889:        :F1=\Ek\r:F2=\El\r:F3=\E\041a\r:F4=\E\041b\r:\
        !          7890:        :F5=\E\041c\r:F6=\E\041d\r:F7=\E\041e\r:F8=\E\041f\r:\
        !          7891:        :F9=\E\041g\r:FA=\E\041h\r:FB=\E\041i\r:FC=\E\041j\r:\
        !          7892:        :FD=\E\041k\r:FE=\E\041l\r:\
1.3       deraadt  7893:        :ac=l\354q\361k\353x\370j\352m\355w\367u\365v\366t\364n\356:\
1.5       tholo    7894:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
                   7895:        :dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
                   7896:        :k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
                   7897:        :kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
                   7898:        :kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   7899:        :kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
1.3       deraadt  7900:        :mr=\E4A:nd=\EC:\
1.1       deraadt  7901:        :..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    7902:        :se=\E4@:sf=^J:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:\
                   7903:        :us=\E4B:
1.1       deraadt  7904:
                   7905: # How the 3164 sgr string works:
                   7906: #      %{32}           # push space for no special video characteristics
                   7907: #      %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
                   7908: #      %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
                   7909: #      %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
                   7910: #      %c              # pop Pa1
                   7911: #      %{39}%p1%-      # calculate 32 + (7 - p1) for foreground
                   7912: #      %c              # pop Pa2
                   7913: #      %{64}           # use only black background for now
                   7914: #      %c              # pop Pa3
1.2       deraadt  7915: ibm3164|i3164|IBM 3164:\
1.1       deraadt  7916:        :mb=\E4D:md=\E4H:me=\E4@:\
                   7917:        :..sa=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c:tc=ibm3163:
                   7918:
                   7919: ibmaed|IBM Experimental display:\
1.8     ! tholo    7920:        :am:bs:eo:ms:\
1.2       deraadt  7921:        :co#80:it#8:li#52:\
1.5       tholo    7922:        :al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
                   7923:        :do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
                   7924:        :ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
                   7925:        :vb=\EG:
1.1       deraadt  7926: ibm-apl|apl|IBM apl terminal simulator:\
1.3       deraadt  7927:        :li#25:tc=dm1520:
1.1       deraadt  7928: # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
                   7929: # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
                   7930: ibmmono|ibm5151|IBM workstation monochrome:\
1.2       deraadt  7931:        :es:hs:\
1.5       tholo    7932:        :al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
                   7933:        :k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
                   7934:        :kF=\EE:kI=\200:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
                   7935:        :md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
                   7936:        :so=\EZ:sr=\EA:ts=\Ej\EY8%+ \Eo:ue=\Ew:us=\EW:\
                   7937:        :tc=ibm3101:
1.2       deraadt  7938: ibmega|ibm5154|IBM Enhanced Color Display:\
                   7939:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmmono:
1.1       deraadt  7940: ibmega-c|ibm5154-c|IBM Enhanced Color Display:\
                   7941:        :se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
1.2       deraadt  7942: ibmvga-c|IBM VGA display color termcap:\
                   7943:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
                   7944: ibmvga|IBM VGA display:\
                   7945:        :cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
1.1       deraadt  7946: # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
                   7947: rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display:\
                   7948:        :li#32:\
                   7949:        :ds=\Ej\EY@ \EI\Ek:ts=\Ej\EY@%+ \Eo:tc=ibmmono:
                   7950: # Advanced Monochrome (6153) and Color (6154) Graphics Display:
                   7951: ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display:\
                   7952:        :li#31:\
                   7953:        :ds=\Ej\EY? \EI\Ek:ts=\Ej\EY?%+ \Eo:tc=ibmmono:
                   7954: ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
                   7955:        :li#31:\
                   7956:        :ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:ts=\Ej\EY?%+ \Eo:tc=ibmega-c:
                   7957: # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
                   7958: # also in /usr/lpp/bos/bsdsysadmin.
                   7959: # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
                   7960: # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
                   7961: # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
1.2       deraadt  7962: # I also added <rmam>/<smam> based on the terminal reset string.
1.5       tholo    7963: # There was an unknown boolean ":ht:" which I assume was meant to set hardware
                   7964: # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
                   7965: # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
1.1       deraadt  7966: ibm8512|ibm8513|hft-c|IBM High Function Terminal:\
                   7967:        :am:mi:ms:\
                   7968:        :co#80:it#8:li#25:\
1.5       tholo    7969:        :AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:ac=:ae=^O:al=\E[L:\
                   7970:        :as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:\
                   7971:        :dm=\E[4h:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:\
                   7972:        :im=\E[4h:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:\
                   7973:        :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
                   7974:        :k7=\E[007q:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:\
                   7975:        :le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
                   7976:        :r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
                   7977:        :so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
                   7978:        :us=\E[4m:
1.1       deraadt  7979: hft|AIWS High Function Terminal:\
                   7980:        :am:xo:\
                   7981:        :co#80:li#25:\
                   7982:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    7983:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:\
                   7984:        :ic=\E[@:im=\E6:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
                   7985:        :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
                   7986:        :k9=\E[009q:kN=\E[153q:kP=\E[159q:ka=\E[010q:kb=^H:\
                   7987:        :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
                   7988:        :md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:\
                   7989:        :so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.2       deraadt  7990: ibm-system1|system1|ibm system/1 computer:\
                   7991:        :am:xt:\
                   7992:        :co#80:li#24:\
1.5       tholo    7993:        :bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
1.2       deraadt  7994:
1.1       deraadt  7995: # From: <pryor@math.berkeley.edu>
                   7996: ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display:\
                   7997:        :es:hs:\
                   7998:        :li#33:\
                   7999:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmmono:
                   8000: ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display:\
                   8001:        :es:hs:\
                   8002:        :li#33:\
                   8003:        :ds=\Ej\EYA \EI\Ek:fs=\Ek:ts=\Ej\EYA%+ \Eo:tc=ibmega-c:
1.2       deraadt  8004: ibm8514|IBM 8514 color display:\
                   8005:        :es:hs:\
                   8006:        :li#41:\
1.5       tholo    8007:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8008:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8009:        :tc=ibmega:
1.2       deraadt  8010: ibm8514-c|IBM 8514 color display:\
                   8011:        :es:hs:\
                   8012:        :li#41:\
1.5       tholo    8013:        :cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
                   8014:        :nw=^M^J:sf=^J:ta=^I:ts=\Ej\EYI%+ \Eo:\
                   8015:        :tc=ibmega-c:
1.2       deraadt  8016:
                   8017: #
                   8018: # AIX entries.  IBM ships these with AIX 3.
                   8019: # AIX extension caps are commented out,
                   8020: # except for box1 which has been translated to an <acsc> string.
                   8021: #
                   8022: aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
                   8023:        :es:hs:\
1.5       tholo    8024:        :ac=llqqkkxxjjmmwwuuvvttnn:ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   8025:        :me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:\
1.2       deraadt  8026:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8027:        :sr@:ts=\E[?%p1%dT:\
                   8028:        :tc=ibm6153:
1.2       deraadt  8029: aixterm-m-old|IBM AIXterm Monochrome Terminal Emulator:\
                   8030:        :es:hs:\
                   8031:        :ds=\E[?E:fs=\E[?F:md=\E[1m:\
                   8032:        :..sa=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:\
1.5       tholo    8033:        :sr@:ts=\E[?%p1%dT:\
                   8034:        :tc=ibm6153:
1.2       deraadt  8035: jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
1.5       tholo    8036:        :ac@:\
                   8037:        :tc=aixterm-m:
1.1       deraadt  8038:
                   8039: #### Infoton/General Terminal Corp.
                   8040: #
                   8041:
                   8042: # gt100 sounds like something DEC would come out with.  Let's hope they don't.
                   8043: i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
1.8     ! tholo    8044:        :am:bs:\
1.1       deraadt  8045:        :co#80:li#24:\
1.5       tholo    8046:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
                   8047:        :dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
                   8048:        :vb=\Eb\Ea:
1.1       deraadt  8049: i400|infoton 400:\
1.8     ! tholo    8050:        :am:bs:\
1.1       deraadt  8051:        :co#80:li#25:\
                   8052:        :al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=%i\E[%3;%3H:cr=^M:\
                   8053:        :dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
1.5       tholo    8054:        :ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
1.1       deraadt  8055: # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
                   8056: addrinfo:\
                   8057:        :am:\
                   8058:        :co#80:li#24:\
1.5       tholo    8059:        :bl=^G:cd=^K:cl=^L:..cm=\037%p1%{1}%-%c%p2%{1}%-%c:cr=^M:\
                   8060:        :do=^J:ho=^H:le=^Z:ll=^H^\:nd=^Y:sf=^J:up=^\:
                   8061: # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
1.1       deraadt  8062: infoton:\
                   8063:        :am:\
                   8064:        :co#80:li#24:\
1.5       tholo    8065:        :bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
                   8066:        :up=^\:
1.1       deraadt  8067:
                   8068: #### Interactive Systems Corp
                   8069: #
                   8070: # ISC used to sell OEMed and customized hardware to support ISC UNIX.
                   8071: # ISC UNIX still exists in 1995, but ISC itself is no more; they got
                   8072: # bought out by Sun.
                   8073: #
                   8074:
                   8075: # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1.2       deraadt  8076: # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1.1       deraadt  8077: # ":le=^_:" later overridden -- esr)
                   8078: intext|Interactive Systems Corporation modified owl 1200:\
1.8     ! tholo    8079:        :am:bs:\
1.2       deraadt  8080:        :co#80:it#8:li#24:sg#1:\
1.1       deraadt  8081:        :al=\020:bl=^G:bt=^Y:cd=\026J:ce=^Kp^R:cl=\014:\
1.5       tholo    8082:        :cm=\017%+ %+ :cr=^M:dc=\022:dl=\021:do=^J:ei=^V<:im=^V;:\
                   8083:        :ip=:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:k4=^VD\r:k5=^VE\r:\
                   8084:        :k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:kb=^H:kd=^J:ke=^V9:\
                   8085:        :kh=^Z:kl=^_:kr=^^:ks=\036\072\264\026%:ku=^\:le=^H:nd=^^:\
                   8086:        :se=^V# :sf=^J:so=^V$\054:ta=^I:up=^\:
1.1       deraadt  8087: intext2|intextii|INTERACTIVE modified owl 1251:\
                   8088:        :am:bw:ul:\
                   8089:        :co#80:li#24:sg#0:\
1.3       deraadt  8090:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
                   8091:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
                   8092:        :do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
1.5       tholo    8093:        :k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
                   8094:        :k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
                   8095:        :ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
                   8096:        :l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:nd=\E[C:\
                   8097:        :se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:\
                   8098:        :up=\E[A:us=\E[18 D:\
1.2       deraadt  8099:        :vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
1.1       deraadt  8100:
                   8101: #### Kimtron (abm, kt)
                   8102: #
1.2       deraadt  8103: # Kimtron entries include (undocumented) codes for: enter dim mode,
                   8104: # enter bold mode, enter reverse mode, turn off all attributes.
                   8105: #
1.1       deraadt  8106:
                   8107: # Kimtron ABM 85 added by Dual Systems
1.2       deraadt  8108: # (abm85: removed duplicated ":kd=^J:" -- esr)
1.1       deraadt  8109: abm85|Kimtron ABM 85:\
1.8     ! tholo    8110:        :am:bs:bw:ms:\
1.2       deraadt  8111:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    8112:        :al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
                   8113:        :dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
1.1       deraadt  8114:        :is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
1.5       tholo    8115:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
                   8116:        :up=^K:us=\El:
1.1       deraadt  8117: # Kimtron ABM 85H added by Dual Systems.
1.8     ! tholo    8118: # Some notes about the abm85h entries:
1.2       deraadt  8119: # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1.1       deraadt  8120: #    firmware revs prior to SP51
1.8     ! tholo    8121: # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
        !          8122: #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
        !          8123: #    in some places and NOT software settable i.e., :is: can't fix it)
1.1       deraadt  8124: # 3) In 85h mode, the arrow keys and special functions transmit when
                   8125: #    the terminal is in dup-edit, and work only locally in local-edit.
1.5       tholo    8126: #    Vi won't swallow `del char' for instance, but :ti: turns on
1.1       deraadt  8127: #    dup-edit anyway so that the arrow keys will work right. If the
1.5       tholo    8128: #    arrow keys don't work the way you like, change :ti:, :te:, and
                   8129: #    :is:.  Note that 920E mode does not have software commands to toggle
1.2       deraadt  8130: #    between dup and local edit, so you get whatever was set last on the
                   8131: #    terminal.
1.5       tholo    8132: # 4) :vb: attribute is nice, but seems too slow to work correctly
                   8133: #    (\Eb:pc:\Ed)
1.1       deraadt  8134: # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1.2       deraadt  8135: #    are selected, the <xmc@> entry should be removed.
1.1       deraadt  8136: # 6) auto new-line should be on (selectable from setup mode only)
                   8137: #
                   8138: # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
1.2       deraadt  8139: abm85h|Kimtron ABM 85H native mode:\
1.1       deraadt  8140:        :hs:\
1.5       tholo    8141:        :sg@:\
1.2       deraadt  8142:        :bl=^G:ds=\Ee:fs=^M:im=\EZ:\
1.1       deraadt  8143:        :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    8144:        :kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
                   8145:        :tc=adm+sgr:tc=abm85:
1.2       deraadt  8146: abm85e|Kimtron ABM 85H in 920E mode:\
                   8147:        :sg@:\
                   8148:        :bl=^G:im=\EZ:\
1.1       deraadt  8149:        :is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
1.5       tholo    8150:        :me=\E(\Ek:mh=\E):mr=\Ej:vb@:\
                   8151:        :tc=abm85:
1.2       deraadt  8152: abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
                   8153:        :sg@:\
                   8154:        :bl=^G:im=\EZ:\
1.1       deraadt  8155:        :is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
1.5       tholo    8156:        :me=\E(\Ek:mh=\E):mr=\Ej:\
                   8157:        :tc=abm85:
1.1       deraadt  8158: # From: <malman@bbn-vax.arpa>
1.2       deraadt  8159: # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
1.1       deraadt  8160: kt7|kimtron model kt-7:\
1.8     ! tholo    8161:        :am:bs:\
1.2       deraadt  8162:        :co#80:it#8:li#24:\
1.5       tholo    8163:        :al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
                   8164:        :dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
1.1       deraadt  8165:        :if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
1.5       tholo    8166:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   8167:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
                   8168:        :kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
                   8169:        :ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:\
                   8170:        :tc=adm+sgr:
1.8     ! tholo    8171: # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
        !          8172: # other kt7 entry and the adjacent key capabilities).  Removed EE which is
        !          8173: # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
        !          8174: # but we can't figure out what.
        !          8175: kt7ix|kimtron model kt-7 or 70 in IX mode:\
        !          8176:        :am:bw:\
        !          8177:        :co#80:it#8:li#25:\
        !          8178:        :@7=\EY:PU=\EK:ac=lZm@k?jYt4uCvAwBqDx3nE:ae=\E%:al=\EE:\
        !          8179:        :as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
        !          8180:        :cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
        !          8181:        :im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
        !          8182:        :k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
        !          8183:        :k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
        !          8184:        :kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          8185:        :mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
        !          8186:        :so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
        !          8187:
        !          8188: #### Microdata/MDIS
        !          8189: #
        !          8190: # This was a line of terminals made by McDonnell-Douglas Information Systems.
        !          8191: # These entries come direct from MDIS documentation.  I have edited them only
        !          8192: # to move primary names of the form p[0-9] * to aliases, and to comment out
        !          8193: # :ae:/:as: in a couple of entries without <acsc> strings.  I have
        !          8194: # also removed the change history; the last version indicates this is
        !          8195: # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
        !          8196: #
        !          8197:
        !          8198: # McDonnell Information Systems Terminal Family History
        !          8199: # =========================================
        !          8200: #
        !          8201: # Prism-1, Prism-2 and P99:
        !          8202: #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
        !          8203: #
        !          8204: # Prism-4 and Prism-5:
        !          8205: #       Slightly less ancient range of Microdata terminals. Follow-on from
        !          8206: #       Prism-2, but with many enhancements. P5 has eight display pages.
        !          8207: #
        !          8208: # Prism-6:
        !          8209: #       A special terminal for use with library systems, primarily in Germany.
        !          8210: #       Limited numbers. Similar functionality to P5 (except attributes?).
        !          8211: #
        !          8212: # Prism-7, Prism-8 and Prism-9:
        !          8213: #       More recent range of MDIS terminals, in which P7 and P8
        !          8214: #       replace the P4 & P5, with added functionality, and P9 is the flagship.
        !          8215: #       The P9 has two emulation modes - P8 and ANSI - and includes a
        !          8216: #       large number of the DEC VT220 control sequences. Both
        !          8217: #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
        !          8218: #
        !          8219: # Prism-12 and Prism-14:
        !          8220: #       Latest range, functionally very similar to the P9.  The P14 has a
        !          8221: #       black-on-white overscanning screen.
        !          8222: #
        !          8223: # The terminfo definitions given here are:
        !          8224: #
        !          8225: # p2      - Prism-2 (or Prism-1 or P99).
        !          8226: #
        !          8227: # p4      - Prism-4 (and older P7s & P8s).
        !          8228: # p5      - Prism-5 (or Prism-6).
        !          8229: #
        !          8230: # p7      - Prism-7.
        !          8231: # p8      - Prism-8 (in national or multinational mode).
        !          8232: # p8-w    - 132 column version of p8.
        !          8233: # p9      - Prism-9 in ANSI mode.
        !          8234: # p9-w    - 132 column version of p9.
        !          8235: # p9-8    - Prism-9 in Prism-8 emulation mode.
        !          8236: # p9-8-w  - As p9-8, but with 132 columns.
        !          8237: #
        !          8238: # p12     - Prism-12 in ANSI mode.
        !          8239: # p12-w   - 132 column version of p12.
        !          8240: # p12-m   - Prism-12 in MDC emulation mode.
        !          8241: # p12-m-w - As p12-m, but with 132 columns.
        !          8242: # p14     - Prism-14 in ANSI mode.
        !          8243: # p14-w   - 132 column version of p14.
        !          8244: # p14-m   - Prism-14 in MDC emulation mode.
        !          8245: # p14-m-w - As p14-m, but with 132 columns.
        !          8246: #
        !          8247: # p2: Prism-2
        !          8248: # -----------
        !          8249: #
        !          8250: # Includes Prism-1 and basic P99 without SP or MP loaded.
        !          8251: # The simplest form of Prism-type terminal.
        !          8252: # Basic cursor movement and clearing operations only.
        !          8253: # No video attributes.
        !          8254: # Notes:
        !          8255: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
        !          8256: #  value up, followed by backspace.
        !          8257: #
        !          8258: P2|prism2|MDC Prism-2:\
        !          8259:        :am:bw:ms:\
        !          8260:        :co#80:li#24:\
        !          8261:        :bl=^G:cd=\EJ:ce=\EK:\
        !          8262:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
        !          8263:        :cl=\014:\
        !          8264:        :..cm=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
        !          8265:        :cr=^M:cv=\013%+ :do=^J:ho=^A:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:\
        !          8266:        :up=^Z:
        !          8267:
        !          8268: # p4: Prism-4
        !          8269: # -----------
        !          8270: #
        !          8271: # Includes early versions of P7 & P8.
        !          8272: # Basic family definition for most Prisms (except P2 and P9 ANSI).
        !          8273: # Notes:
        !          8274: #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
        !          8275: #  value up, followed by backspace.
        !          8276: #  Cursor key definitions removed because they interfere with vi and csh keys.
        !          8277: #
        !          8278: prism4|p4|P4|MDC Prism-4:\
        !          8279:        :5i:am:bw:hs:ms:\
        !          8280:        :co#80:li#24:sg#1:ug#1:ws#72:\
        !          8281:        :bl=^G:cd=\EJ:ce=\EK:\
        !          8282:        :..ch=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
        !          8283:        :cl=\014:\
        !          8284:        :..cm=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c:\
        !          8285:        :cr=^M:cv=\013%+ :do=^J:ds=\035\343\035\345:fs=^]\345:\
        !          8286:        :ho=^A^J:kb=^H:kh=^A:le=^H:mb=^CB:me=^C :mh=^CA:mk=^CH:\
        !          8287:        :mr=^CD:nd=^F:pf=\ET:po=\ER:ps=\EU:\
        !          8288:        :..sa=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;:\
        !          8289:        :se=^C :sf=^J:so=^CD:ts=^]\343:ue=^C :up=^Z:us=^CP:\
        !          8290:        :ve=^]\342:vi=^]\344:
        !          8291:
        !          8292: # p5: Prism-5
        !          8293: # -----------
        !          8294: #
        !          8295: # Same definition as p4. Includes Prism-6 (not tested!).
        !          8296: # Does not use any multi-page features.
        !          8297: #
        !          8298: prism5|p5|P5|MDC Prism-5:\
        !          8299:        :tc=p4:
        !          8300:
        !          8301: # p7: Prism-7
        !          8302: # -----------
        !          8303: #
        !          8304: # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
        !          8305: # Notes:
        !          8306: #  Use p4 for very early models of P7.
        !          8307: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
        !          8308: #
        !          8309: prism7|p7|P7|MDC Prism-7:\
        !          8310:        :ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
        !          8311:
        !          8312: # p8: Prism-8
        !          8313: # -----------
        !          8314: #
        !          8315: # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
        !          8316: # Supports national and multinational character sets.
        !          8317: # Notes:
        !          8318: #  Alternate char set operations only work in multinational mode.
        !          8319: #  Use p4 for very early models of P8.
        !          8320: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
        !          8321: # (esr: commented out :as:/:ae: because there's no <acsc>)
        !          8322: #
        !          8323: prism8|p8|P8|MDC Prism-8:\
        !          8324:        :ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
        !          8325:
        !          8326: # p8-w: Prism-8 in 132 column mode
        !          8327: # --------------------------------
        !          8328: #
        !          8329: # 'Wide' version of p8.
        !          8330: # Notes:
        !          8331: #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
        !          8332: #
        !          8333: prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
        !          8334:        :co#132:\
        !          8335:        :is=\E[<12h\E[<14h:tc=p8:
        !          8336:
        !          8337: # p9: Prism-9 in ANSI mode
        !          8338: # -------------------------
        !          8339: #
        !          8340: # The "flagship" model of this generation of terminals.
        !          8341: # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
        !          8342: # Notes:
        !          8343: #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
        !          8344: #  Fixes to deal with terminal firmware bugs:
        !          8345: #  . 'ri' uses insert-line since rev index doesn't always
        !          8346: #  . 'sgr0' has extra '0' since esc[m fails
        !          8347: #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
        !          8348: #  Not covered in the current definition:
        !          8349: #  . Labels
        !          8350: #  . Programming Fn keys
        !          8351: #  . Graphic characters (defaults correctly to vt100)
        !          8352: #  . Padding values (sets xon)
        !          8353: # (esr: commented out :as:/:ae: because there's no <acsc>)
        !          8354: #
        !          8355: # (untranslatable capabilities removed to fit entry within 1023 bytes)
        !          8356: prism9|p9|P9|MDC Prism-9 in ANSII mode:\
        !          8357:        :5i:am:bw:hs:ms:xn:xo:\
        !          8358:        :co#80:it#8:li#24:vt#3:ws#72:\
        !          8359:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
        !          8360:        :F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
        !          8361:        :F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
        !          8362:        :al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
        !          8363:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%v:ct=\E[2g:\
        !          8364:        :cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
        !          8365:        :ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
        !          8366:        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
        !          8367:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
        !          8368:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
        !          8369:        :mb=\E[5m:md=\E[1m:me=\E[0m:mp=\E[32%{:mr=\E[7m:nd=\E[C:\
        !          8370:        :nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:\
        !          8371:        :r2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
        !          8372:        :rc=\E[%z:rp=\E[%r%db%.:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:\
        !          8373:        :sr=\E[L:st=\EH:ta=^I:ts=\E[%i%p1%d%%}:ue=\E[24m:up=\E[A:\
        !          8374:        :us=\E[4m:ve=\E[<4h:vi=\E[<4l:
        !          8375:
        !          8376: # p9-w: Prism-9 in 132 column mode
        !          8377: # --------------------------------
        !          8378: #
        !          8379: # 'Wide' version of p9.
        !          8380: #
        !          8381: prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
        !          8382:        :co#132:\
        !          8383:        :is=\E[&p\E[<12l\E F\E[<14h:\
        !          8384:        :r2=\E[&p\E[<12l\E F\E[<14h:tc=p9:
        !          8385:
        !          8386: # p9-8: Prism-9 in P8 mode
        !          8387: # ------------------------
        !          8388: #
        !          8389: # P9 terminal in P8 emulation mode.
        !          8390: # Similar to p8 definition.
        !          8391: # Insertion and deletion operations possible.
        !          8392: #
        !          8393: prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
        !          8394:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
        !          8395:        :dl=\E[M:ei=:ic=\E[@:im=:\
        !          8396:        :tc=p8:
        !          8397:
        !          8398: # p9-8-w: Prism-9 in P8 and 132 column modes
        !          8399: # ------------------------------------------
        !          8400: #
        !          8401: # P9 terminal in P8 emulation mode and 132 column mode.
        !          8402: #
        !          8403: prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
        !          8404:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
        !          8405:        :dl=\E[M:ei=:ic=\E[@:im=:\
        !          8406:        :tc=p8-w:
        !          8407:
        !          8408: # p12: Prism-12 in ANSI mode
        !          8409: # ---------------------------
        !          8410: #
        !          8411: # See p9 definition.
        !          8412: #
        !          8413: prism12|p12|P12|MDC Prism-12 in ANSI mode:\
        !          8414:        :tc=p9:
        !          8415:
        !          8416: # p12-w: Prism-12 in 132 column mode
        !          8417: # ----------------------------------
        !          8418: #
        !          8419: # 'Wide' version of p12.
        !          8420: #
        !          8421: prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
        !          8422:        :tc=p9-w:
        !          8423:
        !          8424: # p12-m: Prism-12 in MDC emulation mode
        !          8425: # -------------------------------------
        !          8426: #
        !          8427: # P12 terminal in MDC emulation mode.
        !          8428: # Similar to p8 definition.
        !          8429: # Insertion and deletion operations possible.
        !          8430: #
        !          8431: prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
        !          8432:        :tc=p9-8:
        !          8433:
        !          8434: # p12-m-w: Prism-12 in MDC emulation and 132 column modes
        !          8435: # -------------------------------------------------------
        !          8436: #
        !          8437: # P12 terminal in MDC emulation mode and 132 column mode.
        !          8438: #
        !          8439: prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
        !          8440:        :tc=p9-8-w:
        !          8441:
        !          8442: # p14: Prism-14 in ANSII mode
        !          8443: # ---------------------------
        !          8444: #
        !          8445: # See p9 definition.
        !          8446: #
        !          8447: prism14|p14|P14|MDC Prism-14 in ANSII mode:\
        !          8448:        :tc=p9:
        !          8449:
        !          8450: # p14-w: Prism-14 in 132 column mode
        !          8451: # ----------------------------------
        !          8452: #
        !          8453: # 'Wide' version of p14.
        !          8454: #
        !          8455: prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
        !          8456:        :tc=p9-w:
        !          8457:
        !          8458: # p14-m: Prism-14 in MDC emulation mode
        !          8459: # -------------------------------------
        !          8460: #
        !          8461: # P14 terminal in MDC emulation mode.
        !          8462: # Similar to p8 definition.
        !          8463: # Insertion and deletion operations possible.
        !          8464: #
        !          8465: prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
        !          8466:        :tc=p9-8:
        !          8467:
        !          8468: # p14-m-w: Prism-14 in MDC emulation and 132 column modes
        !          8469: # -------------------------------------------------------
        !          8470: #
        !          8471: # P14 terminal in MDC emulation mode and 132 column mode.
        !          8472: #
        !          8473: prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
        !          8474:        :tc=p9-8-w:
        !          8475:
        !          8476: # End of McDonnell Information Systems Prism definitions
        !          8477:
        !          8478: # These things were popular in the Pick database community at one time
        !          8479: # From: George Land <georgeland@aol.com> 24 Sep 1996
        !          8480: p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
        !          8481:        :am:bw:hs:mi:\
        !          8482:        :co#80:li#24:ma#1:sg#1:ug#1:ws#78:\
        !          8483:        :F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
        !          8484:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc= ^H:\
        !          8485:        :dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
        !          8486:        :k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
        !          8487:        :kD= ^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
        !          8488:        :ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
        !          8489:        :la=F10:le=^U:mb=^CB:me=^C :mh=^CA:mk=^CH:mr=^CD:nd=^F:\
        !          8490:        :nw=^J^M:pc=\200:se=^C :sf=^J:so=^CE:ue=^C :up=^Z:us=^C0:
1.1       deraadt  8491:
                   8492: #### Microterm (act, mime)
                   8493: #
                   8494: # The mime1 entries refer to the Microterm Mime I or Mime II.
                   8495: # The default mime is assumed to be in enhanced act iv mode.
                   8496: #
                   8497:
1.2       deraadt  8498: # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1.5       tholo    8499: # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
                   8500: # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
1.2       deraadt  8501: # since Sytek insists ^S means xoff.
1.1       deraadt  8502: # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
                   8503: act4|microterm|microterm act iv:\
1.8     ! tholo    8504:        :am:bs:\
1.1       deraadt  8505:        :co#80:li#24:\
                   8506:        :al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
                   8507:        :cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
1.5       tholo    8508:        :dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
                   8509:        :sf=^J:up=^Z:
1.1       deraadt  8510: # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
                   8511: # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
                   8512: # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
                   8513: act5|microterm5|microterm act v:\
                   8514:        :kd=^K:kl=^H:kr=^X:ku=^Z:sr=\EH:uc=^H\EA:tc=act4:
                   8515: # Mimes using brightness for standout.  Half bright is really dim unless
                   8516: # you turn up the brightness so far that lines show up on the screen.
                   8517: mime-fb|full bright mime1:\
                   8518:        :is=^S\E:se=^S:so=^Y:tc=mime:
                   8519: mime-hb|half bright mime1:\
                   8520:        :is=^Y\E:se=^Y:so=^S:tc=mime:
                   8521: # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1.2       deraadt  8522: # the more plausible ":do=^J:" -- esr)
1.1       deraadt  8523: # uc was at one time disabled to get around a curses bug, be wary of it
                   8524: mime|mime1|mime2|mimei|mimeii|microterm mime1:\
1.8     ! tholo    8525:        :am:bs:\
1.1       deraadt  8526:        :co#80:it#8:li#24:vt#9:\
1.5       tholo    8527:        :al=\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
                   8528:        :cr=^M:dl=\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
                   8529:        :le=^H:nd=^X:sf=^J:sr=\022:ta=\011:uc=^U:up=^Z:
1.8     ! tholo    8530: # These termcaps (for mime2a) put the terminal in low intensity mode
1.1       deraadt  8531: # since high intensity mode is so obnoxious.
                   8532: mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
1.8     ! tholo    8533:        :am:bs:\
1.1       deraadt  8534:        :co#80:li#24:\
1.5       tholo    8535:        :al=\001:bl=^G:cd=\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=^M:\
                   8536:        :dc=\ED:dl=\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=:is=\E):kd=^J:\
                   8537:        :kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:so=\E\072:sr=\EI:\
                   8538:        :ue=\E7:up=\EI:us=\E6:
1.1       deraadt  8539: # This is the preferred mode (but ^X can't be used as a kill character)
                   8540: mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
1.8     ! tholo    8541:        :bs:\
1.1       deraadt  8542:        :co#80:it#8:li#24:\
1.5       tholo    8543:        :al=\001:bl=^G:cd=\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   8544:        :dc=^N:dl=\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=:is=^Y:kd=\EB:\
                   8545:        :kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:so=\E8:\
                   8546:        :sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
1.1       deraadt  8547: # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
                   8548: mime3a|mime1 emulating 3a:\
                   8549:        :am@:\
                   8550:        :kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
                   8551: mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
                   8552:        :it#8:\
                   8553:        :al=\001:cd=^_:ce=^X:dl=\027:ta=\011:tc=mime3a:
                   8554: # Wed Mar  9 18:53:21 1983
                   8555: # We run our terminals at 2400 baud, so there might be some timing problems at
                   8556: # higher speeds. The major improvements in this model are the terminal now
                   8557: # scrolls down and insert mode works without redrawing the rest of the line
                   8558: # to the right of the cursor. This is done with a bit of a kludge using the
                   8559: # exit graphics mode to get out of insert, but it does not appear to hurt
                   8560: # anything when using vi at least. If you have some users using act4s with
                   8561: # programs that use curses and graphics mode this could be a problem.
                   8562: mime314|mm314|mime 314:\
                   8563:        :am:\
                   8564:        :co#80:li#24:\
1.5       tholo    8565:        :al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
                   8566:        :im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
1.2       deraadt  8567: # Microterm mime 340 from University of Wisconsin
                   8568: mm340|mime340|mime 340:\
                   8569:        :co#80:li#24:\
                   8570:        :al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
1.5       tholo    8571:        :cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E\054:kb=^H:kd=^J:\
                   8572:        :kl=^H:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
1.2       deraadt  8573: # This came from University of Wisconsin marked "astro termcap for jooss".
                   8574: # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
                   8575: # also added <rmam>/<smam> based  on the init string -- esr)
                   8576: mt4520-rv|micro-term 4520 reverse video:\
                   8577:        :am:hs:ms:xn:xo:\
                   8578:        :co#80:it#8:li#24:ws#80:\
                   8579:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  8580:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.5       tholo    8581:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
                   8582:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   8583:        :fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
1.2       deraadt  8584:        :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    8585:        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
                   8586:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
1.3       deraadt  8587:        :nd=\E[C:nw=\EE:\
                   8588:        :r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
1.5       tholo    8589:        :rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
                   8590:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
                   8591:        :up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
                   8592:        :vs=\E7\E[0U:
1.2       deraadt  8593:
1.1       deraadt  8594: # Fri Aug  5 08:11:57 1983
                   8595: # This entry works for the ergo 4000 with the following setups:
                   8596: # ansi,wraparound,newline disabled, xon/xoff disabled in both
                   8597: # setup a & c.
                   8598: #
                   8599: # WARNING!!! There are multiple versions of ERGO 4000 microcode
                   8600: # Be advised that very early versions DO NOT WORK RIGHT !!
                   8601: # Microterm does have a ROM exchange program- use it or lose big
1.2       deraadt  8602: # (ergo400: added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8603: ergo4000|microterm ergo 4000:\
                   8604:        :da:db:ms:\
                   8605:        :co#80:li#66:\
1.5       tholo    8606:        :AL=\E[1L:RA=\E[?7l:SA=\E[?7m:bl=^G:cd=\E[0J:ce=\E[0K:\
                   8607:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
                   8608:        :do=\E[B:ei=\E[4l:im=\E[4h:\
1.1       deraadt  8609:        :is=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    8610:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E=:kl=\E[D:kr=\E[C:\
                   8611:        :ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:me=\E[m:\
                   8612:        :nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:
1.1       deraadt  8613:
                   8614: #### NCR
                   8615: #
                   8616: # NCR's terminal group was merged with AT&T's when AT&T bought the company.
                   8617: # For what happened to that group, see the ADDS section.
                   8618: #
1.5       tholo    8619: # There is an NCR4103 terminal that's just a re-badged Wyse-50.
                   8620: #
1.1       deraadt  8621:
1.2       deraadt  8622: # NCR7900 DIP switches:
                   8623: #
                   8624: # Switch A:
                   8625: # 1-4 - Baud Rate
                   8626: # 5   - Parity (Odd/Even)
                   8627: # 6   - Don't Send or Do Send Spaces
                   8628: # 7   - Parity Enable
                   8629: # 8   - Stop Bits (One/Two)
                   8630: #
                   8631: # Switch B:
                   8632: # 1   - Upper/Lower Shift
                   8633: # 2   - Typewriter Shift
                   8634: # 3   - Half Duplex / Full Duplex
                   8635: # 4   - Light/Dark Background
                   8636: # 5-6 - Carriage Return Without / With Line Feed
                   8637: # 7   - Extended Mode
                   8638: # 8   - Suppress Keyboard Display
                   8639: #
                   8640: # Switch C:
                   8641: # 1   - End of line entry disabled/enabled
                   8642: # 2   - Conversational mode / (Local?) Mode
                   8643: # 3   - Control characters displayed / not displayed
                   8644: # 4   - (2-wire?) / 4-wire communications
                   8645: # 5   - RTS on and off for each character
                   8646: # 6   - (50Hz?) / 60 Hz
                   8647: # 7   - Exit after level zero diagnostics
                   8648: # 8   - RS-232 interface
                   8649: #
                   8650: # Switch D:
                   8651: # 1   - Reverse Channel (yes / no)
                   8652: # 2   - Manual answer (no / yes)
                   8653: # 3-4 - Cursor appearance
                   8654: # 5   - Communication Rate
                   8655: # 6   - Enable / Disable EXT turnoff
                   8656: # 7   - Enable / Disable CR turnoff
                   8657: # 8   - Enable / Disable backspace
                   8658: #
1.1       deraadt  8659: # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
1.8     ! tholo    8660: ncr7900i|ncr7900|ncr 7900 model 1:\
1.1       deraadt  8661:        :am:bw:ul:\
                   8662:        :co#80:li#24:sg#1:ug#1:\
                   8663:        :bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
1.5       tholo    8664:        :is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
                   8665:        :ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
1.1       deraadt  8666:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c:\
                   8667:        :se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
                   8668: ncr7900iv|ncr 7900 model 4:\
                   8669:        :am:bw:es:hs:\
                   8670:        :co#80:li#24:\
1.5       tholo    8671:        :al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%02:cr=^M:dl=\E^O:\
                   8672:        :do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
                   8673:        :k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
                   8674:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
                   8675:        :nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo:
1.8     ! tholo    8676: ncr7901|ncr 7901 model:\
1.1       deraadt  8677:        :am:bw:ul:\
                   8678:        :co#80:li#24:\
1.5       tholo    8679:        :bl=^G:cd=\Ek:ce=\EK:ch=\020%+^J:cl=^L:cm=\EY%+ %+ :cr=^M:\
                   8680:        :cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
                   8681:        :ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
                   8682:        :po=^R:\
1.1       deraadt  8683:        :..sa=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016:\
1.5       tholo    8684:        :se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
                   8685:        :vi=^W:
1.1       deraadt  8686:
                   8687: #### Perkin-Elmer (Owl)
                   8688: #
                   8689: # These are official terminfo entries from within Perkin-Elmer.
                   8690: #
                   8691:
                   8692: bantam|pe550|pe6100|perkin elmer 550:\
1.8     ! tholo    8693:        :bs:\
1.1       deraadt  8694:        :co#80:li#24:\
1.5       tholo    8695:        :bl=^G:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:ho=\EH:\
                   8696:        :le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
1.1       deraadt  8697: fox|pe1100|perkin elmer 1100:\
1.8     ! tholo    8698:        :am:bs:\
1.1       deraadt  8699:        :co#80:li#24:\
                   8700:        :bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :cr=^M:\
1.5       tholo    8701:        :ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:st=\E1:\
                   8702:        :up=\EA:vb=\020\002\020\003:
1.1       deraadt  8703: owl|pe1200|perkin elmer 1200:\
1.8     ! tholo    8704:        :am:bs:in:\
1.1       deraadt  8705:        :co#80:li#24:\
1.5       tholo    8706:        :al=\EL:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EX%+ \EY%+ :\
                   8707:        :cr=^M:ct=\E3:dc=\EO:dl=\EM:do=^J:ei=:ho=\EH:ic=\EN:im=:ip=:\
                   8708:        :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\
1.8     ! tholo    8709:        :k7=\ERG:k8=\ERH:k9=\ERI:kb=^H:le=^H:ll=\EH\EA:\
        !          8710:        :me=\E\041\200:nd=\EC:se=\E\041\200:sf=^J:so=\E\041^H:\
        !          8711:        :st=\E1:up=\EA:vb=\020\002\020\003:
1.1       deraadt  8712: pe1251|pe6300|pe6312|perkin elmer 1251:\
                   8713:        :am:\
                   8714:        :co#80:it#8:li#24:pb#300:sg#1:vt#8:\
1.5       tholo    8715:        :bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:\
                   8716:        :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
                   8717:        :k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:le=\ED:\
                   8718:        :nd=\EC:sf=^J:st=\E1:up=\EA:
1.2       deraadt  8719: # (pe7000m: this had
                   8720: #      rmul=\E!\0, smul=\E!\040,
                   8721: # which is probably wrong, it collides with kf0
1.1       deraadt  8722: pe7000m|perkin elmer 7000 series monochrome monitor:\
                   8723:        :am:\
                   8724:        :co#80:li#24:\
1.8     ! tholo    8725:        :bl=^G:bt=\E\041Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
        !          8726:        :do=\EB:ho=\EH:i1=\E\041\200\EW  7o\Egf\ES7 :\
        !          8727:        :k0=\E\041\200:k1=\E\041^A:k2=\E\041^B:k3=\E\041^C:\
        !          8728:        :k4=\E\041^D:k5=\E\041^E:k6=\E\041^F:k7=\E\041^G:\
        !          8729:        :k8=\E\041^H:k9=\E\041^I:k;=\E\041^J:kb=^H:kd=\E\041U:\
        !          8730:        :kh=\E\041S:kl=\E\041V:kr=\E\041W:ku=\E\041T:le=\ED:\
        !          8731:        :ll=\ES7 :nd=\EC:sf=^J:sr=\ER:up=\EA:
1.1       deraadt  8732: pe7000c|perkin elmer 7000 series colour monitor:\
1.8     ! tholo    8733:        :i1=\E\041\200\EW  7o\Egf\Eb0\Ec7\ES7 :se=\Eb0:so=\Eb2:\
        !          8734:        :ue=\E\041\200:us=\E\041 :\
1.5       tholo    8735:        :tc=pe7000m:
1.1       deraadt  8736:
                   8737: #### Sperry Univac
                   8738: #
                   8739: # Sperry Univac has merged with Burroughs to form Unisys.
                   8740: #
                   8741:
                   8742: # This entry is for the Sperry UTS30 terminal running the TTY
                   8743: # utility under control of CP/M Plus 1R1. The functionality
                   8744: # provided is comparable to the DEC vt100.
1.2       deraadt  8745: # (uts30: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  8746: uts30|sperry uts30 with cp/m@1R1:\
                   8747:        :am:bw:hs:\
                   8748:        :co#80:li#24:ws#40:\
                   8749:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.3       deraadt  8750:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
1.5       tholo    8751:        :SR=\E[%dA:UP=\E[%dA:\
                   8752:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   8753:        :ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
                   8754:        :cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\EB:\
                   8755:        :ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
                   8756:        :kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
                   8757:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\EC:\
1.3       deraadt  8758:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\EX:\
1.5       tholo    8759:        :rf=/usr/share/tabset/vt100:sc=\EW:se=\E[m:sf=^J:\
                   8760:        :so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
                   8761:        :us=\E[4m:ve=\ES:vi=\ER:
1.1       deraadt  8762:
                   8763: #### Tandem
                   8764: #
                   8765: # Tandem builds these things for use with its line of fault-tolerant
                   8766: # transaction-processing computers.  They aren't generally available
                   8767: # on the merchant market, and so are fairly uncommon.
                   8768: #
                   8769:
                   8770: tandem6510|adm3a repackaged by Tandem:\
                   8771:        :tc=adm3a:
                   8772:
                   8773: # A funny series of terminal that TANDEM uses.  The actual model numbers
                   8774: # have a fourth digit after 653 that designates minor variants.  These are
                   8775: # natively block-mode and rather ugly, but they have a character mode which
                   8776: # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1.5       tholo    8777: # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
                   8778: # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
1.1       deraadt  8779: tandem653|t653x|Tandem 653x multipage terminal:\
1.8     ! tholo    8780:        :am:bs:da:db:hs:\
1.1       deraadt  8781:        :co#80:li#24:sg#1:ug#1:ws#64:\
1.5       tholo    8782:        :cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
                   8783:        :ho=\EH:le=^H:me=\E6 :nd=\EC:se=\E6 :sf=\ES:so=\E6$:sr=\ET:\
                   8784:        :ts=\Eo:ue=\E6 :up=\EA:us=\E60:
1.1       deraadt  8785:
                   8786: #### Tandy/Radio Shack
                   8787: #
                   8788: # Tandy has a line of VDTs distinct from its microcomputers.
                   8789: #
                   8790:
                   8791: dmterm|deskmate terminal:\
                   8792:        :am:bw:\
                   8793:        :co#80:li#24:\
1.5       tholo    8794:        :al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
                   8795:        :dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
                   8796:        :k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
                   8797:        :kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
                   8798:        :l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
                   8799:        :sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:\
                   8800:        :tc=adm+sgr:
1.1       deraadt  8801: dt100|dt-100|Tandy DT-100 terminal:\
                   8802:        :xo:\
                   8803:        :co#80:li#24:sg#1:ug#1:\
1.3       deraadt  8804:        :ac=kkllmmjjnnwwvvttuuqqxx:ae=^O:al=\E[L:as=^N:bl=^G:\
1.5       tholo    8805:        :cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
                   8806:        :cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
                   8807:        :im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
                   8808:        :k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
                   8809:        :k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
                   8810:        :kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
                   8811:        :l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
                   8812:        :ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  8813: dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
1.3       deraadt  8814:        :co#132:tc=dt100:
1.1       deraadt  8815: dt110|Tandy DT-110 emulating ansi:\
                   8816:        :xo:\
                   8817:        :co#80:li#24:\
1.5       tholo    8818:        :@7=\E[K:ac=kkllmmjjnnwwvvuuttqqxx:ae=^O:al=\E[0L:as=^N:\
                   8819:        :bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
                   8820:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[0B:\
                   8821:        :eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
                   8822:        :k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
                   8823:        :k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
                   8824:        :kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
                   8825:        :l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
                   8826:        :me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
1.2       deraadt  8827:        :ue=\E[m:up=\E[0A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
1.1       deraadt  8828: pt210|TRS-80 PT-210 printing terminal:\
                   8829:        :hc:os:\
                   8830:        :co#80:\
                   8831:        :bl=^G:cr=^M:do=^J:sf=^J:
                   8832:
                   8833: #### Tektronix (tek)
                   8834: #
                   8835: # Tektronix tubes are graphics terminals.  Most of them use modified
                   8836: # oscilloscope technology incorporating a long-persistence green phosphor,
                   8837: # and support vector graphics on a main screen with an attached "dialogue
                   8838: # area" for interactive text.
                   8839: #
                   8840:
1.8     ! tholo    8841: tek|tek4012|tektronix 4012:\
        !          8842:        :bs:os:\
1.1       deraadt  8843:        :co#75:li#35:\
                   8844:        :bl=^G:cl=\E\014:cr=^M:do=^J:ff=\014:is=\E^O:le=^H:
1.5       tholo    8845: # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8     ! tholo    8846: tek4013|tektronix 4013:\
1.5       tholo    8847:        :ac=:ae=\E^O:as=\E^N:tc=tek4012:
1.8     ! tholo    8848: tek4014|tektronix 4014:\
1.1       deraadt  8849:        :co#81:li#38:\
                   8850:        :is=\E\017\E9:tc=tek4012:
1.5       tholo    8851: # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8     ! tholo    8852: tek4015|tektronix 4015:\
1.5       tholo    8853:        :ac=:ae=\E^O:as=\E^N:tc=tek4014:
1.8     ! tholo    8854: tek4014-sm|tektronix 4014 in small font:\
1.1       deraadt  8855:        :co#121:li#58:\
                   8856:        :is=\E\017\E\072:tc=tek4014:
1.5       tholo    8857: # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
1.8     ! tholo    8858: tek4015-sm|tektronix 4015 in small font:\
        !          8859:        :ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
        !          8860: # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
        !          8861: #
        !          8862: # You need to have "stty nl2" in effect.  Some versions of tset(1) know
        !          8863: # how to set it for you.
        !          8864: #
        !          8865: # It's got the Magic Cookie problem around stand-out mode.  If you can't
        !          8866: # live with Magic Cookie, remove the :so: and :se: fields and do without
        !          8867: # reverse video.  If you like reverse video stand-out mode but don't want
        !          8868: # it to flash, change the letter 'H' to 'P' in the :so: field.
        !          8869: tek4023|tektronix 4023:\
        !          8870:        :am:bs:\
        !          8871:        :co#80:dN#4:li#24:sg#1:vt#4:\
        !          8872:        :bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
        !          8873:        :nd=^I:nl=^J:se=^_@:so=^_P:
1.1       deraadt  8874: # It is recommended that you run the 4025 at 4800 baud or less;
                   8875: # various bugs in the terminal appear at 9600.  It wedges at the
                   8876: # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
                   8877: # on keyboard don't work.  You have to hit BREAK twice to get
                   8878: # one break at any speed - this is a documented feature.
                   8879: # Can't use cursor motion because it's memory relative, and
                   8880: # because it only works in the workspace, not the monitor.
                   8881: # Same for home. Likewise, standout only works in the workspace.
                   8882: #
1.5       tholo    8883: # :ce: was commented out since vi and rogue seem to work better
1.1       deraadt  8884: # simulating it with lots of spaces!
                   8885: #
1.5       tholo    8886: # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
1.1       deraadt  8887: # and didn't seem necessary.
                   8888: #
                   8889: tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
1.8     ! tholo    8890:        :am:bs:da:db:\
1.1       deraadt  8891:        :co#80:it#8:li#34:lm#0:\
                   8892:        :AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
                   8893:        :DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
                   8894:        :UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
                   8895:        :cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
                   8896:        :dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
1.8     ! tholo    8897:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.1       deraadt  8898:        :ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
                   8899:        :ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
                   8900:        :le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
1.8     ! tholo    8901: tek4025-17|tek 4025 17 line window:\
1.3       deraadt  8902:        :li#17:tc=tek4025:
1.8     ! tholo    8903: tek4025-17-ws|tek 4025 17 line window in workspace:\
        !          8904:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
1.1       deraadt  8905:        :se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
1.5       tholo    8906:        :ti=\037wor h\r:\
                   8907:        :tc=tek4025-17:
1.1       deraadt  8908: tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
1.8     ! tholo    8909:        :is=\037com 33\r\n\041sto 9 17 25 33 41 49 57 65 73\r:\
        !          8910:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    8911:        :tc=tek4025:
1.1       deraadt  8912: # Tektronix 4025a
                   8913: # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
                   8914: # The following status modes are assumed for normal operation (replace the
                   8915: # initial "!" by whatever the current command character is):
                   8916: #      !COM 29                 # NOTE: changes command character to GS (^])
                   8917: #      ^]DUP
                   8918: #      ^]ECH R
                   8919: #      ^]EOL
                   8920: #      ^]RSS T
                   8921: #      ^]SNO N
                   8922: #      ^]STO 9 17 25 33 41 49 57 65 73
                   8923: # Other modes may be set according to communication requirements.
                   8924: # If the command character is inadvertently changed, termcap can't restore it.
                   8925: # Insert-character cannot be made to work on both top and bottom rows.
1.3       deraadt  8926: # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1.1       deraadt  8927: # There also seems to be a problem with vertical motion, perhaps involving
                   8928: # delete/insert-line, following a typed carriage return.  This terminal sucks.
                   8929: # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1.2       deraadt  8930: # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
                   8931: # work any more. -- esr)
1.8     ! tholo    8932: tek4025a|Tektronix 4025A:\
        !          8933:        :am:bs:bw:da:db:pt:xo:\
1.2       deraadt  8934:        :co#80:it#8:li#34:\
1.1       deraadt  8935:        :CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
                   8936:        :LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
                   8937:        :UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
1.5       tholo    8938:        :ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
                   8939:        :cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
                   8940:        :nd=\035rig;:\
1.8     ! tholo    8941:        :rs=\041com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
1.1       deraadt  8942:        :sf=^J:ta=^I:up=^K:
                   8943: # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
                   8944: # Here's the command file that I use to get rogue to work on the 4025.
                   8945: # It should work with any program using the old curses (e.g. it better
                   8946: # not try to scroll, or cursor addressing won't work.  Also, you can't
                   8947: # see the cursor.)
                   8948: # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
1.8     ! tholo    8949: tek4025-cr|tek 4025 for curses and rogue:\
        !          8950:        :am:bs:\
1.2       deraadt  8951:        :co#80:it#8:li#33:\
1.1       deraadt  8952:        :cl=\037era;:cm=\037jum%i%d\054%d;:do=^F^J:\
1.8     ! tholo    8953:        :is=\041com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
1.2       deraadt  8954:        :le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
1.1       deraadt  8955:        :ti=\037wor 33h:up=^K:
                   8956: # next two lines commented out since curses only allows 128 chars, sigh.
                   8957: #      :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:\
                   8958: #      :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:
                   8959: tek4025ex|4025ex|4027ex|tek 4025 w/!:\
1.8     ! tholo    8960:        :is=\037com 33\r\n\041sto 9\05417\05425\05433\05441\05449\05457\05465\05473\r:\
        !          8961:        :te=\037com 33\r:ti=\041com 31\r:\
1.5       tholo    8962:        :tc=tek4025:
1.8     ! tholo    8963: tek4105|tektronix 4105:\
        !          8964:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  8965:        :co#79:it#8:li#29:\
1.5       tholo    8966:        :ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
1.1       deraadt  8967:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
1.5       tholo    8968:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
                   8969:        :im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
                   8970:        :kr=\E[1C:ku=\E[1A:mb=\E[=3;<7m:md=\E[=7;<4m:\
                   8971:        :me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
                   8972:        :nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
1.8     ! tholo    8973:        :te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
        !          8974:        :us=\E[=5;<2m:
1.1       deraadt  8975:
1.2       deraadt  8976: # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
1.8     ! tholo    8977: tek4105-30|4015 emulating 30 line vt100:\
1.1       deraadt  8978:        :am:mi:ms:xn:xo:\
                   8979:        :co#80:it#8:li#30:vt#3:\
1.5       tholo    8980:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   8981:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  8982:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.5       tholo    8983:        :ae=^O:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   8984:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
                   8985:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   8986:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   8987:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   8988:        :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
                   8989:        :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1.1       deraadt  8990:        :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
                   8991:        :sc=\E7:se=\E[m:sf=^J:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
                   8992:        :ue=\E[m:up=\E[A:us=\E[4m:
                   8993:
1.8     ! tholo    8994: # Tektronix 4105 from BRL
        !          8995: # The following setup modes are assumed for normal operation:
        !          8996: #      CODE ansi               CRLF no                 DABUFFER 141
        !          8997: #      DAENABLE yes            DALINES 30              DAMODE replace
        !          8998: #      DAVISIBILITY yes        ECHO no                 EDITMARGINS 1 30
        !          8999: #      FLAGGING input          INSERTREPLACE replace   LFCR no
        !          9000: #      ORIGINMODE relative     PROMPTMODE no           SELECTCHARSET G0 B
        !          9001: #      SELECTCHARSET G1 0      TABS -2
        !          9002: # Other setup modes may be set for operator convenience or communication
        !          9003: # requirements; I recommend
        !          9004: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
        !          9005: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
        !          9006: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
        !          9007: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 10 1
        !          9008: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
        !          9009: #      PROMPTSTRING ''         QUEUESIZE 2460          WINDOW 0 0 4095 3132
        !          9010: #      XMTDELAY 0
        !          9011: # and factory color maps.  After setting these modes, save them with NVSAVE. No
        !          9012: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          9013: # "IC" cannot be used in combination with "im" & "ei".
        !          9014: # "tek4105a" is just a guess:
        !          9015: tek4105a|Tektronix 4105:\
        !          9016:        :bs:ms:pt:xo:\
        !          9017:        :co#80:it#8:kn#8:li#30:vt#3:\
        !          9018:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          9019:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
        !          9020:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          9021:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          9022:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          9023:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
        !          9024:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9025:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
        !          9026:        :l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          9027:        :mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
        !          9028:        :rs=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\
        !          9029:        :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9030:        :te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
        !          9031:        :ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
        !          9032:        :vs=\E%!0\ETD70\E%!1:
        !          9033:
        !          9034: #
        !          9035: # Tektronix 4106/4107/4109 from BRL
        !          9036: # The following setup modes are assumed for normal operation:
        !          9037: #      CODE ansi               COLUMNMODE 80           CRLF no
        !          9038: #      DABUFFER 141            DAENABLE yes            DALINES 32
        !          9039: #      DAMODE replace          DAVISIBILITY yes        ECHO no
        !          9040: #      EDITMARGINS 1 32        FLAGGING input          INSERTREPLACE replace
        !          9041: #      LFCR no                 LOCKKEYBOARD no         ORIGINMODE relative
        !          9042: #      PROMPTMODE no           SELECTCHARSET G0 B      SELECTCHARSET G1 0
        !          9043: #      TABS -2
        !          9044: # Other setup modes may be set for operator convenience or communication
        !          9045: # requirements; I recommend
        !          9046: #      ACURSOR 1 0             AUTOREPEAT yes          AUTOWRAP yes
        !          9047: #      BYPASSCANCEL <LF>       CURSORKEYMODE no        DAINDEX 1 0 0
        !          9048: #      EOFSTRING ''            EOLSTRING <CR>          EOMCHARS <CR> <NU>
        !          9049: #      GAMODE overstrike       GCURSOR 0 100 0         GSPEED 9 3
        !          9050: #      IGNOREDEL no            KEYEXCHAR <DL>          NVDEFINE -53 "<NU>"
        !          9051: #      PROMPTSTRING ''         QUEUESIZE 2620          WINDOW 0 0 4095 3132
        !          9052: #      XMTDELAY 0
        !          9053: # and factory color maps.  After setting these modes, save them with NVSAVE.  No
        !          9054: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
        !          9055: # "IC" cannot be used in combination with "im" & "ei".
        !          9056: tek4106brl|tek4107brl|tek4109brl|Tektronix 4106, 4107, or 4109:\
        !          9057:        :ms:xo:\
        !          9058:        :co#80:it#8:li#32:vt#3:\
        !          9059:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          9060:        :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
        !          9061:        :as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
        !          9062:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
        !          9063:        :dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
        !          9064:        :is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
        !          9065:        :k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9066:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
        !          9067:        :l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
        !          9068:        :mr=\E[7m:nd=\E[C:nw=\EE:\
        !          9069:        :r1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\
        !          9070:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
        !          9071:        :ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
        !          9072:        :us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
        !          9073:        :vs=\E%!0\ETD70\E%!1:
        !          9074:
        !          9075: tek4107|tek4109|tektronix terminals 4107 4109:\
        !          9076:        :am:bs:mi:ms:ul:xn:xt:\
1.1       deraadt  9077:        :co#79:it#8:li#29:\
1.5       tholo    9078:        :bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
                   9079:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
                   9080:        :md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
                   9081:        :mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%0:nd=\EC:\
1.8     ! tholo    9082:        :..sa=\E%%\0411\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%\0410:\
1.1       deraadt  9083:        :se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
                   9084:        :ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
                   9085:        :ve=\E%!0:vs=\E%!3:
                   9086: # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
                   9087: # see the note attached to tek4207.
                   9088: tek4207-s|Tektronix 4207 with sysline but no memory:\
                   9089:        :es:hs:\
                   9090:        :ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
1.2       deraadt  9091:        :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:\
                   9092:        :is=\E7\E[?6l\E[2K\E[?6h\E8:\
1.1       deraadt  9093:        :ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
                   9094:
                   9095: # The 4110 series may be a wonderful graphics series, but they make the 4025
                   9096: # look good for screen editing.  In the dialog area, you can't move the cursor
                   9097: # off the bottom line.  Out of the dialog area, ^K moves it up, but there
                   9098: # is no way to scroll.
                   9099: #
                   9100: # Note that there is a floppy for free from Tek that makes the
                   9101: # 4112 emulate the vt52 (use the vt52 termcap). There is also
                   9102: # an expected enhancement that will use ANSI standard sequences.
                   9103: #
                   9104: # 4112 in non-dialog area pretending to scroll. It really wraps
                   9105: # but vi is said to work (more or less) in this mode.
                   9106: #
                   9107: # 'vi' works reasonably well with this entry.
                   9108: #
                   9109: otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
                   9110:        :am:\
                   9111:        :co#80:li#34:\
                   9112:        :bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
                   9113:        :ti=\EKA0\ELV0\EMG0:up=^K:
                   9114: # The 4112 with the ANSI compatibility enhancement
                   9115: tek4112|tek4114|tektronix 4110 series:\
1.8     ! tholo    9116:        :am:bs:db:\
1.1       deraadt  9117:        :co#80:li#34:\
                   9118:        :al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
1.8     ! tholo    9119:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=:ic=\E[@:im=:\
        !          9120:        :is=\E3\0411:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
        !          9121:        :sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
        !          9122:        :ue=\E[m:up=\EM:us=\E[4m:
        !          9123: tek4112-nd|4112 not in dialog area:\
1.1       deraadt  9124:        :ns:\
                   9125:        :up=^K:tc=tek4112:
1.8     ! tholo    9126: tek4112-5|4112 in 5 line dialog area:\
1.3       deraadt  9127:        :li#5:tc=tek4112:
1.5       tholo    9128: # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
                   9129: # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
                   9130: # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
1.2       deraadt  9131: # previously \0410 and \0411 sequences...I don't *think* they were supposed
                   9132: # to be 4-digit octal -- esr)
                   9133: tek4113|tektronix 4113 color graphics with 5 line dialog area:\
1.8     ! tholo    9134:        :am:bs:da:eo:\
1.1       deraadt  9135:        :co#80:li#5:\
                   9136:        :cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
                   9137:        :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
                   9138:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
1.8     ! tholo    9139: tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
1.1       deraadt  9140:        :li#34:\
                   9141:        :is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
                   9142: # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
                   9143: # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
                   9144: # :vb: needs enough delay to let you see the background color being toggled.
1.8     ! tholo    9145: tek4113-nd|tektronix 4113 color graphics with no dialog area:\
        !          9146:        :am:bs:eo:\
1.2       deraadt  9147:        :co#80:it#8:li#34:\
1.5       tholo    9148:        :cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
                   9149:        :le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
                   9150:        :uc=\010\EMG1_\EMG0:up=^K:\
1.1       deraadt  9151:        :vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
                   9152:        :vs=\ELZ\EKA0:
                   9153: # This entry is from Tek. Inc.  (Brian Biehl)
1.2       deraadt  9154: # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
1.1       deraadt  9155: otek4115|Tektronix 4115:\
1.2       deraadt  9156:        :am:bs:da:db:eo:\
                   9157:        :co#80:it#8:li#34:\
1.3       deraadt  9158:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
                   9159:        :cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
1.5       tholo    9160:        :ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
1.2       deraadt  9161:        :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    9162:        :kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
                   9163:        :so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
                   9164:        :ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
1.1       deraadt  9165:        :ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
                   9166: tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
                   9167:        :am:xo:\
                   9168:        :co#80:li#34:\
                   9169:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
1.5       tholo    9170:        :RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
                   9171:        :bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
                   9172:        :cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:cv=\E[%+^Ad:dc=\E[P:\
                   9173:        :dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
                   9174:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
                   9175:        :mk=\E[8m:mr=\E[7m:nd=\E[C:..rp=%p1%c\E[%p2%{1}%-%db:\
1.1       deraadt  9176:        :..sa=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m:\
                   9177:        :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
                   9178:        :us=\E[4m:
                   9179: # The tek4125 emulates a vt100 incorrectly - the scrolling region
1.5       tholo    9180: # command is ignored.  The following entry replaces :cs: with the needed
                   9181: # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
1.1       deraadt  9182: # chokes on; and adds a lot of initialization for the tek dialog area.
                   9183: # Note that this entry uses all 34 lines and sets the cursor color to green.
                   9184: # Steve Jacobson 8/85
1.8     ! tholo    9185: # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
        !          9186: # commented out, :im:=\E1 because there's no :ei:  -- esr)
1.2       deraadt  9187: tek4125|tektronix 4125:\
1.1       deraadt  9188:        :li#34:\
1.8     ! tholo    9189:        :al=\E[1L:cs@:dl=\E[1M:\
        !          9190:        :is=\E%\E\0410\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E\0411\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
1.5       tholo    9191:        :ks=\E=:rc@:sc@:\
                   9192:        :tc=vt100:
1.1       deraadt  9193:
                   9194: # From: <jcoker@ucbic>
1.2       deraadt  9195: # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
                   9196: # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1.8     ! tholo    9197: # note that if jcoker wasn't confused you may be able to use this one.
        !          9198: # I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
1.1       deraadt  9199: tek4207|Tektronix 4207 graphics terminal with memory:\
1.8     ! tholo    9200:        :am:bw:mi:ms:ul:xn:\
1.2       deraadt  9201:        :co#80:it#8:li#32:\
1.1       deraadt  9202:        :al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
1.8     ! tholo    9203:        :cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
        !          9204:        :ho=\E[H:ic=4\E[@:im=:\
1.1       deraadt  9205:        :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    9206:        :kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
1.8     ! tholo    9207:        :md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
        !          9208:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
1.5       tholo    9209:        :te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
                   9210:        :ue=\E[m:up=\EM:us=\E[4m:
1.1       deraadt  9211:
                   9212: # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1.5       tholo    9213: # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
1.2       deraadt  9214: # Tab had been given as \E2I,that must be the tab-set capability -- esr)
                   9215: tek4404|tektronix 4404:\
1.8     ! tholo    9216:        :bs:\
1.2       deraadt  9217:        :co#80:it#8:li#32:\
1.5       tholo    9218:        :al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
                   9219:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
                   9220:        :im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
                   9221:        :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
                   9222:        :sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
                   9223:        :te=\E[1;1H\E[0J\E[?6h\E[?1l:\
1.8     ! tholo    9224:        :ti=\E%\E\0411\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:\
        !          9225:        :us=\E[4m:
1.2       deraadt  9226: # Some unknown person wrote:
1.1       deraadt  9227: # I added the is string - straight Unix has ESC ; in the login
                   9228: # string which sets a ct8500 into monitor mode (aka 4025 snoopy
                   9229: # mode). The is string here cleans up a few things (but not
                   9230: # everything).
                   9231: ct8500|tektronix ct8500:\
                   9232:        :am:bw:da:db:\
                   9233:        :co#80:li#25:\
                   9234:        :al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
1.5       tholo    9235:        :cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
                   9236:        :is=\037\EZ\Ek:le=^H:me=\E :nd=\ES:se=\E :sf=^J:so=\E$:\
1.8     ! tholo    9237:        :sr=\E^A:ta=^I:ue=\E :up=\ER:us=\E\041:
1.1       deraadt  9238:
                   9239: # Tektronix 4205 terminal.
                   9240: #
                   9241: # am is not defined because the wrap around occurs not when the char.
                   9242: # is placed in the 80'th column, but when we are attempting to type
1.2       deraadt  9243: # the 81'st character on the line.  (esr: hmm, this is like the vt100
                   9244: # version of xenl, perhaps am + xenl would work!)
1.1       deraadt  9245: #
                   9246: # Bold, dim, and standout are simulated by colors and thus not allowed
                   9247: # with colors.  The tektronix color table is mapped into the RGB color
                   9248: # table by setf/setb. All colors are reset to factory specifications by oc.
1.2       deraadt  9249: # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1.1       deraadt  9250: # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
                   9251: # interval then maps into pre-defined value.
1.3       deraadt  9252: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.8     ! tholo    9253: tek4205|tektronix 4205:\
1.3       deraadt  9254:        :cc:mi:ms:\
                   9255:        :Co#8:NC#49:co#80:it#8:li#30:pa#63:\
1.1       deraadt  9256:        :AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
1.3       deraadt  9257:        :UP=\E[%dA:\
                   9258:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   9259:        :ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
                   9260:        :ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
                   9261:        :dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
1.5       tholo    9262:        :ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
                   9263:        :k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
                   9264:        :kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
                   9265:        :me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
                   9266:        :mr=\E[7m:nd=\E[C:\
1.3       deraadt  9267:        :oc=\E%!0\n\ETFB0\n0000\n1F4F4F4\n2F400\n30F40\n4A4C<F4\n50F4F4\n6F40F4\n7F4F40\n\E%!1:\
1.5       tholo    9268:        :op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
1.8     ! tholo    9269:        :ta=^I:te=:ti=\E%%\0411\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
        !          9270:        :us=\E[4m:
1.1       deraadt  9271:
                   9272: #### Teletype (tty)
                   9273: #
                   9274: # These are the hardcopy Teletypes from before AT&T bought the company,
                   9275: # clattering electromechanical dinosaurs in Bakelite cases that printed on
                   9276: # pulpy yellow roll paper.  If you remember these you go back a ways.
                   9277: # Teletype-branded VDTs are listed in the AT&T section.
                   9278: #
                   9279: # The earliest UNIXes were designed to use these clunkers; nroff and a few
                   9280: # other programs still default to emitting codes for the Model 37.
                   9281: #
                   9282:
1.2       deraadt  9283: tty33|tty35|model 33 or 35 teletype:\
1.1       deraadt  9284:        :hc:os:xo:\
                   9285:        :co#72:\
                   9286:        :bl=^G:cr=^M:do=^J:sf=^J:
                   9287: tty37|model 37 teletype:\
1.8     ! tholo    9288:        :bs:hc:os:xo:\
1.1       deraadt  9289:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   9290:
                   9291: # There are known to be at least three flavors of the tty40, all seem more
                   9292: # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
                   9293: # awful braindamage, such as printing a visible newline indicator after each
                   9294: # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
                   9295: # braindamaged but has hope and is described here.  The 40-4 is a 3270
                   9296: # lookalike and beyond hope.  The terminal has visible bell but I don't know
                   9297: # it - it's null here to prevent it from showing the BL character.
1.2       deraadt  9298: # There is an \EG in <nl> because of a bug in old vi (if stty says you have
1.1       deraadt  9299: # a "newline" style terminal (-crmode) vi figures all it needs is nl
1.5       tholo    9300: # to get crlf, even if :cr: is not ^M.)
1.1       deraadt  9301: # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
                   9302: tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
1.8     ! tholo    9303:        :bs:xo:\
1.1       deraadt  9304:        :co#80:li#24:\
1.5       tholo    9305:        :al=\EL:cd=\EJ:cl=\EH\EJ:cr=\EG:ct=\EH\E2:dc=\EP:dl=\EM:\
1.8     ! tholo    9306:        :do=\EB:ei=:ho=\EH:ic=\E\136:im=:kb=^]:kl=^H:le=^H:nd=\EC:\
        !          9307:        :pf=^T:po=\022:r2=\023\ER:se=\E4:sf=\ES:so=\E3:sr=\ET:\
        !          9308:        :st=\E1:ta=\E@:up=\E7:
1.1       deraadt  9309: tty43|model 43 teletype:\
1.8     ! tholo    9310:        :am:bs:hc:os:xo:\
1.1       deraadt  9311:        :co#132:\
                   9312:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   9313:
                   9314: #### Tymshare
                   9315: #
                   9316:
1.5       tholo    9317: # You can add :is=\E<: to put this 40-column mode, though I can't
1.2       deraadt  9318: # for the life of me think why anyone would want to.
1.1       deraadt  9319: scanset|sc410|sc415|Tymshare Scan Set:\
                   9320:        :am:bw:ms:\
                   9321:        :co#80:li#24:\
1.8     ! tholo    9322:        :ac=l<m-k4j%q\054x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:\
1.5       tholo    9323:        :cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:\
                   9324:        :kr=\EC:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:\
                   9325:        :rc=^C:sc=^B:sf=^J:up=^K:
1.1       deraadt  9326:
                   9327: #### Volker-Craig (vc)
                   9328: #
1.5       tholo    9329: # If you saw a Byte Magazine cover with a terminal on it during the early
                   9330: # 1980s, it was probably one of these.  Carl Helmers liked them because
                   9331: # they could crank 19.2 and were cheap (that is, until he tried to program
                   9332: # one...)
                   9333: #
1.1       deraadt  9334:
                   9335: # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
                   9336: # every other linefeed.
                   9337: vc303|vc103|vc203|volker-craig 303:\
1.8     ! tholo    9338:        :am:bs:ns:\
1.1       deraadt  9339:        :co#80:li#24:\
1.5       tholo    9340:        :bl=^G:cl=\014:cr=^M:do=^J:ho=\013:kd=^J:kl=^H:kr=^I:ku=^N:\
                   9341:        :le=^H:ll=\017W:nd=^I:up=^N:
1.2       deraadt  9342: vc303a|vc403a|volker-craig 303a:\
1.5       tholo    9343:        :ce=\026:cl=\030:ho=\031:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:tc=vc303:
1.1       deraadt  9344: # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
                   9345: vc404|volker-craig 404:\
1.8     ! tholo    9346:        :am:bs:\
1.1       deraadt  9347:        :co#80:li#24:\
1.5       tholo    9348:        :bl=^G:cd=\027:ce=\026:cl=\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   9349:        :ho=\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:up=^Z:
1.1       deraadt  9350: vc404-s|volker-craig 404 w/standout mode:\
                   9351:        :do=^J:se=^O:so=^N:tc=vc404:
                   9352: # From: <wolfgang@cs.sfu.ca>
1.2       deraadt  9353: # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
1.1       deraadt  9354: vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
                   9355:        :am:bs:\
                   9356:        :co#80:li#24:\
1.5       tholo    9357:        :al=\E\032:cd=\E^X:ce=10\E\017:cl=\E\034:cm=\E\021%r%.%.:\
                   9358:        :dc=\E3:dl=\E\023:do=\E^K:ei=:ho=\E^R:ic=\E\072:im=:k0=\EA:\
                   9359:        :k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:k6=\EG:k7=\EH:kd=\E^K:\
                   9360:        :kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   9361:        :l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:se=\E^_:so=\E^Y:up=\E^L:
1.1       deraadt  9362: vc415|volker-craig 415:\
                   9363:        :cl=^L:tc=vc404:
                   9364:
                   9365: ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
                   9366: #
                   9367:
                   9368: #### IBM PC and clones
                   9369: #
                   9370:
                   9371: # The pcplot IBM-PC terminal emulation program is really messed up. It is
                   9372: # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
                   9373: # doesn't support scrolling regions, ignores add line commands, and ignores
                   9374: # delete line commands. Consequently, the resulting behavior looks like a
                   9375: # crude adm3a-type terminal.
                   9376: # Steve Jacobson 8/85
                   9377: pcplot|pc-plot terminal emulation program:\
                   9378:        :xn@:\
1.2       deraadt  9379:        :AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
1.8     ! tholo    9380: # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
        !          9381: # I've found that my KayPro II, running MDM730, continues to emulate an
        !          9382: # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
        !          9383: # system the following termcap entry works well:
        !          9384: # I have noticed a couple of minor glitches, but nothing I can't work
        !          9385: # around. (I added two capabilities from the BRL entry -- esr)
1.1       deraadt  9386: kaypro|kaypro2|kaypro II:\
1.8     ! tholo    9387:        :am:bs:\
1.1       deraadt  9388:        :co#80:li#24:\
1.8     ! tholo    9389:        :al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
        !          9390:        :dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
1.1       deraadt  9391:
                   9392: # From IBM, Thu May  5 19:35:27 1983
1.8     ! tholo    9393: # (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
1.1       deraadt  9394: ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
1.8     ! tholo    9395:        :am:bs:\
1.1       deraadt  9396:        :co#80:li#24:\
1.8     ! tholo    9397:        :bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=\n:\
        !          9398:        :up=^^:
1.1       deraadt  9399:
1.8     ! tholo    9400: #### Apple II
1.1       deraadt  9401: #
1.8     ! tholo    9402: # Apple II firmware console first, then various 80-column cards and
        !          9403: # terminal emulators.  For two cents I'd toss all these in the UFO file
        !          9404: # along with the 40-column apple entries.
        !          9405: #
        !          9406:
        !          9407: # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
        !          9408: #      'it#8' tells UNIX that you have tabs every 8 columns.  This is a
        !          9409: #              function of TIC, not the firmware.
        !          9410: #      The clear key on a IIgs will do something like clear-screen,
        !          9411: #              depending on what you're in.
        !          9412: appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
        !          9413:        :am:bs:bw:eo:ms:\
        !          9414:        :co#80:it#8:li#24:\
        !          9415:        :bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
        !          9416:        :kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
        !          9417:        :nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
        !          9418: # Apple //e with 80-column card, entry from BRL
        !          9419: # The modem interface is permitted to discard LF (maybe DC1), otherwise
        !          9420: # passing characters to the 80-column firmware via COUT (PR#3 assumed).
        !          9421: # Auto-wrap does not work right due to newline scrolling delay, which also
        !          9422: # requires that you set "stty cr2".
        !          9423: # Note: Cursor addressing is only available via the Pascal V1.1 entry,
        !          9424: # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
        !          9425: # using a terminal emulation program instead of the built-in firmware.
        !          9426: apple2e|Apple //e:\
        !          9427:        :bw:ms:\
        !          9428:        :co#80:li#24:\
        !          9429:        :bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
        !          9430:        :kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
        !          9431:        :r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
        !          9432: # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
        !          9433: # 4.20, with incoming and outgoing terminals both on 0, emulation On.
        !          9434: apple2e-p|Apple //e via Pascal:\
        !          9435:        :cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
        !          9436: # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
        !          9437: # Enable DC3/DC1 flow control with "stty ixon -ixany".
        !          9438: apple-ae|ASCII Express:\
        !          9439:        :am:bs:bw:ms:nx:xo:\
        !          9440:        :co#80:it#8:li#24:\
        !          9441:        :bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
        !          9442:        :ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
        !          9443:        :mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
1.1       deraadt  9444: appleII|apple ii plus:\
1.8     ! tholo    9445:        :am:bs:\
1.2       deraadt  9446:        :co#80:it#8:li#24:\
1.1       deraadt  9447:        :cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
1.5       tholo    9448:        :is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
1.2       deraadt  9449:        :ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
1.1       deraadt  9450: # Originally by Gary Ford 21NOV83
                   9451: # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
                   9452: apple-80|apple II with smarterm 80 col:\
1.8     ! tholo    9453:        :am:bs:bw:\
1.1       deraadt  9454:        :co#80:li#24:\
1.5       tholo    9455:        :bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
                   9456:        :cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
1.1       deraadt  9457: apple-soroc|apple emulating soroc 120:\
                   9458:        :am:\
                   9459:        :co#80:li#24:\
1.5       tholo    9460:        :bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   9461:        :kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  9462: # From Peter Harrison, Computer Graphics Lab, San Francisco
                   9463: #   ucbvax!ucsfmis!harrison  .....uucp
                   9464: #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
                   9465: # "These two work.  If you don't have the inverse video chip for the
1.5       tholo    9466: # Apple with videx then remove the :so: and :se: fields."
1.2       deraadt  9467: # (apple-videx: this used to be called DaleApple -- esr)
                   9468: apple-videx|Apple with videx videoterm 80 column board with inverse video:\
1.8     ! tholo    9469:        :am:bs:xn:\
1.2       deraadt  9470:        :co#80:it#8:li#24:\
1.5       tholo    9471:        :cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
                   9472:        :kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
                   9473:        :up=^_:
1.8     ! tholo    9474: # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
        !          9475: #                            Apple Cat ][ 212 modem, + more all
        !          9476: #                            controlled by ASCII Express: Pro.
        !          9477: # From Dave Shaver <isucs1!shaver>
        !          9478: apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
        !          9479:        :am:bs:eo:xt:\
        !          9480:        :co#80:li#24:\
        !          9481:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
        !          9482:        :is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
        !          9483:        :nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
        !          9484: apple-uterm|Ultraterm for Apple micros:\
        !          9485:        :am:bs:eo:xt:\
        !          9486:        :co#80:li#24:\
        !          9487:        :ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
        !          9488:        :is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
        !          9489: # from trwrba!bwong (Bradley W. Wong):
        !          9490: #
        !          9491: # This entry assumes that you are using an apple with the UCSD Pascal
        !          9492: # language card.  SYSTEM.MISCINFO is assumed to be the same as that
        !          9493: # supplied with the standard apple except that screenwidth should be set
        !          9494: # using SETUP to 80 columns.  Note that the right arrow in not mapped in
        !          9495: # this termcap entry.  This is because that key, on the Apple, transmits
        !          9496: # a ^U and would thus preempt the more useful "up" function of vi.
        !          9497: #
        !          9498: # HMH 2/23/81
        !          9499: apple80p|80-column apple with Pascal card:\
        !          9500:        :am:bw:\
        !          9501:        :co#80:li#24:\
        !          9502:        :cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
        !          9503:        :up=^_:
        !          9504: #
        !          9505: # Apple II+ equipped with Videx 80 column card
        !          9506: #
        !          9507: # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
        !          9508: # manually converted by D A Gwyn
        !          9509: #
        !          9510: # DO NOT use any terminal emulation with this data base, it works directly
        !          9511: # with the Videx card.  This has been tested with vi 1200 baud and works fine.
        !          9512: #
        !          9513: # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
        !          9514: # 1 screen, while in R2 ^U doesn't.
        !          9515: # For inverse alternate character set add:
        !          9516: #      :as:=^O::ae:=^N:
        !          9517: # (apple-v: added it#8 -- esr)
        !          9518: apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
        !          9519:        :am:xn:\
        !          9520:        :co#80:it#8:li#24:\
        !          9521:        :bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
        !          9522:        :cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
        !          9523:        :nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
        !          9524: apple-videx3|vapple|Apple II with 80 col card:\
        !          9525:        :am:bs:\
        !          9526:        :co#80:li#24:\
        !          9527:        :ce=\Ex:cl=\Ev:cm=\EY%+ %+ :ho=\EH:k0=\EP:k1=\EQ:k2=\ER:\
        !          9528:        :k3=\E :k4=\E\041:k5=\E":k6=\E#:k7=\E$:k8=\E%:k9=\E&:kd=\EB:\
        !          9529:        :kh=\EH:kl=\ED:kr=\EC:ku=\EA:nd=\EC:up=\EA:
        !          9530: #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
        !          9531: aepro|Apple II+ running ASCII Express Pro--vt52:\
        !          9532:        :bs:\
        !          9533:        :co#80:li#24:\
        !          9534:        :cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :ho=\EH:nd=\EC:\
        !          9535:        :up=\EA:
        !          9536: # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
        !          9537: apple-vm80|ap-vm80|apple with viewmax-80:\
        !          9538:        :bs:\
        !          9539:        :co#80:li#24:\
        !          9540:        :cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
        !          9541:        :nd=^\\072:up=^_:
        !          9542:
        !          9543: #### Apple Lisa & Macintosh
        !          9544: #
        !          9545:
        !          9546: # (lisa: changed :vs: to :ve: -- esr)
1.2       deraadt  9547: lisa|apple lisa console display (black on white):\
1.8     ! tholo    9548:        :am:bs:eo:ms:\
1.2       deraadt  9549:        :co#88:it#8:li#32:\
1.5       tholo    9550:        :ac=lfmekcjdttuvvuwsqax`nb:ae=\E[10m:al=\E[L:as=\E[11m:\
                   9551:        :cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
                   9552:        :do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
                   9553:        :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
1.8     ! tholo    9554:        :se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
        !          9555:        :vi=\E[5h:
1.2       deraadt  9556: liswb|apple lisa console display (white on black):\
                   9557:        :is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
1.1       deraadt  9558:        :us=\E[4m:tc=lisa:
1.8     ! tholo    9559:
        !          9560: # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
        !          9561: # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
        !          9562: #
        !          9563: # These entries assume that the 'Auto Wraparound' is enabled.
        !          9564: # Xon-Xoff flow control should also be enabled.
        !          9565: #
        !          9566: # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
        !          9567: # settings are in non-volatile memory and don't need to be reset upon login.
        !          9568: # Also setting the number of columns glitches the screen annoyingly.
        !          9569: # You can type "reset" to get them set.
        !          9570: #
        !          9571: lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
        !          9572:        :am:bs:pt:xn:xo:\
        !          9573:        :co#80:it#8:kn#4:li#24:vt#3:\
        !          9574:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
        !          9575:        :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          9576:        :cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
        !          9577:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          9578:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
        !          9579:        :mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
        !          9580:        :r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
        !          9581:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
        !          9582:        :ue=\E[m:up=\E[A:us=\E[4m:
        !          9583: # Lisaterm in 132 column ("wide") mode.
        !          9584: lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
        !          9585:        :co#132:\
        !          9586:        :kb=^H:kd=^J:kl=^H:tc=lisaterm:
        !          9587: # Although MacTerminal has insert/delete line, it is commented out here
        !          9588: # since it is much faster and cleaner to use the "lock scrolling region"
        !          9589: # method of inserting and deleting lines due to the MacTerminal implementation.
        !          9590: # Also, the "Insert/delete ch" strings have an extra character appended to them
        !          9591: # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
        !          9592: # supported by MacTerminal.
1.1       deraadt  9593: mac|macintosh|Macintosh with MacTerminal:\
                   9594:        :xn:\
                   9595:        :dN#30:\
1.8     ! tholo    9596:        :dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
        !          9597: # Lisaterm in 132 column ("wide") mode.
        !          9598: mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
        !          9599:        :co#132:tc=mac:
1.1       deraadt  9600:
                   9601: #### Radio Shack/Tandy
                   9602: #
                   9603:
                   9604: # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
                   9605: # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
                   9606: # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
                   9607: coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
1.8     ! tholo    9608:        :am:bs:\
1.1       deraadt  9609:        :co#80:it#8:li#24:\
                   9610:        :al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
1.5       tholo    9611:        :dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
1.8     ! tholo    9612:        :md=\E\072^A:me=\037\041\E\072\200:mr=^_ :nd=^F:\
        !          9613:        :se=^_\041:so=^_ :ue=^_#:up=^I:us=^_":ve=^E\041:vi=^E :
1.2       deraadt  9614: # (trs2: removed obsolete ":nl=^_:" -- esr)
1.1       deraadt  9615: trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
1.8     ! tholo    9616:        :am:bs:ms:\
1.2       deraadt  9617:        :co#80:it#8:li#24:\
1.5       tholo    9618:        :al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
                   9619:        :do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
                   9620:        :se=^O:sf=^J:so=^N:ta=^I:up=^^:
1.1       deraadt  9621: # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1.2       deraadt  9622: # (This had extension capabilities
1.1       deraadt  9623: #      :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
                   9624: #      :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1.2       deraadt  9625: # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
1.1       deraadt  9626: trs16|trs-80 model 16 console:\
1.8     ! tholo    9627:        :am:bs:\
1.2       deraadt  9628:        :co#80:it#8:li#24:\
1.5       tholo    9629:        :ac=l_mbk`javewcquxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
                   9630:        :ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
                   9631:        :ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
                   9632:        :k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
                   9633:        :l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
                   9634:        :pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
1.3       deraadt  9635:        :vi=\ERc:
1.1       deraadt  9636:
                   9637: #### Atari ST
                   9638: #
                   9639:
                   9640: # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
                   9641: atari|atari st:\
1.8     ! tholo    9642:        :am:bs:\
1.2       deraadt  9643:        :co#80:it#8:li#25:\
1.5       tholo    9644:        :al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
                   9645:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
                   9646:        :so=\Ep:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  9647: # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
                   9648: # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
1.2       deraadt  9649: uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
1.1       deraadt  9650:        :li#49:\
                   9651:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:tc=vt220:
1.5       tholo    9652: # MiNT VT52 emulation. 80 columns, 25 rows.
                   9653: # MiNT is Now TOS, the operating system which comes with all Ataris now
                   9654: # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
                   9655: # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1.8     ! tholo    9656: # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
1.5       tholo    9657: st52|Atari ST with VT52 emulation:\
                   9658:        :am:km:\
                   9659:        :co#80:li#25:\
                   9660:        :K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
                   9661:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
                   9662:        :ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
                   9663:        :k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
                   9664:        :kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
                   9665:        :l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
1.8     ! tholo    9666:        :rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
1.5       tholo    9667:        :up=\EA:ve=\Ee:vi=\Ef:
                   9668:
1.1       deraadt  9669: #### Commodore Business Machines
                   9670: #
                   9671: # Formerly located in West Chester, PA; went spectacularly bust in 1994
                   9672: # after years of shaky engineering and egregious mismanagement.  Made one
                   9673: # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
                   9674: # C-128, VIC-20).  The C-64 is said to have been the most popular machine
                   9675: # ever (most units sold); they can still be found gathering dust in closets
                   9676: # everywhere.
                   9677: #
                   9678:
                   9679: # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
                   9680: # Added a few more entries, converted caret-type control sequence (^x) entries
                   9681: # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
                   9682: #
                   9683: # :as:, :ae:                   Support for alternate character sets.
                   9684: # :ve=\E[\040p:vi=\E[\060\040p:        cursor visible/invisible.
                   9685: # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
                   9686: #     This one appears to fix a problem I always had with a line ending
                   9687: #     at 'width+1' (I think) followed by a blank line in vi. The blank
                   9688: #     line tended to disappear and reappear depending on how the screen
                   9689: #     was refreshed. Note that this is probably needed only if you use
                   9690: #     something like a Dnet Fterm with the window sized to some peculiar
                   9691: #     dimension larger than 80 columns.
                   9692: # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1.5       tholo    9693: # (amiga: removed obsolete :kn#10:,
                   9694: # also added empty <acsc> to suppress a warning --esr)
1.3       deraadt  9695: amiga-old|Amiga ANSI:\
1.1       deraadt  9696:        :am:bs:bw:xn:\
                   9697:        :co#80:li#24:\
                   9698:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    9699:        :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
1.1       deraadt  9700:        :ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1.5       tholo    9701:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
                   9702:        :ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E9~:k1=\E0~:k2=\E1~:\
                   9703:        :k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
                   9704:        :kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:\
                   9705:        :md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
                   9706:        :r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:\
                   9707:        :us=\E[4m:ve=\E[ p:vi=\E[0 p:
1.3       deraadt  9708:
                   9709: # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1.5       tholo    9710: # (amiga: added empty <acsc> to suppress a warning --esr)
1.3       deraadt  9711: amiga|Amiga ANSI:\
1.8     ! tholo    9712:        :bs:bw:ms:\
1.3       deraadt  9713:        :co#80:li#24:\
1.5       tholo    9714:        :DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
                   9715:        :SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
                   9716:        :bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
                   9717:        :cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
                   9718:        :ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
                   9719:        :k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
                   9720:        :k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
                   9721:        :kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
                   9722:        :md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
                   9723:        :nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
                   9724:        :sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
                   9725:        :us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
                   9726:
                   9727: # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
                   9728: #      I'm trying to write a termcap for a commodore b-128, and I'm
                   9729: # having a little trouble. I've had to map most of my control characters
                   9730: # to something that unix will accept (my delete-char is a ctrl-t, etc),
                   9731: # and create some functions (like cm), but thats life.
                   9732: #      The problem is with the arrow keys - right, and up work fine, but
                   9733: # left deletes the previous character and down I just can't figure out.
                   9734: # Jove knows what I want, but I don't know what it's sending to me (it
                   9735: # isn't thats bound to next-line in jove).
                   9736: #      Anybody got any ideas? Here's my termcap.
                   9737: # DAG -- I changed his "^n" entries to "\n"; see if that works.
                   9738: #
                   9739: commodore|b-128|Commodore B-128 micro:\
                   9740:        :am:bw:\
1.8     ! tholo    9741:        :co#80:dN#20:li#24:pb#150:\
        !          9742:        :al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:\
1.5       tholo    9743:        :cm=20\E\013%2\054%2\054:cr=^M:dc=10*\177:dl=10*\Ed:\
1.8     ! tholo    9744:        :do=^J:ei=:ho=\E^E:ic=5\E\n:im=:kd=^J:kh=\E^E:kl=^B:kr=^F:\
        !          9745:        :ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
1.5       tholo    9746:
                   9747: #### North Star
                   9748: #
                   9749: # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
                   9750: northstar|North Star Advantage:\
1.8     ! tholo    9751:        :bs:\
1.5       tholo    9752:        :co#80:li#24:\
1.8     ! tholo    9753:        :cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
        !          9754:        :ho=200\034\032:
1.1       deraadt  9755:
                   9756: #### Osborne
                   9757: #
                   9758: # Thu Jul  7 03:55:16 1983
                   9759: #
                   9760: # As an aside, be careful; it may sound like an anomaly on the
                   9761: # Osborne, but with the 80-column upgrade, it's too easy to
                   9762: # enter lines >80 columns!
                   9763: #
                   9764: # I've already had several comments...
                   9765: # The Osborne-1 with the 80-col option is capable of being
1.2       deraadt  9766: # 52, 80, or 104 characters wide; default to 80 for compatibility
1.1       deraadt  9767: # with most systems.
                   9768: #
                   9769: # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
1.8     ! tholo    9770: osborne-w|osborne1-w|osborne I in 104-column mode:\
1.1       deraadt  9771:        :ms:ul:xt:\
                   9772:        :co#104:li#24:\
1.5       tholo    9773:        :al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
                   9774:        :do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
                   9775:        :se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
1.8     ! tholo    9776: # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
        !          9777: osborne|osborne1|osborne I in 80-column mode:\
        !          9778:        :am:bs:mi:ms:ul:xs:\
        !          9779:        :co#80:dB#4:li#24:\
        !          9780:        :al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
        !          9781:        :im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=\010:nd=^L:\
        !          9782:        :se=\E):so=\E(:ue=\Em:up=^K:us=\El:
1.5       tholo    9783: #
                   9784: # Osborne Executive definition from BRL
                   9785: # Similar to tvi920
                   9786: # Added by David Milligan and Tom Smith (SMU)
                   9787: osexec|Osborne executive:\
1.8     ! tholo    9788:        :am:bs:\
1.5       tholo    9789:        :co#80:li#24:sg#1:ug#1:\
                   9790:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
                   9791:        :dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
                   9792:        :is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
                   9793:        :k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
1.8     ! tholo    9794:        :kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
        !          9795:        :so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
1.1       deraadt  9796:
1.2       deraadt  9797: #### Console types for obsolete UNIX clones
                   9798: #
                   9799: # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
                   9800: # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1.5       tholo    9801: # were commercial, Minix an educational tool sold in conjunction with a book.
1.2       deraadt  9802: # Memory-segmentation limits and a strong tendency to look like V7 long after
                   9803: # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
                   9804: # and Minix were ported to 32-bit Intel boxes, only to be run over by a
                   9805: # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1.5       tholo    9806: # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
                   9807: # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
                   9808: # even as single processes under SunOS and the Macintosh OS.
1.1       deraadt  9809: #
                   9810:
1.8     ! tholo    9811: # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
        !          9812: minix|minix console (v1.7):\
        !          9813:        :am:xn:\
1.2       deraadt  9814:        :co#80:it#8:li#25:\
1.5       tholo    9815:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.8     ! tholo    9816:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
        !          9817:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
        !          9818:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:k0=\E[Y:\
        !          9819:        :k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:\
        !          9820:        :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:l2=PgDn:\
        !          9821:        :l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:md=\E[1m:\
        !          9822:        :me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:\
        !          9823:        :sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
        !          9824: # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
        !          9825: minix-old|minix console (v1.5):\
        !          9826:        :xo:\
        !          9827:        :co#80:it#8:li#25:\
        !          9828:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
        !          9829:        :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
        !          9830:        :ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
        !          9831:        :dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
        !          9832:        :k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
        !          9833:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
        !          9834:        :mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
        !          9835:        :ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
        !          9836: # The linewrap option can be specified by editing /usr/include/minix/config.h
        !          9837: # before recompiling the minix 1.5 kernel.
        !          9838: minix-old-am|minix console with linewrap:\
        !          9839:        :am:tc=minix-old:
1.5       tholo    9840:
                   9841: pc-minix|minix console on an Intel box:\
                   9842:        :tc=klone+acs:tc=minix:
1.2       deraadt  9843:
1.1       deraadt  9844: # According to the Coherent 2.3 manual, the PC console is similar
                   9845: # to a z19. The differences seem to be (1) 25 lines, (2) no status
                   9846: # line, (3) standout is broken, (4) ins/del line is broken, (5)
                   9847: # has blinking and bold.
                   9848: pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
                   9849:        :am:mi:\
                   9850:        :co#80:it#8:li#25:\
1.5       tholo    9851:        :bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
                   9852:        :do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   9853:        :kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
                   9854:        :sr=\EI:ta=^I:up=\EA:
1.1       deraadt  9855:
                   9856: # According to the Venix 1.1 manual, the PC console is similar
                   9857: # to a DEC vt52.  Differences seem to be (1) arrow keys send
                   9858: # different strings, (2) enhanced standout, (3) added insert/delete line.
1.2       deraadt  9859: # Note in particular that it doesn't have automatic margins.
1.5       tholo    9860: # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
                   9861: # not described here because this derives from an old termcap entry.
1.1       deraadt  9862: pc-venix|venix|IBM PC console running Venix:\
                   9863:        :co#80:it#8:li#25:\
1.5       tholo    9864:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
                   9865:        :dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
                   9866:        :nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
1.1       deraadt  9867:
                   9868: #### Miscellaneous microcomputer consoles
                   9869: #
                   9870: # If you know anything more about any of these, please tell me.
1.5       tholo    9871: #
1.1       deraadt  9872:
                   9873: # basis from Peter Harrison, Computer Graphics Lab, San Francisco
                   9874: #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
                   9875: # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
                   9876: basis|BASIS108 computer with terminal translation table active:\
1.5       tholo    9877:        :cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
                   9878:        :ku=^K:me=\E):se=\E):so=\E(:\
                   9879:        :tc=adm3a:
1.1       deraadt  9880: # luna's BMC terminal emulator
                   9881: luna|luna68k|LUNA68K Bitmap console:\
1.3       deraadt  9882:        :co#88:li#46:tc=ansi-mini:
1.1       deraadt  9883: megatek|pegasus workstation terminal emulator:\
                   9884:        :am:os:\
1.3       deraadt  9885:        :co#83:li#60:
1.2       deraadt  9886: # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
                   9887: # interface (pre-Macintosh by several years) that went nowhere.
1.1       deraadt  9888: xerox820|x820|Xerox 820:\
                   9889:        :am:\
                   9890:        :co#80:li#24:\
1.5       tholo    9891:        :bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
                   9892:        :le=^H:nd=^L:sf=^J:up=^K:
1.1       deraadt  9893:
                   9894: #### Videotex and teletext
                   9895: #
                   9896:
1.8     ! tholo    9897: # \E\:1}       switch to te'le'informatique mode (ascii terminal/ISO 6429)
        !          9898: # \E[?3l       80 columns
        !          9899: # \E[?4l       scrolling on
        !          9900: # \E[12h       local echo off
        !          9901: # \Ec          reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
        !          9902: # \E)0         G1 DEC set (line graphics)
        !          9903: #
        !          9904: # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
        !          9905: m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
        !          9906:        :bs:es:hs:xn:\
        !          9907:        :co#80:it#8:li#24:sg#0:ws#72:\
        !          9908:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
        !          9909:        :RI=\E[%dC:SF=^J:SR=\EM:UP=\E[%dA:\
        !          9910:        :ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
        !          9911:        :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
        !          9912:        :cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
        !          9913:        :fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
        !          9914:        :i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
        !          9915:        :k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
        !          9916:        :k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
        !          9917:        :kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
        !          9918:        :kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
        !          9919:        :me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
        !          9920:        :r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
        !          9921:        :sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
        !          9922:        :u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
        !          9923:        :vi=\E[<1h:
1.1       deraadt  9924:
                   9925: ######## OBSOLETE VDT TYPES
                   9926: #
                   9927: # These terminals are *long* dead -- these entries are retained for
                   9928: # historical interest only.
                   9929:
                   9930: #### Amtek Business Machines
                   9931: #
                   9932:
                   9933: # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
                   9934: # but these caps were commented out in 8.3; also, removed overridden
                   9935: # ":do=^J:" -- esr)
                   9936: abm80|amtek business machines 80:\
1.8     ! tholo    9937:        :am:bs:bw:\
1.1       deraadt  9938:        :co#80:li#24:\
1.5       tholo    9939:        :al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
                   9940:        :dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
1.1       deraadt  9941:
                   9942: #### Bell Labs blit terminals
                   9943: #
1.2       deraadt  9944: # These were AT&T's official entries.  The 5620 FAQ maintained by
                   9945: # David Breneman <daveb@dgtl.com> has this to say:
                   9946: #
                   9947: #  Actually, in the beginning was the Jerq, and the Jerq was white with a
                   9948: #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
                   9949: #  was good.  But lo, upon the horizon loomed a mighty management-type person
                   9950: #  (known now only by the initials VP) who said, the mighty Jerq must stay
                   9951: #  alone, and could not go forth into the world. So Locanthi and Pike put the
                   9952: #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
                   9953: #  world. And the Jerq lived the rest of its days in research, but never
                   9954: #  strayed from those paths.
                   9955: #
                   9956: #  In all seriousness, the Blit was originally known as the Jerq, but when
                   9957: #  it started to be shown outside of the halls of the Bell Labs Research
                   9958: #  organization, the management powers that be decided that the name could
                   9959: #  not remain. So it was renamed to be Blit. This was in late 1981.
                   9960: #
                   9961: # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
                   9962: # 730, and 730+.)
1.1       deraadt  9963: #
                   9964:
                   9965: blit|jerq|blit running teletype rom:\
                   9966:        :am:eo:ul:xo:\
                   9967:        :co#87:it#8:li#72:\
1.8     ! tholo    9968:        :AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF\041:bl=^G:\
        !          9969:        :ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee\041:dl=\EE\041:\
        !          9970:        :do=^J:ei=:ic=\Ef\041:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:\
        !          9971:        :kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
1.1       deraadt  9972:
1.5       tholo    9973: # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
1.1       deraadt  9974: cbblit|fixterm|blit running columbus code:\
                   9975:        :co#88:\
1.8     ! tholo    9976:        :cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%03:pf=^T:po=^R:se=\EV\041:\
        !          9977:        :so=\EU\041:ue=\EV":us=\EU":vb=\E^G:\
1.5       tholo    9978:        :tc=blit:
1.1       deraadt  9979:
                   9980: oblit|ojerq|first version of blit rom:\
                   9981:        :am:da:db:eo:mi:ul:xo:\
                   9982:        :co#88:it#8:li#72:\
1.5       tholo    9983:        :AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
                   9984:        :cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
                   9985:        :kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
1.1       deraadt  9986:
                   9987: #### Bolt, Beranek & Newman (bbn)
                   9988: #
                   9989: # The BitGraph was a product of the now-defunct BBN Computer Corporation.
                   9990: # The parent company, best known as the architects of the Internet, is
                   9991: # still around.
                   9992: #
                   9993:
                   9994: # Entries for the BitGraph terminals.  The problem
                   9995: # with scrolling in vi can only be fixed by getting BBN to put
                   9996: # smarter scroll logic in the terminal or changing vi or padding
                   9997: # scrolls with about 500 ms delay.
                   9998: #
                   9999: # I always thought the problem was related to the terminal
                   10000: # counting newlines in its input buffer before scrolling and
                   10001: # then moving the screen that much. Then vi comes along and
                   10002: # paints lines in on the bottom line of the screen, so you get
                   10003: # this big white gap.
                   10004:
1.2       deraadt  10005: bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
1.5       tholo    10006:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:\
                   10007:        :tc=bg2.0:
1.2       deraadt  10008: bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
1.1       deraadt  10009:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
1.2       deraadt  10010: bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
1.8     ! tholo    10011:        :bs:xn:\
1.1       deraadt  10012:        :co#85:li#64:\
1.5       tholo    10013:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=%i\E[%d;%dH:\
                   10014:        :cr=^M:cs=\E[%i%d;%dr:dl=\E[M:do=\E[B:k1=\EOP:k2=\EOQ:\
                   10015:        :k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:\
                   10016:        :ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:me=\E[m:nd=\E[C:\
                   10017:        :rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.2       deraadt  10018:
1.1       deraadt  10019: bg1.25rv|bbn bitgraph 1.25 (reverse video):\
                   10020:        :is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
                   10021: bg1.25nv|bbn bitgraph 1.25 (normal video):\
                   10022:        :is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
1.2       deraadt  10023: # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10024: bg1.25|bbn bitgraph 1.25:\
                   10025:        :co#85:li#64:\
1.3       deraadt  10026:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    10027:        :cl=\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=\E[M:do=\E[B:k1=\EP:\
                   10028:        :k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:ks=\E=:\
                   10029:        :ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:ll=\E[64;1H:\
                   10030:        :me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
1.1       deraadt  10031:
                   10032: #### Chromatics
                   10033: #
                   10034:
1.5       tholo    10035: # I have put the long strings in :ti:/:te:. Ti sets up a window
1.1       deraadt  10036: # that is smaller than the screen, and puts up a warning message
                   10037: # outside the window. Te erases the warning message, puts the
                   10038: # window back to be the whole screen, and puts the cursor at just
1.5       tholo    10039: # below the small window. I defined :ve: and :vi: to really turn
1.1       deraadt  10040: # the cursor on and off, but I have taken this out since I don't
                   10041: # like the cursor being turned off when vi exits.
                   10042: cg7900|chromatics|chromatics 7900:\
                   10043:        :am:\
                   10044:        :co#80:li#40:\
1.8     ! tholo    10045:        :al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d\054%d\054:\
        !          10046:        :cr=^M:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:\
        !          10047:        :ll=^A|:nd=^]:se=\001C1\054\001c2\054:sf=^J:\
        !          10048:        :so=\001C4\054\001c7\054:\
        !          10049:        :te=\001W0\05440\05485\05448\054\014\001W0\0540\05485\05448\054\001M0\05440\054:\
        !          10050:        :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  10051:        :uc=\001\001_\001\200:up=^K:
1.1       deraadt  10052:
                   10053: #### Computer Automation
                   10054: #
                   10055:
                   10056: ca22851|computer automation 22851:\
                   10057:        :am:\
                   10058:        :co#80:li#24:\
1.5       tholo    10059:        :bl=^G:cd=^\:ce=^]:cl=\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
                   10060:        :kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
1.1       deraadt  10061:
                   10062: #### Cybernex
                   10063: #
                   10064:
                   10065: # This entry has correct padding and the undocumented "ri" capability
                   10066: cyb83|xl83|cybernex xl-83:\
1.8     ! tholo    10067:        :am:bs:\
1.1       deraadt  10068:        :co#80:li#24:\
1.5       tholo    10069:        :bl=^G:cd=\020:ce=\017:cl=\014:cm=\027%+ %+ :cr=^M:do=^J:\
                   10070:        :ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:up=^N:
1.1       deraadt  10071: # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
                   10072: cyb110|mdl110|cybernex mdl-110:\
1.8     ! tholo    10073:        :am:bs:\
1.1       deraadt  10074:        :co#80:li#24:\
                   10075:        :al=\016A\016\035:bl=^G:cd=\016@\026:ce=\016@\026:\
                   10076:        :cl=\030:cm=\020%+ %+ :cr=^M:dc=\016A\036:\
1.5       tholo    10077:        :dl=\016A\016\036:do=^J:ei=:ho=^Y:ic=\016A\035:im=:le=^H:\
                   10078:        :nd=^U:se=^NG:sf=^J:so=^NF:ta=\011:up=^Z:
1.1       deraadt  10079:
                   10080: #### Datapoint
                   10081: #
                   10082: # Datapoint is gone.  They used to be headquartered in Texas.
                   10083: # They created ARCnet, an Ethernet competitor that flourished for a while
                   10084: # in the early 1980s before 3COM got wise and cut its prices.  The service
                   10085: # side of Datapoint still lives (1995) in the form of Intelogic Trace.
                   10086: #
                   10087:
                   10088: dp3360|datapoint|datapoint 3360:\
1.8     ! tholo    10089:        :am:bs:\
1.1       deraadt  10090:        :co#82:li#25:\
1.5       tholo    10091:        :bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
                   10092:        :sf=^J:up=^Z:
1.1       deraadt  10093:
                   10094: #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
                   10095: #
                   10096: # These entries are DEC's official terminfos for its older terminals.
                   10097: # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
                   10098: # Engineering for more information.  Updated terminfos and termcaps
                   10099: # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
                   10100: #
                   10101:
                   10102: gt40|dec gt40:\
1.8     ! tholo    10103:        :bs:os:\
1.1       deraadt  10104:        :co#72:li#30:\
                   10105:        :bl=^G:cr=^M:do=^J:le=^H:
                   10106: gt42|dec gt42:\
1.8     ! tholo    10107:        :bs:os:\
1.1       deraadt  10108:        :co#72:li#40:\
                   10109:        :bl=^G:cr=^M:do=^J:le=^H:
                   10110: vt50|dec vt50:\
1.8     ! tholo    10111:        :bs:\
1.1       deraadt  10112:        :co#80:li#12:\
1.5       tholo    10113:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
                   10114:        :sf=^J:ta=^I:up=\EA:
1.1       deraadt  10115: vt50h|dec vt50h:\
1.8     ! tholo    10116:        :bs:\
1.1       deraadt  10117:        :co#80:li#12:\
1.5       tholo    10118:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
                   10119:        :le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
                   10120: # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
1.2       deraadt  10121: vt61|vt-61|vt61.5|dec vt61:\
1.1       deraadt  10122:        :co#80:li#24:\
1.5       tholo    10123:        :bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=^J:\
                   10124:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:sf=\n:sr=\EI:ta=^I:\
                   10125:        :up=\EA:
1.1       deraadt  10126:
                   10127: # The gigi does standout with red!
1.2       deraadt  10128: # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
1.1       deraadt  10129: gigi|vk100|dec gigi graphics terminal:\
1.8     ! tholo    10130:        :am:bs:xn:\
1.1       deraadt  10131:        :co#84:li#24:\
1.3       deraadt  10132:        :DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
                   10133:        :UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
                   10134:        :cm=\E[%i%d;%dH:cr=^M:do=^J:\
                   10135:        :is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
1.5       tholo    10136:        :k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
                   10137:        :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
                   10138:        :nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
                   10139:        :up=\E[A:us=\E[4m:
1.1       deraadt  10140:
                   10141: # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
                   10142: # a PC differentiated from the IBM clones.  It was a total, ludicrous,
                   10143: # grossly-overpriced failure (among other things, DEC's OS didn't include
                   10144: # a format program, so you had to buy pre-formatted floppies from DEC at
                   10145: # a hefty premium!).
                   10146: pro350|decpro|dec pro console:\
1.8     ! tholo    10147:        :bs:\
1.2       deraadt  10148:        :co#80:it#8:li#24:\
1.5       tholo    10149:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   10150:        :ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
                   10151:        :ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
                   10152:        :k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
                   10153:        :se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
1.1       deraadt  10154:
                   10155: dw1|decwriter I:\
1.8     ! tholo    10156:        :bs:hc:os:\
1.1       deraadt  10157:        :co#72:\
                   10158:        :bl=^G:cr=^M:do=^J:le=^H:sf=^J:
                   10159: dw2|decwriter|dw|decwriter II:\
1.8     ! tholo    10160:        :bs:hc:os:\
1.1       deraadt  10161:        :co#132:\
                   10162:        :bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
                   10163: # \E(B         Use U.S. character set (otherwise # => british pound !)
                   10164: # \E[20l       Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
                   10165: # \E[w         10 char/in pitch
                   10166: # \E[1;132     full width horizontal margins
                   10167: # \E[2g                clear all tab stops
                   10168: # \E[z         6 lines/in
                   10169: # \E[66t       66 lines/page (for \f)
                   10170: # \E[1;66r     full vertical page can be printed
                   10171: # \E[4g                clear vertical tab stops
                   10172: # \E>          disable alternate keypad mode (so it transmits numbers!)
1.2       deraadt  10173: # \E[%i%p1%du  set tab stop at column %d (origin == 1)
1.1       deraadt  10174: #              (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
                   10175: #              a tab stop)
                   10176: #
                   10177: #       The dw3 does standout with wide characters.
                   10178: #
                   10179: dw3|la120|decwriter III:\
1.8     ! tholo    10180:        :bs:hc:os:\
1.1       deraadt  10181:        :co#132:\
                   10182:        :bl=^G:cr=^M:do=^J:\
                   10183:        :i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
                   10184:        :is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
1.5       tholo    10185:        :kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
1.1       deraadt  10186: dw4|decwriter IV:\
1.8     ! tholo    10187:        :am:bs:hc:os:\
1.1       deraadt  10188:        :co#132:\
1.5       tholo    10189:        :bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
                   10190:        :kb=^H:le=^H:sf=^J:ta=^I:
1.1       deraadt  10191:
1.3       deraadt  10192: # These aren't official
                   10193: ln03|dec ln03 laser printer:\
                   10194:        :hc:\
                   10195:        :co#80:li#66:\
1.5       tholo    10196:        :bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
1.3       deraadt  10197:        :sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
                   10198: ln03-w|dec ln03 laser printer 132 cols:\
                   10199:        :co#132:\
1.5       tholo    10200:        :bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ln03:
1.3       deraadt  10201:
1.1       deraadt  10202: #### Delta Data (dd)
                   10203: #
                   10204:
                   10205: # Untested. The cup sequence is hairy enough that it probably needs work.
                   10206: # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
                   10207: # There are BSD-derived termcap entries floating around for this puppy
                   10208: # that are *certainly* wrong.
                   10209: delta|dd5000|delta data 5000:\
1.8     ! tholo    10210:        :am:bs:\
1.1       deraadt  10211:        :co#80:li#27:\
1.5       tholo    10212:        :bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
                   10213:        :le=^H:nd=^Y:sf=^J:up=^Z:
1.1       deraadt  10214:
                   10215: #### Digital Data Research (ddr)
                   10216: #
                   10217:
1.2       deraadt  10218: # (ddr: I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  10219: ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
1.8     ! tholo    10220:        :am:bs:xn:\
1.2       deraadt  10221:        :co#80:it#8:li#24:vt#3:\
1.3       deraadt  10222:        :RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
                   10223:        :cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
                   10224:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    10225:        :kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
                   10226:        :ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   10227:        :nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
                   10228:        :rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
                   10229:        :so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
                   10230:
                   10231: #### Evans & Sutherland
                   10232: #
                   10233:
                   10234: # Jon Leech <leech@cs.unc.edu> tells us:
                   10235: # The ps300 was the Evans & Sutherland Picture System 300, a high
                   10236: # performance 3D vector graphics system with a bunch of specialized hardware.
                   10237: # Approximate date of release was 1982 (early 80s, anyway), and it had several
                   10238: # evolutions including (limited) color versions such as the PS330C. PS300s
                   10239: # were effectively obsolete by the late 80s, replaced by raster graphics
                   10240: # systems, although specialized applications like molecular modelling
                   10241: # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
                   10242: # are out of production, though of course E&S is very much alive (in 1996).
                   10243: # (ps300: changed ":pt@:" to "it@" -- esr)
                   10244: #
                   10245: ps300|Picture System 300:\
                   10246:        :xt:\
                   10247:        :it@:\
                   10248:        :se@:so@:ue@:us@:tc=vt100:
1.1       deraadt  10249:
                   10250: #### General Electric (ge)
                   10251: #
                   10252:
                   10253: terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
1.8     ! tholo    10254:        :bs:hc:os:\
1.1       deraadt  10255:        :co#120:\
                   10256:        :bl=^G:cr=^M:do=^J:sf=^J:
                   10257:
                   10258: #### Heathkit/Zenith
                   10259: #
                   10260:
1.2       deraadt  10261: # Here is a description of the H19 DIP switches:
                   10262: #
                   10263: # S401
                   10264: # 0-3 = baud rate as follows:
                   10265: #
                   10266: #         3       2       1       0
                   10267: #      ---     ---     ---     ---
                   10268: #         0       0       1       1       300 baud
                   10269: #         0       1       0       1       1200 baud
                   10270: #         1       0       0       0       2400 baud
                   10271: #         1       0       1       0       4800 baud
                   10272: #         1       1       0       0       9600 baud
                   10273: #         1       1       0       1       19.2K baud
                   10274: #
                   10275: # 4 = parity (0 = no parity)
                   10276: # 5 = even parity (0 = odd parity)
                   10277: # 6 = stick parity (0 = normal parity)
                   10278: # 7 = full duplex (0 = half duplex)
                   10279: #
                   10280: # S402
                   10281: # 0 = block cursor (0 = underscore cursor)
                   10282: # 1 = no key click (0 = keyclick)
                   10283: # 2 = wrap at end of line (0 = no wrap)
                   10284: # 3 = auto LF on CR (0 = no LF on CR)
                   10285: # 4 = auto CR on LF (0 = no CR on LF)
                   10286: # 5 = ANSI mode (0 = VT52 mode)
                   10287: # 6 = keypad shifted (0 = keypad unshifted)
                   10288: # 7 = 50Hz refresh (1 = 60Hz refresh)
                   10289: #
                   10290: # Factory Default settings are as follows:
                   10291: #          7 6 5 4 3 2 1 0
                   10292: # S401     1 0 0 0 1 1 0 0
                   10293: # S402     0 0 0 0 0 0 0 0
1.5       tholo    10294: # (h19: I added <rmam>/<smam> based on the init string;
                   10295: # also added empty <acsc> to suppress a tic warning -- esr)
                   10296: h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
1.8     ! tholo    10297:        :am:bs:mi:ms:\
1.1       deraadt  10298:        :co#80:it#8:li#24:\
1.5       tholo    10299:        :RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=\E[1L:as=\E[10m:\
1.3       deraadt  10300:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
1.5       tholo    10301:        :dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
                   10302:        :is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
                   10303:        :k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
                   10304:        :kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
                   10305:        :l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
                   10306:        :sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
1.1       deraadt  10307: h19-bs|heathkit w/keypad shifted:\
                   10308:        :ke=\Eu:ks=\Et:tc=h19-b:
                   10309: h19-smul|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    10310:        :ke=\Eu:ks=\Et:\
                   10311:        :tc=h19-u:
                   10312: # (h19: merged in :ip: from BSDI hp19-e entry>;
                   10313: # also added empty <acsc> to suppress a tic warning --esr)
1.1       deraadt  10314: h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
1.8     ! tholo    10315:        :am:bs:es:hs:mi:ms:\
1.1       deraadt  10316:        :co#80:it#8:li#24:\
1.5       tholo    10317:        :ac=:ae=\EG:al=\EL:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:\
                   10318:        :cm=\EY%+ %+ :cr=^M:dc=\EN:dl=\EM:do=\EB:ei=\EO:fs=\Ek\Ey5:\
                   10319:        :ho=\EH:im=\E@:ip=1.5<1.5/>:k1=\ES:k2=\ET:k3=\EU:k4=\EV:\
                   10320:        :k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
                   10321:        :kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:nd=\EC:se=\Eq:\
                   10322:        :sf=^J:so=\Ep:sr=\EI:ta=^I:\
                   10323:        :ts=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo:up=\EA:ve=\Ey4:\
                   10324:        :vs=\Ex4:
1.1       deraadt  10325: h19-u|heathkit with underscore cursor:\
                   10326:        :ve@:vs@:tc=h19-b:
1.3       deraadt  10327: h19-us|h19us|heathkit w/keypad shifted/underscore cursor:\
1.5       tholo    10328:        :ke=\Eu:ks=\Et:\
                   10329:        :tc=h19-u:
1.3       deraadt  10330: h19-g|h19g|heathkit w/block cursor:\
                   10331:        :ve=\Ex4:tc=h19-b:
1.1       deraadt  10332: alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
                   10333:        :li#60:\
                   10334:        :al=\EL:dl=\EM:tc=h19:
                   10335:
1.3       deraadt  10336: # The major problem with the Z29 is that it requires more padding than the Z19.
                   10337: #
                   10338: # The problem with declaring an H19 to be synonymous with a Z29 is that
1.1       deraadt  10339: # it needs more padding. It especially loses if a program attempts
                   10340: # to put the Z29 into insert mode and insert text at 9600 baud. It
                   10341: # even loses worse if the program attempts to insert tabs at 9600
                   10342: # baud. Adding padding to text that is inserted loses because in
                   10343: # order to make the Z29 not die, one must add so much padding that
                   10344: # whenever the program tries to use insert mode, the effective
                   10345: # rate is about 110 baud.
                   10346: #
                   10347: # What program would want to put the terminal into insert mode
                   10348: # and shove stuff at it at 9600 baud you ask?
                   10349: #
                   10350: # Emacs. Emacs seems to want to do the mathematically optimal
                   10351: # thing in doing a redisplay rather than the practical thing.
                   10352: # When it is about to output a line on top of a line that is
                   10353: # already on the screen, instead of just killing to the end of
1.3       deraadt  10354: # the line and outputting the new line, it compares the old line
1.1       deraadt  10355: # and the new line and if there are any similarities, it
                   10356: # constructs the new line by deleting the text on the old line
                   10357: # on the terminal that is already there and then inserting new
                   10358: # text into the line to transform it into the new line that is
                   10359: # to be displayed. The Z29 does not react kindly to this.
                   10360: #
                   10361: # But don't cry for too long.... There is a solution. You can make
                   10362: # a termcap entry for the Z29 that says the Z29 has no insert mode.
                   10363: # Then Emacs cannot use it. "Oh, no, but now inserting into a
                   10364: # line will be really slow", you say. Well there is a sort of a
                   10365: # solution to that too. There is an insert character option on
                   10366: # the Z29 that will insert one character. Unfortunately, it
                   10367: # involves putting the terminal into ansi mode, inserting the
                   10368: # character, and changing it back to H19 mode. All this takes 12
                   10369: # characters. Pretty expensive to insert one character, but it
                   10370: # works. Either Emacs doesn't try to use its inserting hack when
                   10371: # it's only given an insert character ability or the Z29 doesn't
                   10372: # require padding with this (the former is probably more likely,
                   10373: # but I haven't checked it out).
1.8     ! tholo    10374: # (z29: added empty <acsc> to suppress a tic warning, merged in
        !          10375: # status line capabilities from BRL entry --esr)
1.1       deraadt  10376: z29|zenith29|z29b|zenith z29b:\
1.8     ! tholo    10377:        :am:bs:es:hs:mi:ms:pt:\
        !          10378:        :co#80:kn#10:li#24:\
        !          10379:        :ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=\EJ:ce=\EK:\
        !          10380:        :cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:dl=1\EM:do=\EB:ds=\Ey1:\
        !          10381:        :ei=\EO:fs=\Ek\Ey5:ho=\EH:ic=\E<\E[1@\E[?2h:im=\E@:\
        !          10382:        :is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:\
        !          10383:        :k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
        !          10384:        :kr=\EC:ku=\EA:l0=home:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
        !          10385:        :sr=2\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Es0:up=\EA:\
1.5       tholo    10386:        :us=\Es8:ve=\Ey4:vs=\Ex4:
1.3       deraadt  10387: # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
                   10388: # the world is stable. <rs1> causes the terminal to be reset to the state
                   10389: # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
                   10390: # cursor, bc -> block cursor.
                   10391: # From: Mike Meyers
1.5       tholo    10392: # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
                   10393: # looks vt100-compatible -- esr)
1.3       deraadt  10394: z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
1.8     ! tholo    10395:        :am:bs:es:hs:mi:ms:pt:\
        !          10396:        :co#80:it#8:kn#10:li#24:\
1.3       deraadt  10397:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
1.8     ! tholo    10398:        :RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
1.5       tholo    10399:        :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
                   10400:        :do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
                   10401:        :if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
                   10402:        :k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
                   10403:        :kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
                   10404:        :ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
                   10405:        :mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
1.3       deraadt  10406:        :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    10407:        :rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
                   10408:        :ta=^I:te=\E[?7h:ti=\E[?7l:\
1.3       deraadt  10409:        :ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
                   10410:        :us=\E[4m:
                   10411: z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
1.5       tholo    10412:        :r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
                   10413:        :tc=z29a:
1.3       deraadt  10414: z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
1.5       tholo    10415:        :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:\
                   10416:        :tc=z29a:
1.3       deraadt  10417: z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
1.5       tholo    10418:        :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:\
                   10419:        :tc=z29a:
1.2       deraadt  10420: # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
                   10421: z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
1.3       deraadt  10422:        :5i:am:es:hs:mi:ms:xo:\
1.2       deraadt  10423:        :co#80:li#24:\
1.5       tholo    10424:        :%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
                   10425:        :K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
                   10426:        :UP=\E[%dA:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~0a:\
                   10427:        :ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
1.3       deraadt  10428:        :ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1.2       deraadt  10429:        :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
                   10430:        :ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
1.5       tholo    10431:        :is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
                   10432:        :k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
                   10433:        :kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
                   10434:        :ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
                   10435:        :mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
                   10436:        :ps=\E[?19h\E[i:r2=\E<\Ec\200:rc=\E[u:sc=\E[s:se=\E[0m:\
                   10437:        :sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%p1%dH:\
1.3       deraadt  10438:        :ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
1.1       deraadt  10439:
                   10440: # From: Brad Brahms <Brahms@USC-ECLC>
                   10441: z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
1.5       tholo    10442:        :ve=\Ey4\Em70:vs=\Ex4\Em71:\
                   10443:        :tc=z100bw:
                   10444: # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
1.1       deraadt  10445: z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
1.8     ! tholo    10446:        :bs:mi:ms:pt:\
        !          10447:        :co#80:it#8:kn#10:li#24:\
1.5       tholo    10448:        :ac=:ae=\EG:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:\
                   10449:        :cm=1*\EY%+ %+ :dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:\
                   10450:        :im=\E@:k0=\EJ:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:\
                   10451:        :k7=\EQ:k8=\ER:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
                   10452:        :ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:\
                   10453:        :ve=\Ey4:vs=\Ex4:
1.2       deraadt  10454: p19|h19-b with il1/dl1:\
1.1       deraadt  10455:        :al=2*\EL:dl=2*\EM:tc=h19-b:
                   10456: # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1.2       deraadt  10457: # (ztx: removed duplicate :sr: -- esr)
                   10458: ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
1.8     ! tholo    10459:        :am:bs:es:hs:\
1.2       deraadt  10460:        :co#80:it#8:li#24:\
1.5       tholo    10461:        :al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
                   10462:        :ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
1.1       deraadt  10463:        :is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
1.5       tholo    10464:        :k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
                   10465:        :kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
                   10466:        :sr=\EI:ta=^I:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:ue=\Eq:up=\EA:\
                   10467:        :us=\Es2:
1.1       deraadt  10468:
                   10469: #### IMS International (ims)
                   10470: #
                   10471: # There was a company called IMS International located in Carson City,
                   10472: # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
                   10473: # bus/Z80 hardware and a line of terminals called Ultimas.
1.8     ! tholo    10474: #
1.1       deraadt  10475:
                   10476: # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
                   10477: ims950-b|bare ims950 no init string:\
                   10478:        :is@:tc=ims950:
                   10479: # (ims950: removed obsolete ":ko@:" -- esr)
                   10480: ims950|ims televideo 950 emulation:\
                   10481:        :xn@:\
1.5       tholo    10482:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950:
1.1       deraadt  10483: # (ims950-rv: removed obsolete ":ko@:" -- esr)
                   10484: ims950-rv|ims tvi950 rev video:\
                   10485:        :xn@:\
1.5       tholo    10486:        :k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:tc=tvi950-rv:
1.1       deraadt  10487: ims-ansi|ultima2|ultimaII|IMS Ultima II:\
1.8     ! tholo    10488:        :am:bs:\
1.2       deraadt  10489:        :co#80:it#8:li#24:\
1.5       tholo    10490:        :cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
                   10491:        :if=/usr/share/tabset/vt100:\
                   10492:        :is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
                   10493:        :kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:se=\E[m\E[1m:\
1.2       deraadt  10494:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
1.1       deraadt  10495:
                   10496: #### Intertec Data Systems
                   10497: #
                   10498: # I think this company is long dead as of 1995.  They made an early CP/M
                   10499: # micro called the "Intertec Superbrain" that was moderately popular,
                   10500: # then sank out of sight.
                   10501: #
                   10502:
                   10503: superbrain|intertec superbrain:\
1.8     ! tholo    10504:        :am:bs:bw:\
1.1       deraadt  10505:        :co#80:li#24:\
1.8     ! tholo    10506:        :bc=^U:bl=^G:cd=\E~k<10*>:ce=\E~K:cl=\014:cm=\EY%+ %+ :\
        !          10507:        :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:nd=^F:sf=^J:ta=^I:\
        !          10508:        :te=^L:ti=^L:up=^K:
        !          10509: # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
        !          10510: # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
        !          10511: # and the reverse is actually true.  Try it. -- esr)
1.1       deraadt  10512: intertube|intertec|Intertec InterTube:\
1.8     ! tholo    10513:        :am:bs:\
1.1       deraadt  10514:        :co#80:li#25:\
1.5       tholo    10515:        :bl=^G:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
                   10516:        :se=\E0@:sf=^J:so=\E0P:up=^Z:
1.1       deraadt  10517: # The intertube 2 has the "full duplex" problem like the tek 4025: if you
                   10518: # are typing and a command comes in, the keystrokes you type get interspersed
                   10519: # with the command and it messes up
1.2       deraadt  10520: intertube2|intertec data systems intertube 2:\
1.8     ! tholo    10521:        :bs:\
1.3       deraadt  10522:        :ce=\EK:ch=\020%+^J:cm=\016%.\020%+^J:cv=\013%.:\
1.5       tholo    10523:        :ll=^K^X\r:\
                   10524:        :tc=intertube:
1.2       deraadt  10525:
                   10526: #### Ithaca Intersystems
                   10527: #
                   10528: # This company made S100-bus personal computers long ago in the pre-IBM-PC
                   10529: # past.  They used to be reachable at:
                   10530: #
                   10531: #      Ithaca Intersystems
                   10532: #      1650 Hanshaw Road
                   10533: #      Ithaca, New York 14850
                   10534: #
                   10535: # However, the outfit went bankrupt years ago.
                   10536: #
                   10537:
1.8     ! tholo    10538: # The Graphos III was a color graphics terminal from Ithaca Intersystems.
1.2       deraadt  10539: # These entries were written (originally in termcap syntax) by Brian Yandell
                   10540: # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
                   10541: # University of Wisconsin.
                   10542:
1.5       tholo    10543: # (graphos: removed obsolete and syntactically incorrect :kn=4:,
                   10544: # removed :if=/usr/share/tabset/init.graphos: and
                   10545: # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
1.2       deraadt  10546: graphos|graphos III:\
                   10547:        :am:mi:\
                   10548:        :co#80:it#8:li#24:\
                   10549:        :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
                   10550:        :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
1.5       tholo    10551:        :cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
                   10552:        :ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
                   10553:        :k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
                   10554:        :ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
1.3       deraadt  10555:        :se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
                   10556:        :ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
1.2       deraadt  10557:        :vs=\Ez4;2;1z\Ez56;2;80;24z:
                   10558: graphos-30|graphos III with 30 lines:\
                   10559:        :li#30:\
                   10560:        :vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
1.1       deraadt  10561:
                   10562: #### Modgraph
                   10563: #
                   10564: # These people used to be reachable at:
                   10565: #
                   10566: #      Modgraph, Inc
                   10567: #      1393 Main Street,
                   10568: #      Waltham, MA 02154
                   10569: #      Vox: (617)-890-5796.
                   10570: #
                   10571: # However, if you call that number today you'll get an insurance company.
                   10572: # I think Modgraph is long gone.
                   10573: #
                   10574:
1.8     ! tholo    10575: modgraph|mod24|modgraph terminal emulating vt100:\
1.1       deraadt  10576:        :xn@:\
                   10577:        :co#80:li#24:\
1.8     ! tholo    10578:        :is=\E\1369;0s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s:\
        !          10579:        :rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:\
1.5       tholo    10580:        :tc=vt100:
1.2       deraadt  10581: # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
                   10582: modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
                   10583:        :am:da:db:\
                   10584:        :co#80:it#8:li#24:\
1.1       deraadt  10585:        :cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :\
1.8     ! tholo    10586:        :is=\E<\E\1365;2s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s\E\13612;0s\E\13614;2s\E\13615;9s\E\13625;1s\E\1369;1s\E\13627;1:\
1.2       deraadt  10587:        :le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
1.8     ! tholo    10588: #
        !          10589: # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
        !          10590: # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
        !          10591: # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
        !          10592: # mark and using delete-to-killbuffer work correctly.  However, we would
        !          10593: # like normal mode of operation to be using a Modgraph with 48 line setting.
        !          10594: # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
        !          10595: # the setting mark and delete-to-killbuffer results in the deletion of only
        !          10596: # the line the mark is set on.
        !          10597: # We've discovered that the delete-to-killbuffer works correctly
        !          10598: # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
        !          10599: # the first line disappears but a ctrl-l shows that it did work
        !          10600: # correctly.
        !          10601: modgraph48|mod|Modgraph w/48 lines:\
        !          10602:        :am:bs:pt:xn:\
        !          10603:        :co#80:it#8:li#48:vt#3:\
        !          10604:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
        !          10605:        :cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
        !          10606:        :is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
        !          10607:        :k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
        !          10608:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
        !          10609:        :me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
        !          10610:        :sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
        !          10611:        :us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
1.1       deraadt  10612:
                   10613: #### Morrow Designs
                   10614: #
                   10615: # This was George Morrow's company.  They started in the late 1970s making
                   10616: # S100-bus machines.  They used to be reachable at:
                   10617: #
                   10618: #        Morrow
                   10619: #        600 McCormick St.
                   10620: #        San Leandro, CA 94577
                   10621: #
                   10622: # but they're long gone now (1995).
                   10623: #
                   10624:
                   10625: # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
                   10626: # Jeff's specimen was dated June 1984.
                   10627: # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
                   10628: mt70|mt-70|Morrow MD-70; native Morrow mode:\
                   10629:        :am:mi:ms:xo:\
                   10630:        :co#80:it#8:li#24:\
1.5       tholo    10631:        :%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
                   10632:        :F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
1.8     ! tholo    10633:        :ac=+z\054{.yOi-x`|jGkFlEmDnHtLuKvNwMxIqJ:ae=\E%:\
1.5       tholo    10634:        :al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
                   10635:        :cm=\E=%+ %+ :cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:\
                   10636:        :i1=\E"2\EG0\E]:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
                   10637:        :k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
                   10638:        :k;=^AI\r:kB=^A^Z\r:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:\
                   10639:        :kh=^AN\r:kl=^AL\r:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:\
1.8     ! tholo    10640:        :nd=^L:nw=^_:sf=^J:ta=^I:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:\
1.5       tholo    10641:        :vb=\EK1\EK0:ve=\E"2:vi=\E"0:\
                   10642:        :tc=adm+sgr:
1.1       deraadt  10643:
1.8     ! tholo    10644: #### Motorola
        !          10645: #
        !          10646:
        !          10647: # Motorola EXORterm 155        from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
        !          10648: # (Seth H Zirin)
        !          10649: ex155|Motorola Exorterm 155:\
        !          10650:        :am:bs:bw:\
        !          10651:        :co#80:kn#5:li#24:ug#1:\
        !          10652:        :bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
        !          10653:        :kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
        !          10654:        :ku=^K:nd=\ED:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
        !          10655:        :us=\Ef\ED:
        !          10656:
1.1       deraadt  10657: #### Omron
                   10658: #
                   10659: # This company is still around in 1995, manufacturing point-of-sale systems.
                   10660:
                   10661: omron|Omron 8025AG:\
1.8     ! tholo    10662:        :am:bs:da:db:\
1.1       deraadt  10663:        :co#80:li#24:\
1.5       tholo    10664:        :al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
                   10665:        :ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
                   10666:        :vs=\EN:
                   10667:
                   10668: #### Ramtek
                   10669: #
                   10670: # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
                   10671: # were competition for things like the Tektronics 4025.
                   10672: #
                   10673:
                   10674: # Ramtek 6221 from BRL, probably by Doug Gwyn
                   10675: # The following SET-UP modes are assumed for normal operation:
                   10676: #      UNDERLINE_CURSOR        ANSI_MODE       AUTO_XON/XOFF_ON
                   10677: #      NEWLINE_OFF             80_COLUMNS
                   10678: # Other SET-UP modes may be set for operator convenience or communication
                   10679: # requirements; I recommend
                   10680: #      SMOOTH_SCROLL   AUTO_REPEAT_ON  3_#_SHIFTED     WRAP_AROUND_ON
                   10681: # Hardware tabs are assumed to be every 8 columns; they can be set up by the
                   10682: # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
                   10683: # Note that the Control-E key is useless on this brain-damaged terminal.  No
                   10684: # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
                   10685: rt6221|Ramtek 6221, 80x24:\
1.8     ! tholo    10686:        :bs:ms:pt:xo:\
        !          10687:        :co#80:it#8:kn#4:li#24:vt#3:\
1.5       tholo    10688:        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
                   10689:        :bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
                   10690:        :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
                   10691:        :k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
                   10692:        :kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   10693:        :le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   10694:        :nd=\E[C:nw=\EE:\
                   10695:        :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>:\
                   10696:        :rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
                   10697:        :ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
                   10698:        :vs=\E[>7h\E[>9l:
                   10699: # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
                   10700: rt6221-w|Ramtek 6221, 160x48:\
                   10701:        :co#160:li#48:\
1.8     ! tholo    10702:        :ll=\E[48;1H:tc=rt6221:
        !          10703:
        !          10704: #### RCA
        !          10705: #
        !          10706:
        !          10707: # RCA VP3301 or VP3501
        !          10708: rca|rca vp3301/vp3501:\
        !          10709:        :bs:\
        !          10710:        :co#40:li#24:\
        !          10711:        :cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
        !          10712:
1.5       tholo    10713:
                   10714: #### Selanar
                   10715: #
                   10716:
                   10717: # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
                   10718: # The following SET-UP modes are assumed for normal operation:
                   10719: #      SET_DEFAULT_TABS        48_LINES                80_COLUMNS
                   10720: #      ONLINE                  ANSI                    CURSOR_VISIBLE
                   10721: #      VT102_AUTO_WRAP_ON      VT102_NEWLINE_OFF       VT102_MONITOR_MODE_OFF
                   10722: #      LOCAL_ECHO_OFF          US_CHAR_SET             WPS_TERMINAL_DISABLED
                   10723: #      CPU_AUTO_XON/XOFF_ENABLED                       PRINT_FULL_SCREEN
                   10724: # For use with graphics software, all graphics modes should be set to factory
                   10725: # default.  Other SET-UP modes may be set for operator convenience or
                   10726: # communication requirements.  No delays are specified; use "stty ixon -ixany"
                   10727: # to enable DC3/DC1 flow control!
                   10728: # I commented out the scrolling capabilities since they are too slow.
                   10729: hirez100|Selanar HiREZ-100:\
1.8     ! tholo    10730:        :bs:mi:ms:pt:xo:\
        !          10731:        :co#80:it#8:kn#4:li#48:vt#3:\
1.5       tholo    10732:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
                   10733:        :RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
                   10734:        :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
                   10735:        :dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
                   10736:        :k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
                   10737:        :kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
                   10738:        :le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
                   10739:        :nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
                   10740:        :r1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>:\
1.8     ! tholo    10741:        :rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
        !          10742:        :us=\E[4m:
1.5       tholo    10743: hirez100-w|Selanar HiREZ-100 in 132-column mode:\
1.8     ! tholo    10744:        :co#132:tc=hirez100:
1.1       deraadt  10745:
1.2       deraadt  10746: #### Signetics
                   10747: #
                   10748:
                   10749: # From University of Wisconsin
                   10750: vsc|Signetics Vsc Video driver by RMC:\
                   10751:        :am:ms:\
                   10752:        :co#80:it#8:li#26:\
                   10753:        :ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
1.8     ! tholo    10754:        :ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_\041:mr=^_ :nd=\E[C:\
        !          10755:        :nw=^M^J:se=^_\041:sf=^J:so=^_ :ta=^I:ue=^_#:up=\E[A:us=^_":
1.2       deraadt  10756:
1.1       deraadt  10757: #### Soroc
                   10758: #
1.2       deraadt  10759: # Alan Frisbie <frisbie@flying-disk.com> writes:
                   10760: #
                   10761: # As you may recall, the Soroc logo consisted of their name,
                   10762: # with the letter "S" superimposed over an odd design.   This
                   10763: # consisted of a circle with a slightly smaller 15 degree (approx.)
                   10764: # wedge with rounded corners inside it.   The color was sort of
                   10765: # a metallic gold/yellow.
                   10766: #
                   10767: # If I had been more of a beer drinker it might have been obvious
                   10768: # to me, but it took a clue from their service department to make
                   10769: # me exclaim, "Of course!"   The circular object was the top of
                   10770: # a beer can (the old removable pop-top style) and "Soroc" was an
                   10771: # anagram for "Coors".
                   10772: #
                   10773: # I can just imagine the founders of the company sitting around
                   10774: # one evening, tossing back a few and trying to decide what to
                   10775: # call their new company and what to use for a logo.
                   10776: #
1.1       deraadt  10777:
                   10778: # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
1.3       deraadt  10779: soroc120|iq120|soroc|soroc iq120:\
1.1       deraadt  10780:        :cd=\EY:ce=\ET:cl=\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:tc=adm3a:
                   10781: soroc140|iq140|soroc iq140:\
1.8     ! tholo    10782:        :am:bs:mi:\
1.1       deraadt  10783:        :co#80:li#24:\
1.5       tholo    10784:        :al=\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
                   10785:        :cr=^M:dc=\Ew:dl=\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
                   10786:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   10787:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
                   10788:        :ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
                   10789:        :us=\E^A:
1.1       deraadt  10790:
                   10791: #### Southwest Technical Products
                   10792: #
                   10793: # These guys made an early personal micro called the M6800.
                   10794: # The ct82 was probably its console terminal.
                   10795: #
                   10796:
                   10797: # (swtp: removed obsolete ":bc=^D:" -- esr)
                   10798: swtp|ct82|southwest technical products ct82:\
                   10799:        :am:\
                   10800:        :co#82:li#20:\
1.5       tholo    10801:        :al=^^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:dc=^^H:\
                   10802:        :dl=^Z:do=^J:ei=:ho=^P:ic=^^X:im=:\
1.1       deraadt  10803:        :is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
                   10804:        :le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
                   10805:
                   10806: #### Synertek
                   10807: #
                   10808: # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
                   10809: #
                   10810: # Synertek used to make ICs, various 6502-based single-board process
                   10811: # control and hobbyist computers, and assorted peripherals including a
                   10812: # series of small inexpensive terminals (I think they were one of the
                   10813: # first to have a "terminal-on-a-keyboard", where the terminal itself
                   10814: # was only slightly larger than the keyboard).
                   10815: #
                   10816: # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
                   10817: # was a 40x24 terminal that could connect to a standard TV through a
                   10818: # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
                   10819: # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
                   10820: # I have a KTM-2/80 still in working order.  The KTM-2s had fully
                   10821: # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
                   10822: # ROM and 2 ROMs as character generators. They were incredibly simple,
                   10823: # and I've never had any problems with mine (witness the fact that mine
                   10824: # was made in 1981 and is still working great... I've blown the video
                   10825: # output transistor a couple of times, but it's a 2N2222 :-)
                   10826: #
                   10827: # The KTM-3 (which is what is listed in the terminfo file) was their
                   10828: # attempt at putting a KTM-2 in a box (and some models came with a
                   10829: # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
                   10830: # control and escape sequences are very different. The KTM-3 was always
                   10831: # real broken, at least according to the folks I've talked to about it.
                   10832: #
                   10833: # The padding in the entry is probably off--these terminals were very
                   10834: # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
                   10835: # anyone with any sanity replaced the ROMs with something that provided
                   10836: # a reasonable subset of VT100 functionality, since the usual ROMs were
                   10837: # obviously very primitive... oh, you could get an upgraded ROM from
                   10838: # Synertek for some incredible amount of money, but what hacker with an
                   10839: # EPROM burner would do that? :)
                   10840: #
                   10841: # Sorry I don't have any contact info; I believe they were located in
                   10842: # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
                   10843: # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
                   10844: # business these days.
1.5       tholo    10845: #
1.1       deraadt  10846:
                   10847: # Tested, seems to work fine with vi.
                   10848: synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
                   10849:        :am:\
                   10850:        :co#80:li#24:\
                   10851:        :cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
                   10852:
                   10853: #### Tab Office Products
                   10854: #
                   10855: #      TAB Products Co. - Palo Alto, California
                   10856: #      Electronic Office Products,
                   10857: #      1451 California Avenue 94304
                   10858: #
                   10859: # I think they're out of business.
                   10860: #
                   10861:
                   10862: # The tab 132 uses xon/xoff, so no padding needed.
1.5       tholo    10863: # :ks:/:ke: have nothing to do with arrow keys.
                   10864: # :is: sets 80 col mode, normal video, autowrap on (for :am:).
1.1       deraadt  10865: # Seems to be no way to get rid of status line.
                   10866: # The manual for this puppy was dated June 1981.  It claims to be VT52-
1.2       deraadt  10867: # compatible but looks more vt100-like.
1.1       deraadt  10868: tab132|tab|tab132-15|tab 132/15:\
                   10869:        :da:db:\
                   10870:        :co#80:dN@:li#24:lm#96:\
1.5       tholo    10871:        :al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
                   10872:        :im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
                   10873:        :ku=\E[A:\
                   10874:        :tc=vt100:
1.1       deraadt  10875: tab132-w|tab132 in wide mode:\
                   10876:        :co#132:\
                   10877:        :is=\E[?7h\E[?3h\E[?5l:tc=tab132:
                   10878: tab132-rv|tab132 in reverse-video mode:\
                   10879:        :is=\E[?7h\E[?3l\E[?5h:tc=tab132:
                   10880: tab132-w-rv|tab132 in reverse-video/wide mode:\
                   10881:        :is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
                   10882:
                   10883:
                   10884: #### Teleray
                   10885: #
                   10886: #      Research Incorporated
                   10887: #      6425 Flying Cloud Drive
                   10888: #      Eden Prairie, MN 55344
                   10889: #      Vox: (612)-941-3300
                   10890: #
                   10891: # The Teleray terminals were all discontinued in 1992-93.  RI still services
                   10892: # and repairs these beasts, but no longer manufactures them.  The Teleray
                   10893: # people believe that all the types listed below are very rare now (1995).
                   10894: # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
                   10895: # Model 100) that were ANSI-compatible.
                   10896: #
                   10897: # Note two things called "teleray".  Reorder should move the common one
                   10898: # to the front if you have either.  A dumb teleray with the cursor stuck
                   10899: # on the bottom and no obvious model number is probably a 3700.
                   10900: #
                   10901:
                   10902: t3700|dumb teleray 3700:\
1.8     ! tholo    10903:        :bs:\
1.1       deraadt  10904:        :co#80:li#24:\
                   10905:        :bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
                   10906: t3800|teleray 3800 series:\
1.8     ! tholo    10907:        :bs:\
1.2       deraadt  10908:        :co#80:it#8:li#24:\
1.5       tholo    10909:        :bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
                   10910:        :le=^H:ll=\EY7 :nd=\EC:sf=^J:ta=^I:up=^K:
1.1       deraadt  10911: t1061|teleray|teleray 1061:\
1.8     ! tholo    10912:        :am:bs:km:xs:xt:\
1.2       deraadt  10913:        :co#80:it#8:li#24:sg#1:ug#1:\
1.5       tholo    10914:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\014:cm=\EY%+ %+ :cr=^M:\
                   10915:        :ct=\EG:dc=\EQ:dl=\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=:\
1.1       deraadt  10916:        :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    10917:        :k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
                   10918:        :le=^H:nd=\EC:se=\ER@:sf=^J:so= \ERD:st=\EF:ta=^I:ue=\ER@:\
                   10919:        :up=\EA:us=\ERH:
1.1       deraadt  10920: t1061f|teleray 1061 with fast PROMs:\
                   10921:        :al=\EL:dl=\EM:ip@:tc=t1061:
1.3       deraadt  10922: # "Teleray Arpa Special", officially designated as
1.1       deraadt  10923: # "Teleray Arpa network model 10" with "Special feature 720".
                   10924: # This is the new (1981) fast microcode updating the older "arpa" proms
1.3       deraadt  10925: # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1.1       deraadt  10926: # converts the keypad to programmable function keys, and has other goodies.
                   10927: # Standout mode is still broken (magic cookie, etc) so is suppressed as no
                   10928: # programs handle such lossage properly.
                   10929: # Note: this is NOT the old termcap's "t1061f with fast proms."
                   10930: # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1.2       deraadt  10931: # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
1.1       deraadt  10932: t10|teleray 10 special:\
1.8     ! tholo    10933:        :bs:km:xs:xt:\
1.2       deraadt  10934:        :co#80:it#8:li#24:sg#2:ug#2:\
1.5       tholo    10935:        :al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
                   10936:        :ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\200:se=\ER@:sf=\Eq:\
                   10937:        :so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
1.1       deraadt  10938: # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
                   10939: # back/forth words. Put the function keys (f1-f10) where they can be
                   10940: # found, and turn off the other magic keys along the top row, except
                   10941: # for line/local. Do the magic appropriate to make the page shifts work.
                   10942: # Also toggle ^S/^Q for those of us who use Emacs.
                   10943: t16|teleray 16:\
                   10944:        :am:da:db:mi:xs:xt:\
                   10945:        :co#80:li#24:\
                   10946:        :al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
1.5       tholo    10947:        :cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
                   10948:        :ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
                   10949:        :k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
                   10950:        :sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
                   10951:        :ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  10952:
                   10953: #### Texas Instruments (ti)
                   10954: #
                   10955:
1.2       deraadt  10956: # The Silent 700 was so called because it was built around a quiet thermal
                   10957: # printer.  It was portable, equipped with an acoustic coupler, and pretty
                   10958: # neat for its day.
                   10959: ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
1.8     ! tholo    10960:        :bs:hc:os:\
1.2       deraadt  10961:        :co#80:\
1.1       deraadt  10962:        :bl=^G:cr=\r:do=^J:le=^H:sf=^J:
1.2       deraadt  10963:
1.8     ! tholo    10964: #
        !          10965: # Texas Instruments 916 VDT 7 bit control mode
        !          10966: #
        !          10967: ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
        !          10968:        :da:db:in:ms:\
        !          10969:        :%9=^X:@4=\E[29~:@8=^J:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
        !          10970:        :DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=\E[%d@:LE=\E[%dD:\
        !          10971:        :RI=\E[%dC:UP=\E[%dA:ae=\017:as=\016:bt=\E[Z:cb=\E[1K:\
        !          10972:        :cd=\E[J:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[2J:\
        !          10973:        :cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
        !          10974:        :ec=\E[%dX:ei=:ff=^L:im=:ip=:is=\E[1;24r\E[24;1H:k1=\E[17~:\
        !          10975:        :k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
        !          10976:        :k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:\
        !          10977:        :kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:r2=\E[\041p:st=\E[0W:\
        !          10978:        :vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:\
        !          10979:        :tc=vt220:
        !          10980: #
        !          10981: # Texas Instruments 916 VDT 8 bit control mode
        !          10982: #
        !          10983: ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
        !          10984:        :%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
        !          10985:        :k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
        !          10986:        :k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
        !          10987:        :kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
        !          10988:        :kr=\233C:ku=\233A:\
        !          10989:        :tc=ti916:
        !          10990: #
        !          10991: # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
        !          10992: #
        !          10993: ti916-132|Texas Instruments 916 VDT vt220 132 column:\
        !          10994:        :co#132:tc=ti916:
        !          10995: #
        !          10996: # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
        !          10997: #
        !          10998: ti916-8-132|Texas Instruments 916 VDT vt220 132 column:\
        !          10999:        :co#132:tc=ti916-8:
1.1       deraadt  11000: ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
1.8     ! tholo    11001:        :am:bs:xo:\
1.1       deraadt  11002:        :co#80:it#8:li#24:\
                   11003:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    11004:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   11005:        :do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
                   11006:        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
                   11007:        :kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
                   11008:        :md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
                   11009:        :sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
1.2       deraadt  11010:        :us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  11011: ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
                   11012:        :am:xo:\
                   11013:        :co#80:it#8:li#24:\
                   11014:        :al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1.5       tholo    11015:        :cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
                   11016:        :do=\E[B:ho=\E[H:k1=P\217>:k2=Q\217>:k3=R\217>:k4=S\217>:\
                   11017:        :k5=~\23316>:k6=~\23317>:k7=~\23318>:k8=~\23319>:\
                   11018:        :k9=~\23320>:kD=P\233>:kI=@\233>:kb=^H:kd=\E[B:kl=\E[D:\
                   11019:        :kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
                   11020:        :mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
                   11021:        :sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
1.2       deraadt  11022:        :vi=\E[?25l:vs=\E[?31h:
1.1       deraadt  11023: ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
1.3       deraadt  11024:        :co#132:tc=ti924:
1.1       deraadt  11025: ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
1.3       deraadt  11026:        :co#132:tc=ti924-8:
1.1       deraadt  11027: ti931|Texas Instruments 931 VDT:\
1.8     ! tholo    11028:        :am:bs:xo:\
1.1       deraadt  11029:        :co#80:li#24:\
1.5       tholo    11030:        :al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
                   11031:        :dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
                   11032:        :is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
                   11033:        :k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
                   11034:        :kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
                   11035:        :me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
                   11036:        :sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
1.1       deraadt  11037: ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
                   11038:        :cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
1.2       deraadt  11039: # (ti926-8: I corrected this from the broken SCO entry -- esr)
1.1       deraadt  11040: ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
1.5       tholo    11041:        :cs@:sf=\2331S:sr=\2331T:\
                   11042:        :tc=ti924-8:
1.1       deraadt  11043: ti_ansi|basic entry for ti928:\
1.3       deraadt  11044:        :am:eo:ut:xn:xo:\
                   11045:        :Co#8:co#80:it#8:li#25:pa#64:\
                   11046:        :@7=\E[F:Sb=\E[4%dm:Sf=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
                   11047:        :cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
                   11048:        :cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
                   11049:        :ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1.5       tholo    11050:        :k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
                   11051:        :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
                   11052:        :mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
                   11053:        :sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  11054: #
                   11055: #       928 VDT 7 bit control mode
                   11056: #
1.2       deraadt  11057: ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
1.8     ! tholo    11058:        :%9=\E[35~:@7=\E_1\E\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
1.3       deraadt  11059:        :F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
                   11060:        :k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
1.5       tholo    11061:        :k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
                   11062:        :tc=ti_ansi:
1.1       deraadt  11063: #
                   11064: #       928 VDT 8 bit control mode
                   11065: #
1.2       deraadt  11066: ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
1.5       tholo    11067:        :%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
                   11068:        :F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
                   11069:        :k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
                   11070:        :k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
                   11071:        :kP=\233T:kh=\233H:\
                   11072:        :tc=ti_ansi:
1.1       deraadt  11073:
                   11074: #### Zentec (zen)
                   11075: #
                   11076:
1.5       tholo    11077: # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
                   11078: # had just :so:=\EG6 which I think means standout was supposed to be
                   11079: # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
                   11080: # <invis> might work-- esr)
1.1       deraadt  11081: zen30|z30|zentec 30:\
1.8     ! tholo    11082:        :am:bs:mi:ul:\
1.1       deraadt  11083:        :co#80:li#24:\
1.5       tholo    11084:        :al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
                   11085:        :dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:mh=\EG2:nd=^L:\
                   11086:        :sf=^J:so=\EG6:ue@:up=^K:us@:\
                   11087:        :tc=adm+sgr:
1.2       deraadt  11088: # (zen50: this had extension capabilities
1.1       deraadt  11089: #      :BS=^U:CL=^V:CR=^B:
                   11090: # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
                   11091: # which were also in the original entry -- esr)
                   11092: # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
                   11093: zen50|z50|zentec zephyr:\
1.8     ! tholo    11094:        :am:bs:\
1.1       deraadt  11095:        :co#80:li#24:sg#1:\
1.5       tholo    11096:        :al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
                   11097:        :ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
                   11098:        :us@:\
                   11099:        :tc=adm+sgr:
1.2       deraadt  11100:
1.8     ! tholo    11101: # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
        !          11102: cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
        !          11103:        :am:bs:bw:\
        !          11104:        :co#80:li#24:\
        !          11105:        :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
        !          11106:        :ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
        !          11107:        :kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM :mh=\EM\041:mk=\EM(:\
        !          11108:        :mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM :so=\EM$:sr=\EI:ue=\EM :\
        !          11109:        :up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
        !          11110:
1.2       deraadt  11111: ######## OBSOLETE UNIX CONSOLES
                   11112: #
                   11113:
1.5       tholo    11114: #### Apollo consoles
                   11115: #
                   11116: # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
                   11117: # labeled HP700s now.
                   11118: #
                   11119:
                   11120: # From: Gary Darland <goodmanc@garnet.berkeley.edu>
                   11121: apollo|apollo console:\
1.8     ! tholo    11122:        :am:bs:mi:\
1.5       tholo    11123:        :co#88:li#53:\
                   11124:        :al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):cv=\EO+ :\
                   11125:        :dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:se=\ET:\
                   11126:        :sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:us=\EU:
                   11127:
                   11128: # We don't know whether or not the apollo guys replicated DEC's firmware bug
                   11129: # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
                   11130: # both these capabilities.
                   11131: apollo_15P|apollo 15 inch display:\
                   11132:        :ei@:im@:tc=vt132:
                   11133: apollo_19L|apollo 19 inch display:\
                   11134:        :ei@:im@:tc=vt132:
                   11135: apollo_color|apollo color display:\
                   11136:        :ei@:im@:tc=vt132:
                   11137:
1.8     ! tholo    11138: #### Convergent Technology
        !          11139: #
        !          11140: # Burroughs bought Convergent shortly before it merged with Univac.
        !          11141: # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
        !          11142: # from 1991 or earlier).
        !          11143: #
        !          11144:
        !          11145: # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
        !          11146: # (aws: removed unknown :dn=^K: -- esr)
        !          11147: aws|Convergent Technologies AWS workstation under UTX,Xenix:\
        !          11148:        :am:\
        !          11149:        :co#80:li#28:sg#0:ug#0:\
        !          11150:        :ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
        !          11151:        :ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
        !          11152:        :do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
        !          11153:        :ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
        !          11154:        :sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
        !          11155: awsc|Convergent Technologies AWS workstation under CTOS:\
        !          11156:        :am:\
        !          11157:        :co#80:li#24:sg#0:ug#0:\
        !          11158:        :ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
        !          11159:        :cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
        !          11160:        :ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
        !          11161:        :ue=\EAA:up=^A:us=\EAC:
        !          11162:
        !          11163: #### DEC consoles
        !          11164: #
        !          11165:
        !          11166: # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
        !          11167: # The digital uVax II's had a graphic display called a qdss.  It was
        !          11168: # supposed to be a high performance graphic accelerator, but it was
        !          11169: # late to market and barely appeared before faster dumb frame buffers
        !          11170: # appeared.  I have only used this display while running X11.  However,
        !          11171: # during bootup, it was in text mode, and probably had a terminal emulator
        !          11172: # within it.  And that is what your termcap entry is for.  In graphics
        !          11173: # mode the screen size is 1024x864 pixels.
        !          11174: qdss|qdcons|qdss glass tty:\
        !          11175:        :am:bs:\
        !          11176:        :co#128:li#57:\
        !          11177:        :cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
        !          11178:
1.5       tholo    11179: #### Fortune Systems consoles
                   11180: #
                   11181: # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
                   11182: # in their day; I (esr) used one myself for a year or so around 1984.
                   11183: # They had no graphics, though, and couldn't compete against Suns and
                   11184: # the like.  R.I.P.
                   11185: #
                   11186:
                   11187: # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
                   11188: # (This had extension capabilities
                   11189: #      :rv=\EH:re=\EI:rg=0:GG=0:\
                   11190: #      :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
                   11191: #      :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
                   11192: #      :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
                   11193: # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
                   11194: # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
                   11195: # to force both magic cookie glitches off.  Once upon a time, I
                   11196: # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
                   11197: # function keys; thus the "Al" value for HM was certainly an error.  I renamed
                   11198: # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
                   11199: # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
                   11200: # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
                   11201: # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
                   11202: fos|fortune|Fortune system:\
1.8     ! tholo    11203:        :am:bs:bw:\
1.5       tholo    11204:        :co#80:li#25:\
                   11205:        :@7=^Ak\r:@8=^Aq:ac=l m"k(j*v%w#q&x-:ae=^O:al=\034E:\
                   11206:        :as=\Eo:bl=^G:cd=\034Y:ce=^\Z:cl=\014:cm=\034C%+ %+ :cr=^M:\
                   11207:        :dc=\034W:dl=\034R:do=\n:ei=:ho=\036:ic=\034Q:im=:is=^_..:\
                   11208:        :k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
                   11209:        :k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
                   11210:        :kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
                   11211:        :mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:up=\013:\
1.8     ! tholo    11212:        :us=^\HP:ve=\E\:vi=\E]:vs=\E\072:
1.5       tholo    11213:
1.2       deraadt  11214: #### Masscomp consoles
                   11215: #
                   11216: # Masscomp has gone out of business.  Their product line was purchased by
                   11217: # comany in Georgia (US) called "XS International", parts and service may
                   11218: # still be available through them.
                   11219: #
                   11220:
                   11221: # (masscomp: ":MT:" changed to ":km:";  -- esr)
                   11222: masscomp|masscomp workstation console:\
1.8     ! tholo    11223:        :bs:km:mi:\
1.2       deraadt  11224:        :co#80:it#8:li#24:\
1.5       tholo    11225:        :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
                   11226:        :dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
                   11227:        :kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
                   11228:        :so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
1.2       deraadt  11229: masscomp1|masscomp large screen version 1:\
1.3       deraadt  11230:        :co#104:li#36:tc=masscomp:
1.2       deraadt  11231: masscomp2|masscomp large screen version 2:\
1.3       deraadt  11232:        :co#64:li#21:tc=masscomp:
                   11233:
1.1       deraadt  11234: ######## OTHER OBSOLETE TYPES
                   11235: #
                   11236: # These terminals are *long* dead -- these entries are retained for
                   11237: # historical interest only.
1.5       tholo    11238: #
1.1       deraadt  11239:
                   11240: #### Obsolete non-ANSI software emulations
                   11241: #
                   11242:
                   11243: # CTRM terminal emulator
                   11244: # 1. underlining is not allowed with colors: first, is is simulated by
                   11245: # black on white, second, it disables background color manipulations.
                   11246: # 2. BLINKING, REVERSE and BOLD are allowed with colors,
                   11247: # so we have to save their status in the static registers A, B and H
                   11248: # respectively, to be able to restore them when color changes
                   11249: # (because any color change turns off ALL attributes)
1.5       tholo    11250: # 3. :md: and :mr: sequences alternate modes,
1.1       deraadt  11251: # rather then simply  entering them.  Thus we have to check the
                   11252: # static register B and H to determine the status, before sending the
                   11253: # escape sequence.
1.5       tholo    11254: # 4. :me: now must set the status of all 3 register (A,B,H) to zero
1.1       deraadt  11255: # and then reset colors
                   11256: # 5. implementation of the protect mode would badly penalize the performance.
                   11257: # we would have to use \E&bn sequence to turn off colors (as well as all
                   11258: # other attributes), and keep the status of protect mode in yet another
1.3       deraadt  11259: # static variable.  If someone really needs this mode, they would have to
1.1       deraadt  11260: # create another terminfo entry.
                   11261: # 6. original color-pair is white on black.
                   11262: # store the information about colors into static registers
                   11263: # 7. set foreground color.  it performs the following steps.
                   11264: #   1) turn off all attributes
1.3       deraadt  11265: #   2) turn on the background and video attributes that have been turned
1.1       deraadt  11266: #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
                   11267: #   3) turn on foreground attributes
                   11268: #   4) store information about foreground into U,V,W static registers
                   11269: # 8. turn on background: similar to turn on foreground above
1.3       deraadt  11270: # (untranslatable capabilities removed to fit entry within 1023 bytes)
1.1       deraadt  11271: ctrm|C terminal emulator:\
1.3       deraadt  11272:        :am:ut:xo:\
1.5       tholo    11273:        :Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
                   11274:        :al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
                   11275:        :cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
                   11276:        :do=^J:ei=\ER:im=\EQ:ip=:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
                   11277:        :k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
                   11278:        :kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
                   11279:        :ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
                   11280:        :md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
1.1       deraadt  11281:        :me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
                   11282:        :mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
1.3       deraadt  11283:        :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  11284:        :sf=^J:so=\E&dD:st=\E1:ta=\011:up=\EA:us=\E&dD:
                   11285:
                   11286: # gs6300 - can't use blue foreground, it clashes with underline;
                   11287: # it's simulated with cyan
1.5       tholo    11288: # Bug: The <op> capability probably resets attributes.
                   11289: # (gs6300: commented out <rmln> (no <smln>) --esr)
1.2       deraadt  11290: gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
1.3       deraadt  11291:        :am:ms:ut:xo:\
                   11292:        :Co#8:co#80:it#8:li#24:pa#63:\
1.1       deraadt  11293:        :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1.5       tholo    11294:        :LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:\
1.3       deraadt  11295:        :..Sf=\E[?%?%p1%{0}%=%t0\n%e%p1%{1}%=%t2\n%e%p1%{1}%-%d%;m:\
                   11296:        :UP=\E[%dA:\
1.8     ! tholo    11297:        :ac=\054\054..--++``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1.3       deraadt  11298:        :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
1.5       tholo    11299:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
                   11300:        :ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
                   11301:        :k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
                   11302:        :kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
                   11303:        :le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
                   11304:        :op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
                   11305:        :ta=^I:up=\E[A:us=\E[4m:
1.1       deraadt  11306:
                   11307: # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
                   11308: # MS-Kermit with Heath-19 emulation mode enabled
                   11309: # (h19k: changed ":pt@:" to ":it@"
                   11310: h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
                   11311:        :am@:da:db:xt:\
                   11312:        :it@:\
                   11313:        :ta@:tc=h19-u:
                   11314:
1.5       tholo    11315: # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
                   11316: # Software (formerly Peripherals Computers & Supplies, Inc) of
                   11317: # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
                   11318: # also be reached at support@synergy.com.
1.2       deraadt  11319: versaterm|versaterm vt100 emulator for the macintosh:\
                   11320:        :am:xn:\
                   11321:        :co#80:it#8:li#24:\
                   11322:        :al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
                   11323:        :cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
                   11324:        :dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
                   11325:        :is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1.5       tholo    11326:        :kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
                   11327:        :ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
                   11328:        :nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
                   11329:        :rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
1.3       deraadt  11330:        :sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
1.1       deraadt  11331:
                   11332: # From: Rick Thomas <ihnp4!btlunix!rbt>
1.2       deraadt  11333: # (xtalk: I added <rmam>/<smam> based on the init string.
1.5       tholo    11334: # I also removed :sg#1: and the trailing \s characters from the highlight
                   11335: # changers, I don't believe these on a VT100-emulating PC display -- esr)
1.1       deraadt  11336: xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
                   11337:        :am:mi:ms:xo:\
1.2       deraadt  11338:        :co#80:it#8:li#24:vt#3:\
1.5       tholo    11339:        :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
                   11340:        :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1.3       deraadt  11341:        :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
                   11342:        :ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1.5       tholo    11343:        :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
                   11344:        :eA=\E(B\E)0:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   11345:        :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
                   11346:        :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
                   11347:        :ku=\EOA:le=^H:me=\E[m:nd=\E[C:\
                   11348:        :r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=\E[m:sf=^J:\
                   11349:        :so=\E[7m:sr=\EM:st=\EH:ta=^I:up=\E[A:
1.1       deraadt  11350:
                   11351: # The official PC terminal emulator program of the AT&T Product Centers.
                   11352: # Note - insert mode commented out - doesn't seem to work on AT&T PC.
                   11353: simterm|attpc running simterm:\
                   11354:        :am:\
                   11355:        :co#80:li#24:\
1.5       tholo    11356:        :al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
1.8     ! tholo    11357:        :dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
        !          11358:        :sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
1.1       deraadt  11359:
                   11360: #### Daisy wheel printers
                   11361: #
                   11362: # This section collects Diablo, DTC, Xerox, Qume, and other daisy
                   11363: # wheel terminals.  These are now largely obsolete.
                   11364: #
1.2       deraadt  11365:
1.5       tholo    11366: # (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
1.2       deraadt  11367: diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
1.8     ! tholo    11368:        :bs:hc:os:\
1.2       deraadt  11369:        :co#132:it#8:\
1.5       tholo    11370:        :ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:kb=^H:le=^H:\
                   11371:        :st=\E1:ta=^I:up=\E^J:
1.1       deraadt  11372: diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
                   11373:        :co#124:\
1.2       deraadt  11374:        :is=\r        \E9:tc=diablo1620:
1.5       tholo    11375: # (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
1.1       deraadt  11376: diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
1.5       tholo    11377:        :bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:\
                   11378:        :tc=diablo1620:
                   11379: # (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such
                   11380: # file -- esr)
1.1       deraadt  11381: diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
                   11382:        :co#124:\
1.5       tholo    11383:        :se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
1.2       deraadt  11384: diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
1.1       deraadt  11385:        :tc=diablo1640-lm:
1.5       tholo    11386: # DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
                   11387: # :so=^P\s\002^PF: works but won't go away without dynamite :se=^P\s\200:.
1.1       deraadt  11388: # The terminal has tabs, but I'm getting tired of fighting the braindamage.
                   11389: # If no tab is set or the terminal's in a bad mood, it glitches the screen
                   11390: # around all of memory.  Note that return puts a blank ("a return character")
                   11391: # in the space the cursor was at, so we use ^P return (and thus ^P newline for
1.2       deraadt  11392: # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
                   11393: # curses won't work (some old BSD versions) because it doesn't clear this bit,
1.1       deraadt  11394: # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
                   11395: # I have been unable to get tabs set in all 96 lines - it always leaves at
                   11396: # least one line with no tabs in it, and once you tab through that line,
                   11397: # it completely weirds out.
1.5       tholo    11398: # (dtc382: change :te: to :ti: -- it  just does a clear --esr)
1.1       deraadt  11399: dtc382|DTC 382:\
1.8     ! tholo    11400:        :am:bs:da:db:xs:\
1.1       deraadt  11401:        :co#80:li#24:lm#96:\
                   11402:        :al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
                   11403:        :cl=\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
1.8     ! tholo    11404:        :ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:te=:\
1.5       tholo    11405:        :ti=\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
1.1       deraadt  11406: dtc300s|DTC 300s:\
1.8     ! tholo    11407:        :bs:hc:os:\
1.1       deraadt  11408:        :co#132:\
1.5       tholo    11409:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
                   11410:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  11411: gsi|mystery gsi terminal:\
1.8     ! tholo    11412:        :bs:hc:os:\
1.1       deraadt  11413:        :co#132:\
1.5       tholo    11414:        :bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:up=^Z:
1.1       deraadt  11415: aj830|aj832|aj|anderson jacobson:\
1.8     ! tholo    11416:        :bs:hc:os:\
1.1       deraadt  11417:        :bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
                   11418: # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
1.2       deraadt  11419: aj510|Anderson-Jacobson model 510:\
1.8     ! tholo    11420:        :am:bs:mi:\
1.1       deraadt  11421:        :co#80:li#24:\
1.5       tholo    11422:        :al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
                   11423:        :dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
                   11424:        :ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
                   11425:        :ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
1.1       deraadt  11426: # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
                   11427: # This is incomplete, but it's a start.
                   11428: nec5520|nec|spinwriter|nec 5520:\
1.8     ! tholo    11429:        :bs:hc:os:\
1.2       deraadt  11430:        :co#132:it#8:\
1.1       deraadt  11431:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
1.5       tholo    11432:        :hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:up=\E9:
1.1       deraadt  11433: qume5|qume|Qume Sprint 5:\
1.8     ! tholo    11434:        :bs:hc:os:\
1.2       deraadt  11435:        :co#80:it#8:\
1.5       tholo    11436:        :bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
                   11437:        :sf=^J:st=\E1:ta=^I:up=^Z:
1.2       deraadt  11438: # I suspect the xerox 1720 is the same as the diablo 1620.
1.1       deraadt  11439: xerox1720|x1720|x1750|xerox 1720:\
1.8     ! tholo    11440:        :bs:hc:os:\
1.2       deraadt  11441:        :co#132:it#8:\
1.5       tholo    11442:        :bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:ta=^I:
1.1       deraadt  11443:
                   11444: #### Miscellaneous obsolete terminals, manufacturers unknown
                   11445: #
                   11446: # If you have any information about these (like, a manufacturer's name,
                   11447: # and a date on the serial-number plate) please send it!
                   11448:
                   11449: cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
1.8     ! tholo    11450:        :am:bs:\
1.1       deraadt  11451:        :co#73:li#36:\
1.2       deraadt  11452:        :cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
1.1       deraadt  11453: cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
1.8     ! tholo    11454:        :am:bs:\
1.1       deraadt  11455:        :co#85:li#39:\
1.5       tholo    11456:        :cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
                   11457:        :kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
1.2       deraadt  11458: cops10|cops|cops-10|cops 10:\
1.1       deraadt  11459:        :am:bw:\
                   11460:        :co#80:li#24:\
1.5       tholo    11461:        :bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
                   11462:        :kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
1.8     ! tholo    11463: # (d132: removed duplicate :ic=\E5:,
        !          11464: # merged in capabilities from a BRL entry -- esr)
1.1       deraadt  11465: d132|datagraphix|datagraphix 132a:\
                   11466:        :da:db:in:\
                   11467:        :co#80:li#30:\
1.8     ! tholo    11468:        :al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
        !          11469:        :ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
        !          11470:        :sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
1.1       deraadt  11471: # The d800 was an early portable terminal from c.1984-85 that looked a lot
                   11472: # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
                   11473: # mode (which is what this entry looks like) and several other lesser-known
                   11474: # emulations.
                   11475: d800|Direct 800/A:\
1.8     ! tholo    11476:        :am:bs:da:db:ms:xs:\
1.2       deraadt  11477:        :co#80:it#8:li#24:\
1.5       tholo    11478:        :ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
                   11479:        :ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
                   11480:        :cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
                   11481:        :k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
                   11482:        :kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
                   11483:        :so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
                   11484:        :vs=\E[>12l:
1.1       deraadt  11485: digilog|digilog 333:\
1.8     ! tholo    11486:        :bs:\
1.1       deraadt  11487:        :co#80:li#16:\
1.5       tholo    11488:        :bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
                   11489: # The DWK was a terminal manufactured in the Soviet Union c.1986
                   11490: dwk|dwk-vt|dwk terminal:\
                   11491:        :am:\
                   11492:        :co#80:it#8:li#24:\
1.8     ! tholo    11493:        :ac=lJmFkCjXtEuPv\wKqUxWnNo~s_`+a\072f'g#~_\\054Q+\136.M-Sh#I#0\177:\
1.5       tholo    11494:        :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
                   11495:        :cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
                   11496:        :k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
                   11497:        :k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
                   11498:        :kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
                   11499:        :sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
1.1       deraadt  11500: env230|envision230|envision 230 graphics terminal:\
1.2       deraadt  11501:        :xn@:\
1.3       deraadt  11502:        :pf=\E[4i:po=\E[5i:ps=\E[0i:\
1.2       deraadt  11503:        :..sa=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m:tc=vt100:
1.1       deraadt  11504: # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
                   11505: # coupler attached, the whole rig fitting in a suitcase and more or less
                   11506: # portable.  Hot stuff for c.1977 :-) -- esr
                   11507: ep48|ep4080|execuport 4080:\
1.8     ! tholo    11508:        :am:bs:os:\
1.1       deraadt  11509:        :co#80:\
                   11510:        :bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
                   11511: ep40|ep4000|execuport 4000:\
1.3       deraadt  11512:        :co#136:tc=ep4080:
1.1       deraadt  11513: # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
                   11514: # Informer series - these are all portable units, resembling older
                   11515: # automatic bread-baking machines.  The terminal looks like a `clamshell'
                   11516: # design, but isn't.  The structure is similar to the Direct terminals,
                   11517: # but only half the width.  The entire unit is only about 10" wide.
                   11518: # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
                   11519: # keyboard.  All the keys are crammed together, much like some laptop
                   11520: # PCs today, but perhaps less well organized...all these units have a
                   11521: # bewildering array of plugs on the back, including a built-in modem.
                   11522: # The 305 was a color version of the 304; the 306 and 307 were mono and
                   11523: # color terminals built for IBM bisync protocols.
                   11524: # From: Paul Leondis <unllab@amber.berkeley.edu>
                   11525: ifmr|Informer D304:\
1.8     ! tholo    11526:        :am:bs:\
1.1       deraadt  11527:        :co#80:li#24:\
1.8     ! tholo    11528:        :cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\:do=^J:ei=:\
1.5       tholo    11529:        :ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
                   11530:        :up=\EA:
1.1       deraadt  11531: # Entry largely based on wy60 and has the features of wy60ak.
1.3       deraadt  11532: # (untranslatable capabilities removed to fit entry within 1023 bytes)
                   11533: # (sgr removed to fit entry within 1023 bytes)
                   11534: # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1.2       deraadt  11535: opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
1.1       deraadt  11536:        :am:bw:hs:km:mi:ms:ul:xo:\
                   11537:        :co#80:li#24:ws#80:\
1.5       tholo    11538:        :ae=\EH^C:al=\EE:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:\
                   11539:        :cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\Ez(\r:\
                   11540:        :ei=\Er:fs=^M:ho=\036:if=/usr/share/tabset/std:im=\Eq:ip=:\
1.2       deraadt  11541:        :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    11542:        :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
                   11543:        :k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
                   11544:        :kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
                   11545:        :me=\E(\EH\003\EG0\EcD:mh=\EGp:nd=^L:nw=\r\n:sf=^J:sr=\Ej:\
1.8     ! tholo    11546:        :st=\E1:ta=\011:te=:\
1.2       deraadt  11547:        :ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
1.5       tholo    11548:        :ts=\Ez(:uc=\EG8%p1%c\EG0:up=^K:ve=\E`1:vi=\E`0:\
                   11549:        :tc=adm+sgr:
1.2       deraadt  11550: teletec|Teletec Datascreen:\
1.8     ! tholo    11551:        :am:bs:\
1.1       deraadt  11552:        :co#80:li#24:\
1.5       tholo    11553:        :bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
1.1       deraadt  11554: # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
                   11555: #              This termcap is for the LANPAR Technologies VISION 3220
                   11556: #      terminal.  The function key definitions k0-k5 represent the
                   11557: #      edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
                   11558: #      NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
                   11559: #      PF4 keys.
1.2       deraadt  11560: # (v3220: removed obsolete ":kn#10:",
                   11561: # I added <rmam>/<smam> based on the init string -- esr)
1.1       deraadt  11562: v3220|LANPAR Vision II model 3220/3221/3222:\
1.8     ! tholo    11563:        :am:bs:mi:xn:\
1.2       deraadt  11564:        :co#80:it#8:li#24:\
1.5       tholo    11565:        :RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
                   11566:        :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:\
                   11567:        :is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
                   11568:        :k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
                   11569:        :k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
                   11570:        :ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
                   11571:        :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
1.1       deraadt  11572: ######## ICH/ICH1 VERSUS RMIR/SMIR
                   11573: #
                   11574: # Some non-curses applications get confused if both ich/ich1 and rmir/smir
                   11575: # are present; the symptom is doubled characters in an update using insert.
                   11576: # These applications are technically correct; in both 4.3BSD termcap and
                   11577: # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
                   11578: # unless the terminal needs both.  This requirement is now rare; most ich
                   11579: # sequences do not require previous smir, and most smir insert modes do not
                   11580: # require ich1 before each character.
                   11581: #
                   11582: # For ncurses-based applications this is not a problem, as ncurses uses
                   11583: # one or the other as appropriate but never mixes the two.  Therefore we
                   11584: # have not corrected entries like `linux' and `xterm' that specify both.
                   11585: # If you see doubled characters from these, use the linux-nic and xterm-nic
1.2       deraadt  11586: # entries that suppress ich/ich1.  And upgrade to ncurses!
                   11587: #
                   11588:
1.3       deraadt  11589: ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1.2       deraadt  11590: #
                   11591: # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
                   11592: # ECMA-48 standards are said to be almost identical, but are not the same
1.3       deraadt  11593: # as X3.64 (though for practical purposes they are close supersets of it).
1.2       deraadt  11594: #
                   11595: # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
                   11596: # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
                   11597: # Coded Character Sets"), include your snail-mail address, and you should
                   11598: # receive the document in due course.  Don't expect an email acknowledgement.
                   11599: #
                   11600: # Related standards include "X3.4-1977: American National Standard Code for
                   11601: # Information Interchange" (the ASCII standard) and "X3.41.1974:
                   11602: # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1.3       deraadt  11603: # American National Standard for Information Interchange."  I believe (but
                   11604: # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
                   11605: # respectively.
1.1       deraadt  11606: #
1.2       deraadt  11607:
1.3       deraadt  11608: #### VT100/ANSI/ECMA-48
1.1       deraadt  11609: #
                   11610: # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1.3       deraadt  11611: # and ECMA-48 Control Functions for Coded Character Sets.
1.1       deraadt  11612: #
1.5       tholo    11613: # Much of the content of this comment is adapted from a table prepared by
1.3       deraadt  11614: # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
                   11615: # discussion of some terminfo-related issues, and updates to capture ECMA-48
                   11616: # have been added.  Control functions described in ECMA-48 only are tagged
                   11617: # with * after their names.
                   11618: #
                   11619: # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
                   11620: # sequences.  In the main table, \E stands for an escape (\033) character,
                   11621: # SPC for space.  Pn stands for a single numeric parameter to be inserted
                   11622: # in decimal ASCII.  Ps stands for a list of such parameters separated by
                   11623: # semicolons.  Parameter meanings for most parametrized sequences are
                   11624: # decribed in the notes.
                   11625: #
1.1       deraadt  11626: # Sequence     Sequence                             Parameter   or
                   11627: # Mnemonic     Name              Sequence           Value      Mode   terminfo
                   11628: # -----------------------------------------------------------------------------
1.3       deraadt  11629: # APC  Applicatn Program Command \E _                -         Delim  -
                   11630: # BEL  Bell *                    ^G                  -         -      bel
                   11631: # BPH  Break Permitted Here *    \E B                -         *      -
                   11632: # BS   Backpace *                ^H                  -         EF     -
                   11633: # CAN  Cancel *                  ^X                  -         -      -   (A)
1.1       deraadt  11634: # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
                   11635: # CCH  Cancel Previous Character \E T                -         -      -
1.3       deraadt  11636: # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
                   11637: # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
                   11638: # CMD  Coding Method Delimiter * \E
                   11639: # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1.1       deraadt  11640: # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1.3       deraadt  11641: # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1.1       deraadt  11642: # CSI  Control Sequence Intro    \E [                -         Intro  -
1.3       deraadt  11643: # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1.1       deraadt  11644: # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
                   11645: # CUD  Cursor Down               \E [ Pn B           1         eF     cud
                   11646: # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1.3       deraadt  11647: # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1.1       deraadt  11648: # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1.3       deraadt  11649: # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1.1       deraadt  11650: # DA   Device Attributes         \E [ Pn c           0         -      -
                   11651: # DAQ  Define Area Qualification \E [ Ps o           0         -      -
                   11652: # DCH  Delete Character          \E [ Pn P           1         eF     dch
                   11653: # DCS  Device Control String     \E P                -         Delim  -
                   11654: # DL   Delete Line               \E [ Pn M           1         eF     dl
1.3       deraadt  11655: # DLE  Data Link Escape *        ^P                  -         -      -
1.1       deraadt  11656: # DMI  Disable Manual Input      \E \                -         Fs     -
1.3       deraadt  11657: # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
                   11658: # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
                   11659: # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1.1       deraadt  11660: # ECH  Erase Character           \E [ Pn X           1         eF     ech
1.3       deraadt  11661: # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1.1       deraadt  11662: # EF   Erase in Field            \E [ Ps N           0         eF     -
1.3       deraadt  11663: # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1.8     ! tholo    11664: # EM   End of Medium *           ^Y                  -         -      -
1.1       deraadt  11665: # EMI  Enable Manual Input       \E b                          Fs     -
1.3       deraadt  11666: # ENQ  Enquire                   ^E                  -         -      -
1.5       tholo    11667: # EOT  End Of Transmission       ^D                  -         *      -
1.3       deraadt  11668: # EPA  End of Protected Area     \E W                -         -      -   (K)
1.1       deraadt  11669: # ESA  End of Selected Area      \E G                -         -      -
1.3       deraadt  11670: # ESC  Escape                    ^[                  -         -      -
                   11671: # ETB  End Transmission Block    ^W                  -         -      -
                   11672: # ETX  End of Text               ^C                  -         -      -
                   11673: # FF   Form Feed                 ^L                  -         -      -
                   11674: # FNK  Function Key *            \E [ Pn SPC W       -         -      -
                   11675: # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1.1       deraadt  11676: # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1.3       deraadt  11677: # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1.1       deraadt  11678: # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1.3       deraadt  11679: # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
                   11680: # HPB  Char Position Backward    \E [ j              1         FE     -
                   11681: # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
                   11682: # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
                   11683: # HTJ  Horz Tab w/Justification  \E I                -         FE     -
1.1       deraadt  11684: # HTS  Horizontal Tab Set        \E H                -         FE     hts
1.3       deraadt  11685: # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1.1       deraadt  11686: # ICH  Insert Character          \E [ Pn @           1         eF     ich
1.3       deraadt  11687: # IDCS ID Device Control String  \E [ SPC O          -         *      -
                   11688: # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1.1       deraadt  11689: # IL   Insert Line               \E [ Pn L           1         eF     il
                   11690: # IND  Index                     \E D                -         FE     -
                   11691: # INT  Interrupt                 \E a                -         Fs     -
                   11692: # JFY  Justify                   \E [ Ps SPC F       0         FE     -
1.3       deraadt  11693: # IS1  Info Separator #1 *       ^_                  -         *      -
                   11694: # IS2  Info Separator #1 *       ^^                  -         *      -
                   11695: # IS3  Info Separator #1 *       ^]                  -         *      -
                   11696: # IS4  Info Separator #1 *       ^\                  -         *      -
                   11697: # LF   Line Feed                 ^J                  -         -      -
                   11698: # LS1R Locking Shift Right 1 *   \E ~                -         -      -
                   11699: # LS2  Locking Shift 2 *         \E n                -         -      -
                   11700: # LS2R Locking Shift Right 2 *   \E }                -         -      -
                   11701: # LS3  Locking Shift 3 *         \E o                -         -      -
                   11702: # LS3R Locking Shift Right 3 *   \E |                -         -      -
                   11703: # MC   Media Copy                \E [ Ps i           0         -      -   (S)
1.1       deraadt  11704: # MW   Message Waiting           \E U                -         -      -
1.5       tholo    11705: # NAK  Negative Acknowledge *    ^U                  -         *      -
1.3       deraadt  11706: # NBH  No Break Here *           \E C                -         -      -
                   11707: # NEL  Next Line                 \E E                -         FE     nel (D)
1.1       deraadt  11708: # NP   Next Page                 \E [ Pn U           1         eF     -
1.3       deraadt  11709: # NUL  Null *                    ^@                  -         -      -
1.1       deraadt  11710: # OSC  Operating System Command  \E ]                -         Delim  -
1.5       tholo    11711: # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
                   11712: # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
                   11713: # PLD  Partial Line Down         \E K                -         FE     -   (T)
                   11714: # PLU  Partial Line Up           \E L                -         FE     -   (U)
1.1       deraadt  11715: # PM   Privacy Message           \E ^                -         Delim  -
                   11716: # PP   Preceding Page            \E [ Pn V           1         eF     -
1.5       tholo    11717: # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
                   11718: # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
                   11719: # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
                   11720: # PTX  Parallel Texts *          \E [ \              -         -      -
1.1       deraadt  11721: # PU1  Private Use 1             \E Q                -         -      -
                   11722: # PU2  Private Use 2             \E R                -         -      -
                   11723: # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
                   11724: # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1.5       tholo    11725: # RI   Reverse Index             \E M                -         FE     -   (V)
1.1       deraadt  11726: # RIS  Reset to Initial State    \E c                -         Fs     -
1.5       tholo    11727: # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
                   11728: # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
                   11729: # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
                   11730: # SCI  Single-Char Introducer    \E Z                -         -      -
                   11731: # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
                   11732: # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1.1       deraadt  11733: # SD   Scroll Down               \E [ Pn T           1         eF     rin
1.5       tholo    11734: # SDS  Start Directed String *   \E [ Pn ]           1         -      -
                   11735: # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
                   11736: # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1.3       deraadt  11737: # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1.5       tholo    11738: # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1.3       deraadt  11739: # SI   Shift In                  ^O                  -         -      -   (P)
1.5       tholo    11740: # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1.1       deraadt  11741: # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1.5       tholo    11742: # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
                   11743: # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
                   11744: # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
                   11745: # SM   Select Mode               \E [ Ps h           none      -      -   (W)
1.3       deraadt  11746: # SO   Shift Out                 ^N                  -         -      -   (Q)
1.5       tholo    11747: # SOH  Start Of Heading *        ^A                  -         -      -
                   11748: # SOS  Start of String *         \E X                -         -      -
                   11749: # SPA  Start of Protected Area   \E V                -         -      -   (Z)
                   11750: # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
                   11751: # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1.1       deraadt  11752: # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1.5       tholo    11753: # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
                   11754: # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1.1       deraadt  11755: # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1.5       tholo    11756: # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
                   11757: # SRS  Start Reversed String *   \E [ Ps [           0         -      -
                   11758: # SSA  Start of Selected Area    \E F                -         -      -
                   11759: # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
                   11760: # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1.1       deraadt  11761: # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
                   11762: # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
                   11763: # ST   String Terminator         \E \                -         Delim  -
1.5       tholo    11764: # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1.1       deraadt  11765: # STS  Set Transmit State        \E S                -         -      -
1.5       tholo    11766: # STX  Start pf Text *           ^B                  -         -      -
1.1       deraadt  11767: # SU   Scroll Up                 \E [ Pn S           1         eF     indn
1.5       tholo    11768: # SUB  Substitute *              ^Z                  -         -      -
                   11769: # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
                   11770: # SYN  Synchronous Idle *        ^F                  -         -      -
                   11771: # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
                   11772: # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
                   11773: # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1.1       deraadt  11774: # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1.5       tholo    11775: # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
                   11776: # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1.1       deraadt  11777: # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1.5       tholo    11778: # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
                   11779: # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
                   11780: # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
                   11781: # VT   Vertical Tabulation *     ^K                  -         FE     -
1.1       deraadt  11782: # VTS  Vertical Tabulation Set   \E J                -         FE     -
                   11783: #
                   11784: # ---------------------------------------------------------------------------
                   11785: #
                   11786: # Notes:
                   11787: #
1.3       deraadt  11788: # Some control characters are listed in the ECMA-48 standard without
                   11789: # being assigned functions relevant to terminal control there (they
                   11790: # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
                   11791: # here anyway for completeness.
                   11792: #
1.5       tholo    11793: # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1.3       deraadt  11794: #
                   11795: # (B) There seems to be some confusion abroad between CHA and HPA.  Most
1.1       deraadt  11796: # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1.3       deraadt  11797: # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1.5       tholo    11798: # preserved the CHA abbreviation.
1.1       deraadt  11799: #
1.3       deraadt  11800: # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1.1       deraadt  11801: # Occasionally (as on, for example, certain HP terminals) this has the HTJ
1.3       deraadt  11802: # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1.5       tholo    11803: # CHT abbreviation.
1.1       deraadt  11804: #
1.3       deraadt  11805: # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1.1       deraadt  11806: #
1.8     ! tholo    11807: # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
1.5       tholo    11808: # abbreviation.
1.3       deraadt  11809: #
                   11810: # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
                   11811: # char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
                   11812: # 5 = clear all char tabs, 6 = clear all line tabs.
                   11813: #
                   11814: # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
                   11815: # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
1.5       tholo    11816: # Position Absolute" but retains the HVP abbreviation.
1.3       deraadt  11817: #
1.5       tholo    11818: # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
                   11819: # abbreviation.
1.1       deraadt  11820: #
1.3       deraadt  11821: # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
                   11822: # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
                   11823: # DSR, 6 = request CPR response.
                   11824: #
                   11825: # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
                   11826: # 1 = clear from beginning, 2 = clear.
1.1       deraadt  11827: #
1.5       tholo    11828: # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
1.3       deraadt  11829: #
                   11830: # (L) The GSM parameters are vertical and horizontal parameters to scale by.
                   11831: #
                   11832: # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
                   11833: # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
1.5       tholo    11834: # Position Relative" but retains the HPR abbreviation.
1.1       deraadt  11835: #
1.5       tholo    11836: # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
                   11837: # abbreviation.
1.1       deraadt  11838: #
1.3       deraadt  11839: # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
                   11840: # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
                   11841: # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
                   11842: # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
                   11843: # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
                   11844: # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
                   11845: # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
                   11846: # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
                   11847: # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
                   11848: # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
                   11849: # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
                   11850: # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
                   11851: # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
                   11852: # 61-65 = variable highlights for ideograms.
                   11853: #
                   11854: # (P) SI is also called LSO, Locking Shift Zero.
                   11855: #
                   11856: # (Q) SI is also called LS1, Locking Shift One.
                   11857: #
                   11858: # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
1.5       tholo    11859: # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
1.8     ! tholo    11860: # Absolute' but retains the VPA abbreviation.
1.1       deraadt  11861: #
1.3       deraadt  11862: # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
                   11863: # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
                   11864: # from secondary aux device, 4 = stop relay to primary aux device, 5 =
                   11865: # start relay to primary aux device, 6 = stop relay to secondary aux device,
                   11866: # 7 = start relay to secondary aux device.
                   11867: #
1.5       tholo    11868: # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
                   11869: # abbreviation.
                   11870: #
                   11871: # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
                   11872: # abbreviation.
                   11873: #
                   11874: # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
                   11875: #
                   11876: # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM),
                   11877: # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
                   11878: # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
                   11879: # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
                   11880: # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
                   11881: # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
                   11882: # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
                   11883: # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
                   11884: # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
                   11885: # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
                   11886: # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
                   11887: # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
                   11888: # from ECMA-48's 5th edition but are listed here for reference.
                   11889: #
                   11890: # (X) Select Alternate Presentation Variants is used only for non-Latin
                   11891: # alphabets.
                   11892: #
                   11893: # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
                   11894: #
                   11895: # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
                   11896: # abbreviation.
                   11897: #
1.1       deraadt  11898: # ---------------------------------------------------------------------------
                   11899: #
                   11900: # Abbreviations:
                   11901: #
                   11902: # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
                   11903: #        X3.64 Control Sequence Introducer is the two characters "Escape ["
                   11904: #
                   11905: # Delim  a Delimiter
                   11906: #
                   11907: # x/y    identifies a character by position in the ASCII table (column/row)
                   11908: #
                   11909: # eF     editor function (see explanation)
                   11910: #
                   11911: # FE     format effector (see explanation)
1.3       deraadt  11912: #
1.1       deraadt  11913: # F      is a Final character in
                   11914: #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
                   11915: #             a control sequence (F from 4/0 to 7/14)
                   11916: #
                   11917: # Gs     is a graphic character appearing in strings (Gs ranges from
                   11918: #        2/0 to 7/14) in the ASCII table
                   11919: #
                   11920: # Ce     is a control represented as a single bit combination in the C1 set
                   11921: #        of controls in an 8-bit character set
                   11922: #
                   11923: # C0     the familiar set of 7-bit ASCII control characters
                   11924: #
1.5       tholo    11925: # C1     roughly, the set of control chars available only in 8-bit systems.
1.1       deraadt  11926: #        This is too complicated to explain fully here, so read Jim Fleming's
                   11927: #        article in the February 1983 BYTE, especially pages 214 through 224.
                   11928: #
                   11929: # Fe     is a Final character of a 2-character Escape sequence that has an
                   11930: #        equivalent representation in an 8-bit environment as a Ce-type
                   11931: #        (Fe ranges from 4/0 to 5/15)
                   11932: #
                   11933: # Fs     is a Final character of a 2-character Escape sequence that is
                   11934: #        standardized internationally with identical representation in 7-bit
                   11935: #        and 8-bit environments and is independent of the currently
                   11936: #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
                   11937: #
                   11938: # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
                   11939: #        ASCII table
                   11940: #
                   11941: # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
                   11942: #        table
                   11943: #
                   11944: # Pn     is a numeric parameter in a control sequence, a string of zero or
                   11945: #        more characters ranging from 3/0 to 3/9 in the ASCII table
                   11946: #
                   11947: # Ps     is a variable number of selective parameters in a control sequence
                   11948: #        with each selective parameter separated from the other by the code
                   11949: #        3/11 (which usually represents a semicolon); Ps ranges from
                   11950: #        3/0 to 3/9 and includes 3/11
1.3       deraadt  11951: #
                   11952: # *      Not relevant to terminal control, listed for completeness only.
1.1       deraadt  11953: #
                   11954: # Format Effectors versus Editor Functions
                   11955: #
                   11956: # A format effector specifies how following output is to be displayed.
                   11957: # An editor function allows you to modify the display.  Informally
                   11958: # format effectors may be destructive; format effectors should not be.
                   11959: #
                   11960: # For instance, a format effector that moves the "active position" (the
                   11961: # cursor or equivalent) one space to the left would be useful when you want to
                   11962: # create an overstrike, a compound character made of two standard characters
                   11963: # overlaid. Control-H, the Backspace character, is actually supposed to be a
                   11964: # format effector, so you can do this. But many systems use it in a
                   11965: # nonstandard fashion, as an editor function, deleting the character to the
                   11966: # left of the cursor and moving the cursor left. When Control-H is assumed to
                   11967: # be an editor function, you cannot predict whether its use will create an
                   11968: # overstrike unless you also know whether the output device is in an "insert
                   11969: # mode" or an "overwrite mode". When Control-H is used as a format effector,
                   11970: # its effect can always be predicted. The familiar characters carriage
                   11971: # return, linefeed, formfeed, etc., are defined as format effectors.
                   11972: #
                   11973: # NOTES ON THE DEC VT100 IMPLEMENTATION
                   11974: #
                   11975: # Control sequences implemented in the VT100 are as follows:
                   11976: #
                   11977: #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
                   11978: #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
                   11979: #
                   11980: # plus several private DEC commands.
                   11981: #
                   11982: # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
                   11983: #
                   11984: #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
                   11985: #      Erase from beginning of line to cursor     Esc [ 1 K
                   11986: #      Erase line containing cursor               Esc [ 2 K
                   11987: #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
                   11988: #      Erase from beginning of screen to cursor   Esc [ 1 J
                   11989: #      Erase entire screen                        Esc [ 2 J
1.2       deraadt  11990: #
                   11991: # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
                   11992: # Esc [ 2 J, but this is wrong; the default is 0.
1.1       deraadt  11993: #
                   11994: # The VT100 responds to receiving the DA (Device Attributes) control
                   11995: #
                   11996: #      Esc [ c    (or Esc [ 0 c)
                   11997: #
                   11998: # by transmitting the sequence
                   11999: #
                   12000: #      Esc [ ? l ; Ps c
                   12001: #
                   12002: # where Ps is a character that describes installed options.
                   12003: #
                   12004: # The VT100's cursor location can be read with the DSR (Device Status
                   12005: # Report) control
                   12006: #
                   12007: #      Esc [ 6 n
                   12008: #
                   12009: # The VT100 reports by transmitting the CPR sequence
                   12010: #
                   12011: #      Esc [ Pl ; Pc R
                   12012: #
                   12013: # where Pl is the line number and Pc is the column number (in decimal).
                   12014: #
                   12015: # The specification for the DEC VT100 is document EK-VT100-UG-003.
1.2       deraadt  12016:
                   12017: #### ANSI.SYS
1.1       deraadt  12018: #
1.2       deraadt  12019: # Here is a description of the color and attribute controls supported in the
                   12020: # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
1.8     ! tholo    12021: # terminal emulators for Intel boxes obey these.  They are a proper subset
        !          12022: # of the ECMA-48 escapes.
1.1       deraadt  12023: #
                   12024: # 0    all attributes off
                   12025: # 1    foreground bright
                   12026: # 4    underscore on
                   12027: # 5    blink on/background bright (not reliable with brown)
                   12028: # 7    reverse-video
                   12029: # 8    set blank (non-display)
                   12030: # 10   set primary font
                   12031: # 11   set first alternate font (on PCs, display ROM characters 1-31)
                   12032: # 12   set second alternate font (on PCs, display IBM high-half chars)
                   12033: #
                   12034: #                      Color attribute sets
                   12035: # 3n   set foreground color       / 0=black, 1=red,     2=green, 3=brown,
                   12036: # 4n   set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
                   12037: # Bright black becomes gray.  Bright brown becomes yellow,
1.3       deraadt  12038: # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
1.2       deraadt  12039: #
                   12040: # * If the 5 attribute is on and you set a background color (40-47) it is
                   12041: #   supposed to enable bright background.
                   12042: #
1.1       deraadt  12043: # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
                   12044: #   when you try to set a "bright brown" (yellow) background with attribute
                   12045: #   5 (you get a blinking yellow foreground instead).  A few displays
                   12046: #   (including the System V console) support an attribute 6 that undoes this
1.2       deraadt  12047: #   braindamage (this is required by iBCS2).
1.1       deraadt  12048: #
                   12049: # * Some older versions of ANSI.SYS have a bug that causes thems to require
1.8     ! tholo    12050: #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
        !          12051: #   compatible.)
1.2       deraadt  12052:
                   12053: #### Intel Binary Compatibility Standard
                   12054: #
                   12055: # For comparison, here are the capabilities implied by the Intel Binary
                   12056: # Compatibility Standard for UNIX systems (Intel order number 468366-001).
                   12057: # These recommendations are optional.  IBCS2 allows the leading escape to
1.3       deraadt  12058: # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
                   12059: # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
                   12060: # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
                   12061: # terminfo entry are followed with the corresponding capability in parens:
                   12062: #
                   12063: #      CSI <n>k                disable (n=0) or enable (n=1) keyclick
                   12064: #      CSI 2h                  lock keyboard
                   12065: #      CSI 2i                  send screen as input
                   12066: #      CSI 2l                  unlock keyboard
                   12067: #      CSI 6m                  enable background color intensity
                   12068: #      CSI <0-2>c              reserved
                   12069: #      CSI <0-59>m             select graphic rendition
                   12070: #      CSI <n>;<m>H    (cup)   cursor to line n and column m
                   12071: #      CSI <n>;<m>f            cursor to line n and column m
                   12072: #      CSI <n>@        (ich)   insert characters
                   12073: #      CSI <n>A        (cuu)   cursor up n lines
                   12074: #      CSI <n>B        (cud)   cursor down n lines
                   12075: #      CSI <n>C        (cuu)   cursor right n characters
                   12076: #      CSI <n>D        (cud)   cursor left n characters
                   12077: #      CSI <n>E                cursor down n lines and in first column
                   12078: #      CSI <n>F                cursor up n lines and in first column
                   12079: #      CSI <n>G        (hpa)   position cursor at column n-1
                   12080: #      CSI <n>J        (ed)    erase in display
                   12081: #      CSI <n>K        (el)    erase in line
                   12082: #      CSI <n>L        (il)    insert line(s)
                   12083: #      CSI <n>P        (dch)   delete characters
                   12084: #      CSI <n>S        (indn)  scroll up n lines
                   12085: #      CSI <n>T        (rin)   scroll down n lines
                   12086: #      CSI <n>X        (ech)   erase characters
                   12087: #      CSI <n>Z        (cbt)   back up n tab stops
                   12088: #      CSI <n>`                cursor to column n on line
                   12089: #      CSI <n>a        (cuu)   cursor right n characters
                   12090: #      CSI <n>d        (vpa)   cursor to line n
                   12091: #      CSI <n>e                cursor down n lines and in first column
                   12092: #      CSI <n>g        (cbt)   clear all tabs
                   12093: #      CSI <n>z                make virtual terminal n active
                   12094: #      CSI ?7h         (smam)  turn automargin on
                   12095: #      CSI ?7l         (rmam)  turn automargin off
                   12096: #      CSI s                   save cursor position
                   12097: #      CSI u                   restore cursor position to saved value
                   12098: #      CSI =<c>A               set overscan color
                   12099: #      CSI =<c>F               set normal foreground color
                   12100: #      CSI =<c>G               set normal background color
                   12101: #      CSI =<c>H               set reverse foreground color
                   12102: #      CSI =<c>I               set reverse foreground color
                   12103: #      CSI =<c>J               set graphic foreground color
                   12104: #      CSI =<c>K               set graphic foreground color
1.2       deraadt  12105: #      CSI =<n>g       (dispc) display n from alternate graphics character set
1.3       deraadt  12106: #      CSI =<p>;<d>B           set bell parameters
                   12107: #      CSI =<s>;<e>C           set cursor parameters
                   12108: #      CSI =<x>D               enable/disable intensity of background color
                   12109: #      CSI =<x>E               set/clear blink vs. bold background
                   12110: #      CSI 7           (sc)    (sc) save cursor position
                   12111: #      CSI 8           (rc)    (rc) restore cursor position to saved value
                   12112: #      CSI H           (hts)   (hts) set tab stop
1.2       deraadt  12113: #      CSI Q<n><string>        define function key string
                   12114: #                              (string must begin and end with delimiter char)
                   12115: #      CSI c           (clear) clear screen
                   12116: #
                   12117: # The lack of any specification for attributes in SGR (among other things)
                   12118: # makes this a wretchedly weak standard. The table above is literally
                   12119: # everything iBSC2 has to say about terminal escape sequences; there is
                   12120: # no further discussion of their meaning or how to set the parameters
                   12121: # in these sequences at all.
                   12122: #
1.1       deraadt  12123:
                   12124: ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
                   12125: #
                   12126: # The historical termcap file entries were written primarily in 4.4BSD termcap.
                   12127: # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
                   12128: # with the extension names chosen for compatibility with the termcap names
                   12129: # assigned in System V terminfo.  There are some variant extension sets out
                   12130: # there.  We try to describe them here.
                   12131: #
                   12132: # XENIX extensions:
                   12133: #
                   12134: # The XENIX extensions include a set of function-key capabilities as follows:
                   12135: #
                   12136: #       code   XENIX variable name     terminfo name   name clashes?
                   12137: #      ----    -------------------     -------------   -----------------------
                   12138: #      CL      key_char_left
                   12139: #      CR      key_char_right
                   12140: #      CW      key_change_window                       create_window
                   12141: #      EN      key_end                 kend
                   12142: #      HM      key_home                khome
                   12143: #      HP      ??
                   12144: #      LD      key_delete_line         kdl1
                   12145: #      LF      key_linefeed                            label_off
                   12146: #      NU      key_next_unlocked_cell
                   12147: #      PD      key_page_down           knp
                   12148: #      PL      ??
                   12149: #      PN      start_print             mc5
                   12150: #      PR      ??
                   12151: #      PS      stop_print              mc4
                   12152: #      PU      key_page_up             kpp             pulse
                   12153: #      RC      key_recalc                              remove_clock
                   12154: #      RF      key_toggle_ref                          req_for_input
                   12155: #      RT      key_return              kent
                   12156: #      UP      key_up_arrow            kcuu1           parm_up_cursor
                   12157: #      WL      key_word_left
                   12158: #      WR      key_word_right
                   12159: #
                   12160: # The XENIX extensions also include the following character-set and highlight
                   12161: # capabilities:
                   12162: #
                   12163: #      XENIX   terminfo        function
                   12164: #      -----   --------        ------------------------------
                   12165: #      GS      smacs           start alternate character set
                   12166: #      GE      rmacs           end alternate character set
                   12167: #      GG                      :as:/:ae: glitch (analogous to :sg:/:ug:)
                   12168: #      bo      blink           begin blink (not used in /etc/termcap)
                   12169: #      be                      end blink (not used in /etc/termcap)
                   12170: #      bb                      blink glitch  (not used in /etc/termcap)
                   12171: #      it      dim             begin dim (not used in /etc/termcap)
                   12172: #      ie                      end dim (not used in /etc/termcap)
                   12173: #      ig                      dim glitch  (not used in /etc/termcap)
                   12174: #
1.2       deraadt  12175: # Finally, XENIX also used the following forms-drawing capabilities:
1.1       deraadt  12176: #
1.2       deraadt  12177: #      single  double  type             ASCII approximation
                   12178: #      ------  ------  -------------    -------------------
                   12179: #      GV      Gv      vertical line             |
                   12180: #      GH      Gv      horizontal line       -   _
                   12181: #      G1      G5      top right corner       _   |
                   12182: #      G2      G6      top left corner       |
                   12183: #      G3      G7      bottom left corner         |_
                   12184: #      G4      G8      bottom right corner   _|
                   12185: #      GD      Gd      down-tick character        T
                   12186: #      GL      Gl      left-tick character   -|
                   12187: #      GR      Gr      right-tick character       |-
                   12188: #      GC      Gc      middle intersection   -|-
                   12189: #      GU      Gu      up-tick character          _|_
                   12190: #
                   12191: # These were invented to take advantage of the IBM PC ROM character set.  One
                   12192: # can compose an acsc string from the single-width characters as follows
                   12193: #      "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
1.8     ! tholo    12194: # When translating a termcap file, ncurses tic will do this automatically.
1.2       deraadt  12195: # The double forms characters don't fit the SVr4 terminfo model.
1.1       deraadt  12196: #
                   12197: # AT&T Extensions:
                   12198: #
                   12199: # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
                   12200: # nonstandard capabilities.  Its signature is the KM capability, used to name
                   12201: # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
                   12202: # set.  Comments in the original, and a little cross-checking with other AT&T
                   12203: # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
                   12204: # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
                   12205: # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
                   12206: # cursor invisible), and CV=:ve: (make cursor normal).
                   12207: #
1.2       deraadt  12208: # HP Extensions
                   12209: #
                   12210: # The HP library (as of mid-1995, their term.h file version 70.1) appears to
                   12211: # have the System V capabilities up to SVr1 level.  After that, it supports
                   12212: # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
                   12213: # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
                   12214: # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
                   12215: # HP binary format incompatible with SVr4's.
                   12216: #
                   12217: # IBM Extensions
                   12218: #
                   12219: # There is a set of nonstandard terminfos used by IBM's AIX operating system.
                   12220: # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
                   12221: # capabilities following prtr_non with the following special capabilties:
                   12222: # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
                   12223: # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
                   12224: # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
                   12225: # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
                   12226: # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
                   12227: # renamed (to kcbt and kslt).  The places in the box[12] capabilities
                   12228: # correspond to acsc chars, here is the mapping:
                   12229: #
                   12230: #      box1[0]  = ACS_ULCORNER
                   12231: #      box1[1]  = ACS_HLINE
                   12232: #      box1[2]  = ACS_URCORNER
                   12233: #      box1[3]  = ACS_VLINE
                   12234: #      box1[4]  = ACS_LRCORNER
                   12235: #      box1[5]  = ACS_LLCORNER
                   12236: #      box1[6]  = ACS_TTEE
                   12237: #      box1[7]  = ACS_RTEE
                   12238: #      box1[8]  = ACS_BTEE
                   12239: #      box1[9]  = ACS_LTEE
                   12240: #      box1[10] = ACS_PLUS
                   12241: #
                   12242: # The box2 characters are the double-line versions of these forms graphics.
                   12243: # The AIX binary terminfo format is incompatible with SVr4's.
                   12244: #
1.5       tholo    12245: # Iris console extensions:
                   12246: #
                   12247: # HS is half-intensity start; HE is half-intensity end
                   12248: # CT is color terminal type (for Curses & rogue)
                   12249: # CP is color change escape sequence
                   12250: # CZ are color names (for Curses & rogue)
                   12251: #
                   12252: # The ncurses tic utility recognizes HS as an alias for mh <dim>.
                   12253: #
1.1       deraadt  12254: # TC Extensions:
                   12255: #
                   12256: # There is a set of extended termcaps associated with something
                   12257: # called the "Terminal Control" or TC package created by MainStream Systems,
                   12258: # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
                   12259: # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
                   12260: # that flags color terminals.
1.2       deraadt  12261: #
1.1       deraadt  12262: ######## CHANGE HISTORY
                   12263: #
1.2       deraadt  12264: # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
                   12265: # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
                   12266: # project.
                   12267: #
                   12268: # This file contains all the capability information present in John Kunze's
                   12269: # last version of the termcap master file, except as noted in the change
                   12270: # comments at end of file.  Some information about very ancient obsolete
                   12271: # capabilities has been moved to comments.  Some all-numeric names of older
                   12272: # terminals have been retired.
                   12273: #
                   12274: # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
                   12275: # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
                   12276: # used by BSD curses.
                   12277: #
                   12278: # The 9.1.0 version of this file was translated from my lightly-edited copy of
                   12279: # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
                   12280: # the purpose.  Unless the ncurses tic implementation and the Lisp code were
                   12281: # making perfectly synchronized mistakes which I then failed to catch by
                   12282: # eyeball, the translation was correct and perfectly information-preserving.
                   12283: #
1.8     ! tholo    12284: # Major version number bumps correspond to major version changes in ncurses.
        !          12285: #
1.2       deraadt  12286: # Here is a log of the changes since then:
                   12287: #
1.1       deraadt  12288: # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
                   12289: #      * First terminfo master translated from 8.3.
                   12290: # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
                   12291: #      * Replaced Wyse entries with updated entries supplied by vendor.
                   12292: #
                   12293: # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
                   12294: #      * Added contact & status info from G. Clark Brown <clark@sssi.com>.
                   12295: # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
                   12296: #      * Better XENIX keycap translation.  Describe TC termcaps.
                   12297: #      * Contact and history info supplied by Qume.
                   12298: # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
1.5       tholo    12299: #      * Raided the Shuford FTP site for recent termcaps/terminfos.
1.1       deraadt  12300: #      * Added information on X3.64 and VT100 standard escape sequences.
                   12301: # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
                   12302: #      * Added a correct X11R6 xterm entry.
                   12303: #      * Fixed terminfo translations of padding.
                   12304: # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
                   12305: #      * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
                   12306: #      * Added u6/u7/u8/u9 capabilities.
                   12307: #      * Added PCVT entry.
                   12308: # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
                   12309: #      * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
                   12310: #        to use reverse-video standout so Emacs will look right.
                   12311: #      * Added el1 capability to ansi.
                   12312: #      * Added smacs/rmacs to ansi.sys.
                   12313: #
                   12314: # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
                   12315: #      * New mt70 entry.
                   12316: #      * Added COPYRIGHTS AND OTHER DELUSIONS.
                   12317: #      * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
                   12318: #        smartvid & smarterm, ampex 175 & 219 & 232,
                   12319: #        env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
                   12320: #        ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
                   12321: #        screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
                   12322: #        adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
                   12323: #      * Replaced the Perkin-Elmer entries with vendor's official ones.
                   12324: #      * Restored the old minimal-ansi entry, luna needs it.
                   12325: #      * Fixed some incorrect ip and proportional-padding translations.
                   12326: # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
                   12327: #      * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
                   12328: #      * Make the xterm entry 65 lines again; create xterm25 and xterm24
                   12329: #        to force a particular height.
                   12330: #      * Added beehive4 and reorganized other Harris entries.
                   12331: # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
                   12332: #      * Merged in DEC's official entries for its terminals.  The only old
                   12333: #        entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
                   12334: #      * Replaced the translated BBN Bitgraph entries with purpose-built
                   12335: #        ones from AT&T's SVr3.
                   12336: #      * Replaced the AT&T entries with AT&T's official terminfos.
                   12337: #      * Added teleray 16, vc415, cops10.
                   12338: #      * Merged in many individual capabilities from SCO terminfo files.
                   12339: # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
                   12340: #      * Typo fixes.
                   12341: #      * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
                   12342: # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
                   12343: #      * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
                   12344: #        pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
                   12345: #        simterm, citoh and variants.
                   12346: #      * Replaced sol entry with sol1 and sol2.
                   12347: #      * Replaced Qume QVT and Freedom-series entries with purpose-built
                   12348: #        terminfo entries.
                   12349: #      * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
                   12350: #        and dg200 entries using caps from from SCO.
                   12351: #      * Added the usual set of function-key mappings to ANSI entry.
                   12352: #      * Corrected xterm's function-key capabilities.
                   12353: # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
                   12354: #      * Fix in xterm entry, cub and cud are not reliable under X11R6.
                   12355: # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
                   12356: #      * Fix in xterm entry, get the arrow keys right.
                   12357: #      * Change some \0 escapes to \200.
                   12358: # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
                   12359: #      * Added apple (Videx card), adm1a, oadm31.
                   12360: #      * Fixed malformed ampex csr.
                   12361: #      * Fixed act4, cyb110; they had old-style prefix padding left in.
                   12362: #      * Changed mandatory to advisory padding in many entries.
                   12363: #      * Replaced HP entries up to hpsub with purpose-built ones.
                   12364: #      * Blank rmir/smir/rmdc/smdc capabilities removed.
                   12365: #      * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
                   12366: # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
                   12367: #      * Replaced the Ann Arbor entries with SCO's, the init strings are
                   12368: #        more efficient (but the entries otherwise identical).
                   12369: #      * Added dg211 from Shuford archive.
                   12370: #      * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
                   12371: #        adm42-nl, pc52, gs6300, xerox820, uts30.
                   12372: #      * Pull SCO's padding into vi200 entry.
                   12373: #      * Improved capabilities for tvi4107 and other Televideo and Viewpoint
                   12374: #        entries merged in from SCO's descriptions.
                   12375: #      * Fixed old-style prefix padding on zen50, h1500.
                   12376: #      * Moved old superbee entry to superbee-xsb, pulled in new superbee
                   12377: #        entry from SCO's description.
                   12378: #      * Reorganized the special entries.
                   12379: #      * Added lm#0 to cbunix and virtual entries.
                   12380: #
                   12381: # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
                   12382: #      * Restored cdc456tst.
                   12383: #      * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
                   12384: #      * Added megatek, beacon, microkit.
                   12385: #      * Freeze for ncurses-1.9 release.
                   12386: # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
                   12387: #      * Added historical data for TAB.
                   12388: #      * Comment fixes from David MacKenzie.
                   12389: #      * Added the new BSDI pc3 entry.
                   12390: # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
                   12391: #      * A change in the tic -C logic now ensures that all entries in
                   12392: #        the termcap translation will fit in < 1024 bytes.
                   12393: #      * Added `bobcat' and `gator' HP consoles and the Nu machine entries
                   12394: #        from GNU termcap file.  This merges in all their local information.
                   12395: # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
                   12396: #      * Changed tic -C logic to dump all capabilities used by GNU termcap.
                   12397: #      * Added warnings about entries with long translations (restoring
                   12398: #        all the GNU termcaps pushes a few over the edge).
                   12399: # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
                   12400: #      * Yet another tic change, and a couple of entry tweaks, to reduce the
                   12401: #        number of long (> 1024) termcap translations back to 0.
                   12402: #
                   12403: # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
                   12404: #      * Added kf13-kf20 to Linux entry.
                   12405: #      * Regularize Prime terminal names.
                   12406: #      * Historical data on Synertek.
                   12407: #      * Freeze for ncurses-1.9.1.
                   12408: # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
                   12409: #      * Added true xterm-color entry, renamed djm's pseudo-color entry.
                   12410: #      * Eliminate whitespace in short name fields, this tanks some scripts.
                   12411: #      * Name field changes to shorten some long entries.
                   12412: #      * Termcap translation now automatically generates empty rmir/smir
                   12413: #        when ich1/ich is present (copes with an ancient vi bug).
                   12414: #      * Added `screen' entries from FSF's screen-3.6.2.
                   12415: #      * Added linux-nic and xterm-nic entries.
                   12416: # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
                   12417: #      * Change linux entry to use smacs=\E[11m and have an explicit acsc,
                   12418: #        eliminating some special-case code in ncurses.
                   12419: #
                   12420: # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
                   12421: #      * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
                   12422: #        that captures everything unique from it.
                   12423: #      * Added reorder script generator.
                   12424: #      * Freeze for ncurses 1.9.2 release.
                   12425: # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
                   12426: #      * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
                   12427: #      * Added Olaf Siebert's corrections for adm12.
                   12428: #      * ansi-pc-color now includes the colors and pairs caps, so that
                   12429: #        entries which use it will inherit them automatically.
                   12430: #      * The linux entry can now recognize the center (keypad 5) key.
                   12431: #      * Removed some junk that found its way into Linux acsc.
                   12432: #
                   12433: # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
                   12434: #      * Add 50% cut mark as a desperate hack to reduce tic's core usage.
                   12435: #      * xterm doesn't try to use application keypad mode any more.
                   12436: #      * Freeze for ncurses-1.9.3 release.
                   12437: # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
                   12438: #      * Added corrected sun entry from vendor.
                   12439: #      * Added csr capability to linux entry.
                   12440: #      * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
                   12441: #      * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
                   12442: #      * Some commented-out caps in long entries come back in, my code
                   12443: #        for computing string-table lengths had a bug in it.
                   12444: #      * pcansi series modified to fit comm-program reality better.
                   12445: # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
                   12446: #      * BSD/OS actually ships the ibmpc3 bold entry as its console.
                   12447: #      * Correct some bad aliases in the pcansi series
                   12448: #      * Added entry for QNX console.
                   12449: #      * Clean up duplicate long names for use with 4.4 library.
                   12450: #      * Change vt100 standout to be normal reverse vide, not bright reverse;
                   12451: #        this makes the Emacs status line look better.
                   12452: # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
                   12453: #      * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
                   12454: #      * Minor surgery, mostly on name strings, to shorten termcap version.
1.2       deraadt  12455: #
                   12456: # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
                   12457: #      * Added dec-vt100 for use with the EWAN emulator.
                   12458: #      * Added kmous to xterm for use with xterm's mouse-tracking facility.
                   12459: #      * Freeze for 1.9.5 alpha release.
                   12460: # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
                   12461: #      * Changed xterm lines to 24, the X11R6 default.
                   12462: # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
                   12463: #      * Added 7 newly discovered, undocumented acsc characters to linux
                   12464: #        entry (the pryz{|} characters).
                   12465: #      * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
                   12466: #      * Correct two typos in the xterm entries introduced in 9.9.1.
                   12467: #      * I finally figured out how to translate ko capabilities.  Done.
                   12468: #      * Added tvi921 entries from Tim Theisen.
                   12469: #      * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
                   12470: #      * Removed mystery tec entry, it was neither interesting nor useful.
                   12471: #      * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
                   12472: #        vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
                   12473: #        trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
                   12474: #        by making them relative to use capabilities
                   12475: #      * Added cuf1=^L to tvi925 from deleted variant tvi925a.
                   12476: #      * fixed cup in adm22 entry and parametrized strings in vt320-k3.
                   12477: #      * added it#8 to entries that used to have :pt: -- tvi912, vi200,
                   12478: #        ampex80,
                   12479: #      * Translate all home=\E[;H capabilities to home=\E[H, they're
                   12480: #        equivalent.
                   12481: #      * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
                   12482: #        vt100 and ANSI-like terminals.
                   12483: # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
                   12484: #      * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
                   12485: #        does this now, too.
                   12486: #      * fviewpoint is gone, it duplicated screwpoint.
                   12487: #      * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
                   12488: #        ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
                   12489: #        versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
                   12490: #        The UW vi50 replaces the old one, which becomes vi50adm,
                   12491: #      * No more embedded commas in name fields.
                   12492: #
                   12493: # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
                   12494: #      * XENIX forms characters in fos, trs16, scoansi become acsc strings,
                   12495: #      * Introduced klone+* entries for describing Intel-console behavior.
                   12496: #      * Linux kbs is default-mapped to delete for some brain-dead reason.
                   12497: #      * -nsl -> -ns.  The -pp syntax is obsolete.
                   12498: #      * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
                   12499: #      * Make xterm entry do application-keypad mode again.  I got complaints
                   12500: #        that it was messing up someone's 3270 emulator.
                   12501: #      * Added some longname fields in order to avoid warning messages from
                   12502: #        older tic implementations.
                   12503: #      * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
                   12504: #        it! (This gives us pi, greater than, less than, and a few more.)
                   12505: #      * Freeze for ncurses-1.9.6 release.
                   12506: # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
                   12507: #      * Add xon to a number of console entries, they're memory-mapped and
                   12508: #        don't need padding.
                   12509: #      * Correct the use dependencies in the ansi series.
                   12510: #      * Hand-translate more XENIX capabilities.
                   12511: #      * Added hpterm entry for HP's X terminal emulator.
                   12512: #      * Added aixterm entries.
                   12513: #      * Shortened four names so everything fits in 14 chars.
                   12514: #
                   12515: # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
                   12516: #      * Added ibcs2 entry and info on iBCS2 standard.
                   12517: #      * Corrected hpa/vpa in linux entry.  They still fail the worm test.
                   12518: #      * We can handle the HP meml/memu capability now.
                   12519: #      * Added smacs to klone entries, just as documentation.
                   12520: #      * Carrected ansi.sys and cit-500 entries.
                   12521: #      * Added z39, vt320-k311, v220c, and avatar entries.
                   12522: #      * Make pcansi use the ansi.sys invis capability.
                   12523: #      * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
                   12524: #        tvi925, tvi950, dt80, ncr7900i, h19.
                   12525: #      * X3.64 has been withdrawn, change some references.
                   12526: #      * Removed function keys from ansi-m entry.
                   12527: #      * Corrected ansi.sys entry.
                   12528: #      * Freeze for ncurses-1.9.7 release.
                   12529: # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
                   12530: #      * Added rmam/smam capabilities to many entries based on init strings.
                   12531: #      * Added correct hpa/vpa to linux.
                   12532: #      * Reduced several entries relative to vt52.
                   12533: # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
                   12534: #      * Exiled some utterly unidentifiable custom and homebrew types to the
                   12535: #        UFO file; also, obsolete small-screen hardware; also, entries which
                   12536: #        look flat-out incorrect, garbled, or redundant.  These include the
                   12537: #        following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
                   12538: #        tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
                   12539: #        apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
                   12540: #        fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
                   12541: #        yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
                   12542: #        vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
                   12543: #        trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
                   12544: #        att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
                   12545: #        tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
                   12546: #        c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
                   12547: #        regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
                   12548: #        vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
                   12549: #        vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
                   12550: #      * Corrected pcvt25h as suggested by Brian C. Grayson
                   12551: #        <bgrayson@pine.ece.utexas.edu>.
                   12552: # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
                   12553: #      * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
                   12554: #      * Added kent=\EOM to xterm entry.
                   12555: #
                   12556: # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
                   12557: #      * Corrected gigi entry.
                   12558: #      * Restored cuf/cud1 to xterm, their apparent bugginess was due to
                   12559: #        bad hpa/vpa capabilities.
                   12560: #      * Corrected flash strings to have a uniform delay of .2 sec.  No
                   12561: #        more speed-dependent NUL-padding!
                   12562: #      * terminfo capabilities in comments bracketed with <>.
                   12563: # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
1.3       deraadt  12564: #      * Replaced pcvt with the 3.31 pcvt entries.
1.2       deraadt  12565: #      * Freeze for 1.9.7a.
1.3       deraadt  12566: # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
                   12567: #      * Added emu entry from the X11R6 contrib tape sources.
                   12568: #
                   12569: # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
                   12570: #      * Improved iris-ansi and sun entries.
                   12571: #      * More flash string improvements.
                   12572: #      * Corrected wy160 & wy160 as suggested by Robert Dunn
                   12573: #      * Added dim to at386.
                   12574: #      * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
                   12575: #        he's ready to start using the termcap generated from this one.
                   12576: #      * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
                   12577: #        ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
                   12578: #      * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
                   12579: #        att610, att620, att630,
                   12580: #      * Changed hazeltine name prefix from h to hz.
                   12581: #      * Sent t500 to the UFI file.
                   12582: #      * I think we've sucked all the juice out of BSDI's termcap file now.
                   12583: #      * Freeze for ncurses 1.9.8 release
                   12584: # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
                   12585: #      * Unfreeze, linux kbs needed to be fixed.
                   12586: #      * Tim Theisen pinned down a bug in the DMD firmware.
                   12587: # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
                   12588: #      * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
                   12589: #        (The broken ones had been shadowed by sgr.)
                   12590: # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
                   12591: #      * Added documentation on ECMA-48 standard.
                   12592: #      * New Amiga entry.
1.5       tholo    12593: # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
                   12594: #      * More ECMA-48 stuff
                   12595: #      * Corrected typo in minix entry, added pc-minix.
                   12596: #      * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
                   12597: #      * Added rxvt entry.
                   12598: #      * Added 1.3.x color-change capabilities to linux entry.
                   12599: # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
                   12600: #      * Corrected rxvt entry khome/kend.
                   12601: #      * Corrected linux color change capabilities.
                   12602: #      * NeXT entries from Dave Wetzel.
                   12603: #      * Cleaned up if and rf file names (all in /usr/share now).
                   12604: #      * Changed linux op capability to avoid screwing up a background color
                   12605: #        pair set by setterm.
                   12606: # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
                   12607: #      * Added xterm-sun.
                   12608: # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
                   12609: #      * Added visa50.
                   12610: #
                   12611: # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
                   12612: #      * Another sweep through the Shuford archive looking for new info.
                   12613: #      * Added dg100 alias to dg6053 based on a comp.terminals posting.
                   12614: #      * Added st52 from Per Persson.
                   12615: #      * Added eterm from the GNU Emacs 19.30 distribution.
                   12616: #      * Freeze for 1.9.9.
                   12617: # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
                   12618: #      * FreeBSD console entries from Andrew Chernov.
                   12619: #      * Removed duplicate Atari st52 name.
                   12620: # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
                   12621: #      * xterm doesn't actually have ACS_BLOCK.
                   12622: #      * Change klone+color setf/setb to simpler forms that can be
                   12623: #        translated into termcap.
                   12624: #      * Added xterm1.
                   12625: #      * Removed mechanically-generated junk capabilities from cons* entries.
                   12626: #      * Added color support to bsdos.
                   12627: # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
                   12628: #      * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
                   12629: #      * Created ecma+color, linux can use it.  Also added ech to linux.
                   12630: #      * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
                   12631: #      * Add descriptions to FreeBSD console entries.  Also shorten
                   12632: #        some aliases to <= 14 chars for portability.
                   12633: #      * Added x68k console
                   12634: #      * Added OTbs to several VT-series entries.
                   12635: # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
                   12636: #      * screen entry update for 3.7.1 from Michael Alan Dorfman.
                   12637: # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
                   12638: #      * kterm correction due to Kenji Rikitake.
                   12639: #      * ACS correction in vt320-kll due to Phillippe De Muyter.
                   12640: # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
                   12641: #      * Sun console entry correction from J.T. Conklin.
                   12642: #      * Changed all DEC VT300 and up terminals to use VT300 tab set
                   12643: # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
                   12644: #      * Added smul to linux entry (we never noticed it was missing
                   12645: #        because of sgr!).
                   12646: #      * Added rmln to hp+labels (deduced from other HP entries).
                   12647: #      * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
                   12648: #        pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
                   12649: #      * Corrected vt220 acsc.
                   12650: #      * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
                   12651: #        this corresponds to reality and helps prevent some tic warnings.
                   12652: #      * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
                   12653: #        hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
                   12654: #        adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
                   12655: #        qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
                   12656: #        wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
                   12657: #        adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
                   12658: #        f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
                   12659: #        owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
                   12660: #        lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
                   12661: #        dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
                   12662: #        ifmr, v3220, wy100q, tandem653, ibmaed.
                   12663: #      * Added DWK terminal description.
1.8     ! tholo    12664: # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
1.5       tholo    12665: #      * Many entries now have highlights inherited from adm+sgr.
                   12666: #      * xterm entry now corresponds to XFree86 3.1.2E, with color.
                   12667: #      * xtitle and xtitle-twm enable access to the X status line.
                   12668: #      * Added linux-1.3.6 color palette caps in conventional format.
                   12669: #      * Added adm1178 terminal.
                   12670: #      * Move fos and apollo terminals to obsolete category.
                   12671: #      * Aha! The BRL terminals file told us what the Iris extensions mean.
                   12672: #      * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
                   12673: #        commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
1.8     ! tholo    12674: #        cit500, adm11.
        !          12675: # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
        !          12676: #      * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
        !          12677: #        aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
        !          12678: #      * Corrected, from BRL termcap file: vi50.
        !          12679: #      * Better rxvt entry & corrected xterm entries from Thomas Dickey.
        !          12680: # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
        !          12681: #      * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
        !          12682: #        att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
        !          12683: #        (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
        !          12684: #        tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
        !          12685: #        apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
        !          12686: #      * Paired-attribute fixes to various terminals.
        !          12687: #      * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
        !          12688: #      * xterm entry corrections from Thomas Dickey.
        !          12689: # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
        !          12690: #      * Added t916 entry, translated from a termcap in SCO's support area.
        !          12691: #      * New qnx entry from Michael Hunter.
        !          12692: # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
        !          12693: #      * Added hpex2 from Ville Sulko.
        !          12694: #      * Fixed a bug that ran the qnx and pcvtXX together.
        !          12695: # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
        !          12696: #      * Added dtterm entry from Solaris CDE.
        !          12697: # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
        !          12698: #      * corrected pairs#8 typo in dtterm entry.
        !          12699: #      * added tvi9065.
        !          12700: # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
        !          12701: #      * updated xterm entry to cover 3.1.2E's new features.
        !          12702: # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
        !          12703: #      * Added new minix entry
        !          12704: #      * Removed aliases of the form ^[0-9]* for obsolete terminals.
        !          12705: #      * Commented out linux-old, nobody's using pre-1.2 kernels now.
        !          12706: # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
        !          12707: #      * Added Prism entries and kt7ix.
        !          12708: #      * Caution notes about EWAN and tabset files.
        !          12709: #      * Changed /usr/lib/tabset -> /usr/share/tabset.
        !          12710: #      * Added acsc/rmacs/smacs to vt52.
        !          12711: # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
        !          12712: #      * Merged in Thomas Dickey's reorganization of the xterm entries;
        !          12713: #        added technical corrections to avoid warning messages.
        !          12714: # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
        !          12715: #      * Added rmso=\E[27m in Linux entry.
        !          12716: #      * Added koi8-r support for Linux console.
        !          12717: #      * Replace xterm entries with canonical ones from XFree86 3.2.
        !          12718: # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
        !          12719: #      * Added color_xterm from Jacob Mandelson
        !          12720: # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
        !          12721: #      * Back off the xterm entry to use r6 as a base.
        !          12722: # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
        !          12723: #      * Added dec-vt220 at Adrian Garside's request.
        !          12724: # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
        !          12725: #      * Replaced minitel-2 entry.
        !          12726: #      * Added MGR, ansi-nt.
        !          12727: #      * Minor corrections to xterm entries.
        !          12728: #      * Replaced EWAN telnet entry.
        !          12729: #      * Dropped the reorder script generator.  It was a fossil.
        !          12730: # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
        !          12731: #      * Thorsten Lockert added termcap `bs' to a lot of types, working from
        !          12732: #        the 4.4BSD Lite2 file.
1.1       deraadt  12733: #
                   12734: # The following sets edit modes for GNU EMACS
                   12735: # Local Variables:
                   12736: # fill-prefix:"\t"
                   12737: # fill-column:75
                   12738: # End:
                   12739: ######## SHANTIH!  SHANTIH!  SHANTIH!