Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
     5         kx #       /etc/termcap
     5         kx #	$Revision: 1.835 $
     5         kx #	$Date: 2020/12/05 16:54:21 $
     5         kx #
     5         kx #       Converted from terminfo.src for Slackware:
     5         kx #       tic -C -t terminfo.src > termcap
     5         kx #
     5         kx #       This file is included to support legacy applications using libtermcap.
     5         kx #       Modern applications will use ncurses/terminfo instead.
     5         kx #
     5         kx #------------------------------------------------------------------------------
     5         kx #
     5         kx ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
     5         kx #
     5         kx # This version of terminfo.src is distributed with ncurses and is maintained
     5         kx # by Thomas E. Dickey (TD).
     5         kx #
     5         kx # Report bugs and new terminal descriptions to
     5         kx #	bug-ncurses@gnu.org
     5         kx #
     5         kx #	$Revision: 1.835 $
     5         kx #	$Date: 2020/12/05 16:54:21 $
     5         kx #
     5         kx # The original header is preserved below for reference.  It is noted that there
     5         kx # is a "newer" version which differs in some cosmetic details (but actually
     5         kx # stopped updates several years ago); we have decided to not change the header
     5         kx # unless there is also a change in content.
     5         kx #
     5         kx # To further muddy the waters, it is noted that changes to this file as part of
     5         kx # maintenance of ncurses (since 1996) are generally conceded to be copyright
     5         kx # under the ncurses MIT-style license.  That was the effect of the agreement
     5         kx # which the principal authors of ncurses made in 1998.  However, since much of
     5         kx # the file itself is of unknown authorship (and the disclaimer below makes it
     5         kx # obvious that Raymond cannot or will not convey rights over those parts),
     5         kx # there is no explicit copyright notice on the file itself.
     5         kx #
     5         kx # It would also be a nuisance to split the file into unknown/known authorship
     5         kx # and move pieces as they are maintained, since many of the maintenance changes
     5         kx # have been small corrections to Raymond's translations to/from termcap format,
     5         kx # correcting the data but not the accompanying annotations.
     5         kx #
     5         kx # In any case, note that almost half of this file is not data but annotations
     5         kx # which reflect creative effort.  Furthermore, the structure of entries to
     5         kx # reuse common chunks also is creative (and subject to copyright).  Finally,
     5         kx # some portions of the data are derivative work under a compatible MIT-style
     5         kx # license from xterm.
     5         kx #
     5         kx #------------------------------------------------------------------------------
     5         kx # https://invisible-island.net/ncurses/ncurses.faq.html#terminfo_copying
     5         kx # https://invisible-island.net/personal/copyrights.html#removing_notes
     5         kx #------------------------------------------------------------------------------
     5         kx #
     5         kx #	Version 10.2.1
     5         kx #	terminfo syntax
     5         kx #
     5         kx #	Eric S. Raymond		(current maintainer)
     5         kx #	John Kunze, Berkeley
     5         kx #	Craig Leres, Berkeley
     5         kx #
     5         kx # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
     5         kx # address is no longer valid.  The latest version can always be found at
     5         kx # <http://www.tuxedo.org/terminfo>.
     5         kx #
     5         kx # PURPOSE OF THIS FILE:
     5         kx #
     5         kx # This file describes the capabilities of various character-cell terminals,
     5         kx # as needed by software such as screen-oriented editors.
     5         kx #
     5         kx # Other terminfo and termcap files exist, supported by various OS vendors
     5         kx # or as relics of various older versions of UNIX.  This one is the longest
     5         kx # and most comprehensive one in existence.  It subsumes not only the entirety
     5         kx # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
     5         kx # termcap file, but also large numbers of vendor-maintained termcap and
     5         kx # terminfo entries more complete and carefully tested than those in historical
     5         kx # termcap/terminfo versions.
     5         kx #
     5         kx # Pointers to related resources (including the ncurses distribution) may
     5         kx # be found at <http://www.tuxedo.org/terminfo>.
     5         kx #
     5         kx # INTERNATIONALIZATION:
     5         kx #
     5         kx # This file uses only the US-ASCII character set (no ISO8859 characters).
     5         kx #
     5         kx # This file assumes a US-ASCII character set. If you need to fix this, start
     5         kx # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
     5         kx # for your character set.  \E(A and \E)A enables the British character set
     5         kx # with the pound sign at position 2/3.
     5         kx #
     5         kx # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
     5         kx # C1 characters are considered the first-byte set of the Japanese encodings,
     5         kx # so \E)0 should be avoided in <enacs> and initialization strings.
     5         kx #
     5         kx # FILE FORMAT:
     5         kx #
     5         kx # The version you are looking at may be in any of three formats: master
     5         kx # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
     5         kx # which by the format given in the header above.
     5         kx #
     5         kx # The master format is accepted and generated by the terminfo tools in the
     5         kx # ncurses suite; it differs from stock (System V-compatible) terminfo only
     5         kx # in that it admits a group of capabilities (prefixed `OT') equivalent to
     5         kx # various obsolete termcap capabilities.  You can, thus, convert from master
     5         kx # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
     5         kx # you have ncurses `tic -I' is nicer (among other things, it automatically
     5         kx # outputs entries in a canonical form).
     5         kx #
     5         kx # The termcap version is generated automatically from the master version
     5         kx # using tic -C.  This filtering leaves in the OT capabilities under their
     5         kx # original termcap names.  All translated entries fit within the 1023-byte
     5         kx # string-table limit of archaic termcap libraries except where explicitly
     5         kx # noted below.  Note that the termcap translation assumes that your termcap
     5         kx # library can handle multiple tc capabilities in an entry. 4.4BSD has this
     5         kx # capability.  Older versions of GNU termcap, through 1.3, do not.
     5         kx #
     5         kx # For details on these formats, see terminfo(5) in the ncurses distribution,
     5         kx # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
     5         kx # curses has been declared obsolete by the caretakers of the 4.4BSD sources
     5         kx # as of June 1995; they are encouraging everyone to migrate to ncurses.
     5         kx #
     5         kx # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
     5         kx # no entry in this file has embedded comments.  This is so source translation
     5         kx # to termcap only has to carry over leading comments.  Also, no name field
     5         kx # contains embedded whitespace (such whitespace confuses rdist).
     5         kx #
     5         kx # Further note: older versions of this file were often installed with an editor
     5         kx # script (reorder) that moved the most common terminal types to the front of
     5         kx # the file.  This should no longer be necessary, as the file is now ordered
     5         kx # roughly by type frequency with ANSI/VT100 and other common types up front.
     5         kx #
     5         kx # Some information has been merged in from terminfo files distributed by
     5         kx # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
     5         kx # comes from vendors who maintain official terminfos for their hardware
     5         kx # (notably DEC and Wyse).
     5         kx #
     5         kx # A detailed change history is included at the end of this file.
     5         kx #
     5         kx # FILE ORGANIZATION:
     5         kx #
     5         kx # Comments in this file begin with # - they cannot appear in the middle
     5         kx # of a terminfo/termcap entry (this feature had to be sacrificed in order
     5         kx # to allow standard terminfo and termcap syntax to be generated cleanly from
     5         kx # the master format).  Individual capabilities are commented out by
     5         kx # placing a period between the colon and the capability name.
     5         kx #
     5         kx # The file is divided up into major sections (headed by lines beginning with
     5         kx # the string "########") and minor sections (beginning with "####"); do
     5         kx #
     5         kx #	grep "^####" <file> | more
     5         kx #
     5         kx # to see a listing of section headings.  The intent of the divisions is
     5         kx # (a) to make it easier to find things, and (b) to order the database so
     5         kx # that important and frequently-encountered terminal types are near the
     5         kx # front (so that you'll get reasonable search efficiency from a linear
     5         kx # search of the termcap form even if you don't use reorder).  Minor sections
     5         kx # usually correspond to manufacturers or standard terminal classes.
     5         kx # Parenthesized words following manufacturer names are type prefixes or
     5         kx # product line names used by that manufacturers.
     5         kx #
     5         kx # HOW TO READ THE ENTRIES:
     5         kx #
     5         kx # The first name in an entry is the canonical name for the model or
     5         kx # type, last entry is a verbose description.  Others are mnemonic synonyms for
     5         kx # the terminal.
     5         kx #
     5         kx # Terminal names look like <manufacturer> <model> - <modes/options>
     5         kx # The part to the left of the dash, if a dash is present, describes the
     5         kx # particular hardware of the terminal.  The part to the right may be used
     5         kx # for flags indicating special ROMs, extra memory, particular terminal modes,
     5         kx # or user preferences.
     5         kx #
     5         kx # All names should be in lower case, for consistency in typing.
     5         kx #
     5         kx # The following are conventionally used suffixes:
     5         kx #	-2p	Has two pages of memory.  Likewise 4p, 8p, etc.
     5         kx #	-am	Enable auto-margin.
     5         kx #	-m	Monochrome.  Suppress color support
     5         kx #	-mc	Magic-cookie.  Some terminals (notably older Wyses) can
     5         kx #		only support one attribute without magic-cookie lossage.
     5         kx #		Their base entry is usually paired with another that
     5         kx #		uses magic cookies to support multiple attributes.
     5         kx #	-nam	No auto-margin - suppress :am: capability
     5         kx #	-nl	No labels - suppress soft labels
     5         kx #	-ns	No status line - suppress status line
     5         kx #	-rv	Terminal in reverse video mode (black on white)
     5         kx #	-s	Enable status line.
     5         kx #	-vb	Use visible bell (:vb:) rather than :bl:.
     5         kx #	-w	Wide - in 132 column mode.
     5         kx # If a name has multiple suffixes and one is a line height, that one should
     5         kx # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
     5         kx #
     5         kx # Entries with embedded plus signs are designed to be included through use/tc
     5         kx # capabilities, not used as standalone entries.
     5         kx #
     5         kx # To avoid search clashes, some older all-numeric names for terminals have
     5         kx # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
     5         kx # All primary names of terminals now have alphanumeric prefixes.
     5         kx #
     5         kx # Comments marked "esr" are mostly results of applying the termcap-compiler
     5         kx # code packaged with ncurses and contemplating the resulting error messages.
     5         kx # In many cases, these indicated obvious fixes to syntax garbled by the
     5         kx # composers.  In a few cases, I was able to deduce corrected forms for garbled
     5         kx # capabilities by looking at context.  All the information in the original
     5         kx # entries is preserved in the comments.
     5         kx #
     5         kx # In the comments, terminfo capability names are bracketed with <> (angle
     5         kx # brackets).  Termcap capability names are bracketed with :: (colons).
     5         kx #
     5         kx # INTERPRETATION OF USER CAPABILITIES
     5         kx #
     5         kx # The System V Release 4 and XPG4 terminfo format defines ten string
     5         kx # capabilities for use by applications, <u0>...<u9>.   In this file, we use
     5         kx # certain of these capabilities to describe functions which are not covered
     5         kx # by terminfo.  The mapping is as follows:
     5         kx #
     5         kx #	u9	terminal enquire string (equiv. to ANSI/ECMA-48 DA)
     5         kx #	u8	terminal answerback description
     5         kx #	u7	cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
     5         kx #	u6	cursor position report (equiv. to ANSI/ECMA-48 CPR)
     5         kx #
     5         kx # The terminal enquire string <u9> should elicit an answerback response
     5         kx # from the terminal.  Common values for <u9> will be ^E (on older ASCII
     5         kx # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
     5         kx #
     5         kx # The cursor position request (<u7>) string should elicit a cursor position
     5         kx # report.  A typical value (for VT100 terminals) is \E[6n.
     5         kx #
     5         kx # The terminal answerback description (u8) must consist of an expected
     5         kx # answerback string.  The string may contain the following scanf(3)-like
     5         kx # escapes:
     5         kx #
     5         kx #	%c	Accept any character
     5         kx #	%[...]	Accept any number of characters in the given set
     5         kx #
     5         kx # The cursor position report (<u6>) string must contain two scanf(3)-style
     5         kx # %d format elements.  The first of these must correspond to the Y coordinate
     5         kx # and the second to the %d.  If the string contains the sequence %i, it is
     5         kx # taken as an instruction to decrement each value after reading it (this is
     5         kx # the inverse sense from the cup string).  The typical CPR value is
     5         kx # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
     5         kx #
     5         kx # These capabilities are used by tack(1m), the terminfo action checker
     5         kx # (distributed with ncurses 5.0).
     5         kx #
     5         kx # TABSET FILES
     5         kx #
     5         kx # All the entries in this file have been edited to assume that the tabset
     5         kx # files directory is /usr/share/tabset, in conformance with the File Hierarchy
     5         kx # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
     5         kx # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
     5         kx #
     5         kx # No curses package we know of actually uses these files.  If their location
     5         kx # is an issue, you will have to hand-patch the file locations before compiling
     5         kx # this file.
     5         kx #
     5         kx # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
     5         kx #
     5         kx # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
     5         kx # character-cell terminals are increasingly replaced by X displays, much of
     5         kx # this file is becoming a historical document (this is part of the reason for
     5         kx # the new organization, which puts ANSI types, xterm, Unix consoles,
     5         kx # and vt100 up front in confidence that this will catch 95% of new hardware).
     5         kx #
     5         kx # For the terminal types still alive, I'd like to have manufacturer's
     5         kx # contact data (Internet address and/or snail-mail + phone).
     5         kx #
     5         kx # I'm also interested in enriching the comments so that the latter portions of
     5         kx # the file do in fact become a potted history of VDT technology as seen by
     5         kx # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
     5         kx # include its live/dead/out-of-the-business status, and for as many
     5         kx # terminal types as possible to be tagged with information like years
     5         kx # of heaviest use, popularity, and interesting features.
     5         kx #
     5         kx # I'm especially interested in identifying the obscure entries listed under
     5         kx # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
     5         kx # wisdom about them gets lost.  If you know a lot about obscure old terminals,
     5         kx # please go to the terminfo resource page, grab the UFO file (ufo.ti), and
     5         kx # eyeball it for things you can identify and describe.
     5         kx #
     5         kx # If you have been around long enough to contribute, please read the file
     5         kx # with this in mind and send me your annotations.
     5         kx #
     5         kx # COPYRIGHTS AND OTHER DELUSIONS
     5         kx #
     5         kx # The BSD ancestor of this file had a standard Regents of the University of
     5         kx # California copyright with dates from 1980 to 1993.
     5         kx #
     5         kx # Some information has been merged in from a terminfo file SCO distributes.
     5         kx # It has an obnoxious boilerplate copyright which I'm ignoring because they
     5         kx # took so much of the content from the ancestral BSD versions of this file
     5         kx # and didn't attribute it, thereby violating the BSD Regents' copyright.
     5         kx #
     5         kx # Not that anyone should care.  However many valid functions copyrights may
     5         kx # serve, putting one on a termcap/terminfo file with hundreds of anonymous
     5         kx # contributors makes about as much sense as copyrighting a wall-full of
     5         kx # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
     5         kx #
     5         kx # This file deliberately has no copyright.  It belongs to no one and everyone.
     5         kx # If you claim you own it, you will merely succeed in looking like a fool.
     5         kx # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
     5         kx # There are no guarantees anywhere.  Svaha!
     5         kx #
     5         kx 
     5         kx ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
     5         kx #
     5         kx # This section describes terminal classes and brands that are still
     5         kx # quite common.
     5         kx #
     5         kx 
     5         kx #### Specials
     5         kx #
     5         kx # Special "terminals".  These are used to label tty lines when you don't
     5         kx # know what kind of terminal is on it.  The characteristics of an unknown
     5         kx # terminal are the lowest common denominator - they look about like a ti 700.
     5         kx #
     5         kx 
     5         kx dumb|80-column dumb tty:\
     5         kx 	:am:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cr=\r:do=\n:sf=\n:
     5         kx unknown|unknown terminal type:\
     5         kx 	:gn:tc=dumb:
     5         kx lpr|printer|line printer:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#132:li#66:\
     5         kx 	:bl=^G:cr=\r:do=\n:ff=^L:le=^H:sf=\n:
     5         kx glasstty|classic glass tty interpreting ASCII control characters:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:kd=\n:kl=^H:le=^H:nw=\r\n:ta=^I:
     5         kx 
     5         kx vanilla|dumb tty:\
     5         kx 	:bs:\
     5         kx 	:bl=^G:cr=\r:do=\n:sf=\n:
     5         kx 
     5         kx # This is almost the same as "dumb", but with no prespecified width.
     5         kx # DEL and ^C are hardcoded to act as kill characters.
     5         kx # ^D acts as a line break (just like newline).
     5         kx # It also interprets
     5         kx #      \033];xxx\007
     5         kx # for compatibility with xterm -TD
     5         kx 9term|Plan9 terminal emulator for X:\
     5         kx 	:am:\
     5         kx 	:bl=^G:do=\n:nl=\n:
     5         kx 
     5         kx #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
     5         kx #
     5         kx # See the end-of-file comment for more on these.
     5         kx #
     5         kx 
     5         kx # ANSI capabilities are broken up into pieces, so that a terminal
     5         kx # implementing some ANSI subset can use many of them.
     5         kx ansi+local1|ANSI normal-mode cursor-keys:\
     5         kx 	:do=\E[B:le=\E[D:nd=\E[C:up=\E[A:
     5         kx ansi+local|ANSI normal-mode parameterized cursor-keys:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
     5         kx ansi+tabs|ANSI tab-stops:\
     5         kx 	:bt=\E[Z:ct=\E[3g:st=\EH:ta=^I:
     5         kx ansi+inittabs|ANSI initial tab-stops:\
     5         kx 	:it#8:tc=ansi+tabs:
     5         kx ansi+erase|ANSI clear screen/line:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:
     5         kx ansi+rca|ANSI relative cursor-addressing:
     5         kx ansi+cup|ANSI absolute cursor-addressing:\
     5         kx 	:cm=\E[%i%d;%dH:ho=\E[H:
     5         kx ansi+rep|ANSI repeat-character:
     5         kx ansi+idl1|ANSI insert/delete one line:\
     5         kx 	:al=\E[L:dl=\E[M:
     5         kx ansi+idl|ANSI insert/delete lines:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
     5         kx ansi+idc1|ANSI insert/delete one character:\
     5         kx 	:dc=\E[P:ei=\E[4l:ic=\E[@:im=\E[4h:
     5         kx ansi+idc|ANSI insert/delete characters:\
     5         kx 	:DC=\E[%dP:IC=\E[%d@:ei=:im=:tc=ansi+idc1:
     5         kx ansi+arrows|ANSI normal-mode cursor-keys:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx ansi+sgr|ANSI graphic renditions:\
     5         kx 	:mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:
     5         kx ansi+sgrso|ANSI standout only:\
     5         kx 	:se=\E[m:so=\E[7m:
     5         kx ansi+sgrul|ANSI underline only:\
     5         kx 	:ue=\E[m:us=\E[4m:
     5         kx ansi+sgrbold|ANSI graphic renditions; assuming terminal has bold; not dim:\
     5         kx 	:md=\E[1m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
     5         kx ansi+sgrdim|ANSI graphic renditions; assuming terminal has dim; not bold:\
     5         kx 	:mh=\E[2m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
     5         kx 
     5         kx # ECMA-48 does not specify scroll-regions, but most people consider it to be
     5         kx # "ANSI" because it is widely-supported.  See ecma+index for the standard form.
     5         kx ansi+csr|ANSI scroll-region plus cursor save & restore:\
     5         kx 	:cs=\E[%i%d;%dr:rc=\E8:sc=\E7:
     5         kx 
     5         kx # The normal (ANSI) flavor of "media copy" building block asserts that
     5         kx # characters sent to the printer do not echo on the screen. DEC terminals
     5         kx # can also be put into autoprinter mode, where each line is sent to the
     5         kx # printer as you move off that line, e.g., by a carriage return.
     5         kx ansi+pp|ANSI printer port:\
     5         kx 	:5i:\
     5         kx 	:pf=\E[4i:po=\E[5i:ps=\E[i:
     5         kx dec+pp|DEC autoprinter mode:\
     5         kx 	:pf=\E[?4i:po=\E[?5i:ps=\E[i:
     5         kx 
     5         kx # The IBM PC alternate character set.  Plug this into any Intel console entry.
     5         kx # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
     5         kx # ROM graphics for control characters such as the diamond, up- and down-arrow.
     5         kx # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
     5         kx # will work with any Intel console, they all seem to have inherited \E[11m
     5         kx # from the ANSI.SYS de-facto standard.
     5         kx klone+acs|alternate character set for ansi.sys displays:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:ae=\E[10m:as=\E[11m:
     5         kx 
     5         kx # Highlight controls corresponding to the ANSI.SYS standard.  Most
     5         kx # console drivers for Intel boxes obey these.  Makes the same assumption
     5         kx # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
     5         kx # :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
     5         kx klone+sgr|attribute control for ansi.sys displays:\
     5         kx 	:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:\
     5         kx 	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
     5         kx 
     5         kx # Most Intel boxes do not treat "invis" (invisible) text.
     5         kx klone+sgr8|attribute control for ansi.sys displays:\
     5         kx 	:mk=\E[8m:tc=klone+sgr:
     5         kx 
     5         kx # Highlight controls corresponding to the ANSI.SYS standard.  *All*
     5         kx # console drivers for Intel boxes obey these.  Does not assume \E[11m will
     5         kx # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
     5         kx # diamond and arrow characters under curses.
     5         kx klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
     5         kx 	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
     5         kx 	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
     5         kx 
     5         kx # KOI8-R (RFC1489) acs (alternate character set)
     5         kx # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
     5         kx klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
     5         kx 	:ac=+\020,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\
     5         kx 	:ae=\E[10m:as=\E[11m:
     5         kx 
     5         kx # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
     5         kx # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
     5         kx # but equivalent strings that don't rely on that coincidence:
     5         kx # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
     5         kx # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
     5         kx # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
     5         kx # They match a subset of ECMA-48.
     5         kx klone+color|color control for ansi.sys and ISO6429-compatible displays:\
     5         kx 	:Co#8:NC#3:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
     5         kx 
     5         kx # This is better than klone+color, it doesn't assume white-on-black as the
     5         kx # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
     5         kx ecma+color|color control for ECMA-48-compatible terminals:\
     5         kx 	:Co#8:NC#3:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:
     5         kx 
     5         kx ecma+italics|ECMA-48 italics:\
     5         kx 	:ZH=\E[3m:ZR=\E[23m:
     5         kx 
     5         kx # Attribute control for ECMA-48-compatible terminals
     5         kx ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
     5         kx 	:se=\E[27m:ue=\E[24m:tc=klone+sgr8:
     5         kx 
     5         kx ecma+strikeout|ECMA-48 strikeout/crossed-out:
     5         kx 
     5         kx # ECMA-48 does not include the VT100 indexing and scroll-margins.  It has its
     5         kx # own variation.
     5         kx ecma+index|ECMA-48 scroll up/down:\
     5         kx 	:SF=\E[%dS:SR=\E[%dT:
     5         kx 
     5         kx # For comparison, here are all the capabilities implied by the Intel
     5         kx # Binary Compatibility Standard (level 2) that fit within terminfo.
     5         kx # For more detail on this rather pathetic standard, see the comments
     5         kx # near the end of this file.
     5         kx ibcs2|Intel Binary Compatibility Standard prescriptions:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:S1=\E=%dg:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:ct=\E[g:\
     5         kx 	:cv=\E[%i%dd:do=\E[1B:ec=\E[%dX:ei=:ic=\E[@:im=:le=\E[1D:\
     5         kx 	:nd=\E[1C:rc=\E7:sc=\E7:st=\EH:up=\E[1A:tc=ecma+index:
     5         kx 
     5         kx #### ANSI/ECMA-48 terminals and terminal emulators
     5         kx #
     5         kx # See near the end of this file for details on ANSI conformance.
     5         kx # Don't mess with these entries!  Lots of other entries depend on them!
     5         kx #
     5         kx # This section lists entries in a least-capable to most-capable order.
     5         kx # if you're in doubt about what `ANSI' matches yours, try them in that
     5         kx # order and back off from the first that breaks.
     5         kx 
     5         kx # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
     5         kx # and more than one page of memory.  It uses local motions instead of
     5         kx # direct cursor addressing, and makes almost no assumptions. It does
     5         kx # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
     5         kx ansi-mr|mem rel cup ansi:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
     5         kx 
     5         kx # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
     5         kx # beware of screen size problems and memory relative cursor addressing.
     5         kx ansi-mini|any ansi terminal with pessimistic assumptions:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
     5         kx 
     5         kx # ansi-mtabs adds relative addressing and minimal tab support
     5         kx ansi-mtabs|any ansi terminal with pessimistic assumptions:\
     5         kx 	:it#8:\
     5         kx 	:ta=^I:tc=ansi-mini:tc=ansi+local1:
     5         kx 
     5         kx # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
     5         kx #
     5         kx # The following is an entry for the full ANSI 3.64 (1977).  It lacks
     5         kx # padding, but most terminals using the standard are "fast" enough
     5         kx # not to require any -- even at 9600 bps.  If you encounter problems,
     5         kx # try including the padding specifications.
     5         kx #
     5         kx # Note: the :as: and :ae: specifications are not implemented here, for
     5         kx # the available termcap documentation does not make clear WHICH alternate
     5         kx # character set to specify.  ANSI 3.64 seems to make allowances for several.
     5         kx # Please make the appropriate adjustments to fit your needs -- that is
     5         kx # if you will be using alternate character sets.
     5         kx #
     5         kx # There are very few terminals running the full ANSI 3.64 standard,
     5         kx # so I could only test this entry on one verified terminal (Visual 102).
     5         kx # I would appreciate the results on other terminals sent to me.
     5         kx #
     5         kx # Please report comments, changes, and problems to:
     5         kx #
     5         kx # U.S. MAIL:   Hugh Hansard
     5         kx #              Box: 22830
     5         kx #              Emory University
     5         kx #              Atlanta, GA. 30322.
     5         kx #
     5         kx # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
     5         kx #
     5         kx # (Added vt100 :rc:,:sc: to quiet a tic warning --esr)
     5         kx ansi77|ANSI 3.64 standard 1977 version:\
     5         kx 	:am:bs:mi:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
     5         kx 	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:nd=\E[C:nw=\r\ED:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
     5         kx 	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # Procomm and some other ANSI emulations don't recognize all of the ANSI-
     5         kx # standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
     5         kx # <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
     5         kx # :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
     5         kx # 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
     5         kx # to confuse many emulators.  On the other hand, we can count on these programs
     5         kx # doing :ae:/:as:/:sa:. Older versions of this entry featured
     5         kx # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
     5         kx # ANSI.SYS influence.
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
     5         kx pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
     5         kx 	:am:bs:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:nd=\E[C:sf=\n:st=\EH:ta=^I:up=\E[A:\
     5         kx 	:tc=klone+sgr-dumb:
     5         kx pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
     5         kx 	:li#25:tc=pcansi-m:
     5         kx pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
     5         kx 	:li#33:tc=pcansi-m:
     5         kx pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
     5         kx 	:li#43:tc=pcansi-m:
     5         kx # The color versions.  All PC emulators do color...
     5         kx pcansi|ibm-pc terminal programs claiming to be ansi:\
     5         kx 	:tc=klone+color:tc=pcansi-m:
     5         kx pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
     5         kx 	:li#25:tc=pcansi:
     5         kx pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
     5         kx 	:li#33:tc=pcansi:
     5         kx pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
     5         kx 	:li#43:tc=pcansi:
     5         kx 
     5         kx # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
     5         kx # If you want pound signs rather than dollars, replace `B' with `A'
     5         kx # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
     5         kx ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
     5         kx 	:5i:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cb=\E[1K:ch=\E[%i%dG:\
     5         kx 	:ct=\E[3g:cv=\E[%i%dd:ec=\E[%dX:ei=:im=:kB=\E[Z:kI=\E[L:\
     5         kx 	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:nw=\r\E[S:pf=\E[4i:\
     5         kx 	:po=\E[5i:s0=\E(B:s1=\E)B:s2=\E*B:s3=\E+B:ta=\E[I:\
     5         kx 	:tc=ecma+index:tc=pcansi-m:
     5         kx 
     5         kx ansi+enq|ncurses extension for ANSI ENQ:\
     5         kx 	:u6=\E[%i%d;%dR:u7=\E[6n:u9=\E[c:
     5         kx 
     5         kx # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
     5         kx # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
     5         kx ansi|ansi/pc-term compatible with color:\
     5         kx 	:tc=ansi+enq:tc=ecma+color:tc=klone+sgr8:tc=ansi-m:
     5         kx 
     5         kx # ansi-generic is a vanilla ANSI terminal. This is assumed to implement
     5         kx # all the normal ANSI stuff with no extensions. It assumes
     5         kx # insert/delete line/char is there, so it won't work with
     5         kx # vt100 clones. It assumes video attributes for bold, blink,
     5         kx # underline, and reverse, which won't matter much if the terminal
     5         kx # can't do some of those. Padding is assumed to be zero, which
     5         kx # shouldn't hurt since xon/xoff is assumed.
     5         kx ansi-generic|ansiterm|generic ansi standard terminal:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\
     5         kx 	:tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\
     5         kx 	:tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\
     5         kx 	:tc=ansi+arrows:
     5         kx 
     5         kx #### DOS ANSI.SYS variants
     5         kx #
     5         kx # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
     5         kx # documentation (except for the keyboard key reassignment feature, which
     5         kx # doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
     5         kx # though undocumented.  The <pfkey> capability is untested but should work for
     5         kx # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
     5         kx ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
     5         kx 	:am:bs:mi:ms:xo:\
     5         kx 	:co#80:li#25:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=\n:kh=^^:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:nd=\E[C:rc=\E[u:sc=\E[s:u6=\E[%i%d;%dR:\
     5         kx 	:u7=\E[6n:up=\E[A:tc=klone+color:tc=klone+sgr8:
     5         kx 
     5         kx # Keypad:	Home=\0G	Up=\0H	PrPag=\0I
     5         kx #		ka1,kh		kcuu1		kpp,ka3
     5         kx #
     5         kx #		Left=\0K	5=\0L		Right=\0M
     5         kx #		kcub1		kb2		kcuf1
     5         kx #
     5         kx #		End=\0O		Down=\0P	NxPag=\0Q
     5         kx #		kc1,kend	kcud1		kc3,knp
     5         kx #
     5         kx #		Ins=\0R		Del=\0S
     5         kx #		kich1		kdch1
     5         kx #
     5         kx # On keyboard with 12 function keys,
     5         kx #	shifted f-keys: F13-F24
     5         kx #	control f-keys: F25-F36
     5         kx #	alt f-keys:     F37-F48
     5         kx # The shift/control/alt keys do not modify each other, but alt overrides both,
     5         kx # and control overrides shift.
     5         kx #
     5         kx # <pfkey> capability for F1-F48 -TD
     5         kx ansi.sys|ANSI.SYS 3.1 and later versions:\
     5         kx 	:@7=\0O:F1=\0\205:F2=\0\206:F3=\0T:F4=\0U:F5=\0V:F6=\0W:\
     5         kx 	:F7=\0X:F8=\0Y:F9=\0Z:FA=\0[:FB=\0\\:FC=\0]:FD=\0\207:\
     5         kx 	:FE=\0\210:FF=\0\136:FG=\0_:FH=\0`:FI=\0a:FJ=\0b:FK=\0c:\
     5         kx 	:FL=\0d:FM=\0e:FN=\0f:FO=\0g:FP=\0\211:FQ=\0\212:FR=\0h:\
     5         kx 	:FS=\0i:FT=\0j:FU=\0k:FV=\0l:FW=\0m:FX=\0n:FY=\0o:FZ=\0p:\
     5         kx 	:Fa=\0q:Fb=\0\213:Fc=\0\214:K1=\0G:K2=\0L:K3=\0I:K4=\0O:\
     5         kx 	:K5=\0Q:ce=\E[K:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
     5         kx 	:k7=\0A:k8=\0B:k9=\0C:k;=\0D:kB=\0^O:kD=\0S:kI=\0R:kN=\0Q:\
     5         kx 	:kP=\0I:kb=^H:kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:\
     5         kx 	:tc=ansi.sys-old:
     5         kx 
     5         kx #
     5         kx # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
     5         kx # This should only be used when the terminal emulator cannot redefine the keys.
     5         kx # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
     5         kx # definitions must be restored.  If the terminal emulator is quit while in vi
     5         kx # or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
     5         kx # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
     5         kx # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
     5         kx # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
     5         kx # Note that :kl: is always BS, because PC-dos can tolerate this change.
     5         kx # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
     5         kx # Consequently the End keypad key could not be set (it is relatively safe and
     5         kx # actually useful because it sends ^@ O, which beeps and opens a line above).
     5         kx ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
     5         kx 	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
     5         kx 	: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:\
     5         kx 	: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:\
     5         kx 	:tc=ansi.sys:
     5         kx #
     5         kx # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
     5         kx nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
     5         kx 	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
     5         kx 	:is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
     5         kx 	:tc=ansi.sys:
     5         kx #
     5         kx # See ansi.sysk and nansi.sys above.
     5         kx nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
     5         kx 	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
     5         kx 	:is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
     5         kx 	:tc=ansi.sysk:
     5         kx 
     5         kx #### Atari ST terminals
     5         kx 
     5         kx # From Guido Flohr <gufl0000@stud.uni-sb.de>.
     5         kx #
     5         kx tw52|tw52-color|Toswin window manager with color:\
     5         kx 	:ut:\
     5         kx 	:Co#16:pa#256:\
     5         kx 	:oc=\Eb?\Ec0:op=\Eb?\Ec0:tc=tw52-m:
     5         kx tw52-m|Toswin window manager monochrome:\
     5         kx 	:ul:\
     5         kx 	:ma#999:\
     5         kx 	:dc=\Ea:is=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0:md=\Eya:me=\Ez_:\
     5         kx 	:mh=\EyB:mr=\EyP:rs=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0:se=\EzQ:\
     5         kx 	:so=\EyQ:ue=\EzH:us=\EyH:tc=at-m:
     5         kx tt52|Atari TT medium and high resolution:\
     5         kx 	:li#30:tc=at-color:
     5         kx st52-color|at-color|atari-color|atari_st-color|Atari ST with color:\
     5         kx 	:ut:\
     5         kx 	:Co#16:pa#256:\
     5         kx 	:is=\Ev\Eq\Ee\Eb1\Ec0:rs=\Ev\Eq\Ee\Eb1\Ec0:tc=st52:
     5         kx st52|st52-m|at|at-m|atari|atari-m|atari_st|atarist-m|Atari ST:\
     5         kx 	:NP:am:eo:mi:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:#4=\Ed:%1=\EH:%i=\Ec:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:\
     5         kx 	:F5=\Et:F6=\Eu:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:al=\EL:bl=^G:\
     5         kx 	:cb=\Eo:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=\r:dl=\EM:\
     5         kx 	:do=\EB:ho=\EH:is=\Ev\Eq\Ee:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:\
     5         kx 	:k5=\ET:k6=\EU:k7=\EV:k8=\EW:k9=\EX:k;=\EY:kD=\177:kI=\EI:\
     5         kx 	:kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:kl=\ED:kr=\EC:ku=\EA:\
     5         kx 	:le=\ED:me=\Eq:mr=\Ep:nd=\EC:nw=\r\n:rc=\Ek:rs=\Ev\Eq\Ee:\
     5         kx 	:sc=\Ej:se=\Eq:sf=\n:so=\Ep:sr=\EI:ta=^I:up=\EA:ve=\Ee:\
     5         kx 	:vi=\Ef:
     5         kx tw100|toswin vt100 window mgr:\
     5         kx 	:eo:mi:ms:xo:\
     5         kx 	:Co#8:co#80:it#8:li#24:pa#64:vt#3:\
     5         kx 	:%1=\EH:&8=\EK:DL=\E[%dM:DO=\E[%dB:F1=\Ep:F2=\Eq:F3=\Er:\
     5         kx 	:F4=\Es:F5=\Et:F6=\Eu:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=++,,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\EL:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\Ea:dl=\E[M:do=\EB:ei=\Ei:ho=\E[H:im=\Eh:\
     5         kx 	:is=\E<\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
     5         kx 	:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kD=\177:kI=\EI:\
     5         kx 	:kN=\Eb:kP=\E\Ea:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E\EE:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:ll=\E[24H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\EC:nw=\EE:\
     5         kx 	:oc=\E[30;47m:op=\E[30;47m:\
     5         kx 	:r1=\E<\E[20l\E[?3;6;9l\E[r\Eq\E(B\017\E)0\E>:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E[?7h:ti=\E[?7l:ue=\E[m:up=\EA:us=\E[4m:ve=\Ee:vi=\Ef:
     5         kx # The entries for stv52 and stv52pc probably need a revision.
     5         kx stv52|MiNT virtual console:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#30:\
     5         kx 	:%1=\EH:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:F5=\Et:F6=\Eu:\
     5         kx 	:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:al=\EL:bl=^G:cd=\EJ:ce=\EK:\
     5         kx 	:cl=\EE:cm=\EY%+ %+ :cr=\r:dl=\EM:do=\EB:ho=\EH:k1=\EP:\
     5         kx 	:k2=\EQ:k3=\ER:k4=\ES:k5=\ET:k6=\EU:k7=\EV:k8=\EW:k9=\EX:\
     5         kx 	:k;=\EY:kD=\177:kI=\EI:kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:\
     5         kx 	:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\Er:md=\EyA:me=\Ez_:mh=\Em:\
     5         kx 	:mr=\Ep:nd=\EC:nw=2*\r\n:op=\Eb@\EcO:r1=\Ez_\Eb@\EcA:\
     5         kx 	:se=\Eq:sf=2*\n:so=\Ep:sr=2*\EI:ta=^I:te=\Ev\E. \Ee\Ez_:\
     5         kx 	:ti=\Ev\Ee\Ez_:ue=\EzH:up=\EA:us=\EyH:ve=\E. \Ee:vi=\Ef:\
     5         kx 	:vs=\E.":
     5         kx stv52pc|MiNT virtual console with PC charset:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#30:\
     5         kx 	:%1=\EH:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:F5=\Et:F6=\Eu:\
     5         kx 	:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:\
     5         kx 	:ac=+\257,\256-\136.v0\333I\374`\177a\260f\370g\361h\261j\331k\277l\332m\300n\305o\377p-q\304r-s_t+u+v+w+x\263y\363z\362{\343|\366}\234~\371:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dl=\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:k5=\ET:\
     5         kx 	:k6=\EU:k7=\EV:k8=\EW:k9=\EX:k;=\EY:kD=\177:kI=\EI:kN=\Eb:\
     5         kx 	:kP=\Ea:kb=^H:kd=\EB:kh=\EE:kl=\ED:kr=\EC:ku=\EA:le=^H:\
     5         kx 	:mb=\Er:md=\EyA:me=\Ez_:mh=\Em:mr=\Ep:nd=\EC:nw=2*\r\n:\
     5         kx 	:r1=\Ez_\Eb@\EcA:se=\Eq:sf=2*\n:so=\Ep:sr=2*\EI:ta=^I:\
     5         kx 	:te=\Ev\E. \Ee\Ez_:ti=\Ev\Ee\Ez_:ue=\EzH:up=\EA:us=\EyH:\
     5         kx 	:ve=\E. \Ee:vi=\Ef:vs=\E.":
     5         kx 
     5         kx # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
     5         kx atari-old|atari st:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
     5         kx 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
     5         kx 	:so=\Ep:sr=\EI:ta=^I:up=\EA:
     5         kx # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
     5         kx # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
     5         kx uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
     5         kx 	:li#49:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
     5         kx 	:tc=vt220:
     5         kx # MiNT VT52 emulation. 80 columns, 25 rows.
     5         kx # MiNT is Now TOS, the operating system which comes with all Ataris now
     5         kx # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
     5         kx # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
     5         kx # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
     5         kx st52-old|Atari ST with VT52 emulation:\
     5         kx 	:am:km:\
     5         kx 	:co#80:li#25:\
     5         kx 	:K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
     5         kx 	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:dl=\EM:do=\EB:\
     5         kx 	:ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
     5         kx 	:k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
     5         kx 	:kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
     5         kx 	:l0=f10:le=\ED:me=\Eq:nd=\EC:nw=\r\n:r1=\Ez_\Eb@\EcA:\
     5         kx 	:rc=\Ek:sc=\Ej:se=\Eq:sf=\n:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
     5         kx 	:up=\EA:ve=\Ee:vi=\Ef:
     5         kx 
     5         kx #### BeOS
     5         kx #
     5         kx # BeOS entry for Terminal program Seems to be almost ANSI
     5         kx beterm|BeOS Terminal:\
     5         kx 	:am:eo:mi:ms:xn:xo:\
     5         kx 	:Co#8:NC#5:co#80:it#8:li#25:pa#64:\
     5         kx 	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:Sb=\E[%+(m:Sf=\E[%+^^m:UP=\E[%dA:\
     5         kx 	:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:ei=\E[4l:\
     5         kx 	:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
     5         kx 	:k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:k8=\E[18~:\
     5         kx 	:k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=^H:kd=\E[B:ke=\E[?4l:kh=\E[1~:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[?4h:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx #### Linux consoles
     5         kx #
     5         kx 
     5         kx # This entry is good for the 1.2.13 or later version of the Linux console.
     5         kx #
     5         kx # ***************************************************************************
     5         kx # *                                                                         *
     5         kx # *                           WARNING:                                      *
     5         kx # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
     5         kx # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
     5         kx # * character. Here are the keymap replacement lines that will set this up: *
     5         kx # *                                                                         *
     5         kx #	keycode  15 = Tab             Tab
     5         kx #		alt     keycode  15 = Meta_Tab
     5         kx #		shift	keycode  15 = F26
     5         kx #	string F26 ="\033[Z"
     5         kx # *                                                                         *
     5         kx # * This has to use a key slot which is unfortunate (any unused one will    *
     5         kx # * do, F26 is the higher-numbered one).  The change ought to be built      *
     5         kx # * into the kernel tables.                                                 *
     5         kx # *                                                                         *
     5         kx # ***************************************************************************
     5         kx #
     5         kx # All linux kernels since 1.2.13 (at least) set the screen size
     5         kx # themselves; this entry assumes that capability.
     5         kx #
     5         kx linux-basic|linux console:\
     5         kx 	:am:eo:mi:ms:ut:xn:xo:\
     5         kx 	:NC#18:it#8:\
     5         kx 	:&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:K2=\E[G:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
     5         kx 	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\r\n:r1=\Ec\E]R:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[27m:sf=\n:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:tc=vt102+enq:\
     5         kx 	:tc=klone+sgr:tc=ecma+color:tc=linux+sfkeys:
     5         kx 
     5         kx linux+decid|ncurses extension for Linux console DECID:\
     5         kx 	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\EZ:
     5         kx 
     5         kx linux+sfkeys|shifted function-keys for Linux console:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
     5         kx 	:F8=\E[32~:F9=\E[33~:FA=\E[34~:
     5         kx 
     5         kx linux-m|Linux console no color:\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:tc=linux:
     5         kx 
     5         kx # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
     5         kx # and it matters, turn off <ccc>.  The %02x escape used to implement this is
     5         kx # not supposedly back-portable to older SV curses (although it has worked fine
     5         kx # on Solaris for several years) and not supported in ncurses versions before
     5         kx # 1.9.9.
     5         kx linux-c-nc|linux console with color-change:\
     5         kx 	:cc:\
     5         kx 	:oc=\E]R:tc=linux-basic:
     5         kx # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
     5         kx linux-c|linux console 1.3.6+ for older ncurses:\
     5         kx 	:cc:\
     5         kx 	:oc=\E]R:tc=linux-basic:
     5         kx 
     5         kx # The 2.2.x kernels add a private mode that sets the cursor type; use that to
     5         kx # get a block cursor for cvvis.
     5         kx # reported by Frank Heckenbach <frank@g-n-u.de>.
     5         kx linux2.2|linux 2.2.x console:\
     5         kx 	:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:\
     5         kx 	:tc=linux-c-nc:
     5         kx 
     5         kx # Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
     5         kx #	http://lkml.iu.edu/hypermail/linux/kernel/0602.2/0738.html
     5         kx # Although the kernel has mappings for these, they were not in the default
     5         kx # font (tested with Debian and Fedora):
     5         kx #	'`' diamond
     5         kx #	'~' scan line 1
     5         kx #	'p' scan line 3
     5         kx #	'r' scan line 7
     5         kx #	'_' scan line 9
     5         kx linux2.6|linux 2.6.x console:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:eA=\E)0:me=\E[m\017:tc=linux2.2:
     5         kx 
     5         kx # The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
     5         kx # It is the same as xterm's erase-saved-lines feature.
     5         kx linux3.0|linux 3.0 kernels:\
     5         kx 	:tc=linux2.6:
     5         kx 
     5         kx # This is Linux console for ncurses.
     5         kx linux|linux console:\
     5         kx 	:tc=linux3.0:
     5         kx 
     5         kx # Subject: linux 2.6.26 vt back_color_erase
     5         kx # Changes to the Linux console driver broke bce model as reported in
     5         kx #	https://bugzilla.novell.com/show_bug.cgi?id=418613
     5         kx # apparently from
     5         kx #	http://lkml.org/lkml/2008/4/26/305
     5         kx #	http://lkml.org/lkml/2008/10/3/66
     5         kx linux2.6.26|linux console w/o bce:\
     5         kx 	:ut@:tc=linux2.6:
     5         kx 
     5         kx # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
     5         kx linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
     5         kx 	:IC@:ic@:tc=linux:
     5         kx 
     5         kx # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
     5         kx # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
     5         kx linux-koi8|linux with koi8 alternate character set:\
     5         kx 	:ac=+\020,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224:\
     5         kx 	:tc=linux:tc=klone+koi8acs:
     5         kx 
     5         kx # Another entry for KOI8-r with Qing Long's acsc.
     5         kx # (which one better complies with the standard?)
     5         kx linux-koi8r|linux with koi8-r alternate character set:\
     5         kx 	:tc=linux:tc=klone+koi8acs:
     5         kx 
     5         kx # Entry for the latin1 and latin2 fonts
     5         kx linux-lat|linux with latin1 or latin2 alternate character set:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376:\
     5         kx 	:tc=linux:
     5         kx 
     5         kx # This uses graphics from VT codeset instead of from cp437.
     5         kx # reason: cp437 (aka "straight to font") is not functional under luit.
     5         kx # from: Andrey V Lukyanov <land@long.yar.ru>.
     5         kx linux-vt|linux console using VT codes for graphics:\
     5         kx 	:S2@:S3@:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
     5         kx 	:ae=\E(K:as=\E(0:me=\E[0m\E(K\017:sa@:tc=linux:
     5         kx 
     5         kx # This is based on the Linux console (relies on the console to perform some
     5         kx # of the functionality), but does not recognize as many control sequences.
     5         kx # The program comes bundled with an old (circa 1998) copy of the Linux
     5         kx # console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
     5         kx #	\E*	move cursor to home, as as \E[H
     5         kx #	\E,X	same as \E(X
     5         kx #	\EE	move cursor to beginning of row
     5         kx #	\E[y,xf	same as \E[y,xH
     5         kx #
     5         kx # Note: The status-line support is buggy (dsl does not work).
     5         kx kon|kon2|jfbterm|Kanji ON Linux console:\
     5         kx 	:cc@:hs:\
     5         kx 	:Ic@:Ip@:ds=\E[?H:fs=\E[?F:kB@:oc@:op=\E[37;40m:r1=\Ec:\
     5         kx 	:ts=\E[?T:vb@:ve@:vi@:vs@:tc=linux:
     5         kx 
     5         kx # FbTerm
     5         kx # Another variant.  There are two parts (src, src/lib) with the latter
     5         kx # comprising the escape-sequence parsing.  The copyright notice on that
     5         kx # says it is based on GTerm by Timothy Miller.
     5         kx #
     5         kx # The original developer "dragchan" has left, but as of March 2017 there is
     5         kx # (still dead) code from May 2015 here:
     5         kx #	https://github.com/izmntuk/fbterm
     5         kx #
     5         kx # The acsc string may be incorrect.
     5         kx #
     5         kx # Not used here, the program recognizes escapes for italic, underline and
     5         kx # dim, rendering those as green, cyan and gray respectively.
     5         kx fbterm|FbTerm for Linux with framebuffer:\
     5         kx 	:Co#256:pa#65536:\
     5         kx 	:AB=\E[2;%d}:AF=\E[1;%d}:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:ae=\E[10m:as=\E[11m:me=\E[0m:tc=linux:
     5         kx 
     5         kx # 16-color linux console entry; this works with a 256-character
     5         kx # console font but bright background colors turn into dim ones when
     5         kx # you use a 512-character console font. This uses bold for bright
     5         kx # foreground colors and blink for bright background colors.
     5         kx #
     5         kx # Interestingly, the original version of this entry in 2009 used a documented
     5         kx # (but nonstandard) SGR 21, which was supported in the Linux console since 1992
     5         kx # as an equivalent for SGR 22.  Long after (early 2018), someone modified the
     5         kx # console driver to make it ignore SGR 21 because the ECMA-48 standard
     5         kx # suggested a different use for that particular code:
     5         kx #
     5         kx # https://github.com/torvalds/linux/commit/65d9982d7e523a1a8e7c9af012da0d166f72fc56#diff-7da3c215d12c9f6b88e1a37d38b116f0
     5         kx #
     5         kx # Two years later, someone (unfamiliar with ECMA-48 this time) documented it:
     5         kx #
     5         kx # https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/man4/console_codes.4?id=a133a6bc03d751a424fe0a4adea2198757599615
     5         kx #
     5         kx # For background, refer to the report on bug-ncurses:
     5         kx #
     5         kx # https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00059.html
     5         kx linux-16color|linux console with 16 colors:\
     5         kx 	:Co#16:NC#42:pa#256:tc=linux:
     5         kx 
     5         kx # bterm (bogl 0.1.18)
     5         kx # Implementation is in bogl-term.c
     5         kx # Key capabilities from linux terminfo entry
     5         kx #
     5         kx # Notes:
     5         kx # bterm only supports acs using wide-characters, has case for these: qjxamlkut
     5         kx # bterm does not support sgr, since it only processes one parameter -TD
     5         kx bterm|bogl virtual terminal:\
     5         kx 	:am:ut:\
     5         kx 	:Co#8:co#80:li#24:pa#64:\
     5         kx 	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:F1=\E[23~:F2=\E[24~:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
     5         kx 	:F8=\E[32~:F9=\E[33~:FA=\E[34~:K2=\E[G:Km=\E[M:\
     5         kx 	:ac=aajjkkllmmqqttuuxx:ae=^O:as=^N:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:do=\n:ho=\E[H:k1=\E[[A:\
     5         kx 	:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[0m:mr=\E[7m:nw=\r\n:\
     5         kx 	:op=\E[49m\E[39m:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:ue=\E[24m:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx #### Mach
     5         kx #
     5         kx 
     5         kx # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
     5         kx mach|Mach Console:\
     5         kx 	:am:km:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dl=\E[M:do=\n:ho=\E[H:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
     5         kx 	:k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\
     5         kx 	:kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:se=\E[0m:\
     5         kx 	:sf=\n:so=\E[7m:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
     5         kx mach-bold|Mach Console with bold instead of underline:\
     5         kx 	:ue=\E[0m:us=\E[1m:tc=mach:
     5         kx mach-color|Mach Console with ANSI color:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:mh=\E[2m:mk=\E[8m:op=\E[37;40m:\
     5         kx 	:se=\E[27m:tc=mach:
     5         kx 
     5         kx # From: Samuel Thibault
     5         kx # Source: git://git.sv.gnu.org/hurd/gnumach.git
     5         kx # Files: i386/i386at/kd.c
     5         kx #
     5         kx # Added nel, hpa, sgr and removed rmacs, smacs based on source -TD
     5         kx mach-gnu|GNU Mach:\
     5         kx 	:DC=\E[%dP:IC=\E[%d@:\
     5         kx 	:ac=+>,<-\136.v0\333`+a\261f\370g\361h\260i#j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:cb=\E[1K:ch=\E[%i%dG:dc=\E[P:ec=\E[%dX:ei=:ic=\E[@:im=:\
     5         kx 	:mh=\E[2m:mk=\E[8m:nw=\EE:tc=ecma+index:tc=mach:
     5         kx 
     5         kx mach-gnu-color|Mach Console with ANSI color:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:se=\E[27m:\
     5         kx 	:tc=mach-gnu:
     5         kx 
     5         kx # From: Marcus Brinkmann
     5         kx # http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/
     5         kx #
     5         kx # Comments in the original are summarized here:
     5         kx #
     5         kx # hurd uses 8-bit characters (km).
     5         kx #
     5         kx # Although it doesn't do XON/XOFF, we don't want padding characters (xon).
     5         kx #
     5         kx # Regarding compatibility to vt100:  hurd doesn't specify :xn:, as we don't
     5         kx # have the eat_newline_glitch.  It doesn't support setting or removing tab
     5         kx # stops (hts/tbc).
     5         kx #
     5         kx # hurd uses ^H instead of \E[D for cub1, as only ^H implements :bw: and it is
     5         kx # one byte instead three.
     5         kx #
     5         kx # :ic: is not included because hurd has insert mode.
     5         kx #
     5         kx # hurd doesn't use ^J for scrolling, because this could put things into the
     5         kx # scrollback buffer.
     5         kx #
     5         kx # gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
     5         kx # This is a GNU extension.
     5         kx #
     5         kx # The original has commented-out ncv, but is restored here.
     5         kx #
     5         kx # Reading the source, RIS resets cnorm, but not xmous.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx hurd|The GNU Hurd console server:\
     5         kx 	:am:bw:eo:km:mi:ms:ut:xn:xo:\
     5         kx 	:Co#8:NC#18:it#8:pa#64:\
     5         kx 	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
     5         kx 	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
     5         kx 	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:\
     5         kx 	:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:kh=\E[1~:\
     5         kx 	:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\n:op=\E[39;49m:\
     5         kx 	:r1=\EM\E[?1000l:rc=\E8:sc=\E7:se=\E[27m:sf=\E[S:so=\E[7m:\
     5         kx 	:sr=\E[T:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:vb=\Eg:\
     5         kx 	:ve=\E[?25h:vi=\E[?25l:vs=\E[34l:tc=ecma+index:\
     5         kx 	:tc=ecma+italics:
     5         kx 
     5         kx #### QNX
     5         kx #
     5         kx 
     5         kx # QNX 4.0 Console
     5         kx # Michael's original version of this entry had <am@>, :ti=\Ei:,
     5         kx # :te=\Eh\ER:; this was so terminfo applications could write the lower
     5         kx # right corner without triggering a scroll.  The ncurses terminfo library can
     5         kx # handle this case with the :ic: capability, and prefers :am: for better
     5         kx # optimization.  Bug: The <op> capability resets attributes.
     5         kx # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
     5         kx # (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx qnx|qnx4|qnx console:\
     5         kx 	:km:mi:ms:xt:\
     5         kx 	:co#80:it#4:li#25:\
     5         kx 	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=\Ef:dl=\EF:do=\n:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
     5         kx 	:k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
     5         kx 	:k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
     5         kx 	:kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
     5         kx 	:kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
     5         kx 	:ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
     5         kx 	:nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=\n:so=\E(:sr=\EI:ta=^I:\
     5         kx 	:te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
     5         kx 	:vs=\Ey2:
     5         kx #
     5         kx #
     5         kx qnxt|qnxt4|QNX4 terminal:\
     5         kx 	:YB:tc=qnx4:
     5         kx #
     5         kx qnxm|QNX4 with mouse events:\
     5         kx 	:Yd#1:\
     5         kx 	:ZC=\E/:ZD=\E":ZJ=\E/>2h:ZT=\E/>2l:ZZ=\E/>1l\E/>9h:\
     5         kx 	:Za=\E/>7h:Zb=\E/>7l:Zd=\E/>6l:Zf=\E/>1h:Zg=\E/>1h:\
     5         kx 	:Zh=\E/>1h\E/>9l:Zi=\E/>6h:i1=\E/0t:tc=qnx4:
     5         kx #
     5         kx qnxw|QNX4 windows:\
     5         kx 	:YD:tc=qnxm:
     5         kx #
     5         kx #	Monochrome QNX4 terminal or console. Setting this terminal type will
     5         kx #	allow an application running on a color console to behave as if it
     5         kx #	were a monochrome terminal. Output will be through stdout instead of
     5         kx #	console writes because the term routines will recognize that the
     5         kx #	terminal name starts with 'qnxt'.
     5         kx #
     5         kx qnxtmono|Monochrome QNX4 terminal or console:\
     5         kx 	:Co@:pa@:\
     5         kx 	:sp@:tc=qnx4:
     5         kx 
     5         kx # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
     5         kx # (esr: commented out <scp> and :te: to avoid warnings.)
     5         kx # (TD: derive from original qnx4 entry)
     5         kx qnxt2|qnx 2.15 serial terminal:\
     5         kx 	:am:\
     5         kx 	:!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ic@:rp@:se=\E>:so=\E<:te@:ti@:ve@:vi@:\
     5         kx 	:vs@:tc=qnx4:
     5         kx 
     5         kx # QNX ANSI terminal definition
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx qansi-g|QNX ANSI:\
     5         kx 	:am:es:hs:xo:\
     5         kx 	:co#80:it#8:li#25:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[1L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=5\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[1M:do=\E[B:\
     5         kx 	:ds=\E[r:ec=\E[%dX:ei=:fs=\E[?6h\E8:ho=\E[H:i2=\E(B\E)0:\
     5         kx 	:ic=\E[1@:im=:is=\E>\E[?1l\E[?7h\E[0;10;39;49m:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
     5         kx 	:k9=\EOX:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[99H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:se=\E[27m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
     5         kx 	:ts=\E7\E1;24r\E[?6l\E[25;%i%dH:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
     5         kx 	:vs=\E[?12;25h:tc=ansi+rep:tc=ecma+index:
     5         kx #
     5         kx qansi|QNX ansi with console writes:\
     5         kx 	:YA:YC:tc=qansi-g:
     5         kx #
     5         kx qansi-t|QNX ansi without console writes:\
     5         kx 	:YB:tc=qansi:
     5         kx #
     5         kx qansi-m|QNX ansi with mouse:\
     5         kx 	:Yd#1:\
     5         kx 	:ZC=\E[:ZD=\E]:ZJ=\E[>2h:ZT=\E[>2l:ZZ=\E[>1l\E[>9h:\
     5         kx 	:Za=\E[>7h:Zb=\E[>7l:Zd=\E[>6l:Zf=\E[>1h:Zg=\E[>1h:\
     5         kx 	:Zh=\E[>1h\E[>9l:Zi=\E[>6h:i1=\E[0t:tc=qansi:
     5         kx #
     5         kx qansi-w|QNX ansi for windows:\
     5         kx 	:YD:tc=qansi-m:
     5         kx 
     5         kx #### SCO consoles
     5         kx 
     5         kx # SCO console and SOS-Syscons console for 386bsd
     5         kx # (scoansi: had unknown capabilities
     5         kx #	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
     5         kx #	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
     5         kx #	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
     5         kx #	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
     5         kx #	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
     5         kx # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
     5         kx # on the :as:=\E[12m  -- esr)
     5         kx #
     5         kx # klone+sgr-dumb is an error since the acsc does not match -TD
     5         kx #
     5         kx # In this description based on SCO's keyboard(HW) manpage list of default
     5         kx # function key values:
     5         kx #	F13-F24 are shifted F1-F12
     5         kx #	F25-F36 are control F1-F12
     5         kx #	F37-F48 are shift+control F1-F12
     5         kx #
     5         kx # hpa/vpa work in the console, but not in scoterm:
     5         kx #	hpa=\E[%p1%dG,
     5         kx #	vpa=\E[%p1%dd,
     5         kx #
     5         kx # SCO's terminfo uses
     5         kx #	kLFT=\E[d,
     5         kx #	kRIT=\E[c,
     5         kx # which do not work (console or scoterm).
     5         kx #
     5         kx # Console documents only 3 attributes can be set with SGR (so we don't use sgr).
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx scoansi-old|SCO Extended ANSI standard crt (5.0.5):\
     5         kx 	:am:bs:eo:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[m\E[J:ce=\E[m\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:\
     5         kx 	:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
     5         kx 	:k9=\E[U:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0;10m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
     5         kx 	:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[=10;12C:vi=\E[=14;12C:vs=\E[=0;12C:\
     5         kx 	:tc=ecma+index:
     5         kx scoansi-new|SCO Extended ANSI standard crt (5.0.6):\
     5         kx 	:km:\
     5         kx 	:MC=\E[=r:MR=\E[=3;0m:Zk=\E[=1;0m:Zl=\E[=1;%i%dm:\
     5         kx 	:Zm=\E[=2;%i%dm:Zn=\E[=3;%i%dm:Zo=\E[=0;0m:\
     5         kx 	:Zp=\E[=0;%i%dm:cs=\E[%i%d;%dr:mm=\E[=10L:mo=\E[=11L:\
     5         kx 	:oc=\E[51m:op=\E[50m:rp=\E[%d;%db:ve=\E[=1c:vi=\E[=0c:\
     5         kx 	:vs=\E[=2c:tc=scoansi-old:
     5         kx # make this easy to change...
     5         kx scoansi|SCO Extended ANSI standard crt:\
     5         kx 	:tc=scoansi-old:
     5         kx 
     5         kx #### SGI consoles
     5         kx 
     5         kx # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
     5         kx # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
     5         kx # for the application keypad mode.  We have added iris-ansi-ap rather than
     5         kx # change the original to keypad mode.
     5         kx #
     5         kx # (iris-ansi: added rmam/smam based on init string -- esr)
     5         kx #
     5         kx # This entry, and those derived from it, is used in xwsh (also known as
     5         kx # winterm).  Some capabilities that do not fit into the terminfo model
     5         kx # include the shift- and control-functionkeys:
     5         kx #
     5         kx # F1-F12 generate different codes when shift or control modifiers are used.
     5         kx # For example:
     5         kx #	F1		\E[001q
     5         kx #	shift F1	\E[013q
     5         kx #	control-F1	\E[025q
     5         kx #
     5         kx # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
     5         kx # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
     5         kx #
     5         kx # The cursor keys also have different codes:
     5         kx #	control-up	\E[162q
     5         kx #	control-down	\E[165q
     5         kx #	control-left	\E[159q
     5         kx #	control-right	\E[168q
     5         kx #
     5         kx #	shift-up	\E[161q
     5         kx #	shift-down	\E[164q
     5         kx #	shift-left	\E[158q
     5         kx #	shift-right	\E[167q
     5         kx #
     5         kx #	control-tab	\[072q
     5         kx #
     5         kx iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
     5         kx 	:am:\
     5         kx 	:co#80:it#8:li#40:\
     5         kx 	:!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
     5         kx 	:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
     5         kx 	:@8=\r:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
     5         kx 	:F2=\E[012q:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:dl=\E[M:do=\n:\
     5         kx 	:ho=\E[H:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
     5         kx 	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
     5         kx 	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:\
     5         kx 	:kB=\E[Z:kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:\
     5         kx 	:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:pk=\EP101;%d.y%s\E\\:rc=\E8:sc=\E7:se=\E[m:sf=\ED:\
     5         kx 	:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[9/y\E[12/y\E[=6l:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
     5         kx iris-ansi-ap|IRIS ANSI in application-keypad mode:\
     5         kx 	:@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
     5         kx 	:k9=\E[009q:k;=\E[010q:tc=iris-ansi:
     5         kx 
     5         kx # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
     5         kx # (T.Dickey 98/1/24)
     5         kx iris-color|xwsh|IRIX ANSI with color:\
     5         kx 	:NC#33:\
     5         kx 	:DC=\E[%dP:IC=\E[%d@:cs=\E[%i%d;%dr:ec=\E[%dX:ei=:im=:\
     5         kx 	:mh=\E[2m:r1=\Ec:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:rc=\E8:sc=\E7:ue=\E[24m:tc=ecma+italics:tc=vt100+enq:\
     5         kx 	:tc=klone+color:tc=iris-ansi-ap:
     5         kx 
     5         kx #### OpenBSD consoles
     5         kx #
     5         kx # From: Alexei Malinin <Alexei.Malinin@mail.ru>; October, 2011.
     5         kx #
     5         kx # The following terminal descriptions for the  AMD/Intel PC console
     5         kx # were prepared  based on information contained in  the OpenBSD-4.9
     5         kx # termtypes.master and wscons(4) & vga(4) manuals (2010, November).
     5         kx #
     5         kx # Added bce based on testing with tack -TD
     5         kx # Added several capabilities to pccon+base, reading wsemul_vt100_subr.c -TD
     5         kx # Changed kbs to DEL and removed keys that duplicate stty settings -TD
     5         kx #
     5         kx # Notes from testing with vttest:
     5         kx #	fails wrapping test
     5         kx #	no 8-bit controls
     5         kx #	identifies as vt200 with selective erase, but does not implement DECSCA
     5         kx #	no vt52 mode
     5         kx #	also lacks these:
     5         kx #		ESC # 8	  DEC Screen Alignment Test (DECALN).
     5         kx #		CSI ? 5 h Reverse Video (DECSCNM).
     5         kx #
     5         kx pccon+keys|OpenBSD PC keyboard keys:\
     5         kx 	:&2=^R:@7=\E[8~:@8=\r:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
     5         kx 	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
     5         kx 	:F9=\E[33~:FA=\E[34~:FB=\E[35~:FC=\E[36~:FD=\E[37~:\
     5         kx 	:FE=\E[38~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
     5         kx 	:kd=\E[B:kh=\E[7~:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx pccon+sgr+acs0|sgr and simple ASCII pseudographics for OpenBSD PC console:\
     5         kx 	:ac=+>,<-\136.v0#`+a\:f\\h#i#j+k+l+m+n+o~p-q-r-s_t+u+v+w+x|y#z#{*|!}#~o:\
     5         kx 	:me=\E[m:
     5         kx pccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=5\E(B:as=5\E(0:eA=5\E)0:me=5\E[m\E(B:
     5         kx # underline renders as color
     5         kx pccon+colors|ANSI colors for OpenBSD PC console:\
     5         kx 	:ut:\
     5         kx 	:Co#8:NC#2:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[47;30m:
     5         kx pccon+base|base capabilities for OpenBSD PC console:\
     5         kx 	:5i:NP:am:km:ms:nx:xn:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:DC=\E[%dP:IC=\E[%d@:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:ei=:ho=\E[H:\
     5         kx 	:im=:le=^H:md=\E[1m:mr=\E[7m:nd=\E[C:nw=\EE:rs=50\Ec:\
     5         kx 	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:
     5         kx pccon0-m|OpenBSD PC console without colors & with simple ASCII pseudographics:\
     5         kx 	:tc=pccon+sgr+acs0:tc=pccon+base:tc=pccon+keys:
     5         kx pccon0|OpenBSD PC console with simple ASCII pseudographics:\
     5         kx 	:tc=pccon0-m:tc=pccon+colors:
     5         kx pccon-m|OpenBSD PC console without colors:\
     5         kx 	:tc=pccon+base:tc=pccon+sgr+acs:tc=pccon+keys:
     5         kx pccon|OpenBSD PC console:\
     5         kx 	:tc=pccon-m:tc=pccon+colors:
     5         kx 
     5         kx #### NetBSD consoles
     5         kx #
     5         kx # pcvt termcap database entries (corresponding to release 3.31)
     5         kx # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
     5         kx #
     5         kx # (For the terminfo master file, I translated these into terminfo syntax.
     5         kx # Then I dropped all the pseudo-HP entries. we don't want and can't use
     5         kx # the :Xs: flag. Then I split :is: into a size-independent :i1: and a
     5         kx # size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
     5         kx 
     5         kx # NOTE: :ic: has been taken out of this entry. for reference, it should
     5         kx # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
     5         kx # (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
     5         kx pcvtXX|pcvt vt200 emulator (DEC VT220):\
     5         kx 	:am:km:mi:ms:xn:\
     5         kx 	:it#8:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
     5         kx 	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
     5         kx 	:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[?25h:vi=\E[?25l:tc=ecma+index:
     5         kx 
     5         kx #	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
     5         kx #	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
     5         kx #	50 lines entries; 80 columns
     5         kx pcvt25|dec vt220 emulation with 25 lines:\
     5         kx 	:co#80:li#25:\
     5         kx 	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
     5         kx pcvt28|dec vt220 emulation with 28 lines:\
     5         kx 	:co#80:li#28:\
     5         kx 	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
     5         kx pcvt35|dec vt220 emulation with 35 lines:\
     5         kx 	:co#80:li#35:\
     5         kx 	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
     5         kx pcvt40|dec vt220 emulation with 40 lines:\
     5         kx 	:co#80:li#40:\
     5         kx 	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
     5         kx pcvt43|dec vt220 emulation with 43 lines:\
     5         kx 	:co#80:li#43:\
     5         kx 	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
     5         kx pcvt50|dec vt220 emulation with 50 lines:\
     5         kx 	:co#80:li#50:\
     5         kx 	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
     5         kx 
     5         kx #	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
     5         kx #	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
     5         kx #	50 lines entries; 132 columns
     5         kx pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
     5         kx 	:co#132:li#25:\
     5         kx 	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
     5         kx pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
     5         kx 	:co#132:li#28:\
     5         kx 	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
     5         kx pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
     5         kx 	:co#132:li#35:\
     5         kx 	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
     5         kx pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
     5         kx 	:co#132:li#40:\
     5         kx 	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
     5         kx pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
     5         kx 	:co#132:li#43:\
     5         kx 	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
     5         kx pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
     5         kx 	:co#132:li#50:\
     5         kx 	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
     5         kx 
     5         kx #	OpenBSD implements a color variation
     5         kx pcvt25-color|dec vt220 emulation with 25 lines and color:\
     5         kx 	:co#80:li#25:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
     5         kx 	:is=\E[1;25r\E[25;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
     5         kx 	:k;=\E[29~:tc=pcvtXX:tc=ecma+color:
     5         kx 
     5         kx # Terminfo entries to enable the use of the ncurses library in colour on a
     5         kx # NetBSD-arm32 console (only tested on a RiscPC).
     5         kx # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
     5         kx # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
     5         kx # typo in invis - TD
     5         kx arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
     5         kx 	:am:ms:ut:xn:xo:\
     5         kx 	:co#80:it#8:li#30:\
     5         kx 	:@8=\E[M:DO=\E[%dB:K1=\E[q:K2=\E[r:K3=\E[s:K4=\E[p:K5=\E[n:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:do=\n:eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:\
     5         kx 	:k2=\E[Q:k3=\E[R:k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:\
     5         kx 	:k9=\E[w:k;=\E[x:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E[?1h\E=:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:\
     5         kx 	:me=2\E[0m:mk=2\E[8m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=\n:so=2\E[7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:tc=ecma+sgr:tc=klone+color:
     5         kx 
     5         kx arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
     5         kx 	:co#132:li#50:tc=arm100:
     5         kx 
     5         kx # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
     5         kx # manufactured by Sharp for the Japanese market.
     5         kx # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
     5         kx x68k|x68k-ite|NetBSD/x68k ITE:\
     5         kx 	:co#96:li#32:\
     5         kx 	:%1=\E[28~:kC=\E[9~:tc=vt220:
     5         kx 
     5         kx # <tv@pobox.com>:
     5         kx # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
     5         kx #
     5         kx # (still unfinished, but good enough so far.)
     5         kx ofcons|DNARD OpenFirmware console:\
     5         kx 	:bw:\
     5         kx 	:co#80:li#30:\
     5         kx 	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
     5         kx 	:LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
     5         kx 	:ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=\r:dc=\233P:dl=\233M:\
     5         kx 	:do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
     5         kx 	:k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
     5         kx 	:k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
     5         kx 	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2335m:\
     5         kx 	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
     5         kx 	:nd=\233C:nw=\r\n:se=\2330m:sf=\n:so=\2337m:ta=^I:\
     5         kx 	:ue=\2330m:up=\233A:us=\2334m:vb=^G:
     5         kx 
     5         kx # NetBSD "wscons" emulator in vt220 mode.
     5         kx # This entry is based on the NetBSD termcap entry, correcting the ncv value.
     5         kx # The emulator renders underlined text in red.  Colors are otherwise usable.
     5         kx #
     5         kx # Testing the emulator and reading the source code (NetBSD 2.0), it appears
     5         kx # that "vt220" is inaccurate.  There are a few vt220-features, but most of the
     5         kx # vt220 screens in vttest do not work with this emulator.  For instance, it
     5         kx # identifies itself (primary DA response) as a vt220 with selective erase.  But
     5         kx # the selective erase feature does not work.  The secondary response is copied
     5         kx # from Kermit's emulation of vt220, does not correspond to actual vt220.  At
     5         kx # the level of detail in a termcap, it is a passable emulator, since ECH does
     5         kx # work.  Don't use it on a VMS system -TD
     5         kx wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
     5         kx 	:ms:ut:\
     5         kx 	:Co#8:NC#2:co#80:it#8:li#25:pa#64:\
     5         kx 	:@7=\E[8~:AB=\E[4%dm:AF=\E[3%dm:F1=\E[23~:F2=\E[24~:\
     5         kx 	:is=\E[r\E[25;1H:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\E[3~:kh=\E[7~:op=\E[m:r1=\Ec:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=vt220:
     5         kx 
     5         kx wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
     5         kx 	:km:tc=wsvt25:
     5         kx 
     5         kx # NetBSD 6.x still uses wscons, with minor changes (2014/02/22) -TD
     5         kx #
     5         kx # TERM is by default vt100 for the console, wsvt25 for other ttys.
     5         kx # Initial testing set TERM=xterm, based on comments by developers, found too
     5         kx # many differences to continue in that path.  However, test-results may be
     5         kx # useful to people curious about compatibility with xterm.
     5         kx #
     5         kx # Testing with tack:
     5         kx # -----------------
     5         kx # Failed: cbt, bel, flash, cvvis, smul (color), blink, invis
     5         kx # There is color-bleeding in the color-pairs screen.
     5         kx # Attributes do not work with color
     5         kx # Failed: vpa/hpa
     5         kx # Failed: kf1-kf4, kf13-kf48, khome, kend
     5         kx #	(effectively xterm-r6 for function-keys)
     5         kx # None of the function or cursor key-modifiers are encoded.
     5         kx # Console hangs in the smm/rmm test if TERM=xterm, does not show test
     5         kx #
     5         kx # Testing with vttest:
     5         kx # -------------------
     5         kx # Identifies as vt220 with selective erase
     5         kx #	(however, selective erase refers to DECSCA, SPA)
     5         kx # Does not implement vt52
     5         kx # Uses spaces to simulate double-size characters
     5         kx # Does not support 8-bit controls
     5         kx # Does not support VT220 reports
     5         kx # Does not support send/receive mode
     5         kx # Supports ECH (like rxvt)
     5         kx # Does not support DECSCA
     5         kx # Does not support any of the ISO-6429 cursor-movement
     5         kx # Does not support any of the ISO-6429 miscellaneous tests
     5         kx #	(SL/SR also leave unexpected char on screen too)
     5         kx # Background does not change in menu 11.6.9 (SGR 22-27)
     5         kx # None of the xterm special features tests work
     5         kx netbsd6|NetBSD wscons in 25 line DEC VT100 mode:\
     5         kx 	:kb=\177:tc=wsvt25:
     5         kx 
     5         kx # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
     5         kx # DECstation/pmax.
     5         kx rcons|BSD rasterconsole:\
     5         kx 	:tc=sun-il:
     5         kx # Color version of above. Color currently only provided by NetBSD.
     5         kx rcons-color|BSD rasterconsole with ANSI color:\
     5         kx 	:ut:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
     5         kx 
     5         kx # mgterm -- MGL/MGL2, MobileGear Graphic Library
     5         kx # for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
     5         kx # -- the setf/setb are probably incorrect, more likely setaf/setab -TD
     5         kx # -- compare with cons25w
     5         kx mgterm|MGL/MGL2 MobileGear Graphic Library:\
     5         kx 	:NP:am:bs:bw:eo:km:ms:pt:ut:\
     5         kx 	:Co#8:co#80:it#8:li#18:pa#64:\
     5         kx 	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
     5         kx 	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:Sb=\E[4%dm:\
     5         kx 	:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
     5         kx 	:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k;=\E[V:\
     5         kx 	:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:op=\E[x:\
     5         kx 	:rc=\E8:rs=\E[x\E[m\Ec:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:\
     5         kx 	:sr=\E[T:ta=^I:up=\E[A:tc=ecma+index:
     5         kx 
     5         kx #### FreeBSD console entries
     5         kx #
     5         kx # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
     5         kx # Andrey Chernov maintains the FreeBSD termcap distributions.
     5         kx #
     5         kx # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
     5         kx # or comment out the :cb: capability in the console entry.
     5         kx #
     5         kx # Alexander Lukyanov reports:
     5         kx # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
     5         kx # Now el1 clears not only to the line beginning, but also a large chunk
     5         kx # of previous line. But there is another bug - ech does not work at all.
     5         kx #
     5         kx 
     5         kx # for syscons
     5         kx # common entry without semigraphics
     5         kx # Bug: The <op> capability resets attributes.
     5         kx # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
     5         kx # instance el1 does if the cursor is moved to the right margin first.  Removed
     5         kx # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
     5         kx #
     5         kx # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
     5         kx # Note that this disables standout with color.
     5         kx #
     5         kx # The emulator sends difference strings based on shift- and control-keys,
     5         kx # like scoansi:
     5         kx #	F13-F24 are shifted F1-F12
     5         kx #	F25-F36 are control F1-F12
     5         kx #	F37-F48 are shift+control F1-F12
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
     5         kx 	:am:bw:eo:ms:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:K2=\E[E:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:\
     5         kx 	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
     5         kx 	:k8=\E[T:k9=\E[U:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:\
     5         kx 	:rc=\E8:rs=\E[x\E[m\Ec:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:\
     5         kx 	:sr=\E[T:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:tc=ecma+index:
     5         kx cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
     5         kx 	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
     5         kx 	:tc=cons25w:
     5         kx cons25-debian|freebsd console with debian backspace (25-line ansi mode):\
     5         kx 	:kD=\E[3~:kb=\177:tc=cons25:
     5         kx cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
     5         kx cons30|ansi80x30|freebsd console (30-line ansi mode):\
     5         kx 	:li#30:tc=cons25:
     5         kx cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
     5         kx 	:li#30:tc=cons25-m:
     5         kx cons43|ansi80x43|freebsd console (43-line ansi mode):\
     5         kx 	:li#43:tc=cons25:
     5         kx cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
     5         kx 	:li#43:tc=cons25-m:
     5         kx cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
     5         kx 	:li#50:tc=cons25:
     5         kx cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
     5         kx 	:li#50:tc=cons25-m:
     5         kx cons60|ansi80x60|freebsd console (60-line ansi mode):\
     5         kx 	:li#60:tc=cons25:
     5         kx cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
     5         kx 	:li#60:tc=cons25-m:
     5         kx cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
     5         kx 	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225:\
     5         kx 	:tc=cons25w:
     5         kx cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
     5         kx cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
     5         kx 	:li#50:tc=cons25r:
     5         kx cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
     5         kx 	:li#50:tc=cons25r-m:
     5         kx cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
     5         kx 	:li#60:tc=cons25r:
     5         kx cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
     5         kx 	:li#60:tc=cons25r-m:
     5         kx # ISO 8859-1 FreeBSD console
     5         kx cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
     5         kx 	:ac=+\253,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237:\
     5         kx 	:tc=cons25w:
     5         kx cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
     5         kx cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
     5         kx 	:li#50:tc=cons25l1:
     5         kx cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
     5         kx 	:li#50:tc=cons25l1-m:
     5         kx cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
     5         kx 	:li#60:tc=cons25l1:
     5         kx cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
     5         kx 	:li#60:tc=cons25l1-m:
     5         kx 
     5         kx # Starting with FreeBSD 8, an alternative configuration for syscons is provided,
     5         kx # which is intended to be xterm-compatible.  See for example
     5         kx #	http://svnweb.freebsd.org/base/stable/8/sys/dev/syscons/
     5         kx # in particular scterm-teken.c
     5         kx #
     5         kx # For FreeBSD 9 and 10:
     5         kx # --------------------
     5         kx # The /etc/ttys entries for console and other ttys are all configured to set
     5         kx # TERM=xterm.
     5         kx #
     5         kx # Testing with tack:
     5         kx # There is no VT100 line-drawing (uses +'s and -'s)
     5         kx # Shifted f1-f12 give cons25 codes, rather than xterm function-keys
     5         kx #
     5         kx # Testing with vttest:
     5         kx # Menu 2 diamonds don't work, blink ditto, light background ditto
     5         kx # The terminal identifies itself as VT100 with AVO
     5         kx # There is no VT52 support
     5         kx # There is no doublesize character support
     5         kx # The terminal supports ECH (like rxvt)
     5         kx # The terminal does not support send/receive mode
     5         kx # The terminal supports all of the ISO-6429 cursor-movement
     5         kx # The terminal supports some of the ISO-6429 miscellaneous tests
     5         kx #	(SL/SR also leave unexpected char on screen too)
     5         kx #
     5         kx # Considering cons25 as a base, the line-drawing mostly works, but is missing
     5         kx # the cells which happen to have ASCII control-character values:
     5         kx #	-    ^X    arrow pointing up
     5         kx #	.    ^Y    arrow pointing down
     5         kx #	i    ^Y    lantern
     5         kx #	`    ^D    diamond
     5         kx #
     5         kx # Those are removed from this entry's acsc string to avoid confusion.
     5         kx # The resulting description provides correct line-drawing and function-keys -TD
     5         kx teken|syscons with teken:\
     5         kx 	:bw@:mi:xn:\
     5         kx 	:@7=\E[F:@8=\r:F1=\E[23~:F2=\E[24~:\
     5         kx 	:ac=0\333a\260f\370g\361h\261j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
     5         kx 	:ch=\E[%i%dG:ct=\E[3g:cv=\E[%i%dd:ei=\E[4l:im=\E[4h:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:st=\EH:u6=\E[%i%d;%dR:u7=\E[6n:\
     5         kx 	:u8=\E[?1;2c:u9=\E[c:ve=\E[?25h:vi=\E[?25l:vs@:tc=cons25:
     5         kx 
     5         kx #### 386BSD and BSD/OS Consoles
     5         kx #
     5         kx 
     5         kx # This was the original 386BSD console entry (I think).
     5         kx # Some places it's named oldpc3|oldibmpc3.
     5         kx # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
     5         kx origpc3|origibmpc3|IBM PC 386BSD Console:\
     5         kx 	:am:bs:bw:eo:xo:\
     5         kx 	:co#80:li#25:\
     5         kx 	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
     5         kx 	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
     5         kx 	:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
     5         kx 	:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
     5         kx 	:up=\E[A:us=\E[1;7x\E[2;0x:
     5         kx 
     5         kx # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
     5         kx oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
     5         kx 	:bs:km:\
     5         kx 	:li#25:\
     5         kx 	:al=\E[L:bl=^G:cr=\r:dl=\E[M:do=\n:kH=\E[F:kI=\E[L:kN=\E[G:\
     5         kx 	:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=\r\n:sf=\n:ta=^I:
     5         kx 
     5         kx # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
     5         kx # Note, the emulator supports many of the additional console features
     5         kx # listed in the iBCS2 (e.g. character-set selection) though not all
     5         kx # are described here.  This entry really ought to be upgraded.
     5         kx # Also note, the console will also work with fewer lines after doing
     5         kx # "stty rows NN", e.g. to use 24 lines.
     5         kx # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
     5         kx # Bug: The <op> capability resets attributes.
     5         kx bsdos-pc|IBM PC BSD/OS Console:\
     5         kx 	:tc=bsdos-pc-nobold:
     5         kx 
     5         kx bsdos-pc-nobold|BSD/OS PC console w/o bold:\
     5         kx 	:tc=klone+color:tc=bsdos-pc-m:
     5         kx 
     5         kx bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono:\
     5         kx 	:am:bs:eo:km:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dl=\E[M:do=\n:ho=\E[H:kH=\E[F:\
     5         kx 	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=\r\n:rc=\E8:sc=\E7:sf=\n:\
     5         kx 	:ta=^I:up=\E[A:tc=klone+sgr8:
     5         kx 
     5         kx # Old names for BSD/OS PC console used in releases before 4.1.
     5         kx pc3|BSD/OS on the PC Console:\
     5         kx 	:tc=bsdos-pc-nobold:
     5         kx ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
     5         kx 	:tc=bsdos-pc:
     5         kx 
     5         kx # BSD/OS on the SPARC
     5         kx bsdos-sparc|Sun SPARC BSD/OS Console:\
     5         kx 	:tc=sun:
     5         kx 
     5         kx # BSD/OS on the PowerPC
     5         kx bsdos-ppc|PowerPC BSD/OS Console:\
     5         kx 	:tc=bsdos-pc:
     5         kx 
     5         kx 
     5         kx #### DEC VT52
     5         kx # (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
     5         kx #
     5         kx # Actually (TD pointed this out at the time the acsc string was added):
     5         kx # vt52 shouldn't define full acsc since most of the cells don't match.
     5         kx # see vt100 manual page A-31.  This is the list that does match:
     5         kx #	f degree
     5         kx #	g plus/minus
     5         kx #	h right-arrow
     5         kx #	k down-arrow
     5         kx #	m scan-1
     5         kx #	o scan-3
     5         kx #	q scan-5
     5         kx #	s scan-7
     5         kx # The line-drawing happens to work in several terminal emulators, but should
     5         kx # not be used as a guide to the capabilities of the vt52.  Note in particular
     5         kx # that vt52 does not support line-drawing characters (the scan-X values refer
     5         kx # to a crude plotting feature) -TD
     5         kx vt52|dec vt52:\
     5         kx 	:bs:\
     5         kx 	:it#8:li#24:\
     5         kx 	:ac=+h.k0affggolpnqprrss:ae=\EG:as=\EF:ho=\EH:kb=^H:\
     5         kx 	:ke=\E>:ks=\E=:nw=\r\n:sr=\EI:u8=\E/[KL]:tc=vt50h:
     5         kx 
     5         kx # This is more likely the "vt52" that you would see in emulation, i.e., no
     5         kx # keypad, no graphics.
     5         kx vt52-basic|vt52 for emulators:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:do=\EB:\
     5         kx 	:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
     5         kx 	:nw=\r\n:sf=\n:sr=\EI:ta=^I:up=\EA:
     5         kx 
     5         kx #### DEC VT100 and compatibles
     5         kx #
     5         kx # DEC terminals from the vt100 forward are collected here. Older DEC terminals
     5         kx # and micro consoles can be found in the `obsolete' section.  More details on
     5         kx # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
     5         kx # found near the end of this file.
     5         kx #
     5         kx # Except where noted, these entries are DEC's official terminfos.
     5         kx # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
     5         kx # Engineering for more information.  Updated terminfos and termcaps
     5         kx # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
     5         kx #
     5         kx # In October 1995 DEC sold its terminals business, including the VT and Dorio
     5         kx # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
     5         kx # its name to Boundless Technologies; see http://www.boundless.com.
     5         kx #
     5         kx 
     5         kx # NOTE:  Any VT100 emulation, whether in hardware or software, almost
     5         kx # certainly includes what DEC called the `Level 1 editing extension' codes;
     5         kx # only the very oldest VT100s lacked these and there probably aren't any of
     5         kx # those left alive.  To capture these, use one of the VT102 entries.
     5         kx #
     5         kx # Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
     5         kx # since the cursor is left in a different position while in the
     5         kx # weird state (concept at beginning of next line, vt100 at end
     5         kx # of this line) so all versions of vi before 3.7 don't handle
     5         kx # :xn: right on vt100. The correct way to handle :xn: is when
     5         kx # you output the char in column 80, immediately output CR LF
     5         kx # and then assume you are in column 1 of the next line. If :xn:
     5         kx # is on, am should be on too.
     5         kx #
     5         kx # I assume you have smooth scroll off or are at a slow enough baud
     5         kx # rate that it doesn't matter (1200? or less). Also this assumes
     5         kx # that you set auto-nl to "on", if you set it off use vt100-nam
     5         kx # below.
     5         kx #
     5         kx # The padding requirements listed here are guesses. It is strongly
     5         kx # recommended that xon/xoff be enabled, as this is assumed here.
     5         kx #
     5         kx # The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
     5         kx # tab settings are in non-volatile memory and don't need to be
     5         kx # reset upon login. Also setting the number of columns glitches
     5         kx # the screen annoyingly. You can type "reset" to get them set.
     5         kx #
     5         kx # The VT100 series terminals have cursor ("arrows") keys which can operate
     5         kx # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
     5         kx # is the reset state, and is assumed to be the normal state.  Application
     5         kx # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
     5         kx # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
     5         kx # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
     5         kx # was provided primarily as an aid to the porting of VT52 applications.  It is
     5         kx # assumed that the cursor keys are normally in Cursor Mode, and expected that
     5         kx # applications such as vi will always transmit the :ks: string.  Therefore,
     5         kx # the definitions for the cursor keys are made to match what the terminal
     5         kx # transmits after the :ks: string is transmitted.  If the :ks: string
     5         kx # is a null string or is not defined, then cursor keys are assumed to be in
     5         kx # "Cursor Mode", and the cursor keys definitions should match that assumption,
     5         kx # else the application may fail.  It is also expected that applications will
     5         kx # always transmit the :ke: string to the terminal before they exit.
     5         kx #
     5         kx # The VT100 series terminals have an auxiliary keypad, commonly referred to as
     5         kx # the "Numeric Keypad", because it is a cluster of numeric and function keys.
     5         kx # The Numeric Keypad which can operate in two different modes: Numeric Mode and
     5         kx # Application Mode.  Numeric Mode is the reset state, and is assumed to be
     5         kx # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
     5         kx # the numeric and punctuation keys transmit ASCII 7-bit characters, and the
     5         kx # Enter key transmits the same as the Return key (Note: the Return key
     5         kx # can be configured to send either LF (\015) or CR LF).  In Application Mode,
     5         kx # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
     5         kx # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
     5         kx # is normally in Numeric Mode.  If an application requires that the keypad be
     5         kx # in Application Mode then it is expected that the user, or the application,
     5         kx # will set the TERM environment variable to point to a terminfo entry which has
     5         kx # defined the :ks: string to include the codes that switch the keypad into
     5         kx # Application Mode, and the terminfo entry will also define function key
     5         kx # fields to match the Application Mode control codes.  If the :ks: string
     5         kx # is a null string or is not defined, then the keypad is assumed to be in
     5         kx # Numeric Mode.  If the :ks: string switches the keypad into Application
     5         kx # Mode, it is expected that the :ke: string will contain the control codes
     5         kx # necessary to reset the keypad to "Normal" mode, and it is also expected that
     5         kx # applications which transmit the :ks: string will also always transmit the
     5         kx # :ke: string to the terminal before they exit.
     5         kx #
     5         kx # Here's a diagram of the VT100 keypad keys with their bindings.
     5         kx # The top line is the name of the key (some DEC keyboards have the keys
     5         kx # labelled somewhat differently, like GOLD instead of PF1, but this is
     5         kx # the most "official" name).  The second line is the escape sequence it
     5         kx # generates in Application Keypad mode (where "$" means the ESC
     5         kx # character).  The third line contains two items, first the mapping of
     5         kx # the key in terminfo, and then in termcap.
     5         kx #   _______________________________________
     5         kx #  |   PF1   |   PF2   |   PF3   |   PF4   |
     5         kx #  |   $OP   |   $OQ   |   $OR   |   $OS   |
     5         kx #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
     5         kx #  |    7         8         9         -    |
     5         kx #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
     5         kx #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
     5         kx #  |    4    |    5    |    6    |    ,    |
     5         kx #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
     5         kx #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
     5         kx #  |    1    |    2    |    3    |         |
     5         kx #  |   $Oq   |   $Or   |   $Os   |  enter  |
     5         kx #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
     5         kx #  |         0         |   .     |         |
     5         kx #  |        $Op        |  $On    |         |
     5         kx #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
     5         kx #
     5         kx # Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
     5         kx # terminfo guidelines.  That is a compromise used to assign the remaining
     5         kx # keys on the keypad to kf5-kf0, used on older systems with legacy termcap
     5         kx # support:
     5         kx vt100+keypad|dec vt100 numeric keypad no fkeys:\
     5         kx 	:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:
     5         kx vt100+pfkeys|dec vt100 numeric keypad:\
     5         kx 	:@8=\EOM:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=vt100+keypad:
     5         kx vt100+fnkeys|dec vt100 numeric keypad:\
     5         kx 	:k0=\EOy:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
     5         kx 	:tc=vt100+pfkeys:
     5         kx #
     5         kx # A better adaptation to modern keyboards such as the PC's, which have a dozen
     5         kx # function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
     5         kx # use the 5-key arrangement to model the arrow keys as suggested in the
     5         kx # terminfo guidelines:
     5         kx #   _______________________________________
     5         kx #  |   PF1   |   PF2   |   PF3   |   PF4   |
     5         kx #  |   $OP   |   $OQ   |   $OR   |   $OS   |
     5         kx #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
     5         kx #  |    7         8         9         -    |
     5         kx #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
     5         kx #  |_ka1__K1_|_________|_ka3__K3_|_________|
     5         kx #  |    4    |    5    |    6    |    ,    |
     5         kx #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
     5         kx #  |_________|_kb2__K2_|_________|_________|
     5         kx #  |    1    |    2    |    3    |         |
     5         kx #  |   $Oq   |   $Or   |   $Os   |  enter  |
     5         kx #  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
     5         kx #  |         0         |   .     |         |
     5         kx #  |        $Op        |  $On    |         |
     5         kx #  |___________________|_________|_kent_@8_|
     5         kx #
     5         kx vt220+keypad|dec vt220 numeric keypad:\
     5         kx 	:@8=\EOM:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:
     5         kx #
     5         kx vt100+enq|ncurses extension for vt100-style ENQ:\
     5         kx 	:u8=\E[?1;2c:tc=ansi+enq:
     5         kx vt102+enq|ncurses extension for vt102-style ENQ:\
     5         kx 	:u8=\E[?6c:tc=ansi+enq:
     5         kx #
     5         kx # And here, for those of you with orphaned VT100s lacking documentation, is
     5         kx # a description of the soft switches invoked when you do `Set Up'.
     5         kx #
     5         kx #  Scroll 0-Jump               Shifted 3   0-#
     5         kx #  |      1-Smooth             |           1-British pound sign
     5         kx #  | Autorepeat 0-Off          | Wrap Around 0-Off
     5         kx #  | |          1-On           | |           1-On
     5         kx #  | | Screen 0-Dark Bkg       | | New Line 0-Off
     5         kx #  | | |      1-Light Bkg      | | |        1-On
     5         kx #  | | | Cursor 0-Underline    | | | Interlace 0-Off
     5         kx #  | | | |      1-Block        | | | |         1-On
     5         kx #  | | | |                     | | | |
     5         kx #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
     5         kx #                | | | |                     | | | |
     5         kx #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
     5         kx #                | | |               1-On    | | |       1-50 Hz
     5         kx #                | | ANSI/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
     5         kx #                | |           1-ANSI        | |                1-8 Bits
     5         kx #                | Keyclick 0-Off            | Parity 0-Off
     5         kx #                |          1-On             |        1-On
     5         kx #                Margin Bell 0-Off           Parity Sense 0-Odd
     5         kx #                            1-On                         1-Even
     5         kx #
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
     5         kx #	WRAP_AROUND_ON  JUMP_SCROLL_OFF
     5         kx # Other SET-UP modes may be set for operator convenience or communication
     5         kx # requirements; I recommend
     5         kx #	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
     5         kx # Unless you have a graphics add-on such as Digital Engineering's VT640
     5         kx # (and even then, whenever it can be arranged!) you should set
     5         kx #	INTERLACE_OFF
     5         kx #
     5         kx # (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
     5         kx vt100|vt100-am|dec vt100 (w/advanced video):\
     5         kx 	:5i:bs:xn:xo:\
     5         kx 	:vt#3:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:cs=\E[%i%d;%dr:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:\
     5         kx 	:l4=pf4:pf=\E[4i:po=\E[5i:ps=\E[0i:rc=\E8:\
     5         kx 	:rs=\E<\E>\E[?3;4;5l\E[?7;8h\E[r:sc=\E7:so=2\E[7m:\
     5         kx 	:tc=vt100+4bsd:tc=vt100+fnkeys:
     5         kx vt100+4bsd|dec vt100 from 4.0BSD:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:ct=\E[3g:do=\n:\
     5         kx 	:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=2\E[C:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:se=2\E[m:sf=\n:\
     5         kx 	:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:
     5         kx vt100nam|vt100-nam|vt100 no automargins:\
     5         kx 	:am@:xn@:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt100-am:
     5         kx vt100-vb|dec vt100 (w/advanced video) & no beep:\
     5         kx 	:bl@:vb=\E[?5h\E[?5l:tc=vt100:
     5         kx 
     5         kx # Ordinary vt100 in 132 column ("wide") mode.
     5         kx vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
     5         kx 	:co#132:li#24:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
     5         kx vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
     5         kx 	:co#132:li#14:vt@:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
     5         kx 
     5         kx # vt100 with no advanced video.
     5         kx vt100-nav|vt100 without advanced video option:\
     5         kx 	:sg#1:\
     5         kx 	:mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
     5         kx vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
     5         kx 	:co#132:li#14:tc=vt100-nav:
     5         kx 
     5         kx # vt100 with one of the 24 lines used as a status line.
     5         kx # We put the status line on the top.
     5         kx vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
     5         kx 	:es:hs:\
     5         kx 	:li#23:\
     5         kx 	:cl=50\E[2;1H\E[J:cs=\E[%i%i%d;%dr:ds=\E7\E[1;24r\E8:\
     5         kx 	:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
     5         kx 	:ts=\E7\E[1;%dH\E[1K:tc=vt100-am:
     5         kx 
     5         kx # Status line at bottom.
     5         kx # Clearing the screen will clobber status line.
     5         kx vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
     5         kx 	:es:hs:\
     5         kx 	:li#23:\
     5         kx 	:ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
     5         kx 	:ts=\E7\E[24;%dH\E[1K:tc=vt100-am:
     5         kx 
     5         kx # Most of the `vt100' emulators out there actually emulate a vt102
     5         kx # This entry (or vt102-nsgr) is probably the right thing to use for
     5         kx # these.
     5         kx vt102|dec vt102:\
     5         kx 	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
     5         kx vt102-w|dec vt102 in wide mode:\
     5         kx 	:co#132:\
     5         kx 	:r3=\E[?3h:tc=vt102:
     5         kx 
     5         kx # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
     5         kx # fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
     5         kx # string in the canonical vt100 entry above leaves the screen littered
     5         kx # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
     5         kx # after highlight turnoffs.  This entry should fix that, and even leave
     5         kx # ACS support working, at the cost of making multiple-highlight changes
     5         kx # slightly more expensive.
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
     5         kx vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
     5         kx 	:me=\E[m:sa@:tc=vt102:
     5         kx 
     5         kx # VT125 Graphics CRT.  Clear screen also erases graphics
     5         kx # Some vt125's came configured with vt102 support.
     5         kx vt125|vt125 graphics terminal:\
     5         kx 	:mi:\
     5         kx 	:cl=50\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
     5         kx 
     5         kx # This isn't a DEC entry, it came from University of Wisconsin.
     5         kx # (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
     5         kx vt131|dec vt131:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:do=\n:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
     5         kx 	:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=\r\n:\
     5         kx 	:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
     5         kx 	:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:
     5         kx 
     5         kx # vt132 - like vt100 but slower and has ins/del line and such.
     5         kx # I'm told that :im:/:ei: are backwards in the terminal from the
     5         kx # manual and from the ANSI standard, this describes the actual
     5         kx # terminal. I've never actually used a vt132 myself, so this
     5         kx # is untested.
     5         kx #
     5         kx vt132|DEC vt132:\
     5         kx 	:xn:\
     5         kx 	:al=99\E[L:dc=7\E[P:dl=99\E[M:ei=\E[4h:im=\E[4l:ip=7:\
     5         kx 	:sf=30\n:tc=vt100:
     5         kx 
     5         kx # This vt220 description maps F5--F9 to the second block of function keys
     5         kx # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
     5         kx # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
     5         kx # PF1--PF4 are used as F1--F4.
     5         kx #
     5         kx # added msgr -TD
     5         kx vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
     5         kx 	:am:bs:mi:ms:pt:xn:xo:\
     5         kx 	:co#80:li#24:vt#3:\
     5         kx 	:@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
     5         kx 	:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
     5         kx 	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=2\E[5m:\
     5         kx 	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=\E[C:nl=\n:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[27m:\
     5         kx 	:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx # A much better description of the VT200/220; used to be vt220-8
     5         kx # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
     5         kx # designation to accommodate bug in pcvt -TD
     5         kx #
     5         kx # Here's a picture of the VT220 editing keypad:
     5         kx #	+--------+--------+--------+
     5         kx #	| Find   | Insert | Remove |
     5         kx #	+--------+--------+--------+
     5         kx #	| Select | Prev   | Next   |
     5         kx #	+--------+--------+--------+
     5         kx vt220|vt200|dec vt220:\
     5         kx 	:am:bs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
     5         kx 	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
     5         kx 	:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:eA=\E)0:ec=\E[%dX:ei=\E[4l:\
     5         kx 	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	:is=\E[?7h\E[>\E[?1l\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
     5         kx 	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
     5         kx 	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
     5         kx 	:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:r1=\E[?3l:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:\
     5         kx 	:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:tc=ansi+pp:tc=ansi+enq:
     5         kx vt220-w|vt200-w|DEC vt220 in wide mode:\
     5         kx 	:co#132:\
     5         kx 	:r3=\E[?3h:tc=vt220:
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
     5         kx 	:am:bs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
     5         kx 	:LE=\233%dD:RI=\233%dC:UP=\233%dA:ae=\E(B:al=\233L:\
     5         kx 	:as=\E(0:bl=^G:cd=\233J:ce=\233K:cl=\233H\233J:\
     5         kx 	:cm=\233%i%d;%dH:cr=\r:cs=\233%i%d;%dr:ct=\2333g:\
     5         kx 	:dc=\233P:dl=\233M:do=\n:ec=\233%dX:ei=\2334l:ho=\233H:\
     5         kx 	:if=/usr/share/tabset/vt100:im=\2334h:\
     5         kx 	:is=\233?7h\233>\233?1l\E F\233?4l:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
     5         kx 	:k9=\23320~:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:\
     5         kx 	:kd=\233B:kh=\233H:kl=\233D:kr=\233C:ku=\233A:le=^H:\
     5         kx 	:mb=\2335m:md=\2331m:me=2\2330m:mr=\2337m:nd=\233C:nw=\EE:\
     5         kx 	:rc=\E8:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:\
     5         kx 	:ta=^I:ue=\23324m:up=\233A:us=\2334m:vb=\233?5h\233?5l:
     5         kx 
     5         kx # vt220d:
     5         kx # This vt220 description regards F6--F10 as the second block of function keys
     5         kx # at the top of the keyboard.  This mapping follows the description given
     5         kx # in the VT220 Programmer Reference Manual and agrees with the labeling
     5         kx # on some terminals that emulate the vt220.  There is no support for an F5.
     5         kx # See vt220 for an alternate mapping.
     5         kx #
     5         kx vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:tc=vt220-old:
     5         kx 
     5         kx vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
     5         kx 	:am@:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
     5         kx 
     5         kx # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
     5         kx # (not an official DEC entry!)
     5         kx # The problem with real vt220 terminals is they don't send escapes when in
     5         kx # in vt220 mode.  This can be gotten around two ways.  1> don't send
     5         kx # escapes or 2> put the vt220 into vt100 mode and use all the nifty
     5         kx # features of vt100 advanced video which it then has.
     5         kx #
     5         kx # This entry takes the view of putting a vt220 into vt100 mode so
     5         kx # you can use the escape key in emacs and everything else which needs it.
     5         kx #
     5         kx # You probably don't want to use this on a VMS machine since VMS will think
     5         kx # it has a vt220 and will get fouled up coming out of emacs
     5         kx #
     5         kx # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
     5         kx # (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
     5         kx # added msgr -TD
     5         kx vt200-js|vt220-js|dec vt200 series with jump scroll:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=\n:ed=:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E[61"p\E[H\E[?3l\E[?4l\E[?1h\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:nd=\E[C:nw=\r\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=5\E[27m:\
     5         kx 	:sf=\ED:so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # This was DEC's vt320.  Use the purpose-built one below instead
     5         kx #vt320|DEC VT320 in vt100 emulation mode,
     5         kx #	use=vt220,
     5         kx 
     5         kx # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
     5         kx #
     5         kx vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
     5         kx 	:am@:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
     5         kx 
     5         kx # These entries are not DEC's official ones, they were purpose-built for the
     5         kx # VT320.  Here are the designer's notes:
     5         kx # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
     5         kx # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
     5         kx # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
     5         kx # Things that use <knxt> usually use tab anyways... and things that don't use
     5         kx # tab usually use <knxt> instead...
     5         kx # kprv is same as tab - Backtab is useless...
     5         kx # I left out :sa: because of its RIDICULOUS complexity,
     5         kx # and the resulting fact that it causes the termcap translation of the entry
     5         kx # to SMASH the 1k-barrier...
     5         kx # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
     5         kx # (vt320: uncommented :fs: --esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx vt320|vt300|dec vt320 7 bit terminal:\
     5         kx 	:am:hs:mi:ms:xn:\
     5         kx 	:co#80:li#24:ws#80:\
     5         kx 	:%5=^I:%8=\E[Z:*6=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
     5         kx 	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
     5         kx 	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
     5         kx 	:SA=\E[?7h:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\E[3~:kE=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
     5         kx 	:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt300:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:tc=dec+pp:\
     5         kx 	:tc=vt220+keypad:tc=dec+sl:tc=ansi+enq:
     5         kx vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
     5         kx 	:am@:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:tc=vt320:
     5         kx # We have to init 132-col mode, not 80-col mode.
     5         kx vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:tc=vt320:
     5         kx vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
     5         kx 	:am@:\
     5         kx 	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:tc=vt320-w:
     5         kx 
     5         kx # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
     5         kx #   which are pretty much a superset of the VT320.  They have the
     5         kx #   host writable status line, yet another different DRCS matrix size,
     5         kx #   and such, but they add the DEC Technical character set, Multiple text
     5         kx #   pages, selectable length pages, and the like.  The difference between
     5         kx #   the vt330 and vt340 is that the former has only 2 planes and a monochrome
     5         kx #   monitor, the latter has 4 planes and a color monitor.  These terminals
     5         kx #   support VT131 and ANSI block mode, but as with much of these things,
     5         kx #   termcap/terminfo doesn't deal with these features.
     5         kx #
     5         kx # Note that this entry is are set up in what was the standard way for GNU
     5         kx # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
     5         kx # keys were switched into application mode at the same time the numeric pad
     5         kx # is switched into application mode.  This changes the definitions of the
     5         kx # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
     5         kx # your termcap or terminfo entry,
     5         kx #
     5         kx # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
     5         kx # (vt340: string capability "sb=\E[M" corrected to "sr";
     5         kx # also, added <rmam>/<smam> based on the init string -- esr)
     5         kx vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
     5         kx 	:fs=\E[$}:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\r\ED:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:\
     5         kx 	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx # Left/right margins are supported in xterm since patch #279 (2012/05/10)
     5         kx vt420+lrmm|VT420 left/right margins:\
     5         kx 	:MC=\E[?69l:ML=\E[?69h\E[%i%d;%ds:
     5         kx 
     5         kx # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
     5         kx # (originally written with vt420 as its primary name, and usable for it).
     5         kx #
     5         kx # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
     5         kx #    text pages and long text pages with selectable length of the vt340, along
     5         kx #    with left and right margins, rectangular area text copy, fill, and erase
     5         kx #    operations, selected region character attribute change operations,
     5         kx #    page memory and rectangle checksums, insert/delete column, reception
     5         kx #    macros, and other features too numerous to remember right now.  TERMCAP
     5         kx #    can only take advantage of a few of these added features.
     5         kx #
     5         kx # Note that this entry is set up in what was the standard way for GNU
     5         kx # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
     5         kx # keys were switched into application mode at the same time the numeric pad
     5         kx # is switched into application mode.  This changes the definitions of the
     5         kx # arrow keys.  Emacs v19 is smarter and mines its keys directly out of
     5         kx # your termcap entry,
     5         kx #
     5         kx # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
     5         kx # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
     5         kx # also, added <rmam>/<smam> based on the init string -- esr)
     5         kx vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
     5         kx 	:fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\r\ED:r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=dec+sl:
     5         kx 
     5         kx # (vt420: I removed :k0:, it collided with <kf10>.  I also restored
     5         kx # a missing :sc: -- esr)
     5         kx # add msgr and other capabilities from vt220 -TD
     5         kx vt420|DEC VT420:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
     5         kx 	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cb=\E[1K:cd=50\E[J:\
     5         kx 	:ce=3\E[K:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:eA=\E)0:\
     5         kx 	:ec=\E[%dX:ei=\E[4l:ho=\E[H:i2=\E[?67h\E[64;1"p:\
     5         kx 	:if=/usr/share/tabset/vt300:im=\E[4h:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
     5         kx 	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
     5         kx 	:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
     5         kx 	:mb=2\E[5m:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
     5         kx 	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=ansi+pp:tc=dec+sl:tc=ansi+enq:
     5         kx 
     5         kx # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
     5         kx # takes two parameters, the key and the string.  Translating the key is
     5         kx # straightforward (keys 1-5 are not defined on real terminals, though some
     5         kx # emulators define these):
     5         kx #
     5         kx #               if (key < 16) then  value = key;
     5         kx #               else if (key < 21) then value = key + 1;
     5         kx #               else if (key < 25) then value = key + 2;
     5         kx #               else if (key < 27) then value = key + 3;
     5         kx #               else if (key < 30) then value = key + 4;
     5         kx #               else value = key + 5;
     5         kx #
     5         kx # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
     5         kx # There's no provision in terminfo for emitting a string in this format, so the
     5         kx # application has to know it.
     5         kx #
     5         kx vt420pc|DEC VT420 w/PC keyboard:\
     5         kx 	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
     5         kx 	:F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
     5         kx 	:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
     5         kx 	:FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
     5         kx 	:FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
     5         kx 	:FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
     5         kx 	:FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
     5         kx 	:FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
     5         kx 	:Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
     5         kx 	:S6=USR_TERM\:vt420pcdos\::k1=\E[11~:k2=\E[12~:\
     5         kx 	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:tc=vt420:
     5         kx 
     5         kx vt420pcdos|DEC VT420 w/PC for DOS Merge:\
     5         kx 	:li#25:\
     5         kx 	:S4=\E[?1;2r\E[34h:\
     5         kx 	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
     5         kx 	:me=\E[m:sa@:tc=vt420pc:
     5         kx 
     5         kx vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:tc=vt420:
     5         kx 
     5         kx vt510|DEC VT510:\
     5         kx 	:tc=vt420:
     5         kx vt510pc|DEC VT510 w/PC keyboard:\
     5         kx 	:tc=vt420pc:
     5         kx vt510pcdos|DEC VT510 w/PC for DOS Merge:\
     5         kx 	:tc=vt420pcdos:
     5         kx 
     5         kx # VT520/VT525
     5         kx #
     5         kx # The VT520 is a monochrome text terminal capable of managing up to
     5         kx # four independent sessions in the terminal.  It has multiple ANSI
     5         kx # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
     5         kx # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
     5         kx # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
     5         kx #
     5         kx # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
     5         kx # [Alt]/[Print Screen] depending upon which keyboard and which
     5         kx # terminal mode is being used.  If Set-Up has been disabled or
     5         kx # assigned to an unknown key, Set-Up may be entered by pressing
     5         kx # [F3] as the first key after power up, regardless of keyboard type.
     5         kx vt520|DEC VT520:\
     5         kx 	:tc=ansi+rca:tc=vt420:tc=ansi+tabs:
     5         kx 
     5         kx vt525|DEC VT525:\
     5         kx 	:tc=vt520:
     5         kx 
     5         kx # I just got a brand new Boundless VT520 with that company's "ANSI 2011"
     5         kx # Keyboard, which replaces the old LK41R-AA keyboard.
     5         kx #
     5         kx # In trying to get the function keys to work, I had to cobble my own
     5         kx # terminfo.src entry, since the existing vt520 entry doesn't include most of
     5         kx # the function keys.  If I blend the entries for "vt420f" and "vt220+keypad"
     5         kx # I seem to get them all -Mike Gran
     5         kx vt520ansi|Boundless VT520 ANSI:\
     5         kx 	:tc=ansi+rca:tc=vt420f:tc=vt220+keypad:tc=ansi+tabs:
     5         kx 
     5         kx #### VT100 emulations
     5         kx 
     5         kx # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
     5         kx # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
     5         kx # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
     5         kx # that this works best with a stock vt100 entry.
     5         kx dec-vt100|EWAN telnet's vt100 emulation:\
     5         kx 	:tc=vt100:
     5         kx 
     5         kx # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
     5         kx dec-vt220|DOS tnvt200 terminal emulator:\
     5         kx 	:am@:tc=vt220:
     5         kx 
     5         kx # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
     5         kx # anyone who needs PC VT340 emulation. (or anything below that level, for
     5         kx # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
     5         kx # RDBM systems, it includes ReGIS and Sixel support!  I'm impressed...
     5         kx # I can send the address if requested.
     5         kx # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
     5         kx # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
     5         kx z340|zstem vt340 terminal emulator 132col 42line:\
     5         kx 	:li#42:\
     5         kx 	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
     5         kx 	:tc=vt320-w:
     5         kx z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
     5         kx 	:am@:\
     5         kx 	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
     5         kx 	:tc=z340:
     5         kx 
     5         kx # expect-5.44.1.15/example/tkterm
     5         kx # a minimal subset of a vt100 (compare with "news-unk).
     5         kx #
     5         kx # The missing "=" in smkx is not a typo (here), but an error in tkterm.
     5         kx tt|tkterm|Don Libes' tk text widget terminal emulator:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%d;%dH:cr=\r:do=\n:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
     5         kx 	:ke=\E[?1l\E>:ks=\E[?1h\E:le=^H:nd=\E[C:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:up=\E[A:
     5         kx 
     5         kx ######## APPLE
     5         kx 
     5         kx #### Terminal.app
     5         kx 
     5         kx # nsterm*|Apple_Terminal - AppKit Terminal.app
     5         kx #
     5         kx # Terminal.app is a Terminal emulator bundled with NeXT's NeXTSTEP and
     5         kx # OPENSTEP/Mach operating systems, and with Apple's Rhapsody, Mac OS X
     5         kx # Server and Mac OS X operating systems. There is also a
     5         kx # "terminal.app" in GNUstep, but I believe it to be an unrelated
     5         kx # codebase and I have not attempted to describe it here.
     5         kx #
     5         kx # For NeXTSTEP, OPENSTEP/Mach, Rhapsody and Mac OS X Server 1.0, you
     5         kx # are pretty much on your own. Use "nsterm-7-m" and hope for the best.
     5         kx # You might also try "nsterm-7" and "nsterm-old" if you suspect your
     5         kx # version supports color.
     5         kx #
     5         kx # To determine the version of Terminal.app you're using by running:
     5         kx #
     5         kx #     echo "$TERM_PROGRAM" "$TERM_PROGRAM_VERSION"
     5         kx #
     5         kx # For Apple_Terminal v309+, use "nsterm-256color" (or "nsterm-bce")
     5         kx #
     5         kx # For Apple_Terminal v200+, use "nsterm-16color" (a.k.a. "nsterm")
     5         kx #
     5         kx # For Apple_Terminal v71+/v100+, use "nsterm-bce".
     5         kx #
     5         kx # For Apple_Terminal v51+, use "nsterm-7-c" or "nsterm-7-c-s".
     5         kx #
     5         kx # For Apple_Terminal v41+, use "nsterm-old", or "nsterm-s".
     5         kx #
     5         kx # For all earlier versions (Apple_Terminal), try "nsterm-7-m"
     5         kx # (monochrome) or "nsterm-7" (color); "nsterm-7-m-s" and "nsterm-7-s"
     5         kx # might work too, but really you're on your own here since these
     5         kx # systems are very obsolete and I can't test them. I do welcome
     5         kx # patches, though :).
     5         kx 
     5         kx # Other Terminals:
     5         kx #
     5         kx # For GNUstep_Terminal, you're probably best off using "linux" or
     5         kx # writing your own terminfo.
     5         kx 
     5         kx # For MacTelnet, you're on your own. It's a different codebase, and
     5         kx # seems to be somewhere between "vt102", "ncsa" and "xterm-color".
     5         kx 
     5         kx # For iTerm.app, see "iterm".
     5         kx 
     5         kx #
     5         kx # The AppKit Terminal.app descriptions all have names beginning with
     5         kx # "nsterm". Note that the statusline (-s) versions use the window
     5         kx # titlebar as a phony status line, and may produce warnings during
     5         kx # compilation as a result ("tsl uses 0 parameters, expected 1".)
     5         kx # Ignore these warnings, or even ignore these entries entirely. Apps
     5         kx # which need to position the cursor or do other fancy stuff inside the
     5         kx # status line won't work with these entries. They're primarily useful
     5         kx # for programs like Pine which provide simple notifications in the
     5         kx # status line. Please note that non-ASCII characters don't work right
     5         kx # in the status line, since Terminal.app incorrectly interprets their
     5         kx # Unicode codepoints as MacRoman codepoints (in earlier Mac OS X
     5         kx # versions) or only accepts status lines consisting entirely of
     5         kx # characters from the first 256 Unicode positions (including C1 but
     5         kx # not C0 or DEL.)
     5         kx #
     5         kx # The Mythology* of AppKit Terminal.app:
     5         kx #
     5         kx # In the days of NeXTSTEP 0.x and 1.x there were two incompatible
     5         kx # bundled terminal emulators, Shell and Terminal. Scott Hess wrote a
     5         kx # shareware replacement for Terminal called "Stuart" which NeXT bought
     5         kx # and used as the basis for the Terminal.app in NeXTSTEP 2+,
     5         kx # OPENSTEP/Mach, Apple Rhapsody, Mac OS X Server 1.0, and Mac OS X. I
     5         kx # don't know the TERM_PROGRAM and TERM_PROGRAM_VERSION settings or
     5         kx # capabilities for the early versions, but I believe that the
     5         kx # TERM_PROGRAM_VERSION may have been reset at some point.
     5         kx #
     5         kx # The early versions were tailored to the NeXT character set. Sometime
     5         kx # after the Apple acquisition the encoding was switched to MacRoman
     5         kx # (initially with serious altcharset bugs due to incomplete conversion
     5         kx # of the old NeXT code,) and then later to UTF-8. Also sometime during
     5         kx # or just prior to the early days of Mac OS X, the Terminal grew ANSI
     5         kx # 8-color support (initially buggy when combined with attributes, but
     5         kx # that was later fixed.) More recently, around Mac OS X version 10.3
     5         kx # or so (Terminal.app v100+) xterm-like 16-color support was added. In
     5         kx # some versions (for instance 133-1 which shipped with Mac OS X
     5         kx # version 10.4) this suffered from the <bce> bug, but that seems to
     5         kx # have been fixed in Mac OS X version 10.5 (Terminal.app v240.2+).
     5         kx #
     5         kx # In the early days of Mac OS X the terminal was fairly buggy and
     5         kx # would routinely crash under load. Many of these bugs seem to have
     5         kx # been fixed around Mac OS X version 10.3 (Terminal.app v100+) but
     5         kx # some may still remain. This change seems to correspond to
     5         kx # Terminal.app reporting "xterm-color" as $TERM rather than "vt100" as
     5         kx # it did previously.
     5         kx #
     5         kx # * This may correspond with what actually happened, but I don't
     5         kx #   know. It is based on guesswork, hearsay, private correspondence,
     5         kx #   my faulty memory, and the following online sources and references:
     5         kx #
     5         kx # [1] "Three Scotts and a Duane" by Simson L. Garfinkel
     5         kx # http://www.nextcomputers.org/NeXTfiles/Articles/NeXTWORLD/93.8/93.8.Dec.Community1.html
     5         kx #
     5         kx # [2] NeXTSTEP entry from Wikipedia, the free encyclopedia
     5         kx # https://secure.wikimedia.org/wikipedia/en/wiki/Nextstep
     5         kx #
     5         kx # * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
     5         kx #   "nsterm" to comply with the name length and case conventions and
     5         kx #   limitations of various software packages [notably Solaris terminfo
     5         kx #   and UNIX.] A single Apple_Terminal alias is retained for
     5         kx #   backwards-compatibility.
     5         kx #
     5         kx # * Added function key support (F1-F4). These only work in Terminal.app
     5         kx #   version 51, hopefully the capabilities won't cause problems for people
     5         kx #   using version 41.
     5         kx #
     5         kx # * Added "full color" (-c) entries which support the 16-color mode in
     5         kx #   version 51.
     5         kx #
     5         kx # * By default, version 51 uses UTF-8 encoding with broken altcharset
     5         kx #   support, so "ASCII" (-7) entries without altcharset support were
     5         kx #   added.
     5         kx 
     5         kx # nsterm - AppKit Terminal.app
     5         kx #
     5         kx # Apple's Mac OS X includes a Terminal.app derived from the old NeXT
     5         kx # Terminal.app. It is a partial VT100 emulation with some xterm-like
     5         kx # extensions. This terminfo was written to describe versions 41
     5         kx # (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
     5         kx # version 10.1) of Terminal.app.
     5         kx #
     5         kx # Terminal.app runs under the Mac OS X Quartz windowing system (and
     5         kx # other AppKit-supported windowing systems.)  On the Mac OS X machine I
     5         kx # use, the executable for Terminal.app is:
     5         kx # /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
     5         kx #
     5         kx # If you're looking for a description of the full-screen system
     5         kx # console which runs under Apple's Darwin operating system on PowerPC
     5         kx # platforms, see the "xnuppc" entry instead.
     5         kx #
     5         kx # There were no function keys in version 41. In version 51, there are
     5         kx # four working function keys (F1, F2, F3 and F4.) The function keys
     5         kx # are included in all of these entries.
     5         kx #
     5         kx # It does not support mouse pointer position reporting. Under some
     5         kx # circumstances the cursor can be positioned using option-click; this
     5         kx # works by comparing the cursor position and the selected position,
     5         kx # and simulating enough cursor-key presses to move the cursor to the
     5         kx # selected position. This technique fails in all but the simplest
     5         kx # applications.
     5         kx #
     5         kx # It provides partial ANSI color support (background colors interacted
     5         kx # badly with bold in version 41, though, as reflected in :ncv:.) The
     5         kx # monochrome (-m) entries are useful if you've disabled color support
     5         kx # or use a monochrome monitor. The full color (-c) entries are useful
     5         kx # in version 51, which doesn't exhibit the background color bug. They
     5         kx # also enable an xterm-compatible 16-color mode.
     5         kx #
     5         kx # The configurable titlebar is set using xterm-compatible sequences;
     5         kx # it is used as a status bar in the statusline (-s) entries. Its width
     5         kx # depends on font sizes and window sizes, but 50 characters seems to
     5         kx # be the default for an 80x24 window.
     5         kx #
     5         kx # The MacRoman character encoding is used for some of the alternate
     5         kx # characters in the "MacRoman" entries; the "ASCII" (-7) entries
     5         kx # disable alternate character set support entirely, and the "VT100"
     5         kx # (-acs) entries rely instead on Terminal.app's own buggy VT100
     5         kx # graphics emulation, which seems to think the character encoding is
     5         kx # the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
     5         kx # are useful in Terminal.app version 51, which supports UTF-8 and
     5         kx # other ASCII-compatible character encodings but does not correctly
     5         kx # implement VT100 graphics; once VT100 graphics are correctly
     5         kx # implemented in Terminal.app, the "VT100" (-acs) entries should be
     5         kx # usable in any ASCII-compatible character encoding [except perhaps
     5         kx # in UTF-8, where some experts argue for disallowing alternate
     5         kx # characters entirely.]
     5         kx #
     5         kx # Terminal.app reports "vt100" as the terminal type, but exports
     5         kx # several environment variables which may aid detection in a shell
     5         kx # profile (i.e. .profile or .login):
     5         kx #
     5         kx # TERM=vt100
     5         kx # TERM_PROGRAM=Apple_Terminal
     5         kx # TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
     5         kx # TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
     5         kx #
     5         kx # For example, the following Bourne shell script would detect the
     5         kx # correct terminal type:
     5         kx #
     5         kx # if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
     5         kx # then
     5         kx #     export TERM
     5         kx #     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
     5         kx #     then
     5         kx #         TERM="nsterm-old"
     5         kx #     else
     5         kx #         TERM="nsterm-c-7"
     5         kx #     fi
     5         kx # fi
     5         kx #
     5         kx # In a C shell derivative, this would be accomplished by:
     5         kx #
     5         kx # if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
     5         kx #     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
     5         kx #          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
     5         kx #              setenv TERM "nsterm-old"
     5         kx #          else
     5         kx #              setenv TERM "nsterm-c-7"
     5         kx #          endif
     5         kx #     endif
     5         kx # endif
     5         kx 
     5         kx # The '+' entries are building blocks
     5         kx nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset:\
     5         kx 	:am:bw:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:@8=\EOM:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:do=\n:ho=\E[H:\
     5         kx 	:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=vt100+enq:tc=vt100+pfkeys:
     5         kx 
     5         kx nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:eA=\E(B\E)0:me=\E[0m:tc=nsterm+7:
     5         kx 
     5         kx nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset:\
     5         kx 	:ac=+\335,\334-\366.\3770#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245:\
     5         kx 	:ae=^O:as=^N:eA=\E(B\E)0:me=\E[0m:tc=nsterm+7:
     5         kx 
     5         kx # compare with xterm+sl-twm
     5         kx nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support:\
     5         kx 	:ws#50:tc=xterm+sl-twm:
     5         kx 
     5         kx nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors):\
     5         kx 	:op=\E[0m:tc=ibm+16color:
     5         kx 
     5         kx nsterm+c41|AppKit Terminal.app v41 color support:\
     5         kx 	:Co#8:NC#37:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:
     5         kx 
     5         kx # These are different combinations of the building blocks
     5         kx 
     5         kx # ASCII charset (-7)
     5         kx nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome):\
     5         kx 	:tc=nsterm+7:
     5         kx 
     5         kx nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+7:
     5         kx 
     5         kx nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color):\
     5         kx 	:tc=nsterm+c41:tc=nsterm+7:
     5         kx 
     5         kx nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color):\
     5         kx 	:tc=nsterm+c:tc=nsterm+7:
     5         kx 
     5         kx nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+7:
     5         kx 
     5         kx nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+7:
     5         kx 
     5         kx # VT100 alternate-charset (-acs)
     5         kx nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome):\
     5         kx 	:tc=nsterm+acs:
     5         kx 
     5         kx nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+acs:
     5         kx 
     5         kx nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color):\
     5         kx 	:tc=nsterm+c41:tc=nsterm+acs:
     5         kx 
     5         kx nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color):\
     5         kx 	:tc=nsterm+c:tc=nsterm+acs:
     5         kx 
     5         kx nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+acs:
     5         kx 
     5         kx nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+acs:
     5         kx 
     5         kx # MacRoman charset
     5         kx nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome):\
     5         kx 	:tc=nsterm+mac:
     5         kx 
     5         kx nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+mac:
     5         kx 
     5         kx nsterm-old|AppKit Terminal.app v41+ w/MacRoman charset (color):\
     5         kx 	:tc=nsterm+c41:tc=nsterm+mac:
     5         kx 
     5         kx nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color):\
     5         kx 	:tc=nsterm+c:tc=nsterm+mac:
     5         kx 
     5         kx nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+mac:
     5         kx 
     5         kx nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline):\
     5         kx 	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+mac:
     5         kx 
     5         kx # In Mac OS X version 10.5 the format of the preferences has changed
     5         kx # and a new, more complex technique is needed, e.g.,
     5         kx #
     5         kx #       python -c 'import sys,objc;NSUserDefaults=objc.lookUpClass(
     5         kx #       "NSUserDefaults");ud=NSUserDefaults.alloc();
     5         kx #       ud.init();prefs=ud.persistentDomainForName_(
     5         kx #       "com.apple.Terminal");prefs["Window Settings"][
     5         kx #       prefs["Default Window Settings"]]["TerminalType"
     5         kx #       ]=sys.argv[1];ud.setPersistentDomain_forName_(prefs,
     5         kx #       "com.apple.Terminal")' nsterm-16color
     5         kx #
     5         kx # and it is still not settable from the preferences dialog. This is
     5         kx # tracked under rdar://problem/7365108 and rdar://problem/7365134
     5         kx # in Apple's bug reporter.
     5         kx #
     5         kx # In OS X 10.5 (Leopard) the TERM which can be set in the preferences dialog
     5         kx # defaults to xterm-color.  Alternative selections are ansi, dtterm, rxvt,
     5         kx # vt52, vt100, vt102 and xterm.
     5         kx nsterm-16color|AppKit Terminal.app v240.2+ with Mac OS X version 10.5:\
     5         kx 	:NP:bw@:mi:\
     5         kx 	:@7=\E[F:DC=\E[%dP:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
     5         kx 	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[22~:\
     5         kx 	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:ch=\E[%i%dG:cv=\E[%i%dd:\
     5         kx 	:dc=\E[P:ei=\E[4l:ic=\E[@:im=\E[4h:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kh=\E[H:te=\E[2J\E[?47l\E8:\
     5         kx 	:ti=\E7\E[?47h:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=nsterm-c-s-acs:
     5         kx 
     5         kx # The versions of Terminal.app in Mac OS X version 10.3.x seem to have
     5         kx # the background color erase feature. The newer version 240.2 in Mac OS X
     5         kx # version 10.5 does not.
     5         kx #
     5         kx # This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
     5         kx # and D P Schreber comparing to nsterm-c-s-acs.
     5         kx #
     5         kx # In Mac OS X version 10.4 and earlier, D P Schreber notes that $TERM
     5         kx # can be set in Terminal.app, e.g.,
     5         kx #
     5         kx #	defaults write com.apple.Terminal TermCapString nsterm-bce
     5         kx #
     5         kx # and that it is not set in Terminal's preferences dialog.
     5         kx #
     5         kx # Modified for OS X 10.8, omitting bw based on testing with tack -TD
     5         kx #
     5         kx # Notes:
     5         kx # * The terminal description matches the default settings.
     5         kx # * The keyboard is configurable via a dialog.
     5         kx # * By default khome, kend, knext and kprev are honored only with a
     5         kx #   shift-modifier.
     5         kx # * There are bindings for control left/right arrow (but not up/down).
     5         kx #   Added those to nsterm-16color, which is the version used for OS X 10.6
     5         kx # * "Allow VT100 application keypage mode" is by default disabled.
     5         kx #   There is no way to press keypad-comma unless application mode is enabled
     5         kx #   and used.
     5         kx # * 132-column mode stopped working during vttest's tests.  Consider it broken.
     5         kx # * CHT, REP, SU, SD are buggy.
     5         kx # * ECH works (also in Leopard), but is not used here for compatibility.
     5         kx # * The terminal preferences dialog replaces xterm-color by xterm-16color and
     5         kx #   xterm-256color.  However, it adds "nsterm", so it is possible to use the
     5         kx #   nsterm entry from this file to override the MacPorts (20110404) or
     5         kx #   system (20081102) copy of this file.
     5         kx # + In OS X 10.8 (Mountain Lion) the TERM which can be set in the preferences
     5         kx #   dialog defaults to xterm-256color.  Alternative selections are ansi,
     5         kx #   dtterm, rxvt, vt52, vt100, vt102, xterm and xterm-16color.  However,
     5         kx #   the menu says "Declare terminal as" without promising to actually emulate
     5         kx #   the corresponding terminals.  Indeed, changing TERM does not affect the
     5         kx #   emulation itself.  This means that
     5         kx #   + the function-keys do not match for dtterm for kf1-kf4 as well as
     5         kx #     khome/kend
     5         kx #   + the color model is the same for each setting of TERM (does not match
     5         kx #     ansi or dtterm).
     5         kx #   + the shift/control/meta key modifiers from rxvt and xterm variants are not
     5         kx #     recognised except for a few special cases, i.e., kRIT5 and kLFT5.
     5         kx #   + the vt52 emulation does not give a usable shell because screen-clearing
     5         kx #     does not work as expected.
     5         kx #   + selecting "xterm" or "xterm-16color" sets TERM to "xterm-256color".
     5         kx # + OSX 10.9 (Yosemite) added more extended keys in the default configuration
     5         kx #   as well as unmasking F10 (which had been used in the window manager). Those
     5         kx #   keys are listed in this entry.
     5         kx nsterm-bce|AppKit Terminal.app v71+/v100.1.8+ with Mac OS X version 10.3/10.4 (bce):\
     5         kx 	:ut:tc=nsterm-16color:
     5         kx 
     5         kx # This is tested with OS X 10.8 (Mountain Lion), 2012/08/11
     5         kx #	TERM_PROGRAM_VERSION=309
     5         kx # Earlier reports state that these differences also apply to OS X 10.7 (Lion),
     5         kx #	TERM_PROGRAM_VERSION=303
     5         kx nsterm-build309|Terminal.app in OS X 10.8:\
     5         kx 	:tc=xterm+256setaf:tc=nsterm-bce:
     5         kx 
     5         kx # removed bogus kDC7 -TD
     5         kx nsterm-build326|Terminal.app in OS X 10.9:\
     5         kx 	:#4=\E[1;2D:%i=\E[1;2C:*4=\E[3;2~:F8=\E[32~:kB=\E[Z:\
     5         kx 	:tc=nsterm-build309:
     5         kx 
     5         kx # actually "343.7"
     5         kx nsterm-build343|Terminal.app in OS X 10.10:\
     5         kx 	:@7=\EOF:kh=\EOH:tc=nsterm-build326:
     5         kx 
     5         kx # reviewed Terminal.app in El Capitan (version 2.6 build 361) -TD
     5         kx # Using vttest:
     5         kx # + no vt52 mode for cursor keys, though vt52 screen works in vttest
     5         kx # + f1-f4 map to pf1-pf4
     5         kx # + no vt220 support aside from DECTCEM and ECH
     5         kx # + there are no protected areas.  Forget about anything above vt220.
     5         kx # + in ECMA-48 cursor movement, VPR and HPR fail.  Others work.
     5         kx # + vttest color 11.6.4 and 11.6.5 (bce for ED/EL and ECH/indexing) are bce
     5         kx # + but bce fails for 11.6.7.2 (test repeat).
     5         kx # + SD (11.6.7.3) also fails, but SL/SR/SU work.
     5         kx # + 11.6.6 (test insert/delete char/line with bce) has several failures.
     5         kx # + normal (not X10 or Highlight tracking) mouse now works.
     5         kx # + mouse any-event works
     5         kx # + mouse button-event works
     5         kx # + in alternate screen:
     5         kx #   mode 47/48 work
     5         kx #   mode 1047 fails to restore cursor position (do not use)
     5         kx #   mode 1049 fails to restore screen contents (do not use)
     5         kx # + dtterm window-modify operations work (some messages are not printed)
     5         kx # + dtterm window-report gives size of window in characters/pixels as
     5         kx #   well as state of window.
     5         kx # Using tack:
     5         kx # + there is no difference between cnorm/cvvis
     5         kx # + has dim/invis/blink (no protect of course)
     5         kx # + most function keys with shift/control modifiers give beep
     5         kx #   (user can configure, but out-of-the-box is what I record)
     5         kx # + shift-F5 is \E[25~ through shift-F12 is \E[34~ (skips \E[30~ between
     5         kx #   F8 and F9).
     5         kx # + kLFT5/kRIT5 work, but not up/down with control-modifier
     5         kx # + kLFT/kRIT work, but not up/down with shift-modifier
     5         kx # + there are a few predefined bindings with Alt, but no clear pattern.
     5         kx # + uses alt-key as UTF-8 "meta" something like xterm altSendsEscape
     5         kx # Using ncurses test-program with xterm-new:
     5         kx # + no italics
     5         kx # Using xterm's scripts:
     5         kx # + palette for 256-colors is hardcoded.
     5         kx # + no support for "dynamic colors"
     5         kx # + no support for tcap-query.
     5         kx nsterm-build361|Terminal.app in OS X 10.11:\
     5         kx 	:Km=\E[M:tc=nsterm-build343:
     5         kx 
     5         kx # reviewed Terminal.app in High Sierra (version 2.8 build 400) -TD
     5         kx # Comparing with build361, little has changed, except that italics work.
     5         kx # Direct-color is not supported, by the way.
     5         kx #
     5         kx # Improved rmso/rmul -TD
     5         kx nsterm-build400|Terminal.app in OS X 10.13:\
     5         kx 	:se=\E[27m:ue=\E[24m:tc=xterm+sm+1006:tc=ecma+italics:\
     5         kx 	:tc=nsterm-build361:
     5         kx 
     5         kx # This is an alias which should always point to the "current" version
     5         kx nsterm|nsterm-256color|Apple_Terminal|AppKit Terminal.app:\
     5         kx 	:tc=nsterm-build400:
     5         kx 
     5         kx #### iTerm, iTerm2
     5         kx 
     5         kx # iTerm 0.10
     5         kx #
     5         kx # iTerm.app from http://iterm.sourceforge.net/ is an alternative (and more
     5         kx # featureful) terminal emulator for Mac OS X.  It is similar enough in
     5         kx # capabilities to nsterm-16color that I have derived this description from that
     5         kx # one, but as far as I know they share no code.  Many of the features are
     5         kx # user-configurable, but I attempt only to describe the default configuration
     5         kx # (B. Sittler).
     5         kx #
     5         kx # According to its documentation, iTerm uses terminfo to obtain function key
     5         kx # definitions.  For example, if it is started with TERM=xterm, it uses key
     5         kx # definitions from that terminal description from the local OSX machine.  Those
     5         kx # $TERM settings may be augmented using the bookmark and profile dialogs.
     5         kx # However, the behavior seen with tack does not agree with either the terminfo
     5         kx # description or the function keys in its "xterm" profile.
     5         kx #
     5         kx # NOTES:
     5         kx # with vttest:
     5         kx #	reports primary DA as VT100 with AVO: \E[?1;2c
     5         kx #	reports secondary DA as "\E[>0;95;c"
     5         kx #	supports blink and underline
     5         kx #	displays bold text as red
     5         kx #	recognizes all dtterm controls for modifying/querying window
     5         kx #	resizing via escape sequence is very slow
     5         kx #	supports X11R5 mouse (no X10) and XFree86 mouse (button- and event-tracking)
     5         kx #	supports X11R5 alternate screen and XFree86 1049 (no 1047/1048)
     5         kx #	supports CHA, VPA, VPR, but no other ECMA-48 cursor movement such as HPA
     5         kx # with tack:
     5         kx #	.
     5         kx # with ncurses test-program:
     5         kx #	ncurses 'k' has problem in second screen; light background does not fill
     5         kx # with xterm scripts
     5         kx #	can display/alter xterm-256color cube
     5         kx #	can display/alter xterm-88color cube
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx iTerm.app|iterm|iTerm.app terminal emulator for Mac OS X:\
     5         kx 	:NP:am:hs:mi:ms:ut:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#50:\
     5         kx 	:#4=\E[1;2D:%i=\E[1;2C:@7=\EOF:@8=\EOM:AL=\E[%dL:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
     5         kx 	:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:\
     5         kx 	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:op=\E[0m:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
     5         kx 	:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
     5         kx 	:ve=\E[?25h:vi=\E[?25l:tc=ansi+enq:tc=xterm+sl-twm:\
     5         kx 	:tc=vt100+keypad:tc=xterm+x11mouse:tc=xterm+256setaf:
     5         kx 
     5         kx # iTerm2 3.0.15
     5         kx #
     5         kx # https://www.iterm2.com/
     5         kx # https://github.com/gnachman/iTerm2
     5         kx # ~/Library/Preferences/com.googlecode.iterm2.plist
     5         kx # "iTerm" stalled in 2009.  A different set of developers began "iTerm2".
     5         kx #
     5         kx # NOTES:
     5         kx # with vttest:
     5         kx #	reports primary DA as VT100 with AVO: \E[?1;2c
     5         kx #	reports secondary DA as "\E[>0;95;0c"
     5         kx #	numeric keypad application mode does not work
     5         kx #	by default, dtterm window-modifications are ignored
     5         kx #	by default, dtterm window-reports return, but icon as "L", window as "l"
     5         kx #	supports SD/SU, no REP, SL, SR
     5         kx #	supports CBT, CHA, VPA, CNL, CPL, VPR (no HPA, CHT, HPR)
     5         kx #	no improvement to XFree86 1047/1048 modes
     5         kx # with tack:
     5         kx #	in meta-mode, imitates xterm, sending UTF-8
     5         kx #	special-key modifiers based on xterm use incompatible default for alt/meta
     5         kx # with ncurses test-program:
     5         kx #	no italics
     5         kx #	no improvement to ncurses 'k'
     5         kx # with xterm scripts:
     5         kx #	acolors.sh works
     5         kx #
     5         kx # Italic text did not work initially, apparently because upgrading did not
     5         kx # add/change that preference (set in Preferences, Profiles, Text).  A new
     5         kx # install of iTerm 3.0.15 provides italics by default (blinking text is an
     5         kx # option in the preferences dialog).
     5         kx #
     5         kx # 2018/01/21: found xterm+sm+1006 did not work with version 3.1.5
     5         kx # 2018/05/19: xterm+sm+1006 seems to work with 3.1.6beta -TD
     5         kx iTerm2.app|iterm2|terminal emulator for Mac OS X:\
     5         kx 	:#2=\E[1;2H:*7=\E[1;2F:@8@:F3=\E[1;2P:F4=\E[1;2Q:\
     5         kx 	:F5=\E[1;2R:F6=\E[1;2S:F7=\E[15;2~:F8=\E[17;2~:\
     5         kx 	:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
     5         kx 	:FD=\E[23;2~:FE=\E[24;2~:K1@:K2@:K3@:K4@:K5@:bt=\E[Z:k2=\EOQ:\
     5         kx 	:kF=\E[1;2B:kR=\E[1;2A:mb=\E[5m:mh=\E[2m:nw=\EE:\
     5         kx 	:op=\E[39;49m:rs=\E[!p\E[?3;4l\E[4l\E>\E[?1000l:\
     5         kx 	:se=\E[27m:ue=\E[24m:tc=ecma+index:tc=xterm+alt+title:\
     5         kx 	:tc=ecma+italics:tc=iterm:
     5         kx 
     5         kx # xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
     5         kx #
     5         kx # On PowerPC platforms, Apple's Darwin operating system uses a
     5         kx # full-screen system console derived from a NetBSD framebuffer
     5         kx # console. It is an ANSI-style terminal, and is not really VT-100
     5         kx # compatible.
     5         kx #
     5         kx # Under Mac OS X, this is the system console driver used while in
     5         kx # single-user mode [reachable by holding down Command-S during the
     5         kx # boot process] and when logged in using console mode [reachable by
     5         kx # typing ">console" at the graphical login prompt.]
     5         kx #
     5         kx # If you're looking for a description of the Terminal.app terminal
     5         kx # emulator which runs under the Mac OS X Quartz windowing system (and
     5         kx # other AppKit-supported windowing systems,) see the "nsterm"
     5         kx # entry instead.
     5         kx #
     5         kx # NOTE: Under Mac OS X version 10.1, the default login window does not
     5         kx # prompt for user name, instead requiring an icon to be selected from
     5         kx # a list of known users. Since the special ">console" login is not in
     5         kx # this list, you must make one of two changes in the Login Window
     5         kx # panel of the Login section of System Prefs to make the special
     5         kx # ">console" login accessible. The first option is to enable 'Show
     5         kx # "Other User" in list for network users', which will add a special
     5         kx # "Other..." icon to the graphical login panel. Selecting "Other..."
     5         kx # will present the regular graphical login prompt. The second option
     5         kx # is to change the 'Display Login Window as:' setting to 'Name and
     5         kx # password entry fields', which replaces the login panel with a
     5         kx # graphical login prompt.
     5         kx #
     5         kx # There are no function keys, at least not in Darwin 1.3.
     5         kx #
     5         kx # It has no mouse support.
     5         kx #
     5         kx # It has full ANSI color support, and color combines correctly with
     5         kx # all three supported attributes: bold, inverse-video and underline.
     5         kx # However, bold colored text is almost unreadable (bolding is
     5         kx # accomplished using shifting and or-ing, and looks smeared) so bold
     5         kx # has been excluded from the list of color-compatible attributes
     5         kx # [using (ncv)]. The monochrome entry (-m) is useful if you use a
     5         kx # monochrome monitor.
     5         kx #
     5         kx # There is one serious bug with this terminal emulation's color
     5         kx # support: repositioning the cursor onto a cell with non-matching
     5         kx # colors obliterates that cell's contents, replacing it with a blank
     5         kx # and displaying a colored cursor in the "current" colors. There is
     5         kx # no complete workaround at present [other than using the monochrome
     5         kx # (-m) entries,] but removing the (msgr) capability seemed to help.
     5         kx #
     5         kx # The "standout" chosen was simple reverse-video, although a colorful
     5         kx # standout might be more aesthetically pleasing. Similarly, the bold
     5         kx # chosen is the terminal's own smeared bold, although a simple
     5         kx # color-change might be more readable. The color-bold (-b) entries
     5         kx # uses magenta colored text for bolding instead. The fancy color (-f
     5         kx # and -f2) entries use color for bold, standout and underlined text
     5         kx # (underlined text is still underlined, though.)
     5         kx #
     5         kx # Apparently the terminal emulator does support a VT-100-style
     5         kx # alternate character set, but all the alternate character set
     5         kx # positions have been left blank in the font. For this reason, no
     5         kx # alternate character set capabilities have been included in this
     5         kx # description. The console driver appears to be ASCII-only, so (enacs)
     5         kx # has been excluded [although the VT-100 sequence does work.]
     5         kx #
     5         kx # The default Mac OS X and Darwin installation reports "vt100" as the
     5         kx # terminal type, and exports no helpful environment variables. To fix
     5         kx # this, change the "console" entry in /etc/ttys from "vt100" to
     5         kx # "xnuppc-WxH", where W and H are the character dimensions of your
     5         kx # console (see below.)
     5         kx #
     5         kx # The font used by the terminal emulator is apparently one originally
     5         kx # drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
     5         kx # file includes descriptions for the following geometries:
     5         kx #
     5         kx #     Pixels        Characters   Entry Name (append -m for monochrome)
     5         kx #    -------------------------------------------------------------------
     5         kx #     640x400       80x25        xnuppc-80x25
     5         kx #     640x480       80x30        xnuppc-80x30
     5         kx #     720x480       90x30        xnuppc-90x30
     5         kx #     800x600       100x37       xnuppc-100x37
     5         kx #     896x600       112x37       xnuppc-112x37
     5         kx #     1024x640      128x40       xnuppc-128x40
     5         kx #     1024x768      128x48       xnuppc-128x48
     5         kx #     1152x768      144x48       xnuppc-144x48
     5         kx #     1280x1024     160x64       xnuppc-160x64
     5         kx #     1600x1024     200x64       xnuppc-200x64
     5         kx #     1600x1200     200x75       xnuppc-200x75
     5         kx #     2048x1536     256x96       xnuppc-256x96
     5         kx #
     5         kx # The basic "xnuppc" entry includes no size information, and the
     5         kx # emulator includes no reporting capability, so you'll be at the mercy
     5         kx # of the TTY device (which reports incorrectly on my hardware.) The
     5         kx # color-bold entries do not include size information.
     5         kx 
     5         kx # The '+' entries are building blocks
     5         kx xnuppc+basic|Darwin PowerPC Console basic capabilities:\
     5         kx 	:am:mi:ut:xn:\
     5         kx 	:it#8:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:do=\E[B:\
     5         kx 	:ds=\E]2;\007:ho=\E[H:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:md=\E[1m:\
     5         kx 	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=vt100+keypad:
     5         kx 
     5         kx xnuppc+c|Darwin PowerPC Console ANSI color support:\
     5         kx 	:Co#8:NC#32:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
     5         kx 
     5         kx xnuppc+b|Darwin PowerPC Console color-bold support:\
     5         kx 	:NC#32:\
     5         kx 	:md=\E[35m:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc+f|Darwin PowerPC Console fancy color support:\
     5         kx 	:NC#35:\
     5         kx 	:so=\E[33;44m:us=\E[36;4m:tc=xnuppc+b:
     5         kx 
     5         kx xnuppc+f2|Darwin PowerPC Console alternate fancy color support:\
     5         kx 	:NC#35:\
     5         kx 	:md=\E[33m:so=\E[31;47m:us=\E[34m:tc=xnuppc+basic:
     5         kx 
     5         kx # Building blocks for specific screen sizes
     5         kx xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels):\
     5         kx 	:co#80:li#25:
     5         kx 
     5         kx xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels):\
     5         kx 	:co#80:li#30:
     5         kx 
     5         kx xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels):\
     5         kx 	:co#90:li#30:
     5         kx 
     5         kx xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels):\
     5         kx 	:co#100:li#37:
     5         kx 
     5         kx xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels):\
     5         kx 	:co#112:li#37:
     5         kx 
     5         kx xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels):\
     5         kx 	:co#128:li#40:
     5         kx 
     5         kx xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels):\
     5         kx 	:co#128:li#48:
     5         kx 
     5         kx xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels):\
     5         kx 	:co#144:li#48:
     5         kx 
     5         kx xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels):\
     5         kx 	:co#160:li#64:
     5         kx 
     5         kx xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels):\
     5         kx 	:co#200:li#64:
     5         kx 
     5         kx xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels):\
     5         kx 	:co#200:li#75:
     5         kx 
     5         kx xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels):\
     5         kx 	:co#256:li#96:
     5         kx 
     5         kx # These are different combinations of the building blocks
     5         kx 
     5         kx xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome):\
     5         kx 	:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc|darwin|Darwin PowerPC Console (color):\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold):\
     5         kx 	:tc=xnuppc+b:
     5         kx 
     5         kx xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold):\
     5         kx 	:tc=xnuppc+b:tc=xnuppc+c:
     5         kx 
     5         kx xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome):\
     5         kx 	:tc=xnuppc+f:
     5         kx 
     5         kx xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color):\
     5         kx 	:tc=xnuppc+f:tc=xnuppc+c:
     5         kx 
     5         kx xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome):\
     5         kx 	:tc=xnuppc+f2:
     5         kx 
     5         kx xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color):\
     5         kx 	:tc=xnuppc+f2:tc=xnuppc+c:
     5         kx 
     5         kx # Combinations for specific screen sizes
     5         kx xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25:\
     5         kx 	:tc=xnuppc+80x25:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+80x25:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30:\
     5         kx 	:tc=xnuppc+80x30:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+80x30:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30:\
     5         kx 	:tc=xnuppc+90x30:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+90x30:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37:\
     5         kx 	:tc=xnuppc+100x37:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+100x37:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37:\
     5         kx 	:tc=xnuppc+112x37:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+112x37:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40:\
     5         kx 	:tc=xnuppc+128x40:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+128x40:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48:\
     5         kx 	:tc=xnuppc+128x48:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+128x48:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48:\
     5         kx 	:tc=xnuppc+144x48:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+144x48:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64:\
     5         kx 	:tc=xnuppc+160x64:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+160x64:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64:\
     5         kx 	:tc=xnuppc+200x64:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+200x64:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75:\
     5         kx 	:tc=xnuppc+200x75:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+200x75:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96:\
     5         kx 	:tc=xnuppc+256x96:tc=xnuppc+basic:
     5         kx 
     5         kx xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96:\
     5         kx 	:tc=xnuppc+c:tc=xnuppc+256x96:tc=xnuppc+basic:
     5         kx 
     5         kx ######## DOS/WINDOWS
     5         kx # CRT is shareware.  It implements some xterm features, including mouse.
     5         kx crt|crt-vt220|CRT 2.3 emulating VT220:\
     5         kx 	:ms:ut:\
     5         kx 	:NC@:\
     5         kx 	:st=\EH:tc=vt100+enq:tc=vt220:tc=ecma+color:
     5         kx 
     5         kx #### PuTTY
     5         kx # PuTTY 0.74 (27 June 2020)
     5         kx # http://www.chiark.greenend.org.uk/~sgtatham/putty/
     5         kx #
     5         kx # PuTTY 0.73 (September 2019)
     5         kx # Testing with tack:
     5         kx #	does not implement italics
     5         kx #	does not implement cross-out text
     5         kx #	its settings dialog allows some of the VT100 line-drawing tests to pass
     5         kx #	(not the padding test, though)
     5         kx # Testing with vttest:
     5         kx #	xterm mouse modes are incomplete: X10, highlight, any-event, and focus in/out modes are not implemented.
     5         kx #	does not implement protected areas
     5         kx #	does not implement SL/SR
     5         kx #
     5         kx # PuTTY 0.71 (March 2019) provided a workable "rep" capability.  It also
     5         kx # changed longstanding keypad assignments, so that these no longer apply:
     5         kx #	kLFT=\E[D, kRIT=\E[C, kb2=\E[G,
     5         kx #
     5         kx # PuTTY recognized xterm's 1006 mouse mode in late 2015; subsequent release was
     5         kx # in 2017 (0.70) -TD
     5         kx #
     5         kx # Comparing with 0.51, vttest is much better (only a few problems with the
     5         kx # cursor position reports and wrapping).
     5         kx #
     5         kx # PuTTY 0.51 (14 December 2000)
     5         kx #
     5         kx # This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
     5         kx # well as SCO and Atari, color palettes from Linux console).  Reading the code,
     5         kx # it is intended to be VT102 plus selected features.  By default, it sets $TERM
     5         kx # to xterm, which is incorrect, since several features are misimplemented:
     5         kx #
     5         kx #	Alt+key always sends ESC+key, so 'km' capability is removed.
     5         kx #
     5         kx #	Control responses, wrapping and tabs are buggy, failing a couple of
     5         kx #	screens in vttest.
     5         kx #
     5         kx #	xterm mouse support is not implemented (unreleased version may).
     5         kx #
     5         kx # Several features such as backspace/delete are optional; this entry documents
     5         kx # the default behavior.  None of the combinations of keyboard settings match
     5         kx # those used for xterm -TD
     5         kx #
     5         kx # PuTTY recognizes xterm's 1049 mode for switching to/from alternate screen,
     5         kx # but implements it incorrectly as mentioned here:
     5         kx #	http://stackoverflow.com/questions/24613237/terminal-retains-bg-color-after-closing-vim-using-color-scheme-and-putty-256co/37869114#37869114
     5         kx putty|PuTTY terminal emulator:\
     5         kx 	:am:bw:cc:mi:ms:ut:xn:xo:\
     5         kx 	:Co#8:NC#22:it#8:pa#64:\
     5         kx 	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
     5         kx 	:S2=\E[11m:S3=\E[10m:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
     5         kx 	:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R:\
     5         kx 	:kB=\E[Z:kD=\E[3~:kF=\E[B:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kR=\E[A:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\n:oc=\E]R:op=\E[39;49m:\
     5         kx 	:rc=\E8:rs=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l:\
     5         kx 	:s0=\E[10m:s1=\E[11m:s2=\E[12m:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:te=\E[2J\E[?47l:ti=\E[?47h:ue=\E[24m:\
     5         kx 	:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=ansi+tabs:tc=ansi+rep:tc=ecma+index:\
     5         kx 	:tc=xterm+sm+1006:tc=putty+fnkeys:tc=vt102+enq:\
     5         kx 	:tc=xterm+sl:tc=vt100+fnkeys:tc=putty+keypad:
     5         kx putty+keypad|PuTTY numeric keypad:
     5         kx 
     5         kx vt100-putty|Reset PuTTY to pure vt100:\
     5         kx 	:rs=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p:\
     5         kx 	:tc=vt100:
     5         kx putty-256color|PuTTY 0.58 with xterm 256-colors:\
     5         kx 	:tc=xterm+256setaf:tc=putty:
     5         kx putty-noapp|putty with cursor keys in normal mode:\
     5         kx 	:#4=\EOD:%i=\EOC:kF=\EOB:kR=\EOA:kd=\E[B:ke=\E>:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E=:ku=\E[A:tc=putty:
     5         kx 
     5         kx # One of the keyboard selections is "VT100+".
     5         kx # pterm (the X11 port) uses shifted F1-F10 as F11-F20
     5         kx putty-vt100|VT100+ keyboard layout:\
     5         kx 	:tc=putty+fnkeys+vt100:tc=putty:
     5         kx 
     5         kx putty-sco|putty with SCO function keys:\
     5         kx 	:tc=putty+fnkeys+sco:tc=putty:
     5         kx 
     5         kx # PuTTY has more than one section in its Keyboard configuration:
     5         kx # a) backspace/delete, which we ignore since that choice largely depends on
     5         kx #    whether one matches Unix and BSD or Linux.
     5         kx # b) home/end keys, also ignored because the "rxvt" setting sends keys which
     5         kx #    are unrelated to rxvt's actual settings.
     5         kx # c) function keys and keypad - this is the interesting part.  None of the
     5         kx #    selections match any of their respective namesakes, but they are shown
     5         kx #    here to help users who expect that the selections do what is implied.
     5         kx #
     5         kx # This is the default setting for PuTTY
     5         kx putty+fnkeys|fn-keys for PuTTY:\
     5         kx 	:tc=putty+fnkeys+esc:
     5         kx 
     5         kx putty+fnkeys+esc|ESC[n~ fn-keys for PuTTY:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:
     5         kx 
     5         kx putty+fnkeys+linux|Linux fn-keys for PuTTY:\
     5         kx 	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
     5         kx 	:tc=putty+fnkeys+esc:
     5         kx 
     5         kx putty+fnkeys+xterm|Xterm R6 fn-keys for PuTTY:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=putty+fnkeys+esc:
     5         kx 
     5         kx putty+fnkeys+vt400|VT400 fn-keys for PuTTY:\
     5         kx 	:tc=putty+fnkeys+esc:
     5         kx 
     5         kx # Shifted F1 is F11.  F13-F20 inherit from the defaults, and the last distinct
     5         kx # key is F20.
     5         kx putty+fnkeys+vt100|VT100+ fn-keys for PuTTY:\
     5         kx 	:F1=\EOZ:F2=\EO[:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
     5         kx 	:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:\
     5         kx 	:tc=putty+fnkeys+esc:
     5         kx 
     5         kx # Unlike xterm-sco, this leaves kmous ambiguous with kf1.
     5         kx #
     5         kx # Use modifiers to obtain function keys past 12:
     5         kx # F1-F12 - normal
     5         kx # F13-F24 - shift
     5         kx # F25-F36 - control/alt
     5         kx # F37-F48 - control/shift
     5         kx #
     5         kx putty+fnkeys+sco|SCO fn-keys for PuTTY:\
     5         kx 	:@1=\E[E:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F4=\E[Z:F5=\E[a:\
     5         kx 	:F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:\
     5         kx 	:FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:\
     5         kx 	:FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:FQ=\E[v:\
     5         kx 	:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:FV=\E[@:FW=\E[[:FX=\E[\\:\
     5         kx 	:FY=\E[]:FZ=\E[\136:Fa=\E[_:Fb=\E[`:Fc=\E[{:k1=\E[M:\
     5         kx 	:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
     5         kx 	:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx 
     5         kx #### mintty
     5         kx # https://github.com/mintty/mintty
     5         kx #
     5         kx # Originally a fork (and reduction) of PuTTY, this has grown from 15ksloc in
     5         kx # 2013 to 41ksloc in 2020.  That is still smaller than PuTTY (160ksloc), but
     5         kx # larger than rxvt (31ksloc) and slightly smaller than rxvt-unicode (42ksloc).
     5         kx #
     5         kx # Version 3.0 responds to DA as a VT400, however it does not implement the
     5         kx # application keypad.  The assignment of cursor-keys versus modifiers differs
     5         kx # from xterm (alt-left and alt-right send modifier 7, i.e., alt+control).
     5         kx #
     5         kx # Thomas Wolff suggested these extensions:
     5         kx #	blink2   turn on rapid blinking
     5         kx #	blink0   turn off blinking
     5         kx #	norm     turn off bold and half-bright mode
     5         kx #	opaq     turn off blank mode
     5         kx #	smul2    begin double underline mode
     5         kx #	smol     begin overline mode
     5         kx #	rmol     exit overline mode
     5         kx #	Font0    use default font
     5         kx #	Font1    use alternative font 1
     5         kx #	...
     5         kx #	Font10   use alternative font 10
     5         kx #	setal    set (under)line color
     5         kx #	ol       set default (under)line color
     5         kx #	overs    overstrike (print characters over each other)
     5         kx #
     5         kx # but see vte-2018 (use Smol/Rmol rather than smol/rmol).
     5         kx mintty|Cygwin Terminal:\
     5         kx 	:tc=xterm+256color:tc=mintty+common:
     5         kx mintty-direct|Cygwin Terminal direct-color:\
     5         kx 	:tc=xterm+direct:tc=mintty+common:
     5         kx mintty+common|shared capabilities for mintty:\
     5         kx 	:NP:km@:\
     5         kx 	:@8=\EOM:S2=\E[11m:S3=\E[10m:ZM=\E[1\:2m:ZN=\E[74m:\
     5         kx 	:ZO=\E[73m:ZU=\E[22m:ZV=\E[75m:ZW=\E[75m:kB=\E[Z:mm@:mo@:\
     5         kx 	:r1=\Ec\E]104\007:tc=ansi+rep:tc=ecma+strikeout:\
     5         kx 	:tc=ecma+index:tc=vt420+lrmm:tc=xterm+sm+1006:\
     5         kx 	:tc=xterm+pcfkeys:tc=xterm+tmux:tc=xterm-basic:
     5         kx # 2019-06-09: These capabilities are commented-out for compatibility with
     5         kx # existing releases 5.9-6.1, and may be considered for inclusion after the
     5         kx # release of ncurses 6.2:
     5         kx #	Font0=\E[10m,
     5         kx #	Font1=\E[11m,
     5         kx #	Font2=\E[12m,
     5         kx #	Font3=\E[13m,
     5         kx #	Font4=\E[14m,
     5         kx #	Font5=\E[15m,
     5         kx #	Font6=\E[16m,
     5         kx #	Font7=\E[17m,
     5         kx #	Font8=\E[18m,
     5         kx #	Font9=\E[19m,
     5         kx #	Font10=\E[20m,
     5         kx #	blink0=\E[25m,
     5         kx #	ol=\E[59m,
     5         kx #	overs=\E[8\:7m,
     5         kx 
     5         kx #### TeraTerm
     5         kx 
     5         kx # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
     5         kx # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
     5         kx # (communication program) which supports:
     5         kx #
     5         kx #	- Serial port connections.
     5         kx #	- TCP/IP (telnet) connections.
     5         kx #	- VT100 emulation, and selected VT200/300 emulation.
     5         kx #	- TEK4010 emulation.
     5         kx #	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
     5         kx #	  Quick-VAN).
     5         kx #	- Scripts using the "Tera Term Language".
     5         kx #	- Japanese and Russian character sets.
     5         kx #
     5         kx # The program does not come with terminfo or termcap entries.  However, the
     5         kx # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
     5         kx # vt52 or doublesize character support; blinking is done with color).  Besides
     5         kx # the HPA, VPA extensions it also implements CPL and CNL.
     5         kx #
     5         kx # All of the function keys can be remapped.  This description shows the default
     5         kx # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
     5         kx # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
     5         kx # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
     5         kx #	kfnd	Insert
     5         kx #	kslt	Delete
     5         kx #	kich1	Home
     5         kx #	kdch1	PageUp
     5         kx #	kpp	End
     5         kx #	knp	PageDown
     5         kx #
     5         kx # ANSI colors are implemented, but cannot be combined with video attributes
     5         kx # except for reverse.
     5         kx #
     5         kx # No fonts are supplied with the program, so the acsc string is chosen to
     5         kx # correspond with the default Microsoft terminal font.
     5         kx #
     5         kx # Tera Term recognizes some xterm sequences, including those for setting and
     5         kx # retrieving the window title, and for setting the window size (i.e., using
     5         kx # "resize -s"), though it does not pass SIGWINCH to the application if the
     5         kx # user resizes the window with the mouse.
     5         kx teraterm2.3|Tera Term Pro:\
     5         kx 	:km:\
     5         kx 	:NC#43:vt@:\
     5         kx 	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:al=\E[L:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cv=\E[%i%dd:dc=\E[P:dl=\E[M:ec=\E[%dX:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0m\017:mr=\E[7m:nd=\E[C:op=\E[100m:se=\E[27m:\
     5         kx 	:so=\E[7m:sr=\EM:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=vt100+enq:\
     5         kx 	:tc=klone+color:tc=vt100:
     5         kx 
     5         kx # Version 4.59 has regular vt100 line-drawing (so it is no longer necessary
     5         kx # to choose a Windows OEM font).
     5         kx #
     5         kx # Testing with tack:
     5         kx #	- it does not have xenl (suppress that)
     5         kx #	- underline seems to work with color (modify ncv).
     5         kx # Testing with vttest:
     5         kx #	- wrapping differs from vt100 (menu 1).
     5         kx #	- it recognizes xterm's X10 and normal mouse tracking, but none of the
     5         kx #	  other flavors.
     5         kx #	- it recognizes the dtterm window controls for reporting size in
     5         kx #	  characters and pixels.
     5         kx #	- it passes SIGWINCH.
     5         kx teraterm4.59|Tera Term Pro:\
     5         kx 	:ut:xn@:\
     5         kx 	:NC#41:\
     5         kx 	:Km=\E[M:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:tc=teraterm2.3:
     5         kx 
     5         kx # Version 4.97
     5         kx #
     5         kx # Testing with tack:
     5         kx #	- no bell (flash works)
     5         kx #	- bold is yellow, blink is red.
     5         kx #	- default keyboard sends ^? for Delete, can be configured for kdch1
     5         kx #	- no meta mode
     5         kx # Testing with vttest:
     5         kx #	+ autowrap has problems...
     5         kx #	+ color-tests for bce feature match xterm's behavior
     5         kx #	+ handles most of xterm's mouse-controls other than highlight-tracking.
     5         kx #	  xterm's SGR 1006 works.
     5         kx #	+ partial support for DEC locator-events
     5         kx #	+ implements ECMA-48 SD/SU, but not REP, SL/SR.
     5         kx #	+ has a "Tek" window, but does not work with vttest's examples
     5         kx #	+ supports the dtterm window modify/report controls
     5         kx #	+ responds to DECRQM and DECRQSS controls, but not consistent with DSR
     5         kx #	  e.g., for VT220
     5         kx #	+ VT220 screen-display tests are ok
     5         kx #	+ no VT52 support
     5         kx # Other tests:
     5         kx #	+ recognizes xterm's original direct-colors sequences, but result is
     5         kx #	  poor.
     5         kx #	+ no UTF-8 apparent when UTF-8 is set, with font Lucida Control
     5         kx teraterm4.97|Tera Term Pro:\
     5         kx 	:tc=ecma+color:tc=xterm+sm+1006:tc=teraterm4.59:
     5         kx teraterm-256color|TeraTerm with xterm 256-colors:\
     5         kx 	:tc=xterm+256setaf:tc=teraterm:
     5         kx 
     5         kx teraterm|Tera Term:\
     5         kx 	:tc=teraterm4.97:
     5         kx 
     5         kx #### Command prompt
     5         kx 
     5         kx # Tested with WinNT 4.0, the telnet application assumes the screensize is
     5         kx # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
     5         kx #
     5         kx # Other notes:
     5         kx # a) Fails tack's cup (cursor-addressing) test, though cup works well enough
     5         kx #    for casual (occasional) use.  Also fails several of the vttest screens,
     5         kx #    but that is not unusual for vt100 "emulators".
     5         kx # b) Does not implement vt100 keypad
     5         kx # c) Recognizes a subset of vt52 controls.
     5         kx ms-vt100|MS telnet imitating dec vt100:\
     5         kx 	:li#25:\
     5         kx 	:@8@:K1@:K2@:K3@:K4@:K5@:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:ct@:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:tc=vt102+enq:\
     5         kx 	:tc=vt100:
     5         kx 
     5         kx # Tested with Windows 2000, the telnet application runs in a console window,
     5         kx # also using 'Terminal' font.
     5         kx #
     5         kx # Other notes:
     5         kx # a) This version has no function keys or numeric keypad.  Unlike the older
     5         kx #    version, the numeric keypad is entirely ignored.
     5         kx # b) The program sets $TERM to "ansi", which of course is inaccurate.
     5         kx ms-vt100-color|vtnt|windows 2000 ansi (sic):\
     5         kx 	:ut:\
     5         kx 	:DC=\E[%dP:IC=\E[%d@:ei=:im=:tc=ecma+color:tc=ms-vt100:
     5         kx 
     5         kx # Based on comments from Federico Bianchi:
     5         kx #
     5         kx #	vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
     5         kx #	scheme for PF keys.
     5         kx #
     5         kx # and PuTTY wishlist:
     5         kx #
     5         kx #	The modifiers are represented as the codes listed above, prefixed to
     5         kx #	the normal sequences.  If the modifier is pressed alone, its sequence
     5         kx #	is transmitted twice in succession.  If multiple modifiers apply,
     5         kx #	they're transmitted in the order shift, control, alt.
     5         kx #
     5         kx #	Shift	\E^S
     5         kx #	Alt	\E^A,
     5         kx #	Ctrl	\E^C,
     5         kx ms-vt100+|vt100+|windows XP vt100+ (sic):\
     5         kx 	:@7=\Ek:F1=\E!:F2=\E@:F3=\E\023\E1:F4=\E\023\E2:\
     5         kx 	:F5=\E\023\E3:F6=\E\023\E4:F7=\E\023\E5:F8=\E\023\E6:\
     5         kx 	:F9=\E\023\E7:FA=\E\023\E8:FB=\E\023\E9:FC=\E\023\E0:\
     5         kx 	:FD=\E\023\E!:FE=\E\023\E@:FF=\E\003\E1:FG=\E\003\E2:\
     5         kx 	:FH=\E\003\E3:FI=\E\003\E4:FJ=\E\003\E5:FK=\E\003\E6:\
     5         kx 	:FL=\E\003\E7:FM=\E\003\E8:FN=\E\003\E9:FO=\E\003\E0:\
     5         kx 	:FP=\E\003\E!:FQ=\E\003\E@:FR=\E\001\E1:FS=\E\001\E2:\
     5         kx 	:FT=\E\001\E3:FU=\E\001\E4:FV=\E\001\E5:FW=\E\001\E6:\
     5         kx 	:FX=\E\001\E7:FY=\E\001\E8:FZ=\E\001\E9:Fa=\E\001\E0:\
     5         kx 	:Fb=\E\001\E!:Fc=\E\001\E@:k1=\E1:k2=\E2:k3=\E3:k4=\E4:\
     5         kx 	:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:k;=\E0:kD=\E-:kI=\E+:\
     5         kx 	:kN=\E/:kP=\E?:kh=\Eh:tc=ms-vt100-color:
     5         kx 
     5         kx ms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+:\
     5         kx 	:tc=ms-vt100+:
     5         kx 
     5         kx # Windows Terminal (Preview)
     5         kx # Windows 10 1903
     5         kx # Version 0.2.1831.0
     5         kx # https://github.com/microsoft/terminal
     5         kx #
     5         kx # The task manager shows this as "OpenConsole.exe", which differs
     5         kx # from the "Windows Command Processor" used for the command-prompt.
     5         kx #
     5         kx # The settings dialog does not work (unless the end user expects to open
     5         kx # profiles.json in Visual Studio).  There is no documentation, of course.
     5         kx #
     5         kx # Testing via an ssh connection, using openssh:
     5         kx # - the program sets TERM to cygwin if the tab is set to PowerShell,
     5         kx #   and to xterm-256color if "Legacy".  However, in the latter, more tests
     5         kx #   fail in vttest, which does not pay attention to TERM.
     5         kx # vttest:
     5         kx # - menu 1 (tests for cursor movement) misbehaves like command-prompt
     5         kx # - primary DA says this is a vanilla VT100
     5         kx # - does not flush response to primary DA, leaving a ^M on the end when
     5         kx #   the PowerShell tab is used.  Both the "Legacy" tab and the command-prompt
     5         kx #   work properly in this test.
     5         kx # - in the generic VT100 tests, there are problems with character sets
     5         kx #   (diamond shows as a double-width character, DEL as two replacement-chars).
     5         kx # - outside of the generic VT100 tests, the program does poorly because most
     5         kx #   of the features are missing.
     5         kx # - ECH does not work properly
     5         kx # - a few generic xterm features are supported (set window title), but
     5         kx #   others are missing (such as the mouse).
     5         kx # - the cursor visible/invisible works in the PowerShell tab, not in "Legacy"
     5         kx # tack:
     5         kx # - blink, dim, bold, invis, protect do not work
     5         kx # - bce works (but per vttest, with ED, EL, not ECH)
     5         kx # - does not support keypad application mode
     5         kx # - implements most of the xterm modified keys; sometimes modifiers are ignored
     5         kx #   or simply incorrect
     5         kx # - sends escape+key rather than implementing meta mode
     5         kx # other:
     5         kx # - color palette can be altered, but OSC 104 for resetting does not work
     5         kx # - crashed with a script used for testing NRCS.
     5         kx # - does not recognize either xterm+direct or xterm+indirect escapes.
     5         kx ms-terminal|Windows10 terminal:\
     5         kx 	:NP:\
     5         kx 	:ke=\E[?1l:ks=\E[?1h:mm@:mo@:tc=xterm+256setaf:\
     5         kx 	:tc=xterm+pcfkeys:tc=ansi+rep:tc=ecma+index:\
     5         kx 	:tc=xterm-basic:
     5         kx 
     5         kx #### Visual Studio
     5         kx # Visual Studio Code 1.45.0 uses xterm.js 12.8.1 (see https://xtermjs.org/).
     5         kx #
     5         kx # vttest:
     5         kx # - fixes menu 1 problem with wrapping
     5         kx # - supports DECALN
     5         kx # - fixes menu 8 problem with delete-character
     5         kx # - REP, SL/SL work
     5         kx # - keypad application mode still does not work; PF1-PF4 are not assigned.
     5         kx # - DECRQM/DECRPM do not work
     5         kx # - xterm mouse features:
     5         kx #   - SGR coordinates work; the other modes do not (see vscode #96058)
     5         kx #   - focus-events are not sent
     5         kx #   - mouse highlight tracking does not send button event
     5         kx # tack/other:
     5         kx # - little or no change since previous review
     5         kx #
     5         kx # Visual Studio Code 1.35.1 uses xterm.js (see https://xtermjs.org/).
     5         kx # https://code.visualstudio.com/docs/editor/integrated-terminal
     5         kx #
     5         kx # This sets TERM to xterm-256color, which is a little more successful than
     5         kx # Windows Terminal.
     5         kx #
     5         kx # vttest:
     5         kx # - menu 1 (cursor movement) has problems with wrapping
     5         kx # - claims to be a VT100 with AVO, but copies xterm #276's secondary response
     5         kx # - menu 8 (insert/delete char/line) has problem with delete-character
     5         kx # - like Windows Terminal, fails the ECH test: neither supports DECALN
     5         kx #   However, the bce test with ECH works.
     5         kx # - does not support keypad application mode
     5         kx # - supports most xterm mode controls (except DEC Locator Events)
     5         kx # - REP, SL/SL do not work, but SD/SU work.
     5         kx # - the alternate-screen tests fail because it does not support DECALN
     5         kx # - window modify/report is not supported
     5         kx # - supports some VT320 presentation reports
     5         kx # tack:
     5         kx # - does not support blinking text
     5         kx # - implements most of the xterm modified keys, with some exceptions:
     5         kx #   - pageup/pagedown do not send escapes
     5         kx #   - alt cursor left/right send escape-b and escape-f
     5         kx # - sends UTF-8 like xterm for meta mode
     5         kx # other:
     5         kx # - mouse mode is not reset by reset-sequence
     5         kx # - supports italics and dim, but not cross-out or double-underline
     5         kx # - color-palette cannot be changed
     5         kx vscode|xterm.js|Visual Studio Code terminal using xterm.js:\
     5         kx 	:NP:\
     5         kx 	:kB=\E[Z:ke=\E[?1l:ks=\E[?1h:tc=xterm+256setaf:\
     5         kx 	:tc=ecma+index:tc=xterm+sm+1006:tc=xterm+pcfkeys:\
     5         kx 	:tc=xterm-basic:
     5         kx vscode-direct|Visual Studio Code with direct-colors:\
     5         kx 	:tc=xterm+indirect:tc=vscode:
     5         kx 
     5         kx ######## X TERMINAL EMULATORS
     5         kx #### XTERM
     5         kx #
     5         kx # You can add the following line to your .Xdefaults to change the terminal type
     5         kx # set by the xterms you start up to my-xterm:
     5         kx #
     5         kx # *termName:  my-xterm
     5         kx #
     5         kx # System administrators can change the default entry for xterm instances
     5         kx # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
     5         kx # case, xterm will detect and reject an invalid terminal type, falling back
     5         kx # to the default of xterm.
     5         kx #
     5         kx 
     5         kx # X10/6.6	11/7/86, minus alternate screen, plus (csr)
     5         kx # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
     5         kx # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
     5         kx # as these seem not to work -- esr)
     5         kx x10term|vs100-x10|xterm terminal emulator (X10 window system):\
     5         kx 	:am:bs:km:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#65:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
     5         kx 	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:ho=\E[H:\
     5         kx 	:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:sr=\EM:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx # Compatible with the R5 xterm
     5         kx # (from the XFree86 3.2 distribution, <blink=@> removed)
     5         kx # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
     5         kx # corrected typos in rs2 string - TD
     5         kx # added u6-u9 -TD
     5         kx xterm-r5|xterm R5 version:\
     5         kx 	:am:bs:km:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:ho=\E[H:ic=\E[@:\
     5         kx 	:im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
     5         kx 	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:tc=vt100+enq:tc=xterm+kbs:
     5         kx # Compatible with the R6 xterm
     5         kx # (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
     5         kx # added khome/kend, hts based on the R6 xterm code - TD
     5         kx # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
     5         kx # for compatibility with other emulators).
     5         kx xterm-r6|xterm X11R6 version:\
     5         kx 	:am:bs:km:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
     5         kx 	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
     5         kx 	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
     5         kx 	:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
     5         kx 	:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=xterm+kbs:tc=vt100+enq:
     5         kx xterm-old|antique xterm version:\
     5         kx 	:tc=xterm-r6:
     5         kx # The monochrome version began as a copy of "xtermm" (from Solaris), and was
     5         kx # initially part of the xterm sources (in XFree86).  But "xterm" continued to
     5         kx # grow, while "xterm-mono" had none of the newer features.  Additionally,
     5         kx # inheriting from "xtermm" runs into several problems, including different
     5         kx # function keys as well as the fact that the mouse support is not compatible.
     5         kx # This entry restores the original intent, intentionally not an alias to
     5         kx # simplify maintenance -TD
     5         kx xterm-mono|monochrome xterm:\
     5         kx 	:tc=xterm-r6:
     5         kx # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
     5         kx # The name has been changed and some aliases have been removed.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
     5         kx 	:am:bs:km:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:\
     5         kx 	:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=xterm+kbs:tc=vt100+enq:tc=ecma+color:\
     5         kx 	:tc=vt220+keypad:
     5         kx 
     5         kx # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
     5         kx # codes for F1-F4 except while in VT220 mode.
     5         kx xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=xterm-xf86-v32:
     5         kx 
     5         kx # This version was released in XFree86 3.3.3 (November 1998).
     5         kx # Besides providing printer support, it exploits a new feature that allows
     5         kx # xterm to use terminfo-based descriptions with the titeInhibit resource.
     5         kx # -- the distribution contained incorrect khome/kend values -TD
     5         kx xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
     5         kx 	:*6@:@0@:ic@:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:mb=\E[5m:\
     5         kx 	:mk=\E[8m:r1=\Ec:r2=\E[!p\E[?3;4l\E[4l\E>:\
     5         kx 	:te=\E[?1047l\E[?1048l:ti=\E[?1048h\E[?1047h:\
     5         kx 	:tc=ansi+pp:tc=xterm-xf86-v33:
     5         kx 
     5         kx # This version was released in XFree86 4.0.
     5         kx xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
     5         kx 	:NP:\
     5         kx 	:#2=\EO5H:#3=\E[2;5~:#4=\EO5D:%c=\E[6;5~:%e=\E[5;5~:\
     5         kx 	:%i=\EO5C:*4=\E[3;5~:*7=\EO5F:@7=\EOF:F3=\EO2P:F4=\EO2Q:\
     5         kx 	:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
     5         kx 	:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:\
     5         kx 	:FE=\E[24;2~:FF=\EO5P:FG=\EO5Q:FH=\EO5R:FI=\EO5S:\
     5         kx 	:FJ=\E[15;5~:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:\
     5         kx 	:FN=\E[20;5~:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:\
     5         kx 	:FR=\EO6P:FS=\EO6Q:FT=\EO6R:FU=\EO6S:FV=\E[15;6~:\
     5         kx 	:FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
     5         kx 	:Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:K1@:K2=\EOE:K3@:K4@:\
     5         kx 	:K5@:kB=\E[Z:kD=\E[3~:kh=\EOH:tc=xterm+alt1049:\
     5         kx 	:tc=xterm-xf86-v333:
     5         kx 
     5         kx # This version was released in XFree86 4.3.
     5         kx xterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System):\
     5         kx 	:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:\
     5         kx 	:%i=\E[1;2C:*4=\E[3;2~:*7=\E[1;2F:@1@:tc=xterm-xf86-v40:
     5         kx 
     5         kx # This version was released in XFree86 4.4.
     5         kx xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System):\
     5         kx 	:ve=\E[?12l\E[?25h:vs=\E[?12;25h:tc=ecma+index:\
     5         kx 	:tc=xterm-xf86-v43:
     5         kx 
     5         kx xterm-xfree86|xterm terminal emulator (XFree86):\
     5         kx 	:tc=xterm-xf86-v44:
     5         kx 
     5         kx # This version reflects the current xterm features.
     5         kx xterm-new|modern xterm terminal emulator:\
     5         kx 	:NP:\
     5         kx 	:@8=\EOM:kB=\E[Z:tc=ecma+index:tc=ansi+rep:\
     5         kx 	:tc=ecma+strikeout:tc=xterm+keypad:tc=vt420+lrmm:\
     5         kx 	:tc=xterm+sm+1006:tc=xterm+pcfkeys:tc=xterm+tmux:\
     5         kx 	:tc=xterm-basic:
     5         kx 
     5         kx # This fragment is for people who cannot agree on what the backspace key
     5         kx # should send.
     5         kx xterm+kbs|fragment for backspace key:\
     5         kx 	:kb=^H:
     5         kx #
     5         kx # This fragment describes as much of XFree86 xterm's "pc-style" function
     5         kx # keys as will fit into terminfo's 60 function keys.
     5         kx # From ctlseqs.ms:
     5         kx #    Code     Modifiers
     5         kx #  ---------------------------------
     5         kx #     2       Shift
     5         kx #     3       Alt
     5         kx #     4       Shift + Alt
     5         kx #     5       Control
     5         kx #     6       Shift + Control
     5         kx #     7       Alt + Control
     5         kx #     8       Shift + Alt + Control
     5         kx #  ---------------------------------
     5         kx # The meta key may also be used as a modifier in this scheme, adding another
     5         kx # bit to the parameter.
     5         kx xterm+pcfkeys|fragment for PC-style fkeys:\
     5         kx 	:tc=xterm+app:tc=xterm+pcf2:tc=xterm+pcc2:tc=xterm+pce2:
     5         kx #
     5         kx xterm+noapp|fragment with cursor keys in normal mode:\
     5         kx 	:@7=\E[F:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx 
     5         kx xterm+app|fragment with cursor keys in application mode:\
     5         kx 	:@7=\EOF:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:
     5         kx #
     5         kx # The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
     5         kx # and revised in xterm patch #167 (2002/8/24).  Some other terminal emulators
     5         kx # copied the earlier scheme, as noted in the "use=" clauses in this file.
     5         kx #
     5         kx # The original assignments from patch #94 for cursor-keys had some technical
     5         kx # issues:
     5         kx #
     5         kx #	A parameter for a function-key to represent a modifier is just more
     5         kx #	bits.  But for a cursor-key it may change the behavior of the
     5         kx #	application.  For instance, emacs decodes the first parameter of a
     5         kx #	cursor-key as a repeat count.
     5         kx #
     5         kx #	A parameterized string should (really) not begin with SS3 (\EO).
     5         kx #	Rather, CSI (\E[) should be used.
     5         kx #
     5         kx # For these reasons, the original assignments were deprecated.  For
     5         kx # compatibility reasons, they are still available as a setting of xterm's
     5         kx # modifyCursorKeys resource.  These fragments list the modified cursor-keys
     5         kx # that might apply to xterm+pcfkeys with different values of that resource.
     5         kx #
     5         kx # These entries will have warnings when checking with tic because the kri/kind
     5         kx # capabilities duplicate the kUP/kDN extensions.  This is intentional, though
     5         kx # not part of the original plan.  The changes for xterm patch #206 (2005/11/3)
     5         kx # show that kri/kind were seen much later as part of a set including kLFT/kRIT:
     5         kx #
     5         kx #   * modify  xterm-new  terminfo  entry to use capabilities for shifted
     5         kx #     scroll forward/reverse as shifted cursor up/down.
     5         kx #
     5         kx # In the 1980s when terminfo was defined, the developers made more of
     5         kx # a distinction between shifted up/down versus shifted left/right since most
     5         kx # terminals can index (scroll up/down), while few can scroll left/right.
     5         kx xterm+pcc3|fragment with modifyCursorKeys=3:\
     5         kx 	:#4=\E[>1;2D:%i=\E[>1;2C:kF=\E[>1;2B:kR=\E[>1;2A:
     5         kx 
     5         kx xterm+pcc2|fragment with modifyCursorKeys=2:\
     5         kx 	:#4=\E[1;2D:%i=\E[1;2C:kF=\E[1;2B:kR=\E[1;2A:
     5         kx 
     5         kx xterm+pcc1|fragment with modifyCursorKeys=1:\
     5         kx 	:#4=\E[2D:%i=\E[2C:kF=\E[2B:kR=\E[2A:
     5         kx 
     5         kx xterm+pcc0|fragment with modifyCursorKeys=0:\
     5         kx 	:#4=\EO2D:%i=\EO2C:kF=\EO2B:kR=\EO2A:
     5         kx 
     5         kx #
     5         kx # Here are corresponding fragments from xterm patch #216:
     5         kx #
     5         kx xterm+pcf0|fragment with modifyFunctionKeys=0:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\EO2P:F4=\EO2Q:F5=\EO2R:F6=\EO2S:\
     5         kx 	:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:\
     5         kx 	:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:FE=\E[24;2~:\
     5         kx 	:FF=\EO5P:FG=\EO5Q:FH=\EO5R:FI=\EO5S:FJ=\E[15;5~:\
     5         kx 	:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:FN=\E[20;5~:\
     5         kx 	:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:FR=\EO6P:FS=\EO6Q:\
     5         kx 	:FT=\EO6R:FU=\EO6S:FV=\E[15;6~:FW=\E[17;6~:FX=\E[18;6~:\
     5         kx 	:FY=\E[19;6~:FZ=\E[20;6~:Fa=\E[21;6~:Fb=\E[23;6~:\
     5         kx 	:Fc=\E[24;6~:Fd=\EO3P:Fe=\EO3Q:Ff=\EO3R:Fg=\EO3S:\
     5         kx 	:Fh=\E[15;3~:Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:\
     5         kx 	:Fl=\E[20;3~:Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:\
     5         kx 	:Fp=\EO4P:Fq=\EO4Q:Fr=\EO4R:k1=\EOP:k2=\EOQ:k3=\EOR:\
     5         kx 	:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:
     5         kx #
     5         kx xterm+pcf2|fragment with modifyFunctionKeys=2:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:\
     5         kx 	:F6=\E[1;2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
     5         kx 	:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:\
     5         kx 	:FE=\E[24;2~:FF=\E[1;5P:FG=\E[1;5Q:FH=\E[1;5R:FI=\E[1;5S:\
     5         kx 	:FJ=\E[15;5~:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:\
     5         kx 	:FN=\E[20;5~:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:\
     5         kx 	:FR=\E[1;6P:FS=\E[1;6Q:FT=\E[1;6R:FU=\E[1;6S:FV=\E[15;6~:\
     5         kx 	:FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
     5         kx 	:Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:Fd=\E[1;3P:\
     5         kx 	:Fe=\E[1;3Q:Ff=\E[1;3R:Fg=\E[1;3S:Fh=\E[15;3~:\
     5         kx 	:Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:Fl=\E[20;3~:\
     5         kx 	:Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:Fp=\E[1;4P:\
     5         kx 	:Fq=\E[1;4Q:Fr=\E[1;4R:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:
     5         kx #
     5         kx # Chunks from xterm #230:
     5         kx xterm+pce2|fragment with modifyCursorKeys=2:\
     5         kx 	:#2=\E[1;2H:#3=\E[2;2~:%c=\E[6;2~:%e=\E[5;2~:*4=\E[3;2~:\
     5         kx 	:*7=\E[1;2F:kI=\E[2~:kN=\E[6~:kP=\E[5~:tc=xterm+edit:
     5         kx 
     5         kx xterm+edit|fragment for 6-key editing-keypad:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:tc=xterm+pc+edit:
     5         kx 
     5         kx xterm+pc+edit|fragment for pc-style editing keypad:\
     5         kx 	:@7=\E[4~:kh=\E[1~:
     5         kx 
     5         kx xterm+vt+edit|fragment for vt220-style editing keypad:\
     5         kx 	:*6=\E[4~:@0=\E[1~:
     5         kx 
     5         kx # These variations for alternate-screen and title-stacking were introduced by
     5         kx # xterm patch #331:
     5         kx xterm+noalt|xterm without altscreen:\
     5         kx 	:te@:ti@:
     5         kx 
     5         kx xterm+alt1049|xterm 90 feature:\
     5         kx 	:te=\E[?1049l:ti=\E[?1049h:
     5         kx 
     5         kx xterm+titlestack|xterm 251 feature:\
     5         kx 	:te=\E[23;0;0t:ti=\E[22;0;0t:
     5         kx 
     5         kx xterm+alt+title|xterm 90 and 251 features combined:\
     5         kx 	:te=\E[?1049l\E[23;0;0t:ti=\E[?1049h\E[22;0;0t:
     5         kx 
     5         kx # https://invisible-island.net/xterm/xterm.faq.html#xterm_keypad
     5         kx #
     5         kx # Xterm's emulation of the VT100 numeric keypad on a PC-keyboard runs into the
     5         kx # problem that the keypad layout is different, and that the natural choice for
     5         kx # PF1 is NumLock (which happens to be reserved for other use).  To work around
     5         kx # that, PF1-PF4 are emulated via F1-F4, which leaves the "/", "*" and "+" not
     5         kx # directly related to VT100.
     5         kx #
     5         kx # With the VT220 keypad block that uses the 1-9 keys as suggested in
     5         kx # terminfo(5), the other keys can be handled with user-defined capabilities:
     5         kx #
     5         kx #   _______________________________________
     5         kx #  | NumLock |    /    |    *    |    -    |
     5         kx #  |         |   $Oo   |   $Oj   |   $OS   |
     5         kx #  |_________|__kpDIV__|__kpMUL__|__kpSUB__|
     5         kx #  |    7         8         9    |         |
     5         kx #  |   $Ow   |   $Ox   |   $Oy   |    +    |
     5         kx #  |_ka1__K1_|_________|_ka3__K3_|   $Ok   |
     5         kx #  |    4    |    5    |    6    |  kpADD  |
     5         kx #  |   $Ot   |   $Ou   |   $Ov   |         |
     5         kx #  |_________|_kb2__K2_|_________|_________|
     5         kx #  |    1    |    2    |    3    |         |
     5         kx #  |   $Oq   |   $Or   |   $Os   |         |
     5         kx #  |_kc1__K4_|_________|_kc3__K5_|  enter  |
     5         kx #  |         0         |   .     |   $OM   |
     5         kx #  |        $Op        |  $On    |         |
     5         kx #  |___________________|_________|_kent_@8_|
     5         kx #
     5         kx xterm+keypad|xterm emulating VT100/VT220 numeric keypad:\
     5         kx 	:tc=vt220+keypad:
     5         kx #
     5         kx # Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
     5         kx # Alternatively, the same scheme with old-style function keys as in xterm-r6
     5         kx # is shown here (because that is used in mrxvt and mlterm):
     5         kx xterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys=2:\
     5         kx 	:F3=\E[11;2~:F4=\E[12;2~:F5=\E[13;2~:F6=\E[14;2~:\
     5         kx 	:FF=\E[11;5~:FG=\E[12;5~:FH=\E[13;5~:FI=\E[14;5~:\
     5         kx 	:FR=\E[11;6~:FS=\E[12;6~:FT=\E[13;6~:FU=\E[14;6~:\
     5         kx 	:Fd=\E[11;3~:Fe=\E[12;3~:Ff=\E[13;3~:Fg=\E[14;3~:\
     5         kx 	:Fp=\E[11;4~:Fq=\E[12;4~:Fr=\E[13;4~:k1=\E[11~:k2=\E[12~:\
     5         kx 	:k3=\E[13~:k4=\E[14~:tc=xterm+pcf2:
     5         kx #
     5         kx # This chunk is used for building the VT220/Sun/PC keyboard variants.
     5         kx xterm-basic|modern xterm terminal emulator - common:\
     5         kx 	:am:bs:mi:ms:ut:xn:\
     5         kx 	:Co#8:co#80:it#8:li#24:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RA=\E[?7l:\
     5         kx 	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
     5         kx 	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E[!p\E[?3;4l\E[4l\E>:ke=\E[?1l\E>:ks=\E[?1h\E=:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:ml=\El:\
     5         kx 	:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:r1=\Ec:\
     5         kx 	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
     5         kx 	:vs=\E[?12;25h:tc=ecma+italics:tc=ansi+pp:tc=xterm+kbs:\
     5         kx 	:tc=xterm+alt+title:tc=ansi+enq:tc=xterm+meta:
     5         kx 
     5         kx xterm+meta|meta mode for xterm:\
     5         kx 	:km:\
     5         kx 	:mm=\E[?1034h:mo=\E[?1034l:
     5         kx 
     5         kx # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
     5         kx # In retrospect, something like xterm-r6 was intended here -TD
     5         kx xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
     5         kx 	:se=\E[m:ue=\E[m:tc=xterm-xf86-v33:
     5         kx 
     5         kx #### XTERM Colors
     5         kx 
     5         kx # 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0
     5         kx # (T.Dickey)
     5         kx #
     5         kx # If configured to support 88- or 256-colors (which is fairly common in 2009),
     5         kx # xterm also recognizes the control sequences for initc -TD
     5         kx xterm-16color|xterm with 16 colors like aixterm:\
     5         kx 	:cc:tc=xterm+osc104:tc=ibm+16color:tc=xterm-new:
     5         kx 
     5         kx # 256-colors is a compile-time feature of XFree86 xterm beginning with
     5         kx # xterm patch #111 (1999/7/10) -TD
     5         kx xterm+256color|original xterm 256-color feature:\
     5         kx 	:cc:\
     5         kx 	:Co#256:pa#65536:\
     5         kx 	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:Sb@:Sf@:oc=\E]104\007:
     5         kx 
     5         kx # The semicolon separator used in xterm+256color does not follow the ECMA-48
     5         kx # standard.  Since patch #282 (in 2012), xterm has supported both the legacy
     5         kx # subparameter separator (semicolon) and the standard (colon).
     5         kx #
     5         kx # The xterm FAQ gives some of the history:
     5         kx #	https://invisible-island.net/xterm/xterm.faq.html#color_by_number
     5         kx xterm+256color2|xterm 256-color feature:\
     5         kx 	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm+256color:
     5         kx 
     5         kx # xterm OSC 104 resets the color palette.  Using it as part of xterm+256color
     5         kx # has the drawback that some of the xterm-alikes which use that building block
     5         kx # require a different approach to rs1 -TD
     5         kx xterm+osc104|reset color palette:\
     5         kx 	:oc=\E]104\007:r1=\Ec\E]104\007:
     5         kx 
     5         kx # palette is hardcoded...
     5         kx xterm+256setaf|xterm 256-color (set-only):\
     5         kx 	:cc@:\
     5         kx 	:Co#256:pa#65536:\
     5         kx 	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:Ic@:Sb@:Sf@:op=\E[39;49m:
     5         kx 
     5         kx # 88-colors is a compile-time feature of XFree86 xterm beginning with
     5         kx # xterm patch #115 (1999/9/18) -TD
     5         kx #
     5         kx # Note that the escape sequences used are the same as for 256-colors - xterm
     5         kx # has a different table of default color resource values.  If built for
     5         kx # 256-colors, it can still handle an 88-color palette by using the initc
     5         kx # capability.
     5         kx #
     5         kx # At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
     5         kx # which support the xterm+256color feature support the associated initc
     5         kx # capability.  So it is cancelled in the entries which use this and/or the
     5         kx # xterm+256color block.
     5         kx #
     5         kx # The default color palette for the 256- and 88-colors are different.  A
     5         kx # given executable will have one palette (perhaps compiled-in).  If the program
     5         kx # supports xterm's control sequence, it can be programmed using initc.
     5         kx xterm+88color|original xterm 88-color feature:\
     5         kx 	:Co#88:pa#7744:tc=xterm+256color:
     5         kx 
     5         kx xterm+88color2|xterm 88-color feature:\
     5         kx 	:Co#88:pa#7744:tc=xterm+256color2:
     5         kx 
     5         kx # These variants of XFree86 3.9.16 xterm are built as a configure option.
     5         kx xterm-256color|xterm with 256 colors:\
     5         kx 	:tc=xterm+osc104:tc=xterm+256color:tc=xterm-new:
     5         kx xterm-88color|xterm with 88 colors:\
     5         kx 	:tc=xterm+osc104:tc=xterm+88color:tc=xterm-256color:
     5         kx 
     5         kx # Emacs 26.1 and later support direct color mode in terminals, using a
     5         kx # combination of user-defined capabilities and ncurses-dependent function
     5         kx # calls.  We will not include that here.
     5         kx #
     5         kx # Here is a first revision, which (disregarding the reuse of colors 1-7 which
     5         kx # is of interest only to the numerically illiterate), is compatible with other
     5         kx # terminal descriptions written for curses.  It relies upon the extended range
     5         kx # for numeric capabilities provided in ncurses 6.1:
     5         kx xterm+direct2|xterm with direct-color indexing:\
     5         kx 	:Co#16777216:pa#65536:\
     5         kx 	:Ic@:Sb@:Sf@:op=\E[39;49m:
     5         kx xterm-direct2|xterm with direct-color indexing (old):\
     5         kx 	:tc=xterm+direct2:tc=xterm+titlestack:tc=xterm:
     5         kx 
     5         kx # That in turn had a problem: in the original patch submitted for KDE konsole
     5         kx # in 2006, the submitter and the developer alike overlooked a "color space
     5         kx # identifier" parameter.  This version provides for that parameter:
     5         kx xterm+direct|xterm with direct-color indexing:\
     5         kx 	:Co#16777216:pa#65536:\
     5         kx 	:Ic@:Sb@:Sf@:op=\E[39;49m:
     5         kx xterm-direct|xterm with direct-color indexing:\
     5         kx 	:tc=xterm+direct:tc=xterm:
     5         kx 
     5         kx # Here are corresponding flavors for terminals which could use the feature:
     5         kx iterm2-direct|iTerm2 with direct-color indexing:\
     5         kx 	:tc=xterm+direct:tc=iterm2:
     5         kx mlterm-direct|mlterm with direct-color indexing:\
     5         kx 	:tc=xterm+direct:tc=mlterm:
     5         kx 
     5         kx # Meanwhile, in KDE #107487, the patch submitter and the developer both saw
     5         kx # that xterm's original implementation should have used colons for the
     5         kx # subparameter separators, but chose not to correct this in konsole.  As of
     5         kx # late 2017, konsole still accepts only the nonstandard semicolon delimiters.
     5         kx xterm+indirect|xterm with direct-color indexing (old):\
     5         kx 	:Co#16777216:pa#65536:\
     5         kx 	:Ic@:Sb@:Sf@:op=\E[39;49m:
     5         kx konsole-direct|konsole with direct-color indexing:\
     5         kx 	:tc=xterm+indirect:tc=konsole:
     5         kx st-direct|st with direct-color indexing:\
     5         kx 	:tc=xterm+indirect:tc=st:
     5         kx vte-direct|vte with direct-color indexing:\
     5         kx 	:tc=xterm+indirect:tc=vte:
     5         kx # reportedly in Apple's Mohave (fall 2018), but untested -TD
     5         kx nsterm-direct|nsterm with direct-color indexing:\
     5         kx 	:tc=xterm+indirect:tc=nsterm:
     5         kx 
     5         kx # As for others (commenting at the time of release for ncurses 6.1):
     5         kx # + Apple's Terminal.app does not recognize either form of the direct-color
     5         kx #   sequences.
     5         kx # + Cygwin's mintty recognizes xterm's original implementation, does okay with
     5         kx #   the colors.  Like vte, it is a subset of xterm, although different
     5         kx #   omissions/reservations of modified-keys are seen in testing.
     5         kx # + PuTTY 0.70 seems to recognize xterm's original implementation but does
     5         kx #   nothing useful with the colors.
     5         kx # + Teraterm 4.97, like PuTTY (no good).
     5         kx # + terminology 0.91 recognizes xterm's original implementation, but does
     5         kx #   nothing useful with it.
     5         kx 
     5         kx # Reviewing after ncurses 6.2:
     5         kx # + Apple's Terminal.app is unchanged, has no support for direct color:
     5         kx #	Catalina 10.15.5 Terminal.app 2.10 (433)
     5         kx #	Mohave 10.14.6 - Terminal.app 2.9.5 (421.2)
     5         kx # + Cygwin's mintty 3.1.7 works with colon/semicolon
     5         kx # + PuTTY 0.73 works with semicolon
     5         kx # + Teraterm 4.105 works with semicolon
     5         kx # + terminology 1.7.0 works with colon/semicolon.
     5         kx 
     5         kx # Other variants are possible, e.g., by using more of xterm's indexed color
     5         kx # palette, though the intrusion of indexed colors on the direct-color space
     5         kx # would be more noticeable.
     5         kx 
     5         kx xterm+direct16|xterm with direct-color indexing:\
     5         kx 	:Sb@:Sf@:tc=xterm+direct:
     5         kx 
     5         kx xterm-direct16|xterm with direct-colors and 16 indexed colors:\
     5         kx 	:tc=xterm:tc=xterm+direct16:
     5         kx 
     5         kx xterm+direct256|xterm with direct-color indexing:\
     5         kx 	:Sb@:Sf@:tc=xterm+direct:
     5         kx 
     5         kx xterm-direct256|xterm with direct-colors and 256 indexed colors:\
     5         kx 	:tc=xterm:tc=xterm+direct256:
     5         kx 
     5         kx #### XTERM Features
     5         kx 
     5         kx # This chunk is based on suggestions by Ailin Nemui and Nicholas Marriott, who
     5         kx # asked for some of xterm's advanced features to be added to its terminfo
     5         kx # entry.  It defines extended capabilities not found in standard terminfo or
     5         kx # termcap.  These are useful in tmux, for instance, hence the name.
     5         kx #
     5         kx # One caveat in adding extended capabilities in ncurses is that if the names
     5         kx # are longer than two characters, then they will not be visible through the
     5         kx # termcap interface.
     5         kx #
     5         kx # Ms modifies the selection/clipboard.  Its parameters are
     5         kx #	p1 = the storage unit (clipboard, selection or cut buffer)
     5         kx #	p2 = the base64-encoded clipboard content.
     5         kx #
     5         kx # Ss is used to set the cursor style as described by the DECSCUSR
     5         kx #	function to a block or underline.
     5         kx # Se resets the cursor style to the terminal power-on default.
     5         kx #
     5         kx # Cs and Cr set and reset the cursor colour.
     5         kx xterm+tmux|advanced xterm features used in tmux:
     5         kx 
     5         kx # This is another variant, for XFree86 4.0 xterm (T.Dickey)
     5         kx # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
     5         kx # To use it, your decTerminalID resource must be set to 200 or above.
     5         kx #
     5         kx #	HTS	\E H	\210
     5         kx #	RI	\E M	\215
     5         kx #	SS3	\E O	\217
     5         kx #	CSI	\E [	\233
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
     5         kx 	:am:bs:km:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
     5         kx 	:K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
     5         kx 	:RI=\233%dC:UP=\233%dA:ae=\E(B:al=\233L:as=\E(0:bl=^G:\
     5         kx 	:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\2332J:\
     5         kx 	:cm=\233%i%d;%dH:cr=\r:cs=\233%i%d;%dr:ct=\2333g:\
     5         kx 	:dc=\233P:dl=\233M:do=\n:ec=\233%dX:ei=\2334l:ho=\233H:\
     5         kx 	:im=\2334h:\
     5         kx 	:is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\
     5         kx 	:k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
     5         kx 	:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
     5         kx 	:kI=\2332~:kN=\2336~:kP=\2335~:kd=\217B:ke=\233?1l\E>:\
     5         kx 	:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:ku=\217A:le=^H:\
     5         kx 	:mb=\2335m:md=\2331m:me=\2330m:mr=\2337m:nd=\233C:rc=\E8:\
     5         kx 	:sc=\E7:se=\23327m:sf=\n:so=\2337m:sr=\215:st=\210:ta=^I:\
     5         kx 	:te=\233?1049l:ti=\233?1049h:ue=\23324m:up=\233A:\
     5         kx 	:us=\2334m:vb=\233?5h\233?5l:ve=\233?25l\233?25h:\
     5         kx 	:vi=\233?25l:vs=\233?12;25h:tc=xterm+kbs:
     5         kx 
     5         kx xterm-hp|xterm with hpterm function keys:\
     5         kx 	:@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
     5         kx 	:k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\
     5         kx 	:kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
     5         kx 
     5         kx xterm-sco|xterm with SCO function keys:\
     5         kx 	:@1=\E[E:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F4=\E[Z:F5=\E[a:\
     5         kx 	:F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:\
     5         kx 	:FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:\
     5         kx 	:FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:FQ=\E[v:\
     5         kx 	:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:FV=\E[@:FW=\E[[:FX=\E[\\:\
     5         kx 	:FY=\E[]:FZ=\E[\136:Fa=\E[_:Fb=\E[`:Fc=\E[{:Km=\E[>M:\
     5         kx 	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
     5         kx 	:k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=xterm-basic:
     5         kx 
     5         kx # The xterm-new description has all of the features, but is not completely
     5         kx # compatible with vt220.  If you are using a Sun or PC keyboard, set the
     5         kx # sunKeyboard resource to true:
     5         kx #	+ maps the editing keypad
     5         kx #	+ interprets control-function-key as a second array of keys, so a
     5         kx #	  12-fkey keyboard can support vt220's 20-fkeys.
     5         kx #	+ maps numeric keypad "+" to ",".
     5         kx #	+ uses DEC-style control sequences for the application keypad.
     5         kx #
     5         kx xterm-vt220|xterm emulating vt220:\
     5         kx 	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
     5         kx 	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
     5         kx 	:FA=\E[34~:Km=\E[M:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kd=\EOB:kh=\E[1~:kl=\EOD:kr=\EOC:ku=\EOA:\
     5         kx 	:tc=xterm+app:tc=xterm+edit:tc=xterm-basic:\
     5         kx 	:tc=vt220+keypad:
     5         kx 
     5         kx xterm-vt52|xterm emulating dec vt52:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
     5         kx 	:cr=\r:do=\EB:ho=\EH:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:\
     5         kx 	:nd=\EC:nw=\r\n:sf=\n:sr=\EI:ta=^I:up=\EA:tc=xterm+kbs:\
     5         kx 	:tc=vt52+keypad:
     5         kx 
     5         kx xterm-noapp|xterm with cursor keys in normal mode:\
     5         kx 	:ke=\E>:ks=\E=:te@:ti@:tc=xterm+noapp:tc=xterm:
     5         kx 
     5         kx xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
     5         kx 	:li#24:tc=xterm-old:
     5         kx 
     5         kx # This is xterm for ncurses.
     5         kx xterm|xterm terminal emulator (X Window System):\
     5         kx 	:tc=xterm-new:
     5         kx 
     5         kx # This entry assumes that xterm's handling of VT100 SI/SO is disabled by
     5         kx # setting the vt100Graphics resource to false.
     5         kx xterm-utf8|xterm with no VT100 line-drawing in UTF-8 mode:\
     5         kx 	:tc=xterm:
     5         kx 
     5         kx # These building-blocks allow access to the X titlebar and icon name as a
     5         kx # status line.  There are a few problems in using them in entries:
     5         kx #
     5         kx # a) tsl should have a parameter to denote the column on which to transfer to
     5         kx #    the status line.
     5         kx # b) the "0" code for xterm updates both icon-title and window title.  Some
     5         kx #    window managers such as twm (and possibly window managers descended from
     5         kx #    it such as tvtwm, ctwm, and vtwm) track windows by icon-name. Thus, you
     5         kx #    don't want to mess with icon-name when using those window managers.
     5         kx #
     5         kx # The extension "TS" is preferable, because it does not accept a parameter.
     5         kx # However, if you are using a non-extended terminfo, "TS" is not visible.
     5         kx xterm+sl|access X title line and icon name:\
     5         kx 	:hs:\
     5         kx 	:ds=\E]0;\007:fs=^G:ts=\E]0;:
     5         kx xterm+sl-twm|access X title line (pacify twm-descended window managers):\
     5         kx 	:hs:\
     5         kx 	:ds=\E]2;\007:fs=^G:ts=\E]2;:
     5         kx 
     5         kx # In contrast, this block can be used for a DEC vt320 and up.  There are two
     5         kx # controls used.
     5         kx #
     5         kx # DECSASD (select active status display)
     5         kx #	\E[0$}	Main display
     5         kx #	\E[1$}	Status line
     5         kx #
     5         kx # DECSSDT (select status line type)
     5         kx #	\E[0$~	No status line
     5         kx #	\E[1$~	Indicator status line
     5         kx #	\E[2$~	Host-writable status line
     5         kx #
     5         kx # The building block assumes that the terminal always shows something at the
     5         kx # status line (either the indicator, or status line).  That is because if no
     5         kx # status line is used, then the terminal makes that line part of the user
     5         kx # window, changing its size without notice.
     5         kx #
     5         kx # Because there is no "esl" (enable status line) capability, the "tsl"
     5         kx # capability ensures that the status line is host-writable.  A DEC terminal
     5         kx # will clear the status line when changing from indicator to host-writable
     5         kx # mode.
     5         kx #
     5         kx # Once on the status line, the row part of cursor addressing is ignored.  Since
     5         kx # tsl expects a parameter (to specify the column), the shortest addressing that
     5         kx # can be used for this purpose is HPA, e.g., \E[5d to go to column 5.
     5         kx #
     5         kx dec+sl|DEC VTxx status line:\
     5         kx 	:es:hs:\
     5         kx 	:ds=\E[1$~:fs=\E[0$}:ts=\E[2$~\E[1$}\E[%i%d`:
     5         kx 
     5         kx #
     5         kx # The following xterm variants don't depend on your base version
     5         kx #
     5         kx # xterm with bold instead of underline
     5         kx xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
     5         kx 	:so=\E[7m:us=\E[1m:tc=xterm-old:
     5         kx 
     5         kx # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
     5         kx xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
     5         kx 	:IC@:ic@:tc=xterm:
     5         kx # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
     5         kx xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
     5         kx 	:te@:ti@:tc=xterm:
     5         kx 
     5         kx #### XTERM Mouse
     5         kx # The xterm mouse protocol is used by other terminal emulators.
     5         kx # In this section, two extended capabilities are used to illustrate the mouse
     5         kx # protocol: XM and xm.  The "XM" capability is recognized by ncurses to allow
     5         kx # enabling/disabling other mouse protocols.  The "xm" capability describes the
     5         kx # mouse response; currently there is no interpreter which would use this
     5         kx # information to make the mouse support completely data-driven.
     5         kx 
     5         kx # Here is the "original" xterm mouse protocol.
     5         kx #
     5         kx # First seen in X10.3, February 1986, this likely dates from 1985 based on the
     5         kx # copyright dates in the sources.  A comment in charproc.c notes "MIT bogus
     5         kx # sequence", referring to the fact that it does not correspond to a "real"
     5         kx # terminal.  The mouse responses for the X10 protocol are sent only for
     5         kx # button-presses.
     5         kx xterm+x10mouse|X10 xterm mouse protocol:\
     5         kx 	:Km=\E[M:
     5         kx xterm-x10mouse|X10 xterm mouse:\
     5         kx 	:tc=xterm+x10mouse:tc=xterm:
     5         kx 
     5         kx # Here is the conventional xterm mouse protocol, introduced with X11R1 in
     5         kx # September 1987.
     5         kx #
     5         kx # The mouse responses for the X11 protocol covered button releases, as well as
     5         kx # modifiers:
     5         kx #  shift    4
     5         kx #  alt/meta 8 (technically the "mod1" mask, because X11 has no such keys)
     5         kx #  control 16
     5         kx #
     5         kx # The modifiers are not reflected in this description because as used in xterm
     5         kx # they are normally inaccessible because the translations resources assign
     5         kx # shift and control to other features.  However, they are important because
     5         kx # they take up space in the first byte of the response.  The other bits of this
     5         kx # byte are used to encode the button number for both presses and releases.
     5         kx # In the X11 protocol, any button-release is encoded with "3" (the lowest 2
     5         kx # bits in the byte).  Later work on XFree86 xterm used the remaining 3 bits to
     5         kx # provide additional features, e.g., wheel mouse.
     5         kx #
     5         kx # X11R1's xterm also supported an "emacs" mouse protocol, with final character
     5         kx # "t" or "T", which was activated by double-clicking.  The "t" response was
     5         kx # used when the starting/ending positions were the same.
     5         kx #
     5         kx # X11R3 (February 1988) added the highlight/tracking mode.
     5         kx #
     5         kx # X11R4 (December 1989) added the control sequences document, listing the
     5         kx # control sequences for the X10/X11 protocols without descriptions.  It also
     5         kx # mentioned the "emacs" ("T") response.  Comments in button.c referred to the
     5         kx # X11 protocol as "DEC vt200 compatible", although DEC offered no such terminal.
     5         kx #
     5         kx # X11R5 (November 1993) gave a description of the mouse protocol.
     5         kx #
     5         kx # X11R6 (January 1995) moved the control sequences document out of the xterm
     5         kx # source-directory to xc/doc/specs/xterm, polishing the formatting but adding
     5         kx # no new information.
     5         kx xterm+x11mouse|X11 xterm mouse protocol:\
     5         kx 	:Km=\E[M:
     5         kx xterm-x11mouse|X11 mouse:\
     5         kx 	:tc=xterm+x11mouse:tc=xterm:
     5         kx 
     5         kx # Here is a suggested description of the xterm highlighting protocol.
     5         kx # A more complicated example could be constructed to account for the "t"
     5         kx # response.
     5         kx xterm+x11hilite|X11 xterm mouse protocol with highlight:\
     5         kx 	:Km=\E[M:
     5         kx xterm-x11hilite|X11 mouse with highlight:\
     5         kx 	:tc=xterm+x11mouse:tc=xterm:
     5         kx 
     5         kx # The preceding were the sources from X Consortium.  Other sources (or patches)
     5         kx # were available.  Starting in mid-1995, XFree86 developers collected some of
     5         kx # those changes and began improvements, e.g., to support color.  This was, by
     5         kx # the way, around the same time that rxvt developers began implementing color,
     5         kx # though dates (and attributions) are not well documented.  I became interested
     5         kx # in xterm in late 1995, and involved in early 1996.  To complete the picture,
     5         kx # CDE's dtterm was introduced around the same time, with no mouse protocol -TD
     5         kx 
     5         kx # xterm patch #83 (1998/10/7), added Jason Bacon's changes to provide an
     5         kx # "any-event" mouse mode.
     5         kx xterm+sm+1002|xterm any-event mouse:\
     5         kx 	:Km=\E[M:
     5         kx xterm-1002|xterm any-event mouse:\
     5         kx 	:tc=xterm+sm+1002:tc=xterm:
     5         kx 
     5         kx xterm+sm+1003|testing xterm-mouse:\
     5         kx 	:Km=\E[M:
     5         kx 
     5         kx xterm-1003|testing xterm-mouse:\
     5         kx 	:tc=xterm+sm+1003:tc=xterm:
     5         kx 
     5         kx # xterm patch #116 (1999/9/25) added Stephen P Wall's changes to support DEC
     5         kx # locator mode.
     5         kx 
     5         kx # xterm patch #120 (1999/10/28) added my change to support wheel mouse, by
     5         kx # dropping support for the X11 mouse protocol's shift-modifier and using
     5         kx # available bits in the first byte of the response to encode buttons 4 and 5.
     5         kx # xterm patch #126 (2000/2/8) amended that change to avoid conflicting with
     5         kx # older configurations which might have used the obsolete modifiers.
     5         kx 
     5         kx # xterm patch #262 (2010/8/30) added Ryan Johnson's changes to provide a mode
     5         kx # where the coordinates in the mouse response would be encoded in UTF-8,
     5         kx # thereby extending the range of coordinates past 222=(255-33).  This is the
     5         kx # "1005" mouse mode.
     5         kx xterm+sm+1005|xterm UTF-8 mouse:\
     5         kx 	:Km=\E[M:
     5         kx xterm-1005|xterm UTF-8 mouse:\
     5         kx 	:tc=xterm+sm+1005:tc=xterm:
     5         kx 
     5         kx # xterm patch #277 (2012/1/7) provides a mode where the mouse response uses
     5         kx # SGR-style parameters.
     5         kx #
     5         kx # Someone stated that the 1005 mouse mode would not be handled properly in luit.
     5         kx # (By the way, this is a problem with the X11 protocol).  A more plausible
     5         kx # criticism is that the responses provided by the 1005 mode are not distinct
     5         kx # from the non-1005 responses.
     5         kx #
     5         kx # As an alternative (and fixing the longstanding limitation of X11 mouse
     5         kx # protocol regarding button-releases), I provided the 1006 mode, referring
     5         kx # to it as "SGR 1006" since the replies resemble the SGR control string:
     5         kx xterm+sm+1006|xterm SGR-mouse:\
     5         kx 	:Km=\E[<:
     5         kx xterm-1006|xterm SGR-mouse:\
     5         kx 	:tc=xterm+sm+1006:tc=xterm:
     5         kx 
     5         kx #### KTERM
     5         kx # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
     5         kx # (kterm should not invoke DEC Graphics as the alternate character set
     5         kx #  -- Kenji Rikitake)
     5         kx # (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
     5         kx #  -- MATSUMOTO Shoji)
     5         kx # kterm implements acsc via built-in table of X Drawable's
     5         kx kterm|kterm kanji terminal emulator (X window system):\
     5         kx 	:es:hs:\
     5         kx 	:NC@:\
     5         kx 	:Km=\E[M:RA=\E[?7l:SA=\E[?7h:\
     5         kx 	:ac=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~:ae=\E(B:\
     5         kx 	:as=\E(0:cs=\E[%i%d;%dr:ds=\E[?H:eA=:fs=\E[?F:me=\E[0m:\
     5         kx 	:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:tc=xterm-r6:\
     5         kx 	:tc=ecma+color:
     5         kx kterm-color|kterm-co|kterm with ANSI colors:\
     5         kx 	:NC@:tc=kterm:tc=ecma+color:
     5         kx 
     5         kx #### Other XTERM
     5         kx 
     5         kx # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
     5         kx # variant of xterm which is apparently no longer supported, but are interesting
     5         kx # because they illustrate SVr4 curses mouse controls - T.Dickey
     5         kx xtermm|xterm terminal emulator (monochrome):\
     5         kx 	:am:bs:km:mi:ms:xn:\
     5         kx 	:BT#3:co#80:it#8:li#24:\
     5         kx 	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
     5         kx 	:F2=\EOA:Gm=\E[%dY:IC=\E[%d@:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:RQ=\E[492Z:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:eA=\E(B\E)0:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:k0=\EOy:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
     5         kx 	:k9=\EOX:k;=\EOY:kN=\E[U:kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:\
     5         kx 	:kl=\EOD:kr=\EOC:ku=\EOA:le=\E[D:mb@:md=\E[1m:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:\
     5         kx 	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
     5         kx 	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E@0\E[?4r:\
     5         kx 	:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:tc=vt100+fnkeys:
     5         kx 
     5         kx xtermc|xterm terminal emulator (color):\
     5         kx 	:Co#8:NC#7:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[100m:tc=xtermm:
     5         kx 
     5         kx # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
     5         kx # Here's a termcap entry I've been using for xterm_color, which comes
     5         kx # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
     5         kx # color stuff, I also have a status line defined as the window manager
     5         kx # title bar. [I have translated it to terminfo -- ESR]
     5         kx xterm-pcolor|xterm with color used for highlights and status line:\
     5         kx 	:ws#40:\
     5         kx 	:md=\E[1;43m:mr=\E[7;34m:so=\E[7;31m:us=\E[4;42m:\
     5         kx 	:tc=xterm+sl:tc=xterm-r6:
     5         kx 
     5         kx # This describes the capabilities of color_xterm, an xterm variant from
     5         kx # before ECMA-64 color support was folded into the main-line xterm release.
     5         kx # This entry is straight from color_xterm's maintainer.
     5         kx # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
     5         kx # The README's with the distribution also say that it supports SGR 21, 24, 25
     5         kx # and 27, but they are not present in the terminfo or termcap.
     5         kx color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
     5         kx 	:am:bs:km:mi:ms:xn:\
     5         kx 	:NC@:co#80:it#8:li#65:\
     5         kx 	:@7=\E[8~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\n:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
     5         kx 	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:\
     5         kx 	:ku=\EOA:le=^H:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
     5         kx 	:r1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:ta=^I:\
     5         kx 	:te=\E>\E[?41;1r:ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:tc=ecma+color:tc=vt220+keypad:
     5         kx 
     5         kx # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
     5         kx # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
     5         kx # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
     5         kx # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
     5         kx # that each of those implements the home, end, delete keys differently.
     5         kx #
     5         kx # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
     5         kx # colors; note that this is not compatible with the 5.2 version.
     5         kx # csw (2002-05-15): make xterm-color primary instead of nxterm, to
     5         kx #   match XFree86's xterm.terminfo usage and prevent circular links
     5         kx xterm-color|nxterm|generic color xterm:\
     5         kx 	:NC@:\
     5         kx 	:op=\E[m:tc=xterm-r6:tc=klone+color:
     5         kx 
     5         kx # This entry describes an xterm with Sun-style function keys enabled
     5         kx # via the X resource setting "xterm*sunFunctionKeys:true"
     5         kx # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
     5         kx # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
     5         kx # because we want it to be seen as <kcpy>.
     5         kx # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
     5         kx # with their Sun keyboard labels instead.
     5         kx # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
     5         kx xterm-sun|xterm with sunFunctionKeys true:\
     5         kx 	:%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
     5         kx 	:@8=\EOM:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:\
     5         kx 	:F5=\E[196z:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:\
     5         kx 	:FL=\E[208z:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:\
     5         kx 	:FQ=\E[213z:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:\
     5         kx 	:FZ=\E[222z:Fa=\E[234z:Fb=\E[235z:K2=\E[218z:k1=\E[224z:\
     5         kx 	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
     5         kx 	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\
     5         kx 	:kI=\E[2z:kN=\E[222z:kP=\E[216z:kd=\EOB:kh=\E[214z:\
     5         kx 	:kl=\EOD:kr=\EOC:ku=\EOA:tc=xterm-basic:
     5         kx xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
     5         kx 	:co#80:li#24:tc=xterm-sun:
     5         kx 
     5         kx #### GNOME (VTE)
     5         kx # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
     5         kx gnome-rh62|Gnome terminal:\
     5         kx 	:ut:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\177:tc=xterm-color:
     5         kx 
     5         kx # GNOME Terminal 1.4.0.4 (Redhat 7.2)
     5         kx #
     5         kx # This implements a subset of vt102 with a random selection of features from
     5         kx # other terminals such as color and function-keys.
     5         kx #
     5         kx # shift-f1 to shift-f10 are f11 to f20
     5         kx #
     5         kx # NumLock changes the application keypad to approximate vt100 keypad, except
     5         kx # that there is no escape sequence matching comma (,).
     5         kx #
     5         kx # Other defects observed:
     5         kx #	vt100 LNM mode is not implemented.
     5         kx #	vt100 80/132 column mode is not implemented.
     5         kx #	vt100 DECALN is not implemented.
     5         kx #	vt100 DECSCNM mode is not implemented, so flash does not work.
     5         kx #	vt100 TBC (tab reset) is not implemented.
     5         kx #	xterm alternate screen controls do not restore cursor position properly
     5         kx #	it hangs in tack after running function-keys test.
     5         kx gnome-rh72|GNOME Terminal:\
     5         kx 	:km@:ut:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:ct@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kD=\E[3~:me=\E[0m\017:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=xterm-color:
     5         kx 
     5         kx # GNOME Terminal 2.0.1 (Redhat 8.0)
     5         kx #
     5         kx # Documentation now claims it implements vt220 (which is demonstrably false).
     5         kx # However, it does implement ECH, which is a vt220 feature.  And there are
     5         kx # workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
     5         kx # more of its bugs using vttest.
     5         kx #
     5         kx # However, note that bce and msgr are broken in this release.  Tabs (tbc and
     5         kx # hts) are broken as well.  Sometimes flash (as in xterm-new) works.
     5         kx #
     5         kx # kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
     5         kx # operations.  Shift-tab generates a distinct sequence so it can be argued
     5         kx # that it implements kcbt.
     5         kx gnome-rh80|GNOME Terminal:\
     5         kx 	:ms@:ut@:\
     5         kx 	:ec=\E[%dX:kB=\E^I:kb=\177:op=\E[39;49m:vb=\E[?5h\E[?5l:\
     5         kx 	:tc=gnome-rh72:
     5         kx 
     5         kx # GNOME Terminal 2.2.1 (Redhat 9.0)
     5         kx #
     5         kx # bce and msgr are repaired.
     5         kx gnome-rh90|GNOME Terminal:\
     5         kx 	:ms:ut:\
     5         kx 	:#4=\EO2D:%i=\EO2C:*4=\E[3;2~:@7=\EOF:K2=\E[E:ch=\E[%i%dG:\
     5         kx 	:ct=\E[3g:cv=\E[%i%dd:kB=\E[Z:kh=\EOH:tc=xterm+pcf0:\
     5         kx 	:tc=xterm+pcfkeys:tc=gnome-rh80:
     5         kx 
     5         kx # GNOME Terminal 2.14.2 (Fedora Core 5)
     5         kx # Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
     5         kx gnome-fc5|GNOME Terminal:\
     5         kx 	:r1=\Ec:\
     5         kx 	:r2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
     5         kx 	:tc=ansi+enq:tc=xterm+pcc0:tc=gnome-rh90:
     5         kx 
     5         kx # GNOME Terminal 2.18.1 (2007 snapshot)
     5         kx #
     5         kx # For any "recent" version of gnome-terminal, it is futile to attempt to
     5         kx # support modifiers on cursor- and keypad keys because the program usually
     5         kx # is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
     5         kx # of the keys (which more/less correspond to the termcap values), and will
     5         kx # interpret those according to the $TERM value, but others not in the
     5         kx # terminfo according to some constantly changing set of hacker guidelines -TD
     5         kx vte-2007|VTE in GNOME Terminal snapshot 2.18.1:\
     5         kx 	:tc=xterm+pcc2:tc=gnome-fc5:
     5         kx gnome-2007|GNOME Terminal snapshot 2.18.1:\
     5         kx 	:tc=vte-2007:
     5         kx 
     5         kx # GNOME Terminal 2.22.3 (2008 snapshot)
     5         kx #
     5         kx # In vttest, it claims to be a vt220 with national replacement character-sets,
     5         kx # but aside from the identifier string, implements only a small fraction of
     5         kx # vt220's behavior, which will make it less usable on a VMS system (unclear
     5         kx # what the intent of the developer is, since the NRC feature exposed in vttest
     5         kx # by this change does not work).
     5         kx vte-2008|VTE in GNOME Terminal snapshot 2.22.3:\
     5         kx 	:tc=vte+pcfkeys:tc=vte-2007:
     5         kx gnome-2008|GNOME Terminal snapshot 2.22.3:\
     5         kx 	:tc=vte-2008:
     5         kx 
     5         kx # GNOME Terminal 3.6.0 (2012)
     5         kx # VTE 0.34.1 was marked in git 2012-10-15 (three days after patch was applied
     5         kx # in ncurses).  It inherited from gnome-fc5, which broke the modified forms
     5         kx # of f1-f4 -TD
     5         kx #
     5         kx # Testing with tack shows that flash does not/has not worked -TD
     5         kx vte-2012|VTE 0.34.1:\
     5         kx 	:NC#16:\
     5         kx 	:mh=\E[2m:mk=\E[8m:se=\E[27m:ue=\E[24m:vb@:\
     5         kx 	:tc=ecma+italics:tc=vte-2008:
     5         kx # Version 3.6.1 sets TERM to xterm-256color (still hardcoded), which has
     5         kx # 61 differences from a correct entry for gnome terminal.
     5         kx gnome-2012|GNOME Terminal 3.6.0:\
     5         kx 	:tc=vte-2012:
     5         kx 
     5         kx # Before 2008, GNOME terminal could automatically use the contents of the
     5         kx # "xterm" terminfo to supply key information which is not built into the
     5         kx # program.  With 2.22.3, this list was built into the program (which addressed
     5         kx # the inadvertent use of random terminfo data, though using a set of values
     5         kx # which did not correspond to any that xterm produced - still not solving the
     5         kx # problem that GNOME terminal hardcoded the $TERM variable as "xterm").
     5         kx #
     5         kx #	terminfo	modifier	code	keys
     5         kx #	kf13-kf24	shift		2	F1 to F12
     5         kx #	kf25-kf36	control		5	F1 to F12
     5         kx #	kf37-kf48	shift/control	6	F1 to F12
     5         kx #	kf49-kf60	alt		3	F1 to F12
     5         kx #	kf61-kf63	shift-alt	4	F1 to F3
     5         kx #
     5         kx # The parameters with \EO (SS3) are technically an error, since SS3 should have
     5         kx # no parameters.  This appears to be rote copying based on xterm+pcc0.
     5         kx vte+pcfkeys|VTE's variation on xterm+pcfkeys:\
     5         kx 	:F3=\EO1;2P:F4=\EO1;2Q:F5=\EO1;2R:F6=\EO1;2S:FF=\EO1;5P:\
     5         kx 	:FG=\EO1;5Q:FH=\EO1;5R:FI=\EO1;5S:FR=\EO1;6P:FS=\EO1;6Q:\
     5         kx 	:FT=\EO1;6R:FU=\EO1;6S:Fd=\EO1;3P:Fe=\EO1;3Q:Ff=\EO1;3R:\
     5         kx 	:Fg=\EO1;3S:Fp=\EO1;4P:Fq=\EO1;4Q:Fr=\EO1;4R:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:tc=xterm+pcfkeys:
     5         kx gnome+pcfkeys|VTE's variation on xterm+pcfkeys:\
     5         kx 	:tc=vte+pcfkeys:
     5         kx 
     5         kx # deprecated - use "vte" for newer versions
     5         kx gnome|GNOME Terminal:\
     5         kx 	:tc=vte-2012:
     5         kx gnome-256color|GNOME Terminal with xterm 256-colors:\
     5         kx 	:tc=xterm+256color:tc=gnome:
     5         kx 
     5         kx # relevant changes were made in January 2014, and later.
     5         kx #
     5         kx # Originally VTE was promoted as a library able to emulate any terminal by
     5         kx # reading its terminal description.  In practice, that never got beyond the
     5         kx # ability to read definitions of special keys (function-, editing-, cursor).
     5         kx #
     5         kx # Before 2014, VTE had a termcap reader (originally pointing to a private copy
     5         kx # of a termcap file derived from xterm).  That was incomplete because it did
     5         kx # not have any of the modifier-key information used for xterm's function-,
     5         kx # editing-, and cursor-keys.  Having its own reader was unnecessary since
     5         kx # ncurses provides that information; used since xterm patch #225 in 2007.
     5         kx #
     5         kx # During April/May 2014, a few bug reports (e.g., gnome #169295, gnome #728900,
     5         kx # gnome #730137) dealt with attempts to recast that termcap reader as library
     5         kx # calls, then attempting to adapt a chunk of code from ncurses (src/vteti.c),
     5         kx # abandoning that and finally constructing a table to match xterm's default
     5         kx # behavior, e.g., for "xterm+pcfkeys".
     5         kx vte-2014|VTE 0.35.1:\
     5         kx 	:NC@:\
     5         kx 	:@8=\EOM:IC=\E[%d@:bt=\E[Z:cb=\E[1K:ei=:im=:\
     5         kx 	:vb=\E[?5h\E[?5l:tc=ecma+index:tc=xterm+sm+1006:\
     5         kx 	:tc=xterm+pcfkeys:tc=vte-2012:
     5         kx 
     5         kx # As of January 2018, this was the  most recent release,
     5         kx # e.g., with gnome-terminal 3.26.2
     5         kx vte-2017|VTE 0.50.2:\
     5         kx 	:tc=ecma+strikeout:tc=vte-2014:
     5         kx 
     5         kx # VTE 0.51.2 and gnome-terminal 3.28.2 copied a feature from KovId's TTY
     5         kx # late in 2017 for changing the appearance of underlines, which was
     5         kx # incorporated into Debian and Fedora testing-packages in February and March
     5         kx # 2018, respectively. Overline (Smol/Rmol) has been supported since December
     5         kx # 2017.
     5         kx vte-2018|VTE 0.51.2:\
     5         kx 	:tc=vte-2017:
     5         kx 
     5         kx vte|VTE aka GNOME Terminal:\
     5         kx 	:tc=vte-2018:
     5         kx 
     5         kx vte-256color|VTE with xterm 256-colors:\
     5         kx 	:tc=xterm+256color:tc=vte:
     5         kx 
     5         kx # XFCE Terminal 0.2.5.4beta2
     5         kx #
     5         kx # This is based on some of the same source code, e.g., the VTE library, as
     5         kx # gnome-terminal, but has fewer features, fails more screens in vttest.
     5         kx # Since most of the terminfo-related behavior is due to the VTE library,
     5         kx # the terminfo is the same as gnome-terminal.
     5         kx xfce|Xfce Terminal:\
     5         kx 	:tc=vte-2008:
     5         kx 
     5         kx # TERMITE
     5         kx #
     5         kx # https://github.com/thestinger/termite
     5         kx #
     5         kx # A review requires install of Arch Linux since Fedora and Debian don't have
     5         kx # this program.  It uses "vte3-ng" (a conflicting package), which is here:
     5         kx #	https://github.com/thestinger/vte-ng
     5         kx # which (based on the default branch setting) seems to be a fork of vte
     5         kx # 0.48.2, and is noted as such in Arch:
     5         kx #	https://aur.archlinux.org/packages/vte3-ng/
     5         kx # It won't be merged:
     5         kx #	https://bugzilla.gnome.org/show_bug.cgi?id=679658#c10
     5         kx #	https://bugzilla.gnome.org/show_bug.cgi?id=78291
     5         kx # but perhaps made obsolete.
     5         kx #
     5         kx # The entry as given was mislabeled "xterm-termite" (it is not xterm), and
     5         kx # was mostly cut/paste from xterm-256color, but since VTE does not actually
     5         kx # implement several of the features in that terminal description, this one is
     5         kx # trimmed to eliminate those.  Also, since it is a slightly older version of
     5         kx # VTE, it lacks a few more features (again, trimmed).
     5         kx termite|VTE-based terminal:\
     5         kx 	:NP:am:cc:km:mi:ms:xn:\
     5         kx 	:NC@:co#80:it#8:li#24:\
     5         kx 	:@8=\EOM:DC=\E[%dP:DO=\E[%dB:K2=\EOE:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:as=\E(0:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:do=\n:ec=\E[%dX:\
     5         kx 	:ho=\E[H:is=\E[!p\E[?3;4l\E[4l\E>:kB=\E[Z:kb=\177:\
     5         kx 	:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:me=\E[0m:\
     5         kx 	:mk=\E[8m:mr=\E[7m:nd=\E[C:r1=\Ec:\
     5         kx 	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=xterm+alt1049:tc=ecma+index:tc=ansi+idc:tc=ansi+idl:\
     5         kx 	:tc=ansi+enq:tc=ecma+italics:tc=xterm+256color:\
     5         kx 	:tc=ecma+color:tc=xterm+pcfkeys:tc=xterm+sl-twm:
     5         kx 
     5         kx #### Other GNOME
     5         kx # Multi-Gnome-Terminal 1.6.2
     5         kx #
     5         kx # This does not use VTE, and does have different behavior (compare xfce and
     5         kx # gnome).
     5         kx mgt|Multi GNOME Terminal:\
     5         kx 	:tc=ecma+index:tc=xterm-xf86-v333:
     5         kx 
     5         kx #### KDE
     5         kx # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
     5         kx # or not is debatable).
     5         kx kvt|KDE terminal:\
     5         kx 	:km@:ut:\
     5         kx 	:@7=\E[F:kD=\177:kh=\E[H:tc=xterm-color:
     5         kx 
     5         kx # Konsole 1.0.1 (2001/11/25)
     5         kx # (formerly known as kvt)
     5         kx #
     5         kx # This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
     5         kx # simplify this entry (and point out why konsole isn't xterm), we base this on
     5         kx # xterm-r6.  The default keyboard appears to be 'linux'.
     5         kx #
     5         kx # Notes:
     5         kx # a) konsole implements several features from XFree86 xterm, though none of
     5         kx #    that is documented - except of course in its source code - apparently
     5         kx #    because its implementors are unaccustomed to reading documentation - as
     5         kx #    evidenced by the sparse and poorly edited documentation distributed with
     5         kx #    konsole.  Some features such as the 1049 private mode are recognized but
     5         kx #    incorrectly implemented as a duplicate of the 47 private mode.
     5         kx # b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
     5         kx #    sends PC-style escapes rather than vt100.
     5         kx # c) fails vttest menu 3 (Test of character sets) because it does not properly
     5         kx #    parse some control sequences.  Also fails vttest Primary Device Attributes
     5         kx #    by sending a bogus code (in the source it says it's supposed to be a
     5         kx #    vt220, which is doubly incorrect because it does not implement vt220
     5         kx #    control sequences except for a few special cases).  Treat it as a
     5         kx #    mildly-broken vt102.
     5         kx #
     5         kx # Update for konsole 1.3.2:
     5         kx #    The 1049 private mode works (but see the other xterm screens in vttest).
     5         kx #    Primary Device Attributes now returns the code for a vt100 with advanced
     5         kx #    video option.  Perhaps that's intended to be a "mildly-broken vt102".
     5         kx #
     5         kx # Updated for konsole 1.6.4:
     5         kx #    add konsole-solaris
     5         kx #
     5         kx # Updated for konsole 1.6.6:
     5         kx #    add control-key modifiers for function-keys, etc.
     5         kx #
     5         kx # Updated for konsole 2.3 (October 2008):
     5         kx #    vttest menu 1 shows that both konsole and gnome terminal do wrapping
     5         kx #    different from xterm (and vt100's).  They have the same behavior in
     5         kx #    this detail, but it is unclear which copies the other.
     5         kx #
     5         kx # Deferred update for konsole 2.10 (late 2012):
     5         kx #    add SGR 1006 mouse
     5         kx #
     5         kx # Updated for konsole 2.12.4 (late 2013):
     5         kx #    add sitm/ritm
     5         kx #
     5         kx # Updated for konsole 16.07 (mid 2016):
     5         kx #    add dim, invis, strikeout
     5         kx #    (also overline, which is too rarely used to provide as an extension)
     5         kx #
     5         kx # Updated for konsole 17.12.0 (late 2017):
     5         kx #
     5         kx # Re-enable "bel", since it is latent in the source-code even though KDE config
     5         kx # often hides the feature (2020/5/30)
     5         kx konsole-base|KDE console window:\
     5         kx 	:NP:km@:ut:\
     5         kx 	:NC@:\
     5         kx 	:*6@:@0@:@7=\E[4~:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:ch=\E[%i%dG:cv=\E[%i%dd:ec=\E[%dX:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:kD=\E[3~:kb=\177:\
     5         kx 	:kh=\E[1~:mb=\E[5m:me=\E[0m\017:mh=\E[2m:mk=\E[8m:r1=\Ec:\
     5         kx 	:r2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
     5         kx 	:se=\E[27m:ue=\E[24m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=ecma+index:tc=xterm+sm+1006:\
     5         kx 	:tc=ecma+strikeout:tc=ecma+italics:tc=ecma+color:\
     5         kx 	:tc=xterm-r6:
     5         kx 
     5         kx # The keytab feature was introduced in 0.9.12 (February 2000) with "linux" and
     5         kx # "vt100" key-table files along with a compiled-in default key-table.
     5         kx #
     5         kx # The main difference between the two keytabs was that the developer equated
     5         kx # "vt100" with xterm, and noticed that the Linux console's F1-F5 differed from
     5         kx # that.  For the same reason, the home/end keys differ.  A VT100 had none of
     5         kx # that.  The otherwise identical keytabs have definitions to model the VT52
     5         kx # cursor-keys and the VT100 cursor-keys with application versus normal modes.
     5         kx #
     5         kx # An "x11r5" keytab (displayed in the menu as "X11 R5") was added in January
     5         kx # 2001, and shortly after retitled to "XFree 3.x.x".  Both it and "vt100" were
     5         kx # dropped from the install in June 2008.
     5         kx #
     5         kx # The default keytab added in January 2000 was originally titled "X11 R6",
     5         kx # and likewise retitled to "XFree 4".
     5         kx #
     5         kx # A "solaris" keytab was added in Febrary 2005, copying the "vt100" keytab
     5         kx # and changing backspace to ^H, removing that keytab's attempt to model the
     5         kx # VT100 keypad and VT52 (KDE #20459).
     5         kx #
     5         kx # The developers made changes to the default and linux keytabs.  Comparing
     5         kx # the original and 2018 versions using diffstat:
     5         kx #	default: 119 added, 147 deleted, 28 unchanged
     5         kx #	linux:   47 added, 28 deleted, 104 unchanged
     5         kx #
     5         kx # Most of the change for the default keytab was to make konsole act more like
     5         kx # xterm.  That was a feature named AnyMod which came in May 2005 for KDE #92749
     5         kx # (see also Redhat #122815).  Later, in June 2007 the compiled-in keytab was
     5         kx # made an external file (like "linux" and "solaris"), and some further
     5         kx # refinement made.  But there are still flaws in the scheme.
     5         kx #
     5         kx # Essentially AnyMod maps the xterm "PC-style" modifier codes such as 2 for
     5         kx # Shift into a placeholder in the table entries.  That works well if all of the
     5         kx # modified keys are modified in the same way.  But xterm does not do that.  The
     5         kx # first 4 function keys are used in xterm to support the VT100 PF1-PF4 keypad
     5         kx # keys.  For example, F2 sends \EOQ in both terminals because of this feature.
     5         kx # But a shifted F2 (F14=F2+12) differs like this, in infocmp's listing:
     5         kx #	kf14: '\E[1;2Q', '\EO2Q'.
     5         kx #
     5         kx # In effect, a quarter of konsole's function-keys are different from xterm.
     5         kx #
     5         kx # It is not a simple blunder:
     5         kx # a) xterm patch #121 (November 1999), providing the first version of the
     5         kx #    PC-style modifiers would send \EO2Q
     5         kx # b) xterm patch #216 (July 2006) amended this and other details, provided
     5         kx #    better documentation for the modifiers and made the behavior configurable,
     5         kx #    e.g., using the modifyFunctionKeys resource.  The reason why it sends
     5         kx #    \E[1;2Q is that \E[O2Q is not a legal ECMA-48 control sequence.  The
     5         kx #    changelog points this out as "avoid sending SS3 with parameters".
     5         kx # c) That came after AnyMod was introduced, but still early enough that one
     5         kx #    might expect konsole's developers to followup.  Twelve years later that
     5         kx #    has yet to happen.
     5         kx #
     5         kx # As of 2018, konsole still provides 3 keyboard profiles ("XFree 4", "linux",
     5         kx # "solaris").
     5         kx konsole-linux|KDE console window with linux keyboard:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:k1=\E[[A:\
     5         kx 	:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:tc=konsole-base:
     5         kx konsole-solaris|KDE console window with Solaris keyboard:\
     5         kx 	:@7=\E[4~:kb=^H:kh=\E[1~:tc=konsole-vt100:
     5         kx 
     5         kx # Obsolete: x11r5.keymap
     5         kx # KDE's "XFree86 3.x.x" keyboard was obviously based on reading the xterm
     5         kx # terminfo at the time rather than testing the code.
     5         kx konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm:\
     5         kx 	:@7=\E[4~:kh=\E[1~:tc=konsole-vt100:
     5         kx 
     5         kx # The value for kbs (see konsole-vt100) reflects local customization rather
     5         kx # than the settings used for XFree86 xterm.
     5         kx konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm:\
     5         kx 	:@7=\EOF:kh=\EOH:tc=konsole+pcfkeys:tc=konsole-vt100:
     5         kx 
     5         kx konsole+pcfkeys|konsole subset of xterm+pcfkeys:\
     5         kx 	:kB=\E[Z:tc=xterm+pcc2:tc=xterm+pcf0:tc=xterm+pce2:
     5         kx 
     5         kx # Obsolete: vt100.keymap
     5         kx # KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
     5         kx # it is still useful for deriving the other entries, since the developer
     5         kx # provided function-keys based on xterm.
     5         kx konsole-vt100|KDE console window with vt100 (sic) keyboard:\
     5         kx 	:@7=\E[F:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\E[3~:kb=\177:kh=\E[H:tc=konsole-base:
     5         kx 
     5         kx # Obsolete: vt420pc.keytab was added in June 2000, dropped from the install in
     5         kx # September 2008 and removed in June 2016.  The developer who removed it stated
     5         kx # that it was never installed.
     5         kx konsole-vt420pc|KDE console window with vt420 pc keyboard:\
     5         kx 	:kD=\177:kb=^H:tc=konsole-vt100:
     5         kx 
     5         kx # make a default entry for konsole
     5         kx konsole|KDE console window:\
     5         kx 	:tc=konsole-xf4x:
     5         kx 
     5         kx # These were written for ncurses:
     5         kx konsole-16color|klone of xterm-16color:\
     5         kx 	:NC#32:tc=ibm+16color:tc=konsole:
     5         kx konsole-256color|KDE console window with xterm 256-colors:\
     5         kx 	:tc=xterm+256setaf:tc=konsole:
     5         kx 
     5         kx #### MLTERM
     5         kx # https://github.com/arakiken/mlterm
     5         kx 
     5         kx mlterm|multi lingual terminal emulator:\
     5         kx 	:tc=mlterm3:
     5         kx 
     5         kx # Tested mlterm 3.9.0 (2020/09/19):
     5         kx # ncurses:
     5         kx # - has blinking text
     5         kx # - has italics
     5         kx # - has invisible-text
     5         kx # tack:
     5         kx # - has crossed-out text
     5         kx # - does not support palette reset with OSC 104
     5         kx # - testing the function-keys is difficult because the terminal is
     5         kx #   preconfigured to set many of the modified keys to special functions, e.g.,
     5         kx #   - shift-F1 and shift-F2 are bound to a split-screen feature
     5         kx #   - control-F1 and control-F2 is bound to a new-terminal feature
     5         kx # vttest:
     5         kx # - primary response says it is a VT340 (ReGIS and Sixel).
     5         kx # - has partial support for double-size characters.
     5         kx # - character-set tests do not work.
     5         kx # - DEC locator works.
     5         kx # - 1006-mouse works.
     5         kx # - focus-events do not work reliably.
     5         kx # - numeric keypad escapes do not work.
     5         kx # - back-color erase works
     5         kx # other:
     5         kx # - title-stack works.
     5         kx # - doesn't respond to 8-bit controls.
     5         kx # - 256-color palette initializing works.
     5         kx # - DECSTR soft-reset is documented.
     5         kx #
     5         kx # Tested mlterm 3.3.8 (2018/01/21):
     5         kx # found xterm+sm+1006 did not work with version 3.3.8
     5         kx # soft-reset DECSTR is in sources since 2017/09/19.
     5         kx #
     5         kx # Tested mlterm 3.2.2 (2014/03/22):
     5         kx # mlterm 3.x made further changes, but they were not reflected in the included
     5         kx # mlterm.ti (which was dropped in 2015).  This entry has been based on testing
     5         kx # with ncurses, tack and vttest -TD
     5         kx mlterm3|multi lingual terminal emulator:\
     5         kx 	:ut:\
     5         kx 	:is=\E[!p\E[?3;4l\E>:mb=\E[5m:mk=\E[8m:\
     5         kx 	:rs=\E[!p\E[?3;4l\E>:vb=\E[?5h\E[?5l:tc=ansi+enq:\
     5         kx 	:tc=ansi+rep:tc=ecma+italics:tc=ecma+strikeout:\
     5         kx 	:tc=xterm+app:tc=xterm+pcf2:tc=xterm+pcc2:tc=xterm+pce2:\
     5         kx 	:tc=xterm+meta:tc=xterm+alt+title:tc=xterm+sm+1006:\
     5         kx 	:tc=vt100+pfkeys:tc=mlterm2:
     5         kx 
     5         kx # This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
     5         kx #
     5         kx # It is nominally a vt102 emulator, with features borrowed from rxvt and
     5         kx # xterm.
     5         kx #
     5         kx # The function keys are numbered based on shift/control/alt modifiers, except
     5         kx # that the control-modifier itself is used to spawn a new copy of mlterm (the
     5         kx # "-P" option).  So control/F1 to control/F12 may not be usable, depending on
     5         kx # how it is configured.
     5         kx #
     5         kx #				kf1 to kf12	\E[11~   to \E[24~
     5         kx #	shift			kf1 to kf12	\E[11;2~ to \E[24;2~
     5         kx #	alt			kf1 to kf12	\E[11;3~ to \E[24;3~
     5         kx #	shift/alt		kf1 to kf12	\E[11;4~ to \E[24;4~
     5         kx #	control			kf1 to kf12	\E[11;5~ to \E[24;5~ (maybe)
     5         kx #	control/shift		kf1 to kf12	\E[11;6~ to \E[24;6~
     5         kx #	control/alt		kf1 to kf12	\E[11;7~ to \E[24;7~
     5         kx #	control/shift/alt	kf1 to kf12	\E[11;8~ to \E[24;8~
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx mlterm2|multi lingual terminal emulator:\
     5         kx 	:5i:NP:am:es:km:mi:ms:xn:\
     5         kx 	:Co#8:co#80:it#8:li#24:pa#64:\
     5         kx 	:*6=\E[4~:@0=\E[1~:@7=\EOF:@8=\EOM:AB=\E[4%dm:AF=\E[3%dm:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:eA=:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:kB=\E[Z:\
     5         kx 	:kD=\E[3~:kF=\EO1;2B:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kR=\EO1;2A:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\EE:op=\E[39;49m:ps=\E[i:r1=\Ec:\
     5         kx 	:r2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?1;2c:u9=\E[c:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:tc=xterm+alt1049:\
     5         kx 	:tc=ecma+index:tc=mlterm+pcfkeys:tc=xterm+r6f2:
     5         kx 
     5         kx # The insert/delete/home/end keys do not respond to modifiers because mlterm
     5         kx # looks in its termcap to decide which string to send.  If it used terminfo
     5         kx # (when available), it could use the extended names introduced for xterm.
     5         kx mlterm+pcfkeys|fragment for PC-style fkeys:\
     5         kx 	:#4=\EO1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\EO1;2C:
     5         kx 
     5         kx mlterm-256color|mlterm 3.0 with xterm 256-colors:\
     5         kx 	:tc=xterm+256color:tc=mlterm:
     5         kx 
     5         kx #### RXVT
     5         kx # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
     5         kx # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
     5         kx # Notes:
     5         kx # rxvt 2.21b uses
     5         kx #	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
     5         kx # but some applications don't work with that.
     5         kx # It also has an AIX extension
     5         kx #	box2=lqkxjmwuvtn,
     5         kx # and
     5         kx #	ech=\E[%p1%dX,
     5         kx # but the latter does not work correctly.
     5         kx #
     5         kx # The distributed terminfo says it implements hpa and vpa, but they are not
     5         kx # implemented correctly, using relative rather than absolute positioning.
     5         kx #
     5         kx # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
     5         kx # Since rxvt is not really compatible with xterm, it should be configured as
     5         kx # "rxvt" or "rxvt-color".
     5         kx #
     5         kx # removed dch/dch1 because they are inconsistent with bce/ech -TD
     5         kx # remove km as per tack test -TD
     5         kx rxvt-basic|rxvt terminal base (X Window System):\
     5         kx 	:am:bs:eo:mi:ms:ut:xn:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:Km=\E[M:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dl=\E[M:do=\n:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\E[?47l\E=\E[?1l:im=\E[4h:\
     5         kx 	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:kB=\E[Z:\
     5         kx 	:kb=^H:ke=\E>:ks=\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:\
     5         kx 	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
     5         kx 	:r2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
     5         kx 	:rc=\E8:s0=\E(B:s1=\E(0:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:\
     5         kx 	:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=vt100+enq:tc=rxvt+pcfkeys:\
     5         kx 	:tc=vt220+keypad:
     5         kx # Key Codes from rxvt reference:
     5         kx #
     5         kx # Note: Shift + F1-F10 generates F11-F20
     5         kx #
     5         kx # For the keypad, use Shift to temporarily override Application-Keypad
     5         kx # setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
     5         kx # is off, escape sequences toggle Application-Keypad setting.
     5         kx # Also note that values of Home, End, Delete may have been compiled
     5         kx # differently on your system.
     5         kx #
     5         kx #                   Normal       Shift        Control      Ctrl+Shift
     5         kx #  Tab              ^I           ESC [ Z      ^I           ESC [ Z
     5         kx #  BackSpace        ^H           ^?           ^?           ^?
     5         kx #  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
     5         kx #  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
     5         kx #  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
     5         kx #  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
     5         kx #  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
     5         kx #  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
     5         kx #  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
     5         kx #  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
     5         kx #  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
     5         kx #  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
     5         kx #  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
     5         kx #  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
     5         kx #  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
     5         kx #  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
     5         kx #  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
     5         kx #  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
     5         kx #  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
     5         kx #  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
     5         kx #  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
     5         kx #  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
     5         kx #  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
     5         kx #  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
     5         kx #  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
     5         kx #  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
     5         kx #  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
     5         kx #  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
     5         kx #  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
     5         kx #  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
     5         kx #  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
     5         kx #
     5         kx #                                                          Application
     5         kx #  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
     5         kx #  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
     5         kx #  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
     5         kx #  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
     5         kx #  KP_Enter         ^M                                     ESC O M
     5         kx #  KP_F1            ESC O P                                ESC O P
     5         kx #  KP_F2            ESC O Q                                ESC O Q
     5         kx #  KP_F3            ESC O R                                ESC O R
     5         kx #  KP_F4            ESC O S                                ESC O S
     5         kx #  XK_KP_Multiply   *                                      ESC O j
     5         kx #  XK_KP_Add        +                                      ESC O k
     5         kx #  XK_KP_Separator  ,                                      ESC O l
     5         kx #  XK_KP_Subtract   -                                      ESC O m
     5         kx #  XK_KP_Decimal    .                                      ESC O n
     5         kx #  XK_KP_Divide     /                                      ESC O o
     5         kx #  XK_KP_0          0                                      ESC O p
     5         kx #  XK_KP_1          1                                      ESC O q
     5         kx #  XK_KP_2          2                                      ESC O r
     5         kx #  XK_KP_3          3                                      ESC O s
     5         kx #  XK_KP_4          4                                      ESC O t
     5         kx #  XK_KP_5          5                                      ESC O u
     5         kx #  XK_KP_6          6                                      ESC O v
     5         kx #  XK_KP_7          7                                      ESC O w
     5         kx #  XK_KP_8          8                                      ESC O x
     5         kx #  XK_KP_9          9                                      ESC O y
     5         kx #
     5         kx # The source-code for rxvt actually defines mappings for F21-F35, using
     5         kx # "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
     5         kx # are rare, so this entry uses the shift- and control-modifiers as in
     5         kx # xterm+pcfkeys to define keys past F12.
     5         kx #
     5         kx # kIC is normally not used, since rxvt performs a paste for that (shifted
     5         kx # insert), unless private mode 35 is set.
     5         kx #
     5         kx # kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
     5         kx # Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
     5         kx rxvt+pcfkeys|fragment for PC-style fkeys:\
     5         kx 	:#2=\E[7$:#3=\E[2$:#4=\E[d:%c=\E[6$:%e=\E[5$:%i=\E[c:\
     5         kx 	:*4=\E[3$:*6=\E[4~:*7=\E[8$:@0=\E[1~:@7=\E[8~:F1=\E[23~:\
     5         kx 	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
     5         kx 	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:FB=\E[23$:\
     5         kx 	:FC=\E[24$:FD=\E[11\136:FE=\E[12\136:FF=\E[13\136:\
     5         kx 	:FG=\E[14\136:FH=\E[15\136:FI=\E[17\136:FJ=\E[18\136:\
     5         kx 	:FK=\E[19\136:FL=\E[20\136:FM=\E[21\136:FN=\E[23\136:\
     5         kx 	:FO=\E[24\136:FP=\E[25\136:FQ=\E[26\136:FR=\E[28\136:\
     5         kx 	:FS=\E[29\136:FT=\E[31\136:FU=\E[32\136:FV=\E[33\136:\
     5         kx 	:FW=\E[34\136:FX=\E[23@:FY=\E[24@:k1=\E[11~:k2=\E[12~:\
     5         kx 	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[8\136:\
     5         kx 	:kF=\E[a:kI=\E[2~:kN=\E[6~:kP=\E[5~:kR=\E[b:kd=\E[B:\
     5         kx 	:kh=\E[7~:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx 
     5         kx # rxvt was originally "xvt", first announced in April 1993:
     5         kx #	http://www.krsaborio.net/linux-desktops/research/1993/0416.html
     5         kx #------------------------------------------------------------------------------
     5         kx # Article: 567 of comp.os.linux.announce
     5         kx # Path: pavo.csi.cam.ac.uk!warwick!uknet!pipex!uunet!zaphod.mps.ohio-state.edu!
     5         kx # caen!batcomputer!theory.TC.Cornell.EDU!mdw
     5         kx # From: nation@rocket.sanders.com (Robert Nation)
     5         kx # Newsgroups: comp.os.linux.announce
     5         kx # Subject: xvt upload
     5         kx # Date: 16 Apr 1993 18:13:07 GMT
     5         kx # Organization: Cornell Theory Center
     5         kx # Lines: 13
     5         kx # Approved: linux-announce@tc.cornell.edu (Matt Welsh)
     5         kx # Message-ID: <1qmsvj$pvj@fitz.TC.Cornell.EDU>
     5         kx # NNTP-Posting-Host: theory.tc.cornell.edu
     5         kx # Keywords: xvt, xterm, Xwindows
     5         kx # Originator: mdw@theory.TC.Cornell.EDU
     5         kx #
     5         kx # Rxvt has been uploaded to /pub/Linux/Incoming/rxvt.tar.z and
     5         kx # rxvt.README on sunsite.unc.edu.
     5         kx #
     5         kx # Xvt is an xterm replacement which uses a little less memory, and is
     5         kx # suitable for use on machines with small memories. Tek4010 support
     5         kx # is removed.
     5         kx #
     5         kx # Modifications were made by Rob Nation (nation@rocket.sanders.lockheed.com)
     5         kx # to make it a little more compact, and to add and remove certain features.
     5         kx #
     5         kx #
     5         kx # --
     5         kx # Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
     5         kx #------------------------------------------------------------------------------
     5         kx #
     5         kx # Though its change-log does not mention this, John Davis has stated that he
     5         kx # was the author of the changes to use the bce ("new color model") which was
     5         kx # incorporated into rxvt 2.11 (June 15, 1995).  The change-log does not give
     5         kx # dates, nor give developer's names.  Initial color support was added for rxvt
     5         kx # "2.0", which was sometime in 1994.
     5         kx #
     5         kx # rxvt had usable color support with 2.16 (April 2, 1996), with some help by my
     5         kx # work on vttest, as well as bug reports to Mark Olesen.  For instance, the fix
     5         kx # mentioned here
     5         kx #	https://web.archive.org/web/20141016124430/http://web.archiveorange.com/archive/v/6ETvLb5wHtbbzCaS4S9J
     5         kx # was from one of my bug-reports -TD
     5         kx #
     5         kx # While the color model both for xterm and rxvt was based on Linux console,
     5         kx # Olesen (or possibly Davis) diverged in one respect from Linux's bce color
     5         kx # behavior: inserting/deleting characters does not fill the newly empty cell
     5         kx # with the default background color.
     5         kx rxvt|rxvt terminal emulator (X Window System):\
     5         kx 	:NC@:\
     5         kx 	:ch=\E[%i%dG:cv=\E[%i%dd:k0=\E[21~:me=\E[m\017:\
     5         kx 	:tc=rxvt-basic:tc=ecma+color:
     5         kx rxvt-color|rxvt terminal emulator (X Window System):\
     5         kx 	:tc=rxvt:
     5         kx rxvt-256color|rxvt 2.7.9 with xterm 256-colors:\
     5         kx 	:tc=xterm+256color:tc=rxvt:
     5         kx rxvt-88color|rxvt 2.7.9 with xterm 88-colors:\
     5         kx 	:tc=xterm+88color:tc=rxvt:
     5         kx rxvt-xpm|rxvt terminal emulator (X Window System):\
     5         kx 	:tc=rxvt:
     5         kx rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin:\
     5         kx 	:ac=+\257,\256-\1360\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:tc=rxvt:
     5         kx rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin:\
     5         kx 	:ac=+\257,\256-\1360\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376:\
     5         kx 	:tc=rxvt-cygwin:
     5         kx 
     5         kx # This variant is supposed to work with rxvt 2.7.7 when compiled with
     5         kx # NO_BRIGHTCOLOR defined.  rxvt needs more work...
     5         kx rxvt-16color|rxvt with 16 colors like aixterm:\
     5         kx 	:NC#32:tc=ibm+16color:tc=rxvt:
     5         kx 
     5         kx #### MRXVT
     5         kx # mrxvt 0.5.4
     5         kx #
     5         kx # mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
     5         kx # makes its function-keys different from other flavors of rxvt -TD
     5         kx #
     5         kx # Testing with tack:
     5         kx # +	made custom description (below) to work, though it sets TERM=xterm.
     5         kx #
     5         kx # Testing with vttest:
     5         kx # +	While "based on" rxvt, some of the basic functionality is broken.  The
     5         kx #	window collapses to a single line when running several of the screens
     5         kx #	in vttest, e.g., the tests for cursor movement, screen features,
     5         kx #	double-sized characters.
     5         kx # +	The vt52 test works properly, but this is an exception.  Due to the
     5         kx #	other bug(s) most of vttest is untestable.
     5         kx # +	the color test using ECH shows a gap in the bce model, like rxvt.
     5         kx #
     5         kx # Testing with xterm "vttest" scripts:
     5         kx # +	resize.pl does not work because mrxvt does implement CSI 18 t
     5         kx #	(not in rxvt, but not documented by mrxvt) but not CSI 19 t.
     5         kx # +	none of the "dynamic colors" (OSC colors) scripts work.
     5         kx mrxvt|multitabbed rxvt:\
     5         kx 	:#2=\E[7;2~:*7=\E[8;2~:@7=\E[8~:kd=\E[B:kh=\E[7~:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:tc=xterm+r6f2:tc=xterm+pcfkeys:tc=rxvt:
     5         kx 
     5         kx mrxvt-256color|multitabbed rxvt with 256 colors:\
     5         kx 	:tc=xterm+256color:tc=mrxvt:
     5         kx 
     5         kx #### ETERM
     5         kx # From: Michael Jennings <mej@valinux.com>
     5         kx #
     5         kx # Eterm 0.9.3
     5         kx #
     5         kx # removed kf0 which conflicts with kf10 -TD
     5         kx # remove cvvis which conflicts with cnorm -TD
     5         kx # Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
     5         kx # but does otherwise follow the rxvt+pcfkeys model -TD
     5         kx # remove nonworking flash -TD
     5         kx # remove km as per tack test -TD
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx Eterm|Eterm-color|Eterm with xterm-style color support (X Window System):\
     5         kx 	:5i:am:bw:eo:mi:ms:ut:xn:xo:\
     5         kx 	:BT#5:NC@:co#80:it#8:li#24:lm#0:\
     5         kx 	:%1=\E[28~:%c@:%e@:@1=\EOu:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\E[7~:K2=\EOu:K3=\E[5~:\
     5         kx 	:K4=\E[8~:K5=\E[6~:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
     5         kx 	:SA=\E[?7h:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\E[?47l\E>\E[?1l:im=\E[4h:\
     5         kx 	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:kb=^H:ke=:\
     5         kx 	:ks=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
     5         kx 	:pf=\E[4i:po=\E[5i:\
     5         kx 	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
     5         kx 	:r2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:tc=vt100+enq:\
     5         kx 	:tc=rxvt+pcfkeys:tc=ecma+color:
     5         kx 
     5         kx Eterm-256color|Eterm with xterm 256-colors:\
     5         kx 	:tc=xterm+256color:tc=Eterm:
     5         kx 
     5         kx Eterm-88color|Eterm with 88 colors:\
     5         kx 	:tc=xterm+88color:tc=Eterm:
     5         kx 
     5         kx #### ATERM
     5         kx # Based on rxvt 2.4.8, it has a few differences in key bindings
     5         kx aterm|AfterStep terminal:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:tc=rxvt:
     5         kx 
     5         kx #### XITERM
     5         kx # xiterm  0.5-5.2
     5         kx # This is not based on xterm's source...
     5         kx # vttest shows several problems with keyboard, cursor-movements.
     5         kx # see also https://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
     5         kx xiterm|internationalized terminal emulator for X:\
     5         kx 	:km@:\
     5         kx 	:kD=\E[3~:kb=\177:tc=klone+color:tc=xterm-r6:
     5         kx 
     5         kx 
     5         kx #### HPTERM
     5         kx # HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
     5         kx # from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
     5         kx # chars look like --esr)
     5         kx hpterm|X-hpterm|hp X11 terminal emulator:\
     5         kx 	:am:da:db:mi:xo:xs:\
     5         kx 	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:ug#0:\
     5         kx 	:LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
     5         kx 	:cd=1\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
     5         kx 	:cr=\r:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
     5         kx 	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
     5         kx 	:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
     5         kx 	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
     5         kx 	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
     5         kx 	:ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
     5         kx 	:mu=\Em:nd=\EC:se=\E&d@:sf=\n:so=\E&dJ:sr=\ET:st=\E1:ta=^I:\
     5         kx 	:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx # HPUX 11 provides a color version.
     5         kx hpterm-color|HP X11 terminal emulator with color:\
     5         kx 	:cc:\
     5         kx 	:Co#64:pa#8:\
     5         kx 	:ho=\E&a0y0C:op=\E&v0S:sp=\E&v%dS:tc=hpterm:
     5         kx 
     5         kx #### EMU
     5         kx # This is for the extensible terminal emulator on the X11R6 contrib tape.
     5         kx # It corresponds to emu's internal emulation:
     5         kx #	emu -term emu
     5         kx # emu's default sets TERM to "xterm", but that doesn't work well -TD
     5         kx # fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
     5         kx # fixes: add civis, cnorm, sgr -TD
     5         kx emu|emu native mode:\
     5         kx 	:am:mi:ms:ut:xo:\
     5         kx 	:Co#15:co#80:it#8:li#24:pa#64:vt#200:\
     5         kx 	:*6=\Esel:@0=\Efind:@8=\r:AB=\Es%i%d;:AF=\Er%i%d;:\
     5         kx 	:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
     5         kx 	:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
     5         kx 	:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
     5         kx 	:UP=\Ep-%d;:\
     5         kx 	:ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
     5         kx 	:al=\EQ1;:bl=^G:cb=\EL:cd=\EN:ce=\EK:cl=\EP\EE0;0;:\
     5         kx 	:cm=\EE%d;%d;:cr=\r:cs=\Ek%d;%d;:ct=\Ej:dc=\EI1;:dl=\ER1;:\
     5         kx 	:do=\EB:ec=\Ej%d;:ei=\EX:ho=\EE0;0;:im=\EY:\
     5         kx 	:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:k2=\EF02:k3=\EF03:\
     5         kx 	:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:k8=\EF08:k9=\EF09:\
     5         kx 	:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:kP=\Eprior:kb=^H:\
     5         kx 	:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:mb=\EW:md=\EU:me=\ES:\
     5         kx 	:mr=\ET:nd=\EC:op=\Es0;\Er0;:rs=\ES\Es0;\Er0;:se=\ES:\
     5         kx 	:sf=\EG:so=\ET:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\EV:\
     5         kx 	:ve=\Ea:vi=\EZ:
     5         kx 
     5         kx # vt220 Terminfo entry for the Emu emulation, corresponds to
     5         kx #	emu -term vt220
     5         kx # with NumLock set (to make the keypad transmit kf0-kf9).
     5         kx # fixes: add am, xenl, corrected sgr0 -TD
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx emu-220|Emu-220 (vt200-7bit mode):\
     5         kx 	:am:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#200:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:\
     5         kx 	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[1B:\
     5         kx 	:ho=\E[H:if=/usr/share/tabset/vt300:\
     5         kx 	:is=\E>\E[?1l\E[?3l\E[4l\E[?7h:k0=\EOp:k1=\EOq:k2=\EOr:\
     5         kx 	:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
     5         kx 	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[1D:mb=\E[0;5m:\
     5         kx 	:md=\E[0;1m:me=\E[0m:mr=\E[0;7m:nd=\E[1C:rc=\E8:\
     5         kx 	:rs=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h:sc=\E7:se=\E[m:\
     5         kx 	:sf=\ED:so=\E[0;7m:sr=\EM:st=\EH:ta=^I:te=\E>:ti=\E[?1l\E=:\
     5         kx 	:ue=\E[m:up=\E[1A:us=\E[0;4m:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx #### MVTERM
     5         kx # A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
     5         kx # print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
     5         kx # indicate that it emulates more than one terminal, but incompletely.
     5         kx #
     5         kx # This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
     5         kx # It is based on vt102's entry, with some subtle differences, but also
     5         kx #	has status line
     5         kx #	supports ANSI colors (except for 'op' string)
     5         kx #	apparently implements alternate screen like xterm
     5         kx #	does not use padding, of course.
     5         kx mvterm|vv100|SwitchTerm aka mvTERM:\
     5         kx 	:am:es:hs:km:mi:ms:xn:xo:\
     5         kx 	:Co#8:co#80:it#8:li#24:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ds=\E[?E:eA=\E(B\E)0:ei=:\
     5         kx 	:fs=\E[?F:ho=\E[H:ic=\E[@:im=:k0=\EOy:k5=\EOt:k6=\EOu:\
     5         kx 	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:op=\E[100m:\
     5         kx 	:rc=\E8:\
     5         kx 	:rs=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H:\
     5         kx 	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ts=\E[?E\E[?%i%dT:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:tc=vt100+fnkeys:
     5         kx 
     5         kx #### MTERM
     5         kx #
     5         kx # This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
     5         kx #
     5         kx # "mterm -type ansi" sets $TERM to "ansi"
     5         kx mterm-ansi|ANSI emulation:\
     5         kx 	:am:bw:mi:ms:\
     5         kx 	:it#8:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cv=\E[%i%dd:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=:im=\E[4h:\
     5         kx 	:is=\E)0\017:kb=^H:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[27m:\
     5         kx 	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=ecma+index:
     5         kx # mterm normally sets $TERM to "mterm"
     5         kx mterm|mouse-sun|Der Mouse term:\
     5         kx 	:am:bw:mi:\
     5         kx 	:it#8:\
     5         kx 	:al=^A:bl=^G:cd=^B:ce=^C:cl=^L:cm=\006%d.%d.:cr=\r:dc=^Y:\
     5         kx 	:dl=^K:do=^N:ei=^O:ho=^P:im=^Q:kb=^H:le=^H:ll=^R:nd=^S:\
     5         kx 	:nw=\r^U:se=^T:sf=^U:so=^V:sr=^W:ta=^I:up=^X:
     5         kx # "mterm -type decansi" sets $TERM to "decansi"
     5         kx #
     5         kx # note: kdch1, kfnd, kslt are in the source code, but do not work -TD
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx decansi|ANSI emulation with DEC compatibility hacks:\
     5         kx 	:am:mi:ms:xn:\
     5         kx 	:Co#8:it#8:pa#64:\
     5         kx 	:*6=\E[4~:@0=\E[1~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
     5         kx 	:F8=\E[32~:F9=\E[33~:FA=\E[34~:LE=\E[%dD:RA=\E[?7l:\
     5         kx 	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:eA=\E(B\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=:im=\E[4h:\
     5         kx 	:is=\E)0\E[r\017:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
     5         kx 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:\
     5         kx 	:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:op=\E[0m:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[27m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:u6=\E[%i%d;%dR:\
     5         kx 	:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=ecma+index:
     5         kx 
     5         kx #### VWM
     5         kx # http://vwm.sourceforge.net/
     5         kx #
     5         kx # VWM 2.0.2 (2009-05-01)
     5         kx # vwmterm is a terminal emulator written for the VWM console window manager.
     5         kx # This version is obsolete, replaced by libvterm in 2.1.0 (2009-10-23).
     5         kx vwmterm|(vwm term):\
     5         kx 	:NP:am:cc:mi:ms:ut:xn:xo:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:DO=\E[%dB:F1=\E[22~:\
     5         kx 	:F2=\E[23~:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:do=\E[B:ho=\E[H:\
     5         kx 	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
     5         kx 	:kN=\E[6~:kP=\E[5~:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:\
     5         kx 	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:\
     5         kx 	:mk=\E[8m:mr=\E[7m:nd=\E[C:r1=\E[H\E[J\E[m\Ec:sf=\n:\
     5         kx 	:so=\E[3m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:vs=\E[?25h:tc=xterm+alt1049:
     5         kx 
     5         kx #### MGR
     5         kx #
     5         kx # MGR is a Bell Labs window system lighter-weight than X.
     5         kx # These entries describe MGR's xterm-equivalent.
     5         kx # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
     5         kx #
     5         kx 
     5         kx mgr|Bellcore MGR (non X) window system terminal emulation:\
     5         kx 	:am:km:xo:\
     5         kx 	:AL=3*\E%da:DC=5\E%dE:DL=3*\E%dd:IC=5\E%dA:RA=\E5S:\
     5         kx 	:SA=\E5s:al=3\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:\
     5         kx 	:cr=\r:cs=\E%d;%dt:dc=\EE:dl=3\Ed:do=\Ef:ei=:hd=\E1;2f:\
     5         kx 	:hu=\E1;2u:ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=\r\n:se=\E0n:sf=\n:\
     5         kx 	:so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
     5         kx 	:vs=\E0h:
     5         kx mgr-sun|Mgr window with Sun keyboard:\
     5         kx 	:%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E[197z:\
     5         kx 	:@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
     5         kx 	:K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
     5         kx 	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
     5         kx 	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
     5         kx 	:kP=\E[216z:kh=\E[214z:tc=mgr:
     5         kx mgr-linux|Mgr window with Linux keyboard:\
     5         kx 	:@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
     5         kx 	:K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
     5         kx 	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
     5         kx 	:tc=mgr:
     5         kx 
     5         kx #### SIMPLETERM
     5         kx # st.suckless.org
     5         kx 
     5         kx st|stterm| simpleterm:\
     5         kx 	:tc=st-0.8:
     5         kx 
     5         kx # Reviewed 0.8.2:
     5         kx # In tack,
     5         kx #	there is some problem turning off line-drawing
     5         kx #	shift+control function-keys do nothing; shift+control cursor keys work
     5         kx #	the padding tests make the terminal non-functional.
     5         kx # In vttest,
     5         kx #	SD/SU work
     5         kx #	SL/SR/REP do not work
     5         kx #	ECMA-48 cursor movement works, e.g., CHA, CBT, etc.
     5         kx #
     5         kx # This entry discards the ccc/initc capabilities from st-0.7 because they
     5         kx # belong in st-256color.
     5         kx st-0.8|simpleterm 0.7:\
     5         kx 	:@8@:kB@:mh=\E[2m:oc=\E]104\007:tc=ecma+strikeout:\
     5         kx 	:tc=st-0.6:
     5         kx 
     5         kx # Reviewed 0.7:
     5         kx #	dim is intermittent, sometimes works, sometimes does not
     5         kx #	italics may show up with yellow color
     5         kx #	has control cursor-keys, alt cursor-keys, still no combinations
     5         kx #	has control pageup/down
     5         kx # tmux extensions, see TERMINFO EXTENSIONS in tmux(1)
     5         kx #	Se and Ss are implemented in the source-code, but the terminfo
     5         kx #	provided with the source is incorrect, since Se/Ss are mis-coded
     5         kx #	as booleans rather than strings.
     5         kx st-0.7|simpleterm 0.7:\
     5         kx 	:cc:\
     5         kx 	:@8@:kB@:mh=\E[2m:oc=\E]104\007:tc=ecma+strikeout:\
     5         kx 	:tc=st-0.6:
     5         kx 
     5         kx # st-0.4.1
     5         kx #
     5         kx # This version uses a table which supports a single modifier (a subset of
     5         kx # xterm's keys, using the same scheme).  Because it supports only a single
     5         kx # modifier in this table, function keys f36-f48 are normally unavailable
     5         kx # because they are assigned to modifier-4.
     5         kx #
     5         kx # The program assigns TERM to match the program name (the upstream source says
     5         kx # "st", but Debian renames it to "stterm").
     5         kx #
     5         kx # The source includes two entries which are not useful here:
     5         kx #	st-meta| simpleterm with meta key,
     5         kx #	st-meta-256color| simpleterm with meta key and 256 colors,
     5         kx # because st's notion of "meta" does not correspond to the terminfo definition.
     5         kx # Rather, it acts like xterm - when the meta feature is disabled.
     5         kx #
     5         kx # Removed invis -TD
     5         kx # Added eo, removed ul -TD
     5         kx #
     5         kx # Reviewed st 0.5:
     5         kx # implements control-modifier, but not control-shift for special keys
     5         kx # implements alt-modifier, but not alt-shift for special keys
     5         kx #
     5         kx # Reviewed st 0.6:
     5         kx #	http://git.suckless.org/st/log/st.info
     5         kx # Tmux unofficial extensions, see TERMINFO EXTENSIONS in tmux(1)
     5         kx # still has no function keys past kf36 (no combinations of modifiers)
     5         kx # no application keypad mode, e.g, kent.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx st-0.6|simpleterm 0.6:\
     5         kx 	:am:hs:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:K1=\E[1~:K2=\EOu:K3=\E[5~:K4=\E[4~:K5=\E[6~:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:fs=^G:ho=\E[H:im=\E[4h:is=\E[4l\E>\E[?1034l:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
     5         kx 	:vs=\E[?25h:tc=ecma+index:tc=xterm+alt1049:tc=xterm+sl:\
     5         kx 	:tc=ecma+italics:
     5         kx #
     5         kx # st-0.1.1
     5         kx #
     5         kx # Note:  the original terminfo description uses leading blank to persuade
     5         kx # ncurses to use "st" as its name.  Proper fix for that is to use "st" as an
     5         kx # alias.
     5         kx #
     5         kx # Reading the code shows it should work for aixterm 16-colors
     5         kx # - added st-16color
     5         kx #
     5         kx # Using tack:
     5         kx # - set eo (erase-overstrike)
     5         kx # - set xenl
     5         kx # - tbc doesn't work
     5         kx # - hts works
     5         kx # - cbt doesn't work
     5         kx # - shifted cursor-keys send sequences like rxvt
     5         kx # - sgr referred to unimplemented "invis" mode.
     5         kx # Fixes: add eo and xenl per tack, remove nonworking cbt, hts and tbc, invis
     5         kx simpleterm|old-st| simpleterm 0.1.1:\
     5         kx 	:am:eo:mi:ms:ul:xn:\
     5         kx 	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
     5         kx 	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:\
     5         kx 	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\n:ei=:ho=\E[H:im=:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kb=\177:\
     5         kx 	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:\
     5         kx 	:me=\E[0m:mr=\E[7m:nd=\E[C:op=\E[37;40m:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[?12l\E[?25h:vi=\E[?25l:tc=ecma+index:
     5         kx st-16color|stterm-16color|simpleterm with 16-colors:\
     5         kx 	:tc=ibm+16color:tc=st:
     5         kx # Tested with st 0.8.2
     5         kx # The issue with the titlebar is fixed, though st is very slow.
     5         kx # In st 0.7, 256 colors "works", but when running xterm's test-scripts, some
     5         kx # garbage is shown in the titlebar.
     5         kx #
     5         kx # terminal wants to use TERM=stterm-256color, but that is longer than 14
     5         kx # characters, making the choice nonportable.
     5         kx st-256color|stterm-256color|simpleterm with 256 colors:\
     5         kx 	:tc=xterm+256color:tc=st:
     5         kx 
     5         kx #### TERMINATOR
     5         kx # https://github.com/software-jessies-org/jessies/wiki/Terminator
     5         kx #
     5         kx # Tested using the Debian package org.jessies.terminator 6.104.3256 on 64-bit
     5         kx # Debian/current -TD (2011/8/20)
     5         kx #
     5         kx # There were some packaging problems:
     5         kx # a) using Java, the program starts off using 50Mb, and climbs from there,
     5         kx #    up to 114Mb after testing (no scrollback).
     5         kx # b) it insists on reinstalling its terminal description in $HOME/.terminfo
     5         kx #    (two copies, just in case the host happens to be Mac OS X).
     5         kx #    I deleted this after testing with tack.
     5         kx #
     5         kx # Issues/features found with tack:
     5         kx # a) tbc does not work (implying that hts also is broken).
     5         kx #    Comparing with the tabs utility shows a problem with the last tabstop on
     5         kx #    a line.
     5         kx # b) has xterm-style shifted function-key strings
     5         kx #    meta also is used, but control is ignored.
     5         kx # c) has xterm-style modifiers for cursor keys (shift, control, shift+control,
     5         kx #    meta)
     5         kx # d) some combinations of shift/control send xterm-style sequences for
     5         kx #    insert/delete/home/end.
     5         kx # e) numeric keypad sends only numbers (compare with vttest).
     5         kx # f) meta mode (km) is not implemented.
     5         kx #
     5         kx # Issues found with ncurses test-program:
     5         kx # a) bce is inconsistently implemented
     5         kx # b) widths of Unicode values above 256 do not always agree with wcwidth.
     5         kx #
     5         kx # Checked with vttest, found low degree of compatibility there.
     5         kx #
     5         kx # Checked with xterm's scripts, found that the 256-color palette is fixed.
     5         kx #
     5         kx # Fixes:
     5         kx # a) add sgr string
     5         kx # b) corrected sgr0 to reset alternate character set
     5         kx # c) modified smacs/rmacs to use SCS rather than SI/SO
     5         kx # d) removed bce
     5         kx # e) removed km
     5         kx #
     5         kx # Revisiting in May 2019, the Debian package was no longer available, and a
     5         kx # developer-provided ".deb" does not work.  However, a usable Windows ".msi"
     5         kx # (which relies upon Cygwin) can be tested.  The developers provide a terminfo,
     5         kx # but some of the features it lists do not work reliably (bce, italics, invis).
     5         kx #
     5         kx # tack:
     5         kx #	tbc fails
     5         kx #	invis attribute fails
     5         kx #	key-definitions could be expanded, with some work:
     5         kx #	+ supports xterm-style cursor key-modifiers for shift
     5         kx #	+ supports xterm-style function key-modifiers for shift,control,alt
     5         kx #	+ supports xterm-style editing key-modifiers for shift,control,alt
     5         kx #	(kbs=^?)
     5         kx # ncurses test-program:
     5         kx #	"C" menu shows that bce implementation is incomplete
     5         kx #	italics did not work
     5         kx #	dim worked once in tack, but not in ncurses test-program
     5         kx #	"F" thick-line characters do not display
     5         kx # vttest:
     5         kx #	terminal does not respond to 80/132-column switching
     5         kx #	wrapping at the right margin is erratic
     5         kx #	there are several problems in the cursor-movements and screen-features
     5         kx #	no vt52, no double-sized characters
     5         kx #	Device attributes response says it is a vanilla VT100
     5         kx #	does not respond to xterm mouse controls
     5         kx #	alternate screen tests do not fill the screen, return wrong position
     5         kx #	window modify/report operations do not work
     5         kx #	miscellaneous ISO-6429 tests, e.g., REP, do not work
     5         kx #	CBT, CHT, HPR, CNL,CPL, VPR do not work
     5         kx #
     5         kx # removed the cancel for "hs", removed cbt, invis, corrected sgr -TD
     5         kx # use xterm+256setaf, etc -TD
     5         kx terminator|Terminator no line wrap:\
     5         kx 	:eo:mi:ms:ut:xn:xo:\
     5         kx 	:co#80:it#8:li#24:lm#0:\
     5         kx 	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\E[L:as=\E(0:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:\
     5         kx 	:im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[0m:mh=\E[2m:\
     5         kx 	:mr=\E[7m:nd=\E[C:r1=\Ec:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:\
     5         kx 	:s0=\E(B:s1=\E(0:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:st=\EH:ta=^I:ts=\E]2;:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:\
     5         kx 	:ve=\E[?25h:vi=\E[?25l:tc=ecma+italics:tc=ecma+index:\
     5         kx 	:tc=xterm+256setaf:tc=xterm+sl-twm:tc=xterm+alt1049:
     5         kx 
     5         kx #### TERMINOLOGY
     5         kx # https://www.enlightenment.org/about-terminology
     5         kx #
     5         kx # Tested terminology-0.3.0, 0.6.1, using tack and vttest.  This is not a vt100
     5         kx # emulator, nor is it compatible with xterm, but it uses a few features from
     5         kx # both -TD
     5         kx #
     5         kx # General comments:
     5         kx #	cursor does not fill on focus
     5         kx #	there are pervasive problems with clearing/erasing parts of the screen
     5         kx #	resizing the window causes it to stop listening to the keyboard
     5         kx # tack -
     5         kx #	doesn't understand vt100 CPR needed for resize
     5         kx #	no CBT
     5         kx #	no cvvis
     5         kx #	has invis
     5         kx #	no blink
     5         kx #	uses bce model for colors, but (see below) fails the vttest screens
     5         kx #	has partial support for 256color feature.
     5         kx #	tack function-keys (a subset of xterm+pcf0), and
     5         kx #	tack cursor-keys (a subset of xterm+pce2):
     5         kx #			ctrl+shift (ignored)
     5         kx #		2	shift
     5         kx #			shift-alt modifier -> shift (2)
     5         kx #		3	alt
     5         kx #		4
     5         kx #		5	ctrl
     5         kx #	tack modifiers did not work for fkeys in 0.3.0; subset works in 0.6.1
     5         kx #	ctrl + khome/kend works - none of the other modifiers do
     5         kx # vttest -
     5         kx #	spits lots of messages from termptyesc.c especially in vttest.
     5         kx #	no 132-column mode
     5         kx #	fails menu 1, 2 (definitely not vt100-compatible)
     5         kx #	primary (claims vt420 with several options, apparently none work) and
     5         kx #	secondary report says (perhaps... vt420): \E[>41;285;0c
     5         kx #	CHA, HPR, VPA, CNL, CPL work
     5         kx #	BCE with ED/EL - fail
     5         kx #	BCE with ECH/indexing - fail
     5         kx #	SD/SU work
     5         kx #	unlike teken, background light/dark works
     5         kx #	can set title
     5         kx #	X10 and Normal mouse work
     5         kx #	Any-event mouse works
     5         kx #	Mouse button-event works
     5         kx #
     5         kx # This description uses xterm+pcf0, which is misleading because the program
     5         kx # does not handle combinations of modifiers - but listing them all would
     5         kx # involve more effort than its developers spent -TD
     5         kx terminology-0.6.1|EFL-based terminal emulator:\
     5         kx 	:5i@:\
     5         kx 	:#4=\E[1;2D:%i=\E[1;2C:F1=\E[23~:F2=\E[24~:cb@:cd@:ce@:\
     5         kx 	:cv=\E[%i%dd:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kF=\E[1;2B:kR=\E[1;2A:mb@:mk=\E[8m:\
     5         kx 	:tc=xterm+pcf0:tc=vt100:tc=xterm+256setaf:
     5         kx 
     5         kx # Tested terminology 1.0.0
     5         kx #
     5         kx # tack -
     5         kx #	Shifted cursor-keys send nothing, but xterm modifiers for control+shift
     5         kx #	and control+alt were added like xterm+pcc2
     5         kx #	Editing keys have some features from xterm+pce2
     5         kx #	Changed from xterm+pcf0 to xterm+pcf2
     5         kx #
     5         kx # vttest -
     5         kx #	REP, SL, SR fail
     5         kx #
     5         kx # Aside from the partial fixes for function/cursor/editing keys, no improvement
     5         kx # in other tests versus 0.6.1
     5         kx terminology-1.0.0|EFL-based terminal emulator:\
     5         kx 	:@7=\E[OF:ae=\E(B:as=\E(0:kh=\E[OH:me=\E(B\E[m:mh=\E[2m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=ecma+italics:tc=xterm+x11mouse:tc=xterm+pce2:\
     5         kx 	:tc=xterm+pcf2:tc=xterm+pcc2:tc=terminology-0.6.1:
     5         kx 
     5         kx terminology|EFL-based terminal emulator:\
     5         kx 	:tc=terminology-1.0.0:
     5         kx 
     5         kx ######## OPENGL CLIENTS
     5         kx 
     5         kx #### Alacritty
     5         kx # https://github.com/jwilm/alacritty
     5         kx # Version 0.6.0 (2020/11/25)
     5         kx # Version 0.4.0 (2019/11/25)
     5         kx # Version 0.3.3 (2019/08/03)
     5         kx # Version 0.2.1 (2018/10/03)
     5         kx # Project started in 2016/02, uses Rust and OpenGL, and in contrast to (most X
     5         kx # terminal programs) is not designed to run with a remote server.
     5         kx #
     5         kx # Packaged in Arch Linux -
     5         kx # vttest:
     5         kx #	initial screensize 24x80
     5         kx #	no DECCOLM (does not switch between 80/132 columns)
     5         kx #	otherwise, passes wrapping test
     5         kx #	no DECSCNM
     5         kx #	identifies as a vt102
     5         kx #	numeric keypad does not send expected codes (seen in 0.4.0)
     5         kx #	passes bce test
     5         kx #	vt220:
     5         kx #		ECH works in 0.3.3 (0.2.1 left text on right margin)
     5         kx #		no SRM, DECSCA
     5         kx #	vt320:
     5         kx #		fails DECXCPR
     5         kx #		does not implement any of the DECRQM/DECRPM controls
     5         kx #		does not implement any of the DECRQSS controls
     5         kx #	vt420:
     5         kx #		no DECLRMM
     5         kx #		no DECBI, DECFI
     5         kx #	other:
     5         kx #		fails CHT, otherwise ECMA-48 cursor movement ok
     5         kx #		fails ERM/SPA, SL, SR, passes REP, SD, SU
     5         kx #	xterm:
     5         kx #		no X10 mouse
     5         kx #		has normal and highlight mouse
     5         kx #		has any-event and button-event mouse
     5         kx #		+ does support SGR-mouse
     5         kx #		+ does not correctly support focus in/out events (seen in 0.4.0)
     5         kx #		cursor-position wrong after alternate-screen (fixed in 0.4.0)
     5         kx #		none of the dtterm controls work
     5         kx # tack:
     5         kx #	bell and flash do not work
     5         kx #	blink does not work
     5         kx #	italics and crossed-out work (latter did not work in 0.2.1)
     5         kx #	function-keys work up (tested combinations which window manager allows)
     5         kx #	treats meta as escape-prefix
     5         kx #
     5         kx # The program sources include "alacritty" and "alacritty-direct", which are
     5         kx # copied from "xterm-256color" and "xterm-direct" (but using semicolon for
     5         kx # subparameter delimiter).  Refactored here to use ncurses building blocks -TD
     5         kx alacritty|alacritty terminal emulator:\
     5         kx 	:r1=\Ec\E]104\007:tc=xterm+256color:\
     5         kx 	:tc=alacritty+common:
     5         kx 
     5         kx alacritty-direct|alacritty with direct color indexing:\
     5         kx 	:tc=xterm+indirect:tc=alacritty+common:
     5         kx 
     5         kx # cancel km, since it is not actually meta mode -TD
     5         kx # added ecma+strikeout in 0.3.3 -TD
     5         kx # added xterm+sl-twm in 0.3.3 -TD
     5         kx alacritty+common|base fragment for alacritty:\
     5         kx 	:NP:km@:\
     5         kx 	:@8=\EOM:K2=\EOE:kB=\E[Z:kb=\177:tc=ecma+index:\
     5         kx 	:tc=xterm+sm+1006:tc=xterm-basic:tc=xterm+app:\
     5         kx 	:tc=ansi+rep:tc=xterm+tmux:tc=ecma+strikeout:\
     5         kx 	:tc=xterm+sl-twm:tc=ecma+italics:tc=xterm+pce2:\
     5         kx 	:tc=xterm+pcc2:tc=xterm+pcf2:
     5         kx 
     5         kx #### Kitty
     5         kx # https://github.com/kovidgoyal/kitty
     5         kx # Project started in 2016/10 (see alacritty), but is a Python script rather
     5         kx # than Rust, using OpenGL.  The same caveats regarding remote connections
     5         kx # apply.  This is not an X terminal, though (like alacritty), it copies
     5         kx # features from xterm.
     5         kx #
     5         kx # Regarding the name "kitty", that is a pun, reflected in the description.
     5         kx # But see
     5         kx #	http://www.9bis.net/kitty/
     5         kx #	https://github.com/kovidgoyal/kitty/issues/9
     5         kx #	https://github.com/kovidgoyal/kitty/issues/1025
     5         kx # and
     5         kx #	http://lists.gnu.org/archive/html/bug-ncurses/2018-09/msg00005.html
     5         kx #	https://github.com/kovidgoyal/kitty/issues/879
     5         kx #
     5         kx # Version 0.19.1
     5         kx # changes since 0.13.3:
     5         kx # vttest
     5         kx #	ISO-6429
     5         kx #		REP works, though using unspecified behavior
     5         kx #	xterm
     5         kx #		xterm's SGR-mouse mode is recognized.
     5         kx #		does recognize original alternate-screen
     5         kx #		bug: mouse focus in/out does not work.
     5         kx #		bug: X10 mouse mode responds like any-event
     5         kx #		bug: highlight-tracking does not work; terminal hangs.
     5         kx #
     5         kx # tack
     5         kx #	rs1 adds an empty string for resetting title- and other OSC-strings.
     5         kx #	italics work
     5         kx #
     5         kx # Version 0.13.3
     5         kx # Notes:
     5         kx #	initial screensize 71x22
     5         kx #	does not respond to "resize -s"
     5         kx #	resizing with window manager gives no clues
     5         kx # vttest
     5         kx #	does not switch between 80/132 columns
     5         kx #	fails wrapping test, copying vte/rxvt
     5         kx #	no reverse-background, no blink
     5         kx #	claims to be vt200:
     5         kx #		primary \E[?62;c
     5         kx #		secondary \E[>1;4000;12c
     5         kx #	however -
     5         kx #		no GR in the locking-shifts screen
     5         kx #		no NRCS or ISO-2022, anyway
     5         kx #	no VT52
     5         kx #	VT220:
     5         kx #		has DECTCEM, ECH, but no SRM and DECSCA
     5         kx #		has operating condition report, none of the others
     5         kx #	VT320:
     5         kx #		has SU/SD
     5         kx #		DECRQSS ok for DECSTBM, SGR, none of the others
     5         kx #		no status-line
     5         kx #	VT420:
     5         kx #		DECXCPR device status works, none of the others
     5         kx #		no left/right margins
     5         kx #		has DECCARA, but not DECERA, DECFRA, DECRARA, DECSERA
     5         kx #		inside of DECCARA is uncolored
     5         kx #		line-drawing with DECCARA does not work
     5         kx #		aside from left/right margins, editing sequences look ok
     5         kx #		no DECFI, DECBI
     5         kx #	color:
     5         kx #		fails ECH test for bce
     5         kx #	ISO-6429
     5         kx #		fails REP, SL, SL, but other cursor-movement ok
     5         kx #	xterm:
     5         kx #		does not recognize original alternate-screen
     5         kx #		cursor-position wrong after alternate-screen
     5         kx #		has normal mouse, any-event, any-button, but
     5         kx #			no X10 mouse
     5         kx #			no mouse-highlight tracking
     5         kx #			no DEC locator
     5         kx #		dtterm - only supports report-size chars/pixels
     5         kx #		recognizes tcap-query
     5         kx # tack:
     5         kx #	flash doesn't work
     5         kx #	italics do not work
     5         kx #	bce should be set (but see vttest)
     5         kx #*	developer's terminfo stopped at kf25, but the program continues,
     5         kx #	copying xterm for the rest of the control+fkey sequence
     5         kx #	(but only one modifier is supported, like iTerm2).
     5         kx #*	it omitted shifted pageup/down
     5         kx #*	control+editing keys work
     5         kx #	In contrast to function-keys, some additional modifier combinations
     5         kx #	act like xterm for the editing/cursor-keys, e.g., alt+shift.  While
     5         kx #	the implementation is incomplete, the building-blocks are consistent
     5         kx #	with what has been implemented -TD
     5         kx #	DECKPAM does not work -TD
     5         kx #*	ka1, ka3, kc1, kc3 were bogus (removed)
     5         kx #*	meta sends escape (removed kmm) -TD
     5         kx #*	cvvis does not make cursor "more visible" -TD
     5         kx kitty|KovId's TTY:\
     5         kx 	:tc=xterm+256color:tc=kitty+common:
     5         kx kitty-direct|KovId's TTY using direct colors:\
     5         kx 	:oc=\E]104\007:tc=xterm+direct2:tc=kitty+common:
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx kitty+common|KovId's TTY common properties:\
     5         kx 	:am:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:\
     5         kx 	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=\177:kd=\EOB:ke=\E[?1l:kh=\EOH:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h:ku=\EOA:le=^H:md=\E[1m:me=\E[0m:mh=\E[2m:\
     5         kx 	:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:\
     5         kx 	:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?12l\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=ansi+rep:tc=xterm+sm+1006:tc=ecma+index:\
     5         kx 	:tc=xterm+sl-twm:tc=ecma+strikeout:tc=xterm+pce2:\
     5         kx 	:tc=xterm+pcc2:tc=ecma+italics:tc=xterm+alt1049:
     5         kx 
     5         kx ######## WEB CLIENTS
     5         kx 
     5         kx #### DomTerm
     5         kx # https://domterm.org
     5         kx #
     5         kx # Quoting its webpage:
     5         kx #	The domterm command runs a server that manages sessions (usually shell
     5         kx #	processes).  The user interface and terminal emulation is handled by a
     5         kx #	JavaScript library that can run in a regular web browser or an embedded
     5         kx #	browser such as Electron, using Web Sockets to talk to the server.
     5         kx #
     5         kx # it can connect to, and display in, a web browser, or as a standalone Qt
     5         kx # application.  Either way, it displays in the current desktop session.
     5         kx #
     5         kx # Testing current code (2019/07/06) with Fedora 30:
     5         kx # tack
     5         kx #	no flash
     5         kx #	no beep
     5         kx #	no dim
     5         kx #	no blink
     5         kx #	no invis
     5         kx #	no italics
     5         kx #	ok smxx/rmxx
     5         kx #	bce screen shows diagonal lines...
     5         kx #	kf6 sends nothing
     5         kx #	kf11 toggles maximize
     5         kx #	cursor-key application mode works
     5         kx #	numeric keypad application does not work; keys always send face-codes
     5         kx #	sends utf-8 for meta, like xterm
     5         kx # vttest
     5         kx #	has problems with menu #1 (wrapping)
     5         kx #	DA = vt200 with 132 columns, color
     5         kx #	DA2 = 990, 100300 ("\E[>990;100300;0c")
     5         kx #	no VT52, no double-size characters
     5         kx #	vt220 ECH test works, SRM, DECSCA do not
     5         kx #	S7C1T/S8C1t does not work
     5         kx #	DECUDK does not work
     5         kx #	CNL does not work; the other ECMA-48 cursor-movement tests work
     5         kx #	REP sort-of works (does not match xterm)
     5         kx #	SD/SU work, but not SL/SR
     5         kx #	window reporting: works for size in chars/pixels, but not other tests
     5         kx #	X10 mouse clicks work -- but return 4 rather than 1 for codes
     5         kx #	any-event mouse mode acts like any-button mode
     5         kx #	implements SGR mouse-mode
     5         kx # other:
     5         kx #	does not implement initc
     5         kx #	does accept either colons or semicolon in 38/48 SGR.
     5         kx domterm|DomTerm web client:\
     5         kx 	:NP:\
     5         kx 	:ZH@:ZR@:bl@:kB=\E[Z:ke=\E[?1l:ks=\E[?1h:mb@:mh@:mk@:\
     5         kx 	:tc=xterm+256setaf:tc=ecma+index:tc=xterm+sm+1006:\
     5         kx 	:tc=xterm+pcfkeys:tc=xterm-basic:tc=xterm-basic:
     5         kx 
     5         kx ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
     5         kx #
     5         kx 
     5         kx # Columbus UNIX virtual terminal. This terminal also appears in
     5         kx # UNIX 4.0 and successors as line discipline 1 (?), but is
     5         kx # undocumented and does not really work quite right.
     5         kx cbunix|cb unix virtual terminal:\
     5         kx 	:am:bs:da:db:\
     5         kx 	:co#80:li#24:lm#0:\
     5         kx 	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=\r:\
     5         kx 	:dc=\EM:dl=\EN:do=\n:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=\n:so=\Ea^D:\
     5         kx 	:ue=\Eb^A:up=\EA:us=\Ea^A:
     5         kx # (vremote: removed obsolete ":nl@:" -- esr)
     5         kx vremote|virtual remote terminal:\
     5         kx 	:am@:\
     5         kx 	:co#79:tc=cbunix:
     5         kx 
     5         kx pty|4bsd pseudo teletype:\
     5         kx 	:cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
     5         kx 
     5         kx #### Emacs
     5         kx 
     5         kx # https://www.emacswiki.org/emacs/AnsiTerm
     5         kx # https://github.com/emacs-mirror/emacs/blob/master/lisp/term.el
     5         kx #
     5         kx # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
     5         kx eterm|gnu emacs term.el terminal emulation:\
     5         kx 	:am:mi:xn:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:ho=\E[H:\
     5         kx 	:im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # The codes supported by the term.el terminal emulation in GNU Emacs 22.2
     5         kx eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96:\
     5         kx 	:am:mi:ms:xn:\
     5         kx 	:Co#8:co#80:li#24:pa#64:\
     5         kx 	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:\
     5         kx 	:ho=\E[H:im=\E[4h:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=\177:kd=\EOB:kh=\E[1~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
     5         kx 	:op=\E[39;49m:r1=\Ec:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # shell.el can "do" color, though not nearly as well.
     5         kx #
     5         kx # seen here:
     5         kx # http://unix.stackexchange.com/questions/237943/changing-colors-used-by-ls-does-not-work-in-emacs-shell-mode
     5         kx #
     5         kx # and
     5         kx # https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-08/msg00481.html
     5         kx # https://github.com/emacs-mirror/emacs/blob/master/lisp/shell.el
     5         kx # https://github.com/emacs-mirror/emacs/blob/master/lisp/ansi-color.el
     5         kx #
     5         kx # however, as tested with Emacs 24.5.1, the result is buggy, losing overlays
     5         kx # frequently.  The contemporaneous term.el aka ansi-term does not "support"
     5         kx # italics but does not lose the color information -TD 2017/01/28.
     5         kx dumb-emacs-ansi|Emacs dumb terminal with ANSI color codes:\
     5         kx 	:am:hc:\
     5         kx 	:Co#8:NC#13:it#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:do=\n:md=\E[1m:me=\E[m:\
     5         kx 	:op=\E[39;49m:sf=\n:ta=^I:ue=\E[24m:us=\E[4m:\
     5         kx 	:tc=ecma+italics:
     5         kx 
     5         kx #### Screen
     5         kx 
     5         kx # Entries for use by the `screen' program by Juergen Weigert,
     5         kx # Michael Schroeder, Oliver Laumann.  The screen and
     5         kx # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
     5         kx # come from University of Wisconsin and may be older.
     5         kx # (screen: added :ve: on ANSI model -- esr)
     5         kx #
     5         kx # 'screen' defines extensions to termcap.  Some are used in its terminal
     5         kx # description:
     5         kx #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
     5         kx #      AX   (bool)  Does  understand ANSI set default fg/bg color
     5         kx #                   (\E[39m / \E[49m).
     5         kx #      S0   (str)   Switch charset 'G0' to the specified charset.
     5         kx #      E0   (str)   Switch charset 'G0' back to standard charset.
     5         kx #
     5         kx # Initially tested with screen 3.09.08
     5         kx #
     5         kx # According to its manual page
     5         kx #
     5         kx #      Screen is a full-screen window manager that multiplexes a physical
     5         kx #      terminal between several processes (typically interactive shells).  Each
     5         kx #      virtual terminal provides the functions of a DEC VT100 terminal and, in
     5         kx #      addition, several control functions from the ISO 6429 (ECMA 48, ANSI
     5         kx #      X3.64) and ISO 2022 standards (e.g.  insert/delete line and support for
     5         kx #      multiple character sets).
     5         kx #
     5         kx # However, there is a design error in its support for video highlights.  The
     5         kx # program uses a table (rendlist) which equates the SGR codes to terminal
     5         kx # capabilities.  That, and color-decoding are hardcoded in screen; its behavior
     5         kx # is modified only by the presence or absence of the corresponding capabilities.
     5         kx # Not by their values.
     5         kx #
     5         kx # If screen sets the TERMCAP variable, it uses hardcoded strings which
     5         kx # correspond to the rendlist table.
     5         kx #
     5         kx # The table gives this information:
     5         kx #
     5         kx #	SGR	capability
     5         kx #	---	---------
     5         kx #	1	bold
     5         kx #	2	dim
     5         kx #	3	standout
     5         kx #	4	underline
     5         kx #	5	blink
     5         kx #	-	(unused 6)
     5         kx #	7	reverse
     5         kx #	-	(unused 8-21)
     5         kx #	22	reset bold, standout and dim
     5         kx #	23	reset standout
     5         kx #	24	reset underline
     5         kx #	25	reset blink
     5         kx #	-	(unused 26)
     5         kx #	27	reset reverse
     5         kx #
     5         kx # ECMA-48 differs from this: 3 and 23 set and reset italics, respectively.
     5         kx # ECMA-48 does not define "standout" - that is a termcap/terminfo abstraction.
     5         kx # Without some redesign of screen, it is not possible to extend the set of
     5         kx # capabilities.  Substitution would be possible, e.g., sending italics in
     5         kx # place of underline.
     5         kx #
     5         kx # Because screen uses hard-coded parsing, it does not check if two capabilities
     5         kx # use the same value.  For example, changing standout to be the same as any of
     5         kx # the other capabilities will confuse screen.  Curses applications which use
     5         kx # sgr are not impacted (because that usually resets all capabilities before
     5         kx # setting any), but termcap applications do not use sgr -TD
     5         kx #
     5         kx # The "screen" entry should use ecma+index rather than just indn, but tmux
     5         kx # defaults to using "screen".  For background, screen supported ecma+index
     5         kx # since 1994 (i.e., screen 3.0.5), stating that it was an obscure code used by
     5         kx # the (Siemens Nixdorf) 97801 terminal.  It was not shown in the termcap or
     5         kx # terminfo entries (which list about 60% of the control sequences).
     5         kx screen|VT 100/ANSI X3.64 virtual terminal:\
     5         kx 	:am:bs:km:mi:ms:pt:xn:\
     5         kx 	:Co#8:NC@:co#80:it#8:li#24:pa#64:\
     5         kx 	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:SF=\E[%dS:UP=\E[%dA:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E)0:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:rc=\E8:rs=\Ec\E[?1000l\E[?25h:sc=\E7:se=\E[23m:\
     5         kx 	:sf=\n:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\EM:\
     5         kx 	:us=\E[4m:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:\
     5         kx 	:tc=xterm+alt1049:tc=ecma+color:tc=vt100+enq:
     5         kx # The bce and status-line entries are from screen 3.9.13 (and require some
     5         kx # changes to .screenrc).
     5         kx screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen4:
     5         kx screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\
     5         kx 	:ds=\E_\E\\:fs=\E\\:ts=\E_:tc=screen4:
     5         kx 
     5         kx # ======================================================================
     5         kx # Entries for GNU Screen with 16 colors.
     5         kx # Those variations permit to benefit from 16 colors palette, and from
     5         kx # bold font and blink attribute separated from bright colors. But they
     5         kx # are less portable than the generic "screen" 8 color entries: Their
     5         kx # usage makes real sense only if the terminals you attach and reattach
     5         kx # do all support 16 color palette.
     5         kx 
     5         kx screen-16color|GNU Screen with 16 colors:\
     5         kx 	:tc=ibm+16color:tc=screen4:
     5         kx 
     5         kx screen-16color-s|GNU Screen with 16 colors and status line:\
     5         kx 	:tc=ibm+16color:tc=screen-s:
     5         kx 
     5         kx screen-16color-bce|GNU Screen with 16 colors and BCE:\
     5         kx 	:tc=ibm+16color:tc=screen-bce:
     5         kx 
     5         kx screen-16color-bce-s|GNU Screen with 16 colors using BCE and status line:\
     5         kx 	:ut:tc=ibm+16color:tc=screen-s:
     5         kx 
     5         kx # ======================================================================
     5         kx # Entries for GNU Screen 4.02 with --enable-colors256.
     5         kx 
     5         kx screen-256color|GNU Screen with 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen4:
     5         kx 
     5         kx screen-256color-s|GNU Screen with 256 colors and status line:\
     5         kx 	:tc=xterm+256setaf:tc=screen-s:
     5         kx 
     5         kx screen-256color-bce|GNU Screen with 256 colors and BCE:\
     5         kx 	:ut:tc=xterm+256setaf:tc=screen-bce:
     5         kx 
     5         kx screen-256color-bce-s|GNU Screen with 256 colors using BCE and status line:\
     5         kx 	:ut:tc=xterm+256setaf:tc=screen-s:
     5         kx 
     5         kx screen.xterm-256color|GNU Screen with xterm using 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen.xterm-new:
     5         kx 
     5         kx screen.konsole-256color|GNU Screen with konsole using 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen.konsole:
     5         kx 
     5         kx screen.vte-256color|GNU Screen with vte using 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen.vte:
     5         kx 
     5         kx screen.putty-256color|GNU Screen with putty using 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen.putty:
     5         kx 
     5         kx screen.mlterm-256color|GNU Screen with mlterm using 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=screen.mlterm:
     5         kx 
     5         kx # ======================================================================
     5         kx 
     5         kx # Read the fine manpage:
     5         kx #       When  screen  tries  to  figure  out  a  terminal name for
     5         kx #       itself, it first looks for an entry named "screen.<term>",
     5         kx #       where  <term>  is the contents of your $TERM variable.  If
     5         kx #       no such entry exists, screen tries "screen" (or "screen-w"
     5         kx #       if the terminal is wide (132 cols or more)).  If even this
     5         kx #       entry cannot be found, "vt100" is used as a substitute.
     5         kx #
     5         kx # Notwithstanding the manpage, screen uses its own notion of the termcap
     5         kx # and some keys from "screen.<term>" are ignored.  Here is an entry which
     5         kx # covers those (tested with screen 4.00.02) -TD
     5         kx screen+fkeys|function-keys according to screen:\
     5         kx 	:*6@:@0@:@7=\E[4~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kh=\E[1~:
     5         kx 
     5         kx # See explanation before "screen" entry.  Cancel italics so that applications
     5         kx # do not assume screen supports the feature.  Add this tweak to entries which
     5         kx # extend screen for terminals which do support italics.
     5         kx screen+italics|screen cannot support italics:\
     5         kx 	:ZH@:ZR@:
     5         kx #
     5         kx # Here are a few customized entries which are useful -TD
     5         kx #
     5         kx # Notes:
     5         kx # (a)	screen does not support invis.
     5         kx # (b)	screen's implementation of bw is incorrect according to tack.
     5         kx # (c)	screen appears to hardcode the strings for khome/kend, making it
     5         kx #	necessary to override the "use=" clause's values (screen+fkeys).
     5         kx # (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
     5         kx #	which is NOT the same as the terminfo screen.<term>.
     5         kx # (e)	when screen finds one of these customized entries, it sets $TERM to
     5         kx #	match.  Hence, no "screen.xterm" entry is provided, since that would
     5         kx #	create heartburn for people running remote xterm's.
     5         kx # (f)   screen does not support rep.
     5         kx #
     5         kx #	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
     5         kx #	since the default translations override the built-in keycode
     5         kx #	translation.  They are suppressed here to show what is tested by tack.
     5         kx screen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm:\
     5         kx 	:bw:ut@:\
     5         kx 	:#3@:%c@:%e@:mk@:ml@:mu@:rp@:tc=screen+italics:\
     5         kx 	:tc=screen+fkeys:tc=xterm+x11mouse:tc=xterm-new:
     5         kx #:screen.xterm|screen for modern xterm,
     5         kx #:	use=screen.xterm-new,
     5         kx # xterm-r6 does not really support khome/kend unless it is propped up by
     5         kx # the translations resource.
     5         kx screen.xterm-r6|screen customized for X11R6 xterm:\
     5         kx 	:bw:tc=xterm+x11mouse:tc=screen+fkeys:tc=xterm-r6:
     5         kx # Color applications running in screen and TeraTerm do not play well together
     5         kx # on Solaris because Sun's curses implementation gets confused.
     5         kx screen.teraterm|disable ncv in teraterm:\
     5         kx 	:NC#127:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:tc=screen+fkeys:tc=xterm+x11mouse:tc=screen4:
     5         kx # Other terminals
     5         kx screen.rxvt|screen in rxvt:\
     5         kx 	:bw:\
     5         kx 	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:vb@:vs@:tc=screen+fkeys:\
     5         kx 	:tc=vt100+enq:tc=rxvt+pcfkeys:tc=xterm+x11mouse:\
     5         kx 	:tc=vt220+keypad:tc=screen4:
     5         kx screen.Eterm|screen in Eterm:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+fkeys:tc=Eterm:
     5         kx screen.mrxvt|screen in mrxvt:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+fkeys:tc=mrxvt:
     5         kx screen.vte|screen in any VTE-based terminal:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+italics:tc=screen+fkeys:\
     5         kx 	:tc=vte:
     5         kx screen.gnome|screen in GNOME Terminal:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+italics:tc=screen+fkeys:\
     5         kx 	:tc=gnome:
     5         kx screen.konsole|screen in KDE console window:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+italics:tc=screen+fkeys:\
     5         kx 	:tc=konsole:
     5         kx # fix the backspace key
     5         kx screen.linux|screen.linux-s|screen in linux console:\
     5         kx 	:bw:\
     5         kx 	:kB@:kb=\177:tc=linux+sfkeys:tc=xterm+x11mouse:\
     5         kx 	:tc=screen+fkeys:tc=screen4:
     5         kx screen.mlterm|screen in mlterm:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+fkeys:tc=mlterm:
     5         kx screen.putty|screen in putty:\
     5         kx 	:tc=xterm+x11mouse:tc=screen+fkeys:tc=putty:
     5         kx 
     5         kx # The default "screen" entry is reasonably portable, but not optimal for the
     5         kx # most widely-used terminal emulators.  The "bce" capability is supported in
     5         kx # screen since 3.9.13, and when used, will require fewer characters to be sent
     5         kx # to the terminal for updates.
     5         kx #
     5         kx # If you are using only terminals which support bce, then you can use this
     5         kx # feature in your screen configuration.
     5         kx #
     5         kx # Adding these lines to your ".screenrc" file will allow using these customized
     5         kx # entries:
     5         kx #	term screen-bce
     5         kx #	bce on
     5         kx #	defbce on
     5         kx screen-bce.xterm-new|screen optimized for modern xterm:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen+italics:tc=screen.xterm-new:
     5         kx screen-bce.rxvt|screen optimized for rxvt:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen.rxvt:
     5         kx screen-bce.Eterm|screen optimized for Eterm:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen.Eterm:
     5         kx screen-bce.mrxvt|screen optimized for mrxvt:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen.mrxvt:
     5         kx screen-bce.gnome|screen optimized for GNOME-Terminal:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen+italics:tc=screen.gnome:
     5         kx screen-bce.konsole|screen optimized for KDE console window:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen+italics:tc=screen.konsole:
     5         kx screen-bce.linux|screen optimized for linux console:\
     5         kx 	:ut:\
     5         kx 	:ec@:tc=screen.linux:
     5         kx 
     5         kx screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
     5         kx 	:co#132:tc=screen4:
     5         kx 
     5         kx screen2|old VT 100/ANSI X3.64 virtual terminal:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
     5         kx 	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
     5         kx 	:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
     5         kx 	:me=\E[m:nd=\E[C:nw=\r\n:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
     5         kx 	:sf=\n:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx # (screen3: removed unknown ":xv:LP:G0:" -- esr)
     5         kx screen3|older VT 100/ANSI X3.64 virtual terminal:\
     5         kx 	:km:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:\
     5         kx 	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[23m:sf=\n:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[24m:up=\EM:us=\E[4m:
     5         kx 
     5         kx # screen 4.0 was released 2003-07-21, and as of March 2019, its terminfo file
     5         kx # was last updated in 2009 to include 256-color support.  The most recent
     5         kx # release is 4.6.2 (October 2017).
     5         kx screen4|VT 100/ANSI X3.64 virtual terminal:\
     5         kx 	:tc=ecma+index:tc=screen:
     5         kx 
     5         kx # As of March 2019, screen 5.0 has not been released.
     5         kx #
     5         kx # However,
     5         kx #
     5         kx #	https://savannah.gnu.org/bugs/?36676
     5         kx #
     5         kx # mentions a change to implement italics which should be in a version 5,
     5         kx # (implemented 2016-11-05, but merged 2017-07-09).  That does away with the
     5         kx # longstanding use of SGR 3 for standout, and interprets it as italics.
     5         kx #
     5         kx # The same development branch has some support for direct-colors, but none
     5         kx # of this has been documented.
     5         kx screen5|VT 100/ANSI X3.64 virtual terminal (someday):\
     5         kx 	:se=\E[27m:so=\E[7m:tc=ecma+italics:tc=screen4:
     5         kx 
     5         kx #### Tmux
     5         kx 
     5         kx # tmux is mostly compatible with screen, but has support for italics, and some
     5         kx # of the xterm cursor bits.
     5         kx #
     5         kx # However, unlike screen, tmux has no provision for using derived terminal
     5         kx # descriptions.  When screen starts, it looks for a suitable "inner" terminal
     5         kx # such as "screen.$TERM" to correspond to the outer terminal's quirks.  The
     5         kx # various entries such as screen.xterm-new provide a way to more closely
     5         kx # match the terminal.
     5         kx tmux|tmux terminal multiplexer:\
     5         kx 	:kb=\177:mk=\E[8m:se=\E[27m:so=\E[7m:tc=ecma+italics:\
     5         kx 	:tc=ecma+strikeout:tc=xterm+edit:tc=xterm+pcfkeys:\
     5         kx 	:tc=xterm+sl:tc=xterm+tmux:tc=screen:
     5         kx 
     5         kx tmux-256color|tmux with 256 colors:\
     5         kx 	:tc=xterm+256setaf:tc=tmux:
     5         kx 
     5         kx tmux-direct|tmux with direct-color indexing:\
     5         kx 	:tc=xterm+direct:tc=tmux:
     5         kx 
     5         kx #### Dvtm
     5         kx 
     5         kx # dvtwm 0.15
     5         kx # http://www.brain-dump.org/projects/dvtm/
     5         kx #
     5         kx # + This uses ncurses to manage the display, including support for italics and
     5         kx #   default-colors.
     5         kx # + However, default-colors are incomplete: do not set bce.
     5         kx # + It does not implement flash (since no \e[?5h)
     5         kx # + Do not set XT: dvtm knows about OSC 0 and 2, but not 1.
     5         kx #   Oddly enough, if $TERM contains "linux", it attempts to set the title.
     5         kx # + Some of the program is cut/paste from rxvt-unicode, e.g., the ACS table.
     5         kx # + The built-in table of function-keys (based on rxvt) is incomplete (ends
     5         kx #   with kf22).
     5         kx # + It also omits the shifted cursor- and editing-keypad keys.
     5         kx #   However, it is confused by xterm's shifted cursor- and editing-keypad keys
     5         kx #   (and passes those through without interpretation)
     5         kx #   and may simply pass-through rxvt's, making it appear to work.
     5         kx #   In other cases such as kf23 and up, no pass-through is done.
     5         kx # + Most of the mode-settings in the initialization/reset strings are not
     5         kx #   implemented; dvtm copies its description from rxvt.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx dvtm|dynamic virtual terminal manager:\
     5         kx 	:am:eo:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\EOw:K2=\EOu:\
     5         kx 	:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:\
     5         kx 	:do=\n:ei=\E[4l:ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:\
     5         kx 	:im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
     5         kx 	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:\
     5         kx 	:kh=\E[7~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
     5         kx 	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=ecma+italics:
     5         kx 
     5         kx dvtm-256color|dynamic virtual terminal manager with 256 colors:\
     5         kx 	:Co#256:pa#65536:\
     5         kx 	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=dvtm:
     5         kx 
     5         kx #### NCSA Telnet
     5         kx 
     5         kx # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
     5         kx # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
     5         kx # been maintained until recently by the National Center for Supercomputer
     5         kx # Applications, and it is feature rich, stable and free.  It can be downloaded
     5         kx # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
     5         kx # xterm+sl, and the docs at NCSA.  It works well.
     5         kx #
     5         kx # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
     5         kx # The terminal options should be set as follows:
     5         kx #         Xterm sequences ON
     5         kx #         use VT wrap mode ON
     5         kx #         use Emacs arrow keys OFF
     5         kx #         CTRL-COMND is Emacs meta ON
     5         kx #         8 bit mode ON
     5         kx #         answerback string: "ncsa-vt220-8"
     5         kx #         setup keys: all disabled
     5         kx #
     5         kx # Application mode is not used.
     5         kx #
     5         kx # Other special mappings:
     5         kx #	Apple		VT220
     5         kx #	HELP		Find
     5         kx #	HOME		Insert here
     5         kx #	PAGEUP		Remove
     5         kx #	DEL		Select
     5         kx #	END		Prev Screen
     5         kx #	PAGEDOWN	Next Screen
     5         kx #
     5         kx # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
     5         kx # text.
     5         kx #
     5         kx # The status-line manipulation is a mapping of the xterm-compatible control
     5         kx # sequences for setting the window-title.  So you must use tsl and fsl in
     5         kx # pairs, since the latter ends the string that is loaded to the window-title.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
     5         kx 	:am:km:mi:ms:xn:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:\
     5         kx 	:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:k1=\E[17~:\
     5         kx 	:k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
     5         kx 	:k7=\E[24~:k8=\E[25~:k9=\E[26~:kD=\E[4~:kN=\E[6~:kP=\E[3~:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>:sc=\E7:\
     5         kx 	:se=\E[27m:sf=150*\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E[2J\E8:ti=\E7:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=xterm+sl:\
     5         kx 	:tc=ansi+enq:
     5         kx ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
     5         kx 	:tc=ncsa-m:tc=klone+color:
     5         kx ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
     5         kx 	:hs@:\
     5         kx 	:ds@:fs@:ts@:tc=ncsa:
     5         kx ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
     5         kx 	:hs@:\
     5         kx 	:ds@:fs@:ts@:tc=ncsa-m:
     5         kx # alternate -TD:
     5         kx # The documented function-key mapping refers to the Apple Extended Keyboard
     5         kx # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
     5         kx # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
     5         kx # some keyboards and many applications require these as F1-F4.
     5         kx #
     5         kx ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
     5         kx 	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
     5         kx 	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:tc=ncsa:
     5         kx 
     5         kx #### Pilot Pro Palm-Top
     5         kx #
     5         kx # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
     5         kx # https://web.archive.org/web/20051103015726/http://www.ai/~iang/TGssh/
     5         kx pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#39:li#16:\
     5         kx 	:bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=\r:do=\n:ho=\Em\s\s:kN=^L:\
     5         kx 	:kP=^K:kb=^H:kd=\n:kl=^H:le=^H:nw=\Em~\s:se=\EB:sf=\n:so=\Eb:\
     5         kx 	:ta=^I:
     5         kx 
     5         kx # From: Federico Bianchi <bianchi@www.arte.unipi.it>
     5         kx # These entries are for the Embeddable Linux Kernel System (ELKS)
     5         kx # project - an heavily stripped down Linux to be run on 16 bit
     5         kx # boxes or, eventually, to be used in embedded systems - and have been
     5         kx # adapted from the stock ELKS termcap. The project itself looks stalled,
     5         kx # and the latest improvements I know of date back to March 2000.
     5         kx #
     5         kx # To cope with the ELKS dumb console I added an "elks-glasstty" entry;
     5         kx # as an added bonus, this deals with all the capabilities common to
     5         kx # both VT52 and ANSI (or, eventually, "special") modes.
     5         kx 
     5         kx elks-glasstty|ELKS glass-TTY capabilities:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:bl=^G:cr=\r:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:
     5         kx 
     5         kx elks-vt52|ELKS vt52 console:\
     5         kx 	:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:ho=\EH:le=\ED:nd=\EC:\
     5         kx 	:up=\EA:tc=elks-glasstty:
     5         kx 
     5         kx elks-ansi|ELKS ANSI console:\
     5         kx 	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
     5         kx 	:le=\E[D:nd=\E[C:se=\E[m:so=\E[7m:up=\E[A:\
     5         kx 	:tc=elks-glasstty:
     5         kx 
     5         kx # As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
     5         kx # instead of VT52, but the "elks" entry still refers to the latter.
     5         kx 
     5         kx elks|default ELKS console:\
     5         kx 	:tc=elks-vt52:
     5         kx 
     5         kx # Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
     5         kx # one but in screen size
     5         kx 
     5         kx sibo|ELKS SIBO console:\
     5         kx 	:co#61:it#8:li#20:tc=elks-vt52:
     5         kx 
     5         kx ######## COMMERCIAL WORKSTATION CONSOLES
     5         kx #
     5         kx 
     5         kx #### Alpha consoles
     5         kx #
     5         kx 
     5         kx # This is from the OSF/1 Release 1.0 termcap file
     5         kx pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#25:\
     5         kx 	:al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\n:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
     5         kx 
     5         kx #### Sun consoles
     5         kx #
     5         kx 
     5         kx # :is1: resets scrolling region in case a previous user had used "tset vt100"
     5         kx oldsun|Sun Microsystems Workstation console:\
     5         kx 	:am:bs:km:mi:ms:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:up=\E[A:
     5         kx # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
     5         kx # :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
     5         kx # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
     5         kx sun-il|Sun Microsystems console with working insert-line:\
     5         kx 	:am:km:ms:\
     5         kx 	:co#80:li#34:\
     5         kx 	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
     5         kx 	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\n:ei=:ic=\E[@:im=:\
     5         kx 	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
     5         kx 	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
     5         kx 	:kD=\177:kI=\E[247z:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:rs=\E[s:se=\E[m:sf=\n:so=\E[7m:ta=^I:u8=\E[1t:\
     5         kx 	:u9=\E[11t:ue@:up=\E[A:
     5         kx # On some versions of CGSIX framebuffer firmware (SparcStation 5), :al:/:AL:
     5         kx # flake out on the last line.  Unfortunately, without them the terminal has no
     5         kx # way to scroll.
     5         kx sun-cgsix|sun-ss5|Sun SparcStation 5 console:\
     5         kx 	:AL@:al@:tc=sun-il:
     5         kx # If you are using an SS5, change the sun definition to use sun-ss5.
     5         kx sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
     5         kx 	:tc=sun-il:
     5         kx 
     5         kx sun+sl|Sun Workstation window status line:\
     5         kx 	:hs:\
     5         kx 	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:
     5         kx 
     5         kx # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
     5         kx sun-s|Sun Microsystems Workstation window with status line:\
     5         kx 	:hs:\
     5         kx 	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
     5         kx sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
     5         kx 	:hs:\
     5         kx 	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
     5         kx sun-48|Sun 48-line window:\
     5         kx 	:co#80:li#48:tc=sun:
     5         kx sun-34|Sun 34-line window:\
     5         kx 	:co#80:li#34:tc=sun:
     5         kx sun-24|Sun 24-line window:\
     5         kx 	:co#80:li#24:tc=sun:
     5         kx sun-17|Sun 17-line window:\
     5         kx 	:co#80:li#17:tc=sun:
     5         kx sun-12|Sun 12-line window:\
     5         kx 	:co#80:li#12:tc=sun:
     5         kx sun-1|Sun 1-line window for sysline:\
     5         kx 	:es:hs:\
     5         kx 	:co#80:li#1:\
     5         kx 	:ds=^L:fs=\E[K:ts=\r:tc=sun:
     5         kx sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
     5         kx 	:ei@:ic@:im@:tc=sun:
     5         kx sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
     5         kx 	:li#35:\
     5         kx 	:te=\E[>4h:ti=\E[>4l:tc=sun:
     5         kx sun-type4|Sun Workstation console with type 4 keyboard:\
     5         kx 	:kd=\E[221z:kl=\E[217z:kr=\E[219z:ku=\E[215z:tc=sun-il:
     5         kx 
     5         kx # Most of the current references to sun-color are from users wondering why this
     5         kx # is the default on install.  Details from reading the wscons manpage, adding
     5         kx # cub, etc., here (rather than in the base sun-il entry) since it is not clear
     5         kx # when those were added -TD (2005-05-28)
     5         kx #
     5         kx # According to wscons manpage, color is supported only on IA systems.
     5         kx # Sun's terminfo entry documents bold and smul/rmul capabilities, but wscons
     5         kx # does not list these.  It also sets ncv#3, however that corresponds to
     5         kx # underline and standout.
     5         kx #
     5         kx # Since the documentation and terminfo do not agree, see also current code at
     5         kx # https://web.archive.org/web/20091231042744/http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/tem_safe.c
     5         kx #
     5         kx # That (actually a different driver which "supports" sun-color) also supports
     5         kx # these features:
     5         kx #	vpa=\E[%i%p1%dd
     5         kx #	hpa=\E[%i%p1%d`
     5         kx #	cbt=\E[Z
     5         kx #	dim=\E[2m
     5         kx #	blink=\E[5m
     5         kx # It supports bold, but not underline -TD (2009-09-19)
     5         kx sun-color|Sun Microsystems Workstation console with color support (IA systems):\
     5         kx 	:Co#8:NC#3:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:ho=\E[H:md=\E[1m:me=\E[m:op=\E[0m:rs=\E[s:\
     5         kx 	:so=\E[7m:tc=sun:
     5         kx 
     5         kx #### Iris consoles
     5         kx #
     5         kx 
     5         kx # (wsiris: this had extension capabilities
     5         kx #	:HS=\E7F2:HE=\E7F7:\
     5         kx #	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
     5         kx # See the note on Iris extensions near the end of this file.
     5         kx # Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
     5         kx # :vb: from BRL -- esr)
     5         kx wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
     5         kx 	:am:bs:nc:pt:\
     5         kx 	:co#80:it#8:kn#3:li#40:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
     5         kx 	:do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
     5         kx 	:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
     5         kx 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
     5         kx 	:nl=\EB:se=\E0@:sf=\n:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
     5         kx 	:up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
     5         kx 	:vs=\E;:
     5         kx 
     5         kx #### NeWS consoles
     5         kx #
     5         kx # Console terminal windows under the NeWS (Sun's Display Postscript windowing
     5         kx # environment).   Note: these have nothing to do with Sony's News workstation
     5         kx # line.
     5         kx #
     5         kx 
     5         kx # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
     5         kx # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
     5         kx psterm|psterm-basic|NeWS psterm-80x34:\
     5         kx 	:am:bs:hs:km:ul:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
     5         kx 	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
     5         kx 	:im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
     5         kx 	:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
     5         kx 	:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
     5         kx 	:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
     5         kx psterm-96x48|NeWS psterm 96x48:\
     5         kx 	:co#96:li#48:tc=psterm:
     5         kx psterm-90x28|NeWS psterm 90x28:\
     5         kx 	:co#90:li#28:tc=psterm:
     5         kx psterm-80x24|NeWS psterm 80x24:\
     5         kx 	:co#80:li#24:tc=psterm:
     5         kx # This is a faster termcap for psterm.  Warning:  if you use this termcap,
     5         kx # some control characters you type will do strange things to the screen.
     5         kx # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
     5         kx psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
     5         kx 	:am:bs:hs:km:ul:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
     5         kx 	:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
     5         kx 	:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
     5         kx 	:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
     5         kx 
     5         kx #### NeXT consoles
     5         kx #
     5         kx # Use `glasstty' for the Workspace application
     5         kx #
     5         kx 
     5         kx # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
     5         kx next|NeXT console:\
     5         kx 	:am:xt:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=\r:do=\n:ho=\E[H:\
     5         kx 	:kb=^H:kd=\n:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=\r\n:se=\E[4;1m:\
     5         kx 	:sf=\n:so=\E[4;2m:ta=^I:up=\E[A:
     5         kx nextshell|NeXT Shell application:\
     5         kx 	:am:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:le=^H:nw=\r\n:ta=^I:
     5         kx 
     5         kx #### Sony NEWS workstations
     5         kx #
     5         kx 
     5         kx # (news-unk: this had :KB=news: -- esr)
     5         kx news-unk|SONY NEWS vt100 emulator common entry:\
     5         kx 	:am:bs:pt:xn:\
     5         kx 	:co#80:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:dl=\E[M:do=\n:ho=\E[H:if=/usr/share/tabset/vt100:\
     5         kx 	:is=\E[?7h\E[?1h\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
     5         kx 	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nl=\n:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
     5         kx 	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx #
     5         kx # (news-29: this had :TY=ascii: --esr)
     5         kx news-29|SONY NEWS vt100 emulator with 29 lines:\
     5         kx 	:li#29:tc=news-unk:
     5         kx # (news-29-euc: this had :TY=euc: --esr)
     5         kx news-29-euc|SONY NEWS vt100 emulator with 29 lines and EUC:\
     5         kx 	:tc=news-29:
     5         kx # (news-29-sjis: this had :TY=sjis: --esr)
     5         kx news-29-sjis|SONY NEWS vt100 emulator with 29 lines and SJIS:\
     5         kx 	:tc=news-29:
     5         kx #
     5         kx # (news-33: this had :TY=ascii: --esr)
     5         kx news-33|SONY NEWS vt100 with 33 lines:\
     5         kx 	:li#33:tc=news-unk:
     5         kx # (news-33-euc: this had :TY=euc: --esr)
     5         kx news-33-euc|SONY NEWS vt100 with 33 lines and EUC:\
     5         kx 	:tc=news-33:
     5         kx # (news-33-sjis: this had :TY=sjis: --esr)
     5         kx news-33-sjis|SONY NEWS vt100 with 33 lines and SJIS:\
     5         kx 	:tc=news-33:
     5         kx #
     5         kx # (news-42: this had :TY=ascii: --esr)
     5         kx news-42|SONY NEWS vt100 with 42 lines:\
     5         kx 	:li#42:tc=news-unk:
     5         kx # (news-42-euc: this had :TY=euc: --esr)
     5         kx news-42-euc|SONY NEWS vt100 with 42 lines and EUC:\
     5         kx 	:tc=news-42:
     5         kx # (news-42-sjis: this had :TY=sjis: --esr)
     5         kx news-42-sjis|SONY NEWS vt100 with 42 lines and SJIS:\
     5         kx 	:tc=news-42:
     5         kx #
     5         kx #	NEWS-OS old termcap entry
     5         kx #
     5         kx # (news-old-unk: this had :KB=news:TY=sjis: --esr)
     5         kx news-old-unk|SONY NEWS vt100 emulator common entry:\
     5         kx 	:am:bs:pt:xn:\
     5         kx 	:co#80:vt#3:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:do=\n:ho=\E[H:\
     5         kx 	:if=/usr/share/tabset/vt100:k1=\EOP:k2=\EOQ:k3=\EOR:\
     5         kx 	:k4=\EOS:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[?1h\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nl=\n:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx #
     5         kx # (nwp512: this had :DE=^H:, which I think means :bs: --esr)
     5         kx nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
     5         kx 	:bs:\
     5         kx 	:li#40:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
     5         kx nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
     5         kx 	:li#42:\
     5         kx 	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
     5         kx #
     5         kx # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
     5         kx nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
     5         kx 	:bs:\
     5         kx 	:li#40:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
     5         kx nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
     5         kx 	:bs:\
     5         kx 	:li#31:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
     5         kx # also the alias vt100-bm.
     5         kx nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
     5         kx 	:bs:\
     5         kx 	:li#33:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
     5         kx nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
     5         kx 	:bs:\
     5         kx 	:li#31:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
     5         kx news28|sony vt100 emulator 28 lines:\
     5         kx 	:bs:\
     5         kx 	:li#28:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
     5         kx news29|news28-a|sony vt100 emulator 29 lines:\
     5         kx 	:li#29:\
     5         kx 	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:\
     5         kx 	:tc=news-old-unk:
     5         kx #
     5         kx # (news511: this had :TY=sjis: --esr)
     5         kx nwp511|nwp-511|nwp-511 vt100:\
     5         kx 	:am:bs:pt:xn:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:dl=\E[M:do=\E[B:\
     5         kx 	:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:k3=\EOR:\
     5         kx 	:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ku=\E[A:le=\E[D:nd=\E[C:\
     5         kx 	:rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
     5         kx 	:so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
     5         kx 	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:
     5         kx # (news517: this had :TY=sjis:. --esr)
     5         kx nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
     5         kx 	:es:hs:\
     5         kx 	:co#80:li#30:\
     5         kx 	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
     5         kx 	:is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:ts=\E[1$}\E[;%df:tc=vt200:
     5         kx # (news517-w: this had :TY=sjis:. --esr)
     5         kx nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
     5         kx 	:es:hs:\
     5         kx 	:co#132:li#50:\
     5         kx 	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
     5         kx 	:is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:ts=\E[1$}\E[;%df:tc=vt200:
     5         kx 
     5         kx #### Common Desktop Environment
     5         kx #
     5         kx 
     5         kx # This ships with Sun's CDE in Solaris 2.5
     5         kx # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
     5         kx dtterm|CDE desktop terminal:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:NC@:co#80:it#8:li#24:lm#0:\
     5         kx 	:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
     5         kx 	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
     5         kx 	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:\
     5         kx 	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:eA=\E(B\E)0:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
     5         kx 	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:\
     5         kx 	:so=\E[2;7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ecma+color:
     5         kx 
     5         kx ######## Non-Unix Consoles
     5         kx #
     5         kx 
     5         kx #### EMX termcap.dat compatibility modes
     5         kx #
     5         kx # Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
     5         kx # no_color_video to inform the application that standout(1), underline(2)
     5         kx # reverse(4) and invisible(64) don't work with color.
     5         kx emx-base|DOS special keys:\
     5         kx 	:bw:ut:\
     5         kx 	:NC#71:it#8:\
     5         kx 	:bl=^G:tc=ansi.sys:
     5         kx 
     5         kx # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
     5         kx # a Unix-style environment used on OS/2.  (Note that the suffix makes some
     5         kx # names longer than 14 characters, the nominal maximum).
     5         kx #
     5         kx # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
     5         kx ansi-emx|ANSI.SYS color:\
     5         kx 	:am:eo:mi:ms:ut:xo:\
     5         kx 	:Co#8:co#80:it#8:li#25:pa#64:\
     5         kx 	:&7=^Z:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dp:IC=\E[%d@:K2=\E[G:\
     5         kx 	:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:\
     5         kx 	:do=\n:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\0D:kH=\0O:\
     5         kx 	:kb=^H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m\E[1;33;44m:\
     5         kx 	:mr=\E[5;37;41m:nd=\E[C:nw=\r\n:r1=\Ec:\
     5         kx 	:se=\E[0;44m\E[1;33m:sf=\n:so=\E[0;31;47m:st=\EH:ta=^I:\
     5         kx 	:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
     5         kx 	:us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=emx-base:
     5         kx # nice colors for Emacs (white on blue, mode line white on cyan)
     5         kx ansi-color-2-emx|ANSI.SYS color 2:\
     5         kx 	:AF=\E[3%dm:cl=\E[0;37;44m\E[H\E[J:me=\E[0;37;44m:\
     5         kx 	:mr=\E[1;37;46m:r1=\Ec:se=\E[0;37;44m:so=\E[1;37;46m:\
     5         kx 	:ue=\E[0;37;44m:us=\E[1;36;44m:tc=ansi-emx:
     5         kx # nice colors for Emacs (white on black, mode line black on cyan)
     5         kx ansi-color-3-emx|ANSI.SYS color 3:\
     5         kx 	:AF=\E[3%dm:cl=\E[0;37;40m\E[H\E[J:me=\E[0;10m:\
     5         kx 	:mr=\E[1;37;46m:r1=\Ec:se=\E[0;37;40m:so=\E[1;37;46m:\
     5         kx 	:ue=\E[0;37;40m:us=\E[0;36;40m:tc=ansi-emx:
     5         kx mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
     5         kx 	:am:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:K2=\E[G:ce=\E[K:cl=50\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
     5         kx 	:ho=\E[H:k0=\0D:k1=\0;:k2=\0<:k3=\0=:k4=\0>:k5=\0?:k6=\0@:\
     5         kx 	:k7=\0A:k8=\0B:k9=\0C:kH=\0O:kI=\0R:kN=\0Q:kP=\0I:kb=^H:\
     5         kx 	:kd=\0P:kh=\0G:kl=\0K:kr=\0M:ku=\0H:le=\E[D:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\r\n:ta=^I:up=\E[A:
     5         kx 
     5         kx #### Cygwin
     5         kx 
     5         kx # Use this for cygwin32 (tested with beta 19.1)
     5         kx # underline is colored bright magenta
     5         kx # shifted kf1-kf12 are kf11-kf22
     5         kx cygwinB19|ANSI emulation for cygwin32:\
     5         kx 	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
     5         kx 	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
     5         kx 	:FA=\E[34~:RA@:SA@:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
     5         kx 	:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:\
     5         kx 	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:tc=ansi.sys:
     5         kx 
     5         kx # Use this for cygwin (tested with version 1.1.0).
     5         kx # I've combined pcansi and linux.  Some values of course were different and
     5         kx # I've indicated which of these were and which I used.
     5         kx # Cheers, earnie_boyd@yahoo.com
     5         kx # several changes based on running with tack and comparing with older entry -TD
     5         kx # more changes from csw:
     5         kx #   add    cbt   [backtab]
     5         kx #   remove eo    [erase overstrike with blank]
     5         kx #   change clear was \E[H\E[J  now \E[2J  (faster?)
     5         kx #   remove cols
     5         kx #   remove lines
     5         kx #   remove ncv#3 [colors collide with highlights, bitmask] not applicable
     5         kx #                to MSDOS box?
     5         kx #   add    cub   [cursor back param]
     5         kx #   add    cuf   [cursor forward param]
     5         kx #   add    cuu   [cursor up param]
     5         kx #   add    cud   [cursor down param]
     5         kx #   add    hs    [has status line]
     5         kx #   add    fsl   [return from status line]
     5         kx #   add    tsl   [go to status line]
     5         kx #   add    smacs [Start alt charset] (not sure if this works)
     5         kx #   add    rmacs [End alt charset]   (ditto)
     5         kx #   add    smcup [enter_ca_mode] (save console; thanks Corinna)
     5         kx #   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
     5         kx #   add    kb2   [center of keypad]
     5         kx #   add    u8    [user string 8] \E[?6c
     5         kx #   add    el    [clear to end of line] \E[K
     5         kx # Notes:
     5         kx #   cnorm [make cursor normal] not implemented
     5         kx #   flash [flash] not implemented
     5         kx #   blink [blink] not implemented very usefully in cygwin? \E[5m
     5         kx #   dim   [dim] not implemented very usefully in cygwin? \E[2m
     5         kx #   cub1  [cursor back 1] typically \E[D, but ^H is faster?
     5         kx #   kNXT  [shifted next key] not implemented
     5         kx #   kPRV  [shifted prev key] not implemented
     5         kx #   khome [home key] really is \E[1~ NOT \E[H
     5         kx #   tbc   [clear tab stops] not implemented
     5         kx #   xenl  [newline ignored after 80 cols] messes up last line? Ehud Karni
     5         kx #   smpch [Start PC charset] is \E[11m, same as smacs
     5         kx #   rmpch [End PC charset] is \E[10m, same as rmacs
     5         kx #   mir   [move in insert mode] fails in tack?
     5         kx #   bce   [back color erase] causes problems with change background color?
     5         kx #   cvvis [make cursor very visible] causes a stackdump when testing with
     5         kx #         testcurs using the output option? \E[?25h\E[?8c
     5         kx #   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
     5         kx #   ech   [erase characters param] broken \E[%p1%dX
     5         kx #   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
     5         kx #
     5         kx # 2005/11/12 -TD
     5         kx #	Remove cbt since it does not work in current cygwin
     5         kx #	Add 'mir' and 'in' flags based on tack
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx cygwin|ANSI emulation for Cygwin:\
     5         kx 	:am:hs:mi:ms:xo:\
     5         kx 	:Co#8:it#8:pa#64:\
     5         kx 	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
     5         kx 	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
     5         kx 	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ei=\E[4l:fs=^G:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
     5         kx 	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\n:\
     5         kx 	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
     5         kx 	:ts=\E];:ue=\E[24m:up=\E[A:us=\E[4m:tc=vt102+enq:
     5         kx 
     5         kx # I've supplied this so that you can help test new values and add other
     5         kx # features.  Cheers, earnie_boyd@yahoo.com.
     5         kx #
     5         kx # Some features are from pcansi.  The op value is from linux.  Function-keys
     5         kx # are from linux.  These have been tested not to cause problems.  xenl was in
     5         kx # this list, but DOES cause problems so it has been removed
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx cygwinDBG|Debug Version for Cygwin:\
     5         kx 	:am:eo:mi:ms:xo:\
     5         kx 	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
     5         kx 	:%c=\E[6$:%e=\E[5$:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
     5         kx 	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
     5         kx 	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
     5         kx 	:K2=\E[G:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\n:op=\E[39;49m:\
     5         kx 	:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
     5         kx 	:ve=\E[?25h:tc=vt102+enq:
     5         kx 
     5         kx #### DJGPP
     5         kx 
     5         kx # Key definitions:
     5         kx # The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
     5         kx # encodings used by other x86 environments.  All others are invented for DJGPP.
     5         kx # Oddly enough, while several combinations of modifiers are tabulated, there is
     5         kx # none for shifted cursor keys.
     5         kx #
     5         kx #	F1			\E[[A
     5         kx #	F2			\E[[B
     5         kx #	F3			\E[[C
     5         kx #	F4			\E[[D
     5         kx #	F5			\E[[E
     5         kx #	F6			\E[17~
     5         kx #	F7			\E[18~
     5         kx #	F8			\E[19~
     5         kx #	F9			\E[20~
     5         kx #	F10			\E[21~
     5         kx #	F11			\E[23~
     5         kx #	F12			\E[24~
     5         kx #
     5         kx #	Delete			\E[3~
     5         kx #	Down Arrow		\E[B
     5         kx #	End			\E[4~
     5         kx #	Home			\E[1~
     5         kx #	Insert			\E[2~
     5         kx #	Left Arrow		\E[D
     5         kx #	Page Down		\E[6~
     5         kx #	Page Up			\E[5~
     5         kx #	Right Arrow		\E[C
     5         kx #	Up Arrow		\E[A
     5         kx #
     5         kx #	Shift-F1		\E[25~
     5         kx #	Shift-F2		\E[26~
     5         kx #	Shift-F3		\E[27~
     5         kx #	Shift-F4		\E[28~
     5         kx #	Shift-F5		\E[29~
     5         kx #	Shift-F6		\E[30~
     5         kx #	Shift-F7		\E[31~
     5         kx #	Shift-F8		\E[32~
     5         kx #	Shift-F9		\E[33~
     5         kx #	Shift-F10		\E[34~
     5         kx #	Shift-F11		\E[35~
     5         kx #	Shift-F12		\E[36~
     5         kx #
     5         kx #	Ctrl-F1			\E[47~
     5         kx #	Ctrl-F2			\E[48~
     5         kx #	Ctrl-F3			\E[49~
     5         kx #	Ctrl-F4			\E[50~
     5         kx #	Ctrl-F5			\E[51~
     5         kx #	Ctrl-F6			\E[52~
     5         kx #	Ctrl-F7			\E[53~
     5         kx #	Ctrl-F8			\E[54~
     5         kx #	Ctrl-F9			\E[55~
     5         kx #	Ctrl-F10		\E[56~
     5         kx #	Ctrl-F11		\E[57~
     5         kx #	Ctrl-F12		\E[58~
     5         kx #
     5         kx #	Ctrl-Delete		\E[43~
     5         kx #	Ctrl-Down Arrow		\E[38~
     5         kx #	Ctrl-End		\E[44~
     5         kx #	Ctrl-Home		\E[41~
     5         kx #	Ctrl-Insert		\E[42~
     5         kx #	Ctrl-Left Arrow		\E[39~
     5         kx #	Ctrl-Page Down		\E[46~
     5         kx #	Ctrl-Page Up		\E[45~
     5         kx #	Ctrl-Right Arrow	\E[40~
     5         kx #	Ctrl-Up Arrow		\E[37~
     5         kx #
     5         kx #	Alt-F1			\E[59~
     5         kx #	Alt-F2			\E[60~
     5         kx #	Alt-F3			\E[61~
     5         kx #	Alt-F4			\E[62~
     5         kx #	Alt-F5			\E[63~
     5         kx #	Alt-F6			\E[64~
     5         kx #	Alt-F7			\E[65~
     5         kx #	Alt-F8			\E[66~
     5         kx #	Alt-F9			\E[67~
     5         kx #	Alt-F10			\E[68~
     5         kx #	Alt-F11			\E[79~
     5         kx #	Alt-F12			\E[80~
     5         kx #
     5         kx #	Alt-Delete		\E[65~
     5         kx #	Alt-Down Arrow		\E[60~
     5         kx #	Alt-End			\E[66~
     5         kx #	Alt-Home		\E[41~
     5         kx #	Alt-Insert		\E[64~
     5         kx #	Alt-Left Arrow		\E[61~
     5         kx #	Alt-Page Down		\E[68~
     5         kx #	Alt-Page Up		\E[67~
     5         kx #	Alt-Right Arrow		\E[62~
     5         kx #	Alt-Up Arrow		\E[59~
     5         kx #
     5         kx # Also:
     5         kx #	Alt-A			\E[82~
     5         kx #	Alt-B			\E[82~
     5         kx #	Alt-C			\E[83~
     5         kx #	Alt-D			\E[84~
     5         kx #	Alt-E			\E[85~
     5         kx #	Alt-F			\E[86~
     5         kx #	Alt-G			\E[87~
     5         kx #	Alt-H			\E[88~
     5         kx #	Alt-I			\E[89~
     5         kx #	Alt-J			\E[90~
     5         kx #	Alt-K			\E[91~
     5         kx #	Alt-L			\E[92~
     5         kx #	Alt-M			\E[93~
     5         kx #	Alt-N			\E[94~
     5         kx #	Alt-O			\E[95~
     5         kx #	Alt-P			\E[96~
     5         kx #	Alt-Q			\E[97~
     5         kx #	Alt-R			\E[98~
     5         kx #	Alt-S			\E[99~
     5         kx #	Alt-T			\E[100~
     5         kx #	Alt-U			\E[101~
     5         kx #	Alt-V			\E[102~
     5         kx #	Alt-W			\E[103~
     5         kx #	Alt-X			\E[104~
     5         kx #	Alt-Y			\E[105~
     5         kx #	Alt-Z			\E[106~
     5         kx djgpp|ANSI emulation for DJGPP alpha:\
     5         kx 	:am:ms:ut:xo:xs:xt:\
     5         kx 	:Co#8:it#8:pa#64:\
     5         kx 	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
     5         kx 	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\n:op=\E[37;40m:\
     5         kx 	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[v:vi=\E[1v:vs=\E[2v:tc=ecma+index:
     5         kx 
     5         kx djgpp203|Entry for DJGPP 2.03:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:bl=^G:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:le=^H:nw=\r\n:sf=\n:\
     5         kx 	:ta=^I:
     5         kx 
     5         kx djgpp204|Entry for DJGPP 2.04:\
     5         kx 	:am:bs:\
     5         kx 	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:\
     5         kx 	:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[21~:k1=\E[[A:k2=\E[[B:\
     5         kx 	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kH=\E[4~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
     5         kx 	:up=\E[A:us=\E[4m:ve=\E[v:vi=\E[1v:vs=\E[2v:tc=ecma+index:
     5         kx 
     5         kx #### U/Win
     5         kx 
     5         kx # This is tested using U/Win's telnet.  Scrolling is omitted because it is
     5         kx # buggy.  Another odd bug appears when displaying "~" in alternate character
     5         kx # set (the emulator spits out error messages).  Compare with att6386 -TD
     5         kx uwin|U/Win 3.2 console:\
     5         kx 	:am:eo:in:ms:xn:xo:\
     5         kx 	:Co#8:NC#58:it#8:pa#64:\
     5         kx 	:@7=\E[Y:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dP:F1=\EOZ:F2=\EOA:\
     5         kx 	:IC=\E[%d@:S2=\E[11m:S3=\E[10m:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:ae=\E[10m:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:dc=\E[P:do=\n:\
     5         kx 	:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
     5         kx 	:k9=\EOX:k;=\EOY:kD=\177:kI=\E[@:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\r\n:\
     5         kx 	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\
     5         kx 	:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx #### Microsoft (miscellaneous)
     5         kx 
     5         kx # This entry fits the Windows NT console when the _POSIX_TERM environment
     5         kx # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
     5         kx # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
     5         kx # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
     5         kx # systems is not, and (surprise!) they match very well.
     5         kx #
     5         kx # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
     5         kx # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
     5         kx # are the installation instructions a pile of mind-numbing bureaucratese,
     5         kx # but the termcap entry is actually broken and unusable as given; the :do:
     5         kx # capability is misspelled "d".
     5         kx #
     5         kx # To use this, you need to a bunch of environment variables:
     5         kx #
     5         kx # SET _POSIX_TERM=on
     5         kx # SET TERM=ansi
     5         kx # SET TERMCAP=location of termcap file in POSIX file format
     5         kx # which is case-sensitive.
     5         kx # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
     5         kx # SET TMP=//C/TEMP
     5         kx #
     5         kx # Important note: setting the TMP environment variable in POSIX style renders
     5         kx # it incompatible with a lot of other applications, including Visual C++. So
     5         kx # you should have a separate command window just for vi. All the other
     5         kx # variables may be permanently set in the Control Panel\System applet.
     5         kx #
     5         kx # You can find out more about the restrictions of this facility at
     5         kx # <https://jeffpar.github.io/kbarchive/kb/108/Q108581/>
     5         kx #
     5         kx # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
     5         kx ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
     5         kx 	:am:bw:ms:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=\r:do=\n:\
     5         kx 	:ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
     5         kx 	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
     5         kx # From: jew@venus.sunquest.com
     5         kx # Date: 19 Feb 93 23:41:07 GMT
     5         kx # Here's  a  combination of  ansi and  vt100 termcap
     5         kx # entries   that  works  nearly   perfectly  for  me
     5         kx # (Gateway 2000 Handbook and Microsoft Works 3.0):
     5         kx pcmw|PC running Microsoft Works:\
     5         kx 	:am:xn:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
     5         kx 	:cm=5\E[%i%d;%dH:cr=\r:ct=2\E[3g:do=\n:ho=\E[H:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=2\E[5m:\
     5         kx 	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=5\r\ED:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=5\ED:so=2\E[7m:sr=5\EM:st=2\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:
     5         kx 
     5         kx # From: Federico Bianchi
     5         kx # This is the entry for the OpenNT terminal.
     5         kx # The ntconsole name is for backward compatibility.
     5         kx # This is for OpenNT 2.0 and later.
     5         kx # Later OpenNT was renamed to Interix.
     5         kx #
     5         kx # Presently it is distributed by Microsoft as Services For Unix (SFU).
     5         kx # The 3.5 beta contained ncurses 4.2 (that is header files and executables,
     5         kx # the documentation dated from 1.9.9e) -TD
     5         kx #
     5         kx # For a US keyboard, with 12 function-kecbt=\E[Z, ys,
     5         kx #	kf1-kf12 are unmodifiedcbt=\E[Z, cbt=\E[Z,
     5         kx #	kf13-kf24 use the shift-key
     5         kx #	kf25-kf36 use the left alt-key
     5         kx #	kf37-kf38 use the control-key
     5         kx #	kf49-kf60 use the shift- and control-keys
     5         kx # The shifted cursor keys send the sequences originally used for kf61-kf64:
     5         kx #	down=\EF+	(kf61)
     5         kx #	up=\EF-		(kf62)
     5         kx #	left=\EF^	(unassigned)
     5         kx #	right=\EF$	(kf64)
     5         kx 
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx interix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dl=\E[M:do=\n:ho=\E[H:k0=\EFA:\
     5         kx 	:k1=\EF1:k2=\EF2:k3=\EF3:k4=\EF4:k5=\EF5:k6=\EF6:k7=\EF7:\
     5         kx 	:k8=\EF8:k9=\EF9:kD=\177:kH=\E[U:kI=\E[L:kN=\E[T:kP=\E[S:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
     5         kx 	:ll=\E[U:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\n:\
     5         kx 	:rc=\E[u:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
     5         kx 	:te=\E[2b\E[u\r\E[K:ti=\E[s\E[1b:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=ecma+index:tc=klone+color:
     5         kx 
     5         kx opennt-35|ntconsole-35|OpenNT-term35 compatible with color:\
     5         kx 	:li#35:tc=opennt:
     5         kx 
     5         kx opennt-50|ntconsole-50|OpenNT-term50 compatible with color:\
     5         kx 	:li#50:tc=opennt:
     5         kx 
     5         kx opennt-60|ntconsole-60|OpenNT-term60 compatible with color:\
     5         kx 	:li#60:tc=opennt:
     5         kx 
     5         kx opennt-100|ntconsole-100|OpenNT-term100 compatible with color:\
     5         kx 	:li#100:tc=opennt:
     5         kx 
     5         kx # OpenNT wide terminals
     5         kx opennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color:\
     5         kx 	:co#125:tc=opennt:
     5         kx 
     5         kx opennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color:\
     5         kx 	:li#35:tc=opennt-w:
     5         kx 
     5         kx opennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color:\
     5         kx 	:li#50:tc=opennt-w:
     5         kx 
     5         kx opennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color:\
     5         kx 	:li#60:tc=opennt-w:
     5         kx 
     5         kx opennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color:\
     5         kx 	:co#132:tc=opennt:
     5         kx 
     5         kx # OpenNT terminals with no smcup/rmcup (names match termcap entries)
     5         kx interix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color:\
     5         kx 	:te@:ti@:tc=opennt:
     5         kx 
     5         kx opennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color:\
     5         kx 	:li#35:tc=opennt-nti:
     5         kx 
     5         kx opennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color:\
     5         kx 	:li#50:tc=opennt-nti:
     5         kx 
     5         kx opennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color:\
     5         kx 	:li#60:tc=opennt-nti:
     5         kx 
     5         kx opennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color:\
     5         kx 	:li#100:tc=opennt-nti:
     5         kx 
     5         kx ######## COMMON TERMINAL TYPES
     5         kx #
     5         kx # This section describes terminal classes and maker brands that are still
     5         kx # quite common, but have proprietary command sets not blessed by ANSI.
     5         kx #
     5         kx 
     5         kx #### Altos
     5         kx #
     5         kx # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
     5         kx # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
     5         kx # Acer has a web site at http://www.acer.com.
     5         kx #
     5         kx # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
     5         kx # His comments suggest they were shipped with the system.
     5         kx #
     5         kx 
     5         kx # (altos2: had extension capabilities
     5         kx #	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
     5         kx #	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
     5         kx #	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
     5         kx #	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
     5         kx #	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
     5         kx #	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
     5         kx #	:HL=^AP\r:SP=\E[i:\
     5         kx #	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
     5         kx #	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
     5         kx # Comparison with the k* capabilities makes it obvious that the c* things are
     5         kx # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
     5         kx # :sr: was given as a boolean-- esr)
     5         kx altos2|alt2|altos-2|altos II:\
     5         kx 	:co#80:it#8:li#24:sg#0:ug#0:\
     5         kx 	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
     5         kx 	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
     5         kx 	:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
     5         kx 	:if=/usr/share/tabset/vt100:im=:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
     5         kx 	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=\r\n:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
     5         kx # (altos3: had extension capabilities
     5         kx #	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
     5         kx #	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
     5         kx #	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
     5         kx #	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
     5         kx #	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
     5         kx #	:HL=^AP\r:SP=\E[i:\
     5         kx #	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:
     5         kx altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
     5         kx 	:mb=\E[5p:me=\E[p:sr=\EM:tc=altos2:
     5         kx altos4|alt4|altos-4|altos IV:\
     5         kx 	:tc=wy50:
     5         kx # (altos7: had extension capabilities:
     5         kx #	:GG#0:GI=\EH8:GF=\EH7:\
     5         kx #	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
     5         kx #	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
     5         kx #	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
     5         kx #	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
     5         kx # Comparison with the k* capabilities makes it obvious that the c* things are
     5         kx # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
     5         kx # also made this entry relative to adm12 in order to give it an :sa:. The
     5         kx # <invis> imported by use=adm+sgr may work, let me know. -- esr)
     5         kx altos7|alt7|altos VII:\
     5         kx 	:am:mi:\
     5         kx 	:co#80:li#24:sg#0:\
     5         kx 	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
     5         kx 	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
     5         kx 	:FW=^Aj\r:FX=^Ak\r:ac=j5k3l2m1n8q\:t4u9v=w0x6:al=\EE:\
     5         kx 	:cd=\EY:ce=\ET:cl=\E+^^:cm=\E=%+ %+ :cr=\r:dc=\EW:dl=\ER:\
     5         kx 	:do=\n:ei=\Er:ho=^^:im=\Eq:\
     5         kx 	:is=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:k0=^AI\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
     5         kx 	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:mk=\EG1:\
     5         kx 	:nd=^L:nw=\r\n:pf=\EJ:po=\Ed#:sf=\n:sr=\Ej:ta=^I:up=^K:\
     5         kx 	:tc=adm+sgr:
     5         kx altos7pc|alt7pc|altos PC VII:\
     5         kx 	:@7=\ET:tc=altos7:
     5         kx 
     5         kx #### Hewlett-Packard (hp)
     5         kx #
     5         kx #	Hewlett-Packard
     5         kx #	8000 Foothills Blvd
     5         kx #	Roseville, CA 95747
     5         kx #	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
     5         kx #	     1-(800)-633-3600	(General customer support)
     5         kx #
     5         kx #
     5         kx # As of March 1998, HP no longer has any terminals in production.
     5         kx # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
     5         kx # supported (they still have parts). So are the 2392a and 2394a.
     5         kx # See the WORKSTATION CONSOLES section for the 700s.
     5         kx #
     5         kx 
     5         kx # Generic HP terminal - this should (hopefully) work on any HP terminal.
     5         kx hpgeneric|hp|hewlett-packard generic terminal:\
     5         kx 	:am:bs:da:db:mi:pt:xs:\
     5         kx 	:co#80:li#24:lm#0:vt#6:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
     5         kx 	:cm=6\E&a%r%dc%dY:cr=\r:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
     5         kx 	:do=\n:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
     5         kx 	:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
     5         kx 	:us=\E&dD:
     5         kx 
     5         kx hp110|hewlett-packard model 110 portable:\
     5         kx 	:li#16:tc=hpgeneric:
     5         kx 
     5         kx hp+pfk+cr|hp function keys with CR:\
     5         kx 	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
     5         kx 	:k7=\Ev\r:k8=\Ew\r:
     5         kx 
     5         kx hp+pfk-cr|hp function keys w/o CR:\
     5         kx 	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
     5         kx 
     5         kx # The hp2621s use the same keys for the arrows and function keys,
     5         kx # but not separate escape sequences. These definitions allow the
     5         kx # user to use those keys as arrow keys rather than as function
     5         kx # keys.
     5         kx hp+pfk+arrows|hp alternate arrow definitions:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
     5         kx 	:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
     5         kx 
     5         kx hp+arrows|hp arrow definitions:\
     5         kx 	:kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
     5         kx 
     5         kx # Generic stuff from the HP 262x series
     5         kx #
     5         kx hp262x|HP 262x terminals:\
     5         kx 	:xs:\
     5         kx 	:cd=\EJ:dc=2\EP:ip=2:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:\
     5         kx 	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:\
     5         kx 	:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:\
     5         kx 	:mk=\E&dS:mr=\E&dB:se=\E&d@:sf=\ES:so=\E&dB:ta=2^I:\
     5         kx 	:ue=\E&d@:us=\E&dD:
     5         kx 
     5         kx # Note: no :ho: on HPs since that homes to top of memory, not screen.
     5         kx # Due to severe 2621 braindamage, the only way to get the arrow keys to
     5         kx # transmit anything at all is to turn on the function key labels
     5         kx # with :ks:, and even then the user has to hold down shift!
     5         kx # The default 2621 turns off the labels except when it has to to
     5         kx # enable the function keys. If your installation prefers labels
     5         kx # on all the time, or off all the time (at the "expense" of the
     5         kx # function keys), use 2621-nl or 2621-wl.
     5         kx #
     5         kx # Note: there are newer ROMs for 2621's that allow you to set
     5         kx # strap A so the regular arrow keys xmit \EA, etc, as with the
     5         kx # 2645. However, even with this strap set, the terminal stops
     5         kx # xmitting if you reset it, until you unset and reset the strap!
     5         kx # Since there is no way to set/unset the strap with an escape
     5         kx # sequence, we don't use it in the default.
     5         kx # If you like, you can use 2621-ba (brain-damaged arrow keys).
     5         kx hp2621-ba|2621 w/new rom and strap A set:\
     5         kx 	:ke@:ks@:tc=hp+arrows:tc=hp2621:
     5         kx 
     5         kx # hp2621 with function labels. Most of the time they are off,
     5         kx # but inside vi, the function key labels appear. You have to
     5         kx # hold down shift to get them to xmit.
     5         kx hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
     5         kx 	:is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
     5         kx hp2621-fl|hp 2621:\
     5         kx 	:xo:xs@:\
     5         kx 	:pb#19200:\
     5         kx 	:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:is=\E&j@\r:ke=\E&j@:\
     5         kx 	:ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=2^I:ue=\E&d@:\
     5         kx 	:us=\E&dD:tc=hp+pfk+cr:tc=hpgeneric:
     5         kx 
     5         kx # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
     5         kx hp2621p|hp 2621 with printer:\
     5         kx 	:pf=\E&p13C:po=\E&p11C:tc=hp2621:
     5         kx 
     5         kx hp2621p-a|hp2621p with fn as arrows:\
     5         kx 	:tc=hp+pfk+arrows:tc=hp2621p:
     5         kx 
     5         kx # hp2621 with k45 keyboard
     5         kx hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
     5         kx 	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
     5         kx 	:ku=\EA:tc=hp2621:
     5         kx 
     5         kx # 2621 using all 48 lines of memory, only 24 visible at any time.
     5         kx hp2621-48|48 line 2621:\
     5         kx 	:li#48:\
     5         kx 	:cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
     5         kx 
     5         kx # 2621 with no labels ever. Also prevents vi delays on escape.
     5         kx hp2621-nl|hp 2621 with no labels:\
     5         kx 	:kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
     5         kx 
     5         kx # Needed for UCB ARPAVAX console, since lsi-11 expands tabs
     5         kx # (wrong).
     5         kx #
     5         kx hp2621-nt|hp 2621 w/no tabs:\
     5         kx 	:ta@:tc=hp2621:
     5         kx 
     5         kx # Hp 2624 B with 4 or 10 pages of memory.
     5         kx #
     5         kx # Some assumptions are made with this entry. These settings are
     5         kx # NOT set up by the initialization strings.
     5         kx #
     5         kx # Port Configuration
     5         kx #	RecvPace=Xon/Xoff
     5         kx #	XmitPace=Xon/Xoff
     5         kx #	StripNulDel=Yes
     5         kx #
     5         kx # Terminal Configuration
     5         kx #	InhHndShk=Yes
     5         kx #	InhDC2=Yes
     5         kx #	XmitFnctn(A)=No
     5         kx #	InhEolWrp=No
     5         kx #
     5         kx # Note: the 2624 DOES have a true :ho:, believe it or not!
     5         kx #
     5         kx # The 2624 has an "error line" to which messages can be sent.
     5         kx # This is CLOSE to what is expected for a "status line". However,
     5         kx # after a message is sent to the "error line", the next carriage
     5         kx # return is EATEN and the "error line" is turned back off again!
     5         kx # So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
     5         kx #
     5         kx # This entry supports emacs (and any other program that uses raw
     5         kx # mode) at 4800 baud and less. I couldn't get the padding right
     5         kx # for 9600.
     5         kx #
     5         kx # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
     5         kx hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
     5         kx 	:da:db:\
     5         kx 	:lm#96:\
     5         kx 	:vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
     5         kx 
     5         kx # This hp2626 entry does not use any of the fancy windowing stuff
     5         kx # of the 2626.
     5         kx #
     5         kx # Indeed, terminfo does not yet handle such stuff. Since changing
     5         kx # any window clears memory, it is probably not possible to use
     5         kx # this for screen opt.
     5         kx #
     5         kx # ed is incredibly slow most of the time - I am guessing at the
     5         kx # exact padding. Since the terminal uses xoff/xon this is intended
     5         kx # only for cost computation, so that the terminal will prefer el
     5         kx # or even dl1 which is probably faster!
     5         kx #
     5         kx # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
     5         kx # extra slow on the last line of the window.
     5         kx #
     5         kx # The padding probably should be changed.
     5         kx #
     5         kx hp2626|hp2626a|hp2626p|hp 2626:\
     5         kx 	:da:db:\
     5         kx 	:lm#0:pb#19200:\
     5         kx 	:SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=4:is=\E&j@\r:\
     5         kx 	:tc=hp+pfk-cr:tc=hp+labels:tc=scrhp:
     5         kx 
     5         kx # This entry is for sysline. It allocates a 23 line window with
     5         kx # a 115 line workspace for regular use, and a 1 line window for
     5         kx # the status line.
     5         kx #
     5         kx # This assumes port 2 is being used.
     5         kx # Turn off horizontal line, Create ws #1 with 115 lines,
     5         kx # Create ws #2 with 1 line, Create window #1 lines 1-23,
     5         kx # Create window #2 lines 24-24, Attach cursor to workspace #1.
     5         kx # Note that this clears the tabs so it must be done by tset before
     5         kx # it sets the tabs.
     5         kx #
     5         kx hp2626-s|hp 2626 using only 23 lines:\
     5         kx 	:es:hs:\
     5         kx 	:li#23:\
     5         kx 	:fs=\E&d@\E&w7f2p1I\E&w4f1I:\
     5         kx 	:i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
     5         kx 	:ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%dC:tc=hp2626:
     5         kx # Force terminal back to 24 lines after being 23.
     5         kx hp2626-ns|hp 2626 using all 24 lines:\
     5         kx 	:i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:\
     5         kx 	:tc=hp2626:
     5         kx # Various entries useful for small windows on 2626.
     5         kx hp2626-12|hewlett-packard 2626 12 lines:\
     5         kx 	:li#12:tc=hp2626:
     5         kx hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
     5         kx 	:co#40:li#12:tc=hp2626:
     5         kx hp2626-x40|hewlett-packard 2626 40 columns:\
     5         kx 	:co#40:tc=hp2626:
     5         kx hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
     5         kx 	:li#11:tc=hp2626-s:
     5         kx 
     5         kx #
     5         kx # hp2627 color tubes from University of Wisconsin
     5         kx #
     5         kx hp2627a-rev|hp 2627 with reverse video colors:\
     5         kx 	:cr=\r:do=\n:\
     5         kx 	:is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
     5         kx 	:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:ue=\E&v0S\E&d@:\
     5         kx 	:us=\E&dD\E&v1S:tc=hp2621-nl:
     5         kx hp2627a|hp 2627 color terminal with no labels:\
     5         kx 	:cr=\r:do=\n:\
     5         kx 	:is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
     5         kx 	:kb=^H:kd=\n:kl=^H:nw=\r\n:se=\E&v0S:sf=\n:so=\E&v2S:ta=^I:\
     5         kx 	:ue=\E&v0S\E&d@:us=\E&dD\E&v1S:tc=hp2621-nl:
     5         kx hp2627c|hp 2627 color (cyan) terminal with no labels:\
     5         kx 	:cr=\r:do=\n:\
     5         kx 	:is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
     5         kx 	:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:tc=hp2627a:
     5         kx 
     5         kx # hp2640a doesn't have the Y cursor addressing feature, and C is
     5         kx # memory relative instead of screen relative, as we need.
     5         kx #
     5         kx hp2640a|hp 2640a:\
     5         kx 	:cm@:ke@:ks@:tc=hp2645:
     5         kx 
     5         kx hp2640b|hp2644a|hp 264x series:\
     5         kx 	:ke@:ks@:tc=hp2645:
     5         kx 
     5         kx # (hp2641a: removed unknown :gu: -- esr)
     5         kx hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
     5         kx 	:am:da:db:mi:xs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
     5         kx 	:cm=\E&a%r%2c%2Y:cr=\r:cv=\E&a%2Y:dc=\EP:dl=\EM:do=\n:\
     5         kx 	:ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
     5         kx 	:kd=\n:kl=^H:le=^H:nd=\EC:nw=\r\n:se=\E&d@:sf=\n:so=\E&dB:\
     5         kx 	:ta=^I:up=\EA:
     5         kx 
     5         kx # This terminal should be used at 4800 baud or less. It needs padding for
     5         kx # plain characters at 9600, I guessed at an appropriate cr delay.  It really
     5         kx # wants ^E/^F handshaking, but that doesn't work well even if you write
     5         kx # software to support it.
     5         kx hp2645|hp45|HP 2645 series:\
     5         kx 	:pb#9600:\
     5         kx 	:cr=20\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
     5         kx 	:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
     5         kx 	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
     5         kx 	:mh=\E&dH:mr=\E&dB:us=\E&dD:tc=hpgeneric:
     5         kx # You should use this terminal at 4800 baud or less.
     5         kx hp2648|hp2648a|HP 2648a graphics terminal:\
     5         kx 	:cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=hp2645:
     5         kx 
     5         kx # The HP 150 terminal is a fairly vanilla HP terminal, with the
     5         kx # clreol standout problem. It also has graphics capabilities and
     5         kx # a touch screen, which we don't describe here.
     5         kx hp150|hewlett packard Model 150:\
     5         kx 	:bs:tc=hp2622:
     5         kx 
     5         kx # HP 2382a terminals, "the little ones." They don't have any
     5         kx # alternate character set support and sending out ^N/^O will
     5         kx # leave the screen blank.
     5         kx hp2382a|hp2382|hewlett packard 2382a:\
     5         kx 	:da:db:\
     5         kx 	:lh#1:lm#48:\
     5         kx 	:ac@:ae@:as@:me=\E&d@:tc=hp+labels:tc=scrhp:
     5         kx 
     5         kx hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
     5         kx 	:tc=hp+pfk+arrows:tc=hp2621-fl:
     5         kx 
     5         kx # newer hewlett packard terminals
     5         kx 
     5         kx newhpkeyboard|generic entry for HP extended keyboard:\
     5         kx 	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
     5         kx 	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
     5         kx 	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
     5         kx 	:tc=hp+pfk-cr:
     5         kx 
     5         kx newhp|generic entry for new hewlett packard terminals:\
     5         kx 	:am:bw:mi:xo:xs:\
     5         kx 	:co#80:li#24:pb#4800:\
     5         kx 	:ac=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q,t5u6v8w7x.:\
     5         kx 	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=\r:ct=\E3:\
     5         kx 	:dc=2\EP:dl=\EM:do=\n:ei=\ER:i1=8\E&jB:im=\EQ:ip=2:le=^H:\
     5         kx 	:mb=\E&dA:md=\E&dF:me=\E&d@:mh=\E&dH:mk=\E&dS:mr=\E&dB:\
     5         kx 	:nd=\EC:nw=\r\n:r1=\Eg:se=\E&d@:sf=\n:so=\E&dJ:sr=\ET:\
     5         kx 	:st=\E1:ta=2^I:ue=\E&d@:up=\EA:us=\E&dD:tc=newhpkeyboard:
     5         kx 
     5         kx memhp|memory relative addressing for new HP ttys:\
     5         kx 	:vt#6:\
     5         kx 	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
     5         kx 	:UP=\E&a-%dR:ch=\E&a%dC:cl=40\EH\EJ:cm=\E&a%dr%dC:\
     5         kx 	:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
     5         kx 
     5         kx scrhp|screen relative addressing for new HP ttys:\
     5         kx 	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
     5         kx 	:UP=\E&a-%dR:ch=\E&a%dC:cl=40\E&a0c0Y\EJ:\
     5         kx 	:cm=10\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
     5         kx 	:tc=newhp:
     5         kx 
     5         kx # (hp+labels: added label values from a BRL termcap -- esr)
     5         kx hp+labels|"standard" label info for new HP ttys:\
     5         kx 	:Nl#8:lh#2:lw#8:\
     5         kx 	:LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
     5         kx 	:l7=f8:
     5         kx 
     5         kx hp+printer|"standard" printer info for HP ttys:\
     5         kx 	:ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
     5         kx 
     5         kx 
     5         kx # The new hp2621b is kind of a cross between the old 2621 and the
     5         kx # new 262x series of machines. It has dip-switched options.
     5         kx # The firmware has a bug in it such that if you give it a null
     5         kx # length label, the following character is eaten!
     5         kx hp2621b|hp 2621b with old style keyboard:\
     5         kx 	:Nl#8:lh#1:lm#48:lw#8:\
     5         kx 	:LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
     5         kx 	:ku=\EA:tc=hp2621:
     5         kx 
     5         kx hp2621b-p|hp 2621b with printer:\
     5         kx 	:tc=hp+printer:tc=hp2621b:
     5         kx 
     5         kx # hp2621b - new 2621b with new extended keyboard
     5         kx # these are closer to the new 26xx series than the other 2621b
     5         kx hp2621b-kx|hp 2621b with extended keyboard:\
     5         kx 	:tc=newhpkeyboard:tc=hp2621b:
     5         kx 
     5         kx hp2621b-kx-p|hp 2621b with new keyboard & printer:\
     5         kx 	:tc=hp+printer:tc=hp2621b-kx:
     5         kx 
     5         kx # Some assumptions are made in the following entries.
     5         kx # These settings are NOT set up by the initialization strings.
     5         kx #
     5         kx #    Port Configuration
     5         kx # RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
     5         kx #
     5         kx #    Terminal Configuration
     5         kx # InhHndShk(G)=Yes	InhDC2(H)=Yes
     5         kx # XmitFnctn(A)=No		InhEolWrp=No
     5         kx #
     5         kx #
     5         kx # Hp 2622a & hp2623a display and graphics terminals
     5         kx #
     5         kx hp2622|hp2622a|hp 2622:\
     5         kx 	:da:db:\
     5         kx 	:lm#0:pb#19200:\
     5         kx 	:is=\E&dj@\r:tc=hp+pfk-cr:tc=hp+labels:tc=scrhp:
     5         kx 
     5         kx # The 2623 is a 2622 with extra graphics hardware.
     5         kx hp2623|hp2623a|hp 2623:\
     5         kx 	:tc=hp2622:
     5         kx 
     5         kx hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
     5         kx 	:tc=hp+printer:tc=hp2624:
     5         kx 
     5         kx # The hewlett packard B can have an optional extra 6 pages of memory.
     5         kx hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
     5         kx 	:lm#240:tc=hp2624:
     5         kx 
     5         kx hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
     5         kx 	:lm#240:tc=hp2624b-p:
     5         kx 
     5         kx # Color manipulations for HP terminals
     5         kx hp+color|hp with colors:\
     5         kx 	:cc:\
     5         kx 	:Co#16:NC#17:pa#7:\
     5         kx 	:oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
     5         kx 	:op=\E&v0S:sp=\E&v%dS:
     5         kx 
     5         kx # :is: sets the screen to be 80 columns wide
     5         kx hp2397a|hp2397|hewlett packard 2397A color terminal:\
     5         kx 	:is=\E&w6f80X:tc=memhp:tc=hp+labels:tc=hp+color:
     5         kx 
     5         kx #  HP 700/44 Setup parameters:
     5         kx # Terminal Mode		HP-PCterm
     5         kx # Inhibit Auto Wrap	NO
     5         kx # Status Line		Host Writable
     5         kx # PC Character Set	YES
     5         kx # Twenty-Five Line Mode	YES
     5         kx # XON/XOFF		@128 or 64 (sc)
     5         kx # Keycode Mode		NO   or YES (sc)
     5         kx # Backspace Key		BS or BS/DEL
     5         kx #
     5         kx # :is:		sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
     5         kx # \E\\? does not turn off keycode mode
     5         kx # <smsc>	sets alternate start/stop; keycode on
     5         kx hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
     5         kx 	:am:eo:xn:xo:\
     5         kx 	:co#80:li#25:\
     5         kx 	:@7=\E[4~:RA=\E[?7l:S4=250\E[>11h\EPO**x0/65;1/67\E\\:\
     5         kx 	:S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
     5         kx 	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:\
     5         kx 	:is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
     5         kx 	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
     5         kx 	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
     5         kx 	:kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:
     5         kx #
     5         kx # (hp2392: copied :ei: here from hpex -- esr)
     5         kx hp2392|239x series:\
     5         kx 	:co#80:\
     5         kx 	:bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
     5         kx 	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
     5         kx 	:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
     5         kx 	:us=\E&dD:tc=hpsub:
     5         kx 
     5         kx hpsub|hp terminals -- capability subset:\
     5         kx 	:am:da:db:mi:xo:xs:\
     5         kx 	:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=\r:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
     5         kx 	:is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
     5         kx 	:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
     5         kx 	:sf=\n:so=\E&dB:ta=^I:up=\EA:
     5         kx 
     5         kx # hpex:
     5         kx #	May be used for most 24 x 80 hp terminals,
     5         kx # but has no padding added, so may allow runover in some terminals at high
     5         kx # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
     5         kx # hp98x5 terminal emulators or hp98x6 consoles.
     5         kx #	Adds xy-cursor addressing, vertical cursor addressing, home,
     5         kx # last line, and underline capabilities.
     5         kx #
     5         kx # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
     5         kx # moved :ei: here from hpsub -- esr)
     5         kx hpex|hp extended capabilities:\
     5         kx 	:cm=\E&a%dy%dC:cr=\r:cv=\E&a%dY:do=\n:ei=\ER:im=\EQ:kb=^H:\
     5         kx 	:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:ue=\E&d@:us=\E&dD:tc=hpsub:
     5         kx 
     5         kx # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
     5         kx hp2|hpex2|hewlett-packard extended capabilities newer version:\
     5         kx 	:am:da:db:mi:xs:\
     5         kx 	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:ug#0:\
     5         kx 	:LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
     5         kx 	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=\r:ct=\E3:cv=\E&a%dY:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
     5         kx 	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
     5         kx 	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
     5         kx 	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
     5         kx 	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@\017:\
     5         kx 	:ml=\El:mu=\Em:nd=\EC:se=\E&d@:sf=\n:so=\E&dB:st=\E1:ta=^I:\
     5         kx 	:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx 
     5         kx # HP 236 console
     5         kx # From: <ddavis@ic.berkeley.edu>
     5         kx hp236|hp236 internal terminal emulator:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
     5         kx 	:im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
     5         kx 
     5         kx # This works on a hp300 console running Utah 4.3 BSD
     5         kx # From: Craig Leres <leres@okeeffe.berkeley.edu>
     5         kx hp300h|HP Catseye console:\
     5         kx 	:am:bs:da:db:mi:xs:\
     5         kx 	:co#128:li#51:lm#0:sg#0:ug#0:\
     5         kx 	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
     5         kx 	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=\r:ct=\E3:cv=\E&a%dY:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
     5         kx 	:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
     5         kx 	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=\n:\
     5         kx 	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx # From: Greg Couch <gregc@ernie.berkeley.edu>
     5         kx hp9837|hp98720|hp98721|HP 9000/300 workstations:\
     5         kx 	:am:bs:da:db:mi:xs:\
     5         kx 	:co#128:it#8:li#46:lm#0:\
     5         kx 	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
     5         kx 	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
     5         kx 	:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
     5         kx 	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
     5         kx 	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
     5         kx 	:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=\n:so=\E&v5S:st=\E1:\
     5         kx 	:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx # HP 9845 desktop computer from BRL
     5         kx # (hp9845: removed unknown capability :gu: -- esr)
     5         kx hp9845|HP 9845:\
     5         kx 	:am:bs:da:db:eo:mi:xs:\
     5         kx 	:co#80:li#21:\
     5         kx 	:al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/std:\
     5         kx 	:im=\EQ:le=\ED:nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
     5         kx # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
     5         kx # (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
     5         kx # added empty <acsc> to avoid warnings re :as:/:ae: --esr)
     5         kx hp98550|hp98550a|HP 9000 Series 300 color console:\
     5         kx 	:am:bs:da:db:mi:xs:\
     5         kx 	:co#128:it#8:li#49:lm#0:\
     5         kx 	:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
     5         kx 	:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=\r:ct=\E3:\
     5         kx 	:cv=\E&a%dY:dc=\EP:dl=\EM:do=\n:ei=\ER:\
     5         kx 	:if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
     5         kx 	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
     5         kx 	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
     5         kx 	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
     5         kx 	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
     5         kx 	:md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
     5         kx 	:se=\E&d@:sf=\n:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
     5         kx 	:us=\E&dD:ve=\E*dQ:vi=\E*dR:
     5         kx # From: Victor Duchovni <vic@fine.princeton.edu>
     5         kx # (hp700-wy: removed obsolete ":nl=^J:";
     5         kx # replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
     5         kx hp700-wy|HP700/41 emulating wyse30:\
     5         kx 	:am:bs:bw:mi:ms:\
     5         kx 	:co#80:it#8:li#24:sg#1:ug#1:\
     5         kx 	:al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
     5         kx 	:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
     5         kx 	:if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
     5         kx 	:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
     5         kx 	:sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
     5         kx hp70092|hp70092a|hp70092A|HP 700/92:\
     5         kx 	:am:da:db:xs:\
     5         kx 	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
     5         kx 	:LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q,t5u6v8w7x.:ae=^O:\
     5         kx 	:al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
     5         kx 	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=\r:ct=\E3:cv=\E&a%dY:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
     5         kx 	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
     5         kx 	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
     5         kx 	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
     5         kx 	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
     5         kx 	:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
     5         kx 	:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx 
     5         kx bobcat|sbobcat|HP 9000 model 300 console:\
     5         kx 	:am:da:db:mi:xs:\
     5         kx 	:co#128:it#8:li#47:sg#0:ug#0:\
     5         kx 	:al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
     5         kx 	:cm=6\E&a%dy%dC:cr=\r:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
     5         kx 	:ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
     5         kx 	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=\r\n:se=\E&d@:\
     5         kx 	:sf=\n:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
     5         kx gator-t|HP 9000 model 237 emulating extra-tall AAA:\
     5         kx 	:li#94:tc=gator:
     5         kx gator|HP 9000 model 237 emulating AAA:\
     5         kx 	:bw:km:mi:ul:\
     5         kx 	:co#128:it#8:li#47:\
     5         kx 	:AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
     5         kx 	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\n:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:kb=^H:kd=\n:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:
     5         kx gator-52|HP 9000 model 237 emulating VT52:\
     5         kx 	:co#128:li#47:tc=vt52-basic:
     5         kx gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
     5         kx 	:li#94:tc=gator-52:
     5         kx 
     5         kx #### Honeywell-Bull
     5         kx #
     5         kx # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
     5         kx #
     5         kx 
     5         kx # Honeywell Bull terminal.  Its cursor and function keys send single
     5         kx # control characters and it has standout/underline glitch.  Most programs
     5         kx # do not like these features/bugs.  Visual bell is realized by flashing the
     5         kx # "keyboard locked" LED.
     5         kx dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
     5         kx 	:co#80:li#25:\
     5         kx 	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=\r:do=^K:ho=^]:\
     5         kx 	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=\r\n:\
     5         kx 	:sf=\n:ta=^I:up=^Z:vb=\E[2h\E[2l:
     5         kx dku7003|Honeywell Bull DKU 7003 all features described:\
     5         kx 	:ms:\
     5         kx 	:sg#1:ug#1:\
     5         kx 	:mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
     5         kx 	:so=\E[7m:ue=\E[m:us=\E[4m:tc=dku7003-dumb:
     5         kx 
     5         kx #### Lear-Siegler (adm)
     5         kx #
     5         kx # These guys are long since out of the terminals business, but
     5         kx # in 1995 many current terminals still have an adm type as one of their
     5         kx # emulations (usually their stupidest, and usually labeled adm3, though
     5         kx # these `adm3' emulations normally have adm3a+ capabilities).
     5         kx #
     5         kx # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
     5         kx # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
     5         kx # was being held to ground would trigger a send of the top line on the screen.
     5         kx # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
     5         kx # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
     5         kx # for clearing up this point.)
     5         kx 
     5         kx adm1a|adm1|lsi adm1a:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=1\E;:cm=\E=%+ %+ :cr=\r:do=\n:ho=^^:le=^H:nd=^L:\
     5         kx 	:sf=\n:up=^K:
     5         kx adm2|lsi adm2:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ei=:ho=^^:ic=\EQ:im=:kd=\n:kh=^^:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:nd=^L:sf=\n:up=^K:
     5         kx # (adm3: removed obsolete ":ma=^K^P:" -- esr)
     5         kx adm3|lsi adm3:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^Z:cr=\r:do=\n:le=^H:sf=\n:
     5         kx # The following ADM-3A switch settings are assumed for normal operation:
     5         kx #	SPACE		U/L_DISP	CLR_SCRN	24_LINE
     5         kx #	CUR_CTL		LC_EN		AUTO_NL		FDX
     5         kx # Other switches may be set for operator convenience or communication
     5         kx # requirements.  I recommend
     5         kx #	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
     5         kx #	ETX_OFF		EOT_OFF
     5         kx # Most of these terminals required an option ROM to support lower case display.
     5         kx # Open the case and look at the motherboard; if you see an open 24-pin DIP
     5         kx # socket, you may be out of luck.
     5         kx #
     5         kx # (adm3a: some capabilities merged in from BRl entry -- esr)
     5         kx adm3a|lsi adm3a:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=1^Z:cm=\E=%+ %+ :cr=\r:do=\n:ho=^^:kd=\n:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=\n:rs=^N:sf=\n:up=^K:
     5         kx adm3a+|adm3a plus:\
     5         kx 	:kb=^H:tc=adm3a:
     5         kx # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
     5         kx adm5|lsi adm5:\
     5         kx 	:sg#1:\
     5         kx 	:bl=^G:cd=\EY:ce=\ET:cr=\r:do=\n:kb=^H:kh=^^:se=\EG:so=\EG:\
     5         kx 	:tc=adm3a+:
     5         kx # A lot of terminals other than adm11s use these.  Wherever you see
     5         kx # use=adm+sgr with some of its capabilities disabled, try the
     5         kx # disabled ones.  They may well work but not have been documented or
     5         kx # expressed in the using entry.  We'd like to cook up an :sa: but the
     5         kx # :ae:/:as: sequences of the using entries vary too much.
     5         kx adm+sgr|adm style highlight capabilities:\
     5         kx 	:me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
     5         kx # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
     5         kx # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
     5         kx # :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
     5         kx # be ^Z, according to his entry.
     5         kx # (adm11: :us:=\EG4 was obviously erroneous because it also said
     5         kx # :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
     5         kx adm11|LSI ADM-11:\
     5         kx 	:am:bs:hs:\
     5         kx 	:co#80:kn#8:li#24:\
     5         kx 	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=\r:do=\n:ds=\Eh:\
     5         kx 	:fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
     5         kx 	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=\n:nw=\r\n:ta=^I:\
     5         kx 	:ts=\EF\E):up=^K:tc=adm+sgr:
     5         kx # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
     5         kx # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
     5         kx # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
     5         kx # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
     5         kx # :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
     5         kx # via BRL.  That entry asserted :sg#1:, but I've left that out because
     5         kx # neither earlier nor later ADMSs have it -- esr)
     5         kx #
     5         kx # You will need to get into the supervisor setup before you can set
     5         kx # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
     5         kx # see a lot more setup options.
     5         kx #
     5         kx # While in supervisor setup you can also use following codes:
     5         kx #
     5         kx # Ctrl-P Personality character selections (configure for example what
     5         kx #        arrow keys send, if I recall correctly)
     5         kx # Ctrl-T tabs 1-80   use left&right to move and up to set and
     5         kx # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
     5         kx # Ctrl-B Binary setup (probably not needed. I think that everything can
     5         kx #        be set using normal setup)
     5         kx # Ctrl-A Answerback mode (enter answerback message)
     5         kx # Ctrl-U User friendly mode (normal setup)
     5         kx # Ctrl-D Defaults entire setup and function keys from EPROM tables
     5         kx # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
     5         kx # Ctrl-R Reads both setup and functions keys from NVM.
     5         kx # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
     5         kx #
     5         kx # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
     5         kx # RTS/CTS used nowadays with virtually every modem and computer. 19200
     5         kx # bps works fine with hardware flow control.
     5         kx #
     5         kx # The following null-modem cable should fix this and enable you to use
     5         kx # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
     5         kx # set ADM-12+ for DTR handshaking from supervisor setup.
     5         kx #
     5         kx # PC Serial   ADM-12+
     5         kx #  --------   -------
     5         kx #         2 - 3
     5         kx #         3 - 2
     5         kx #         4 - 5
     5         kx #         5 - 20
     5         kx #       6,8 - 4
     5         kx #         7 - 7
     5         kx #        20 - 6,8
     5         kx #
     5         kx adm12|lsi adm12:\
     5         kx 	:am:bs:mi:pt:\
     5         kx 	:co#80:it#8:li#24:ug#1:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:ct=\E0:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
     5         kx 	:is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
     5         kx 	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
     5         kx 	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=\n:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:nd=^L:st=\E1:up=^K:tc=adm+sgr:
     5         kx # (adm20: removed obsolete ":kn#7:" -- esr)
     5         kx adm20|lear siegler adm20:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
     5         kx 	:cm=\E=%i%r%+^_%+^_:cr=\r:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
     5         kx 	:im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
     5         kx 	:nd=^L:se=\E(:so=\E):ta=^I:up=^K:
     5         kx adm21|lear siegler adm21:\
     5         kx 	:sg#1:\
     5         kx 	:al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=\r:dc=\EW:dl=30*\ER:do=\n:\
     5         kx 	:ei=:ic=\EQ:im=:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=\n:\
     5         kx 	:tc=adm+sgr:tc=adm3a:
     5         kx # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
     5         kx # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
     5         kx # removed bogus-looking \200 from before :cm:. -- esr)
     5         kx adm22|lsi adm22:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=\ER:do=\n:ei=:ho=^^:ic=\EQ:im=:\
     5         kx 	:is=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
     5         kx 	:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
     5         kx 	:so=\E):ta=\Ei:up=^K:
     5         kx # ADM 31 DIP Switches
     5         kx #
     5         kx # This information comes from two versions of the manual for the
     5         kx # Lear-Siegler ADM 31.
     5         kx #
     5         kx # Main board:
     5         kx #                  rear of case
     5         kx #   +-||||-------------------------------------+
     5         kx #   + S1S2                              ||S    +
     5         kx #   +                                   ||3    +
     5         kx #   +                                          +
     5         kx #   +                                ||S       +
     5         kx #   +                                ||4       +
     5         kx #   +                                          +
     5         kx #   +                                          +
     5         kx #   +                                          +
     5         kx #   +                                          +
     5         kx #   +                                          +
     5         kx # +-+                                          +-+
     5         kx # +                                              +
     5         kx # +                               S5 S6 S7       +
     5         kx # +                               == == ==       +
     5         kx # +----------------------------------------------+
     5         kx #            front of case (keyboard)
     5         kx #
     5         kx #  S1 - Data Rate - Modem
     5         kx #  S2 - Data Rate - Printer
     5         kx # ------------------------
     5         kx # Data Rate   Setting
     5         kx # -------------------
     5         kx # 50          0 0 0 0
     5         kx # 75          1 0 0 0
     5         kx # 110         0 1 0 0
     5         kx # 134.5       1 1 0 0
     5         kx # 150         0 0 1 0
     5         kx # 300         1 0 1 0
     5         kx # 600         0 1 1 0
     5         kx # 1200        1 1 1 0
     5         kx # 1800        0 0 0 1
     5         kx # 2000        1 0 0 1
     5         kx # 2400        0 1 0 1
     5         kx # 3600        1 1 0 1
     5         kx # 4800        0 0 1 1
     5         kx # 7200        1 0 1 1
     5         kx # 9600        0 1 1 1
     5         kx # x           1 1 1 1
     5         kx #
     5         kx # S3 - Interface/Printer/Attributes
     5         kx # ---------------------------------
     5         kx # Printer Busy Control
     5         kx # sw1   sw2   sw3
     5         kx # ---------------
     5         kx # off   off   off   Busy not active, CD disabled
     5         kx # off   off   on    Busy not active, CD enabled
     5         kx # off   on    off   Busy active on J5-20, CD disabled
     5         kx # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
     5         kx # on    off   on    Busy active on J5-19, CD enabled
     5         kx #
     5         kx # sw4   Used in conjunction with S4 for comm interface control - Fact 0
     5         kx #
     5         kx # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
     5         kx #
     5         kx # sw6   ON enables printer BUSY active LOW - Factory Setting
     5         kx #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
     5         kx #
     5         kx # sw7   ON - steady cursor - Factory Setting
     5         kx #       OFF - blinking cursor
     5         kx #
     5         kx # sw8   ON causes selected attribute character to be displayed
     5         kx #       OFF causes SPACE to be displayed instead - Factory Setting
     5         kx #
     5         kx # S4 - Interface
     5         kx # --------------
     5         kx # Modem Interface
     5         kx # S3    S4    S4    S4    S4
     5         kx # sw4   sw1   sw2   sw3   sw4
     5         kx # ---------------------------
     5         kx # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
     5         kx #                               Current Loop disabled - Factory Setting
     5         kx # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
     5         kx #                               disabled
     5         kx # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
     5         kx #                               Current Loop Disabled
     5         kx #
     5         kx # sw5   ON disables dot stretching mode - Factory Setting
     5         kx #       OFF enables dot stretching mode
     5         kx # sw6   ON enables blanking function
     5         kx #       OFF enables underline function - Factory Setting
     5         kx # sw7   ON causes NULLS to be displayed as NULLS
     5         kx #       OFF causes NULLS to be displayed as SPACES - Factory Setting
     5         kx #
     5         kx # S5 - Word Structure
     5         kx # -------------------
     5         kx # sw1   ON enables BREAK key - Factory Setting
     5         kx #       OFF disables BREAK key
     5         kx # sw2   ON selects 50Hz monitor refresh rate
     5         kx #       OFF selects 60Hz monitor refresh rate - Factory Setting
     5         kx #
     5         kx # Modem Port Selection
     5         kx # sw3   sw4   sw5
     5         kx # ---------------
     5         kx # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
     5         kx # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
     5         kx # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
     5         kx # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
     5         kx # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
     5         kx # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
     5         kx # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
     5         kx # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
     5         kx #
     5         kx # sw6   ON  sends bit 8 a 1 (mark)
     5         kx #       OFF sends bit 8 as 0 (space) - Factory Setting
     5         kx # sw7   ON  selects Block Mode
     5         kx #       OFF selects Conversation Mode - Factory Setting
     5         kx # sw8   ON  selects Full Duplex operation
     5         kx #       OFF selects Half Duplex operation - Factory Setting
     5         kx #
     5         kx # S6 - Printer
     5         kx # ------------
     5         kx # sw1, sw2, sw6, sw7   Reserved - Factory 0
     5         kx #
     5         kx # Printer Port Selection
     5         kx # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
     5         kx #
     5         kx # sw8   ON   enables Printer Port
     5         kx #       OFF disables Printer Port - Factory Setting
     5         kx #
     5         kx # S7 - Polling Address
     5         kx # --------------------
     5         kx # sw1-7 Establish ASCII character which designates terminal polling address
     5         kx #       ON  = logic 0
     5         kx #       OFF = logic 1 - Factory Setting
     5         kx # sw8   ON   enables Polling Option
     5         kx #       OFF disables Polling Option - Factory Setting
     5         kx #
     5         kx #
     5         kx # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
     5         kx #
     5         kx # This adm31 entry uses underline as the standout mode.
     5         kx # If the adm31 gives you trouble with standout mode, check the DIP switch in
     5         kx # position 6, bank @c11, 25% from back end of the circuit board.  Should be
     5         kx # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
     5         kx # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
     5         kx adm31|lsi adm31 with sw6 set for underline mode:\
     5         kx 	:am:bs:mi:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
     5         kx 	:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
     5         kx 	:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=\n:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:me=\EG0:nd=^L:se=\EG0:sf=\n:so=\EG1:ue=\EG0:up=^K:us=\EG1:
     5         kx adm31-old|o31|old adm31:\
     5         kx 	:so=\EG4:ue@:us@:tc=adm31:
     5         kx # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
     5         kx adm36|LSI ADM36:\
     5         kx 	:bs:pt:\
     5         kx 	:kn#4:\
     5         kx 	:if=/usr/share/tabset/vt100:\
     5         kx 	:is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:\
     5         kx 	:tc=vt100+4bsd:
     5         kx # (adm42: removed obsolete ":ma=^K^P:" -- esr)
     5         kx adm42|lsi adm42:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=270\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=\ER:do=\n:ei=\Er:im=\Eq:ip=6*:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=\n:ta=^I:ue@:\
     5         kx 	:up=^K:us@:vs=\EC\E3 \E3(:tc=adm+sgr:
     5         kx # The following termcap for the Lear Siegler ADM-42 leaves the
     5         kx # "system line" at the bottom of the screen blank (for those who
     5         kx # find it distracting otherwise)
     5         kx adm42-ns|lsi adm-42 with no system line:\
     5         kx 	:al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
     5         kx 	:ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
     5         kx 	:dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
     5         kx 	:im=\Eq\EF \011:tc=adm42:
     5         kx # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
     5         kx # The insert mode of this terminal is commented out because it's broken for our
     5         kx # purposes in that it will shift the position of every character on the page,
     5         kx # not just the cursor line!
     5         kx # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
     5         kx adm1178|1178|lsi adm1178:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=\ER:do=\n:ho=^^:ip=6*:kb=^H:kd=\n:kl=^H:\
     5         kx 	:le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=\r\n:pc=\177:se=\EG0:\
     5         kx 	:sf=\n:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
     5         kx 
     5         kx #### Prime
     5         kx #
     5         kx # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
     5         kx # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
     5         kx # Prime merged with ComputerVision in the late 1980s; you can reach them at:
     5         kx #
     5         kx #	ComputerVision Services
     5         kx #	500 Old Connecticut Path
     5         kx #	Framingham, Mass.
     5         kx #
     5         kx 
     5         kx # Standout mode is dim reverse-video.
     5         kx pt100|pt200|wren|fenix|prime pt100/pt200:\
     5         kx 	:am:bw:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:DC=\E[%dP:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:cl=\E?:\
     5         kx 	:cm=\E0%+!%+!:cr=\r:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:\
     5         kx 	:ho=\E$B:im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:\
     5         kx 	:nw=\r\n:se=\E[m:sf=\n:so=\E[2;7m:ta=^I:te=:\
     5         kx 	:ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
     5         kx pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=\E[%i%d;%dH:tc=pt100:
     5         kx pt250|Prime PT250:\
     5         kx 	:se@:so@:tc=pt100:
     5         kx pt250w|Prime PT250 in 132-column mode:\
     5         kx 	:se@:so@:tc=pt100w:
     5         kx 
     5         kx #### Qume (qvt)
     5         kx #
     5         kx #	Qume, Inc.
     5         kx #	3475-A North 1st Street
     5         kx #	San Jose CA 95134
     5         kx #	Vox: (800)-457-4447
     5         kx #	Fax: (408)-473-1510
     5         kx #	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
     5         kx #
     5         kx # Qume was bought by Wyse, but still (as of early 1995) has its own support
     5         kx # group and production division.
     5         kx #
     5         kx # Discontinued Qume models:
     5         kx #
     5         kx # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
     5         kx # built to replace them, and a qvt119+ which was a 101+ with available wide
     5         kx # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
     5         kx # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
     5         kx # ANSI-compatible terminals with the qvt323 and qvt61.
     5         kx #
     5         kx # Current Qume models (as of February 1995):
     5         kx #
     5         kx # All current Qume terminals have ANSI-compatible operation modes.
     5         kx # Qume is still producing the qvt62, which features emulations for other
     5         kx # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
     5         kx # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
     5         kx # with many emulations including Wyse370, Wyse 325, etc.  Their newest
     5         kx # model is the qvt520, which is vt420-compatible.
     5         kx #
     5         kx # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
     5         kx #
     5         kx # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
     5         kx # setup mode.  Shift-s should be a configuration save to NVRAM.
     5         kx 
     5         kx qvt101|qvt108|qume qvt 101 and QVT 108:\
     5         kx 	:sg#1:tc=qvt101+:
     5         kx 
     5         kx # This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
     5         kx # file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
     5         kx # both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
     5         kx # What seems to be going on here is that this entry was designed so that
     5         kx # the normal highlight is bold and standout is dim plus something else
     5         kx # (reverse-video maybe?  But then, are there two :mr: sequences?)
     5         kx #
     5         kx # Added kdch1, kil1, kdl1 based on screenshot -TD:
     5         kx #	http://www.vintagecomputer.net/qume/qvt-108/qume_qvt-108_keyboard.jpg
     5         kx qvt101+|qvt101p|qume qvt 101 PLUS product:\
     5         kx 	:am:bw:hs:ul:\
     5         kx 	:co#80:li#24:sg#0:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E3:dc=\EW:dl=\ER:do=\n:ds=\Eg\Ef\r:ei=:fs=\r:ho=^^:\
     5         kx 	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
     5         kx 	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
     5         kx 	:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=\n:\
     5         kx 	:so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
     5         kx 	:tc=adm+sgr:
     5         kx qvt102|qume qvt 102:\
     5         kx 	:ve=\E.:tc=qvt101:
     5         kx # (qvt103: added <rmam>/<smam> based on init string -- esr)
     5         kx qvt103|qume qvt 103:\
     5         kx 	:am:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
     5         kx 	:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:do=\n:\
     5         kx 	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=\n:so=2\E[7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:
     5         kx qvt103-w|qume qvt103 132 cols:\
     5         kx 	:co#132:li#24:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
     5         kx qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
     5         kx 	:am:hs:mi:ms:\
     5         kx 	:co#80:li#24:sg#0:ug#0:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:ct=\E3:dc=\EW:dl=\ER:do=\n:ds=\Eg\Ef\r:ei=\Er:fs=\r:\
     5         kx 	:ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=\n:sr=\EJ:st=\E1:ta=^I:\
     5         kx 	:ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
     5         kx 	:tc=adm+sgr:
     5         kx qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
     5         kx 	:li#25:tc=qvt119+:
     5         kx qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	:is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
     5         kx qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
     5         kx 	:li#25:tc=qvt119+:
     5         kx qvt203|qvt203+|qume qvt 203 Plus:\
     5         kx 	:al=99\E[L:dc=7\E[P:dl=99\E[M:ei=\E[4l:im=\E[4h:ip=7:\
     5         kx 	:k0=\E[29~:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
     5         kx 	:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:\
     5         kx 	:sf=30\n:tc=qvt103:
     5         kx qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
     5         kx 	:co#132:li#24:\
     5         kx 	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
     5         kx #
     5         kx #	Since a command is present for enabling 25 data lines,
     5         kx #	a specific terminfo entry may be generated for the 203.
     5         kx #	If one is desired for the QVT 119 PLUS then 25 lines must
     5         kx #	be selected in the status line (setup line 9).
     5         kx #
     5         kx qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
     5         kx 	:co#80:li#25:\
     5         kx 	:is=\E[=40h\E[?3l:tc=qvt203:
     5         kx qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
     5         kx 	:co#132:li#25:\
     5         kx 	:rs=\E[?3h\E[=40h:tc=qvt203:
     5         kx 
     5         kx #### Televideo (tvi)
     5         kx #
     5         kx #	TeleVideo
     5         kx #	550 East Brokaw Road
     5         kx #	PO Box 49048    95161
     5         kx #	San Jose CA 95112
     5         kx #	Vox: (408)-954-8333
     5         kx #	Fax: (408)-954-0623
     5         kx #
     5         kx #
     5         kx # These require incredible amounts of padding.
     5         kx #
     5         kx # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
     5         kx # Televideo terminals are ANSI and PC-ANSI compatible.
     5         kx 
     5         kx tvi803|televideo 803:\
     5         kx 	:cl=10\E*:tc=tvi950:
     5         kx 
     5         kx # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
     5         kx # Switch settings are:
     5         kx #
     5         kx # S1  1 2 3 4
     5         kx #     D D D D  9600
     5         kx #     D D D U    50
     5         kx #     D D U D    75
     5         kx #     D D U U   110
     5         kx #     D U D D   135
     5         kx #     D U D U   150
     5         kx #     D U U D   300
     5         kx #     D U U U   600
     5         kx #     U D D D  1200
     5         kx #     U D D U  1800
     5         kx #     U D U D  2400
     5         kx #     U D U U  3600
     5         kx #     U U D D  4800
     5         kx #     U U D U  7200
     5         kx #     U U U D  9600
     5         kx #     U U U U 19200
     5         kx #
     5         kx # S1  5 6 7 8
     5         kx #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
     5         kx #     U D X U  7N2
     5         kx #     U U D D  7O1
     5         kx #     U U D U  7O2
     5         kx #     U U U D  7E1
     5         kx #     U U U U  7E2
     5         kx #     D D X D  8N1
     5         kx #     D D X U  8N2
     5         kx #     D U D D  8O1
     5         kx #     D U U U  8E2
     5         kx #
     5         kx # S1  9  Autowrap
     5         kx #     U  on
     5         kx #     D  off
     5         kx #
     5         kx # S1 10  CR/LF
     5         kx #     U  do CR/LF when CR received
     5         kx #     D  do CR when CR received
     5         kx #
     5         kx # S2  1  Mode
     5         kx #     U  block
     5         kx #     D  conversational
     5         kx #
     5         kx # S2  2  Duplex
     5         kx #     U  half
     5         kx #     D  full
     5         kx #
     5         kx # S2  3  Hertz
     5         kx #     U  50
     5         kx #     D  60
     5         kx #
     5         kx # S2  4  Edit mode
     5         kx #     U  local
     5         kx #     D  duplex
     5         kx #
     5         kx # S2  5  Cursor type
     5         kx #     U  underline
     5         kx #     D  block
     5         kx #
     5         kx # S2  6  Cursor down key
     5         kx #     U  send ^J
     5         kx #     D  send ^V
     5         kx #
     5         kx # S2  7  Screen colour
     5         kx #     U  green on black
     5         kx #     D  black on green
     5         kx #
     5         kx # S2  8  DSR status (pin 6)
     5         kx #     U  disconnected
     5         kx #     D  connected
     5         kx #
     5         kx # S2  9  DCD status (pin 8)
     5         kx #     U  disconnected
     5         kx #     D  duplex
     5         kx #
     5         kx # S2 10  DTR status (pin 20)
     5         kx #     U  disconnected
     5         kx #     D  duplex
     5         kx # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
     5         kx # :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
     5         kx tvi910|televideo model 910:\
     5         kx 	:am:bs:ms:\
     5         kx 	:co#80:it#8:li#24:sg#1:\
     5         kx 	:bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:cv=\E[%+ :do=\n:ho=\E=^A^A:\
     5         kx 	:if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
     5         kx 	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
     5         kx 	:k9=^AH\r:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
     5         kx 	:sf=\n:ta=^I:up=^K:tc=adm+sgr:
     5         kx # From: Alan R. Rogers <rogers%albany@csnet-relay>
     5         kx # as subsequently hacked over by someone at SCO
     5         kx # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
     5         kx #
     5         kx # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
     5         kx #
     5         kx # S1  1 2 3 4:
     5         kx #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
     5         kx #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
     5         kx #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
     5         kx #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
     5         kx #
     5         kx # S1  5 6 7 8:
     5         kx #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
     5         kx #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
     5         kx #     D U D D  8O1     D U U U  8E2
     5         kx #
     5         kx # S1  9  Autowrap            (U = on, D = off)
     5         kx # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
     5         kx # S2  1  Mode                (U = block, D = conversational)
     5         kx # S2  2  Duplex              (U =  half, D = full)
     5         kx # S2  3  Hertz               (U = 50, D = 60)
     5         kx # S2  4  Edit mode           (U = local, D = duplex)
     5         kx # S2  5  Cursor type         (U = underline, D = block)
     5         kx # S2  6  Cursor down key     (U = send ^J, D = send ^V)
     5         kx # S2  7  Screen colour       (U = green on black, D = black on green)
     5         kx # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
     5         kx # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
     5         kx # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
     5         kx #
     5         kx tvi910+|televideo 910+:\
     5         kx 	:al=33*\EE:dc=\EW:dl=33*\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:\
     5         kx 	:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
     5         kx 	:k7=^AG\r:k8=^AH\r:k9=^AI\r:ll=\E=7\s:tc=tvi910:
     5         kx 
     5         kx # (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
     5         kx # :kh: from BRL entry -- esr)
     5         kx tvi912|tvi914|tvi920|old televideo 912/914/920:\
     5         kx 	:am:bs:ms:pt:\
     5         kx 	:co#80:it#8:li#24:sg#1:ug#1:\
     5         kx 	:al=33*\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E3:dc=\EW:dl=33*\ER:do=\n:ei=:ho=^^:ic=\EQ:\
     5         kx 	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
     5         kx 	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
     5         kx 	:k8=^AG\r:k9=^AH\r:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:nd=^L:se=\Ek:sf=\n:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
     5         kx 	:vb=\Eb\Ed:
     5         kx # We got some new tvi912c terminals that act really weird on the regular
     5         kx # termcap, so one of our gurus worked this up. Seems that cursor
     5         kx # addressing is broken.
     5         kx tvi912cc|tvi912 at cowell college:\
     5         kx 	:cm@:tc=tvi912c:
     5         kx 
     5         kx # tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
     5         kx # From: Benjamin C. W. Sittler
     5         kx #
     5         kx # Someone has put a scanned copy of the manual online at:
     5         kx #     http://vt100.net/televideo/912b-om/
     5         kx #     (https://vt100.net/manx/details/6,5484)
     5         kx #
     5         kx # These terminals were produced ca. 1979, and had a 12" monochrome
     5         kx # screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
     5         kx # ASCII, and were generally similar to adm3a but with attributes
     5         kx # (including some with magic cookies), fancy half-duplex mode, and
     5         kx # different bugs.
     5         kx #
     5         kx # Some operations require truly incredible amounts of padding. The
     5         kx # insert_line (:al:) and delete_line (:dl:) operations in particular
     5         kx # are so slow as to be nearly unusable.
     5         kx #
     5         kx # There may or may not have been a separate, earlier series of 912/920
     5         kx # terminals (without the "B" and "C" suffix); I have never seen one,
     5         kx # and the manual only describes the "B" and "C" series. The 912 and 920
     5         kx # are quite distinct from the 914 and 924, which were much nicer non-
     5         kx # magic-cookie terminals similar to the 950.
     5         kx #
     5         kx # This is a new description for the following TeleVideo terminals,
     5         kx # distinguished chiefly by their keyboards:
     5         kx #
     5         kx #   TVI-912B - very odd layout, no function keys (84 keys)
     5         kx #   TVI-920B - typewriter layout, no function keys (103 keys)
     5         kx #   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
     5         kx #   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
     5         kx #
     5         kx # To choose a setting for the TERM variable, start with the model:
     5         kx #
     5         kx #    Model  || base name
     5         kx # ----------||-----------
     5         kx #  TVI-912B || tvi912b
     5         kx #  TVI-912C || tvi912c
     5         kx #  TVI-920B || tvi920b
     5         kx #  TVI-920C || tvi920c
     5         kx #
     5         kx # Then add a suffix from the following table describing installed options
     5         kx # and how you'd like to use the terminal:
     5         kx #
     5         kx #   Use Video | Second | Visual |  Magic  |  Page || feature
     5         kx #  Attributes |  Page  |  Bell  | Cookies | Print || suffix
     5         kx # ------------|--------|--------|---------|-------||---------
     5         kx #      No     |   No   |  N/A   |   N/A   |   No  || -unk
     5         kx #      No     |   No   |  N/A   |   N/A   |  Yes  || -p
     5         kx #      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
     5         kx #      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
     5         kx #      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
     5         kx #      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
     5         kx #     Yes     |   No   |  N/A   |    No   |  N/A  ||
     5         kx #     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
     5         kx #     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
     5         kx #     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
     5         kx #     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
     5         kx #     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
     5         kx #
     5         kx # So e.g. a model 920 C with second page memory option, visual bell
     5         kx # and no magic cookies would be tvi920c-vb; a model 912 B without the
     5         kx # second page memory option and using magic cookies would be
     5         kx # tvi912b-mc
     5         kx #
     5         kx # PADDING
     5         kx #
     5         kx # At 9600 baud, the terminal is prone to overflow its input buffer
     5         kx # during complex operations (insert/delete
     5         kx # character/line/screen/page), and it does not signal this over the
     5         kx # RS232 cable. The typical symptom of an overrun is that the terminal
     5         kx # starts beeping, and output becomes garbled.
     5         kx #
     5         kx # The padding delays in this terminfo were derived using tack(1)
     5         kx # running on a Linux box connected to a TVI-920C with a later-model
     5         kx # (A49C1-style) ROM running at 9600 baud, so your mileage may
     5         kx # vary. The numbers below seem to give the terminal enough time so
     5         kx # that it doesn't overflow its input buffer and start losing
     5         kx # characters.
     5         kx #
     5         kx # KEYS
     5         kx #
     5         kx # If you want to use the FUNCT key on a tvi912[bc], use the
     5         kx # corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
     5         kx # the following table (these also work on the 920 series):
     5         kx #
     5         kx # Unshifted Function Keys:
     5         kx #
     5         kx #  Key | capname|| Equivalent
     5         kx # -----|--------||------------
     5         kx #   F1 |  :k1: || FUNCT + @
     5         kx #   F2 |  :k2: || FUNCT + A
     5         kx #   F3 |  :k3: || FUNCT + B
     5         kx #   F4 |  :k4: || FUNCT + C
     5         kx #   F5 |  :k5: || FUNCT + D
     5         kx #   F6 |  :k6: || FUNCT + E
     5         kx #   F7 |  :k7: || FUNCT + F
     5         kx #   F8 |  :k8: || FUNCT + G
     5         kx #   F9 |  :k9: || FUNCT + H
     5         kx #  F10 | <kf10> || FUNCT + I
     5         kx #  F11 | <kf11> || FUNCT + J
     5         kx #
     5         kx # Shifted Function Keys:
     5         kx #
     5         kx #  SHIFT + Key | capname|| Equivalent
     5         kx # -------------|--------||------------
     5         kx #   SHIFT + F1 | <kf12> || FUNCT + `
     5         kx #   SHIFT + F2 | <kf13> || FUNCT + a
     5         kx #   SHIFT + F3 | <kf14> || FUNCT + b
     5         kx #   SHIFT + F4 | <kf15> || FUNCT + c
     5         kx #   SHIFT + F5 | <kf16> || FUNCT + d
     5         kx #   SHIFT + F6 | <kf17> || FUNCT + e
     5         kx #   SHIFT + F7 | <kf18> || FUNCT + f
     5         kx #   SHIFT + F8 | <kf19> || FUNCT + g
     5         kx #   SHIFT + F9 | <kf20> || FUNCT + h
     5         kx #  SHIFT + F10 | <kf21> || FUNCT + i
     5         kx #  SHIFT + F11 | <kf22> || FUNCT + j
     5         kx #
     5         kx # PORTS AND SWITCH SETTINGS
     5         kx #
     5         kx # Here are the switch settings for the TVI-912B/TVI-920B and
     5         kx # TVI-912C/TVI-920C:
     5         kx #
     5         kx # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
     5         kx # 2: 9600	3: 4800		4: 2400		5: 1200
     5         kx # 6:  600	7:  300		8:  150		9:   75
     5         kx # 10: 110
     5         kx #
     5         kx # S2 UART/Terminal options:
     5         kx #		Up			Down
     5         kx # 1:		Not used		Not allowed
     5         kx # 2:	Alternate character set	  Standard character set
     5         kx # 3:	    Full duplex		    Half duplex
     5         kx # 4:	    50 Hz refresh	    60 Hz refresh
     5         kx # 5:	      No parity		     Send parity
     5         kx # 6:	     2 stop bits	     1 stop bit
     5         kx # 7:	     8 data bits	     7 data bits
     5         kx # 8:		Not used		Not allowed on Rev E or lower
     5         kx # 9:	     Even parity	     Odd parity
     5         kx # 10:	    Steady cursor	    Blinking cursor
     5         kx #	(On Rev E or lower, use W25 instead of switch 10.)
     5         kx #
     5         kx # S5 UART/Terminal options:
     5         kx #		Open			Closed
     5         kx # 1:	P3-6 Not connected	DSR received on P3-6
     5         kx # 2:	P3-8 Not connected	DCD received on P3-8
     5         kx #
     5         kx # 3 Open, 4 Open:		P3-20 Not connected
     5         kx # 3 Open, 4 Closed:	DTR on when terminal is on
     5         kx # 3 Closed, 4 Open:	DTR is connected to RTS
     5         kx # 3 Closed, 4 Closed:	Not allowed
     5         kx #
     5         kx # 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
     5         kx #		all data transmitted out of the modem port (P3) will also be
     5         kx #		transmitted out of the printer port (P4).
     5         kx #
     5         kx # 6 Open, 7 Open:		Not allowed
     5         kx # 6 Open, 7 Closed:	20ma current loop input
     5         kx # 6 Closed, 7 Open:	RS232 input
     5         kx # 6 Closed, 7 Closed:	Not allowed
     5         kx #
     5         kx # Jumper options:
     5         kx # If the jumper is installed, the effect will occur (the next time the terminal
     5         kx # is switched on).
     5         kx #
     5         kx # S4/W31:	Enables automatic LF upon receipt of CR from
     5         kx #		remote or keyboard.
     5         kx # S4/W32:	Enables transmission of EOT at the end of Send.  If not
     5         kx #		installed, a carriage return is sent.
     5         kx # S4/W33:	Disables automatic carriage return in column 80.
     5         kx # S4/W34:	Selects Page Print Mode as initial condition.  If not
     5         kx #		installed, Extension Mode is selected.
     5         kx #
     5         kx # NON-STANDARD CAPABILITIES
     5         kx #
     5         kx # Sending <u9> or <u7> returns a cursor position report in the format
     5         kx # YX\r, where Y and X are as in :cm:. This format is described in
     5         kx # <u8> and <u6>, but it's not clear how one should write an
     5         kx # appropriate scanf string, since we need to subtract %' ' from the
     5         kx # character after reading it. The <u9> capability is used by tack(1)
     5         kx # to synchronize during padding tests, and seems to work for that
     5         kx # purpose.
     5         kx #
     5         kx # This description also includes the obsolete termcap capabilities
     5         kx # has_hardware_tabs (:pt:) and backspaces_with_bs (:bs:).
     5         kx #
     5         kx # FEATURES NOT YET DESCRIBED IN THIS TERMINFO
     5         kx #
     5         kx # The FUNCT modifier actually works with every normal key by sending
     5         kx # ^AX\r, where X is the sequence normally sent by that key. This is a
     5         kx # sort of meta key not currently describable in terminfo.
     5         kx #
     5         kx # There are quite a few other keys (especially on the 920 models,) but
     5         kx # they are for the most part only useful in block mode.
     5         kx #
     5         kx # These terminals have lots of forms manipulation features, mainly
     5         kx # useful in block mode, including "clear X to nulls" (vs. "clear X to
     5         kx # spaces"; nulls are sentinels for "send X" operations); "send X"
     5         kx # operations for uploading all or part of the screen; and block-mode
     5         kx # editing keys (they don't send escape sequences, but manipulate video
     5         kx # memory directly). Block mode is used for local editing, and protect
     5         kx # mode (in conjunction with the "write protect" attribute,
     5         kx # a.k.a. half-intensity outside of protect mode) is used to control
     5         kx # which parts of the screen are edited/sent/printed (by <mc0>).
     5         kx #
     5         kx # There are at least two major families of ROM, "early" and
     5         kx # A49B1/A49C1; the major difference seems to be that the latter ROMs
     5         kx # support a few extra escape sequences for manipulating the off-screen
     5         kx # memory page, and for sending whole pages back to the host (mainly
     5         kx # useful in block mode.) The descriptions in this file don't use any
     5         kx # of those sequences: set cursor position including page (\E-PYX,
     5         kx # where P is \s for page 0 and ! for page 1 [actually only the LSB of
     5         kx # P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
     5         kx # as in :cm:); read cursor position (\E/), which is analogous to <u9>
     5         kx # and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
     5         kx # are as in :cm:, and some "send page" features mainly useful for
     5         kx # forms manipulation.
     5         kx #
     5         kx # The keyboard enable (\E") and disable (\E#) sequences are unused,
     5         kx # except that a terminal reset (:is:) enables the keyboard.
     5         kx #
     5         kx # Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
     5         kx # enabled in :is:, but auto-flip is very jarring so we don't use it.
     5         kx #
     5         kx # BUGS
     5         kx #
     5         kx # At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
     5         kx # sequences (I infer that in some TeleVideo terminal they may invert
     5         kx # and uninvert the display) so the :vb: sequence given here is a
     5         kx # cheesy page-flip instead.
     5         kx #
     5         kx # The back_tab (:bt:) sequence (\EI) doesn't work according to
     5         kx # tack(1), so it is not included in the descriptions below.
     5         kx #
     5         kx # It's not clear whether auto_left_margin (:bw:) flag should be set
     5         kx # for these terminals; tack says yes, so it is set here, but this
     5         kx # differs from other descriptions I've seen.
     5         kx #
     5         kx # Extension print mode (<mc5>) echoes all characters to the printer
     5         kx # port [in addition to displaying them] except for the page print mode
     5         kx # sequence (<mc4>); this is a slight violation of the terminfo
     5         kx # definition for <mc5> but I don't expect it to cause problems.  We
     5         kx # reset to page print mode in <rs1> since it may have been enabled
     5         kx # accidentally.
     5         kx #
     5         kx # The descriptions with plus signs (+) are building blocks.
     5         kx 
     5         kx tvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes):\
     5         kx 	:am:bs:bw:pt:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:@8=\r:al=100\EE:bl=^G:cd=10\Ey:ce=15\ET:cl=50^Z:\
     5         kx 	:cm=\E=%+ %+ :cr=\r:ct=\E3:dc=30\EW:dl=100\ER:do=\n:ei=:\
     5         kx 	:ho=^^:ic=30\EQ:if=/usr/share/tabset/stdcrt:im=:\
     5         kx 	:is=\Ew\EA\E'\E"\E(:kD=\177:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:\
     5         kx 	:le=^H:nd=^L:pf=\EA:po=\E@:r1=\Ek\010\Em\010\Eq\032:\
     5         kx 	:sf=10\n:st=\E1:ta=^I:u6=%.%.\r:u7=\E?:u8=%.%.\r:u9=\E?:\
     5         kx 	:up=^K:
     5         kx 
     5         kx # This isn't included in the basic capabilities because it is
     5         kx # typically unusable in combination with the full range of video
     5         kx # attributes, since the magic cookie attributes turn into ASCII
     5         kx # control characters, and the half-intensity ("protected") attribute
     5         kx # converts all affected characters to spaces.
     5         kx 
     5         kx tvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support:\
     5         kx 	:ps=\EP:
     5         kx 
     5         kx # This uses half-intensity mode (:mh:) for standout (:so:), and
     5         kx # exposes no other attributes (half-intensity is the only attribute
     5         kx # that does not generate a magic cookie.)
     5         kx 
     5         kx tvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support:\
     5         kx 	:ms:\
     5         kx 	:me=\E(:mh=\E):se=\E(:so=\E):
     5         kx 
     5         kx # Full magic-cookie attribute support, with half-intensity reverse
     5         kx # video for standout. Note that we add a space in the :mh: sequence
     5         kx # to give a consistent magic-cookie count. Also note that :sa: uses
     5         kx # backspacing (in the TVI-supported order) to apply all requested
     5         kx # attributes with only a single magic cookie.
     5         kx 
     5         kx tvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support:\
     5         kx 	:sg#1:ug#1:\
     5         kx 	:mb=\E\136:me=\E(\Ek\010\Em\010\Eq:mh=\E)\s:mk=\E_:\
     5         kx 	:mr=\Ej:se=\E(\Ek:so=\E)\Ej:ue=\Em:us=\El:
     5         kx 
     5         kx # This uses the second page memory option to save & restore screen
     5         kx # contents. If your terminal is missing the option, this description
     5         kx # should still work, but that has not been tested.
     5         kx 
     5         kx tvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support:\
     5         kx 	:te=\032\EK\E=7\s:\
     5         kx 	:ti=50\EK\032\E(\Ek\010\Em\010\Eq\032:vb=\EK\EK:
     5         kx 
     5         kx # This simulates flashing by briefly toggling to the other page
     5         kx # (kludge!)
     5         kx 
     5         kx tvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support:\
     5         kx 	:bl=\EK\EK:tc=tvi912b+2p:
     5         kx 
     5         kx # Function keys (<kf12> .. <kf22> are shifted :k1: .. <kf11>)
     5         kx 
     5         kx tvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support:\
     5         kx 	:F1=^AJ\r:F2=^A`\r:F3=^Aa\r:F4=^Ab\r:F5=^Ac\r:F6=^Ad\r:\
     5         kx 	:F7=^Ae\r:F8=^Af\r:F9=^Ag\r:FA=^Ah\r:FB=^Ai\r:FC=^Aj\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:
     5         kx 
     5         kx # Combinations of the basic building blocks
     5         kx 
     5         kx tvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes):\
     5         kx 	:tc=tvi912b+2p:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-vb-unk|tvi912c-vb-unk|tvi912b-unk-vb|tvi912c-unk-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes):\
     5         kx 	:tc=tvi912b+vb:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print):\
     5         kx 	:tc=tvi912b+printer:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-2p-p|tvi912c-2p-p|tvi912b-p-2p|tvi912c-p-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes; page print):\
     5         kx 	:tc=tvi912b+2p:tc=tvi912b+printer:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-vb-p|tvi912c-vb-p|tvi912b-p-vb|tvi912c-p-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; no attributes; page print):\
     5         kx 	:tc=tvi912b+vb:tc=tvi912b+printer:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute):\
     5         kx 	:tc=tvi912b+2p:tc=tvi912b+dim:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies):\
     5         kx 	:tc=tvi912b+2p:tc=tvi912b+mc:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute):\
     5         kx 	:tc=tvi912b+vb:tc=tvi912b+dim:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-vb-mc|tvi912c-vb-mc|tvi912b-mc-vb|tvi912c-mc-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; magic cookies):\
     5         kx 	:tc=tvi912b+vb:tc=tvi912b+mc:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute):\
     5         kx 	:tc=tvi912b+dim:tc=tvi912b-unk:
     5         kx 
     5         kx tvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies):\
     5         kx 	:tc=tvi912b+mc:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-vb-unk|tvi920c-vb-unk|tvi920b-unk-vb|tvi920c-unk-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+printer:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-2p-p|tvi920c-2p-p|tvi920b-p-2p|tvi920c-p-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes; page print):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+printer:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-vb-p|tvi920c-vb-p|tvi920b-p-vb|tvi920c-p-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; no attributes; page print):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+printer:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+dim:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+mc:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+dim:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-vb-mc|tvi920c-vb-mc|tvi920b-mc-vb|tvi920c-mc-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; magic cookies):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+mc:\
     5         kx 	:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+dim:tc=tvi912b-unk:
     5         kx 
     5         kx tvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies):\
     5         kx 	:tc=tvi920b+fn:tc=tvi912b+mc:tc=tvi912b-unk:
     5         kx 
     5         kx # Televideo 921 and variants
     5         kx # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
     5         kx # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
     5         kx # also added empty <acsc> to suppress tic warning -- esr)
     5         kx tvi921|televideo model 921 with sysline same as page & real vi function:\
     5         kx 	:am:bs:hs:pt:xn:xs:\
     5         kx 	:co#80:li#24:sg#0:\
     5         kx 	:ac=:ae=\E%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
     5         kx 	:cm=3\E=%+ %+ :cr=\r:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
     5         kx 	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
     5         kx 	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
     5         kx 	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:mk@:nd=^L:nw=\r\n:sf=\n:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
     5         kx 	:vs=\E.2:tc=adm+sgr:
     5         kx # without the beeper
     5         kx # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
     5         kx # also added empty <acsc> to suppress tic warning -- esr)
     5         kx tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
     5         kx 	:am:hs:xn:xs:\
     5         kx 	:co#80:li#24:sg#0:\
     5         kx 	:ac=:ae=\E%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
     5         kx 	:cm=3\E=%+ %+ :cr=\r:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
     5         kx 	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
     5         kx 	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
     5         kx 	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:mk@:nd=^L:nw=\r\n:sf=\n:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
     5         kx 	:ve=\E.3:vs=\E.2:tc=adm+sgr:
     5         kx # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
     5         kx tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
     5         kx 	:al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
     5         kx 	:kL=2*\ER:tc=tvi92B:
     5         kx 
     5         kx # (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
     5         kx # in from a BSD termcap file because it looks like they do something the
     5         kx # old ones skip -- esr)
     5         kx tvi924|televideo tvi924:\
     5         kx 	:am:bw:hs:in:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:sg#0:ws#80:\
     5         kx 	:F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
     5         kx 	:bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
     5         kx 	:ei=:fs=\031\Es1:ho=^^:\
     5         kx 	:i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
     5         kx 	:if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
     5         kx 	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
     5         kx 	:k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
     5         kx 	:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
     5         kx 	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
     5         kx 	:la=F11:le=^H:mb=\EG2:mk@:nd=^L:pk=\E|%+1%s\031:sf=\n:\
     5         kx 	:sr=\Ej:st=\E1:ta=^I:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:\
     5         kx 	:vs=\E.1:tc=adm+sgr:
     5         kx 
     5         kx # TVI925 DIP switches.  In each of these, D = Down and U = Up,
     5         kx #
     5         kx # Here are the settings for the external (baud) switches (S1):
     5         kx #
     5         kx #             Position		Baud
     5         kx # 7	8	9	10		[Printer]
     5         kx # 1	2	3	4		[Main RS232]
     5         kx # -----------------------------------------------------
     5         kx # D	D	D	D	9600
     5         kx # D	D	D	U	  50
     5         kx # D	D	U	D	  75
     5         kx # D	D	U	U	 110
     5         kx # D	U	D	D	 135
     5         kx # D	U	D	U	 150
     5         kx # D	U	U	D	 300
     5         kx # D	U	U	U	 600
     5         kx # U	D	D	D	1200
     5         kx # U	D	D	U	1800
     5         kx # U	D	U	D	2400
     5         kx # U	D	U	U	3600
     5         kx # U	U	D	D	4800
     5         kx # U	U	D	U	7200
     5         kx # U	U	U	D	9600
     5         kx # U	U	U	U	19200
     5         kx #
     5         kx #
     5         kx # Settings for word length and stop-bits (S1)
     5         kx #
     5         kx #  Position	Description
     5         kx # 5	6
     5         kx # ---------------------------
     5         kx # U	-	7-bit word
     5         kx # D	-	8-bit word
     5         kx # -	U	2 stop bits
     5         kx # -	D	1 stop bit
     5         kx #
     5         kx #
     5         kx # S2 (external) settings
     5         kx #
     5         kx # Position	Up	Dn	Description
     5         kx # --------------------------------------------
     5         kx # 1		X		Local edit
     5         kx #			X	Duplex edit (transmit editing keys)
     5         kx # --------------------------------------------
     5         kx # 2		X		912/920 emulation
     5         kx #			X	925
     5         kx # --------------------------------------------
     5         kx # 3			X
     5         kx # 4			X	No parity
     5         kx # 5			X
     5         kx # --------------------------------------------
     5         kx # 3			X
     5         kx # 4			X	Odd parity
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 3			X
     5         kx # 4		X		Even parity
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 3		X
     5         kx # 4			X	Mark parity
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 3		X
     5         kx # 4		X		Space parity
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 6		X		White on black display
     5         kx #			X	Black on white display
     5         kx # --------------------------------------------
     5         kx # 7			X	Half Duplex
     5         kx # 8			X
     5         kx # --------------------------------------------
     5         kx # 7		X		Full Duplex
     5         kx # 8			X
     5         kx # --------------------------------------------
     5         kx # 7			X	Block mode
     5         kx # 8		X
     5         kx # --------------------------------------------
     5         kx # 9			X	50 Hz
     5         kx #		X		60 Hz
     5         kx # --------------------------------------------
     5         kx # 10		X		CR/LF (Auto LF)
     5         kx #			X	CR only
     5         kx #
     5         kx # S3 (internal switch) settings:
     5         kx #
     5         kx # Position	Up	Dn	Description
     5         kx # --------------------------------------------
     5         kx # 1		X		Keyclick off
     5         kx #			X	Keyclick on
     5         kx # --------------------------------------------
     5         kx # 2			X	English
     5         kx # 3			X
     5         kx # --------------------------------------------
     5         kx # 2			X	German
     5         kx # 3		X
     5         kx # --------------------------------------------
     5         kx # 2		X		French
     5         kx # 3			X
     5         kx # --------------------------------------------
     5         kx # 2		X		Spanish
     5         kx # 3		X
     5         kx # --------------------------------------------
     5         kx # 4			X	Blinking block cursor
     5         kx # 5			X
     5         kx # --------------------------------------------
     5         kx # 4			X	Blinking underline cursor
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 4		X		Steady block cursor
     5         kx # 5			X
     5         kx # --------------------------------------------
     5         kx # 4		X		Steady underline cursor
     5         kx # 5		X
     5         kx # --------------------------------------------
     5         kx # 6		X		Screen blanking timer (ON)
     5         kx #			X	Screen blanking timer (OFF)
     5         kx # --------------------------------------------
     5         kx # 7		X		Page attributes
     5         kx #			X	Line attributes
     5         kx # --------------------------------------------
     5         kx # 8		X		DCD disconnected
     5         kx #			X	DCD connected
     5         kx # --------------------------------------------
     5         kx # 9		X		DSR disconnected
     5         kx #			X	DSR connected
     5         kx # --------------------------------------------
     5         kx # 10		X		DTR Disconnected
     5         kx #			X	DTR connected
     5         kx # --------------------------------------------
     5         kx #
     5         kx # (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
     5         kx tvi925|televideo 925:\
     5         kx 	:am:bs:bw:hs:ul:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=\r\Eg:ho=^^:ic=\EQ:\
     5         kx 	:im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
     5         kx 	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
     5         kx 	:kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
     5         kx 	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=\n:sr=\Ej:st=\E1:\
     5         kx 	:ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
     5         kx 	:tc=adm+sgr:
     5         kx # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
     5         kx # to avoid "magic cookie" standout glitch:
     5         kx tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
     5         kx 	:sg@:\
     5         kx 	:kb=^H:kd=\n:kl=^H:se=\E(:so=\E):tc=tvi925:
     5         kx 
     5         kx # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
     5         kx # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
     5         kx # for additional capabilities,
     5         kx # The following tvi descriptions from B:pjphar and virus!mike
     5         kx # is for all 950s.  It sets the following attributes:
     5         kx # full duplex (\EDF)		write protect off (\E()
     5         kx # conversation mode (\EC)	graphics mode off (\E%)
     5         kx # white on black (\Ed)		auto page flip off (\Ew)
     5         kx # turn off status line (\Eg)	clear status line (\Ef\r)
     5         kx # normal video (\E0)		monitor mode off (\EX or \Eu)
     5         kx # edit mode (\Er)		load blank char to space (\Ee\040)
     5         kx # line edit mode (\EO)		enable buffer control (^O)
     5         kx # protect mode off (\E\047)	duplex edit keys (\El)
     5         kx # program unshifted send key to send line all (\E016)
     5         kx # program shifted send key to send line unprotected (\E004)
     5         kx # set the following to nulls:
     5         kx #	field delimiter (\Ex0\200\200)
     5         kx #	line delimiter (\Ex1\200\200)
     5         kx #	start-protected field delimiter (\Ex2\200\200)
     5         kx #	end-protected field delimiter (\Ex3\200\200)
     5         kx # set end of text delimiter to carriage return/null (\Ex4\r\200)
     5         kx #
     5         kx #                     TVI 950 Switch Setting Reference Charts
     5         kx #
     5         kx #                                     TABLE 1:
     5         kx #
     5         kx #      S1     1     2     3     4     5     6     7     8     9    10
     5         kx #          +-----------------------+-----+-----+-----------------------+
     5         kx #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
     5         kx #          |                       |Bits |Bits |                       |
     5         kx #   +------+-----------------------+-----+-----+-----------------------+
     5         kx #   |  Up  |        See            |  7  |  2  |        See            |
     5         kx #   +------+-----------------------+-----+-----+-----------------------+
     5         kx #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
     5         kx #   +------+-----------------------+-----+-----+-----------------------+
     5         kx #
     5         kx #
     5         kx #      S2     1     2     3     4     5     6     7     8     9    10
     5         kx #          +-----+-----+-----------------+-----+-----------+-----+-----+
     5         kx #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
     5         kx #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
     5         kx #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
     5         kx #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
     5         kx #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
     5         kx #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
     5         kx #
     5         kx #                                    TABLE 2:
     5         kx #
     5         kx #             +-----------+-----+-----+-----+-----+-----------+
     5         kx #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
     5         kx #             +-----------+-----+-----+-----+-----+           |
     5         kx #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
     5         kx #             +-----------+-----+-----+-----+-----+-----------+
     5         kx #                         |  D  |  D  |  D  |  D  |   9600    |
     5         kx #                         |  U  |  D  |  D  |  D  |     50    |
     5         kx #                         |  D  |  U  |  D  |  D  |     75    |
     5         kx #                         |  U  |  U  |  D  |  D  |    110    |
     5         kx #                         |  D  |  D  |  U  |  D  |    135    |
     5         kx #                         |  U  |  D  |  U  |  D  |    150    |
     5         kx #                         |  D  |  U  |  U  |  D  |    300    |
     5         kx #                         |  U  |  U  |  U  |  D  |    600    |
     5         kx #                         |  D  |  D  |  D  |  U  |   1200    |
     5         kx #                         |  U  |  D  |  D  |  U  |   1800    |
     5         kx #                         |  D  |  U  |  D  |  U  |   2400    |
     5         kx #                         |  U  |  U  |  D  |  U  |   3600    |
     5         kx #                         |  D  |  D  |  U  |  U  |   4800    |
     5         kx #                         |  U  |  D  |  U  |  U  |   7200    |
     5         kx #                         |  D  |  U  |  U  |  U  |   9600    |
     5         kx #                         |  U  |  U  |  U  |  U  |  19200    |
     5         kx #                         +-----+-----+-----+-----+-----------+
     5         kx #
     5         kx #                                    TABLE 3:
     5         kx #                         +-----+-----+-----+-----------+
     5         kx #                         |  3  |  4  |  5  |   Parity  |
     5         kx #                         +-----+-----+-----+-----------+
     5         kx #                         |  X  |  X  |  D  |    None   |
     5         kx #                         |  D  |  D  |  U  |     Odd   |
     5         kx #                         |  D  |  U  |  U  |    Even   |
     5         kx #                         |  U  |  D  |  U  |    Mark   |
     5         kx #                         |  U  |  U  |  U  |   Space   |
     5         kx #                         +-----+-----+-----+-----------+
     5         kx #                                 X = don't care
     5         kx #
     5         kx #                                     CHART:
     5         kx #                         +-----+-----+-----------------+
     5         kx #                         |  7  |  8  | Communication   |
     5         kx #                         +-----+-----+-----------------+
     5         kx #                         |  D  |  D  |  Half Duplex    |
     5         kx #                         |  D  |  U  |  Full Duplex    |
     5         kx #                         |  U  |  D  |     Block       |
     5         kx #                         |  U  |  U  |     Local       |
     5         kx #                         +-----+-----+-----------------+
     5         kx #
     5         kx # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
     5         kx # I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
     5         kx # should be present and all tvi native modes use the same string for this.
     5         kx # Finally, note that BSD has cud1=^V. -- esr)
     5         kx #
     5         kx # TVI 950 has 11 function-keys -TD
     5         kx tvi950|televideo 950:\
     5         kx 	:am:bs:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:sg#1:\
     5         kx 	:F1=^AJ\r:ac=jHkGlFmEnIqKtMuLvOwNxJ:ae=\E%%:al=\EE:\
     5         kx 	:as=\E$:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:ct=\E3:dc=\EW:dl=\ER:do=\n:ds=\Eg\Ef\r:ei=\Er:fs=\r:\
     5         kx 	:ho=^^:ic=\EQ:im=\Eq:\
     5         kx 	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kC=\E*:\
     5         kx 	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=\n:sr=\Ej:\
     5         kx 	:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:tc=adm+sgr:
     5         kx #
     5         kx # is for 950 with two pages adds the following:
     5         kx #	set 48 line page (\E\\2)
     5         kx #	place cursor at page 0, line 24, column 1 (\E-07 )
     5         kx #	set local (no send) edit keys (\Ek)
     5         kx #
     5         kx # two page 950 adds the following:
     5         kx #	when entering ex, set 24 line page (\E\\1)
     5         kx #	when exiting ex, reset 48 line page (\E\\2)
     5         kx #			 place cursor at 0,24,1 (\E-07 )
     5         kx #	set duplex (send) edit keys (\El) when entering vi
     5         kx #	set local (no send) edit keys (\Ek) when exiting vi
     5         kx #
     5         kx tvi950-2p|televideo950 w/2 pages:\
     5         kx 	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011:\
     5         kx 	:ke=\Ek:ks=\El:te=\E\\2\E-07\s:ti=\E\\1\E-07\s:tc=tvi950:
     5         kx #
     5         kx # is for 950 with four pages adds the following:
     5         kx #	set 96 line page (\E\\3)
     5         kx #	place cursor at page 0, line 24, column 1 (\E-07 )
     5         kx #
     5         kx # four page 950 adds the following:
     5         kx #	when entering ex, set 24 line page (\E\\1)
     5         kx #	when exiting ex, reset 96 line page (\E\\3)
     5         kx #			 place cursor at 0,24,1 (\E-07 )
     5         kx #
     5         kx tvi950-4p|televideo950 w/4 pages:\
     5         kx 	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011:\
     5         kx 	:ke=\Ek:ks=\El:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:tc=tvi950:
     5         kx #
     5         kx # :is: for reverse video 950 changes the following:
     5         kx #	set reverse video (\Ed)
     5         kx #
     5         kx # set vb accordingly (\Ed ...delay... \Eb)
     5         kx #
     5         kx tvi950-rv|televideo950 rev video:\
     5         kx 	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0:\
     5         kx 	:vb=\Ed\Eb:tc=tvi950:
     5         kx 
     5         kx # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
     5         kx tvi950-rv-2p|televideo950 rev video w/2 pages:\
     5         kx 	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s:\
     5         kx 	:ke=\Ek:ks=\El:te=\E\\2\E-07\s:ti=\E\\1\E-07\s:vb=\Ed\Eb:\
     5         kx 	:tc=tvi950:
     5         kx 
     5         kx # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
     5         kx tvi950-rv-4p|televideo950 rev video w/4 pages:\
     5         kx 	:is=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s:\
     5         kx 	:ke=\Ek:ks=\El:te=\E\\3\E-07\s:ti=\E\\1\E-07\s:vb=\Ed\Eb:\
     5         kx 	:tc=tvi950:
     5         kx # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
     5         kx # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
     5         kx # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
     5         kx # the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
     5         kx # the :ko: string had :cl: in it, which means that one of the original
     5         kx # :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
     5         kx # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
     5         kx # ko implies -- esr)
     5         kx # If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
     5         kx # also work.
     5         kx tvi955|televideo 955:\
     5         kx 	:5i:bs:ms@:\
     5         kx 	:it#8:sg@:\
     5         kx 	:RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
     5         kx 	:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%:as=\E$:\
     5         kx 	:cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
     5         kx 	:kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
     5         kx 	:me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
     5         kx 	:r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r:\
     5         kx 	:sf@:ve=\E.2:vi=\E.0:vs=\E.1:tc=tvi950:
     5         kx tvi955-w|955-w|televideo955 w/132 cols:\
     5         kx 	:co#132:\
     5         kx 	:is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
     5         kx # use half-intensity as normal mode, full intensity as :md:
     5         kx tvi955-hb|955-hb|televideo955 half-bright:\
     5         kx 	:is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
     5         kx 	:me=\EG0\E[=5h:mh@:tc=tvi955:
     5         kx # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
     5         kx # (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
     5         kx # added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
     5         kx # According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
     5         kx # it does to the function keys.  I deduced <rmam>/<smam>.
     5         kx # also added empty <acsc> to suppress tic warning,  -- esr)
     5         kx tvi970|televideo 970:\
     5         kx 	:am:bs:da:db:mi:ms:pt:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
     5         kx 	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
     5         kx 	:ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
     5         kx 	:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
     5         kx 	:k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
     5         kx 	:ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
     5         kx 	:vb=\E[5m\E[m:vs=\E[1Q:
     5         kx tvi970-vb|televideo 970 with visual bell:\
     5         kx 	:vb=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l:tc=tvi970:
     5         kx tvi970-2p|televideo 970 with using 2 pages of memory:\
     5         kx 	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:tc=tvi970:
     5         kx # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
     5         kx # per line (rather than 40), Esc K chooses the normal character set.  Not sure
     5         kx # padding is needed, but adapted from the tvi920c termcap.  The :so: and
     5         kx # :us: strings are klutzy, but at least use no screen space.
     5         kx # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
     5         kx # its absence means <smam>=\Ev isn't safe to use. -- esr)
     5         kx # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
     5         kx # The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
     5         kx # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
     5         kx tvipt|televideo personal terminal:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=5*\ER:\
     5         kx 	:ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
     5         kx 	:k1=^B:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
     5         kx 	:po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
     5         kx # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx tvi9065|televideo 9065:\
     5         kx 	:am:bw:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\EE:bl=^G:bt=\EI:cd=\EY:\
     5         kx 	:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:cs=\E[%i%d;%dr:ct=\E3:\
     5         kx 	:dc=\EW:dl=\ER:dm=\Er:do=^V:ds=\E_30\r:ec=\E[%d@:ed=\0:\
     5         kx 	:ei=\Er:fs=\r:ho=^^:\
     5         kx 	:i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
     5         kx 	:i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
     5         kx 	:ip=3:is=\EF2\EG0\E\\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
     5         kx 	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
     5         kx 	:kD=\EW:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:ll=\E[25;1H:mb=\EG2:md=\EG,:me=\EG0\E%:mh=\EGp:mr=\EG4:\
     5         kx 	:nd=^L:nw=\r\n:rp=\E[%r%db%.:se=\EG0:sf=\n:so=\EGt:sr=\Ej:\
     5         kx 	:st=\E1:ta=^I:te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:\
     5         kx 	:ts=\E[4;1v\E_30:uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:\
     5         kx 	:vb=\Eb\Ed:ve=\E.3:vi=\E.0:vs=\E.2:tc=ecma+index:
     5         kx 
     5         kx #### Visual (vi)
     5         kx #
     5         kx # In September 1993, Visual Technology of Westboro, Massachusetts,
     5         kx # merged with White Pine Software of Nashua, New Hampshire.
     5         kx #
     5         kx # White Pine Software may be contacted at +1 603/886-9050.
     5         kx # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
     5         kx #
     5         kx 
     5         kx # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
     5         kx # Recently I hacked together the following termcap for Visual
     5         kx # Technology's Visual 50 terminal. It's a slight modification of
     5         kx # the vt52 termcap.
     5         kx # It's intended to run when the Visual 50 is in vt52 emulation mode
     5         kx # (I know what you're thinking; if it's emulating a vt52, then why
     5         kx # another termcap? Well, it turns out that the Visual 50 can handle
     5         kx # :dl: and db(?) among other things, which the vt52 can't)
     5         kx # The termcap works OK for the most part. The only problem is on
     5         kx # character inserts. The whole line gets painfully redrawn for each
     5         kx # character typed. Any suggestions?
     5         kx # Beau's entry is combined with the vi50 entry from University of Wisconsin.
     5         kx # Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
     5         kx # disguise; :k7:-:k9: are really l1-l3.
     5         kx vi50|visual 50:\
     5         kx 	:am:bs:da:db:ms:pt:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
     5         kx 	:cm=\EY%+ %+ :cr=\r:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
     5         kx 	:k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
     5         kx 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=\n:\
     5         kx 	:nw=\r\n:se=\ET:sf=\n:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
     5         kx 	:us=\ES:
     5         kx # this one was BSD & SCO's vi50
     5         kx vi50adm|visual 50 in adm3a mode:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=\r:dl=\EM:\
     5         kx 	:do=\n:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
     5         kx 	:nd=^L:se=\ET:sf=\n:so=\EU:ta=^I:up=^K:
     5         kx # From: Jeff Siegal <jbs@quiotix.com>
     5         kx vi55|Visual 55:\
     5         kx 	:am:bs:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
     5         kx 	:dc=\Ew:dl=\EM:do=\n:ei=\Eb:ho=\EH:im=\Ea:\
     5         kx 	:is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
     5         kx 	:ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
     5         kx 
     5         kx # Visual 200 from BRL
     5         kx # The following switch settings are assumed for normal operation:
     5         kx #	FULL_DUPLEX		SCROLL			CR
     5         kx #	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
     5         kx # Other switches may be set for operator convenience or communication
     5         kx # requirements.
     5         kx # Character insertion is kludged in order to get around the "beep" misfeature.
     5         kx # (This cap is commented out because :im:/:ei: is more efficient -- esr)
     5         kx # Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
     5         kx # and :dl: strings, but we seem to get along fine without them.
     5         kx vi200|visual 200:\
     5         kx 	:am:bs:mi:ms:pt:\
     5         kx 	:co#80:it#8:kn#10:li#24:\
     5         kx 	:ac=+h.kffggjmkllsmenbq`tnuovcwdxa}r:ae=\EG:al=\EL:\
     5         kx 	:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :\
     5         kx 	:cr=\r:ct=\Eg:dc=\EO:dl=\EM:do=\n:ho=\EH:k0=\E?p:k1=\E?q:\
     5         kx 	:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:\
     5         kx 	:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:kL=\EM:kM=\Ej:\
     5         kx 	:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:kl=\ED:kr=\EC:\
     5         kx 	:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:mk=\Ea:nd=\EC:\
     5         kx 	:pf=\EX:po=\EW:ps=\EH\E]:r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:\
     5         kx 	:se=\E3:sf=\n:so=\E4:sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:\
     5         kx 	:vs=\Ed:
     5         kx # The older Visuals didn't come with function keys. This entry uses
     5         kx # :ks: and :ke: so that the keypad keys can be used as function keys.
     5         kx # If your version of vi doesn't support function keys you may want
     5         kx # to use vi200-f.
     5         kx vi200-f|visual 200 no function keys:\
     5         kx 	:is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
     5         kx 	:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
     5         kx 	:ke=\E>:ks=\E=:se@:so@:tc=vi200:
     5         kx vi200-rv|visual 200 reverse video:\
     5         kx 	:se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
     5         kx 
     5         kx # the function keys are programmable but we don't reprogram them to their
     5         kx # default values with :is: because programming them is very verbose. maybe
     5         kx # an initialization file should be made for the 300 and they could be stuck
     5         kx # in it.
     5         kx # (vi300: added <rmam>/<smam> based on init string -- esr)
     5         kx vi300|visual 300 ansi x3.64:\
     5         kx 	:am:bw:mi:xn:\
     5         kx 	:co#80:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:dc=40\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
     5         kx 	:k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
     5         kx 	:k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
     5         kx 	:k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[1m:sr=\EM:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx # some of the vi300s have older firmware that has the command
     5         kx # sequence for setting editing extent reversed.
     5         kx vi300-old|visual 300 with old firmware (set edit extent reversed):\
     5         kx 	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
     5         kx 	:tc=vi300:
     5         kx 
     5         kx # Visual 500 prototype entry from University of Wisconsin.
     5         kx # The best place to look for the escape sequences is page A1-1 of the
     5         kx # Visual 500 manual.  The initialization sequence given here may be
     5         kx # overkill, but it does leave out some of the initializations which can
     5         kx # be done with the menus in set-up mode.
     5         kx # The :xp: line below is so that emacs can understand the padding requirements
     5         kx # of this slow terminal.  :xp: is 10 time the padding factor.
     5         kx # (vi500: removed unknown :xp#4: termcap;
     5         kx # also added empty <acsc> to suppress tic warning -- esr)
     5         kx vi500|visual 500:\
     5         kx 	:am:mi:ms:\
     5         kx 	:co#80:it#8:li#33:\
     5         kx 	:ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
     5         kx 	:cl=6*\Ev:cm=\EY%+ %+ :cr=\r:cs=\E(%+ %+ :dc=3*\EO:\
     5         kx 	:dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
     5         kx 	:is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
     5         kx 	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
     5         kx 	:nw=\r\n:se=\E^G:sf=\n:so=\E^H:ta=8^I:ue=\E^C:up=\EA:\
     5         kx 	:us=\E^D:
     5         kx 
     5         kx # The visual 550 is a visual 300 with tektronix graphics,
     5         kx # and with 33 lines. clear screen is modified here to
     5         kx # also clear the graphics.
     5         kx vi550|visual 550 ansi x3.64:\
     5         kx 	:li#33:\
     5         kx 	:cl=\030\E[H\E[2J:tc=vi300:
     5         kx 
     5         kx vi603|visual603|visual 603:\
     5         kx 	:hs:mi:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\\:ei=\E[4l:\
     5         kx 	:fs=\E\\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
     5         kx 	:im=\E[4h:mb=\E[5m:md=\E[1m:me=2\E[m\017:mr=\E[7m:nd=\E[C:\
     5         kx 	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:tc=vt100+4bsd:
     5         kx 
     5         kx #### Wyse (wy)
     5         kx #
     5         kx #	Wyse Technology
     5         kx #	3471 North First Street
     5         kx #	San Jose, CA 95134
     5         kx #	Vox: (408)-473-1200
     5         kx #	Fax: (408) 473-1222
     5         kx #	Web: http://www.wyse.com
     5         kx #
     5         kx # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
     5         kx # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
     5         kx # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
     5         kx # https://web.archive.org/web/19970712022641/http://www.wyse.co.uk/support/appnotes/idxappnt.htm
     5         kx #
     5         kx #
     5         kx # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
     5         kx # They now own the Qume and Amdek brands, too.  So these are the people to
     5         kx # talk with about all Link, Qume, and Amdek terminals.
     5         kx #
     5         kx # These entries include a few small fixes.
     5         kx # I canceled the bel capacities in the vb entries.
     5         kx # I made two trivial syntax fixes in the wyse30 entry.
     5         kx # I made some entries relative to adm+sgr.
     5         kx #
     5         kx #
     5         kx # Note: The wyse75, wyse85, and wyse99 have been discontinued.
     5         kx 
     5         kx #	   Although the Wyse 30 can support more than one attribute
     5         kx #	it requires magic cookies to do so.  Many applications do not
     5         kx #	function well with magic cookies.  The following terminfo uses
     5         kx #	the protect mode to support one attribute (dim) without cookies.
     5         kx #	If more than one attribute is needed then the wy30-mc terminfo
     5         kx #	should be used.
     5         kx #
     5         kx wy30|wyse30|Wyse 30:\
     5         kx 	:5i:am:bw:hs:mi:ms:xo:\
     5         kx 	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
     5         kx 	:#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
     5         kx 	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=2\EE:\
     5         kx 	:as=\EH^B:bl=^G:bt=\EI:cd=80\EY:ce=\ET:cl=80\E+:\
     5         kx 	:cm=\E=%+ %+ :cr=\r:ct=\E0:dc=10\EW:dl=1\ER:do=\n:ds=\EF\r:\
     5         kx 	:ei=\Er:fs=\r:ho=^^:im=\Eq:ip=2:\
     5         kx 	:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:k2=^AA\r:\
     5         kx 	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
     5         kx 	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
     5         kx 	:kS=\EY:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
     5         kx 	:me=\E(:mh=\E`7\E):mp=\E`7\E):nd=^L:nw=\r\n:pf=^T:\
     5         kx 	:pn=\Ez%+/%s\r:po=^X:ps=\EP:px=\Ez%+?%s\177:se=\E(:sf=2\n:\
     5         kx 	:so=\E`7\E):sr=3\Ej:st=\E1:ta=1^I:ts=\EF:up=^K:vb=\E`8\E`9:\
     5         kx 	:ve=\E`1:vi=\E`0:
     5         kx #
     5         kx #	This terminal description uses the non-hidden attribute mode
     5         kx #	(with magic cookie).
     5         kx #
     5         kx # (wy30-mc: added :ti: to suppress tic warning --esr)
     5         kx wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
     5         kx 	:ms@:\
     5         kx 	:ma@:sg#1:\
     5         kx 	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
     5         kx 	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):se=\EG0:so=\EG4:\
     5         kx 	:te=\EG0:ti=:tc=wy30:tc=adm+sgr:
     5         kx #	The mandatory pause used by :vb: does not work with
     5         kx #	older versions of terminfo.  If you see this effect then
     5         kx #	unset xon and delete the / from the delay.
     5         kx #	i.e. change $<100/> to $<100>
     5         kx wy30-vb|wyse30-vb|wyse 30 visible bell:\
     5         kx 	:bl@:tc=wy30:
     5         kx #
     5         kx #	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
     5         kx #	Normal) without magic cookies by using the protect mode.
     5         kx #	The following description uses this feature, but when more
     5         kx #	than one attribute is put on the screen at once, all attributes
     5         kx #	will be changed to be the same as the last attribute given.
     5         kx #	   The Wyse 50 can support more attributes when used with magic
     5         kx #	cookies.  The wy50-mc terminal description uses magic cookies
     5         kx #	to correctly handle multiple attributes on a screen.
     5         kx #
     5         kx wy50|wyse50|Wyse 50:\
     5         kx 	:5i:am:bw:hs:mi:ms:xo:\
     5         kx 	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
     5         kx 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
     5         kx 	:ac=a;j5k3l2m1n8q\:t4u9v=w0x6:ae=\EH^C:al=\EE:as=\EH^B:\
     5         kx 	:bl=^G:bt=\EI:cd=20\EY:ce=\ET:cl=20\E+:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E0:dc=1\EW:dl=\ER:do=\n:ds=\EF\r:ei=\Er:fs=\r:ho=^^:\
     5         kx 	:i1=30\E`\:\E`9:im=\Eq:ip=1:is=\016\024\E'\E(:k1=^A@\r:\
     5         kx 	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
     5         kx 	:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:kE=\ET:\
     5         kx 	:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=\n:kh=^^:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:ll=^^^K:me=\E(:mh=\E`7\E):mp=\E`7\E):\
     5         kx 	:mr=\E`6\E):nd=^L:nw=\r\n:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:\
     5         kx 	:px=\Ez%+?%s\177:se=\E(:sf=2\n:so=\E`6\E):sr=\Ej:st=\E1:\
     5         kx 	:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
     5         kx #
     5         kx #	This terminal description uses the non-hidden attribute mode
     5         kx #	(with magic cookie).
     5         kx #
     5         kx #	The mandatory pause used by flash does not work with some
     5         kx #	older versions of terminfo.  If you see this effect then
     5         kx #	unset :xo: and delete the / from the delay.
     5         kx #	i.e. change $<100/> to $<100>
     5         kx # (wy50-mc: added :ti: to suppress tic warning --esr)
     5         kx wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
     5         kx 	:ms@:\
     5         kx 	:ma@:sg#1:\
     5         kx 	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
     5         kx 	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:se=\EG0:\
     5         kx 	:so=\EGt:te=\EG0:ti=:tc=wy50:tc=adm+sgr:
     5         kx wy50-vb|wyse50-vb|wyse 50 visible bell:\
     5         kx 	:bl@:tc=wy50:
     5         kx wy50-w|wyse50-w|wyse 50 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=2\EW:i1=30\E`;\E`9:tc=wy50:
     5         kx wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
     5         kx 	:bl@:tc=wy50-w:
     5         kx 
     5         kx #
     5         kx #	The Wyse 350 is a Wyse 50 with color.
     5         kx #	Unfortunately this means that it has magic cookies.
     5         kx #	The color attributes are designed to overlap the reverse, dim and
     5         kx #	underline attributes.  This is nice for monochrome applications
     5         kx #	because you can make underline stuff green (or any other color)
     5         kx #	but for true color applications it's not so hot because you cannot
     5         kx #	mix color with reverse, dim or underline.
     5         kx #	    To further complicate things one of the attributes must be
     5         kx #	black (either the foreground or the background).  In reverse video
     5         kx #	the background changes color with black letters.  In normal video
     5         kx #	the foreground changes colors on a black background.
     5         kx #	    This terminfo uses some of the more advanced features of curses
     5         kx #	to display both color and blink.  In the final analysis I am not
     5         kx #	sure that the wy350 runs better with this terminfo than it does
     5         kx #	with the wy50 terminfo (with user adjusted colors).
     5         kx #
     5         kx #	The mandatory pause used by flash does not work with
     5         kx #	older versions of terminfo.  If you see this effect then
     5         kx #	unset xon and delete the / from the delay.
     5         kx #	i.e. change $<100/> to $<100>
     5         kx #
     5         kx # Bug: The <op> capability resets attributes.
     5         kx wy350|wyse350|Wyse 350:\
     5         kx 	:5i:am:bw:hs:mi:xo:\
     5         kx 	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
     5         kx 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
     5         kx 	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
     5         kx 	:as=\EG0\EH\002:bl=^G:bt=\EI:cd=20\EY:ce=\ET:cl=20\E+:\
     5         kx 	:cm=\E=%+ %+ :cr=\r:ct=\E0:dc=1\EW:dl=\ER:do=\n:ds=\EF\r:\
     5         kx 	:ei=\Er:fs=\r:ho=^^:i1=30\E`\:\E`9:i2=\E%?:im=\Eq:ip=1:\
     5         kx 	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
     5         kx 	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
     5         kx 	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
     5         kx 	:kS=\EY:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
     5         kx 	:mb=\EG2:me=%{0}%PA%{0}%PC:mh=\EGp:mp=\EG0\E):nd=^L:\
     5         kx 	:nw=\r\n:oc=\E%?:op=\EG0:pf=^T:pn=\Ez%+/%s\r:po=^X:ps=\EP:\
     5         kx 	:px=\Ez%+?%s\177:sf=2\n:sr=\Ej:st=\E1:ta=^I:ts=\EF:up=^K:\
     5         kx 	:vb=\E`8\E`9:ve=\E`1:vi=\E`0:tc=adm+sgr:
     5         kx wy350-vb|wyse350-vb|wyse 350 visible bell:\
     5         kx 	:bl@:tc=wy350:
     5         kx wy350-w|wyse350-w|wyse 350 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=2\EW:i1=30\E`;\E`9:tc=wy350:
     5         kx wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
     5         kx 	:bl@:tc=wy350-w:
     5         kx #
     5         kx #	This terminfo description is untested.
     5         kx #	The wyse100 emulates an adm31, so the adm31 entry should work.
     5         kx #
     5         kx wy100|wyse 100:\
     5         kx 	:hs:mi:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ds=\EA31:ei=\Er:fs=\r:im=\Eq:is=\Eu\E0:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:kb=^H:kd=\n:kh=\E{:kl=^H:kr=^L:ku=^K:\
     5         kx 	:le=^H:mk@:nd=^L:sf=\n:ts=\EF:up=^K:tc=adm+sgr:
     5         kx #
     5         kx #	The Wyse 120/150 has most of the features of the Wyse 60.
     5         kx #	This terminal does not need padding up to 9600 baud!
     5         kx #	:ms: should be set but the clear screen fails when in
     5         kx #	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
     5         kx #	then set :ms:.
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx wy120|wyse120|wy150|wyse150|Wyse 120/150:\
     5         kx 	:5i:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:Nl#8:co#80:it#8:lh#1:li#24:lw#8:pb#9601:ws#45:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
     5         kx 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
     5         kx 	:RX=\Ec20:SA=\Ed/:SX=\Ec21:al=3\EE:bl=^G:bt=\EI:cd=50\EY:\
     5         kx 	:ce=4\ET:cl=50\E+:cm=\E=%+ %+ :cr=\r:ct=\E0:dc=7\EW:\
     5         kx 	:dl=3\ER:do=\n:ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=\EcB0\EcC1:\
     5         kx 	:i2=150\EwJ\Ew1:im=\Eq:ip=2:\
     5         kx 	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
     5         kx 	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
     5         kx 	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=3\r\n:\
     5         kx 	:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
     5         kx 	:px=\EZ1%+?%s\177:r1=30\E~!\E~4:r2=70\EeF\E`\::\
     5         kx 	:r3=100\EwG\Ee(:sf=3\n:so=\EGt:sr=2\Ej:st=\E1:ta=1^I:\
     5         kx 	:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
     5         kx 	:tc=adm+sgr:
     5         kx #
     5         kx wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=12\EW:ip=4:rs=70\E`;:tc=wy120:
     5         kx #
     5         kx wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy120:
     5         kx #
     5         kx wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy120-w:
     5         kx #
     5         kx wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
     5         kx 	:bl@:tc=wy120:
     5         kx #
     5         kx wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
     5         kx 	:bl@:tc=wy120-w:
     5         kx #
     5         kx #	The Wyse 60 is like the Wyse 50 but with more padding.
     5         kx #	The reset strings are slow and the pad times very depending
     5         kx #	on other parameters such as font loading.  I have tried
     5         kx #	to follow the following outline:
     5         kx #
     5         kx #		<rs1> -> set personality
     5         kx #		<rs2> -> set number of columns
     5         kx #		<rs3> -> set number of lines
     5         kx #		:i1: -> select the proper font
     5         kx #		:is: -> do the initialization
     5         kx #		:i3: -> set up display memory (2 pages)
     5         kx #
     5         kx #	The Wyse 60's that have vt100 emulation are slower than the
     5         kx #	older Wyse 60's.  This change happened mid-1987.
     5         kx #	The capabilities effected are :dc: :dl: :al: :sf: :sr:
     5         kx #
     5         kx #	The meta key is only half right.  This terminal will return the
     5         kx #	high order bit set when you hit CTRL-function_key
     5         kx #
     5         kx #	It may be useful to assign two function keys with the
     5         kx #	values  \E=(\s  look at old data in page 1
     5         kx #	        \E=W,   look at bottom of page 1
     5         kx #	where \s is a space ( ).
     5         kx #
     5         kx #	Note:
     5         kx #	   The Wyse 60 runs faster when the XON/XOFF
     5         kx #	   handshake is turned off.
     5         kx #
     5         kx # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
     5         kx # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx wy60|wyse60|Wyse 60:\
     5         kx 	:5i:am:bw:hs:km:mi:ms:\
     5         kx 	:Nl#8:co#80:lh#1:li#24:lw#8:ws#45:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
     5         kx 	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
     5         kx 	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:al=4\EE:bl=^G:\
     5         kx 	:bt=\EI:cd=100\EY:ce=\ET:cl=100\E+:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E0:dc=11\EW:dl=5\ER:do=\n:ds=\EF\r:ei=\Er:fs=\r:ho=\E{:\
     5         kx 	:i1=\EcB0\EcC1:i2=150\EwJ\Ew1:im=\Eq:ip=3:\
     5         kx 	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
     5         kx 	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
     5         kx 	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=3\r\n:\
     5         kx 	:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
     5         kx 	:px=\EZ1%+?%s\177:r1=150\E~!\E~4:r2=150\EeG:\
     5         kx 	:r3=200\EwG\Ee(:sf=5\n:so=\EGt:sr=7\Ej:st=\E1:ta=1^I:\
     5         kx 	:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
     5         kx 	:tc=adm+sgr:
     5         kx #
     5         kx wy60-w|wyse60-w|wyse 60 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:rs=150\EeF\E`;:tc=wy60:
     5         kx #
     5         kx wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=200\EwG\Ee):tc=wy60:
     5         kx wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=200\EwG\Ee):tc=wy60-w:
     5         kx #
     5         kx wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
     5         kx 	:li#42:\
     5         kx 	:al=11\EE:cd=260\Ey:cl=260\E+:cm=2\E=%+ %+ :dc=16\EW:\
     5         kx 	:dl=11\ER:i1=\EcB2\EcC3:ip=5:nw=6\r\n:r3=150\Ee*:sf=9\n:\
     5         kx 	:sr=10\Ej:tc=wy60:
     5         kx wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cd=260\Ey:cl=260\E+:cm=2\Ea%i%dR%dC:dc=19\EW:ho=2^^:ip=6:\
     5         kx 	:nw=11\r\n:rs=150\EeF\E`;:tc=wy60-42:
     5         kx #
     5         kx wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:r3=150\Ee+:tc=wy60-42:
     5         kx wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:r3=150\Ee+:tc=wy60-42-w:
     5         kx #
     5         kx wy60-vb|wyse60-vb|Wyse 60 visible bell:\
     5         kx 	:bl@:tc=wy60:
     5         kx wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
     5         kx 	:bl@:tc=wy60-w:
     5         kx 
     5         kx #	The Wyse-99GT looks at lot like the Wyse 60 except that it
     5         kx #	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
     5         kx #	setup parameter controls the number of lines on the screen.
     5         kx #	For the Wyse 99GT the "lines" setup parameter controls the
     5         kx #	number of lines in a page.  The screen can display 25 lines max.
     5         kx #	    The Wyse-99GT also has personalities for the VT220 and
     5         kx #	Tektronix 4014.  But this has no bearing on the native mode.
     5         kx #
     5         kx #	(msgr) should be set but the clear screen fails when in
     5         kx #	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
     5         kx #	then set msgr, else use msgr@.
     5         kx #
     5         kx #	u0 -> enter Tektronix mode
     5         kx #	u1 -> exit Tektronix mode
     5         kx #
     5         kx wy99gt|wyse99gt|Wyse 99gt:\
     5         kx 	:ms@:\
     5         kx 	:al=4\EE:cd=130\Ey:ce=5\Et:cl=130\E+:dc=7\EW:dl=4\ER:\
     5         kx 	:i2=20\Ew0:ip=2:nw@:rs=150\E`\::sf=4\n:sr=3\Ej:ta=1^I:\
     5         kx 	:te=\Ew0:ti=\Ew1:u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
     5         kx #
     5         kx wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cd=160\Ey:cl=160\E+:cm=2\Ea%i%dR%dC:dc=9\EW:ip=4:\
     5         kx 	:rs=150\E`;:tc=wy99gt:
     5         kx #
     5         kx wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r2=150\E`\::r3=200\EwG\Ee):tc=wy99gt:
     5         kx #
     5         kx wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:rs=150\E`;:tc=wy99gt-w:
     5         kx #
     5         kx wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
     5         kx 	:bl@:tc=wy99gt:
     5         kx #
     5         kx wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
     5         kx 	:bl@:tc=wy99gt-w:
     5         kx 
     5         kx # Can't set tabs! Other bugs (ANSI mode only):
     5         kx # - can't redefine function keys (anyway, key redefinition in ANSI mode
     5         kx #   is too much complex to be described);
     5         kx # - meta key can't be described (the terminal forgets it when reset);
     5         kx # The xon-xoff handshaking can't be disabled while in ansi personality, so
     5         kx # emacs can't work at speed greater than 9600 baud.  No padding is needed at
     5         kx # this speed.
     5         kx #   dch1 has been commented out because it causes annoying glittering when
     5         kx # vi deletes one character at the beginning of a line with tabs in it.
     5         kx #   dch makes sysgen(1M) have a horrible behaviour when deleting
     5         kx # a screen and makes screen(1) behave badly, so it is disabled too. The nice
     5         kx # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
     5         kx # not, so smir and rmir are commented out as well.
     5         kx # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
     5         kx 	:am:km:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#25:vt#3:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=1\E[%dD:\
     5         kx 	:RI=1\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
     5         kx 	:cd=8*\E[J:ce=1\E[K:cl=200\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dl=\E[M:do=\ED:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
     5         kx 	:im=\E[4h:\
     5         kx 	:is=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=1^H:ll=\E[24E:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:mh=\E[2m:mr=\E[7m:\
     5         kx 	:nd=1\E[C:nw=\EE:rc=\E8:\
     5         kx 	:rs=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i:\
     5         kx 	:sc=\E7:se=\E[27m:sf=1\n:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
     5         kx 	:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[34h\E[?25h:\
     5         kx 	:vi=\E[?25l:vs=\E[34l\E[?25h:
     5         kx 
     5         kx #   This is the american terminal. Here tabs work fine.
     5         kx # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
     5         kx wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
     5         kx 	:ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:tc=wy99-ansi:
     5         kx 
     5         kx # This terminal (firmware version 02) has a lot of bugs:
     5         kx # - can't set tabs;
     5         kx # - other bugs in ANSI modes (see above).
     5         kx # This description disables handshaking when using cup. This is because
     5         kx # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
     5         kx # cannot be used at speeds greater than 9600 baud, because at greater
     5         kx # speeds handshaking is needed even for character sending. If you use
     5         kx # DTR handshaking, you can use even greater speeds.
     5         kx # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#25:ws#46:\
     5         kx 	:K1=^^:K3=\EJ:K4=\ET:K5=\EK:al=\EE:bl=^G:bt=\EI:cd=8*\EY:\
     5         kx 	:ce=8\ET:cl=\E'\E(\032:cm=\E=%+ %+ :cr=\r:dc=\EW:dl=\ER:\
     5         kx 	:do=\Ej:ds=\EF\r:ei=\Er:fs=\r:ho=^^:im=\Eq:\
     5         kx 	:is=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=\n:kl=^H:kr=^L:ku=^K:\
     5         kx 	:le=^H:mb=\EG2:me=\E(\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
     5         kx 	:rs=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024:\
     5         kx 	:se=\EG0:sf=\n:so=\EG4:sr=\Ej:ta=^I:te=\Ec21\Ec31:\
     5         kx 	:ti=\Ec20\Ec30:ts=\EF:up=^K:vb=\E\1361\E\1360:\
     5         kx 	:ve=\E`4\E`1:vi=\E`0:vs=\E`2\E`1:
     5         kx 
     5         kx # This is the american terminal. Here tabs work.
     5         kx # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
     5         kx wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard):\
     5         kx 	:ct=\E0:st=\E1:tc=wy99f:
     5         kx 
     5         kx #
     5         kx #	The Wyse 160 is combination of the WY-60 and the WY-99gt.
     5         kx #	The reset strings are slow and the pad times very depending
     5         kx #	on other parameters such as font loading.  I have tried
     5         kx #	to follow the following outline:
     5         kx #
     5         kx #		<rs1> -> set personality
     5         kx #		<rs2> -> set number of columns
     5         kx #		<rs3> -> set number of lines
     5         kx #		:i1: -> select the proper font
     5         kx #		:is: -> do the initialization
     5         kx #		:i3: -> set up display memory (2 pages)
     5         kx #
     5         kx #	The display memory may be used for either text or graphics.
     5         kx #	When "Display Memory = Shared" the terminal will have more pages
     5         kx #	but garbage may be left on the screen when you switch from
     5         kx #	graphics to text.  If "Display Memory = Unshared" then the
     5         kx #	text area will be only one page long.
     5         kx #
     5         kx # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
     5         kx # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx wy160|wyse160|Wyse 160:\
     5         kx 	:5i:am:bw:hs:km:mi:ms:\
     5         kx 	:Nl#8:co#80:lh#1:li#24:lw#8:ws#38:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
     5         kx 	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
     5         kx 	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:al=1\EE:bl=^G:\
     5         kx 	:bt=\EI:cd=30\EY:ce=5\ET:cl=30\E+:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:ct=\E0:dc=5\EW:dl=1\ER:do=\n:ds=\EF\r:ei=\Er:fs=\r:ho=\E{:\
     5         kx 	:i1=\EcB0\EcC1:i2=100\Ew0:im=\Eq:ip=2:\
     5         kx 	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
     5         kx 	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
     5         kx 	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=1\r\n:\
     5         kx 	:pf=^T:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
     5         kx 	:px=\EZ1%+?%s\177:r1=70\E~!\E~4:r2=100\E`\::\
     5         kx 	:r3=140\EwG\Ee(:sf=1\n:so=\EGt:sr=1\Ej:st=\E1:ta=^I:\
     5         kx 	:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
     5         kx 	:tc=adm+sgr:
     5         kx #
     5         kx wy160-w|wyse160-w|wyse 160 132-column:\
     5         kx 	:Nl#16:co#132:lw#7:ws#90:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=9\EW:rs=150\EeF\E`;:tc=wy160:
     5         kx #
     5         kx wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=200\EwG\Ee):tc=wy160:
     5         kx wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=200\EwG\Ee):tc=wy160-w:
     5         kx #
     5         kx wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
     5         kx 	:li#42:\
     5         kx 	:al=2\EE:cd=50\Ey:cl=50\E+:dl=2\ER:i1=\EcB2\EcC3:nw=2\r\n:\
     5         kx 	:r3=150\Ee*:sf=2\n:sr=2\Ej:tc=wy160:
     5         kx wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
     5         kx 	:Nl#16:co#132:lw#7:ws#90:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=8\EW:ip=3:rs=150\EeF\E`;:tc=wy160-42:
     5         kx #
     5         kx wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:r3=150\Ee+:tc=wy160-42:
     5         kx wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:r3=150\Ee+:tc=wy160-42-w:
     5         kx #
     5         kx wy160-vb|wyse160-vb|Wyse 160 visible bell:\
     5         kx 	:bl@:tc=wy160:
     5         kx wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
     5         kx 	:bl@:tc=wy160-w:
     5         kx #
     5         kx #	The Wyse 75 is a vt100 lookalike without advanced video.
     5         kx #
     5         kx #	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
     5         kx #	Underline) without magic cookies.  The following description
     5         kx #	uses this capability, but when more than one attribute is
     5         kx #	put on the screen at once, all attributes will be changed
     5         kx #	to be the same as the last attribute given.
     5         kx #	   The Wyse 75 can support more attributes when used with magic
     5         kx #	cookies.  The wy75-mc terminal description uses magic cookies
     5         kx #	to correctly handle multiple attributes on a screen.
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy75|wyse75|wyse 75:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:li#24:ma#1:pb#1201:ws#78:\
     5         kx 	:AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=2\E[L:\
     5         kx 	:as=^N:bl=^G:bt=\E[Z:cd=30\E[J:ce=3\E[K:cl=30\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
     5         kx 	:dl=\E[M:do=\n:ds=\E[>,\001\001\E[>-\001\001:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:fs=^A:ho=\E[H:\
     5         kx 	:i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
     5         kx 	:im=\E[4h:ip=1:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
     5         kx 	:k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
     5         kx 	:me=\E[m:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m:sf=2\n:so=\E[1t\E[7m:sr=2\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[>,\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
     5         kx 	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=vt220+keypad:
     5         kx #
     5         kx #	This terminal description uses the non-hidden attribute mode
     5         kx #	(with magic cookie).
     5         kx #
     5         kx wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
     5         kx 	:ms@:\
     5         kx 	:ma@:sg#1:ug#1:\
     5         kx 	:ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
     5         kx 	:me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:se=\E[0p:\
     5         kx 	:so=\E[17p:ue=\E[0p:us=\E[8p:tc=wy75:
     5         kx wy75-vb|wyse75-vb|wyse 75 with visible bell:\
     5         kx 	:pb@:\
     5         kx 	:bl@:tc=wy75:
     5         kx wy75-w|wyse75-w|wyse 75 in 132 column mode:\
     5         kx 	:co#132:ws#130:\
     5         kx 	:rs=80\E[35h\E[?3h:tc=wy75:
     5         kx wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
     5         kx 	:pb@:\
     5         kx 	:bl@:tc=wy75-w:
     5         kx #
     5         kx #	Wyse 85 emulating a vt220 7 bit mode.
     5         kx #		24 line screen with status line.
     5         kx #
     5         kx #	The vt220 mode permits more function keys but it wipes out
     5         kx #	the escape key.  I strongly recommend that <f11> be set to
     5         kx #	escape (esc).
     5         kx #	The terminal may have to be set for 8 data bits and 2 stop
     5         kx #	bits for the arrow keys to work.
     5         kx #	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
     5         kx #	:DC: and :IC: work best when XON/XOFF is set.  :IC: and
     5         kx #	:DC: leave trash on the screen when used without XON/XOFF.
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy85|wyse85|wyse 85:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=5\E[L:\
     5         kx 	:as=^N:bl=^G:bt=\E[Z:cd=110\E[J:ce=1\E[K:cl=110\E[H\E[J:\
     5         kx 	:cm=1\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
     5         kx 	:dl=3\E[M:do=\n:ds=\E[40l:ec=\E[%dX:ei=\E[4l:\
     5         kx 	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[62;1"p\E[?5W:\
     5         kx 	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=3:\
     5         kx 	:is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:\
     5         kx 	:kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=3\n:so=\E[7m:sr=3\EM:st=\EH:ta=1^I:\
     5         kx 	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=vt220+keypad:
     5         kx #
     5         kx #	Wyse 85 with visual bell.
     5         kx wy85-vb|wyse85-vb|wyse 85 with visible bell:\
     5         kx 	:bl@:vb=\E[30h\E,\E[30l:tc=wy85:
     5         kx #
     5         kx #	Wyse 85 in 132-column mode.
     5         kx wy85-w|wyse85-w|wyse 85 in 132-column mode:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:rs=\E[35h\E[?3h:tc=wy85:
     5         kx #
     5         kx #	Wyse 85 in 132-column mode with visual bell.
     5         kx wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
     5         kx 	:bl@:tc=wy85-w:
     5         kx 
     5         kx # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
     5         kx # This copes with an apparent firmware bug in the wy85.  He writes:
     5         kx # "What I did was change leave the terminal cursor keys set to Normal
     5         kx # (instead of application), and change \E[ to \233 for all the keys in
     5         kx # terminfo. At one point, I found some reference indicating that this
     5         kx # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
     5         kx # me), but I can't find that and the server under my bookmark to "Wyse
     5         kx # Technical" isn't responding.  So there's the question of whether the wy85
     5         kx # terminfo should reflect the manufacturer's intended behaviour of the terminal
     5         kx # or the actual."
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=4*\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=5\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=110\E[J:ce=1\E[K:cl=110\E[H\E[J:\
     5         kx 	:cm=1\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
     5         kx 	:dl=3\E[M:do=\n:ds=\E[40l:ec=\E[%dX:ei=\E[4l:\
     5         kx 	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[62;1"p\E[?5W:\
     5         kx 	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=3:\
     5         kx 	:is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
     5         kx 	:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:kN=\2336~:\
     5         kx 	:kP=\2335~:kb=^H:kd=\233B:ke=\E>:kh=\23326~:kl=\233D:\
     5         kx 	:kr=\233C:ks=\E[?1l\E=:ku=\233A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=3\n:so=\E[7m:sr=3\EM:st=\EH:ta=1^I:\
     5         kx 	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
     5         kx #
     5         kx #	Wyse 185 emulating a vt320 7 bit mode.
     5         kx #
     5         kx #	This terminal always displays 25 lines.  These lines may be used
     5         kx #	as 24 data lines and a terminal status line (top or bottom) or
     5         kx #	25 data lines.  The 48 and 50 line modes change the page size
     5         kx #	and not the number of lines on the screen.
     5         kx #
     5         kx #	The Compose Character key can be used as a meta key if changed
     5         kx #	by set-up.
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy185|wyse185|wyse 185:\
     5         kx 	:am:hs:km:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=3*\E[%dL:DC=3\E[%dP:DL=2*\E[%dM:DO=\E[%dB:IC=2\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=3\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=40\E[J:ce=\E[K:cl=40\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=20\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=2\E[M:do=\n:\
     5         kx 	:ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
     5         kx 	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
     5         kx 	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=4:\
     5         kx 	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=2\n:\
     5         kx 	:so=\E[7m:sr=2\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
     5         kx 	:ts=\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
     5         kx 	:vs=\E[?25h\E[34l:tc=vt220+keypad:
     5         kx #
     5         kx #	Wyse 185 with 24 data lines and top status (terminal status)
     5         kx wy185-24|wyse185-24|wyse 185 with 24 data lines:\
     5         kx 	:hs@:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
     5         kx #
     5         kx #	Wyse 185 with visual bell.
     5         kx wy185-vb|wyse185-vb|wyse 185+flash:\
     5         kx 	:bl@:tc=wy185:
     5         kx #
     5         kx #	Wyse 185 in 132-column mode.
     5         kx wy185-w|wyse185-w|wyse 185 in 132-column mode:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
     5         kx 	:rs=\E[35h\E[?3h:tc=wy185:
     5         kx #
     5         kx #	Wyse 185 in 132-column mode with visual bell.
     5         kx wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
     5         kx 	:bl@:tc=wy185-w:
     5         kx 
     5         kx # wy325 terminfo entries
     5         kx # Done by Joe H. Davis        3-9-92
     5         kx 
     5         kx # lines 25  columns 80
     5         kx #
     5         kx wy325|wyse325|Wyse epc:\
     5         kx 	:5i:am:bw:hs:mi:\
     5         kx 	:Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
     5         kx 	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
     5         kx 	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
     5         kx 	:SA=\Ed/:\
     5         kx 	:ac=+/,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
     5         kx 	:ae=\EcD:al=3\EE:as=\EcE:bl=^G:bt=\EI:cd=50\EY:ce=4\ET:\
     5         kx 	:cl=50\E+:cm=\E=%+ %+ :cr=\r:ct=\E0:dc=7\EW:dl=3\ER:do=\n:\
     5         kx 	:ds=\EF\r:ei=\Er:fs=\r:ho=^^:i1=\EcB0\EcC1:i2=16\Ew0:\
     5         kx 	:im=\Eq:ip=2:\
     5         kx 	:is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
     5         kx 	:kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
     5         kx 	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:\
     5         kx 	:pl=\EZ2%+?%s\177:pn=\Ez%+/%s\r:po=\Ed#:ps=\EP:\
     5         kx 	:px=\EZ1%+?%s\177:r1=30\E~!\E~4:r2=70\EeF\E`\::\
     5         kx 	:r3=100\EwG\Ee(:sf=3\n:so=\EGt:sr=2\Ej:st=\E1:ta=^I:\
     5         kx 	:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
     5         kx 	:tc=adm+sgr:
     5         kx 
     5         kx #
     5         kx # lines 24  columns 80  vb
     5         kx #
     5         kx wy325-vb|wyse325-vb|wyse-325 with visual bell:\
     5         kx 	:bl@:tc=wy325:
     5         kx 
     5         kx #
     5         kx # lines 24  columns 132
     5         kx #
     5         kx wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
     5         kx 	:Nl#16:co#132:lw#7:ws#97:\
     5         kx 	:cm=\Ea%i%dR%dC:dc=12\EW:ip=4:rs=70\E`;:tc=wy325:
     5         kx #
     5         kx # lines 25  columns 80
     5         kx #
     5         kx wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy325:
     5         kx #
     5         kx # lines 25  columns 132
     5         kx #
     5         kx wy325-25w|wyse325-25w|wy325 132 columns:\
     5         kx 	:Nl@:lh@:li#25:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy325-w:
     5         kx #
     5         kx # lines 25  columns 132  vb
     5         kx #
     5         kx wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
     5         kx 	:bl@:tc=wy325-w:
     5         kx 
     5         kx #
     5         kx # lines 42  columns 80
     5         kx #
     5         kx wy325-42|wyse325-42|wyse-325 42 lines:\
     5         kx 	:Nl@:lh@:li#42:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy325:
     5         kx #
     5         kx # lines 42  columns 132
     5         kx #
     5         kx wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
     5         kx 	:Nl@:lh@:li#42:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy325-w:
     5         kx #
     5         kx # lines 42  columns 132  vb
     5         kx #
     5         kx wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
     5         kx 	:bl@:tc=wy325-w:
     5         kx #
     5         kx # lines 43  columns 80
     5         kx #
     5         kx wy325-43|wyse325-43|wyse-325 43 lines:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:tc=wy325:
     5         kx #
     5         kx # lines 43  columns 132
     5         kx #
     5         kx wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
     5         kx 	:Nl@:lh@:li#43:lw@:\
     5         kx 	:pn@:r3=100\EwG\Ee):tc=wy325-w:
     5         kx #
     5         kx # lines 43  columns 132  vb
     5         kx #
     5         kx wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
     5         kx 	:bl@:tc=wy325-w:
     5         kx 
     5         kx #	Wyse 370 -- 24 line screen with status line.
     5         kx #
     5         kx #	The terminal may have to be set for 8 data bits and 2 stop
     5         kx #	bits for the arrow keys to work.
     5         kx #
     5         kx #	If you change keyboards the terminal will send different
     5         kx #	escape sequences.
     5         kx #	The following definition is for the basic terminal without
     5         kx #	function keys.
     5         kx #
     5         kx #	<u0> -> enter Tektronix 4010/4014 mode
     5         kx #	<u1> -> exit  Tektronix 4010/4014 mode
     5         kx #	<u2> -> enter ASCII mode (from any ANSI mode)
     5         kx #	<u3> -> exit  ASCII mode (goto native ANSI mode)
     5         kx #	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
     5         kx #	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
     5         kx #
     5         kx # Bug: The <op> capability resets attributes.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy370-nk|wyse 370 without function keys:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=2*\E[%dL:DC=1*\E[%dP:DL=2*\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=2\E[L:\
     5         kx 	:as=^N:bl=^G:bt=\E[Z:cd=40\E[J:ce=10\E[K:cl=40\E[H\E[J:\
     5         kx 	:cm=1\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=1\E[P:\
     5         kx 	:dl=2\E[M:do=\n:ds=\E[40l:ec=.1*\E[%dX:ei=\E[4l:\
     5         kx 	:fs=\E[1;24r\E8:ho=\E[H:i1=6\E[90;1"p\E[?5W:\
     5         kx 	:i2=\E>\017\E)0\E(B\E[63;0w\E[m:im=\E[4h:ip=1:\
     5         kx 	:is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
     5         kx 	:ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=2\n:\
     5         kx 	:so=\E[7m:sr=2\EM:st=\EH:ta=1^I:te=\E[ R:ti=\E[ Q:\
     5         kx 	:ts=\E[40l\E[40h\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
     5         kx 	:vi=\E[?25l:vs=\E[?25h\E[34l:
     5         kx #
     5         kx #	Function key set for the ASCII (wy-50 compatible) keyboard
     5         kx #	This is the default 370.
     5         kx #
     5         kx wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
     5         kx 	:@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
     5         kx 	:F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
     5         kx 	:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
     5         kx 	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:tc=wy370-nk:
     5         kx #
     5         kx #	Function key set for the VT-320 (and wy85) compatible keyboard
     5         kx #
     5         kx wy370-105k|Wyse 370 with 105 key keyboard:\
     5         kx 	:%1=\E[28~:*6=\E[4~:@0=\E[1~:F1=\E[23~:F2=\E[24~:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
     5         kx 	:F8=\E[32~:F9=\E[33~:FA=\E[34~:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:l1=PF1:l2=PF2:l3=PF3:l4=PF4:tc=wy370-nk:tc=vt220+keypad:
     5         kx #
     5         kx #	Function key set for the PC compatible keyboard
     5         kx #
     5         kx wy370-EPC|Wyse 370 with 102 key keyboard:\
     5         kx 	:@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=wy370-nk:
     5         kx #
     5         kx #	Wyse 370 with visual bell.
     5         kx wy370-vb|Wyse 370 with visible bell:\
     5         kx 	:bl@:tc=wy370:
     5         kx #
     5         kx #	Wyse 370 in 132-column mode.
     5         kx wy370-w|Wyse 370 in 132-column mode:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:rs=70\E[35h\E[?3h:tc=wy370:
     5         kx #
     5         kx #	Wyse 370 in 132-column mode with visual bell.
     5         kx wy370-wvb|Wyse 370 with visible bell 132-columns:\
     5         kx 	:vb=\E[30h\E,\E[30l:tc=wy370-w:
     5         kx wy370-rv|Wyse 370 reverse video:\
     5         kx 	:r3=\E[32h\E[?5h:tc=wy370:
     5         kx #
     5         kx #	Wyse 99gt Tektronix 4010/4014 emulator,
     5         kx #
     5         kx wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
     5         kx 	:am:os:\
     5         kx 	:co#74:li#35:\
     5         kx 	:bl=^G:cl=\E^L:cr=\r:do=\n:ff=^L:\
     5         kx 	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
     5         kx 	:ho=^]7`x @\037:\
     5         kx 	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
     5         kx 	:is=\E8:le=^H:nd=\s:nw=\r\n:u0=\E~>\E8:u1=\E[42h:up=^K:
     5         kx #
     5         kx #	Wyse 160 Tektronix 4010/4014 emulator,
     5         kx #
     5         kx wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
     5         kx 	:ho=^]8`g @\037:tc=wy99gt-tek:
     5         kx #
     5         kx #	Wyse 370 Tektronix 4010/4014 emulator,
     5         kx #
     5         kx wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
     5         kx 	:am:os:\
     5         kx 	:co#80:li#36:\
     5         kx 	:bl=^G:cl=\E^L:cr=\r:do=\n:ff=^L:\
     5         kx 	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
     5         kx 	:ho=^]8g @\037:\
     5         kx 	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
     5         kx 	:is=\E8:kb=^H:kd=\n:kl=^H:kr=^I:ku=^K:le=^H:nd=\s:nw=\r\n:\
     5         kx 	:u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
     5         kx 
     5         kx # Vendor-supplied Wyse entries end here.
     5         kx 
     5         kx #
     5         kx #TITLE:  TERMINFO ENTRY WY520
     5         kx #DATE:   8/5/93
     5         kx # The WY520 terminfo is based on the WY285 entry published on the WYSE
     5         kx # BBS with the addition of more function keys and special keys.
     5         kx #
     5         kx #               rs1 -> set personality
     5         kx #               rs2 -> set number of columns
     5         kx #               rs3 -> set number of lines
     5         kx #               is1 -> select the proper font
     5         kx #               is2 -> do the initialization
     5         kx #               is3 -> If this string is empty then rs3 gets sent.
     5         kx #
     5         kx #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
     5         kx #       - The BS key is programmed to generate BS in smcup since
     5         kx #         is2 doesn't seem to work.
     5         kx #       - Remove and shift/Remove: delete a character
     5         kx #       - Insert : enter insert mode
     5         kx #       - Find   : delete to end of file
     5         kx #       - Select : clear a line
     5         kx #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
     5         kx #       - F14 : Home key
     5         kx #       - Bottom status line (host writable line) is used.
     5         kx #       - smkx,rmkx are removed because this would put the numeric
     5         kx #         keypad in Dec application mode which doesn't seem to work
     5         kx #         with SCO applications.
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx wy520|wyse520|wyse 520:\
     5         kx 	:am:hs:km:mi:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=3*\E[%dL:DC=3\E[%dP:DL=2*\E[%dM:DO=\E[%dB:IC=2\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=3\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=40\E[J:ce=\E[K:cl=40\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=20\E[%i%d;%dr:ct=\E[3g:dc=30\E[P:dl=2\E[M:do=\n:\
     5         kx 	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
     5         kx 	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=4:\
     5         kx 	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=2\n:\
     5         kx 	:so=\E[7m:sr=2\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q\E[?67;8h:\
     5         kx 	:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:\
     5         kx 	:tc=vt220+keypad:
     5         kx #
     5         kx #       Wyse 520 with 24 data lines and status (terminal status)
     5         kx wy520-24|wyse520-24|wyse 520 with 24 data lines:\
     5         kx 	:hs@:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 with visual bell.
     5         kx wy520-vb|wyse520-vb|wyse 520 with visible bell:\
     5         kx 	:vb=\E[30h\E,\E[30l:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 in 132-column mode.
     5         kx wy520-w|wyse520-w|wyse 520 in 132-column mode:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
     5         kx 	:rs=\E[35h\E[?3h:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 in 132-column mode with visual bell.
     5         kx wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
     5         kx 	:vb=\E[30h\E,\E[30l:tc=wy520-w:
     5         kx #
     5         kx #
     5         kx #       Wyse 520 emulating a vt420 7 bit mode.
     5         kx #       The DEL key is programmed to generate BS in is2.
     5         kx #       With EPC keyboard.
     5         kx #       - 'End' key will clear till end of line on EPC keyboard
     5         kx #       - Shift/End : ignored.
     5         kx #       - Insert : enter insert mode.
     5         kx #       - Delete : delete a character (have to change interrupt character
     5         kx #                  to CTRL-C: stty intr '^c') for it to work since the
     5         kx #                  Delete key sends 7FH.
     5         kx wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
     5         kx 	:@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
     5         kx 	:k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 with 24 data lines and status (terminal status)
     5         kx #       with EPC keyboard.
     5         kx wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard:\
     5         kx 	:hs@:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
     5         kx #
     5         kx #       Wyse 520 with visual bell.
     5         kx wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard:\
     5         kx 	:vb=\E[30h\E,\E[30l:tc=wy520-epc:
     5         kx #
     5         kx #       Wyse 520 in 132-column mode.
     5         kx wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
     5         kx 	:rs=\E[35h\E[?3h:tc=wy520-epc:
     5         kx #
     5         kx #       Wyse 520 in 132-column mode with visual bell.
     5         kx wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
     5         kx 	:vb=\E[30h\E,\E[30l:tc=wy520-epc-w:
     5         kx #
     5         kx #       Wyse 520 in 80-column, 36 lines
     5         kx wy520-36|wyse520-36|wyse 520 with 36 data lines:\
     5         kx 	:hs@:\
     5         kx 	:li#36:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
     5         kx 	:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 in 80-column, 48 lines
     5         kx wy520-48|wyse520-48|wyse 520 with 48 data lines:\
     5         kx 	:hs@:\
     5         kx 	:li#48:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
     5         kx 	:tc=wy520:
     5         kx #
     5         kx #       Wyse 520 in 132-column, 36 lines
     5         kx wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:r2=\E[?3h:\
     5         kx 	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
     5         kx 	:tc=wy520-36:
     5         kx #
     5         kx #       Wyse 520 in 132-column, 48 lines
     5         kx wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:r2=\E[?3h:\
     5         kx 	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
     5         kx 	:tc=wy520-48:
     5         kx #
     5         kx #
     5         kx #       Wyse 520 in 80-column, 36 lines with EPC keyboard
     5         kx wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
     5         kx 	:hs@:\
     5         kx 	:li#36:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
     5         kx 	:tc=wy520-epc:
     5         kx #
     5         kx #       Wyse 520 in 80-column, 48 lines with EPC keyboard
     5         kx wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
     5         kx 	:hs@:\
     5         kx 	:li#48:\
     5         kx 	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
     5         kx 	:tc=wy520-epc:
     5         kx #
     5         kx #       Wyse 520 in 132-column, 36 lines with EPC keyboard
     5         kx wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:r2=\E[?3h:\
     5         kx 	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
     5         kx 	:tc=wy520-36pc:
     5         kx #
     5         kx #       Wyse 520 in 132-column, 48 lines with EPC keyboard
     5         kx wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:r2=\E[?3h:\
     5         kx 	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
     5         kx 	:tc=wy520-48pc:
     5         kx 
     5         kx # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
     5         kx # (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
     5         kx # file and we don't know what :st: is -- esr)
     5         kx wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=\r:dc=\EW:\
     5         kx 	:dl=\El:do=\n:ei=\Er:ho=^A:im=\Eq:is=\E`\:\E`9\017\Er:\
     5         kx 	:kb=^H:kd=\n:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
     5         kx 	:nd=^F:nw=\r\n:r1=\E`\:\E`9\017\Er:se=^O:sf=\n:so=^N:ta=^I:\
     5         kx 	:ue=^O:up=^Z:us=^N:
     5         kx 
     5         kx wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
     5         kx 	:is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
     5         kx 	:kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
     5         kx 
     5         kx # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
     5         kx wy100q|Wyse 100 for Quotron:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
     5         kx 	:dl=\ER:do=\n:ei=\Er:ho=^^:im=\Eq:\
     5         kx 	:is=\E`\:\0\EC\EDF\E0\E'\E(\EA21:kd=\n:kl=^H:kr=^L:ku=^K:\
     5         kx 	:le=^H:mk@:nd=^L:sr=\Ej:up=^K:tc=adm+sgr:
     5         kx 
     5         kx #### Kermit terminal emulations
     5         kx #
     5         kx # Obsolete Kermit versions may be listed in the section describing obsolete
     5         kx # non-ANSI terminal emulators later in the file.
     5         kx #
     5         kx 
     5         kx # KERMIT standard all versions.
     5         kx # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
     5         kx # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
     5         kx # From: greg small <gts@populi.berkeley.edu> 9-25-84
     5         kx kermit|standard kermit:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :do=\EB:ho=\EH:\
     5         kx 	:is=K0 Standard Kermit  9-25-84\n:kd=\n:kh=^^:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
     5         kx kermit-am|standard kermit plus auto-margin:\
     5         kx 	:am:\
     5         kx 	:is=K1 Standard Kermit plus Automatic Margins\n:\
     5         kx 	:tc=kermit:
     5         kx # IBMPC Kermit 1.2.
     5         kx # Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
     5         kx # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
     5         kx # line).
     5         kx # From: greg small <gts@populi.berkeley.edu> 8-30-84
     5         kx pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
     5         kx 	:am:\
     5         kx 	:li#25:\
     5         kx 	:cd@:ce@:cl=\EH\EJ:\
     5         kx 	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
     5         kx # IBMPC Kermit 1.20
     5         kx # Cannot use line 25, now acts funny like ansi special scrolling region.
     5         kx # Initialization must escape from that region by cursor position to line 24.
     5         kx # Cannot use character insert because 1.20 goes crazy if insert at col 80.
     5         kx # Does not use :am: because autowrap is lost when kermit dropped and restarted.
     5         kx # From: greg small <gts@populi.berkeley.edu> 12-19-84
     5         kx pckermit120|UCB IBMPC Kermit 1.20:\
     5         kx 	:it#8:li#24:\
     5         kx 	:al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
     5         kx 	:is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
     5         kx 	:se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:tc=kermit:
     5         kx # MS-DOS Kermit 2.27 for the IBMPC
     5         kx # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
     5         kx # Cannot use line 25, now acts funny like ansi special scrolling region.
     5         kx # Initialization must escape from that region by cursor position to line 24.
     5         kx # Does not use am: because autowrap is lost when kermit dropped and restarted.
     5         kx # Reverse video for standout like H19.
     5         kx # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
     5         kx # From: greg small <gts@populi.berkeley.edu> 3-17-85
     5         kx msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
     5         kx 	:am@:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
     5         kx 	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
     5         kx 	:is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
     5         kx 	:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
     5         kx 	:se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
     5         kx # MS-DOS Kermit 2.27 with automatic margins
     5         kx # From:	greg small <gts@populi.berkeley.edu> 3-17-85
     5         kx msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
     5         kx 	:am:\
     5         kx 	:is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
     5         kx 	:vs=\EO\Eq\EG\EvK5:tc=msk227:
     5         kx # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
     5         kx # Automatic margins now default.  Use ansi :sa: for highlights.
     5         kx # Define function keys.
     5         kx # (msk22714: removed obsolete ":kn#10:" -- esr)
     5         kx # From: greg small <gts@populi.berkeley.edu> 3-17-85
     5         kx msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
     5         kx 	:am:\
     5         kx 	:is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
     5         kx 	:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
     5         kx 	:k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
     5         kx 	:ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:tc=mskermit227:
     5         kx # This was designed for a VT320 emulator, but it is probably a good start
     5         kx # at support for the VT320 itself.
     5         kx # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
     5         kx # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx vt320-k3|MS-Kermit 3.00's vt320 emulation:\
     5         kx 	:am:es:hs:km:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#49:pb#9600:vt#3:\
     5         kx 	:AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
     5         kx 	:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E>\E F\E[?1h\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\r\n:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:
     5         kx # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
     5         kx # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
     5         kx # (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
     5         kx vt320-k311|dec vt320 series as defined by kermit 3.11:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
     5         kx 	:fs=\E[$}:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\r\ED:\
     5         kx 	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
     5         kx 	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
     5         kx 
     5         kx ######## NON-ANSI TERMINAL EMULATIONS
     5         kx #
     5         kx 
     5         kx #### Avatar
     5         kx #
     5         kx # These entries attempt to describe Avatar, a terminal emulation used with
     5         kx # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
     5         kx # capabilities, but with cheaper (shorter) control sequences.  Messy design,
     5         kx # excessively dependent on PC idiosyncrasies, but apparently rather popular
     5         kx # in the BBS world.
     5         kx #
     5         kx # No color support.  Avatar doesn't fit either of the Tektronix or HP color
     5         kx # models that terminfo knows about.  An Avatar color attribute is the
     5         kx # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
     5         kx #
     5         kx # I wrote these entries while looking at the Avatar spec.  I don't have
     5         kx # the facilities to test them.  Let me know if they work, or don't.
     5         kx #
     5         kx # Avatar escapes not used by these entries (because maybe you're smarter
     5         kx # and more motivated than I am and can figure out how to wrap terminfo
     5         kx # around some of them, and because they are weird enough to be funny):
     5         kx #				level 0:
     5         kx # ^L		-- clear window/reset current attribute to default
     5         kx # ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
     5         kx #
     5         kx #      bit:         6   5   4   3   2   1   0
     5         kx #                   |       |   |   |       |
     5         kx #                   +---+---+   |   +---+---+
     5         kx #                       |       |       |
     5         kx #                       |       |  foreground color
     5         kx #                       |  foreground intensity
     5         kx #                  background color
     5         kx #				level 0+:
     5         kx # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
     5         kx # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
     5         kx # ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
     5         kx # ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
     5         kx # (^V^L and ^V^M set the current attribute as a side-effect.)
     5         kx # ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
     5         kx #			   in the pattern, <c> the number of times the pattern
     5         kx #			   should be repeated. If either value is 0, no-op.
     5         kx #			   The pattern can contain Avatar console codes,
     5         kx #			   including other ^V ^Y patterns.
     5         kx #				level 1:
     5         kx # ^V^O		-- clockwise mode on; turn print direction right each time you
     5         kx #		   hit a window edge (yes, really).  Turned off by CR
     5         kx # ^V^P		-- no-op
     5         kx # ^V^Q%c	-- query the driver
     5         kx # ^V^R		-- driver reset
     5         kx # ^V^S		-- Sound tone (PC-specific)
     5         kx # ^V^T			-- change highlight at current cursor position to %c
     5         kx # ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
     5         kx # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
     5         kx #			-- define window
     5         kx #
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
     5         kx # (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
     5         kx # tell ncurses that the corresponding highlights exist; it should use :sa:,
     5         kx # which is the only method that will actually work for multiple highlights.)
     5         kx #
     5         kx # Update by TD - 2004: half of this was inconsistent.  Found documentation
     5         kx # and repaired most of the damage.  sgr0 is probably incorrect, but the
     5         kx # available documentation gives no clues for a workable string.
     5         kx avatar0|avatar terminal emulator level 0:\
     5         kx 	:am:ms:ut:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:ae@:as@:ce=^V^G:cm=\026\010%.%.:cr=\r:do=^V^D:le=^V^E:\
     5         kx 	:mb=^V^B:md=^V^A^P:me=^V^A^G:mk=^V^A\0:mr=^V^Ap:nd=^V^F:\
     5         kx 	:rp=\031%.%.:rs=^L:sf=\n:so=^V^Ap:up=^V^C:us=^V^A^A:\
     5         kx 	:tc=klone+acs:
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
     5         kx avatar0+|avatar terminal emulator level 0+:\
     5         kx 	:dc=^V^N:ei=\026\n\0\0\0\0:im=^V^I:tc=avatar0:
     5         kx # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
     5         kx avatar|avatar1|avatar terminal emulator level 1:\
     5         kx 	:RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
     5         kx 	:vs=^V^C:tc=avatar0+:
     5         kx 
     5         kx #### RBcomm
     5         kx #
     5         kx # RBComm is a lean and mean terminal emulator written by the Interrupt List
     5         kx # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
     5         kx # '90s), especially in the BBS world, and still has some loyal users due to
     5         kx # its very small memory footprint and to a cute macro language.
     5         kx rbcomm|IBM PC with RBcomm and EMACS keybindings:\
     5         kx 	:am:bw:mi:ms:xn:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
     5         kx 	:cl=^L:cm=\037%r%+ %+ :cr=\r:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
     5         kx 	:dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
     5         kx 	:is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
     5         kx 	:ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=\r\ED:\
     5         kx 	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
     5         kx 	:sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
     5         kx 	:us=^T:ve=\E[?25h:vi=\E[?25l:
     5         kx rbcomm-nam|IBM PC with RBcomm without autowrap:\
     5         kx 	:am@:\
     5         kx 	:bl=^G:cr=\r:do=\n:\
     5         kx 	:is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=\n:\
     5         kx 	:kl=^H:nw=\r\n:sf=\n:ta=^I:tc=rbcomm:
     5         kx rbcomm-w|IBM PC with RBcomm in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:\
     5         kx 	:is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=\n:\
     5         kx 	:kl=^H:nw=\r\n:sf=\n:ta=^I:tc=rbcomm:
     5         kx 
     5         kx ######## LCD DISPLAYS
     5         kx #
     5         kx 
     5         kx #### Matrix Orbital
     5         kx # from: Eric Z. Ayers  (eric@ale.org)
     5         kx #
     5         kx # Matrix Orbital 20x4 LCD display
     5         kx # Command Character is 0xFE (decimal 254, octal 376)
     5         kx #
     5         kx # On this device, cursor addressability isn't possible.  The LCD expects:
     5         kx #      0xfe G <col> <row>
     5         kx #      for cup: %p1 == row and %p2 is column
     5         kx #
     5         kx # This line:
     5         kx #	cup=\376G%p2%c%p1%c
     5         kx # LOOKS like it will work, but sometimes only one of the two numbers is sent.
     5         kx # See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
     5         kx #
     5         kx # Alas, there is no cursor upline capability on this display.
     5         kx #
     5         kx # These entries add some 'sanity stuff' to the clear function.  That is, it
     5         kx # does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
     5         kx # and turns off the cursor blinking and stuff like that.
     5         kx #
     5         kx # NOTE: calling 'beep' turns on the backlight (bell)
     5         kx # NOTE: calling 'flash' turns it on and back off (visual bell)
     5         kx #
     5         kx MtxOrb|Generic Matrix Orbital LCD display:\
     5         kx 	:bl=\376B\001:cl=\376X\376C\376R\376K\376T:ho=\376H:\
     5         kx 	:le=\376L:nd=\376M:vb=\376B\001\376F:ve=\376K\376T:
     5         kx MtxOrb204|20x4 Matrix Orbital LCD display:\
     5         kx 	:co#20:li#4:tc=MtxOrb:
     5         kx MtxOrb162|16x2 Matrix Orbital LCD display:\
     5         kx 	:co#16:li#2:tc=MtxOrb:
     5         kx # The end
     5         kx 
     5         kx ######## OLDER TERMINAL TYPES
     5         kx #
     5         kx # This section is devoted to older commercial terminal brands that are now
     5         kx # discontinued, but known to be still in use or represented by emulations.
     5         kx #
     5         kx 
     5         kx #### AT&T (att, tty)
     5         kx #
     5         kx # This section also includes Teletype-branded VDTs.
     5         kx #
     5         kx # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
     5         kx # Boundless Technologies); for details, see the header comment on the ADDS
     5         kx # section.
     5         kx #
     5         kx # These are AT&T's official terminfo entries.  All-caps aliases have been
     5         kx # removed.
     5         kx #
     5         kx att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
     5         kx 	:am:eo:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
     5         kx 	:F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
     5         kx 	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
     5         kx 	:k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
     5         kx 	:kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=\n:so=\E[7m:ta=^I:\
     5         kx 	:up=\E[A:
     5         kx att2350|AT&T 2350 Video Information Terminal 80 column mode:\
     5         kx 	:pf@:po@:ps@:tc=att2300:
     5         kx 
     5         kx # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
     5         kx # Seems upward compatible with vt100, plus ins/del line/char.
     5         kx # On sgr, the protection parameter is ignored.
     5         kx # No check is made to make sure that only 3 parameters are output.
     5         kx #	standout= reverse + half-intensity = 3 | 5.
     5         kx #	bold= reverse + underline = 2 | 3.
     5         kx # note that half-bright blinking doesn't look different from normal blinking.
     5         kx # NOTE:you must program the function keys first, label second!
     5         kx # (att4410: a BSD entry has been seen with the following capabilities:
     5         kx # :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
     5         kx # :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
     5         kx att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
     5         kx 	:am:hs:mi:ms:xo:\
     5         kx 	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
     5         kx 	:ac=++,,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
     5         kx 	: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:\
     5         kx 	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
     5         kx 	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
     5         kx 	:mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx 
     5         kx att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att5410v1:
     5         kx 
     5         kx att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
     5         kx 	:bs:tc=att5410v1:
     5         kx 
     5         kx att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att4410:
     5         kx 
     5         kx # 5410 in terms of a vt100
     5         kx # (v5410: added <rmam>/<smam> based on init string -- esr)
     5         kx v5410|att5410 in terms of a vt100:\
     5         kx 	:am:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:eA=\E(B\E)0:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[0m:\
     5         kx 	:mr=2\E[7m:nd=2\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=\n:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:tc=vt100+fnkeys:
     5         kx 
     5         kx #
     5         kx # Teletype Model 5420 -- A souped up 5410, with multiple windows,
     5         kx # even! the 5420 has three modes: scroll, window or page mode
     5         kx # this terminfo should work in scroll or window mode, but doesn't
     5         kx # take advantage of any of the differences between them.
     5         kx #
     5         kx # Has memory below (2 lines!)
     5         kx # 3 pages of memory (plus some spare)
     5         kx # The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
     5         kx # <hpa>, :st: would work for these, but these work in both scroll and window
     5         kx # mode... Unset insert character so insert mode works
     5         kx # :i1: sets 80 column mode,
     5         kx # :is: escape sequence:
     5         kx # 1) turn off all fonts
     5         kx # 2) function keys off, keyboard lock off, control display off,
     5         kx #    insert mode off, erasure mode off,
     5         kx # 3) full duplex, monitor mode off, send graphics off, nl on lf off
     5         kx # 4) reset origin mode
     5         kx # 5) set line wraparound
     5         kx # 6) exit erasure mode, positional attribute mode, and erasure extent mode
     5         kx # 7) clear margins
     5         kx # 8) program ENTER to transmit ^J,
     5         kx # We use \212 to program the ^J because a bare ^J will get translated by
     5         kx # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
     5         kx #     1      2            3              4     5     6    7  8
     5         kx # :i3: set screen color to black,
     5         kx # No representation in terminfo for the delete word key: kdw1=\Ed
     5         kx # Key capabilities assume the power-up send sequence...
     5         kx # This :te: is not strictly necessary, but it helps maximize
     5         kx # memory usefulness: :te=\Ez:,
     5         kx # Alternate sgr0:	:me=\E[m\EW^O:,
     5         kx # 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%;:,
     5         kx # smkx programs the SYS PF keys to send a set sequence.
     5         kx # It also sets up labels f1, f2, ..., f8, and sends edit keys.
     5         kx # This string causes them to send the strings :k1:-:k8:
     5         kx # when pressed in SYS PF mode.
     5         kx # (att4415: I added <rmam>/<smam> based on the init string -- esr)
     5         kx att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
     5         kx 	:bs:db:mi:xo:\
     5         kx 	:Nl#8:lh#2:lm#78:lw#8:ws#55:\
     5         kx 	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
     5         kx 	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
     5         kx 	:UP=\E[%dA:bt=\E[Z:cl=\E[x\E[J:cm=\E[%i%d;%dx:ct=\E[3g:\
     5         kx 	:ec=\E[%ds\E[%dD:ei=\E[4l:ho=\E[x:i1=100\E[?3l:i2=\E[?5l:\
     5         kx 	:ic@:im=\E[4h:\
     5         kx 	: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:\
     5         kx 	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
     5         kx 	:k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
     5         kx 	:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
     5         kx 	:ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
     5         kx 	:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
     5         kx 	:me=\E[0m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:tc=att4410:
     5         kx 
     5         kx att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
     5         kx 	:co#132:lm#54:ws#97:\
     5         kx 	:i1=100\E[?3h:tc=att4415:
     5         kx 
     5         kx att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
     5         kx 	:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
     5         kx 
     5         kx att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
     5         kx 	:co#132:lm#54:ws#97:\
     5         kx 	:i1=100\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
     5         kx 
     5         kx # Note that this mode permits programming USER PF KEYS and labels
     5         kx # However, when you program user pf labels you have to reselect
     5         kx # user pf keys to make them appear!
     5         kx att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:
     5         kx 
     5         kx att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415:
     5         kx 
     5         kx att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-rv:
     5         kx 
     5         kx att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-w:
     5         kx 
     5         kx att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
     5         kx 	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:\
     5         kx 	:tc=att4415-w-rv:
     5         kx 
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att5420_2|AT&T 5420 model 2 80 cols:\
     5         kx 	:am:db:hs:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:lm#78:ws#55:\
     5         kx 	:AL=\E[%dL:CM=\E[%i%d;%dt:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
     5         kx 	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
     5         kx 	:cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
     5         kx 	:ho=\E[H:\
     5         kx 	: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:\
     5         kx 	:ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
     5         kx 	:k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
     5         kx 	:kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=\r\n:rc=\E8:\
     5         kx 	:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:st=\EH:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:vb=\E[?5h\E[?5l:\
     5         kx 	:ve=\E[11;0j:vs=\E[11;1j:
     5         kx att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	: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:\
     5         kx 	:tc=att5420_2:
     5         kx 
     5         kx att4418|att5418|AT&T 5418 80 cols:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
     5         kx 	:F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
     5         kx 	:FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
     5         kx 	:i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
     5         kx 	:k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%%:\
     5         kx 	:kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
     5         kx 	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx att4418-w|att5418-w|AT&T 5418 132 cols:\
     5         kx 	:co#132:\
     5         kx 	:i1=\E[?3h:tc=att5418:
     5         kx 
     5         kx att4420|tty4420|teletype 4420:\
     5         kx 	:bs:da:db:eo:ms:ul:xo:\
     5         kx 	:co#80:li#24:lm#72:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
     5         kx 	:dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
     5         kx 	:kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
     5         kx 	:kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
     5         kx 	:l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7\s:\
     5         kx 	:so=\E}:ue=\EZ:up=\EA:us=\E\\:
     5         kx 
     5         kx #  The following is a terminfo entry for the Teletype 4424
     5         kx #  asynchronous keyboard-display terminal.  It supports
     5         kx #  the vi editor.  The terminal must be set up as follows,
     5         kx #
     5         kx #	HIGHLIGHT DEFINITION	3-TONE
     5         kx #	DISPLAY FUNCTION	GROUP III
     5         kx #
     5         kx #  The second entry below provides limited (a la adm3a)
     5         kx #  operation under GROUP II.
     5         kx #
     5         kx #  This must be used with DISPLAY FUNCTION GROUP I or III
     5         kx #	and HIGHLIGHT DEFINITION 3-TONE
     5         kx # The terminal has either bold or blink, depending on options
     5         kx #
     5         kx # (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
     5         kx att4424|tty4424|teletype 4424:\
     5         kx 	:am:bs:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\EF:\
     5         kx 	:dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
     5         kx 	:is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
     5         kx 	:md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
     5         kx 	:se=\E~:sf=\n:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
     5         kx 	:us=\E\\:
     5         kx 
     5         kx att4424-1|tty4424-1|teletype 4424 in display function group I:\
     5         kx 	:kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:tc=att4424:
     5         kx 
     5         kx # This entry is not one of AT&T's official ones, it was translated from the
     5         kx # 4.4BSD termcap file.  The highlight strings are different from att4424.
     5         kx # I have no idea why this is -- older firmware version, maybe?
     5         kx # The following two lines are the comment originally attached to the entry:
     5         kx # This entry appears to avoid the top line - I have no idea why.
     5         kx # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
     5         kx att4424m|tty4424m|teletype 4424M:\
     5         kx 	:am:da:db:mi:\
     5         kx 	:co#80:it#8:li#23:\
     5         kx 	:al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
     5         kx 	:cr=\r:dc=\EP:dl=\EM:do=\n:ei=:ic=\E\136:im=:ip=2:\
     5         kx 	:is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
     5         kx 	:nd=\E[C:nw=\r\n:se=\E[m:sf=\n:so=\E[7m:sr=\ET:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # The Teletype 5425 is really version 2 of the Teletype 5420. It
     5         kx # is quite similar, except for some minor differences. No page
     5         kx # mode, for example, so all of the :cm: sequences used above have
     5         kx # to change back to what's being used for the 5410. Many of the
     5         kx # option settings have changed their numbering as well.
     5         kx #
     5         kx # This has been tested on a preliminary model.
     5         kx #
     5         kx # (att5425: added <rmam>/<smam> based on the init string -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att5425|tty5425|att4425|AT&T 4425/5425:\
     5         kx 	:am:da:db:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:lm#78:ws#55:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
     5         kx 	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
     5         kx 	:i1=100\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
     5         kx 	: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:\
     5         kx 	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
     5         kx 	:k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
     5         kx 	:ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
     5         kx 	:mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\r\n:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[12;0j:vs=\E[12;1j:
     5         kx 
     5         kx att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
     5         kx 	:ks=\E[21;1j\E[25;4j\Eent:tc=att4425:
     5         kx 
     5         kx att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
     5         kx 	:co#132:lm#54:ws#97:\
     5         kx 	:i1=100\E[?3h:tc=tty5425:
     5         kx 
     5         kx # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
     5         kx # I also added <rmam>/<smam> -- esr)
     5         kx att4426|tty4426|teletype 4426S:\
     5         kx 	:am:da:db:xo:\
     5         kx 	:co#80:li#24:lm#48:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
     5         kx 	:cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
     5         kx 	:i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
     5         kx 	:kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\r\n:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
     5         kx 	:sc=\E7:se=\E[m:sf=\n:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:tc=ecma+index:
     5         kx 
     5         kx # Terminfo entry for the AT&T 510 A Personal Terminal
     5         kx # Function keys 9 - 16 are available only after the
     5         kx # screen labeled (soft keys/action blocks) are labeled.  Function key
     5         kx # 9 corresponds to the leftmost touch target on the screen,
     5         kx # function key 16 corresponds to the rightmost.
     5         kx #
     5         kx # This entry is based on one done by Ernie Rice at Summit, NJ and
     5         kx # changed by Anne Gallup, Skokie, IL, ttrdc!anne
     5         kx att510a|bct510a|AT&T 510A Personal Terminal:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:Nl#8:co#80:lh#2:li#24:lw#7:\
     5         kx 	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=+g,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
     5         kx 	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
     5         kx 	:ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
     5         kx 	:i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
     5         kx 	:k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
     5         kx 	:k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
     5         kx 	:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
     5         kx 
     5         kx # Terminfo entry for the AT&T 510 D Personal Terminal
     5         kx # Function keys 9 through 16 are accessed by bringing up the
     5         kx # system blocks.
     5         kx # Function key 9 corresponds to the leftmost touch target on the screen,
     5         kx # function key 16 corresponds to the rightmost.
     5         kx #
     5         kx # There are problems with soft key labeling.  These are due to
     5         kx # strangenesses in the native terminal that are impossible to
     5         kx # describe in a terminfo.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx att510d|bct510d|AT&T 510D Personal Terminal:\
     5         kx 	:am:da:db:mi:ms:xn:xo:\
     5         kx 	:Nl#8:co#80:lh#2:li#24:lm#48:lw#7:\
     5         kx 	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:LF=\E<:LO=\E?:MC=\E\::ML=\E4:MR=\E5:RI=\E[%dC:\
     5         kx 	:RX=\E[29;1|:SX=\E[29;0|:UP=\E[%dA:ae=^O:al=\E[L:as=^N:\
     5         kx 	:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:ce=\E[0K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:eA=\E(B\E)1:ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
     5         kx 	:i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
     5         kx 	:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:k;=\EOd:kB=\E[Z:\
     5         kx 	:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[19;1|:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:md=\E[2;7m:\
     5         kx 	:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:rs=\E[5;0|:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[11;3|:vs=\E[11;2|:tc=ansi+rep:\
     5         kx 	:tc=ecma+index:
     5         kx 
     5         kx # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att500|att513|AT&T 513 using page mode:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
     5         kx 	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=%i\E[%d;%dr:ct=\E[3g:dc=1\E[P:\
     5         kx 	:dl=\E[M:do=\n:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
     5         kx 	:im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
     5         kx 	:k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
     5         kx 	:kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
     5         kx 	:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:\
     5         kx 	:tc=ansi+rep:
     5         kx 
     5         kx # 01-07-88
     5         kx # printer must be set to EMUL ANSI to accept ESC codes
     5         kx # :up: stops at top margin
     5         kx # :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
     5         kx #	and alt font ascii,wrap on,tabs cleared
     5         kx # :is: disables newline on LF,Emphasized off
     5         kx # The <u0> capability sets form length
     5         kx att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
     5         kx 	:YA:YD:\
     5         kx 	:Ya#8192:Yi#10:Yj#12:Yk#100:Yl#72:Ym#120:co#132:it#8:li#66:\
     5         kx 	:DO=\E[%de:RI=\E[%da:ZM=\E[5m:ZU=\E[m:Zl=\E[;%dr:\
     5         kx 	:Zp=\E[%dr:ch=\E[%d`:cr=\r:cv=\E[%dd:do=\n:ff=^L:i1=\Ec:\
     5         kx 	:is=\E[20l\r:nd=\s:ta=^I:u0=\E[%dt:up=\EM:
     5         kx 
     5         kx # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
     5         kx # Other SET-UP modes may be set for operator convenience or communication
     5         kx # requirements.  This termcap description is for the Resident Terminal Mode.
     5         kx # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # The BRL entry also said: UNSAFE :ll=\E[70H:
     5         kx att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
     5         kx 	:am:xo:\
     5         kx 	:co#88:it#8:li#70:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ei=:ho=\E[H:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:nd=\E[C:nw=\r\n:r1=\Ec:rc=\E8:sc=\E7:sf=\n:sr=\E[T:ta=^I:\
     5         kx 	:up=\E[A:tc=ecma+index:
     5         kx 
     5         kx # 5620 terminfo  (2.0 or later ROMS with char attributes)
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
     5         kx # Other SET-UP modes may be set for operator convenience or communication
     5         kx # requirements.  This termcap description is for Resident Terminal Mode.  No
     5         kx # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # assumptions: :sf: (scroll forward one line) is only done at screen bottom
     5         kx # Be aware that older versions of the dmd have a firmware bug that affects
     5         kx # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
     5         kx # :ms: is from an otherwise inferior BRL for this terminal.  That entry
     5         kx # also has :ll:=\E[70H commented out and marked unsafe.
     5         kx # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
     5         kx att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
     5         kx 	:NL:NP:am:bs:ms:xo:\
     5         kx 	:co#88:it#8:li#70:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:kC=\E[2J:\
     5         kx 	:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\n:\
     5         kx 	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:\
     5         kx 	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:tc=ecma+index:
     5         kx att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
     5         kx 	:li#24:tc=att5620:
     5         kx att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
     5         kx 	:li#34:tc=att5620:
     5         kx # 5620 layer running the "S" system's downloaded graphics handler:
     5         kx att5620-s|tty5620-s|layer|vitty|5620 S layer:\
     5         kx 	:am:bs:pt:\
     5         kx 	:co#80:it#8:li#72:\
     5         kx 	:al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=\r:dl=\ED:\
     5         kx 	:do=\n:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:sf=\n:ta=^I:up=^K:vb=\E^G:
     5         kx 
     5         kx # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
     5         kx #
     5         kx # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
     5         kx # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att605|AT&T 605 80 column 102key keyboard:\
     5         kx 	:am:eo:xo:\
     5         kx 	:co#80:li#24:ws#80:\
     5         kx 	:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
     5         kx 	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
     5         kx 	:i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
     5         kx 	:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
     5         kx 	:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
     5         kx 	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:
     5         kx att605-pc|ATT 605 in pc term mode:\
     5         kx 	:@7=\E[F:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:XF=g:XN=e:\
     5         kx 	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
     5         kx 	:al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
     5         kx 	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
     5         kx 	:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
     5         kx 	:kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:nd=\E[C:up=\E[A:tc=att605:
     5         kx att605-w|AT&T 605-w 132 column 102 key keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:\
     5         kx 	:tc=att605:
     5         kx # (att610: I added <rmam>/<smam> based on the init string.  I also
     5         kx # added :SF: and :SR: because the BSD file says the att615s have them,
     5         kx # and the 615 is like a 610 with a big keyboard, and most of their other
     5         kx # smart terminals support the same sequence -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx att610|AT&T 610; 80 column; 98key keyboard:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
     5         kx 	:#4=\E[ @:%i=\E[ A:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:F1=\ENq:F2=\ENr:F3=\ENs:F4=\ENt:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:LF=\E[2p:LO=\E[p:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
     5         kx 	:ho=\E[H:\
     5         kx 	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
     5         kx 	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
     5         kx 	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:k;=\ENp:\
     5         kx 	:kB=\E[Z:kC=\E[2J:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:pf=\E[?4i:po=\E[?5i:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[m:\
     5         kx 	:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:\
     5         kx 	:vi=\E[?25l:vs=\E[?12;25h:tc=ecma+index:
     5         kx att610-w|AT&T 610; 132 column; 98key keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
     5         kx 	:tc=att610:
     5         kx 
     5         kx att610-103k|AT&T 610; 80 column; 103key keyboard:\
     5         kx 	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
     5         kx 	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
     5         kx 	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
     5         kx 	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
     5         kx 	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
     5         kx 	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
     5         kx 	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
     5         kx 	:@6=\EOn:@7=\E0:@8=\r:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
     5         kx 	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:tc=att610:
     5         kx att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
     5         kx 	:tc=att610-103k:
     5         kx att615|AT&T 615; 80 column; 98key keyboard:\
     5         kx 	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
     5         kx 	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
     5         kx 	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
     5         kx 	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
     5         kx 	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:tc=att610:
     5         kx att615-w|AT&T 615; 132 column; 98key keyboard:\
     5         kx 	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
     5         kx 	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
     5         kx 	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
     5         kx 	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
     5         kx 	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
     5         kx 	:tc=att610-w:
     5         kx att615-103k|AT&T 615; 80 column; 103key keyboard:\
     5         kx 	:#4=\E[ A:%i=\E[ @:tc=att610-103k:
     5         kx att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
     5         kx 	:#4=\E[ A:%i=\E[ @:tc=att610-103k-w:
     5         kx # (att620: I added <rmam>/<smam> based on the init string and
     5         kx # :SR:/:SF: from a BSD termcap -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att620|AT&T 620; 80 column; 98key keyboard:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B\017:al=\E[L:\
     5         kx 	:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
     5         kx 	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
     5         kx 	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
     5         kx 	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
     5         kx 	:sr=\EM:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
     5         kx 	:vs=\E[?12;25h:tc=ecma+index:
     5         kx att620-w|AT&T 620; 132 column; 98key keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
     5         kx 	:tc=att620:
     5         kx att620-103k|AT&T 620; 80 column; 103key keyboard:\
     5         kx 	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
     5         kx 	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
     5         kx 	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
     5         kx 	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
     5         kx 	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
     5         kx 	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
     5         kx 	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
     5         kx 	:@6=\EOn:@7=\E0:@8=\r:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
     5         kx 	:F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
     5         kx 	:FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
     5         kx 	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:tc=att620:
     5         kx 
     5         kx att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
     5         kx 	:tc=att620-103k:
     5         kx 
     5         kx # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
     5         kx # The following SETUP modes are assumed for normal operation:
     5         kx #	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
     5         kx #	Font_Size=Large		Non-Layers_Window_Cols=80
     5         kx #				Non-Layers_Window_Rows=60
     5         kx # Other SETUP modes may be set for operator convenience or communication
     5         kx # requirements.  Some capabilities assume a printer attached to the Aux EIA
     5         kx # port.  This termcap description is for the Fixed Non-Layers Window.  No
     5         kx # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
     5         kx att630|AT&T 630 windowing terminal:\
     5         kx 	:NP:am:bs:da:db:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#60:lm#0:\
     5         kx 	:@8=\r:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
     5         kx 	:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
     5         kx 	:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
     5         kx 	:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:kA=\E[L:kB=\E[Z:kC=\E[2J:\
     5         kx 	:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:me=\E[m:mh=\E[2m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:pf=\E[?4i:po=\E[?5i:rc=\E8:rs=\Ec:sc=\E7:\
     5         kx 	:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=ecma+index:
     5         kx att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
     5         kx 	:li#24:tc=att630:
     5         kx 
     5         kx # This is the att700 entry for 700 native emulation of the AT&T 700
     5         kx # terminal.  Comments are relative to changes from the 605V2 entry and
     5         kx # att730 on which the entry is based.  Comments show the terminfo
     5         kx # capability name, termcap name, and description.
     5         kx #
     5         kx # Here is what's going onm in the init string:
     5         kx #	ESC [ 50;4|	set 700 native mode (really is 605)
     5         kx # x	ESC [ 56;ps|	set lines to 24: ps=0; 40: ps=1 (plus status line)
     5         kx #	ESC [ 53;0|	set GenFlow to Xon/Xoff
     5         kx #	ESC [ 8 ;0|	set CR on NL
     5         kx # x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
     5         kx #	ESC [ ? 4 l	jump scroll
     5         kx #	ESC [ ? 5 l/h	video: normal (l); reverse (h)
     5         kx #	ESC [ ?13 l	Labels on
     5         kx #	ESC [ ?15 l	parity check = no
     5         kx #	ESC [ 13 l	monitor mode off
     5         kx #	ESC [ 20 l	LF on NL (not CRLF on NL)
     5         kx #	ESC [ ? 7 h	autowrap on
     5         kx #	ESC [ 12 h	local echo off
     5         kx #	ESC ( B		GO = ASCII
     5         kx #	ESC ) 0		G1 = Special Char & Line Drawing
     5         kx #	ESC [ ? 31 l	Set 7 bit controls
     5         kx #
     5         kx # Note: Most terminals, especially the 600 family use Reverse Video for
     5         kx # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
     5         kx # Assume we should stay with reverse video for 70..  However, the 605V2 exits
     5         kx # standout mode with \E[m (all normal attributes).  The 730 entry simply
     5         kx # exits reverse video which would leave other current attributes intact.  It
     5         kx # was assumed the 730 entry to be more correct so rmso has changed.  The
     5         kx # 605V2 has no sequences to turn individual attributes off, thus its setting
     5         kx # and the rmso/smso settings from the 730.
     5         kx #
     5         kx # Note: For the same reason as above in rmso I changed exit under-score mode
     5         kx # to specifically turn off underscore, rather than return to all normal
     5         kx # attributes
     5         kx #
     5         kx # Note: The following pkey_xmit is taken from the 605V2 which contained the
     5         kx # capability as pfxl.  It was changed here to pfx since pfxl
     5         kx # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
     5         kx # allows strings to be parameters and label values must be programmed as
     5         kx # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
     5         kx # and strings to be parameters.  The 605V2 pfx entry should be examined later
     5         kx # in this regard. For reference the 730 pfxl entry is shown here for comparison
     5         kx # 730 pfx entry:
     5         kx #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
     5         kx # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
     5         kx #
     5         kx # (for 4.0 tic)
     5         kx #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
     5         kx #
     5         kx # (for <4.0 tic)
     5         kx #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
     5         kx #
     5         kx # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
     5         kx #
     5         kx # Port1 Interface
     5         kx #
     5         kx # modular 10 pin Connector
     5         kx # Left side       Right side
     5         kx # Pin 1 2 3 4 5 6 7 8 9 10
     5         kx #
     5         kx #        Key (notch) at bottom
     5         kx #
     5         kx # Pin    1 DSR
     5         kx #        3 DCD
     5         kx #        4 DTR
     5         kx #        5 Sig Ground
     5         kx #        6 RD
     5         kx #        7 SD
     5         kx #        8 CTS
     5         kx #        9 RTS
     5         kx #        10 Frame Ground
     5         kx #
     5         kx # The manual is 189 pages and is loaded with details about the escape codes,
     5         kx # etc..... Available from AT&T CIC 800-432-6600...
     5         kx # ask for Document number 999-300-660..
     5         kx #
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att700|AT&T 700 24x80 column display w/102key keyboard:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
     5         kx 	:fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
     5         kx 	:is=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017:\
     5         kx 	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
     5         kx 	:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
     5         kx 	:st=\EH:ta=^I:ts=\E7\E[99;%i%dx:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
     5         kx 	:vs=\E[?12;25h:tc=ansi+rep:
     5         kx 
     5         kx # This entry was modified 3/13/90 by JWE.
     5         kx # fixes include additions of <enacs>, correcting :rp:, and modification
     5         kx # of <kHOM>.  (See comments below)
     5         kx # att730 has status line of 80 chars
     5         kx # These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
     5         kx # the <kf25> and up keys are used for shifted system Fkeys
     5         kx # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
     5         kx # currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
     5         kx # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
     5         kx # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
     5         kx # 102, 102+1, or 122 key keyboards
     5         kx #       kHOM=\E[2J,
     5         kx # (att730: I added <rmam>/<smam> based on the init string -- esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att730|AT&T 730 windowing terminal:\
     5         kx 	:am:da:db:es:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#60:lm#0:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
     5         kx 	:ho=\E[H:\
     5         kx 	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
     5         kx 	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
     5         kx 	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[27m:sf=\ED:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[;%i%dx:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
     5         kx 	:vs=\E[?12;25h:tc=ansi+rep:
     5         kx att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
     5         kx 	:li#41:tc=att730:
     5         kx att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
     5         kx 	:li#24:tc=att730:
     5         kx att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
     5         kx 	:i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
     5         kx 	:vb=\E[?5l\E[?5h:tc=att730:
     5         kx att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
     5         kx 	:li#41:tc=att730r:
     5         kx att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
     5         kx 	:li#24:tc=att730r:
     5         kx 
     5         kx # The following represents the screen layout along with the associated
     5         kx # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
     5         kx # not appear on the screen but are shown to reference the bezel buttons.
     5         kx # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
     5         kx # position relative to the screen.
     5         kx #
     5         kx #
     5         kx #
     5         kx #      +----------------------------------------------------------------+
     5         kx #      |                                                                |
     5         kx # XXXX | kf0                                                       kf24 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf1                                                       kf23 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf2                                                       kf22 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf3                                                       kf21 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf4                                                       kf20 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf5                                                       kf19 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX | kf6                                                       kf18 | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx # XXXX |                                                                | XXXX
     5         kx #      |                                                                |
     5         kx #      |                                                                |
     5         kx #      +----------------------------------------------------------------+
     5         kx #
     5         kx #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
     5         kx #
     5         kx # Note: XXXX represents the screen buttons
     5         kx #                                                          CMD   REDRAW
     5         kx #
     5         kx #                                                          MAIL
     5         kx #
     5         kx # version 1 note:
     5         kx #	The character string sent by key 'kf26' may be user programmable
     5         kx #       to send either \E[16s, or \E[26s.
     5         kx #       The character string sent by key 'krfr' may be user programmable
     5         kx #       to send either \E[17s, or \E[27s.
     5         kx #
     5         kx # Depression of the "CMD" key sends    \E!    (kcmd)
     5         kx # Depression of the "MAIL" key sends   \E[26s (kf26)
     5         kx # "REDRAW" same as "REFRESH" (krfr)
     5         kx #
     5         kx # "kf" functions adds carriage return to output string if terminal is in
     5         kx # 'new line' mode.
     5         kx #
     5         kx # The following are functions not covered in the table above:
     5         kx #
     5         kx #       Set keyboard character (SKC): \EPn1;Pn2w
     5         kx #                       Pn1= 0 Back Space key
     5         kx #                       Pn1= 1 Break key
     5         kx #                       Pn2=   Program char (hex)
     5         kx #
     5         kx #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
     5         kx #                       Pn1=     Window number (1-39)
     5         kx #                       Pn2-Pn5= Y;X;Y;X coordinates
     5         kx #
     5         kx #       Screen Selection (SSL): \E[Pnu
     5         kx #                       Pn= Window number
     5         kx #
     5         kx #       Set Terminal Modes (SM): \E[Pnh
     5         kx #                       Pn= 3 Graphics mode
     5         kx #                       Pn= > Cursor blink
     5         kx #                       Pn= < Enter new line mode
     5         kx #                       Pn= = Enter reverse insert/replace mode
     5         kx #                       Pn= ? Enter no scroll mode
     5         kx #
     5         kx #       Reset Terminal Mode (RM): \E[Pnl
     5         kx #                       Pn= 3 Exit graphics mode
     5         kx #                       Pn= > Exit cursor blink
     5         kx #                       Pn= < Exit new line mode
     5         kx #                       Pn= = Exit reverse insert/replace mode
     5         kx #                       Pn= ? Exit no scroll mode
     5         kx #
     5         kx #       Screen Status Report (SSR): \E[Pnp
     5         kx #                       Pn= 0 Request current window number
     5         kx #                       Pn= 1 Request current window dimensions
     5         kx #
     5         kx #       Device Status Report (DSR): \E[6n    Request cursor position
     5         kx #
     5         kx #       Call Status Report (CSR): \E[Pnv
     5         kx #                       Pn= 0 Call failed
     5         kx #                       Pn= 1 Call successful
     5         kx #
     5         kx #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
     5         kx #                       Pn1= Button number to be loaded
     5         kx #                       Pn2= Character count of "string"
     5         kx #                       Pn3= Key mode being loaded:
     5         kx #                               0= Unshifted
     5         kx #                               1= Shifted
     5         kx #                               2= Control
     5         kx #                       String= Text string (15 chars max)
     5         kx #
     5         kx #       Screen Number Report (SNR): \E[Pnp
     5         kx #                       Pn= Screen number
     5         kx #
     5         kx #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
     5         kx #                       Pn1= Number of rows available in window
     5         kx #                       Pn2= Number of columns available in window
     5         kx #
     5         kx #       Cursor Position Report (CPR): \E[Pn1;Pn2R
     5         kx #                       Pn1= "Y" Position of cursor
     5         kx #                       Pn2= "X" Position of cursor
     5         kx #
     5         kx #       Request Answer Back (RAB): \E[c
     5         kx #
     5         kx #       Answer Back Response (ABR): \E[?;*;30;VSV
     5         kx #                       *=  0 No printer available
     5         kx #                       *=  2 Printer available
     5         kx #                       V=  Software version number
     5         kx #                       SV= Software sub version number
     5         kx #	(printer-available field not documented in v1)
     5         kx #
     5         kx #       Screen Alignment Aid: \En
     5         kx #
     5         kx #       Bell (lower pitch): \E[x
     5         kx #
     5         kx #       Dial Phone Number: \EPdstring\
     5         kx #                       string= Phone number to be dialed
     5         kx #
     5         kx #       Set Phone Labels: \EPpstring\
     5         kx #                       string= Label for phone buttons
     5         kx #
     5         kx #       Set Clock: \EPchour;minute;second\
     5         kx #
     5         kx #       Position Clock: \EPsY;X\
     5         kx #                       Y= "Y" coordinate
     5         kx #                       X= "X" coordinate
     5         kx #
     5         kx #       Delete Clock: \Epr\
     5         kx #
     5         kx #       Programming The Function Buttons: \EPfPn;string\
     5         kx #                       Pn= Button number (00-06, 18-24)
     5         kx #                                         (kf00-kf06, kf18-kf24)
     5         kx #                       string= Text to sent on button depression
     5         kx #
     5         kx # The following in version 2 only:
     5         kx #
     5         kx #       Request For Local Directory Data: \EPp12;\
     5         kx #
     5         kx #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
     5         kx #
     5         kx #	Request for Local Directory Data in print format: \EPp13;\
     5         kx #
     5         kx #	Enable 'Prt on Line' mode: \022 (DC2)
     5         kx #
     5         kx #	Disable 'Prt on Line' mode: \024 (DC4)
     5         kx #
     5         kx 
     5         kx # 05-Aug-86:
     5         kx # The following Terminfo entry describes functions which are supported by
     5         kx # the AT&T 5430/pt505 terminal software version 2 and later.
     5         kx att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC=\E[22s:\
     5         kx 	:FD=\E[23s:FE=\E[24s:FG=\E[26s:LE=\E[%dD:RA=\E[11;1j:\
     5         kx 	:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[2K:cd=\E[0J:\
     5         kx 	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=\r:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=\E[4l:ho=\E[H:\
     5         kx 	:i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
     5         kx 	:im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
     5         kx 	:k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[>l:vs=\E[>h:
     5         kx 
     5         kx # The following Terminfo entry describes functions which are supported by
     5         kx # the AT&T 5430/pt505 terminal software version 1.
     5         kx att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
     5         kx 	:li#24:\
     5         kx 	:RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
     5         kx tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
     5         kx 	:li#22:tc=att505:
     5         kx #
     5         kx #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
     5         kx # This cut mark helps make life less painful for people running ncurses tic
     5         kx # on machines with relatively little RAM.  The file can be broken in half here
     5         kx # cleanly and compiled in sections -- no `use' references cross this cut
     5         kx # going forward.
     5         kx #
     5         kx 
     5         kx #### Ampex (Dialogue)
     5         kx #
     5         kx # Yes, these are the same people who are better-known for making audio- and
     5         kx # videotape.  I'm told they are located in Redwood City, CA.
     5         kx #
     5         kx 
     5         kx # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
     5         kx # (ampex80: some capabilities merged in from SCO's entry -- esr)
     5         kx ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
     5         kx 	:am:bs:bw:ul:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=5*\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=75\E*:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:ct=\E3:dc=\EW:dl=5*\ER:do=\n:ei=:ic=\EQ:im=:is=\EA:\
     5         kx 	:le=^H:nd=^L:se=\Ek:sf=\n:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:\
     5         kx 	:us=\El:
     5         kx # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
     5         kx ampex175|ampex d175:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
     5         kx 	:kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:\
     5         kx 	:le=^H:ll=^^^K:nd=^L:se=\Ek:sf=\n:so=\Ej:te=\EF:ti=\EN:\
     5         kx 	:ue=\Em:up=^K:us=\El:
     5         kx # No backspace key in the main QWERTY cluster. Fortunately, it has a
     5         kx # NEWLINE/PAGE key just above RETURN that sends a strange single-character
     5         kx # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
     5         kx # mode), this key can be used as the erase key; I find I like this. Because
     5         kx # some people and some systems may not, there is another termcap ("ampex175")
     5         kx # that suppresses this little eccentricity by omitting the relevant capability.
     5         kx ampex175-b|ampex d175 using left arrow for erase:\
     5         kx 	:kb=^_:tc=ampex175:
     5         kx # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
     5         kx # (ampex210: removed obsolete ":kn#10:" -- esr)
     5         kx ampex210|a210|ampex a210:\
     5         kx 	:am:bs:hs:xn:\
     5         kx 	:co#80:it#8:li#24:sg#1:\
     5         kx 	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
     5         kx 	:dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
     5         kx 	:im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
     5         kx 	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
     5         kx 	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
     5         kx 	:kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
     5         kx 	:vb=\EU\EX\EU\EX\EU\EX\EU\EX:tc=adm+sgr:
     5         kx # (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
     5         kx # from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
     5         kx # and moved the padding to be *after* the caps -- esr)
     5         kx ampex219|ampex-219|amp219|Ampex with Automargins:\
     5         kx 	:hs:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:cr=\r:cs=%i\E[%2;%2r:\
     5         kx 	:do=\E[B:ho=\E[H:\
     5         kx 	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
     5         kx 	:k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:\
     5         kx 	:me=2\E[m:mh=\E[1m:mr=\E[7m:nd=2\E[C:se=2\E[m:sf=\n:\
     5         kx 	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:\
     5         kx 	:ve=\E[?3l:vs=\E[?3h:
     5         kx ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
     5         kx 	:co#132:li#24:\
     5         kx 	:bl=^G:cr=\r:do=\n:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:sf=\n:tc=ampex219:
     5         kx # (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
     5         kx ampex232|ampex-232|Ampex Model 232:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
     5         kx 	:dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
     5         kx 	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
     5         kx 	:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:tc=adm+sgr:
     5         kx # (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
     5         kx ampex232w|Ampex Model 232 / 132 columns:\
     5         kx 	:co#132:li#24:\
     5         kx 	:is=\E\034Eg\El:tc=ampex232:
     5         kx 
     5         kx #### Ann Arbor (aa)
     5         kx #
     5         kx # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
     5         kx # numbers of function keys.  At least some used monitors in portrait mode,
     5         kx # allowing up to 76-character screen heights!  They were reachable at:
     5         kx #
     5         kx #	Ann Arbor Terminals
     5         kx #	6175 Jackson Road
     5         kx #	Ann Arbor, MI 48103
     5         kx #	(313)-663-8000
     5         kx #
     5         kx # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
     5         kx # can't be found on the Web; I fear they're long dead.  R.I.P.
     5         kx #
     5         kx 
     5         kx 
     5         kx # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
     5         kx # Highly modified 6/22 by Mike O'Brien.
     5         kx # split out into several for the various screen sizes by dave-yost@rand
     5         kx # Modifications made 3/82 by Mark Horton
     5         kx # Modified by Tom Quarles at UCB for greater efficiency and more diversity
     5         kx # status line moved to top of screen, :vb: removed 5/82
     5         kx # Some unknown person at SCO then hacked the init strings to make them more
     5         kx # efficient.
     5         kx #
     5         kx # assumes the following setup:
     5         kx #   A menu: 0000 1010  0001 0000
     5         kx #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
     5         kx #   C menu: 56   66   0    0    9600  0110 1100
     5         kx #   D menu: 0110 1001   1   0
     5         kx #
     5         kx #	Briefly, the settings are for the following modes:
     5         kx #	   (values are for bit set/clear with * indicating our preference
     5         kx #	    and the value used to test these termcaps)
     5         kx #	Note that many of these settings are irrelevant to the terminfo
     5         kx #	and are just set to the default mode of the terminal as shipped
     5         kx #	by the factory.
     5         kx #
     5         kx # A menu: 0000 1010  0001 0000
     5         kx #	Block/underline cursor*
     5         kx #	blinking/nonblinking cursor*
     5         kx #	key click/no key click*
     5         kx #	bell/no bell at column 72*
     5         kx #
     5         kx #	key pad is cursor control*/key pad is numeric
     5         kx #	return and line feed/return for :cr: key *
     5         kx #	repeat after .5 sec*/no repeat
     5         kx #	repeat at 25/15 chars per sec. *
     5         kx #
     5         kx #	hold data until pause pressed/process data unless pause pressed*
     5         kx #	slow scroll/no slow scroll*
     5         kx #	Hold in area/don't hold in area*
     5         kx #	functions keys have default*/function keys disabled on powerup
     5         kx #
     5         kx #	show/don't show position of cursor during page transmit*
     5         kx #	unused
     5         kx #	unused
     5         kx #	unused
     5         kx #
     5         kx # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
     5         kx #	Baud rate (9600*)
     5         kx #
     5         kx #	2 bits of parity - 00=odd,01=even*,10=space,11=mark
     5         kx #	1 stop bit*/2 stop bits
     5         kx #	parity error detection off*/on
     5         kx #
     5         kx #	keyboard local/on line*
     5         kx #	half/full duplex*
     5         kx #	disable/do not disable keyboard after data transmission*
     5         kx #
     5         kx #	transmit entire page/stop transmission at cursor*
     5         kx #	transfer/do not transfer protected characters*
     5         kx #	transmit all characters/transmit only selected characters*
     5         kx #	transmit all selected areas/transmit only 1 selected area*
     5         kx #
     5         kx #	transmit/do not transmit line separators to host*
     5         kx #	transmit/do not transmit page tab stops tabs to host*
     5         kx #	transmit/do not transmit column tab stop tabs to host*
     5         kx #	transmit/do not transmit graphics control (underline,inverse..)*
     5         kx #
     5         kx #	enable*/disable auto XON/XOFF control
     5         kx #	require/do not require receipt of a DC1 from host after each LF*
     5         kx #	pause key acts as a meta key/pause key is pause*
     5         kx #	unused
     5         kx #
     5         kx #	unused
     5         kx #	unused
     5         kx #	unused
     5         kx #	unused
     5         kx #
     5         kx #	XON character (17*)
     5         kx #	XOFF character (19*)
     5         kx #
     5         kx # C menu: 56   66   0    0    9600  0110 1100
     5         kx #	number of lines to print data on (printer) (56*)
     5         kx #
     5         kx #	number of lines on a sheet of paper (printer) (66*)
     5         kx #
     5         kx #	left margin (printer) (0*)
     5         kx #
     5         kx #	number of pad chars on new line to printer (0*)
     5         kx #
     5         kx #	printer baud rate (9600*)
     5         kx #
     5         kx #	printer parity: 00=odd,01=even*,10=space,11=mark
     5         kx #	printer stop bits: 2*/1
     5         kx #	print/do not print guarded areas*
     5         kx #
     5         kx #	new line is: 01=LF,10=CR,11=CRLF*
     5         kx #	unused
     5         kx #	unused
     5         kx #
     5         kx # D menu: 0110 1001   1   0
     5         kx #	LF is newline/LF is down one line, same column*
     5         kx #	wrap to preceding line if move left from col 1*/don't wrap
     5         kx #	wrap to next line if move right from col 80*/don't wrap
     5         kx #	backspace is/is not destructive*
     5         kx #
     5         kx #	display*/ignore DEL character
     5         kx #	display will not/will scroll*
     5         kx #	page/column tab stops*
     5         kx #	erase everything*/erase unprotected only
     5         kx #
     5         kx #	editing extent: 0=display,1=line*,2=field,3=area
     5         kx #
     5         kx #	unused
     5         kx #
     5         kx 
     5         kx annarbor4080|aa4080|ann arbor 4080:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#40:\
     5         kx 	:bl=^G:cl=2^L:cr=\r:ct=^\^P^P:do=\n:ho=^K:kb=^^:kd=\n:kh=^K:\
     5         kx 	:kl=^H:kr=^_:ku=^N:le=^H:nd=^_:sf=\n:st=^]^P1:ta=^I:up=^N:
     5         kx 
     5         kx # Strange Ann Arbor terminal from BRL
     5         kx aas1901|Ann Arbor K4080 w/S1901 mod:\
     5         kx 	:am:\
     5         kx 	:co#80:li#40:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:ho=^K:kb=^H:kd=\n:kl=^H:le=^H:\
     5         kx 	:ll=^O\0c:nd=^_:nw=\r\n:sf=\n:ta=^I:up=^N:
     5         kx 
     5         kx # If you're using the GNU termcap library, add
     5         kx #	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
     5         kx # to these capabilities.  This is the nonstandard GNU termcap scrolling
     5         kx # capability, arguments are:
     5         kx #   1. Total number of lines on the screen.
     5         kx #   2. Number of lines above desired scroll region.
     5         kx #   3. Number of lines below (outside of) desired scroll region.
     5         kx #   4. Total number of lines on the screen, the same as the first parameter.
     5         kx # The generic Ann Arbor entry is the only one that uses this.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
     5         kx 	:am:bs:km:mi:xo:\
     5         kx 	:co#80:it#8:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=4*\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=3\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
     5         kx 	:i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\\:\
     5         kx 	:ic=4\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
     5         kx 	:k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
     5         kx 	:kd=\E[B:\
     5         kx 	:ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
     5         kx 	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
     5         kx 	:mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
     5         kx 	:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=ansi+rep:
     5         kx 
     5         kx aaa+rv|ann arbor ambassador in reverse video:\
     5         kx 	:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
     5         kx 	:me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=156\E[H\E[7m\E[J:\
     5         kx 	:se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
     5         kx # Ambassador with the DEC option, for partial vt100 compatibility.
     5         kx aaa+dec|ann arbor ambassador in dec vt100 mode:\
     5         kx 	:ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
     5         kx 	:ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:
     5         kx aaa-18|ann arbor ambassador/18 lines:\
     5         kx 	:li#18:\
     5         kx 	:is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
     5         kx 	:ti=\E[18;0;0;18p:tc=aaa+unk:
     5         kx aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-18:
     5         kx aaa-20|ann arbor ambassador/20 lines:\
     5         kx 	:li#20:\
     5         kx 	:is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
     5         kx 	:ti=\E[20;0;0;20p:tc=aaa+unk:
     5         kx aaa-22|ann arbor ambassador/22 lines:\
     5         kx 	:li#22:\
     5         kx 	:is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
     5         kx 	:ti=\E[22;0;0;22p:tc=aaa+unk:
     5         kx aaa-24|ann arbor ambassador/24 lines:\
     5         kx 	:li#24:\
     5         kx 	:is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
     5         kx 	:ti=\E[24;0;0;24p:tc=aaa+unk:
     5         kx aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-24:
     5         kx aaa-26|ann arbor ambassador/26 lines:\
     5         kx 	:li#26:\
     5         kx 	:is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[26;0;0;26p:tc=aaa+unk:
     5         kx aaa-28|ann arbor ambassador/28 lines:\
     5         kx 	:li#28:\
     5         kx 	:is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[28;0;0;28p:tc=aaa+unk:
     5         kx aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
     5         kx 	:es:hs:\
     5         kx 	:li#29:\
     5         kx 	:ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
     5         kx 	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
     5         kx 	:te=\E[60;1;0;30p\E[29;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
     5         kx 	:ts=\E[>51h\E[1;%dH\E[2K:tc=aaa+unk:
     5         kx aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-30-s:
     5         kx aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
     5         kx 	:te=\E[60;1;0;30p\E[59;1H\E[K:\
     5         kx 	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
     5         kx aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
     5         kx 	:te=\E[60;1;0;30p\E[59;1H\E[K:\
     5         kx 	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
     5         kx aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
     5         kx 	:li#30:\
     5         kx 	:is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[30;0;0;30p:tc=aaa+unk:
     5         kx aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-30:
     5         kx aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
     5         kx 	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
     5         kx 	:tc=aaa-30:
     5         kx aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
     5         kx 	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
     5         kx 	:tc=aaa+rv:tc=aaa-30:
     5         kx aaa-36|ann arbor ambassador/36 lines:\
     5         kx 	:li#36:\
     5         kx 	:is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[36;0;0;36p:tc=aaa+unk:
     5         kx aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-36:
     5         kx aaa-40|ann arbor ambassador/40 lines:\
     5         kx 	:li#40:\
     5         kx 	:is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[40;0;0;40p:tc=aaa+unk:
     5         kx aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-40:
     5         kx aaa-48|ann arbor ambassador/48 lines:\
     5         kx 	:li#48:\
     5         kx 	:is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
     5         kx 	:ti=\E[H\E[J\E[48;0;0;48p:tc=aaa+unk:
     5         kx aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-48:
     5         kx aaa-60-s|ann arbor ambassador/59 lines+status:\
     5         kx 	:es:hs:\
     5         kx 	:li#59:\
     5         kx 	:ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
     5         kx 	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
     5         kx 	:ts=\E[>51h\E[1;%dH\E[2K:tc=aaa+unk:
     5         kx aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-60-s:
     5         kx aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
     5         kx 	:tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
     5         kx aaa-60|ann arbor ambassador/60 lines:\
     5         kx 	:li#60:\
     5         kx 	:is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
     5         kx aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
     5         kx 	:tc=aaa+rv:tc=aaa-60:
     5         kx aaa-db|ann arbor ambassador 30/destructive backspace:\
     5         kx 	:bs@:\
     5         kx 	:i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
     5         kx 
     5         kx guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
     5         kx 	:li#33:\
     5         kx 	:i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
     5         kx 	:te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
     5         kx 	:tc=aaa+unk:
     5         kx guru+rv|guru changes for reverse video:\
     5         kx 	:i2=\E[>59h:vb=\E[>59l\E[>59h:
     5         kx guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
     5         kx 	:tc=guru+rv:tc=guru-33:
     5         kx guru+s|guru status line:\
     5         kx 	:es:hs:\
     5         kx 	:ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
     5         kx 	:te=\E[255;1p\E[255;1H\E[K:ti=:ts=\E[>51h\E[1;%dH\E[2K:
     5         kx guru-nctxt|guru with no saved context:\
     5         kx 	:ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
     5         kx guru-s|guru-33-s|ann arbor guru/33 lines+status:\
     5         kx 	:li#32:\
     5         kx 	:is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
     5         kx 	:ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
     5         kx guru-24|ann arbor guru 24 lines:\
     5         kx 	:co#80:li#24:\
     5         kx 	:is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:\
     5         kx 	:tc=guru+unk:
     5         kx guru-44|ann arbor guru 44 lines:\
     5         kx 	:co#97:li#44:\
     5         kx 	:is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:\
     5         kx 	:tc=guru+unk:
     5         kx guru-44-s|ann arbor guru/44 lines+status:\
     5         kx 	:li#43:\
     5         kx 	:is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
     5         kx 	:ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
     5         kx guru-76|guru with 76 lines by 89 cols:\
     5         kx 	:co#89:li#76:\
     5         kx 	:is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:\
     5         kx 	:tc=guru+unk:
     5         kx guru-76-s|ann arbor guru/76 lines+status:\
     5         kx 	:co#89:li#75:\
     5         kx 	:is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
     5         kx 	:ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
     5         kx guru-76-lp|guru-lp|guru with page bigger than line printer:\
     5         kx 	:co#134:li#76:\
     5         kx 	:is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:\
     5         kx 	:tc=guru+unk:
     5         kx guru-76-w|guru 76 lines by 178 cols:\
     5         kx 	:co#178:li#76:\
     5         kx 	:is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:\
     5         kx 	:tc=guru+unk:
     5         kx guru-76-w-s|ann arbor guru/76 lines+status+wide:\
     5         kx 	:co#178:li#75:\
     5         kx 	:is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
     5         kx 	:ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
     5         kx guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
     5         kx 	:co#178:li#76:\
     5         kx 	:is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:\
     5         kx 	:tc=guru+unk:
     5         kx aaa-rv-unk|ann arbor unknown type:\
     5         kx 	:Nl#0:lh#0:lw#0:\
     5         kx 	:ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
     5         kx 	:me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:se=\E[7m:\
     5         kx 	:so=\E[m:ue=\E[7m:us=\E[4;7m:
     5         kx 
     5         kx #### Applied Digital Data Systems (adds)
     5         kx #
     5         kx # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
     5         kx # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
     5         kx # terminals was merged again.  Then AT&T sold the terminal business to
     5         kx # SunRiver, which later changed its  name to Boundless Technologies.  The
     5         kx # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
     5         kx # as of early 1995) are at:
     5         kx #
     5         kx #	Boundless Technologies
     5         kx #	100 Marcus Boulevard
     5         kx #	Hauppauge, NY 11788-3762
     5         kx #	Vox: (800)-231-5445
     5         kx #	Fax: (516)-342-7378
     5         kx #	Web: http://boundless.com
     5         kx #
     5         kx # Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
     5         kx # In 1995 Boundless acquired DEC's terminals business.
     5         kx #
     5         kx 
     5         kx # Regent: lowest common denominator, works on all regents.
     5         kx # (regent: renamed ":bc:" to ":le:" -- esr)
     5         kx regent|Adds Regent Series:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:ho=\EY\s\s:le=^U:ll=^A:nd=^F:sf=\n:\
     5         kx 	:up=^Z:
     5         kx # Regent 100 has a bug where if computer sends escape when user is holding
     5         kx # down shift key it gets confused, so we avoid escape.
     5         kx regent100|Adds Regent 100:\
     5         kx 	:sg#1:ug#1:\
     5         kx 	:bl=^G:cm=\013%+ \020%B%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
     5         kx 	:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
     5         kx 	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
     5         kx 	:ue=\E0@:us=\E0`:tc=regent:
     5         kx regent20|Adds Regent 20:\
     5         kx 	:bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
     5         kx regent25|Adds Regent 25:\
     5         kx 	:bl=^G:kd=\n:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
     5         kx regent40|Adds Regent 40:\
     5         kx 	:sg#1:ug#1:\
     5         kx 	:al=2*\EM:bl=^G:dl=2*\El:k1=^B1\r:k2=^B2\r:k3=^B3\r:\
     5         kx 	:k4=^B4\r:k5=^B5\r:k6=^B6\r:k7=^B7\r:k8=^B8\r:l0=F1:l1=F2:\
     5         kx 	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
     5         kx 	:ue=\E0@:us=\E0`:tc=regent25:
     5         kx regent40+|Adds Regent 40+:\
     5         kx 	:is=\EB:tc=regent40:
     5         kx # It uses a different code for mapping acs vs dim/blink.
     5         kx regent60|regent200|adds200|Adds Regent 60:\
     5         kx 	:ac=jLkDl@mHnhq`tXuTv\\wPxd:ae=\E2:as=\E1:cd=\Ek:dc=\EE:\
     5         kx 	:ei=\EF:im=\EF:is=\EV\EB:kB=\EO:kD=\EE:kI=\EF:kM=\EF:kb=^H:\
     5         kx 	:se=\ER\E0@\EV:so=\ER\E0P\EV:tc=regent40+:
     5         kx # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
     5         kx # (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
     5         kx viewpoint|addsviewpoint|adds viewpoint:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=16.1*\Ek:ce=16\EK:cl=^L:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dl=\El:do=\n:is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":\
     5         kx 	:k5=^B#:kd=\n:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:\
     5         kx 	:se=^O:sf=\n:so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:\
     5         kx 	:vs=\017\E0P:
     5         kx # Some viewpoints have bad ROMs that foo up on ^O
     5         kx screwpoint|adds viewpoint with ^O bug:\
     5         kx 	:se@:so@:ue@:us@:vs@:tc=viewpoint:
     5         kx 
     5         kx # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
     5         kx # The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
     5         kx # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
     5         kx # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
     5         kx # invis=01000100 and %c is the logical or of desired attributes.
     5         kx # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
     5         kx #
     5         kx # Update by TD - 2004:
     5         kx # Adapted from
     5         kx #	https://web.archive.org/web/19990922005103/http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
     5         kx #
     5         kx # COMMANDS                        ASCII CODE
     5         kx #
     5         kx # Address, Absolute               ESC,=,row,column
     5         kx # Beep                            BEL
     5         kx # Aux Port Enable                 ESC,@
     5         kx # Aux Port Disable                ESC,A
     5         kx # Backspace                       BS
     5         kx # Cursor back                     BS
     5         kx # Cursor down                     LF
     5         kx # Cursor forward                  FF
     5         kx # Cursor home                     RS
     5         kx # Cursor up                       VT
     5         kx # Cursor suppress                 ETB
     5         kx # Cursor enable                   CAN
     5         kx # Erase to end of line            ESC,T
     5         kx # Erase to end of page            ESC,Y
     5         kx # Erase screen                    SUB
     5         kx # Keyboard lock                   SI
     5         kx # Keyboard unlock                 SO
     5         kx # Read current cursor position    ESC,?
     5         kx # Set Attribute                   ESC,0,x  (see below for values of x)
     5         kx # Tag bit reset                   ESC,(
     5         kx # Tag bit set                     ESC,)
     5         kx # Transparent Print on            ESC,3
     5         kx # Transparent Print off           ESC,4
     5         kx #
     5         kx #
     5         kx # ATTRIBUTES
     5         kx #
     5         kx # Normal                          @	0100
     5         kx # Half Intensity                  A	0101
     5         kx # Blinking                        B	0102
     5         kx # Half Intensity Blinking         C	0103
     5         kx # Reverse Video                   P	0120
     5         kx # Reverse Video Half Intensity    Q	0121
     5         kx # Reverse Video Blinking          R	0122
     5         kx # Reverse Video Half Intensity
     5         kx #    Blinking                     S	0123
     5         kx # Underlined                      `	0140
     5         kx # Underlined Half Intensity       a	0141
     5         kx # Underlined Blinking             b	0142
     5         kx # Underlined Half Intensity
     5         kx #    Blinking                     c	0143
     5         kx # Video suppress                  D	0104
     5         kx vp3a+|viewpoint3a+|adds viewpoint 3a+:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:cd=80\EY:ce=\ET:cl=80\E*:cm=\E=%+ %+ :cr=\r:do=\n:ho=^^:\
     5         kx 	:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\E0B\E):me=\E(:\
     5         kx 	:mh=\E0A\E):mk=\E0D\E):mr=\E0P\E):nd=^L:nw=\r\n:se=\E(:\
     5         kx 	:sf=\n:so=\E0Q\E):ta=^I:up=^K:us=\E0`\E):ve=^X:vi=^W:
     5         kx vp60|viewpoint60|addsvp60|adds viewpoint60:\
     5         kx 	:tc=regent40:
     5         kx #
     5         kx # adds viewpoint 90 - from cornell
     5         kx # Note:  emacs sends ei occasionally to insure the terminal is out of
     5         kx #        insert mode. This unfortunately puts the viewpoint90 IN insert
     5         kx #        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
     5         kx #   -    :ei=:im=: must be present in the termcap translation.)
     5         kx #   -    :xs: indicates glitch that attributes stick to location
     5         kx #   -    :ms: means it's safe to move in standout mode
     5         kx #   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
     5         kx #               the status line
     5         kx # Function key and label capabilities merged in from SCO.
     5         kx vp90|viewpoint90|adds viewpoint 90:\
     5         kx 	:bs:bw:ms:xs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=\n:\
     5         kx 	:ei=:ho=\EY\s\s:ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
     5         kx 	:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
     5         kx 	:k8=^B9\r:k9=\002\:\r:k;=^B;\r:kb=^H:kd=\n:kh=^A:kl=^U:\
     5         kx 	:kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
     5         kx 	:l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
     5         kx 	:se=\ER\E0@\EV:sf=\n:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
     5         kx 	:up=^Z:us=\ER\E0`\EV:
     5         kx # Note: if return acts weird on a980, check internal switch #2
     5         kx # on the top chip on the CONTROL pc board.
     5         kx adds980|a980|adds consul 980:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=13\E\016:bl=^G:cl=^L^K@:cm=\013%+@\E\005%2:cr=\r:\
     5         kx 	:dl=13\E\017:do=\n:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:\
     5         kx 	:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:\
     5         kx 	:se=^O:sf=\n:so=^Y^^^N:
     5         kx 
     5         kx #### C. Itoh Electronics
     5         kx #
     5         kx # As of 1995 these people no longer make terminals (they're still in the
     5         kx # printer business).  Their terminals were all clones of the DEC VT series.
     5         kx # They're located in Orange County, CA.
     5         kx #
     5         kx 
     5         kx # CIT 80  - vt-52 emulator, the termcap has been modified to remove
     5         kx #           the delay times and do an auto tab set rather than the indirect
     5         kx #           file used in vt100.
     5         kx cit80|cit-80|citoh 80:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=\r:do=\E[B:\
     5         kx 	:ff=^L:is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h\E=:ku=\EOA:le=^H:nd=\E[C:sf=\n:up=\E[A:
     5         kx # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
     5         kx # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
     5         kx cit101|citc|C.itoh fast vt100:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#80:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
     5         kx 	:ic=\E[@:im=:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
     5         kx 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
     5         kx # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
     5         kx # The following termcap entry was created from the Callan cd100 entry.  The
     5         kx # last two lines (with the capabilities in caps) are used by RM-cobol to allow
     5         kx # full selection of combinations of reverse video, underline, and blink.
     5         kx # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
     5         kx # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
     5         kx # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
     5         kx cit101e|C. Itoh CIT-101e:\
     5         kx 	:am:bs:mi:ms:pt:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
     5         kx 	:k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
     5         kx 	:le=\E[D:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
     5         kx # From: David S. Lawyer, June 1997:
     5         kx # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
     5         kx # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
     5         kx # late 1980's CIT Terminals went out of business.
     5         kx # There is no need to use the initialization string is=... (by invoking
     5         kx # tset or setterm etc.) provided that the terminal has been manually set
     5         kx # up (and the setup saved with ^S) to be compatible with this termcap.  To be
     5         kx # compatible it should be in ANSI mode (not VT52).   A set-up that
     5         kx # works is to set all the manually settable stuff to factory defaults
     5         kx # by pressing ^D in set-up mode.  Then increase the brightness with the
     5         kx # up-arrow key since the factory default will likely be dim on an old
     5         kx # terminal.  Then change any options you want (provided that they are
     5         kx # compatible with the termcap).  For my terminal I set: Screen
     5         kx # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
     5         kx # on.  I also set up mine for parity (but you may not need it).  Then
     5         kx # save the setup with ^S.
     5         kx # (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
     5         kx cit101e-rv|Citoh CIT-101e (sets reverse video):\
     5         kx 	:am:eo:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:is=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
     5         kx 	:ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
     5         kx 	:u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:\
     5         kx 	:tc=ecma+index:
     5         kx cit101e-n|CIT-101e w/o am:\
     5         kx 	:am@:\
     5         kx 	:kb=^H:kd=\n:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
     5         kx cit101e-132|CIT-101e with 132 cols:\
     5         kx 	:co#132:\
     5         kx 	:kb=^H:kd=\n:kl=^H:tc=cit101e:
     5         kx cit101e-n132|CIT-101e with 132 cols w/o am:\
     5         kx 	:am@:\
     5         kx 	:co#132:\
     5         kx 	:kb=^H:kd=\n:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
     5         kx # CIE Terminals CIT-500 from BRL
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
     5         kx #	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
     5         kx #	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
     5         kx # Other SET-UP modes may be set for operator convenience or communication
     5         kx # requirements.
     5         kx # Hardware tabs are assumed to be set every 8 columns; they can be set up
     5         kx # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
     5         kx # "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # (cit500: I added <rmam>/<smam> based on the init string -- esr)
     5         kx cit500|CIE Terminals CIT-500:\
     5         kx 	:bs:mi:ms:pt:xo:\
     5         kx 	:co#80:it#8:kn#10:li#64:vt#3:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
     5         kx 	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
     5         kx 	:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
     5         kx 	:k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
     5         kx 	:k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
     5         kx 	:kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
     5         kx 	:l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
     5         kx 	:ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:\
     5         kx 	:r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:
     5         kx 
     5         kx # C. Itoh printers begin here
     5         kx citoh|ci8510|8510|c.itoh 8510a:\
     5         kx 	:co#80:it#8:\
     5         kx 	:is=\E(009,017,025,033,041,049,057,065,073.:le@:md=\E!:\
     5         kx 	:me=\E"\EY:rp=\ER%r%3%.:sr=\Er:ue=\EY:us=\EX:tc=lpr:
     5         kx citoh-pica|citoh in pica:\
     5         kx 	:i1=\EN:tc=citoh:
     5         kx citoh-elite|citoh in elite:\
     5         kx 	:co#96:\
     5         kx 	:i1=\EE:\
     5         kx 	:is=\E(009,017,025,033,041,049,057,065,073,081,089.:\
     5         kx 	:tc=citoh:
     5         kx citoh-comp|citoh in compressed:\
     5         kx 	:co#136:\
     5         kx 	:i1=\EQ:\
     5         kx 	:is=\E(009,017,025,033,041,049,057,065,073,081,089,097,105,113,121,129.:\
     5         kx 	:tc=citoh:
     5         kx # citoh has infinite cols because we don't want lp ever inserting \n\t**.
     5         kx citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
     5         kx 	:co#32767:\
     5         kx 	:i1=\EP:tc=citoh:
     5         kx citoh-6lpi|citoh in 6 lines per inch mode:\
     5         kx 	:i2=\EA:tc=citoh:
     5         kx citoh-8lpi|citoh in 8 lines per inch mode:\
     5         kx 	:li#88:\
     5         kx 	:i2=\EB:tc=citoh:
     5         kx 
     5         kx #### Control Data (cdc)
     5         kx #
     5         kx 
     5         kx cdc456|cdc 456 terminal:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=\r:dl=\EJ:\
     5         kx 	:do=\n:ho=^Y:le=^H:nd=^L:sf=\n:up=^Z:
     5         kx 
     5         kx # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
     5         kx cdc721|CDC Viking:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=\n:kh=^Y:kl=^H:kr=^I:\
     5         kx 	:ku=^W:nd=^X:up=^W:
     5         kx cdc721ll|CDC Viking with long lines:\
     5         kx 	:am:bs:\
     5         kx 	:co#132:li#24:\
     5         kx 	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=\n:kh=^Y:kl=^H:kr=^I:\
     5         kx 	:ku=^W:nd=^X:up=^W:
     5         kx # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
     5         kx cdc752|CDC 752:\
     5         kx 	:am:bs:bw:xs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:ce=^V:cl=\030\E1\s\s:cm=\E1%r%+ %+ :cr=\r:do=\n:\
     5         kx 	:ho=\E1\s\s:le=^H:ll=^Y:nd=^U:r1=\E1  \030\002\003\017:\
     5         kx 	:sf=\n:up=^Z:
     5         kx # CDC 756
     5         kx # The following switch/key settings are assumed for normal operation:
     5         kx #	96 chars	SCROLL		FULL duplex	not BLOCK
     5         kx # Other switches may be set according to communication requirements.
     5         kx # Insert/delete-character cannot be used, as the whole display is affected.
     5         kx # "so" & "se" are commented out until jove handles "sg" correctly.
     5         kx cdc756|CDC 756:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:kn#10:li#24:\
     5         kx 	:al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=\r:\
     5         kx 	:dl=6*\EJ:do=\n:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
     5         kx 	:k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
     5         kx 	:kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=\n:kh=^Y:kl=^H:kr=^U:\
     5         kx 	:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
     5         kx 	:l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=^Y^X^B^C^O:sf=\n:up=^Z:
     5         kx #
     5         kx # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
     5         kx #
     5         kx # Part of the long initialization string defines the "DOWN" key to the left
     5         kx # of the tab key to send an ESC.  The real ESC key is positioned way out
     5         kx # in right field.
     5         kx #
     5         kx # The termcap won't work in 132 column mode due to the way it it moves the
     5         kx # cursor.  Termcap doesn't have the capability (as far as I could tell) to
     5         kx # handle the 721 in 132 column mode.
     5         kx #
     5         kx # (cdc721: changed :ri: to :sr: -- esr)
     5         kx cdc721-esc|Control Data 721:\
     5         kx 	:am:bs:bw:ms:pt:xo:\
     5         kx 	:co#80:it#8:kn#10:li#30:\
     5         kx 	:al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
     5         kx 	:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
     5         kx 	: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-` `!k/o:\
     5         kx 	:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
     5         kx 	:k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
     5         kx 	:ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:me=^O^U^]^^E^^^R\\:\
     5         kx 	:mh=^\:mk=^^^R[:mr=^^D:nd=^X:se=^^E:sf=\036W =\036U:so=^^D:\
     5         kx 	:sr=\036W =\036V:st=^^^RW:ue=^]:up=^W:us=^\:
     5         kx 
     5         kx #### Getronics
     5         kx #
     5         kx # Getronics is a Dutch electronics company that at one time was called
     5         kx # `Geveke' and made async terminals; but (according to the company itself!)
     5         kx # they've lost all their documentation on the command set.  The hardware
     5         kx # documentation suggests the terminals were actually manufactured by a
     5         kx # Taiwanese electronics company named Cal-Comp.  There are known
     5         kx # to have been at least two models, the 33 and the 50.
     5         kx #
     5         kx 
     5         kx # The 50 seems to be a top end vt220 clone, with the addition of a higher
     5         kx # screen resolution, a larger screen, at least 1 page of memory above and
     5         kx # below the screen, apparently pages of memory right and left of the screen
     5         kx # which can be panned, and about 75 function keys (15 function keys x normal,
     5         kx # shift, control, func A, func B). It also has more setup possibilities than
     5         kx # the vt220. The monitor case is dated November 1978 and the keyboard case is
     5         kx # May 1982.
     5         kx #
     5         kx # The vt100 emulation works as is.  The entry below describes the rather
     5         kx # non-conformant (but more featureful) ANSI mode.
     5         kx #
     5         kx # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx visa50|geveke visa 50 terminal in ansi 80 character mode:\
     5         kx 	:bw:mi:ms:\
     5         kx 	:co#80:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E?7h:UP=\E[%dA:ae=\E[3l:al=\E[L:\
     5         kx 	:as=\E3h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:cv=\E[%i%dd:dc=\E[X:dl=\E[M:do=\E[B:ei=\E[4l:\
     5         kx 	:ho=\E[H:ic=\E[@:im=\E[4h:\
     5         kx 	:is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
     5         kx 	:k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
     5         kx 	:k7=\E007:k8=\E008:k9=\E009:k;=\E011:kD=\177:kL=\EOS:kb=^H:\
     5         kx 	:kd=\E[A:ke=\E>:kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
     5         kx 	:l2=A delete char:l3=A insert line:l4=A delete line:\
     5         kx 	:l5=A clear:l6=A ce of/cf gn:l7=A print:l8=A on-line:\
     5         kx 	:l9=A funcl0=A send:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;2m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\r\n:se=\E[0;2m:\
     5         kx 	:sf=\n:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:\
     5         kx 	:vb=\E[?5h\E[?5l:
     5         kx 
     5         kx #### Human Designed Systems (Concept)
     5         kx #
     5         kx #	Human Designed Systems
     5         kx #	400 Fehley Drive
     5         kx #	King of Prussia, PA 19406
     5         kx #	Vox: (610)-277-8300
     5         kx #	Fax: (610)-275-5739
     5         kx #	Net: support@hds.com
     5         kx #
     5         kx # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
     5         kx # the character-terminal business now (1995) and making X terminals.  In
     5         kx # particular, the whole `Concept' line described here was discontinued long
     5         kx # ago.
     5         kx #
     5         kx 
     5         kx # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
     5         kx # Extensive changes to c108 by arpavax:eric Feb 1982
     5         kx # Some unknown person at SCO then translated it to terminfo.
     5         kx #
     5         kx # There seem to be a number of different versions of the C108 PROMS
     5         kx # (with bug fixes in its Z-80 program).
     5         kx #
     5         kx # The first one that we had would lock out the keyboard of you
     5         kx # sent lots of short lines (like /usr/dict/words) at 9600 baud.
     5         kx # Try that on your C108 and see if it sends a ^S when you type it.
     5         kx # If so, you have an old version of the PROMs.
     5         kx #
     5         kx # You should configure the C108 to send ^S/^Q before running this.
     5         kx # It is much faster (at 9600 baud) than the c100 because the delays
     5         kx # are not fixed.
     5         kx # new status line display entries for c108-8p:
     5         kx # :i3: - init str #3 - setup term for status display -
     5         kx # set programmer mode, select window 2, define window at last
     5         kx # line of memory, set bkgnd stat mesg there, select window 0.
     5         kx #
     5         kx # :ts: - to status line - select window 2, home cursor, erase to
     5         kx # end-of-window, 1/2 bright on, goto(line#0, col#?)
     5         kx #
     5         kx # :fs: - from status line - 1/2 bright off, select window 0
     5         kx #
     5         kx # :ds: - disable status display - set bkgnd status mesg with
     5         kx # illegal window #
     5         kx #
     5         kx # There are probably more function keys that should be added but
     5         kx # I don't know what they are.
     5         kx #
     5         kx # No delays needed on c108 because of ^S/^Q handshaking
     5         kx #
     5         kx c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
     5         kx 	:i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n:\
     5         kx 	:te=\Ev  \001\177p\Ep\r\n:tc=c108-4p:
     5         kx c108-4p|concept108-4p|concept 108 w/4 pages:\
     5         kx 	:bs:es:hs:xo:\
     5         kx 	:pb@:\
     5         kx 	:ac=jEkTl\\mMqLxU:ae=\Ej\s:as=\Ej!:cr=\r:dc=16*\E 1:\
     5         kx 	:ds=\E ;\177:fs=\Ee\E z\s:i1=\EK\E!\E F:\
     5         kx 	:i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n:\
     5         kx 	:sf=\n:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
     5         kx 	:ve=\Ew:vs=\EW:tc=c100:
     5         kx c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
     5         kx 	:te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
     5         kx 	:tc=c108-rv-4p:
     5         kx c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
     5         kx 	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:tc=c108-4p:
     5         kx c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
     5         kx 	:co#132:\
     5         kx 	:i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
     5         kx 	:ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
     5         kx 
     5         kx # Concept 100:
     5         kx # These have only window relative cursor addressing, not screen
     5         kx # relative. To get it to work right here, smcup/rmcup (which
     5         kx # were invented for the concept) lock you into a one page
     5         kx # window for screen style programs.
     5         kx #
     5         kx # To get out of the one page window, we use a clever trick:
     5         kx # we set the window size to zero ("\Ev    " in rmcup) which the
     5         kx # terminal recognizes as an error and resets the window to all
     5         kx # of memory.
     5         kx #
     5         kx # This trick works on c100 but does not on c108, sigh.
     5         kx #
     5         kx # Some tty drivers use cr3 for concept, others use nl3, hence
     5         kx # the delays on cr and ind below. This padding is only needed at
     5         kx # 9600 baud and up.  One or the other is commented out depending on
     5         kx # local conventions.
     5         kx #
     5         kx # 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
     5         kx # less than 6 but more than 2 will work.
     5         kx #
     5         kx # Note: can't use function keys f7-f10 because they are
     5         kx # indistinguishable from arrow keys (!), also, del char and
     5         kx # clear eol use xon/xoff so they probably won't work very well.
     5         kx #
     5         kx # Also note that we don't define insrt/del char/delline/eop/send
     5         kx # because they don't transmit unless we reset them - I figured
     5         kx # it was a bad idea to clobber their definitions.
     5         kx #
     5         kx # The <mc5> sequence changes the escape character to ^^ so that
     5         kx # escapes will be passed through to the printer. Only trouble
     5         kx # is that ^^ won't be - ^^ was chosen to be unlikely.
     5         kx # Unfortunately, if you're sending raster bits through to be
     5         kx # plotted, any character you choose will be likely, so we lose.
     5         kx #
     5         kx # \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
     5         kx # cannot be # in is2 because it will hang a c100 with no printer
     5         kx # if sent twice.
     5         kx c100|concept100|concept|c104|c100-4p|hds concept 100:\
     5         kx 	:am:bs:eo:mi:ul:xn:\
     5         kx 	:co#80:li#24:pb#9600:vt#8:\
     5         kx 	:al=3*\E\022:bl=^G:cd=16*\E\005:ce=16\E\025:\
     5         kx 	:cl=2*\E?\E\005:cm=\Ea%+ %+ :cr=\r:dc=16*\E\021:\
     5         kx 	:dl=3*\E\002:do=\n:ei=\E\s\s:i1=\EK:i2=\Ev    \Ep\n:\
     5         kx 	:im=\E^P:ip=16*:\
     5         kx 	:is=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c:\
     5         kx 	:k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\:a:k7=\E\:b:\
     5         kx 	:k8=\E\:c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
     5         kx 	:kL=\E^B:kM=\E\0:kN=\E-:kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:kb=^H:\
     5         kx 	:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:ku=\E;:\
     5         kx 	:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:nd=\E=:\
     5         kx 	:pf=\036o \E\EQ!\EYP\027:po=\EQ"\EY(\027\EYD\Eo \036:\
     5         kx 	:rp=.2*\Er%.%+ :se=\Ed:sf=\n:so=\ED:ta=8^I:\
     5         kx 	:te=\Ev    \Ep\r\n:ti=16\EU\Ev  8p\Ep\r\E\025:ue=\Eg:\
     5         kx 	:up=\E;:us=\EG:vb=\Ek\EK:
     5         kx c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
     5         kx 	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
     5         kx oc100|oconcept|c100-1p|old 1 page concept 100:\
     5         kx 	:in:\
     5         kx 	:i3@:tc=c100:
     5         kx 
     5         kx # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
     5         kx # Lots of notes, originally inline, but ncurses doesn't grok that.
     5         kx #
     5         kx # am:	not available in power on mode, but turned on with \E[=107;207h in
     5         kx #	is2=.  Also, \E=124l in is2= could have been used to prevent needing
     5         kx #	to specify xenl:, but that would have rendered the last space on the
     5         kx #	last line useless.
     5         kx # bw:	Not available in power on mode, but turned on with \E[=107;207h in
     5         kx #	is2=.
     5         kx # clear: Could be done with \E[2J alone, except that vi (and probably most
     5         kx #	other programs) assume that this also homes the cursor.
     5         kx # dsl:	Go to window 2, go to the beginning of the line, use a line feed to
     5         kx #	scroll the window, and go back to window 1.
     5         kx # is2:	the string may cause a warning to be issued by tic that it
     5         kx #	found a very long line and that it suspects that a comma is missing
     5         kx #	somewhere.  This warning can be ignored (unless it comes up more than
     5         kx #	once).  The initialization string contains the following commands:
     5         kx #
     5         kx #	 [Setup mode items changed from factory defaults:]
     5         kx #		\E)0			set alternate character set to
     5         kx #						graphics
     5         kx #		^O			set character set to default
     5         kx #	 [In case it wasn't]
     5         kx #		\E[m			turn off all attributes
     5         kx #	 [In case they weren't off]
     5         kx #		\E[=107;		cursor wrap and
     5         kx #			207h			character wrap on
     5         kx #		\E[90;3u		set Fkey definitions to "transmit"
     5         kx #						defaults
     5         kx #		\E[92;3u		set cursor key definitions to
     5         kx #						"transmit" defaults
     5         kx #		\E[43;1u		set shift F13 to transmit...
     5         kx #		\177\E$P\177
     5         kx #		\E[44;1u		set shift F14 to transmit...
     5         kx #			\177\E$Q\177
     5         kx #		\E[45;1u		set shift F15 to transmit...
     5         kx #			\177\E$R\177
     5         kx #		\E[46;1u		set shift F16 to transmit...
     5         kx #			\177\E$S\177
     5         kx #		\E[200;1u		set shift up to transmit...
     5         kx #			\177\E$A\177
     5         kx #		\E[201;1u		set shift down to transmit...
     5         kx #			\177\E$B\177
     5         kx #		\E[202;1u		set shift right to transmit...
     5         kx #			\177\E$C\177
     5         kx #		\E[203;1u		set shift left to transmit...
     5         kx #			\177\E$D\177
     5         kx #		\E[204;1u		set shift home to transmit...
     5         kx #			\177\E$H\177
     5         kx #		\E[212;1u		set backtab to transmit...
     5         kx #			\177\E$I\177
     5         kx #		\E[213;1u		set shift backspace to transmit...
     5         kx #			\177\E$^H\177
     5         kx #		\E[214;1u		set shift del to transmit...
     5         kx #			"\E$\177"
     5         kx #	 [Necessary items not mentioned in setup mode:]
     5         kx #		\E[2!w			move to window 2
     5         kx #		\E[25;25w		define window as line 25 of memory
     5         kx #		\E[!w			move to window 1
     5         kx #		\E[2*w			show current line of window 2 as
     5         kx #						status line
     5         kx #		\E[2+x			set meta key to use high bit
     5         kx #		\E[;3+}			move underline to bottom of character
     5         kx #
     5         kx #	All Fkeys are set to their default transmit definitions with \E[90;3u
     5         kx #	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
     5         kx #	setting MUST be redefined or deactivated, because the default is
     5         kx #	contained in almost all of this terminal's Fkey strings!  If for some
     5         kx #	reason "quit" cannot be altered, the Fkeys can, but it would be
     5         kx #	necessary to change ^| to ^] in all of these definitions, and add
     5         kx #	\E[2;029!t to is2.
     5         kx # lines: is set to 24 because this terminal refuses to treat the 25th
     5         kx #	line normally.
     5         kx # ll:	Not available in power on mode, but turned on with \E[=107;207h in
     5         kx #	is2=.
     5         kx # lm:	Pointless, given that this definition locks a single screen of
     5         kx #	memory into view, but what the hey...
     5         kx # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
     5         kx #	other attributes alone), but some programs expect this to turn off
     5         kx #	everything.
     5         kx # rmul: Could use \E[4!{ to turn off only underline (leaving any other
     5         kx #	attributes alone), but some programs expect this to turn off
     5         kx #	everything.
     5         kx # sgr:	Attributes are set on this terminal with the string \E[ followed by
     5         kx #	a list of attribute code numbers (in decimal, separated by
     5         kx #	semicolons), followed by the character m.  The attribute code
     5         kx #	numbers are:
     5         kx #		  1 for bold;
     5         kx #		  2 for dim (which is ignored in power on mode);
     5         kx #		  4 for underline;
     5         kx #		  5 for blinking;
     5         kx #		  7 for inverse;
     5         kx #		  8 for not displayable; and
     5         kx #		=99 for protected (except that there are strange side
     5         kx #		effects to protected characters which make them inadvisable).
     5         kx #	 The mapping of terminfo parameters to attributes is as follows:
     5         kx #		%p1 (standout) = bold and inverse together;
     5         kx #		%p2 (underline) = underline;
     5         kx #		%p3 (reverse) = inverse;
     5         kx #		%p4 (blink) = blinking;
     5         kx #		%p5 (dim) is ignored;
     5         kx #		%p6 (bold) = bold;
     5         kx #		%p7 (invisible) = not displayable;
     5         kx #		%p8 (protected) is ignored; and
     5         kx #		%p9 (alt char set) = alt char set.
     5         kx #	 The code to do this is:
     5         kx #		\E[0		OUTPUT	\E[0
     5         kx #		%?%p1%p6%O	IF	(standout; bold) OR
     5         kx #		%t;1		THEN	OUTPUT	;1
     5         kx #		%;		ENDIF
     5         kx #		%?%p2		IF	underline
     5         kx #		%t;4		THEN	OUTPUT	;4
     5         kx #		%;		ENDIF
     5         kx #		%?%p4		IF	blink
     5         kx #		%t;5		THEN	OUTPUT	;5
     5         kx #		%;		ENDIF
     5         kx #		%?%p1%p3%O	IF	(standout; reverse) OR
     5         kx #		%t;7		THEN	OUTPUT	;7
     5         kx #		%;		ENDIF
     5         kx #		%?%p7		IF	invisible
     5         kx #		%t;8		THEN	OUTPUT	;8
     5         kx #		%;		ENDIF
     5         kx #		m		OUTPUT	m
     5         kx #		%?%p9		IF	altcharset
     5         kx #		%t^N		THEN	OUTPUT	^N
     5         kx #		%e^O		ELSE	OUTPUT	^O
     5         kx #		%;		ENDIF
     5         kx # sgr0: Everything is turned off (including alternate character set), since
     5         kx #	there is no way of knowing what it is that the program wants turned
     5         kx #	off.
     5         kx # smul: The "underline" attribute is reconfigurable to an overline or
     5         kx #	strike-through, or (as done with \E[;3+} in is2=), to a line at the true
     5         kx #	bottom of the character cell.  This was done to allow for more readable
     5         kx #	underlined characters, and to be able to distinguish between an
     5         kx #	underlined space, an underscore, and an underlined underscore.
     5         kx # xenl: Terminal can be configured to not need this, but this "glitch"
     5         kx #	behavior is actually preferable with autowrap terminals.
     5         kx #
     5         kx # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
     5         kx # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
     5         kx # string modifies the 'O' in kf43 to kf46 to a '$'.
     5         kx #
     5         kx # kcbt was originally ^I but redefined in is2=.
     5         kx # kHOM was \E[H originally but redefined in is2=, as were a number of
     5         kx # other keys.
     5         kx # kDC was originally \177 but redefined in is2=.
     5         kx #
     5         kx # kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
     5         kx # tsl:	Go to window 2, then do an hpa=.
     5         kx #
     5         kx #------- flash=\E[8;3!}^G\E[3;3!}
     5         kx #------- flash=\E[?5h$<100>\E[?5l
     5         kx # There are two ways to flash the screen, both of which have their drawbacks.
     5         kx # The first is to set the bell mode to video, transmit a bell character, and
     5         kx # set the bell mode back - but to what?  There is no way of knowing what the
     5         kx # user's old bell setting was before we messed with it.  Worse, the command to
     5         kx # set the bell mode also sets the key click volume, and there is no way to say
     5         kx # "leave that alone", or to know what it's set to, either.
     5         kx # The second way to do a flash is to set the screen to inverse video, pad for a
     5         kx # tenth of a second, and set it back - but like before, there's no way to know
     5         kx # that the screen wasn't ALREADY in inverse video, or that the user may prefer
     5         kx # it that way.  The point is moot anyway, since vi (and probably other
     5         kx # programs) assume that by defining flash=, you want the computer to use it
     5         kx # INSTEAD of bel=, rather than as a secondary type of signal.
     5         kx #
     5         kx #------- cvvis=\E[+{
     5         kx # The is the power on setting, which is also as visible as the cursor
     5         kx # gets.
     5         kx #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
     5         kx # Windowing is possible, but not defined here because it is also used to
     5         kx # emulate status line functions.  Allowing a program to set a window could
     5         kx # clobber the status line or render it unusable.  There is additional memory,
     5         kx # but screen scroll functions are destructive and do not make use of it.
     5         kx #
     5         kx #-------   dim=			Not available in power on mode.
     5         kx # You have a choice of defining low intensity characters as "half bright" and
     5         kx # high intensity as "normal", or defining low as "normal" and high as "bold".
     5         kx # No matter which you choose, only one of either "half bright" or "bold" is
     5         kx # available at any time, so taking the time to override the default is
     5         kx # pointless.
     5         kx #
     5         kx #-------  prot=\E[=0;99m
     5         kx # Not defined, because it appears to have some strange side effects.
     5         kx #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
     5         kx #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
     5         kx #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
     5         kx #	 Available, but making them available to programs is inadvisable.
     5         kx #	 The code to do this is:
     5         kx #		%?%p1%{24}%<	IF	((key; 24) <;
     5         kx #		%p1%{30}%>		 ((key; 30) >;
     5         kx #		%p1%{54}%<		  (key; 54) <
     5         kx #		%A			 ) AND
     5         kx #		%O			) OR
     5         kx #	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
     5         kx #		%t\E[		THEN	OUTPUT	\E[
     5         kx #		%p1%d			OUTPUT	(key) as decimal
     5         kx #	 [next line applies to pfx only]
     5         kx #		;1			OUTPUT	;1
     5         kx #		u			OUTPUT	u
     5         kx #		\177			OUTPUT	\177
     5         kx #		%p2%s			OUTPUT	(string) as string
     5         kx #		\177			OUTPUT	\177
     5         kx #	 [DEL chosen as delimiter, but could be any character]
     5         kx #	 [implied:		ELSE	do nothing]
     5         kx #		%;		ENDIF
     5         kx #
     5         kx #-------   rs2=
     5         kx # Not defined since anything it might do could be done faster and easier with
     5         kx # either Meta-Shift-Reset or the main power switch.
     5         kx #
     5         kx #-------  smkx=\E[1!z
     5         kx #-------  rmkx=\E[!z
     5         kx # These sequences apply to the cursor and setup keys only, not to the
     5         kx # numeric keypad.  But it doesn't matter anyway, since making these
     5         kx # available to programs is inadvisable.
     5         kx # For the key definitions below, all sequences beginning with \E$ are
     5         kx # custom and programmed into the terminal via is2.  \E$ also has no
     5         kx # meaning to any other terminal.
     5         kx #
     5         kx #------- cmdch=\E[;%p1%d!t
     5         kx # Available, but making it available to programs is inadvisable.
     5         kx #------- smxon=\E[1*q
     5         kx # Available, but making it available to programs is inadvisable.
     5         kx # Terminal will send XON/XOFF on buffer overflow.
     5         kx #------- rmxon=\E[*q
     5         kx # Available, but making it available to programs is inadvisable.
     5         kx # Terminal will not notify on buffer overflow.
     5         kx #-------   smm=\E[2+x
     5         kx #-------   rmm=\E[+x
     5         kx # Available, but making them available to programs is inadvisable.
     5         kx #
     5         kx # Printing:
     5         kx #	 It's not made clear in the manuals, but based on other ansi/vt type
     5         kx #	 terminals, it's a good guess that this terminal is capable of both
     5         kx #	 "transparent print" (which doesn't copy data to the screen, and
     5         kx #	 therefore needs mc5i: specified to say so) and "auxiliary print"
     5         kx #	 (which does duplicate printed data on the screen, in which case mc4=
     5         kx #	 and mc5= should use the \E[?4i and \E[?5i strings instead).
     5         kx 
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx # (some function-key capabilities suppressed to fit entry within 1023 bytes)
     5         kx hds200|Human Designed Systems HDS200:\
     5         kx 	:am:bw:es:hs:km:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:lm#0:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ds=\E[2!w\r\n\E[!w:ei=\E[4l:fs=\E[!w:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}:\
     5         kx 	:kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
     5         kx 	:md=\E[0;1m:me=\E[0m:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
     5         kx 	:ta=^I:ts=\E[2!w\E[%i%dG:ue=\E[m\017:up=\E[A:us=\E[0;4m:\
     5         kx 	:ve=\E[+{:vi=\E[6+{:tc=ansi+pp:
     5         kx 
     5         kx # :ta: through :ce: included to specify padding needed in raw mode.
     5         kx # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
     5         kx avt-ns|concept avt no status line:\
     5         kx 	:am:bs:eo:mi:ul:xn:xo:\
     5         kx 	:co#80:it#8:li#24:lm#192:\
     5         kx 	:AL=4*\E[%dL:DL=4*\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ac=:ae=1^N:al=4\E[L:as=1^O:bl=^G:\
     5         kx 	:bt=\E[Z:cd=96\E[J:ce=6\E[K:cl=38\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=4\E[M:do=\n:\
     5         kx 	:ei=\E[4l:ho=\E[H:i1=\E[=103l\E[=205l:ic=\E[@:im=\E[4h:\
     5         kx 	:ip=4:\
     5         kx 	:is=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E\003\r:kD=\E\002\r:\
     5         kx 	:kI=\E\001\r:kS=\E\004\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:le=^H:\
     5         kx 	:ll=\E[24H:mb=\E[5m:md=\E[1m:me=1\E[m:mh=\E[1!{:mk=\E[8m:\
     5         kx 	:mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:pl=\E[%d;0u#%s#:\
     5         kx 	:po=\E[5i:ps=\E[0i:px=\E[%d;1u#%s#:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[7!{:sf=8\n:so=\E[7m:sr=4\EM:st=\EH:ta=4^I:\
     5         kx 	:te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:ue=\E[4!{:\
     5         kx 	:up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:tc=ansi+rep:
     5         kx avt-rv-ns|concept avt in reverse video mode/no status line:\
     5         kx 	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt-ns:
     5         kx avt-w-ns|concept avt in 132 column mode/no status line:\
     5         kx 	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt-ns:
     5         kx avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
     5         kx 	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
     5         kx 	:vb=\E[=205l\E[=205h:tc=avt-ns:
     5         kx 
     5         kx # Concept AVT with status line. We get the status line using the
     5         kx # "Background status line" feature of the terminal. We swipe the
     5         kx # first line of memory in window 2 for the status line, keeping
     5         kx # 191 lines of memory and 24 screen lines for regular use.
     5         kx # The first line is used instead of the last so that this works
     5         kx # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
     5         kx # assumes an 8 page AVT but lm isn't currently used anywhere.)
     5         kx #
     5         kx avt+s|concept avt status line changes:\
     5         kx 	:es:hs:\
     5         kx 	:lm#191:\
     5         kx 	:ds=\E[0*w:fs=\E[1;1!w:\
     5         kx 	:i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
     5         kx 	:te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
     5         kx 	:ts=\E[2;1!w\E[;%dH\E[2K:
     5         kx avt|avt-s|concept-avt|avt w/80 columns:\
     5         kx 	:tc=avt+s:tc=avt-ns:
     5         kx avt-rv|avt-rv-s|avt reverse video w/sl:\
     5         kx 	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:\
     5         kx 	:tc=avt-ns:
     5         kx avt-w|avt-w-s|concept avt 132 cols+status:\
     5         kx 	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:\
     5         kx 	:tc=avt-ns:
     5         kx avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
     5         kx 	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
     5         kx 	:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
     5         kx 
     5         kx #### Contel Business Systems.
     5         kx #
     5         kx 
     5         kx # Contel c300 and c320 terminals.
     5         kx contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
     5         kx 	:am:in:xo:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=5.5*\EL:bl=^G:cd=5.5*\EJ:ce=5.5\EI:cl=\EK:\
     5         kx 	:cm=\EX%+ \EY%+ :cr=\r:ct=\E3:dc=5.5*\EO:dl=5.5*\EM:do=\n:\
     5         kx 	:ei=:ho=\EH:ic=\EN:im=:ip=5.5*:k0=\ERJ:k1=\ERA:k2=\ERB:\
     5         kx 	:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:\
     5         kx 	:kb=^H:le=^H:ll=\EH\EA:me=\E!\0:nd=\EC:se=\E!\0:sf=\n:\
     5         kx 	:so=\E!\r:st=\E1:up=\EA:vb=^P^B^P^C:
     5         kx # Contel c301 and c321 terminals.
     5         kx contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
     5         kx 	:ic@:ip@:se=20\E!\0:so=20\E!\r:vb@:tc=contel300:
     5         kx 
     5         kx #### Data General (dg)
     5         kx #
     5         kx # According to James Carlson <carlson@xylogics.com> writing in January 1995,
     5         kx # the terminals group at Data General was shut down in 1991; all these
     5         kx # terminals have thus been discontinued.
     5         kx #
     5         kx # DG terminals have function keys that respond to the SHIFT and CTRL keys,
     5         kx # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
     5         kx # sequentially, first the unmodified key codes are listed as F1 through F15.
     5         kx # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
     5         kx # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
     5         kx # F46 through F60.  This is done in the private "includes" below whose names
     5         kx # start with "dgkeys+".
     5         kx #
     5         kx # DG terminals generally support 8 bit characters.  For each of these terminals
     5         kx # two descriptions are supplied:
     5         kx #	1) A default description for 8 bits/character communications, which
     5         kx #	   uses the default DG international character set and keyboard codes.
     5         kx #	2) A description with suffix "-7b" for 7 bits/character communications.
     5         kx #	   This description must use the NON-DEFAULT native keyboard language.
     5         kx 
     5         kx # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
     5         kx # Ctrl/Shift fdkeys (kf34-kf44).
     5         kx 
     5         kx dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys:\
     5         kx 	:%9=\233i:F1=\233011z:F2=\233012z:F3=\233013z:\
     5         kx 	:F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
     5         kx 	:F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
     5         kx 	:FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
     5         kx 	:FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
     5         kx 	:FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
     5         kx 	:FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
     5         kx 	:FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
     5         kx 	:FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
     5         kx 	:Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
     5         kx 	:Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
     5         kx 	:Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
     5         kx 	:Fm=\233313z:Fn=\233314z:Fo=\233300z:K1=\233020z:\
     5         kx 	:K3=\233021z:K4=\233022z:K5=\233023z:k1=\233001z:\
     5         kx 	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
     5         kx 	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
     5         kx 	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
     5         kx 	:kl=\233D:kr=\233C:ku=\233A:
     5         kx 
     5         kx dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys:\
     5         kx 	:%9=\E[i:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:\
     5         kx 	:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:\
     5         kx 	:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:\
     5         kx 	:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:\
     5         kx 	:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:\
     5         kx 	:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:\
     5         kx 	:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:\
     5         kx 	:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:\
     5         kx 	:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:\
     5         kx 	:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:\
     5         kx 	:Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
     5         kx 	:k1=\E[001z:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:\
     5         kx 	:k6=\E[006z:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:\
     5         kx 	:kC=\E[2J:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
     5         kx 
     5         kx dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys:\
     5         kx 	:F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
     5         kx 	:F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
     5         kx 	:FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\::FN=^^;:FO=^^!:\
     5         kx 	:FP=^^":FQ=^^#:FR=^^$:FS=^^%%:FT=^^&:FU=^^':FV=^^(:FW=^^):\
     5         kx 	:FX=^^*:FY=^^+:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
     5         kx 	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:\
     5         kx 	:kr=^X:ku=^W:
     5         kx 
     5         kx dgkeys+15|Private entry describing 15 DG mode special keys:\
     5         kx 	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
     5         kx 	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
     5         kx 	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
     5         kx 	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
     5         kx 	:FU=^^\::FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
     5         kx 	:Fc=^^#:Fd=^^$:Fe=^^%%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
     5         kx 	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\s:K1=^^\\:K3=^^]:\
     5         kx 	:K4=^^\136:K5=^^_:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
     5         kx 	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:
     5         kx 
     5         kx # Data General color terminals use the "Tektronix" color model.  The total
     5         kx # number of colors varies with the terminal model, as does support for
     5         kx # attributes used in conjunction with color.
     5         kx 
     5         kx # Removed u7, u8 definitions since they conflict with tack:
     5         kx #		Preserve user-defined colors in at least some cases.
     5         kx #	u7=^^Fh,
     5         kx #		Default is ACM mode.
     5         kx #	u8=^^F}20^^Fi^^F}21,
     5         kx #
     5         kx dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode:\
     5         kx 	:ut:\
     5         kx 	:Co#16:NC#53:pa#256:\
     5         kx 	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
     5         kx 
     5         kx dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
     5         kx 	:tc=dgunix+fixed:
     5         kx 
     5         kx # Video attributes are coordinated using static variables set by "sgr", then
     5         kx # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
     5         kx # (D=dim, U=underline, B=blink, R=reverse.)
     5         kx dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode:\
     5         kx 	:ut:\
     5         kx 	:Co#8:NC#16:pa#64:\
     5         kx 	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
     5         kx 
     5         kx dg+color|Color info for Data General D470C terminals in ANSI mode:\
     5         kx 	:Co#16:NC#53:pa#256:tc=dg+color8:
     5         kx 
     5         kx dgmode+color8|Color info for Data General D220/D230C terminals in DG mode:\
     5         kx 	:ut:\
     5         kx 	:Co#8:NC#16:pa#64:\
     5         kx 	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
     5         kx 
     5         kx dgmode+color|Color info for Data General D470C terminals in DG mode:\
     5         kx 	:Co#16:pa#256:tc=dgmode+color8:
     5         kx 
     5         kx dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
     5         kx 	:cc:ut:\
     5         kx 	:Co#52:NC#53:pa#26:\
     5         kx 	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
     5         kx 	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:
     5         kx 
     5         kx # Colors are in the order:  normal, reverse, dim, dim + reverse.
     5         kx dg+ccc|Configurable color info for DG D430C terminals in DG mode:\
     5         kx 	:cc:ut:\
     5         kx 	:Co#52:NC#53:pa#26:\
     5         kx 	:oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
     5         kx 	:op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=:
     5         kx 
     5         kx # The generic DG terminal type (an 8-bit-clean subset of the 6053)
     5         kx # Initialization string 1 sets:
     5         kx #	^R		- vertical scrolling enabled
     5         kx #	^C		- blinking enabled
     5         kx dg-generic|Generic Data General terminal in DG mode:\
     5         kx 	:NL:am:bw:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=\r:do=^Z:i1=^R^C:le=^Y:\
     5         kx 	:mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=\n:ps=^Q:se=^]:sf=\n:so=^\:\
     5         kx 	:ue=^U:up=^W:us=^T:tc=dgkeys+11:
     5         kx 
     5         kx # According to the 4.4BSD termcap file, the dg200 :cm: should be the
     5         kx # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
     5         kx # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
     5         kx # maybe they were originally nuls (which would fit).
     5         kx 
     5         kx dg200|data general dasher 200:\
     5         kx 	:NL:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=\r:do=^Z:ho=^H:k0=^^z:\
     5         kx 	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
     5         kx 	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
     5         kx 	:nw=\n:se=^^E:sf=\n:so=^^D:ue=^U:up=^W:us=^T:
     5         kx 
     5         kx # Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
     5         kx dg210|dg-ansi|Data General 210/211:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:nd=\E[C:\
     5         kx 	:nl=\E[B:nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:\
     5         kx 	:up=\E[A:us=\E[4;m:
     5         kx # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
     5         kx # courtesy of Carlos Rucalde of Vantage Software, Inc.
     5         kx # (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
     5         kx # I suspect the d200 function keys actually work on the dg211, check it out.)
     5         kx dg211|Data General d211:\
     5         kx 	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=\r^Z:\
     5         kx 	:se=0^^E:sf@:so=5^^D:ta=^I:te=^L:ti=^L^R:ve=^L:vs=^L^R:\
     5         kx 	:tc=dg200:
     5         kx 
     5         kx # dg450 from Cornell (not official)
     5         kx dg450|dg6134|data general 6134:\
     5         kx 	:le@:nd=^X:tc=dg200:
     5         kx 
     5         kx # Not official...
     5         kx # Note: lesser Dasher terminals will not work with vi because vi insists upon
     5         kx # having a command to move straight down from any position on the bottom line
     5         kx # and scroll the screen up, or a direct vertical scroll command.  The 460 and
     5         kx # above have both, the D210/211, for instance, has neither.  We must use ANSI
     5         kx # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
     5         kx # backspace on all terminals.  This is not so in DG mode.
     5         kx # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
     5         kx # grounds that there is no matching ":ml:"
     5         kx dg460-ansi|Data General Dasher 460 in ANSI-mode:\
     5         kx 	:am:bs:ms:ul:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
     5         kx 	:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
     5         kx 	:k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\:z:kb=\E[D:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
     5         kx 	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:\
     5         kx 	:me=\E(B\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:ps=\E[i:\
     5         kx 	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:u6=\E[%d;%dR:\
     5         kx 	:u7=\E[6n:u8=\E[5n:u9=\E[0n:ue=\E[05:up=\E[A:us=\E[4m:
     5         kx # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
     5         kx # Data General 605x
     5         kx # Ought to work for a Model 6242, Type D210 as well as a 605x.
     5         kx # Note that the cursor-down key transmits ^Z.  Job control users, beware!
     5         kx # This also matches a posted description of something called a `Dasher 100'
     5         kx # so there's a dg100 alias here.
     5         kx # (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
     5         kx dg6053-old|dg100|data general 6053:\
     5         kx 	:am:bs:bw:ul:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=\r:do=^Z:ho=^H:\
     5         kx 	:is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
     5         kx 	:k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
     5         kx 	:le=^Y:nd=^X:se=\0^^E:so=\0\0\0\0\0\036D:ta=^I:te=^L:\
     5         kx 	:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
     5         kx 
     5         kx # (Some performance can be gained over the generic DG terminal type)
     5         kx dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053:\
     5         kx 	:xo@:\
     5         kx 	:ho=\020\0\0:ll=^P\0^W:tc=dg-generic:
     5         kx 
     5         kx # Like 6053, but adds reverse video and more keypad and function keys.
     5         kx d200|d200-dg|Data General DASHER D200:\
     5         kx 	:ho@:ll@:md=^^D^T:me=^O^U^]^^E:mr=^^D:se=^^E^]:so=^^D^\:\
     5         kx 	:tc=dgkeys+15:tc=dg6053:
     5         kx 
     5         kx # DASHER D210 series terminals in ANSI mode.
     5         kx #	Reverse video, no insert/delete character/line, 7 bits/character only.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	<0		- scrolling enabled
     5         kx #	<1		- blink enabled
     5         kx #	<4		- print characters regardless of attributes
     5         kx d210|d214|Data General DASHER D210 series:\
     5         kx 	:NL:am:bw:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=\r:do=\E[B:\
     5         kx 	:ho=\E[H:i1=\E[<0;<1;<4l:le=^H:ll=\E[H\E[A:mb=\E[5m:\
     5         kx 	:md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\n:\
     5         kx 	:se=\E[m:sf=\n:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=dgkeys+7b:
     5         kx 
     5         kx # DASHER D210 series terminals in DG mode.
     5         kx # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
     5         kx d210-dg|d214-dg|Data General DASHER D210 series in DG mode:\
     5         kx 	:xo:\
     5         kx 	:cd=^^FF:tc=d200-dg:
     5         kx 
     5         kx # DASHER D211 series terminals in ANSI mode.
     5         kx # Like the D210, but with 8-bit characters and local printer support.
     5         kx #
     5         kx # Initialization string 2 sets:
     5         kx #	\E[2;1;1;1v
     5         kx #		2;1	- 8 bit operations
     5         kx #		1;1	- 8 bit (international) keyboard language
     5         kx #	\E(B		- default primary character set (U.S. ASCII)
     5         kx #	\E)4		- default secondary character set (international)
     5         kx #	^O		- primary character set
     5         kx #
     5         kx d211|d215|Data General DASHER D211 series:\
     5         kx 	:km:\
     5         kx 	:is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:\
     5         kx 	:tc=d210:
     5         kx 
     5         kx # Initialization string 2 sets:
     5         kx #	\E[2;0;1;0v
     5         kx #		2;0	- 7 bit operations
     5         kx #		1;0	- 7 bit (native) keyboard language
     5         kx #	\E(0		- default character set (the keyboard native language)
     5         kx #	^O		- primary character set
     5         kx d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
     5         kx 	:km@:\
     5         kx 	:is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
     5         kx 
     5         kx # Like the D210 series, but adds support for 8-bit characters.
     5         kx #
     5         kx # Reset string 2 sets:
     5         kx #	^^N	- secondary character set
     5         kx #	^^FS0>	- 8 bit international character set
     5         kx #	^^O	- primary character set
     5         kx #	^^FS00	- default character set (matching the native keyboard language)
     5         kx #
     5         kx d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
     5         kx 	:km:\
     5         kx 	:rs=\036N\036FS0>\036O\036FS00:tc=d210-dg:
     5         kx 
     5         kx d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode:\
     5         kx 	:tc=d211-dg:
     5         kx 
     5         kx # Enhanced DG mode with changes to be more UNIX compatible.
     5         kx d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode:\
     5         kx 	:5i:\
     5         kx 	:it#8:\
     5         kx 	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
     5         kx 	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:\
     5         kx 	:as=\036FS11:ce=^^PE:ch=\020%.\177:cl=^^PH:cv=\020\177%.:\
     5         kx 	:do=^^PB:ho=^^PF:i1=^R^C^^P@1:i2=^^Fz0:kC=^^PH:kE=^^PE:\
     5         kx 	:kd=^^PB:kh=^^PF:kl=^^PD:kr=^^PC:ku=^^PA:le=^^PD:mb=^^PI:\
     5         kx 	:me=\036PJ\025\035\036E\036FS00:nd=^^PC:pf=^^Fa:po=^^F`:\
     5         kx 	:ps=^^F?9:rs=\036N\036FS0E\036O\036FS00:sf=\n:ta=^I:\
     5         kx 	:up=^^PA:tc=dgkeys+15:tc=d216-dg:
     5         kx d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines:\
     5         kx 	:li#25:\
     5         kx 	:i2=^^Fz2:tc=d216+:
     5         kx 
     5         kx d217-unix|Data General DASHER D217 in DG-UNIX mode:\
     5         kx 	:tc=d216-unix:
     5         kx d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines:\
     5         kx 	:tc=d216-unix-25:
     5         kx 
     5         kx # DASHER D220 color terminal in ANSI mode.
     5         kx # Like the D470C but with fewer colors and screen editing features.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	\E[<0;<1;<4l
     5         kx #		<0	- scrolling enabled
     5         kx #		<1	- blink enabled
     5         kx #		<4	- print characters regardless of attributes
     5         kx #	\E[m		- all attributes off
     5         kx # Reset string 1 sets:
     5         kx #	\Ec		- initial mode defaults (RIS)
     5         kx #
     5         kx d220|Data General DASHER D220:\
     5         kx 	:5i@:\
     5         kx 	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
     5         kx 	:tc=dg+color8:tc=d470c:
     5         kx 
     5         kx d220-7b|Data General DASHER D220 in 7 bit mode:\
     5         kx 	:5i@:\
     5         kx 	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
     5         kx 	:tc=dg+color8:tc=d470c-7b:
     5         kx 
     5         kx # Initialization string 3 sets:
     5         kx #	- default cursor (solid rectangle)
     5         kx # Reset string 2 sets:
     5         kx #	^^N     - secondary character set
     5         kx #	^^FS0>  - 8 bit international character set
     5         kx #	^^O     - primary character set
     5         kx #       ^^FS00  - default character set (matching the native keyboard language)
     5         kx #
     5         kx d220-dg|Data General DASHER D220 color terminal in DG mode:\
     5         kx 	:5i@:\
     5         kx 	:al@:dl@:ho@:i2=^^FQ2:is@:ll@:pf@:po@:r1@:\
     5         kx 	:rs=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
     5         kx 	:tc=d470c-dg:
     5         kx 
     5         kx # DASHER D230C color terminal in ANSI mode.
     5         kx # Like the D220 but with minor ANSI compatibility improvements.
     5         kx #
     5         kx d230c|d230|Data General DASHER D230C:\
     5         kx 	:ke=\E[2;1v:ks=\E[2;0v:mb=\E[5;50m:md=\E[4;7;50m:\
     5         kx 	:me=\E[50m\E)4\017:mh=\E[2;50m:mr=\E[7;50m:nw=\r\n:\
     5         kx 	:se=\E[50m:so=\E[2;7;50m:ue=\E[50m:us=\E[4;50m:\
     5         kx 	:tc=dgkeys+7b:tc=d220:
     5         kx 
     5         kx d230c-dg|d230-dg|Data General DASHER D230C in DG mode:\
     5         kx 	:tc=d220-dg:
     5         kx 
     5         kx # DASHER D400/D450 series terminals.
     5         kx # These add intelligent features like insert/delete to the D200 series.
     5         kx #
     5         kx # Initialization string 2 sets:
     5         kx #	^^FQ2		- default cursor (solid rectangle)
     5         kx #	^^FW		- character protection disabled
     5         kx #	^^FJ		- normal (80 column) mode
     5         kx #	^^F\^		- horizontal scrolling enabled (for alignment)
     5         kx #	^^FX004?	- margins at columns 0 and 79
     5         kx #	^^F]		- horizontal scrolling disabled
     5         kx #	^^O		- primary character set
     5         kx #	^^FS00		- default character set (the keyboard native language)
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx # Reset string 1 sets:
     5         kx #	^^FA		- all terminal defaults except scroll rate
     5         kx # Reset string 2 sets:
     5         kx #	^^F]		- horizontal scrolling disabled
     5         kx #	^^FT0		- jump scrolling
     5         kx #
     5         kx d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
     5         kx 	:5i:\
     5         kx 	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
     5         kx 	:ch=\020%.\177:cv=\020\177%.:dc=^^K:dl=^^FI:\
     5         kx 	:eA=\036N\036FS11\036O:ei=:ho=^^FG:ic=^^J:im=:\
     5         kx 	:is=\036FQ2\036FW\036FJ\036F\136\036FX004?\036F]\036O\036FS00:\
     5         kx 	:ll=^^FG^W:me=^O^U^]^^E^^O:pf=^^Fa:po=^^F`:r1=^^FA:\
     5         kx 	:r2=\036F]\036FT0:sr=^^I:ve=^^FQ2:vi=^^FQ0:tc=d210-dg:
     5         kx 
     5         kx # DASHER D410/D460 series terminals in ANSI mode.
     5         kx # These add a large number of intelligent terminal features.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	\E[<0;<1;<2;<4l
     5         kx #		<0	- scrolling enabled
     5         kx #		<1	- blink enabled
     5         kx #		<2	- horizontal scrolling enabled (for alignment)
     5         kx #		<4	- print characters regardless of attributes
     5         kx #	\E[5;0v		- normal (80 column) mode
     5         kx #	\E[1;1;80w	- margins at columns 1 and 80
     5         kx #	\E[1;6;<2h
     5         kx #		1	- print all characters even if protected
     5         kx #		6	- character protection disabled
     5         kx #		<2	- horizontal scrolling disabled
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx #
     5         kx # Initialization string 2 sets:
     5         kx #	\E[3;2;2;1;1;1v
     5         kx #		3;2	- default cursor (solid rectangle)
     5         kx #		2;1	- 8 bit operations
     5         kx #		1;1	- international keyboard language
     5         kx #	\E(B		- default primary character set (U.S. ASCII)
     5         kx #	\E)4		- default secondary character set (international)
     5         kx #	^O		- primary character set
     5         kx #
     5         kx #	Reset string 1 sets:
     5         kx #	\Ec		- initial mode defaults (RIS)
     5         kx #	\E[<2h		- horizontal scrolling disabled
     5         kx #
     5         kx # Reset string 2 sets:
     5         kx #	\E[4;0;2;1;1;1v
     5         kx #		4;0	- jump scrolling
     5         kx #		2;1	- 8 bit operations
     5         kx #		1;1	- 8 bit (international) keyboard language
     5         kx #	\E(B		- default primary character set (U.S. ASCII)
     5         kx #	\E)4		- default secondary character set (international)
     5         kx #
     5         kx d410|d411|d460|d461|Data General DASHER D410/D460 series:\
     5         kx 	:5i:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
     5         kx 	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:al=\E[L:\
     5         kx 	:as=\E)6\016:dc=\E[P:dl=\E[M:ei=:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
     5         kx 	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:me=\E[m:\
     5         kx 	:pf=\E[4i:po=\E[5i:r1=\Ec\E[<2h:\
     5         kx 	:r2=\E[4;0;2;1;1;1v\E(B\E)4:sr=\EM:ve=\E[3;2v:\
     5         kx 	:vi=\E[3;0v:tc=d211:
     5         kx 
     5         kx # Initialization string 2 sets:
     5         kx #	\E[3;2;2;0;1;0v
     5         kx #		3;2	- default cursor (solid rectangle)
     5         kx #		2;0	- 7 bit operations
     5         kx #		1;0	- 7 bit (native) keyboard language
     5         kx #	\E(0		- default character set (the keyboard native language)
     5         kx #	^O		- primary character set
     5         kx #
     5         kx # Reset string 2 sets:
     5         kx #	\E[4;0;2;0;1;0v
     5         kx #		4;0	- jump scrolling
     5         kx #		2;0	- 7 bit operations
     5         kx #		1;0	- 7 bit (native) keyboard language
     5         kx #	\E(0		- default character set (the keyboard native language)
     5         kx #
     5         kx d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
     5         kx 	:km@:\
     5         kx 	:ae=^O:as=^N:eA=\E)6:is=\E[3;2;2;0;1;0v\E(0\017:me=\E[m:\
     5         kx 	:rs=\E[4;0;2;0;1;0v\E(0:tc=dgkeys+7b:tc=d410:
     5         kx 
     5         kx d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode:\
     5         kx 	:km:\
     5         kx 	:ae=\036FS00:as=\036FS11:eA@:\
     5         kx 	:me=\017\025\035\036E\036FS00:tc=d400-dg:
     5         kx 
     5         kx # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	\E[<0;<1;<2;<4l
     5         kx #		<0	- scrolling enabled
     5         kx #		<1	- blink enabled
     5         kx #		<2	- horizontal scrolling enabled (for alignment)
     5         kx #		<4	- print characters regardless of attributes
     5         kx #	\E[5;1v		- compressed (135 column) mode
     5         kx #	\E[1;1;126	- margins at columns 1 and 126
     5         kx #	\E[1;6;<2h
     5         kx #		1	- print all characters even if protected
     5         kx #		6	- character protection disabled
     5         kx #		<2	- horizontal scrolling disabled
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx #
     5         kx # Reset string 1 sets:
     5         kx #	\Ec		- initial mode defaults (RIS)
     5         kx #	\E[5;1v		- compressed (135 column) mode
     5         kx #	\E[1;1;126w	- margins at columns 1 and 126
     5         kx #	\E[<2h		- horizontal scrolling disabled
     5         kx #
     5         kx d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
     5         kx 	:co#126:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
     5         kx 	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:tc=d410:
     5         kx 
     5         kx d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
     5         kx 	:co#126:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
     5         kx 	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:tc=d410-7b:
     5         kx 
     5         kx d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode:\
     5         kx 	:tc=d410-dg:
     5         kx 
     5         kx # These add intelligent features like scrolling regions.
     5         kx d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
     5         kx 	:al=^^FH:cl=^^FE:dc=^^K:dl=^^FI:ei=:ho=^^FG:ic=^^J:im=:\
     5         kx 	:is=\036FQ5\036FW\036FJ\036F\136\036FX004F\036O\036FS00:\
     5         kx 	:ll=\036FG\036PA:ps=^A:r1=\036FA\036FT0:r2=^^P@1:\
     5         kx 	:rc=\036F}11:sc=\036F}10:sr=^^I:ve=^^FQ5:vi=^^FQ0:\
     5         kx 	:tc=d216+:
     5         kx d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode:\
     5         kx 	:co#132:\
     5         kx 	:is=\036FQ5\036FW\036FK\036F\136\036FX0083\036O\036FS00:\
     5         kx 	:rs=\036P@1\036FK\036FX0083:tc=d412-unix:
     5         kx d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines:\
     5         kx 	:li#25:\
     5         kx 	:i2=^^Fz2:tc=d462+:
     5         kx d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
     5         kx 	:es:hs:\
     5         kx 	:cl=\036FG\036PH:fs=\036F}01\022:\
     5         kx 	:i2=\036Fz2\036F}00\036FB180000\036F}01:ll@:tc=d462+:
     5         kx 
     5         kx #	Relative cursor motions are confined to the current window,
     5         kx #	which is not what the scrolling region specification expects.
     5         kx #	Thus, relative vertical cursor positioning must be deleted.
     5         kx d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region:\
     5         kx 	:do@:ll@:up@:tc=d462+:
     5         kx 
     5         kx d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode:\
     5         kx 	:tc=d412-unix:
     5         kx d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode:\
     5         kx 	:tc=d412-unix-w:
     5         kx d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines:\
     5         kx 	:tc=d412-unix-25:
     5         kx d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line:\
     5         kx 	:tc=d412-unix-s:
     5         kx d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region:\
     5         kx 	:tc=d412-unix-sr:
     5         kx 
     5         kx d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
     5         kx 	:tc=d413-unix:
     5         kx d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode:\
     5         kx 	:tc=d413-unix-w:
     5         kx d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines:\
     5         kx 	:tc=d413-unix-25:
     5         kx d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line:\
     5         kx 	:tc=d413-unix-s:
     5         kx d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\
     5         kx 	:tc=d413-unix-sr:
     5         kx 
     5         kx d430c-dg|d430-dg|Data General D430C in DG mode:\
     5         kx 	:tc=d413-dg:tc=dg+fixed:
     5         kx d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors:\
     5         kx 	:tc=d413-dg:tc=dg+ccc:
     5         kx 
     5         kx d430c-unix|d430-unix|Data General D430C in DG-UNIX mode:\
     5         kx 	:tc=d413-unix:tc=dgunix+fixed:
     5         kx d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
     5         kx 	:tc=d413-unix-w:tc=dgunix+fixed:
     5         kx d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines:\
     5         kx 	:tc=d413-unix-25:tc=dgunix+fixed:
     5         kx d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line:\
     5         kx 	:tc=d413-unix-s:tc=dgunix+fixed:
     5         kx d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
     5         kx 	:tc=d413-unix-sr:tc=dgunix+fixed:
     5         kx d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
     5         kx 	:tc=d413-unix:tc=dgunix+ccc:
     5         kx d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
     5         kx 	:tc=d413-unix-w:tc=dgunix+ccc:
     5         kx d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
     5         kx 	:tc=d413-unix-25:tc=dgunix+ccc:
     5         kx d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
     5         kx 	:tc=d413-unix-s:tc=dgunix+ccc:
     5         kx d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
     5         kx 	:tc=d413-unix-sr:tc=dgunix+ccc:
     5         kx 
     5         kx # DASHER D470C color terminal in ANSI mode.
     5         kx # Like the D460 but with 16 colors and without a compressed mode.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	\E[<0;<1;<2;<4l
     5         kx #		<0	- scrolling enabled
     5         kx #		<1	- blink enabled
     5         kx #		<2	- horizontal scrolling enabled (for alignment)
     5         kx #		<4	- print characters regardless of attributes
     5         kx #	\E[1;1;80w	- margins at columns 1 and 80
     5         kx #	\E[1;6;<2h
     5         kx #		1	- print all characters even if protected
     5         kx #		6	- character protection disabled
     5         kx #		<2	- horizontal scrolling disabled
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx #
     5         kx d470c|d470|Data General DASHER D470C:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=dg+color:\
     5         kx 	:tc=d460:
     5         kx 
     5         kx d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=dg+color:\
     5         kx 	:tc=d460-7b:
     5         kx 
     5         kx # Initialization string 2 sets:
     5         kx #	^^FQ2		- default cursor (solid rectangle)
     5         kx #	^^FW		- character protection disabled
     5         kx #	^^F\^		- horizontal scrolling enabled (for alignment)
     5         kx #	^^FX004?	- margins at columns 0 and 79
     5         kx #	^^F]		- horizontal scrolling disabled
     5         kx #	^^O		- primary character set
     5         kx #	^^FS00		- default character set (the keyboard native language)
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx #
     5         kx d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
     5         kx 	:is=\036FQ2\036FW\036F\136\036FX004?\036F]\036O\036FS00:\
     5         kx 	:tc=dgmode+color:tc=d460-dg:
     5         kx 
     5         kx # DASHER D555 terminal in ANSI mode.
     5         kx # Like a D411, but has an integrated phone.
     5         kx d555|Data General DASHER D555:\
     5         kx 	:tc=d411:
     5         kx d555-7b|Data General DASHER D555 in 7-bit mode:\
     5         kx 	:tc=d411-7b:
     5         kx d555-w|Data General DASHER D555 in wide mode:\
     5         kx 	:tc=d411-w:
     5         kx d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
     5         kx 	:tc=d411-7b-w:
     5         kx d555-dg|Data General DASHER D555 series in DG mode:\
     5         kx 	:tc=d411-dg:
     5         kx 
     5         kx # DASHER D577 terminal in ANSI mode.
     5         kx # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
     5         kx d577|Data General DASHER D577:\
     5         kx 	:tc=d411:
     5         kx d577-7b|Data General DASHER D577 in 7-bit mode:\
     5         kx 	:tc=d411-7b:
     5         kx d577-w|Data General DASHER D577 in wide mode:\
     5         kx 	:tc=d411-w:
     5         kx d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
     5         kx 	:tc=d411-7b-w:
     5         kx 
     5         kx d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode:\
     5         kx 	:tc=d411-dg:
     5         kx 
     5         kx # DASHER D578 terminal.
     5         kx # Like a D577, but without compressed mode; like a D470C in this respect.
     5         kx #
     5         kx # Initialization string 1 sets:
     5         kx #	\E[<0;<1;<2;<4l
     5         kx #		<0	- scrolling enabled
     5         kx #		<1	- blink enabled
     5         kx #		<2	- horizontal scrolling enabled (for alignment)
     5         kx #		<4	- print characters regardless of attributes
     5         kx #	\E[1;1;80w	- margins at columns 1 and 80
     5         kx #	\E[1;6;<2h
     5         kx #		1	- print all characters even if protected
     5         kx #		6	- character protection disabled
     5         kx #		<2	- horizontal scrolling disabled
     5         kx #	- (should reset scrolling regions, but that glitches the screen)
     5         kx #
     5         kx d578|Data General DASHER D578:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577:
     5         kx d578-7b|Data General DASHER D578 in 7-bit mode:\
     5         kx 	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
     5         kx 
     5         kx #### Datamedia (dm)
     5         kx #
     5         kx # Datamedia was headquartered in Nashua, New Hampshire until it went
     5         kx # out of business in 1993, but the ID plates on the terminals referred
     5         kx # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
     5         kx # manufacturer which threw out all information about the terminals.
     5         kx #
     5         kx 
     5         kx cs10|colorscan|Datamedia Color Scan 10:\
     5         kx 	:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%2;%2H:cr=\r:\
     5         kx 	:do=\n:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\n:\
     5         kx 	:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx cs10-w|Datamedia Color Scan 10 with 132 columns:\
     5         kx 	:co#132:\
     5         kx 	:cm=\E[%i%2;%3H:tc=cs10:
     5         kx 
     5         kx # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
     5         kx dm1520|dm1521|datamedia 1520:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=\r:do=\n:ho=^Y:\
     5         kx 	:kd=\n:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=\n:ta=^I:up=^_:
     5         kx # dm2500: this terminal has both :IC: and :im:. Applications using
     5         kx # termcap/terminfo directly (rather than through ncurses) might be confused.
     5         kx dm2500|datamedia2500|datamedia 2500:\
     5         kx 	:bs:nc:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=15\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
     5         kx 	:cm=\014%r%n%.%.:dc=10*^P^H^X^]:dl=10*^P^Z^X^]:dm=^P:\
     5         kx 	:do=\n:ed=^X^]:ei=10\377\377\030\035:ho=^B:\
     5         kx 	:ic=10*^P^\^X^]:im=^P:le=^H:nd=^\:pc=\377:se=^X^]:sf=\n:\
     5         kx 	:so=^N:up=^Z:
     5         kx # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
     5         kx # also, has a meta-key.
     5         kx # From: <goldberger@su-csli.arpa>
     5         kx # (dmchat: ":MT:" changed to ":km:" -- esr)
     5         kx dmchat|dmchat version of datamedia 2500:\
     5         kx 	:km:\
     5         kx 	:al=1*\020\n\030\035\030\035:dl=2^P^Z^X^]:tc=dm2500:
     5         kx # (dm3025: ":MT:" changed to ":km:" -- esr)
     5         kx dm3025|datamedia 3025a:\
     5         kx 	:bs:km:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=130\EP\n\EQ:bl=^G:cd=2\EJ:ce=\EK:cl=2\EM:\
     5         kx 	:cm=\EY%r%+ %+ :cr=\r:dc=6^H:dl=130\EP\EA\EQ:dm=\EP:do=\n:\
     5         kx 	:ed=\EQ:ei=\EQ:ho=\EH:im=\EP:ip=6:is=\EQ\EU\EV:le=^H:nd=\EC:\
     5         kx 	:se=\EO0:sf=\n:so=\EO1:ta=^I:up=\EA:
     5         kx dm3045|datamedia 3045a:\
     5         kx 	:am:bs:eo:km@:ul:xn:\
     5         kx 	:al@:dc=6\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
     5         kx 	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
     5         kx 	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
     5         kx 	:tc=dm3025:
     5         kx # Datamedia DT80 soft switches:
     5         kx # 1	0=Jump  1=Smooth
     5         kx #	Autorepeat	0=off  1=on
     5         kx #	Screen		0=Dark 1=light
     5         kx #	Cursor		0=u/l  1=block
     5         kx #
     5         kx # 2	Margin Bell	0=off  1=on
     5         kx #	Keyclick	0=off  1=on
     5         kx #	ANSI/VT52	0=VT52 1=ANSI
     5         kx #	Xon/Xoff	0=Off  1=On
     5         kx #
     5         kx # 3	Shift3		0=Hash 1=UK Pound
     5         kx #	Wrap		0=Off  1=On
     5         kx #	Newline		0=Off  1=On
     5         kx #	Interlace	0=Off  1=On
     5         kx #
     5         kx # 4	Parity		0=Odd  1=Even
     5         kx #	Parity		0=Off  1=On
     5         kx #	Bits/Char	0=7    1=8
     5         kx #	Power		0=60Hz 1=50Hz
     5         kx #
     5         kx # 5	Line Interface  0=EIA  1=Loop
     5         kx #	Aux Interface	0=EIA  1=Loop
     5         kx #	Local Copy	0=Off  1=On
     5         kx #	Spare
     5         kx #
     5         kx # 6	Aux Parity	0=Odd  1=Even
     5         kx #	Aux Parity	0=Off  1=On
     5         kx #	Aux Bits/Char	0=7    1=8
     5         kx #	CRT Saver	0=Off  1=On
     5         kx # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
     5         kx dm80|dmdt80|dt80|datamedia dt80/1:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=\n:\
     5         kx 	:ho=\E[H:me=2\E[m\017:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
     5         kx 	:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=vt100+4bsd:
     5         kx # except in 132 column mode, where it needs a little padding.
     5         kx # This is still less padding than the vt100, and you can always turn on
     5         kx # the ^S/^Q handshaking, so you can use vt100 flavors for things like
     5         kx # reverse video.
     5         kx dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
     5         kx 	:co#132:\
     5         kx 	:cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
     5         kx 	:do=\n:up=5\E[A:tc=dm80:
     5         kx # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
     5         kx dt80-sas|Datamedia DT803/DTX for SAS usage:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
     5         kx 	:ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
     5         kx 	:cm=\E=%r%+ %+ :cr=\r:ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:\
     5         kx 	:is=\E)0\E<\EP\E'0\E$2:kC=^L:kE=^]:kS=^K:kd=\n:kh=^Y:kl=^H:\
     5         kx 	:kr=^\:ku=^_:le=^H:me=^X:mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:\
     5         kx 	:sf=\EB:so=\E$2\004:sr=\EI:st=\E'1:ta=^I:up=^_:
     5         kx 
     5         kx # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
     5         kx # These aren't end-all Excel termcaps; but do insert/delete char/line
     5         kx # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
     5         kx # The naming convention has been bent somewhat, with the use of E? (where
     5         kx # E is for 'Excel') as # a name.  This was done to distinguish the entries
     5         kx # from the other Datamedias in use here, and yet to associate a model of
     5         kx # the Excel terminals with the regular datamedia terminals that share
     5         kx # major characteristics.
     5         kx excel62|excel64|datamedia Excel 62:\
     5         kx 	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
     5         kx 	:k9=\EOy:kb=^H:kd=\n:kl=^H:tc=dt80:
     5         kx excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
     5         kx 	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
     5         kx 	:k9=\EOy:kb=^H:kd=\n:kl=^H:tc=dt80w:
     5         kx excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
     5         kx 	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
     5         kx 	:k9=\EOy:kb=^H:kd=\n:kl=^H:vb=\E[?5l\E[?5h:tc=dt80:
     5         kx 
     5         kx #### Falco
     5         kx #
     5         kx #	Falco Data Products
     5         kx #	440 Potrero Avenue
     5         kx #	Sunnyvale, CA 940864-196
     5         kx #	Vox: (800)-325-2648
     5         kx #	Fax: (408)-745-7860
     5         kx #	Net: techsup@charm.sys.falco.com
     5         kx #
     5         kx # Current Falco models as of 1995 are generally ANSI-compatible and support
     5         kx # emulations of DEC VT-series, Wyse, and Televideo types.
     5         kx #
     5         kx 
     5         kx # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
     5         kx # This terminal was released around 1983 and was discontinued long ago.
     5         kx # The standout and underline highlights are the same.
     5         kx falco|ts1|ts-1|falco ts-1:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=\ER:do=\n:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
     5         kx 	:k0=^A0\r:kd=\n:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
     5         kx 	:se=\Eg0:sf=\n:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
     5         kx falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
     5         kx 	:am:bs:da:db:mi:ms:ul:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
     5         kx 	:cm=\E=%+ %+ :cr=\r:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
     5         kx 	:is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=\n:so=\Eg4:ta=^I:te=\E_b:\
     5         kx 	:ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
     5         kx # (ts100: I added <rmam>/<smam> based on the init string -- esr)
     5         kx ts100|ts100-sp|falco ts100-sp:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E~E:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E~W:dl=\E~R:do=\n:eA=\E(B\E)0:ei=:ho=\E[H:\
     5         kx 	:i1=\E~)\E~ea:ic=\E~Q:im=:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:\
     5         kx 	:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=\n:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:tc=vt100+fnkeys:
     5         kx ts100-ctxt|falco ts-100 saving context:\
     5         kx 	:te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
     5         kx 
     5         kx #### Florida Computer Graphics
     5         kx #
     5         kx 
     5         kx # Florida Computer Graphics Beacon System, using terminal emulator program
     5         kx # "host.com", as provided by FCG.  This description is for an early release
     5         kx # of the "host" program.  Known bug: :cd: clears the whole screen, so it's
     5         kx # commented out.
     5         kx 
     5         kx # From: David Bryant <cbosg!djb> 1/7/83
     5         kx beacon|FCG Beacon System:\
     5         kx 	:am:da:db:\
     5         kx 	:co#80:li#32:\
     5         kx 	:al=\EE:bl=1\ESTART\r\E37\r\EEND\r:ce=\ET:cl=10\EZ:\
     5         kx 	:cm=20\E=%+ %+ :cr=\r:dc=\EW:dl=\ER:do=\n:ei=:ho=10\EH:\
     5         kx 	:ic=\EQ:im=:le=^H:mb=\ESTART\r\E61,1\r\EEND\r:\
     5         kx 	:me=20\ESTART\r\E78\r\E70,0\r\EEND\r:\
     5         kx 	:mr=\ESTART\r\E59,1\r\EEND\r:nd=\EV:\
     5         kx 	:se=20\ESTART\r\E70,0\r\EEND\r:sf=\n:\
     5         kx 	:so=20\ESTART\r\E70,6\r\EEND\r:te=:\
     5         kx 	:ti=10\ESTART\r\E2,0\r\E12\r\EEND\r:\
     5         kx 	:ue=\ESTART\r\E60,0\r\EEND\r:up=\EU:\
     5         kx 	:us=\ESTART\r\E60,1\r\EEND\r:
     5         kx 
     5         kx #### Fluke
     5         kx #
     5         kx 
     5         kx # The f1720a differences from ANSI: no auto margin, destructive
     5         kx # tabs, # of lines, funny highlighting and underlining
     5         kx f1720|f1720a|fluke 1720A:\
     5         kx 	:xt:\
     5         kx 	:co#80:li#16:sg#1:ug#1:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
     5         kx 	:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx 
     5         kx #### Liberty Electronics (Freedom)
     5         kx #
     5         kx #	Liberty Electronics
     5         kx #	48089 Fremont Blvd
     5         kx #	Fremont CA 94538
     5         kx #	Vox: (510)-623-6000
     5         kx #	Fax: (510)-623-7021
     5         kx 
     5         kx # From: <faletti@berkeley.edu>
     5         kx # (f100: added empty <acsc> to suppress a tic warning;
     5         kx # made this relative to adm+sgr -- note that <invis> isn't
     5         kx # known to work for f100 but does on the f110. --esr)
     5         kx f100|freedom|freedom100|freedom model 100:\
     5         kx 	:am:bs:bw:hs:mi:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ac=:ae=\E$:al=8.5*\EE:as=\E%%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
     5         kx 	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=\r:ct=\E3:cv=\E[%+ :\
     5         kx 	:dc=\EW:dl=11.5*\ER:do=\n:ds=\Eg\Ef\r:ei=\Er:fs=\r:ho=^^:\
     5         kx 	:im=\Eq:ip=6:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
     5         kx 	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
     5         kx 	:k;=^AI\r:kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
     5         kx 	:nd=^L:sf=\n:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
     5         kx 	:tc=adm+sgr:
     5         kx f100-rv|freedom-rv|freedom 100 in reverse video:\
     5         kx 	:is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
     5         kx # The f110 and f200 have problems with vi(1).  They use the ^V
     5         kx # code for the down cursor key. When kcud1 is defined in terminfo
     5         kx # as ^V, the Control Character Quoting capability (^V in insert mode)
     5         kx # is lost! It cannot be remapped in vi because it is necessary to enter
     5         kx # a ^V to to quote the ^V that is being remapped!!!
     5         kx #
     5         kx # f110/f200 users will have to decide whether
     5         kx # to lose the down cursor key or the quoting capability. We will opt
     5         kx # initially for leaving the quoting capability out, since use of VI
     5         kx # is not generally applicable to most interactive applications
     5         kx # (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
     5         kx f110|freedom110|Liberty Freedom 110:\
     5         kx 	:bw@:es:\
     5         kx 	:it#8:ws#80:\
     5         kx 	:ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
     5         kx 	:im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
     5         kx 	:kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
     5         kx 	:so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:tc=f100:
     5         kx f110-14|Liberty Freedom 110 14inch:\
     5         kx 	:dc@:tc=f110:
     5         kx f110-w|Liberty Freedom 110 - 132 cols:\
     5         kx 	:co#132:tc=f110:
     5         kx f110-14w|Liberty Freedom 110 14in/132 cols:\
     5         kx 	:co#132:\
     5         kx 	:dc@:tc=f110:
     5         kx # (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
     5         kx f200|freedom200|Liberty Freedom 200:\
     5         kx 	:am:bs:es:hs:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
     5         kx 	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=\r:cs=\Em0%+ %+ :ct=\E3:\
     5         kx 	:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=\r:ho=^^:\
     5         kx 	:im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
     5         kx 	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
     5         kx 	:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
     5         kx 	:sf=\n:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
     5         kx 	:vi=\E.0:tc=adm+sgr:
     5         kx f200-w|Liberty Freedom 200 - 132 cols:\
     5         kx 	:co#132:tc=f200:
     5         kx # The f200 has the ability to reprogram the down cursor key. The key is
     5         kx # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
     5         kx # so powering the terminal off and on will not cause the change to be lost.
     5         kx f200vi|Liberty Freedom 200 for vi:\
     5         kx 	:kd=\n:vb=\Eb\Ed:tc=f200:
     5         kx f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
     5         kx 	:co#132:tc=f200vi:
     5         kx 
     5         kx #### GraphOn (go)
     5         kx #
     5         kx #	Graphon Corporation
     5         kx #	544 Division Street
     5         kx #	Campbell, CA 95008
     5         kx #	Vox: (408)-370-4080
     5         kx #	Fax: (408)-370-5047
     5         kx #	Net: troy@graphon.com (Troy Morrison)
     5         kx #
     5         kx #
     5         kx # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
     5         kx # including one odd hybrid that starts out life on power-up as a character
     5         kx # terminal, than can be switched to X graphics mode (driven over the serial
     5         kx # line) by an escape sequence.  No info on this beast yet.
     5         kx # (go140: I added <rmam>/<smam> based on the init string -- esr)
     5         kx go140|graphon go-140:\
     5         kx 	:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
     5         kx 	:cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	:is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:
     5         kx go140w|graphon go-140 in 132 column mode:\
     5         kx 	:am:\
     5         kx 	:co#132:\
     5         kx 	:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
     5         kx 	:tc=go140:
     5         kx # Hacked up vt200 termcap to handle GO-225/VT220
     5         kx # From: <edm@nwnexus.WA.COM>
     5         kx # (go225: I added <rmam>/<smam> based on the init string -- esr)
     5         kx go225|go-225|Graphon 225:\
     5         kx 	:am:bs:mi:xn:\
     5         kx 	:co#80:it#8:li#25:vt#3:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
     5         kx 	:ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx #### Harris (Beehive)
     5         kx #
     5         kx # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
     5         kx # Their terminal group is ancient history now (1995) though the parent
     5         kx # company is still in business.
     5         kx #
     5         kx 
     5         kx # Beehive documentation is undated and marked Preliminary and has no figures
     5         kx # so we must have early Superbee2 (Model 600, according to phone conversation
     5         kx # with mfr.). It has proved reliable except for some missing padding
     5         kx # (notably after \EK and <nl> at bottom of screen).
     5         kx #
     5         kx # The key idea is that AEP mode is poison for :cm: & that US's in
     5         kx # the local memory should be avoided like the plague. That means
     5         kx # that the 2048 character local buffer is used as 25 lines of 80
     5         kx # characters, period. No scrolling local memory, folks. It also
     5         kx # appears that we cannot use naked INS LINE feature since it uses
     5         kx # US. The sbi fakes :al: with an 80-space insert that may be too
     5         kx # slow at low speeds; also spaces get converted to \040 which is
     5         kx # too long for some programs (not vi).  DEL LINE is ok but slow.
     5         kx #
     5         kx # The <nl> string is designed for last line of screen ONLY; cup to
     5         kx # 25th line corrects the motion inherent in scrolling to Page 1.
     5         kx #
     5         kx # There is one understood bug. It is that the screen appears to
     5         kx # pop to a new (blank) page after a :nw:, or leave a half-line
     5         kx # ellipsis to a quad that is the extra 48 memory locations. The
     5         kx # data received is dumped into memory but not displayed.  Not to
     5         kx # worry if :cm: is being used; the lines not displayed will be,
     5         kx # whenever the cursor is moved up there. Since :cm: is addressed
     5         kx # relative to MEMORY of window, nothing is lost; but beware of
     5         kx # relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
     5         kx # therefore, is setenv MORE -c .
     5         kx #
     5         kx # WARNING: Not all features tested.
     5         kx #
     5         kx # Timings are assembled from 3 sources. Some timings may reflect
     5         kx # SB2/Model 300 that were used if more conservative.
     5         kx # Tested on a Model 600 at 1200 and 9600 bd.
     5         kx #
     5         kx # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
     5         kx # placed on the keyboard and useless because of AEP, is made
     5         kx # into a backspace key. In use ESC must be pressed twice (to send)
     5         kx # and sending ^C must be prefixed by ESC to avoid that weird
     5         kx # transmit mode associated with ENTER key.
     5         kx #
     5         kx # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
     5         kx # the screen, then it has dropped into ENTER mode; hit
     5         kx # RESET--ONLINE--!tset.
     5         kx #
     5         kx # As delivered this machine has a FATAL feature that will throw
     5         kx # it into that strange transmit state (SPOW) if the space bar is
     5         kx # hit after a CR is received, but before receiving a LF (or a
     5         kx # few others).
     5         kx #
     5         kx # The circuits MUST be modified to eliminate the SPOW latch.
     5         kx # This is done by strapping on chip A46 of the I/O board; cut
     5         kx # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
     5         kx # chip. This mod has been checked out on a Mod 600 of Superbee II.
     5         kx # With this modification absurdly high timings on cr are
     5         kx # unnecessary.
     5         kx #
     5         kx # NOTE WELL that the rear panel switch should be set to CR/LF,
     5         kx # not AEP!
     5         kx #
     5         kx sb1|beehive superbee:\
     5         kx 	:am:bs:bw:da:db:mi:ul:xb:\
     5         kx 	:co#80:li#25:sg#1:ug#1:\
     5         kx 	:al=3\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
     5         kx 	:bl=^G:bt=650\E`:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:cm=\EF%r%3%3:\
     5         kx 	:cr=\r:ct=\E3:dc=3\EP:dl=100\EM:do=\n:ei=\ER:ho=1\EH:\
     5         kx 	:im=\EQ\EO:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:\
     5         kx 	:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:\
     5         kx 	:kI=\EQ\EO:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:\
     5         kx 	:nd=3\EC:se=\E_3:sf=\n:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:\
     5         kx 	:ue=\E_3:up=3\EA:us=\E_0:
     5         kx sbi|superbee|beehive superbee at Indiana U.:\
     5         kx 	:xb:\
     5         kx 	:al=\EN\EL\EQ \EP \EO\ER\EA:cr=1\r:tc=sb1:
     5         kx # Alternate (older) description of Superbee - f1=escape, f2=^C.
     5         kx # Note: there are at least 3 kinds of superbees in the world.  The sb1
     5         kx # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
     5         kx # The sb3 puts garbage on the bottom of the screen when you scroll with
     5         kx # the switch in the back set to CRLF instead of AEP.  This description
     5         kx # is tested on the sb2 but should work on all with either switch setting.
     5         kx # The f1/f2 business is for the sb1 and the :xb: can be taken out for
     5         kx # the other two if you want to try to hit that tiny escape key.
     5         kx # This description is tricky: being able to use cup depends on there being
     5         kx # 2048 bytes of memory and the hairy <nl> string.
     5         kx superbee-xsb|beehive super bee:\
     5         kx 	:am:da:db:xb:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:cm=\EF%r%3%3:cr=1000\r:ct=\E3:\
     5         kx 	:dc=3\EP:dl=100\EM:do=\n:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:\
     5         kx 	:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:\
     5         kx 	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
     5         kx 	:sf=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET:so=\E_1:st=\E1:\
     5         kx 	:ta=^I:up=3\EA:ve=\n:
     5         kx # This loses on lines > 80 chars long, use at your own risk
     5         kx superbeeic|super bee with insert char:\
     5         kx 	:ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
     5         kx sb2|sb3|fixed superbee:\
     5         kx 	:xb@:tc=superbee:
     5         kx 
     5         kx #### Beehive Medical Electronics
     5         kx #
     5         kx # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
     5         kx # Regarding your question though; Beehive terminals weren't made by Harris.
     5         kx # They were made by Beehive Medical Electronics in Utah. They went out of
     5         kx # business in the early '80s.
     5         kx #
     5         kx # (OK, then, I don't know why a couple of these say "harris beehive".)
     5         kx #
     5         kx 
     5         kx # Reports are that most of these Beehive entries (except superbee) have not
     5         kx # been tested and do not work right.  :se: is a trouble spot.  Be warned.
     5         kx 
     5         kx # (bee: :ic: was empty, which is obviously bogus -- esr)
     5         kx beehive|bee|harris beehive:\
     5         kx 	:am:bs:mi:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
     5         kx 	:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
     5         kx 	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
     5         kx 	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
     5         kx 	:ue=\Ed@:up=\EA:us=\Ed`:
     5         kx # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
     5         kx # good grief - does this entry make :sg:/:ug: when it doesn't have to?
     5         kx # look at those spaces in :se:/:so:.  Seems strange to me...
     5         kx # (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
     5         kx # really care, cook up one using ^F -- esr)
     5         kx beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#20:\
     5         kx 	:al=160^S:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=\r:dl=350^Q:do=\n:\
     5         kx 	:ho=^E:le=^H:ll=^E^K:nd=^L:se=\s^_:sf=\n:so=^]\s:st=^F:ta=^I:\
     5         kx 	:up=^K:
     5         kx beehive4|bh4|beehive 4:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=\r:do=\n:ho=\EH:le=\ED:nd=\EC:\
     5         kx 	:sf=\n:up=\EA:
     5         kx # There was an early Australian kit-built computer called a "Microbee".
     5         kx # It's not clear whether this is for one of those or for a relative
     5         kx # of the Beehive.
     5         kx microb|microbee|micro bee series:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=\r:do=\n:k1=\Ep:\
     5         kx 	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
     5         kx 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
     5         kx 	:se=\Ed@:sf=\n:so=\s\EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
     5         kx 
     5         kx # 8675, 8686, and bee from Cyrus Rahman
     5         kx # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
     5         kx ha8675|harris 8675:\
     5         kx 	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
     5         kx 	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
     5         kx 	:k4=^V:k5=\n:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:tc=bee:
     5         kx # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
     5         kx # in :is: -- esr)
     5         kx ha8686|harris 8686:\
     5         kx 	:F1=\EW:F2=^B\E{^C:F3=^B\E|^C:F4=^B\E}^C:F5=^B\E~^C:\
     5         kx 	:F6=^B\E\177^C:\
     5         kx 	: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#:\
     5         kx 	:k1=^B\Ep^C:k2=^B\Eq^C:k3=^B\Er^C:k4=^B\Es^C:k5=\E3:\
     5         kx 	:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:tc=bee:
     5         kx 
     5         kx #### Hazeltine
     5         kx #
     5         kx # Hazeltine appears to be out of the terminal business as of 1995.  These
     5         kx # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
     5         kx # Harris. They have a hazeltine.com domain (but no web page there ) and can
     5         kx # be reached at:
     5         kx #
     5         kx #	Hazeltine
     5         kx #	450 East Pulaski Road
     5         kx #	Greenlawn, New York 11740
     5         kx #
     5         kx # As late as 1993, manuals for the terminal product line could still be
     5         kx # purchased from:
     5         kx #
     5         kx #	TRW Customer Service Division
     5         kx #	15 Law Drive
     5         kx #	P.O. Box 2076
     5         kx #	Fairfield, NJ 07007-2078
     5         kx #
     5         kx # They're now (1998) a subsidiary of General Electric, operating under the
     5         kx # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
     5         kx # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
     5         kx #
     5         kx 
     5         kx # Since :nd: is blank, when you want to erase something you
     5         kx # are out of luck.  You will have to do ^L's a lot to
     5         kx # redraw the screen.  h1000 is untested.  It doesn't work in
     5         kx # vi - this terminal is too dumb for even vi.  (The code is
     5         kx # there but it isn't debugged for this case.)
     5         kx hz1000|hazeltine 1000:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#12:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:ho=^K:le=^H:nd=\s:sf=\n:
     5         kx # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
     5         kx hz1420|hazeltine 1420:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
     5         kx 	:cr=\r:dl=\E^S:do=\n:le=^H:nd=^P:se=\E^Y:sf=\n:so=\E^_:ta=^N:\
     5         kx 	:up=\E^L:
     5         kx # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
     5         kx # freakout with out-of-range args and tn3270.  No hz since it needs to
     5         kx # receive tildes.
     5         kx hz1500|hazeltine 1500:\
     5         kx 	:am:bs:hz:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=40~^Z:bl=^G:cd=10~^X:ce=~^O:cl=~^\:\
     5         kx 	:cm=~\021%r%>^^ %+`%+`:cr=\r:dl=40~^S:do=~^K:ho=~^R:kd=\n:\
     5         kx 	:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=\n:so=~^_:\
     5         kx 	:up=~^L:
     5         kx # h1510 assumed to be in sane escape mode.  Else use h1500.
     5         kx # (h1510: early versions of this entry apparently had ":se=\E^_:,
     5         kx # :so=\E^Y:, but these caps were commented out in 8.3; also,
     5         kx # removed incorrect and overridden ":do=^J:" -- esr)
     5         kx hz1510|hazeltine 1510:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
     5         kx 	:cr=\r:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=\n:up=\E^L:
     5         kx # Hazeltine 1520
     5         kx # The following switch settings are assumed for normal operation:
     5         kx #	FULL		CR		U/L_CASE	ESCAPE
     5         kx #	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
     5         kx # Other switches may be set for operator convenience or communication
     5         kx # requirements.
     5         kx hz1520|Hazeltine 1520:\
     5         kx 	:am:bs:bw:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
     5         kx 	:cr=\r:dl=\E^S:do=\n:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
     5         kx 	:kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
     5         kx 	:le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
     5         kx 	:se=\E^Y:sf=\n:so=\E^_:up=\E^L:
     5         kx # This version works with the escape switch off
     5         kx # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
     5         kx hz1520-noesc|hazeltine 1520:\
     5         kx 	:am:hz:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=1~\021%r%.%.:cr=\r:\
     5         kx 	:dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=\n:so=~^_:up=~^L:
     5         kx # Note: the h1552 appears to be the first Hazeltine terminal which
     5         kx # is not braindamaged.  It has tildes and backprimes and everything!
     5         kx # Be sure the auto lf/cr switch is set to cr.
     5         kx hz1552|hazeltine 1552:\
     5         kx 	:bs:\
     5         kx 	:al=\EE:dl=\EO:do=\n:l1=blue:l2=red:l3=green:tc=vt52:
     5         kx hz1552-rv|hazeltine 1552 reverse video:\
     5         kx 	:do=\n:se=\ET:so=\ES:tc=hz1552:
     5         kx # Note: h2000 won't work well because of a clash between upper case and ~'s.
     5         kx hz2000|hazeltine 2000:\
     5         kx 	:am:bs:nc:\
     5         kx 	:co#74:li#27:\
     5         kx 	:al=6~^Z:bl=^G:cl=6~^\:cm=~\021%r%.%.:dl=6~^S:do=\n:ho=~^R:\
     5         kx 	:le=^H:pc=\177:sf=\n:
     5         kx # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
     5         kx # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
     5         kx # to work ok. There is one problem though if one types a lot of garbage
     5         kx # characters very fast vi seems not able to keep up and hangs while trying
     5         kx # to insert. That's in insert mode while trying to insert in the middle of
     5         kx # a line. It might be because the Esprit doesn't have insert char and delete
     5         kx # char as a built in function. Vi has to delete to end of line and then
     5         kx # redraw the rest of the line.
     5         kx esprit|Hazeltine Esprit I:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
     5         kx 	:cm=\E\021%r%.%.:cr=\r:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
     5         kx 	:k0=^B0\n:k1=^B1\n:k2=^B2\n:k3=^B3\n:k4=^B4\n:k5=^B5\n:\
     5         kx 	:k6=^B6\n:k7=^B7\n:k8=^B8\n:k9=^B9\n:kb=^H:kd=\E^K:ke=\E>:\
     5         kx 	:kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
     5         kx 	:l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=\n:so=\E^_:\
     5         kx 	:up=\E^L:
     5         kx esprit-am|hazeltine esprit auto-margin:\
     5         kx 	:am:tc=esprit:
     5         kx # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
     5         kx # Vi it seems always wants to send a control J for "do" and it turned out
     5         kx # that the terminal would work somewhat if the auto LF/CR was turned off.
     5         kx # (hmod1: removed :dn=~^K: -- esr)
     5         kx hmod1|Hazeltine Modular 1:\
     5         kx 	:am:bs:hz:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=\r:dl=~^S:\
     5         kx 	:do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
     5         kx 	:nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=\n:so=~^_:up=~^L:
     5         kx #
     5         kx # Hazeltine Executive 80 Model 30 (1554?)
     5         kx #	from  Will Martin <control@ALMSA-1.ARPA> via BRL
     5         kx # Like VT100, except for different "am" behavior.
     5         kx hazel|exec80|h80|he80|Hazeltine Executive 80:\
     5         kx 	:am:bs:pt:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
     5         kx 	:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:do=\n:ho=\E[H:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
     5         kx 	:nd=2\E[C:nl=\n:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
     5         kx 	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
     5         kx 
     5         kx #### IBM
     5         kx #
     5         kx 
     5         kx ibm327x|line mode IBM 3270 style:\
     5         kx 	:gn:\
     5         kx 	:ce=\r:cl=\r\n:ho=\r:
     5         kx 
     5         kx ibm3101|i3101|IBM 3101-10:\
     5         kx 	:am:bs:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=\r:ct=\EH:do=\n:\
     5         kx 	:ho=\EH:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nw=\r\n:\
     5         kx 	:sf=\n:st=\E0:up=\EA:
     5         kx ibm3151|IBM 3151 display:\
     5         kx 	:ae=\E>B:as=\E>A:is=\E S:me=\E4@:rs=\E S:s0=\E>B:te=\E>B:\
     5         kx 	:ti=\E>B:tc=ibm3162:
     5         kx # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
     5         kx # removed kend, knp, kpp -TD
     5         kx #
     5         kx # From: Stephen Powell <zlinuxman@wowway.com> 23 Apr 2015
     5         kx # Added ich1 (kich1 without ich1 doesn't make sense).
     5         kx # Added il1 (kil1 without il1 doesn't make sense).
     5         kx # Added xon (terminal uses XON/XOFF flow control).
     5         kx #
     5         kx ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
     5         kx 	:am:bs:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
     5         kx 	:F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
     5         kx 	:FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
     5         kx 	:ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
     5         kx 	:al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\EP \010:im=:k1=\Ea\r:\
     5         kx 	:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:\
     5         kx 	:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:\
     5         kx 	:kE=\EI:kI=\EP \010:kL=\EO:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:\
     5         kx 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:kt=\E1:ku=\EA:le=\ED:mb=\E4D:\
     5         kx 	:md=\E4H:me=\E4@\E<@:mk=\E4P:mr=\E4A:nd=\EC:pf=^P^T:\
     5         kx 	:po=^P^R:se=\E4@:sf=\n:so=\E4A:te=\E>A:ti=\E>A:ue=\E4@:\
     5         kx 	:up=\EA:us=\E4B:
     5         kx 
     5         kx ibm3161-C|IBM 3161-C NLS terminal using cartridge:\
     5         kx 	:s0=\E>B:s1=\E>A:te=\E>B:ti=\E>B:tc=ibm3161:
     5         kx #
     5         kx # From: Stephen Powell <zlinuxman@wowway.com> 23 Apr 2015
     5         kx # Deleted il1.  (il1 will now be inherited from ibm3161-C, which inherits
     5         kx # it from ibm3161.
     5         kx #
     5         kx ibm3162|IBM 3162 display:\
     5         kx 	:mb=\E4$a:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4!a:se=\E4>b:\
     5         kx 	:so=\E4!a:ue=\E4=b:us=\E4"a:tc=ibm3161-C:
     5         kx 
     5         kx # This really should not use setab/setaf, but it is clear that the
     5         kx # original terminfo does not toggle red/blue colors as in setb/setf.
     5         kx ibm3164|i3164|IBM 3164:\
     5         kx 	:ms:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E4  %+@:op=\E4 "@:s0=\E>B:s1=\E>A:te=\E!9(N\E>B:\
     5         kx 	:ti=\E!9/N\E>B:tc=ibm3161:
     5         kx 
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display:\
     5         kx 	:am:bw:ms:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k1=\E[001q:k2=\E[002q:\
     5         kx 	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
     5         kx 	:k8=\E[008q:k9=\E[009q:kD=\E[P:kI=\E[139q:kN=\E[154q:\
     5         kx 	:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rs=\Ec:\
     5         kx 	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=ecma+index:
     5         kx 
     5         kx ibmaed|IBM Experimental display:\
     5         kx 	:am:bs:eo:ms:\
     5         kx 	:co#80:it#8:li#52:\
     5         kx 	:al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
     5         kx 	:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
     5         kx 	:ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
     5         kx 	:vb=\EG:
     5         kx ibm-apl|apl|IBM apl terminal simulator:\
     5         kx 	:li#25:tc=dm1520:
     5         kx # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
     5         kx # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
     5         kx ibmmono|IBM workstation monochrome:\
     5         kx 	:es:hs:\
     5         kx 	:al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
     5         kx 	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
     5         kx 	:kF=\EE:kI=\0:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
     5         kx 	:md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
     5         kx 	:so=\EZ:sr=\EA:ue=\Ew:us=\EW:tc=ibm3101:
     5         kx ibmega|IBM Enhanced Color Display:\
     5         kx 	:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:\
     5         kx 	:tc=ibmmono:
     5         kx # This color scheme is assumed in some recent IBM terminal descriptions
     5         kx # (green on black, emulated on a 16-color terminal).
     5         kx ibm+color|IBM color definitions:\
     5         kx 	:Co#8:NC#3:pa#64:\
     5         kx 	:op=\E[32m\E[40m:
     5         kx ibm+16color|IBM aixterm color definitions:\
     5         kx 	:Co#16:pa#256:
     5         kx ibm5154|IBM 5154 Color display:\
     5         kx 	:Co#8:NC@:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:md@:tc=ibm5151:tc=ibm+color:
     5         kx ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
     5         kx 	:se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
     5         kx ibmvga-c|IBM VGA display color termcap:\
     5         kx 	:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:\
     5         kx 	:tc=ibmega-c:
     5         kx ibmvga|IBM VGA display:\
     5         kx 	:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:tc=ibmega:
     5         kx # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
     5         kx rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
     5         kx 	:li#32:\
     5         kx 	:ds=\Ej\EY@ \EI\Ek:tc=ibmmono:
     5         kx ibm6155|IBM 6155 Black & White display:\
     5         kx 	:mb@:md@:tc=ibm5151:
     5         kx # Advanced Monochrome (6153) and Color (6154) Graphics Display:
     5         kx ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display:\
     5         kx 	:li#31:\
     5         kx 	:ds=\Ej\EY? \EI\Ek:tc=ibmmono:
     5         kx ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
     5         kx 	:li#31:\
     5         kx 	:ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:tc=ibmega-c:
     5         kx ibm6154|IBM 6154 Color displays:\
     5         kx 	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
     5         kx 	:tc=ibm5154:
     5         kx ibm6153|IBM 6153 Black & White display:\
     5         kx 	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
     5         kx 	:tc=ibm5151:
     5         kx ibm6153-90|IBM 6153 Black & White display:\
     5         kx 	:co#90:li#36:\
     5         kx 	:mb@:md@:tc=ibm5151:
     5         kx ibm6153-40|IBM 6153 Black & White display:\
     5         kx 	:co#40:li#12:tc=ibm6153-90:
     5         kx ibm8512|ibm8513|IBM color VGA Terminal:\
     5         kx 	:am:mi:ms:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
     5         kx 	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
     5         kx 	:do=\n:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
     5         kx 	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
     5         kx 	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
     5         kx 	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=ibm8503:
     5         kx hft-c|HFT with Color:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:ac=jjkkllmmnnqqttuuvvwwxx:\
     5         kx 	:me=\E[0m\E(B:s0=\E(B:s1=\E(0:tc=ibm5151:tc=ibm+color:
     5         kx hft-c-old|HFT with Color PC850:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:tc=ibm5151:tc=ibm+color:
     5         kx hft-old|AIWS High Function Terminal:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#25:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:dc=\E[P:dl=\E[M:do=\n:ei=\E6:ho=\E[H:ic=\E[@:im=\E6:\
     5         kx 	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
     5         kx 	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kN=\E[153q:\
     5         kx 	:kP=\E[159q:ka=\E[010q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
     5         kx 	:mr=\E[7m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:tc=ibm+color:
     5         kx ibm-system1|system1|ibm system/1 computer:\
     5         kx 	:am:xt:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=\n:up=^^:
     5         kx #       lft-pc850 : IBM Low Function Terminal Device
     5         kx #    lft "supports" underline, bold, and blink in the sense that the lft code
     5         kx #    sets all the right bits.  HOWEVER, depending upon the adapter, these
     5         kx #    attributes may or may not be supported by the device driver.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device:\
     5         kx 	:am:bw:ms:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[2J:ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
     5         kx 	:im=\E[4h:is=\Ec:k1=\E[001q:k2=\E[002q:k3=\E[003q:\
     5         kx 	:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:k8=\E[008q:\
     5         kx 	:k9=\E[009q:kD=\E[P:kI=\E[139q:kN=\E[154q:kP=\E[150q:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m\E(B:mr=\E[7m:nd=\E[C:rs=\Ec:\
     5         kx 	:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:ue=\E[0m:up=\E[A:us=\E[4m:\
     5         kx 	:tc=ecma+index:
     5         kx # "Megapel" refers to the display adapter, which was used with the IBM RT
     5         kx # aka IBM 6150.
     5         kx ibm5081|hft|IBM Megapel Color display:\
     5         kx 	:ac=jjkkllmmnnqqttuuvvwwxx:mb@:md@:me=\E[0m\E(B:s0=\E(B:\
     5         kx 	:s1=\E(0:tc=ibm5154:
     5         kx ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
     5         kx 	:es:hs:\
     5         kx 	:li#33:\
     5         kx 	:ds=\Ej\EYA \EI\Ek:fs=\Ek:tc=ibmega-c:
     5         kx ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
     5         kx 	:tc=hft-c:
     5         kx ibm8514|IBM 8514/a color VGA display:\
     5         kx 	:es:hs:\
     5         kx 	:ds=\Ej\EYI \EI\Ek:fs=\Ek:tc=hft:
     5         kx ibm8514-c|IBM 8514 color display with standout and underline:\
     5         kx 	:es:hs:\
     5         kx 	:li#41:\
     5         kx 	:cr=\r:do=\n:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=\n:kl=^H:\
     5         kx 	:nw=\r\n:sf=\n:ta=^I:tc=ibmega-c:
     5         kx 
     5         kx #
     5         kx # AIX entries.  IBM ships these with AIX 3.2.5.
     5         kx # -- added rc, sc based on manpage -TD
     5         kx # -- added rmacs, smacs based on manpage -TD
     5         kx # Note that we could use ibm+16color, but that is not how IBM defines this one.
     5         kx aixterm|IBM Aixterm Terminal Emulator:\
     5         kx 	:es:hs:\
     5         kx 	:ac=jjkkllmmnnqqttuuvvwwxx:ae=\E(B:as=\E(0:ds=\E[?E:\
     5         kx 	:fs=\E[?F:md=\E[1m:me=\E[0;10m:rc=\E8:s0=\E(B:s1=\E(0:\
     5         kx 	:sc=\E7:sr@:ts=\E[?%dT:tc=ibm6154:
     5         kx aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
     5         kx 	:es:hs:\
     5         kx 	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
     5         kx 	:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:sr@:ts=\E[?%dT:\
     5         kx 	:tc=ibm6153:
     5         kx aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
     5         kx 	:es:hs:\
     5         kx 	:ds=\E[?E:fs=\E[?F:md=\E[1m:sr@:ts=\E[?%dT:tc=ibm6153:
     5         kx jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
     5         kx 	:ac@:ae@:as@:me=\E[m:tc=aixterm:
     5         kx jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
     5         kx 	:ac@:ae@:as@:me=\E[m:tc=aixterm-m:
     5         kx 
     5         kx # This flavor is adapted from xterm, in turn from aixterm documentation -TD
     5         kx aixterm-16color|IBM Aixterm Terminal Emulator with 16 colors:\
     5         kx 	:tc=ibm+16color:tc=aixterm:
     5         kx 
     5         kx #### Infoton/General Terminal Corp.
     5         kx #
     5         kx 
     5         kx # gt100 sounds like something DEC would come out with.  Let's hope they don't.
     5         kx i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=\r:\
     5         kx 	:dl=\EM:do=\n:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=\n:so=\Eb:up=\EA:\
     5         kx 	:vb=\Eb\Ea:
     5         kx i400|infoton 400:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#25:\
     5         kx 	:al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=\E[%i%3;%3H:cr=\r:\
     5         kx 	:dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=\n:\
     5         kx 	:ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=\n:up=\E[A:
     5         kx # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
     5         kx addrinfo:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=^K:cl=^L:cm=\037%.%.:cr=\r:do=\n:ho=^H:le=^Z:\
     5         kx 	:ll=^H^\:nd=^Y:sf=\n:up=^\:
     5         kx # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
     5         kx infoton:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=^K:cl=^L:cr=\r:do=\n:le=^Z:ll=^H^\:nd=^Y:sf=\n:\
     5         kx 	:up=^\:
     5         kx 
     5         kx # The ICL6402 was actually the Kokusai Display System 6402.
     5         kx # The 6404 was the KDS7372 (color version of the 6402).
     5         kx #
     5         kx # ICL6404 control codes follow:
     5         kx #
     5         kx #code            function
     5         kx #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     5         kx #ctrl-A          set SOM position at cursor position
     5         kx #ctrl-G          Bell
     5         kx #ctrl-H          Backspace
     5         kx #ctrl-I          Horizontal tab
     5         kx #ctrl-J          Linefeed
     5         kx #ctrl-K          Cursor up
     5         kx #ctrl-L          Cursor right
     5         kx #ctrl-M          Carriage return
     5         kx #ctrl-N          Disable xon/xoff to host
     5         kx #ctrl-O          Enable xon/xoff to host
     5         kx #ctrl-R          Enable bidirectional mode
     5         kx #ctrl-T          Disable bidirectional mode
     5         kx #ctrl-V          Cursor down
     5         kx #ctrl-Z          Clear unprotected data to insert char
     5         kx #ctrl-^          Cursor home
     5         kx #ctrl-_          Newline
     5         kx #
     5         kx #ESC             lead-in char for multiple character command
     5         kx #
     5         kx #ESC space R     execute power on sequence
     5         kx #ESC ! p1 p2     define scroll region:
     5         kx #                p1 = scroll top    line:  20h - 37h
     5         kx #                p1 = scroll bottom line:  20h - 37h
     5         kx #ESC "           unlock keyboard
     5         kx #ESC #           lock keyboard
     5         kx #ESC $           Semi-graphics mode on
     5         kx #ESC %           Semi-graphics mode off
     5         kx #ESC &           protect mode on
     5         kx #ESC '           protect mode off
     5         kx #ESC (           write protect mode off (full intensity)
     5         kx #ESC )           write protect mode on (half intensity)
     5         kx #
     5         kx #ESC *           clear screen
     5         kx #ESC +           clear unprotected data to insert char
     5         kx #ESC ,           clear unprotected data to half intensity spaces
     5         kx #ESC - p1 p2 p3 p4     address cursor to page, row, column:
     5         kx #                      p1 = page number  0 - 3
     5         kx #                      p2 = row          20h - 7fh
     5         kx #                      p3 = column (lo)  20h - 7fh
     5         kx #                      p4 = column (hi)  20h - 21h (only 132 col)
     5         kx #ESC . p1        set cursor style:
     5         kx #                p1 = 0  invisible cursor
     5         kx #                p1 = 1  block blinking cursor
     5         kx #                p1 = 2  block steady cursor
     5         kx #                p1 = 3  underline blinking cursor
     5         kx #                p1 = 4  underline steady cursor
     5         kx #ESC /           transmit cursor location (page, row, column)
     5         kx #ESC 0 p1 p2 p3 p4     program edit key:
     5         kx #                      p1 = edit key code: '@'-'S', '`'-'s'
     5         kx #                      p2 p3 p4 = program data (3 bytes)
     5         kx #
     5         kx #ESC 1           set tab
     5         kx #ESC 2           clear tab at cursor
     5         kx #ESC 3           clear all tabs
     5         kx #ESC 4           send unprotect line to cursor
     5         kx #ESC 5           send unprotect page to cursor
     5         kx #ESC 6           send line to cursor
     5         kx #ESC 7           send page to cursor
     5         kx #ESC 8 n         set scroll mode:
     5         kx #                n = 0   set jump scroll
     5         kx #                n = 1   set smooth scroll
     5         kx #ESC 9 n         control display:
     5         kx #                n = 0   display off
     5         kx #                n = 1   display on
     5         kx #ESC :           clear unprotected data to null
     5         kx #ESC ;           clear unprotected data to insert char
     5         kx #
     5         kx #ESC <           keyclick on
     5         kx #ESC = p1 p2     address cursor to row, column
     5         kx #                p1 = row          20h - 7fh
     5         kx #                p2 = column (lo)  20h - 7fh
     5         kx #                p3 = column (hi)  20h - 21h (only 132 col)
     5         kx #ESC >           keyclick off
     5         kx #ESC ?           transmit cursor location (row, column)
     5         kx #
     5         kx #ESC @           copy print mode on
     5         kx #ESC A           copy print mode off
     5         kx #ESC B           block mode on
     5         kx #ESC C           block mode off (conversation mode)
     5         kx #ESC D F         set full duplex
     5         kx #ESC D H         set half duplex
     5         kx #ESC E           line insert
     5         kx #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
     5         kx #                0 = black, 1 = red,     2 = green, 3 = yellow
     5         kx #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
     5         kx #ESC G n         set serial field attribute (n = 30h - 3Fh)
     5         kx #ESC H n         full graphics mode:
     5         kx #                n = 0  exit full graphics mode
     5         kx #                n = 1  enter full graphics mode
     5         kx #ESC I           back tab
     5         kx #ESC J           back page
     5         kx #ESC K           forward page
     5         kx #
     5         kx #ESC L           unformatted page print
     5         kx #ESC M L         move window left  (132 col mode only)
     5         kx #ESC M R         move window right (132 col mode only)
     5         kx #ESC N           set page edit (clear line edit)
     5         kx #ESC O           set line edit (clear page edit)
     5         kx #ESC P           formatted page print
     5         kx #ESC Q           character insert
     5         kx #ESC R           line delete
     5         kx #ESC S           send message unprotected only
     5         kx #ESC T           erase line to insert char
     5         kx #ESC U           set monitor mode   (see ESC X, ESC u)
     5         kx #
     5         kx #ESC V n         select video attribute mode:
     5         kx #                n = 0   serial field attribute mode
     5         kx #                n = 1   parallel character attribute mode
     5         kx #ESC V 2 n       define line attribute:
     5         kx #                n = 0   single width single height
     5         kx #                n = 1   single width double height
     5         kx #                n = 2   double width single height
     5         kx #                n = 3   double width double height
     5         kx #ESC V 3 n       select character font:
     5         kx #                n = 0   system font
     5         kx #                n = 1   user defined font
     5         kx #ESC V 4 n       select screen mode:
     5         kx #                n = 0   page screen mode
     5         kx #                n = 1   virtual screen mode
     5         kx #ESC V 5 n       control mouse mode:
     5         kx #                n = 0   disable mouse
     5         kx #                n = 1   enable sample mode
     5         kx #                n = 2   send mouse information
     5         kx #                n = 3   enable request mode
     5         kx #ESC W           character delete
     5         kx #ESC X           clear monitor mode (see ESC U, ESC u)
     5         kx #ESC Y           erase page to insert char
     5         kx #
     5         kx #ESC Z n         send user/status line:
     5         kx #                n = 0   send user line
     5         kx #                n = 1   send status line
     5         kx #                n = 2   send terminal ID
     5         kx #ESC [ p1 p2 p3  set character attribute (parallel char mode):
     5         kx #                p1: 0 = normal
     5         kx #                    1 = blank
     5         kx #                    2 = blink
     5         kx #                    3 = blink blank (= blank)
     5         kx #                    4 = reverse
     5         kx #                    5 = reverse blank
     5         kx #                    6 = reverse blink
     5         kx #                    7 = reverse blink blank (= reverse blank)
     5         kx #                    8 = underline
     5         kx #                    9 = underline blank
     5         kx #                    : = underline blink
     5         kx #                    ; = underline blink blank
     5         kx #                    < = reverse underline
     5         kx #                    = = reverse underline blank
     5         kx #                    > = reverse underline blink
     5         kx #                    ? = reverse underline blink blank
     5         kx #                p2, p3: f/grnd, b/grnd colour
     5         kx #                (see ESC F for colours)
     5         kx #                use ZZ for mono, eg.
     5         kx #                    ESC [ 0 Z Z for normal
     5         kx #                    ESC [ 4 Z Z for inverse etc.
     5         kx #
     5         kx #ESC \ n         set page size:
     5         kx #                n = 1   24 lines/page
     5         kx #                n = 2   48 lines/page
     5         kx #                n = 3   72 lines/page
     5         kx #                n = 4   96 lines/page
     5         kx #ESC ] n         set Wordstar mode:
     5         kx #                n = 0   normal (KDS7372) mode
     5         kx #                n = 1   Wordstar mode
     5         kx #
     5         kx #ESC b           set foreground colour screen
     5         kx #
     5         kx #ESC c n         enter self-test mode:
     5         kx #                n = 0   exit self test mode
     5         kx #                n = 1   ROM test
     5         kx #                n = 2   RAM test
     5         kx #                n = 3   NVRAM test
     5         kx #                n = 4   screen display test
     5         kx #                n = 5   main/printer port test
     5         kx #                n = 6   mouse port test
     5         kx #                n = 7   graphics board test
     5         kx #                n = 8   graphics memory test
     5         kx #                n = 9   display all 'E'
     5         kx #                n = :   display all 'H'
     5         kx #ESC d           set background colour screen
     5         kx #
     5         kx #ESC e n         program insert char (n = insert char)
     5         kx #ESC f text CR   load user status line with 'text'
     5         kx #
     5         kx #ESC g           display user status line on 25th line
     5         kx #ESC h           display system status line on 25th line
     5         kx #ESC i           tab
     5         kx #ESC j           reverse linefeed
     5         kx #ESC k n         duplex/local edit mode:
     5         kx #                n = 0   duplex edit mode
     5         kx #                n = 1   local edit mode
     5         kx #ESC l n         select virtual screen:
     5         kx #                n = 0   screen 1
     5         kx #                n = 1   screen 2
     5         kx #ESC m           save current config to NVRAM
     5         kx #ESC n p1        select display screen:
     5         kx #                p1 = 0  screen 1
     5         kx #                p1 = 1  screen 2
     5         kx #                p1 = 2  screen 3
     5         kx #                p1 = 3  screen 4
     5         kx #ESC o p1 p2     set characters/line and attribute:
     5         kx #                p1 = 0  80 chars/line
     5         kx #
     5         kx #ESC o p1 p2     set characters/line and attribute:
     5         kx #                p1 = 0  80 chars/line
     5         kx #                p1 = 1  132 chars/line
     5         kx #                p2 = 0  single width single height
     5         kx #                p2 = 1  single width double height
     5         kx #                p2 = 2  double width single height
     5         kx #                p2 = 3  double width double height
     5         kx #
     5         kx #ESC q           insert mode on
     5         kx #ESC r           edit mode on
     5         kx #ESC s           send message all
     5         kx #ESC t           erase line to null
     5         kx #ESC u           clear monitor mode (see ESC U, ESC X)
     5         kx #ESC v           autopage mode on
     5         kx #ESC w           autopage mode off
     5         kx #ESC x p1 p2 p3  define delimiter code...
     5         kx #ESC y           erase page to null
     5         kx #
     5         kx #ESC z 2 p1 p2 p3 p4   draw quadrangle:
     5         kx #                      p1 = starting row
     5         kx #                      p2 = starting column
     5         kx #                      p3 = end row
     5         kx #                      p4 = end column
     5         kx #
     5         kx #ESC { p1 p2 p3 p4     configure main port
     5         kx #                      (baud, stop bits, parity, word length)
     5         kx #
     5         kx #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
     5         kx #                        p1 = function key code:
     5         kx #                             '1' - ';'  normal f1- f11
     5         kx #                             '<' - 'F'  shifted f1 - f11
     5         kx #                        p2 = program mode:
     5         kx #                             1 = FDX
     5         kx #                             2 = LOC
     5         kx #                             3 = HDX
     5         kx #                        Ctrl-Y = terminator
     5         kx #                        (use Ctrl-P to escape ^P, ^Y )
     5         kx #
     5         kx #ESC } p1 p2 p3 p4     configure printer port
     5         kx #                      (baud, stop bits, parity, word length)
     5         kx #ESC ~           send system status
     5         kx #
     5         kx # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
     5         kx #
     5         kx # Entry is by esr going solely on above information and is UNTESTED.
     5         kx # This actually looks a lot like a Televideo 9xx.
     5         kx # This entry uses page 0 and is monochrome; I'm not brave enough to try
     5         kx # to make color work without a test terminal.  The :am: capability is a guess.
     5         kx # The initialization string sets conversation mode, blinking underline cursor,
     5         kx # full duplex, parallel attribute mode, display user status line, white
     5         kx # foreground, black background, normal highlight.
     5         kx #
     5         kx icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
     5         kx 	:am:bs:hs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:bt=\EI:cl=\E*:cr=\r:cs=\E!%+ %+ :ct=\E3:\
     5         kx 	:dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
     5         kx 	:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:im=\Eq:le=^H:mb=\E[2ZZ:\
     5         kx 	:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:nw=^_:rs=\Eo1:\
     5         kx 	:se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:st=\E1:ta=^I:\
     5         kx 	:ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:ve=\E.3:\
     5         kx 	:vi=\E.0:vs=\E.1:
     5         kx icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
     5         kx 	:rs=\Eo1:tc=icl6404:
     5         kx 
     5         kx #### Interactive Systems Corp
     5         kx #
     5         kx # ISC used to sell OEMed and customized hardware to support ISC UNIX.
     5         kx # ISC UNIX still exists in 1995, but ISC itself is no more; they got
     5         kx # bought out by Sun.
     5         kx #
     5         kx 
     5         kx # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
     5         kx # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
     5         kx # ":le=^_:" later overridden -- esr)
     5         kx intext|Interactive Systems Corporation modified owl 1200:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:sg#1:\
     5         kx 	:al=5.5*\020:bl=^G:bt=^Y:cd=5.5*\026J:ce=^Kp^R:cl=132^L:\
     5         kx 	:cm=\017%+ %+ :cr=\r:dc=5.5*\022:dl=5.5*\021:do=\n:ei=^V<:\
     5         kx 	:im=^V;:ip=5.5*:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:\
     5         kx 	:k4=^VD\r:k5=^VE\r:k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:\
     5         kx 	:kb=^H:kd=\n:ke=^V9:kh=^Z:kl=^_:kr=^^:ks=\036\:\264\026%%:\
     5         kx 	:ku=^\:le=^H:nd=^^:se=^V#\s:sf=\n:so=^V$,:ta=^I:up=^\:
     5         kx intext2|intextii|INTERACTIVE modified owl 1251:\
     5         kx 	:am:bw:ul:\
     5         kx 	:co#80:li#24:sg#0:ug#0:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:\
     5         kx 	:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:k3=\ES\r:k4=\ET\r:k5=\EU\r:\
     5         kx 	:k6=\EV\r:k7=\EW\r:k8=\EX\r:k9=\EY\r:kb=^H:kd=\EB\r:\
     5         kx 	:kh=\ER\r:kl=\ED\r:kr=\EC\r:ku=\EA\r:l0=REFRSH:l1=DEL CH:\
     5         kx 	:l2=TABSET:l3=GOTO:l4=+PAGE:l5=+SRCH:l6=-PAGE:l7=-SRCH:\
     5         kx 	:l8=LEFT:l9=RIGHT:le=\E[D:nd=\E[C:se=\E[2 D:sf=\E[S:\
     5         kx 	:so=\E[6 D:sr=\E[T:ta=^I:ue=\E[2 D:up=\E[A:us=\E[18 D:\
     5         kx 	:vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
     5         kx 
     5         kx #### Kimtron (abm, kt)
     5         kx #
     5         kx # Kimtron seems to be history, but as March 1998 these people are still
     5         kx # offering repair services for Kimtron equipment:
     5         kx #
     5         kx #    Com/Pair Monitor Service
     5         kx #    1105 N. Cliff Ave.
     5         kx #    Sioux Falls, South Dakota 57103
     5         kx #
     5         kx #    WATS voice:  1-800/398-4946
     5         kx #    POTS   fax: +1 605/338-8709
     5         kx #    POTS voice: +1 605/338-9650
     5         kx #         Email: <compair@sd.cybernex.net>
     5         kx #  Internet/Web: <http://www.com-pair.com>
     5         kx #
     5         kx # Kimtron entries include (undocumented) codes for: enter dim mode,
     5         kx # enter bold mode, enter reverse mode, turn off all attributes.
     5         kx #
     5         kx 
     5         kx # Kimtron ABM 85 added by Dual Systems
     5         kx # (abm85: removed duplicated ":kd=^J:" -- esr)
     5         kx abm85|Kimtron ABM 85:\
     5         kx 	:am:bs:bw:ms:\
     5         kx 	:co#80:it#8:li#24:sg#1:ug#1:\
     5         kx 	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
     5         kx 	:dl=\ER:do=\n:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
     5         kx 	:is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=\n:kh=^^:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
     5         kx 	:up=^K:us=\El:
     5         kx # Kimtron ABM 85H added by Dual Systems.
     5         kx # Some notes about the abm85h entries:
     5         kx # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
     5         kx #    firmware revs prior to SP51
     5         kx # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
     5         kx #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
     5         kx #    in some places and NOT software settable i.e., :is: can't fix it)
     5         kx # 3) In 85h mode, the arrow keys and special functions transmit when
     5         kx #    the terminal is in dup-edit, and work only locally in local-edit.
     5         kx #    Vi won't swallow `del char' for instance, but :ti: turns on
     5         kx #    dup-edit anyway so that the arrow keys will work right. If the
     5         kx #    arrow keys don't work the way you like, change :ti:, :te:, and
     5         kx #    :is:.  Note that 920E mode does not have software commands to toggle
     5         kx #    between dup and local edit, so you get whatever was set last on the
     5         kx #    terminal.
     5         kx # 4) :vb: attribute is nice, but seems too slow to work correctly
     5         kx #    (\Eb:pc:\Ed)
     5         kx # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
     5         kx #    are selected, the <xmc@> entry should be removed.
     5         kx # 6) auto new-line should be on (selectable from setup mode only)
     5         kx #
     5         kx # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
     5         kx abm85h|Kimtron ABM 85H native mode:\
     5         kx 	:hs:\
     5         kx 	:sg@:\
     5         kx 	:bl=^G:ds=\Ee:fs=\r:im=\EZ:\
     5         kx 	:is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
     5         kx 	:kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
     5         kx 	:tc=adm+sgr:tc=abm85:
     5         kx abm85e|Kimtron ABM 85H in 920E mode:\
     5         kx 	:sg@:\
     5         kx 	:bl=^G:im=\EZ:\
     5         kx 	:is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
     5         kx 	:me=\E(\Ek:mh=\E):mr=\Ej:vb@:tc=abm85:
     5         kx abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
     5         kx 	:sg@:\
     5         kx 	:bl=^G:im=\EZ:\
     5         kx 	:is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
     5         kx 	:me=\E(\Ek:mh=\E):mr=\Ej:tc=abm85:
     5         kx # From: <malman@bbn-vax.arpa>
     5         kx # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
     5         kx kt7|kimtron model kt-7:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
     5         kx 	:dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
     5         kx 	:if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
     5         kx 	:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:tc=adm+sgr:
     5         kx # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
     5         kx # other kt7 entry and the adjacent key capabilities).  Removed EE which is
     5         kx # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
     5         kx # but we can't figure out what.
     5         kx kt7ix|kimtron model kt-7 or 70 in IX mode:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%%:al=\EE:\
     5         kx 	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=\r:ho=^^:ic=\EQ:\
     5         kx 	:im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
     5         kx 	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
     5         kx 	:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
     5         kx 	:kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=\r\n:se=\EG0:sf=\n:\
     5         kx 	:so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
     5         kx 
     5         kx #### Microdata/MDIS
     5         kx #
     5         kx # This was a line of terminals made by McDonnell-Douglas Information Systems.
     5         kx # These entries come direct from MDIS documentation.  I have edited them only
     5         kx # to move primary names of the form p[0-9] * to aliases, and to comment out
     5         kx # :ae:/:as: in a couple of entries without <acsc> strings.  I have
     5         kx # also removed the change history; the last version indicates this is
     5         kx # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
     5         kx #
     5         kx 
     5         kx # McDonnell Information Systems Terminal Family History
     5         kx # =========================================
     5         kx #
     5         kx # Prism-1, Prism-2 and P99:
     5         kx #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
     5         kx #
     5         kx # Prism-4 and Prism-5:
     5         kx #       Slightly less ancient range of Microdata terminals. Follow-on from
     5         kx #       Prism-2, but with many enhancements. P5 has eight display pages.
     5         kx #
     5         kx # Prism-6:
     5         kx #       A special terminal for use with library systems, primarily in Germany.
     5         kx #       Limited numbers. Similar functionality to P5 (except attributes?).
     5         kx #
     5         kx # Prism-7, Prism-8 and Prism-9:
     5         kx #       More recent range of MDIS terminals, in which P7 and P8
     5         kx #       replace the P4 & P5, with added functionality, and P9 is the flagship.
     5         kx #       The P9 has two emulation modes - P8 and ANSI - and includes a
     5         kx #       large number of the DEC VT220 control sequences. Both
     5         kx #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
     5         kx #
     5         kx # Prism-12 and Prism-14:
     5         kx #       Latest range, functionally very similar to the P9.  The P14 has a
     5         kx #       black-on-white overscanning screen.
     5         kx #
     5         kx # The terminfo definitions given here are:
     5         kx #
     5         kx # p2      - Prism-2 (or Prism-1 or P99).
     5         kx #
     5         kx # p4      - Prism-4 (and older P7s & P8s).
     5         kx # p5      - Prism-5 (or Prism-6).
     5         kx #
     5         kx # p7      - Prism-7.
     5         kx # p8      - Prism-8 (in national or multinational mode).
     5         kx # p8-w    - 132 column version of p8.
     5         kx # p9      - Prism-9 in ANSI mode.
     5         kx # p9-w    - 132 column version of p9.
     5         kx # p9-8    - Prism-9 in Prism-8 emulation mode.
     5         kx # p9-8-w  - As p9-8, but with 132 columns.
     5         kx #
     5         kx # p12     - Prism-12 in ANSI mode.
     5         kx # p12-w   - 132 column version of p12.
     5         kx # p12-m   - Prism-12 in MDC emulation mode.
     5         kx # p12-m-w - As p12-m, but with 132 columns.
     5         kx # p14     - Prism-14 in ANSI mode.
     5         kx # p14-w   - 132 column version of p14.
     5         kx # p14-m   - Prism-14 in MDC emulation mode.
     5         kx # p14-m-w - As p14-m, but with 132 columns.
     5         kx #
     5         kx # p2: Prism-2
     5         kx # -----------
     5         kx #
     5         kx # Includes Prism-1 and basic P99 without SP or MP loaded.
     5         kx # The simplest form of Prism-type terminal.
     5         kx # Basic cursor movement and clearing operations only.
     5         kx # No video attributes.
     5         kx # Notes:
     5         kx #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
     5         kx #  value up, followed by backspace.
     5         kx #
     5         kx prism2|MDC Prism-2:\
     5         kx 	:am:bw:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=20^L:cr=\r:cv=^K%+ :do=\n:ho=^A:\
     5         kx 	:kb=^H:kh=^A:le=^H:nd=^F:sf=\n:up=^Z:
     5         kx 
     5         kx # p4: Prism-4
     5         kx # -----------
     5         kx #
     5         kx # Includes early versions of P7 & P8.
     5         kx # Basic family definition for most Prisms (except P2 and P9 ANSI).
     5         kx # Notes:
     5         kx #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
     5         kx #  value up, followed by backspace.
     5         kx #  Cursor key definitions removed because they interfere with vi and csh keys.
     5         kx #
     5         kx prism4|p4|P4|MDC Prism-4:\
     5         kx 	:5i:am:bw:hs:ms:\
     5         kx 	:co#80:li#24:sg#1:ug#1:ws#72:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=20^L:cr=\r:cv=^K%+ :do=\n:\
     5         kx 	:ds=\035\343\035\345:fs=\035\345:ho=^A:kb=^H:kh=^A:le=^H:\
     5         kx 	:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:po=\ER:\
     5         kx 	:ps=\EU:se=^C\s:sf=\n:so=^CD:ts=\035\343:ue=^C\s:up=^Z:\
     5         kx 	:us=^CP:ve=\035\342:vi=\035\344:
     5         kx 
     5         kx # p5: Prism-5
     5         kx # -----------
     5         kx #
     5         kx # Same definition as p4. Includes Prism-6 (not tested!).
     5         kx # Does not use any multi-page features.
     5         kx #
     5         kx prism5|p5|P5|MDC Prism-5:\
     5         kx 	:tc=p4:
     5         kx 
     5         kx # p7: Prism-7
     5         kx # -----------
     5         kx #
     5         kx # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
     5         kx # Notes:
     5         kx #  Use p4 for very early models of P7.
     5         kx #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
     5         kx #
     5         kx prism7|p7|P7|MDC Prism-7:\
     5         kx 	:ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
     5         kx 
     5         kx # p8: Prism-8
     5         kx # -----------
     5         kx #
     5         kx # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
     5         kx # Supports national and multinational character sets.
     5         kx # Notes:
     5         kx #  Alternate char set operations only work in multinational mode.
     5         kx #  Use p4 for very early models of P8.
     5         kx #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
     5         kx # (esr: commented out :as:/:ae: because there's no <acsc>)
     5         kx #
     5         kx prism8|p8|P8|MDC Prism-8:\
     5         kx 	:ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
     5         kx 
     5         kx # p8-w: Prism-8 in 132 column mode
     5         kx # --------------------------------
     5         kx #
     5         kx # 'Wide' version of p8.
     5         kx # Notes:
     5         kx #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
     5         kx #
     5         kx prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	:is=\E[<12h\E[<14h:tc=p8:
     5         kx 
     5         kx # p9: Prism-9 in ANSI mode
     5         kx # -------------------------
     5         kx #
     5         kx # The "flagship" model of this generation of terminals.
     5         kx # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
     5         kx # Notes:
     5         kx #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
     5         kx #  Fixes to deal with terminal firmware bugs:
     5         kx #  . 'ri' uses insert-line since rev index doesn't always
     5         kx #  . 'sgr0' has extra '0' since esc[m fails
     5         kx #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
     5         kx #  Not covered in the current definition:
     5         kx #  . Labels
     5         kx #  . Programming Fn keys
     5         kx #  . Graphic characters (defaults correctly to vt100)
     5         kx #  . Padding values (sets xon)
     5         kx # (esr: commented out :as:/:ae: because there's no <acsc>)
     5         kx #
     5         kx prism9|p9|P9|MDC Prism-9 in ANSII mode:\
     5         kx 	:am:bw:hs:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:ws#72:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
     5         kx 	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
     5         kx 	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:al=\E[L:bl=^G:bt=\E[Z:cd=10\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%d%%v:ct=\E[3g:\
     5         kx 	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\n:ds=\E[%}\024:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[0m\017:mp=\E[32%{:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\r\n:rc=\E[%z:rp=\E[%r%db%.:\
     5         kx 	:rs=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
     5         kx 	:sc=\E[%y:se=\E[27m:sf=\n:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
     5         kx 	:ts=\E[%i%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
     5         kx 	:vi=\E[<4l:tc=ansi+pp:
     5         kx 
     5         kx # p9-w: Prism-9 in 132 column mode
     5         kx # --------------------------------
     5         kx #
     5         kx # 'Wide' version of p9.
     5         kx #
     5         kx prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	:is=\E[&p\E[<12l\E F\E[<14h:\
     5         kx 	:rs=\E[&p\E[<12l\E F\E[<14h:tc=p9:
     5         kx 
     5         kx # p9-8: Prism-9 in P8 mode
     5         kx # ------------------------
     5         kx #
     5         kx # P9 terminal in P8 emulation mode.
     5         kx # Similar to p8 definition.
     5         kx # Insertion and deletion operations possible.
     5         kx #
     5         kx prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
     5         kx 	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8:
     5         kx 
     5         kx # p9-8-w: Prism-9 in P8 and 132 column modes
     5         kx # ------------------------------------------
     5         kx #
     5         kx # P9 terminal in P8 emulation mode and 132 column mode.
     5         kx #
     5         kx prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
     5         kx 	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8-w:
     5         kx 
     5         kx # p12: Prism-12 in ANSI mode
     5         kx # ---------------------------
     5         kx #
     5         kx # See p9 definition.
     5         kx #
     5         kx prism12|p12|P12|MDC Prism-12 in ANSI mode:\
     5         kx 	:tc=p9:
     5         kx 
     5         kx # p12-w: Prism-12 in 132 column mode
     5         kx # ----------------------------------
     5         kx #
     5         kx # 'Wide' version of p12.
     5         kx #
     5         kx prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
     5         kx 	:tc=p9-w:
     5         kx 
     5         kx # p12-m: Prism-12 in MDC emulation mode
     5         kx # -------------------------------------
     5         kx #
     5         kx # P12 terminal in MDC emulation mode.
     5         kx # Similar to p8 definition.
     5         kx # Insertion and deletion operations possible.
     5         kx #
     5         kx prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
     5         kx 	:tc=p9-8:
     5         kx 
     5         kx # p12-m-w: Prism-12 in MDC emulation and 132 column modes
     5         kx # -------------------------------------------------------
     5         kx #
     5         kx # P12 terminal in MDC emulation mode and 132 column mode.
     5         kx #
     5         kx prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
     5         kx 	:tc=p9-8-w:
     5         kx 
     5         kx # p14: Prism-14 in ANSII mode
     5         kx # ---------------------------
     5         kx #
     5         kx # See p9 definition.
     5         kx #
     5         kx prism14|p14|P14|MDC Prism-14 in ANSII mode:\
     5         kx 	:tc=p9:
     5         kx 
     5         kx # p14-w: Prism-14 in 132 column mode
     5         kx # ----------------------------------
     5         kx #
     5         kx # 'Wide' version of p14.
     5         kx #
     5         kx prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
     5         kx 	:tc=p9-w:
     5         kx 
     5         kx # p14-m: Prism-14 in MDC emulation mode
     5         kx # -------------------------------------
     5         kx #
     5         kx # P14 terminal in MDC emulation mode.
     5         kx # Similar to p8 definition.
     5         kx # Insertion and deletion operations possible.
     5         kx #
     5         kx prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
     5         kx 	:tc=p9-8:
     5         kx 
     5         kx # p14-m-w: Prism-14 in MDC emulation and 132 column modes
     5         kx # -------------------------------------------------------
     5         kx #
     5         kx # P14 terminal in MDC emulation mode and 132 column mode.
     5         kx #
     5         kx prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
     5         kx 	:tc=p9-8-w:
     5         kx 
     5         kx # End of McDonnell Information Systems Prism definitions
     5         kx 
     5         kx # These things were popular in the Pick database community at one time
     5         kx # From: George Land <georgeland@aol.com> 24 Sep 1996
     5         kx p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
     5         kx 	:am:bw:hs:mi:\
     5         kx 	:co#80:li#24:ma#1:sg#1:ug#1:ws#78:\
     5         kx 	:F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=\r:dc=\s^H:\
     5         kx 	:dl=^P:do=\n:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
     5         kx 	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
     5         kx 	:kD=\s^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=\n:kh=^A:kl=^U:kr=^F:\
     5         kx 	:ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
     5         kx 	:la=F10:le=^U:mb=^CB:me=^C\s:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
     5         kx 	:nw=\n\r:pc=\0:se=^C\s:sf=\n:so=^CE:ue=^C\s:up=^Z:us=^C0:
     5         kx 
     5         kx #### Microterm (act, mime)
     5         kx #
     5         kx # The mime1 entries refer to the Microterm Mime I or Mime II.
     5         kx # The default mime is assumed to be in enhanced act iv mode.
     5         kx #
     5         kx 
     5         kx # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
     5         kx # freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
     5         kx # :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
     5         kx # since Sytek insists ^S means xoff.
     5         kx # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
     5         kx act4|microterm|microterm act iv:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*^^:cl=12^L:\
     5         kx 	:cm=\024%+^X%>/0%+P:cr=\r:dc=.1*^D:dl=2.3*\027:do=^K:\
     5         kx 	:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:sf=\n:up=^Z:
     5         kx # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
     5         kx # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
     5         kx # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
     5         kx act5|microterm5|microterm act v:\
     5         kx 	:kd=^K:kl=^H:kr=^X:ku=^Z:sr=3\EH:uc=^H\EA:tc=act4:
     5         kx # Mimes using brightness for standout.  Half bright is really dim unless
     5         kx # you turn up the brightness so far that lines show up on the screen.
     5         kx mime-fb|full bright mime1:\
     5         kx 	:is=^S\E:se=^S:so=^Y:tc=mime:
     5         kx mime-hb|half bright mime1:\
     5         kx 	:is=^Y\E:se=^Y:so=^S:tc=mime:
     5         kx # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
     5         kx # the more plausible ":do=^J:" -- esr)
     5         kx # uc was at one time disabled to get around a curses bug, be wary of it
     5         kx mime|mime1|mime2|mimei|mimeii|microterm mime1:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:vt#9:\
     5         kx 	:al=80^A:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
     5         kx 	:cr=\r:dl=80^W:do=\n:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:ku=^Z:\
     5         kx 	:le=^H:nd=^X:sf=\n:sr=3^R:ta=2^I:uc=^U:up=^Z:
     5         kx # These termcaps (for mime2a) put the terminal in low intensity mode
     5         kx # since high intensity mode is so obnoxious.
     5         kx mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=20*^A:bl=^G:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\ED:dl=20*^W:do=\n:ei=^Z:ho=^^:im=\EE:ip=2:is=\E):kd=\n:\
     5         kx 	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=\n:so=\E\::sr=\EI:\
     5         kx 	:ue=\E7:up=\EI:us=\E6:
     5         kx # This is the preferred mode (but ^X can't be used as a kill character)
     5         kx mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
     5         kx 	:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=20*^A:bl=^G:cd=20*\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=^N:dl=20*^W:do=\n:ei=^Z:ho=\EH:im=^O:ip=2:is=^Y:kd=\EB:\
     5         kx 	:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=\n:so=\E8:\
     5         kx 	:sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
     5         kx # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
     5         kx mime3a|mime1 emulating 3a:\
     5         kx 	:am@:\
     5         kx 	:kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
     5         kx mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
     5         kx 	:it#8:\
     5         kx 	:al=80^A:cd=^_:ce=^X:dl=80^W:ta=3^I:tc=mime3a:
     5         kx # Wed Mar  9 18:53:21 1983
     5         kx # We run our terminals at 2400 baud, so there might be some timing problems at
     5         kx # higher speeds. The major improvements in this model are the terminal now
     5         kx # scrolls down and insert mode works without redrawing the rest of the line
     5         kx # to the right of the cursor. This is done with a bit of a kludge using the
     5         kx # exit graphics mode to get out of insert, but it does not appear to hurt
     5         kx # anything when using vi at least. If you have some users using act4s with
     5         kx # programs that use curses and graphics mode this could be a problem.
     5         kx mime314|mm314|mime 314:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
     5         kx 	:im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
     5         kx # Microterm mime 340 from University of Wisconsin
     5         kx mm340|mime340|mime 340:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=46\EU:cd=2*^_:ce=2.1\EL:cl=12^Z:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=2.1*\E#:dl=49.6\EV:do=\n:is=\E,:kb=^H:kd=\n:kl=^H:ku=^K:\
     5         kx 	:le=^H:nd=^L:nw=\r\n:sf=\n:ta=^I:up=^K:
     5         kx # This came from University of Wisconsin marked "astro termcap for jooss".
     5         kx # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
     5         kx # also added <rmam>/<smam> based  on the init string -- esr)
     5         kx mt4520-rv|micro-term 4520 reverse video:\
     5         kx 	:am:hs:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
     5         kx 	:fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
     5         kx 	:is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
     5         kx 	:nd=\E[C:nw=\EE:\
     5         kx 	:r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
     5         kx 	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
     5         kx 	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
     5         kx 	:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
     5         kx 	:vs=\E7\E[0U:
     5         kx 
     5         kx # Fri Aug  5 08:11:57 1983
     5         kx # This entry works for the ergo 4000 with the following setups:
     5         kx # ansi,wraparound,newline disabled, xon/xoff disabled in both
     5         kx # setup a & c.
     5         kx #
     5         kx # WARNING!!! There are multiple versions of ERGO 4000 microcode
     5         kx # Be advised that very early versions DO NOT WORK RIGHT !!
     5         kx # Microterm does have a ROM exchange program- use it or lose big
     5         kx # (ergo400: added <rmam>/<smam> based on the init string -- esr)
     5         kx ergo4000|microterm ergo 4000:\
     5         kx 	:da:db:ms:\
     5         kx 	:co#80:li#66:\
     5         kx 	:RA=\E[?7l:SA=\E[?7m:al=5*\E[1L:bl=^G:cd=15\E[0J:\
     5         kx 	:ce=13\E[0K:cl=80\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:dc=80\E[1P:dl=5*\E[1M:do=\E[B:ei=\E[4l:im=6\E[4h:\
     5         kx 	:is=300\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=4\E=:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=4\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:\
     5         kx 	:me=20\E[m:nd=\E[C:se=20\E[m:sf=20*\ED:so=20\E[7m:\
     5         kx 	:sr=20*\EM:ta=^I:up=\E[A:
     5         kx 
     5         kx #### NCR
     5         kx #
     5         kx # NCR's terminal group was merged with AT&T's when AT&T bought the company.
     5         kx # For what happened to that group, see the ADDS section.
     5         kx #
     5         kx # There is an NCR4103 terminal that's just a re-badged Wyse-50.
     5         kx #
     5         kx 
     5         kx # The following vendor-supplied termcaps were captured from the Boundless
     5         kx # Technologies site, 8 March 1998.  I removed all-upper-case names that were
     5         kx # identical, except for case, to lower-case ones.  I also uncommented the acsc
     5         kx # capabilities.X
     5         kx #
     5         kx # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
     5         kx # DEC vt200/300 with color capabilities added.
     5         kx ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300an:
     5         kx # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
     5         kx # DEC vt200/300 with color capabilities added.
     5         kx ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300wan:
     5         kx # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
     5         kx # DEC vt200/300 with color capabilities added.
     5         kx ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300pp:
     5         kx # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
     5         kx # DEC vt200/300 with color capabilities added.
     5         kx ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
     5         kx 	:Co#8:pa#64:\
     5         kx 	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300wpp:
     5         kx # This definition for ViewPoint supports several attributes.  This means
     5         kx # that it has magic cookies (extra spaces where the attributes begin).
     5         kx # Some applications do not function well with magic cookies.  The System
     5         kx # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
     5         kx # If supporting various attributes is not vital, 'xmc#1' and the extra
     5         kx # attributes can be removed.
     5         kx # Mapping to ASCII character set ('acsc' capability) can also be
     5         kx # restored if needed.
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260vppp|NCR 2900_260 viewpoint:\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:K1=^A:K3=\EJ:K4=\ET:K5=\EJ:al=2\EM:bl=^G:bt=\EI:cd=2\Ek:\
     5         kx 	:ce=2\EK:cl=40^L:cm=5\EY%+ %+ :cr=2\r:dc=2\EW:dl=2\El:\
     5         kx 	:do=2\n:ds=\E`c:ei=\Er:fs=\r:ho=2^^:im=\Eq:\
     5         kx 	:is=100\Ee6\E~%\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
     5         kx 	:k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
     5         kx 	:k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
     5         kx 	:kb=^H:kd=\n:kh=^A:kl=^U:kr=^F:ku=^Z:le=2^H:ll=5^A:mb=\EG2:\
     5         kx 	:me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=2^F:nw=2^_:\
     5         kx 	:rs=100\Ee6\E~%\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
     5         kx 	:se=\EG0:sf=2\n:so=\EG4:sr=2\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
     5         kx 	:up=2^Z:us=\EG8:ve=\E`5:vi=\E`0:
     5         kx ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\Ea%i%dR%dC:\
     5         kx 	:is=100\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
     5         kx 	:rs=100\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
     5         kx 	:tc=ncr260vppp:
     5         kx ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:Nl#32:co#80:li#24:\
     5         kx 	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=5\E[%dL:\
     5         kx 	:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:LE=5\E[%dD:\
     5         kx 	:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:ae=^O:\
     5         kx 	:al=5\E[L:as=^N:bl=^G:cb=3\E[1K:cd=5\E[0J:ce=3\E[0K:\
     5         kx 	:ch=40\E[%dG:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:cv=40\E[%dd:dc=5\E[1P:dl=5\E[M:\
     5         kx 	:do=5\E[B:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
     5         kx 	:ho=1\E[H:im=\E[4h:\
     5         kx 	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
     5         kx 	:le=5\E[D:mb=\E[5m:md=\E[1m:me=20\E[0m:mk=\E[8m:mr=\E[7m:\
     5         kx 	:nd=5\E[C:nw=5\EE:rc=\E8:\
     5         kx 	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:sc=\E7:se=\E[0m:sf=5\ED:so=\E[1;7m:sr=5\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[2$~\E[1$}:ue=\E[0m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=vt220+keypad:
     5         kx ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:tc=ncr260vt100an:
     5         kx ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
     5         kx 	:@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
     5         kx 	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
     5         kx 	:kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
     5         kx 	:l3=pf3:l4=pf4:\
     5         kx 	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:tc=ncr260vt100an:
     5         kx ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:tc=ncr260vt100pp:
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=5\E[%dL:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:\
     5         kx 	:LE=5\E[%dD:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:ae=20^O:\
     5         kx 	:al=5\E[L:as=20^N:bl=^G:cd=\E[0J:ce=5\E[0K:\
     5         kx 	:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
     5         kx 	:cs=5\E[%i%d;%dr:ct=\E[3g:dc=5\E[1P:dl=5\E[M:do=5\E[B:\
     5         kx 	:ds=\E[0$~\E[1$~:ec=5\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
     5         kx 	:im=\E[4h:\
     5         kx 	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:k0=\EOy:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
     5         kx 	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
     5         kx 	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
     5         kx 	:ks=\E[?1h\E=:ku=\EOA:le=5\E[D:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=20\E[0m:mr=\E[7m:nd=5\E[C:nw=\EE:rc=\E8:\
     5         kx 	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:sc=\E7:se=\E[27m:sf=5\ED:so=\E[7m:sr=5\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[2$~\E[1$}:ue=\E[24m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=vt220+keypad:
     5         kx ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
     5         kx 	:tc=ncr260vt200an:
     5         kx ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
     5         kx 	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
     5         kx 	:tc=ncr260vt200an:
     5         kx ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:tc=ncr260vt200pp:
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
     5         kx 	:am:hs:mi:ms:xn:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=5\E[%dL:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:\
     5         kx 	:LE=5\E[%dD:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:ae=20^O:\
     5         kx 	:al=5\E[L:as=20^N:bl=^G:cd=\E[0J:ce=5\E[0K:\
     5         kx 	:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
     5         kx 	:cs=5\E[%i%d;%dr:ct=\E[3g:dc=5\E[1P:dl=5\E[M:do=5\E[B:\
     5         kx 	:ds=\E[0$~\E[1$~:ec=5\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
     5         kx 	:im=\E[4h:\
     5         kx 	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:k0=\EOy:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
     5         kx 	:le=5\E[D:mb=\E[5m:md=\E[1m:me=20\E[0m:mr=\E[7m:nd=5\E[C:\
     5         kx 	:nw=\EE:rc=\E8:\
     5         kx 	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:sc=\E7:se=\E[27m:sf=5\ED:so=\E[7m:sr=5\EM:st=\EH:ta=^I:\
     5         kx 	:ts=\E[2$~\E[1$}:ue=\E[24m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=vt220+keypad:
     5         kx ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
     5         kx 	:tc=ncr260vt300an:
     5         kx ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
     5         kx 	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
     5         kx 	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
     5         kx 	:tc=ncr260vt300an:
     5         kx NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\E[%i%d;%dH:\
     5         kx 	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
     5         kx 	:tc=ncr260vt300pp:
     5         kx # This terminfo file contains color capabilities for the Wyse325 emulation of
     5         kx # the NCR 2900/260C color terminal.  Because of the structure of the command
     5         kx # (escape sequence) used to set color attributes, one of the fore/background
     5         kx # colors must be preset to a given value. I have set the background color to
     5         kx # black.  The user can change this setup by altering the last section of the
     5         kx # 'setf' definition.  The escape sequence to set color attributes is
     5         kx #		ESC d y <foreground_color> <background_color> 1
     5         kx # In addition, the background color can be changed through the desk accessories.
     5         kx # The capability 'op' sets colors to green on black (default combination).
     5         kx #
     5         kx # NOTE:  The NCR Unix System Administrator's Shell will not function properly
     5         kx #	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
     5         kx #	    capability and recompile if you wish to have it included.
     5         kx #
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260wy325pp|NCR 2900_260 wyse 325:\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:K1=^^:K2=\EJ:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=\EI:cd=5\Ey:\
     5         kx 	:ce=5\Et:cl=10\E*:cm=10\E=%+ %+ :cr=\r:ct=\E0:dc=50\EW:\
     5         kx 	:dl=5\ER:do=5\n:ds=\E`c:ei=\Er:fs=\r:ho=5^^:im=\Eq:\
     5         kx 	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
     5         kx 	:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=5^H:mb=\EG2:\
     5         kx 	:me=15\EG0\EcB0\EcD:mr=\EG4:nd=5^L:nw=5^_:\
     5         kx 	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
     5         kx 	:up=5^K:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
     5         kx ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\Ea%i%dR%dC:\
     5         kx 	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:tc=ncr260wy325pp:
     5         kx # This definition for Wyse 350 supports several attributes.  This means
     5         kx # that it has magic cookies (extra spaces where the attributes begin).
     5         kx # Some applications do not function well with magic cookies.  The System
     5         kx # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
     5         kx # If supporting various attributes is not vital, 'xmc#1' and the extra
     5         kx # attributes can be removed.
     5         kx # Mapping to ASCII character set ('acsc' capability) can also be
     5         kx # restored if needed.
     5         kx # In addition, color capabilities have been added to this file.  The drawback,
     5         kx # however, is that the background color has to be black.  The foreground colors
     5         kx # are numbered 0 through 15.
     5         kx #
     5         kx # NOTE:  The NCR Unix System Administrator's Shell does not function properly
     5         kx #	    with the 'pairs' capability defined as below.  If you wish to
     5         kx #	    have it included, Un-comment it and recompile (using 'tic').
     5         kx #
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260wy350pp|NCR 2900_260 wyse 350:\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:K1=^^:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=\EI:cd=5\Ey:ce=5\Et:\
     5         kx 	:cl=20\E+:cm=40\E=%+ %+ :cr=\r:ct=\E0:dc=50\EW:dl=5\ER:\
     5         kx 	:do=5\n:ds=\E`c:ei=\Er:fs=\r:ho=10^^:im=\Eq:\
     5         kx 	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
     5         kx 	:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=5^H:mb=\EG2:\
     5         kx 	:me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=5^L:nw=5^_:\
     5         kx 	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
     5         kx 	:up=5^K:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
     5         kx ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\Ea%i%dR%dC:\
     5         kx 	:is=200\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:rs=200\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:tc=ncr260wy350pp:
     5         kx # This definition for Wyse 50+ supports several attributes.  This means
     5         kx # that it has magic cookies (extra spaces where the attributes begin).
     5         kx # Some applications do not function well with magic cookies.  The System
     5         kx # Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
     5         kx # If supporting various attributes is not vital, 'xmc#1' and the extra
     5         kx # attributes can be removed.
     5         kx # Mapping to ASCII character set ('acsc' capability) can also be
     5         kx # restored if needed.
     5         kx # (ncr260wy50+pp: originally contained commented-out
     5         kx # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260wy50+pp|NCR 2900_260 wyse 50+:\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:K1=^^:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=5\EI:cd=5\EY:ce=5\ET:\
     5         kx 	:cl=20\E+:cm=30\E=%+ %+ :cr=\r:ct=5\E0:dc=50\EW:dl=5\ER:\
     5         kx 	:do=5\n:ds=\E`c:ei=\Er:fs=\r:ho=10^^:im=\Eq:\
     5         kx 	:is=100\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
     5         kx 	:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=5^H:mb=\EG2:\
     5         kx 	:me=15\EG0\EH\003:mh=\EGp:mr=\EG4:nd=5^L:nw=5^_:\
     5         kx 	:rs=100\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=5\E1:ta=5^I:ts=\EF:\
     5         kx 	:ue=\EG0:up=5^K:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
     5         kx ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\Ea%i%dR%dC:\
     5         kx 	:is=200\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:rs=200\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:tc=ncr260wy50+pp:
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx ncr260wy60pp|NCR 2900_260 wyse 60:\
     5         kx 	:am:bw:hs:km:mi:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:K1=^^:K2=\EJ:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=15\EI:cd=5\Ey:\
     5         kx 	:ce=5\Et:cl=100\E*:cm=10\E=%+ %+ :cr=\r:ct=15\E0:dc=50\EW:\
     5         kx 	:dl=5\ER:do=5\n:ds=\E`c:ei=\Er:fs=\r:ho=25^^:im=\Eq:\
     5         kx 	:is=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
     5         kx 	:kb=^H:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=5^H:mb=\EG2:\
     5         kx 	:me=15\EG0\EcB0\EcD:mr=\EG4:nd=5^L:nw=5^_:\
     5         kx 	:rs=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=15\E1:ta=15^I:ts=\EF:\
     5         kx 	:ue=\EG0:up=5^K:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
     5         kx ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
     5         kx 	:co#132:\
     5         kx 	:cm=30\Ea%i%dR%dC:\
     5         kx 	:is=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:rs=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
     5         kx 	:tc=ncr260wy60pp:
     5         kx ncr160vppp|NCR 2900_160 viewpoint:\
     5         kx 	:tc=ncr260vppp:
     5         kx ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
     5         kx 	:tc=ncr260vpwpp:
     5         kx ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
     5         kx 	:tc=ncr260vt100an:
     5         kx ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
     5         kx 	:tc=ncr260vt100pp:
     5         kx ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
     5         kx 	:tc=ncr260vt100wan:
     5         kx ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
     5         kx 	:tc=ncr260vt100wpp:
     5         kx ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
     5         kx 	:tc=ncr260vt200an:
     5         kx ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
     5         kx 	:tc=ncr260vt200pp:
     5         kx ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
     5         kx 	:tc=ncr260vt200wan:
     5         kx ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
     5         kx 	:tc=ncr260vt200wpp:
     5         kx ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
     5         kx 	:tc=ncr260vt300an:
     5         kx ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
     5         kx 	:tc=ncr260vt300pp:
     5         kx ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
     5         kx 	:tc=ncr260vt300wan:
     5         kx ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
     5         kx 	:tc=ncr260vt300wpp:
     5         kx ncr160wy50+pp|NCR 2900_160 wyse 50+:\
     5         kx 	:tc=ncr260wy50+pp:
     5         kx ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
     5         kx 	:tc=ncr260wy50+wpp:
     5         kx ncr160wy60pp|NCR 2900_160 wyse 60:\
     5         kx 	:tc=ncr260wy60pp:
     5         kx ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
     5         kx 	:tc=ncr260wy60wpp:
     5         kx ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
     5         kx 	:5i:am:hs:mi:ms:xo:\
     5         kx 	:Nl#32:co#80:it#8:li#24:\
     5         kx 	:#4=\E[D:%i=\E[C:@8=\r:AL=80\E[%dL:DC=40\E[%dP:\
     5         kx 	:DL=70\E[%dM:DO=30\E[%dB:K1=\E[H:LE=30\E[%dD:RI=30\E[%dC:\
     5         kx 	:UP=30\E[%dA:\
     5         kx 	:ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:ae=90^O:\
     5         kx 	:al=80\E[B\E[L:as=90^N:bl=^G:cb=30\E[1K:cd=300\E[0J:\
     5         kx 	:ce=30\E[0K:cl=300\E[2J\E[1;1H:cm=100\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=100\E[%i%d;%dr:ct=40\E[3g:dc=10\E[1P:dl=40\E[M:\
     5         kx 	:do=2\E[B:ds=25\E[31l:eA=40\E(B\E)0:ei=80\E[4l:fs=101:\
     5         kx 	:ho=80\E[H:im=80\E[4h:\
     5         kx 	:is=200\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=2\E[D:mb=30\E[5m:md=30\E[1m:\
     5         kx 	:me=120\017\E[0m:mr=30\E[7m:nd=2\E[C:nw=\EE:ps=100\E[i:\
     5         kx 	:rc=\E8:\
     5         kx 	:rs=200\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031:\
     5         kx 	:sc=\E7:se=30\E[0m:sf=\ED:so=30\E[7m:sr=50\EM:st=\EH:ta=^I:\
     5         kx 	:ts=70\E[>+1:ue=30\E[0m:up=2\E[A:us=30\E[4m:
     5         kx ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
     5         kx 	:co#132:\
     5         kx 	:is=200\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
     5         kx 	:rs=200\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031:\
     5         kx 	:tc=ncrvt100an:
     5         kx #
     5         kx # Vendor-supplied NCR termcaps end here
     5         kx 
     5         kx # NCR7900 DIP switches:
     5         kx #
     5         kx # Switch A:
     5         kx # 1-4 - Baud Rate
     5         kx # 5   - Parity (Odd/Even)
     5         kx # 6   - Don't Send or Do Send Spaces
     5         kx # 7   - Parity Enable
     5         kx # 8   - Stop Bits (One/Two)
     5         kx #
     5         kx # Switch B:
     5         kx # 1   - Upper/Lower Shift
     5         kx # 2   - Typewriter Shift
     5         kx # 3   - Half Duplex / Full Duplex
     5         kx # 4   - Light/Dark Background
     5         kx # 5-6 - Carriage Return Without / With Line Feed
     5         kx # 7   - Extended Mode
     5         kx # 8   - Suppress Keyboard Display
     5         kx #
     5         kx # Switch C:
     5         kx # 1   - End of line entry disabled/enabled
     5         kx # 2   - Conversational mode / (Local?) Mode
     5         kx # 3   - Control characters displayed / not displayed
     5         kx # 4   - (2-wire?) / 4-wire communications
     5         kx # 5   - RTS on and off for each character
     5         kx # 6   - (50Hz?) / 60 Hz
     5         kx # 7   - Exit after level zero diagnostics
     5         kx # 8   - RS-232 interface
     5         kx #
     5         kx # Switch D:
     5         kx # 1   - Reverse Channel (yes / no)
     5         kx # 2   - Manual answer (no / yes)
     5         kx # 3-4 - Cursor appearance
     5         kx # 5   - Communication Rate
     5         kx # 6   - Enable / Disable EXT turnoff
     5         kx # 7   - Enable / Disable CR turnoff
     5         kx # 8   - Enable / Disable backspace
     5         kx #
     5         kx # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
     5         kx # reverse, blink, dim, and underline) the appropriate number of bits (by
     5         kx # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
     5         kx # '@' is (effectively) "or"ed with each attribute to generate the proper third
     5         kx # character in the <ESC>0 sequence.  The :sa: string implements the following
     5         kx # equation:
     5         kx #
     5         kx # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
     5         kx # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
     5         kx #
     5         kx #	Where:  P1 <==> Standout attribute parameter
     5         kx #		P2 <==> Underline attribute parameter
     5         kx #		P3 <==> Reverse attribute parameter
     5         kx #		P4 <==> Blink attribute parameter
     5         kx #		P5 <==> Dim attribute parameter
     5         kx # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
     5         kx ncr7900i|ncr7900|n7900|ncr 7900 model 1:\
     5         kx 	:am:bw:ul:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=\r:do=\n:\
     5         kx 	:is=\E0@\010\E3\E4\E7:kd=\n:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
     5         kx 	:ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
     5         kx 	:se=\E0@:sf=\n:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
     5         kx ncr7900iv|ncr 7900 model 4:\
     5         kx 	:am:bw:es:hs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%2:cr=\r:dl=\E^O:\
     5         kx 	:do=\n:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
     5         kx 	:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
     5         kx 	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
     5         kx 	:nw=\r\n:sf=\n:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:
     5         kx # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
     5         kx #	   The user can enter a CTRL-B to get out of this locked state.
     5         kx # In <hpa>, we want to output the character given by the formula:
     5         kx #		((col / 10) * 16) + (col % 10)		where "col" is "p1"
     5         kx ncr7901|ncr 7901 model:\
     5         kx 	:am:bw:ul:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\Ek:ce=\EK:ch=\020%B%.:cl=^L:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:cv=^K%+@:do=\n:is=\E4^O:kC=^L:kd=\n:kh=^H:kl=^U:kr=^F:ku=^Z:\
     5         kx 	:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
     5         kx 	:se=^O:sf=\n:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:ve=^X:\
     5         kx 	:vi=^W:
     5         kx 
     5         kx # Newbury Data Recording Limited (Newbury Data)
     5         kx #
     5         kx # Have been manufacturing and reselling  various peripherals for a long time
     5         kx # They don't make terminals anymore, but are still in business (in 2007).
     5         kx # Their e-mail address is at ndsales@newburydata.co.uk
     5         kx # and their post address is:
     5         kx #
     5         kx # Newbury Data Recording Ltd,
     5         kx # Premier Park, Road One,
     5         kx # Winsford, Cheshire, CW7 3PT
     5         kx #
     5         kx # Their technical support is still good, they sent me for free a printed copy
     5         kx # of the 9500 user manual and I got it just 1 week after I first contacted them
     5         kx # (in 2005)!
     5         kx 
     5         kx # NDR 9500
     5         kx # Manufactured in the early/mid eighties, behaves almost the same as a
     5         kx # Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
     5         kx # keep the same keyboard layout), add an optional 25-line mode, replace the DIP
     5         kx # switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
     5         kx # 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
     5         kx # recognized:  if you type in "ESC !", the next (third) character is not
     5         kx # echoed, showing that the terminal was actually waiting for a parameter!
     5         kx ndr9500|nd9500|Newbury Data 9500:\
     5         kx 	:5i:am:bw:hs:mi:ms:ul:xo:\
     5         kx 	:co#80:li#24:ws#79:\
     5         kx 	:#3=\Eq:%9=\EP:*4=\Er:*5=\EO:*8=\Et:@8=\r:F1=^AJ\r:F2=^A`\r:\
     5         kx 	:F3=^Aa\r:F4=^Ab\r:F5=^Ac\r:F6=^Ad\r:F7=^Ae\r:F8=^Af\r:\
     5         kx 	:F9=^Ag\r:FA=^Ah\r:FB=^Ai\r:FC=^Aj\r:RX=^N:SX=^O:\
     5         kx 	:ac=jDkClBmAnIqKtMuLvOwNxJ:ae=\E%%:al=\EE:as=\E$:bl=^G:\
     5         kx 	:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=\r:ct=\E3:\
     5         kx 	:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=\Er:fs=\r:ho=^^:ic=\EQ:im=\Eq:\
     5         kx 	:is=\Ew\E'\EDF\El\Er\EO:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
     5         kx 	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
     5         kx 	:k;=^AI\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:\
     5         kx 	:kS=\EY:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0\E%%\E(:\
     5         kx 	:mh=\E):mp=\E):nd=^L:nw=^_:pf=\Ea:po=\E`:se=\E(:sf=\n:so=\E):\
     5         kx 	:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef\011%+ :up=^K:vb=\Eb\Ed:\
     5         kx 	:ve=\E.1:vi=\E.0:
     5         kx 
     5         kx ndr9500-nl|NDR 9500 with no status line:\
     5         kx 	:hs@:\
     5         kx 	:ws@:\
     5         kx 	:ds@:fs@:ts@:tc=ndr9500:
     5         kx 
     5         kx ndr9500-25|NDR 9500 with 25th line enabled:\
     5         kx 	:li#25:tc=ndr9500:
     5         kx 
     5         kx ndr9500-25-nl|NDR 9500 with 25 lines and no status line:\
     5         kx 	:li#25:tc=ndr9500-nl:
     5         kx 
     5         kx ndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink):\
     5         kx 	:ms@:\
     5         kx 	:sg#1:ug#1:\
     5         kx 	:mb=\EG2:me=\EG0\E%%\E(:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:\
     5         kx 	:ue=\EG0:us=\EG8:tc=ndr9500:
     5         kx 
     5         kx ndr9500-25-mc|NDR 500 with 25 lines and magic cookies:\
     5         kx 	:li#25:tc=ndr9500-mc:
     5         kx 
     5         kx ndr9500-mc-nl|NDR 9500 with magic cookies and no status line:\
     5         kx 	:hs@:\
     5         kx 	:ws@:\
     5         kx 	:ds@:fs@:ts@:tc=ndr9500-mc:
     5         kx 
     5         kx ndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line:\
     5         kx 	:li#25:tc=ndr9500-mc-nl:
     5         kx 
     5         kx #### Perkin-Elmer (Owl)
     5         kx #
     5         kx # These are official terminfo entries from within Perkin-Elmer.
     5         kx #
     5         kx 
     5         kx bantam|pe550|pe6100|perkin elmer 550:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :cr=\r:do=\n:\
     5         kx 	:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=\n:up=\EA:
     5         kx fox|pe1100|perkin elmer 1100:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:cm=\EX%+ \EY%+ :\
     5         kx 	:cr=\r:ct=\E3:do=\n:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=\n:\
     5         kx 	:st=\E1:up=\EA:vb=^P^B^P^C:
     5         kx owl|pe1200|perkin elmer 1200:\
     5         kx 	:am:bs:in:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=5.5*\EL:bl=^G:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:\
     5         kx 	:cm=\EX%+ \EY%+ :cr=\r:ct=\E3:dc=5.5*\EO:dl=5.5*\EM:do=\n:\
     5         kx 	:ei=:ho=\EH:ic=\EN:im=:ip=5.5*:k0=\ERJ:k1=\ERA:k2=\ERB:\
     5         kx 	:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:\
     5         kx 	:kb=^H:le=^H:ll=\EH\EA:me=\E!\0:nd=\EC:se=\E!\0:sf=\n:\
     5         kx 	:so=\E!^H:st=\E1:up=\EA:vb=^P^B^P^C:
     5         kx pe1251|pe6300|pe6312|perkin elmer 1251:\
     5         kx 	:am:\
     5         kx 	:co#80:it#8:li#24:pb#300:sg#1:vt#8:\
     5         kx 	:bl=^G:cd=20*\EJ:ce=10*\EI:cl=332\EK:cm=\EX%+ \EY%+ :\
     5         kx 	:cr=\r:ct=\E3:do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:\
     5         kx 	:k4=\ERE:k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:\
     5         kx 	:le=\ED:nd=\EC:sf=\n:st=\E1:up=\EA:
     5         kx # (pe7000m: this had
     5         kx #	rmul=\E!\0, smul=\E!\040,
     5         kx # which is probably wrong, it collides with kf0
     5         kx pe7000m|perkin elmer 7000 series monochrome monitor:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=\r:\
     5         kx 	:do=\EB:ho=\EH:i1=\E!\0\EW  7o\Egf\ES7\s:k0=\E!\0:\
     5         kx 	:k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:k5=\E!^E:k6=\E!^F:\
     5         kx 	:k7=\E!^G:k8=\E!^H:k9=\E!^I:k;=\E!\n:kb=^H:kd=\E!U:kh=\E!S:\
     5         kx 	:kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7\s:nd=\EC:sf=\n:\
     5         kx 	:sr=\ER:up=\EA:
     5         kx pe7000c|perkin elmer 7000 series colour monitor:\
     5         kx 	:i1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s:se=\Eb0:so=\Eb2:\
     5         kx 	:ue=\E!\0:us=\E!\s:tc=pe7000m:
     5         kx 
     5         kx #### Sperry Univac
     5         kx #
     5         kx # Sperry Univac has merged with Burroughs to form Unisys.
     5         kx #
     5         kx 
     5         kx # This entry is for the Sperry UTS30 terminal running the TTY
     5         kx # utility under control of CP/M Plus 1R1. The functionality
     5         kx # provided is comparable to the DEC vt100.
     5         kx # (uts30: I added <rmam>/<smam> based on the init string -- esr)
     5         kx uts30|sperry uts30 with cp/m@1R1:\
     5         kx 	:am:bw:hs:\
     5         kx 	:co#80:li#24:ws#40:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
     5         kx 	:SR=\E[%dA:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\E[B:\
     5         kx 	:ei=:fs=\r:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
     5         kx 	:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\EX:\
     5         kx 	:rf=/usr/share/tabset/vt100:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\EW:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\ES:vi=\ER:
     5         kx 
     5         kx #### Tandem
     5         kx #
     5         kx # Tandem builds these things for use with its line of fault-tolerant
     5         kx # transaction-processing computers.  They aren't generally available
     5         kx # on the merchant market, and so are fairly uncommon.
     5         kx #
     5         kx 
     5         kx tandem6510|adm3a repackaged by Tandem:\
     5         kx 	:tc=adm3a:
     5         kx 
     5         kx # A funny series of terminal that TANDEM uses.  The actual model numbers
     5         kx # have a fourth digit after 653 that designates minor variants.  These are
     5         kx # natively block-mode and rather ugly, but they have a character mode which
     5         kx # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
     5         kx # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
     5         kx # removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
     5         kx tandem653|t653x|Tandem 653x multipage terminal:\
     5         kx 	:am:bs:da:db:hs:\
     5         kx 	:co#80:li#24:sg#1:ug#1:ws#64:\
     5         kx 	:cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=\n:ds=\Eo\r:fs=\r:\
     5         kx 	:ho=\EH:le=^H:me=\E6\s:nd=\EC:se=\E6\s:sf=\ES:so=\E6$:\
     5         kx 	:sr=\ET:ts=\Eo:ue=\E6\s:up=\EA:us=\E60:
     5         kx 
     5         kx #### Tandy/Radio Shack
     5         kx #
     5         kx # Tandy has a line of VDTs distinct from its microcomputers.
     5         kx #
     5         kx 
     5         kx dmterm|deskmate terminal:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
     5         kx 	:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
     5         kx 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
     5         kx 	:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
     5         kx 	:sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:tc=adm+sgr:
     5         kx dt100|dt-100|Tandy DT-100 terminal:\
     5         kx 	:xo:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
     5         kx 	:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
     5         kx 	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
     5         kx 	:k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
     5         kx 	:l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
     5         kx dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
     5         kx 	:co#132:tc=dt100:
     5         kx dt110|Tandy DT-110 emulating ansi:\
     5         kx 	:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
     5         kx 	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[B:\
     5         kx 	:eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
     5         kx 	:k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
     5         kx 	:k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
     5         kx 	:kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
     5         kx 	:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
     5         kx 	:me=\E[m:nd=\E[C:se=\E[m:sf=\n:so=\E[7m:sr=\EM:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
     5         kx pt210|TRS-80 PT-210 printing terminal:\
     5         kx 	:hc:os:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cr=\r:do=\n:sf=\n:
     5         kx 
     5         kx #### Tektronix (tek)
     5         kx #
     5         kx # Tektronix tubes are graphics terminals.  Most of them use modified
     5         kx # oscilloscope technology incorporating a long-persistence green phosphor,
     5         kx # and support vector graphics on a main screen with an attached "dialogue
     5         kx # area" for interactive text.
     5         kx #
     5         kx 
     5         kx tek|tek4012|tektronix 4012:\
     5         kx 	:bs:os:\
     5         kx 	:co#75:li#35:\
     5         kx 	:bl=^G:cl=1000\E\014:cr=\r:do=\n:ff=1000\014:is=\E^O:le=^H:
     5         kx # (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
     5         kx tek4013|tektronix 4013:\
     5         kx 	:ac=:ae=\E^O:as=\E^N:tc=tek4012:
     5         kx tek4014|tektronix 4014:\
     5         kx 	:co#81:li#38:\
     5         kx 	:is=\E\017\E9:tc=tek4012:
     5         kx # (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
     5         kx tek4015|tektronix 4015:\
     5         kx 	:ac=:ae=\E^O:as=\E^N:tc=tek4014:
     5         kx tek4014-sm|tektronix 4014 in small font:\
     5         kx 	:co#121:li#58:\
     5         kx 	:is=\E\017\E\::tc=tek4014:
     5         kx # (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
     5         kx tek4015-sm|tektronix 4015 in small font:\
     5         kx 	:ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
     5         kx # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
     5         kx #
     5         kx # You need to have "stty nl2" in effect.  Some versions of tset(1) know
     5         kx # how to set it for you.
     5         kx #
     5         kx # It's got the Magic Cookie problem around stand-out mode.  If you can't
     5         kx # live with Magic Cookie, remove the :so: and :se: fields and do without
     5         kx # reverse video.  If you like reverse video stand-out mode but don't want
     5         kx # it to flash, change the letter 'H' to 'P' in the :so: field.
     5         kx tek4023|tektronix 4023:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:dN#4:li#24:sg#1:vt#4:\
     5         kx 	:bl=^G:cl=4\E^L:cm=\034%r%+ %+ :cr=\r:do=\n:kb=^H:le=^H:\
     5         kx 	:nd=^I:nl=\n:se=^_@:so=^_P:
     5         kx # It is recommended that you run the 4025 at 4800 baud or less;
     5         kx # various bugs in the terminal appear at 9600.  It wedges at the
     5         kx # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
     5         kx # on keyboard don't work.  You have to hit BREAK twice to get
     5         kx # one break at any speed - this is a documented feature.
     5         kx # Can't use cursor motion because it's memory relative, and
     5         kx # because it only works in the workspace, not the monitor.
     5         kx # Same for home. Likewise, standout only works in the workspace.
     5         kx #
     5         kx # :ce: was commented out since vi and rogue seem to work better
     5         kx # simulating it with lots of spaces!
     5         kx #
     5         kx # :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
     5         kx # and didn't seem necessary.
     5         kx #
     5         kx tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
     5         kx 	:am:bs:da:db:\
     5         kx 	:co#80:it#8:li#34:lm#0:\
     5         kx 	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
     5         kx 	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
     5         kx 	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
     5         kx 	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=\r:dc=\037dch\r:\
     5         kx 	:dl=\037dli\r\006:do=^F\n:ei=:ic=\037ich\r \010:im=:\
     5         kx 	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
     5         kx 	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
     5         kx 	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
     5         kx 	:le=^H:nd=\037rig\r:sf=^F\n:ta=^I:up=^K:
     5         kx tek4025-17|tek 4025 17 line window:\
     5         kx 	:li#17:tc=tek4025:
     5         kx tek4025-17-ws|tek 4025 17 line window in workspace:\
     5         kx 	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
     5         kx 	:se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
     5         kx 	:ti=\037wor h\r:tc=tek4025-17:
     5         kx tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
     5         kx 	:is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
     5         kx 	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
     5         kx # Tektronix 4025a
     5         kx # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
     5         kx # The following status modes are assumed for normal operation (replace the
     5         kx # initial "!" by whatever the current command character is):
     5         kx #	!COM 29			# NOTE: changes command character to GS (^])
     5         kx #	^]DUP
     5         kx #	^]ECH R
     5         kx #	^]EOL
     5         kx #	^]RSS T
     5         kx #	^]SNO N
     5         kx #	^]STO 9 17 25 33 41 49 57 65 73
     5         kx # Other modes may be set according to communication requirements.
     5         kx # If the command character is inadvertently changed, termcap can't restore it.
     5         kx # Insert-character cannot be made to work on both top and bottom rows.
     5         kx # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
     5         kx # There also seems to be a problem with vertical motion, perhaps involving
     5         kx # delete/insert-line, following a typed carriage return.  This terminal sucks.
     5         kx # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
     5         kx # work any more. -- esr)
     5         kx tek4025a|Tektronix 4025A:\
     5         kx 	:am:bs:bw:da:db:pt:xo:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
     5         kx 	:LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
     5         kx 	:UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
     5         kx 	:ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
     5         kx 	:cr=\r:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=\n:le=^H:\
     5         kx 	:nd=\035rig;:\
     5         kx 	:rs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
     5         kx 	:sf=\n:ta=^I:up=^K:
     5         kx # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
     5         kx # Here's the command file that I use to get rogue to work on the 4025.
     5         kx # It should work with any program using the old curses (e.g. it better
     5         kx # not try to scroll, or cursor addressing won't work.  Also, you can't
     5         kx # see the cursor.)
     5         kx # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
     5         kx tek4025-cr|tek 4025 for curses and rogue:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#33:\
     5         kx 	:cl=\037era;:cm=\037jum%i%d,%d;:do=^F\n:\
     5         kx 	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
     5         kx 	:le=^H:nd=\037rig;:sf=^F\n:ta=^I:te=\037wor 0:\
     5         kx 	:ti=\037wor 33h:up=^K:
     5         kx # next two lines commented out since curses only allows 128 chars, sigh.
     5         kx #	: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:\
     5         kx #	: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:
     5         kx tek4025ex|4025ex|4027ex|tek 4025 w/!:\
     5         kx 	:is=\037com 33\r\n!sto 9,17,25,33,41,49,57,65,73\r:\
     5         kx 	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
     5         kx tek4105|tektronix 4105:\
     5         kx 	:am:bs:mi:ms:ul:xn:xt:\
     5         kx 	:co#79:it#8:li#29:\
     5         kx 	:ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=\r:ct=\E[1g:\
     5         kx 	:dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
     5         kx 	:im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
     5         kx 	:kr=\E[1C:ku=\E[1A:le=\E[1D:mb=\E[=3;<7m:md=\E[=7;<4m:\
     5         kx 	:me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
     5         kx 	:nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
     5         kx 	:te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
     5         kx 	:us=\E[=5;<2m:
     5         kx 
     5         kx # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
     5         kx tek4105-30|4015 emulating 30 line vt100:\
     5         kx 	:am:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#30:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:do=\n:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:\
     5         kx 	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
     5         kx 	:mb=2\E[5m:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
     5         kx 	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
     5         kx 	:sf=\n:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
     5         kx 	:us=2\E[4m:tc=vt100+fnkeys:
     5         kx 
     5         kx # Tektronix 4105 from BRL
     5         kx # The following setup modes are assumed for normal operation:
     5         kx #	CODE ansi		CRLF no			DABUFFER 141
     5         kx #	DAENABLE yes		DALINES 30		DAMODE replace
     5         kx #	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
     5         kx #	FLAGGING input		INSERTREPLACE replace	LFCR no
     5         kx #	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
     5         kx #	SELECTCHARSET G1 0	TABS -2
     5         kx # Other setup modes may be set for operator convenience or communication
     5         kx # requirements; I recommend
     5         kx #	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
     5         kx #	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
     5         kx #	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
     5         kx #	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
     5         kx #	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
     5         kx #	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
     5         kx #	XMTDELAY 0
     5         kx # and factory color maps.  After setting these modes, save them with NVSAVE. No
     5         kx # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # "IC" cannot be used in combination with "im" & "ei".
     5         kx # "tek4105a" is just a guess:
     5         kx tek4105a|Tektronix 4105:\
     5         kx 	:bs:ms:pt:xo:\
     5         kx 	:co#80:it#8:kn#8:li#30:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E%!1:k0=\EOA:k1=\EOB:\
     5         kx 	:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:k6=\EOR:k7=\EOS:kb=^H:\
     5         kx 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F8:le=^H:\
     5         kx 	:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:rc=\E8:\
     5         kx 	: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>:\
     5         kx 	:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
     5         kx 	:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
     5         kx 	:vs=\E%!0\ETD70\E%!1:tc=ecma+index:
     5         kx 
     5         kx #
     5         kx # Tektronix 4106/4107/4109 from BRL
     5         kx # The following setup modes are assumed for normal operation:
     5         kx #	CODE ansi		COLUMNMODE 80		CRLF no
     5         kx #	DABUFFER 141		DAENABLE yes		DALINES 32
     5         kx #	DAMODE replace		DAVISIBILITY yes	ECHO no
     5         kx #	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
     5         kx #	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
     5         kx #	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
     5         kx #	TABS -2
     5         kx # Other setup modes may be set for operator convenience or communication
     5         kx # requirements; I recommend
     5         kx #	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
     5         kx #	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
     5         kx #	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
     5         kx #	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
     5         kx #	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
     5         kx #	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
     5         kx #	XMTDELAY 0
     5         kx # and factory color maps.  After setting these modes, save them with NVSAVE.  No
     5         kx # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx # "IC" cannot be used in combination with "im" & "ei".
     5         kx tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
     5         kx 	:ms:xo:\
     5         kx 	:co#80:it#8:li#32:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ec=\E[%dX:\
     5         kx 	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E%!1:k0=\EOA:k1=\EOB:\
     5         kx 	:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:k6=\EOR:k7=\EOS:kb=^H:\
     5         kx 	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
     5         kx 	:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F8:le=^H:\
     5         kx 	:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\EE:\
     5         kx 	: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>:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7;42m:sr=\EM:st=\EH:\
     5         kx 	:ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
     5         kx 	:us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
     5         kx 	:vs=\E%!0\ETD70\E%!1:tc=ecma+index:
     5         kx 
     5         kx # Refer to:
     5         kx # TEK Programmer's Reference
     5         kx # Part No. 070-4893-00
     5         kx # Product Group 18
     5         kx # 4107/4109 Computer Display Terminal
     5         kx # November 1983
     5         kx #
     5         kx # Tektronix 4107/4109 interpret 4 modes using "\E%!" followed by a code:
     5         kx # 0 selects Tek mode, i.e., \E%!0
     5         kx # 1 selects ANSI mode
     5         kx # 2 selects ANSI edit-mode
     5         kx # 3 selects VT52 mode
     5         kx #
     5         kx # One odd thing about the description (which has been unchanged since the 90s)
     5         kx # is that the cursor addressing is using VT52 mode, and a few others use the
     5         kx # VT52's non-CSI versions of ANSI, e.g., \EJ.  A possible explanation is that
     5         kx # the developer used Emacs, which misuses cvvis (this description sets VT52
     5         kx # mode in that capability).
     5         kx tek4107|tek4109|tektronix terminals 4107 4109:\
     5         kx 	:am:bs:mi:ms:ul:xn:xt:\
     5         kx 	:co#79:it#8:li#29:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=\r:do=\n:kb=^H:\
     5         kx 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
     5         kx 	:md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
     5         kx 	:mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%!0:nd=\EC:\
     5         kx 	:se=\E%!1\E[m\E%!0:sf=\n:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
     5         kx 	:ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
     5         kx 	:ve=\E%!0:vs=\E%!3:
     5         kx # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
     5         kx # see the note attached to tek4207.
     5         kx tek4207-s|Tektronix 4207 with sysline but no memory:\
     5         kx 	:es:hs:\
     5         kx 	:ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
     5         kx 	: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:\
     5         kx 	:is=\E7\E[?6l\E[2K\E[?6h\E8:\
     5         kx 	:ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
     5         kx 
     5         kx # The 4110 series may be a wonderful graphics series, but they make the 4025
     5         kx # look good for screen editing.  In the dialog area, you can't move the cursor
     5         kx # off the bottom line.  Out of the dialog area, ^K moves it up, but there
     5         kx # is no way to scroll.
     5         kx #
     5         kx # Note that there is a floppy for free from Tek that makes the
     5         kx # 4112 emulate the vt52 (use the vt52 termcap). There is also
     5         kx # an expected enhancement that will use ANSI standard sequences.
     5         kx #
     5         kx # 4112 in non-dialog area pretending to scroll. It really wraps
     5         kx # but vi is said to work (more or less) in this mode.
     5         kx #
     5         kx # 'vi' works reasonably well with this entry.
     5         kx #
     5         kx otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
     5         kx 	:am:\
     5         kx 	:co#80:li#34:\
     5         kx 	:bl=^G:cl=\E^L:cr=\r:do=\n:le=^H:sf=\n:te=\EKA1\ELV1:\
     5         kx 	:ti=\EKA0\ELV0\EMG0:up=^K:
     5         kx # The 4112 with the ANSI compatibility enhancement
     5         kx tek4112|tek4114|tektronix 4110 series:\
     5         kx 	:am:bs:db:\
     5         kx 	:co#80:li#34:\
     5         kx 	:al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
     5         kx 	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
     5         kx 	:is=\E3!1:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
     5         kx 	:sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:
     5         kx tek4112-nd|4112 not in dialog area:\
     5         kx 	:ns:\
     5         kx 	:up=^K:tc=tek4112:
     5         kx tek4112-5|4112 in 5 line dialog area:\
     5         kx 	:li#5:tc=tek4112:
     5         kx # (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
     5         kx # removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
     5         kx # Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
     5         kx # previously \0410 and \0411 sequences...I don't *think* they were supposed
     5         kx # to be 4-digit octal -- esr)
     5         kx tek4113|tektronix 4113 color graphics with 5 line dialog area:\
     5         kx 	:am:bs:da:eo:\
     5         kx 	:co#80:li#5:\
     5         kx 	:cl=\ELZ:do=\n:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
     5         kx 	:nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
     5         kx 	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
     5         kx tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
     5         kx 	:li#34:\
     5         kx 	:is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
     5         kx # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
     5         kx # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
     5         kx # :vb: needs enough delay to let you see the background color being toggled.
     5         kx tek4113-nd|tektronix 4113 color graphics with no dialog area:\
     5         kx 	:am:bs:eo:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:cl=\E^L:do=\n:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
     5         kx 	:le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
     5         kx 	:uc=\010\EMG1_\EMG0:up=^K:\
     5         kx 	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
     5         kx 	:vs=\ELZ\EKA0:
     5         kx # This entry is from Tek. Inc.  (Brian Biehl)
     5         kx # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
     5         kx otek4115|Tektronix 4115:\
     5         kx 	:am:bs:da:db:eo:\
     5         kx 	:co#80:it#8:li#34:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	: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:\
     5         kx 	:kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
     5         kx 	:ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
     5         kx tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:li#34:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
     5         kx 	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
     5         kx 	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\n:ei=:ho=\E[H:ic=\E[@:im=:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:tc=ansi+rep:
     5         kx # The tek4125 emulates a vt100 incorrectly - the scrolling region
     5         kx # command is ignored.  The following entry replaces :cs: with the needed
     5         kx # :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
     5         kx # chokes on; and adds a lot of initialization for the tek dialog area.
     5         kx # Note that this entry uses all 34 lines and sets the cursor color to green.
     5         kx # Steve Jacobson 8/85
     5         kx # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
     5         kx # commented out, :im:=\E1 because there's no :ei:  -- esr)
     5         kx tek4125|tektronix 4125:\
     5         kx 	:li#34:\
     5         kx 	:al=\E[1L:cs@:dl=\E[1M:\
     5         kx 	:is=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:ks=\E=:rc@:sc@:tc=vt100+4bsd:
     5         kx 
     5         kx # From: <jcoker@ucbic>
     5         kx # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
     5         kx # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
     5         kx # note that if jcoker wasn't confused you may be able to use this one.
     5         kx # I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
     5         kx tek4207|Tektronix 4207 graphics terminal with memory:\
     5         kx 	:am:bw:mi:ms:ul:xn:\
     5         kx 	:co#80:it#8:li#32:\
     5         kx 	:al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=\n:ei=:\
     5         kx 	:ho=\E[H:ic=4\E[@:im=:\
     5         kx 	: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:\
     5         kx 	:kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
     5         kx 	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
     5         kx 	:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:
     5         kx 
     5         kx # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
     5         kx # (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
     5         kx # Tab had been given as \E2I,that must be the tab-set capability -- esr)
     5         kx tek4404|tektronix 4404:\
     5         kx 	:bs:\
     5         kx 	:co#80:it#8:li#32:\
     5         kx 	:al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=\n:ei=\E[4l:ho=\E[H:\
     5         kx 	:im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
     5         kx 	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
     5         kx 	:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
     5         kx 	:ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx # Some unknown person wrote:
     5         kx # I added the is string - straight Unix has ESC ; in the login
     5         kx # string which sets a ct8500 into monitor mode (aka 4025 snoopy
     5         kx # mode). The is string here cleans up a few things (but not
     5         kx # everything).
     5         kx ct8500|tektronix ct8500:\
     5         kx 	:am:bw:da:db:\
     5         kx 	:co#80:li#25:\
     5         kx 	:al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
     5         kx 	:cm=\E|%+ %+ :cr=\r:dc=\E^]:dl=\E\r:do=\n:ei=:ic=\E^\:im=:\
     5         kx 	:is=\037\EZ\Ek:le=^H:me=\E\s:nd=\ES:se=\E\s:sf=\n:so=\E$:\
     5         kx 	:sr=\E^A:ta=^I:ue=\E\s:up=\ER:us=\E!:
     5         kx 
     5         kx # Tektronix 4205 terminal.
     5         kx #
     5         kx # am is not defined because the wrap around occurs not when the char.
     5         kx # is placed in the 80'th column, but when we are attempting to type
     5         kx # the 81'st character on the line.  (esr: hmm, this is like the vt100
     5         kx # version of xenl, perhaps am + xenl would work!)
     5         kx #
     5         kx # Bold, dim, and standout are simulated by colors and thus not allowed
     5         kx # with colors.  The tektronix color table is mapped into the RGB color
     5         kx # table by setf/setb. All colors are reset to factory specifications by oc.
     5         kx # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
     5         kx # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
     5         kx # interval then maps into pre-defined value.
     5         kx tek4205|tektronix 4205:\
     5         kx 	:cc:mi:ms:\
     5         kx 	:Co#8:NC#49:co#80:it#8:li#30:pa#63:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:ct=\E[1g:\
     5         kx 	:dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
     5         kx 	:ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
     5         kx 	:k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
     5         kx 	:me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
     5         kx 	:mr=\E[7m:nd=\E[C:\
     5         kx 	:oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
     5         kx 	:op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
     5         kx 	:ta=^I:te=:ti=\E%%!1\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx 
     5         kx #### Teletype (tty)
     5         kx #
     5         kx # These are the hardcopy Teletypes from before AT&T bought the company,
     5         kx # clattering electromechanical dinosaurs in Bakelite cases that printed on
     5         kx # pulpy yellow roll paper.  If you remember these you go back a ways.
     5         kx # Teletype-branded VDTs are listed in the AT&T section.
     5         kx #
     5         kx # The earliest UNIXes were designed to use these clunkers; nroff and a few
     5         kx # other programs still default to emitting codes for the Model 37.
     5         kx #
     5         kx 
     5         kx tty33|tty35|model 33 or 35 teletype:\
     5         kx 	:hc:os:xo:\
     5         kx 	:co#72:\
     5         kx 	:bl=^G:cr=\r:do=\n:sf=\n:
     5         kx tty37|model 37 teletype:\
     5         kx 	:bs:hc:os:xo:\
     5         kx 	:bl=^G:cr=\r:do=\n:hd=\E9:hu=\E8:le=^H:sf=\n:up=\E7:
     5         kx 
     5         kx # There are known to be at least three flavors of the tty40, all seem more
     5         kx # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
     5         kx # awful braindamage, such as printing a visible newline indicator after each
     5         kx # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
     5         kx # braindamaged but has hope and is described here.  The 40-4 is a 3270
     5         kx # lookalike and beyond hope.  The terminal has visible bell but I don't know
     5         kx # it - it's null here to prevent it from showing the BL character.
     5         kx # There is an \EG in <nl> because of a bug in old vi (if stty says you have
     5         kx # a "newline" style terminal (-crmode) vi figures all it needs is nl
     5         kx # to get crlf, even if :cr: is not ^M.)
     5         kx # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
     5         kx tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
     5         kx 	:bs:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=50\EL:cd=75\EJ:cl=80\EH\EJ:cr=\EG:ct=80\EH\E2:\
     5         kx 	:dc=50\EP:dl=50\EM:do=\EB:ei=:ho=10\EH:ic=50\E\136:im=:\
     5         kx 	:kb=^]:kl=^H:le=^H:nd=\EC:pf=^T:po=2000\022:rs=60\023\ER:\
     5         kx 	:se=\E4:sf=20\ES:so=\E3:sr=10\ET:st=\E1:ta=10\E@:up=\E7:
     5         kx tty43|model 43 teletype:\
     5         kx 	:am:bs:hc:os:xo:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:kb=^H:le=^H:sf=\n:
     5         kx 
     5         kx #### Tymshare
     5         kx #
     5         kx 
     5         kx # You can add :is=\E<: to put this 40-column mode, though I can't
     5         kx # for the life of me think why anyone would want to.
     5         kx scanset|sc410|sc415|Tymshare Scan Set:\
     5         kx 	:am:bw:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ac=j%k4l<m-q,x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:\
     5         kx 	:cm=\EY%+ %+ :cr=\r:do=\n:ho=\EH:kd=\EB:kl=\ED:kr=\EC:\
     5         kx 	:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:rc=^C:\
     5         kx 	:sc=^B:sf=\n:up=^K:
     5         kx 
     5         kx #### Volker-Craig (vc)
     5         kx #
     5         kx # If you saw a Byte Magazine cover with a terminal on it during the early
     5         kx # 1980s, it was probably one of these.  Carl Helmers liked them because
     5         kx # they could crank 19.2 and were cheap (that is, he liked them until he tried
     5         kx # to program one...)
     5         kx #
     5         kx 
     5         kx # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
     5         kx # every other linefeed.
     5         kx vc303|vc103|vc203|volker-craig 303:\
     5         kx 	:am:bs:ns:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=40^L:cr=\r:do=\n:ho=40^K:kd=\n:kl=^H:kr=^I:ku=^N:\
     5         kx 	:le=^H:ll=^OW:nd=^I:up=^N:
     5         kx vc303a|vc403a|volker-craig 303a:\
     5         kx 	:ce=20^V:cl=40^X:ho=40^Y:kr=^U:ku=^Z:ll=^P:nd=^U:up=^Z:\
     5         kx 	:tc=vc303:
     5         kx # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
     5         kx vc404|volker-craig 404:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=40^W:ce=20^V:cl=40^X:cm=\020%+ %+ :cr=\r:do=\n:\
     5         kx 	:ho=40^Y:kd=\n:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=\n:up=^Z:
     5         kx vc404-s|volker-craig 404 w/standout mode:\
     5         kx 	:do=\n:se=^O:so=^N:tc=vc404:
     5         kx # From: <wolfgang@cs.sfu.ca>
     5         kx # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
     5         kx vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=40\E\032:cd=\E^X:ce=10\E\017:cl=40\E\034:\
     5         kx 	:cm=40\E\021%r%.%.:dc=\E3:dl=40\E\023:do=\E^K:ei=:ho=\E^R:\
     5         kx 	:ic=\E\::im=:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:\
     5         kx 	:k6=\EG:k7=\EH:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:\
     5         kx 	:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:\
     5         kx 	:se=\E^_:so=\E^Y:up=\E^L:
     5         kx vc415|volker-craig 415:\
     5         kx 	:cl=^L:tc=vc404:
     5         kx 
     5         kx ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
     5         kx #
     5         kx 
     5         kx #### IBM PC and clones
     5         kx #
     5         kx 
     5         kx # The pcplot IBM-PC terminal emulation program is really messed up. It is
     5         kx # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
     5         kx # doesn't support scrolling regions, ignores add line commands, and ignores
     5         kx # delete line commands. Consequently, the resulting behavior looks like a
     5         kx # crude adm3a-type terminal.
     5         kx # Steve Jacobson 8/85
     5         kx pcplot|pc-plot terminal emulation program:\
     5         kx 	:xn@:\
     5         kx 	:AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100+4bsd:
     5         kx # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
     5         kx # I've found that my KayPro II, running MDM730, continues to emulate an
     5         kx # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
     5         kx # system the following termcap entry works well:
     5         kx # I have noticed a couple of minor glitches, but nothing I can't work
     5         kx # around. (I added two capabilities from the BRL entry -- esr)
     5         kx kaypro|kaypro2|kaypro II:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EE:bl=^G:cd=^W:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=\r:dl=\ER:\
     5         kx 	:do=\n:ho=^^:kd=\n:kr=^L:ku=^K:nd=^L:sf=\n:up=^K:
     5         kx 
     5         kx # From IBM, Thu May  5 19:35:27 1983
     5         kx # (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
     5         kx ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^L^K:cr=\r^^:do=\n:ho=^K:kd=^_:le=^]:nd=^\:sf=10\n:\
     5         kx 	:up=^^:
     5         kx 
     5         kx ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX:\
     5         kx 	:am:bs:bw:eo:hs:km:ms:ul:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:@7=\E[Y:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS\E[%dB:\
     5         kx 	:SR=\E[%dT\E[%dA:UP=\E[%dA:\
     5         kx 	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:do=\E[B:ec=\E[%dX:ho=\E[H:k1=\240:k2=\241:k3=\242:\
     5         kx 	:k4=\243:k5=\244:k6=\245:k7=\246:k8=\247:k9=\250:k;=\251:\
     5         kx 	:kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\r:se=\E[m:sf=\E[S\E[B:so=\E[7m:sr=\E[T\E[A:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:
     5         kx 
     5         kx #### Apple II
     5         kx #
     5         kx # Apple II firmware console first, then various 80-column cards and
     5         kx # terminal emulators.  For two cents I'd toss all these in the UFO file
     5         kx # along with the 40-column apple entries.
     5         kx #
     5         kx 
     5         kx # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
     5         kx #	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
     5         kx #		function of TIC, not the firmware.
     5         kx #	The clear key on a IIgs will do something like clear-screen,
     5         kx #		depending on what you're in.
     5         kx appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
     5         kx 	:am:bs:bw:eo:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=\r:do=\n:ho=^Y:\
     5         kx 	:kC=^X:kD=\177:kb=^H:kd=\n:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
     5         kx 	:nw=\r^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
     5         kx # Apple //e with 80-column card, entry from BRL
     5         kx # The modem interface is permitted to discard LF (maybe DC1), otherwise
     5         kx # passing characters to the 80-column firmware via COUT (PR#3 assumed).
     5         kx # Auto-wrap does not work right due to newline scrolling delay, which also
     5         kx # requires that you set "stty cr2".
     5         kx # Note: Cursor addressing is only available via the Pascal V1.1 entry,
     5         kx # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
     5         kx # using a terminal emulation program instead of the built-in firmware.
     5         kx apple2e|Apple //e:\
     5         kx 	:bw:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=4*^K:ce=4^]:cl=100^L:do=\n:ho=^Y:is=^R^N:kb=^H:\
     5         kx 	:kd=\n:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:r1=^R^N:\
     5         kx 	:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
     5         kx # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
     5         kx # 4.20, with incoming and outgoing terminals both on 0, emulation On.
     5         kx apple2e-p|Apple //e via Pascal:\
     5         kx 	:cm=\036%r%+ %+ :kb=^H:kd=\n:kl=^H:tc=apple2e:
     5         kx # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
     5         kx # Enable DC3/DC1 flow control with "stty ixon -ixany".
     5         kx apple-ae|ASCII Express:\
     5         kx 	:am:bs:bw:ms:nx:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=500^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=\r:do=\n:\
     5         kx 	:ho=^Y:is=^R^N:kC=^X:kd=\n:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
     5         kx 	:mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
     5         kx appleII|apple ii plus:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=\n:ho=\E^Y:is=^TT1^N:\
     5         kx 	:kd=\n:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:ta=^I:up=^_:\
     5         kx 	:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
     5         kx # Originally by Gary Ford 21NOV83
     5         kx # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
     5         kx apple-80|apple II with smarterm 80 col:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bt=^R:cd=10*^K:ce=10^]:cl=10*^L:cm=\036%r%+ %+ :cr=10*\r:\
     5         kx 	:do=\n:ho=^Y:le=^H:nd=^\:up=^_:
     5         kx apple-soroc|apple emulating soroc 120:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=\EY:ce=\ET:cl=300\E*:cm=\E=%+ %+ :cr=\r:do=\n:\
     5         kx 	:ho=^^:kd=\n:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=\n:up=^K:
     5         kx # From Peter Harrison, Computer Graphics Lab, San Francisco
     5         kx #   ucbvax!ucsfmis!harrison  .....uucp
     5         kx #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
     5         kx # "These two work.  If you don't have the inverse video chip for the
     5         kx # Apple with videx then remove the :so: and :se: fields."
     5         kx # (apple-videx: this used to be called DaleApple -- esr)
     5         kx apple-videx|Apple with videx videoterm 80 column board with inverse video:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:cd=^K:ce=^]:cl=300^L:cm=\036%r%+ %+ :do=\n:ho=^Y:kd=\n:\
     5         kx 	:kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
     5         kx 	:up=^_:
     5         kx # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
     5         kx #			      Apple Cat ][ 212 modem, + more all
     5         kx #			      controlled by ASCII Express: Pro.
     5         kx # From Dave Shaver <isucs1!shaver>
     5         kx apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
     5         kx 	:am:bs:eo:xt:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
     5         kx 	:is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
     5         kx 	:nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
     5         kx apple-uterm|Ultraterm for Apple micros:\
     5         kx 	:am:bs:eo:xt:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
     5         kx 	:is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
     5         kx # from trwrba!bwong (Bradley W. Wong):
     5         kx #
     5         kx # This entry assumes that you are using an apple with the UCSD Pascal
     5         kx # language card.  SYSTEM.MISCINFO is assumed to be the same as that
     5         kx # supplied with the standard apple except that screenwidth should be set
     5         kx # using SETUP to 80 columns.  Note that the right arrow is not mapped in
     5         kx # this termcap entry.  This is because that key, on the Apple, transmits
     5         kx # a ^U and would thus preempt the more useful "up" function of vi.
     5         kx #
     5         kx # HMH 2/23/81
     5         kx apple80p|80-column apple with Pascal card:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\::\
     5         kx 	:up=^_:
     5         kx #
     5         kx # Apple II+ equipped with Videx 80 column card
     5         kx #
     5         kx # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
     5         kx # manually converted by D A Gwyn
     5         kx #
     5         kx # DO NOT use any terminal emulation with this data base, it works directly
     5         kx # with the Videx card.  This has been tested with vi 1200 baud and works fine.
     5         kx #
     5         kx # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
     5         kx # 1 screen, while in R2 ^U doesn't.
     5         kx # For inverse alternate character set add:
     5         kx #	:as:=^O::ae:=^N:
     5         kx # (apple-v: added it#8 -- esr)
     5         kx apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
     5         kx 	:am:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=100^G:cd=16*^K:ce=^]:cl=16*^L:cm=\036%r%+ %+ :cr=\r:\
     5         kx 	:do=\n:ho=^Y:kb=^H:kd=\n:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:\
     5         kx 	:se=^Z2:sf=\n:so=^Z3:ta=8^I:up=^_:
     5         kx apple-videx3|vapple|Apple II with 80 col card:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :do=\EB:ho=\EH:k0=\EP:k1=\EQ:\
     5         kx 	:k2=\ER:k3=\E\s:k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%%:k9=\E&:\
     5         kx 	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:up=\EA:
     5         kx #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
     5         kx aepro|Apple II+ running ASCII Express Pro--vt52:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\EJ:ce=\EK:cl=300^L:cm=\EY%+ %+ :do=\EB:ho=\EH:le=\ED:\
     5         kx 	:nd=\EC:up=\EA:
     5         kx # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
     5         kx apple-vm80|ap-vm80|apple with viewmax-80:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=300^K:ce=^]:cl=300^L:cm=100\036%+ %+ :ho=200^Y:\
     5         kx 	:nd=^\\::up=^_:
     5         kx 
     5         kx #### Apple Lisa & Macintosh
     5         kx #
     5         kx 
     5         kx # (lisa: changed :vs: to :ve: -- esr)
     5         kx lisa|apple lisa console display (black on white):\
     5         kx 	:am:bs:eo:ms:\
     5         kx 	:co#88:it#8:li#32:\
     5         kx 	:ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
     5         kx 	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
     5         kx 	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
     5         kx 	:vi=\E[5h:
     5         kx liswb|apple lisa console display (white on black):\
     5         kx 	:is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
     5         kx 	:us=\E[4m:tc=lisa:
     5         kx 
     5         kx # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
     5         kx # :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
     5         kx #
     5         kx # These entries assume that the 'Auto Wraparound' is enabled.
     5         kx # Xon-Xoff flow control should also be enabled.
     5         kx #
     5         kx # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
     5         kx # settings are in non-volatile memory and don't need to be reset upon login.
     5         kx # Also setting the number of columns glitches the screen annoyingly.
     5         kx # You can type "reset" to get them set.
     5         kx #
     5         kx lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
     5         kx 	:am:bs:pt:xn:xo:\
     5         kx 	:co#80:it#8:kn#4:li#24:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:do=\n:ho=\E[H:k0=\EOP:k1=\EOQ:\
     5         kx 	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
     5         kx 	:r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx # Lisaterm in 132 column ("wide") mode.
     5         kx lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
     5         kx 	:co#132:\
     5         kx 	:kb=^H:kd=\n:kl=^H:tc=lisaterm:
     5         kx # Although MacTerminal has insert/delete line, it is commented out here
     5         kx # since it is much faster and cleaner to use the "lock scrolling region"
     5         kx # method of inserting and deleting lines due to the MacTerminal implementation.
     5         kx # Also, the "Insert/delete ch" strings have an extra character appended to them
     5         kx # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
     5         kx # supported by MacTerminal.
     5         kx mac|macintosh|Macintosh with MacTerminal:\
     5         kx 	:xn:\
     5         kx 	:dN#30:\
     5         kx 	:dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
     5         kx # Lisaterm in 132 column ("wide") mode.
     5         kx mac-w|macterminal-w|Apple Macintosh with MacTerminal in 132 column mode:\
     5         kx 	:co#132:tc=mac:
     5         kx 
     5         kx #### Radio Shack/Tandy
     5         kx #
     5         kx 
     5         kx # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
     5         kx # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
     5         kx # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
     5         kx coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=^_0:bl=^G:cd=^K:ce=^D:cl=5*^L:cm=2\002%r%+ %+ :dl=^_1:\
     5         kx 	:do=\n:ho=^A:kd=\n:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
     5         kx 	:md=\E\:\001:me=\037!\E\:\0:mr=^_\s:nd=^F:se=^_!:so=^_\s:\
     5         kx 	:ue=^_#:up=^I:us=^_":ve=^E!:vi=^E\s:
     5         kx # (trs2: removed obsolete ":nl=^_:" -- esr)
     5         kx trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
     5         kx 	:am:bs:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=\r:dl=^K:\
     5         kx 	:do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
     5         kx 	:se=^O:sf=\n:so=^N:ta=^I:up=^^:
     5         kx # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
     5         kx # (This had extension capabilities
     5         kx #	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
     5         kx #	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
     5         kx # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
     5         kx trs16|trs-80 model 16 console:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
     5         kx 	:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=\r:dc=\EQ:dl=\EM:do=\EB:ei=:\
     5         kx 	:ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
     5         kx 	:k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
     5         kx 	:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
     5         kx 	:pf=\E]+:po=\E]=:se=\ER@:sf=\n:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
     5         kx 	:vi=\ERc:
     5         kx 
     5         kx #### Commodore Business Machines
     5         kx #
     5         kx # Formerly located in West Chester, PA; went spectacularly bust in 1994
     5         kx # after years of shaky engineering and egregious mismanagement.  Made one
     5         kx # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
     5         kx # C-128, VIC-20).  The C-64 is said to have been the most popular machine
     5         kx # ever (most units sold); they can still be found gathering dust in closets
     5         kx # everywhere.
     5         kx #
     5         kx 
     5         kx # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
     5         kx # Added a few more entries, converted caret-type control sequence (^x) entries
     5         kx # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
     5         kx # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
     5         kx #
     5         kx # :as:, :ae:			Support for alternate character sets.
     5         kx # :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
     5         kx # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
     5         kx #     This one appears to fix a problem I always had with a line ending
     5         kx #     at 'width+1' (I think) followed by a blank line in vi. The blank
     5         kx #     line tended to disappear and reappear depending on how the screen
     5         kx #     was refreshed. Note that this is probably needed only if you use
     5         kx #     something like a Dnet Fterm with the window sized to some peculiar
     5         kx #     dimension larger than 80 columns.
     5         kx # :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
     5         kx # (amiga: removed obsolete :kn#10:,
     5         kx # also added empty <acsc> to suppress a warning --esr)
     5         kx amiga|Amiga ANSI:\
     5         kx 	:am:bs:bw:xn:\
     5         kx 	:co#80:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
     5         kx 	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[20l:\
     5         kx 	:k0=\E[9~:k1=\E[0~:k2=\E[1~:k3=\E[2~:k4=\E[3~:k5=\E[4~:\
     5         kx 	:k6=\E[5~:k7=\E[6~:k8=\E[7~:k9=\E[8~:kb=^H:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[7;2m:md=\E[1m:me=\E[m:\
     5         kx 	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:r1=\Ec:se=\E[m:sf=\E[S:\
     5         kx 	:so=\E[7m:sr=\E[T:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[ p:\
     5         kx 	:vi=\E[0 p:tc=ecma+index:
     5         kx 
     5         kx # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
     5         kx # (amiga: added empty <acsc> to suppress a warning.
     5         kx # I'm told this entry screws up badly with AS225, the Amiga
     5         kx # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
     5         kx amiga-h|Hans Verkuil's Amiga ANSI:\
     5         kx 	:bs:bw:ms:\
     5         kx 	:co#80:li#24:\
     5         kx 	:DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
     5         kx 	:SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
     5         kx 	:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
     5         kx 	:cm=\233%i%d;%dH:cr=\r:dc=\233P:do=\233B:ec=\233%dP:ei=:\
     5         kx 	:ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
     5         kx 	:k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
     5         kx 	:k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
     5         kx 	:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
     5         kx 	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
     5         kx 	:nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
     5         kx 	:sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
     5         kx 	:us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
     5         kx 
     5         kx # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
     5         kx #
     5         kx # Pavel Fedin added
     5         kx #	Home    Shift+Left
     5         kx #	End     Shift+Right
     5         kx #	PgUp    Shift+Up
     5         kx #	PgDn    Shift+Down
     5         kx amiga-8bit|Amiga ANSI using 8-bit controls:\
     5         kx 	:@7=\233 @:AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:\
     5         kx 	:dl=\233M:kN=\233S:kP=\233T:kh=\233 A:sf=\204:sr=\215:\
     5         kx 	:tc=amiga-h:
     5         kx 
     5         kx # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
     5         kx # requires use of appropriate preferences settings.
     5         kx amiga-vnc|Amiga using VNC console (black on light gray):\
     5         kx 	:ND:am:da:db:ms:\
     5         kx 	:BT#1:Co#16:NC#0:co#80:li#24:lm#0:pa#256:\
     5         kx 	:%1=\E[?~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[1L:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=\E[B:ei=:ic=\E[@:im=:\
     5         kx 	:is=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
     5         kx 	:k0=\E[9~:k1=\E[0~:k2=\E[1~:k3=\E[2~:k4=\E[3~:k5=\E[4~:\
     5         kx 	:k6=\E[5~:k7=\E[6~:k8=\E[7~:k9=\E[8~:kB=\233Z:kD=\177:\
     5         kx 	:kH=\E[45~:kN=\E[42~:kP=\E[41~:kb=^H:kd=\E[B:ke=\E[?1l:\
     5         kx 	:kh=\E[44~:kl=\E[D:kr=\E[C:ks=\E[?1h:ku=\E[A:le=\E[D:\
     5         kx 	:mb=\E[7;2m:md=\E[1m:me=\E[0m\017\E[30;85;>15m:mh=\E[2m:\
     5         kx 	:mk=\E8m:mr=\E[7m:nd=\E[C:nw=\EE:oc=\E[0m:r1=\Ec:\
     5         kx 	:r2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
     5         kx 	:se=\E[21m:sf=\ED:so=\E[1m:sr=\EM:te=\E[?7h\E[r\E[J:\
     5         kx 	:ti=\E[?7h:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:\
     5         kx 	:ve=\E[p\E[>?6l:vi=\E[0p:vs=\E[>?6h:tc=ecma+index:
     5         kx 
     5         kx # MorphOS on Genesi Pegasos
     5         kx # By Pavel Fedin <sonic_amiga@rambler.ru>
     5         kx morphos|MorphOS on Genesi Pegasos:\
     5         kx 	:@7=\23345~:AL=\233%dL:DL=\233%dM:F1=\23320~:F2=\23321~:\
     5         kx 	:SF@:SR@:ac=:al=\233L:dl=\233M:kI=\23340~:kN=\23342~:\
     5         kx 	:kP=\23341~:kh=\23344~:sf=\204:sr=\215:tc=amiga-h:
     5         kx 
     5         kx # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
     5         kx #	I'm trying to write a termcap for a commodore b-128, and I'm
     5         kx # having a little trouble. I've had to map most of my control characters
     5         kx # to something that unix will accept (my delete-char is a ctrl-t, etc),
     5         kx # and create some functions (like cm), but thats life.
     5         kx #	The problem is with the arrow keys - right, and up work fine, but
     5         kx # left deletes the previous character and down I just can't figure out.
     5         kx # Jove knows what I want, but I don't know what it's sending to me (it
     5         kx # isn't thats bound to next-line in jove).
     5         kx #	Anybody got any ideas? Here's my termcap.
     5         kx # DAG -- I changed his "^n" entries to "\n"; see if that works.
     5         kx #
     5         kx commodore|b-128|Commodore B-128 micro:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:dN#20:li#24:pb#150:\
     5         kx 	:al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:cm=20\E\013%2,%2,:\
     5         kx 	:cr=\r:dc=10*\177:dl=10*\Ed:do=\n:ei=:ho=\E^E:ic=5\E\n:im=:\
     5         kx 	:kd=\n:kh=\E^E:kl=^B:kr=^F:ku=^P:nd=^F:nl=\r:ta=5^I:up=^P:
     5         kx 
     5         kx #### North Star
     5         kx #
     5         kx # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
     5         kx northstar|North Star Advantage:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=200^O:ce=200^N:cl=200^D:cm=1\E=%+ %+ :ho=200^\^Z:
     5         kx 
     5         kx #### Osborne
     5         kx #
     5         kx # Thu Jul  7 03:55:16 1983
     5         kx #
     5         kx # As an aside, be careful; it may sound like an anomaly on the
     5         kx # Osborne, but with the 80-column upgrade, it's too easy to
     5         kx # enter lines >80 columns!
     5         kx #
     5         kx # I've already had several comments...
     5         kx # The Osborne-1 with the 80-col option is capable of being
     5         kx # 52, 80, or 104 characters wide; default to 80 for compatibility
     5         kx # with most systems.
     5         kx #
     5         kx # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
     5         kx osborne-w|osborne1-w|osborne I in 104-column mode:\
     5         kx 	:ms:ul:xt:\
     5         kx 	:co#104:li#24:\
     5         kx 	:al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:dc=\EW:dl=\ER:\
     5         kx 	:do=\n:ei=:ic=\EQ:im=:kd=\n:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
     5         kx 	:se=\E(:sf=\n:so=\E):ue=\Em:up=^K:us=\El:
     5         kx # Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
     5         kx osborne|osborne1|osborne I in 80-column mode:\
     5         kx 	:am:bs:mi:ms:ul:xs:\
     5         kx 	:co#80:dB#4:li#24:\
     5         kx 	:al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=\n:ei=:\
     5         kx 	:im=\EQ:is=^Z:kb=^H:kd=\n:kl=^H:kr=^L:ku=^K:le=4^H:nd=^L:\
     5         kx 	:se=\E):so=\E(:ue=\Em:up=^K:us=\El:
     5         kx #
     5         kx # Osborne Executive definition from BRL
     5         kx # Similar to tvi920
     5         kx # Added by David Milligan and Tom Smith (SMU)
     5         kx osexec|Osborne executive:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:sg#1:ug#1:\
     5         kx 	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=\r:ct=\E3:\
     5         kx 	:dc=\EW:dl=\ER:do=\n:ei=:ho=^^:ic=\EQ:im=:\
     5         kx 	:is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
     5         kx 	:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
     5         kx 	:kb=^H:kd=\n:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=\n:se=\Ek:\
     5         kx 	:so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
     5         kx 
     5         kx #### Console types for obsolete UNIX clones
     5         kx #
     5         kx # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
     5         kx # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
     5         kx # were commercial, Minix an educational tool sold in conjunction with a book.
     5         kx # Memory-segmentation limits and a strong tendency to look like V7 long after
     5         kx # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
     5         kx # and Minix were ported to 32-bit Intel boxes, only to be run over by a
     5         kx # steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
     5         kx # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
     5         kx # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
     5         kx # even as single processes under SunOS and the Macintosh OS.
     5         kx #
     5         kx 
     5         kx # See
     5         kx #	https://web.archive.org/web/20120703021949/http://www.minix3.org/manpages/html4/console.html
     5         kx minix|minix console (v3):\
     5         kx 	:@7=\E[Y:F1=\E[11;2~:F2=\E[12;2~:F3=\E[13;2~:F4=\E[14;2~:\
     5         kx 	:F5=\E[15;2~:F6=\E[17;2~:F7=\E[18;2~:F8=\E[19;2~:\
     5         kx 	:F9=\E[20;2~:FA=\E[21;2~:FB=\E[11;5~:FC=\E[12;5~:\
     5         kx 	:FD=\E[13;5~:FE=\E[14;5~:FF=\E[15;5~:FG=\E[17;5~:\
     5         kx 	:FH=\E[18;5~:FI=\E[19;5~:FJ=\E[20;5~:FK=\E[21;5~:\
     5         kx 	:FL=\E[11;6~:FM=\E[12;6~:FN=\E[13;6~:FO=\E[14;6~:\
     5         kx 	:FP=\E[15;6~:FQ=\E[17;6~:FR=\E[18;6~:FS=\E[19;6~:\
     5         kx 	:FT=\E[20;6~:FU=\E[21;6~:\
     5         kx 	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
     5         kx 	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
     5         kx 	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
     5         kx 	:k;=\E[21~:kD=\177:kI=\E[@:kN=\E[U:kP=\E[V:l0@:l1@:l2@:l3@:\
     5         kx 	:l4@:l5@:tc=minix-3.0:
     5         kx 
     5         kx minix-3.0|minix console (v3.0):\
     5         kx 	:tc=ecma+color:tc=minix-1.7:
     5         kx 
     5         kx # See
     5         kx #	https://web.archive.org/web/20030914201935/http://www.minix-vmd.org/pub/Minix-vmd/1.7.0/wwwman/man4/console.4.html
     5         kx # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
     5         kx minix-1.7|minix console (v1.7):\
     5         kx 	:am:xn:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[2K:\
     5         kx 	:cd=\E[0J:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:\
     5         kx 	:k0=\E[Y:k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:\
     5         kx 	:l2=PgDn:l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\n:se=\E[0m:sf=\n:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
     5         kx # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
     5         kx minix-old|minix-1.5|minix console (v1.5):\
     5         kx 	:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
     5         kx 	:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\r\n:se=\E[0m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
     5         kx # The linewrap option can be specified by editing /usr/include/minix/config.h
     5         kx # before recompiling the minix 1.5 kernel.
     5         kx minix-old-am|minix console with linewrap:\
     5         kx 	:am:tc=minix-old:
     5         kx 
     5         kx pc-minix|minix console on an Intel box:\
     5         kx 	:tc=klone+acs:tc=minix-3.0:
     5         kx 
     5         kx # According to the Coherent 2.3 manual, the PC console is similar
     5         kx # to a z19. The differences seem to be (1) 25 lines, (2) no status
     5         kx # line, (3) standout is broken, (4) ins/del line is broken, (5)
     5         kx # has blinking and bold.
     5         kx pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
     5         kx 	:am:mi:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=\r:dc=\EN:\
     5         kx 	:do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=\n:so=\Ep:\
     5         kx 	:sr=\EI:ta=^I:up=\EA:
     5         kx 
     5         kx # According to the Venix 1.1 manual, the PC console is similar
     5         kx # to a DEC vt52.  Differences seem to be (1) arrow keys send
     5         kx # different strings, (2) enhanced standout, (3) added insert/delete line.
     5         kx # Note in particular that it doesn't have automatic margins.
     5         kx # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
     5         kx # not described here because this derives from an old termcap entry.
     5         kx pc-venix|venix|IBM PC console running Venix:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dl=\EM:do=\n:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
     5         kx 	:nd=\EC:sf=\n:sr=\EI:ta=^I:up=\EA:
     5         kx 
     5         kx #### Miscellaneous microcomputer consoles
     5         kx #
     5         kx # If you know anything more about any of these, please tell me.
     5         kx #
     5         kx 
     5         kx # The MAI Basic Four computer was obsolete at the end of the 1980s.
     5         kx # It may be used as a terminal by putting it in "line" mode as seen on
     5         kx # one of the status lines.
     5         kx # Initialization is similar to CIT80. :is: will set ANSI mode for you.
     5         kx # Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
     5         kx # wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I
     5         kx # used \ED instead.
     5         kx # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
     5         kx mai|basic4|MAI Basic Four in ansi mode:\
     5         kx 	:am:da:db:mi:ms:\
     5         kx 	:co#82:it#8:li#25:\
     5         kx 	:al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=\n:ei=\E[4l:ho=^]:\
     5         kx 	:if=/usr/share/tabset/vt100:im=\E[4h:\
     5         kx 	:is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
     5         kx 	:k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=\r\ED:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
     5         kx 	:us=\E[4m:ve=\E[?7h:vs=\E[?7l:
     5         kx # basis from Peter Harrison, Computer Graphics Lab, San Francisco
     5         kx #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
     5         kx #
     5         kx # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
     5         kx # The Basis 108 was a Apple II clone, manufactured by the "Basis
     5         kx # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
     5         kx # about 1,5 km from where I live, but doesn't build own computers any
     5         kx # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
     5         kx # equipped with one or two 5.25" disk drives, had a monochrome and colour
     5         kx # video output for a TV set or a dedicated monitor and several slots for
     5         kx # Apple II cards. Basis 108 were quite popular at german schools before
     5         kx # the advent of the IBM PC. They run, for example, the UCSD Pascal
     5         kx # development system (which I used even in 1993 to program the steering
     5         kx # and data recording for our school's experimental solar panel :), Apple DOS
     5         kx # or CP/M.
     5         kx # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
     5         kx basis|BASIS108 computer with terminal translation table active:\
     5         kx 	:cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=\n:kl=^H:kr=^L:\
     5         kx 	:ku=^K:me=\E):se=\E):so=\E(:tc=adm3a:
     5         kx # luna's BMC terminal emulator
     5         kx luna|luna68k|LUNA68K Bitmap console:\
     5         kx 	:co#88:li#46:tc=ansi-mini:
     5         kx megatek|pegasus workstation terminal emulator:\
     5         kx 	:am:os:\
     5         kx 	:co#83:li#60:
     5         kx # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
     5         kx # interface (pre-Macintosh by several years) that went nowhere.
     5         kx xerox820|x820|Xerox 820:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=\r:do=\n:ho=^^:\
     5         kx 	:le=^H:nd=^L:sf=\n:up=^K:
     5         kx 
     5         kx #### Videotex and teletext
     5         kx #
     5         kx 
     5         kx # \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
     5         kx # \E[?3l	80 columns
     5         kx # \E[?4l	scrolling on
     5         kx # \E[12h	local echo off
     5         kx # \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
     5         kx # \E)0		G1 DEC set (line graphics)
     5         kx #
     5         kx # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
     5         kx m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
     5         kx 	:bs:es:hs:xn:\
     5         kx 	:co#80:it#8:li#24:sg#0:ug#0:ws#72:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
     5         kx 	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
     5         kx 	:fs=\n:ho=\E[H:i1=\E\:1}\Ec\E[?4l\E[12h:i2=\E[?3l:\
     5         kx 	:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:k0=\EOp:k1=\EOq:k2=\EOr:\
     5         kx 	:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:\
     5         kx 	:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:kI=\E[4h:kL=\E[M:\
     5         kx 	:kN=\EOn:kP=\EOR:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:me=\E[m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\r\n:ps=\E[i:r1=\Ec\E[?4l\E[12h:\
     5         kx 	:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:\
     5         kx 	:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[24m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=^G:ve=\E[<1l:vi=\E[<1h:
     5         kx 
     5         kx # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998, updated 19 Sep 2016
     5         kx #
     5         kx minitel1|minitel 1:\
     5         kx 	:am:bw:es:hs:hz:\
     5         kx 	:Co#8:co#40:li#24:pa#8:\
     5         kx 	:%1=^SD:&2=^SC:@2=^SE:@7=^SI:@8=^SA:AB=\0:AF=\E%+@:Sb=\0:\
     5         kx 	:ac=j+k+l+m+n+o~q`s_t+u+v+w+x|:bl=^G:ce=^X:cl=^L:\
     5         kx 	:cm=\037%+A%+A:cr=\r:do=\n:ds=\037@A\030\n:fs=\n:ho=^^:\
     5         kx 	:is=\E;`ZQ\E\:iC\E\:iE\021:kN=^SH:kP=^SB:kb=^SG:le=^H:\
     5         kx 	:mb=\EH:me=\EI\E\\\EG:mr=\E]:nd=^I:nw=\r\n:op=\EG:\
     5         kx 	:rp=%.\022%+?:\
     5         kx 	:rs=\024\037XA\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\n\030\014\021:\
     5         kx 	:se=\E\\:sf=\n:so=\E]:sr=^K:ts=\037@%+A:u7=\Ea:u9=\E9{:\
     5         kx 	:up=^K:vb=\037@A\EW \177\022\177\022P\r\030\n:ve=^Q:\
     5         kx 	:vi=^T:
     5         kx minitel1b|minitel 1-bistandard (in 40cols mode):\
     5         kx 	:mi:\
     5         kx 	:%1@:&2@:@2@:@8@:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
     5         kx 	:F1=^Y1:F2=^Y/:F3=^Y{1:F4=^Y{2:F5=^Y{3:F6=^Y{4:F7=^Y{5:\
     5         kx 	:F8=^Y{6:F9=^Y{7:FA=^Y{8:FB=^Y{9:FC=^Y{0:FD=^Y{*:FE=^Y{#:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:cb=\E[1K:cd=\E[J:\
     5         kx 	:dc=\E[P:dl=\E[M:ei=\E[4l:i1=\E;iYA\E;jYC:im=\E[4h:k1=^SD:\
     5         kx 	:k2=^SC:k3=^SF:k4=^SA:k5=^SG:k6=^SE:k7=^Y8:k8=^Y,:k9=^Y.:\
     5         kx 	:k;=^Y0:kA=\E[L:kC=\E[2J:kD=\E[P:kI=\E[4h:kL=\E[M:kb@:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:kt=^I:ku=\E[A:l1=Guide:\
     5         kx 	:l2=Repetition:l3=Sommaire:l4=Envoi:l5=Correction:\
     5         kx 	:l6=Annulation:tc=minitel1:
     5         kx # rmkx posait des problemes (logout en sortant de vi).
     5         kx minitel1b-80|minitel 1-bistandard (standard teleinformatique):\
     5         kx 	:am@:bw@:es@:hz@:ms:\
     5         kx 	:Co@:co#80:it#8:pa@:\
     5         kx 	:%1=\EOm:&2=\EOS:@2=\EOQ:@7=\E)4\r:@8=\EOM:AB@:AF@:F1=\EOP1:\
     5         kx 	:F2=\EOP2:F3=\EOP3:F4=\EOP4:F5=\EOP5:F6=\EOP6:F7=\EOP7:\
     5         kx 	:F8=\EOP8:F9=\EOP9:FA=\EOP0:FB=\EOP*:FC=\EOP#:FD@:FE@:Sb@:\
     5         kx 	:Sf@:ac@:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ho=\E[H:i1@:is@:\
     5         kx 	:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOw:\
     5         kx 	:k8=\EOx:k9=\EOy:k;=\EOp:kN=\EOn:kP=\EOR:kb=\EOl:ke@:ks@:l1@:\
     5         kx 	:l2@:l3@:l4@:l5@:l6@:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\EE:op@:rc=\E8:rp@:\
     5         kx 	:rs=\036\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[L\E[12H\E[2M\E[H\E[J\E[m:\
     5         kx 	:sa@:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:u6@:u7@:\
     5         kx 	:u8@:u9@:ue=\E[24m:up=\E[A:us=\E[4m:ve=\037@A\021\n:\
     5         kx 	:vi=\037@A\024\n:tc=minitel1b:
     5         kx 
     5         kx minitel1-nb|minitel 1 (40cols) noir & blanc sans couleurs avec bold et dim ...:\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:cl=^L\EB:cm=\037%+A%+A\EB:ho=^^\EB:md=\EG:\
     5         kx 	:me=\EI\E\\\EB:mh=\ED:op@:rs=^L\EB:ts=\037@%+A\EB:\
     5         kx 	:tc=minitel1:
     5         kx 
     5         kx minitel1b-nb|minitel 1b (40cols) noir & blanc sans couleurs avec bold et dim ...:\
     5         kx 	:ms:\
     5         kx 	:Co@:pa@:\
     5         kx 	:@7=\E)4\r:AB@:AF@:Sb@:Sf@:\
     5         kx 	:ac=`>a9f!j%k4l<m-n=p#q,rpt=u5v-w<x5yvzy|l~$:ae=^O:\
     5         kx 	:as=^N:cl=^L\EB:cm=\E[%i%d;%dH:ho=^^\EB:k1=\E$4\r:\
     5         kx 	:k2=\E#4\r:k3=\E&4\r:k4=\E!4\r:k5=\E'4\r:k6=\E/4\r:\
     5         kx 	:kN=\E(4\r:kP=\E"4\r:md=\EG:me=\EI\E\\\EB:mh=\ED:op@:\
     5         kx 	:rs=^L\EB:ts=\037@%+A\EB:tc=minitel1b:
     5         kx 
     5         kx # Note:
     5         kx #
     5         kx # Faire, Fnct T puis "/" (TS+"?") pour activer les touches en 40cols :
     5         kx #
     5         kx # TS+Connexion/Fin(Fin),Retour(Page Up),Suite(Page Down),Guide(F1),
     5         kx # Repetition(F2),Sommaire(F3),Envoi(F4),Correction(F5),Annulation(F6),
     5         kx # Ctrl+7(F7),Ctrl+8(F8),Ctrl+9(F9),Ctrl+0(F10),Ctrl+*(F11),Ctrl+#(F12).
     5         kx #
     5         kx # Ctrl+Suite-1(F13), Ctrl+Suite-2(F14), Ctrl+Suite-3(F15),
     5         kx # Ctrl+Suite-4(F16), Ctrl+Suite-5(F17), Ctrl+Suite-6(F18),
     5         kx # Ctrl+Suite-7(F19), Ctrl+Suite-8(F20), Ctrl+Suite-9(F21),
     5         kx # Ctrl+Suite-0(F22), Ctrl+Suite-*(F23), Ctrl+Suite-#(F24).
     5         kx #
     5         kx # Fonctionne par exemple avec Midnight Commander (mc).
     5         kx 
     5         kx minitel2-80|minitel 2 (80cols) avec filets vt100 (DEC):\
     5         kx 	:ac=ffggjjkkllmmnnooqqssttuuvvwwxxyyzz||}}:ae=^O:as=^N:\
     5         kx 	:eA=\E)0:u6=\E[%i%d;%dR:tc=minitel12-80:
     5         kx 
     5         kx minitel12-80|minitel 12 (80cols):\
     5         kx 	:is=\E[12h:u6=\E[%i%d;%dH:u7=\E[6n:ve=\E[<1l:vi=\E[<1h:\
     5         kx 	:tc=minitel1b-80:
     5         kx 
     5         kx #
     5         kx # Add these in your ~/.screenrc for inputting some special glyphs like french
     5         kx # accentuated chars in 40 cols mode:
     5         kx #
     5         kx # bindkey ^YA digraph '`'  # Saisi accent grave.
     5         kx # bindkey ^YB digraph "'"  # Saisi accent aigu.
     5         kx # bindkey ^YC digraph '^'  # Saisi accent circonflexe.
     5         kx # bindkey ^YH digraph '"'  # Saisi accent trema.
     5         kx #
     5         kx # bindkey ^Y#      stuff \243  # Livre.
     5         kx # bindkey "^Y\047" stuff \247  # Paragraphe.
     5         kx # bindkey ^Yj      stuff \306  # AE
     5         kx # bindkey ^Yz      stuff \346  # ae
     5         kx # bindkey ^YKc     stuff \347  # c cedille.
     5         kx #
     5         kx 
     5         kx screen.minitel1|Screen specific for minitel1:\
     5         kx 	:NC@:\
     5         kx 	:Km@:\
     5         kx 	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz||}}~~:\
     5         kx 	:bl=\007\E\136 \E\\:cs@:md@:u6=\E[%i%d;%dR:u7=\E[6n:\
     5         kx 	:u8=\E[?1;2c:u9=\EZ:ue@:us@:vb=\Eg\E\136 \E\\:\
     5         kx 	:tc=xterm+x11mouse:tc=screen4:
     5         kx 
     5         kx screen.minitel1b|Screen specific for minitel1b:\
     5         kx 	:F3=^Y{1:F4=^Y{2:F5=^Y{3:F6=^Y{4:F7=^Y{5:F8=^Y{6:F9=^Y{7:\
     5         kx 	:FA=^Y{8:FB=^Y{9:FC=^Y{0:FD=^Y{*:FE=^Y{#:kA=\E[L:kC=\E[2J:\
     5         kx 	:kL=\E[M:tc=screen.minitel1:
     5         kx 
     5         kx screen.minitel1b-80|screen.minitel2-80|screen.minitel12-80|Screen specific for minitel1b-80 minitel2-80 and minitel12-80:\
     5         kx 	:Co@:NC@:pa@:\
     5         kx 	:%1=\EOm:@8=\EOM:AB@:AF@:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:FB@:FC@:\
     5         kx 	:FD@:FE@:Sb@:Sf@:md=\E[1m:op@:ue=\E[24m:us=\E[4m:\
     5         kx 	:tc=screen.minitel1b:
     5         kx 
     5         kx screen.minitel1-nb|Screen specific for minitel1-nb:\
     5         kx 	:Co@:NC@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:md=\E[1m:mh=\E[2m:op@:tc=screen.minitel1:
     5         kx 
     5         kx screen.minitel1b-nb|Screen specific for minitel1b-nb:\
     5         kx 	:Co@:NC@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:md=\E[1m:mh=\E[2m:op@:tc=screen.minitel1b:
     5         kx 
     5         kx # From: Alexandre Montaron, 29 Sep 2016
     5         kx 
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx linux-m1|Linux Minitel 1 "like" Couleurs:\
     5         kx 	:am:bw@:mi:ms:xn:\
     5         kx 	:it#8:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:K1=\EOw:K2=\E[G:K3=\EOy:\
     5         kx 	:K4=\EOq:K5=\EOs:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\n:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E]R\E]P3FFFF80\E[?8c:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
     5         kx 	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
     5         kx 	:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
     5         kx 	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[27m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:up=\E[A:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
     5         kx 	:tc=linux+decid:
     5         kx 
     5         kx # 1. Using double-shapes for vt100 graphical chars (eg: mc).
     5         kx # 2. Native brown color corrected to good yellow color.
     5         kx # 3. Adding "Insert" and "Delete Line" keys as ESC Up and ESC Down arrow keys.
     5         kx # 4. Suppressed nonexistent underlined mode (normally as bright).
     5         kx # 5. ich/ich1 not filled because of non-curses programs.
     5         kx #--
     5         kx # 6. Suppressed nonexistent invisible mode.
     5         kx #(7.)Adding forgotten "cub/cud/cuf/cuu" sequences deplacement.
     5         kx 
     5         kx linux-m1b|Linux Minitel 1B "like" Monochrome (Gris/Blanc/Noir+Dim):\
     5         kx 	:cc@:\
     5         kx 	:Co@:NC@:pa@:\
     5         kx 	:AB=^A:AF=^A:Ic@:ac@:ae@:as@:eA@:\
     5         kx 	:is=\E]R\E]P1A9A9A9\E]P2A9A9A9\E]P3FFFFFF\E]P4A9A9A9\E]P5A9A9A9\E]P6A9A9A9\E]P9FFFFFF\E]PAFFFFFF\E]PBFFFFFF\E]PCFFFFFF\E]PDFFFFFF\E]PEFFFFFF\E[?2c:\
     5         kx 	:md=\E[33m:oc@:op@:tc=linux-m1:
     5         kx 
     5         kx linux-m2|Linux Minitel 2 "like" Couleurs (Vert/Blanc/Noir+Bleu):\
     5         kx 	:cc@:\
     5         kx 	:Co@:NC@:pa@:\
     5         kx 	:AB=^A:AF=^A:Ic@:\
     5         kx 	:ac=++,,--..00``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:as=^N:eA=\E)0:\
     5         kx 	:is=\E]R\E]P100A900\E]P200A900\E]P3FFFFFF\E]P400A900\E]P500A900\E]P600A900\E]P700A900\E]P80000FF\E]P9FFFFFF\E]PAFFFFFF\E]PBFFFFFF\E]PCFFFFFF\E]PDFFFFFF\E]PEFFFFFF\E]PFFFFFFF\E[;37m:\
     5         kx 	:md=\E[33m:me=\E[;37m:oc@:op@:ve=\E[?2c\E[?25h:\
     5         kx 	:vs=\E[?8c\E[?25h:tc=linux-m1:
     5         kx 
     5         kx # From: Alexandre Montaron, 27 May 2020
     5         kx linux-s|Linux Console with added status line at bottom:\
     5         kx 	:hs:\
     5         kx 	:cd@:cl=\E[255;255H\E[A\E[1J\E[H:cs@:\
     5         kx 	:ds=\E7\E[255H\E[K\E8:fs=\E8:\
     5         kx 	:iP=\sbash -c 'echo -ne "\E[?6l\E[255H\E[A\E[6n" ; read -d R TMP ; LINES=`echo $TMP | cut -f1 -d ";" | cut -f2 -d "["` ; stty rows $LINES ; echo -ne "\E[;"$LINES"r\E[J"':\
     5         kx 	:r1=\E]R:ts=\E7\E[255;%dH:tc=linux:
     5         kx 
     5         kx # Screen entries counterpart :
     5         kx 
     5         kx screen.linux-m1|Linux m1 specific for screen:\
     5         kx 	:NC@:\
     5         kx 	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
     5         kx 	:F8=\E[32~:F9=\E[33~:FA=\E[34~:kA=\E\E[B:kC=\E\r:\
     5         kx 	:kL=\E\E[A:kb=\177:mh=\E[2m:u6=\E[%i%d;%dR:u7=\E[6n:\
     5         kx 	:u8=\E[?1;2c:u9=\EZ:ue@:us@:tc=xterm+x11mouse:tc=screen4:
     5         kx 
     5         kx screen.linux-m1b|Linux m1b specific for screen:\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:op@:tc=screen.linux-m1:
     5         kx 
     5         kx screen.linux-m2|Linux m2 specific for screen:\
     5         kx 	:ac=++,,--..00``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:tc=screen.linux-m1b:
     5         kx 
     5         kx # Putty :
     5         kx 
     5         kx putty-m1|Putty Minitel 1 "like" Couleurs:\
     5         kx 	:hs:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:mh@:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:us=\E[4m:\
     5         kx 	:tc=putty+screen:tc=xterm+sl-twm:tc=ecma+index:\
     5         kx 	:tc=linux-m1:
     5         kx 
     5         kx putty-m1b|Putty Minitel 1B "like" Monochrome (Gris/Blanc/Noir):\
     5         kx 	:hs:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:mh@:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:us=\E[4m:\
     5         kx 	:tc=putty+screen:tc=xterm+sl-twm:tc=ecma+index:\
     5         kx 	:tc=linux-m1b:
     5         kx 
     5         kx putty-m2|Putty Minitel 2 "like" Couleurs (Vert/Blanc/Noir):\
     5         kx 	:hs:\
     5         kx 	:ac=``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:mh@:\
     5         kx 	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:us=\E[4m:\
     5         kx 	:tc=putty+screen:tc=xterm+sl-twm:tc=ecma+index:\
     5         kx 	:tc=linux-m2:
     5         kx 
     5         kx putty+screen|PuTTY with screen resizing extensions:
     5         kx 
     5         kx putty-screen|PuTTY with screen resizing extensions:\
     5         kx 	:tc=putty:
     5         kx 
     5         kx screen.putty-m1|Putty m1 specific for screen:\
     5         kx 	:mh@:ue=\E[24m:us=\E[4m:tc=screen.linux-m1:
     5         kx 
     5         kx screen.putty-m1b|Putty m1b specific for screen:\
     5         kx 	:Co@:pa@:\
     5         kx 	:AB@:AF@:Sb@:Sf@:op@:tc=screen.putty-m1:
     5         kx 
     5         kx screen.putty-m2|Putty m2 specific for screen:\
     5         kx 	:ac=++,,--..00``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:tc=screen.putty-m1b:
     5         kx # From: Alexandre Montaron, 19 Nov 2015, updated 19 Sep 2016
     5         kx #
     5         kx # He comments:
     5         kx # viewdata lacks a true cup capability,
     5         kx # so I achieved it with home and cud1/cuf1 sequences only !
     5         kx viewdata|prestel/viewdata terminals:\
     5         kx 	:am:bw:es:hz:\
     5         kx 	:co#40:li#24:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:ho=^^:le=^H:nd=^I:nw=\r\n:rs=^L:\
     5         kx 	:up=^K:ve=^Q:vi=^T:
     5         kx 
     5         kx viewdata-o|optimized version of viewdata prestel/viewdata terminals:\
     5         kx 	:tc=viewdata:
     5         kx 
     5         kx # Samples with TERM=viewdata and TERM=viewdata-rv: http://canal.chez.com/blog/
     5         kx 
     5         kx viewdata-rv|prestel/viewdata terminals with reverse capabilitie (as green):\
     5         kx 	:sg#1:\
     5         kx 	:se=\EG:so=\EB:tc=viewdata-o:
     5         kx 
     5         kx ######## OBSOLETE VDT TYPES
     5         kx #
     5         kx # These terminals are *long* dead -- these entries are retained for
     5         kx # historical interest only.
     5         kx 
     5         kx #### Amtek Business Machines
     5         kx #
     5         kx 
     5         kx # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
     5         kx # but these caps were commented out in 8.3; also, removed overridden
     5         kx # ":do=^J:" -- esr)
     5         kx abm80|amtek business machines 80:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
     5         kx 	:dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
     5         kx 
     5         kx #### Bell Labs blit terminals
     5         kx #
     5         kx # These were AT&T's official entries.  The 5620 FAQ maintained by
     5         kx # David Breneman <daveb@dgtl.com> has this to say:
     5         kx #
     5         kx #  Actually, in the beginning was the Jerq, and the Jerq was white with a
     5         kx #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
     5         kx #  was good.  But lo, upon the horizon loomed a mighty management-type person
     5         kx #  (known now only by the initials VP) who said, the mighty Jerq must stay
     5         kx #  alone, and could not go forth into the world. So Locanthi and Pike put the
     5         kx #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
     5         kx #  world. And the Jerq lived the rest of its days in research, but never
     5         kx #  strayed from those paths.
     5         kx #
     5         kx #  In all seriousness, the Blit was originally known as the Jerq, but when
     5         kx #  it started to be shown outside of the halls of the Bell Labs Research
     5         kx #  organization, the management powers that be decided that the name could
     5         kx #  not remain. So it was renamed to be Blit. This was in late 1981.
     5         kx #
     5         kx # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
     5         kx # 730, and 730+.)
     5         kx #
     5         kx 
     5         kx blit|jerq|blit running teletype rom:\
     5         kx 	:am:eo:ul:xo:\
     5         kx 	:co#87:it#8:li#72:\
     5         kx 	:AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:bl=^G:\
     5         kx 	:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=\r:dc=\Ee!:dl=\EE!:do=\n:\
     5         kx 	:ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=\n:ta=^I:up=\EA:
     5         kx 
     5         kx # (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
     5         kx cbblit|fixterm|blit running columbus code:\
     5         kx 	:co#88:\
     5         kx 	:cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%3:pf=^T:po=^R:se=\EV!:\
     5         kx 	:so=\EU!:ue=\EV":us=\EU":vb=\E^G:tc=blit:
     5         kx 
     5         kx oblit|ojerq|first version of blit rom:\
     5         kx 	:am:da:db:eo:mi:ul:xo:\
     5         kx 	:co#88:it#8:li#72:\
     5         kx 	:AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
     5         kx 	:cm=\EY%r%+ %+ :cr=\r:dc=\EO:dl=\EE:do=\n:ei=\ER:im=\EQ:\
     5         kx 	:kb=^H:le=\ED:nd=\EC:sf=\n:ta=^I:up=\EA:vb=\E^G:
     5         kx 
     5         kx #### Bolt, Beranek & Newman (bbn)
     5         kx #
     5         kx # The BitGraph was a product of the now-defunct BBN Computer Corporation.
     5         kx # The parent company, best known as the architects of the Internet, is
     5         kx # still around.
     5         kx #
     5         kx # Jeff DelPapa <dp@world.std.com> writes:
     5         kx # The bitgraph was a large white box that contained a monochrome bitmap
     5         kx # display, and a 68000 to run it.  You could download code and run it on
     5         kx # the cpu, it had 128kb (I think) of memory.  I used one in the late
     5         kx # 70's, sure beat a vt100.  It had one strange feature tho -- it used
     5         kx # the cpu to bitblt pixels to scroll, it took longer than the refresh
     5         kx # rate, and looked like a rubber sheet stretching, then snapping
     5         kx # upwards.  It had everything the early mac had, except a floppy drive a
     5         kx # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
     5         kx # Beranek and Neuman) sold at most a few hundred of them to the real
     5         kx # world.  DOD may have bought more...
     5         kx #
     5         kx 
     5         kx # Entries for the BitGraph terminals.  The problem
     5         kx # with scrolling in vi can only be fixed by getting BBN to put
     5         kx # smarter scroll logic in the terminal or changing vi or padding
     5         kx # scrolls with about 500 ms delay.
     5         kx #
     5         kx # I always thought the problem was related to the terminal
     5         kx # counting newlines in its input buffer before scrolling and
     5         kx # then moving the screen that much. Then vi comes along and
     5         kx # paints lines in on the bottom line of the screen, so you get
     5         kx # this big white gap.
     5         kx 
     5         kx bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
     5         kx 	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg2.0:
     5         kx bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
     5         kx 	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
     5         kx bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
     5         kx 	:bs:xn:\
     5         kx 	:co#85:li#64:\
     5         kx 	:al=2*\E[L:bl=^G:cd=150\E[J:ce=2\E[K:cl=150\E[H\E[J:\
     5         kx 	:cm=%i\E[%d;%dH:cr=\r:cs=\E[%i%d;%dr:dl=2*\E[M:do=\E[B:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:\
     5         kx 	:kr=\E[C:ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
     5         kx 	:me=\E[m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=280\n:so=\E[7m:\
     5         kx 	:ta=^I:up=\E[A:
     5         kx 
     5         kx bg1.25rv|bbn bitgraph 1.25 (reverse video):\
     5         kx 	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
     5         kx bg1.25nv|bbn bitgraph 1.25 (normal video):\
     5         kx 	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
     5         kx # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
     5         kx bg1.25|bbn bitgraph 1.25:\
     5         kx 	:co#85:li#64:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=2*\E[L:bl=^G:cd=150\E[J:ce=2\E[K:\
     5         kx 	:cl=150\E[H\E[J:cm=%i\E[%d;%dH:cr=\r:dl=2*\E[M:do=\E[B:\
     5         kx 	:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\
     5         kx 	:ks=\E=:ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
     5         kx 	:ll=\E[64;1H:me=\E[m:nd=\E[C:se=\E[m:sf=280\n:so=\E[7m:\
     5         kx 	:ta=^I:up=\E[A:
     5         kx 
     5         kx #### Bull (bq, dku, vip)
     5         kx #
     5         kx # (Adapted for terminfo; AIX extension capabilities translated -- esr)
     5         kx 
     5         kx #============================================#
     5         kx # BULL QUESTAR 210 `SDP' terminals emulation #
     5         kx #============================================#
     5         kx #
     5         kx # Description written by R.K.Saunders (Bull Transac)
     5         kx #
     5         kx # Modifications written by F. Girard (Bull MTS)
     5         kx #		19-05-87 V02.00.01
     5         kx #		17-12-87 V02.00.02
     5         kx #		15-09-89 V02.00.05
     5         kx #
     5         kx #	Typical technical selections F1 (modes SDP/ROLL):
     5         kx # -------------------------------------------------------
     5         kx # |   01   02   03   04   05   06   07   08   09   10   |
     5         kx # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
     5         kx # |                                                     |
     5         kx # |   11   12   13   14   15   16   17   18   19   20   |
     5         kx # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
     5         kx # |                                                     |
     5         kx # |   21   22   23   24   25   26   27   28   29   30   |
     5         kx # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
     5         kx # |                                                     |
     5         kx # |   31   32   33   34   35   36   37   38   39   40   |
     5         kx # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
     5         kx # -------------------------------------------------------
     5         kx #	Typical firmware identification F5 "etat 6":
     5         kx #  P287.02.04b	(AZERTY)
     5         kx #  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
     5         kx #  P298.03.03	(monochrome)	or P374.03.02	(colour)
     5         kx #
     5         kx #	SM SDP mode (VIP command):	^[[?=h
     5         kx #	RIS (erases screen):		^[c
     5         kx #	DMI disable keyboard:		^[`
     5         kx #	SM double rendition mode:	^[[?>h
     5         kx #	RM solicited status mode:	^[[5l
     5         kx #	RM character mode:		^[[>l
     5         kx #	RM echoplex mode:		^[[12l
     5         kx #	RM column tab mode:		^[[18l
     5         kx #	RM forbid SS2 keyboard mode:	^[[?<l
     5         kx #	SM scroll mode:			^[[=h
     5         kx #	FCF enable XON/XOFF:		^[P1s^[\
     5         kx #	MTL select end msg character:	^[[^Wp
     5         kx #	EMI enable keyboard:		^[b
     5         kx #	RIS retour etat initial:	^[c
     5         kx #	enable FC keypad:		^[[?<h,
     5         kx #	MPW map status line window:	^[PY99:98^[\
     5         kx #	SCP select status line:		^[[0;98v
     5         kx #	ED erase entire partition:	^[[2J
     5         kx #	SCP select main partition:	^[[v
     5         kx #	SM character insertion mode:	^[[4h
     5         kx #	RM character replacement mode:	^[[4l
     5         kx #	COO cursor on:			^[[r
     5         kx #	COO cursor off:			^[[1r
     5         kx #	SGR dim (turquoise) rev attr:	^[[2;7m
     5         kx #	SGR Data normal attr:		^[[m
     5         kx #	SO Line-graphic mode ON:	^N
     5         kx #	SI Line-graphic mode OFF:	^O
     5         kx #	MC start routing to printer:	^[[5i
     5         kx #	MC stop routing to printer:	^M^[[4i
     5         kx #
     5         kx 
     5         kx # This entry covers the following terminals:
     5         kx # dku7102, tws2102, and tws models 2105 to 2112
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx tws-generic|dku7102|Bull Questar tws terminals:\
     5         kx 	:am:es:hs:mi:ms:xn:xo:xs@:\
     5         kx 	:co#80:it#8:li#24:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[2J:cm=\E[%i%d;%df:cr=\r:ct=\E[3g:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:ds=\EPY99\:98\E\\\E[0;98v\E[2J\E[v:ei=\E[4l:\
     5         kx 	:fs=\E[v:ho=\E[H:i1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\:\
     5         kx 	:i2=\Eb\E[?<h:im=\E[4h:\
     5         kx 	:is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p:\
     5         kx 	:k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
     5         kx 	:k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
     5         kx 	:kD=\E[P:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:ll=\E[H\E[A:mb=\E[0;5m:me=\E[0m\017:mh=\E[0;2m:\
     5         kx 	:mr=\E[0;7m:nd=\E[C:rs=\E[?=h\Ec:se=\E[m:sf=\n:so=\E[0;7m:\
     5         kx 	:st=\EH:ta=\E[I:te=\E[0;98v\E[2J\E[v:\
     5         kx 	:ti=\E[?>h\EPY99\:98\E\\:\
     5         kx 	:ts=\EPY99\:98\E\\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[0;4m:ve=\E[r:vi=\E[1r:
     5         kx tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA:\
     5         kx 	:ds=\E[0;98v\E[2J\E[v:fs=\E[v:i2=\Eb:ts=\E[0;98v:\
     5         kx 	:tc=tws-generic:
     5         kx tws2103|xdku|BULL Questar tws2103:\
     5         kx 	:ta=^I:tc=tws-generic:
     5         kx tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA:\
     5         kx 	:ta=^I:tc=tws2102-sna:
     5         kx dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6):\
     5         kx 	:AL@:DL@:al@:ce=\E[K\E[m:cl=\E[2J\E[H:cm@:dl@:\
     5         kx 	:ds=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v:\
     5         kx 	:ts=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m:tc=tws-generic:
     5         kx dku7202|BULL Questar 200 DKU7202 (colour/character attributes):\
     5         kx 	:i2=\E[?3h\Eb:mb=\E[0;2;4m:mh=\E[0;5m:so=\E[0;4;5;7m:\
     5         kx 	:ta=^I:us=\E[0;2m:tc=tws-generic:
     5         kx 
     5         kx #=========================================================#
     5         kx # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
     5         kx #=========================================================#
     5         kx #
     5         kx # Description written by J. Staerck (BULL SA)
     5         kx #       Copyright (c) 1989 BULL SA
     5         kx #---------------------------------------------------------------------------
     5         kx #  This entry is used for terminals with vt320 emulation mode
     5         kx #  and following set-up :
     5         kx #    8 bit ISO Latin Character Set (ISO 8859-1),
     5         kx #    7 bit Control Characters,
     5         kx #    80 columns screen.
     5         kx #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
     5         kx #  They are used in string capabilities with vt220-320 emulation mode.
     5         kx #  In the following DEC definitions, two kinds of terminfo databases are
     5         kx #    provided :
     5         kx #    1. the first with Command Sequence Introducer starting with escape
     5         kx #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
     5         kx #    2. the second with Command Sequence Introducer starting with escape
     5         kx #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
     5         kx #	Soft Terminal Reset		esc [ ! p
     5         kx #	RIS (erases screen):		esc c
     5         kx #	DECKPNM numeric keypad mode:	esc >
     5         kx #	DECKPAM applic. keypad mode:	esc =
     5         kx #	DECSTBM Scrolling region:	esc [ r
     5         kx #	SCS select G0 = US:		esc ( B
     5         kx #	SCS select G1 = line-graphic:	esc ) 0
     5         kx #	Select 7-bit C1 controls:	esc sp F
     5         kx #	Select 8-bit C1 controls:	esc sp G
     5         kx #	Select cursor home:		esc [  H
     5         kx #	Select erase screen:		esc [  J
     5         kx #	SM KAM lock keyboard:		esc [ 2 h
     5         kx #	RM KAM unlock keyboard:		esc [ 2 l
     5         kx #	SM SRM local echo off:		esc [ 1 2 h
     5         kx #	RM SRM local echo on:		esc [ 1 2 l
     5         kx #	SM LNM New line :		esc [ 2 0 h
     5         kx #	RM LNM return = CR only:	esc [ 2 0 l
     5         kx #	SM DECCKM cursor keys mode:	esc [ ? 1 h
     5         kx #	RM DECCKM appli. keys mode:	esc [ ? 1 l
     5         kx #	SM DECANM ANSI mode on:		esc [ ? 2 h
     5         kx #	RM DECANM ANSI mode off:	esc [ ? 2 l
     5         kx #	SM DECCOLM 132-column screen:	esc [ ? 3 h
     5         kx #	RM DECCOLM 80-column screen:	esc [ ? 3 l
     5         kx #	SM DECSCLM Smooth scroll:	esc [ ? 4 h
     5         kx #	RM DECSCLM Jump scroll:		esc [ ? 4 l
     5         kx #	SM DECSCNM screen light backgr.	esc [ ? 5 h
     5         kx #	RM DECSCNM screen dark backgr.	esc [ ? 5 l
     5         kx #	SM DECOM move within margins:	esc [ ? 6 h
     5         kx #	RM DECOM move outside margins:	esc [ ? 6 l
     5         kx #	SM DECAWM auto right margin:	esc [ ? 7 h
     5         kx #	RM DECAWM auto right margin:	esc [ ? 7 l
     5         kx #	SM DECARM auto repeat:		esc [ ? 8 h
     5         kx #	RM DECARM auto repeat:		esc [ ? 8 l
     5         kx #	DECSASD Select active main:	esc [ 0 $ }
     5         kx #	DECSASD Select active status:	esc [ 1 $ }
     5         kx #	DECSSDT Select status none:	esc [ 0 $ ~
     5         kx #	DECSSDT Select status indic.:	esc [ 1 $ ~
     5         kx #	DECSSDT Select status host-wr:	esc [ 2 $ ~
     5         kx #	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
     5         kx #	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
     5         kx #	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
     5         kx #	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
     5         kx #	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
     5         kx #	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
     5         kx #	SM DECKBUM clavier informatique	esc [ ? 6 8 h
     5         kx #	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
     5         kx #	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
     5         kx # or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
     5         kx # or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
     5         kx #	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
     5         kx #	Char. and Line attributes:	esc [ Ps ... Ps m
     5         kx # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
     5         kx # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
     5         kx #
     5         kx 
     5         kx # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
     5         kx 	:am:eo:es:hs:km:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:ws#80:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:\
     5         kx 	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
     5         kx 	:ds=\E[1$}\E[2$~\n\E[0$}:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
     5         kx 	:ho=\E[H:i1=\E[63;1"p\E[2h:\
     5         kx 	:i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E[4h:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
     5         kx 	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
     5         kx 	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:\
     5         kx 	:ta=^I:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:ts=\E[1$}\E[2$~:\
     5         kx 	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
     5         kx 	:vi=\E[?25l:tc=ansi+pp:
     5         kx bq300-rv|Bull vt320 reverse 80 columns:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:vb=\E[?5l\E[?5h:tc=bq300:
     5         kx bq300-w|Bull vt320 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:tc=bq300:
     5         kx bq300-w-rv|Bull vt320 reverse mode 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300:
     5         kx 
     5         kx #  This entry is used for terminals with vt320 emulation mode
     5         kx #  and following set-up :
     5         kx #    8 bit ISO Latin Character Set (ISO 8859-1),
     5         kx #    8 bit Control Characters, (CSI coded as x9B for ESC [)
     5         kx #    80 columns screen.
     5         kx #	Soft Terminal Reset		csi ! p
     5         kx #	RIS (erases screen):		esc c
     5         kx #	DECKPNM numeric keypad mode:	esc >
     5         kx #	DECKPAM applic. keypad mode:	esc =
     5         kx #	DECSTBM Scrolling region:	esc [ r
     5         kx #	SCS select G0 = US:		esc ( B
     5         kx #	SCS select G1 = line-graphic:	esc ) 0
     5         kx #	Select 7-bit C1 controls:	esc sp F
     5         kx #	Select 8-bit C1 controls:	esc sp G
     5         kx #	Select cursor home:		csi H
     5         kx #	Select erase screen:		csi J
     5         kx #	SM KAM lock keyboard:		csi 2 h
     5         kx #	RM KAM unlock keyboard:		csi 2 l
     5         kx #	SM SRM local echo off:		csi 1 2 h
     5         kx #	RM SRM local echo on:		csi 1 2 l
     5         kx #	SM LNM New line :		csi 2 0 h
     5         kx #	RM LNM return = CR only:	csi 2 0 l
     5         kx #	SM DECCKM cursor keys mode:	csi ? 1 h
     5         kx #	RM DECCKM appli. keys mode:	csi ? 1 l
     5         kx #	SM DECANM ANSI mode on:		csi ? 2 h
     5         kx #	RM DECANM ANSI mode off:	csi ? 2 l
     5         kx #	SM DECCOLM 132-column screen:	csi ? 3 h
     5         kx #	RM DECCOLM 80-column screen:	csi ? 3 l
     5         kx #	SM DECSCLM Smooth scroll:	csi ? 4 h
     5         kx #	RM DECSCLM Jump scroll:		csi ? 4 l
     5         kx #	SM DECSCNM screen light backgr.	csi ? 5 h
     5         kx #	RM DECSCNM screen dark backgr.	csi ? 5 l
     5         kx #	SM DECOM move within margins:	csi ? 6 h
     5         kx #	RM DECOM move outside margins:	csi ? 6 l
     5         kx #	SM DECAWM auto right margin:	csi ? 7 h
     5         kx #	RM DECAWM auto right margin:	csi ? 7 l
     5         kx #	SM DECARM auto repeat:		csi ? 8 h
     5         kx #	RM DECARM auto repeat:		csi ? 8 l
     5         kx #	DECSASD Select active main:	csi 0 $ }
     5         kx #	DECSASD Select active status:	csi 1 $ }
     5         kx #	DECSSDT Select status none:	csi 0 $ ~
     5         kx #	DECSSDT Select status indic.:	csi 1 $ ~
     5         kx #	DECSSDT Select status host-wr:	csi 2 $ ~
     5         kx #	SM DECTCEM Visible cursor:	csi ? 2 5 h
     5         kx #	RM DECTCEM Invisible cursor:	csi ? 2 5 l
     5         kx #	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
     5         kx #	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
     5         kx #	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
     5         kx # or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
     5         kx #	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
     5         kx #	Char. and Line attributes:	csi Ps ... Ps m
     5         kx # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
     5         kx # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
     5         kx # (bq300-8: :le:,:nd:,:up:,:do:,:dl:,:al: to get under 1024 --esr)
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx # (some function-key capabilities suppressed to fit entry within 1023 bytes)
     5         kx bq300-8|Bull vt320 full 8 bits 80 columns:\
     5         kx 	:am:eo:es:hs:km:mi:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:ws#80:\
     5         kx 	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
     5         kx 	:K1=\217w:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
     5         kx 	:RI=\233%dC:UP=\233%dA:ae=\E(B:al=\233L:as=\E(0:bl=^G:\
     5         kx 	:cd=\233J:ce=\233K:cl=\233H\233J:cm=\233%i%d;%dH:cr=\r:\
     5         kx 	:cs=\233%i%d;%dr:ct=\2333g:dc=\233P:dl=\233M:do=\2331B:\
     5         kx 	:ds=\2331$}\2332$~\n\2330$}:ec=\233%dX:ei=\2334l:\
     5         kx 	:fs=\2330$}:ho=\233H:i1=\E[63;2"p\E[2h:\
     5         kx 	:i2=\2330$}\233?25h\2332l\233H\233J:im=\2334h:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:k1=\217P:kD=\2333~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:\
     5         kx 	:kd=\233B:ke=\233?1l\E>:kl=\233D:kr=\233C:ku=\233A:\
     5         kx 	:le=\2331D:mb=\2335m:md=\2331m:me=\2330m\E(B:mr=\2337m:\
     5         kx 	:nd=\2331C:nw=\EE:rc=\E8:sc=\E7:se=\23327m:sf=\ED:\
     5         kx 	:so=\2337m:sr=\EM:st=\EH:ta=^I:te=\233?7h:\
     5         kx 	:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:ue=\23324m:\
     5         kx 	:up=\2331A:us=\2334m:vb=\233?5h\233?5l:ve=\233?25h:\
     5         kx 	:vi=\233?25l:
     5         kx bq300-8rv|Bull vt320 8-bit reverse mode 80 columns:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:vb=\233?5l\233?5h:tc=bq300-8:
     5         kx bq300-8w|Bull vt320 8-bit 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:rs=\233?3h:tc=bq300-8:
     5         kx bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:rs=\233?3h:vb=\233?5l\233?5h:tc=bq300-8:
     5         kx 
     5         kx #  This entry is used for terminals with vt320 emulation mode
     5         kx #  a 102 keys keyboard (PC scancode !) and following set-up :
     5         kx #    8 bit ISO Latin Character Set (ISO 8859-1),
     5         kx #    7 bit Control Characters,
     5         kx #    80 columns screen.
     5         kx bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
     5         kx 	:%0@:%1@:*6@:@0@:@7=\E[4~:F1=\E[29~:F2=\E[31~:F3@:F4@:F5@:F6@:\
     5         kx 	:F7@:F8@:F9@:FA@:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
     5         kx 	:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:\
     5         kx 	:k;=\E[28~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
     5         kx 	:kh=\E[1~:l1@:l2@:l3@:l4@:tc=bq300:
     5         kx bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:vb=\E[?5l\E[?5h:tc=bq300-pc:
     5         kx bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:tc=bq300-pc:
     5         kx bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-pc:
     5         kx #    8 bit ISO Latin Character Set (ISO 8859-1),
     5         kx #    8 bit Control Characters,
     5         kx #    80 columns screen.
     5         kx bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns:\
     5         kx 	:%0@:%1@:*6@:@0@:@7=\2334~:F1=\23329~:F2=\23331~:F3@:F4@:F5@:\
     5         kx 	:F6@:F7@:F8@:F9@:FA@:k1=\23317~:k2=\23318~:k3=\23319~:\
     5         kx 	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
     5         kx 	:k9=\23326~:k;=\23328~:kD=\2333~:kI=\2332~:kN=\2336~:\
     5         kx 	:kP=\2335~:kb=^H:kh=\2331~:l1@:l2@:l3@:l4@:tc=bq300-8:
     5         kx bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns:\
     5         kx 	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
     5         kx bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:tc=bq300-8-pc:
     5         kx bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
     5         kx 	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
     5         kx 
     5         kx #======================================================#
     5         kx # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
     5         kx #======================================================#
     5         kx 
     5         kx # normal mode, 8 bits, 80 columns terminal.
     5         kx #	RES reset :			^[e
     5         kx #	RIS reset initial state:	^[c
     5         kx #	BLE bell enable			^[h
     5         kx #	BLD bell disable		^[g
     5         kx #	CAMS char. attr. mode set	^[[D
     5         kx #	CAMR char. attr. mode reset	^[[G
     5         kx #	CLR clear			^[`
     5         kx #	KBU keyboard unlock (set)	^[[W
     5         kx #	KBL keyboard lock (reset)	^[[X
     5         kx #	CM  character mode (async.)	^[k
     5         kx #	NEP non echoplex mode (by host)	^[l
     5         kx #	EP  echoplex mode (by host)	^[m
     5         kx #	IM  insert mode set		^[[I
     5         kx #	IM  insert mode reset		^[[J
     5         kx #	RMS roll mode set		^[r
     5         kx #	RMR roll mode reset		^[q
     5         kx #	SM78 set mode vip7800		^[[1q
     5         kx #	SD  scroll up	(72 lines)	^[[0s
     5         kx #	SD  scroll down (72 lines)	^[[1s
     5         kx #	RBM block mode reset		^[[E
     5         kx #	SLS status line set		^[w
     5         kx #	SLR status line reset		^[v
     5         kx #	SLL status line lock		^[O
     5         kx #	LGS Line-graphic mode set	^[G
     5         kx #	LGR Line-graphic mode reset	^[F
     5         kx #	TBC tab clear (at cursor pos.)	^[[g
     5         kx #	TBI tab initialize		^[[N
     5         kx #	TBS tab set (at cursor pos.)	^[p
     5         kx #	PDS  print data space		^[[0p
     5         kx #	PHD  print host data		^[[3p
     5         kx #	PDT  print data terminator	^[[<p
     5         kx #	PRES print adapter reset	^[[2p
     5         kx #	SSPR multi-part. reset		^[[<>u
     5         kx #	SSP0 partition 0 set		^[[00u
     5         kx #	SSP1 partition n format 1	^[[PnPnSTRINGu
     5         kx #	SSP2 partition n format 2	^[[PnPnSTRINGu
     5         kx #	SSP3 partition n format 3	^[[PnPnu
     5         kx #	ATR attribute (visual)
     5         kx #	    blink :			^[sB
     5         kx #	    dim :			^[sL
     5         kx #	    hide (blank) :		^[sH
     5         kx #	    restore :			^[sR
     5         kx #	    inverse video :		^[sI
     5         kx #	    prot. :			^[sP
     5         kx #	    underline :			^[s_
     5         kx #	    reset :			^{
     5         kx #
     5         kx # This covers the vip7800 and BQ3155-vip7800
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx vip|Bull Questar 3155-7800:\
     5         kx 	:5i:am:es:hs:km:ms:xn:xo:\
     5         kx 	:co#80:it#8:li#24:vt#3:ws#80:\
     5         kx 	:#2=\EH:#4=\Eo:%i=\Eu:F1=\E\\:F2=\E\136:F3@:F4@:F5@:F6@:F7@:\
     5         kx 	:F8@:F9@:FA@:FB=\E1:FC=\E5:FD=\E7:FE=\E9:FF=\E;:FG=\E=:FH=\E?:\
     5         kx 	:FI=\EQ:FJ=\ES:FK=\EV:FL=\E]:FM=\E_:bl=^G:bt=\E[Z:cd=\EJ:\
     5         kx 	:ce=\EK:cl=\E`:cm=\E[%i%3%3f:cr=\r:ct=\E[N:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\n:ds=\Ev:ei=\E[J:fs=\EO:ho=\EH:i2=\Er\E[W\E`:ic=\E[I:\
     5         kx 	:im=\E[I:is=\E[00u\E[<>001001024080024080u\E[01u:\
     5         kx 	:k1=\E0:k2=\E2:k3=\E6:k4=\E8:k5=\E\::k6=\E<:k7=\E>:k8=\EP:\
     5         kx 	:k9=\ER:k;=\ET:kA=\E[L:kB=\E[Z:kC=\E`:kD=\E[P:kE=\EK:\
     5         kx 	:kF=\E[0s:kH=\EH\EA:kI=\E[I:kL=\E[M:kM=\E[J:kR=\E[1s:\
     5         kx 	:kS=\EJ:kT=\Ep:ka=\E[N:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
     5         kx 	:kt=\E[g:ku=\EA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:ll=\EH\EA:\
     5         kx 	:mb=\EsB:me=\EsR\EsU\EF:mh=\EsL:mk=\EsH:mp=\EsP:mr=\EsI:\
     5         kx 	:nd=\EC:nw=\r:pf=\E[<p:po=\E[3p:ps=\E[0p:r1=\Ec:r2=\E[G:\
     5         kx 	:s0=\EF:s1=\EG:se=\EsR:sf=\n:so=\EsI:sr=10\EA\EJ\EH\E[L:\
     5         kx 	:st=\Ep:ta=^I:ts=\Ew:ue=\EsR:up=\EA:us=\Es_:vb=^G^G^G:
     5         kx # normal screen, 8 bits, 132 columns terminal.
     5         kx vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide:\
     5         kx 	:co#132:ws#132:\
     5         kx 	:is=\E[00u\E[<>001001024132024132u\E[01u:tc=vip:
     5         kx vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines:\
     5         kx 	:li#72:\
     5         kx 	:is=\E[00u\E[<>001001024080072080u\E[01u:tc=vip:
     5         kx vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines:\
     5         kx 	:co#132:li#72:ws#132:\
     5         kx 	:is=\E[00u\E[<>001001024132072132u\E[01u:tc=vip:
     5         kx 
     5         kx #### Chromatics
     5         kx #
     5         kx 
     5         kx # I have put the long strings in :ti:/:te:. Ti sets up a window
     5         kx # that is smaller than the screen, and puts up a warning message
     5         kx # outside the window. Te erases the warning message, puts the
     5         kx # window back to be the whole screen, and puts the cursor at just
     5         kx # below the small window. I defined :ve: and :vi: to really turn
     5         kx # the cursor on and off, but I have taken this out since I don't
     5         kx # like the cursor being turned off when vi exits.
     5         kx cg7900|chromatics|chromatics 7900:\
     5         kx 	:am:\
     5         kx 	:co#80:li#40:\
     5         kx 	:al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d,%d,:cr=\r:\
     5         kx 	:dc=^A<1:dl=^A<2:do=\n:ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:\
     5         kx 	:nd=^]:se=\001C1,\001c2,:sf=\n:so=\001C4,\001c7,:\
     5         kx 	:te=\001W0,40,85,48,\014\001W0,0,85,48,\001M0,40,:\
     5         kx 	:ti=\001P0\001O1\001R1\001C4,\001c0,\014\001M0,42,WARNING DOUBLE ENTER ESCAPE and \025\001C1,\001c2,\001W0,0,79,39,:\
     5         kx 	:uc=^A^A_^A\0:up=^K:
     5         kx 
     5         kx #### Computer Automation
     5         kx #
     5         kx 
     5         kx ca22851|computer automation 22851:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=^\:ce=^]:cl=8^L:cm=\002%i%.%.:cr=\r:do=\n:ho=^^:\
     5         kx 	:kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=\n:up=^V:
     5         kx 
     5         kx #### Cybernex
     5         kx #
     5         kx 
     5         kx # This entry has correct padding and the undocumented "ri" capability
     5         kx cyb83|xl83|cybernex xl-83:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=62^P:ce=3^O:cl=62^L:cm=\027%+ %+ :cr=\r:do=\n:\
     5         kx 	:ho=^K:kd=\n:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=\n:sr=^N:up=^N:
     5         kx # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
     5         kx cyb110|mdl110|cybernex mdl-110:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=65^NA^N^]:bl=^G:cd=6^N@^V:ce=145\016@\026:cl=70^X:\
     5         kx 	:cm=\020%+ %+ :cr=\r:dc=3.5\016A\036:dl=40^NA^N^^:do=\n:\
     5         kx 	:ei=:ho=^Y:ic=3.5\016A\035:im=:le=^H:nd=^U:se=^NG:sf=\n:\
     5         kx 	:so=^NF:ta=43^I:up=^Z:
     5         kx 
     5         kx #### Datapoint
     5         kx #
     5         kx # Datapoint is gone.  They used to be headquartered in Texas.
     5         kx # They created ARCnet, an Ethernet competitor that flourished for a while
     5         kx # in the early 1980s before 3COM got wise and cut its prices.  The service
     5         kx # side of Datapoint still lives (1995) in the form of Intelogic Trace.
     5         kx #
     5         kx 
     5         kx dp3360|datapoint|datapoint 3360:\
     5         kx 	:am:bs:\
     5         kx 	:co#82:li#25:\
     5         kx 	:bl=^G:cd=^_:ce=^^:cl=^]^_:cr=\r:do=\n:ho=^]:le=^H:nd=^X:\
     5         kx 	:sf=\n:up=^Z:
     5         kx 
     5         kx # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
     5         kx # The Datapoint 8242 Workstation was sold at least between 1985
     5         kx # and 1989. To make the terminal work with this entry, press
     5         kx # CONTROL-INT-INT to take the terminal off-line, and type (opt).
     5         kx # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
     5         kx # CR/LF off. Use control-shift-[] as escape key, control-I as tab,
     5         kx # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
     5         kx # fact unusable because the strings sent by the terminal conflict
     5         kx # with other keys).
     5         kx # The terminal is capable of displaying "box draw" characters.
     5         kx # For each graphic character you must send 2 ESC's (\E\E) followed
     5         kx # by a control character as follows:
     5         kx #         character        meaning
     5         kx #         =========        =======
     5         kx #         ctrl-E           top tee
     5         kx #         ctrl-F           right tee
     5         kx #         ctrl-G           bottom tee
     5         kx #         ctrl-H           left tee
     5         kx #         ctrl-I           cross
     5         kx #         ctrl-J           top left corner
     5         kx #         ctrl-K           top right corner
     5         kx #         ctrl-L           bottom left corner
     5         kx #         ctrl-M           bottom right corner
     5         kx #         ctrl-N           horizontal line
     5         kx #         ctrl-O           vertical line
     5         kx # Unfortunately this cannot be fitted into the termcap/terminfo
     5         kx # description scheme.
     5         kx dp8242|datapoint 8242:\
     5         kx 	:ms:\
     5         kx 	:co#80:li#25:\
     5         kx 	:al=\E^T:bl=^G:cd=^W:ce=^V:cl=^U\E^D^W^X:cr=\r:dl=\E^Z:\
     5         kx 	:do=\n:ho=^U:\
     5         kx 	:i1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
     5         kx 	:k1=^G\Ee:k2=^I\Ed:k3=\n\Ec:k4=\n\Eb:k5=^S\Ea:k6=\EO\Ee:\
     5         kx 	:k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
     5         kx 	:kr=^F:ku=^E:le=^H:nw=\r\n:\
     5         kx 	:r1=\E\014\E\016\0\230\0\317\025\027\030\E\004:\
     5         kx 	:rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
     5         kx 	:us=\E^F:ve=^X:vi=^Y:
     5         kx 
     5         kx #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
     5         kx #
     5         kx # These entries came from DEC's official terminfos for its older terminals
     5         kx # (which happen to be identical to the AT&T/SCO terminal descriptions),
     5         kx # Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support Engineering
     5         kx # may have had more information.  Updated terminfos and termcaps were available
     5         kx # at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
     5         kx 
     5         kx # DEC's terminfos did not describe the auxiliary keypad.
     5         kx #
     5         kx # DECScope of course had no "function keys", but this building block assigns
     5         kx # the three blank keys at the top of the auxiliary (numeric) keypad, using
     5         kx # the same analogy as vt100 (also lacking function-keys).
     5         kx #
     5         kx # These assignments use the same layout for 0-9 as vt100+keypad; the vt52
     5         kx # keypad had its cursor-keys on the right-column as shown -TD
     5         kx #   _______________________________________
     5         kx #  |   PF1   |   PF2   |   PF3   | c-up    |
     5         kx #  |   \EP   |   \EQ   |   \ER   |   \EA   |
     5         kx #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|kcuu1_k4_|
     5         kx #  |    7         8         9      c-down  |
     5         kx #  |   \E?w  |   \E?x  |   \E?y  |   \EB   |
     5         kx #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|kcud1____|
     5         kx #  |    4    |    5    |    6    | c-right |
     5         kx #  |   \E?t  |   \E?u  |   \E?v  |   \EC   |
     5         kx #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|kcuf1_k8_|
     5         kx #  |    1    |    2    |    3    | c-left  |
     5         kx #  |   \E?q  |   \E?r  |   \E?s  |   \ED   |
     5         kx #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|kcub1____|
     5         kx #  |         0         |   .     |  enter  |
     5         kx #  |        \E?p       |  \E?n   |  \E?M   |
     5         kx #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
     5         kx #
     5         kx vt52+keypad|DECScope auxiliary keypad:\
     5         kx 	:K1=\E?q:K2=\E?r:K3=\E?s:K4=\E?p:K5=\E?n:k0=\E?y:k1=\EP:\
     5         kx 	:k2=\EQ:k3=\ER:k5=\E?t:k6=\E?u:k7=\E?v:k8=\E?w:k9=\E?x:
     5         kx 
     5         kx gt40|dec gt40:\
     5         kx 	:bs:os:\
     5         kx 	:co#72:li#30:\
     5         kx 	:bl=^G:cr=\r:do=\n:le=^H:
     5         kx gt42|dec gt42:\
     5         kx 	:bs:os:\
     5         kx 	:co#72:li#40:\
     5         kx 	:bl=^G:cr=\r:do=\n:le=^H:
     5         kx 
     5         kx vt50|dec vt50:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#12:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=\r:do=\n:le=^H:nd=\EC:\
     5         kx 	:sf=\n:ta=^I:u8=\E/A:u9=\EZ:up=\EA:
     5         kx vt50h|dec vt50h:\
     5         kx 	:cm=\EY%+ %+ :do=\EB:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:\
     5         kx 	:u8=\E/[HJ]:tc=vt52+keypad:tc=vt50:
     5         kx 
     5         kx # (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
     5         kx vt61|vt-61|vt61.5|dec vt61:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=120\EJ:ce=70\EK:cl=120\EH\EJ:cm=20\EY%+ %+ :\
     5         kx 	:cr=20\r:do=\n:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=20\EC:\
     5         kx 	:sf=20\n:sr=\EI:ta=^I:up=20\EA:
     5         kx 
     5         kx # The gigi does standout with red!
     5         kx # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
     5         kx gigi|vk100|dec gigi graphics terminal:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#84:li#24:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:do=\n:\
     5         kx 	:is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
     5         kx 	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
     5         kx 	:nd=\E[C:se=\E[m:sf=\n:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
     5         kx # a PC differentiated from the IBM clones.  It was a total, ludicrous,
     5         kx # grossly-overpriced failure (among other things, DEC's OS didn't include
     5         kx # a format program, so you had to buy pre-formatted floppies from DEC at
     5         kx # a hefty premium!).
     5         kx pro350|decpro|dec pro console:\
     5         kx 	:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
     5         kx 	:ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
     5         kx 	:k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
     5         kx 	:se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
     5         kx 
     5         kx dw1|decwriter I:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#72:\
     5         kx 	:bl=^G:cr=\r:do=\n:le=^H:sf=\n:
     5         kx dw2|decwriter|dw|decwriter II:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:kb=^H:le=^H:sf=\n:
     5         kx # \E(B		Use U.S. character set (otherwise # => british pound !)
     5         kx # \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
     5         kx # \E[w		10 char/in pitch
     5         kx # \E[1;132	full width horizontal margins
     5         kx # \E[2g		clear all tab stops
     5         kx # \E[z		6 lines/in
     5         kx # \E[66t	66 lines/page (for \f)
     5         kx # \E[1;66r	full vertical page can be printed
     5         kx # \E[4g		clear vertical tab stops
     5         kx # \E>		disable alternate keypad mode (so it transmits numbers!)
     5         kx # \E[%i%p1%du	set tab stop at column %d (origin == 1)
     5         kx #		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
     5         kx #		a tab stop)
     5         kx #
     5         kx #       The dw3 does standout with wide characters.
     5         kx #
     5         kx dw3|la120|decwriter III:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:\
     5         kx 	:i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
     5         kx 	:is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
     5         kx 	:kb=^H:le=^H:me=\E[w:se=\E[w:sf=\n:so=\E[6w:ta=^I:
     5         kx dw4|decwriter IV:\
     5         kx 	:am:bs:hc:os:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
     5         kx 	:kb=^H:le=^H:sf=\n:ta=^I:
     5         kx 
     5         kx # These aren't official
     5         kx ln03|dec ln03 laser printer:\
     5         kx 	:hc:\
     5         kx 	:co#80:li#66:\
     5         kx 	:bl=^G:cr=\r:do=\n:hd=\EK:hu=\EL:me=\E[m:nw=\r\n:se=\E[22m:\
     5         kx 	:sf=\n:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
     5         kx ln03-w|dec ln03 laser printer 132 cols:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:kb=^H:kd=\n:kl=^H:nw=\r\n:sf=\n:ta=^I:\
     5         kx 	:tc=ln03:
     5         kx 
     5         kx #### Delta Data (dd)
     5         kx #
     5         kx 
     5         kx # Untested. The cup sequence is hairy enough that it probably needs work.
     5         kx # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
     5         kx # There are BSD-derived termcap entries floating around for this puppy
     5         kx # that are *certainly* wrong.
     5         kx delta|dd5000|delta data 5000:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#27:\
     5         kx 	:bl=^G:ce=^NU:cl=^NR:dc=^NV:do=\n:ho=^NQ:le=^H:nd=^Y:sf=\n:\
     5         kx 	:up=^Z:
     5         kx 
     5         kx #### Digital Data Research (ddr)
     5         kx #
     5         kx 
     5         kx # (ddr: I added <rmam>/<smam> based on the init string -- esr)
     5         kx ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
     5         kx 	:am:bs:xn:\
     5         kx 	:co#80:it#8:li#24:vt#3:\
     5         kx 	:RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
     5         kx 	:cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=\n:ho=\E[H:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
     5         kx 	:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
     5         kx 	:nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
     5         kx 	:so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
     5         kx 
     5         kx #### Evans & Sutherland
     5         kx #
     5         kx 
     5         kx # Jon Leech <leech@cs.unc.edu> tells us:
     5         kx # The ps300 was the Evans & Sutherland Picture System 300, a high
     5         kx # performance 3D vector graphics system with a bunch of specialized hardware.
     5         kx # Approximate date of release was 1982 (early 80s, anyway), and it had several
     5         kx # evolutions including (limited) color versions such as the PS330C. PS300s
     5         kx # were effectively obsolete by the late 80s, replaced by raster graphics
     5         kx # systems, although specialized applications like molecular modeling
     5         kx # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
     5         kx # are out of production, though of course E&S is very much alive (in 1996).
     5         kx # (ps300: changed ":pt@:" to "it@" -- esr)
     5         kx #
     5         kx ps300|Picture System 300:\
     5         kx 	:xt:\
     5         kx 	:it@:\
     5         kx 	:se@:so@:ue@:us@:tc=vt100+4bsd:
     5         kx 
     5         kx #### General Electric (ge)
     5         kx #
     5         kx 
     5         kx terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#120:\
     5         kx 	:bl=^G:cr=\r:do=\n:sf=\n:
     5         kx 
     5         kx #### Heathkit/Zenith
     5         kx #
     5         kx 
     5         kx # Here is a description of the H19 DIP switches:
     5         kx #
     5         kx # S401
     5         kx # 0-3 = baud rate as follows:
     5         kx #
     5         kx #         3       2       1       0
     5         kx #	---	---	---	---
     5         kx #         0       0       1       1       300 baud
     5         kx #         0       1       0       1       1200 baud
     5         kx #         1       0       0       0       2400 baud
     5         kx #         1       0       1       0       4800 baud
     5         kx #         1       1       0       0       9600 baud
     5         kx #         1       1       0       1       19.2K baud
     5         kx #
     5         kx # 4 = parity (0 = no parity)
     5         kx # 5 = even parity (0 = odd parity)
     5         kx # 6 = stick parity (0 = normal parity)
     5         kx # 7 = full duplex (0 = half duplex)
     5         kx #
     5         kx # S402
     5         kx # 0 = block cursor (0 = underscore cursor)
     5         kx # 1 = no key click (0 = keyclick)
     5         kx # 2 = wrap at end of line (0 = no wrap)
     5         kx # 3 = auto LF on CR (0 = no LF on CR)
     5         kx # 4 = auto CR on LF (0 = no CR on LF)
     5         kx # 5 = ANSI mode (0 = VT52 mode)
     5         kx # 6 = keypad shifted (0 = keypad unshifted)
     5         kx # 7 = 50Hz refresh (1 = 60Hz refresh)
     5         kx #
     5         kx # Factory Default settings are as follows:
     5         kx #          7 6 5 4 3 2 1 0
     5         kx # S401     1 0 0 0 1 1 0 0
     5         kx # S402     0 0 0 0 0 0 0 0
     5         kx # (h19: I added <rmam>/<smam> based on the init string;
     5         kx # also added empty <acsc> to suppress a tic warning -- esr)
     5         kx h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
     5         kx 	:am:bs:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=1*\E[1L:as=\E[10m:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
     5         kx 	:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
     5         kx 	:kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
     5         kx 	:l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=\n:so=\E[7m:\
     5         kx 	:sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
     5         kx h19-bs|heathkit w/keypad shifted:\
     5         kx 	:ke=\Eu:ks=\Et:tc=h19-b:
     5         kx h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
     5         kx 	:ke=\Eu:ks=\Et:tc=h19-u:
     5         kx # (h19: merged in :ip: from BSDI hp19-e entry>;
     5         kx # also added empty <acsc> to suppress a tic warning --esr)
     5         kx # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
     5         kx # Tim tells us that:
     5         kx # I have an old Zenith-19 terminal at home that still gets a lot of use.
     5         kx # This terminal suffers from the same famous insert-mode padding lossage
     5         kx # that has been acknowledged for the Z29 terminal.  Emacs is nearly
     5         kx # unusable on this box, since even a half-scroll up or down the window
     5         kx # causes flaming terminal death.
     5         kx #
     5         kx # On the Z19, the only way I have found around this problem is to remove
     5         kx # the :al: and :dl: entries entirely.  No amount of extra padding will
     5         kx # help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
     5         kx # makes Emacs a little slower, but it remains in the land of the living.
     5         kx # Big win.
     5         kx h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
     5         kx 	:am:bs:es:hs:mi:ms:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\136:ae=\EG:\
     5         kx 	:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:ip=1.5:\
     5         kx 	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
     5         kx 	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:\
     5         kx 	:l8=white:le=^H:nd=\EC:se=\Eq:sf=\n:so=\Ep:sr=\EI:ta=^I:\
     5         kx 	:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:ve=\Ey4:vs=\Ex4:
     5         kx h19-u|heathkit with underscore cursor:\
     5         kx 	:ve@:vs@:tc=h19-b:
     5         kx h19-g|h19g|heathkit w/block cursor:\
     5         kx 	:ve=\Ex4:vs@:tc=h19-b:
     5         kx alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
     5         kx 	:li#60:\
     5         kx 	:al=\EL:dl=\EM:tc=h19:
     5         kx 
     5         kx # The major problem with the Z29 is that it requires more padding than the Z19.
     5         kx #
     5         kx # The problem with declaring an H19 to be synonymous with a Z29 is that
     5         kx # it needs more padding. It especially loses if a program attempts
     5         kx # to put the Z29 into insert mode and insert text at 9600 baud. It
     5         kx # even loses worse if the program attempts to insert tabs at 9600
     5         kx # baud. Adding padding to text that is inserted loses because in
     5         kx # order to make the Z29 not die, one must add so much padding that
     5         kx # whenever the program tries to use insert mode, the effective
     5         kx # rate is about 110 baud.
     5         kx #
     5         kx # What program would want to put the terminal into insert mode
     5         kx # and shove stuff at it at 9600 baud you ask?
     5         kx #
     5         kx # Emacs. Emacs seems to want to do the mathematically optimal
     5         kx # thing in doing a redisplay rather than the practical thing.
     5         kx # When it is about to output a line on top of a line that is
     5         kx # already on the screen, instead of just killing to the end of
     5         kx # the line and outputting the new line, it compares the old line
     5         kx # and the new line and if there are any similarities, it
     5         kx # constructs the new line by deleting the text on the old line
     5         kx # on the terminal that is already there and then inserting new
     5         kx # text into the line to transform it into the new line that is
     5         kx # to be displayed. The Z29 does not react kindly to this.
     5         kx #
     5         kx # But don't cry for too long.... There is a solution. You can make
     5         kx # a termcap entry for the Z29 that says the Z29 has no insert mode.
     5         kx # Then Emacs cannot use it. "Oh, no, but now inserting into a
     5         kx # line will be really slow", you say. Well there is a sort of a
     5         kx # solution to that too. There is an insert character option on
     5         kx # the Z29 that will insert one character. Unfortunately, it
     5         kx # involves putting the terminal into ansi mode, inserting the
     5         kx # character, and changing it back to H19 mode. All this takes 12
     5         kx # characters. Pretty expensive to insert one character, but it
     5         kx # works. Either Emacs doesn't try to use its inserting hack when
     5         kx # it's only given an insert character ability or the Z29 doesn't
     5         kx # require padding with this (the former is probably more likely,
     5         kx # but I haven't checked it out).
     5         kx # (z29: added empty <acsc> to suppress a tic warning, merged in
     5         kx # status line capabilities from BRL entry --esr)
     5         kx z29|zenith29|z29b|zenith z29b:\
     5         kx 	:am:bs:es:hs:mi:ms:pt:\
     5         kx 	:co#80:kn#10:li#24:\
     5         kx 	:ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=14\EJ:\
     5         kx 	:ce=1\EK:cl=14\EE:cm=\EY%+ %+ :cr=\r:dc=0.1*\EN:dl=1\EM:\
     5         kx 	:do=\EB:ds=\Ey1:ei=\EO:fs=\Ek\Ey5:ho=\EH:\
     5         kx 	:ic=1\E<\E[1@\E[?2h:im=\E@:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:\
     5         kx 	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
     5         kx 	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=home:le=^H:\
     5         kx 	:nd=\EC:se=\Eq:sf=2\n:so=\Ep:sr=2\EI:ta=^I:ue=\Es0:up=\EA:\
     5         kx 	:us=\Es8:ve=\Ey4:vs=\Ex4:
     5         kx # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
     5         kx # the world is stable. <rs1> causes the terminal to be reset to the state
     5         kx # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
     5         kx # cursor, bc -> block cursor.
     5         kx # From: Mike Meyers
     5         kx # (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: because :st:
     5         kx # looks vt100-compatible -- esr)
     5         kx z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
     5         kx 	:am:bs:es:hs:mi:ms:pt:\
     5         kx 	:co#80:it#8:kn#10:li#24:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[2J:cm=\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:\
     5         kx 	:dc=\E[1P:dl=\E[M:do=\n:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
     5         kx 	:if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
     5         kx 	:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
     5         kx 	:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
     5         kx 	:ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
     5         kx 	:mr=\E[7m:nd=\E[C:nw=\r\ED:ps=\E#7:\
     5         kx 	: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:\
     5         kx 	:rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
     5         kx 	:ta=^I:te=\E[?7h:ti=\E[?7l:\
     5         kx 	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyclick and underscore cursor:\
     5         kx 	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
     5         kx 	:tc=z29a:
     5         kx z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
     5         kx 	: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:\
     5         kx 	:tc=z29a:
     5         kx z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
     5         kx 	: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:\
     5         kx 	:tc=z29a:
     5         kx # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
     5         kx z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
     5         kx 	:5i:am:es:hs:mi:ms:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
     5         kx 	:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
     5         kx 	:ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
     5         kx 	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
     5         kx 	:ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
     5         kx 	:is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
     5         kx 	:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
     5         kx 	:kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
     5         kx 	:ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
     5         kx 	:mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
     5         kx 	:ps=\E[?19h\E[i:rc=\E[u:rs=\E<\Ec\0:sc=\E[s:se=\E[0m:\
     5         kx 	:sf=\n:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%dH:\
     5         kx 	:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
     5         kx 
     5         kx # From: Brad Brahms <Brahms@USC-ECLC>
     5         kx z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
     5         kx 	:ve=\Ey4\Em70:vs=\Ex4\Em71:tc=z100bw:
     5         kx # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
     5         kx z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
     5         kx 	:bs:mi:ms:pt:\
     5         kx 	:co#80:it#8:kn#10:li#24:\
     5         kx 	:ac=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\136:ae=\EG:\
     5         kx 	:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :\
     5         kx 	:dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:k0=\EJ:\
     5         kx 	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
     5         kx 	:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
     5         kx 	:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:ve=\Ey4:vs=\Ex4:
     5         kx p19|h19-b with il1/dl1:\
     5         kx 	:al=2*\EL:dl=2*\EM:tc=h19-b:
     5         kx # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
     5         kx # (ztx: removed duplicate :sr: -- esr)
     5         kx ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
     5         kx 	:am:bs:es:hs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=\n:\
     5         kx 	:ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
     5         kx 	:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
     5         kx 	:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
     5         kx 	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
     5         kx 	:sr=\EI:ta=^I:ue=\Eq:up=\EA:us=\Es2:
     5         kx 
     5         kx #### IMS International (ims)
     5         kx #
     5         kx # There was a company called IMS International located in Carson City,
     5         kx # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
     5         kx # bus/Z80 hardware and a line of terminals called Ultimas.
     5         kx #
     5         kx 
     5         kx # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
     5         kx ims950-b|bare ims950 no init string:\
     5         kx 	:is@:tc=ims950:
     5         kx # (ims950: removed obsolete ":ko@:" -- esr)
     5         kx ims950|ims televideo 950 emulation:\
     5         kx 	:xn@:\
     5         kx 	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:\
     5         kx 	:tc=tvi950:
     5         kx # (ims950-rv: removed obsolete ":ko@:" -- esr)
     5         kx ims950-rv|ims tvi950 rev video:\
     5         kx 	:xn@:\
     5         kx 	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:\
     5         kx 	:tc=tvi950-rv:
     5         kx ims-ansi|ultima2|ultimaII|IMS Ultima II:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
     5         kx 	:if=/usr/share/tabset/vt100:\
     5         kx 	:is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\EC:se=\E[m\E[1m:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
     5         kx 
     5         kx #### Intertec Data Systems
     5         kx #
     5         kx # I think this company is long dead as of 1995.  They made an early CP/M
     5         kx # micro called the "Intertec Superbrain" that was moderately popular,
     5         kx # then sank out of sight.
     5         kx #
     5         kx 
     5         kx superbrain|intertec superbrain:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bc=^U:bl=^G:cd=10*\E~k<10*>:ce=15\E~K:cl=5*^L:\
     5         kx 	:cm=20\EY%+ %+ :cr=\r:do=\n:kd=\n:kl=^U:kr=^F:ku=^K:le=^H:\
     5         kx 	:nd=^F:sf=\n:ta=^I:te=^L:ti=^L:up=^K:
     5         kx # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
     5         kx # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
     5         kx # and the reverse is actually true.  Try it. -- esr)
     5         kx intertube|intertec|Intertec InterTube:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#25:\
     5         kx 	:bl=^G:cl=^L:cm=50\EY%+ %+ :cr=\r:do=\n:ho=^A:le=^H:nd=^F:\
     5         kx 	:se=\E0@:sf=\n:so=\E0P:up=^Z:
     5         kx # The intertube 2 has the "full duplex" problem like the tek 4025: if you
     5         kx # are typing and a command comes in, the keystrokes you type get interspersed
     5         kx # with the command and it messes up
     5         kx intertube2|intertec data systems intertube 2:\
     5         kx 	:bs:\
     5         kx 	:ce=\EK:ch=\020%B%.:cm=\016%.\020%B%.:cv=^K%.:ll=^K^X\r:\
     5         kx 	:tc=intertube:
     5         kx 
     5         kx #### Ithaca Intersystems
     5         kx #
     5         kx # This company made S100-bus personal computers long ago in the pre-IBM-PC
     5         kx # past.  They used to be reachable at:
     5         kx #
     5         kx #	Ithaca Intersystems
     5         kx #	1650 Hanshaw Road
     5         kx #	Ithaca, New York 14850
     5         kx #
     5         kx # However, the outfit went bankrupt years ago.
     5         kx #
     5         kx 
     5         kx # The Graphos III was a color graphics terminal from Ithaca Intersystems.
     5         kx # These entries were written (originally in termcap syntax) by Brian Yandell
     5         kx # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
     5         kx # University of Wisconsin.
     5         kx 
     5         kx # (graphos: removed obsolete and syntactically incorrect :kn=4:,
     5         kx # removed :if=/usr/share/tabset/init.graphos: and
     5         kx # <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
     5         kx graphos|graphos III:\
     5         kx 	:am:mi:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
     5         kx 	:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=\r\ED:rc=\E8:sc=\E7:\
     5         kx 	:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
     5         kx 	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
     5         kx 	:vs=\Ez4;2;1z\Ez56;2;80;24z:
     5         kx graphos-30|graphos III with 30 lines:\
     5         kx 	:li#30:\
     5         kx 	:vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
     5         kx 
     5         kx #### Modgraph
     5         kx #
     5         kx # These people used to be reachable at:
     5         kx #
     5         kx #	Modgraph, Inc
     5         kx #	1393 Main Street,
     5         kx #	Waltham, MA 02154
     5         kx #	Vox: (617)-890-5796.
     5         kx #
     5         kx # However, if you call that number today you'll get an insurance company.
     5         kx # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
     5         kx # 26 Feb 1997 that says:
     5         kx #
     5         kx # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
     5         kx # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
     5         kx # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
     5         kx # panel-mount etc).  I can be emailed at sonfour@aol.com
     5         kx #
     5         kx # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
     5         kx # dated 1984.  According to the manual, it featured Tek 4010/4014
     5         kx # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
     5         kx #
     5         kx 
     5         kx modgraph|mod24|modgraph terminal emulating vt100:\
     5         kx 	:xn@:\
     5         kx 	:co#80:li#24:\
     5         kx 	: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:\
     5         kx 	:rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:tc=vt100+4bsd:
     5         kx # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
     5         kx modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
     5         kx 	:am:da:db:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :do=2\EB:\
     5         kx 	: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:\
     5         kx 	:le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
     5         kx #
     5         kx # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
     5         kx # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
     5         kx # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
     5         kx # mark and using delete-to-killbuffer work correctly.  However, we would
     5         kx # like normal mode of operation to be using a Modgraph with 48 line setting.
     5         kx # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
     5         kx # the setting mark and delete-to-killbuffer results in the deletion of only
     5         kx # the line the mark is set on.
     5         kx # We've discovered that the delete-to-killbuffer works correctly
     5         kx # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
     5         kx # the first line disappears but a ctrl-l shows that it did work
     5         kx # correctly.
     5         kx modgraph48|mod|Modgraph w/48 lines:\
     5         kx 	:am:bs:pt:xn:\
     5         kx 	:co#80:it#8:li#48:vt#3:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:do=\n:ho=\E[H:\
     5         kx 	:is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[m:mr=\E[7m:nd=\E[C:nl=\n:r1=\E=\E[0q\E>:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
     5         kx 
     5         kx #### Morrow Designs
     5         kx #
     5         kx # This was George Morrow's company.  They started in the late 1970s making
     5         kx # S100-bus machines.  They used to be reachable at:
     5         kx #
     5         kx #        Morrow
     5         kx #        600 McCormick St.
     5         kx #        San Leandro, CA 94577
     5         kx #
     5         kx # but they're long gone now (1995).
     5         kx #
     5         kx 
     5         kx # The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
     5         kx # Jeff's specimen was dated June 1984.
     5         kx # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
     5         kx mt70|mt-70|Morrow MD-70; native Morrow mode:\
     5         kx 	:am:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
     5         kx 	:F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
     5         kx 	:ac=+z,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%%:al=\EE:\
     5         kx 	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=1\E=%+ %+ :\
     5         kx 	:cr=\r:ct=\E0:dc=\EW:dl=\ER:do=\n:ei=:ho=^^:i1=\E"2\EG0\E]:\
     5         kx 	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
     5         kx 	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=^A^Z\r:\
     5         kx 	:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:kh=^AN\r:kl=^AL\r:\
     5         kx 	:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:nd=^L:nw=^_:sf=\n:ta=^I:\
     5         kx 	:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:vb=\EK1\EK0:ve=\E"2:\
     5         kx 	:vi=\E"0:tc=adm+sgr:
     5         kx 
     5         kx #### Motorola
     5         kx #
     5         kx 
     5         kx # Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
     5         kx # (Seth H Zirin)
     5         kx ex155|Motorola Exorterm 155:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:kn#5:li#24:ug#1:\
     5         kx 	:bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
     5         kx 	:kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=\n:kh=\E@:kl=^H:kr=^L:\
     5         kx 	:ku=^K:le=\ED:nd=\EC:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
     5         kx 	:up=\EA:us=\Ef\ED:
     5         kx 
     5         kx #### Omron
     5         kx #
     5         kx # This company is still around in 1995, manufacturing point-of-sale systems.
     5         kx 
     5         kx omron|Omron 8025AG:\
     5         kx 	:am:bs:da:db:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=\r:dc=\EP:dl=\EM:do=\n:\
     5         kx 	:ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
     5         kx 	:vs=\EN:
     5         kx 
     5         kx #### Ramtek
     5         kx #
     5         kx # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
     5         kx # were competition for things like the Tektronix 4025.
     5         kx #
     5         kx 
     5         kx # Ramtek 6221 from BRL, probably by Doug Gwyn
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
     5         kx #	NEWLINE_OFF		80_COLUMNS
     5         kx # Other SET-UP modes may be set for operator convenience or communication
     5         kx # requirements; I recommend
     5         kx #	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
     5         kx # Hardware tabs are assumed to be every 8 columns; they can be set up by the
     5         kx # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
     5         kx # Note that the Control-E key is useless on this brain-damaged terminal.  No
     5         kx # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
     5         kx rt6221|Ramtek 6221 80x24:\
     5         kx 	:bs:ms:pt:xo:\
     5         kx 	:co#80:it#8:kn#4:li#24:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
     5         kx 	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
     5         kx 	:cr=\r:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
     5         kx 	:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
     5         kx 	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
     5         kx 	:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\EE:\
     5         kx 	: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>:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:sf=\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
     5         kx 	:ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
     5         kx 	:vs=\E[>7h\E[>9l:
     5         kx # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
     5         kx rt6221-w|Ramtek 6221 160x48:\
     5         kx 	:co#160:li#48:\
     5         kx 	:ll=\E[48;1H:tc=rt6221:
     5         kx 
     5         kx #### RCA
     5         kx #
     5         kx 
     5         kx # RCA VP3301 or VP3501
     5         kx rca|rca vp3301/vp3501:\
     5         kx 	:bs:\
     5         kx 	:co#40:li#24:\
     5         kx 	:cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
     5         kx 
     5         kx 
     5         kx #### Selanar
     5         kx #
     5         kx 
     5         kx # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
     5         kx # The following SET-UP modes are assumed for normal operation:
     5         kx #	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
     5         kx #	ONLINE			ANSI			CURSOR_VISIBLE
     5         kx #	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
     5         kx #	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
     5         kx #	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
     5         kx # For use with graphics software, all graphics modes should be set to factory
     5         kx # default.  Other SET-UP modes may be set for operator convenience or
     5         kx # communication requirements.  No delays are specified; use "stty ixon -ixany"
     5         kx # to enable DC3/DC1 flow control!
     5         kx # I commented out the scrolling capabilities since they are too slow.
     5         kx hirez100|Selanar HiREZ-100:\
     5         kx 	:bs:mi:ms:pt:xo:\
     5         kx 	:co#80:it#8:kn#4:li#48:vt#3:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
     5         kx 	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:ct=\E[3g:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\n:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
     5         kx 	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
     5         kx 	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
     5         kx 	:le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
     5         kx 	:nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
     5         kx 	: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>:\
     5         kx 	:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
     5         kx 	:us=\E[4m:
     5         kx hirez100-w|Selanar HiREZ-100 in 132-column mode:\
     5         kx 	:co#132:tc=hirez100:
     5         kx 
     5         kx #### Signetics
     5         kx #
     5         kx 
     5         kx # From University of Wisconsin
     5         kx vsc|Signetics Vsc Video driver by RMC:\
     5         kx 	:am:ms:\
     5         kx 	:co#80:it#8:li#26:\
     5         kx 	:ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=\r:do=\n:\
     5         kx 	:ho=\E[H:kb=^H:kd=\n:kl=^H:le=^H:me=^_!:mr=^_\s:nd=\E[C:\
     5         kx 	:nw=\r\n:se=^_!:sf=\n:so=^_\s:ta=^I:ue=^_#:up=\E[A:us=^_":
     5         kx 
     5         kx #### Soroc
     5         kx #
     5         kx # Alan Frisbie <frisbie@flying-disk.com> writes:
     5         kx #
     5         kx # As you may recall, the Soroc logo consisted of their name,
     5         kx # with the letter "S" superimposed over an odd design.   This
     5         kx # consisted of a circle with a slightly smaller 15 degree (approx.)
     5         kx # wedge with rounded corners inside it.   The color was sort of
     5         kx # a metallic gold/yellow.
     5         kx #
     5         kx # If I had been more of a beer drinker it might have been obvious
     5         kx # to me, but it took a clue from their service department to make
     5         kx # me exclaim, "Of course!"   The circular object was the top of
     5         kx # a beer can (the old removable pop-top style) and "Soroc" was an
     5         kx # anagram for "Coors".
     5         kx #
     5         kx # I can just imagine the founders of the company sitting around
     5         kx # one evening, tossing back a few and trying to decide what to
     5         kx # call their new company and what to use for a logo.
     5         kx #
     5         kx 
     5         kx # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
     5         kx soroc120|iq120|soroc|soroc iq120:\
     5         kx 	:cd=\EY:ce=\ET:cl=2\E*:do=\n:kd=\n:kl=^H:kr=^L:ku=^K:\
     5         kx 	:tc=adm3a:
     5         kx soroc140|iq140|soroc iq140:\
     5         kx 	:am:bs:mi:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=1*\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\Ew:dl=.7*\Er:do=\n:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
     5         kx 	:ll=^^^K:nd=^L:se=\E\177:sf=\n:so=\E\177:ue=\E^A:up=^K:\
     5         kx 	:us=\E^A:
     5         kx 
     5         kx #### Southwest Technical Products
     5         kx #
     5         kx # These guys made an early personal micro called the M6800.
     5         kx # The ct82 was probably its console terminal.
     5         kx #
     5         kx 
     5         kx # (swtp: removed obsolete ":bc=^D:" -- esr)
     5         kx swtp|ct82|southwest technical products ct82:\
     5         kx 	:am:\
     5         kx 	:co#82:li#20:\
     5         kx 	:al=^\^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=\r:\
     5         kx 	:dc=^\^H:dl=^Z:do=\n:ei=:ho=^P:ic=^\^X:im=:\
     5         kx 	:is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
     5         kx 	:le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
     5         kx 
     5         kx #### Synertek
     5         kx #
     5         kx # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
     5         kx #
     5         kx # Synertek used to make ICs, various 6502-based single-board process
     5         kx # control and hobbyist computers, and assorted peripherals including a
     5         kx # series of small inexpensive terminals (I think they were one of the
     5         kx # first to have a "terminal-on-a-keyboard", where the terminal itself
     5         kx # was only slightly larger than the keyboard).
     5         kx #
     5         kx # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
     5         kx # was a 40x24 terminal that could connect to a standard TV through a
     5         kx # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
     5         kx # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
     5         kx # I have a KTM-2/80 still in working order.  The KTM-2s had fully
     5         kx # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
     5         kx # ROM and 2 ROMs as character generators. They were incredibly simple,
     5         kx # and I've never had any problems with mine (witness the fact that mine
     5         kx # was made in 1981 and is still working great... I've blown the video
     5         kx # output transistor a couple of times, but it's a 2N2222 :-)
     5         kx #
     5         kx # The KTM-3 (which is what is listed in the terminfo file) was their
     5         kx # attempt at putting a KTM-2 in a box (and some models came with a
     5         kx # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
     5         kx # control and escape sequences are very different. The KTM-3 was always
     5         kx # real broken, at least according to the folks I've talked to about it.
     5         kx #
     5         kx # The padding in the entry is probably off--these terminals were very
     5         kx # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
     5         kx # anyone with any sanity replaced the ROMs with something that provided
     5         kx # a reasonable subset of VT100 functionality, since the usual ROMs were
     5         kx # obviously very primitive... oh, you could get an upgraded ROM from
     5         kx # Synertek for some incredible amount of money, but what hacker with an
     5         kx # EPROM burner would do that? :)
     5         kx #
     5         kx # Sorry I don't have any contact info; I believe they were located in
     5         kx # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
     5         kx # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
     5         kx # business these days.
     5         kx #
     5         kx 
     5         kx # Tested, seems to work fine with vi.
     5         kx synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
     5         kx 
     5         kx #### Tab Office Products
     5         kx #
     5         kx #	TAB Products Co. - Palo Alto, California
     5         kx #	Electronic Office Products,
     5         kx #	1451 California Avenue 94304
     5         kx #
     5         kx # I think they're out of business.
     5         kx #
     5         kx 
     5         kx # The tab 132 uses xon/xoff, so no padding needed.
     5         kx # :ks:/:ke: have nothing to do with arrow keys.
     5         kx # :is: sets 80 col mode, normal video, autowrap on (for :am:).
     5         kx # Seems to be no way to get rid of status line.
     5         kx # The manual for this puppy was dated June 1981.  It claims to be VT52-
     5         kx # compatible but looks more vt100-like.
     5         kx tab132|tab|tab132-15|tab 132/15:\
     5         kx 	:da:db:\
     5         kx 	:co#80:dN@:li#24:lm#96:\
     5         kx 	:al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\n:ei=\E[4l:\
     5         kx 	:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
     5         kx 	:ku=\E[A:tc=vt100+4bsd:
     5         kx tab132-w|tab132 in wide mode:\
     5         kx 	:co#132:\
     5         kx 	:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
     5         kx tab132-rv|tab132 in reverse-video mode:\
     5         kx 	:is=\E[?7h\E[?3l\E[?5h:tc=tab132:
     5         kx tab132-w-rv|tab132 in reverse-video/wide mode:\
     5         kx 	:is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
     5         kx 
     5         kx 
     5         kx #### Teleray
     5         kx #
     5         kx #	Research Incorporated
     5         kx #	6425 Flying Cloud Drive
     5         kx #	Eden Prairie, MN 55344
     5         kx #	Vox: (612)-941-3300
     5         kx #
     5         kx # The Teleray terminals were all discontinued in 1992-93.  RI still services
     5         kx # and repairs these beasts, but no longer manufactures them.  The Teleray
     5         kx # people believe that all the types listed below are very rare now (1995).
     5         kx # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
     5         kx # Model 100) that were ANSI-compatible.
     5         kx #
     5         kx # Note two things called "teleray".  Reorder should move the common one
     5         kx # to the front if you have either.  A dumb teleray with the cursor stuck
     5         kx # on the bottom and no obvious model number is probably a 3700.
     5         kx #
     5         kx 
     5         kx t3700|dumb teleray 3700:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:le=^H:sf=\n:
     5         kx t3800|teleray 3800 series:\
     5         kx 	:bs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=\r:do=\n:ho=\EH:\
     5         kx 	:le=^H:ll=\EY7\s:nd=\EC:sf=\n:ta=^I:up=^K:
     5         kx t1061|teleray|teleray 1061:\
     5         kx 	:am:bs:km:xs:xt:\
     5         kx 	:co#80:it#8:li#24:sg#1:ug#1:\
     5         kx 	:al=2*\EL:bl=^G:cd=1\EJ:ce=\EK:cl=1^L:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:ct=\EG:dc=\EQ:dl=2*\EM:do=\n:ei=:ho=\EH:ic=\EP:im=:ip=0.4*:\
     5         kx 	: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:\
     5         kx 	:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
     5         kx 	:le=^H:nd=\EC:se=\ER@:sf=\n:so=\s\ERD:st=\EF:ta=^I:ue=\ER@:\
     5         kx 	:up=\EA:us=\ERH:
     5         kx t1061f|teleray 1061 with fast PROMs:\
     5         kx 	:al=\EL:dl=\EM:ip@:tc=t1061:
     5         kx # "Teleray Arpa Special", officially designated as
     5         kx # "Teleray Arpa network model 10" with "Special feature 720".
     5         kx # This is the new (1981) fast microcode updating the older "arpa" proms
     5         kx # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
     5         kx # converts the keypad to programmable function keys, and has other goodies.
     5         kx # Standout mode is still broken (magic cookie, etc) so is suppressed as no
     5         kx # programs handle such lossage properly.
     5         kx # Note: this is NOT the old termcap's "t1061f with fast proms."
     5         kx # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
     5         kx # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
     5         kx t10|teleray 10 special:\
     5         kx 	:bs:km:xs:xt:\
     5         kx 	:co#80:it#8:li#24:sg#2:ug#2:\
     5         kx 	:al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
     5         kx 	:do=\EB:ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\0:se=\ER@:\
     5         kx 	:sf=\Eq:so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
     5         kx # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
     5         kx # back/forth words. Put the function keys (f1-f10) where they can be
     5         kx # found, and turn off the other magic keys along the top row, except
     5         kx # for line/local. Do the magic appropriate to make the page shifts work.
     5         kx # Also toggle ^S/^Q for those of us who use Emacs.
     5         kx t16|teleray 16:\
     5         kx 	:am:da:db:mi:xs:xt:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
     5         kx 	:cm=%i\E[%d;%df:cr=\r:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
     5         kx 	:ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
     5         kx 	:k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
     5         kx 	:ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx 
     5         kx #### Texas Instruments (ti)
     5         kx #
     5         kx 
     5         kx # The Silent 700 was so called because it was built around a quiet thermal
     5         kx # printer.  It was portable, equipped with an acoustic coupler, and pretty
     5         kx # neat for its day.
     5         kx ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
     5         kx 	:bs:hc:os:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cr=162\r:do=\n:le=^H:sf=\n:
     5         kx 
     5         kx # Terminal entries for the Texas Instruments 703/707
     5         kx # hardcopy terminals.
     5         kx #
     5         kx # http://www.bitsavers.org/pdf/ti/terminal/silent_700/
     5         kx # Refer to:
     5         kx #	Model 707 Data Terminal User's Manual
     5         kx #
     5         kx # pages 2-7 and 2-8 say that the model 707 prints 10.2 characters per inch
     5         kx # (cpi) (80 characters per line) by default, and can be switched to/from 17.0
     5         kx # cpi using an escape sequence.  There is no 80/132-column capability in
     5         kx # terminfo (only the more general cpi which allows any value).
     5         kx ti703|ti707|Texas Instruments Silent 703/707:\
     5         kx 	:am:hc:os:xn:\
     5         kx 	:co#80:it#8:\
     5         kx 	:bl=^G:cr=162\r:do=\n:is=\EPC\\:le=^H:nd=\s:nw=\r\n:sf=\n:
     5         kx ti703-w|ti707-w|Texas Instruments Silent 703/707:\
     5         kx 	:co#132:\
     5         kx 	:is=\EPD\\:tc=ti703:
     5         kx 
     5         kx #
     5         kx # Texas Instruments 916 VDT 7 bit control mode
     5         kx #
     5         kx ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
     5         kx 	:da:db:in:ms:\
     5         kx 	:%9=^X:@4=\E[29~:@8=\n:AL=36\E[%dL:DC=250\E[%dP:DL=\E[%dM:\
     5         kx 	:DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=250\E[%d@:LE=\E[%dD:\
     5         kx 	:RI=\E[%dC:UP=\E[%dA:ae=2^O:as=2^N:bt=\E[Z:cb=\E[1K:\
     5         kx 	:cd=6\E[J:ce=\E[0K:cl=6\E[H\E[2J:cm=\E[%i%d;%dH:ct=\E[3g:\
     5         kx 	:dc=\E[P:eA=\E(B\E)0:ec=20\E[%dX:ei=:ff=^L:im=:ip=10:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
     5         kx 	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
     5         kx 	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
     5         kx 	:kh=\E[H:mp=\E&:rs=\E[!p:sa@:st=\E[0W:vb=6\E[?5h\E[?5l:\
     5         kx 	:ve=\E[?25h:vi=\E[?25l:tc=vt220:
     5         kx #
     5         kx # Texas Instruments 916 VDT 8 bit control mode
     5         kx #
     5         kx ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
     5         kx 	:%9=^X:@4=\23329~:@8=\n:F1=\23329~:F2=\23331~:k1=\23317~:\
     5         kx 	:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
     5         kx 	:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
     5         kx 	:kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
     5         kx 	:kr=\233C:ku=\233A:tc=ti916:
     5         kx #
     5         kx # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
     5         kx #
     5         kx ti916-132|Texas Instruments 916 VDT vt220 132 column:\
     5         kx 	:co#132:tc=ti916:
     5         kx #
     5         kx # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
     5         kx #
     5         kx ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
     5         kx 	:co#132:tc=ti916-8:
     5         kx ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
     5         kx 	:am:bs:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
     5         kx 	:cm=%i\E[%d;%dH:cr=\r:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
     5         kx 	:do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
     5         kx 	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
     5         kx 	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
     5         kx 	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
     5         kx ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
     5         kx 	:cm=%i\E[%d;%dH:cr=\r:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
     5         kx 	:do=\E[B:ho=\E[H:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:\
     5         kx 	:k5=\23316~:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:\
     5         kx 	:kD=\233P:kI=\233@:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
     5         kx 	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
     5         kx 	:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
     5         kx ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
     5         kx 	:co#132:tc=ti924:
     5         kx ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
     5         kx 	:co#132:tc=ti924-8:
     5         kx ti931|Texas Instruments 931 VDT:\
     5         kx 	:am:bs:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=\r:\
     5         kx 	:dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
     5         kx 	:is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
     5         kx 	:k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
     5         kx 	:kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
     5         kx 	:me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
     5         kx 	:sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
     5         kx ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
     5         kx 	:cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
     5         kx # (ti926-8: I corrected this from the broken SCO entry -- esr)
     5         kx ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
     5         kx 	:cs@:sf=\2331S:sr=\2331T:tc=ti924-8:
     5         kx ti_ansi|basic entry for ti928:\
     5         kx 	:am:eo:ut:xn:xo:\
     5         kx 	:Co#8:co#80:it#8:li#25:pa#64:\
     5         kx 	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
     5         kx 	:ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
     5         kx 	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
     5         kx 	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
     5         kx 	:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
     5         kx 	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx #
     5         kx #       928 VDT 7 bit control mode
     5         kx #
     5         kx ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
     5         kx 	:%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
     5         kx 	:F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
     5         kx 	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
     5         kx 	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
     5         kx 	:tc=ti_ansi:
     5         kx #
     5         kx #       928 VDT 8 bit control mode
     5         kx #
     5         kx ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
     5         kx 	:%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
     5         kx 	:F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
     5         kx 	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
     5         kx 	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
     5         kx 	:kP=\233T:kh=\233H:tc=ti_ansi:
     5         kx 
     5         kx #### Zentec (zen)
     5         kx #
     5         kx 
     5         kx # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
     5         kx # had just :so:=\EG6 which I think means standout was supposed to be
     5         kx # dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
     5         kx # <invis> might work-- esr)
     5         kx zen30|z30|zentec 30:\
     5         kx 	:am:bs:mi:ul:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=1.5*\EE:bl=^G:cd=\EY:ce=1.0*\ET:cl=\E*:cm=\E=%+ %+ :\
     5         kx 	:cr=\r:dc=\EW:dl=1.5*\ER:do=\n:ei=\Er:ho=^^:im=\Eq:le=^H:\
     5         kx 	:mh=\EG2:nd=^L:sf=\n:so=\EG6:ue@:up=^K:us@:tc=adm+sgr:
     5         kx # (zen50: this had extension capabilities
     5         kx #	:BS=^U:CL=^V:CR=^B:
     5         kx # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
     5         kx # which were also in the original entry -- esr)
     5         kx # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
     5         kx zen50|z50|zentec zephyr:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:sg#1:\
     5         kx 	:al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
     5         kx 	:ic=\EQ:im=:kd=\n:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
     5         kx 	:us@:tc=adm+sgr:
     5         kx 
     5         kx # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
     5         kx cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=\n:\
     5         kx 	:ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM\s:mh=\EM!:mk=\EM(:\
     5         kx 	:mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM\s:so=\EM$:sr=\EI:\
     5         kx 	:ue=\EM\s:up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
     5         kx 
     5         kx ######## OBSOLETE UNIX CONSOLES
     5         kx #
     5         kx 
     5         kx #### Apollo consoles
     5         kx #
     5         kx # Apollo got bought by Hewlett-Packard.  The Apollo workstations are
     5         kx # labeled HP700s now.
     5         kx #
     5         kx 
     5         kx # From: Gary Darland <goodmanc@garnet.berkeley.edu>
     5         kx apollo|apollo console:\
     5         kx 	:am:bs:mi:\
     5         kx 	:co#88:li#53:\
     5         kx 	:al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
     5         kx 	:cv=\EO+\s:dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:nd=\EC:\
     5         kx 	:se=\ET:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:up=\EA:\
     5         kx 	:us=\EU:
     5         kx 
     5         kx # We don't know whether or not the apollo guys replicated DEC's firmware bug
     5         kx # in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
     5         kx # both these capabilities.
     5         kx apollo_15P|apollo 15 inch display:\
     5         kx 	:ei@:im@:tc=vt132:
     5         kx apollo_19L|apollo 19 inch display:\
     5         kx 	:ei@:im@:tc=vt132:
     5         kx apollo_color|apollo color display:\
     5         kx 	:ei@:im@:tc=vt132:
     5         kx 
     5         kx #### AT&T consoles
     5         kx 
     5         kx # This actually describes the generic SVr4 display driver for Intel boxes.
     5         kx # The :mh=\E[2m: isn't documented and therefore may not be reliable.
     5         kx # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
     5         kx att6386|at386|386at|AT&T WGS 6386 console:\
     5         kx 	:am:bw:eo:xo:\
     5         kx 	:co#80:it#8:li#25:\
     5         kx 	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
     5         kx 	:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
     5         kx 	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
     5         kx 	:ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
     5         kx 	:ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:\
     5         kx 	:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
     5         kx 	:ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
     5         kx 	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
     5         kx 	:k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
     5         kx 	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
     5         kx 	:md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
     5         kx 	:nw=\r\E[S:rc=\E8:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
     5         kx 	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
     5         kx 	:tc=ecma+index:tc=klone+color:
     5         kx # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
     5         kx pc6300plus|AT&T 6300 plus:\
     5         kx 	:am:bs:xo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
     5         kx 	:cm=\E[%i%2;%2H:cr=\r:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
     5         kx 	:ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
     5         kx 	:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
     5         kx 	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
     5         kx 	:me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=\r\n:\
     5         kx 	:se=\E[m:sf=\n:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
     5         kx 	:ve=\E[=1C:vi=\E[=C:
     5         kx 
     5         kx # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
     5         kx #
     5         kx # I have a UNIX PC which I use as a terminal attached to my Linux PC.
     5         kx # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
     5         kx # is broken. All the special key sequences are broken, making it unusable
     5         kx # with Emacs. The problem stems from the following:
     5         kx #
     5         kx # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
     5         kx # keypad!), loadable fonts, and strange highlighting modes ("dithered"
     5         kx # half-intensity, "smeared" bold, and real strike-out, for example.) It also
     5         kx # uses resizable terminal windows, but the bundled terminal program always
     5         kx # uses an 80x24 window (and doesn't support seem to support a 132-column
     5         kx # mode.)
     5         kx #
     5         kx # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
     5         kx # library which was a superset of SVr3.5 curses (called tam, for "terminal
     5         kx # access method".) tam includes support for real, overlapping windows,
     5         kx # onscreen function key labels, and bitmap graphics. But since the primary
     5         kx # user interface on the UNIX PC was a GUI program (ua, for "user
     5         kx # assistant",) and remote administration was considered important for the
     5         kx # machine, tam also supported VT100-compatible terminals attached to the
     5         kx # serial port or used across the StarLan network. To simulate the extra keys
     5         kx # not present on a VT100, users could press ESC and a two-letter sequence,
     5         kx # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
     5         kx # however, were not the same as those sent by the actual Undo key. The
     5         kx # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
     5         kx # (If you're interested in adding some of the tam calls to ncurses, btw, I
     5         kx # have the full documentation and several programs which use tam. It also
     5         kx # used an extended terminfo format to describe key sequences, special
     5         kx # highlighting modes, etc.)
     5         kx #
     5         kx # KEYS: This means that ncurses would quite painful on the UNIX PC, since
     5         kx # there are two sequences for every key-modifier combination (local keyboard
     5         kx # sequence and remote "VT100" sequence.) But I doubt many people are trying
     5         kx # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
     5         kx # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
     5         kx # seem to have been built from the manual describing the VT100 sequences.
     5         kx # This means it doesn't work for a real live UNIX PC.
     5         kx #
     5         kx # FONTS: The UNIX PC also has a strange interpretation of "alternate
     5         kx # character set". Rather than the VT100 graphics you might expect, it allows
     5         kx # up to 8 custom fonts to be loaded at any given time. This means that
     5         kx # programs expecting VT100 graphics will usually be disappointed. For this
     5         kx # reason I have disabled the smacs/rmacs sequences, but they could easily be
     5         kx # re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
     5         kx # manpage), should you wish to do so:
     5         kx #
     5         kx # SGR10 - Select font 0 - ESC [ 10 m or SO
     5         kx # SGR11 - Select font 1 - ESC [ 11 m or SI
     5         kx # SGR12 - Select font 2 - ESC [ 12 m
     5         kx # ... (etc.)
     5         kx # SGR17 - Select font 7 - ESC [ 17 m
     5         kx #
     5         kx # Graphics for line drawing are not reliably found at *any* character
     5         kx # location because the UNIX PC has dynamically reloadable fonts. I use font
     5         kx # 0 for regular text and font 1 for italics, but this is by no means
     5         kx # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
     5         kx #
     5         kx # MISC: The cursor visible/cursor invisible sequences were swapped in the
     5         kx # distributed terminfo.
     5         kx #
     5         kx # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
     5         kx # the UNIX PC terminfo entry. The modified version works great with Lynx,
     5         kx # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
     5         kx # attached by serial cable. In Emacs, even the Undo key works, and many
     5         kx # applications can now use the F1-F8 keys.
     5         kx #
     5         kx # esr's notes:
     5         kx #	Terminfo entry for the AT&T Unix PC 7300
     5         kx #	from escape(7) in Unix PC 7300 Manual.
     5         kx #	Somewhat similar to a vt100-am (but different enough
     5         kx #	to redo this from scratch.)
     5         kx #
     5         kx #	/***************************************************************
     5         kx #	*
     5         kx #	*           FONT LOADING PROGRAM FOR THE UNIX PC
     5         kx #	*
     5         kx #	*     This routine loads a font defined in the file ALTFONT
     5         kx #	*     into font memory slot #1.  Once the font has been loaded,
     5         kx #	*     it can be used as an alternative character set.
     5         kx #	*
     5         kx #	*     The call to ioctl with the argument WIOCLFONT is the key
     5         kx #	*     to this routine.  For more information, see window(7) in
     5         kx #	*     the PC 7300 documentation.
     5         kx #	***************************************************************/
     5         kx #	#include <string.h>		/* needed for strcpy call */
     5         kx #	#include <sys/window.h>         /* needed for ioctl call */
     5         kx #	#define FNSIZE	60		/* font name size */
     5         kx #	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
     5         kx #	/*
     5         kx #	*     The file /usr/lib/wfont/special.8.ft comes with the
     5         kx #	*     standard PC software.  It defines a graphics character set
     5         kx #	*     similar to that of the Teletype 5425 terminal.  To view
     5         kx #	*     this or other fonts in /usr/lib/wfont, use the command
     5         kx #	*     cfont <filename>.  For further information on fonts see
     5         kx #	*     cfont(1) in the PC 7300 documentation.
     5         kx #	*/
     5         kx #
     5         kx #	struct altfdata		/* structure for alt font data */
     5         kx #	{
     5         kx #	short	altf_slot;		/* memory slot number */
     5         kx #	char	altf_name[FNSIZE];	/* font name (file name) */
     5         kx #	};
     5         kx #	ldfont()
     5         kx #	{
     5         kx #		int wd;		/* window in which altfont will be */
     5         kx #		struct altfdata altf;
     5         kx #		altf.altf_slot=1;
     5         kx #		strcpy(altf.altf_name,ALTFONT);
     5         kx #		for (wd =1; wd < 12; wd++) {
     5         kx #		     ioctl(wd, WIOCLFONT,&altf);
     5         kx #	        }
     5         kx #	}
     5         kx #
     5         kx # (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
     5         kx # they're confirmed by the man page for the System V display---esr)
     5         kx #
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
     5         kx 	:am:xo:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
     5         kx 	:UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
     5         kx 	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:\
     5         kx 	:do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
     5         kx 	:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
     5         kx 	:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
     5         kx 	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
     5         kx 	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
     5         kx 	:sf=\n:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
     5         kx 	:vi=\E[=1C:
     5         kx 
     5         kx #### Convergent Technology
     5         kx #
     5         kx # Burroughs bought Convergent shortly before it merged with Univac.
     5         kx # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
     5         kx # from 1991 or earlier).
     5         kx #
     5         kx 
     5         kx # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
     5         kx # (aws: removed unknown :dn=^K: -- esr)
     5         kx aws|Convergent Technologies AWS workstation under UTX and Xenix:\
     5         kx 	:am:\
     5         kx 	:co#80:li#28:sg#0:ug#0:\
     5         kx 	:ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
     5         kx 	:ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
     5         kx 	:do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
     5         kx 	:ma=\016h\013j\001k\022l\002m:nd=^R:nl=\n:se=\EARF:\
     5         kx 	:sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
     5         kx awsc|Convergent Technologies AWS workstation under CTOS:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:sg#0:ug#0:\
     5         kx 	:ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
     5         kx 	:cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
     5         kx 	:ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
     5         kx 	:ue=\EAA:up=^A:us=\EAC:
     5         kx 
     5         kx #### DEC consoles
     5         kx #
     5         kx 
     5         kx # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
     5         kx # The digital uVax II's had a graphic display called a qdss.  It was
     5         kx # supposed to be a high performance graphic accelerator, but it was
     5         kx # late to market and barely appeared before faster dumb frame buffers
     5         kx # appeared.  I have only used this display while running X11.  However,
     5         kx # during bootup, it was in text mode, and probably had a terminal emulator
     5         kx # within it.  And that is what your termcap entry is for.  In graphics
     5         kx # mode the screen size is 1024x864 pixels.
     5         kx qdss|qdcons|qdss glass tty:\
     5         kx 	:am:bs:\
     5         kx 	:co#128:li#57:\
     5         kx 	:cl=1^Z:cm=\E=%.%.:do=\n:le=^H:nd=^L:up=^K:
     5         kx 
     5         kx #### Fortune Systems consoles
     5         kx #
     5         kx # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
     5         kx # in their day; I (esr) used one myself for a year or so around 1984.
     5         kx # They had no graphics, though, and couldn't compete against Suns and
     5         kx # the like.  R.I.P.
     5         kx #
     5         kx 
     5         kx # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
     5         kx # (This had extension capabilities
     5         kx #	:rv=\EH:re=\EI:rg=0:GG=0:\
     5         kx #	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
     5         kx #	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
     5         kx #	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
     5         kx # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
     5         kx # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
     5         kx # to force both magic cookie glitches off.  Once upon a time, I
     5         kx # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
     5         kx # function keys; thus the "Al" value for HM was certainly an error.  I renamed
     5         kx # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
     5         kx # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
     5         kx # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
     5         kx # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
     5         kx fos|fortune|Fortune system:\
     5         kx 	:am:bs:bw:\
     5         kx 	:co#80:li#25:\
     5         kx 	:@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=15^\E:\
     5         kx 	:as=\Eo:bl=^G:cd=3*^\Y:ce=^\Z:cl=20^L:cm=\034C%+ %+ :cr=\r:\
     5         kx 	:dc=5^\W:dl=15^\R:do=3\n:ei=:ho=10^^:ic=5^\Q:im=:is=^_..:\
     5         kx 	:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:k6=^Af\r:\
     5         kx 	:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:kd=^Ay\r:\
     5         kx 	:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:me=\EI:\
     5         kx 	:mr=\EH:nw=\r\n:se=^\I`:sf=\n:so=^\H`:ta=^Z:ue=^\IP:up=3^K:\
     5         kx 	:us=^\HP:ve=\E\\:vi=\E]:vs=\E\::
     5         kx 
     5         kx #### Masscomp consoles
     5         kx #
     5         kx # Masscomp has gone out of business.  Their product line was purchased by a
     5         kx # company in Georgia (US) called "XS International", parts and service may
     5         kx # still be available through them.
     5         kx #
     5         kx 
     5         kx # (masscomp: ":MT:" changed to ":km:";  -- esr)
     5         kx masscomp|masscomp workstation console:\
     5         kx 	:bs:km:mi:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
     5         kx 	:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
     5         kx 	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
     5         kx 	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
     5         kx masscomp1|masscomp large screen version 1:\
     5         kx 	:co#104:li#36:tc=masscomp:
     5         kx masscomp2|masscomp large screen version 2:\
     5         kx 	:co#64:li#21:tc=masscomp:
     5         kx 
     5         kx #### OSF Unix
     5         kx #
     5         kx 
     5         kx # OSF/1 1.1 Snapshot 2
     5         kx pmcons|pmconsole|PMAX console:\
     5         kx 	:am:\
     5         kx 	:co#128:li#57:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=\n:ta=^I:up=^K:
     5         kx 
     5         kx #### Other consoles
     5         kx # The following is a version of the ibm-pc entry distributed with PC/IX,
     5         kx # (Interactive Systems' System 3 for the Big Blue), modified by Richard
     5         kx # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
     5         kx # (the former is untrue, and the latter failed under UCB/man); standout and
     5         kx # underline modes have been added.  Note: this entry describes the "native"
     5         kx # capabilities of the PC monochrome display, without ANY emulation; most
     5         kx # communications packages (but NOT PC/IX connect) do some kind of emulation.
     5         kx pcix|PC/IX console:\
     5         kx 	:am:bw:eo:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
     5         kx 	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
     5         kx 	:us=\E[4m:
     5         kx 
     5         kx # (ibmpcx: this entry used to be known as ibmx.
     5         kx # It formerly included the following extension capabilities:
     5         kx #	:GC=b:GL=v:GR=t:RT=^J:\
     5         kx #	:GH=\E[196g:GV=\E[179g:\
     5         kx #	:GU=\E[193g:GD=\E[194g:\
     5         kx #	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
     5         kx #	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
     5         kx #	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
     5         kx # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
     5         kx # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
     5         kx # what was there before. -- esr)
     5         kx ibmpcx|xenix|ibmx|IBM PC xenix console display:\
     5         kx 	:am:bs:ms:\
     5         kx 	:co#80:li#25:\
     5         kx 	:@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
     5         kx 	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
     5         kx 	:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
     5         kx 	:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
     5         kx 	:tc=klone+acs:tc=klone+sgr8:
     5         kx 
     5         kx ######## OTHER OBSOLETE TYPES
     5         kx #
     5         kx # These terminals are *long* dead -- these entries are retained for
     5         kx # historical interest only.
     5         kx #
     5         kx 
     5         kx #### Obsolete non-ANSI software emulations
     5         kx #
     5         kx 
     5         kx # CTRM terminal emulator
     5         kx # 1. underlining is not allowed with colors: first, is is simulated by
     5         kx # black on white, second, it disables background color manipulations.
     5         kx # 2. BLINKING, REVERSE and BOLD are allowed with colors,
     5         kx # so we have to save their status in the static registers A, B and H
     5         kx # respectively, to be able to restore them when color changes
     5         kx # (because any color change turns off ALL attributes)
     5         kx # 3. :md: and :mr: sequences alternate modes,
     5         kx # rather than simply  entering them.  Thus we have to check the
     5         kx # static register B and H to determine the status, before sending the
     5         kx # escape sequence.
     5         kx # 4. :me: now must set the status of all 3 register (A,B,H) to zero
     5         kx # and then reset colors
     5         kx # 5. implementation of the protect mode would badly penalize the performance.
     5         kx # we would have to use \E&bn sequence to turn off colors (as well as all
     5         kx # other attributes), and keep the status of protect mode in yet another
     5         kx # static variable.  If someone really needs this mode, they would have to
     5         kx # create another terminfo entry.
     5         kx # 6. original color-pair is white on black.
     5         kx # store the information about colors into static registers
     5         kx # 7. set foreground color.  it performs the following steps.
     5         kx #   1) turn off all attributes
     5         kx #   2) turn on the background and video attributes that have been turned
     5         kx #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
     5         kx #   3) turn on foreground attributes
     5         kx #   4) store information about foreground into U,V,W static registers
     5         kx # 8. turn on background: similar to turn on foreground above
     5         kx ctrm|C terminal emulator:\
     5         kx 	:am:ut:xo:\
     5         kx 	:Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
     5         kx 	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
     5         kx 	:cm=\E&a%r%dc%dY:cr=\r:ct=\E3:cv=\E&a%dY:dc=2\EP:dl=\EM:\
     5         kx 	:do=\n:ei=\ER:im=\EQ:ip=2:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
     5         kx 	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
     5         kx 	:kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
     5         kx 	:ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
     5         kx 	:md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
     5         kx 	:me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
     5         kx 	:mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
     5         kx 	:op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
     5         kx 	:sf=\n:so=\E&dD:st=\E1:ta=2^I:up=\EA:us=\E&dD:
     5         kx 
     5         kx # gs6300 - can't use blue foreground, it clashes with underline;
     5         kx # it's simulated with cyan
     5         kx # Bug: The <op> capability probably resets attributes.
     5         kx # (gs6300: commented out <rmln> (no <smln>) --esr)
     5         kx gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
     5         kx 	:am:ms:ut:xo:\
     5         kx 	:Co#8:co#80:it#8:li#24:pa#63:\
     5         kx 	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
     5         kx 	:LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:UP=\E[%dA:\
     5         kx 	:ac=++,,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
     5         kx 	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:dl=\E[M:do=\n:\
     5         kx 	:ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
     5         kx 	:k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
     5         kx 	:kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
     5         kx 	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
     5         kx 	:op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=\n:so=\E[1m:sr=\E[L:\
     5         kx 	:ta=^I:up=\E[A:us=\E[4m:
     5         kx 
     5         kx # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
     5         kx # MS-Kermit with Heath-19 emulation mode enabled
     5         kx # (h19k: changed ":pt@:" to ":it@"
     5         kx h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
     5         kx 	:am@:da:db:xt:\
     5         kx 	:it@:\
     5         kx 	:ta@:tc=h19-u:
     5         kx 
     5         kx # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
     5         kx # Software (formerly Peripherals Computers & Supplies, Inc) of
     5         kx # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
     5         kx # also be reached at support@synergy.com.
     5         kx versaterm|versaterm vt100 emulator for the Macintosh:\
     5         kx 	:am:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
     5         kx 	:cm=5\E[%i%d;%dH:cr=\r:cs=\E[%i%d;%dr:dc=7\E[1P:\
     5         kx 	:dl=9\E[1M:do=\n:ei=:ho=\E[H:ic=7\E[1@:im=:\
     5         kx 	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
     5         kx 	:kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
     5         kx 	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
     5         kx 	:nd=2\E[C:nw=\r\n:r1=\E>:rc=\E8:\
     5         kx 	:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
     5         kx 	:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
     5         kx 
     5         kx # From: Rick Thomas <ihnp4!btlunix!rbt>
     5         kx # (xtalk: I added <rmam>/<smam> based on the init string.
     5         kx xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
     5         kx 	:am:mi:ms:xo:\
     5         kx 	:co#80:it#8:li#24:sg#1:vt#3:\
     5         kx 	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
     5         kx 	:UP=\E[%dA:\
     5         kx 	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
     5         kx 	:ae=^O:al=99\E[L:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
     5         kx 	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=\r:ct=\E[3g:dl=99\E[M:\
     5         kx 	:do=\n:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
     5         kx 	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
     5         kx 	:nd=2\E[C:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
     5         kx 	:se=\E[m\s:sf=\n:so=\E[7m\s:sr=5\EM:st=\EH:ta=^I:up=2\E[A:\
     5         kx 	:tc=vt100+fnkeys:
     5         kx 
     5         kx # The official PC terminal emulator program of the AT&T Product Centers.
     5         kx # Note - insert mode commented out - doesn't seem to work on AT&T PC.
     5         kx simterm|attpc running simterm:\
     5         kx 	:am:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=\r:\
     5         kx 	:dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
     5         kx 	:sf=\n:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
     5         kx 
     5         kx #### Daisy wheel printers
     5         kx #
     5         kx # This section collects Diablo, DTC, Xerox, Qume, and other daisy
     5         kx # wheel terminals.  These are now largely obsolete.
     5         kx #
     5         kx 
     5         kx # (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
     5         kx diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
     5         kx 	:hc:os:\
     5         kx 	:co#132:it#8:\
     5         kx 	:ch=\E\011%i%.:ct=\E2:do=\n:hd=\ED:hu=\EU:kb=^H:le=^H:\
     5         kx 	:st=\E1:ta=^I:up=\E\n:
     5         kx diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
     5         kx 	:co#124:\
     5         kx 	:is=\r        \E9:tc=diablo1620:
     5         kx # (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
     5         kx diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
     5         kx 	:bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
     5         kx # (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such
     5         kx # file -- esr)
     5         kx diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
     5         kx 	:co#124:\
     5         kx 	:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
     5         kx diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
     5         kx 	:tc=diablo1640-lm:
     5         kx # DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
     5         kx # :so=^P\s\002^PF: works but won't go away without dynamite :se=^P\s\0:.
     5         kx # The terminal has tabs, but I'm getting tired of fighting the braindamage.
     5         kx # If no tab is set or the terminal's in a bad mood, it glitches the screen
     5         kx # around all of memory.  Note that return puts a blank ("a return character")
     5         kx # in the space the cursor was at, so we use ^P return (and thus ^P newline for
     5         kx # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
     5         kx # curses won't work (some old BSD versions) because it doesn't clear this bit,
     5         kx # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
     5         kx # I have been unable to get tabs set in all 96 lines - it always leaves at
     5         kx # least one line with no tabs in it, and once you tab through that line,
     5         kx # it completely weirds out.
     5         kx # (dtc382: change :te: to :ti: -- it  just does a clear --esr)
     5         kx dtc382|DTC 382:\
     5         kx 	:am:da:db:xs:\
     5         kx 	:co#80:li#24:lm#96:\
     5         kx 	:al=^P^Z:bl=^G:cd=^P^U^P^S^P^S:ce=^P^U:cl=20^P^]:\
     5         kx 	:cm=\020\021%r%.%.:cr=^P\r:dc=^X:dl=^P^S:ei=^Pi:ho=^P^R:\
     5         kx 	:im=^PI:le=^H:nd=^PR:pc=\177:sf=\n:te=:ti=20^P^]:ue=^P \0:\
     5         kx 	:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
     5         kx dtc300s|DTC 300s:\
     5         kx 	:hc:os:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:ct=\E3:do=\n:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
     5         kx 	:sf=\n:st=\E1:ta=^I:up=^Z:
     5         kx gsi|mystery gsi terminal:\
     5         kx 	:hc:os:\
     5         kx 	:co#132:\
     5         kx 	:bl=^G:cr=\r:do=\n:hd=\Eh:hu=\EH:le=^H:sf=\n:ta=^I:up=^Z:
     5         kx aj830|aj832|aj|anderson jacobson:\
     5         kx 	:hc:os:\
     5         kx 	:bl=^G:cr=\r:do=\n:hd=\E9:hu=\E8:le=^H:sf=\n:up=\E7:
     5         kx # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
     5         kx aj510|Anderson-Jacobson model 510:\
     5         kx 	:am:mi:\
     5         kx 	:co#80:li#24:\
     5         kx 	:al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
     5         kx 	:dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
     5         kx 	:ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
     5         kx 	:ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
     5         kx # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
     5         kx # This is incomplete, but it's a start.
     5         kx nec5520|nec|spinwriter|nec 5520:\
     5         kx 	:hc:os:\
     5         kx 	:co#132:it#8:\
     5         kx 	:bl=^G:cr=\r:ct=\E3:do=\n:ff=^L:hd=\E]s\n\E]W:\
     5         kx 	:hu=\E]s\E9\E]W:kb=^H:le=^H:sf=\n:st=\E1:ta=^I:up=\E9:
     5         kx qume5|qume|Qume Sprint 5:\
     5         kx 	:hc:os:\
     5         kx 	:co#80:it#8:\
     5         kx 	:bl=^G:cr=\r:ct=\E3:do=\n:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
     5         kx 	:sf=\n:st=\E1:ta=^I:up=^Z:
     5         kx # I suspect the xerox 1720 is the same as the diablo 1620.
     5         kx xerox1720|x1720|x1750|xerox 1720:\
     5         kx 	:hc:os:\
     5         kx 	:co#132:it#8:\
     5         kx 	:bl=^G:cr=\r:ct=\E2:do=\n:ff=^L:le=^H:sf=\n:st=\E1:ta=^I:
     5         kx 
     5         kx #### Miscellaneous obsolete terminals, manufacturers unknown
     5         kx #
     5         kx # If you have any information about these (like, a manufacturer's name,
     5         kx # and a date on the serial-number plate) please send it!
     5         kx 
     5         kx cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
     5         kx 	:am:bs:\
     5         kx 	:co#73:li#36:\
     5         kx 	:cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
     5         kx cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
     5         kx 	:am:bs:\
     5         kx 	:co#85:li#39:\
     5         kx 	:cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
     5         kx 	:kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
     5         kx cops10|cops|cops-10|cops 10:\
     5         kx 	:am:bw:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cd=^W:ce=^V:cl=30^X:cm=\020%+ %+ :cr=\r:do=\n:kb=^H:\
     5         kx 	:kd=\n:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=\n:up=^K:
     5         kx # (d132: removed duplicate :ic=\E5:,
     5         kx # merged in capabilities from a BRL entry -- esr)
     5         kx d132|datagraphix|datagraphix 132a:\
     5         kx 	:da:db:in:\
     5         kx 	:co#80:li#30:\
     5         kx 	:al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=\r:dc=\E6:do=\n:ei=:\
     5         kx 	:ho=\ET:ic=\E5:im=:kb=^H:kd=\n:kl=^H:le=^H:nd=\EL:nw=\r\n:\
     5         kx 	:sf=\n:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
     5         kx # The d800 was an early portable terminal from c.1984-85 that looked a lot
     5         kx # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
     5         kx # mode (which is what this entry looks like) and several other lesser-known
     5         kx # emulations.
     5         kx d800|Direct 800/A:\
     5         kx 	:am:bs:da:db:ms:xs:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
     5         kx 	:ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
     5         kx 	:cm=\E[%i%d;%dH:cr=\r:do=\n:k1=\EOP:k2=\EOQ:k3=\EOR:\
     5         kx 	:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
     5         kx 	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
     5         kx 	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
     5         kx 	:vs=\E[>12l:
     5         kx digilog|digilog 333:\
     5         kx 	:bs:\
     5         kx 	:co#80:li#16:\
     5         kx 	:bl=^G:ce=^X:cr=\r:do=\n:ho=^N:le=^H:nd=^I:sf=\n:up=^O:
     5         kx # The DWK was a terminal manufactured in the Soviet Union c.1986
     5         kx dwk|dwk-vt|dwk terminal:\
     5         kx 	:am:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:ac=+\136,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_:\
     5         kx 	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
     5         kx 	:cr=\r:dc=\EP:do=\n:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
     5         kx 	:k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
     5         kx 	:k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
     5         kx 	:kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=\r\n:se=\EX:\
     5         kx 	:sf=\n:so=\ET:sr=\ES:ta=^I:up=\EA:
     5         kx env230|envision230|envision 230 graphics terminal:\
     5         kx 	:xn@:\
     5         kx 	:ae@:as@:eA@:me=2\E[0m:pf=\E[4i:po=\E[5i:ps=\E[0i:so=\E[7m:\
     5         kx 	:tc=vt100+4bsd:
     5         kx # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
     5         kx # coupler attached, the whole rig fitting in a suitcase and more or less
     5         kx # portable.  Hot stuff for c.1977 :-) -- esr
     5         kx ep48|ep4080|execuport 4080:\
     5         kx 	:am:bs:os:\
     5         kx 	:co#80:\
     5         kx 	:bl=^G:cr=\r:do=\n:hd=^\:hu=^^:le=^H:sf=\n:
     5         kx ep40|ep4000|execuport 4000:\
     5         kx 	:co#136:tc=ep4080:
     5         kx # Adam Thompson <athompso@pangea.ca> tells us:
     5         kx # Informer series - these are all portable units, resembling older
     5         kx # automatic bread-baking machines.  The terminal looks like a `clamshell'
     5         kx # design, but isn't.  The structure is similar to the Direct terminals,
     5         kx # but only half the width.  The entire unit is only about 10" wide.
     5         kx # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
     5         kx # keyboard.  All the keys are crammed together, much like some laptop
     5         kx # PCs today, but perhaps less well organized...all these units have a
     5         kx # bewildering array of plugs on the back, including a built-in modem.
     5         kx # The 305 was a color version of the 304; the 306 and 307 were mono and
     5         kx # color terminals built for IBM bisync protocols.
     5         kx # From: Paul Leondis <unllab@amber.berkeley.edu>
     5         kx ifmr|Informer D304:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=\n:ei=:\
     5         kx 	:ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
     5         kx 	:up=\EA:
     5         kx # Entry largely based on wy60 and has the features of wy60ak.
     5         kx # (sgr removed to fit entry within 1023 bytes)
     5         kx # (rmacs/smacs removed for consistency)
     5         kx # (acsc removed to fit entry within 1023 bytes)
     5         kx # (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
     5         kx opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
     5         kx 	:am:bw:hs:km:mi:ms:ul:xo:\
     5         kx 	:co#80:li#24:ws#80:\
     5         kx 	:al=4\EE:bl=^G:bt=\EI:cd=100\EY:ce=\ET:cl=100\E*:\
     5         kx 	:cm=\Ea%i%dR%dC:cr=\r:ct=\E0:dc=11\EW:dl=5\ER:do=\n:\
     5         kx 	:ds=\Ez(\r:ei=\Er:fs=\r:ho=2^^:if=/usr/share/tabset/std:\
     5         kx 	:im=\Eq:ip=3:\
     5         kx 	:is=\E`\:\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:\
     5         kx 	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
     5         kx 	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
     5         kx 	:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
     5         kx 	:me=\EcD:mh=\EGp:nd=^L:nw=3\r\n:sf=\n:sr=7\Ej:st=\E1:ta=5^I:\
     5         kx 	:te=:\
     5         kx 	:ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
     5         kx 	:ts=\Ez(:uc=\EG8\EG0:up=^K:ve=\E`1:vi=\E`0:tc=adm+sgr:
     5         kx teletec|Teletec Datascreen:\
     5         kx 	:am:bs:\
     5         kx 	:co#80:li#24:\
     5         kx 	:bl=^G:cl=^L:cr=\r:do=\n:ho=^^:le=^H:nd=^_:sf=\n:up=^K:
     5         kx # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
     5         kx # This description is for the LANPAR Technologies VISION 3220
     5         kx # terminal from 1984/85.  The function key definitions k0-k5 represent the
     5         kx # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
     5         kx # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
     5         kx #
     5         kx # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
     5         kx # I had a couple of scopes (3221) like this once where I used to work, around
     5         kx # the 1987 time frame if memory serves me correctly.  These scopes were made
     5         kx # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
     5         kx # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
     5         kx # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
     5         kx # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
     5         kx # (3221) cost about $1500 each, and one was always broken -- had to be sent
     5         kx # back to the shop for repairs.
     5         kx # The only real advantage these scopes had over the VT-240's were:
     5         kx # 1) They were faster in the Regis display, or at least the ones I did
     5         kx # 2) They had a handy debugging feature where you could split-screen the
     5         kx # scope, the graphics would appear on the top, and the REGIS commands would
     5         kx # appear on the bottom.  I don't remember the VT-240s being able to do that.
     5         kx # I would swear that LANPAR Technologies was in MA someplace, but since I
     5         kx # don't work at the same place anymore, and those terminals and manuals were
     5         kx # long since junked, I cannot be any more sure than that.
     5         kx #
     5         kx # (v3220: removed obsolete ":kn#10:",
     5         kx # I added <rmam>/<smam> based on the init string -- esr)
     5         kx v3220|LANPAR Vision II model 3220/3221/3222:\
     5         kx 	:am:bs:mi:xn:\
     5         kx 	:co#80:it#8:li#24:\
     5         kx 	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
     5         kx 	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:\
     5         kx 	:is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
     5         kx 	:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
     5         kx 	:k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
     5         kx 	:ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
     5         kx 	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
     5         kx ######## ICH/ICH1 VERSUS RMIR/SMIR
     5         kx #
     5         kx # Some non-curses applications get confused if both ich/ich1 and rmir/smir
     5         kx # are present; the symptom is doubled characters in an update using insert.
     5         kx # These applications are technically correct; in both 4.3BSD termcap and
     5         kx # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
     5         kx # unless the terminal needs both.  To my knowledge, no terminal still in this
     5         kx # file requires both other than the very obsolete dm2500.
     5         kx #
     5         kx # For ncurses-based applications this is not a problem, as ncurses uses
     5         kx # one or the other as appropriate but never mixes the two.  Therefore we
     5         kx # have not corrected entries like `linux' and `xterm' that specify both.
     5         kx # If you see doubled characters from these, use the linux-nic and xterm-nic
     5         kx # entries that suppress ich/ich1.  And upgrade to ncurses!
     5         kx #
     5         kx 
     5         kx ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
     5         kx #
     5         kx # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
     5         kx # ECMA-48 standards are said to be almost identical, but are not the same
     5         kx # as X3.64 (though for practical purposes they are close supersets of it).
     5         kx #
     5         kx # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
     5         kx # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
     5         kx # Coded Character Sets"), include your snail-mail address, and you should
     5         kx # receive the document in due course.  Don't expect an email acknowledgment.
     5         kx #
     5         kx # Related standards include "X3.4-1977: American National Standard Code for
     5         kx # Information Interchange" (the ASCII standard) and "X3.41.1974:
     5         kx # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
     5         kx # American National Standard for Information Interchange."  I believe (but
     5         kx # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
     5         kx # respectively.
     5         kx #
     5         kx 
     5         kx #### VT100/ANSI/ECMA-48
     5         kx #
     5         kx # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
     5         kx # and ECMA-48 Control Functions for Coded Character Sets.
     5         kx #
     5         kx # Much of the content of this comment is adapted from a table prepared by
     5         kx # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
     5         kx # discussion of some terminfo-related issues, and updates to capture ECMA-48
     5         kx # have been added.  Control functions described in ECMA-48 only are tagged
     5         kx # with * after their names.
     5         kx #
     5         kx # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
     5         kx # sequences.  In the main table, \E stands for an escape (\033) character,
     5         kx # SPC for space.  Pn stands for a single numeric parameter to be inserted
     5         kx # in decimal ASCII.  Ps stands for a list of such parameters separated by
     5         kx # semicolons.  Parameter meanings for most parameterized sequences are
     5         kx # described in the notes.
     5         kx #
     5         kx # Sequence     Sequence                             Parameter   or
     5         kx # Mnemonic     Name              Sequence           Value      Mode   terminfo
     5         kx # -----------------------------------------------------------------------------
     5         kx # APC  Applicatn Program Command \E _                -         Delim  -
     5         kx # BEL  Bell *                    ^G                  -         -      bel
     5         kx # BPH  Break Permitted Here *    \E B                -         *      -
     5         kx # BS   BackSpace *               ^H                  -         EF     -
     5         kx # CAN  Cancel *                  ^X                  -         -      -   (A)
     5         kx # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
     5         kx # CCH  Cancel Previous Character \E T                -         -      -
     5         kx # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
     5         kx # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
     5         kx # CMD  Coding Method Delimiter * \E
     5         kx # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
     5         kx # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
     5         kx # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
     5         kx # CSI  Control Sequence Intro    \E [                -         Intro  -
     5         kx # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
     5         kx # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
     5         kx # CUD  Cursor Down               \E [ Pn B           1         eF     cud
     5         kx # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
     5         kx # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
     5         kx # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
     5         kx # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
     5         kx # DA   Device Attributes         \E [ Pn c           0         -      -
     5         kx # DAQ  Define Area Qualification \E [ Ps o           0         -      -
     5         kx # DCH  Delete Character          \E [ Pn P           1         eF     dch
     5         kx # DCS  Device Control String     \E P                -         Delim  -
     5         kx # DL   Delete Line               \E [ Pn M           1         eF     dl
     5         kx # DLE  Data Link Escape *        ^P                  -         -      -
     5         kx # DMI  Disable Manual Input      \E \                -         Fs     -
     5         kx # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
     5         kx # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
     5         kx # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
     5         kx # ECH  Erase Character           \E [ Pn X           1         eF     ech
     5         kx # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
     5         kx # EF   Erase in Field            \E [ Ps N           0         eF     -
     5         kx # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
     5         kx # EM   End of Medium *           ^Y                  -         -      -
     5         kx # EMI  Enable Manual Input       \E b                          Fs     -
     5         kx # ENQ  Enquire                   ^E                  -         -      -
     5         kx # EOT  End Of Transmission       ^D                  -         *      -
     5         kx # EPA  End of Protected Area     \E W                -         -      -   (K)
     5         kx # ESA  End of Selected Area      \E G                -         -      -
     5         kx # ESC  Escape                    ^[                  -         -      -
     5         kx # ETB  End Transmission Block    ^W                  -         -      -
     5         kx # ETX  End of Text               ^C                  -         -      -
     5         kx # FF   Form Feed                 ^L                  -         -      -
     5         kx # FNK  Function Key *            \E [ Pn SPC W       -         -      -
     5         kx # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
     5         kx # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
     5         kx # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
     5         kx # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
     5         kx # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
     5         kx # HPB  Char Position Backward    \E [ j              1         FE     -
     5         kx # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
     5         kx # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
     5         kx # HTJ  Horz Tab w/Justification  \E I                -         FE     -
     5         kx # HTS  Horizontal Tab Set        \E H                -         FE     hts
     5         kx # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
     5         kx # ICH  Insert Character          \E [ Pn @           1         eF     ich
     5         kx # IDCS ID Device Control String  \E [ SPC O          -         *      -
     5         kx # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
     5         kx # IL   Insert Line               \E [ Pn L           1         eF     il
     5         kx # IND  Index                     \E D                -         FE     -
     5         kx # INT  Interrupt                 \E a                -         Fs     -
     5         kx # JFY  Justify                   \E [ Ps SPC F       0         FE     -
     5         kx # IS1  Info Separator #1 *       ^_                  -         *      -
     5         kx # IS2  Info Separator #1 *       ^^                  -         *      -
     5         kx # IS3  Info Separator #1 *       ^]                  -         *      -
     5         kx # IS4  Info Separator #1 *       ^\                  -         *      -
     5         kx # LF   Line Feed                 ^J                  -         -      -
     5         kx # LS1R Locking Shift Right 1 *   \E ~                -         -      -
     5         kx # LS2  Locking Shift 2 *         \E n                -         -      -
     5         kx # LS2R Locking Shift Right 2 *   \E }                -         -      -
     5         kx # LS3  Locking Shift 3 *         \E o                -         -      -
     5         kx # LS3R Locking Shift Right 3 *   \E |                -         -      -
     5         kx # MC   Media Copy                \E [ Ps i           0         -      -   (S)
     5         kx # MW   Message Waiting           \E U                -         -      -
     5         kx # NAK  Negative Acknowledge *    ^U                  -         *      -
     5         kx # NBH  No Break Here *           \E C                -         -      -
     5         kx # NEL  Next Line                 \E E                -         FE     nel (D)
     5         kx # NP   Next Page                 \E [ Pn U           1         eF     -
     5         kx # NUL  Null *                    ^@                  -         -      -
     5         kx # OSC  Operating System Command  \E ]                -         Delim  -
     5         kx # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
     5         kx # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
     5         kx # PLD  Partial Line Down         \E K                -         FE     -   (T)
     5         kx # PLU  Partial Line Up           \E L                -         FE     -   (U)
     5         kx # PM   Privacy Message           \E ^                -         Delim  -
     5         kx # PP   Preceding Page            \E [ Pn V           1         eF     -
     5         kx # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
     5         kx # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
     5         kx # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
     5         kx # PTX  Parallel Texts *          \E [ \              -         -      -
     5         kx # PU1  Private Use 1             \E Q                -         -      -
     5         kx # PU2  Private Use 2             \E R                -         -      -
     5         kx # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
     5         kx # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
     5         kx # RI   Reverse Index             \E M                -         FE     -   (V)
     5         kx # RIS  Reset to Initial State    \E c                -         Fs     -
     5         kx # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
     5         kx # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
     5         kx # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
     5         kx # SCI  Single-Char Introducer    \E Z                -         -      -
     5         kx # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
     5         kx # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
     5         kx # SD   Scroll Down               \E [ Pn T           1         eF     rin
     5         kx # SDS  Start Directed String *   \E [ Pn ]           1         -      -
     5         kx # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
     5         kx # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
     5         kx # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
     5         kx # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
     5         kx # SI   Shift In                  ^O                  -         -      -   (P)
     5         kx # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
     5         kx # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
     5         kx # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
     5         kx # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
     5         kx # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
     5         kx # SM   Select Mode               \E [ Ps h           none      -      -   (W)
     5         kx # SO   Shift Out                 ^N                  -         -      -   (Q)
     5         kx # SOH  Start Of Heading *        ^A                  -         -      -
     5         kx # SOS  Start of String *         \E X                -         -      -
     5         kx # SPA  Start of Protected Area   \E V                -         -      -   (Z)
     5         kx # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
     5         kx # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
     5         kx # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
     5         kx # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
     5         kx # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
     5         kx # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
     5         kx # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
     5         kx # SRS  Start Reversed String *   \E [ Ps [           0         -      -
     5         kx # SSA  Start of Selected Area    \E F                -         -      -
     5         kx # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
     5         kx # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
     5         kx # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
     5         kx # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
     5         kx # ST   String Terminator         \E \                -         Delim  -
     5         kx # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
     5         kx # STS  Set Transmit State        \E S                -         -      -
     5         kx # STX  Start pf Text *           ^B                  -         -      -
     5         kx # SU   Scroll Up                 \E [ Pn S           1         eF     indn
     5         kx # SUB  Substitute *              ^Z                  -         -      -
     5         kx # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
     5         kx # SYN  Synchronous Idle *        ^F                  -         -      -
     5         kx # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
     5         kx # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
     5         kx # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
     5         kx # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
     5         kx # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
     5         kx # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
     5         kx # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
     5         kx # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
     5         kx # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
     5         kx # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
     5         kx # VT   Vertical Tabulation *     ^K                  -         FE     -
     5         kx # VTS  Vertical Tabulation Set   \E J                -         FE     -
     5         kx #
     5         kx # ---------------------------------------------------------------------------
     5         kx #
     5         kx # Notes:
     5         kx #
     5         kx # Some control characters are listed in the ECMA-48 standard without
     5         kx # being assigned functions relevant to terminal control there (they
     5         kx # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
     5         kx # here anyway for completeness.
     5         kx #
     5         kx # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
     5         kx #
     5         kx # (B) There seems to be some confusion abroad between CHA and HPA.  Most
     5         kx # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
     5         kx # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
     5         kx # preserved the CHA abbreviation.
     5         kx #
     5         kx # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
     5         kx # Occasionally (as on, for example, certain HP terminals) this has the HTJ
     5         kx # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
     5         kx # CHT abbreviation.
     5         kx #
     5         kx # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
     5         kx #
     5         kx # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
     5         kx # abbreviation.
     5         kx #
     5         kx # (F) CTC parameter values:
     5         kx #	0 = set char tab,
     5         kx #	1 = set line tab,
     5         kx #	2 = clear char tab,
     5         kx #	3 = clear line tab,
     5         kx #	4 = clear all char tabs on current line,
     5         kx #	5 = clear all char tabs,
     5         kx #	6 = clear all line tabs.
     5         kx #
     5         kx # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
     5         kx # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
     5         kx # Position Absolute" but retains the HVP abbreviation.
     5         kx #
     5         kx # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
     5         kx # abbreviation.
     5         kx #
     5         kx # (I) DSR parameter values:
     5         kx #	0 = ready,
     5         kx #	1 = busy,
     5         kx #	2 = busy, will send DSR later,
     5         kx #	3 = malfunction,
     5         kx #	4 = malfunction, will send DSR later,
     5         kx #	5 = request DSR,
     5         kx #	6 = request CPR response.
     5         kx #
     5         kx # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters:
     5         kx #	0 = clear to end,
     5         kx #	1 = clear from beginning,
     5         kx #	2 = clear.
     5         kx #
     5         kx # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
     5         kx #
     5         kx # (L) The GSM parameters are vertical and horizontal parameters to scale by.
     5         kx #
     5         kx # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
     5         kx # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
     5         kx # Position Relative" but retains the HPR abbreviation.
     5         kx #
     5         kx # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
     5         kx # abbreviation.
     5         kx #
     5         kx # (O) SGR parameter values:
     5         kx #	0 = default mode (attributes off),
     5         kx #	1 = bold,
     5         kx #	2 = dim,
     5         kx #	3 = italicized,
     5         kx #	4 = underlined,
     5         kx #	5 = slow blink,
     5         kx #	6 = fast blink,
     5         kx #	7 = reverse video,
     5         kx #	8 = invisible,
     5         kx #	9 = crossed-out (marked for deletion),
     5         kx #	10 = primary font,
     5         kx #	10 + n (n in 1..9) = nth alternative font,
     5         kx #	20 = Fraktur,
     5         kx #	21 = double underline,
     5         kx #	22 = turn off 2,
     5         kx #	23 = turn off 3,
     5         kx #	24 = turn off 4,
     5         kx #	25 = turn off 5,
     5         kx #	26 = proportional spacing,
     5         kx #	27 = turn off 7,
     5         kx #	28 = turn off 8,
     5         kx #	29 = turn off 9,
     5         kx #	30 = black fg,
     5         kx #	31 = red fg,
     5         kx #	32 = green fg,
     5         kx #	33 = yellow fg,
     5         kx #	34 = blue fg,
     5         kx #	35 = magenta fg,
     5         kx #	36 = cyan fg,
     5         kx #	37 = white fg,
     5         kx #	38 = set fg color as in CCITT T.416,
     5         kx #	39 = set default fg color,
     5         kx #	40 = black bg
     5         kx #	41 = red bg,
     5         kx #	42 = green bg,
     5         kx #	43 = yellow bg,
     5         kx #	44 = blue bg,
     5         kx #	45 = magenta bg,
     5         kx #	46 = cyan bg,
     5         kx #	47 = white bg,
     5         kx #	48 = set bg color as in CCITT T.416,
     5         kx #	49 = set default bg color,
     5         kx #	50 = turn off 26,
     5         kx #	51 = framed,
     5         kx #	52 = encircled,
     5         kx #	53 = overlined,
     5         kx #	54 = turn off 51 & 52,
     5         kx #	55 = not overlined,
     5         kx #	56-59 = reserved,
     5         kx #	61-65 = variable highlights for ideograms.
     5         kx #
     5         kx # (P) SI is also called LSO, Locking Shift Zero.
     5         kx #
     5         kx # (Q) SI is also called LS1, Locking Shift One.
     5         kx #
     5         kx # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
     5         kx # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
     5         kx # Absolute' but retains the VPA abbreviation.
     5         kx #
     5         kx # (S) MC parameters:
     5         kx #	0 = start xfer to primary aux device,
     5         kx #	1 = start xfer from primary aux device,
     5         kx #	2 = start xfer to secondary aux device,
     5         kx #	3 = start xfer from secondary aux device,
     5         kx #	4 = stop relay to primary aux device,
     5         kx #	5 = start relay to primary aux device,
     5         kx #	6 = stop relay to secondary aux device,
     5         kx #	7 = start relay to secondary aux device.
     5         kx #
     5         kx # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
     5         kx # abbreviation.
     5         kx #
     5         kx # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
     5         kx # abbreviation.
     5         kx #
     5         kx # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
     5         kx #
     5         kx # (W) RM/SM modes are as follows:
     5         kx #	1 = Guarded Area Transfer Mode (GATM),
     5         kx #	2 = Keyboard Action Mode (KAM),
     5         kx #	3 = Control Representation Mode (CRM),
     5         kx #	4 = Insertion Replacement Mode (IRM),
     5         kx #	5 = Status Report Transfer Mode (SRTM),
     5         kx #	6 = Erasure Mode (ERM),
     5         kx #	7 = Line Editing Mode (LEM),
     5         kx #	8 = Bi-Directional Support Mode (BDSM),
     5         kx #	9 = Device Component Select Mode (DCSM),
     5         kx #	10 = Character Editing Mode (HEM),
     5         kx #	11 = Positioning Unit Mode (PUM),
     5         kx #	12 = Send/Receive Mode (SRM),
     5         kx #	13 = Format Effector Action Mode (FEAM),
     5         kx #	14 = Format Effector Transfer Mode (FETM),
     5         kx #	15 = Multiple Area Transfer Mode (MATM),
     5         kx #	16 = Transfer Termination Mode (TTM),
     5         kx #	17 = Selected Area Transfer Mode (SATM),
     5         kx #	18 = Tabulation Stop Mode (TSM),
     5         kx #	19 = Editing Boundary Mode (EBM),
     5         kx #	20 = Line Feed New Line Mode (LF/NL),
     5         kx #	21 = Graphic Rendition Combination Mode (GRCM),
     5         kx #	22 = Zero Default Mode (ZDM).
     5         kx #
     5         kx # The EBM and LF/NL modes have actually been removed from ECMA-48's 5th edition
     5         kx # but are listed here for reference.
     5         kx #
     5         kx # (X) Select Alternate Presentation Variants is used only for non-Latin
     5         kx # alphabets.
     5         kx #
     5         kx # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
     5         kx #
     5         kx # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
     5         kx # abbreviation.
     5         kx #
     5         kx # ---------------------------------------------------------------------------
     5         kx #
     5         kx # Abbreviations:
     5         kx #
     5         kx # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
     5         kx #        X3.64 Control Sequence Introducer is the two characters "Escape ["
     5         kx #
     5         kx # Delim  a Delimiter
     5         kx #
     5         kx # x/y    identifies a character by position in the ASCII table (column/row)
     5         kx #
     5         kx # eF     editor function (see explanation)
     5         kx #
     5         kx # FE     format effector (see explanation)
     5         kx #
     5         kx # F      is a Final character in
     5         kx #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
     5         kx #             a control sequence (F from 4/0 to 7/14)
     5         kx #
     5         kx # Gs     is a graphic character appearing in strings (Gs ranges from
     5         kx #        2/0 to 7/14) in the ASCII table
     5         kx #
     5         kx # Ce     is a control represented as a single bit combination in the C1 set
     5         kx #        of controls in an 8-bit character set
     5         kx #
     5         kx # C0     the familiar set of 7-bit ASCII control characters
     5         kx #
     5         kx # C1     roughly, the set of control chars available only in 8-bit systems.
     5         kx #        This is too complicated to explain fully here, so read Jim Fleming's
     5         kx #        article in the February 1983 BYTE, especially pages 214 through 224.
     5         kx #
     5         kx # Fe     is a Final character of a 2-character Escape sequence that has an
     5         kx #        equivalent representation in an 8-bit environment as a Ce-type
     5         kx #        (Fe ranges from 4/0 to 5/15)
     5         kx #
     5         kx # Fs     is a Final character of a 2-character Escape sequence that is
     5         kx #        standardized internationally with identical representation in 7-bit
     5         kx #        and 8-bit environments and is independent of the currently
     5         kx #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
     5         kx #
     5         kx # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
     5         kx #        ASCII table
     5         kx #
     5         kx # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
     5         kx #        table
     5         kx #
     5         kx # Pn     is a numeric parameter in a control sequence, a string of zero or
     5         kx #        more characters ranging from 3/0 to 3/9 in the ASCII table
     5         kx #
     5         kx # Ps     is a variable number of selective parameters in a control sequence
     5         kx #        with each selective parameter separated from the other by the code
     5         kx #        3/11 (which usually represents a semicolon); Ps ranges from
     5         kx #        3/0 to 3/9 and includes 3/11
     5         kx #
     5         kx # *      Not relevant to terminal control, listed for completeness only.
     5         kx #
     5         kx # Format Effectors versus Editor Functions
     5         kx #
     5         kx # A format effector specifies how following output is to be displayed.
     5         kx # An editor function allows you to modify the display.  Informally
     5         kx # format effectors may be destructive; format effectors should not be.
     5         kx #
     5         kx # For instance, a format effector that moves the "active position" (the
     5         kx # cursor or equivalent) one space to the left would be useful when you want to
     5         kx # create an overstrike, a compound character made of two standard characters
     5         kx # overlaid. Control-H, the Backspace character, is actually supposed to be a
     5         kx # format effector, so you can do this. But many systems use it in a
     5         kx # nonstandard fashion, as an editor function, deleting the character to the
     5         kx # left of the cursor and moving the cursor left. When Control-H is assumed to
     5         kx # be an editor function, you cannot predict whether its use will create an
     5         kx # overstrike unless you also know whether the output device is in an "insert
     5         kx # mode" or an "overwrite mode". When Control-H is used as a format effector,
     5         kx # its effect can always be predicted. The familiar characters carriage
     5         kx # return, linefeed, formfeed, etc., are defined as format effectors.
     5         kx #
     5         kx # NOTES ON THE DEC VT100 IMPLEMENTATION
     5         kx #
     5         kx # Control sequences implemented in the VT100 are as follows:
     5         kx #
     5         kx #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
     5         kx #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
     5         kx #
     5         kx # plus several private DEC commands.
     5         kx #
     5         kx # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
     5         kx #
     5         kx #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
     5         kx #      Erase from beginning of line to cursor     Esc [ 1 K
     5         kx #      Erase line containing cursor               Esc [ 2 K
     5         kx #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
     5         kx #      Erase from beginning of screen to cursor   Esc [ 1 J
     5         kx #      Erase entire screen                        Esc [ 2 J
     5         kx #
     5         kx # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
     5         kx # Esc [ 2 J, but this is wrong; the default is 0.
     5         kx #
     5         kx # The VT100 responds to receiving the DA (Device Attributes) control
     5         kx #
     5         kx #      Esc [ c    (or Esc [ 0 c)
     5         kx #
     5         kx # by transmitting the sequence
     5         kx #
     5         kx #      Esc [ ? l ; Ps c
     5         kx #
     5         kx # where Ps is a character that describes installed options.
     5         kx #
     5         kx # The VT100's cursor location can be read with the DSR (Device Status
     5         kx # Report) control
     5         kx #
     5         kx #      Esc [ 6 n
     5         kx #
     5         kx # The VT100 reports by transmitting the CPR sequence
     5         kx #
     5         kx #      Esc [ Pl ; Pc R
     5         kx #
     5         kx # where Pl is the line number and Pc is the column number (in decimal).
     5         kx #
     5         kx # The specification for the DEC VT100 is document EK-VT100-UG-003.
     5         kx 
     5         kx #### ANSI.SYS
     5         kx #
     5         kx # Here is a description of the color and attribute controls supported in the
     5         kx # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
     5         kx # terminal emulators for Intel boxes obey these.  They are a proper subset
     5         kx # of the ECMA-48 escapes.
     5         kx #
     5         kx # 0	all attributes off
     5         kx # 1	foreground bright
     5         kx # 4	underscore on
     5         kx # 5	blink on/background bright (not reliable with brown)
     5         kx # 7	reverse-video
     5         kx # 8	set blank (non-display)
     5         kx # 10	set primary font
     5         kx # 11	set first alternate font (on PCs, display ROM characters 1-31)
     5         kx # 12	set second alternate font (on PCs, display IBM high-half chars)
     5         kx #
     5         kx #			Color attribute sets
     5         kx # 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
     5         kx # 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
     5         kx # Bright black becomes gray.  Bright brown becomes yellow,
     5         kx # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
     5         kx #
     5         kx # * If the 5 attribute is on and you set a background color (40-47) it is
     5         kx #   supposed to enable bright background.
     5         kx #
     5         kx # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
     5         kx #   when you try to set a "bright brown" (yellow) background with attribute
     5         kx #   5 (you get a blinking yellow foreground instead).  A few displays
     5         kx #   (including the System V console) support an attribute 6 that undoes this
     5         kx #   braindamage (this is required by iBCS2).
     5         kx #
     5         kx # * Some older versions of ANSI.SYS have a bug that causes them to require
     5         kx #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
     5         kx #   compatible.)
     5         kx 
     5         kx #### Intel Binary Compatibility Standard
     5         kx #
     5         kx # For comparison, here are the capabilities implied by the Intel Binary
     5         kx # Compatibility Standard for UNIX systems (Intel order number 468366-001).
     5         kx # These recommendations are optional.  IBCS2 allows the leading escape to
     5         kx # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
     5         kx # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
     5         kx # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
     5         kx # terminfo entry are followed with the corresponding capability in parens:
     5         kx #
     5         kx #	CSI <n>k		disable (n=0) or enable (n=1) keyclick
     5         kx #	CSI 2h			lock keyboard
     5         kx #	CSI 2i			send screen as input
     5         kx #	CSI 2l			unlock keyboard
     5         kx #	CSI 6m			enable background color intensity
     5         kx #	CSI <0-2>c		reserved
     5         kx #	CSI <0-59>m		select graphic rendition
     5         kx #	CSI <n>;<m>H	(cup)	cursor to line n and column m
     5         kx #	CSI <n>;<m>f		cursor to line n and column m
     5         kx #	CSI <n>@	(ich)	insert characters
     5         kx #	CSI <n>A	(cuu)	cursor up n lines
     5         kx #	CSI <n>B	(cud)	cursor down n lines
     5         kx #	CSI <n>C	(cuu)	cursor right n characters
     5         kx #	CSI <n>D	(cud)	cursor left n characters
     5         kx #	CSI <n>E		cursor down n lines and in first column
     5         kx #	CSI <n>F		cursor up n lines and in first column
     5         kx #	CSI <n>G	(hpa)	position cursor at column n-1
     5         kx #	CSI <n>J	(ed)	erase in display
     5         kx #	CSI <n>K	(el)	erase in line
     5         kx #	CSI <n>L	(il)	insert line(s)
     5         kx #	CSI <n>P	(dch)	delete characters
     5         kx #	CSI <n>S	(indn)	scroll up n lines
     5         kx #	CSI <n>T	(rin)	scroll down n lines
     5         kx #	CSI <n>X	(ech)	erase characters
     5         kx #	CSI <n>Z	(cbt)	back up n tab stops
     5         kx #	CSI <n>`		cursor to column n on line
     5         kx #	CSI <n>a	(cuu)	cursor right n characters
     5         kx #	CSI <n>d	(vpa)	cursor to line n
     5         kx #	CSI <n>e		cursor down n lines and in first column
     5         kx #	CSI <n>g	(cbt)	clear all tabs
     5         kx #	CSI <n>z		make virtual terminal n active
     5         kx #	CSI ?7h		(smam)	turn automargin on
     5         kx #	CSI ?7l		(rmam)	turn automargin off
     5         kx #	CSI s			save cursor position
     5         kx #	CSI u			restore cursor position to saved value
     5         kx #	CSI =<c>A		set overscan color
     5         kx #	CSI =<c>F		set normal foreground color
     5         kx #	CSI =<c>G		set normal background color
     5         kx #	CSI =<c>H		set reverse foreground color
     5         kx #	CSI =<c>I		set reverse foreground color
     5         kx #	CSI =<c>J		set graphic foreground color
     5         kx #	CSI =<c>K		set graphic foreground color
     5         kx #	CSI =<n>g	(dispc) display n from alternate graphics character set
     5         kx #	CSI =<p>;<d>B		set bell parameters
     5         kx #	CSI =<s>;<e>C		set cursor parameters
     5         kx #	CSI =<x>D		enable/disable intensity of background color
     5         kx #	CSI =<x>E		set/clear blink vs. bold background
     5         kx #	CSI 7		(sc)	(sc) save cursor position
     5         kx #	CSI 8		(rc)	(rc) restore cursor position to saved value
     5         kx #	CSI H		(hts)	(hts) set tab stop
     5         kx #	CSI Q<n><string>	define function key string
     5         kx #				(string must begin and end with delimiter char)
     5         kx #	CSI c		(clear) clear screen
     5         kx #
     5         kx # The lack of any specification for attributes in SGR (among other things)
     5         kx # makes this a wretchedly weak standard. The table above is literally
     5         kx # everything iBSC2 has to say about terminal escape sequences; there is
     5         kx # no further discussion of their meaning or how to set the parameters
     5         kx # in these sequences at all.
     5         kx #
     5         kx 
     5         kx ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
     5         kx #
     5         kx # The historical termcap file entries were written primarily in 4.4BSD termcap.
     5         kx # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
     5         kx # with the extension names chosen for compatibility with the termcap names
     5         kx # assigned in System V terminfo.  There are some variant extension sets out
     5         kx # there.  We try to describe them here.
     5         kx #
     5         kx #### XENIX extensions:
     5         kx #
     5         kx # The XENIX extensions include a set of function-key capabilities as follows:
     5         kx #
     5         kx #       code	XENIX variable name	terminfo name	name clashes?
     5         kx #	----	-------------------	-------------	-----------------------
     5         kx #	CL	key_char_left
     5         kx #	CR	key_char_right
     5         kx #	CW	key_change_window			create_window
     5         kx #	EN	key_end			kend
     5         kx #	HM	key_home		khome
     5         kx #	HP	??
     5         kx #	LD	key_delete_line		kdl1
     5         kx #	LF	key_linefeed				label_off
     5         kx #	NU	key_next_unlocked_cell
     5         kx #	PD	key_page_down		knp
     5         kx #	PL	??
     5         kx #	PN	start_print		mc5
     5         kx #	PR	??
     5         kx #	PS	stop_print		mc4
     5         kx #	PU	key_page_up		kpp		pulse
     5         kx #	RC	key_recalc				remove_clock
     5         kx #	RF	key_toggle_ref				req_for_input
     5         kx #	RT	key_return		kent
     5         kx #	UP	key_up_arrow		kcuu1		parm_up_cursor
     5         kx #	WL	key_word_left
     5         kx #	WR	key_word_right
     5         kx #
     5         kx # The XENIX extensions also include the following character-set and highlight
     5         kx # capabilities:
     5         kx #
     5         kx #	XENIX	terminfo	function
     5         kx #	-----	--------	------------------------------
     5         kx #	GS	smacs		start alternate character set
     5         kx #	GE	rmacs		end alternate character set
     5         kx #	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
     5         kx #	bo	blink		begin blink (not used in /etc/termcap)
     5         kx #	be			end blink (not used in /etc/termcap)
     5         kx #	bb			blink glitch  (not used in /etc/termcap)
     5         kx #	it	dim		begin dim (not used in /etc/termcap)
     5         kx #	ie			end dim (not used in /etc/termcap)
     5         kx #	ig			dim glitch  (not used in /etc/termcap)
     5         kx #
     5         kx # Finally, XENIX also used the following forms-drawing capabilities:
     5         kx #
     5         kx #	single	double  type             ASCII approximation
     5         kx #	------	------	-------------    -------------------
     5         kx #	GV	Gv	vertical line             |
     5         kx #	GH	Gv	horizontal line       -   _
     5         kx #	G1	G5	top right corner       _   |
     5         kx #	G2	G6	top left corner       |
     5         kx #	G3	G7	bottom left corner         |_
     5         kx #	G4	G8	bottom right corner   _|
     5         kx #	GD	Gd	down-tick character        T
     5         kx #	GL	Gl	left-tick character   -|
     5         kx #	GR	Gr	right-tick character       |-
     5         kx #	GC	Gc	middle intersection   -|-
     5         kx #	GU	Gu	up-tick character          _|_
     5         kx #
     5         kx # These were invented to take advantage of the IBM PC ROM character set.  One
     5         kx # can compose an acsc string from the single-width characters as follows
     5         kx #	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
     5         kx # When translating a termcap file, ncurses tic will do this automatically.
     5         kx # The double forms characters don't fit the SVr4 terminfo model.
     5         kx #
     5         kx #### AT&T Extensions:
     5         kx #
     5         kx # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
     5         kx # nonstandard capabilities.  Its signature is the KM capability, used to name
     5         kx # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
     5         kx # set.  Comments in the original, and a little cross-checking with other AT&T
     5         kx # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
     5         kx # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
     5         kx # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
     5         kx # cursor invisible), and CV=:ve: (make cursor normal).
     5         kx #
     5         kx #### HP Extensions
     5         kx #
     5         kx # The HP library (as of mid-1995, their term.h file version 70.1) appears to
     5         kx # have the System V capabilities up to SVr1 level.  After that, it supports
     5         kx # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
     5         kx # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
     5         kx # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
     5         kx # HP binary format incompatible with SVr4's.
     5         kx #
     5         kx #### IBM Extensions
     5         kx #
     5         kx # There is a set of nonstandard terminfos used by IBM's AIX operating system.
     5         kx # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
     5         kx # capabilities following prtr_non with the following special capabilities:
     5         kx # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
     5         kx # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
     5         kx # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
     5         kx # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
     5         kx # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
     5         kx # renamed (to kcbt and kslt).  The places in the box[12] capabilities
     5         kx # correspond to acsc chars, here is the mapping:
     5         kx #
     5         kx #	box1[0]  = ACS_ULCORNER
     5         kx #	box1[1]  = ACS_HLINE
     5         kx #	box1[2]  = ACS_URCORNER
     5         kx #	box1[3]  = ACS_VLINE
     5         kx #	box1[4]  = ACS_LRCORNER
     5         kx #	box1[5]  = ACS_LLCORNER
     5         kx #	box1[6]  = ACS_TTEE
     5         kx #	box1[7]  = ACS_RTEE
     5         kx #	box1[8]  = ACS_BTEE
     5         kx #	box1[9]  = ACS_LTEE
     5         kx #	box1[10] = ACS_PLUS
     5         kx #
     5         kx # The box2 characters are the double-line versions of these forms graphics.
     5         kx # The AIX binary terminfo format is incompatible with SVr4's.
     5         kx #
     5         kx #### Iris console extensions:
     5         kx #
     5         kx # HS is half-intensity start; HE is half-intensity end
     5         kx # CT is color terminal type (for Curses & rogue)
     5         kx # CP is color change escape sequence
     5         kx # CZ are color names (for Curses & rogue)
     5         kx #
     5         kx # The ncurses tic utility recognizes HS as an alias for mh <dim>.
     5         kx #
     5         kx #### TC Extensions:
     5         kx #
     5         kx # There is a set of extended termcaps associated with something
     5         kx # called the "Terminal Control" or TC package created by MainStream Systems,
     5         kx # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
     5         kx # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
     5         kx # that flags color terminals.
     5         kx #
     5         kx ######## NCURSES USER-DEFINABLE CAPABILITIES
     5         kx #
     5         kx # Extensions added after ncurses 5.0 generally use the "-x" option of tic and
     5         kx # infocmp to manipulate user-definable capabilities.  Those that are intended
     5         kx # for use in either terminfo or termcap use 2-character names.  Extended
     5         kx # function keys do not use 2-character names, and are available only with
     5         kx # terminfo.
     5         kx #
     5         kx # Beginning in 2010, NetBSD curses has also provided a "-x" option for
     5         kx # tic/infocmp, and uses this database (with a few changes).  There are a few
     5         kx # differences, noted in
     5         kx #	https://invisible-island.net/ncurses/ncurses-netbsd.html
     5         kx #
     5         kx # ncurses makes explicit checks for a few user-definable capabilities:  AX,
     5         kx # RGB, U8, XM, which are documented in the user_caps(5) manual page.
     5         kx #
     5         kx #### SCREEN Extensions:
     5         kx #
     5         kx # The screen program uses the termcap interface.  It recognizes a few useful
     5         kx # nonstandard capabilities.  Those are used in this file.
     5         kx #
     5         kx #       AX   (bool)  Does  understand  ANSI  set  default fg/bg color (\E[39m /
     5         kx #                    \E[49m).
     5         kx #       G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
     5         kx #       E0   (str)   Switch charset 'G0' back to standard charset.
     5         kx #       S0   (str)   Switch charset 'G0' to the specified charset.
     5         kx #       XT   (bool)  Terminal understands special xterm sequences  (OSC,  mouse
     5         kx #                    tracking).
     5         kx #
     5         kx # AX is relatively straightforward; it is interpreted by ncurses to say that
     5         kx # SGR 39/49 reset the terminal's foreground and background colors to their
     5         kx # "default".
     5         kx #
     5         kx # XT is harder, since screen's manpage does not give more details.  For that,
     5         kx # we must read screen's source-code.  For example, when XT is set, screen
     5         kx # assumes
     5         kx #
     5         kx # a) OSC 1 sets the title string, e.g., for the icon.  Recent versions of
     5         kx #    screen may also set the terminal's name, which is (for xterm) distinct
     5         kx #    from the icon name.
     5         kx # b) OSC 20 sets the background pixmap.  This is an rxvt feature.
     5         kx # c) OSC 39 and OSC 49 set the default foreground/background colors.  Again
     5         kx #    this is an rxvt feature.
     5         kx # d) certain mode settings enable the mouse: 9, 1000, 1001, 1002, 1003.
     5         kx #    These are from xterm, although xterm accepts mouse codes that may not be
     5         kx #    recognized by screen, e.g., 1005, 1006.
     5         kx # e) colors beyond 0..7 are implemented by xterm's aixterm-like 16-color
     5         kx #    sequence.  However, because screen uses only termcap, the values returned
     5         kx #    by Af/Ab are not usable because they rely on expressions that termcap
     5         kx #    does not support.  Therefore, screen uses a hardcoded string to work
     5         kx #    around the limitation.  In a few cases, screen also uses tparm, which
     5         kx #    is a terminfo function rather than termcap.
     5         kx # f) all entries named "*xterm*" or "*rxvt*" have the bce flag set.
     5         kx # g) screen also uses the feature to decide whether to pay attention to other
     5         kx #    xterm-related features which are unrelated to the description in the
     5         kx #    manual page.
     5         kx #
     5         kx # Since XT is useful only when the outer terminal matches screen's assumptions,
     5         kx # it is appropriate to use it in the derived terminal descriptions such as
     5         kx # "screen.xterm", but not in the generic "screen", "screen-bce" entries.
     5         kx #
     5         kx # The other ISO-2022 features are rarely used, but provided here to make
     5         kx # screen's termcap features available.
     5         kx #
     5         kx #### XTERM Extensions:
     5         kx #
     5         kx # Most of the xterm extensions are for function-keys.  Since xterm patch #94 (in
     5         kx # 1999), xterm has supported shift/control/alt/meta modifiers which produce
     5         kx # additional function-key strings.  Some other developers copied the feature,
     5         kx # though they did not follow xterm's lead in xterm patch #167 (in 2002), to make
     5         kx # these key definitions less ambiguous.
     5         kx #
     5         kx # A few terminals provide similar functionality (sending distinct keys when
     5         kx # a modifier is used), including rxvt.
     5         kx #
     5         kx # These are the extended keys defined in this file:
     5         kx #
     5         kx # kDC3 kDC4 kDC5 kDC6 kDC7 kDN kDN3 kDN4 kDN5 kDN6 kDN7 kEND3 kEND4 kEND5 kEND6
     5         kx # kEND7 kHOM3 kHOM4 kHOM5 kHOM6 kHOM7 kIC3 kIC4 kIC5 kIC6 kIC7 kLFT3 kLFT4
     5         kx # kLFT5 kLFT6 kLFT7 kNXT3 kNXT4 kNXT5 kNXT6 kNXT7 kPRV3 kPRV4 kPRV5 kPRV6 kPRV7
     5         kx # kRIT3 kRIT4 kRIT5 kRIT6 kRIT7 kUP kUP3 kUP4 kUP5 kUP6 kUP7 ka2 kb1 kb3 kc2
     5         kx #
     5         kx # Here are the other xterm-related extensions which are used in this file:
     5         kx #
     5         kx # Cr is a string capability which resets the cursor color
     5         kx # Cs is a string capability which sets the cursor color to a given value.
     5         kx #    The single string parameter is the color name/number, according to the
     5         kx #    implementation.
     5         kx # Ms modifies the selection/clipboard.  Its parameters are
     5         kx #	p1 = the storage unit (clipboard, selection or cut buffer)
     5         kx #	p2 = the base64-encoded clipboard content.
     5         kx # Se resets the cursor style to the terminal power-on default.
     5         kx # Ss is a string capability with one numeric parameter.  It is used to set the
     5         kx #    cursor style as described by the DECSCUSR function to a block or
     5         kx #    underline.
     5         kx # TS is a string capability which acts like "tsl", but uses no parameter and
     5         kx #    goes to the first column of the "status line".
     5         kx # XM is a string capability which overrides ncurses's built-in string which
     5         kx #    enables/disables xterm mouse mode.
     5         kx # xm shows the format of the mouse responses.  Parameters:
     5         kx #	p1 = y-ordinate
     5         kx #	p2 = x-ordinate
     5         kx #	p3 = button
     5         kx #	p4 = state, e.g., pressed or released
     5         kx #	p5 = y-ordinate starting region
     5         kx #	p6 = x-ordinate starting region
     5         kx #	p7 = y-ordinate ending region
     5         kx #	p8 = x-ordinate ending region
     5         kx # Other extensions, used in xm:
     5         kx #	%u = UTF-8
     5         kx #
     5         kx #### Miscellaneous extensions:
     5         kx #
     5         kx # gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
     5         kx #    This was implemented for the Hurd.
     5         kx # rmxx/smxx describes the ECMA-48 strikeout/crossed-out attributes, as an
     5         kx #    experimental feature of tmux.
     5         kx # CO gives the number of indexed ("ANSI") colors which overlay an RGB color
     5         kx #    space.
     5         kx # E3 clears the terminal's scrollback buffer.  This was implemented in the
     5         kx #    Linux 3.0 kernel as a security feature.  It matches a feature which was
     5         kx #    added in xterm patch #107.
     5         kx # U8 is a numeric capability which denotes a terminal emulator which does not
     5         kx #    support VT100 SI/SO when processing UTF-8 encoding.  Set this to a nonzero
     5         kx #    value to enable it.
     5         kx # Smulx modifies the appearance of underlines in VTE, December 2017.
     5         kx #
     5         kx ######## CHANGE HISTORY
     5         kx #
     5         kx # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
     5         kx # Releases 9 and 10 (up until the release of ncurses 4.2 in 1998) were
     5         kx # maintained by Eric S. Raymond as part of the ncurses project.
     5         kx #
     5         kx # This file contains all the capability information present in John Kunze's
     5         kx # last version of the termcap master file, except as noted in the change
     5         kx # comments at end of file.  Some information about very ancient obsolete
     5         kx # capabilities has been moved to comments.  Some all-numeric names of older
     5         kx # terminals have been retired.
     5         kx #
     5         kx # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
     5         kx # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
     5         kx # used by BSD curses.
     5         kx #
     5         kx # The 9.1.0 version of this file was translated from my lightly-edited copy of
     5         kx # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
     5         kx # the purpose.  Unless the ncurses tic implementation and the Lisp code were
     5         kx # making perfectly synchronized mistakes which I then failed to catch by
     5         kx # eyeball, the translation was correct and perfectly information-preserving.
     5         kx #
     5         kx # Major version number bumps correspond to major version changes in ncurses.
     5         kx #
     5         kx # Here is a log of the changes since then:
     5         kx #
     5         kx # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
     5         kx #	* First terminfo master translated from 8.3.
     5         kx # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
     5         kx #	* Replaced Wyse entries with updated entries supplied by vendor.
     5         kx #
     5         kx # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
     5         kx #	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
     5         kx # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
     5         kx #	* Better XENIX keycap translation.  Describe TC termcaps.
     5         kx #	* Contact and history info supplied by Qume.
     5         kx # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
     5         kx #	* Raided the Shuford FTP site for recent termcaps/terminfos.
     5         kx #	* Added information on X3.64 and VT100 standard escape sequences.
     5         kx # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
     5         kx #	* Added a correct X11R6 xterm entry.
     5         kx #	* Fixed terminfo translations of padding.
     5         kx # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
     5         kx #	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
     5         kx #	* Added u6/u7/u8/u9 capabilities.
     5         kx #	* Added PCVT entry.
     5         kx # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
     5         kx #	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
     5         kx #	  to use reverse-video standout so Emacs will look right.
     5         kx #	* Added el1 capability to ansi.
     5         kx #	* Added smacs/rmacs to ansi.sys.
     5         kx #
     5         kx # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
     5         kx #	* New mt70 entry.
     5         kx #	* Added COPYRIGHTS AND OTHER DELUSIONS.
     5         kx #	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
     5         kx #	  smartvid & smarterm, ampex 175 & 219 & 232,
     5         kx #	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
     5         kx #	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
     5         kx #	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
     5         kx #	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
     5         kx #	* Replaced the Perkin-Elmer entries with vendor's official ones.
     5         kx #	* Restored the old minimal-ansi entry, luna needs it.
     5         kx #	* Fixed some incorrect ip and proportional-padding translations.
     5         kx # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
     5         kx #	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
     5         kx #	* Make the xterm entry 65 lines again; create xterm25 and xterm24
     5         kx #	  to force a particular height.
     5         kx #	* Added beehive4 and reorganized other Harris entries.
     5         kx # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
     5         kx #	* Merged in DEC's official entries for its terminals.  The only old
     5         kx #	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
     5         kx #	* Replaced the translated BBN BitGraph entries with purpose-built
     5         kx #	  ones from AT&T's SVr3.
     5         kx #	* Replaced the AT&T entries with AT&T's official terminfos.
     5         kx #	* Added teleray 16, vc415, cops10.
     5         kx #	* Merged in many individual capabilities from SCO terminfo files.
     5         kx # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
     5         kx #	* Typo fixes.
     5         kx #	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
     5         kx # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
     5         kx #	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
     5         kx #	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
     5         kx #	  simterm, citoh and variants.
     5         kx #	* Replaced sol entry with sol1 and sol2.
     5         kx #	* Replaced Qume QVT and Freedom-series entries with purpose-built
     5         kx #	  terminfo entries.
     5         kx #	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
     5         kx #	  and dg200 entries using caps from from SCO.
     5         kx #	* Added the usual set of function-key mappings to ANSI entry.
     5         kx #	* Corrected xterm's function-key capabilities.
     5         kx # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
     5         kx #	* Fix in xterm entry, cub and cud are not reliable under X11R6.
     5         kx # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
     5         kx #	* Fix in xterm entry, get the arrow keys right.
     5         kx #	* Change some \0 escapes to \200.
     5         kx # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
     5         kx #	* Added apple (Videx card), adm1a, oadm31.
     5         kx #	* Fixed malformed ampex csr.
     5         kx #	* Fixed act4, cyb110; they had old-style prefix padding left in.
     5         kx #	* Changed mandatory to advisory padding in many entries.
     5         kx #	* Replaced HP entries up to hpsub with purpose-built ones.
     5         kx #	* Blank rmir/smir/rmdc/smdc capabilities removed.
     5         kx #	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
     5         kx # 9.4.8 (Fri Apr  7 09:36:34 EDT 1995):
     5         kx #	* Replaced the Ann Arbor entries with SCO's, the init strings are
     5         kx #	  more efficient (but the entries otherwise identical).
     5         kx #	* Added dg211 from Shuford archive.
     5         kx #	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
     5         kx #	  adm42-nl, pc52, gs6300, xerox820, uts30.
     5         kx #	* Pull SCO's padding into vi200 entry.
     5         kx #	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
     5         kx #	  entries merged in from SCO's descriptions.
     5         kx #	* Fixed old-style prefix padding on zen50, h1500.
     5         kx #	* Moved old superbee entry to superbee-xsb, pulled in new superbee
     5         kx #	  entry from SCO's description.
     5         kx #	* Reorganized the special entries.
     5         kx #	* Added lm#0 to cbunix and virtual entries.
     5         kx #
     5         kx # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
     5         kx #	* Restored cdc456tst.
     5         kx #	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
     5         kx #	* Added megatek, beacon, microkit.
     5         kx #	* Freeze for ncurses-1.9 release.
     5         kx # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
     5         kx #	* Added historical data for TAB.
     5         kx #	* Comment fixes from David MacKenzie.
     5         kx #	* Added the new BSDI pc3 entry.
     5         kx # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
     5         kx #	* A change in the tic -C logic now ensures that all entries in
     5         kx #	  the termcap translation will fit in < 1024 bytes.
     5         kx #	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
     5         kx #	  from GNU termcap file.  This merges in all their local information.
     5         kx # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
     5         kx #	* Changed tic -C logic to dump all capabilities used by GNU termcap.
     5         kx #	* Added warnings about entries with long translations (restoring
     5         kx #	  all the GNU termcaps pushes a few over the edge).
     5         kx # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
     5         kx #	* Yet another tic change, and a couple of entry tweaks, to reduce the
     5         kx #	  number of long (> 1024) termcap translations back to 0.
     5         kx #
     5         kx # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
     5         kx #	* Added kf13-kf20 to Linux entry.
     5         kx #	* Regularize Prime terminal names.
     5         kx #	* Historical data on Synertek.
     5         kx #	* Freeze for ncurses-1.9.1.
     5         kx # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
     5         kx #	* Added true xterm-color entry, renamed djm's pseudo-color entry.
     5         kx #	* Eliminate whitespace in short name fields, this tanks some scripts.
     5         kx #	* Name field changes to shorten some long entries.
     5         kx #	* Termcap translation now automatically generates empty rmir/smir
     5         kx #	  when ich1/ich is present (copes with an ancient vi bug).
     5         kx #	* Added `screen' entries from FSF's screen-3.6.2.
     5         kx #	* Added linux-nic and xterm-nic entries.
     5         kx # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
     5         kx #	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
     5         kx #	  eliminating some special-case code in ncurses.
     5         kx #
     5         kx # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
     5         kx #	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
     5         kx #	  that captures everything unique from it.
     5         kx #	* Added reorder script generator.
     5         kx #	* Freeze for ncurses 1.9.2 release.
     5         kx # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
     5         kx #	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
     5         kx #	* Added Olaf Siebert's corrections for adm12.
     5         kx #	* ansi-pc-color now includes the colors and pairs caps, so that
     5         kx #	  entries which use it will inherit them automatically.
     5         kx #	* The linux entry can now recognize the center (keypad 5) key.
     5         kx #	* Removed some junk that found its way into Linux acsc.
     5         kx #
     5         kx # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
     5         kx #	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
     5         kx #	* xterm doesn't try to use application keypad mode any more.
     5         kx #	* Freeze for ncurses-1.9.3 release.
     5         kx # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
     5         kx #	* Added corrected sun entry from vendor.
     5         kx #	* Added csr capability to linux entry.
     5         kx #	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
     5         kx #	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
     5         kx #	* Some commented-out caps in long entries come back in, my code
     5         kx #	  for computing string-table lengths had a bug in it.
     5         kx #	* pcansi series modified to fit comm-program reality better.
     5         kx # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
     5         kx #	* BSD/OS actually ships the ibmpc3 bold entry as its console.
     5         kx #	* Correct some bad aliases in the pcansi series
     5         kx #	* Added entry for QNX console.
     5         kx #	* Clean up duplicate long names for use with 4.4 library.
     5         kx #	* Change vt100 standout to be normal reverse vide, not bright reverse;
     5         kx #	  this makes the Emacs status line look better.
     5         kx # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
     5         kx #	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
     5         kx #	* Minor surgery, mostly on name strings, to shorten termcap version.
     5         kx #
     5         kx # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
     5         kx #	* Added dec-vt100 for use with the EWAN emulator.
     5         kx #	* Added kmous to xterm for use with xterm's mouse-tracking facility.
     5         kx #	* Freeze for 1.9.5 alpha release.
     5         kx # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
     5         kx #	* Changed xterm lines to 24, the X11R6 default.
     5         kx # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
     5         kx #	* Added 7 newly discovered, undocumented acsc characters to linux
     5         kx #	  entry (the pryz{|} characters).
     5         kx #	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
     5         kx #	* Correct two typos in the xterm entries introduced in 9.9.1.
     5         kx #	* I finally figured out how to translate ko capabilities.  Done.
     5         kx #	* Added tvi921 entries from Tim Theisen.
     5         kx #	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
     5         kx #	* Removed mystery tec entry, it was neither interesting nor useful.
     5         kx #	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
     5         kx #	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
     5         kx #	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
     5         kx #	  by making them relative to use capabilities
     5         kx #	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
     5         kx #	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
     5         kx #	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
     5         kx #	  ampex80,
     5         kx #	* Translate all home=\E[;H capabilities to home=\E[H, they're
     5         kx #	  equivalent.
     5         kx #	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
     5         kx #	  vt100 and ANSI-like terminals.
     5         kx # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
     5         kx #	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
     5         kx #	  does this now, too.
     5         kx #	* fviewpoint is gone, it duplicated screwpoint.
     5         kx #	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
     5         kx #	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
     5         kx #	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
     5         kx #	  The UW vi50 replaces the old one, which becomes vi50adm,
     5         kx #	* No more embedded commas in name fields.
     5         kx #
     5         kx # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
     5         kx #	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
     5         kx #	* Introduced klone+* entries for describing Intel-console behavior.
     5         kx #	* Linux kbs is default-mapped to delete for some brain-dead reason.
     5         kx #	* -nsl -> -ns.  The -pp syntax is obsolete.
     5         kx #	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
     5         kx #	* Make xterm entry do application-keypad mode again.  I got complaints
     5         kx #	  that it was messing up someone's 3270 emulator.
     5         kx #	* Added some longname fields in order to avoid warning messages from
     5         kx #	  older tic implementations.
     5         kx #	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
     5         kx #	  it! (This gives us pi, greater than, less than, and a few more.)
     5         kx #	* Freeze for ncurses-1.9.6 release.
     5         kx # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
     5         kx #	* Add xon to a number of console entries, they're memory-mapped and
     5         kx #	  don't need padding.
     5         kx #	* Correct the use dependencies in the ansi series.
     5         kx #	* Hand-translate more XENIX capabilities.
     5         kx #	* Added hpterm entry for HP's X terminal emulator.
     5         kx #	* Added aixterm entries.
     5         kx #	* Shortened four names so everything fits in 14 chars.
     5         kx #
     5         kx # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
     5         kx #	* Added ibcs2 entry and info on iBCS2 standard.
     5         kx #	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
     5         kx #	* We can handle the HP meml/memu capability now.
     5         kx #	* Added smacs to klone entries, just as documentation.
     5         kx #	* Corrected ansi.sys and cit-500 entries.
     5         kx #	* Added z39, vt320-k311, v220c, and avatar entries.
     5         kx #	* Make pcansi use the ansi.sys invis capability.
     5         kx #	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
     5         kx #	  tvi925, tvi950, dt80, ncr7900i, h19.
     5         kx #	* X3.64 has been withdrawn, change some references.
     5         kx #	* Removed function keys from ansi-m entry.
     5         kx #	* Corrected ansi.sys entry.
     5         kx #	* Freeze for ncurses-1.9.7 release.
     5         kx # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
     5         kx #	* Added rmam/smam capabilities to many entries based on init strings.
     5         kx #	* Added correct hpa/vpa to linux.
     5         kx #	* Reduced several entries relative to vt52.
     5         kx # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
     5         kx #	* Exiled some utterly unidentifiable custom and homebrew types to the
     5         kx #	  UFO file; also, obsolete small-screen hardware; also, entries which
     5         kx #	  look flat-out incorrect, garbled, or redundant.  These include the
     5         kx #	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
     5         kx #	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
     5         kx #	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
     5         kx #	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
     5         kx #	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
     5         kx #	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
     5         kx #	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
     5         kx #	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
     5         kx #	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
     5         kx #	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
     5         kx #	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
     5         kx #	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
     5         kx #	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
     5         kx #	* Corrected pcvt25h as suggested by Brian C. Grayson
     5         kx #	  <bgrayson@pine.ece.utexas.edu>.
     5         kx # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
     5         kx #	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
     5         kx #	* Added kent=\EOM to xterm entry.
     5         kx #
     5         kx # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
     5         kx #	* Corrected gigi entry.
     5         kx #	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
     5         kx #	  bad hpa/vpa capabilities.
     5         kx #	* Corrected flash strings to have a uniform delay of .2 sec.  No
     5         kx #	  more speed-dependent NUL-padding!
     5         kx #	* terminfo capabilities in comments bracketed with <>.
     5         kx # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
     5         kx #	* Replaced pcvt with the 3.31 pcvt entries.
     5         kx #	* Freeze for 1.9.7a.
     5         kx # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
     5         kx #	* Added emu entry from the X11R6 contrib tape sources.
     5         kx #
     5         kx # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
     5         kx #	* Improved iris-ansi and sun entries.
     5         kx #	* More flash string improvements.
     5         kx #	* Corrected wy160 & wy160 as suggested by Robert Dunn
     5         kx #	* Added dim to at386.
     5         kx #	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
     5         kx #	  he's ready to start using the termcap generated from this one.
     5         kx #	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
     5         kx #	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
     5         kx #	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
     5         kx #	  att610, att620, att630,
     5         kx #	* Changed hazeltine name prefix from h to hz.
     5         kx #	* Sent t500 to the UFI file.
     5         kx #	* I think we've sucked all the juice out of BSDI's termcap file now.
     5         kx #	* Freeze for ncurses 1.9.8 release
     5         kx # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
     5         kx #	* Unfreeze, linux kbs needed to be fixed.
     5         kx #	* Tim Theisen pinned down a bug in the DMD firmware.
     5         kx # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
     5         kx #	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
     5         kx #	  (The broken ones had been shadowed by sgr.)
     5         kx # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
     5         kx #	* Added documentation on ECMA-48 standard.
     5         kx #	* New Amiga entry.
     5         kx # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
     5         kx #	* More ECMA-48 stuff
     5         kx #	* Corrected typo in minix entry, added pc-minix.
     5         kx #	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
     5         kx #	* Added rxvt entry.
     5         kx #	* Added 1.3.x color-change capabilities to linux entry.
     5         kx # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
     5         kx #	* Corrected rxvt entry khome/kend.
     5         kx #	* Corrected linux color change capabilities.
     5         kx #	* NeXT entries from Dave Wetzel.
     5         kx #	* Cleaned up if and rf file names (all in /usr/share now).
     5         kx #	* Changed linux op capability to avoid screwing up a background color
     5         kx #	  pair set by setterm.
     5         kx # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
     5         kx #	* Added xterm-sun.
     5         kx # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
     5         kx #	* Added visa50.
     5         kx #
     5         kx # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
     5         kx #	* Another sweep through the Shuford archive looking for new info.
     5         kx #	* Added dg100 alias to dg6053 based on a comp.terminals posting.
     5         kx #	* Added st52 from Per Persson.
     5         kx #	* Added eterm from the GNU Emacs 19.30 distribution.
     5         kx #	* Freeze for 1.9.9.
     5         kx # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
     5         kx #	* FreeBSD console entries from Andrew Chernov.
     5         kx #	* Removed duplicate Atari st52 name.
     5         kx # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
     5         kx #	* xterm doesn't actually have ACS_BLOCK.
     5         kx #	* Change klone+color setf/setb to simpler forms that can be
     5         kx #	  translated into termcap.
     5         kx #	* Added xterm1.
     5         kx #	* Removed mechanically-generated junk capabilities from cons* entries.
     5         kx #	* Added color support to bsdos.
     5         kx # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
     5         kx #	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
     5         kx #	* Created ecma+color, linux can use it.  Also added ech to linux.
     5         kx #	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
     5         kx #	* Add descriptions to FreeBSD console entries.  Also shorten
     5         kx #	  some aliases to <= 14 chars for portability.
     5         kx #	* Added x68k console
     5         kx #	* Added OTbs to several VT-series entries.
     5         kx # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
     5         kx #	* screen entry update for 3.7.1 from Michael Alan Dorman.
     5         kx # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
     5         kx #	* kterm correction due to Kenji Rikitake.
     5         kx #	* ACS correction in vt320-kll due to Phillippe De Muyter.
     5         kx # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
     5         kx #	* Sun console entry correction from J.T. Conklin.
     5         kx #	* Changed all DEC VT300 and up terminals to use VT300 tab set
     5         kx # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
     5         kx #	* Added smul to linux entry (we never noticed it was missing
     5         kx #	  because of sgr!).
     5         kx #	* Added rmln to hp+labels (deduced from other HP entries).
     5         kx #	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
     5         kx #	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
     5         kx #	* Corrected vt220 acsc.
     5         kx #	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
     5         kx #	  this corresponds to reality and helps prevent some tic warnings.
     5         kx #	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
     5         kx #	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
     5         kx #	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
     5         kx #	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
     5         kx #	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
     5         kx #	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
     5         kx #	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
     5         kx #	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
     5         kx #	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
     5         kx #	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
     5         kx #	  ifmr, v3220, wy100q, tandem653, ibmaed.
     5         kx #	* Added DWK terminal description.
     5         kx # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
     5         kx #	* Many entries now have highlights inherited from adm+sgr.
     5         kx #	* xterm entry now corresponds to XFree86 3.1.2E, with color.
     5         kx #	* xtitle and xtitle-twm enable access to the X status line.
     5         kx #	* Added linux-1.3.6 color palette caps in conventional format.
     5         kx #	* Added adm1178 terminal.
     5         kx #	* Move fos and apollo terminals to obsolete category.
     5         kx #	* Aha! The BRL terminals file told us what the Iris extensions mean.
     5         kx #	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
     5         kx #	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
     5         kx #	  cit500, adm11.
     5         kx # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
     5         kx #	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
     5         kx #	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
     5         kx #	* Corrected, from BRL termcap file: vi50.
     5         kx #	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
     5         kx # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
     5         kx #	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
     5         kx #	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
     5         kx #	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
     5         kx #	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
     5         kx #	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
     5         kx #	* Paired-attribute fixes to various terminals.
     5         kx #	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
     5         kx #	* xterm entry corrections from Thomas Dickey.
     5         kx # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
     5         kx #	* Added t916 entry, translated from a termcap in SCO's support area.
     5         kx #	* New qnx entry from Michael Hunter.
     5         kx # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
     5         kx #	* Added hpex2 from Ville Sulko.
     5         kx #	* Fixed a bug that ran the qnx and pcvtXX together.
     5         kx # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
     5         kx #	* Added dtterm entry from Solaris CDE.
     5         kx # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
     5         kx #	* corrected pairs#8 typo in dtterm entry.
     5         kx #	* added tvi9065.
     5         kx # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
     5         kx #	* updated xterm entry to cover 3.1.2E's new features.
     5         kx # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
     5         kx #	* Added new minix entry
     5         kx #	* Removed aliases of the form ^[0-9]* for obsolete terminals.
     5         kx #	* Commented out linux-old, nobody's using pre-1.2 kernels now.
     5         kx # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
     5         kx #	* Added Prism entries and kt7ix.
     5         kx #	* Caution notes about EWAN and tabset files.
     5         kx #	* Changed /usr/lib/tabset -> /usr/share/tabset.
     5         kx #	* Added acsc/rmacs/smacs to vt52.
     5         kx # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
     5         kx #	* Merged in Thomas Dickey's reorganization of the xterm entries;
     5         kx #	  added technical corrections to avoid warning messages.
     5         kx # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
     5         kx #	* Added rmso=\E[27m in Linux entry.
     5         kx #	* Added koi8-r support for Linux console.
     5         kx #	* Replace xterm entries with canonical ones from XFree86 3.2.
     5         kx # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
     5         kx #	* Added color_xterm from Jacob Mandelson
     5         kx # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
     5         kx #	* Back off the xterm entry to use r6 as a base.
     5         kx # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
     5         kx #	* Added dec-vt220 at Adrian Garside's request.
     5         kx #
     5         kx #-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
     5         kx #
     5         kx # 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
     5         kx #	* Minor corrections to xterm entries.
     5         kx #	* Replaced EWAN telnet entry.
     5         kx #	* Dropped the reorder script generator.  It was a fossil.
     5         kx # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
     5         kx #	* Replaced minitel-2 entry.
     5         kx #	* Added MGR, ansi-nt.
     5         kx # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
     5         kx #	* Thorsten Lockert added termcap `bs' to a lot of types, working from
     5         kx #	  the 4.4BSD Lite2 file.
     5         kx #
     5         kx # 10.1.1 (Sat May  3 21:41:27 EDT 1997):
     5         kx #	* Use setaf/setab consistently with SVr4.
     5         kx #	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
     5         kx # 10.1.2 (Sat May 24 21:10:57 EDT 1997)
     5         kx #	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
     5         kx #	* add xterm-16color, for XFree86 3.3
     5         kx # 10.1.3 (Sat May 31 12:21:05 EDT 1997)
     5         kx #	* correct typo in emu
     5         kx #	* correct typo in vt102-w (Robert Wuest)
     5         kx #	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
     5         kx # 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
     5         kx #	* remove ech capability from rxvt (it does the wrong thing)
     5         kx # 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
     5         kx #	* remove spurious newlines from several entries (hp+color, wy50,
     5         kx #	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
     5         kx #	  gs6300)
     5         kx # 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
     5         kx #	* correct rmso capability of wy50-mc
     5         kx # 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
     5         kx #	* add cbt to xterm-xf86-v32
     5         kx #	* disentangle some entries from 'xterm', preferring xterm-r6 in case
     5         kx #	  'xterm' is derived from xterm-xf86-v32, which implements ech and
     5         kx #	  other capabilities not in xterm-r6.
     5         kx #	* remove alternate character set from kterm entry.
     5         kx # 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
     5         kx #	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
     5         kx # 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
     5         kx #	* add xterm-8bit entry.
     5         kx # 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
     5         kx #	* repair several places where early version of tic replaced \, with \\\,
     5         kx #	* make acsc entries canonical form (sorted, uniq).
     5         kx #	* modify acsc entries for linux, linux-koi8
     5         kx #	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
     5         kx #	* add color, mouse support to kterm.
     5         kx # 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
     5         kx #	* correct wy120 smxon/tbc capabilities which were stuck together.
     5         kx # 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
     5         kx #	* add entry for xterm-xf86-v39t
     5         kx # 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
     5         kx #	* add u8,u9 to sun-il description
     5         kx # 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
     5         kx #	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
     5         kx #	  version.
     5         kx #	* add hds200 description (Walter Skorski)
     5         kx #	* add EMX 0.9b descriptions
     5         kx #	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
     5         kx #	* rename xhpterm back to hpterm.
     5         kx # 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
     5         kx #	* change initc in linux-c-nc to use 0..1000 range.
     5         kx # 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
     5         kx #	* remove hpa/vpa from rxvt, which implements them incorrectly.
     5         kx #	* add sgr0 for rxvt.
     5         kx #	* remove bogus smacs/rmacs from EMX descriptions.
     5         kx # 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
     5         kx #	* revised entry for att7300
     5         kx # 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
     5         kx #	* use \0 rather than \200.
     5         kx #	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
     5         kx # 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
     5         kx #	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
     5         kx #	* rename xterm-xf86-v39t to xterm-xf86-v40
     5         kx #	* remove bold/underline from sun console entries since they're not
     5         kx #	  implemented.
     5         kx # 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
     5         kx #	* add beterm entry (Fred Fish)
     5         kx #	* add irix-color/xwsh entry.
     5         kx #	* turn ncv off for linux.
     5         kx # 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
     5         kx #	* set ncv for FreeBSD console (treat colors with reverse specially).
     5         kx #	* remove sgr string from qnx based on report by Xiaodan Tang
     5         kx # 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
     5         kx #	* remove spurious commas from descriptions
     5         kx #	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
     5         kx # 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
     5         kx #	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
     5         kx #	  apparently based on cp-866).
     5         kx #
     5         kx #-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
     5         kx #
     5         kx # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
     5         kx #	* Replaced minitel-2 entry.
     5         kx #	* Added MGR, ansi-nt.
     5         kx #	* Minor corrections to xterm entries.
     5         kx #	* Replaced EWAN telnet entry.
     5         kx #	* Dropped the reorder script generator.  It was a fossil.
     5         kx # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
     5         kx #	* Thorsten Lockert added termcap `bs' to a lot of types, working from
     5         kx #	  the 4.4BSD Lite2 file.
     5         kx # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
     5         kx #	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
     5         kx #	* Updated iris-ansi; corrected vt102-w.
     5         kx #	* Switch base xterm entry to 3.3 level.
     5         kx # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
     5         kx #	* Added basic4.
     5         kx #	* Removed rmir/smir from tv92B.
     5         kx #
     5         kx # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
     5         kx #	* add hds200 description (Walter Skorski)
     5         kx #	* add beterm entry (Fred Fish)
     5         kx #	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
     5         kx #	  iris-color entries.
     5         kx #	* add emx entries.
     5         kx #	* Replaced unixpc entry with Benjamin Sittler's corrected version.
     5         kx #	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
     5         kx #	  versions.
     5         kx #	* remove sgr string from qnx based on report by Xiaodan Tang
     5         kx #	* Added u8/u9, removed rmul/smul from sun-il.
     5         kx #	* 4.2 tic displays \0 rather than \200.
     5         kx #	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
     5         kx #	  apparently based on cp-866).
     5         kx #	* Merged in Pavel Roskin's acsc for linux-koi8
     5         kx #	* Corrected some erroneous \\'s to \.
     5         kx #	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
     5         kx #	* II -> ii in pcvtXX, screen, xterm.
     5         kx #	* Removed \n chars following ANSI escapes in sgr & friends.
     5         kx #	* Updated Wyse entries.
     5         kx #	* h19 corrections from Tim Pierce.
     5         kx #	* Noted that the dm2500 has both ich and smir.
     5         kx #	* added pccons for the Alpha under OSF/1.
     5         kx #	* Added Sony NEWS workstation entries and cit101e-rv.
     5         kx #	* Reverted `amiga'; to Kent Polk's version, as I'm told
     5         kx #	  the Verkuil entry messes up with Amiga Telnet.
     5         kx # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
     5         kx #	* Corrected attributions in 10.2.0 release notes.
     5         kx #	* Scanned the Shuford archive for new terminfos and information.
     5         kx #	* Removed sgr from qnx entry (Thomas Dickey).
     5         kx #	* Added entries for ICL and Kokusai Data Systems terminals.
     5         kx #	* Incorporated NCR terminfos from the Boundless Technology FTP site.
     5         kx #	* Incorporated att700 from the Boundless Technology FTP site.
     5         kx #	* Miscellaneous contact-address and Web-page updates.
     5         kx #
     5         kx #-(changelog-beginning-ncurses-4.2)---------------------------------------------
     5         kx #
     5         kx # 1998/5/9
     5         kx #	* add nxterm and xterm-color terminfo description (request by Cristian
     5         kx #	  Gafton <gafton@redhat.com>).
     5         kx #	* modify rxvt terminfo description to clear alternate screen before
     5         kx #	  switching back to normal screen, for compatibility with applications
     5         kx #	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
     5         kx #	* modify linux terminfo description to reset color palette (reported
     5         kx #	  by Telford Tendys <telford@eng.uts.edu.au>).
     5         kx #
     5         kx # 1998/7/4
     5         kx #	* merge changes from current XFree86 xterm terminfo descriptions.
     5         kx #
     5         kx # 1998/7/25
     5         kx #	* Added minitel1 entries from Alexander Montaron.
     5         kx #	* Added qnxt2 from Federico Bianchi.
     5         kx #	* Added arm100 terminfo entries from Dave Millen.
     5         kx #
     5         kx # 1998/8/6
     5         kx #	* Added ncsa telnet entries from Francesco Potorti
     5         kx #
     5         kx # 1998/8/15
     5         kx #	* modify ncsa telnet entry to reflect color, other capabilities based on
     5         kx #	  examination of the source code - T.Dickey.
     5         kx #
     5         kx # 1998/8/22
     5         kx #	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
     5         kx #
     5         kx # 1998/8/29
     5         kx #	* Added Francesco Potorti's tuned Wyse 99 entries.
     5         kx #	* dtterm enacs correction from Alexander V. Lukyanov.
     5         kx #	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
     5         kx #	* correct a typo in icl6404 entry.
     5         kx #	* add xtermm and xtermc
     5         kx #
     5         kx # 1998/9/26
     5         kx #	* format most %'char' sequences to %{number}
     5         kx #	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
     5         kx #	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
     5         kx #
     5         kx # 1998/10/10
     5         kx #	* update xterm-xfree86 to current (xterm patch #84), for is2/rs2 changes - TD
     5         kx #	* correct initialization string in xterm-r5, add misc other features
     5         kx #	  to correspond with xterm patch #84 - TD
     5         kx #
     5         kx # 1998/12/19
     5         kx #	* update xterm-xfree86 to current (xterm patch #90), smcur/rmcur changes - TD
     5         kx #	* add Mathew Vernon's mach console entries
     5         kx #	* corrections for ncsa function-keys (report by Larry Virden)
     5         kx #
     5         kx # 1998/12/19
     5         kx #	* change linux to use ncv#2, since underline does not work with color - TD
     5         kx #
     5         kx # 1999/1/9
     5         kx #	* add kbt to iris-ansi, document other shift/control functionkeys - TD
     5         kx #	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
     5         kx #	  application modes, change kent to use the correct keypad code - TD
     5         kx #
     5         kx # 1999/1/10
     5         kx #	* add entry for Tera Term - TD
     5         kx #
     5         kx # 1999/1/23
     5         kx #	* minor improvements for teraterm entry - TD
     5         kx #	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
     5         kx #	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
     5         kx #
     5         kx # 1999/2/20
     5         kx #	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
     5         kx #	  xterm and ncsa entries by removing the unneeded ones.  Note that
     5         kx #	  some entries will return kend & khome versus kslt and kfnd, for
     5         kx #	  PC-style keyboards versus strict vt220 compatibility - TD
     5         kx #
     5         kx # 1999/3/13
     5         kx #	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
     5         kx #	  tables - TD
     5         kx #	* add 'crt' entry - TD
     5         kx #	* correct typos in 'linux-c' entry - TD
     5         kx #
     5         kx # 1999/3/14
     5         kx #	* update entries for BSD/OS console to use klone+sgr and klone+color
     5         kx #	  (Jeffrey C Honig)
     5         kx #
     5         kx # 1999/3/27
     5         kx #	* adjust xterm-xfree86 miscellaneous keypad keys, as per xterm patch #94 - TD.
     5         kx #
     5         kx # 1999/4/10
     5         kx #	* add linux-lat, from RedHat patches to ncurses 4.2
     5         kx #
     5         kx # 1999/4/17
     5         kx #	* add complete set of default function-key definitions for scoansi - TD.
     5         kx #
     5         kx # 1999/7/3
     5         kx #	* add cnorm, cvvis for Linux 2.2 kernels
     5         kx #
     5         kx # 1999/7/24
     5         kx #	* add kmous to xterm-r5 -TD
     5         kx #	* correct entries xterm+sl and xterm+sl-twm, which were missing the
     5         kx #	  parent "use" clause -TD
     5         kx #
     5         kx # 1999/7/31
     5         kx #	* corrected cnorm, added el1 in 'screen' description -TD
     5         kx #
     5         kx # 1999/8/14
     5         kx #	* add ms-vt100 -TD
     5         kx #
     5         kx # 1999/8/21
     5         kx #	* corrections to beterm entry -TD
     5         kx #
     5         kx # 1999/8/28
     5         kx #	* add cygwin entry -TD
     5         kx #
     5         kx # 1999/9/4
     5         kx #	* minor corrections for beterm entry -TD
     5         kx #
     5         kx # 1999/9/18
     5         kx #	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
     5         kx #
     5         kx # 1999/9/25
     5         kx #	* add amiga-8bit entry
     5         kx #	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
     5         kx #	  rcons-color, based on
     5         kx #	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
     5         kx #	* add alias for iris-ansi-net
     5         kx #
     5         kx # 1999/10/2
     5         kx #	* corrected scoansi entry's acsc, some function keys, add color -TD
     5         kx #
     5         kx # 1999/10/23
     5         kx #	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
     5         kx #	* reorder ncsa entries to make ncsa-vt220 use the alternate function
     5         kx #	  key mapping, leaving Potorti's entries more like he named them -TD
     5         kx #	* remove enter/exit am-mode from cygwin -TD
     5         kx #
     5         kx # 1999/10/30
     5         kx #	* correct typos in several entries (missing '[' from CSI):
     5         kx #	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
     5         kx #	  strings for avt-ns -TD
     5         kx #	* add 'dim' to ncv mask for linux (report by Klaus Weide).
     5         kx #
     5         kx # 1999/11/27
     5         kx #	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
     5         kx #	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
     5         kx #	* add xterm-88color and xterm-256color -TD
     5         kx #
     5         kx # 1999/12/4
     5         kx #	* add "obsolete" termcap strings -TD
     5         kx #	* add kvt and gnome entries -TD
     5         kx #
     5         kx # 1999/12/11
     5         kx #	* correct cup string for regent100 -TD
     5         kx #
     5         kx # 2000/1/1
     5         kx #	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
     5         kx #	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
     5         kx #	* change OTrs capabilities to rs2 -TD
     5         kx #	* add obsolete and extended capabilities to 'screen' -TD
     5         kx #
     5         kx # 2000/1/5
     5         kx #	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
     5         kx #	  with kf10 -TD
     5         kx #	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
     5         kx #	  and adding kcbt -TD
     5         kx #
     5         kx # 2000/1/12
     5         kx #	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
     5         kx #	  nonstandard resource settings -TD
     5         kx #
     5         kx # 2000/2/26
     5         kx #	* minor fixes for xterm-*, based on Debian #58530 -TD
     5         kx #
     5         kx # 2000/3/4
     5         kx #	* add several terminal types from esr's "11.0", as well as comments.
     5         kx #	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
     5         kx #	  vt220-8bit, vt220-old, wy85-8bit
     5         kx #
     5         kx # 2000/3/18
     5         kx #	* add several terminal types from esr's "11.0.1" (ansi-*).
     5         kx #	* update OTxx capabilities for changes on 2000/3/4.
     5         kx #	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
     5         kx #
     5         kx # 2000/3/26
     5         kx #	* move screen's AX extension to ecma+color, modify several entries to
     5         kx #	  use that, adjusting ncv as needed -TD
     5         kx #
     5         kx # 2000/4/8
     5         kx #	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
     5         kx #	* correct spelling error in entry name: bq300-rv was given as bg300-rv
     5         kx #	  in esr's version.
     5         kx #
     5         kx # 2000/4/15
     5         kx #	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
     5         kx #	* correct color definition for ibm3164, make minor changes to other
     5         kx #	  IBM terminal definitions based on recent terminfo descriptions -TD
     5         kx #
     5         kx # 2000/4/22
     5         kx #	* add mgterm, from NetBSD -TD
     5         kx #	* add alias sun-cgsix for sun-ss5 as per NetBSD
     5         kx #	* change cons25w to use rs2 for reset rather than rs1 -TD
     5         kx #	* add rc/sc to aixterm based on manpage -TD
     5         kx #
     5         kx # 2000/5/13
     5         kx #	* remove ncv from xterm-16color, xterm-256color
     5         kx #
     5         kx # 2000/6/10
     5         kx #	* add kmous capability to linux to use Joerg Schoen's gpm patch.
     5         kx #
     5         kx # 2000/7/1
     5         kx #	* add Eterm (Michael Jennings)
     5         kx #
     5         kx # 2000-07-18
     5         kx #       * add amiga-vnc entry.
     5         kx #
     5         kx # 2000-08-12
     5         kx #	* correct description of Top Gun Telnet.
     5         kx #	* add kterm-color
     5         kx #
     5         kx # 2000-08-26
     5         kx #	* add qansi* entries from QNX ftp site.
     5         kx #
     5         kx # 2000-09-16
     5         kx #	* add Matrix Orbital entries by Eric Z. Ayers).
     5         kx #	* add xterm-basic, xterm-sco entries, update related entries to XFree86
     5         kx #	  4.0.1c -TD
     5         kx #
     5         kx # 2000-09-17
     5         kx #	* add S0, E0 extensions to screen's entry -TD
     5         kx #
     5         kx # 2000-09-23
     5         kx #	* several corrections based on tic's new parameter-checking code -TD
     5         kx #	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
     5         kx #	  bracketing sequences that reset video attributes (\E8 would restore
     5         kx #	  them) -TD
     5         kx #
     5         kx # 2000-11-11
     5         kx #	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
     5         kx #
     5         kx # 2000-12-16
     5         kx #	* improved scoansi, based on SCO man-page, and testing console,
     5         kx #	  scoterm with tack -TD
     5         kx #
     5         kx # 2001-01-27
     5         kx #	* modify kterm to use acsc via SCS controls.
     5         kx #
     5         kx # 2001-02-10
     5         kx #	* screen 3.9.8 allows xterm mouse controls to pass-through
     5         kx #
     5         kx # 2001-03-11
     5         kx #	* remove spurious "%|" from some xterm entries.
     5         kx #
     5         kx # 2001-03-31
     5         kx #	* modify 'screen' khome/kend to match screen 3.09.08
     5         kx #	* add examples of 'screen' customization (screen.xterm-xfree86,
     5         kx #	  screen.xterm-r6, screen.teraterm) -TD
     5         kx #
     5         kx # 2001-04-14
     5         kx #	* correct definitions of shifted editing keys for xterm-xfree86 -TD
     5         kx #	* add "Apple_Terminal" entries -Benjamin Sittler
     5         kx #	* remove time-delays from "Apple_Terminal" entries -TD
     5         kx #	* make sgr entries time-delays consistent with individual caps -TD
     5         kx #
     5         kx # 2001-05-05
     5         kx #	* corrected/updated screen.xterm-xfree86
     5         kx #
     5         kx # 2001-05-19
     5         kx #	* ELKS descriptions, from Federico Bianchi
     5         kx #	* add u6 (CSR) to Eterm (Michael Jennings).
     5         kx #
     5         kx # 2001-07-21
     5         kx #	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
     5         kx #	  tic which handles names no longer than 14 characters.  Add
     5         kx #	  corresponding descriptions for the Darwin PowerPC console named
     5         kx #	  "xnuppc" -Benjamin Sittler
     5         kx #
     5         kx # 2001-09-01
     5         kx #	* change kbs in mach entries to ^? (Marcus Brinkmann).
     5         kx #
     5         kx # 2001-11-17
     5         kx #	* add "putty" entry -TD
     5         kx #	* updated "Apple_Terminal" entries -Benjamin Sittler
     5         kx #
     5         kx # 2001-11-24
     5         kx #	* add ms-vt100-color entry -TD
     5         kx #	* add "konsole" entries -TD
     5         kx #
     5         kx # 2001-12-08
     5         kx #	* update gnome entry to Redhat 7.2 -TD
     5         kx #
     5         kx # 2002-05-25
     5         kx #	* add kf13-kf48 strings to cons25w -TD
     5         kx #	* add pcvt25-color entry -TD
     5         kx #	* changed a few /usr/lib/tabset -> /usr/share/tabset.
     5         kx #	* improve some features of scoansi entry based on SCO's version -TD
     5         kx #	* add scoansi-new entry corresponding to OpenServer 5.0.6
     5         kx #
     5         kx # 2002-06-15
     5         kx #	* add kcbt to screen entry -TD
     5         kx #
     5         kx # 2002-06-22
     5         kx #	* add rxvt-16color, ibm+16color, mvterm entries -TD
     5         kx #
     5         kx # 2002-09-28
     5         kx #	* split out linux-basic entry, making linux-c inherit from that, and
     5         kx #	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
     5         kx #	  the history of this console type -TD
     5         kx #	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
     5         kx #	  r/g/b parameters of initc are in the range 0 to 1000 -TD
     5         kx #
     5         kx # 2002-10-05
     5         kx #	* minor fix for scale-factor of linux-c and linux-c-nc -TD
     5         kx #
     5         kx # 2002-11-09
     5         kx #	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
     5         kx #	  in the latter -TD
     5         kx #
     5         kx # 2002-11-16
     5         kx #	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
     5         kx #	* ncr260wy350pp has only 16 color pairs -TD
     5         kx #	* add sun-type4 from NetBSD -TD
     5         kx #	* update xterm-xfree86 to current (xterm patch #170) -TD
     5         kx #	* add screen-bce, screen-s entries -TD
     5         kx #	* add xterm-1002, xterm-1003 entries -TD
     5         kx #
     5         kx # 2003-01-11
     5         kx #	* update homepage for Top Gun Telnet/SSH
     5         kx #
     5         kx # 2003-01-25
     5         kx #	* reduce duplication in emx entries, added emx-base -TD
     5         kx #
     5         kx # 2003-05-24
     5         kx #	* corrected acs for screen.teraterm -TD
     5         kx #	* add tkterm entry -TD
     5         kx #
     5         kx # 2003-07-15
     5         kx #	* cygwin changes from Charles Wilson:
     5         kx #	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
     5         kx #	  primary instead of nxterm, to match XFree86's xterm.terminfo
     5         kx #	  usage and to prevent circular links.
     5         kx #	  (rxvt): add additional codes from rxvt.org.
     5         kx #	  (rxvt-color): new alias
     5         kx #	  (rxvt-xpm): new alias
     5         kx #	  (rxvt-cygwin): like rxvt, but with special acsc codes.
     5         kx #	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
     5         kx #	  with a "native" MSWin GUI.  Each takes different acsc codes,
     5         kx #	  which are both different from the "normal" rxvt's acsc.
     5         kx #	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
     5         kx #	  (cygwinDBG): ditto.
     5         kx #
     5         kx # 2003-09-27
     5         kx #	* update gnome terminal entries -TD
     5         kx #
     5         kx # 2003-10-04
     5         kx #	* add entries for djgpp 2.03 and 2.04 -TD
     5         kx #
     5         kx # 2003-10-25
     5         kx #	* add alias for vtnt -TD
     5         kx #	* update xterm-xfree86 for XFree86 4.4 -TD
     5         kx #
     5         kx # 2003-11-22
     5         kx #	* add linux-vt (Andrey V Lukyanov)
     5         kx #
     5         kx # 2003-12-20
     5         kx #	* add screen.linux -TD
     5         kx #
     5         kx # 2004-01-10
     5         kx #	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
     5         kx #
     5         kx # 2004-01-17
     5         kx #	* add OpenNT/Interix/SFU entries (Federico Bianchi)
     5         kx #	* add vt100+ and vt-utf8 entries -TD
     5         kx #	* add uwin entry -TD
     5         kx #
     5         kx # 2004-03-27
     5         kx #	* add sgr strings to several common entries lacking them, e.g.,
     5         kx #	  screen, to make the entries more portable -TD
     5         kx #	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
     5         kx #	* similar fixups for cvvis/cnorm various entries -TD
     5         kx #
     5         kx # 2004-05-22
     5         kx #	* remove 'ncv' from xterm-256color (xterm patch #188) -TD
     5         kx #
     5         kx # 2004-06-26
     5         kx #	* add mlterm -TD
     5         kx #	* add xterm-xf86-v44 -TD
     5         kx #	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
     5         kx #	  on G1 being used via an ISO-2022 escape sequence (report by
     5         kx #	  Juliusz Chroboczek) -TD
     5         kx #	* add 'hurd' entry -TD
     5         kx #
     5         kx # 2004-07-03
     5         kx #	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
     5         kx #	  xterm-basic -TD
     5         kx #	* align with xterm #192's use of xterm-new -TD
     5         kx #	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
     5         kx #	* make xterm-new the default "xterm" -TD
     5         kx #
     5         kx # 2004-07-10
     5         kx #	* minor fixes for emu -TD
     5         kx #	* add emu-220
     5         kx #	* add rmam/smam to linux (Trevor Van Bremen)
     5         kx #	* change wyse acsc strings to use 'i' map rather than 'I' -TD
     5         kx #	* fixes for avatar0 -TD
     5         kx #	* fixes for vp3a+ -TD
     5         kx #
     5         kx # 2004-07-17
     5         kx #	* add xterm-pc-fkeys -TD
     5         kx #	* review/update gnome and gnome-rh90 entries (prompted by
     5         kx #	  Redhat Bugzilla #122815) -TD
     5         kx #	* review/update konsole entries -TD
     5         kx #	* add sgr, correct sgr0 for kterm and mlterm -TD
     5         kx #	* correct tsl string in kterm -TD
     5         kx #
     5         kx # 2004-07-24
     5         kx #	* make ncsa-m rmacs/smacs consistent with sgr -TD
     5         kx #	* add sgr, rc/sc and ech to syscons entries -TD
     5         kx #	* add function-keys to decansi -TD
     5         kx #	* add sgr to mterm-ansi -TD
     5         kx #	* add sgr, civis, cnorm to emu -TD
     5         kx #	* correct/simplify cup in addrinfo -TD
     5         kx #	* corrections for gnome and konsole entries
     5         kx #	  (Redhat Bugzilla #122815) -Hans de Goede
     5         kx #	* modify DEC entries (vt220, etc), to add sgr string, and to use
     5         kx #	  ISO-2022 strings for rmacs/smacs -TD
     5         kx #
     5         kx # 2004-07-31
     5         kx #	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
     5         kx #
     5         kx # 2004-08-07
     5         kx #	* improved putty entry -Robert de Bath
     5         kx #
     5         kx # 2004-08-14
     5         kx #	* remove dch/dch1 from rxvt because they are implemented inconsistently
     5         kx #	  with the common usage of bce/ech -TD
     5         kx #	* remove khome from vt220 (vt220's have no home key) -TD
     5         kx #	* add rxvt+pcfkeys -TD
     5         kx #
     5         kx # 2004-08-21
     5         kx #	* modify several entries to ensure xterm mouse and cursor visibility
     5         kx #	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
     5         kx #	  Eterm, screen.  (The xterm entries are left alone - old ones for
     5         kx #	  compatibility, and the new ones do not require this change) -TD
     5         kx #
     5         kx # 2004-08-28
     5         kx #	* add morphos entry -Pavel Fedin
     5         kx #	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
     5         kx #	* corrected \E[5?l to \E[?5l in vt320 entries -TD
     5         kx #
     5         kx # 2004-11-20
     5         kx #	* update wsvt25 entry -TD
     5         kx #
     5         kx # 2005-01-29
     5         kx #	* update pairs for xterm-88color and xterm-256color to reflect the
     5         kx #	  ncurses extended-color support -TD
     5         kx #
     5         kx # 2005-02-26
     5         kx #	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
     5         kx #	* add aixterm-16color to demonstrate 16-color capability -TD
     5         kx #
     5         kx # 2005-04-23
     5         kx #	* add media-copy to vt100 -TD
     5         kx #	* corrected acsc string for vt52 -TD
     5         kx #
     5         kx # 2005-04-30
     5         kx #	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
     5         kx #	  xterm-new -TD
     5         kx #	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
     5         kx #
     5         kx # 2005-05-07
     5         kx #	* re-corrected acsc string for vt52 -TD
     5         kx #
     5         kx # 2005-05-28
     5         kx #	* corrected sun-il sgr string which referred to bold and underline -TD
     5         kx #	* add sun-color entry -TD
     5         kx #
     5         kx # 2005-07-23
     5         kx #	* modify sgr0 in several entries to reset alternate-charset as in the
     5         kx #	  sgr string -TD
     5         kx #	* modify sgr string of prism9 to better match the individual
     5         kx #	  attributes -TD
     5         kx #
     5         kx # 2005-10-15
     5         kx #	* correct order of use= in rxvt-basic -TD
     5         kx #
     5         kx # 2005-10-26
     5         kx #	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
     5         kx #
     5         kx # 2005-11-12
     5         kx #	* other minor fixes to cygwin based on tack -TD
     5         kx #	* correct smacs in cygwin (report by Baurzhan Ismagulov).
     5         kx #
     5         kx # 2006-02-18
     5         kx #	* add nsterm-16color entry -TD
     5         kx #	* remove ncv flag from xterm-16color -TD
     5         kx #	* remove setf/setb from xterm-256color to match xterm #209 -TD
     5         kx #	* update mlterm entry to 2.9.2 -TD
     5         kx #
     5         kx # 2006-02-25
     5         kx #	* fixes to make nsterm-16color match report
     5         kx #	  by Christian Ebert -Alain Bench
     5         kx #
     5         kx # 2006-04-22
     5         kx #	* add xterm+256color building block -TD
     5         kx #	* add gnome-256color, putty-256color, rxvt-256color -TD
     5         kx #
     5         kx # 2006-05-06
     5         kx #	* add hpterm-color -TD
     5         kx #
     5         kx # 2006-06-24
     5         kx #	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
     5         kx #	* add gnome-fc5 (prompted by GenToo #122566) -TD
     5         kx #	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
     5         kx #	* improve xterm-256color by combining the ibm+16color setaf/setab
     5         kx #	  strings with SGR 48.  The setf/setb strings also are cancelled here
     5         kx #	  rather than omitted so derived entries will cancel those also -Alain
     5         kx #	  Bench
     5         kx #
     5         kx # 2006-07-01
     5         kx #	* add some notes regarding copyright to terminfo.src -TD
     5         kx #	* use rxvt+pcfkeys in Eterm -TD
     5         kx #	* remove km and flash from gnome, Eterm and rxvt since they do not work
     5         kx #	  as one would expect (km sends ESC rather than setting the 8th bit
     5         kx #	  of the key) -TD
     5         kx #	* add/use ansi+enq, vt100+enq and vt102+enq -TD
     5         kx #	* add konsole-solaris -TD
     5         kx #
     5         kx # 2006-07-22
     5         kx #	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
     5         kx #	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
     5         kx #	* modify xterm-24 to inherit from "xterm" -TD
     5         kx #	* add xiterm entry -TD
     5         kx #	* add putty-vt100 entry -TD
     5         kx #	* corrected spelling of Michael A Dorman's name, prompted by
     5         kx #	  http://www.advogato.org/person/mdorman/diary.html -TD
     5         kx #
     5         kx # 2006-08-05
     5         kx #	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
     5         kx #	* update xterm+pcfkeys to match xterm #216 -TD
     5         kx #
     5         kx # 2006-08-17
     5         kx #	* make descriptions of xterm entries consistent with its terminfo -TD
     5         kx #
     5         kx # 2006-08-26
     5         kx #	* add xfce, mgt -TD
     5         kx #
     5         kx # 2006-09-02
     5         kx #	* correct acsc string in kterm -TD
     5         kx #
     5         kx # 2006-09-09
     5         kx #	* add kon entry -TD
     5         kx #	* remove invis from linux and related entries, add klone+sgr8 for those
     5         kx #	  that implement the feature (or have not been shown to lack it) -TD
     5         kx #
     5         kx # 2006-09-23
     5         kx #	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
     5         kx #	* minor improvements to rxvt+pcfkeys -TD
     5         kx #
     5         kx # 2006-09-30
     5         kx #	* fix a few typos in if/then/else expressions -TD
     5         kx #
     5         kx # 2006-10-07
     5         kx #	* add several GNU Screen variations with 16- and 256-colors, and
     5         kx #	  status line (Alain Bench).
     5         kx #
     5         kx # 2007-03-03
     5         kx #	* add Newbury Data entries (Jean-Charles Billaud).
     5         kx #
     5         kx # 2007-06-10
     5         kx #	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
     5         kx #
     5         kx # 2007-07-14
     5         kx #	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
     5         kx #	* add konsole-256color entry -TD
     5         kx #
     5         kx # 2007-08-18
     5         kx #	* add 9term entry (request by Juhapekka Tolvanen) -TD
     5         kx #
     5         kx # 2007-10-13
     5         kx #	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
     5         kx #	* add shift-control- and control-modified keys for rxvt editing
     5         kx #	  keypad -TD
     5         kx #	* update mlterm entry to 2.9.3 -TD
     5         kx #	* add mlterm+pcfkeys -TD
     5         kx #
     5         kx # 2007-10-20
     5         kx #	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
     5         kx #	  xterm+pcc0, etc., to make the corresponding building blocks reflect
     5         kx #	  xterm's capabilities -TD
     5         kx #	* add mrxvt entry -TD
     5         kx #	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
     5         kx #
     5         kx # 2007-11-03
     5         kx #	* correct acsc strings for h19 and z100 (Benjamin Sittler)
     5         kx #
     5         kx # 2007-11-11
     5         kx #	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
     5         kx #	  xterm starting with xterm patch #216 -TD
     5         kx #	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
     5         kx #	  to match xterm #230 -TD
     5         kx #	* extend xterm+pccX entries to match xterm #230 -TD
     5         kx #	* add xterm+app, xterm+noapp, from xterm #230 -TD
     5         kx #	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
     5         kx #
     5         kx # 2008-04-19
     5         kx #	* add screen.rxvt -TD
     5         kx #
     5         kx # 2008-04-28
     5         kx #	* add screen+fkeys (prompted by Debian #478094) -TD
     5         kx #
     5         kx # 2008-06-28
     5         kx #	* add screen.mlterm -TD
     5         kx #	* improve mlterm and mlterm+pcfkeys -TD
     5         kx #
     5         kx # 2008-08-23
     5         kx #	* add Eterm-256color, Eterm-88color -TD
     5         kx #	* add rxvt-88color -TD
     5         kx #
     5         kx # 2008-10-12
     5         kx #	* add teraterm4.59 entry, use that as primary teraterm entry, rename
     5         kx #	  original to teraterm2.3 -TD
     5         kx #	* update "gnome" to 2.22.3 -TD
     5         kx #	* update "konsole" to 1.6.6 -TD
     5         kx #	* add "aterm" -TD
     5         kx #	* add "linux2.6.26" -TD
     5         kx #
     5         kx # 2008-11-15
     5         kx #	* change several \E[2g (clear tab at current column) to \E[3g
     5         kx #	  (clear all tabs) to match definition for tbc capability -TD
     5         kx #
     5         kx # 2008-11-29
     5         kx #	* add eterm-color -TD
     5         kx #
     5         kx # 2009-01-10
     5         kx #	* add screen.Eterm -TD
     5         kx #
     5         kx # 2009-03-28
     5         kx #	* correct typo in pfkey of ansi.sys-old
     5         kx #	  (report by Kalle Olavi Niemitalo)
     5         kx #	* move function- and cursor-keys from emx-base to ansi.sys, and create
     5         kx #	  a pfkey capability which handles F1-F48 -TD
     5         kx #
     5         kx # 2009-05-02
     5         kx #	* add vwmterm entry (Bryan Christ)
     5         kx #
     5         kx # 2009-09-19
     5         kx #	* change ncv and op capabilities in sun-color to match Sun's entry for
     5         kx #	  this (report by Laszlo Peter)
     5         kx #	* improve interix smso by using reverse rather than bold (report by
     5         kx #	  Kristof Zelechovski).
     5         kx #
     5         kx # 2009-10-03
     5         kx #	* remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
     5         kx #	* add linux-16color (Benjamin Sittler)
     5         kx #	* correct initc capability of linux-c-nc end-of-range (Benjamin Sittler)
     5         kx #	* similar change for dg+ccc and dgunix+ccc (Benjamin Sittler)
     5         kx #	* add ccc and initc capabilities to xterm-16color -TD
     5         kx #
     5         kx # 2009-10-31
     5         kx #	* updated nsterm* entries (Benjamin Sittler, prompted by GenToo #206201)
     5         kx #
     5         kx # 2009-12-12
     5         kx #	* updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
     5         kx #
     5         kx # 2009-12-19
     5         kx #	* add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
     5         kx #	* rename minix to minix-1.7, add minix entry for Minix3 -TD
     5         kx #
     5         kx # 2009-12-26
     5         kx #	* add bterm (bogl 0.1.18) -TD
     5         kx #	* minor fix to rxvt+pcfkeys -TD
     5         kx #
     5         kx # 2010-02-06
     5         kx #	* update mrxvt to 0.5.4, add mrxvt-256color -TD
     5         kx #
     5         kx # 2010-02-13
     5         kx #	* add several screen-bce.XXX entries -TD
     5         kx #
     5         kx # 2010-02-23
     5         kx #	* modify screen-bce.XXX entries to exclude ech, since screen's color
     5         kx #	  model does not clear with color for that feature -TD
     5         kx #
     5         kx # 2010-03-20
     5         kx #	* rename atari and st52 to atari-old, st52-old, use newer entries from
     5         kx #	  FreeMiNT by Guido Flohr (from patch/report by Alan Hourihane).
     5         kx #
     5         kx # 2010-06-12
     5         kx #	* add mlterm-256color entry -TD
     5         kx #
     5         kx # 2010-07-17
     5         kx #	* add hard-reset for rs2 to wsvt25 to help ensure that reset ends
     5         kx #	  the alternate character set (patch by Nicholas Marriott)
     5         kx #
     5         kx # 2010-08-28
     5         kx #	* improve acsc for vt52 (Benjamin Sittler)
     5         kx #	* modify nsterm entries for consistent sgr/sgr0 -TD
     5         kx #	* modify xnuppc entries for consistent sgr/sgr0 -TD
     5         kx #	* add invis to tek4115 sgr -TD
     5         kx #
     5         kx # 2010-09-11
     5         kx #	* reformat acsc strings to canonical format -TD
     5         kx #
     5         kx # 2010-09-25
     5         kx #	* add "XT" capability to entries for terminals that support both
     5         kx #	  xterm-style mouse- and title-controls, for "screen" which
     5         kx #	  special-cases TERM beginning with "xterm" or "rxvt" -TD
     5         kx #
     5         kx # 2010-10-02
     5         kx #	* fill in no-parameter forms of cursor-movement where a parameterized
     5         kx #	  form is available -TD
     5         kx #	* fill in missing cursor controls where the form of the controls is
     5         kx #	  ANSI -TD
     5         kx #	* add parameterized cursor-controls to linux-basic (report by Dae) -TD
     5         kx #
     5         kx # 2010-10-09
     5         kx #	* correct comparison used for setting 16-colors in linux-16color
     5         kx #	  entry (Novell #644831) -TD
     5         kx #	* improve linux-16color entry, using "dim" for color-8 which makes it
     5         kx #	  gray rather than black like color-0 -TD
     5         kx #
     5         kx # 2010-11-20
     5         kx #	* make "vte" the principal entry defining "gnome", since GNOME terminal
     5         kx #	  is merely one of several terminals whose behavior is provided by this
     5         kx #	  library -TD
     5         kx #
     5         kx # 2010-11-27
     5         kx #	* fix typo in rmso for tek4106 -Goran Weinholt
     5         kx #
     5         kx # 2010-12-11
     5         kx #	* suppress ncv in screen entry, allowing underline -Alejandro R. Sedeno
     5         kx #	* also suppress ncv in konsole-base -TD
     5         kx #
     5         kx # 2011-02-05
     5         kx #	* add U8 feature to denote entries for terminal emulators which do not
     5         kx #	  support VT100 SI/SO when processing UTF-8 encoding -TD
     5         kx #	* add xterm-utf8 as a demo of the U8 feature -TD
     5         kx #
     5         kx # 2011-02-20
     5         kx #	* add cons25-debian entry (Brian M Carlson, Debian #607662).
     5         kx #
     5         kx # 2011-06-11
     5         kx #	* update minix entry to minix 3.2 (Thomas Cort).
     5         kx #
     5         kx # 2011-07-09
     5         kx #	* fix inconsistent tabset path in pcmw (Todd C. Miller).
     5         kx #	* remove a backslash which continued comment, obscuring altos3
     5         kx #	  definition with OpenBSD toolset (Nicholas Marriott).
     5         kx #
     5         kx # 2011-07-16
     5         kx #	* add/use xterm+tmux chunk from xterm #271 -TD
     5         kx #	* resync xterm-new entry from xterm #271 -TD
     5         kx #	* add E3 extended capability to linux-basic (Miroslav Lichvar)
     5         kx #	* add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
     5         kx #	* add SI/SO change to linux2.6 entry (Debian #515609) -TD
     5         kx #
     5         kx # 2011-07-21
     5         kx #	* add kich1 to sun (Yuri Pankov)
     5         kx #	* use bold rather than reverse for smso in sun-color (Yuri Pankov).
     5         kx #
     5         kx # 2011-08-06
     5         kx #	* corrected k9 in dg460-ansi, add other features based on manuals -TD
     5         kx #
     5         kx # 2011-08-20
     5         kx #	* minor cleanup of X-terminal emulator section -TD
     5         kx #	* add terminator entry -TD
     5         kx #	* add simpleterm entry -TD
     5         kx #
     5         kx # 2011-09-10
     5         kx #	* add xterm+kbs fragment from xterm #272 -TD
     5         kx #
     5         kx # 2011-11-12
     5         kx #	* add pccon entries for OpenBSD console (Alexei Malinin)
     5         kx #
     5         kx # 2011-12-17
     5         kx #	* corrected old changelog comments -TD
     5         kx #
     5         kx # 2011-11-24
     5         kx #	* add putty-sco -TD
     5         kx #
     5         kx # 2012-01-28
     5         kx #	* add mach-gnu (Samuel Thibault)
     5         kx #	* add mach-gnu-color, tweaks to mach-gnu -TD
     5         kx #	* make sgr for sun-color agree with smso -TD
     5         kx #	* make sgr for prism9 agree with other caps -TD
     5         kx #	* make sgr for icl6404 agree with other caps -TD
     5         kx #	* make sgr for ofcons agree with other caps -TD
     5         kx #	* make sgr for att5410v1, att4415, att620 agree with other caps -TD
     5         kx #	* make sgr for aaa-unk, aaa-rv agree with other caps -TD
     5         kx #	* make sgr for avt-ns agree with other caps -TD
     5         kx #
     5         kx # 2012-02-11
     5         kx #	* make sgr for xterm-pcolor agree with other caps -TD
     5         kx #	* make sgr for att5425 agree with other caps -TD
     5         kx #	* make sgr for att630 agree with other caps -TD
     5         kx #	* make sgr for linux entries agree with other caps -TD
     5         kx #	* make sgr for tvi9065 agree with other caps -TD
     5         kx #	* make sgr for ncr260vt200an agree with other caps -TD
     5         kx #	* make sgr for ncr160vt100pp agree with other caps -TD
     5         kx #	* make sgr for ncr260vt300an agree with other caps -TD
     5         kx #	* make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
     5         kx #	* make sgr for cygwin, cygwinDBG agree with other caps -TD
     5         kx #
     5         kx # 2012-03-31
     5         kx #	* correct order of use-clauses in st-256color -TD
     5         kx #
     5         kx # 2012-04-01
     5         kx #	* revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
     5         kx #
     5         kx # 2012-04-14
     5         kx #	* document all of the user-defined capabilities in one place -TD
     5         kx #	* add XT to some places to improve usefulness for other applications
     5         kx #	  than screen, which would like to pretend that xterm's title is
     5         kx #	  a status-line. -TD
     5         kx #	* change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
     5         kx #	  of ordering and overrides -TD
     5         kx #
     5         kx # 2012-04-21
     5         kx #	* add msgr to vt420, similar DEC vtXXX entries -TD
     5         kx #	* add several missing vt420 capabilities from vt220 -TD
     5         kx #	* factor out ansi+pp from several entries -TD
     5         kx #	* change xterm+sl and xterm+sl-twm to include only the status-line
     5         kx #	  capabilities and not "use=xterm", making them more generally useful
     5         kx #	  as building-blocks -TD
     5         kx #	* add dec+sl building block, as example -TD
     5         kx #
     5         kx # 2012-04-28
     5         kx #	* fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
     5         kx #	* add eslok flag to dec+sl -TD
     5         kx #	* dec+sl applies to vt320 and up -TD
     5         kx #	* drop wsl width from xterm+sl -TD
     5         kx #	* reuse xterm+sl in putty and nsca-m -TD
     5         kx #	* add ansi+tabs to vt520 -TD
     5         kx #	* add ansi+enq to vt220-vt520 -TD
     5         kx #
     5         kx # 2012-05-05
     5         kx #	* remove p6 (bold) from opus3n1+ for consistency -TD
     5         kx #	* remove acs stuff from env230 per clues in Ingres termcap -TD
     5         kx #	* modify env230 sgr/sgr0 to match other capabilities -TD
     5         kx #	* modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
     5         kx #	* make sgr for dku7202 agree with other caps -TD
     5         kx #	* make sgr for ibmpc agree with other caps -TD
     5         kx #	* make sgr for tek4107 agree with other caps -TD
     5         kx #	* make sgr for ndr9500 agree with other caps -TD
     5         kx #	* make sgr for sco-ansi agree with other caps -TD
     5         kx #	* make sgr for d410 agree with other caps -TD
     5         kx #	* make sgr for d210 agree with other caps -TD
     5         kx #	* make sgr for d470c, d470c-7b agree with other caps -TD
     5         kx #
     5         kx # 2012-05-12
     5         kx #	* rewrite vt520 entry based on vt420 -TD
     5         kx #	* corrected 'op' for bterm (report by Samuel Thibault) -TD
     5         kx #
     5         kx # 2012-06-02
     5         kx #	* add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
     5         kx #	  analysis by Martin Husemann).
     5         kx #	* add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
     5         kx #	  Onno van der Linden).
     5         kx #	* add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
     5         kx #	* add kdch1, etc., to qvt108 -TD
     5         kx #	* add dl1/il1 to some entries based on dl/il values -TD
     5         kx #	* add dl to simpleterm -TD
     5         kx #
     5         kx # 2012-06-10
     5         kx #	* modify some older xterm entries to align with xterm source -TD
     5         kx #	* separate "xterm-old" alias from "xterm-r6" -TD
     5         kx #
     5         kx # 2012-07-28
     5         kx #	* add E3 to xterm-basic and putty -TD
     5         kx #
     5         kx # 2012-08-11
     5         kx #	* add nsterm-256color, make this the default nsterm -TD
     5         kx #	* remove bw from nsterm-bce, per testing with tack -TD
     5         kx #
     5         kx # 2012-10-12
     5         kx #       * add vte-2012, gnome-2012, making these the defaults for vte/gnome
     5         kx #	  (patch by Christian Persch).
     5         kx #
     5         kx # 2012-11-02
     5         kx #	* reviewed vte-2012, reverted most of the change since it was incorrect
     5         kx #	  based on testing with tack -TD
     5         kx #	* un-cancel the initc in vte-256color, since this was implemented
     5         kx #	  starting with version 0.20 in 2009 -TD
     5         kx #
     5         kx # 2013-03-16
     5         kx #	* correct typo in sgr string for sun-color,
     5         kx #	  add bold for consistency with sgr,
     5         kx #	  change smso for consistency with sgr -TD
     5         kx #	* correct typo in sgr string for terminator -TD
     5         kx #	* add blink to the attributes masked by ncv in linux-16color (report
     5         kx #	  by Benjamin Sittler)
     5         kx #
     5         kx # 2013-03-23
     5         kx #	* change initialization for vt220, similar entries for consistency
     5         kx #	  with cursor-key strings (NetBSD #47674) -TD
     5         kx #	* further improvements to linux-16color (Benjamin Sittler)
     5         kx #
     5         kx # 2013-05-11
     5         kx #	* move nsterm-related entries out of "obsolete" section to more
     5         kx #	  plausible "ansi consoles" -TD
     5         kx #	* additional cleanup of table-of-contents by reordering -TD
     5         kx #
     5         kx # 2013-06-07
     5         kx #	* added note to clarify Terminal.app's non-emulation of the various
     5         kx #	  terminal types listed in the preferences dialog -TD
     5         kx #
     5         kx # 2013-11-02
     5         kx #	* use TS extension to describe xterm's title-escapes -TD
     5         kx #	* modify terminator and nsterm-s to use xterm+sl-twm building block -TD
     5         kx #	* update hurd.ti, add xenl to reflect 2011-03-06 change in
     5         kx #	  http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
     5         kx #	  (Debian #727119).
     5         kx #	* simplify pfkey expression in ansi.sys -TD
     5         kx #
     5         kx # 2013-11-10
     5         kx #	* split-out building blocks xterm+sm+1002 and xterm+sm+1003 -TD
     5         kx #
     5         kx # 2014-02-22
     5         kx #	* updated notes for wsvt25 based on tack and vttest -TD
     5         kx #	* add teken entry to show actual properties of FreeBSD's "xterm"
     5         kx #	  console -TD
     5         kx #
     5         kx # 2014-03-22
     5         kx #	* add terminology entry -TD
     5         kx #	* add mlterm3 entry, use that as "mlterm" -TD
     5         kx #	* inherit mlterm-256color from mlterm -TD
     5         kx #
     5         kx # 2014-03-23
     5         kx #	* fix typo in "mlterm" entry (report by Gabriele Balducci) -TD
     5         kx #
     5         kx # 2014-03-30
     5         kx #	* cancel ccc in putty-256color and konsole-256color for consistency
     5         kx #	  with the cancelled initc capability (patch by Sven Zuhlsdorf).
     5         kx #	* add xterm+256setaf building block for various terminals which only
     5         kx #	  get the 256-color feature half-implemented -TD
     5         kx #	* updated "st" entry (leaving the 0.1.1 version as "simpleterm") to
     5         kx #	  0.4.1 -TD
     5         kx #
     5         kx # 2014-05-03
     5         kx #	* add vt520ansi (Mike Gran)
     5         kx #
     5         kx # 2014-05-24
     5         kx #	* correct several entries which had termcap-style padding used in
     5         kx #	  terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
     5         kx #	* correct syntax for padding in some entries: dg211, h19 -TD
     5         kx #	* correct ti924-8 which had confused padding versus octal escapes -TD
     5         kx #	* correct padding in sbi entry -TD
     5         kx #
     5         kx # 2014-06-07
     5         kx #	* update xterm-new to xterm patch #305 -TD
     5         kx #	+ change screen's smso to use SGR 7 (ECMA-80 reverse) rather than SGR 3
     5         kx #	  (italic).  This was a long-ago typo in screen 3.1.1 which was
     5         kx #	  overlooked until a few terminal emulators implemented the feature -TD
     5         kx #
     5         kx # 2014-06-09
     5         kx #	> fix regression in screen terminfo entries (reports by Christian
     5         kx #	  Ebert, Gabriele Balducci) -TD
     5         kx #	+ revert the change to screen; see notes for why this did not work -TD
     5         kx #	+ cancel sitm/ritm for entries which extend "screen", to work around
     5         kx #	  screen's hardcoded behavior for SGR 3 -TD
     5         kx #
     5         kx # 2014-06-14
     5         kx #	+ modify sgr for screen.xterm-new to support dim capability -TD
     5         kx #	+ add dim capability to nsterm+7 -TD
     5         kx #	+ cancel dim capability for iterm -TD
     5         kx #	+ add dim, invis capabilities to vte-2012 -TD
     5         kx #	+ add sitm/ritm to konsole-base and mlterm3 -TD
     5         kx #
     5         kx # 2014-10-06
     5         kx #	+ add xterm-1005 and xterm-1006 entries, with suggested extension
     5         kx #	  capability "xm" -TD
     5         kx #
     5         kx # 2014-10-07
     5         kx #	+ update test-report for mrxvt -TD
     5         kx #
     5         kx # 2014-10-11
     5         kx #	+ add xterm-x10mouse, xterm-x11mouse, etc. -TD
     5         kx #
     5         kx # 2014-10-18
     5         kx #	+ reviewed terminology 0.6.1, add function key definitions.  None of
     5         kx #	  the vt100-compatibility issues were improved -TD
     5         kx #
     5         kx # 2015-04-22
     5         kx #	+ add 'dim' capability to screen entry (report by Leonardo B Schenkel)
     5         kx #	+ add several key definitions to nsterm-bce to match preconfigured
     5         kx #	  keys, e.g., with OSX 10.9 and 10.10 (report by Leonardo B Schenkel)
     5         kx #
     5         kx # 2015-05-02
     5         kx #	+ remove unnecessary ';' from E3 capabilities -TD
     5         kx #	+ add tmux entry, derived from screen (patch by Nicholas Marriott).
     5         kx #	+ split-out recent change to nsterm-bce as nsterm-build326, and add
     5         kx #	  nsterm-build342 to reflect changes with successive releases of OSX
     5         kx #	  (discussion with Leonardo B Schenkel)
     5         kx #	+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell,
     5         kx #	  Debian #783806)
     5         kx #
     5         kx # 2015-05-17
     5         kx #	+ remove screen-bce.mlterm, since mlterm does not do "bce" -TD
     5         kx #	+ add several screen.XXX entries to support the respective variations
     5         kx #	  for 256 colors -TD
     5         kx #
     5         kx # 2015-05-23
     5         kx #	+ add putty+fnkeys* building-block entries -TD
     5         kx #
     5         kx # 2015-05-30
     5         kx #	+ remove spurious "%;" from st entry (report by Daniel Pitts) -TD
     5         kx #	+ add vte-2014, update vte to use that -TD
     5         kx #
     5         kx # 2015-06-27
     5         kx #	+ comment-out "screen.xterm" entry, and inherit screen.xterm-256color
     5         kx #	  from xterm-new (report by Richard Birkett) -TD
     5         kx #
     5         kx # 2015-07-25
     5         kx #	+ add status line to tmux via xterm+sl (patch by Nicholas Marriott).
     5         kx #	+ fixes for st 0.5 from testing with tack -TD
     5         kx #
     5         kx # 2015-10-24
     5         kx #	+ updated minitel entries to fix kel problem with emacs, and add
     5         kx #	  minitel1b-nb (Alexandre Montaron).
     5         kx #	+ reviewed/updated nsterm entry Terminal.app in OSX -TD
     5         kx #	+ replace some dead URLs in commands with equivalents from the
     5         kx #	  Internet Archive -TD
     5         kx #
     5         kx # 2015-11-14
     5         kx #	+ add bold to pccon+sgr+acs and pccon-base (Tati Chevron).
     5         kx #	+ add keys f12-f124 to pccon+keys (Tati Chevron).
     5         kx #
     5         kx # 2015-11-21
     5         kx #	+ fix some inconsistencies in the pccon* entries -TD
     5         kx #
     5         kx # 2015-11-28
     5         kx #	+ add viewdata (Alexandre Montaron).
     5         kx #
     5         kx # 2016-01-16
     5         kx #	+ tidy up comments about hardcoded 256color palette (report by
     5         kx #	  Leonardo Brondani Schenkel) -TD
     5         kx #	+ add putty-noapp entry, and amend putty entry to use application mode
     5         kx #	  for better consistency with xterm (report by Leonardo Brondani
     5         kx #	  Schenkel) -TD
     5         kx #
     5         kx # 2016-04-23
     5         kx #	+ add 'oc' capability to xterm+256color, allowing palette reset for
     5         kx #	  xterm -TD
     5         kx #
     5         kx # 2016-05-14
     5         kx #	+ modify linux2.6 entry to improve line-drawing -TD
     5         kx #	+ make linux3.0 entry the default linux entry (Debian #823658) -TD
     5         kx #
     5         kx # 2016-05-29
     5         kx #	+ modify rs1 for xterm-16color, xterm-88color and xterm-256color to
     5         kx #	  reset palette using "oc" string as in linux -TD
     5         kx #
     5         kx # 2016-06-11
     5         kx #	+ use ANSI reply for u8 in xterm-new, to reflect vt220-style responses
     5         kx #	  that could be returned -TD
     5         kx #	+ added a few capabilities fixed in recent vte -TD
     5         kx #
     5         kx # 2016-08-17
     5         kx #	+ correct a typo in interix -TD
     5         kx #
     5         kx # 2016-09-24
     5         kx #	+ updated minitel entries to use status line with screen(1), as well as
     5         kx #	  printing special G2 videotex chars like french accentuated glyph
     5         kx #	  using special cap XC= (patch by Alexandre Montaron).
     5         kx #
     5         kx # 2016-10-01
     5         kx #	+ add linux-m1 minitel entries (patch by Alexandre Montaron).
     5         kx #	+ correct rs2 string for vt100-nam -TD
     5         kx #
     5         kx # 2016-11-26
     5         kx #	+ modify linux-16color to not mask dim, standout or reverse with the
     5         kx #	  ncv capability -TD
     5         kx #	+ add 0.1sec mandatory delay to flash capabilities using the VT100
     5         kx #	  reverse-video control -TD
     5         kx #	+ omit selection of ISO-8859-1 for G0 in enacs capability from linux2.6
     5         kx #	  entry, to avoid conflict with the user-defined mapping.  The reset
     5         kx #	  feature will use ISO-8859-1 in any case (Mikulas Patocka).
     5         kx #
     5         kx # 2016-12-30
     5         kx #	+ merge current st description (report by Harry Gindi) -TD
     5         kx #
     5         kx # 2016-12-31
     5         kx #	+ modify flash capability for linux and wyse entries to put the delay
     5         kx #	  between the reverse/normal escapes rather than after -TD
     5         kx #
     5         kx # 2017-01-28
     5         kx #	+ minor comment-fixes to help automate links to bug-urls -TD
     5         kx #	+ add dvtm, dvtm-256color -TD
     5         kx #	+ add settings corresponding to xterm-keys option to tmux entry to
     5         kx #	  reflect upcoming change to make that option "on" by default
     5         kx #	  (patch by Nicholas Marriott).
     5         kx #	+ uncancel Ms in tmux entry (Harry Gindi, Nicholas Marriott).
     5         kx #	+ add dumb-emacs-ansi -TD
     5         kx #
     5         kx # 2017-03-05
     5         kx #	+ correct a few spelling errors in comments -TD
     5         kx #	+ add fbterm -TD
     5         kx #
     5         kx # 2017-03-11
     5         kx #	+ add vt100+4bsd building block, use that for older terminals rather
     5         kx #	  than "vt100" which is now mostly used as a building block for
     5         kx #	  terminal emulators -TD
     5         kx #	+ modify vt100 rs2 string to reset vt52 mode and scrolling regions
     5         kx #	  (report/analysis by Robert King) -TD
     5         kx #
     5         kx # 2017-04-01
     5         kx #	+ minor fixes for vt100+4bsd, e.g., delay in sgr for consistency -TD
     5         kx #	+ add smso for env230, to match sgr -TD
     5         kx #	+ remove p7/protect from sgr in fbterm -TD
     5         kx #	+ drop setf/setb from fbterm; setaf/setab are enough -TD
     5         kx #	+ make xterm-pcolor sgr consistent with other capabilities -TD
     5         kx #	+ add rmxx/smxx ECMA-48 strikeout extension to tmux and xterm-basic
     5         kx #	  (discussion with Nicholas Marriott)
     5         kx #
     5         kx # 2017-04-22
     5         kx #	+ correct missing comma-separator between string capabilities in
     5         kx #	  icl6402 and m2-nam -TD
     5         kx #	+ update formatting with ncurses 6.0.20170422 -TD
     5         kx #	+ restore rmir/smir in ansi+idc to better match original ansiterm+idc,
     5         kx #	  add alias ansiterm (report by Robert King).
     5         kx #
     5         kx # 2017-05-13
     5         kx #	+ reformatted using hexadecimal numbers to improve readability -TD
     5         kx #
     5         kx # 2017-07-29
     5         kx #	+ update interix entry using tack and SFU on Windows 7 Ultimate -TD
     5         kx #	+ use ^? for kdch1 in interix (reported by Jonathan de Boyne Pollard)
     5         kx #	+ add "rep" to xterm-new, available since 1997/01/26 -TD
     5         kx #	+ move SGR 24 and 27 from vte-2014 to vte-2012 (request by Alain
     5         kx #	  Williams) -TD
     5         kx #
     5         kx # 2017-08-16
     5         kx #	+ update "iterm" entry -TD
     5         kx #	+ add "iterm2" entry (report by Leonardo Brondani Schenkel) -TD
     5         kx #
     5         kx # 2017-08-18
     5         kx #	+ update notes on user-defined capabilities -TD
     5         kx #
     5         kx # 2017-08-26
     5         kx #	+ fixes for "iterm2" (report by Leonardo Brondani Schenkel) -TD
     5         kx #
     5         kx # 2017-11-11
     5         kx #	+ add "op" to xterm+256setaf -TD
     5         kx #	+ reviewed terminology 1.0.0 -TD
     5         kx #	+ reviewed st 0.7 -TD
     5         kx #
     5         kx # 2017-11-18
     5         kx #	+ modify old terminology entry and a few other terminal emulators to
     5         kx #	  account for xon -TD
     5         kx #	+ correct sgr string for tmux, which used screen's "standout" code
     5         kx #	  rather than the standard code (patch by Roman Kagan)
     5         kx #	+ correct sgr/sgr0 strings in a few other cases reported by tic, making
     5         kx #	  those correspond to the non-sgr settings where they differ, but
     5         kx #	  otherwise use ECMA-48 consistently:
     5         kx #	  jaixterm, aixterm, att5420_2, att4424, att500, decansi, d410-7b,
     5         kx #	  dm80, hpterm, emu-220, hp2, iTerm2.app, mterm-ansi, ncrvt100an,
     5         kx #	  st-0.7, vi603, vwmterm -TD
     5         kx #
     5         kx # 2017-12-30
     5         kx #	+ add xterm+noalt, xterm+titlestack, xterm+alt1049, xterm+alt+title
     5         kx #	  blocks from xterm #331 -TD
     5         kx #	+ add xterm+direct, xterm+indirect, xterm-direct entries from xterm
     5         kx #	  #331 -TD
     5         kx #	+ modify xterm+256color and xterm+256setaf to use correct number of
     5         kx #	  color pairs, for ncurses 6.1 -TD
     5         kx #	+ add rs1 capability to xterm-256color -TD
     5         kx #	+ modify xterm-r5, xterm-r6 and xterm-xf86-v32 to use xterm+kbs to
     5         kx #	  match xterm #272, reflecting packager's changes -TD
     5         kx #	+ remove "boolean" Se, Ss from st-0.7 -TD
     5         kx #
     5         kx # 2018-01-04
     5         kx #	+ add konsole-direct and st-direct -TD
     5         kx #	+ remove unsupported "Tc" capability from st-0.7; use st-direct if
     5         kx #	  direct-colors are wanted -TD
     5         kx #
     5         kx # 2018-01-17
     5         kx #	+ add vte-direct -TD
     5         kx #	+ add XT, hpa, indn, and vpa to screen, and invis, E3 to tmux (patch by
     5         kx #	  Pierre Carru)
     5         kx #
     5         kx # 2018-01-21
     5         kx #	+ use xterm+sm+1006 in xterm-new, vte-2014 -TD
     5         kx #	+ use xterm+x11mouse in iterm, iterm2, mlterm3 because xterm's 1006
     5         kx #	  mode does not work with those programs.  konsole is debatable -TD
     5         kx #	+ add "termite" entry (report by Markus Pfeiffer) -TD
     5         kx #
     5         kx # 2018-01-27
     5         kx #	+ trim "XT" from screen entry -TD
     5         kx #	+ modify iterm to use xterm+sl-twm building block -TD
     5         kx #	+ mark konsole-420pc, konsole-vt100, konsole-xf3x obsolete reflecting
     5         kx #	  konsole's removal in 2008 -TD
     5         kx #	+ expanded the history section of konsole to explain its flawed
     5         kx #	  imitation of xterm's keyboard -TD
     5         kx #	+ use xterm+x11mouse in screen.* entries because screen does not yet
     5         kx #	  support xterm's 1006 mode -TD
     5         kx #	+ add nsterm-build400 for macOS 10.13 -TD
     5         kx #	+ add ansi+idc1, use that in ansi+idc adding dch for consistency -TD
     5         kx #	+ update vte to vte-2017 -TD
     5         kx #	+ add ecma+strikeout to vte-2017 -TD
     5         kx #	+ add iterm2-direct -TD
     5         kx #	+ updated teraterm, added teraterm-256color -TD
     5         kx #	+ add mlterm-direct -TD
     5         kx #	+ add descriptions for ANSI building-blocks -TD
     5         kx #
     5         kx # 2018-02-24
     5         kx #	+ correct Ss/Ms interchange in st-0.7 entry (tmux #1264) -TD
     5         kx #	+ fix remaining flash capabilities with trailing mandatory delays -TD
     5         kx #
     5         kx # 2018-03-17
     5         kx #	+ trim some redundant capabilities from st-0.7 -TD
     5         kx #	+ trim unnecessary setf/setb from interix -TD
     5         kx #
     5         kx # 2018-05-19
     5         kx #	+ trim spurious whitespace from tmux in 2018-02-24 changes;
     5         kx #	  fix some inconsistencies in/between tmux- and iterm2-entries for SGR
     5         kx #	  (report by C Anthony Risinger)
     5         kx #	+ improve iterm2 using some xterm features which it has adapted -TD
     5         kx #
     5         kx # 2018-06-30
     5         kx #	+ add acsc string to vi200 (Nibby Nebbulous)
     5         kx #	  add right/down-arrow to vi200's acsc -TD
     5         kx #
     5         kx # 2018-07-21
     5         kx #	+ corrected acsc for wy50 -TD
     5         kx #	+ add wy50 and wy60 shifted function-keys as kF1 to kF16 -TD
     5         kx #	+ remove ansi+rep mis-added to interix in 2018-02-23 -TD
     5         kx #
     5         kx # 2018-07-28
     5         kx #	+ fix typo in tvi955 -TD
     5         kx #	+ corrected acsc for regent60 -TD
     5         kx #	+ add alias n7900 -TD
     5         kx #
     5         kx # 2018-09-29
     5         kx #	+ corrected acsc for tvi950 -TD
     5         kx #	+ remove bogus kf0 from tvi950 -TD
     5         kx #	+ added function-key definitions to agree with Televideo 950 manual -TD
     5         kx #	+ add bel to tvi950 -TD
     5         kx #	+ add shifted function-keys to regent60 -TD
     5         kx #	+ renumber regent40 function-keys to match manual -TD
     5         kx #	+ add cd (clr_eos) to adds200 -TD
     5         kx #
     5         kx # 2018-10-27
     5         kx #	+ add OpenGL clients alacritty and kitty -TD
     5         kx #	+ add Smulx for tmux, vte-2018 -Nicholas Marriott
     5         kx #
     5         kx # 2018-12-15
     5         kx #	+ fix a typo in comments (Aaron Gyes).
     5         kx #	+ add nsterm-build309 to replace nsterm-256color, assigning the latter
     5         kx #	  as an alias of nsterm, to make mouse work with nsterm-256color -TD
     5         kx #	+ base gnome-256color entry on "gnome", not "vte", for consistency -TD
     5         kx #
     5         kx # 2019-01-12
     5         kx #	+ add nsterm-direct -TD
     5         kx #	+ use SGR 1006 mouse for konsole-base -TD
     5         kx #	+ use SGR 1006 mouse for putty -TD
     5         kx #	+ add ti703/ti707, ti703-w/ti707-w (Robert Clausecker)
     5         kx #
     5         kx # 2019-02-23
     5         kx #	+ fix typo in adds200 -TD
     5         kx #
     5         kx # 2019-03-30
     5         kx #	+ add "screen5", to mention italics (report by Stefan Assmann)
     5         kx #	+ modify description of xterm+x11hilite to eliminate unused p5 -TD
     5         kx #
     5         kx # 2019-05-18
     5         kx #	+ update xterm-new to xterm patch #345 -TD
     5         kx #	+ add/use xterm+keypad in xterm-new (report by Alain D D Williams) -TD
     5         kx #	+ update terminator entry -TD
     5         kx #	+ remove hard-tabs from ti703 (report by Robert Clausecker)
     5         kx #	+ add Smol/Rmol for tmux, vte-2018 -Nicholas Marriott
     5         kx #
     5         kx # 2019-06-01
     5         kx #	+ add rs1 to konsole, mlterm -TD
     5         kx #
     5         kx # 2019-06-08
     5         kx #	+ add mintty, mintty-direct (Thomas Wolff)
     5         kx # 2019-06-09
     5         kx #	+ comment-out some user-defined capabilities in mintty+common to allow
     5         kx #	  builds with existing releases 5.9-6.1 -TD
     5         kx #
     5         kx # 2019-06-30
     5         kx #	+ add ms-terminal -TD
     5         kx #	+ add vscode, vscode-direct -TD
     5         kx #	+ use ecma+index in screen, st -TD
     5         kx #
     5         kx # 2019-07-06
     5         kx #	+ add domterm -TD
     5         kx #	+ improve comments for recent changes, add alias xterm.js -TD
     5         kx #
     5         kx # 2019-08-03
     5         kx #	+ amend the change to screen, because tmux relies upon that entry
     5         kx #	  and does not support that feature (Debian #933572) -TD
     5         kx #	+ updated ms-terminal entry & notes -TD
     5         kx #	+ updated kitty entry & notes -TD
     5         kx #	+ updated alacritty+common entry & notes -TD
     5         kx #	+ use xterm+sl-twm for consistency -TD
     5         kx #
     5         kx # 2019-09-22
     5         kx #	+ correct a comment -TD
     5         kx #
     5         kx # 2019-10-26
     5         kx #	+ modify linux-16color to accommodate Linux console driver change in
     5         kx #	  early 2018 (report by Dino Petrucci).
     5         kx #
     5         kx # 2019-11-02
     5         kx #	+ add "xterm-mono" to help packagers (report by Sven Joachim) -TD
     5         kx #
     5         kx # 2019-11-09
     5         kx #	+ drop ich1 from rxvt-basic, Eterm and mlterm to improve compatibility
     5         kx #	  with old non-curses programs -TD
     5         kx #	+ reviewed st 0.8.2, updated some details -TD
     5         kx #	+ use ansi+rep several places -TD
     5         kx #
     5         kx # 2020-01-12
     5         kx #	+ update alacritty entries for 0.4.0 (prompted by patch by
     5         kx #	  Christian Duerr) -TD
     5         kx #
     5         kx # 2020-01-18
     5         kx #	+ spelling fixes per codespell -TD
     5         kx #	+ improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
     5         kx #
     5         kx # 2020-02-22
     5         kx #	+ improve vt50h and vt52 based on DECScope manual -TD
     5         kx #	+ add/use vt52+keypad and vt52-basic -TD
     5         kx #
     5         kx # 2020-04-18
     5         kx #	+ use vt52+keypad in xterm-vt52, from xterm #354 -TD
     5         kx #
     5         kx # 2020-04-25
     5         kx #	+ use vt100+fnkeys in putty -TD
     5         kx #
     5         kx # 2020-05-02
     5         kx #	+ add details on the change to Linux SGR 21 in 2018 -TD
     5         kx #	+ add xterm-direct16 and xterm-direct256 -TD
     5         kx #
     5         kx # 2020-05-03
     5         kx #	+ fix some dead URLs -TD
     5         kx #
     5         kx # 2020-05-16
     5         kx #	+ update notes on vscode / xterm.js -TD
     5         kx #
     5         kx # 2020-05-30
     5         kx #	+ re-enable "bel" in konsole-base (report by Nia Huang)
     5         kx #	+ add linux-s entry (patch by Alexandre Montaron).
     5         kx #
     5         kx # 2020-06-06
     5         kx #	+ add xterm+256color2, xterm+88color2, to deprecate nonstandard usage
     5         kx #	  in xterm+256color, xterm+88color -TD
     5         kx #	+ add shifted Linux console keys in linux+sfkeys entry for
     5         kx #	  screen.linux (report by Alexandre Montaron).
     5         kx #	+ use vt100+enq in screen (report by Alexandre Montaron).
     5         kx #	+ add screen.linux-s alias (suggested by Alexandre Montaron).
     5         kx #
     5         kx # 2020-07-11
     5         kx #	+ fix pound-sign mapping in acsc of linux2.6 entry (report by Ingo
     5         kx #	  Bruckl).
     5         kx #
     5         kx # 2020-08-28
     5         kx #	+ correct icl6404 csr (report by Florian Weimer).
     5         kx #	+ correct ti916 cup (report by Florian Weimer).
     5         kx #	+ improve ndr9500 (report by Florian Weimer).
     5         kx #
     5         kx # 2020-09-05
     5         kx #	+ correct description of vt330/vt340 (Ross Combs).
     5         kx #
     5         kx # 2020-09-19
     5         kx #	+ update mlterm3 for 3.9.0 (report by Premysl Eric Janouch).
     5         kx #
     5         kx # 2020-09-29
     5         kx #	+ add tmux-direct (tmux #2370)
     5         kx #	+ simplify mlterm initialization with DECSTR -TD
     5         kx #	+ change tmux's kbs to ^? (report by Premysl Eric Janouch)
     5         kx #
     5         kx # 2020-10-10
     5         kx #	+ correct sgr in aaa+rv (report by Florian Weimer) -TD
     5         kx #	+ fix some sgr inconsistencies in d230c, ibm6153, ibm6154,
     5         kx #	  ncrvt100an -TD
     5         kx #
     5         kx # 2020-10-17
     5         kx #	+ expanded notes about tek4107 -TD
     5         kx #
     5         kx # 2020-11-07
     5         kx #	+ update kitty+common -TD
     5         kx #	+ add putty+screen and putty-screen (suggested by Alexandre Montaron).
     5         kx #
     5         kx # 2020-11-28
     5         kx #	+ add Smulx to alacritty (Christian Duerr).
     5         kx #	+ add rep to PuTTY -TD
     5         kx #	+ add putty+keypad -TD
     5         kx #
     5         kx # 2020-12-05
     5         kx #	+ correct mlterm3 kf1-kf4 (Debian #975322) -TD
     5         kx #	+ add flash to mlterm3 -TD
     5         kx #
     5         kx ######## SHANTIH!  SHANTIH!  SHANTIH!