150276Speter######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
250276Speter#
3166124Srafan# This version of terminfo.src is distributed with ncurses and is maintained
4166124Srafan# by Thomas E. Dickey (TD).
5166124Srafan#
697049Speter# Report bugs and new terminal descriptions to
762449Speter#	bug-ncurses@gnu.org
850276Speter#
9262685Sdelphij#	$Revision: 1.484 $
10262685Sdelphij#	$Date: 2014/02/22 21:03:37 $
11166124Srafan#
1297049Speter# The original header is preserved below for reference.  It is noted that there
13166124Srafan# is a "newer" version which differs in some cosmetic details (but actually
14166124Srafan# stopped updates several years ago); we have decided to not change the header
15166124Srafan# unless there is also a change in content.
1697049Speter#
17166124Srafan# To further muddy the waters, it is noted that changes to this file as part of
18166124Srafan# maintenance of ncurses (since 1996) are generally conceded to be copyright
19166124Srafan# under the ncurses MIT-style license.  That was the effect of the agreement
20166124Srafan# which the principal authors of ncurses made in 1998.  However, since much of
21166124Srafan# the file itself is of unknown authorship (and the disclaimer below makes it
22166124Srafan# obvious that Raymond cannot or will not convey rights over those parts),
23166124Srafan# there is no explicit copyright notice on the file itself.
24166124Srafan#
25166124Srafan# It would also be a nuisance to split the file into unknown/known authorship
26166124Srafan# and move pieces as they are maintained, since many of the maintenance changes
27166124Srafan# have been small corrections to Raymond's translations to/from termcap format,
28166124Srafan# correcting the data but not the accompanying annotations.
29166124Srafan#
30166124Srafan# In any case, note that almost half of this file is not data but annotations
31166124Srafan# which reflect creative effort.  Furthermore, the structure of entries to
32166124Srafan# reuse common chunks also is creative (and subject to copyright).  Finally,
33166124Srafan# some portions of the data are derivative work under a compatible MIT-style
34166124Srafan# license from xterm.
35166124Srafan#
3697049Speter#------------------------------------------------------------------------------
3750276Speter#	Version 10.2.1
3850276Speter#	terminfo syntax
3950276Speter#
4050276Speter#	Eric S. Raymond		(current maintainer)
4150276Speter#	John Kunze, Berkeley
4250276Speter#	Craig Leres, Berkeley
4350276Speter#
4462449Speter# Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
4550276Speter# address is no longer valid.  The latest version can always be found at
4662449Speter# <http://www.tuxedo.org/terminfo>.
4750276Speter#
4850276Speter# PURPOSE OF THIS FILE:
4950276Speter#
5050276Speter# This file describes the capabilities of various character-cell terminals,
5150276Speter# as needed by software such as screen-oriented editors.
5250276Speter#
5350276Speter# Other terminfo and termcap files exist, supported by various OS vendors
5450276Speter# or as relics of various older versions of UNIX.  This one is the longest
5550276Speter# and most comprehensive one in existence.  It subsumes not only the entirety
5650276Speter# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
5750276Speter# termcap file, but also large numbers of vendor-maintained termcap and
5850276Speter# terminfo entries more complete and carefully tested than those in historical
5950276Speter# termcap/terminfo versions.
6050276Speter#
6150276Speter# Pointers to related resources (including the ncurses distribution) may
6262449Speter# be found at <http://www.tuxedo.org/terminfo>.
6350276Speter#
6450276Speter# INTERNATIONALIZATION:
6550276Speter#
6650276Speter# This file uses only the US-ASCII character set (no ISO8859 characters).
6750276Speter#
6850276Speter# This file assumes a US-ASCII character set. If you need to fix this, start
6950276Speter# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
7050276Speter# for your character set.  \E(A and \E)A enables the British character set
71166124Srafan# with the pound sign at position 2/3.
7250276Speter#
7350276Speter# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
7450276Speter# C1 characters are considered the first-byte set of the Japanese encodings,
7550276Speter# so \E)0 should be avoided in <enacs> and initialization strings.
7650276Speter#
7750276Speter# FILE FORMAT:
7850276Speter#
7950276Speter# The version you are looking at may be in any of three formats: master
8050276Speter# (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
8150276Speter# which by the format given in the header above.
8250276Speter#
8350276Speter# The master format is accepted and generated by the terminfo tools in the
8450276Speter# ncurses suite; it differs from stock (System V-compatible) terminfo only
8550276Speter# in that it admits a group of capabilities (prefixed `OT') equivalent to
8650276Speter# various obsolete termcap capabilities.  You can, thus, convert from master
8750276Speter# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
8850276Speter# you have ncurses `tic -I' is nicer (among other things, it automatically
8950276Speter# outputs entries in a canonical form).
9050276Speter#
9150276Speter# The termcap version is generated automatically from the master version
9250276Speter# using tic -C.  This filtering leaves in the OT capabilities under their
9350276Speter# original termcap names.  All translated entries fit within the 1023-byte
9450276Speter# string-table limit of archaic termcap libraries except where explicitly
9550276Speter# noted below.  Note that the termcap translation assumes that your termcap
9650276Speter# library can handle multiple tc capabilities in an entry. 4.4BSD has this
97166124Srafan# capability.  Older versions of GNU termcap, through 1.3, do not.
9850276Speter#
9950276Speter# For details on these formats, see terminfo(5) in the ncurses distribution,
10050276Speter# and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
10150276Speter# curses has been declared obsolete by the caretakers of the 4.4BSD sources
10250276Speter# as of June 1995; they are encouraging everyone to migrate to ncurses.
10350276Speter#
10450276Speter# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
10550276Speter# no entry in this file has embedded comments.  This is so source translation
10650276Speter# to termcap only has to carry over leading comments.  Also, no name field
10750276Speter# contains embedded whitespace (such whitespace confuses rdist).
10850276Speter#
10950276Speter# Further note: older versions of this file were often installed with an editor
11050276Speter# script (reorder) that moved the most common terminal types to the front of
11150276Speter# the file.  This should no longer be necessary, as the file is now ordered
11250276Speter# roughly by type frequency with ANSI/VT100 and other common types up front.
11350276Speter#
11450276Speter# Some information has been merged in from terminfo files distributed by
11550276Speter# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
11650276Speter# comes from vendors who maintain official terminfos for their hardware
11750276Speter# (notably DEC and Wyse).
11850276Speter#
11950276Speter# A detailed change history is included at the end of this file.
12050276Speter#
12150276Speter# FILE ORGANIZATION:
12250276Speter#
12350276Speter# Comments in this file begin with # - they cannot appear in the middle
12450276Speter# of a terminfo/termcap entry (this feature had to be sacrificed in order
12550276Speter# to allow standard terminfo and termcap syntax to be generated cleanly from
12650276Speter# the master format).  Individual capabilities are commented out by
12750276Speter# placing a period between the colon and the capability name.
12850276Speter#
129166124Srafan# The file is divided up into major sections (headed by lines beginning with
13050276Speter# the string "########") and minor sections (beginning with "####"); do
13150276Speter#
13250276Speter#	grep "^####" <file> | more
13350276Speter#
13450276Speter# to see a listing of section headings.  The intent of the divisions is
13550276Speter# (a) to make it easier to find things, and (b) to order the database so
13650276Speter# that important and frequently-encountered terminal types are near the
13750276Speter# front (so that you'll get reasonable search efficiency from a linear
13850276Speter# search of the termcap form even if you don't use reorder).  Minor sections
139166124Srafan# usually correspond to manufacturers or standard terminal classes.
14050276Speter# Parenthesized words following manufacturer names are type prefixes or
14150276Speter# product line names used by that manufacturers.
14250276Speter#
14350276Speter# HOW TO READ THE ENTRIES:
14450276Speter#
14550276Speter# The first name in an entry is the canonical name for the model or
14650276Speter# type, last entry is a verbose description.  Others are mnemonic synonyms for
14750276Speter# the terminal.
14850276Speter#
14950276Speter# Terminal names look like <manufacturer> <model> - <modes/options>
15050276Speter# The part to the left of the dash, if a dash is present, describes the
15150276Speter# particular hardware of the terminal.  The part to the right may be used
15250276Speter# for flags indicating special ROMs, extra memory, particular terminal modes,
15350276Speter# or user preferences.
15450276Speter#
15550276Speter# All names should be in lower case, for consistency in typing.
15650276Speter#
15750276Speter# The following are conventionally used suffixes:
15850276Speter#	-2p	Has two pages of memory.  Likewise 4p, 8p, etc.
15950276Speter#	-am	Enable auto-margin.
16050276Speter#	-m	Monochrome.  Suppress color support
16150276Speter#	-mc	Magic-cookie.  Some terminals (notably older Wyses) can
16250276Speter#		only support one attribute without magic-cookie lossage.
16350276Speter#		Their base entry is usually paired with another that
16450276Speter#		uses magic cookies to support multiple attributes.
16550276Speter#	-nam	No auto-margin - suppress <am> capability
16650276Speter#	-nl	No labels - suppress soft labels
16750276Speter#	-ns	No status line - suppress status line
16850276Speter#	-rv	Terminal in reverse video mode (black on white)
16950276Speter#	-s	Enable status line.
17050276Speter#	-vb	Use visible bell (<flash>) rather than <bel>.
17150276Speter#	-w	Wide - in 132 column mode.
172166124Srafan# If a name has multiple suffixes and one is a line height, that one should
173166124Srafan# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
174166124Srafan#
17550276Speter# Entries with embedded plus signs are designed to be included through use/tc
176166124Srafan# capabilities, not used as standalone entries.
17750276Speter#
17850276Speter# To avoid search clashes, some older all-numeric names for terminals have
17950276Speter# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
18050276Speter# All primary names of terminals now have alphanumeric prefixes.
18150276Speter#
18250276Speter# Comments marked "esr" are mostly results of applying the termcap-compiler
183166124Srafan# code packaged with ncurses and contemplating the resulting error messages.
18450276Speter# In many cases, these indicated obvious fixes to syntax garbled by the
18550276Speter# composers.  In a few cases, I was able to deduce corrected forms for garbled
18650276Speter# capabilities by looking at context.  All the information in the original
18750276Speter# entries is preserved in the comments.
18850276Speter#
18950276Speter# In the comments, terminfo capability names are bracketed with <> (angle
19050276Speter# brackets).  Termcap capability names are bracketed with :: (colons).
19150276Speter#
19250276Speter# INTERPRETATION OF USER CAPABILITIES
19350276Speter#
19450276Speter# The System V Release 4 and XPG4 terminfo format defines ten string
19550276Speter# capabilities for use by applications, <u0>...<u9>.   In this file, we use
19650276Speter# certain of these capabilities to describe functions which are not covered
19750276Speter# by terminfo.  The mapping is as follows:
19850276Speter#
19950276Speter#	u9	terminal enquire string (equiv. to ANSI/ECMA-48 DA)
20050276Speter#	u8	terminal answerback description
20150276Speter#	u7	cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
20250276Speter#	u6	cursor position report (equiv. to ANSI/ECMA-48 CPR)
20350276Speter#
20450276Speter# The terminal enquire string <u9> should elicit an answerback response
20550276Speter# from the terminal.  Common values for <u9> will be ^E (on older ASCII
20650276Speter# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
20750276Speter#
20850276Speter# The cursor position request (<u7>) string should elicit a cursor position
20950276Speter# report.  A typical value (for VT100 terminals) is \E[6n.
21050276Speter#
21150276Speter# The terminal answerback description (u8) must consist of an expected
21250276Speter# answerback string.  The string may contain the following scanf(3)-like
21350276Speter# escapes:
21450276Speter#
21550276Speter#	%c	Accept any character
21650276Speter#	%[...]	Accept any number of characters in the given set
21750276Speter#
218166124Srafan# The cursor position report (<u6>) string must contain two scanf(3)-style
21950276Speter# %d format elements.  The first of these must correspond to the Y coordinate
22050276Speter# and the second to the %d.  If the string contains the sequence %i, it is
22150276Speter# taken as an instruction to decrement each value after reading it (this is
22250276Speter# the inverse sense from the cup string).  The typical CPR value is
22350276Speter# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
22450276Speter#
22562449Speter# These capabilities are used by tack(1m), the terminfo action checker
22662449Speter# (distributed with ncurses 5.0).
22750276Speter#
22850276Speter# TABSET FILES
22950276Speter#
23050276Speter# All the entries in this file have been edited to assume that the tabset
23150276Speter# files directory is /usr/share/tabset, in conformance with the File Hierarchy
23250276Speter# Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
233166124Srafan# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
23450276Speter#
23550276Speter# No curses package we know of actually uses these files.  If their location
23650276Speter# is an issue, you will have to hand-patch the file locations before compiling
23750276Speter# this file.
238166124Srafan#
23950276Speter# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
24050276Speter#
24150276Speter# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
24250276Speter# character-cell terminals are increasingly replaced by X displays, much of
24350276Speter# this file is becoming a historical document (this is part of the reason for
24462449Speter# the new organization, which puts ANSI types, xterm, Unix consoles,
24550276Speter# and vt100 up front in confidence that this will catch 95% of new hardware).
24650276Speter#
24750276Speter# For the terminal types still alive, I'd like to have manufacturer's
24850276Speter# contact data (Internet address and/or snail-mail + phone).
24950276Speter#
25050276Speter# I'm also interested in enriching the comments so that the latter portions of
25150276Speter# the file do in fact become a potted history of VDT technology as seen by
25250276Speter# UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
25350276Speter# include its live/dead/out-of-the-business status, and for as many
25450276Speter# terminal types as possible to be tagged with information like years
25550276Speter# of heaviest use, popularity, and interesting features.
25650276Speter#
25750276Speter# I'm especially interested in identifying the obscure entries listed under
25850276Speter# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
25950276Speter# wisdom about them gets lost.  If you know a lot about obscure old terminals,
260166124Srafan# please go to the terminfo resource page, grab the UFO file (ufo.ti), and
261166124Srafan# eyeball it for things you can identify and describe.
26250276Speter#
26350276Speter# If you have been around long enough to contribute, please read the file
26450276Speter# with this in mind and send me your annotations.
26550276Speter#
26650276Speter# COPYRIGHTS AND OTHER DELUSIONS
26750276Speter#
26850276Speter# The BSD ancestor of this file had a standard Regents of the University of
26950276Speter# California copyright with dates from 1980 to 1993.
27050276Speter#
27150276Speter# Some information has been merged in from a terminfo file SCO distributes.
272166124Srafan# It has an obnoxious boilerplate copyright which I'm ignoring because they
27350276Speter# took so much of the content from the ancestral BSD versions of this file
27450276Speter# and didn't attribute it, thereby violating the BSD Regents' copyright.
27550276Speter#
27650276Speter# Not that anyone should care.  However many valid functions copyrights may
27750276Speter# serve, putting one on a termcap/terminfo file with hundreds of anonymous
27850276Speter# contributors makes about as much sense as copyrighting a wall-full of
27950276Speter# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
28050276Speter#
28150276Speter# This file deliberately has no copyright.  It belongs to no one and everyone.
282166124Srafan# If you claim you own it, you will merely succeed in looking like a fool.
28350276Speter# Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
28450276Speter# There are no guarantees anywhere.  Svaha!
28550276Speter#
28650276Speter
28750276Speter######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
28850276Speter#
28962449Speter# This section describes terminal classes and brands that are still
29050276Speter# quite common.
29150276Speter#
29250276Speter
29350276Speter#### Specials
29450276Speter#
29550276Speter# Special "terminals".  These are used to label tty lines when you don't
29650276Speter# know what kind of terminal is on it.  The characteristics of an unknown
29750276Speter# terminal are the lowest common denominator - they look about like a ti 700.
29850276Speter#
29950276Speter
300166124Srafandumb|80-column dumb tty,
301166124Srafan	am,
302166124Srafan	cols#80,
303166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
304166124Srafanunknown|unknown terminal type,
305166124Srafan	gn, use=dumb,
306166124Srafanlpr|printer|line printer,
307166124Srafan	OTbs, hc, os,
308166124Srafan	cols#132, lines#66,
309166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J,
310166124Srafanglasstty|classic glass tty interpreting ASCII control characters,
311166124Srafan	OTbs, am,
312166124Srafan	cols#80,
313166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H,
314166124Srafan	kcud1=^J, nel=^M^J, .kbs=^H,
31550276Speter
316166124Srafanvanilla|dumb tty,
317166124Srafan	OTbs,
318166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
31962449Speter
320174993Srafan# This is almost the same as "dumb", but with no prespecified width.
321174993Srafan# DEL and ^C are hardcoded to act as kill characters.
322174993Srafan# ^D acts as a line break (just like newline).
323174993Srafan# It also interprets
324262685Sdelphij#      \033];xxx\007
325174993Srafan# for compatibility with xterm -TD
326174993Srafan9term|Plan9 terminal emulator for X,
327174993Srafan	am,
328174993Srafan	OTnl=^J, bel=^G, cud1=^J,
329174993Srafan
33050276Speter#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
33150276Speter#
33250276Speter# See the end-of-file comment for more on these.
33350276Speter#
33450276Speter
33562449Speter# ANSI capabilities are broken up into pieces, so that a terminal
33662449Speter# implementing some ANSI subset can use many of them.
337166124Srafanansi+local1,
338166124Srafan	cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
339166124Srafanansi+local,
340166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
341166124Srafan	cuu=\E[%p1%dA, use=ansi+local1,
342166124Srafanansi+tabs,
343262629Sdelphij	cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[3g,
344166124Srafanansi+inittabs,
345166124Srafan	it#8, use=ansi+tabs,
346166124Srafanansi+erase,
347166124Srafan	clear=\E[H\E[J, ed=\E[J, el=\E[K,
348166124Srafanansi+rca,
349166124Srafan	hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd,
350166124Srafanansi+cup,
351166124Srafan	cup=\E[%i%p1%d;%p2%dH, home=\E[H,
352166124Srafanansi+rep,
353166124Srafan	rep=%p1%c\E[%p2%{1}%-%db,
354166124Srafanansi+idl1,
355166124Srafan	dl1=\E[M, il1=\E[L,
356166124Srafanansi+idl,
357166124Srafan	dl=\E[%p1%dM, il=\E[%p1%dL, use=ansi+idl1,
358166124Srafanansi+idc,
359166124Srafan	dch1=\E[P, ich=\E[%p1%d@, ich1=\E[@, rmir=\E6, smir=\E6,
360166124Srafanansi+arrows,
361166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
362166124Srafan	khome=\E[H,
363166124Srafanansi+sgr|ansi graphic renditions,
364166124Srafan	blink=\E[5m, invis=\E[8m, rev=\E[7m,
365166124Srafan	sgr=\E[0%?%p3%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
366166124Srafan	sgr0=\E[0m,
367166124Srafanansi+sgrso|ansi standout only,
368166124Srafan	rmso=\E[m, smso=\E[7m,
369166124Srafanansi+sgrul|ansi underline only,
370166124Srafan	rmul=\E[m, smul=\E[4m,
371166124Srafanansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim,
372166124Srafan	bold=\E[1m,
373166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
374166124Srafan	use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
375166124Srafanansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold,
376166124Srafan	dim=\E[2m,
377166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m,
378166124Srafan	use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul,
379166124Srafanansi+csr|ansi scroll-region plus cursor save & restore,
380166124Srafan	csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7,
38162449Speter
382262685Sdelphij# The normal (ANSI) flavor of "media copy" building block asserts that
383262685Sdelphij# characters sent to the printer do not echo on the screen. DEC terminals
384262685Sdelphij# can also be put into autoprinter mode, where each line is sent to the
385262685Sdelphij# printer as you move off that line, e.g., by a carriage return.
386262685Sdelphijansi+pp|ansi printer port,
387262685Sdelphij	mc5i,
388262685Sdelphij	mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
389262685Sdelphijdec+pp|DEC autoprinter mode,
390262685Sdelphij	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
391262685Sdelphij
39250276Speter# The IBM PC alternate character set.  Plug this into any Intel console entry.
39350276Speter# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
39450276Speter# ROM graphics for control characters such as the diamond, up- and down-arrow.
39550276Speter# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
39650276Speter# will work with any Intel console, they all seem to have inherited \E[11m
39750276Speter# from the ANSI.SYS de-facto standard.
398166124Srafanklone+acs|alternate character set for ansi.sys displays,
399166124Srafan	acsc=+\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,
400166124Srafan	rmacs=\E[10m, smacs=\E[11m,
40150276Speter
402166124Srafan# Highlight controls corresponding to the ANSI.SYS standard.  Most
40350276Speter# console drivers for Intel boxes obey these.  Makes the same assumption
40450276Speter# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
40550276Speter# <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
406166124Srafanklone+sgr|attribute control for ansi.sys displays,
407166124Srafan	blink=\E[5m, bold=\E[1m, rev=\E[7m, rmpch=\E[10m,
408166124Srafan	rmso=\E[m, rmul=\E[m,
409166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;11%;m,
410166124Srafan	sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
411166124Srafan	use=klone+acs,
41250276Speter
413166124Srafan# Most Intel boxes do not treat "invis" (invisible) text.
414166124Srafanklone+sgr8|attribute control for ansi.sys displays,
415166124Srafan	invis=\E[8m,
416166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
417166124Srafan	use=klone+sgr,
418166124Srafan
41950276Speter# Highlight controls corresponding to the ANSI.SYS standard.  *All*
42050276Speter# console drivers for Intel boxes obey these.  Does not assume \E[11m will
42150276Speter# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
42250276Speter# diamond and arrow characters under curses.
423166124Srafanklone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
424166124Srafan	blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
425166124Srafan	rmul=\E[m,
426166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
427166124Srafan	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
428166124Srafan	use=klone+acs,
42950276Speter
43050276Speter# KOI8-R (RFC1489) acs (alternate character set)
43150276Speter# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
432166124Srafanklone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
433166124Srafan	acsc=+\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,
434166124Srafan	rmacs=\E[10m, smacs=\E[11m,
43550276Speter
43650276Speter# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
43750276Speter# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
43850276Speter# but equivalent strings that don't rely on that coincidence:
43950276Speter# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
44050276Speter# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
44150276Speter# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
44250276Speter# They match a subset of ECMA-48.
443166124Srafanklone+color|color control for ansi.sys and ISO6429-compatible displays,
444166124Srafan	colors#8, ncv#3, pairs#64,
445166124Srafan	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
44650276Speter
44750276Speter# This is better than klone+color, it doesn't assume white-on-black as the
44850276Speter# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
449166124Srafanecma+color|color control for ECMA-48-compatible terminals,
450166124Srafan	AX,
451166124Srafan	colors#8, ncv#3, pairs#64,
452166124Srafan	op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
45350276Speter
45450276Speter# Attribute control for ECMA-48-compatible terminals
455166124Srafanecma+sgr|attribute capabilities for true ECMA-48 terminals,
456166124Srafan	rmso=\E[27m, rmul=\E[24m, use=klone+sgr8,
45750276Speter
45850276Speter# For comparison, here are all the capabilities implied by the Intel
45950276Speter# Binary Compatibility Standard (level 2) that fit within terminfo.
46050276Speter# For more detail on this rather pathetic standard, see the comments
46150276Speter# near the end of this file.
462166124Srafanibcs2|Intel Binary Compatibility Standard prescriptions,
463262629Sdelphij	cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cub1=\E[1D,
464262629Sdelphij	cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
465262629Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
466166124Srafan	dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
467262685Sdelphij	hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
468262685Sdelphij	il=\E[%p1%dL, indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT,
469262685Sdelphij	rmam=\E[?7l, sc=\E7, smam=\E[?7h, tbc=\E[g,
470262685Sdelphij	vpa=\E[%i%p1%dd,
47150276Speter
47250276Speter#### ANSI/ECMA-48 terminals and terminal emulators
47350276Speter#
47450276Speter# See near the end of this file for details on ANSI conformance.
47550276Speter# Don't mess with these entries!  Lots of other entries depend on them!
47650276Speter#
47750276Speter# This section lists entries in a least-capable to most-capable order.
47850276Speter# if you're in doubt about what `ANSI' matches yours, try them in that
47950276Speter# order and back off from the first that breaks.
48050276Speter
48162449Speter# ansi-mr is for ANSI terminals with ONLY relative cursor addressing
48262449Speter# and more than one page of memory.  It uses local motions instead of
48362449Speter# direct cursor addressing, and makes almost no assumptions. It does
48462449Speter# assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
485166124Srafanansi-mr|mem rel cup ansi,
486166124Srafan	am, xon,
487166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+erase,
488166124Srafan	use=ansi+local1,
48962449Speter
490166124Srafan# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
49162449Speter# beware of screen size problems and memory relative cursor addressing.
492166124Srafanansi-mini|any ansi terminal with pessimistic assumptions,
493166124Srafan	am, xon,
494166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+cup,
495166124Srafan	use=ansi+erase,
49650276Speter
497166124Srafan# ansi-mtabs adds relative addressing and minimal tab support
498166124Srafanansi-mtabs|any ansi terminal with pessimistic assumptions,
499166124Srafan	it#8,
500262685Sdelphij	ht=^I, use=ansi-mini, use=ansi+local1,
50162449Speter
50250276Speter# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
50350276Speter#
50450276Speter# The following is an entry for the full ANSI 3.64 (1977).  It lacks
50550276Speter# padding, but most terminals using the standard are "fast" enough
50650276Speter# not to require any -- even at 9600 bps.  If you encounter problems,
50750276Speter# try including the padding specifications.
50850276Speter#
50950276Speter# Note: the :as: and :ae: specifications are not implemented here, for
51050276Speter# the available termcap documentation does not make clear WHICH alternate
51150276Speter# character set to specify.  ANSI 3.64 seems to make allowances for several.
51250276Speter# Please make the appropriate adjustments to fit your needs -- that is
51350276Speter# if you will be using alternate character sets.
51450276Speter#
51550276Speter# There are very few terminals running the full ANSI 3.64 standard,
51650276Speter# so I could only test this entry on one verified terminal (Visual 102).
51750276Speter# I would appreciate the results on other terminals sent to me.
51850276Speter#
51950276Speter# Please report comments, changes, and problems to:
52050276Speter#
52150276Speter# U.S. MAIL:   Hugh Hansard
52250276Speter#              Box: 22830
52350276Speter#              Emory University
52450276Speter#              Atlanta, GA. 30322.
52550276Speter#
52650276Speter# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
52750276Speter#
52862449Speter# (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
529166124Srafanansi77|ansi 3.64 standard 1977 version,
530166124Srafan	OTbs, am, mir,
531166124Srafan	cols#80, it#8, lines#24,
532166124Srafan	bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
533166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
534166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
535166124Srafan	home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
536166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
537166124Srafan	kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM,
538166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h,
539166124Srafan	smso=\E[7m, smul=\E[4m,
54050276Speter
54150276Speter# Procomm and some other ANSI emulations don't recognize all of the ANSI-
542166124Srafan# standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
543166124Srafan# <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
544166124Srafan# <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
54550276Speter# 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
54650276Speter# to confuse many emulators.  On the other hand, we can count on these programs
547166124Srafan# doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
54850276Speter# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
54950276Speter# ANSI.SYS influence.
55050276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
551166124Srafanpcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
552166124Srafan	OTbs, am, mir, msgr,
553166124Srafan	cols#80, it#8, lines#24,
554166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
555166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
556166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
557166124Srafan	hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
558262629Sdelphij	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[3g,
559166124Srafan	use=klone+sgr-dumb,
560166124Srafanpcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
561166124Srafan	lines#25, use=pcansi-m,
562166124Srafanpcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
563166124Srafan	lines#33, use=pcansi-m,
564166124Srafanpcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
565166124Srafan	lines#43, use=pcansi-m,
56650276Speter# The color versions.  All PC emulators do color...
567166124Srafanpcansi|ibm-pc terminal programs claiming to be ansi,
568166124Srafan	use=klone+color, use=pcansi-m,
569166124Srafanpcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
570166124Srafan	lines#25, use=pcansi,
571166124Srafanpcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
572166124Srafan	lines#33, use=pcansi,
573166124Srafanpcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
574166124Srafan	lines#43, use=pcansi,
57550276Speter
57650276Speter# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
57750276Speter# If you want pound signs rather than dollars, replace `B' with `A'
57850276Speter# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
57950276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
580166124Srafanansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
581166124Srafan	mc5i,
582166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
583166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
584166124Srafan	ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
585166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
586166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
587166124Srafan	kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
588166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
589262629Sdelphij	s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[3g,
590166124Srafan	vpa=\E[%i%p1%dd, use=pcansi-m,
59150276Speter
592166124Srafanansi+enq|ncurses extension for ANSI ENQ,
593166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
594166124Srafan	u9=\E[c,
595166124Srafan
59650276Speter# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
59750276Speter# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
59850276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
599166124Srafanansi|ansi/pc-term compatible with color,
600166124Srafan	use=ansi+enq, use=ecma+color, use=klone+sgr8, use=ansi-m,
60150276Speter
602166124Srafan# ansi-generic is a vanilla ANSI terminal. This is assumed to implement
603166124Srafan# all the normal ANSI stuff with no extensions. It assumes
604166124Srafan# insert/delete line/char is there, so it won't work with
605166124Srafan# vt100 clones. It assumes video attributes for bold, blink,
606166124Srafan# underline, and reverse, which won't matter much if the terminal
607166124Srafan# can't do some of those. Padding is assumed to be zero, which
60862449Speter# shouldn't hurt since xon/xoff is assumed.
609166124Srafanansi-generic|generic ansi standard terminal,
610166124Srafan	am, xon,
611166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup,
612166124Srafan	use=ansi+rca, use=ansi+erase, use=ansi+tabs,
613166124Srafan	use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep,
614166124Srafan	use=ansi+sgrbold, use=ansi+arrows,
61562449Speter
61650276Speter#### DOS ANSI.SYS variants
61750276Speter#
61850276Speter# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
61950276Speter# documentation (except for the keyboard key reassignment feature, which
620166124Srafan# doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
62150276Speter# though undocumented.  The <pfkey> capability is untested but should work for
62250276Speter# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
62350276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
624166124Srafanansi.sys-old|ANSI.SYS under PC-DOS 2.1,
625166124Srafan	OTbs, am, mir, msgr, xon,
626166124Srafan	cols#80, lines#25,
627166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
628166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
629166124Srafan	is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
630262629Sdelphij	khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s"p, rc=\E[u,
631166124Srafan	rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
632166124Srafan	u7=\E[6n, use=klone+color, use=klone+sgr8,
633262629Sdelphij
634262629Sdelphij# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
635262629Sdelphij#		ka1,kh		kcuu1		kpp,ka3
636262629Sdelphij#
637262629Sdelphij#		Left=\0K	5=\0L		Right=\0M
638262629Sdelphij#		kcub1		kb2		kcuf1
639262629Sdelphij#
640262629Sdelphij#		End=\0O		Down=\0P	NxPag=\0Q
641262629Sdelphij#		kc1,kend	kcud1		kc3,knp
642262629Sdelphij#
643262629Sdelphij#		Ins=\0R		Del=\0S
644262629Sdelphij#		kich1		kdch1
645262629Sdelphij#
646262629Sdelphij# On keyboard with 12 function keys,
647262629Sdelphij#	shifted f-keys: F13-F24
648262629Sdelphij#	control f-keys: F25-F36
649262629Sdelphij#	alt f-keys:     F37-F48
650262629Sdelphij# The shift/control/alt keys do not modify each other, but alt overrides both,
651262629Sdelphij# and control overrides shift.
652262629Sdelphij#
653262629Sdelphij# <pfkey> capability for F1-F48 -TD
654166124Srafanansi.sys|ANSI.SYS 3.1 and later versions,
655262629Sdelphij	el=\E[K, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q,
656262629Sdelphij	kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
657262629Sdelphij	kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205,
658262629Sdelphij	kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W,
659262629Sdelphij	kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\,
660262629Sdelphij	kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_,
661262629Sdelphij	kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d,
662262629Sdelphij	kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212,
663262629Sdelphij	kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l,
664262629Sdelphij	kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
665262629Sdelphij	kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
666262629Sdelphij	kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
667262685Sdelphij	pfkey=\E[0;%?%p1%{11}%<%t%'\:'%e%p1%{13}%<%t%'z'%e%p1%{23}%<%t%'G'%e%p1%{25}%<%t%'p'%e%p1%'#'%<%t%'E'%e%p1%'%'%<%t%'f'%e%p1%'/'%<%t%'C'%e%{92}%;%p1%+%d;%p2"%s"p,
668262629Sdelphij	use=ansi.sys-old,
66950276Speter
67050276Speter#
67150276Speter# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
67250276Speter# This should only be used when the terminal emulator cannot redefine the keys.
67350276Speter# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
67450276Speter# definitions must be restored.  If the terminal emulator is quit while in vi
67550276Speter# or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
67650276Speter# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
67750276Speter# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
67850276Speter# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
67950276Speter# Note that <kcub1> is always BS, because PC-dos can tolerate this change.
68050276Speter# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
68150276Speter# Consequently the End keypad key could not be set (it is relatively safe and
68250276Speter# actually useful because it sends ^@ O, which beeps and opens a line above).
683166124Srafanansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
684166124Srafan	is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
685166124Srafan	rmkx=\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,
686166124Srafan	smkx=\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,
687166124Srafan	use=ansi.sys,
68850276Speter#
68950276Speter# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
690166124Srafannansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
691166124Srafan	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
692166124Srafan	is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n,
693166124Srafan	use=ansi.sys,
69450276Speter#
69550276Speter# See ansi.sysk and nansi.sys above.
696166124Srafannansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
697166124Srafan	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
698166124Srafan	is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
699166124Srafan	use=ansi.sysk,
70050276Speter
701262685Sdelphij#### Atari ST terminals
70250276Speter
703262629Sdelphij# From Guido Flohr <gufl0000@stud.uni-sb.de>.
704262629Sdelphij#
705262629Sdelphijtw52|tw52-color|Toswin window manager with color,
706262629Sdelphij	bce,
707262629Sdelphij	colors#16, pairs#256,
708262629Sdelphij	oc=\Eb?\Ec0, op=\Eb?\Ec0,
709262629Sdelphij	setab=\Ec%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1%{48}%+%c,
710262629Sdelphij	setaf=\Eb%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1%{48}%+%c,
711262629Sdelphij	setb=\Ec%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1%{48}%+%c,
712262629Sdelphij	setf=\Eb%?%p1%{0}%=%t?%e%p1%{7}%=%t0%e%p1%{15}%=%t7%e%p1%{48}%+%c,
713262629Sdelphij	use=tw52-m,
714262629Sdelphijtw52-m|Toswin window manager monochrome,
715262629Sdelphij	ul,
716262629Sdelphij	ma#999,
717262629Sdelphij	bold=\Eya, dch1=\Ea, dim=\EyB,
718262629Sdelphij	is2=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0, rev=\EyP, rmso=\EzQ,
719262629Sdelphij	rmul=\EzH, rs2=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0, sgr0=\Ez_,
720262629Sdelphij	smso=\EyQ, smul=\EyH, use=at-m,
721262629Sdelphijtt52|Atari TT medium and high resolution,
722262629Sdelphij	lines#30, use=at-color,
723262629Sdelphijst52-color|at-color|atari-color|atari_st-color|Atari ST with color,
724262629Sdelphij	bce,
725262629Sdelphij	colors#16, pairs#256,
726262629Sdelphij	is2=\Ev\Eq\Ee\Eb1\Ec0, rs2=\Ev\Eq\Ee\Eb1\Ec0,
727262629Sdelphij	setab=\Ec%?%p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%p1%{7}%=%t0%e%p1%{8}%=%t8%e%p1%{9}%=%t9%e%p1%{10}%=%t\:%e%p1%{11}%=%t;%e%p1%{12}%=%t<%e%p1%{13}%=%t=%e%p1%{14}%=%t6%e?,
728262629Sdelphij	setaf=\Eb%?%p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%p1%{7}%=%t0%e%p1%{8}%=%t8%e%p1%{9}%=%t9%e%p1%{10}%=%t\:%e%p1%{11}%=%t;%e%p1%{12}%=%t<%e%p1%{13}%=%t=%e%p1%{14}%=%t6%e?,
729262629Sdelphij	setb=\Ec%?%p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%p1%{7}%=%t0%e%p1%{8}%=%t8%e%p1%{9}%=%t9%e%p1%{10}%=%t\:%e%p1%{11}%=%t;%e%p1%{12}%=%t<%e%p1%{13}%=%t=%e%p1%{14}%=%t6%e?,
730262629Sdelphij	setf=\Eb%?%p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%p1%{7}%=%t0%e%p1%{8}%=%t8%e%p1%{9}%=%t9%e%p1%{10}%=%t\:%e%p1%{11}%=%t;%e%p1%{12}%=%t<%e%p1%{13}%=%t=%e%p1%{14}%=%t6%e?,
731262629Sdelphij	use=st52,
732262629Sdelphijst52|st52-m|at|at-m|atari|atari-m|atari_st|atarist-m|Atari ST,
733262629Sdelphij	am, eo, mir, npc,
734262629Sdelphij	cols#80, it#8, lines#24,
735262629Sdelphij	bel=^G, civis=\Ef, clear=\EE, cnorm=\Ee, cr=^M, cub1=\ED,
736262629Sdelphij	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
737262629Sdelphij	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, el1=\Eo, home=\EH, ht=^I,
738262629Sdelphij	il1=\EL, ind=^J, is2=\Ev\Eq\Ee, kLFT=\Ed, kRIT=\Ec, kbs=^H,
739262629Sdelphij	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\177,
740262629Sdelphij	kf1=\EP, kf10=\EY, kf11=\Ep, kf12=\Eq, kf13=\Er, kf14=\Es,
741262629Sdelphij	kf15=\Et, kf16=\Eu, kf17=\Ev, kf18=\Ew, kf19=\Ex, kf2=\EQ,
742262629Sdelphij	kf20=\Ey, kf3=\ER, kf4=\ES, kf5=\ET, kf6=\EU, kf7=\EV, kf8=\EW,
743262629Sdelphij	kf9=\EX, khlp=\EH, khome=\EE, kich1=\EI, knp=\Eb, kpp=\Ea,
744262629Sdelphij	kund=\EK, nel=^M^J, rc=\Ek, rev=\Ep, ri=\EI, rmso=\Eq,
745262629Sdelphij	rs2=\Ev\Eq\Ee, sc=\Ej, sgr0=\Eq, smso=\Ep,
746262629Sdelphijtw100|toswin vt100 window mgr,
747262629Sdelphij	eo, mir, msgr, xon,
748262629Sdelphij	colors#8, cols#80, it#8, lines#24, pairs#64, vt#3,
749262629Sdelphij	acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
750262629Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, civis=\Ef,
751262629Sdelphij	clear=\E[2J\E[H, cnorm=\Ee, cr=^M, csr=\E[%i%p1%d;%p2%dr,
752262629Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
753262629Sdelphij	cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
754262629Sdelphij	cuu=\E[%p1%dA, cuu1=\EA, dch1=\Ea, dim=\E[2m, dl=\E[%p1%dM,
755262629Sdelphij	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I,
756262629Sdelphij	hts=\EH, ich=\E[%p1%d@, il1=\EL, ind=^J, is2=\E<\E)0, kbs=^H,
757262629Sdelphij	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\177,
758262629Sdelphij	kf1=\EOP, kf10=\EOY, kf11=\Ep, kf12=\Eq, kf13=\Er, kf14=\Es,
759262629Sdelphij	kf15=\Et, kf16=\Eu, kf17=\Ev, kf18=\Ew, kf19=\Ex, kf2=\EOQ,
760262629Sdelphij	kf20=\Ey, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
761262629Sdelphij	kf8=\EOW, kf9=\EOX, khlp=\EH, khome=\E\EE, kich1=\EI,
762262629Sdelphij	knp=\Eb, kpp=\E\Ea, kund=\EK, ll=\E[24H, nel=\EE,
763262629Sdelphij	oc=\E[30;47m, op=\E[30;47m, rc=\E8, rev=\E[7m, ri=\EM,
764262629Sdelphij	rmacs=^O, rmcup=\E[?7h, rmir=\Ei, rmkx=\E[?1l\E>,
765262629Sdelphij	rmso=\E[m, rmul=\E[m,
766262629Sdelphij	rs1=\E<\E[20l\E[?3;6;9l\E[r\Eq\E(B\017\E)0\E>,
767262629Sdelphij	sc=\E7,
768262629Sdelphij	setb=\E[4%p1%'0'%+%Pa%?%ga%'0'%=%t0%e%ga%'1'%=%t4%e%ga%'2'%=%t2%e%ga%'3'%=%t6%e%ga%'4'%=%t1%e%ga%'5'%=%t5%e%ga%'6'%=%t3%e7%;m,
769262629Sdelphij	setf=\E[3%p1%'0'%+%Pa%?%ga%'0'%=%t0%e%ga%'1'%=%t4%e%ga%'2'%=%t2%e%ga%'3'%=%t6%e%ga%'4'%=%t1%e%ga%'5'%=%t5%e%ga%'6'%=%t3%e7%;m,
770262629Sdelphij	sgr0=\E[m, smacs=^N, smcup=\E[?7l, smir=\Eh,
771262629Sdelphij	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
772262629Sdelphij# The entries for stv52 and stv52pc probably need a revision.
773262629Sdelphijstv52|MiNT virtual console,
774262629Sdelphij	am, msgr,
775262629Sdelphij	cols#80, it#8, lines#30,
776262629Sdelphij	bel=^G, blink=\Er, bold=\EyA, civis=\Ef, clear=\EE,
777262629Sdelphij	cnorm=\E. \Ee, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
778262629Sdelphij	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E.",
779262629Sdelphij	dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
780262629Sdelphij	ind=\n$<2*/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
781262629Sdelphij	kcuu1=\EA, kdch1=\177, kf1=\EP, kf10=\EY, kf11=\Ep, kf12=\Eq,
782262629Sdelphij	kf13=\Er, kf14=\Es, kf15=\Et, kf16=\Eu, kf17=\Ev, kf18=\Ew,
783262629Sdelphij	kf19=\Ex, kf2=\EQ, kf20=\Ey, kf3=\ER, kf4=\ES, kf5=\ET,
784262629Sdelphij	kf6=\EU, kf7=\EV, kf8=\EW, kf9=\EX, khlp=\EH, khome=\EE,
785262629Sdelphij	kich1=\EI, knp=\Eb, kpp=\Ea, kund=\EK, nel=\r\n$<2*/>,
786262629Sdelphij	op=\Eb@\EcO, rev=\Ep, ri=\EI$<2*/>, rmcup=\Ev\E. \Ee\Ez_,
787262629Sdelphij	rmso=\Eq, rmul=\EzH, rs1=\Ez_\Eb@\EcA, sgr0=\Ez_,
788262629Sdelphij	smcup=\Ev\Ee\Ez_, smso=\Ep, smul=\EyH,
789262629Sdelphijstv52pc|MiNT virtual console with PC charset,
790262629Sdelphij	am, msgr,
791262629Sdelphij	cols#80, it#8, lines#30,
792262629Sdelphij	acsc=+\257\,\256-\^.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,
793262629Sdelphij	bel=^G, blink=\Er, bold=\EyA, civis=\Ef, clear=\EE,
794262629Sdelphij	cnorm=\E. \Ee, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
795262629Sdelphij	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E.",
796262629Sdelphij	dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
797262629Sdelphij	ind=\n$<2*/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
798262629Sdelphij	kcuu1=\EA, kdch1=\177, kf1=\EP, kf10=\EY, kf11=\Ep, kf12=\Eq,
799262629Sdelphij	kf13=\Er, kf14=\Es, kf15=\Et, kf16=\Eu, kf17=\Ev, kf18=\Ew,
800262629Sdelphij	kf19=\Ex, kf2=\EQ, kf20=\Ey, kf3=\ER, kf4=\ES, kf5=\ET,
801262629Sdelphij	kf6=\EU, kf7=\EV, kf8=\EW, kf9=\EX, khlp=\EH, khome=\EE,
802262629Sdelphij	kich1=\EI, knp=\Eb, kpp=\Ea, kund=\EK, nel=\r\n$<2*/>,
803262629Sdelphij	rev=\Ep, ri=\EI$<2*/>, rmcup=\Ev\E. \Ee\Ez_, rmso=\Eq,
804262629Sdelphij	rmul=\EzH, rs1=\Ez_\Eb@\EcA, sgr0=\Ez_, smcup=\Ev\Ee\Ez_,
805262629Sdelphij	smso=\Ep, smul=\EyH,
806262629Sdelphij
807262629Sdelphij# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
808262629Sdelphijatari-old|atari st,
809262629Sdelphij	OTbs, am,
810262629Sdelphij	cols#80, it#8, lines#25,
811262629Sdelphij	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
812262629Sdelphij	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
813262629Sdelphij	ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
814262629Sdelphij	kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
815262629Sdelphij# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
816262629Sdelphij# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
817262629Sdelphijuniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
818262629Sdelphij	lines#49,
819262629Sdelphij	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H,
820262629Sdelphij	use=vt220,
821262629Sdelphij# MiNT VT52 emulation. 80 columns, 25 rows.
822262629Sdelphij# MiNT is Now TOS, the operating system which comes with all Ataris now
823262629Sdelphij# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
824262629Sdelphij# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
825262629Sdelphij# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
826262629Sdelphijst52-old|Atari ST with VT52 emulation,
827262629Sdelphij	am, km,
828262629Sdelphij	cols#80, lines#25,
829262629Sdelphij	bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
830262629Sdelphij	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
831262629Sdelphij	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
832262629Sdelphij	ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
833262629Sdelphij	kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
834262629Sdelphij	kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
835262629Sdelphij	kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
836262629Sdelphij	kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
837262629Sdelphij	ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
838262629Sdelphij	smcup=\Ee, smso=\Ep,
839262629Sdelphij
840262685Sdelphij#### Apple Terminal.app
841262685Sdelphij
842262685Sdelphij# nsterm*|Apple_Terminal - AppKit Terminal.app
843262685Sdelphij#
844262685Sdelphij# Terminal.app is a Terminal emulator bundled with NeXT's NeXTStep and
845262685Sdelphij# OPENSTEP/Mach operating systems, and with Apple's Rhapsody, Mac OS X
846262685Sdelphij# Server and Mac OS X operating systems. There is also a
847262685Sdelphij# "terminal.app" in GNUStep, but I believe it to be an unrelated
848262685Sdelphij# codebase and I have not attempted to describe it here.
849262685Sdelphij#
850262685Sdelphij# For NeXTStep, OPENSTEP/Mach, Rhapsody and Mac OS X Server 1.0, you
851262685Sdelphij# are pretty much on your own. Use "nsterm-7-m" and hope for the best.
852262685Sdelphij# You might also try "nsterm-7" and "nsterm-old" if you suspect your
853262685Sdelphij# version supports color.
854262685Sdelphij#
855262685Sdelphij# To determine the version of Terminal.app you're using by running:
856262685Sdelphij#
857262685Sdelphij#     echo "$TERM_PROGRAM" "$TERM_PROGRAM_VERSION"
858262685Sdelphij#
859262685Sdelphij# For Apple_Terminal v309+, use "nsterm-256color" (or "nsterm-bce")
860262685Sdelphij#
861262685Sdelphij# For Apple_Terminal v200+, use "nsterm-16color" (a.k.a. "nsterm")
862262685Sdelphij#
863262685Sdelphij# For Apple_Terminal v71+/v100+, use "nsterm-bce".
864262685Sdelphij#
865262685Sdelphij# For Apple_Terminal v51+, use "nsterm-7-c" or "nsterm-7-c-s".
866262685Sdelphij#
867262685Sdelphij# For Apple_Terminal v41+, use "nsterm-old", or "nsterm-s".
868262685Sdelphij#
869262685Sdelphij# For all earlier versions (Apple_Terminal), try "nsterm-7-m"
870262685Sdelphij# (monochrome) or "nsterm-7" (color); "nsterm-7-m-s" and "nsterm-7-s"
871262685Sdelphij# might work too, but really you're on your own here since these
872262685Sdelphij# systems are very obsolete and I can't test them. I do welcome
873262685Sdelphij# patches, though :).
874262685Sdelphij
875262685Sdelphij# Other Terminals:
876262685Sdelphij#
877262685Sdelphij# For GNUstep_Terminal, you're probably best off using "linux" or
878262685Sdelphij# writing your own terminfo.
879262685Sdelphij
880262685Sdelphij# For MacTelnet, you're on your own. It's a different codebase, and
881262685Sdelphij# seems to be somewhere between "vt102", "ncsa" and "xterm-color".
882262685Sdelphij
883262685Sdelphij# For iTerm.app, see "iterm".
884262685Sdelphij
885262685Sdelphij#
886262685Sdelphij# The AppKit Terminal.app descriptions all have names beginning with
887262685Sdelphij# "nsterm". Note that the statusline (-s) versions use the window
888262685Sdelphij# titlebar as a phony status line, and may produce warnings during
889262685Sdelphij# compilation as a result ("tsl uses 0 parameters, expected 1".)
890262685Sdelphij# Ignore these warnings, or even ignore these entries entirely. Apps
891262685Sdelphij# which need to position the cursor or do other fancy stuff inside the
892262685Sdelphij# status line won't work with these entries. They're primarily useful
893262685Sdelphij# for programs like Pine which provide simple notifications in the
894262685Sdelphij# status line. Please note that non-ASCII characters don't work right
895262685Sdelphij# in the status line, since Terminal.app incorrectly interprets their
896262685Sdelphij# Unicode codepoints as MacRoman codepoints (in earlier Mac OS X
897262685Sdelphij# versions) or only accepts status lines consisting entirely of
898262685Sdelphij# characters from the first 256 Unicode positions (including C1 but
899262685Sdelphij# not C0 or DEL.)
900262685Sdelphij#
901262685Sdelphij# The Mythology* of AppKit Terminal.app:
902262685Sdelphij#
903262685Sdelphij# In the days of NeXTSTep 0.x and 1.x there were two incompatible
904262685Sdelphij# bundled terminal emulators, Shell and Terminal. Scott Hess wrote a
905262685Sdelphij# shareware replacement for Terminal called "Stuart" which NeXT bought
906262685Sdelphij# and used as the basis for the Terminal.app in NeXTstep 2+,
907262685Sdelphij# OPENSTEP/Mach, Apple Rhapsody, Mac OS X Server 1.0, and Mac OS X. I
908262685Sdelphij# don't know the TERM_PROGRAM and TERM_PROGRAM_VERSION settings or
909262685Sdelphij# capabilities for the early versions, but I believe that the
910262685Sdelphij# TERM_PROGRAM_VERSION may have been reset at some point.
911262685Sdelphij#
912262685Sdelphij# The early versions were tailored to the NeXT character set. Sometime
913262685Sdelphij# after the Apple aquisition the encoding was swiched to MacRoman
914262685Sdelphij# (initally with serious altcharset bugs due to incomplete conversion
915262685Sdelphij# of the old NeXT code,) and then later to UTF-8. Alos sometime during
916262685Sdelphij# or just prior to the early days of Mac OS X, the Terminal grew ANSI
917262685Sdelphij# 8-color support (initially buggy when combined with attributes, but
918262685Sdelphij# that was later fixed.) More recently, around Mac OS X version 10.3
919262685Sdelphij# or so (Terminal.app v100+) xterm-like 16-color support was added. In
920262685Sdelphij# some versions (for instance 133-1 which shipped with Mac OS X
921262685Sdelphij# version 10.4) this suffered from the <bce> bug, but that seems to
922262685Sdelphij# have been fixed in Mac OS X version 10.5 (Terminal.app v240.2+).
923262685Sdelphij#
924262685Sdelphij# In the early days of Mac OS X the terminal was fairly buggy and
925262685Sdelphij# would routinely crash under load. Many of these bugs seem to have
926262685Sdelphij# been fixed around Mac OS X version 10.3 (Terminal.app v100+) but
927262685Sdelphij# some may still remain. This change seems to correspond to
928262685Sdelphij# Terminal.app reporting "xterm-color" as $TERM rather than "vt100" as
929262685Sdelphij# it did previously.
930262685Sdelphij#
931262685Sdelphij# * This may correspond with what actually happened, but I don't
932262685Sdelphij#   know. It is based on guesswork, hearsay, private correspondence,
933262685Sdelphij#   my faulty memory, and the following online sources and references:
934262685Sdelphij#
935262685Sdelphij# [1] "Three Scotts and a Duane" by Simson L. Garfinkel
936262685Sdelphij# http://www.nextcomputers.org/NeXTfiles/Articles/NeXTWORLD/93.8/93.8.Dec.Community1.html
937262685Sdelphij#
938262685Sdelphij# [2] NeXTSTEP entry from Wikipedia, the free encyclopedia
939262685Sdelphij# https://secure.wikimedia.org/wikipedia/en/wiki/Nextstep
940262685Sdelphij#
941262685Sdelphij# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
942262685Sdelphij#   "nsterm" to comply with the name length and case conventions and
943262685Sdelphij#   limitations of various software packages [notably Solaris terminfo
944262685Sdelphij#   and UNIX.] A single Apple_Terminal alias is retained for
945262685Sdelphij#   backwards-compatbility.
946262685Sdelphij#
947262685Sdelphij# * Added function key support (F1-F4). These only work in Terminal.app
948262685Sdelphij#   version 51, hopefully the capabilities won't cause problems for people
949262685Sdelphij#   using version 41.
950262685Sdelphij#
951262685Sdelphij# * Added "full color" (-c) entries which support the 16-color mode in
952262685Sdelphij#   version 51.
953262685Sdelphij#
954262685Sdelphij# * By default, version 51 uses UTF-8 encoding with broken altcharset
955262685Sdelphij#   support, so "ASCII" (-7) entries without altcharset support were
956262685Sdelphij#   added.
957262685Sdelphij
958262685Sdelphij# nsterm - AppKit Terminal.app
959262685Sdelphij#
960262685Sdelphij# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
961262685Sdelphij# Terminal.app. It is a partial VT100 emulation with some xterm-like
962262685Sdelphij# extensions. This terminfo was written to describe versions 41
963262685Sdelphij# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
964262685Sdelphij# version 10.1) of Terminal.app.
965262685Sdelphij#
966262685Sdelphij# Terminal.app runs under the Mac OS X Quartz windowing system (and
967262685Sdelphij# other AppKit-supported windowing systems.)  On the Mac OS X machine I
968262685Sdelphij# use, the executable for Terminal.app is:
969262685Sdelphij# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
970262685Sdelphij#
971262685Sdelphij# If you're looking for a description of the full-screen system
972262685Sdelphij# console which runs under Apple's Darwin operating system on PowerPC
973262685Sdelphij# platforms, see the "xnuppc" entry instead.
974262685Sdelphij#
975262685Sdelphij# There were no function keys in version 41. In version 51, there are
976262685Sdelphij# four working function keys (F1, F2, F3 and F4.) The function keys
977262685Sdelphij# are included in all of these entries.
978262685Sdelphij#
979262685Sdelphij# It does not support mouse pointer position reporting. Under some
980262685Sdelphij# circumstances the cursor can be positioned using option-click; this
981262685Sdelphij# works by comparing the cursor position and the selected position,
982262685Sdelphij# and simulating enough cursor-key presses to move the cursor to the
983262685Sdelphij# selected position. This technique fails in all but the simplest
984262685Sdelphij# applications.
985262685Sdelphij#
986262685Sdelphij# It provides partial ANSI color support (background colors interacted
987262685Sdelphij# badly with bold in version 41, though, as reflected in :ncv:.) The
988262685Sdelphij# monochrome (-m) entries are useful if you've disabled color support
989262685Sdelphij# or use a monochrome monitor. The full color (-c) entries are useful
990262685Sdelphij# in version 51, which doesn't exhibit the background color bug. They
991262685Sdelphij# also enable an xterm-compatible 16-color mode.
992262685Sdelphij#
993262685Sdelphij# The configurable titlebar is set using xterm-compatible sequences;
994262685Sdelphij# it is used as a status bar in the statusline (-s) entries. Its width
995262685Sdelphij# depends on font sizes and window sizes, but 50 characters seems to
996262685Sdelphij# be the default for an 80x24 window.
997262685Sdelphij#
998262685Sdelphij# The MacRoman character encoding is used for some of the alternate
999262685Sdelphij# characters in the "MacRoman" entries; the "ASCII" (-7) entries
1000262685Sdelphij# disable alternate character set support entirely, and the "VT100"
1001262685Sdelphij# (-acs) entries rely instead on Terminal.app's own buggy VT100
1002262685Sdelphij# graphics emulation, which seems to think the character encoding is
1003262685Sdelphij# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
1004262685Sdelphij# are useful in Terminal.app version 51, which supports UTF-8 and
1005262685Sdelphij# other ASCII-compatible character encodings but does not correctly
1006262685Sdelphij# implement VT100 graphics; once VT100 graphics are correctly
1007262685Sdelphij# implemented in Terminal.app, the "VT100" (-acs) entries should be
1008262685Sdelphij# usable in any ASCII-compatible character encoding [except perhaps
1009262685Sdelphij# in UTF-8, where some experts argue for disallowing alternate
1010262685Sdelphij# characters entirely.]
1011262685Sdelphij#
1012262685Sdelphij# Terminal.app reports "vt100" as the terminal type, but exports
1013262685Sdelphij# several environment variables which may aid detection in a shell
1014262685Sdelphij# profile (i.e. .profile or .login):
1015262685Sdelphij#
1016262685Sdelphij# TERM=vt100
1017262685Sdelphij# TERM_PROGRAM=Apple_Terminal
1018262685Sdelphij# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
1019262685Sdelphij# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
1020262685Sdelphij#
1021262685Sdelphij# For example, the following Bourne shell script would detect the
1022262685Sdelphij# correct terminal type:
1023262685Sdelphij#
1024262685Sdelphij# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
1025262685Sdelphij# then
1026262685Sdelphij#     export TERM
1027262685Sdelphij#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
1028262685Sdelphij#     then
1029262685Sdelphij#         TERM="nsterm-old"
1030262685Sdelphij#     else
1031262685Sdelphij#         TERM="nsterm-c-7"
1032262685Sdelphij#     fi
1033262685Sdelphij# fi
1034262685Sdelphij#
1035262685Sdelphij# In a C shell derivative, this would be accomplished by:
1036262685Sdelphij#
1037262685Sdelphij# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
1038262685Sdelphij#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
1039262685Sdelphij#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
1040262685Sdelphij#              setenv TERM "nsterm-old"
1041262685Sdelphij#          else
1042262685Sdelphij#              setenv TERM "nsterm-c-7"
1043262685Sdelphij#          endif
1044262685Sdelphij#     endif
1045262685Sdelphij# endif
1046262685Sdelphij
1047262685Sdelphij# The '+' entries are building blocks
1048262685Sdelphijnsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset,
1049262685Sdelphij	am, bw, msgr, xenl, xon,
1050262685Sdelphij	cols#80, it#8, lines#24,
1051262685Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1052262685Sdelphij	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1053262685Sdelphij	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1054262685Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1055262685Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
1056262685Sdelphij	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
1057262685Sdelphij	invis=\E[8m, kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
1058262685Sdelphij	kcuu1=\EOA, kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM,
1059262685Sdelphij	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
1060262685Sdelphij	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1061262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
1062262685Sdelphij	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
1063262685Sdelphij	smul=\E[4m, tbc=\E[3g, use=vt100+enq, use=vt100+pfkeys,
1064262685Sdelphij
1065262685Sdelphijnsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset,
1066262685Sdelphij	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1067262685Sdelphij	enacs=\E(B\E)0, rmacs=^O,
1068262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
1069262685Sdelphij	sgr0=\E[m\017, smacs=^N, use=nsterm+7,
1070262685Sdelphij
1071262685Sdelphijnsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
1072262685Sdelphij	acsc=+\335\,\334-\366.\3770#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245,
1073262685Sdelphij	enacs=\E(B\E)0, rmacs=^O,
1074262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
1075262685Sdelphij	sgr0=\E[m\017, smacs=^N, use=nsterm+7,
1076262685Sdelphij
1077262685Sdelphij# compare with xterm+sl-twm
1078262685Sdelphijnsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
1079262685Sdelphij	wsl#50, use=xterm+sl-twm,
1080262685Sdelphij
1081262685Sdelphijnsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
1082262685Sdelphij	op=\E[0m, use=ibm+16color,
1083262685Sdelphij
1084262685Sdelphijnsterm+c41|AppKit Terminal.app v41 color support,
1085262685Sdelphij	colors#8, ncv#37, pairs#64,
1086262685Sdelphij	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1087262685Sdelphij
1088262685Sdelphij# These are different combinations of the building blocks
1089262685Sdelphij
1090262685Sdelphij# ASCII charset (-7)
1091262685Sdelphijnsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome),
1092262685Sdelphij	use=nsterm+7,
1093262685Sdelphij
1094262685Sdelphijnsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline),
1095262685Sdelphij	use=nsterm+s, use=nsterm+7,
1096262685Sdelphij
1097262685Sdelphijnsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color),
1098262685Sdelphij	use=nsterm+c41, use=nsterm+7,
1099262685Sdelphij
1100262685Sdelphijnsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color),
1101262685Sdelphij	use=nsterm+c, use=nsterm+7,
1102262685Sdelphij
1103262685Sdelphijnsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline),
1104262685Sdelphij	use=nsterm+s, use=nsterm+c41, use=nsterm+7,
1105262685Sdelphij
1106262685Sdelphijnsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline),
1107262685Sdelphij	use=nsterm+s, use=nsterm+c, use=nsterm+7,
1108262685Sdelphij
1109262685Sdelphij# VT100 alternate-charset (-acs)
1110262685Sdelphijnsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome),
1111262685Sdelphij	use=nsterm+acs,
1112262685Sdelphij
1113262685Sdelphijnsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline),
1114262685Sdelphij	use=nsterm+s, use=nsterm+acs,
1115262685Sdelphij
1116262685Sdelphijnsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color),
1117262685Sdelphij	use=nsterm+c41, use=nsterm+acs,
1118262685Sdelphij
1119262685Sdelphijnsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color),
1120262685Sdelphij	use=nsterm+c, use=nsterm+acs,
1121262685Sdelphij
1122262685Sdelphijnsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline),
1123262685Sdelphij	use=nsterm+s, use=nsterm+c41, use=nsterm+acs,
1124262685Sdelphij
1125262685Sdelphijnsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline),
1126262685Sdelphij	use=nsterm+s, use=nsterm+c, use=nsterm+acs,
1127262685Sdelphij
1128262685Sdelphij# MacRoman charset
1129262685Sdelphijnsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome),
1130262685Sdelphij	use=nsterm+mac,
1131262685Sdelphij
1132262685Sdelphijnsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline),
1133262685Sdelphij	use=nsterm+s, use=nsterm+mac,
1134262685Sdelphij
1135262685Sdelphijnsterm-old|AppKit Terminal.app v41+ w/MacRoman charset (color),
1136262685Sdelphij	use=nsterm+c41, use=nsterm+mac,
1137262685Sdelphij
1138262685Sdelphijnsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color),
1139262685Sdelphij	use=nsterm+c, use=nsterm+mac,
1140262685Sdelphij
1141262685Sdelphijnsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline),
1142262685Sdelphij	use=nsterm+s, use=nsterm+c41, use=nsterm+mac,
1143262685Sdelphij
1144262685Sdelphijnsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline),
1145262685Sdelphij	use=nsterm+s, use=nsterm+c, use=nsterm+mac,
1146262685Sdelphij
1147262685Sdelphij# In Mac OS X version 10.5 the format of the preferences has changed
1148262685Sdelphij# and a new, more complex technique is needed, e.g.,
1149262685Sdelphij#
1150262685Sdelphij#       python -c 'import sys,objc;NSUserDefaults=objc.lookUpClass(
1151262685Sdelphij#       "NSUserDefaults");ud=NSUserDefaults.alloc();
1152262685Sdelphij#       ud.init();prefs=ud.persistentDomainForName_(
1153262685Sdelphij#       "com.apple.Terminal");prefs["Window Settings"][
1154262685Sdelphij#       prefs["Default Window Settings"]]["TerminalType"
1155262685Sdelphij#       ]=sys.argv[1];ud.setPersistentDomain_forName_(prefs,
1156262685Sdelphij#       "com.apple.Terminal")' nsterm-16color
1157262685Sdelphij#
1158262685Sdelphij# and it is still not settable from the preferences dialog. This is
1159262685Sdelphij# tracked under rdar://problem/7365108 and rdar://problem/7365134
1160262685Sdelphij# in Apple's bug reporter.
1161262685Sdelphij#
1162262685Sdelphij# In OS X 10.7 (Leopard) the TERM which can be set in the preferences dialog
1163262685Sdelphij# defaults to xterm-color.  Alternative selections are ansi, dtterm, rxvt,
1164262685Sdelphij# vt52, vt100, vt102 and xterm.
1165262685Sdelphijnsterm-16color|AppKit Terminal.app v240.2+ with Mac OS X version 10.5,
1166262685Sdelphij	bw@, mir, npc,
1167262685Sdelphij	civis=\E[?25l, cnorm=\E[?25h, dch=\E[%p1%dP, dch1=\E[P,
1168262685Sdelphij	flash=\E[?5h$<200/>\E[?5l, hpa=\E[%i%p1%dG,
1169262685Sdelphij	ich=\E[%p1%d@, ich1=\E[@, kdch1=\E[3~, kend=\E[F,
1170262685Sdelphij	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
1171262685Sdelphij	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
1172262685Sdelphij	kf18=\E[22~, kf19=\E[33~, kf20=\E[34~, kf5=\E[15~,
1173262685Sdelphij	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
1174262685Sdelphij	knp=\E[6~, kpp=\E[5~, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
1175262685Sdelphij	smcup=\E7\E[?47h, smir=\E[4h, vpa=\E[%i%p1%dd,
1176262685Sdelphij	kLFT5=\E[5D, kRIT5=\E[5C, use=nsterm-c-s-acs,
1177262685Sdelphij
1178262685Sdelphij# The versions of Terminal.app in Mac OS X version 10.3.x seem to have
1179262685Sdelphij# the background color erase feature. The newer version 240.2 in Mac OS X
1180262685Sdelphij# version 10.5 does not.
1181262685Sdelphij#
1182262685Sdelphij# This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
1183262685Sdelphij# and D P Schreber comparing to nsterm-c-s-acs.
1184262685Sdelphij#
1185262685Sdelphij# In Mac OS X version 10.4 and earlier, D P Schreber notes that $TERM
1186262685Sdelphij# can be set in Terminal.app, e.g.,
1187262685Sdelphij#
1188262685Sdelphij#	defaults write com.apple.Terminal TermCapString nsterm-bce
1189262685Sdelphij#
1190262685Sdelphij# and that it is not set in Terminal's preferences dialog.
1191262685Sdelphij#
1192262685Sdelphij# Modified for OS X 10.8, omitting bw based on testing with tack -TD
1193262685Sdelphij#
1194262685Sdelphij# Notes:
1195262685Sdelphij# * The terminal description matches the default settings.
1196262685Sdelphij# * The keyboard is configurable via a dialog.
1197262685Sdelphij# * By default khome, kend, knext and kprev are honored only with a
1198262685Sdelphij#   shift-modifier.
1199262685Sdelphij# * There are bindings for control left/right arrow (but not up/down).
1200262685Sdelphij#   Added those to nsterm-16color, which is the version used for OS X 10.6
1201262685Sdelphij# * "Allow VT100 application keypage mode" is by default disabled.
1202262685Sdelphij#   There is no way to press keypad-comma unless application mode is enabled
1203262685Sdelphij#   and used.
1204262685Sdelphij# * 132-column mode stopped working during vttest's tests.  Consider it broken.
1205262685Sdelphij# * CHT, REP, SU, SD are buggy.
1206262685Sdelphij# * ECH works (also in Leopard), but is not used here for compatibility.
1207262685Sdelphij# * The terminal preferences dialog replaces xterm-color by xterm-16color and
1208262685Sdelphij#   xterm-256color.  However, it adds "nsterm", so it is possible to use the
1209262685Sdelphij#   nsterm entry from this file to override the MacPorts (20110404) or
1210262685Sdelphij#   system (20081102) copy of this file.
1211262685Sdelphij# + In OS X 10.8 (Mountain Lion) the TERM which can be set in the preferences
1212262685Sdelphij#   dialog defaults to xterm-256color.  Alternative selections are ansi,
1213262685Sdelphij#   dtterm, rxvt, vt52, vt100, vt102, xterm and xterm-16color.  However,
1214262685Sdelphij#   the menu says "Declare terminal as" without promising to actually emulate
1215262685Sdelphij#   the corresponding terminals.  Indeed, changing TERM does not affect the
1216262685Sdelphij#   emulation itself.  This means that
1217262685Sdelphij#   + the function-keys do not match for dtterm for kf1-kf4 as well as
1218262685Sdelphij#     khome/kend
1219262685Sdelphij#   + the color model is the same for each setting of TERM (does not match
1220262685Sdelphij#     ansi or dtterm).
1221262685Sdelphij#   + the shift/control/meta key modifiers from rxvt and xterm variants are not
1222262685Sdelphij#     recognised except for a few special cases, i.e., kRIT5 and kLFT5.
1223262685Sdelphij#   + the vt52 emulation does not give a usable shell because screen-clearing
1224262685Sdelphij#     does not work as expected.
1225262685Sdelphij#   + selecting "xterm" or "xterm-16color" sets TERM to "xterm-256color".
1226262685Sdelphijnsterm-bce|AppKit Terminal.app v71+/v100.1.8+ with Mac OS X version 10.3/10.4 (bce),
1227262685Sdelphij	bce, use=nsterm-16color,
1228262685Sdelphij
1229262685Sdelphij# This is tested with OS X 10.8 (Mountain Lion), 2012/08/11
1230262685Sdelphij#	TERM_PROGRAM_VERSION=309
1231262685Sdelphij# Earlier reports state that these differences also apply to OS X 10.7 (Lion),
1232262685Sdelphij#	TERM_PROGRAM_VERSION=303
1233262685Sdelphijnsterm-256color|Terminal.app in OS X 10.8,
1234262685Sdelphij	ccc@,
1235262685Sdelphij	initc@, use=xterm+256color, use=nsterm-bce,
1236262685Sdelphij
1237262685Sdelphij# This is an alias which should always point to the "current" version
1238262685Sdelphijnsterm|Apple_Terminal|AppKit Terminal.app,
1239262685Sdelphij	use=nsterm-256color,
1240262685Sdelphij
1241262685Sdelphij# iTerm.app from http://iterm.sourceforge.net/ is an alternative (and
1242262685Sdelphij# more featureful) terminal emulator for Mac OS X. It is similar
1243262685Sdelphij# enough in capabilities to nsterm-16color that I have derived this
1244262685Sdelphij# description from that one, but as far as I know they share no code.
1245262685Sdelphij# Many of the features are user-configurable, but I attempt only to
1246262685Sdelphij# describe the default configuration.
1247262685Sdelphij#
1248262685Sdelphij# NOTE: When tack tests (csr) + (nel) iTerm.app crashes, so (csr) is
1249262685Sdelphij# disabled.
1250262685SdelphijiTerm.app|iTerm.app terminal emulator for Mac OS X,
1251262685Sdelphij	bce, bw@, ccc@,
1252262685Sdelphij	csr@, initc@, kend=\EOF, khome=\EOH, use=xterm+256color,
1253262685Sdelphij	use=nsterm-16color,
1254262685Sdelphij
1255262685Sdelphij# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
1256262685Sdelphij#
1257262685Sdelphij# On PowerPC platforms, Apple's Darwin operating system uses a
1258262685Sdelphij# full-screen system console derived from a NetBSD framebuffer
1259262685Sdelphij# console. It is an ANSI-style terminal, and is not really VT-100
1260262685Sdelphij# compatible.
1261262685Sdelphij#
1262262685Sdelphij# Under Mac OS X, this is the system console driver used while in
1263262685Sdelphij# single-user mode [reachable by holding down Command-S during the
1264262685Sdelphij# boot process] and when logged in using console mode [reachable by
1265262685Sdelphij# typing ">console" at the graphical login prompt.]
1266262685Sdelphij#
1267262685Sdelphij# If you're looking for a description of the Terminal.app terminal
1268262685Sdelphij# emulator which runs under the Mac OS X Quartz windowing system (and
1269262685Sdelphij# other AppKit-supported windowing systems,) see the "nsterm"
1270262685Sdelphij# entry instead.
1271262685Sdelphij#
1272262685Sdelphij# NOTE: Under Mac OS X version 10.1, the default login window does not
1273262685Sdelphij# prompt for user name, instead requiring an icon to be selected from
1274262685Sdelphij# a list of known users. Since the special ">console" login is not in
1275262685Sdelphij# this list, you must make one of two changes in the Login Window
1276262685Sdelphij# panel of the Login section of System Prefs to make the special
1277262685Sdelphij# ">console" login accessible. The first option is to enable 'Show
1278262685Sdelphij# "Other User" in list for network users', which will add a special
1279262685Sdelphij# "Other..." icon to the graphical login panel. Selecting "Other..."
1280262685Sdelphij# will present the regular graphical login prompt. The second option
1281262685Sdelphij# is to change the 'Display Login Window as:' setting to 'Name and
1282262685Sdelphij# password entry fields', which replaces the login panel with a
1283262685Sdelphij# graphical login prompt.
1284262685Sdelphij#
1285262685Sdelphij# There are no function keys, at least not in Darwin 1.3.
1286262685Sdelphij#
1287262685Sdelphij# It has no mouse support.
1288262685Sdelphij#
1289262685Sdelphij# It has full ANSI color support, and color combines correctly with
1290262685Sdelphij# all three supported attributes: bold, inverse-video and underline.
1291262685Sdelphij# However, bold colored text is almost unreadable (bolding is
1292262685Sdelphij# accomplished using shifting and or-ing, and looks smeared) so bold
1293262685Sdelphij# has been excluded from the list of color-compatible attributes
1294262685Sdelphij# [using (ncv)]. The monochrome entry (-m) is useful if you use a
1295262685Sdelphij# monochrome monitor.
1296262685Sdelphij#
1297262685Sdelphij# There is one serious bug with this terminal emulation's color
1298262685Sdelphij# support: repositioning the cursor onto a cell with non-matching
1299262685Sdelphij# colors obliterates that cell's contents, replacing it with a blank
1300262685Sdelphij# and displaying a colored cursor in the "current" colors. There is
1301262685Sdelphij# no complete workaround at present [other than using the monochrome
1302262685Sdelphij# (-m) entries,] but removing the (msgr) capability seemed to help.
1303262685Sdelphij#
1304262685Sdelphij# The "standout" chosen was simple reverse-video, although a colorful
1305262685Sdelphij# standout might be more aesthetically pleasing. Similarly, the bold
1306262685Sdelphij# chosen is the terminal's own smeared bold, although a simple
1307262685Sdelphij# color-change might be more readable. The color-bold (-b) entries
1308262685Sdelphij# uses magenta colored text for bolding instead. The fancy color (-f
1309262685Sdelphij# and -f2) entries use color for bold, standout and underlined text
1310262685Sdelphij# (underlined text is still underlined, though.)
1311262685Sdelphij#
1312262685Sdelphij# Apparently the terminal emulator does support a VT-100-style
1313262685Sdelphij# alternate character set, but all the alternate character set
1314262685Sdelphij# positions have been left blank in the font. For this reason, no
1315262685Sdelphij# alternate character set capabilities have been included in this
1316262685Sdelphij# description. The console driver appears to be ASCII-only, so (enacs)
1317262685Sdelphij# has been excluded [although the VT-100 sequence does work.]
1318262685Sdelphij#
1319262685Sdelphij# The default Mac OS X and Darwin installation reports "vt100" as the
1320262685Sdelphij# terminal type, and exports no helpful environment variables. To fix
1321262685Sdelphij# this, change the "console" entry in /etc/ttys from "vt100" to
1322262685Sdelphij# "xnuppc-WxH", where W and H are the character dimensions of your
1323262685Sdelphij# console (see below.)
1324262685Sdelphij#
1325262685Sdelphij# The font used by the terminal emulator is apparently one originally
1326262685Sdelphij# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
1327262685Sdelphij# file includes descriptions for the following geometries:
1328262685Sdelphij#
1329262685Sdelphij#     Pixels        Characters   Entry Name (append -m for monochrome)
1330262685Sdelphij#    -------------------------------------------------------------------
1331262685Sdelphij#     640x400       80x25        xnuppc-80x25
1332262685Sdelphij#     640x480       80x30        xnuppc-80x30
1333262685Sdelphij#     720x480       90x30        xnuppc-90x30
1334262685Sdelphij#     800x600       100x37       xnuppc-100x37
1335262685Sdelphij#     896x600       112x37       xnuppc-112x37
1336262685Sdelphij#     1024x640      128x40       xnuppc-128x40
1337262685Sdelphij#     1024x768      128x48       xnuppc-128x48
1338262685Sdelphij#     1152x768      144x48       xnuppc-144x48
1339262685Sdelphij#     1280x1024     160x64       xnuppc-160x64
1340262685Sdelphij#     1600x1024     200x64       xnuppc-200x64
1341262685Sdelphij#     1600x1200     200x75       xnuppc-200x75
1342262685Sdelphij#     2048x1536     256x96       xnuppc-256x96
1343262685Sdelphij#
1344262685Sdelphij# The basic "xnuppc" entry includes no size information, and the
1345262685Sdelphij# emulator includes no reporting capability, so you'll be at the mercy
1346262685Sdelphij# of the TTY device (which reports incorrectly on my hardware.) The
1347262685Sdelphij# color-bold entries do not include size information.
1348262685Sdelphij
1349262685Sdelphij# The '+' entries are building blocks
1350262685Sdelphijxnuppc+basic|Darwin PowerPC Console basic capabilities,
1351262685Sdelphij	am, bce, mir, xenl,
1352262685Sdelphij	it#8,
1353262685Sdelphij	bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1354262685Sdelphij	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
1355262685Sdelphij	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
1356262685Sdelphij	cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K,
1357262685Sdelphij	el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177,
1358262685Sdelphij	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
1359262685Sdelphij	rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m,
1360262685Sdelphij	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1361262685Sdelphij	sc=\E7,
1362262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
1363262685Sdelphij	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
1364262685Sdelphij	smul=\E[4m, tbc=\E[3g, use=vt100+keypad,
1365262685Sdelphij
1366262685Sdelphijxnuppc+c|Darwin PowerPC Console ANSI color support,
1367262685Sdelphij	colors#8, ncv#32, pairs#64,
1368262685Sdelphij	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1369262685Sdelphij
1370262685Sdelphijxnuppc+b|Darwin PowerPC Console color-bold support,
1371262685Sdelphij	ncv#32,
1372262685Sdelphij	bold=\E[35m,
1373262685Sdelphij	sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
1374262685Sdelphij	use=xnuppc+basic,
1375262685Sdelphij
1376262685Sdelphijxnuppc+f|Darwin PowerPC Console fancy color support,
1377262685Sdelphij	ncv#35,
1378262685Sdelphij	sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%?%p3%t;7%;m,
1379262685Sdelphij	smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b,
1380262685Sdelphij
1381262685Sdelphijxnuppc+f2|Darwin PowerPC Console alternate fancy color support,
1382262685Sdelphij	ncv#35,
1383262685Sdelphij	bold=\E[33m,
1384262685Sdelphij	sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%?%p3%t;7%;m,
1385262685Sdelphij	smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic,
1386262685Sdelphij
1387262685Sdelphij# Building blocks for specific screen sizes
1388262685Sdelphijxnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels),
1389262685Sdelphij	cols#80, lines#25,
1390262685Sdelphij
1391262685Sdelphijxnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels),
1392262685Sdelphij	cols#80, lines#30,
1393262685Sdelphij
1394262685Sdelphijxnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels),
1395262685Sdelphij	cols#90, lines#30,
1396262685Sdelphij
1397262685Sdelphijxnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels),
1398262685Sdelphij	cols#100, lines#37,
1399262685Sdelphij
1400262685Sdelphijxnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels),
1401262685Sdelphij	cols#112, lines#37,
1402262685Sdelphij
1403262685Sdelphijxnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels),
1404262685Sdelphij	cols#128, lines#40,
1405262685Sdelphij
1406262685Sdelphijxnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels),
1407262685Sdelphij	cols#128, lines#48,
1408262685Sdelphij
1409262685Sdelphijxnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels),
1410262685Sdelphij	cols#144, lines#48,
1411262685Sdelphij
1412262685Sdelphijxnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels),
1413262685Sdelphij	cols#160, lines#64,
1414262685Sdelphij
1415262685Sdelphijxnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels),
1416262685Sdelphij	cols#200, lines#64,
1417262685Sdelphij
1418262685Sdelphijxnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels),
1419262685Sdelphij	cols#200, lines#75,
1420262685Sdelphij
1421262685Sdelphijxnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels),
1422262685Sdelphij	cols#256, lines#96,
1423262685Sdelphij
1424262685Sdelphij# These are different combinations of the building blocks
1425262685Sdelphij
1426262685Sdelphijxnuppc-m|darwin-m|Darwin PowerPC Console (monochrome),
1427262685Sdelphij	use=xnuppc+basic,
1428262685Sdelphij
1429262685Sdelphijxnuppc|darwin|Darwin PowerPC Console (color),
1430262685Sdelphij	use=xnuppc+c, use=xnuppc+basic,
1431262685Sdelphij
1432262685Sdelphijxnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold),
1433262685Sdelphij	use=xnuppc+b,
1434262685Sdelphij
1435262685Sdelphijxnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold),
1436262685Sdelphij	use=xnuppc+b, use=xnuppc+c,
1437262685Sdelphij
1438262685Sdelphijxnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome),
1439262685Sdelphij	use=xnuppc+f,
1440262685Sdelphij
1441262685Sdelphijxnuppc-f|darwin-f|Darwin PowerPC Console (fancy color),
1442262685Sdelphij	use=xnuppc+f, use=xnuppc+c,
1443262685Sdelphij
1444262685Sdelphijxnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome),
1445262685Sdelphij	use=xnuppc+f2,
1446262685Sdelphij
1447262685Sdelphijxnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color),
1448262685Sdelphij	use=xnuppc+f2, use=xnuppc+c,
1449262685Sdelphij
1450262685Sdelphij# Combinations for specific screen sizes
1451262685Sdelphijxnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25,
1452262685Sdelphij	use=xnuppc+80x25, use=xnuppc+basic,
1453262685Sdelphij
1454262685Sdelphijxnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25,
1455262685Sdelphij	use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic,
1456262685Sdelphij
1457262685Sdelphijxnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30,
1458262685Sdelphij	use=xnuppc+80x30, use=xnuppc+basic,
1459262685Sdelphij
1460262685Sdelphijxnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30,
1461262685Sdelphij	use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic,
1462262685Sdelphij
1463262685Sdelphijxnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30,
1464262685Sdelphij	use=xnuppc+90x30, use=xnuppc+basic,
1465262685Sdelphij
1466262685Sdelphijxnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30,
1467262685Sdelphij	use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic,
1468262685Sdelphij
1469262685Sdelphijxnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37,
1470262685Sdelphij	use=xnuppc+100x37, use=xnuppc+basic,
1471262685Sdelphij
1472262685Sdelphijxnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37,
1473262685Sdelphij	use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic,
1474262685Sdelphij
1475262685Sdelphijxnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37,
1476262685Sdelphij	use=xnuppc+112x37, use=xnuppc+basic,
1477262685Sdelphij
1478262685Sdelphijxnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37,
1479262685Sdelphij	use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic,
1480262685Sdelphij
1481262685Sdelphijxnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40,
1482262685Sdelphij	use=xnuppc+128x40, use=xnuppc+basic,
1483262685Sdelphij
1484262685Sdelphijxnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40,
1485262685Sdelphij	use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic,
1486262685Sdelphij
1487262685Sdelphijxnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48,
1488262685Sdelphij	use=xnuppc+128x48, use=xnuppc+basic,
1489262685Sdelphij
1490262685Sdelphijxnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48,
1491262685Sdelphij	use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic,
1492262685Sdelphij
1493262685Sdelphijxnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48,
1494262685Sdelphij	use=xnuppc+144x48, use=xnuppc+basic,
1495262685Sdelphij
1496262685Sdelphijxnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48,
1497262685Sdelphij	use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic,
1498262685Sdelphij
1499262685Sdelphijxnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64,
1500262685Sdelphij	use=xnuppc+160x64, use=xnuppc+basic,
1501262685Sdelphij
1502262685Sdelphijxnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64,
1503262685Sdelphij	use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic,
1504262685Sdelphij
1505262685Sdelphijxnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64,
1506262685Sdelphij	use=xnuppc+200x64, use=xnuppc+basic,
1507262685Sdelphij
1508262685Sdelphijxnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64,
1509262685Sdelphij	use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic,
1510262685Sdelphij
1511262685Sdelphijxnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75,
1512262685Sdelphij	use=xnuppc+200x75, use=xnuppc+basic,
1513262685Sdelphij
1514262685Sdelphijxnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75,
1515262685Sdelphij	use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic,
1516262685Sdelphij
1517262685Sdelphijxnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96,
1518262685Sdelphij	use=xnuppc+256x96, use=xnuppc+basic,
1519262685Sdelphij
1520262685Sdelphijxnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96,
1521262685Sdelphij	use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic,
1522262685Sdelphij
1523262685Sdelphij
152450276Speter#### BeOS
152550276Speter#
152650276Speter# BeOS entry for Terminal program Seems to be almost ANSI
1527166124Srafanbeterm|BeOS Terminal,
1528166124Srafan	am, eo, mir, msgr, xenl, xon,
1529166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
1530166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
1531166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1532166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1533166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1534166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
1535166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H,
1536166124Srafan	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
1537166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1538166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
1539166124Srafan	kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~,
1540166124Srafan	kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
1541166124Srafan	kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~,
1542166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
1543166124Srafan	nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
1544166124Srafan	rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7,
1545166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1546166124Srafan	setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm,
1547166124Srafan	sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m,
1548166124Srafan	smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n,
1549166124Srafan	vpa=\E[%i%p1%dd,
155050276Speter
155150276Speter#### Linux consoles
155250276Speter#
155350276Speter
155450276Speter# This entry is good for the 1.2.13 or later version of the Linux console.
155550276Speter#
155650276Speter# ***************************************************************************
155750276Speter# *                                                                         *
155850276Speter# *                           WARNING:                                      *
155950276Speter# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
156050276Speter# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
156150276Speter# * character. Here are the keymap replacement lines that will set this up: *
156250276Speter# *                                                                         *
156350276Speter#	keycode  15 = Tab             Tab
156450276Speter#		alt     keycode  15 = Meta_Tab
156550276Speter#		shift	keycode  15 = F26
156650276Speter#	string F26 ="\033[Z"
156750276Speter# *                                                                         *
156850276Speter# * This has to use a key slot which is unfortunate (any unused one will    *
156950276Speter# * do, F26 is the higher-numbered one).  The change ought to be built      *
157050276Speter# * into the kernel tables.                                                 *
157150276Speter# *                                                                         *
157250276Speter# ***************************************************************************
157350276Speter#
1574166124Srafan# All linux kernels since 1.2.13 (at least) set the screen size
157550276Speter# themselves; this entry assumes that capability.
157650276Speter#
1577166124Srafanlinux-basic|linux console,
1578166124Srafan	am, bce, eo, mir, msgr, xenl, xon,
1579262629Sdelphij	it#8, ncv#18, U8#1,
1580166124Srafan	acsc=+\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,
1581166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1582262629Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1583262629Sdelphij	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
1584262629Sdelphij	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
1585262629Sdelphij	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
1586262629Sdelphij	el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
1587166124Srafan	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
1588166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
1589166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1590166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
1591166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
1592166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
1593166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
1594166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1595166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
1596166124Srafan	kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
1597166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
1598262685Sdelphij	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;11%;m,
1599166124Srafan	smam=\E[?7h, smir=\E[4h, smul=\E[4m, tbc=\E[3g,
1600166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq, use=klone+sgr,
1601166124Srafan	use=ecma+color,
1602166124Srafan
1603166124Srafanlinux-m|Linux console no color,
1604166124Srafan	colors@, pairs@,
1605166124Srafan	setab@, setaf@, setb@, setf@, use=linux,
1606166124Srafan
160762449Speter# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
160862449Speter# and it matters, turn off <ccc>.  The %02x escape used to implement this is
1609166124Srafan# not supposedly back-portable to older SV curses (although it has worked fine
1610166124Srafan# on Solaris for several years) and not supported in ncurses versions before
1611166124Srafan# 1.9.9.
1612166124Srafanlinux-c-nc|linux console with color-change,
1613166124Srafan	ccc,
1614262629Sdelphij	initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
1615166124Srafan	oc=\E]R, use=linux-basic,
1616166124Srafan# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
1617166124Srafanlinux-c|linux console 1.3.6+ for older ncurses,
1618166124Srafan	ccc,
1619262629Sdelphij	initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%p3%{255}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%p4%{255}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;,
1620166124Srafan	oc=\E]R, use=linux-basic,
1621166124Srafan
162250276Speter# The 2.2.x kernels add a private mode that sets the cursor type; use that to
162350276Speter# get a block cursor for cvvis.
162450276Speter# reported by Frank Heckenbach <frank@g-n-u.de>.
1625262685Sdelphijlinux2.2|linux 2.2.x console,
1626166124Srafan	civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
1627166124Srafan	cvvis=\E[?25h\E[?8c, use=linux-c-nc,
162850276Speter
1629262685Sdelphij# Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
1630262685Sdelphij#	http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html
1631262685Sdelphij# Using SI/SO has the drawback that it confuses screen.  SCS would work.
1632262685Sdelphij# However, SCS is buggy (see comment in Debian #515609) -TD
1633262685Sdelphij# Further, this breaks longstanding workarounds for Linux console's line
1634262685Sdelphij# drawing (see Debian 665959) -TD
1635262685Sdelphijlinux2.6|linux 2.6.x console,
1636262685Sdelphij	rmacs=^O,
1637262685Sdelphij	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
1638262685Sdelphij	sgr0=\E[m\017, smacs=^N, use=linux2.2,
1639262685Sdelphij
1640262685Sdelphij# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
1641262685Sdelphij# It is the same as xterm's erase-saved-lines feature.
1642262685Sdelphijlinux3.0|linux 3.0 kernels,
1643262685Sdelphij	E3=\E[3;J, use=linux2.6,
1644262685Sdelphij
1645262685Sdelphij# This is Linux console for ncurses.
1646262685Sdelphijlinux|linux console,
1647262685Sdelphij	use=linux2.2,
1648262685Sdelphij
1649184989Srafan# Subject: linux 2.6.26 vt back_color_erase
1650184989Srafan# Changes to the Linux console driver broke bce model as reported in
1651184989Srafan#	https://bugzilla.novell.com/show_bug.cgi?id=418613
1652184989Srafan# apparently from
1653184989Srafan#	http://lkml.org/lkml/2008/4/26/305
1654262685Sdelphij#	http://lkml.org/lkml/2008/10/3/66
1655184989Srafanlinux2.6.26|linux console w/o bce,
1656262685Sdelphij	bce@, use=linux2.6,
1657184989Srafan
165850276Speter# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
1659166124Srafanlinux-nic|linux with ich/ich1 suppressed for non-curses programs,
1660166124Srafan	ich@, ich1@, use=linux,
166150276Speter
166250276Speter# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
166350276Speter# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
1664166124Srafanlinux-koi8|linux with koi8 alternate character set,
1665166124Srafan	acsc=+\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,
1666166124Srafan	use=linux, use=klone+koi8acs,
166750276Speter
166850276Speter# Another entry for KOI8-r with Qing Long's acsc.
166950276Speter# (which one better complies with the standard?)
1670166124Srafanlinux-koi8r|linux with koi8-r alternate character set,
1671166124Srafan	use=linux, use=klone+koi8acs,
167250276Speter
167362449Speter# Entry for the latin1 and latin2 fonts
1674166124Srafanlinux-lat|linux with latin1 or latin2 alternate character set,
1675166124Srafan	acsc=+\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,
1676166124Srafan	use=linux,
167762449Speter
1678166124Srafan# This uses graphics from VT codeset instead of from cp437.
1679166124Srafan# reason: cp437 (aka "straight to font") is not functional under luit.
1680166124Srafan# from: Andrey V Lukyanov <land@long.yar.ru>.
1681166124Srafanlinux-vt|linux console using VT codes for graphics,
1682166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
1683166124Srafan	rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0,
1684166124Srafan	smpch@, use=linux,
1685166124Srafan
1686166124Srafan# This is based on the Linux console (relies on the console to perform some
1687166124Srafan# of the functionality), but does not recognize as many control sequences.
1688166124Srafan# The program comes bundled with an old (circa 1998) copy of the Linux
1689166124Srafan# console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
1690166124Srafan#	\E*	move cursor to home, as as \E[H
1691166124Srafan#	\E,X	same as \E(X
1692166124Srafan#	\EE	move cursor to beginning of row
1693166124Srafan#	\E[y,xf	same as \E[y,xH
1694166124Srafan#
1695166124Srafan# Note: The status-line support is buggy (dsl does not work).
1696166124Srafankon|kon2|jfbterm|Kanji ON Linux console,
1697166124Srafan	ccc@, hs,
1698166124Srafan	civis@, cnorm@, cvvis@, dsl=\E[?H, flash@, fsl=\E[?F, initc@,
1699166124Srafan	initp@, kcbt@, oc@, op=\E[37;40m, rs1=\Ec, tsl=\E[?T,
1700166124Srafan	use=linux,
1701166124Srafan
1702262629Sdelphij# 16-color linux console entry; this works with a 256-character
1703262629Sdelphij# console font but bright background colors turn into dim ones when
1704262629Sdelphij# you use a 512-character console font. This uses bold for bright
1705262629Sdelphij# foreground colors and blink for bright background colors.
1706262629Sdelphijlinux-16color|linux console with 16 colors,
1707262685Sdelphij	colors#16, ncv#63, pairs#256,
1708262685Sdelphij	setab=\E[4%p1%{8}%m%d%?%p1%{7}%>%t;5%e;25%;m,
1709262685Sdelphij	setaf=\E[3%p1%{8}%m%d%?%p1%{7}%>%t;1%e;21%;m,
1710262629Sdelphij	use=linux,
1711262629Sdelphij
1712262629Sdelphij# bterm (bogl 0.1.18)
1713262629Sdelphij# Implementation is in bogl-term.c
1714262629Sdelphij# Key capabilities from linux terminfo entry
1715262629Sdelphij#
1716262629Sdelphij# Notes:
1717262629Sdelphij# bterm only supports acs using wide-characters, has case for these: qjxamlkut
1718262629Sdelphij# bterm does not support sgr, since it only processes one parameter -TD
1719262629Sdelphijbterm|bogl virtual terminal,
1720262629Sdelphij	am, bce,
1721262629Sdelphij	colors#8, cols#80, lines#24, pairs#64,
1722262629Sdelphij	acsc=aajjkkllmmqqttuuxx, bold=\E[1m, civis=\E[?25l,
1723262629Sdelphij	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J,
1724262629Sdelphij	cup=\E[%i%p1%d;%p2%dH, ed=\E[J, el=\E[K, home=\E[H, ind=^J,
1725262629Sdelphij	kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
1726262629Sdelphij	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
1727262629Sdelphij	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
1728262629Sdelphij	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
1729262629Sdelphij	kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
1730262629Sdelphij	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
1731262629Sdelphij	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
1732262629Sdelphij	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J,
1733262685Sdelphij	op=\E[49m\E[39m, rev=\E[7m, ri=\EM, rmacs=^O, rmso=\E[27m,
1734262629Sdelphij	rmul=\E[24m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1735262629Sdelphij	sgr0=\E[0m, smacs=^N, smso=\E[7m, smul=\E[4m,
1736262629Sdelphij
173762449Speter#### Mach
173862449Speter#
173962449Speter
174062449Speter# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
1741166124Srafanmach|Mach Console,
1742166124Srafan	am, km,
1743166124Srafan	cols#80, it#8, lines#25,
1744166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
1745166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1746166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
1747166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1748166124Srafan	el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
1749166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1750166124Srafan	kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
1751166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
1752166124Srafan	kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
1753166124Srafan	kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m,
1754166124Srafan	smso=\E[7m, smul=\E[4m,
1755166124Srafanmach-bold|Mach Console with bold instead of underline,
1756166124Srafan	rmul=\E[0m, smul=\E[1m, use=mach,
1757166124Srafanmach-color|Mach Console with ANSI color,
1758166124Srafan	colors#8, pairs#64,
1759166124Srafan	dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
1760166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
176150276Speter
1762262685Sdelphij# From: Samuel Thibault
1763262685Sdelphij# Source: git://git.sv.gnu.org/hurd/gnumach.git
1764262685Sdelphij# Files: i386/i386at/kd.c
1765262685Sdelphij#
1766262685Sdelphij# Added nel, hpa, sgr and removed rmacs, smacs based on source -TD
1767262685Sdelphijmach-gnu|GNU Mach,
1768262685Sdelphij	acsc=+>\,<-\^.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,
1769262685Sdelphij	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
1770262685Sdelphij	el1=\E[1K, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, ich1=\E[@,
1771262685Sdelphij	indn=\E[%p1%dS, invis=\E[8m, nel=\EE, rin=\E[%p1%dT,
1772262685Sdelphij	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m,
1773262685Sdelphij	use=mach,
1774262685Sdelphij
1775262685Sdelphijmach-gnu-color|Mach Console with ANSI color,
1776262685Sdelphij	colors#8, pairs#64,
1777262685Sdelphij	op=\E[37;40m, rmso=\E[27m, setab=\E[4%p1%dm,
1778262685Sdelphij	setaf=\E[3%p1%dm, use=mach-gnu,
1779262685Sdelphij
1780166124Srafan# From: Marcus Brinkmann
1781166124Srafan# http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
1782166124Srafan#
1783166124Srafan# Comments in the original are summarized here:
1784166124Srafan#
1785166124Srafan# hurd uses 8-bit characters (km).
1786166124Srafan#
1787166124Srafan# Although it doesn't do XON/XOFF, we don't want padding characters (xon).
1788166124Srafan#
1789166124Srafan# Regarding compatibility to vt100:  hurd doesn't specify <xenl>, as we don't
1790166124Srafan# have the eat_newline_glitch.  It doesn't support setting or removing tab
1791166124Srafan# stops (hts/tbc).
1792166124Srafan#
1793166124Srafan# hurd uses ^H instead of \E[D for cub1, as only ^H implements <bw> and it is
1794166124Srafan# one byte instead three.
1795166124Srafan#
1796166124Srafan# <ich1> is not included because hurd has insert mode.
1797166124Srafan#
1798166124Srafan# hurd doesn't use ^J for scrolling, because this could put things into the
1799166124Srafan# scrollback buffer.
1800166124Srafan#
1801166124Srafan# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
1802166124Srafan# This is a GNU extension.
1803166124Srafan#
1804166124Srafan# The original has commented-out ncv, but is restored here.
1805166124Srafan#
1806166124Srafan# Reading the source, RIS resets cnorm, but not xmous.
1807166124Srafanhurd|The GNU Hurd console server,
1808262685Sdelphij	am, bce, bw, eo, km, mir, msgr, xenl, xon,
1809166124Srafan	colors#8, it#8, ncv#18, pairs#64,
1810262629Sdelphij	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1811166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
1812166124Srafan	clear=\Ec, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1813166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
1814166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
1815166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[34l, dch=\E[%p1%dP,
1816166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
1817166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\Eg,
1818166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
1819166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
1820166124Srafan	invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\EOD,
1821166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
1822166124Srafan	kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
1823166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
1824166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1825166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
1826166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
1827166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
1828166124Srafan	kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\E[T,
1829166124Srafan	rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E[10m, rmir=\E[4l,
1830166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\EM\E[?1000l, sc=\E7,
1831166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1832166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
1833166124Srafan	sgr0=\E[0m, sitm=\E[3m, smacs=\E[11m, smir=\E[4h,
1834166124Srafan	smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, grbom=\E[>1l,
1835166124Srafan	gsbom=\E[>1h,
1836166124Srafan
183762449Speter#### QNX
183862449Speter#
183950276Speter
184050276Speter# QNX 4.0 Console
184150276Speter# Michael's original version of this entry had <am@>, <smcup=\Ei>,
184250276Speter# <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
184350276Speter# right corner without triggering a scroll.  The ncurses terminfo library can
184450276Speter# handle this case with the <ich1> capability, and prefers <am> for better
184550276Speter# optimization.  Bug: The <op> capability resets attributes.
184650276Speter# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
184750276Speter# (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1848166124Srafanqnx|qnx4|qnx console,
1849166124Srafan	daisy, km, mir, msgr, xhpa, xt,
1850166124Srafan	colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
1851166124Srafan	acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
1852166124Srafan	bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
1853166124Srafan	cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1854166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
1855166124Srafan	dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
1856166124Srafan	il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
1857166124Srafan	kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
1858166124Srafan	kDL=\377\366, kEND=\377\301, kEOL=\377\311,
1859166124Srafan	kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
1860166124Srafan	kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
1861166124Srafan	kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
1862166124Srafan	kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
1863166124Srafan	kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
1864166124Srafan	kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
1865166124Srafan	kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
1866166124Srafan	kclo=\377\343, kclr=\377\341, kcmd=\377\245,
1867166124Srafan	kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
1868166124Srafan	kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
1869166124Srafan	kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
1870166124Srafan	ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
1871166124Srafan	kext=\377\270, kf1=\377\201, kf10=\377\212,
1872166124Srafan	kf11=\377\256, kf12=\377\257, kf13=\377\213,
1873166124Srafan	kf14=\377\214, kf15=\377\215, kf16=\377\216,
1874166124Srafan	kf17=\377\217, kf18=\377\220, kf19=\377\221,
1875166124Srafan	kf2=\377\202, kf20=\377\222, kf21=\377\223,
1876166124Srafan	kf22=\377\224, kf23=\377\333, kf24=\377\334,
1877166124Srafan	kf25=\377\225, kf26=\377\226, kf27=\377\227,
1878166124Srafan	kf28=\377\230, kf29=\377\231, kf3=\377\203,
1879166124Srafan	kf30=\377\232, kf31=\377\233, kf32=\377\234,
1880166124Srafan	kf33=\377\235, kf34=\377\236, kf35=\377\276,
1881166124Srafan	kf36=\377\277, kf37=\377\321, kf38=\377\322,
1882166124Srafan	kf39=\377\323, kf4=\377\204, kf40=\377\324,
1883166124Srafan	kf41=\377\325, kf42=\377\326, kf43=\377\327,
1884166124Srafan	kf44=\377\330, kf45=\377\331, kf46=\377\332,
1885166124Srafan	kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
1886166124Srafan	kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
1887166124Srafan	khlp=\377\350, khome=\377\240, khts=\377\342,
1888166124Srafan	kich1=\377\253, kil1=\377\273, kind=\377\261,
1889166124Srafan	kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
1890166124Srafan	knp=\377\252, knxt=\377\312, kopn=\377\357,
1891166124Srafan	kopt=\377\353, kpp=\377\242, kprt=\377\255,
1892166124Srafan	kprv=\377\302, krdo=\377\336, kref=\377\354,
1893166124Srafan	kres=\377\360, krfr=\377\347, kri=\377\271,
1894166124Srafan	krmir=\377\313, krpl=\377\362, krst=\377\352,
1895166124Srafan	ksav=\377\361, kslt=\377\247, kspd=\377\335,
1896166124Srafan	ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
1897166124Srafan	rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
1898166124Srafan	rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
1899166124Srafan	setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
1900166124Srafan	smso=\E(, smul=\E[,
190166963Speter#
190266963Speter#
1903166124Srafanqnxt|qnxt4|QNX4 terminal,
1904166124Srafan	crxm, use=qnx4,
190566963Speter#
1906166124Srafanqnxm|QNX4 with mouse events,
1907166124Srafan	maddr#1,
1908166124Srafan	chr=\E/, cvr=\E", is1=\E/0t, mcub=\E/>1h, mcub1=\E/>7h,
1909166124Srafan	mcud=\E/>1h, mcud1=\E/>1l\E/>9h, mcuf=\E/>1h\E/>9l,
1910166124Srafan	mcuf1=\E/>7l, mcuu=\E/>6h, mcuu1=\E/>6l, rmicm=\E/>2l,
1911166124Srafan	smicm=\E/>2h, use=qnx4,
191266963Speter#
1913166124Srafanqnxw|QNX4 windows,
1914166124Srafan	xvpa, use=qnxm,
191566963Speter#
191666963Speter#	Monochrome QNX4 terminal or console. Setting this terminal type will
191766963Speter#	allow an application running on a color console to behave as if it
191866963Speter#	were a monochrome terminal. Output will be through stdout instead of
191966963Speter#	console writes because the term routines will recognize that the
192066963Speter#	terminal name starts with 'qnxt'.
192166963Speter#
1922166124Srafanqnxtmono|Monochrome QNX4 terminal or console,
1923166124Srafan	colors@, pairs@,
1924166124Srafan	scp@, use=qnx4,
192550276Speter
192650276Speter# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
192750276Speter# (esr: commented out <scp> and <rmcup> to avoid warnings.)
192850276Speter# (TD: derive from original qnx4 entry)
1929166124Srafanqnxt2|qnx 2.15 serial terminal,
1930166124Srafan	am,
1931166124Srafan	civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
1932166124Srafan	rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4,
193350276Speter
193466963Speter# QNX ANSI terminal definition
1935166124Srafanqansi-g|QNX ANSI,
1936166124Srafan	am, eslok, hs, xon,
1937166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80,
1938262629Sdelphij	acsc=Oa``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1939166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
1940166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M,
1941166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
1942166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1943166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A,
1944166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
1945166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, dsl=\E[r, ech=\E[%p1%dX, ed=\E[J,
1946166124Srafan	el=\E[K, el1=\E[1K\E[X, flash=\E[?5h$<200>\E[?5l,
1947166124Srafan	fsl=\E[?6h\E8, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
1948166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L,
1949166124Srafan	ind=\E[S, indn=\E[%p1%dS, invis=\E[9m,
1950166124Srafan	is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0,
1951166124Srafan	kBEG=\ENn, kCAN=\E[s, kCMD=\E[t, kCPY=\ENs, kCRT=\ENt,
1952166124Srafan	kDL=\ENv, kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h,
1953166124Srafan	kLFT=\E[d, kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c,
1954166124Srafan	kbs=^H, kcan=\E[S, kcbt=\E[Z, kclo=\ENc, kclr=\ENa,
1955166124Srafan	kcmd=\E[G, kcpy=\E[g, kctab=\E[z, kcub1=\E[D, kcud1=\E[B,
1956166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[p, kend=\E[Y,
1957166124Srafan	kext=\E[y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA,
1958166124Srafan	kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt,
1959166124Srafan	kf18=\EOu, kf19=\EOv, kf2=\EOQ, kf20=\EOw, kf21=\EOx,
1960166124Srafan	kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~,
1961166124Srafan	kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf3=\EOR, kf30=\E[6~,
1962166124Srafan	kf31=\E[7~, kf32=\E[8~, kf33=\E[9~, kf34=\E[10~,
1963166124Srafan	kf35=\E[11~, kf36=\E[12~, kf37=\E[17~, kf38=\E[18~,
1964166124Srafan	kf39=\E[19~, kf4=\EOS, kf40=\E[20~, kf41=\E[21~,
1965166124Srafan	kf42=\E[22~, kf43=\E[23~, kf44=\E[24~, kf45=\E[25~,
1966166124Srafan	kf46=\E[26~, kf47=\E[27~, kf48=\E[28~, kf5=\EOT, kf6=\EOU,
1967166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, kfnd=\ENf, khlp=\ENh,
1968166124Srafan	khome=\E[H, khts=\ENb, kich1=\E[@, kil1=\E[`, kind=\E[a,
1969166124Srafan	kmov=\ENi, kmrk=\ENm, kmsg=\ENe, knp=\E[U, kopn=\ENo,
1970166124Srafan	kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg,
1971166124Srafan	kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T,
1972166124Srafan	ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m,
1973166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T,
1974166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmso=\E[27m,
1975166124Srafan	rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
1976166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1977166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1978166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1979166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;9%;m%?%p9%t\016%e\017%;,
1980166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,
1981262629Sdelphij	smul=\E[4m, tbc=\E[3g,
1982166124Srafan	tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,
198366963Speter#
1984166124Srafanqansi|QNX ansi with console writes,
1985166124Srafan	daisy, xhpa, use=qansi-g,
198666963Speter#
1987166124Srafanqansi-t|QNX ansi without console writes,
1988166124Srafan	crxm, use=qansi,
198966963Speter#
1990166124Srafanqansi-m|QNX ansi with mouse,
1991166124Srafan	maddr#1,
1992166124Srafan	chr=\E[, cvr=\E], is1=\E[0t, mcub=\E[>1h, mcub1=\E[>7h,
1993166124Srafan	mcud=\E[>1h, mcud1=\E[>1l\E[>9h, mcuf=\E[>1h\E[>9l,
1994166124Srafan	mcuf1=\E[>7l, mcuu=\E[>6h, mcuu1=\E[>6l, rmicm=\E[>2l,
1995166124Srafan	smicm=\E[>2h, use=qansi,
199666963Speter#
1997166124Srafanqansi-w|QNX ansi for windows,
1998166124Srafan	xvpa, use=qansi-m,
199966963Speter
2000262685Sdelphij#### SCO consoles
2001262685Sdelphij
2002262685Sdelphij# SCO console and SOS-Syscons console for 386bsd
2003262685Sdelphij# (scoansi: had unknown capabilities
2004262685Sdelphij#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
2005262685Sdelphij#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
2006262685Sdelphij#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
2007262685Sdelphij#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
2008262685Sdelphij#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
2009262685Sdelphij# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
2010262685Sdelphij# on the <smacs>=\E[12m  -- esr)
2011262685Sdelphij#
2012262685Sdelphij# klone+sgr-dumb is an error since the acsc does not match -TD
2013262685Sdelphij#
2014262685Sdelphij# In this description based on SCO's keyboard(HW) manpage list of default
2015262685Sdelphij# function key values:
2016262685Sdelphij#	F13-F24 are shifted F1-F12
2017262685Sdelphij#	F25-F36 are control F1-F12
2018262685Sdelphij#	F37-F48 are shift+control F1-F12
2019262685Sdelphij#
2020262685Sdelphij# hpa/vpa work in the console, but not in scoterm:
2021262685Sdelphij#	hpa=\E[%p1%dG,
2022262685Sdelphij#	vpa=\E[%p1%dd,
2023262685Sdelphij#
2024262685Sdelphij# SCO's terminfo uses
2025262685Sdelphij#	kLFT=\E[d,
2026262685Sdelphij#	kRIT=\E[c,
2027262685Sdelphij# which do not work (console or scoterm).
2028262685Sdelphij#
2029262685Sdelphij# Console documents only 3 attributes can be set with SGR (so we don't use sgr).
2030262685Sdelphijscoansi-old|SCO Extended ANSI standard crt (5.0.5),
2031262685Sdelphij	OTbs, am, bce, eo, xon,
2032262685Sdelphij	colors#8, cols#80, it#8, lines#25, pairs#64,
2033262685Sdelphij	acsc=+/\,.-\230.\2310[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
2034262685Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
2035262685Sdelphij	civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C,
2036262685Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
2037262685Sdelphij	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2038262685Sdelphij	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP,
2039262685Sdelphij	dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M,
2040262685Sdelphij	ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I,
2041262685Sdelphij	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
2042262685Sdelphij	ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H,
2043262685Sdelphij	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2044262685Sdelphij	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
2045262685Sdelphij	kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
2046262685Sdelphij	kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
2047262685Sdelphij	kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
2048262685Sdelphij	kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
2049262685Sdelphij	kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
2050262685Sdelphij	kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
2051262685Sdelphij	kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
2052262685Sdelphij	kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
2053262685Sdelphij	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
2054262685Sdelphij	kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8,
2055262685Sdelphij	rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m,
2056262685Sdelphij	rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
2057262685Sdelphij	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
2058262685Sdelphij	smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
2059262685Sdelphijscoansi-new|SCO Extended ANSI standard crt (5.0.6),
2060262685Sdelphij	km,
2061262685Sdelphij	civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr,
2062262685Sdelphij	cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m,
2063262685Sdelphij	rep=\E[%p1%d;%p2%db, rmm=\E[=11L,
2064262685Sdelphij	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%e;10%;m,
2065262685Sdelphij	smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm,
2066262685Sdelphij	smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m,
2067262685Sdelphij	smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m,
2068262685Sdelphij	smgtp=\E[=0;%i%p1%dm, smm=\E[=10L,
2069262685Sdelphij	wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr,
2070262685Sdelphij	use=scoansi-old,
2071262685Sdelphij# make this easy to change...
2072262685Sdelphijscoansi|SCO Extended ANSI standard crt,
2073262685Sdelphij	use=scoansi-old,
2074262685Sdelphij
2075262685Sdelphij#### SGI consoles
2076262685Sdelphij
2077262685Sdelphij# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
2078262685Sdelphij# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
2079262685Sdelphij# for the application keypad mode.  We have added iris-ansi-ap rather than
2080262685Sdelphij# change the original to keypad mode.
2081262685Sdelphij#
2082262685Sdelphij# (iris-ansi: added rmam/smam based on init string -- esr)
2083262685Sdelphij#
2084262685Sdelphij# This entry, and those derived from it, is used in xwsh (also known as
2085262685Sdelphij# winterm).  Some capabilities that do not fit into the terminfo model
2086262685Sdelphij# include the shift- and control-functionkeys:
2087262685Sdelphij#
2088262685Sdelphij# F1-F12 generate different codes when shift or control modifiers are used.
2089262685Sdelphij# For example:
2090262685Sdelphij#	F1      	\E[001q
2091262685Sdelphij#	shift F1	\E[013q
2092262685Sdelphij#	control-F1	\E[025q
2093262685Sdelphij#
2094262685Sdelphij# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
2095262685Sdelphij# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
2096262685Sdelphij#
2097262685Sdelphij# The cursor keys also have different codes:
2098262685Sdelphij#	control-up	\E[162q
2099262685Sdelphij#	control-down	\E[165q
2100262685Sdelphij#	control-left	\E[159q
2101262685Sdelphij#	control-right	\E[168q
2102262685Sdelphij#
2103262685Sdelphij#	shift-up	\E[161q
2104262685Sdelphij#	shift-down	\E[164q
2105262685Sdelphij#	shift-left	\E[158q
2106262685Sdelphij#	shift-right	\E[167q
2107262685Sdelphij#
2108262685Sdelphij#	control-tab	\[072q
2109262685Sdelphij#
2110262685Sdelphijiris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
2111262685Sdelphij	am,
2112262685Sdelphij	cols#80, it#8, lines#40,
2113262685Sdelphij	bel=^G, bold=\E[1m, clear=\E[H\E[2J,
2114262685Sdelphij	cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
2115262685Sdelphij	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
2116262685Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
2117262685Sdelphij	cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
2118262685Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
2119262685Sdelphij	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
2120262685Sdelphij	is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
2121262685Sdelphij	kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
2122262685Sdelphij	kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
2123262685Sdelphij	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
2124262685Sdelphij	kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
2125262685Sdelphij	kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
2126262685Sdelphij	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
2127262685Sdelphij	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
2128262685Sdelphij	knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
2129262685Sdelphij	kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
2130262685Sdelphij	rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
2131262685Sdelphij	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
2132262685Sdelphij	tbc=\E[3g,
2133262685Sdelphijiris-ansi-ap|IRIS ANSI in application-keypad mode,
2134262685Sdelphij	is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
2135262685Sdelphij	kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi,
2136262685Sdelphij
2137262685Sdelphij# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
2138262685Sdelphij# (T.Dickey 98/1/24)
2139262685Sdelphijiris-color|xwsh|IRIX ANSI with color,
2140262685Sdelphij	ncv#33,
2141262685Sdelphij	csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
2142262685Sdelphij	ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
2143262685Sdelphij	rmul=\E[24m, rs1=\Ec,
2144262685Sdelphij	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2145262685Sdelphij	sitm=\E[3m, use=vt100+enq, use=klone+color,
2146262685Sdelphij	use=iris-ansi-ap,
2147262685Sdelphij
2148262685Sdelphij#### OpenBSD consoles
2149262685Sdelphij#
2150262685Sdelphij# From: Alexei Malinin <Alexei.Malinin@mail.ru>; October, 2011.
2151262685Sdelphij#
2152262685Sdelphij# The following terminal descriptions for the  AMD/Intel PC console
2153262685Sdelphij# were prepared  based on information contained in  the OpenBSD-4.9
2154262685Sdelphij# termtypes.master and wscons(4) & vga(4) manuals (2010, November).
2155262685Sdelphij#
2156262685Sdelphij# Added bce based on testing with tack -TD
2157262685Sdelphij# Added several capabilities to pccon+base, reading wsemul_vt100_subr.c -TD
2158262685Sdelphij# Changed kbs to DEL and removed keys that duplicate stty settings -TD
2159262685Sdelphij#
2160262685Sdelphijpccon+keys|OpenBSD PC keyboard keys,
2161262685Sdelphij	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2162262685Sdelphij	kdch1=\E[3~, kend=\E[8~, kent=^M, kf1=\E[11~, kf10=\E[21~,
2163262685Sdelphij	kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
2164262685Sdelphij	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2165262685Sdelphij	kf9=\E[20~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2166262685Sdelphij	krfr=^R,
2167262685Sdelphijpccon+sgr+acs0|sgr and simple ASCII pseudographics for OpenBSD PC console,
2168262685Sdelphij	acsc=+>\,<-\^.v0#`+a\:f\\h#i#j+k+l+m+n+o~p-q-r-s_t+u+v+w+x|y#z#{*|!}#~o,
2169262685Sdelphij	sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m,
2170262685Sdelphijpccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console,
2171262685Sdelphij	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2172262685Sdelphij	enacs=\E)0$<5>, rmacs=\E(B$<5>,
2173262685Sdelphij	sgr=\E[0%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<5>,
2174262685Sdelphij	sgr0=\E[m\E(B$<5>, smacs=\E(0$<5>,
2175262685Sdelphijpccon+colors|ANSI colors for OpenBSD PC console,
2176262685Sdelphij	bce,
2177262685Sdelphij	colors#8, pairs#64,
2178262685Sdelphij	op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2179262685Sdelphijpccon+base|base capabilities for OpenBSD PC console,
2180262685Sdelphij	am, km, mc5i, msgr, npc, nxon, xenl, xon,
2181262685Sdelphij	cols#80, it#8, lines#24,
2182262685Sdelphij	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
2183262685Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
2184262685Sdelphij	dch1=\E[P, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
2185262685Sdelphij	el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
2186262685Sdelphij	il1=\E[L, ind=\ED, nel=\EE, rev=\E[7m, ri=\EM, rmam=\E[?7l,
2187262685Sdelphij	rmso=\E[m, rs2=\Ec$<50>, smam=\E[?7h, smso=\E[7m,
2188262685Sdelphij	tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
2189262685Sdelphijpccon0-m|OpenBSD PC console without colors & with simple ASCII pseudographics,
2190262685Sdelphij	use=pccon+base, use=pccon+sgr+acs0, use=pccon+keys,
2191262685Sdelphijpccon0|OpenBSD PC console with simple ASCII pseudographics,
2192262685Sdelphij	use=pccon0-m, use=pccon+colors,
2193262685Sdelphijpccon-m|OpenBSD PC console without colors,
2194262685Sdelphij	use=pccon+base, use=pccon+sgr+acs, use=pccon+keys,
2195262685Sdelphijpccon|OpenBSD PC console,
2196262685Sdelphij	use=pccon-m, use=pccon+colors,
2197262685Sdelphij
219850276Speter#### NetBSD consoles
219950276Speter#
220050276Speter# pcvt termcap database entries (corresponding to release 3.31)
220150276Speter# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
220250276Speter#
220350276Speter# (For the terminfo master file, I translated these into terminfo syntax.
220450276Speter# Then I dropped all the pseudo-HP entries. we don't want and can't use
220550276Speter# the :Xs: flag. Then I split :is: into a size-independent <is1> and a
220650276Speter# size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
220750276Speter
220850276Speter# NOTE: <ich1> has been taken out of this entry. for reference, it should
220950276Speter# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
221050276Speter# (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
2211166124SrafanpcvtXX|pcvt vt200 emulator (DEC VT220),
2212166124Srafan	am, km, mir, msgr, xenl,
2213166124Srafan	it#8, vt#3,
2214166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
2215166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2216166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
2217166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2218166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
2219166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2220166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2221166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
2222166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
2223166124Srafan	is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
2224166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2225166124Srafan	kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
2226166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
2227166124Srafan	khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
2228166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
2229166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
2230166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
2231166124Srafan	rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2232166124Srafan	sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2233166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
223450276Speter
223550276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
223650276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
223750276Speter#	50 lines entries; 80 columns
2238166124Srafanpcvt25|dec vt220 emulation with 25 lines,
2239166124Srafan	cols#80, lines#25,
2240166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
2241166124Srafanpcvt28|dec vt220 emulation with 28 lines,
2242166124Srafan	cols#80, lines#28,
2243166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
2244166124Srafanpcvt35|dec vt220 emulation with 35 lines,
2245166124Srafan	cols#80, lines#35,
2246166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
2247166124Srafanpcvt40|dec vt220 emulation with 40 lines,
2248166124Srafan	cols#80, lines#40,
2249166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
2250166124Srafanpcvt43|dec vt220 emulation with 43 lines,
2251166124Srafan	cols#80, lines#43,
2252166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
2253166124Srafanpcvt50|dec vt220 emulation with 50 lines,
2254166124Srafan	cols#80, lines#50,
2255166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
225650276Speter
225750276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
225850276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
225950276Speter#	50 lines entries; 132 columns
2260166124Srafanpcvt25w|dec vt220 emulation with 25 lines and 132 cols,
2261166124Srafan	cols#132, lines#25,
2262166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
2263166124Srafanpcvt28w|dec vt220 emulation with 28 lines and 132 cols,
2264166124Srafan	cols#132, lines#28,
2265166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
2266166124Srafanpcvt35w|dec vt220 emulation with 35 lines and 132 cols,
2267166124Srafan	cols#132, lines#35,
2268166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
2269166124Srafanpcvt40w|dec vt220 emulation with 40 lines and 132 cols,
2270166124Srafan	cols#132, lines#40,
2271166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
2272166124Srafanpcvt43w|dec vt220 emulation with 43 lines and 132 cols,
2273166124Srafan	cols#132, lines#43,
2274166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
2275166124Srafanpcvt50w|dec vt220 emulation with 50 lines and 132 cols,
2276166124Srafan	cols#132, lines#50,
2277166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
227850276Speter
227998503Speter#	OpenBSD implements a color variation
2280166124Srafanpcvt25-color|dec vt220 emulation with 25 lines and color,
2281166124Srafan	cols#80, lines#25,
2282166124Srafan	is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, kf11=\E[23~,
2283166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2284166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2285166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
2286166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX,
2287166124Srafan	use=ecma+color,
228898503Speter
228950276Speter# Terminfo entries to enable the use of the ncurses library in colour on a
229050276Speter# NetBSD-arm32 console (only tested on a RiscPC).
229150276Speter# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
229250276Speter# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
229350276Speter# typo in invis - TD
2294166124Srafanarm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
2295166124Srafan	am, bce, msgr, xenl, xon,
2296166124Srafan	cols#80, it#8, lines#30,
2297166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2298166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2299166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2300166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2301166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
2302166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
2303166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
2304166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
2305166124Srafan	invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
2306166124Srafan	kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
2307166124Srafan	kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
2308166124Srafan	kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
2309166124Srafan	kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
2310166124Srafan	rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
2311166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2312166124Srafan	sc=\E7,
2313166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>,
2314166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
2315166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,
2316166124Srafan	use=klone+color,
231750276Speter
2318166124Srafanarm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
2319166124Srafan	cols#132, lines#50, use=arm100,
232050276Speter
232150276Speter# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
232250276Speter# manufactured by Sharp for the Japenese market.
232350276Speter# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
2324166124Srafanx68k|x68k-ite|NetBSD/x68k ITE,
2325166124Srafan	cols#96, lines#32,
2326166124Srafan	kclr=\E[9~, khlp=\E[28~, use=vt220,
232750276Speter
232856639Speter# <tv@pobox.com>:
232956639Speter# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
233056639Speter#
233156639Speter# (still unfinished, but good enough so far.)
2332166124Srafanofcons|DNARD OpenFirmware console,
2333166124Srafan	bw,
2334166124Srafan	cols#80, lines#30,
2335262685Sdelphij	bel=^G, blink=\2335m, bold=\2331m, clear=^L, cr=^M,
2336166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
2337166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
2338166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
2339166124Srafan	dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
2340166124Srafan	flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
2341166124Srafan	il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
2342166124Srafan	kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
2343166124Srafan	kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
2344166124Srafan	kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
2345166124Srafan	kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
2346166124Srafan	rmso=\2330m, rmul=\2330m,
2347262685Sdelphij	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t2%;%?%p7%t8%;%?%p1%p3%|%t;7%;m,
2348262685Sdelphij	sgr0=\2330m, smso=\2337m, smul=\2334m,
234956639Speter
2350166124Srafan# NetBSD "wscons" emulator in vt220 mode.
2351166124Srafan# This entry is based on the NetBSD termcap entry, correcting the ncv value.
2352166124Srafan# The emulator renders underlined text in red.  Colors are otherwise usable.
2353166124Srafan#
2354166124Srafan# Testing the emulator and reading the source code (NetBSD 2.0), it appears
2355166124Srafan# that "vt220" is inaccurate.  There are a few vt220-features, but most of the
2356166124Srafan# vt220 screens in vttest do not work with this emulator.  For instance, it
2357166124Srafan# identifies itself (primary DA response) as a vt220 with selective erase.  But
2358166124Srafan# the selective erase feature does not work.  The secondary response is copied
2359166124Srafan# from Kermit's emulation of vt220, does not correspond to actual vt220.  At
2360166124Srafan# the level of detail in a termcap, it is a passable emulator, since ECH does
2361166124Srafan# work.  Don't use it on a VMS system -TD
2362166124Srafanwsvt25|NetBSD wscons in 25 line DEC VT220 mode,
2363166124Srafan	bce, msgr,
2364166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#2, pairs#64,
2365262685Sdelphij	civis=\E[?25l, cnorm=\E[?25h, is2=\E[r\E[25;1H,
2366262685Sdelphij	kdch1=\E[3~, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
2367166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
2368166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2369262629Sdelphij	kf9=\E[20~, khome=\E[7~, op=\E[m, rs1=\Ec,
2370262629Sdelphij	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=vt220,
237156639Speter
2372166124Srafanwsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
2373166124Srafan	km, use=wsvt25,
237456639Speter
2375262685Sdelphij# NetBSD 6.x still uses wscons, with minor changes (2014/02/22) -TD
2376262685Sdelphij#
2377262685Sdelphij# TERM is by default vt100 for the console, wsvt25 for other ttys.
2378262685Sdelphij# Initial testing set TERM=xterm, based on comments by developers, found too
2379262685Sdelphij# many differences to continue in that path.  However, test-results may be
2380262685Sdelphij# useful to people curious about compatibility with xterm.
2381262685Sdelphij#
2382262685Sdelphij# Testing with tack:
2383262685Sdelphij# -----------------
2384262685Sdelphij# Failed: cbt, bel, flash, cvvis, smul (color), blink, invis
2385262685Sdelphij# There is color-bleeding in the color-pairs screen.
2386262685Sdelphij# Attributes do not work with color
2387262685Sdelphij# Failed: vpa/hpa
2388262685Sdelphij# Failed: kf1-kf4, kf13-kf48, khome, kend
2389262685Sdelphij# 	(effectively xterm-r6 for function-keys)
2390262685Sdelphij# None of the function or cursor key-modifiers are encoded.
2391262685Sdelphij# Console hangs in the smm/rmm test if TERM=xterm, does not show test
2392262685Sdelphij#
2393262685Sdelphij# Testing with vttest:
2394262685Sdelphij# -------------------
2395262685Sdelphij# Identifies as vt220 with selective erase
2396262685Sdelphij# 	(however, selective erase refers to DECSCA, SPA)
2397262685Sdelphij# Does not implement vt52
2398262685Sdelphij# Uses spaces to simulate double-size characters
2399262685Sdelphij# Does not support 8-bit controls
2400262685Sdelphij# Does not support VT220 reports
2401262685Sdelphij# Does not support send/receive mode
2402262685Sdelphij# Supports ECH (like rxvt)
2403262685Sdelphij# Does not support DECSCA
2404262685Sdelphij# Does not support any of the ISO-6429 cursor-movement
2405262685Sdelphij# Does not support any of the ISO-6429 miscellaneous tests
2406262685Sdelphij# 	(SL/SR also leave unexpected char on screen too)
2407262685Sdelphij# Background does not change in menu 11.6.9 (SGR 22-27)
2408262685Sdelphij# None of the xterm special features tests work
2409262685Sdelphijnetbsd6|NetBSD wscons in 25 line DEC VT100 mode,
2410262685Sdelphij	kbs=\177, use=wsvt25,
2411262685Sdelphij
2412166124Srafan# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
241356639Speter# DECstation/pmax.
2414166124Srafanrcons|BSD rasterconsole,
2415166124Srafan	use=sun-il,
2416166124Srafan# Color version of above. Color currently only provided by NetBSD.
2417166124Srafanrcons-color|BSD rasterconsole with ANSI color,
2418166124Srafan	bce,
2419166124Srafan	colors#8, pairs#64,
2420166124Srafan	op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=rcons,
242156639Speter
242262449Speter# mgterm -- MGL/MGL2, MobileGear Graphic Library
242362449Speter# for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
242462449Speter# -- the setf/setb are probably incorrect, more likely setaf/setab -TD
242562449Speter# -- compare with cons25w
2426166124Srafanmgterm,
2427166124Srafan	OTbs, OTpt, am, bce, bw, eo, km, msgr, npc,
2428166124Srafan	colors#8, cols#80, it#8, lines#18, pairs#64,
2429166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
2430166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2431166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
2432166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2433166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM,
2434166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
2435166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
2436166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
2437166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
2438166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
2439166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
2440166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
2441166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
2442166124Srafan	nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
2443166124Srafan	rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm,
2444166124Srafan	setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
244562449Speter
244650276Speter#### FreeBSD console entries
244750276Speter#
244850276Speter# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
244950276Speter# Andrey Chernov maintains the FreeBSD termcap distributions.
245050276Speter#
245150276Speter# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
245250276Speter# or comment out the :cb: capability in the console entry.
245350276Speter#
245450276Speter# Alexander Lukyanov reports:
245550276Speter# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
245650276Speter# Now el1 clears not only to the line beginning, but also a large chunk
245750276Speter# of previous line. But there is another bug - ech does not work at all.
245850276Speter#
245950276Speter
246050276Speter# for syscons
246150276Speter# common entry without semigraphics
246250276Speter# Bug: The <op> capability resets attributes.
246350276Speter# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
246450276Speter# instance el1 does if the cursor is moved to the right margin first.  Removed
246550276Speter# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
246650276Speter#
246750276Speter# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
246850276Speter# Note that this disables standout with color.
246998503Speter#
247098503Speter# The emulator sends difference strings based on shift- and control-keys,
247198503Speter# like scoansi:
247298503Speter#	F13-F24 are shifted F1-F12
247398503Speter#	F25-F36 are control F1-F12
247498503Speter#	F37-F48 are shift+control F1-F12
2475166124Srafancons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
2476166124Srafan	am, bce, bw, eo, msgr, npc,
2477166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
2478166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
2479166124Srafan	cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
2480166124Srafan	cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
2481166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2482166124Srafan	cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
2483166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
2484166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
2485166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
2486166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
2487166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
2488166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,
2489166124Srafan	kf14=\E[Z, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,
2490166124Srafan	kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,
2491166124Srafan	kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,
2492166124Srafan	kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,
2493166124Srafan	kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,
2494166124Srafan	kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,
2495166124Srafan	kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,
2496166124Srafan	kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,
2497166124Srafan	kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,
2498166124Srafan	knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m,
2499166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7,
2500166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2501166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
2502166124Srafan	sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
2503166124Srafancons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
2504166124Srafan	acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
2505166124Srafan	use=cons25w,
2506262629Sdelphijcons25-debian|freebsd console with debian backspace (25-line ansi mode),
2507262629Sdelphij	kbs=\177, kdch1=\E[3~, use=cons25,
2508166124Srafancons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
2509166124Srafan	colors@, pairs@,
2510166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
2511166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
2512166124Srafan	smul=\E[4m, use=cons25,
2513166124Srafancons30|ansi80x30|freebsd console (30-line ansi mode),
2514166124Srafan	lines#30, use=cons25,
2515166124Srafancons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
2516166124Srafan	lines#30, use=cons25-m,
2517166124Srafancons43|ansi80x43|freebsd console (43-line ansi mode),
2518166124Srafan	lines#43, use=cons25,
2519166124Srafancons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
2520166124Srafan	lines#43, use=cons25-m,
2521166124Srafancons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
2522166124Srafan	lines#50, use=cons25,
2523166124Srafancons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
2524166124Srafan	lines#50, use=cons25-m,
2525166124Srafancons60|ansi80x60|freebsd console (60-line ansi mode),
2526166124Srafan	lines#60, use=cons25,
2527166124Srafancons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
2528166124Srafan	lines#60, use=cons25-m,
2529166124Srafancons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
2530166124Srafan	acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
2531166124Srafan	use=cons25w,
2532166124Srafancons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
2533166124Srafan	colors@, pairs@,
2534166124Srafan	op@, rmul=\E[m, setab@, setaf@,
2535166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
2536166124Srafan	smul=\E[4m, use=cons25r,
2537166124Srafancons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
2538166124Srafan	lines#50, use=cons25r,
2539166124Srafancons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
2540166124Srafan	lines#50, use=cons25r-m,
2541166124Srafancons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
2542166124Srafan	lines#60, use=cons25r,
2543166124Srafancons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
2544166124Srafan	lines#60, use=cons25r-m,
254550276Speter# ISO 8859-1 FreeBSD console
2546166124Srafancons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
2547166124Srafan	acsc=+\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,
2548166124Srafan	use=cons25w,
2549166124Srafancons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
2550166124Srafan	colors@, pairs@,
2551166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
2552166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
2553166124Srafan	smul=\E[4m, use=cons25l1,
2554166124Srafancons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
2555166124Srafan	lines#50, use=cons25l1,
2556166124Srafancons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
2557166124Srafan	lines#50, use=cons25l1-m,
2558166124Srafancons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
2559166124Srafan	lines#60, use=cons25l1,
2560166124Srafancons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
2561166124Srafan	lines#60, use=cons25l1-m,
256250276Speter
2563262685Sdelphij# Starting with FreeBSD 8, an alternative configuration for syscons is provided,
2564262685Sdelphij# which is intended to be xterm-compatible.  See for example
2565262685Sdelphij#	http://svnweb.freebsd.org/base/stable/8/sys/dev/syscons/
2566262685Sdelphij# in particular scterm-teken.c
2567262685Sdelphij#
2568262685Sdelphij# For FreeBSD 9 and 10:
2569262685Sdelphij# --------------------
2570262685Sdelphij# The /etc/ttys entries for console and other ttys are all configured to set
2571262685Sdelphij# TERM=xterm.
2572262685Sdelphij#
2573262685Sdelphij# Testing with tack:
2574262685Sdelphij# There is no VT100 line-drawing (uses +'s and -'s)
2575262685Sdelphij# Shifted f1-f12 give cons25 codes, rather than xterm function-keys
2576262685Sdelphij#
2577262685Sdelphij# Testing with vttest:
2578262685Sdelphij# Menu 2 diamonds don't work, blink ditto, light background ditto
2579262685Sdelphij# The terminal identifies itself as VT100 with AVO
2580262685Sdelphij# There is no VT52 support
2581262685Sdelphij# There is no doublesize character support
2582262685Sdelphij# The terminal supports ECH (like rxvt)
2583262685Sdelphij# The terminal does not support send/receive mode
2584262685Sdelphij# The terminal supports all of the ISO-6429 cursor-movement
2585262685Sdelphij# The terminal supports some of the ISO-6429 miscellaneous tests
2586262685Sdelphij#	(SL/SR also leave unexpected char on screen too)
2587262685Sdelphij#
2588262685Sdelphij# Considering cons25 as a base, the line-drawing mostly works, but is missing
2589262685Sdelphij# the cells which happen to have ASCII control-character values:
2590262685Sdelphij#	-    ^X    arrow pointing up
2591262685Sdelphij#	.    ^Y    arrow pointing down
2592262685Sdelphij#	i    ^Y    lantern
2593262685Sdelphij#	`    ^D    diamond
2594262685Sdelphij#
2595262685Sdelphij# Those are removed from this entry's acsc string to avoid confusion.
2596262685Sdelphij# The resulting description provides correct line-drawing and function-keys -TD
2597262685Sdelphijteken|syscons with teken,
2598262685Sdelphij	bw@, mir, xenl,
2599262685Sdelphij	acsc=0\333a\260f\370g\361h\261j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
2600262685Sdelphij	civis=\E[?25l, cnorm=\E[?25h, cvvis@, hpa=\E[%i%p1%dG,
2601262685Sdelphij	hts=\EH, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2602262685Sdelphij	kdch1=\E[3~, kend=\E[F, kent=^M, kf1=\EOP, kf10=\E[21~,
2603262685Sdelphij	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
2604262685Sdelphij	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2605262685Sdelphij	khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmir=\E[4l,
2606262685Sdelphij	smir=\E[4h, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
2607262685Sdelphij	u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, use=cons25,
2608262685Sdelphij
260950276Speter#### 386BSD and BSD/OS Consoles
261050276Speter#
261150276Speter
2612166124Srafan# This was the original 386BSD console entry (I think).
261350276Speter# Some places it's named oldpc3|oldibmpc3.
261450276Speter# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
2615166124Srafanorigpc3|origibmpc3|IBM PC 386BSD Console,
2616166124Srafan	OTbs, am, bw, eo, xon,
2617166124Srafan	cols#80, lines#25,
2618166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
2619166124Srafan	bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
2620166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
2621166124Srafan	home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
2622166124Srafan	kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
2623166124Srafan	rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
2624166124Srafan	smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
262550276Speter
262650276Speter# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
2627166124Srafanoldpc3|oldibmpc3|old IBM PC BSD/386 Console,
2628166124Srafan	OTbs, km,
2629166124Srafan	lines#25,
2630166124Srafan	bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
2631166124Srafan	ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
2632166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
2633166124Srafan	knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
263450276Speter
263550276Speter# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
263650276Speter# Note, the emulator supports many of the additional console features
263750276Speter# listed in the iBCS2 (e.g. character-set selection) though not all
263850276Speter# are described here.  This entry really ought to be upgraded.
263950276Speter# Also note, the console will also work with fewer lines after doing
264050276Speter# "stty rows NN", e.g. to use 24 lines.
2641166124Srafan# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
264250276Speter# Bug: The <op> capability resets attributes.
2643166124Srafanbsdos-pc|IBM PC BSD/OS Console,
2644166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
2645166124Srafan	use=bsdos-pc-nobold,
264662449Speter
2647166124Srafanbsdos-pc-nobold|BSD/OS PC console w/o bold,
2648166124Srafan	use=klone+color, use=bsdos-pc-m,
264962449Speter
2650166124Srafanbsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono,
2651166124Srafan	OTbs, am, eo, km, xon,
2652166124Srafan	cols#80, it#8, lines#25,
2653166124Srafan	bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
2654166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2655166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2656166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
2657166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
2658166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
2659166124Srafan	kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
2660166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;,
2661166124Srafan	use=klone+sgr8,
266250276Speter
2663166124Srafan# Old names for BSD/OS PC console used in releases before 4.1.
2664166124Srafanpc3|BSD/OS on the PC Console,
2665166124Srafan	use=bsdos-pc-nobold,
2666166124Srafanibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
2667166124Srafan	use=bsdos-pc,
266850276Speter
2669166124Srafan# BSD/OS on the SPARC
2670166124Srafanbsdos-sparc|Sun SPARC BSD/OS Console,
2671166124Srafan	use=sun,
2672166124Srafan
2673166124Srafan# BSD/OS on the PowerPC
2674166124Srafanbsdos-ppc|PowerPC BSD/OS Console,
2675166124Srafan	use=bsdos-pc,
2676166124Srafan
2677262685Sdelphij
267862449Speter#### DEC VT52
267962449Speter# (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
2680166124Srafan#
2681166124Srafan# Actually (TD pointed this out at the time the acsc string was added):
2682166124Srafan# vt52 shouldn't define full acsc since most of the cells don't match.
2683166124Srafan# see vt100 manual page A-31.  This is the list that does match:
2684166124Srafan#	f degree
2685166124Srafan#	g plus/minus
2686166124Srafan#	h right-arrow
2687166124Srafan#	k down-arrow
2688166124Srafan#	m scan-1
2689166124Srafan#	o scan-3
2690166124Srafan#	q scan-5
2691166124Srafan#	s scan-7
2692166124Srafan# The line-drawing happens to work in several terminal emulators, but should
2693166124Srafan# not be used as a guide to the capabilities of the vt52.  Note in particular
2694166124Srafan# that vt52 does not support line-drawing characters (the scan-X values refer
2695166124Srafan# to a crude plotting feature) -TD
2696166124Srafanvt52|dec vt52,
2697166124Srafan	OTbs,
2698166124Srafan	cols#80, it#8, lines#24,
2699262629Sdelphij	acsc=+h.k0affggolpnqprrss, bel=^G, clear=\EH\EJ, cr=^M,
2700166124Srafan	cub1=\ED, cud1=\EB, cuf1=\EC,
2701166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
2702166124Srafan	el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
2703166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
270462449Speter
270550276Speter#### DEC VT100 and compatibles
270650276Speter#
270762449Speter# DEC terminals from the vt100 forward are collected here. Older DEC terminals
270862449Speter# and micro consoles can be found in the `obsolete' section.  More details on
270950276Speter# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
271050276Speter# found near the end of this file.
271150276Speter#
271250276Speter# Except where noted, these entries are DEC's official terminfos.
271350276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
2714166124Srafan# Engineering for more information.  Updated terminfos and termcaps
271550276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
271650276Speter#
271750276Speter# In October 1995 DEC sold its terminals business, including the VT and Dorio
271850276Speter# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
271950276Speter# its name to Boundless Technologies; see http://www.boundless.com.
272050276Speter#
272150276Speter
272250276Speter# NOTE:  Any VT100 emulation, whether in hardware or software, almost
272350276Speter# certainly includes what DEC called the `Level 1 editing extension' codes;
272450276Speter# only the very oldest VT100s lacked these and there probably aren't any of
272550276Speter# those left alive.  To capture these, use one of the VT102 entries.
272650276Speter#
272750276Speter# Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
272850276Speter# since the cursor is left in a different position while in the
272950276Speter# weird state (concept at beginning of next line, vt100 at end
273050276Speter# of this line) so all versions of vi before 3.7 don't handle
273150276Speter# <xenl> right on vt100. The correct way to handle <xenl> is when
273250276Speter# you output the char in column 80, immediately output CR LF
273350276Speter# and then assume you are in column 1 of the next line. If <xenl>
273450276Speter# is on, am should be on too.
2735166124Srafan#
273650276Speter# I assume you have smooth scroll off or are at a slow enough baud
273750276Speter# rate that it doesn't matter (1200? or less). Also this assumes
2738166124Srafan# that you set auto-nl to "on", if you set it off use vt100-nam
273950276Speter# below.
2740166124Srafan#
274150276Speter# The padding requirements listed here are guesses. It is strongly
274250276Speter# recommended that xon/xoff be enabled, as this is assumed here.
2743166124Srafan#
2744166124Srafan# The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
2745166124Srafan# tab settings are in non-volatile memory and don't need to be
2746166124Srafan# reset upon login. Also setting the number of columns glitches
274750276Speter# the screen annoyingly. You can type "reset" to get them set.
274850276Speter#
274962449Speter# The VT100 series terminals have cursor ("arrows") keys which can operate
275062449Speter# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
275162449Speter# is the reset state, and is assumed to be the normal state.  Application
275262449Speter# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
275362449Speter# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
275462449Speter# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
275562449Speter# was provided primarily as an aid to the porting of VT52 applications.  It is
275662449Speter# assumed that the cursor keys are normally in Cursor Mode, and expected that
275762449Speter# applications such as vi will always transmit the <smkx> string.  Therefore,
275862449Speter# the definitions for the cursor keys are made to match what the terminal
275962449Speter# transmits after the <smkx> string is transmitted.  If the <smkx> string
276062449Speter# is a null string or is not defined, then cursor keys are assumed to be in
276162449Speter# "Cursor Mode", and the cursor keys definitions should match that assumption,
276262449Speter# else the application may fail.  It is also expected that applications will
276362449Speter# always transmit the <rmkx> string to the terminal before they exit.
276462449Speter#
276562449Speter# The VT100 series terminals have an auxiliary keypad, commonly referred to as
276662449Speter# the "Numeric Keypad", because it is a cluster of numeric and function keys.
276762449Speter# The Numeric Keypad which can operate in two different modes: Numeric Mode and
276862449Speter# Application Mode.  Numeric Mode is the reset state, and is assumed to be
276962449Speter# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
2770166124Srafan# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
277162449Speter# Enter key transmits the same as the Return key (Note: the Return key
277262449Speter# can be configured to send either LF (\015) or CR LF).  In Application Mode,
277362449Speter# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
277462449Speter# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
277562449Speter# is normally in Numeric Mode.  If an application requires that the keypad be
277662449Speter# in Application Mode then it is expected that the user, or the application,
277762449Speter# will set the TERM environment variable to point to a terminfo entry which has
277862449Speter# defined the <smkx> string to include the codes that switch the keypad into
277962449Speter# Application Mode, and the terminfo entry will also define function key
278062449Speter# fields to match the Application Mode control codes.  If the <smkx> string
278162449Speter# is a null string or is not defined, then the keypad is assumed to be in
278262449Speter# Numeric Mode.  If the <smkx> string switches the keypad into Application
278362449Speter# Mode, it is expected that the <rmkx> string will contain the control codes
278462449Speter# necessary to reset the keypad to "Normal" mode, and it is also expected that
278562449Speter# applications which transmit the <smkx> string will also always transmit the
278662449Speter# <rmkx> string to the terminal before they exit.
278762449Speter#
278850276Speter# Here's a diagram of the VT100 keypad keys with their bindings.
278950276Speter# The top line is the name of the key (some DEC keyboards have the keys
279050276Speter# labelled somewhat differently, like GOLD instead of PF1, but this is
279150276Speter# the most "official" name).  The second line is the escape sequence it
279250276Speter# generates in Application Keypad mode (where "$" means the ESC
279350276Speter# character).  The third line contains two items, first the mapping of
279450276Speter# the key in terminfo, and then in termcap.
279550276Speter#   _______________________________________
279650276Speter#  |   PF1   |   PF2   |   PF3   |   PF4   |
279750276Speter#  |   $OP   |   $OQ   |   $OR   |   $OS   |
279850276Speter#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
279950276Speter#  |    7         8         9         -    |
280050276Speter#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
280150276Speter#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
280250276Speter#  |    4    |    5    |    6    |    ,    |
280350276Speter#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
280450276Speter#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
280550276Speter#  |    1    |    2    |    3    |         |
280650276Speter#  |   $Oq   |   $Or   |   $Os   |  enter  |
280750276Speter#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
280850276Speter#  |         0         |   .     |         |
280950276Speter#  |        $Op        |  $On    |         |
281050276Speter#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
281150276Speter#
2812166124Srafan# Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
2813166124Srafan# terminfo guidelines.  That is a compromise used to assign the remaining
2814166124Srafan# keys on the keypad to kf5-kf0, used on older systems with legacy termcap
2815166124Srafan# support:
2816166124Srafanvt100+keypad|dec vt100 numeric keypad no fkeys,
2817166124Srafan	ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn,
2818166124Srafanvt100+pfkeys|dec vt100 numeric keypad,
2819166124Srafan	kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
2820166124Srafan	use=vt100+keypad,
2821166124Srafanvt100+fnkeys|dec vt100 numeric keypad,
2822166124Srafan	kf0=\EOy, kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
2823166124Srafan	kf9=\EOw, use=vt100+pfkeys,
2824166124Srafan#
2825166124Srafan# A better adaptation to modern keyboards such as the PC's, which have a dozen
2826166124Srafan# function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
2827166124Srafan# use the 5-key arrangement to model the arrow keys as suggested in the
2828166124Srafan# terminfo guidelines:
2829166124Srafan#   _______________________________________
2830166124Srafan#  |   PF1   |   PF2   |   PF3   |   PF4   |
2831166124Srafan#  |   $OP   |   $OQ   |   $OR   |   $OS   |
2832166124Srafan#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
2833166124Srafan#  |    7         8         9         -    |
2834166124Srafan#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
2835166124Srafan#  |_ka1__K1_|_________|_ka3__K3_|_________|
2836166124Srafan#  |    4    |    5    |    6    |    ,    |
2837166124Srafan#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
2838166124Srafan#  |_________|_kb2__K2_|_________|_________|
2839166124Srafan#  |    1    |    2    |    3    |         |
2840166124Srafan#  |   $Oq   |   $Or   |   $Os   |  enter  |
2841166124Srafan#  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
2842166124Srafan#  |         0         |   .     |         |
2843166124Srafan#  |        $Op        |  $On    |         |
2844166124Srafan#  |___________________|_________|_kent_@8_|
2845166124Srafan#
2846166124Srafanvt220+keypad|dec vt220 numeric keypad,
2847166124Srafan	ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kent=\EOM,
2848166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ka2=\EOx, kb1=\EOt,
2849166124Srafan	kb3=\EOv, kc2=\EOr,
2850166124Srafan#
2851166124Srafanvt100+enq|ncurses extension for vt100-style ENQ,
2852166124Srafan	u8=\E[?1;2c, use=ansi+enq,
2853166124Srafanvt102+enq|ncurses extension for vt102-style ENQ,
2854166124Srafan	u8=\E[?6c, use=ansi+enq,
2855166124Srafan#
285650276Speter# And here, for those of you with orphaned VT100s lacking documentation, is
285750276Speter# a description of the soft switches invoked when you do `Set Up'.
2858166124Srafan#
285950276Speter#  Scroll 0-Jump               Shifted 3   0-#
286050276Speter#  |      1-Smooth             |           1-British pound sign
286150276Speter#  | Autorepeat 0-Off          | Wrap Around 0-Off
286250276Speter#  | |          1-On           | |           1-On
286350276Speter#  | | Screen 0-Dark Bkg       | | New Line 0-Off
286450276Speter#  | | |      1-Light Bkg      | | |        1-On
286550276Speter#  | | | Cursor 0-Underline    | | | Interlace 0-Off
286650276Speter#  | | | |      1-Block        | | | |         1-On
286750276Speter#  | | | |                     | | | |
286850276Speter#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
286950276Speter#                | | | |                     | | | |
287050276Speter#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
287150276Speter#                | | |               1-On    | | |       1-50 Hz
287250276Speter#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
287350276Speter#                | |           1-ANSI        | |                1-8 Bits
287450276Speter#                | Keyclick 0-Off            | Parity 0-Off
287550276Speter#                |          1-On             |        1-On
287650276Speter#                Margin Bell 0-Off           Parity Sense 0-Odd
287750276Speter#                            1-On                         1-Even
287850276Speter#
287950276Speter# The following SET-UP modes are assumed for normal operation:
288050276Speter#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
288150276Speter#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
288250276Speter# Other SET-UP modes may be set for operator convenience or communication
288350276Speter# requirements; I recommend
288450276Speter#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
288550276Speter# Unless you have a graphics add-on such as Digital Engineering's VT640
288650276Speter# (and even then, whenever it can be arranged!) you should set
288750276Speter#	INTERLACE_OFF
288850276Speter#
288950276Speter# (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
2890166124Srafanvt100|vt100-am|dec vt100 (w/advanced video),
2891166124Srafan	OTbs, am, mc5i, msgr, xenl, xon,
2892166124Srafan	cols#80, it#8, lines#24, vt#3,
2893166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2894166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2895166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2896166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2897166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
2898166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
2899166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
2900166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
2901166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, lf1=pf1,
2902166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
2903166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
2904166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
2905166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2906166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
2907166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
2908166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
2909166124Srafan	use=vt100+fnkeys,
2910166124Srafanvt100nam|vt100-nam|vt100 no automargins,
2911166124Srafan	am@, xenl@, use=vt100-am,
2912166124Srafanvt100-vb|dec vt100 (w/advanced video) & no beep,
2913166124Srafan	bel@, flash=\E[?5h\E[?5l, use=vt100,
291450276Speter
291550276Speter# Ordinary vt100 in 132 column ("wide") mode.
2916166124Srafanvt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
2917166124Srafan	cols#132, lines#24,
2918166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
2919166124Srafanvt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
2920166124Srafan	cols#132, lines#14, vt@,
2921166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
292250276Speter
292350276Speter# vt100 with no advanced video.
2924166124Srafanvt100-nav|vt100 without advanced video option,
2925166124Srafan	xmc#1,
2926166124Srafan	blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
2927166124Srafan	smul@, use=vt100,
2928166124Srafanvt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
2929166124Srafan	cols#132, lines#14, use=vt100-nav,
293050276Speter
293150276Speter# vt100 with one of the 24 lines used as a status line.
293250276Speter# We put the status line on the top.
2933166124Srafanvt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
2934166124Srafan	eslok, hs,
2935166124Srafan	lines#23,
2936166124Srafan	clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
2937166124Srafan	cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
2938166124Srafan	fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
2939166124Srafan	tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
294050276Speter
2941166124Srafan# Status line at bottom.
294250276Speter# Clearing the screen will clobber status line.
2943166124Srafanvt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
2944166124Srafan	eslok, hs,
2945166124Srafan	lines#23,
2946166124Srafan	dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
2947166124Srafan	tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am,
294850276Speter
294950276Speter# Most of the `vt100' emulators out there actually emulate a vt102
295050276Speter# This entry (or vt102-nsgr) is probably the right thing to use for
2951166124Srafan# these.
2952166124Srafanvt102|dec vt102,
2953166124Srafan	dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
2954166124Srafan	use=vt100,
2955166124Srafanvt102-w|dec vt102 in wide mode,
2956166124Srafan	cols#132,
2957166124Srafan	rs3=\E[?3h, use=vt102,
295850276Speter
295950276Speter# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
296050276Speter# fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
296150276Speter# string in the canonical vt100 entry above leaves the screen littered
296250276Speter# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
296350276Speter# after highlight turnoffs.  This entry should fix that, and even leave
2964166124Srafan# ACS support working, at the cost of making multiple-highlight changes
296550276Speter# slightly more expensive.
296650276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
2967166124Srafanvt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
2968166124Srafan	sgr@, sgr0=\E[m, use=vt102,
296950276Speter
297050276Speter# VT125 Graphics CRT.  Clear screen also erases graphics
2971166124Srafan# Some vt125's came configured with vt102 support.
2972166124Srafanvt125|vt125 graphics terminal,
2973166124Srafan	mir,
2974166124Srafan	clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
297550276Speter
297650276Speter# This isn't a DEC entry, it came from University of Wisconsin.
297750276Speter# (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
2978166124Srafanvt131|dec vt131,
2979166124Srafan	OTbs, am, xenl,
2980166124Srafan	cols#80, it#8, lines#24, vt#3,
2981166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
2982166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2983166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
2984166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
2985166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
2986166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
2987166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
2988166124Srafan	kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
2989166124Srafan	rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
2990166124Srafan	rmul=\E[m$<2/>,
2991166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2992166124Srafan	sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
2993166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
299450276Speter
299550276Speter# vt132 - like vt100 but slower and has ins/del line and such.
299650276Speter# I'm told that <smir>/<rmir> are backwards in the terminal from the
2997166124Srafan# manual and from the ANSI standard, this describes the actual
2998166124Srafan# terminal. I've never actually used a vt132 myself, so this
299950276Speter# is untested.
300050276Speter#
3001166124Srafanvt132|DEC vt132,
3002166124Srafan	xenl,
3003166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
3004166124Srafan	ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100,
300550276Speter
300650276Speter# This vt220 description maps F5--F9 to the second block of function keys
300750276Speter# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
300850276Speter# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
300950276Speter# PF1--PF4 are used as F1--F4.
301050276Speter#
3011262685Sdelphij# added msgr -TD
3012166124Srafanvt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
3013262685Sdelphij	OTbs, OTpt, am, mir, msgr, xenl, xon,
3014166124Srafan	cols#80, lines#24, vt#3,
3015166124Srafan	OTnl=^J,
3016166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3017166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
3018166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
3019166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
3020166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
3021166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
3022166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
3023166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
3024166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
3025166124Srafan	kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
3026166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
3027166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
3028166124Srafan	rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
3029166124Srafan	ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
3030166124Srafan	rmso=\E[27m, rmul=\E[24m,
3031166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
3032166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3033166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
3034166124Srafan	smso=\E[7m, smul=\E[4m,
303550276Speter
303662449Speter# A much better description of the VT200/220; used to be vt220-8
303762449Speter# changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
303862449Speter# designation to accommodate bug in pcvt -TD
3039262685Sdelphij#
3040262685Sdelphij# Here's a picture of the VT220 editing keypad:
3041262685Sdelphij#	+--------+--------+--------+
3042262685Sdelphij#	| Find   | Insert | Remove |
3043262685Sdelphij#	+--------+--------+--------+
3044262685Sdelphij#	| Select | Prev   | Next   |
3045262685Sdelphij#	+--------+--------+--------+
3046166124Srafanvt220|vt200|dec vt220,
3047262685Sdelphij	OTbs, am, mir, msgr, xenl, xon,
3048166124Srafan	cols#80, it#8, lines#24, vt#3,
3049166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3050166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
3051166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3052166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3053166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3054166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3055166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
3056166124Srafan	flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
3057166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
3058166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
3059262685Sdelphij	is2=\E[?7h\E[>\E[?1l\E F\E[?4l, kbs=^H, kcub1=\E[D,
3060262685Sdelphij	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
3061262685Sdelphij	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
3062262685Sdelphij	kf14=\E[26~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3063262685Sdelphij	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
3064262685Sdelphij	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
3065262685Sdelphij	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3066262685Sdelphij	krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
3067262685Sdelphij	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B$<4>,
3068262685Sdelphij	rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
3069262685Sdelphij	rs1=\E[?3l, sc=\E7,
3070166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3071166124Srafan	sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
3072262685Sdelphij	smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=ansi+pp,
3073262685Sdelphij	use=ansi+enq,
3074166124Srafanvt220-w|vt200-w|DEC vt220 in wide mode,
3075166124Srafan	cols#132,
3076166124Srafan	rs3=\E[?3h, use=vt220,
3077166124Srafanvt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode,
3078166124Srafan	OTbs, am, mc5i, mir, msgr, xenl, xon,
3079166124Srafan	cols#80, it#8, lines#24, vt#3,
3080166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3081166124Srafan	bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M,
3082166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
3083166124Srafan	cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
3084166124Srafan	cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
3085166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
3086166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0,
3087166124Srafan	flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,
3088166124Srafan	ich=\233%p1%d@, if=/usr/share/tabset/vt100,
3089166124Srafan	il=\233%p1%dL, il1=\233L, ind=\ED,
3090262685Sdelphij	is2=\233?7h\233>\233?1l\E F\233?4l, kbs=^H,
3091166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
3092262685Sdelphij	kdch1=\2333~, kf1=\EOP, kf10=\23321~, kf11=\23323~,
3093262685Sdelphij	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf17=\23331~,
3094262685Sdelphij	kf18=\23332~, kf19=\23333~, kf2=\EOQ, kf20=\23334~,
3095262685Sdelphij	kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~, kf8=\23319~,
3096262685Sdelphij	kf9=\23320~, kfnd=\2331~, khlp=\23328~, khome=\233H,
3097262685Sdelphij	kich1=\2332~, knp=\2336~, kpp=\2335~, krdo=\23329~,
3098262685Sdelphij	kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i,
3099262685Sdelphij	mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8, rev=\2337m, ri=\EM,
3100262685Sdelphij	rmacs=\E(B, rmam=\233?7l, rmir=\2334l, rmso=\23327m,
3101262685Sdelphij	rmul=\23324m, rs1=\233?3l, sc=\E7,
3102166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3103166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h, smir=\2334h,
3104166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g,
310550276Speter
310662449Speter# vt220d:
310762449Speter# This vt220 description regards F6--F10 as the second block of function keys
310862449Speter# at the top of the keyboard.  This mapping follows the description given
310962449Speter# in the VT220 Programmer Reference Manual and agrees with the labeling
311062449Speter# on some terminals that emulate the vt220.  There is no support for an F5.
3111166124Srafan# See vt220 for an alternate mapping.
311262449Speter#
3113166124Srafanvt220d|DEC VT220 in vt100 mode with DEC function key labeling,
3114166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
3115166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
3116166124Srafan	kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
3117166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old,
311862449Speter
3119166124Srafanvt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
3120166124Srafan	am@,
3121166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
312262449Speter
312350276Speter# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
312450276Speter# (not an official DEC entry!)
312550276Speter# The problem with real vt220 terminals is they don't send escapes when in
312650276Speter# in vt220 mode.  This can be gotten around two ways.  1> don't send
312750276Speter# escapes or 2> put the vt220 into vt100 mode and use all the nifty
312850276Speter# features of vt100 advanced video which it then has.
312950276Speter#
313050276Speter# This entry takes the view of putting a vt220 into vt100 mode so
313150276Speter# you can use the escape key in emacs and everything else which needs it.
313250276Speter#
313350276Speter# You probably don't want to use this on a VMS machine since VMS will think
313450276Speter# it has a vt220 and will get fouled up coming out of emacs
313550276Speter#
313650276Speter# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
313762449Speter# (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
3138262685Sdelphij# added msgr -TD
3139166124Srafanvt200-js|vt220-js|dec vt200 series with jump scroll,
3140262685Sdelphij	am, msgr,
3141166124Srafan	cols#80,
3142166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
3143262629Sdelphij	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
3144262629Sdelphij	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
3145262629Sdelphij	ht=^I, il1=\E[L, ind=\ED,
3146262685Sdelphij	is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1h\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
3147166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3148166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,
3149166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
3150166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
3151166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,
3152166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
3153166124Srafan
3154166124Srafan# This was DEC's vt320.  Use the purpose-built one below instead
315550276Speter#vt320|DEC VT320 in vt100 emulation mode,
315650276Speter#	use=vt220,
315750276Speter
315850276Speter# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
315950276Speter#
3160166124Srafanvt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
3161166124Srafan	am@,
3162166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
316350276Speter
3164166124Srafan# These entries are not DEC's official ones, they were purpose-built for the
316550276Speter# VT320.  Here are the designer's notes:
3166166124Srafan# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
316750276Speter# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
316850276Speter# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
316950276Speter# Things that use <knxt> usually use tab anyways... and things that don't use
317050276Speter# tab usually use <knxt> instead...
317150276Speter# kprv is same as tab - Backtab is useless...
317250276Speter# I left out <sgr> because of its RIDICULOUS complexity,
317350276Speter# and the resulting fact that it causes the termcap translation of the entry
317450276Speter# to SMASH the 1k-barrier...
317562449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
3176166124Srafan# (vt320: uncommented <fsl> --esr)
3177166124Srafanvt320|vt300|dec vt320 7 bit terminal,
3178262685Sdelphij	am, hs, mir, msgr, xenl,
3179166124Srafan	cols#80, lines#24, wsl#80,
3180166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3181166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3182166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3183166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3184166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3185166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3186166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3187262685Sdelphij	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I,
3188262685Sdelphij	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
3189166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3190166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3191166124Srafan	kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~,
3192166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3193166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3194166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
3195166124Srafan	kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I,
3196262685Sdelphij	kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m,
3197166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
3198166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
3199166124Srafan	rmul=\E[m,
3200166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3201166124Srafan	sc=\E7,
3202166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3203166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
3204166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3205262685Sdelphij	use=dec+pp, use=vt220+keypad, use=dec+sl, use=ansi+enq,
3206166124Srafanvt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
3207166124Srafan	am@,
3208166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
3209166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
3210166124Srafan	use=vt320,
321150276Speter# We have to init 132-col mode, not 80-col mode.
3212166124Srafanvt320-w|vt300-w|dec vt320 wide 7 bit terminal,
3213166124Srafan	cols#132, wsl#132,
3214166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3215166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3216166124Srafan	use=vt320,
3217166124Srafanvt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
3218166124Srafan	am@,
3219166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
3220166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
3221166124Srafan	use=vt320-w,
322250276Speter
322350276Speter# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
322450276Speter#   which are pretty much a superset of the VT320.  They have the
322550276Speter#   host writable status line, yet another different DRCS matrix size,
322650276Speter#   and such, but they add the DEC Technical character set, Multiple text
322750276Speter#   pages, selectable length pages, and the like.  The difference between
322850276Speter#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
322950276Speter#   monitor, the former has 4 planes and a color monitor.  These terminals
323050276Speter#   support VT131 and ANSI block mode, but as with much of these things,
323150276Speter#   termcap/terminfo doesn't deal with these features.
323250276Speter#
323350276Speter# Note that this entry is are set up in what was the standard way for GNU
323450276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
323550276Speter# keys were switched into application mode at the same time the numeric pad
323650276Speter# is switched into application mode.  This changes the definitions of the
3237166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
323850276Speter# your termcap or terminfo entry,
323950276Speter#
324050276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
324150276Speter# (vt340: string capability "sb=\E[M" corrected to "sr";
324250276Speter# also, added <rmam>/<smam> based on the init string -- esr)
3243166124Srafanvt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
3244166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
3245166124Srafan	cols#80, it#8, lines#24, vt#3,
3246166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3247166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
3248166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
3249166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
3250166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
3251166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
3252166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$},
3253166124Srafan	ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
3254166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
3255166124Srafan	il1=\E[L, ind=\ED,
3256166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3257166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3258166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
3259166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
3260166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
3261166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
3262166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
3263166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7,
3264166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3265166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
3266166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3267166124Srafan	tsl=\E[2$~\E[1$}\E[1;%dH,
326850276Speter
326950276Speter# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
327050276Speter# (originally written with vt420 as its primary name, and usable for it).
3271166124Srafan#
3272166124Srafan# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
327350276Speter#    text pages and long text pages with selectable length of the vt340, along
327450276Speter#    with left and right margins, rectangular area text copy, fill, and erase
327550276Speter#    operations, selected region character attribute change operations,
327650276Speter#    page memory and rectangle checksums, insert/delete column, reception
327750276Speter#    macros, and other features too numerous to remember right now.  TERMCAP
327850276Speter#    can only take advantage of a few of these added features.
327950276Speter#
328050276Speter# Note that this entry is are set up in what was the standard way for GNU
328150276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
328250276Speter# keys were switched into application mode at the same time the numeric pad
328350276Speter# is switched into application mode.  This changes the definitions of the
3284166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
328550276Speter# your termcap entry,
328650276Speter#
328750276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
328850276Speter# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
328950276Speter# also, added <rmam>/<smam> based on the init string -- esr)
3290166124Srafanvt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
3291166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
3292166124Srafan	cols#80, it#8, lines#24, vt#3,
3293166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3294166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3295166124Srafan	clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
3296166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3297166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3298166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3299166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3300166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
3301166124Srafan	el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
3302166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
3303166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
3304166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
3305166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3306166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
3307166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
3308166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
3309166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
3310166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
3311166124Srafan	rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7,
3312166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3313166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
3314166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3315262685Sdelphij	tsl=\E[2$~\E[1$}\E[1;%dH, use=dec+sl,
331650276Speter
331750276Speter# (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
331850276Speter# a missing <sc> -- esr)
3319262685Sdelphij# add msgr and other capabilities from vt220 -TD
3320166124Srafanvt420|DEC VT420,
3321262685Sdelphij	am, mir, msgr, xenl, xon,
3322262685Sdelphij	cols#80, it#8, lines#24, vt#3,
3323166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3324262685Sdelphij	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
3325262685Sdelphij	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
3326262685Sdelphij	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3327262685Sdelphij	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3328262685Sdelphij	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA, cuu1=\E[A,
3329262685Sdelphij	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3330262685Sdelphij	ech=\E[%p1%dX, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K,
3331262685Sdelphij	enacs=\E)0, flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I,
3332262685Sdelphij	hts=\EH, ich=\E[%p1%d@, if=/usr/share/tabset/vt300,
3333262685Sdelphij	il=\E[%p1%dL, il1=\E[L, ind=\ED, is2=\E[1;24r\E[24;1H,
3334262685Sdelphij	is3=\E[?67h\E[64;1"p, kbs=^H, kcub1=\E[D, kcud1=\E[B,
3335262685Sdelphij	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[29~,
3336262685Sdelphij	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~,
3337262685Sdelphij	kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~,
3338262685Sdelphij	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, nel=\EE,
3339262685Sdelphij	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
3340262685Sdelphij	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
3341166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
3342262685Sdelphij	rmso=\E[27m, rmul=\E[24m, rs3=\E[?67h\E[64;1"p, sc=\E7,
3343166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
3344262685Sdelphij	sgr0=\E[m\E(B$<2>, smacs=\E(0$<2>, smam=\E[?7h,
3345262685Sdelphij	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3346262685Sdelphij	use=ansi+pp, use=dec+sl, use=ansi+enq,
334750276Speter
334850276Speter# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
334950276Speter# takes two parameters, the key and the string.  Translating the key is
335050276Speter# straightforward (keys 1-5 are not defined on real terminals, though some
335150276Speter# emulators define these):
335250276Speter#
335350276Speter#               if (key < 16) then  value = key;
3354166124Srafan#               else if (key < 21) then value = key + 1;
335550276Speter#               else if (key < 25) then value = key + 2;
335650276Speter#               else if (key < 27) then value = key + 3;
335750276Speter#               else if (key < 30) then value = key + 4;
335850276Speter#               else value = key + 5;
335950276Speter#
3360166124Srafan# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
336150276Speter# There's no provision in terminfo for emitting a string in this format, so the
336250276Speter# application has to know it.
336350276Speter#
3364166124Srafanvt420pc|DEC VT420 w/PC keyboard,
3365166124Srafan	kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
3366166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
3367166124Srafan	kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
3368166124Srafan	kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
3369166124Srafan	kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
3370166124Srafan	kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
3371166124Srafan	kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
3372166124Srafan	kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
3373166124Srafan	kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
3374166124Srafan	kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
3375166124Srafan	kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
3376166124Srafan	kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
3377166124Srafan	kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
3378166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H,
3379166124Srafan	pctrm=USR_TERM\:vt420pcdos\:,
3380166124Srafan	pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\,
3381166124Srafan	use=vt420,
338250276Speter
3383166124Srafanvt420pcdos|DEC VT420 w/PC for DOS Merge,
3384166124Srafan	lines#25,
3385166124Srafan	dispc=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;,
3386166124Srafan	pctrm@,
3387166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
3388166124Srafan	sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc,
338950276Speter
3390166124Srafanvt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
3391166124Srafan	kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
3392166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3393166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3394166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
3395166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3396166124Srafan	khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
3397166124Srafan	use=vt420,
339850276Speter
3399166124Srafanvt510|DEC VT510,
3400166124Srafan	use=vt420,
3401166124Srafanvt510pc|DEC VT510 w/PC keyboard,
3402166124Srafan	use=vt420pc,
3403166124Srafanvt510pcdos|DEC VT510 w/PC for DOS Merge,
3404166124Srafan	use=vt420pcdos,
340550276Speter
340650276Speter# VT520/VT525
340750276Speter#
340850276Speter# The VT520 is a monochrome text terminal capable of managing up to
340950276Speter# four independent sessions in the terminal.  It has multiple ANSI
341050276Speter# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
341150276Speter# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
341250276Speter# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
341350276Speter#
341450276Speter# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
341550276Speter# [Alt]/[Print Screen] depending upon which keyboard and which
341650276Speter# terminal mode is being used.  If Set-Up has been disabled or
341750276Speter# assigned to an unknown key, Set-Up may be entered by pressing
341850276Speter# [F3] as the first key after power up, regardless of keyboard type.
3419166124Srafanvt520|DEC VT520,
3420262685Sdelphij	use=ansi+rca, use=vt420, use=ansi+tabs,
342150276Speter
3422166124Srafanvt525|DEC VT525,
3423262685Sdelphij	use=vt520,
342450276Speter
342550276Speter#### VT100 emulations
342650276Speter#
342750276Speter
342850276Speter# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
342950276Speter# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
343050276Speter# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
343150276Speter# that this works best with a stock vt100 entry.
3432166124Srafandec-vt100|EWAN telnet's vt100 emulation,
3433166124Srafan	use=vt100,
343450276Speter
343550276Speter# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
3436166124Srafandec-vt220|DOS tnvt200 terminal emulator,
3437166124Srafan	am@, use=vt220,
343850276Speter
343950276Speter# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
344050276Speter# anyone who needs PC VT340 emulation. (or anything below that level, for
344150276Speter# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
344250276Speter# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
344350276Speter# I can send the address if requested.
344450276Speter# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
344562449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
3446166124Srafanz340|zstem vt340 terminal emulator 132col 42line,
3447166124Srafan	lines#42,
3448166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
3449166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
3450166124Srafan	use=vt320-w,
3451166124Srafanz340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
3452166124Srafan	am@,
3453166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
3454166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
3455166124Srafan	use=z340,
345650276Speter
345750276Speter# CRT is shareware.  It implements some xterm features, including mouse.
3458166124Srafancrt|crt-vt220|CRT 2.3 emulating VT220,
3459166124Srafan	bce, msgr,
3460166124Srafan	ncv@,
3461166124Srafan	hts=\EH, use=vt100+enq, use=vt220, use=ecma+color,
346250276Speter
3463166124Srafan# PuTTY 0.55 (released 3 August 2004)
346497049Speter# http://www.chiark.greenend.org.uk/~sgtatham/putty/
346597049Speter#
3466166124Srafan# Comparing with 0.51, vttest is much better (only a few problems with the
3467166124Srafan# cursor position reports and wrapping).
3468166124Srafan#
3469166124Srafan# PuTTY 0.51 (released 14 December 2000)
3470166124Srafan#
347197049Speter# This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
347297049Speter# well as SCO and Atari, color palettes from Linux console).  Reading the code,
3473166124Srafan# it is intended to be VT102 plus selected features.  By default, it sets $TERM
347497049Speter# to xterm, which is incorrect, since several features are misimplemented:
347597049Speter#
347697049Speter#	Alt+key always sends ESC+key, so 'km' capability is removed.
347797049Speter#
347897049Speter#	Control responses, wrapping and tabs are buggy, failing a couple of
347997049Speter#	screens in vttest.
348097049Speter#
348197049Speter#	xterm mouse support is not implemented (unrelease version may).
348297049Speter#
348397049Speter# Several features such as backspace/delete are optional; this entry documents
348497049Speter# the default behavior -TD
348597049Speter
3486166124Srafanputty|PuTTY terminal emulator,
3487262685Sdelphij	am, bce, bw, ccc, mir, msgr, xenl, xon, XT,
3488262629Sdelphij	colors#8, it#8, ncv#22, pairs#64, U8#1,
3489166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3490166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3491166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
3492166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3493166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
3494166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
3495166124Srafan	dch=\E[%p1%dP, dch1=\E[P,
3496166124Srafan	dispc=%?%p1%{8}%=%t\E%%G\342\227\230\E%%@%e%p1%{10}%=%t\E%%G\342\227\231\E%%@%e%p1%{12}%=%t\E%%G\342\231\0\E%%@%e%p1%{13}%=%t\E%%G\342\231\252\E%%@%e%p1%{14}%=%t\E%%G\342\231\253\E%%@%e%p1%{15}%=%t\E%%G\342\230\274\E%%@%e%p1%{27}%=%t\E%%G\342\206\220\E%%@%e%p1%{155}%=%t\E%%G\340\202\242\E%%@%e%p1%c%;,
3497262685Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
3498262685Sdelphij	el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H,
3499262685Sdelphij	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
3500262685Sdelphij	ind=^J, indn=\E[%p1%dS,
3501166124Srafan	initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
3502166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
3503262629Sdelphij	kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
3504262629Sdelphij	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~,
3505262629Sdelphij	kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3506262629Sdelphij	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
3507262629Sdelphij	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[12~,
3508262629Sdelphij	kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
3509262629Sdelphij	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3510166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
3511166124Srafan	kspd=^Z, nel=^M^J, oc=\E]R, op=\E[39;49m, rc=\E8, rev=\E[7m,
3512166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l,
3513166124Srafan	rmcup=\E[2J\E[?47l, rmir=\E[4l, rmpch=\E[10m,
3514166124Srafan	rmso=\E[27m, rmul=\E[24m,
3515166124Srafan	rs2=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l,
3516166124Srafan	s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, sc=\E7,
3517166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3518166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3519166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?47h,
3520166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
3521262685Sdelphij	tbc=\E[3g, vpa=\E[%i%p1%dd, E3=\E[3;J, use=vt102+enq,
3522262685Sdelphij	use=xterm+sl,
3523166124Srafanvt100-putty|Reset PuTTY to pure vt100,
3524166124Srafan	rs2=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p,
3525166124Srafan	use=vt100,
3526174993Srafan# palette is hardcoded...
3527166124Srafanputty-256color|PuTTY 0.58 with xterm 256-colors,
3528174993Srafan	initc@, use=xterm+256color, use=putty,
3529166124Srafan
3530166124Srafan# One of the keyboard selections is "VT100+".
3531166124Srafan# pterm (the X11 port) uses shifted F1-F10 as F11-F20
3532166124Srafanputty-vt100|VT100+ keyboard layout,
3533166124Srafan	kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EO[, kf2=\EOQ,
3534166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
3535166124Srafan	kf9=\EOX, use=putty,
3536166124Srafan
3537262685Sdelphij# Unlike xterm-sco, this leaves kmous ambiguous with kf1.
3538262685Sdelphij#
3539262685Sdelphij# Use modifiers to obtain function keys past 12:
3540262685Sdelphij# F1-F12 - normal
3541262685Sdelphij# F13-F24 - shift
3542262685Sdelphij# F25-F36 - control/alt
3543262685Sdelphij# F37-F48 - control/shift
3544262685Sdelphij#
3545262685Sdelphijputty-sco|putty with SCO function keys,
3546262685Sdelphij	kbeg=\E[E, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
3547262685Sdelphij	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
3548262685Sdelphij	kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, kf16=\E[b,
3549262685Sdelphij	kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f,
3550262685Sdelphij	kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k,
3551262685Sdelphij	kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O,
3552262685Sdelphij	kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t,
3553262685Sdelphij	kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y,
3554262685Sdelphij	kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\,
3555262685Sdelphij	kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{,
3556262685Sdelphij	kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
3557262685Sdelphij	kich1=\E[L, knp=\E[G, kpp=\E[I, use=putty,
3558262685Sdelphij
355950276Speter# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
356050276Speter# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
356150276Speter# (communication program) which supports:
356250276Speter#
356350276Speter#	- Serial port connections.
356450276Speter#	- TCP/IP (telnet) connections.
356550276Speter#	- VT100 emulation, and selected VT200/300 emulation.
356650276Speter#	- TEK4010 emulation.
356750276Speter#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
356850276Speter#	  Quick-VAN).
356950276Speter#	- Scripts using the "Tera Term Language".
357050276Speter#	- Japanese and Russian character sets.
357150276Speter#
357250276Speter# The program does not come with terminfo or termcap entries.  However, the
357350276Speter# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
357450276Speter# vt52 or doublesize character support; blinking is done with color).  Besides
357550276Speter# the HPA, VPA extensions it also implements CPL and CNL.
357650276Speter#
357750276Speter# All of the function keys can be remapped.  This description shows the default
357850276Speter# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
357950276Speter# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
358050276Speter# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
358150276Speter#	kfnd	Insert
358250276Speter#	kslt	Delete
358350276Speter#	kich1	Home
358450276Speter#	kdch1	PageUp
358550276Speter#	kpp	End
358650276Speter#	knp	PageDown
358750276Speter#
358850276Speter# ANSI colors are implemented, but cannot be combined with video attributes
358950276Speter# except for reverse.
359050276Speter#
359150276Speter# No fonts are supplied with the program, so the acsc string is chosen to
359250276Speter# correspond with the default Microsoft terminal font.
359350276Speter#
359450276Speter# Tera Term recognizes some xterm sequences, including those for setting and
359550276Speter# retrieving the window title, and for setting the window size (i.e., using
359650276Speter# "resize -s"), though it does not pass SIGWINCH to the application if the
359750276Speter# user resizes the window with the mouse.
3598184989Srafanteraterm2.3|Tera Term Pro,
3599166124Srafan	km, xon@,
3600166124Srafan	ncv#43, vt@,
3601166124Srafan	acsc=+\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,
3602166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
3603166124Srafan	cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
3604166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
3605166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
3606166124Srafan	flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
3607166124Srafan	il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
3608166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
3609166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
3610166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
3611166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
3612166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
3613166124Srafan	kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
3614166124Srafan	rmso=\E[27m, rmul=\E[24m, sgr0=\E[0m\017, smso=\E[7m,
3615166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd, use=vt100+enq,
3616166124Srafan	use=klone+color, use=vt100,
361750276Speter
3618184989Srafan# Version 4.59 has regular vt100 line-drawing (so it is no longer necessary
3619184989Srafan# to choose a Windows OEM font).
3620184989Srafan#
3621184989Srafan# Testing with tack:
3622184989Srafan#	- it does not have xenl (suppress that)
3623184989Srafan#	- underline seems to work with color (modify ncv).
3624184989Srafan# Testing with vttest:
3625184989Srafan#	- wrapping differs from vt100 (menu 1).
3626184989Srafan#	- it recognizes xterm's X10 and normal mouse tracking, but none of the
3627184989Srafan#	  other flavors.
3628184989Srafan#	- it recognizes the dtterm window controls for reporting size in
3629184989Srafan#	  characters and pixels.
3630184989Srafan#	- it passes SIGWINCH.
3631184989Srafanteraterm4.59|Tera Term Pro,
3632184989Srafan	bce, xenl@,
3633184989Srafan	ncv#41,
3634184989Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3635184989Srafan	kmous=\E[M, use=teraterm2.3,
3636184989Srafan
3637184989Srafanteraterm|Tera Term,
3638184989Srafan	use=teraterm4.59,
3639184989Srafan
364050276Speter# Tested with WinNT 4.0, the telnet application assumes the screensize is
364150276Speter# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
364297049Speter#
364397049Speter# Other notes:
364497049Speter# a) Fails tack's cup (cursor-addressing) test, though cup works well enough
364597049Speter#    for casual (occasional) use.  Also fails several of the vttest screens,
364697049Speter#    but that is not unusual for vt100 "emulators".
364797049Speter# b) Does not implement vt100 keypad
364897049Speter# c) Recognizes a subset of vt52 controls.
3649166124Srafanms-vt100|MS telnet imitating dec vt100,
3650166124Srafan	lines#25,
3651166124Srafan	acsc=+\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,
3652166124Srafan	ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@,
3653166124Srafan	kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, use=vt102+enq, use=vt100,
365450276Speter
365597049Speter# Tested with Windows 2000, the telnet application runs in a console window,
365697049Speter# also using 'Terminal' font.
365797049Speter#
365897049Speter# Other notes:
365997049Speter# a) This version has no function keys or numeric keypad.  Unlike the older
366097049Speter#    version, the numeric keypad is entirely ignored.
366197049Speter# b) The program sets $TERM to "ansi", which of course is inaccurate.
3662166124Srafanms-vt100-color|vtnt|windows 2000 ansi (sic),
3663166124Srafan	bce,
3664166124Srafan	dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color,
3665166124Srafan	use=ms-vt100,
366697049Speter
3667166124Srafan# Based on comments from Federico Bianchi:
3668166124Srafan#
3669166124Srafan#	vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
3670166124Srafan#	scheme for PF keys.
3671166124Srafan#
3672166124Srafan# and PuTTY wishlist:
3673166124Srafan#
3674166124Srafan#	The modifiers are represented as the codes listed above, prefixed to
3675166124Srafan#	the normal sequences.  If the modifier is pressed alone, its sequence
3676166124Srafan#	is transmitted twice in succession.  If multiple modifiers apply,
3677166124Srafan#	they're transmitted in the order shift, control, alt.
3678166124Srafan#
3679166124Srafan#	Shift	\E^S
3680166124Srafan#	Alt	\E^A,
3681166124Srafan#	Ctrl	\E^C,
3682166124Srafanms-vt100+|vt100+|windows XP vt100+ (sic),
3683166124Srafan	kdch1=\E-, kend=\Ek, kf1=\E1, kf10=\E0, kf11=\E!, kf12=\E@,
3684166124Srafan	kf13=\E\023\E1, kf14=\E\023\E2, kf15=\E\023\E3,
3685166124Srafan	kf16=\E\023\E4, kf17=\E\023\E5, kf18=\E\023\E6,
3686166124Srafan	kf19=\E\023\E7, kf2=\E2, kf20=\E\023\E8, kf21=\E\023\E9,
3687166124Srafan	kf22=\E\023\E0, kf23=\E\023\E!, kf24=\E\023\E@,
3688166124Srafan	kf25=\E\003\E1, kf26=\E\003\E2, kf27=\E\003\E3,
3689166124Srafan	kf28=\E\003\E4, kf29=\E\003\E5, kf3=\E3, kf30=\E\003\E6,
3690166124Srafan	kf31=\E\003\E7, kf32=\E\003\E8, kf33=\E\003\E9,
3691166124Srafan	kf34=\E\003\E0, kf35=\E\003\E!, kf36=\E\003\E@,
3692166124Srafan	kf37=\E\001\E1, kf38=\E\001\E2, kf39=\E\001\E3, kf4=\E4,
3693166124Srafan	kf40=\E\001\E4, kf41=\E\001\E5, kf42=\E\001\E6,
3694166124Srafan	kf43=\E\001\E7, kf44=\E\001\E8, kf45=\E\001\E9,
3695166124Srafan	kf46=\E\001\E0, kf47=\E\001\E!, kf48=\E\001\E@, kf5=\E5,
3696166124Srafan	kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, khome=\Eh, kich1=\E+,
3697166124Srafan	knp=\E/, kpp=\E?, use=ms-vt100-color,
3698166124Srafan
3699166124Srafanms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+,
3700166124Srafan	use=ms-vt100+,
3701166124Srafan
3702262629Sdelphij# expect-5.44.1.15/example/tkterm
3703166124Srafan# a minimal subset of a vt100 (compare with "news-unk).
3704262629Sdelphij#
3705262629Sdelphij# The missing "=" in smkx is not a typo (here), but an error in tkterm.
3706166124Srafantt|tkterm|Don Libes' tk text widget terminal emulator,
3707262629Sdelphij	clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
3708262629Sdelphij	cup=\E[%p1%d;%p2%dH, cuu1=\E[A, ind=^J, kf1=\EOP, kf2=\EOQ,
3709262629Sdelphij	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
3710262629Sdelphij	kf9=\EOX, rmkx=\E[?1l\E>, rmso=\E[m, smkx=\E[?1h\E,
3711166124Srafan	smso=\E[7m,
3712166124Srafan
3713262685Sdelphij######## X TERMINAL EMULATORS
3714262685Sdelphij#### XTERM
371550276Speter#
371650276Speter# You can add the following line to your .Xdefaults to change the terminal type
371750276Speter# set by the xterms you start up to my-xterm:
371850276Speter#
371950276Speter# *termName:  my-xterm
372050276Speter#
372150276Speter# System administrators can change the default entry for xterm instances
372250276Speter# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
372350276Speter# case, xterm will detect and reject an invalid terminal type, falling back
372450276Speter# to the default of xterm.
372550276Speter#
372650276Speter
372750276Speter# X10/6.6	11/7/86, minus alternate screen, plus (csr)
372850276Speter# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
372950276Speter# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
373050276Speter# as these seem not to work -- esr)
3731166124Srafanx10term|vs100-x10|xterm terminal emulator (X10 window system),
3732166124Srafan	OTbs, am, km, mir, msgr, xenl, xon,
3733166124Srafan	cols#80, it#8, lines#65,
3734166124Srafan	bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
3735166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
3736166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
3737166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
3738166124Srafan	il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
3739166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
3740166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
3741166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
3742166124Srafan	sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
3743166124Srafan	smso=\E[7m, smul=\E[4m,
3744166124Srafan# Compatible with the R5 xterm
374550276Speter# (from the XFree86 3.2 distribution, <blink=@> removed)
374662449Speter# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
374750276Speter# corrected typos in rs2 string - TD
374862449Speter# added u6-u9 -TD
3749166124Srafanxterm-r5|xterm R5 version,
3750166124Srafan	OTbs, am, km, msgr, xenl,
3751166124Srafan	cols#80, it#8, lines#24,
3752166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3753166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3754166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3755166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3756166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
3757166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
3758166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
3759166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
3760166124Srafan	kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
3761166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
3762166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
3763166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
3764166124Srafan	kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
3765166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
3766166124Srafan	rmul=\E[m,
3767166124Srafan	rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
3768166124Srafan	sc=\E7,
3769166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
3770166124Srafan	sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
3771166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq,
377250276Speter# Compatible with the R6 xterm
377350276Speter# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
377462449Speter# added khome/kend, hts based on the R6 xterm code - TD
377562449Speter# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
377662449Speter# for compatibility with other emulators).
3777262685Sdelphijxterm-r6|xterm X11R6 version,
3778166124Srafan	OTbs, am, km, mir, msgr, xenl,
3779166124Srafan	cols#80, it#8, lines#24,
3780166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3781166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3782166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3783166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3784166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3785166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
3786166124Srafan	el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
3787166124Srafan	il1=\E[L, ind=^J,
3788166124Srafan	is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, kbs=^H,
3789166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3790166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
3791166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3792166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3793166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
3794166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3795166124Srafan	kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
3796166124Srafan	kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
3797166124Srafan	rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
3798166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
3799166124Srafan	rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, sc=\E7,
3800166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
3801166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3802166124Srafan	use=vt100+enq,
3803262685Sdelphijxterm-old|antique xterm version,
3804262685Sdelphij	use=xterm-r6,
380550276Speter# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
380650276Speter# The name has been changed and some aliases have been removed.
3807166124Srafanxterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
3808262685Sdelphij	OTbs, am, bce, km, mir, msgr, xenl, XT,
3809166124Srafan	cols#80, it#8, lines#24, ncv@,
3810166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3811166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3812166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3813166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3814166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3815166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3816166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3817166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
3818166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
3819166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
3820166124Srafan	il1=\E[L, ind=^J,
3821166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
3822166124Srafan	kbeg=\EOE, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
3823166124Srafan	kcuu1=\EOA, kdch1=\177, kend=\EOF, kf1=\E[11~, kf10=\E[21~,
3824166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
3825166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
3826166124Srafan	kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
3827166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
3828166124Srafan	kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
3829166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
3830166124Srafan	memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
3831166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
3832166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=^O,
3833166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7,
3834166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3835166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3836166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3837166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
3838166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
3839166124Srafan	tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
3840166124Srafan	use=ecma+color, use=vt220+keypad,
384150276Speter
384250276Speter# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
384350276Speter# codes for F1-F4 except while in VT220 mode.
3844166124Srafanxterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
3845166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32,
384650276Speter
384750276Speter# This version was released in XFree86 3.3.3 (November 1998).
384850276Speter# Besides providing printer support, it exploits a new feature that allows
384950276Speter# xterm to use terminfo-based descriptions with the titeInhibit resource.
385062449Speter# -- the distribution contained incorrect khome/kend values -TD
3851166124Srafanxterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
3852166124Srafan	blink=\E[5m, ich1@, invis=\E[8m,
3853166124Srafan	is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
3854262685Sdelphij	rmcup=\E[?1047l\E[?1048l, rs1=\Ec,
3855262685Sdelphij	rs2=\E[!p\E[?3;4l\E[4l\E>,
3856166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
3857262685Sdelphij	smcup=\E[?1048h\E[?1047h, use=ansi+pp,
3858262685Sdelphij	use=xterm-xf86-v33,
385950276Speter
386066963Speter# This version was released in XFree86 4.0.
3861166124Srafanxterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
3862166124Srafan	npc,
3863166124Srafan	kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
3864166124Srafan	kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
3865166124Srafan	ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF,
3866166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
3867166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
3868166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3869166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
3870166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~,
3871166124Srafan	kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
3872166124Srafan	kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P,
3873166124Srafan	kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~,
3874166124Srafan	kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
3875166124Srafan	kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
3876166124Srafan	kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
3877166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3878166124Srafan	smcup=\E[?1049h, use=xterm-xf86-v333,
387950276Speter
3880166124Srafan# This version was released in XFree86 4.3.
3881166124Srafanxterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System),
3882166124Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
3883166124Srafan	kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
3884166124Srafan	kbeg@,
3885166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
3886166124Srafan	use=xterm-xf86-v40,
3887166124Srafan
3888166124Srafan# This version was released in XFree86 4.4.
3889166124Srafanxterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
3890166124Srafan	cnorm=\E[?12l\E[?25h, cvvis=\E[?12;25h, indn=\E[%p1%dS,
3891166124Srafan	rin=\E[%p1%dT, use=xterm-xf86-v43,
3892166124Srafan
3893166124Srafanxterm-xfree86|xterm terminal emulator (XFree86),
3894176187Srafan	use=xterm-xf86-v44,
3895166124Srafan
3896166124Srafan# This version reflects the current xterm features.
3897166124Srafanxterm-new|modern xterm terminal emulator,
3898166124Srafan	npc,
3899262685Sdelphij	indn=\E[%p1%dS, kb2=\EOE, kcbt=\E[Z, kent=\EOM,
3900262685Sdelphij	rin=\E[%p1%dT, use=xterm+pcfkeys, use=xterm+tmux,
3901166124Srafan	use=xterm-basic,
3902262685Sdelphij
3903262685Sdelphij# This fragment is for people who cannot agree on what the backspace key
3904262685Sdelphij# should send.
3905262685Sdelphijxterm+kbs|fragment for backspace key,
3906262685Sdelphij	kbs=^H,
390766963Speter#
3908166124Srafan# This fragment describes as much of XFree86 xterm's "pc-style" function
3909166124Srafan# keys as will fit into terminfo's 60 function keys.
3910166124Srafan# From ctlseqs.ms:
3911166124Srafan#    Code     Modifiers
3912166124Srafan#  ---------------------------------
3913166124Srafan#     2       Shift
3914166124Srafan#     3       Alt
3915166124Srafan#     4       Shift + Alt
3916166124Srafan#     5       Control
3917166124Srafan#     6       Shift + Control
3918166124Srafan#     7       Alt + Control
3919166124Srafan#     8       Shift + Alt + Control
3920166124Srafan#  ---------------------------------
3921166124Srafan# The meta key may also be used as a modifier in this scheme, adding another
3922166124Srafan# bit to the parameter.
3923166124Srafanxterm+pcfkeys|fragment for PC-style fkeys,
3924176187Srafan	use=xterm+app, use=xterm+pcf2, use=xterm+pcc2,
3925176187Srafan	use=xterm+pce2,
3926166124Srafan#
3927176187Srafanxterm+noapp|fragment with cursor keys in normal mode,
3928176187Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
3929176187Srafan	khome=\E[H,
3930176187Srafan
3931176187Srafanxterm+app|fragment with cursor keys in application mode,
3932176187Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
3933176187Srafan	khome=\EOH,
3934176187Srafan#
3935166124Srafan# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
3936166124Srafan# and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
3937166124Srafan# the earlier scheme, as noted in the "use=" clauses in this file.
3938166124Srafan#
3939166124Srafan# The original assignments from patch #94 for cursor-keys had some technical
3940166124Srafan# issues:
3941166124Srafan#
3942166124Srafan#	A parameter for a function-key to represent a modifier is just more
3943166124Srafan#	bits.  But for a cursor-key it may change the behavior of the
3944166124Srafan#	application.  For instance, emacs decodes the first parameter of a
3945166124Srafan#	cursor-key as a repeat count.
3946166124Srafan#
3947166124Srafan#	A parameterized string should (really) not begin with SS3 (\EO).
3948166124Srafan#	Rather, CSI (\E[) should be used.
3949166124Srafan#
3950166124Srafan# For these reasons, the original assignments were deprecated.  For
3951166124Srafan# compatibility reasons, they are still available as a setting of xterm's
3952166124Srafan# modifyCursorKeys resource.  These fragments list the modified cursor-keys
3953166124Srafan# that might apply to xterm+pcfkeys with different values of that resource.
3954166124Srafanxterm+pcc3|fragment with modifyCursorKeys:3,
3955174993Srafan	kLFT=\E[>1;2D, kRIT=\E[>1;2C, kind=\E[>1;2B,
3956176187Srafan	kri=\E[>1;2A, kDN=\E[>1;2B, kDN3=\E[>1;3B, kDN4=\E[>1;4B,
3957176187Srafan	kDN5=\E[>1;5B, kDN6=\E[>1;6B, kDN7=\E[>1;7B,
3958176187Srafan	kLFT3=\E[>1;3D, kLFT4=\E[>1;4D, kLFT5=\E[>1;5D,
3959176187Srafan	kLFT6=\E[>1;6D, kLFT7=\E[>1;7D, kRIT3=\E[>1;3C,
3960176187Srafan	kRIT4=\E[>1;4C, kRIT5=\E[>1;5C, kRIT6=\E[>1;6C,
3961176187Srafan	kRIT7=\E[>1;7C, kUP=\E[>1;2A, kUP3=\E[>1;3A,
3962176187Srafan	kUP4=\E[>1;4A, kUP5=\E[>1;5A, kUP6=\E[>1;6A,
3963176187Srafan	kUP7=\E[>1;7A,
3964166124Srafan
3965166124Srafanxterm+pcc2|fragment with modifyCursorKeys:2,
3966174993Srafan	kLFT=\E[1;2D, kRIT=\E[1;2C, kind=\E[1;2B, kri=\E[1;2A,
3967176187Srafan	kDN=\E[1;2B, kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B,
3968176187Srafan	kDN6=\E[1;6B, kDN7=\E[1;7B, kLFT3=\E[1;3D, kLFT4=\E[1;4D,
3969176187Srafan	kLFT5=\E[1;5D, kLFT6=\E[1;6D, kLFT7=\E[1;7D,
3970176187Srafan	kRIT3=\E[1;3C, kRIT4=\E[1;4C, kRIT5=\E[1;5C,
3971176187Srafan	kRIT6=\E[1;6C, kRIT7=\E[1;7C, kUP=\E[1;2A, kUP3=\E[1;3A,
3972176187Srafan	kUP4=\E[1;4A, kUP5=\E[1;5A, kUP6=\E[1;6A, kUP7=\E[1;7A,
3973166124Srafan
3974166124Srafanxterm+pcc1|fragment with modifyCursorKeys:1,
3975174993Srafan	kLFT=\E[2D, kRIT=\E[2C, kind=\E[2B, kri=\E[2A, kDN=\E[2B,
3976176187Srafan	kDN3=\E[3B, kDN4=\E[4B, kDN5=\E[5B, kDN6=\E[6B, kDN7=\E[7B,
3977176187Srafan	kLFT3=\E[3D, kLFT4=\E[4D, kLFT5=\E[5D, kLFT6=\E[6D,
3978176187Srafan	kLFT7=\E[7D, kRIT3=\E[3C, kRIT4=\E[4C, kRIT5=\E[5C,
3979176187Srafan	kRIT6=\E[6C, kRIT7=\E[7C, kUP=\E[2A, kUP3=\E[3A,
3980176187Srafan	kUP4=\E[4A, kUP5=\E[5A, kUP6=\E[6A, kUP7=\E[7A,
3981166124Srafan
3982166124Srafanxterm+pcc0|fragment with modifyCursorKeys:0,
3983174993Srafan	kLFT=\EO2D, kRIT=\EO2C, kind=\EO2B, kri=\EO2A, kDN=\EO2B,
3984176187Srafan	kDN3=\EO3B, kDN4=\EO4B, kDN5=\EO5B, kDN6=\EO6B, kDN7=\EO7B,
3985176187Srafan	kLFT3=\EO3D, kLFT4=\EO4D, kLFT5=\EO5D, kLFT6=\EO6D,
3986176187Srafan	kLFT7=\EO7D, kRIT3=\EO3C, kRIT4=\EO4C, kRIT5=\EO5C,
3987176187Srafan	kRIT6=\EO6C, kRIT7=\EO7C, kUP=\EO2A, kUP3=\EO3A,
3988176187Srafan	kUP4=\EO4A, kUP5=\EO5A, kUP6=\EO6A, kUP7=\EO7A,
3989174993Srafan
3990166124Srafan#
3991166124Srafan# Here are corresponding fragments from xterm patch #216:
3992166124Srafan#
3993166124Srafanxterm+pcf0|fragment with modifyFunctionKeys:0,
3994166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3995166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
3996166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
3997166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3998166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
3999166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR,
4000166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
4001166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
4002166124Srafan	kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,
4003166124Srafan	kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
4004166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
4005166124Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf49=\EO3P,
4006166124Srafan	kf5=\E[15~, kf50=\EO3Q, kf51=\EO3R, kf52=\EO3S,
4007166124Srafan	kf53=\E[15;3~, kf54=\E[17;3~, kf55=\E[18;3~,
4008166124Srafan	kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
4009166124Srafan	kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\EO4P,
4010166124Srafan	kf62=\EO4Q, kf63=\EO4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4011166124Srafan#
4012174993Srafanxterm+pcf2|fragment with modifyFunctionKeys:2,
4013166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
4014174993Srafan	kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
4015166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
4016166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
4017174993Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
4018174993Srafan	kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
4019166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
4020166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
4021174993Srafan	kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
4022174993Srafan	kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
4023166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
4024174993Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
4025174993Srafan	kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
4026174993Srafan	kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
4027174993Srafan	kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
4028174993Srafan	kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
4029174993Srafan	kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
4030174993Srafan	kf8=\E[19~, kf9=\E[20~,
4031166124Srafan#
4032176187Srafan# Chunks from xterm #230:
4033176187Srafanxterm+pce2|fragment with modifyCursorKeys:2,
4034176187Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
4035176187Srafan	kNXT=\E[6;2~, kPRV=\E[5;2~, kich1=\E[2~, knp=\E[6~,
4036176187Srafan	kpp=\E[5~, kDC3=\E[3;3~, kDC4=\E[3;4~, kDC5=\E[3;5~,
4037176187Srafan	kDC6=\E[3;6~, kDC7=\E[3;7~, kEND3=\E[1;3F, kEND4=\E[1;4F,
4038176187Srafan	kEND5=\E[1;5F, kEND6=\E[1;6F, kEND7=\E[1;7F,
4039176187Srafan	kHOM3=\E[1;3H, kHOM4=\E[1;4H, kHOM5=\E[1;5H,
4040176187Srafan	kHOM6=\E[1;6H, kHOM7=\E[1;7H, kIC3=\E[2;3~, kIC4=\E[2;4~,
4041176187Srafan	kIC5=\E[2;5~, kIC6=\E[2;6~, kIC7=\E[2;7~, kNXT3=\E[6;3~,
4042176187Srafan	kNXT4=\E[6;4~, kNXT5=\E[6;5~, kNXT6=\E[6;6~,
4043176187Srafan	kNXT7=\E[6;7~, kPRV3=\E[5;3~, kPRV4=\E[5;4~,
4044176187Srafan	kPRV5=\E[5;5~, kPRV6=\E[5;6~, kPRV7=\E[5;7~,
4045176187Srafan	use=xterm+edit,
4046176187Srafan
4047176187Srafanxterm+edit|fragment for 6-key editing-keypad,
4048176187Srafan	kdch1=\E[3~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
4049176187Srafan	use=xterm+pc+edit,
4050176187Srafan
4051176187Srafanxterm+pc+edit|fragment for pc-style editing keypad,
4052176187Srafan	kend=\E[4~, khome=\E[1~,
4053176187Srafan
4054176187Srafanxterm+vt+edit|fragment for vt220-style editing keypad,
4055176187Srafan	kfnd=\E[1~, kslt=\E[4~,
4056176187Srafan
4057176187Srafan#
4058174993Srafan# Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
4059174993Srafan# Alternatively, the same scheme with old-style function keys as in xterm-r6
4060174993Srafan# is shown here (because that is used in mrxvt and mlterm):
4061174993Srafanxterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys:2,
4062174993Srafan	kf1=\E[11~, kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~,
4063174993Srafan	kf16=\E[14;2~, kf2=\E[12~, kf25=\E[11;5~, kf26=\E[12;5~,
4064174993Srafan	kf27=\E[13;5~, kf28=\E[14;5~, kf3=\E[13~, kf37=\E[11;6~,
4065174993Srafan	kf38=\E[12;6~, kf39=\E[13;6~, kf4=\E[14~, kf40=\E[14;6~,
4066174993Srafan	kf49=\E[11;3~, kf50=\E[12;3~, kf51=\E[13;3~,
4067174993Srafan	kf52=\E[14;3~, kf61=\E[11;4~, kf62=\E[12;4~,
4068174993Srafan	kf63=\E[13;4~, use=xterm+pcf2,
4069174993Srafan#
407066963Speter# This chunk is used for building the VT220/Sun/PC keyboard variants.
4071166124Srafanxterm-basic|modern xterm terminal emulator - common,
4072262685Sdelphij	OTbs, am, bce, km, mir, msgr, xenl, AX, XT,
4073166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4074166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4075166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
4076166124Srafan	clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
4077166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4078166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4079166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4080166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
4081166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
4082166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
4083166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
4084262685Sdelphij	ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>,
4085262685Sdelphij	kmous=\E[M, meml=\El, memu=\Em, op=\E[39;49m, rc=\E8,
4086262685Sdelphij	rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l,
4087262685Sdelphij	rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>,
4088262685Sdelphij	rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec,
4089262685Sdelphij	rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm,
4090262685Sdelphij	setaf=\E[3%p1%dm,
4091166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4092166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4093166124Srafan	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
4094166124Srafan	sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
4095166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
4096262685Sdelphij	smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, E3=\E[3;J,
4097262685Sdelphij	use=ansi+pp, use=xterm+kbs, use=vt100+enq,
409850276Speter
409950276Speter# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
4100166124Srafan# In retrospect, something like xterm-r6 was intended here -TD
4101166124Srafanxterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
4102166124Srafan	rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
410350276Speter
4104262629Sdelphij# 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
4105262629Sdelphij# If configured to support 88- or 256-colors (which is fairly common in 2009),
4106262629Sdelphij# xterm also recognizes the control sequences for initc -TD
4107166124Srafanxterm-16color|xterm with 16 colors like aixterm,
4108262629Sdelphij	ccc,
4109262629Sdelphij	initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
4110166124Srafan	use=ibm+16color, use=xterm-new,
411150276Speter
4112262629Sdelphij# 256-colors is a compile-time feature of XFree86 xterm beginning with
4113174993Srafan# patch #111 (1999/7/10) -TD
4114166124Srafanxterm+256color|xterm 256-color feature,
4115166124Srafan	ccc,
4116166124Srafan	colors#256, pairs#32767,
4117166124Srafan	initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
4118166124Srafan	setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
4119166124Srafan	setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
4120166124Srafan	setb@, setf@,
4121166124Srafan
4122262629Sdelphij# 88-colors is a compile-time feature of XFree86 xterm beginning with
4123174993Srafan# patch #115 (1999/9/18) -TD
4124174993Srafan#
4125174993Srafan# Note that the escape sequences used are the same as for 256-colors - xterm
4126174993Srafan# has a different table of default color resource values.  If built for
4127174993Srafan# 256-colors, it can still handle an 88-color palette by using the initc
4128174993Srafan# capability.
4129174993Srafan#
4130174993Srafan# At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
4131174993Srafan# which support the xterm+256color feature support the associated initc
4132174993Srafan# capability.  So it is cancelled in the entries which use this and/or the
4133174993Srafan# xterm+256color block.
4134184989Srafan#
4135184989Srafan# The default color palette for the 256- and 88-colors are different.  A
4136184989Srafan# given executable will have one palette (perhaps compiled-in).  If the program
4137184989Srafan# supports xterm's control sequence, it can be programmed using initc.
4138166124Srafanxterm+88color|xterm 88-color feature,
4139166124Srafan	colors#88, pairs#7744, use=xterm+256color,
4140166124Srafan
414162449Speter# These variants of XFree86 3.9.16 xterm are built as a configure option.
4142166124Srafanxterm-256color|xterm with 256 colors,
4143166124Srafan	use=xterm+256color, use=xterm-new,
4144166124Srafanxterm-88color|xterm with 88 colors,
4145166124Srafan	use=xterm+88color, use=xterm-256color,
414662449Speter
4147166124Srafan# These two are used to demonstrate the any-event mouse support, i.e., by
4148166124Srafan# using an extended name "XM" which tells ncurses to put the terminal into
4149166124Srafan# a special mode when initializing the xterm mouse.
4150262685Sdelphijxterm+sm+1002|testing xterm-mouse,
4151166124Srafan	XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-new,
4152262685Sdelphijxterm+sm+1003|testing xterm-mouse,
4153166124Srafan	XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
4154166124Srafan
4155262685Sdelphijxterm-1002|testing xterm-mouse,
4156262685Sdelphij	use=xterm+sm+1002, use=xterm-new,
4157262685Sdelphijxterm-1003|testing xterm-mouse,
4158262685Sdelphij	use=xterm+sm+1003, use=xterm-new,
4159262685Sdelphij
4160262685Sdelphij# This chunk is based on suggestions by Ailin Nemui and Nicholas Marriott, who
4161262685Sdelphij# asked for some of xterm's advanced features to be added to its terminfo
4162262685Sdelphij# entry.  It defines extended capabilities not found in standard terminfo or
4163262685Sdelphij# termcap.  These are useful in tmux, for instance, hence the name.
4164262685Sdelphij#
4165262685Sdelphij# One caveat in adding extended capabilities in ncurses is that if the names
4166262685Sdelphij# are longer than two characters, then they will not be visible through the
4167262685Sdelphij# termcap interface.
4168262685Sdelphij#
4169262685Sdelphij# Ms modifies the selection/clipboard.  Its parameters are
4170262685Sdelphij#	p1 = the storage unit (clipboard, selection or cut buffer)
4171262685Sdelphij#	p2 = the base64-encoded clipboard content.
4172262685Sdelphij#
4173262685Sdelphij# Ss is used to set the cursor style as described by the DECSCUSR
4174262685Sdelphij#	function to a block or underline.
4175262685Sdelphij# Se resets the cursor style to the terminal power-on default.
4176262685Sdelphij#
4177262685Sdelphij# Cs and Cr set and reset the cursor colour.
4178262685Sdelphijxterm+tmux|advanced xterm features used in tmux,
4179262685Sdelphij	Cr=\E]112\007, Cs=\E]12;%p1%s\007,
4180262685Sdelphij	Ms=\E]52;%p1%s;%p2%s\007, Se=\E[2 q, Ss=\E[%p1%d q,
4181262685Sdelphij
418250276Speter# This is another variant, for XFree86 4.0 xterm (T.Dickey)
418350276Speter# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
418450276Speter# To use it, your decTerminalID resource must be set to 200 or above.
418550276Speter#
418650276Speter#	HTS	\E H	\210
418750276Speter#	RI	\E M	\215
418850276Speter#	SS3	\E O	\217
418950276Speter#	CSI	\E [	\233
419050276Speter#
4191166124Srafanxterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
4192166124Srafan	OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
4193166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4194166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4195166124Srafan	bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
4196166124Srafan	civis=\233?25l, clear=\233H\2332J,
4197166124Srafan	cnorm=\233?25l\233?25h, cr=^M, csr=\233%i%p1%d;%p2%dr,
4198166124Srafan	cub=\233%p1%dD, cub1=^H, cud=\233%p1%dB, cud1=^J,
4199166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
4200166124Srafan	cuu=\233%p1%dA, cuu1=\233A, cvvis=\233?12;25h,
4201166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
4202166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
4203166124Srafan	flash=\233?5h$<100/>\233?5l, home=\233H,
4204166124Srafan	hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@,
4205166124Srafan	il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m,
4206166124Srafan	is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
4207262685Sdelphij	ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kc1=\217q,
4208262685Sdelphij	kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B,
4209166124Srafan	kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
4210166124Srafan	kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
4211166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
4212166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
4213166124Srafan	kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
4214166124Srafan	kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
4215166124Srafan	kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
4216166124Srafan	knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
4217166124Srafan	meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
4218166124Srafan	ri=\215, rmacs=\E(B, rmam=\233?7l, rmcup=\233?1049l,
4219166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
4220166124Srafan	rs1=\Ec,
4221166124Srafan	rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
4222166124Srafan	sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
4223166124Srafan	setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4224166124Srafan	setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4225166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
4226166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
4227166124Srafan	smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=,
4228166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR,
4229166124Srafan	u7=\E[6n, u8=\233[?1;2c, u9=\E[c, vpa=\233%i%p1%dd,
4230262685Sdelphij	use=xterm+kbs,
423150276Speter
4232166124Srafanxterm-hp|xterm with hpterm function keys,
4233166124Srafan	kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
4234166124Srafan	kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
4235166124Srafan	kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
4236166124Srafan	knp=\ES, kpp=\ET, use=xterm-basic,
423762449Speter
4238166124Srafanxterm-sco|xterm with SCO function keys,
4239166124Srafan	kbeg=\E[E, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4240166124Srafan	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
4241166124Srafan	kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, kf16=\E[b,
4242166124Srafan	kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f,
4243166124Srafan	kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k,
4244166124Srafan	kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O,
4245166124Srafan	kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t,
4246166124Srafan	kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y,
4247166124Srafan	kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\,
4248166124Srafan	kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{,
4249166124Srafan	kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
4250166124Srafan	kich1=\E[L, kmous=\E[>M, knp=\E[G, kpp=\E[I,
4251166124Srafan	use=xterm-basic,
425266963Speter
4253166124Srafan# The xterm-new description has all of the features, but is not completely
425466963Speter# compatible with vt220.  If you are using a Sun or PC keyboard, set the
425566963Speter# sunKeyboard resource to true:
425666963Speter#	+ maps the editing keypad
425766963Speter#	+ interprets control-function-key as a second array of keys, so a
425866963Speter#	  12-fkey keyboard can support vt220's 20-fkeys.
425966963Speter#	+ maps numeric keypad "+" to ",".
426066963Speter#	+ uses DEC-style control sequences for the application keypad.
4261166124Srafan#
4262166124Srafanxterm-vt220|xterm emulating vt220,
4263166124Srafan	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
4264166124Srafan	kend=\E[4~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
4265166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
4266166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
4267166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4268166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
4269176187Srafan	use=xterm+app, use=xterm+edit, use=xterm-basic,
4270176187Srafan	use=vt220+keypad,
427162449Speter
4272166124Srafanxterm-vt52|xterm emulating dec vt52,
4273166124Srafan	cols#80, it#8, lines#24,
4274166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4275166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
4276166124Srafan	cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
4277262685Sdelphij	home=\EH, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
4278262685Sdelphij	kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
4279262685Sdelphij	use=xterm+kbs,
428062449Speter
4281166124Srafanxterm-noapp|xterm with cursor keys in normal mode,
4282176187Srafan	rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp,
4283176187Srafan	use=xterm,
428462449Speter
4285166124Srafanxterm-24|vs100|xterms|xterm terminal emulator (X Window System),
4286176187Srafan	lines#24, use=xterm-old,
428750276Speter
428850276Speter# This is xterm for ncurses.
4289166124Srafanxterm|xterm terminal emulator (X Window System),
4290166124Srafan	use=xterm-new,
429150276Speter
4292262629Sdelphij# This entry assumes that xterm's handling of VT100 SI/SO is disabled by
4293262629Sdelphij# setting the vt100Graphics resource to false.
4294262629Sdelphijxterm-utf8|xterm with no VT100 line-drawing in UTF-8 mode,
4295262629Sdelphij	U8#1, use=xterm,
4296262629Sdelphij
4297262685Sdelphij# These building-blocks allow access to the X titlebar and icon name as a
4298262685Sdelphij# status line.  There are a few problems in using them in entries:
4299262685Sdelphij#
4300262685Sdelphij# a) tsl should have a parameter to denote the column on which to transfer to
4301262685Sdelphij#    the status line.
4302262685Sdelphij# b) the "0" code for xterm updates both icon-title and window title.  Some
4303262685Sdelphij#    window managers such as twm (and possibly window managers descended from
4304262685Sdelphij#    it such as tvtwm, ctwm, and vtwm) track windows by icon-name. Thus, you
4305262685Sdelphij#    don't want to mess with icon-name when using those window managers.
4306262685Sdelphij#
4307262685Sdelphij# The extension "TS" is preferable, because it does not accept a parameter.
4308262685Sdelphij# However, if you are using a non-extended terminfo, "TS" is not visible.
4309166124Srafanxterm+sl|access X title line and icon name,
4310166124Srafan	hs,
4311262685Sdelphij	dsl=\E]0;\007, fsl=^G, tsl=\E]0;, TS=\E]0;,
4312166124Srafanxterm+sl-twm|access X title line (pacify twm-descended window managers),
4313166124Srafan	hs,
4314262685Sdelphij	dsl=\E]2;\007, fsl=^G, tsl=\E]2;, TS=\E]2;,
431550276Speter
4316262685Sdelphij# In contrast, this block can be used for a DEC vt320 and up.  There are two
4317262685Sdelphij# controls used.
431850276Speter#
4319262685Sdelphij# DECSASD (select active status display)
4320262685Sdelphij#	\E[0$}	Main display
4321262685Sdelphij#	\E[1$}	Status line
4322262685Sdelphij#
4323262685Sdelphij# DECSSDT (select status line type)
4324262685Sdelphij#	\E[0$~	No status line
4325262685Sdelphij#	\E[1$~	Indicator status line
4326262685Sdelphij#	\E[2$~	Host-writable status line
4327262685Sdelphij#
4328262685Sdelphij# The building block assumes that the terminal always shows something at the
4329262685Sdelphij# status line (either the indicator, or status line).  That is because if no
4330262685Sdelphij# status line is used, then the terminal makes that line part of the user
4331262685Sdelphij# window, changing its size without notice.
4332262685Sdelphij#
4333262685Sdelphij# Because there is no "esl" (enable status line) capability, the "tsl"
4334262685Sdelphij# capability ensures that the status line is host-writable.  A DEC terminal
4335262685Sdelphij# will clear the status line when changing from indicator to host-writable
4336262685Sdelphij# mode.
4337262685Sdelphij#
4338262685Sdelphij# Once on the status line, the row part of cursor addressing is ignored.  Since
4339262685Sdelphij# tsl expects a parameter (to specify the column), the shortest addressing that
4340262685Sdelphij# can be used for this purpose is HPA, e.g., \E[5d to go to column 5.
4341262685Sdelphij#
4342262685Sdelphijdec+sl|DEC VTxx status line,
4343262685Sdelphij	eslok, hs,
4344262685Sdelphij	dsl=\E[1$~, fsl=\E[0$}, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
4345262685Sdelphij
4346262685Sdelphij#
434750276Speter# The following xterm variants don't depend on your base version
434850276Speter#
434950276Speter# xterm with bold instead of underline
4350166124Srafanxterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
4351262685Sdelphij	sgr=%?%p9%t\016%e\017%;B\E[0%?%p6%t;1%;%?%p2%t;1%;%?%p1%p3%|%t;7%;m,
4352176187Srafan	smso=\E[7m, smul=\E[1m, use=xterm-old,
4353262685Sdelphij
4354262685Sdelphij# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
4355262685Sdelphijxterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
4356262685Sdelphij	ich@, ich1@, use=xterm,
4357262685Sdelphij# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
4358262685Sdelphijxterm1|xterm terminal emulator ignoring the alternate screen buffer,
4359262685Sdelphij	rmcup@, smcup@, use=xterm,
4360262685Sdelphij
4361262685Sdelphij#### KTERM
436250276Speter# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
436350276Speter# (kterm should not invoke DEC Graphics as the alternate character set
436450276Speter#  -- Kenji Rikitake)
436576726Speter# (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
436676726Speter#  -- MATSUMOTO Shoji)
4367166124Srafan# kterm implements acsc via built-in table of X Drawable's
4368166124Srafankterm|kterm kanji terminal emulator (X window system),
4369262629Sdelphij	eslok, hs, XT,
4370166124Srafan	ncv@,
4371166124Srafan	acsc=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~,
4372166124Srafan	csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F,
4373166124Srafan	kmous=\E[M, rc=\E8, rmacs=\E(B, rmam=\E[?7l, sc=\E7,
4374166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
4375166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h,
4376166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color,
4377166124Srafankterm-color|kterm-co|kterm with ANSI colors,
4378166124Srafan	ncv@, use=kterm, use=ecma+color,
437950276Speter
4380262685Sdelphij#### Other XTERM
4381262685Sdelphij# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
4382262685Sdelphij# variant of xterm which is apparently no longer supported, but are interesting
4383262685Sdelphij# because they illustrate SVr4 curses mouse controls - T.Dickey
4384262685Sdelphijxtermm|xterm terminal emulator (monocrome),
4385262685Sdelphij	OTbs, am, km, mir, msgr, xenl,
4386262685Sdelphij	btns#3, cols#80, it#8, lines#24,
4387262685Sdelphij	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4388262685Sdelphij	bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
4389262685Sdelphij	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
4390262685Sdelphij	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4391262685Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4392262685Sdelphij	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4393262685Sdelphij	el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
4394262685Sdelphij	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
4395262685Sdelphij	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
4396262685Sdelphij	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kf0=\EOy,
4397262685Sdelphij	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf5=\EOT, kf6=\EOU,
4398262685Sdelphij	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kmous=\E[^_,
4399262685Sdelphij	knp=\E[U, kpp=\E[V, rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM,
4400262685Sdelphij	rmacs=^O, rmcup=\E@0\E[?4r, rmso=\E[m,
4401262685Sdelphij	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
4402262685Sdelphij	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
4403262685Sdelphij	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4404262685Sdelphij	sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
4405262685Sdelphij	smso=\E[7m, tbc=\E[3g, use=vt100+fnkeys,
4406262685Sdelphij
4407262685Sdelphijxtermc|xterm terminal emulator (color),
4408262685Sdelphij	colors#8, ncv#7, pairs#64,
4409262685Sdelphij	op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4410262685Sdelphij	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4411262685Sdelphij	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4412262685Sdelphij	use=xtermm,
4413262685Sdelphij
4414262685Sdelphij# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
4415262685Sdelphij# Here's a termcap entry I've been using for xterm_color, which comes
4416262685Sdelphij# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
4417262685Sdelphij# color stuff, I also have a status line defined as the window manager
4418262685Sdelphij# title bar. [I have translated it to terminfo -- ESR]
4419262685Sdelphijxterm-pcolor|xterm with color used for highlights and status line,
4420262685Sdelphij	wsl#40,
4421262685Sdelphij	bold=\E[1;43m, rev=\E[7;34m,
4422262685Sdelphij	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1;43%;%?%p2%t;4;42%;%?%p1%t;7;31%;%?%p3%t;7;34%;%?%p4%t;5%;%?%p7%t;8%;m,
4423262685Sdelphij	smso=\E[7;31m, smul=\E[4;42m, use=xterm+sl, use=xterm-r6,
4424262685Sdelphij
442550276Speter# This describes the capabilities of color_xterm, an xterm variant from
442650276Speter# before ECMA-64 color support was folded into the main-line xterm release.
442750276Speter# This entry is straight from color_xterm's maintainer.
442850276Speter# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
442950276Speter# The README's with the distribution also say that it supports SGR 21, 24, 25
443050276Speter# and 27, but they are not present in the terminfo or termcap.
4431166124Srafancolor_xterm|cx|cx100|color_xterm color terminal emulator for X,
4432262629Sdelphij	OTbs, am, km, mir, msgr, xenl, XT,
4433166124Srafan	cols#80, it#8, lines#65, ncv@,
4434166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4435166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
4436166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4437166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4438166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4439166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4440166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
4441166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4442166124Srafan	is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, kbs=^H, kcub1=\EOD,
4443166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kf1=\E[11~,
4444166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
4445166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
4446166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
4447166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
4448166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l,
4449166124Srafan	rmso=\E[27m, rmul=\E[24m,
4450166124Srafan	rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
4451166124Srafan	sc=\E7,
4452166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4453166124Srafan	sgr0=\E[0m\017, smacs=^N, smam=\E[?7h,
4454166124Srafan	smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
4455166124Srafan	smul=\E[4m, use=ecma+color, use=vt220+keypad,
445650276Speter
445762449Speter# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
445850276Speter# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
445950276Speter# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
446050276Speter# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
446150276Speter# that each of those implements the home, end, delete keys differently.
446262449Speter#
446362449Speter# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
446462449Speter# colors; note that this is not compatible with the 5.2 version.
4465166124Srafan# csw (2002-05-15): make xterm-color primary instead of nxterm, to
4466166124Srafan#   match XFree86's xterm.terminfo usage and prevent circular links
4467166124Srafanxterm-color|nxterm|generic color xterm,
4468166124Srafan	ncv@,
4469166124Srafan	op=\E[m, use=xterm-r6, use=klone+color,
447050276Speter
4471262685Sdelphij# This entry describes an xterm with Sun-style function keys enabled
4472262685Sdelphij# via the X resource setting "xterm*sunFunctionKeys:true"
4473262685Sdelphij# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
4474262685Sdelphij# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
4475262685Sdelphij# because we want it to be seen as <kcpy>.
4476262685Sdelphij# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
4477262685Sdelphij# with their Sun keyboard labels instead.
4478262685Sdelphij# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
4479262685Sdelphijxterm-sun|xterm with sunFunctionKeys true,
4480262685Sdelphij	kb2=\E[218z, kcpy=\E[197z, kcub1=\EOD, kcud1=\EOB,
4481262685Sdelphij	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3z, kend=\E[220z,
4482262685Sdelphij	kent=\EOM, kf1=\E[224z, kf10=\E[233z, kf11=\E[192z,
4483262685Sdelphij	kf12=\E[193z, kf13=\E[194z, kf14=\E[195z, kf15=\E[196z,
4484262685Sdelphij	kf17=\E[198z, kf18=\E[199z, kf19=\E[200z, kf2=\E[225z,
4485262685Sdelphij	kf20=\E[201z, kf3=\E[226z, kf31=\E[208z, kf32=\E[209z,
4486262685Sdelphij	kf33=\E[210z, kf34=\E[211z, kf35=\E[212z, kf36=\E[213z,
4487262685Sdelphij	kf38=\E[215z, kf4=\E[227z, kf40=\E[217z, kf42=\E[219z,
4488262685Sdelphij	kf44=\E[221z, kf45=\E[222z, kf46=\E[234z, kf47=\E[235z,
4489262685Sdelphij	kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
4490262685Sdelphij	kf9=\E[232z, kfnd=\E[200z, khlp=\E[196z, khome=\E[214z,
4491262685Sdelphij	kich1=\E[2z, knp=\E[222z, kpp=\E[216z, kund=\E[195z,
4492262685Sdelphij	use=xterm-basic,
4493262685Sdelphijxterms-sun|small (80x24) xterm with sunFunctionKeys true,
4494262685Sdelphij	cols#80, lines#24, use=xterm-sun,
4495262685Sdelphij
4496262685Sdelphij#### GNOME (VTE)
449762449Speter# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
4498166124Srafangnome-rh62|Gnome terminal,
4499166124Srafan	bce,
4500166124Srafan	kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
4501166124Srafan	use=xterm-color,
450262449Speter
450397049Speter# GNOME Terminal 1.4.0.4 (Redhat 7.2)
450497049Speter#
450597049Speter# This implements a subset of vt102 with a random selection of features from
450697049Speter# other terminals such as color and function-keys.
450797049Speter#
450897049Speter# shift-f1 to shift-f10 are f11 to f20
450997049Speter#
451097049Speter# NumLock changes the application keypad to approximate vt100 keypad, except
451197049Speter# that there is no escape sequence matching comma (,).
451297049Speter#
451397049Speter# Other defects observed:
451497049Speter#	vt100 LNM mode is not implemented.
451597049Speter#	vt100 80/132 column mode is not implemented.
451697049Speter#	vt100 DECALN is not implemented.
451797049Speter#	vt100 DECSCNM mode is not implemented, so flash does not work.
451897049Speter#	vt100 TBC (tab reset) is not implemented.
451997049Speter#	xterm alternate screen controls do not restore cursor position properly
452097049Speter#	it hangs in tack after running function-keys test.
4521166124Srafangnome-rh72|GNOME Terminal,
4522166124Srafan	bce, km@,
4523166124Srafan	civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP,
4524166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l,
4525166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
4526166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, tbc@, use=xterm-color,
452797049Speter
4528166124Srafan# GNOME Terminal 2.0.1 (Redhat 8.0)
4529166124Srafan#
4530166124Srafan# Documentation now claims it implements vt220 (which is demonstrably false).
4531166124Srafan# However, it does implement ECH, which is a vt220 feature.  And there are
4532166124Srafan# workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
4533166124Srafan# more of its bugs using vttest.
4534166124Srafan#
4535166124Srafan# However, note that bce and msgr are broken in this release.  Tabs (tbc and
4536166124Srafan# hts) are broken as well.  Sometimes flash (as in xterm-new) works.
4537166124Srafan#
4538166124Srafan# kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
4539166124Srafan# operations.  Shift-tab generates a distinct sequence so it can be argued
4540166124Srafan# that it implements kcbt.
4541166124Srafangnome-rh80|GNOME Terminal,
4542166124Srafan	bce@, msgr@,
4543166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, kbs=\177,
4544166124Srafan	kcbt=\E^I, op=\E[39;49m, use=gnome-rh72,
454597049Speter
4546166124Srafan# GNOME Terminal 2.2.1 (Redhat 9.0)
4547166124Srafan#
4548166124Srafan# bce and msgr are repaired.
4549166124Srafangnome-rh90|GNOME Terminal,
4550262685Sdelphij	bce, msgr, XT,
4551166124Srafan	hpa=\E[%i%p1%dG, kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C,
4552166124Srafan	kb2=\E[E, kcbt=\E[Z, kend=\EOF, khome=\EOH, tbc=\E[3g,
4553166124Srafan	vpa=\E[%i%p1%dd, use=xterm+pcf0, use=xterm+pcfkeys,
4554166124Srafan	use=gnome-rh80,
4555166124Srafan
4556166124Srafan# GNOME Terminal 2.14.2 (Fedora Core 5)
4557166124Srafan# Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
4558166124Srafangnome-fc5|GNOME Terminal,
4559166124Srafan	rs1=\Ec,
4560166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
4561166124Srafan	use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
4562166124Srafan
4563174993Srafan# GNOME Terminal 2.18.1 (2007 snapshot)
4564174993Srafan#
4565174993Srafan# For any "recent" version of gnome-terminal, it is futile to attempt to
4566174993Srafan# support modifiers on cursor- and keypad keys because the program usually
4567174993Srafan# is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
4568174993Srafan# of the keys (which more/less correspond to the termcap values), and will
4569174993Srafan# interpret those according to the $TERM value, but others not in the
4570174993Srafan# terminfo according to some constantly changing set of hacker guidelines -TD
4571262629Sdelphijvte-2007|VTE in GNOME Terminal snapshot 2.18.1,
4572262629Sdelphij	use=xterm+pcc2, use=gnome-fc5,
4573174993Srafangnome-2007|GNOME Terminal snapshot 2.18.1,
4574262629Sdelphij	use=vte-2007,
4575174993Srafan
4576184989Srafan# GNOME Terminal 2.22.3 (2008 snapshot)
4577184989Srafan#
4578184989Srafan# In vttest, it claims to be a vt220 with national replacement character-sets,
4579184989Srafan# but aside from the identifier string, implements only a small fraction of
4580184989Srafan# vt220's behavior, which will make it less usable on a VMS system (unclear
4581184989Srafan# what the intent of the developer is, since the NRC feature exposed in vttest
4582184989Srafan# by this change does not work).
4583262629Sdelphijvte-2008|VTE in GNOME Terminal snapshot 2.22.3,
4584262629Sdelphij	use=vte+pcfkeys, use=vte-2007,
4585184989Srafangnome-2008|GNOME Terminal snapshot 2.22.3,
4586262629Sdelphij	use=vte-2008,
4587184989Srafan
4588262685Sdelphij# GNOME Terminal 3.6.0 (2012)
4589262685Sdelphij# VTE 0.34.1 was marked in git 2012-10-15 (three days after patch was applied
4590262685Sdelphij# in ncurses).  It inherited from gnome-fc5, which broke the modified forms
4591262685Sdelphij# of f1-f4 -TD
4592262685Sdelphij#
4593262685Sdelphij# Testing with tack shows that flash does not/has not worked -TD
4594262685Sdelphijvte-2012|VTE 0.34.1,
4595262685Sdelphij	flash@, ritm=\E[23m, sitm=\E[3m, use=vte-2008,
4596262685Sdelphij# Version 3.6.1 sets TERM to xterm-256color (still hardcoded), which has
4597262685Sdelphij# 61 differences from a correct entry for gnome terminal.
4598262685Sdelphijgnome-2012|GNOME Terminal 3.6.0,
4599262685Sdelphij	use=vte-2012,
4600262685Sdelphij
4601184989Srafan# GNOME terminal may automatically use the contents of the "xterm" terminfo to
4602184989Srafan# supply key information which is not built into the program.  With 2.22.3,
4603184989Srafan# this list is built into the program (which addresses the inadvertant use of
4604184989Srafan# random terminfo data, though using a set of values which does not correspond
4605184989Srafan# to any that xterm produces - still not solving the problem that GNOME
4606184989Srafan# terminal hardcodes the $TERM variable as "xterm").
4607184989Srafan#
4608184989Srafan#	terminfo	modifier	code	keys
4609184989Srafan#	kf13-kf24	shift		2	F1 to F12
4610184989Srafan#	kf25-kf36	control		5	F1 to F12
4611184989Srafan#	kf37-kf48	shift/control	6	F1 to F12
4612184989Srafan#	kf49-kf60	alt		3	F1 to F12
4613184989Srafan#	kf61-kf63	shift-alt	4	F1 to F3
4614184989Srafan#
4615184989Srafan# The parameters with \EO (SS3) are technically an error, since SS3 should have
4616184989Srafan# no parameters.  This appears to be rote copying based on xterm+pcc0.
4617262629Sdelphijvte+pcfkeys|VTE's variation on xterm+pcfkeys,
4618184989Srafan	kf1=\EOP, kf13=\EO1;2P, kf14=\EO1;2Q, kf15=\EO1;2R,
4619184989Srafan	kf16=\EO1;2S, kf2=\EOQ, kf25=\EO1;5P, kf26=\EO1;5Q,
4620184989Srafan	kf27=\EO1;5R, kf28=\EO1;5S, kf3=\EOR, kf37=\EO1;6P,
4621184989Srafan	kf38=\EO1;6Q, kf39=\EO1;6R, kf4=\EOS, kf40=\EO1;6S,
4622184989Srafan	kf49=\EO1;3P, kf50=\EO1;3Q, kf51=\EO1;3R, kf52=\EO1;3S,
4623184989Srafan	kf61=\EO1;4P, kf62=\EO1;4Q, kf63=\EO1;4R,
4624184989Srafan	use=xterm+pcfkeys,
4625262629Sdelphijgnome+pcfkeys|VTE's variation on xterm+pcfkeys,
4626262629Sdelphij	use=vte+pcfkeys,
4627184989Srafan
4628262629Sdelphijvte|VTE aka GNOME Terminal,
4629262685Sdelphij	use=vte-2012,
4630166124Srafangnome|GNOME Terminal,
4631262629Sdelphij	use=vte,
4632166124Srafan
4633174993Srafan# palette is hardcoded...
4634262629Sdelphijvte-256color|VTE with xterm 256-colors,
4635262685Sdelphij	use=xterm+256color, use=vte,
4636166124Srafangnome-256color|GNOME Terminal with xterm 256-colors,
4637262629Sdelphij	use=vte-256color,
4638166124Srafan
4639166124Srafan# XFCE Terminal 0.2.5.4beta2
4640166124Srafan#
4641166124Srafan# This is based on some of the same source code, e.g., the VTE library, as
4642166124Srafan# gnome-terminal, but has fewer features, fails more screens in vttest.
4643166124Srafan# Since most of the terminfo-related behavior is due to the VTE library,
4644166124Srafan# the terminfo is the same as gnome-terminal.
4645166124Srafanxfce|Xfce Terminal,
4646262685Sdelphij	use=vte-2008,
4647166124Srafan
4648262685Sdelphij#### Other GNOME
4649166124Srafan# Multi-Gnome-Terminal 1.6.2
4650166124Srafan#
4651166124Srafan# This does not use VTE, and does have different behavior (compare xfce and
4652166124Srafan# gnome).
4653166124Srafanmgt|Multi GNOME Terminal,
4654166124Srafan	indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333,
4655166124Srafan
4656262685Sdelphij#### KDE
465762449Speter# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
465862449Speter# or not is debatable).
4659166124Srafankvt|KDE terminal,
4660166124Srafan	bce, km@,
4661166124Srafan	kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
466262449Speter
466397049Speter# Konsole 1.0.1
466497049Speter# (formerly known as kvt)
466597049Speter#
466697049Speter# This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
466797049Speter# simplify this entry (and point out why konsole isn't xterm), we base this on
466897049Speter# xterm-r6.  The default keyboard appears to be 'linux'.
466997049Speter#
467097049Speter# Notes:
467197049Speter# a) konsole implements several features from XFree86 xterm, though none of
467297049Speter#    that is documented - except of course in its source code - apparently
467397049Speter#    because its implementors are unaccustomed to reading documentation - as
467497049Speter#    evidenced by the sparse and poorly edited documentation distributed with
467597049Speter#    konsole.  Some features such as the 1049 private mode are recognized but
467697049Speter#    incorrectly implemented as a duplicate of the 47 private mode.
467797049Speter# b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
467897049Speter#    sends PC-style escapes rather than vt100.
467997049Speter# c) fails vttest menu 3 (Test of character sets) because it does not properly
468097049Speter#    parse some control sequences.  Also fails vttest Primary Device Attributes
468197049Speter#    by sending a bogus code (in the source it says it's supposed to be a
468297049Speter#    vt220, which is doubly incorrect because it does not implement vt220
468397049Speter#    control sequences except for a few special cases).  Treat it as a
468497049Speter#    mildly-broken vt102.
4685166124Srafan#
4686166124Srafan# Update for konsole 1.3.2:
4687166124Srafan#    The 1049 private mode works (but see the other xterm screens in vttest).
4688166124Srafan#    Primary Device Attributes now returns the code for a vt100 with advanced
4689166124Srafan#    video option.  Perhaps that's intended to be a "mildly-broken vt102".
4690166124Srafan#
4691166124Srafan# Updated for konsole 1.6.4:
4692166124Srafan#    add konsole-solaris
4693184989Srafan#
4694184989Srafan# Updated for konsole 1.6.6:
4695184989Srafan#    add control-key modifiers for function-keys, etc.
4696184989Srafan#
4697184989Srafan# vttest menu 1 shows that both konsole and gnome terminal do wrapping
4698184989Srafan# different from xterm (and vt100's).  They have the same behavior in this
4699184989Srafan# detail, but it is unclear which copies the other.
4700166124Srafankonsole-base|KDE console window,
4701262629Sdelphij	bce, km@, npc, XT,
4702262629Sdelphij	ncv@,
4703166124Srafan	bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h,
4704166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l,
4705262685Sdelphij	hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1=\E[3~,
4706166124Srafan	kend=\E[4~, kf1@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@,
4707166124Srafan	kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
4708166124Srafan	kf9@, kfnd@, khome=\E[1~, kslt@, rin=\E[%p1%dT, rmam=\E[?7l,
4709166124Srafan	rmso=\E[27m, rmul=\E[24m,
4710166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
4711166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4712166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, vpa=\E[%i%p1%dd,
4713166124Srafan	use=ecma+color, use=xterm-r6,
4714166124Srafankonsole-linux|KDE console window with linux keyboard,
4715262685Sdelphij	kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13@,
4716262685Sdelphij	kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E[[B, kf20@,
4717262685Sdelphij	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
4718262685Sdelphij	kf8=\E[19~, kf9=\E[20~, use=konsole-base,
4719166124Srafankonsole-solaris|KDE console window with Solaris keyboard,
4720166124Srafan	kbs=^H, kend=\E[4~, khome=\E[1~, use=konsole-vt100,
472197049Speter# KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
472297049Speter# than testing the code.
4723166124Srafankonsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
4724166124Srafan	kend=\E[4~, khome=\E[1~, use=konsole-vt100,
472597049Speter# The value for kbs reflects local customization rather than the settings used
472697049Speter# for XFree86 xterm.
4727166124Srafankonsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
4728184989Srafan	kend=\EOF, khome=\EOH, use=konsole+pcfkeys,
4729184989Srafan	use=konsole-vt100,
4730184989Srafan# Konsole does not implement shifted cursor-keys.
4731184989Srafankonsole+pcfkeys|konsole subset of xterm+pcfkeys,
4732184989Srafan	kLFT@, kRIT@, kcbt=\E[Z, kind@, kri@, kDN@, kUP@, use=xterm+pcc2,
4733184989Srafan	use=xterm+pcf0,
473497049Speter# KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
473597049Speter# it is still useful for deriving the other entries.
4736166124Srafankonsole-vt100|KDE console window with vt100 (sic) keyboard,
4737166124Srafan	kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~,
4738166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@,
4739166124Srafan	kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~,
4740166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4741166124Srafan	khome=\E[H, use=konsole-base,
4742166124Srafankonsole-vt420pc|KDE console window with vt420 pc keyboard,
4743166124Srafan	kbs=^H, kdch1=\177, use=konsole-vt100,
4744166124Srafankonsole-16color|klone of xterm-16color,
4745166124Srafan	ncv#32, use=ibm+16color, use=konsole,
474697049Speter# make a default entry for konsole
4747166124Srafankonsole|KDE console window,
4748166124Srafan	use=konsole-xf4x,
474997049Speter
4750174993Srafan# palette is hardcoded...
4751174993Srafankonsole-256color|KDE console window with xterm 256-colors,
4752174993Srafan	initc@, use=xterm+256color, use=konsole,
4753174993Srafan
4754262685Sdelphij#### MLTERM
4755174993Srafan# This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
4756166124Srafan#
4757174993Srafan# It is nominally a vt102 emulator, with features borrowed from rxvt and
4758166124Srafan# xterm.
4759166124Srafan#
4760174993Srafan# The function keys are numbered based on shift/control/alt modifiers, except
4761174993Srafan# that the control-modifier itself is used to spawn a new copy of mlterm (the
4762174993Srafan# "-P" option).  So control/F1 to control/F12 may not be usable, depending on
4763174993Srafan# how it is configured.
4764174993Srafan#
4765174993Srafan#				kf1 to kf12	\E[11~   to \E[24~
4766174993Srafan#	shift			kf1 to kf12	\E[11;2~ to \E[24;2~
4767174993Srafan#	alt			kf1 to kf12	\E[11;3~ to \E[24;3~
4768174993Srafan#	shift/alt		kf1 to kf12	\E[11;4~ to \E[24;4~
4769174993Srafan#	control			kf1 to kf12	\E[11;5~ to \E[24;5~ (maybe)
4770174993Srafan#	control/shift		kf1 to kf12	\E[11;6~ to \E[24;6~
4771174993Srafan#	control/alt		kf1 to kf12	\E[11;7~ to \E[24;7~
4772184989Srafan#	control/shift/alt	kf1 to kf12	\E[11;8~ to \E[24;8~
4773174993Srafan#
4774166124Srafanmlterm|multi lingual terminal emulator,
4775262629Sdelphij	am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
4776166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4777166124Srafan	acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4778166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
4779166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
4780166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4781166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4782166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4783166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4784166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=,
4785166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
4786166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
4787166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
4788184989Srafan	kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
4789184989Srafan	kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM, kfnd=\E[1~,
4790184989Srafan	khome=\EOH, kich1=\E[2~, kind=\EO1;2B, kmous=\E[M,
4791184989Srafan	knp=\E[6~, kpp=\E[5~, kri=\EO1;2A, kslt=\E[4~, mc0=\E[i,
4792184989Srafan	nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
4793174993Srafan	rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
4794174993Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
4795166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l,
4796166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4797166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
4798174993Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
4799166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
4800174993Srafan	tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
4801174993Srafan	vpa=\E[%i%p1%dd, use=mlterm+pcfkeys, use=xterm+r6f2,
4802166124Srafan
4803174993Srafan# The insert/delete/home/end keys do not respond to modifiers because mlterm
4804174993Srafan# looks in its termcap to decide which string to send.  If it used terminfo
4805174993Srafan# (when available), it could use the extended names introduced for xterm.
4806174993Srafanmlterm+pcfkeys|fragment for PC-style fkeys,
4807174993Srafan	kLFT=\EO1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO1;2C,
4808184989Srafan	kDN=\EO1;2B, kDN3=\EO1;3B, kDN4=\EO1;4B, kDN5=\EO1;5B,
4809184989Srafan	kDN6=\EO1;6B, kDN7=\EO1;7B, kIC5=\E[2;5~, kIC6=\E[2;6~,
4810184989Srafan	kLFT3=\EO1;3D, kLFT4=\EO1;4D, kLFT5=\EO1;5D,
4811184989Srafan	kLFT6=\EO1;6D, kLFT7=\EO1;7D, kNXT5=\E[6;5~,
4812184989Srafan	kNXT6=\E[6;6~, kPRV5=\E[5;5~, kPRV6=\E[5;6~,
4813184989Srafan	kRIT3=\EO1;3C, kRIT4=\EO1;4C, kRIT5=\EO1;5C,
4814184989Srafan	kRIT6=\EO1;6C, kRIT7=\EO1;7C, kUP=\EO1;2A, kUP3=\EO1;3A,
4815184989Srafan	kUP4=\EO1;4A, kUP5=\EO1;5A, kUP6=\EO1;6A, kUP7=\EO1;7A,
4816174993Srafan
4817262629Sdelphijmlterm-256color|mlterm 3.0 with xterm 256-colors,
4818262629Sdelphij	use=xterm+256color, use=rxvt,
4819262629Sdelphij
4820262685Sdelphij#### RXVT
482150276Speter# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
482250276Speter# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
482350276Speter# Notes:
482450276Speter# rxvt 2.21b uses
482550276Speter#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
482650276Speter# but some applications don't work with that.
482750276Speter# It also has an AIX extension
482850276Speter#	box2=lqkxjmwuvtn,
482950276Speter# and
483050276Speter#	ech=\E[%p1%dX,
483150276Speter# but the latter does not work correctly.
483250276Speter#
483350276Speter# The distributed terminfo says it implements hpa and vpa, but they are not
483450276Speter# implemented correctly, using relative rather than absolute positioning.
483550276Speter#
483650276Speter# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
483750276Speter# Since rxvt is not really compatible with xterm, it should be configured as
4838174993Srafan# "rxvt" or "rxvt-color".
4839166124Srafan#
4840166124Srafan# removed dch/dch1 because they are inconsistent with bce/ech -TD
4841166124Srafan# remove km as per tack test -TD
4842166124Srafanrxvt-basic|rxvt terminal base (X Window System),
4843262629Sdelphij	OTbs, am, bce, eo, mir, msgr, xenl, xon, XT,
4844166124Srafan	cols#80, it#8, lines#24,
4845166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4846166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4847166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
4848166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4849166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4850166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4851166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
4852166124Srafan	enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
4853166124Srafan	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
4854166124Srafan	ind=^J, is1=\E[?47l\E=\E[?1l,
4855166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
4856166124Srafan	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4857166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
4858166124Srafan	rmul=\E[24m,
4859166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
4860166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
4861166124Srafan	s0ds=\E(B, s1ds=\E(0, sc=\E7,
4862166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4863166124Srafan	sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
4864166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
4865166124Srafan	use=rxvt+pcfkeys, use=vt220+keypad,
4866166124Srafan# Key Codes from rxvt reference:
4867166124Srafan#
4868166124Srafan# Note: Shift + F1-F10 generates F11-F20
4869166124Srafan#
4870166124Srafan# For the keypad, use Shift to temporarily override Application-Keypad
4871166124Srafan# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
4872166124Srafan# is off, escape sequences toggle Application-Keypad setting.
4873166124Srafan# Also note that values of Home, End, Delete may have been compiled
4874166124Srafan# differently on your system.
4875166124Srafan#
4876166124Srafan#                   Normal       Shift        Control      Ctrl+Shift
4877166124Srafan#  Tab              ^I           ESC [ Z      ^I           ESC [ Z
4878166124Srafan#  BackSpace        ^H           ^?           ^?           ^?
4879166124Srafan#  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
4880166124Srafan#  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
4881166124Srafan#  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
4882166124Srafan#  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
4883166124Srafan#  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
4884166124Srafan#  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
4885166124Srafan#  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
4886166124Srafan#  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
4887166124Srafan#  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
4888166124Srafan#  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
4889166124Srafan#  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
4890166124Srafan#  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
4891166124Srafan#  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
4892166124Srafan#  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
4893166124Srafan#  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
4894166124Srafan#  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
4895166124Srafan#  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
4896166124Srafan#  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
4897166124Srafan#  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
4898166124Srafan#  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
4899166124Srafan#  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
4900166124Srafan#  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
4901166124Srafan#  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
4902166124Srafan#  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
4903166124Srafan#  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
4904166124Srafan#  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
4905166124Srafan#  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
4906166124Srafan#  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
4907166124Srafan#  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
4908174993Srafan#
4909166124Srafan#                                                          Application
4910166124Srafan#  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
4911166124Srafan#  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
4912166124Srafan#  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
4913166124Srafan#  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
4914166124Srafan#  KP_Enter         ^M                                     ESC O M
4915166124Srafan#  KP_F1            ESC O P                                ESC O P
4916166124Srafan#  KP_F2            ESC O Q                                ESC O Q
4917166124Srafan#  KP_F3            ESC O R                                ESC O R
4918166124Srafan#  KP_F4            ESC O S                                ESC O S
4919166124Srafan#  XK_KP_Multiply   *                                      ESC O j
4920166124Srafan#  XK_KP_Add        +                                      ESC O k
4921166124Srafan#  XK_KP_Separator  ,                                      ESC O l
4922166124Srafan#  XK_KP_Subtract   -                                      ESC O m
4923166124Srafan#  XK_KP_Decimal    .                                      ESC O n
4924166124Srafan#  XK_KP_Divide     /                                      ESC O o
4925166124Srafan#  XK_KP_0          0                                      ESC O p
4926166124Srafan#  XK_KP_1          1                                      ESC O q
4927166124Srafan#  XK_KP_2          2                                      ESC O r
4928166124Srafan#  XK_KP_3          3                                      ESC O s
4929166124Srafan#  XK_KP_4          4                                      ESC O t
4930166124Srafan#  XK_KP_5          5                                      ESC O u
4931166124Srafan#  XK_KP_6          6                                      ESC O v
4932166124Srafan#  XK_KP_7          7                                      ESC O w
4933166124Srafan#  XK_KP_8          8                                      ESC O x
4934166124Srafan#  XK_KP_9          9                                      ESC O y
4935166124Srafan#
4936174993Srafan# The source-code for rxvt actually defines mappings for F21-F35, using
4937174993Srafan# "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
4938174993Srafan# are rare, so this entry uses the shift- and control-modifiers as in
4939174993Srafan# xterm+pcfkeys to define keys past F12.
4940174993Srafan#
4941174993Srafan# kIC is normally not used, since rxvt performs a paste for that (shifted
4942174993Srafan# insert), unless private mode 35 is set.
4943174993Srafan#
4944166124Srafan# kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
4945166124Srafan# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
4946166124Srafanrxvt+pcfkeys|fragment for PC-style fkeys,
4947174993Srafan	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
4948166124Srafan	kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B,
4949166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
4950166124Srafan	kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
4951166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
4952166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
4953166124Srafan	kf2=\E[12~, kf20=\E[34~, kf21=\E[23$, kf22=\E[24$,
4954166124Srafan	kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, kf26=\E[14\^,
4955166124Srafan	kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, kf3=\E[13~,
4956166124Srafan	kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, kf33=\E[23\^,
4957166124Srafan	kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, kf37=\E[28\^,
4958166124Srafan	kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, kf40=\E[32\^,
4959166124Srafan	kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, kf44=\E[24@,
4960166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4961262629Sdelphij	kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, kind=\E[a, knp=\E[6~,
4962262629Sdelphij	kpp=\E[5~, kri=\E[b, kslt=\E[4~, kDC5=\E[3\^, kDC6=\E[3@,
4963262629Sdelphij	kDN=\E[b, kDN5=\EOb, kEND5=\E[8\^, kEND6=\E[8@,
4964262629Sdelphij	kHOM5=\E[7\^, kHOM6=\E[7@, kIC5=\E[2\^, kIC6=\E[2@,
4965262629Sdelphij	kLFT5=\EOd, kNXT5=\E[6\^, kNXT6=\E[6@, kPRV5=\E[5\^,
4966262629Sdelphij	kPRV6=\E[5@, kRIT5=\EOc, kUP=\E[a, kUP5=\EOa,
496750276Speter
4968166124Srafanrxvt|rxvt terminal emulator (X Window System),
4969166124Srafan	ncv@,
4970166124Srafan	hpa=\E[%i%p1%dG, kf0=\E[21~, sgr0=\E[m\017,
4971166124Srafan	vpa=\E[%i%p1%dd, use=rxvt-basic, use=ecma+color,
4972166124Srafanrxvt-color|rxvt terminal emulator (X Window System),
4973166124Srafan	use=rxvt,
4974166124Srafanrxvt-256color|rxvt 2.7.9 with xterm 256-colors,
4975166124Srafan	use=xterm+256color, use=rxvt,
4976184989Srafanrxvt-88color|rxvt 2.7.9 with xterm 88-colors,
4977184989Srafan	use=xterm+88color, use=rxvt,
4978166124Srafanrxvt-xpm|rxvt terminal emulator (X Window System),
4979166124Srafan	use=rxvt,
4980166124Srafanrxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
4981262629Sdelphij	acsc=+\257\,\256-\^0\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,
4982166124Srafan	use=rxvt,
4983166124Srafanrxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
4984262629Sdelphij	acsc=+\257\,\256-\^0\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,
4985166124Srafan	use=rxvt-cygwin,
4986166124Srafan
4987166124Srafan# This variant is supposed to work with rxvt 2.7.7 when compiled with
4988166124Srafan# NO_BRIGHTCOLOR defined.  rxvt needs more work...
4989166124Srafanrxvt-16color|xterm with 16 colors like aixterm,
4990166124Srafan	ncv#32, use=ibm+16color, use=rxvt,
4991166124Srafan
4992262685Sdelphij#### MRXVT
4993262629Sdelphij# mrxvt 0.5.4
4994174993Srafan#
4995174993Srafan# mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
4996174993Srafan# makes its function-keys different from other flavors of rxvt -TD
4997174993Srafanmrxvt|multitabbed rxvt,
4998262629Sdelphij	XT,
4999262629Sdelphij	kEND=\E[8;2~, kHOM=\E[7;2~, kcub1=\E[D, kcud1=\E[B,
5000262629Sdelphij	kcuf1=\E[C, kcuu1=\E[A, kend=\E[8~, khome=\E[7~,
5001262629Sdelphij	kEND3=\E[8;3~, kEND4=\E[8;4~, kEND5=\E[8;5~,
5002262629Sdelphij	kEND6=\E[8;6~, kEND7=\E[8;7~, kHOM3=\E[7;3~,
5003262629Sdelphij	kHOM4=\E[7;4~, kHOM5=\E[7;5~, kHOM6=\E[7;6~,
5004262629Sdelphij	kHOM7=\E[7;7~, use=xterm+r6f2, use=xterm+pcfkeys,
5005262629Sdelphij	use=rxvt,
5006174993Srafan
5007262629Sdelphijmrxvt-256color|multitabbed rxvt with 256 colors,
5008262629Sdelphij	use=xterm+256color, use=mrxvt,
5009262629Sdelphij
5010262685Sdelphij#### ETERM
501162449Speter# From: Michael Jennings <mej@valinux.com>
5012166124Srafan#
5013166124Srafan# Eterm 0.9.3
5014166124Srafan#
501562449Speter# removed kf0 which conflicts with kf10 -TD
501662449Speter# remove cvvis which conflicts with cnorm -TD
5017166124Srafan# Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
5018166124Srafan# but does otherwise follow the rxvt+pcfkeys model -TD
5019166124Srafan# remove nonworking flash -TD
5020166124Srafan# remove km as per tack test -TD
5021166124SrafanEterm|Eterm-color|Eterm with xterm-style color support (X Window System),
5022262629Sdelphij	am, bce, bw, eo, mc5i, mir, msgr, xenl, xon, XT,
5023166124Srafan	btns#5, cols#80, it#8, lines#24, lm#0, ncv@,
5024166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5025166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5026166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
5027166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5028166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5029166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5030166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
5031166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
5032166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
5033166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
5034166124Srafan	is1=\E[?47l\E>\E[?1l,
5035166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
5036166124Srafan	kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
5037166124Srafan	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
5038166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
5039166124Srafan	rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
5040166124Srafan	rmso=\E[27m, rmul=\E[24m,
5041166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
5042166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
5043166124Srafan	sc=\E7,
5044166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
5045166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
5046166124Srafan	smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
5047166124Srafan	vpa=\E[%i%p1%dd, use=vt100+enq, use=rxvt+pcfkeys,
5048166124Srafan	use=ecma+color,
504962449Speter
5050184989SrafanEterm-256color|Eterm with xterm 256-colors,
5051184989Srafan	use=xterm+256color, use=Eterm,
5052184989Srafan
5053184989SrafanEterm-88color|Eterm with 88 colors,
5054184989Srafan	use=xterm+88color, use=Eterm,
5055184989Srafan
5056262685Sdelphij#### ATERM
5057184989Srafan# Based on rxvt 2.4.8, it has a few differences in key bindings
5058184989Srafanaterm|AfterStep terminal,
5059262629Sdelphij	XT,
5060184989Srafan	kbs=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=rxvt,
5061184989Srafan
5062262685Sdelphij#### XITERM
5063166124Srafan# xiterm  0.5-5.2
5064166124Srafan# This is not based on xterm's source...
5065166124Srafan# vttest shows several problems with keyboard, cursor-movements.
5066166124Srafan# see also http://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
5067166124Srafanxiterm|internationalized terminal emulator for X,
5068166124Srafan	km@,
5069166124Srafan	kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6,
5070166124Srafan
507150276Speter
5072262685Sdelphij#### HPTERM
5073166124Srafan# HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
5074166124Srafan# from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
5075166124Srafan# chars look like --esr)
5076166124Srafanhpterm|X-hpterm|hp X11 terminal emulator,
5077166124Srafan	am, da, db, mir, xhp,
5078166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
5079166124Srafan	acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
5080166124Srafan	cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
5081166124Srafan	cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
5082166124Srafan	hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
5083166124Srafan	kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5084166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
5085166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
5086166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
5087166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
5088166124Srafan	memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
5089166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
5090166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
5091166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
5092166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
5093166124Srafan	rmul=\E&d@,
5094166124Srafan	sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
5095166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
5096166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
5097166124Srafan# HPUX 11 provides a color version.
5098166124Srafanhpterm-color|HP X11 terminal emulator with color,
5099166124Srafan	ccc,
5100166124Srafan	colors#64, pairs#8,
5101166124Srafan	home=\E&a0y0C,
5102166124Srafan	initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI,
5103166124Srafan	op=\E&v0S, scp=\E&v%p1%dS, use=hpterm,
510450276Speter
5105262685Sdelphij#### EMU
510650276Speter# This is for the extensible terminal emulator on the X11R6 contrib tape.
5107166124Srafan# It corresponds to emu's internal emulation:
5108166124Srafan#	emu -term emu
5109166124Srafan# emu's default sets TERM to "xterm", but that doesn't work well -TD
5110166124Srafan# fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
5111166124Srafan# fixes: add civis, cnorm, sgr -TD
5112166124Srafanemu|emu native mode,
5113166124Srafan	am, bce, mir, msgr, xon,
5114166124Srafan	colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
5115166124Srafan	acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
5116166124Srafan	bel=^G, blink=\EW, bold=\EU, civis=\EZ, clear=\EP\EE0;0;,
5117166124Srafan	cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, cub=\Eq-%p1%d;,
5118262629Sdelphij	cub1=^H, cud=\Ep%p1%d;, cud1=\EB, cuf=\Eq%p1%d;, cuf1=\EC,
5119166124Srafan	cup=\EE%p1%d;%p2%d;, cuu=\Ep-%p1%d;, cuu1=\EA,
5120166124Srafan	dch=\EI%p1%d;, dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;,
5121166124Srafan	ech=\Ej%p1%d;, ed=\EN, el=\EK, el1=\EL, home=\EE0;0;, ht=^I,
5122166124Srafan	hts=\Eh, il=\EQ%p1%d;, il1=\EQ1;, ind=\EG,
5123166124Srafan	is2=\ES\Er0;\Es0;, kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED,
5124166124Srafan	kcuu1=\EA, kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01,
5125166124Srafan	kf10=\EF10, kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14,
5126166124Srafan	kf15=\EF15, kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19,
5127166124Srafan	kf2=\EF02, kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05,
5128166124Srafan	kf6=\EF06, kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind,
5129166124Srafan	kich1=\Eins, knp=\Enext, kpp=\Eprior, kslt=\Esel,
5130166124Srafan	op=\Es0;\Er0;, rev=\ET, ri=\EF, rmir=\EX, rmso=\ES, rmul=\ES,
5131166124Srafan	rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
5132166124Srafan	setaf=\Er%i%p1%d;,
5133166124Srafan	sgr=\ES%?%p1%t\ET%;%?%p2%t\EV%;%?%p3%t\ET%;%?%p4%t\EW%;%?%p6%t\EU%;,
5134166124Srafan	sgr0=\ES, smir=\EY, smso=\ET, smul=\EV, tbc=\Ej,
513550276Speter
5136166124Srafan# vt220 Terminfo entry for the Emu emulation, corresponds to
5137166124Srafan#	emu -term vt220
5138166124Srafan# with NumLock set (to make the keypad transmit kf0-kf9).
5139166124Srafan# fixes: add am, xenl, corrected sgr0 -TD
5140166124Srafanemu-220|Emu-220 (vt200-7bit mode),
5141166124Srafan	am, xenl, xon,
5142166124Srafan	cols#80, it#8, lines#24, vt#200,
5143166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
5144166124Srafan	blink=\E[0;5m, bold=\E[0;1m, civis=\E[?25l,
5145166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
5146166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
5147166124Srafan	cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
5148166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
5149166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dl=\E[%p1%dM, dl1=\E[1M,
5150166124Srafan	ed=\E[0J, el=\E[0K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
5151166124Srafan	hts=\EH, if=/usr/share/tabset/vt300, il=\E[%p1%dL,
5152166124Srafan	il1=\E[1L, ind=\ED, is2=\E>\E[?1l\E[?3l\E[4l\E[?7h,
5153166124Srafan	kbs=^H, kcmd=\E[29~, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
5154166124Srafan	kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf0=\EOp, kf1=\EOq,
5155166124Srafan	kf10=\EOl, kf11=\EOm, kf12=\EOn, kf13=\EOP, kf14=\EOQ,
5156166124Srafan	kf15=\EOR, kf16=\EOS, kf2=\EOr, kf26=\E[17~, kf27=\E[18~,
5157166124Srafan	kf28=\E[19~, kf29=\E[20~, kf3=\EOs, kf30=\E[21~,
5158166124Srafan	kf34=\E[26~, kf37=\E[31~, kf38=\E[32~, kf39=\E[33~,
5159166124Srafan	kf4=\EOt, kf40=\E[34~, kf5=\EOu, kf6=\EOv, kf7=\EOw,
5160166124Srafan	kf8=\EOx, kf9=\EOy, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
5161166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, rev=\E[0;7m,
5162166124Srafan	ri=\EM, rmacs=^O, rmcup=\E>, rmkx=\E>, rmso=\E[m, rmul=\E[m,
5163166124Srafan	rs2=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h, sc=\E7,
5164166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
5165166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=,
5166166124Srafan	smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
5167262685Sdelphij
5168262685Sdelphij#### MVTERM
5169166124Srafan# A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
5170166124Srafan# print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
5171166124Srafan# indicate that it emulates more than one terminal, but incompletely.
5172166124Srafan#
5173166124Srafan# This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
5174166124Srafan# It is based on vt102's entry, with some subtle differences, but also
5175166124Srafan#	has status line
5176166124Srafan#	supports ANSI colors (except for 'op' string)
5177166124Srafan#	apparently implements alternate screen like xterm
5178166124Srafan#	does not use padding, of course.
5179166124Srafanmvterm|vv100|SwitchTerm aka mvTERM,
5180166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
5181166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
5182166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5183166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
5184166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5185166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5186166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5187166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
5188166124Srafan	dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
5189166124Srafan	fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
5190166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
5191166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOy,
5192166124Srafan	kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw,
5193166124Srafan	op=\E[100m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
5194166124Srafan	rmcup=\E[2J\E[?47l\E8, rmkx=\E[?1l\E>, rmso=\E[m,
5195166124Srafan	rmul=\E[m,
5196166124Srafan	rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H,
5197166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5198166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
5199166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h,
5200166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
5201166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys,
5202166124Srafan
5203262685Sdelphij#### MTERM
5204166124Srafan#
5205166124Srafan# This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
5206166124Srafan#
5207166124Srafan# "mterm -type ansi" sets $TERM to "ansi"
5208166124Srafanmterm-ansi|ANSI emulation,
5209166124Srafan	am, bw, mir, msgr,
5210166124Srafan	it#8,
5211166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5212166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
5213166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
5214166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
5215166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
5216166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
5217166124Srafan	el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=,
5218166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
5219166124Srafan	invis=\E[8m, is2=\E)0\017, kbs=^H, nel=\EE, rev=\E[7m,
5220166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmso=\E[27m,
5221166124Srafan	rmul=\E[24m,
5222166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
5223166124Srafan	sgr0=\E[m, smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m,
5224166124Srafan	vpa=\E[%i%p1%dd,
5225166124Srafan# mterm normally sets $TERM to "mterm"
5226166124Srafanmterm|mouse-sun|Der Mouse term,
5227166124Srafan	am, bw, mir,
5228166124Srafan	it#8,
5229166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^N, cuf1=^S,
5230166124Srafan	cup=\006%p1%d.%p2%d., cuu1=^X, dch1=^Y, dl1=^K, ed=^B, el=^C,
5231166124Srafan	home=^P, ht=^I, il1=^A, ind=^U, kbs=^H, ll=^R, nel=^M^U, ri=^W,
5232166124Srafan	rmir=^O, rmso=^T, smir=^Q, smso=^V,
5233166124Srafan# "mterm -type decansi" sets $TERM to "decansi"
5234166124Srafan#
5235166124Srafan# note: kdch1, kfnd, kslt are in the source code, but do not work -TD
5236166124Srafandecansi|ANSI emulation with DEC compatibility hacks,
5237166124Srafan	am, mir, msgr, xenl,
5238166124Srafan	colors#8, it#8, pairs#64,
5239166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5240166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5241166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
5242166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
5243166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5244166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5245166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
5246166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E(B\E)0,
5247166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, il=\E[%p1%dL,
5248166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m,
5249166124Srafan	is2=\E)0\E[r\017, kbs=^H, kcub1=\EOD, kcud1=\EOB,
5250166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~,
5251166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
5252166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
5253166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
5254166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
5255166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
5256166124Srafan	kpp=\E[5~, kslt=\E[4~, nel=\EE, op=\E[0m, rc=\E8, rev=\E[7m,
5257166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
5258166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, sc=\E7,
5259166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5260166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
5261166124Srafan	sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
5262166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR,
5263166124Srafan	u7=\E[6n, vpa=\E[%i%p1%dd,
5264166124Srafan
5265262629Sdelphij#### VWM
5266262629Sdelphij#
5267262629Sdelphij# vwmterm is a terminal emulator written for the VWM console window manager
5268262629Sdelphij#
5269262629Sdelphijvwmterm|(vwm term),
5270262629Sdelphij	am, bce, ccc, mir, msgr, npc, xenl, xon,
5271262629Sdelphij	colors#8, pairs#64,
5272262629Sdelphij	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5273262629Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5274262629Sdelphij	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD,
5275262629Sdelphij	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5276262629Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5277262629Sdelphij	cuu1=\E[A, cvvis=\E[?25h, dim=\E[2m, ed=\E[J, el=\E[K,
5278262629Sdelphij	home=\E[H, il1=\E[L, ind=^J, invis=\E[8m, kcub1=\E[D,
5279262629Sdelphij	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
5280262629Sdelphij	kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[22~,
5281262629Sdelphij	kf12=\E[23~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
5282262629Sdelphij	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5283262629Sdelphij	khome=\E[1~, knp=\E[6~, kpp=\E[5~, rev=\E[7m, rmacs=\E[10m,
5284262629Sdelphij	rmam=\E[?7l, rmcup=\E[?1049l, rs1=\E[H\E[J\E[m\Ec,
5285262629Sdelphij	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5286262629Sdelphij	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
5287262629Sdelphij	sgr0=\E[0;10m, smacs=\E[11m, smam=\E[?7h,
5288262629Sdelphij	smcup=\E[?1049h, smso=\E[3m, smul=\E[4m,
5289262629Sdelphij
529050276Speter#### MGR
529150276Speter#
529250276Speter# MGR is a Bell Labs window system lighter-weight than X.
5293166124Srafan# These entries describe MGR's xterm-equivalent.
5294166124Srafan# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
529550276Speter#
529650276Speter
5297166124Srafanmgr|Bellcore MGR (non X) window system terminal emulation,
5298166124Srafan	am, km,
5299166124Srafan	bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
5300166124Srafan	csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
5301166124Srafan	cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
5302166124Srafan	dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
5303166124Srafan	dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
5304166124Srafan	ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
5305166124Srafan	il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
5306166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
5307166124Srafan	rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
5308166124Srafan	smul=\E4n,
5309166124Srafanmgr-sun|Mgr window with Sun keyboard,
5310166124Srafan	ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
5311166124Srafan	kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z,
5312166124Srafan	kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
5313166124Srafan	kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
5314166124Srafan	kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
5315166124Srafan	kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
5316166124Srafan	kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr,
5317166124Srafanmgr-linux|Mgr window with Linux keyboard,
5318166124Srafan	ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
5319166124Srafan	kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
5320166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
5321166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5322166124Srafan	khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr,
532350276Speter
5324262685Sdelphij#### SIMPLETERM
5325262685Sdelphij# st.suckless.org
5326262685Sdelphij# st-0.1.1
5327262685Sdelphij#
5328262685Sdelphij# Note:  the original terminfo description uses leading blank to persuade
5329262685Sdelphij# ncurses to use "st" as its name.  Proper fix for that is to use "st" as an
5330262685Sdelphij# alias.
5331262685Sdelphij#
5332262685Sdelphij# Reading the code shows it should work for aixterm 16-colors
5333262685Sdelphij# - added st-16color
5334262685Sdelphij#
5335262685Sdelphij# Using tack:
5336262685Sdelphij# - set eo (erase-overstrike)
5337262685Sdelphij# - set xenl
5338262685Sdelphij# - tbc doesn't work
5339262685Sdelphij# - hts works
5340262685Sdelphij# - cbt doesn't work
5341262685Sdelphij# - shifted cursor-keys send sequences like rxvt
5342262685Sdelphij# - sgr referred to unimplemented "invis" mode.
5343262685Sdelphij# Fixes: add eo and xenl per tack, remove nonworking cbt, hts and tbc, invis
5344262685Sdelphijsimpleterm|st| simpleterm,
5345262685Sdelphij	am, eo, mir, msgr, ul, xenl,
5346262685Sdelphij	colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
5347262685Sdelphij	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5348262685Sdelphij	bel=^G, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
5349262685Sdelphij	cnorm=\E[?12l\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
5350262685Sdelphij	cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5351262685Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5352262685Sdelphij	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
5353262685Sdelphij	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
5354262685Sdelphij	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=\177,
5355262685Sdelphij	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5356262685Sdelphij	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
5357262685Sdelphij	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
5358262685Sdelphij	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5359262685Sdelphij	khome=\E[1~, knp=\E[6~, kpp=\E[5~, op=\E[37;40m, rc=\E8,
5360262685Sdelphij	rev=\E[7m, rmacs=\E(B, rmso=\E[m, rmul=\E[m, sc=\E7,
5361262685Sdelphij	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5362262685Sdelphij	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
5363262685Sdelphij	sgr0=\E[0m, smacs=\E(0, smso=\E[7m, smul=\E[4m,
5364262685Sdelphijst-16color|simpleterm with 16-colors,
5365262685Sdelphij	use=ibm+16color, use=simpleterm,
5366262685Sdelphij# 256 colors "works", but when running xterm's test-scripts, some garbage is
5367262685Sdelphij# shown in the titlebar.
5368262685Sdelphijst-256color|simpleterm with 256 colors,
5369262685Sdelphij	ccc@,
5370262685Sdelphij	initc@, use=xterm+256color, use=simpleterm,
5371262685Sdelphij
5372262685Sdelphij#### TERMINATOR
5373262685Sdelphij# http://software.jessies.org/terminator/
5374262685Sdelphij# Tested using their Debian package org.jessies.terminator 6.104.3256 on 64-bit
5375262685Sdelphij# Debian/current -TD (2011/8/20)
5376262685Sdelphij#
5377262685Sdelphij# There are some packaging problems:
5378262685Sdelphij# a) using Java, the program starts off using 50Mb, and climbs from there,
5379262685Sdelphij#    up to 114Mb after testing (no scrollback).
5380262685Sdelphij# b) it insists on reinstalling its terminal description in $HOME/.terminfo
5381262685Sdelphij#    (two copies, just in case the host happens to be Mac OS X).
5382262685Sdelphij#    I deleted this after testing with tack.
5383262685Sdelphij#
5384262685Sdelphij# Issues/features found with tack:
5385262685Sdelphij# a) tbc does not work (implying that hts also is broken).
5386262685Sdelphij#    Comparing with the tabs utility shows a problem with the last tabstop on
5387262685Sdelphij#    a line.
5388262685Sdelphij# b) has xterm-style shifted function-key strings
5389262685Sdelphij#    meta also is used, but control is ignored.
5390262685Sdelphij# c) has xterm-style modifiers for cursor keys (shift, control, shift+control, meta)
5391262685Sdelphij# d) some combinations of shift/control send xterm-style sequences for
5392262685Sdelphij#    insert/delete/home/end.
5393262685Sdelphij# e) numeric keypad sends only numbers (compare with vttest).
5394262685Sdelphij# f) meta mode (km) is not implemented.
5395262685Sdelphij#
5396262685Sdelphij# Issues found with ncurses test-program:
5397262685Sdelphij# a) bce is inconsistently implemented
5398262685Sdelphij# b) widths of Unicode values above 256 do not always agree with wcwidth.
5399262685Sdelphij#
5400262685Sdelphij# Checked with vttest, found low degree of compatibility there.
5401262685Sdelphij#
5402262685Sdelphij# Checked with xterm's scripts, found that the 256-color palette is fixed.
5403262685Sdelphij#
5404262685Sdelphij# Fixes:
5405262685Sdelphij# a) add sgr string
5406262685Sdelphij# b) corrected sgr0 to reset alternate character set
5407262685Sdelphij# c) modified smacs/rmacs to use SCS rather than SI/SO
5408262685Sdelphij# d) removed bce
5409262685Sdelphij# e) removed km
5410262685Sdelphijterminator|Terminator no line wrap,
5411262685Sdelphij	eo, mir, msgr, xenl, xon,
5412262685Sdelphij	colors#256, cols#80, it#8, lines#24, lm#0, pairs#32767,
5413262685Sdelphij	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5414262685Sdelphij	bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
5415262685Sdelphij	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
5416262685Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
5417262685Sdelphij	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
5418262685Sdelphij	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
5419262685Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
5420262685Sdelphij	enacs=\E(B\E)0, flash=^G, home=\E[H, hpa=\E[%i%p1%dG,
5421262685Sdelphij	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
5422262685Sdelphij	is1=\E[?47l\E=\E[?1l,
5423262685Sdelphij	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
5424262685Sdelphij	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5425262685Sdelphij	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
5426262685Sdelphij	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5427262685Sdelphij	kf15=\E[28~, kf16=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
5428262685Sdelphij	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5429262685Sdelphij	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
5430262685Sdelphij	op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B,
5431262685Sdelphij	rmcup=\E[?47l\E8, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
5432262685Sdelphij	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
5433262685Sdelphij	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
5434262685Sdelphij	s0ds=\E(B, s1ds=\E(0, sc=\E7, setab=\E[48;5;%p1%dm,
5435262685Sdelphij	setaf=\E[38;5;%p1%dm,
5436262685Sdelphij	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
5437262685Sdelphij	sgr0=\E[m\E(B, smacs=\E(0, smcup=\E7\E[?47h, smir=\E[4h,
5438262685Sdelphij	smso=\E[7m, smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd,
5439262685Sdelphij	use=xterm+sl-twm,
5440262685Sdelphij
544150276Speter######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
544250276Speter#
544350276Speter
5444166124Srafan# Columbus UNIX virtual terminal. This terminal also appears in
5445166124Srafan# UNIX 4.0 and successors as line discipline 1 (?), but is
544650276Speter# undocumented and does not really work quite right.
5447166124Srafancbunix|cb unix virtual terminal,
5448166124Srafan	OTbs, am, da, db,
5449166124Srafan	cols#80, lines#24, lm#0,
5450166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5451166124Srafan	cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
5452166124Srafan	el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
5453166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
5454166124Srafan	smso=\Ea^D, smul=\Ea^A,
545550276Speter# (vremote: removed obsolete ":nl@:" -- esr)
5456166124Srafanvremote|virtual remote terminal,
5457166124Srafan	am@,
5458166124Srafan	cols#79, use=cbunix,
545950276Speter
5460166124Srafanpty|4bsd pseudo teletype,
5461166124Srafan	cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
5462166124Srafan	smso=\Ea$, smul=\Ea!, use=cbunix,
546350276Speter
5464262685Sdelphij#### Emacs
5465262685Sdelphij
5466166124Srafan# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
5467166124Srafaneterm|gnu emacs term.el terminal emulation,
5468166124Srafan	am, mir, xenl,
5469166124Srafan	cols#80, lines#24,
5470166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
5471166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5472166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5473166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5474166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
5475166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
5476166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
5477166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
5478166124Srafan	sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
5479166124Srafan	smul=\E[4m,
548050276Speter
5481262629Sdelphij# The codes supported by the term.el terminal emulation in GNU Emacs 22.2
5482262629Sdelphijeterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
5483262629Sdelphij	am, mir, msgr, xenl,
5484262629Sdelphij	colors#8, cols#80, lines#24, pairs#64,
5485262629Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
5486262629Sdelphij	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5487262629Sdelphij	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5488262629Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5489262629Sdelphij	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
5490262629Sdelphij	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
5491262629Sdelphij	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kbs=\177,
5492262629Sdelphij	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
5493262629Sdelphij	kdch1=\E[3~, kend=\E[4~, khome=\E[1~, kich1=\E[2~,
5494262629Sdelphij	knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, rev=\E[7m,
5495262629Sdelphij	ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec,
5496262629Sdelphij	sc=\E7, setab=\E[%p1%'('%+%dm, setaf=\E[%p1%{30}%+%dm,
5497262629Sdelphij	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
5498262629Sdelphij	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
5499262629Sdelphij	u6=\E[%i%d;%dR, u7=\E[6n,
5500262629Sdelphij
5501262685Sdelphij#### Screen
5502262685Sdelphij
5503166124Srafan# Entries for use by the `screen' program by Juergen Weigert,
550462449Speter# Michael Schroeder, Oliver Laumann.  The screen and
550550276Speter# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
550650276Speter# come from University of Wisconsin and may be older.
550750276Speter# (screen: added <cnorm> on ANSI model -- esr)
550862449Speter#
550962449Speter# 'screen' defines extensions to termcap.  Some are used in its terminal
551062449Speter# description:
551162449Speter#      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
551262449Speter#      AX   (bool)  Does  understand ANSI set default fg/bg color
551362449Speter#                   (\E[39m / \E[49m).
551466963Speter#      S0   (str)   Switch charset 'G0' to the specified charset.
551566963Speter#      E0   (str)   Switch charset 'G0' back to standard charset.
551676726Speter#
551776726Speter# tested with screen 3.09.08
5518166124Srafanscreen|VT 100/ANSI X3.64 virtual terminal,
5519166124Srafan	OTbs, OTpt, am, km, mir, msgr, xenl, G0,
5520262629Sdelphij	colors#8, cols#80, it#8, lines#24, ncv@, pairs#64, U8#1,
5521166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5522166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
5523166124Srafan	clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
5524166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5525166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5526166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
5527166124Srafan	cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5528166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
5529166124Srafan	flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
5530166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z,
5531166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
5532166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
5533166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
5534166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5535166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
5536166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
5537166124Srafan	rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m,
5538166124Srafan	rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7,
5539166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
5540166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h,
5541166124Srafan	smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, E0=\E(B,
5542166124Srafan	S0=\E(%p1%c, use=ecma+color,
5543166124Srafan# The bce and status-line entries are from screen 3.9.13 (and require some
5544166124Srafan# changes to .screenrc).
5545166124Srafanscreen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
5546262629Sdelphij	bce,
5547262629Sdelphij	ech@, use=screen,
5548166124Srafanscreen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
5549166124Srafan	dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,
555050276Speter
5551166124Srafan# ======================================================================
5552166124Srafan# Entries for GNU Screen with 16 colors.
5553166124Srafan# Those variations permit to benefit from 16 colors palette, and from
5554166124Srafan# bold font and blink attribute separated from bright colors. But they
5555166124Srafan# are less portable than the generic "screen" 8 color entries: Their
5556166124Srafan# usage makes real sense only if the terminals you attach and reattach
5557166124Srafan# do all support 16 color palette.
5558166124Srafan
5559166124Srafanscreen-16color|GNU Screen with 16 colors,
5560166124Srafan	use=ibm+16color, use=screen,
5561166124Srafan
5562166124Srafanscreen-16color-s|GNU Screen with 16 colors and status line,
5563166124Srafan	use=ibm+16color, use=screen-s,
5564166124Srafan
5565166124Srafanscreen-16color-bce|GNU Screen with 16 colors and BCE,
5566166124Srafan	use=ibm+16color, use=screen-bce,
5567166124Srafan
5568166124Srafanscreen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line,
5569166124Srafan	bce, use=ibm+16color, use=screen-s,
5570166124Srafan
5571166124Srafan# ======================================================================
5572166124Srafan# Entries for GNU Screen 4.02 with --enable-colors256.
5573166124Srafan
5574166124Srafanscreen-256color|GNU Screen with 256 colors,
5575166124Srafan	ccc@,
5576166124Srafan	initc@, use=xterm+256color, use=screen,
5577166124Srafan
5578166124Srafanscreen-256color-s|GNU Screen with 256 colors and status line,
5579166124Srafan	ccc@,
5580166124Srafan	initc@, use=xterm+256color, use=screen-s,
5581166124Srafan
5582166124Srafanscreen-256color-bce|GNU Screen with 256 colors and BCE,
5583166124Srafan	ccc@,
5584166124Srafan	initc@, use=xterm+256color, use=screen-bce,
5585166124Srafan
5586166124Srafanscreen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line,
5587166124Srafan	bce, ccc@,
5588166124Srafan	initc@, use=xterm+256color, use=screen-s,
5589166124Srafan
5590166124Srafan# ======================================================================
5591166124Srafan
559276726Speter# Read the fine manpage:
559376726Speter#       When  screen  tries  to  figure  out  a  terminal name for
559476726Speter#       itself, it first looks for an entry named "screen.<term>",
559576726Speter#       where  <term>  is the contents of your $TERM variable.  If
559676726Speter#       no such entry exists, screen tries "screen" (or "screen-w"
559776726Speter#       if the terminal is wide (132 cols or more)).  If even this
559876726Speter#       entry cannot be found, "vt100" is used as a substitute.
559976726Speter#
5600178866Srafan# Notwithstanding the manpage, screen uses its own notion of the termcap
5601178866Srafan# and some keys from "screen.<term>" are ignored.  Here is an entry which
5602178866Srafan# covers those (tested with screen 4.00.02) -TD
5603178866Srafanscreen+fkeys|function-keys according to screen,
5604178866Srafan	kend=\E[4~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kfnd@,
5605178866Srafan	khome=\E[1~, kslt@,
5606178866Srafan#
560776726Speter# Here are a few customized entries which are useful -TD
560876726Speter#
560976726Speter# Notes:
561076726Speter# (a)	screen does not support invis.
561176726Speter# (b)	screen's implementation of bw is incorrect according to tack.
561276726Speter# (c)	screen appears to hardcode the strings for khome/kend, making it
5613178866Srafan#	necessary to override the "use=" clause's values (screen+fkeys).
561476726Speter# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
561576726Speter#	which is NOT the same as the terminfo screen.<term>.
561676726Speter# (e)	when screen finds one of these customized entries, it sets $TERM to
561776726Speter#	match.  Hence, no "screen.xterm" entry is provided, since that would
561876726Speter#	create heartburn for people running remote xterm's.
561976726Speter#
562076726Speter#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
562176726Speter#	since the default translations override the built-in keycode
562276726Speter#	translation.  They are suppressed here to show what is tested by tack.
5623166124Srafanscreen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
5624166124Srafan	bce@, bw,
5625178866Srafan	invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
5626166124Srafan	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
5627262685Sdelphij	E3@, use=screen+fkeys, use=xterm-new,
562876726Speter# xterm-r6 does not really support khome/kend unless it is propped up by
562976726Speter# the translations resource.
5630166124Srafanscreen.xterm-r6|screen customized for X11R6 xterm,
5631178866Srafan	bw, use=screen+fkeys, use=xterm-r6,
563276726Speter# Color applications running in screen and TeraTerm do not play well together
5633166124Srafan# on Solaris because Sun's curses implementation gets confused.
5634166124Srafanscreen.teraterm|disable ncv in teraterm,
5635166124Srafan	ncv#127,
5636166124Srafan	acsc=+\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,
5637178866Srafan	use=screen+fkeys, use=screen,
5638178866Srafan# Other terminals
5639178866Srafanscreen.rxvt|screen in rxvt,
5640262629Sdelphij	bw, XT,
5641178866Srafan	cvvis@, flash@, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
5642178866Srafan	kcuu1=\EOA, use=screen+fkeys, use=vt100+enq,
5643178866Srafan	use=rxvt+pcfkeys, use=vt220+keypad, use=screen,
5644262629Sdelphijscreen.Eterm|screen in Eterm,
5645262629Sdelphij	use=screen+fkeys, use=Eterm,
5646262629Sdelphijscreen.mrxvt|screen in mrxvt,
5647262629Sdelphij	use=screen+fkeys, use=mrxvt,
5648262629Sdelphijscreen.vte|screen in any VTE-based terminal,
5649262629Sdelphij	use=screen+fkeys, use=vte,
5650262629Sdelphijscreen.gnome|screen in GNOME Terminal,
5651262629Sdelphij	use=screen+fkeys, use=gnome,
5652262629Sdelphijscreen.konsole|screen in KDE console window,
5653262629Sdelphij	use=screen+fkeys, use=konsole,
5654166124Srafan# fix the backspace key
5655166124Srafanscreen.linux|screen in linux console,
5656166124Srafan	bw,
5657178866Srafan	kbs=\177, kcbt@, use=screen+fkeys, use=screen,
5658184989Srafanscreen.mlterm|screen in mlterm,
5659184989Srafan	use=screen+fkeys, use=mlterm,
566076726Speter
5661262629Sdelphij# The default "screen" entry is reasonably portable, but not optimal for the
5662262629Sdelphij# most widely-used terminal emulators.  The "bce" capability is supported in
5663262629Sdelphij# screen since 3.9.13, and when used, will require fewer characters to be sent
5664262629Sdelphij# to the terminal for updates.
5665262629Sdelphij#
5666262629Sdelphij# If you are using only terminals which support bce, then you can use this
5667262629Sdelphij# feature in your screen configuration.
5668262629Sdelphij#
5669262629Sdelphij# Adding these lines to your ".screenrc" file will allow using these customized
5670262629Sdelphij# entries:
5671262629Sdelphij#	term screen-bce
5672262629Sdelphij#	bce on
5673262629Sdelphij#	defbce on
5674262629Sdelphijscreen-bce.xterm-new|screen optimized for modern xterm,
5675262629Sdelphij	bce,
5676262629Sdelphij	ech@, use=screen.xterm-new,
5677262629Sdelphijscreen-bce.rxvt|screen optimized for rxvt,
5678262629Sdelphij	bce,
5679262629Sdelphij	ech@, use=screen.rxvt,
5680262629Sdelphijscreen-bce.Eterm|screen optimized for Eterm,
5681262629Sdelphij	bce,
5682262629Sdelphij	ech@, use=screen.Eterm,
5683262629Sdelphijscreen-bce.mrxvt|screen optimized for mrxvt,
5684262629Sdelphij	bce,
5685262629Sdelphij	ech@, use=screen.mrxvt,
5686262629Sdelphijscreen-bce.gnome|screen optimized for GNOME-Terminal,
5687262629Sdelphij	bce,
5688262629Sdelphij	ech@, use=screen.gnome,
5689262629Sdelphijscreen-bce.konsole|screen optimized for KDE console window,
5690262629Sdelphij	bce,
5691262629Sdelphij	ech@, use=screen.konsole,
5692262629Sdelphijscreen-bce.linux|screen optimized for linux console,
5693262629Sdelphij	bce,
5694262629Sdelphij	ech@, use=screen.linux,
5695262629Sdelphijscreen-bce.mlterm|screen optimized for mlterm,
5696262629Sdelphij	bce,
5697262629Sdelphij	ech@, use=screen.mlterm,
5698262629Sdelphij
5699166124Srafanscreen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
5700166124Srafan	cols#132, use=screen,
570150276Speter
5702166124Srafanscreen2|old VT 100/ANSI X3.64 virtual terminal,
5703166124Srafan	cols#80, it#8, lines#24,
5704166124Srafan	cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
5705166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5706166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5707166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
5708166124Srafan	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
5709166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5710166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
5711166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
5712166124Srafan	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
5713166124Srafan	rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
5714166124Srafan	smso=\E[3m, smul=\E[4m, tbc=\E[3g,
571550276Speter# (screen3: removed unknown ":xv:LP:G0:" -- esr)
5716166124Srafanscreen3|older VT 100/ANSI X3.64 virtual terminal,
5717166124Srafan	km, mir, msgr,
5718166124Srafan	cols#80, it#8, lines#24,
5719166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
5720166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5721166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5722166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
5723166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
5724166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
5725166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
5726166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
5727166124Srafan	kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
5728166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
5729166124Srafan	sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
5730166124Srafan	smul=\E[4m, tbc=\E[3g,
573150276Speter
5732262685Sdelphij#### NCSA Telnet
5733262685Sdelphij
573450276Speter# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
573550276Speter# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
573650276Speter# been maintained until recently by the National Center for Supercomputer
573750276Speter# Applications, and it is feature rich, stable and free.  It can be downloaded
573850276Speter# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
573950276Speter# xterm+sl, and the docs at NCSA.  It works well.
574050276Speter#
574150276Speter# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
574250276Speter# The terminal options should be set as follows:
574350276Speter#         Xterm sequences ON
574450276Speter#         use VT wrap mode ON
574550276Speter#         use Emacs arrow keys OFF
574650276Speter#         CTRL-COMND is Emacs meta ON
574750276Speter#         8 bit mode ON
574850276Speter#         answerback string: "ncsa-vt220-8"
574950276Speter#         setup keys: all disabled
575050276Speter#
575156639Speter# Application mode is not used.
575250276Speter#
575350276Speter# Other special mappings:
575450276Speter#	Apple		VT220
575550276Speter#	HELP 		Find
575650276Speter#	HOME		Insert here
575750276Speter#	PAGEUP		Remove
575850276Speter#	DEL		Select
575950276Speter#	END		Prev Screen
576050276Speter#	PAGEDOWN	Next Screen
576150276Speter#
576250276Speter# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
576350276Speter# text.
576450276Speter#
576550276Speter# The status-line manipulation is a mapping of the xterm-compatible control
576650276Speter# sequences for setting the window-title.  So you must use tsl and fsl in
576750276Speter# pairs, since the latter ends the string that is loaded to the window-title.
5768166124Srafanncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
5769262685Sdelphij	am, km, mir, msgr, xenl,
5770166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5771166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5772166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
5773166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5774166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5775166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5776262685Sdelphij	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
5777262685Sdelphij	el=\E[K, el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l,
5778262685Sdelphij	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
5779262685Sdelphij	if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
5780262685Sdelphij	ind=\n$<150*>,
5781166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
5782166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5783166124Srafan	kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
5784166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
5785166124Srafan	kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
5786166124Srafan	kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
5787166124Srafan	khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
5788166124Srafan	rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
5789166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
5790166124Srafan	rmso=\E[27m, rmul=\E[24m,
5791166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
5792166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
5793166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
5794262685Sdelphij	smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
5795262685Sdelphij	u8=\E[?62;1;6c, use=xterm+sl, use=ansi+enq,
5796166124Srafanncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
5797166124Srafan	use=ncsa-m, use=klone+color,
5798166124Srafanncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
5799166124Srafan	hs@,
5800166124Srafan	dsl@, fsl@, tsl@, use=ncsa,
5801166124Srafanncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
5802166124Srafan	hs@,
5803166124Srafan	dsl@, fsl@, tsl@, use=ncsa-m,
580456639Speter# alternate -TD:
580556639Speter# The documented function-key mapping refers to the Apple Extended Keyboard
580656639Speter# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
580756639Speter# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
580856639Speter# some keyboards and many applications require these as F1-F4.
580956639Speter#
5810166124Srafanncsa-vt220|NCSA Telnet using vt220-compatible function keys,
5811166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
5812166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
5813166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
5814166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
5815166124Srafan	kf8=\E[19~, kf9=\E[20~, use=ncsa,
581650276Speter
581750276Speter#### Pilot Pro Palm-Top
581850276Speter#
581966963Speter# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
5820166124Srafan# http://www.ai/~iang/TGssh/
5821166124Srafanpilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
5822166124Srafan	OTbs, am, xenl,
5823166124Srafan	cols#39, lines#16,
5824166124Srafan	bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
5825166124Srafan	cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
5826166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
5827166124Srafan	rmso=\EB, smso=\Eb,
582850276Speter
582997049Speter# From: Federico Bianchi <bianchi@www.arte.unipi.it>
583097049Speter# These entries are for the Embeddable Linux Kernel System (ELKS)
583197049Speter# project - an heavily stripped down Linux to be run on 16 bit
583297049Speter# boxes or, eventually, to be used in embedded systems - and have been
583397049Speter# adapted from the stock ELKS termcap. The project itself looks stalled,
583497049Speter# and the latest improvements I know of date back to March 2000.
583597049Speter#
583697049Speter# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
583797049Speter# as an added bonus, this deals with all the capabilities common to
583897049Speter# both VT52 and ANSI (or, eventually, "special") modes.
583997049Speter
5840166124Srafanelks-glasstty|ELKS glass-TTY capabilities,
5841166124Srafan	OTbs, am,
5842166124Srafan	cols#80, it#8, lines#25,
5843166124Srafan	bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
5844166124Srafan	nel=^M^J,
584597049Speter
5846166124Srafanelks-vt52|ELKS vt52 console,
5847166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
5848166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK,
5849166124Srafan	home=\EH, use=elks-glasstty,
585097049Speter
5851166124Srafanelks-ansi|ELKS ANSI console,
5852166124Srafan	clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
5853166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
5854166124Srafan	rmso=\E[m, smso=\E[7m, use=elks-glasstty,
585597049Speter
585697049Speter# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
585797049Speter# instead of VT52, but the "elks" entry still refers to the latter.
585897049Speter
5859166124Srafanelks|default ELKS console,
5860166124Srafan	use=elks-vt52,
586197049Speter
586297049Speter# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
586397049Speter# one but in screen size
586497049Speter
5865166124Srafansibo|ELKS SIBO console,
5866166124Srafan	cols#61, it#8, lines#20, use=elks-vt52,
586797049Speter
586850276Speter######## COMMERCIAL WORKSTATION CONSOLES
586950276Speter#
587050276Speter
587150276Speter#### Alpha consoles
587250276Speter#
587350276Speter
587450276Speter# This is from the OSF/1 Release 1.0 termcap file
5875166124Srafanpccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
5876166124Srafan	am, xon,
5877166124Srafan	cols#80, lines#25,
5878166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
5879166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
5880166124Srafan	el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
5881166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
5882166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
588350276Speter
588450276Speter#### Sun consoles
588550276Speter#
588650276Speter
588750276Speter# :is1: resets scrolling region in case a previous user had used "tset vt100"
5888166124Srafanoldsun|Sun Microsystems Workstation console,
5889166124Srafan	OTbs, am, km, mir, msgr,
5890166124Srafan	cols#80, it#8, lines#34,
5891166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
5892166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
5893166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
5894166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
5895166124Srafan	is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5896166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
5897166124Srafan	rmso=\E[m, sgr0=\E[m, smso=\E[7m,
589850276Speter# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
589950276Speter# <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
590050276Speter# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
5901166124Srafansun-il|Sun Microsystems console with working insert-line,
5902166124Srafan	am, km, msgr,
5903166124Srafan	cols#80, lines#34,
5904166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
5905166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
5906166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
5907166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
5908166124Srafan	kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
5909166124Srafan	kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
5910166124Srafan	kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
5911166124Srafan	kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
5912166124Srafan	kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
5913262685Sdelphij	kich1=\E[247z, knp=\E[222z, kopt=\E[194z, kpp=\E[216z,
5914262685Sdelphij	kres=\E[193z, kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@,
5915262685Sdelphij	rs2=\E[s, sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m,
5916262685Sdelphij	smso=\E[7m, u8=\E[1t, u9=\E[11t,
591762449Speter# On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
591862449Speter# flake out on the last line.  Unfortunately, without them the terminal has no
591962449Speter# way to scroll.
5920166124Srafansun-cgsix|sun-ss5|Sun SparcStation 5 console,
5921166124Srafan	il@, il1@, use=sun-il,
592250276Speter# If you are using an SS5, change the sun definition to use sun-ss5.
5923166124Srafansun|sun1|sun2|Sun Microsystems Inc. workstation console,
5924166124Srafan	use=sun-il,
592550276Speter
5926262685Sdelphijsun+sl|Sun Workstation window status line,
5927262685Sdelphij	hs,
5928262685Sdelphij	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l,
5929262685Sdelphij
593050276Speter# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
5931166124Srafansun-s|Sun Microsystems Workstation window with status line,
5932166124Srafan	hs,
5933166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
5934166124Srafansun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
5935166124Srafan	hs,
5936166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
5937166124Srafansun-48|Sun 48-line window,
5938166124Srafan	cols#80, lines#48, use=sun,
5939166124Srafansun-34|Sun 34-line window,
5940166124Srafan	cols#80, lines#34, use=sun,
5941166124Srafansun-24|Sun 24-line window,
5942166124Srafan	cols#80, lines#24, use=sun,
5943166124Srafansun-17|Sun 17-line window,
5944166124Srafan	cols#80, lines#17, use=sun,
5945166124Srafansun-12|Sun 12-line window,
5946166124Srafan	cols#80, lines#12, use=sun,
5947166124Srafansun-1|Sun 1-line window for sysline,
5948166124Srafan	eslok, hs,
5949166124Srafan	cols#80, lines#1,
5950166124Srafan	dsl=^L, fsl=\E[K, tsl=^M, use=sun,
5951166124Srafansun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
5952166124Srafan	ich1@, rmir@, smir@, use=sun,
5953166124Srafansun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
5954166124Srafan	lines#35,
5955166124Srafan	rmcup=\E[>4h, smcup=\E[>4l, use=sun,
5956166124Srafansun-type4|Sun Workstation console with type 4 keyboard,
5957166124Srafan	kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z,
5958166124Srafan	kcuu1=\E[215z, use=sun-il,
595950276Speter
5960166124Srafan# Most of the current references to sun-color are from users wondering why this
5961166124Srafan# is the default on install.  Details from reading the wscons manpage, adding
5962166124Srafan# cub, etc., here (rather than in the base sun-il entry) since it is not clear
5963262629Sdelphij# when those were added -TD (2005-05-28)
5964262629Sdelphij#
5965262629Sdelphij# According to wscons manpage, color is supported only on IA systems.
5966262629Sdelphij# Sun's terminfo entry documents bold and smul/rmul capabilities, but wscons
5967262629Sdelphij# does not list these.  It also sets ncv#3, however that corresponds to
5968262629Sdelphij# underline and standout.
5969262629Sdelphij#
5970262629Sdelphij# Since the documentation and terminfo do not agree, see also current code at
5971262629Sdelphij# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/tem_safe.c
5972262629Sdelphij#
5973262629Sdelphij# That (actually a different driver which "supports" sun-color) also supports
5974262629Sdelphij# these features:
5975262629Sdelphij#	vpa=\E[%i%p1%dd
5976262629Sdelphij#	hpa=\E[%i%p1%d`
5977262629Sdelphij#	cbt=\E[Z
5978262629Sdelphij#	dim=\E[2m
5979262629Sdelphij#	blink=\E[5m
5980262629Sdelphij# It supports bold, but not underline -TD (2009-09-19)
5981166124Srafansun-color|Sun Microsystems Workstation console with color support (IA systems),
5982262629Sdelphij	colors#8, ncv#3, pairs#64,
5983262685Sdelphij	bold=\E[1m, cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
5984262685Sdelphij	cuu=\E[%p1%dA, home=\E[H, op=\E[0m, rs2=\E[s,
5985262685Sdelphij	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5986166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
5987166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
5988262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p1%p3%|%t;7%;m, sgr0=\E[m,
5989262685Sdelphij	smso=\E[7m, use=sun,
5990166124Srafan
599150276Speter#### Iris consoles
599250276Speter#
599350276Speter
599450276Speter# (wsiris: this had extension capabilities
599550276Speter#	:HS=\E7F2:HE=\E7F7:\
599650276Speter#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
5997166124Srafan# See the note on Iris extensions near the end of this file.
5998166124Srafan# Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
599950276Speter# <flash> from BRL -- esr)
6000166124Srafanwsiris|iris40|iris emulating a 40 line visual 50 (approximately),
6001166124Srafan	OTbs, OTnc, OTpt, am,
6002166124Srafan	OTkn#3, cols#80, it#8, lines#40,
6003166124Srafan	OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
6004166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
6005166124Srafan	cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
6006166124Srafan	flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
6007166124Srafan	ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
6008166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
6009166124Srafan	kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
6010166124Srafan	rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
6011166124Srafan	smul=\E7R2\E9P,
601250276Speter
601350276Speter#### NeWS consoles
601450276Speter#
601550276Speter# Console terminal windows under the NeWS (Sun's Display Postscript windowing
601650276Speter# environment).   Note: these have nothing to do with Sony's News workstation
601750276Speter# line.
601850276Speter#
601950276Speter
602050276Speter# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
602150276Speter# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
6022166124Srafanpsterm|psterm-basic|NeWS psterm-80x34,
6023166124Srafan	OTbs, am, hs, km, ul,
6024166124Srafan	cols#80, it#8, lines#34,
6025166124Srafan	blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
6026166124Srafan	cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
6027166124Srafan	dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
6028166124Srafan	home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
6029166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
6030166124Srafan	ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
6031166124Srafan	sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
6032166124Srafan	tsl=\EOl,
6033166124Srafanpsterm-96x48|NeWS psterm 96x48,
6034166124Srafan	cols#96, lines#48, use=psterm,
6035166124Srafanpsterm-90x28|NeWS psterm 90x28,
6036166124Srafan	cols#90, lines#28, use=psterm,
6037166124Srafanpsterm-80x24|NeWS psterm 80x24,
6038166124Srafan	cols#80, lines#24, use=psterm,
603950276Speter# This is a faster termcap for psterm.  Warning:  if you use this termcap,
604050276Speter# some control characters you type will do strange things to the screen.
604150276Speter# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
6042166124Srafanpsterm-fast|NeWS psterm fast version (flaky ctrl chars),
6043166124Srafan	OTbs, am, hs, km, ul,
6044166124Srafan	cols#80, it#8, lines#34,
6045166124Srafan	blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
6046166124Srafan	cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
6047166124Srafan	dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
6048166124Srafan	il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
6049166124Srafan	kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
6050166124Srafan	rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
6051166124Srafan	smso=^Oo, smul=^Ou, tsl=^Ol,
605250276Speter
605350276Speter#### NeXT consoles
605450276Speter#
605550276Speter# Use `glasstty' for the Workspace application
605650276Speter#
605750276Speter
605850276Speter# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
6059166124Srafannext|NeXT console,
6060166124Srafan	am, xt,
6061166124Srafan	cols#80, it#8, lines#24,
6062166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
6063166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
6064166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
6065166124Srafan	rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
6066166124Srafannextshell|NeXT Shell application,
6067166124Srafan	am,
6068166124Srafan	cols#80,
6069166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
6070166124Srafan	kcud1=^J, nel=^M^J,
607150276Speter
607250276Speter#### Sony NEWS workstations
607350276Speter#
607450276Speter
607550276Speter# (news-unk: this had :KB=news: -- esr)
6076166124Srafannews-unk|SONY NEWS vt100 emulator common entry,
6077166124Srafan	OTbs, OTpt, am, xenl,
6078166124Srafan	cols#80,
6079166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
6080166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
6081166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
6082166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I,
6083166124Srafan	if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
6084262685Sdelphij	is2=\E[?7h\E[?1h\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
6085166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
6086166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
6087166124Srafan	kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
6088166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
6089166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
6090166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
609150276Speter#
609250276Speter# (news-29: this had :TY=ascii: --esr)
6093166124Srafannews-29,
6094166124Srafan	lines#29, use=news-unk,
609550276Speter# (news-29-euc: this had :TY=euc: --esr)
6096166124Srafannews-29-euc,
6097166124Srafan	use=news-29,
609850276Speter# (news-29-sjis: this had :TY=sjis: --esr)
6099166124Srafannews-29-sjis,
6100166124Srafan	use=news-29,
610150276Speter#
610250276Speter# (news-33: this had :TY=ascii: --esr)
6103166124Srafannews-33,
6104166124Srafan	lines#33, use=news-unk,
610550276Speter# (news-33-euc: this had :TY=euc: --esr)
6106166124Srafannews-33-euc,
6107166124Srafan	use=news-33,
610850276Speter# (news-33-sjis: this had :TY=sjis: --esr)
6109166124Srafannews-33-sjis,
6110166124Srafan	use=news-33,
611150276Speter#
611250276Speter# (news-42: this had :TY=ascii: --esr)
6113166124Srafannews-42,
6114166124Srafan	lines#42, use=news-unk,
611550276Speter# (news-42-euc: this had :TY=euc: --esr)
6116166124Srafannews-42-euc,
6117166124Srafan	use=news-42,
611850276Speter# (news-42-sjis: this had :TY=sjis: --esr)
6119166124Srafannews-42-sjis,
6120166124Srafan	use=news-42,
612150276Speter#
6122166124Srafan#	NEWS-OS old termcap entry
612350276Speter#
612450276Speter# (news-old-unk: this had :KB=news:TY=sjis: --esr)
6125166124Srafannews-old-unk|SONY NEWS vt100 emulator common entry,
6126166124Srafan	OTbs, OTpt, am, xenl,
6127166124Srafan	cols#80, vt#3,
6128166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
6129166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
6130166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
6131166124Srafan	home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H,
6132262685Sdelphij	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
6133166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
6134166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
6135166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
6136166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
613750276Speter#
613850276Speter# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
6139166124Srafannwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
6140166124Srafan	OTbs,
6141166124Srafan	lines#40,
6142166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
6143166124Srafan	use=news-old-unk,
614450276Speter#
614550276Speter# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
6146166124Srafannwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
6147166124Srafan	lines#42,
6148166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8,
6149166124Srafan	use=news-old-unk,
615050276Speter#
615150276Speter# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
6152166124Srafannwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
6153166124Srafan	OTbs,
6154166124Srafan	lines#40,
6155166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
6156166124Srafan	use=news-old-unk,
615750276Speter#
615850276Speter# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
6159166124Srafannwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
6160166124Srafan	OTbs,
6161166124Srafan	lines#31,
6162166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
6163166124Srafan	use=news-old-unk,
616450276Speter#
616550276Speter# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
616650276Speter# also the alias vt100-bm.
6167166124Srafannwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines,
6168166124Srafan	OTbs,
6169166124Srafan	lines#33,
6170166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8,
6171166124Srafan	use=news-old-unk,
617250276Speter#
617350276Speter# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
6174166124Srafannwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
6175166124Srafan	OTbs,
6176166124Srafan	lines#31,
6177166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
6178166124Srafan	use=news-old-unk,
617950276Speter#
618050276Speter# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
6181166124Srafannews28|sony vt100 emulator 28 lines,
6182166124Srafan	OTbs,
6183166124Srafan	lines#28,
6184166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8,
6185166124Srafan	use=news-old-unk,
618650276Speter#
618750276Speter# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
6188166124Srafannews29|news28-a|sony vt100 emulator 29 lines,
6189166124Srafan	lines#29,
6190166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8,
6191166124Srafan	use=news-old-unk,
619250276Speter#
619350276Speter# (news511: this had :TY=sjis: --esr)
6194166124Srafannwp511|nwp-511|nwp-511 vt100,
6195166124Srafan	OTbs, OTpt, am, xenl,
6196166124Srafan	cols#80, lines#24,
6197262629Sdelphij	clear=\E[;H\E[2J$<20/>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
6198166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
6199166124Srafan	ed=\E[J$<30/>, el=\E[K$<3/>,
6200166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
6201166124Srafan	il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
6202166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
6203166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
6204166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
6205166124Srafan	rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
6206166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
620750276Speter# (news517: this had :TY=sjis:. --esr)
6208166124Srafannwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
6209166124Srafan	eslok, hs,
6210166124Srafan	cols#80, lines#30,
6211166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
6212166124Srafan	is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
6213166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
621450276Speter# (news517-w: this had :TY=sjis:. --esr)
6215166124Srafannwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
6216166124Srafan	eslok, hs,
6217166124Srafan	cols#132, lines#50,
6218166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
6219166124Srafan	is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
6220166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
6221166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
622250276Speter
622350276Speter#### Common Desktop Environment
622450276Speter#
622550276Speter
622650276Speter# This ships with Sun's CDE in Solaris 2.5
622750276Speter# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
6228166124Srafandtterm|CDE desktop terminal,
6229166124Srafan	am, mir, msgr, xenl, xon,
6230166124Srafan	cols#80, it#8, lines#24, lm#0, ncv@,
6231166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
6232166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
6233166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
6234166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
6235166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
6236166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
6237166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
6238166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
6239166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
6240166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
6241166124Srafan	ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
6242166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
6243166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
6244166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
6245166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
6246166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
6247166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
6248166124Srafan	kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
6249166124Srafan	kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
6250166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m,
6251166124Srafan	sc=\E7,
6252166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
6253166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
6254166124Srafan	smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color,
625550276Speter
6256262685Sdelphij######## Non-Unix Consoles
625750276Speter#
625850276Speter
6259262685Sdelphij#### EMX termcap.dat compatibility modes
6260166124Srafan#
6261166124Srafan# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
6262166124Srafan# no_color_video to inform the application that standout(1), underline(2)
6263166124Srafan# reverse(4) and invisible(64) don't work with color.
6264166124Srafanemx-base|DOS special keys,
6265166124Srafan	bce, bw,
6266166124Srafan	it#8, ncv#71,
6267262629Sdelphij	bel=^G, use=ansi.sys,
6268166124Srafan
626950276Speter# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
627050276Speter# a Unix-style environment used on OS/2.  (Note that the suffix makes some
627150276Speter# names longer than 14 characters, the nominal maximum).
627250276Speter#
627350276Speter# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
6274166124Srafanansi-emx|ANSI.SYS color,
6275166124Srafan	am, bce, eo, mir, msgr, xon,
6276166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
6277166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
6278166124Srafan	clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
6279166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
6280166124Srafan	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
6281166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
6282166124Srafan	kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
6283166124Srafan	rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
6284166124Srafan	rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
6285166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
6286166124Srafan	sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
6287166124Srafan	smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
6288166124Srafan	u9=\E[c, use=emx-base,
6289166124Srafan# nice colors for Emacs (white on blue, mode line white on cyan)
6290166124Srafanansi-color-2-emx|ANSI.SYS color 2,
6291166124Srafan	clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
6292166124Srafan	rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec,
6293166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m,
6294166124Srafan	smul=\E[1;36;44m, use=ansi-emx,
6295166124Srafan# nice colors for Emacs (white on black, mode line black on cyan)
6296166124Srafanansi-color-3-emx|ANSI.SYS color 3,
6297166124Srafan	clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m,
6298166124Srafan	rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec,
6299166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m,
6300166124Srafan	smul=\E[0;36;40m, use=ansi-emx,
6301166124Srafanmono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
6302166124Srafan	am,
6303166124Srafan	cols#80, it#8, lines#24,
6304166124Srafan	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
6305166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
6306166124Srafan	ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
6307166124Srafan	kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
6308166124Srafan	kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
6309166124Srafan	kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
6310166124Srafan	sgr0=\E[0m,
631150276Speter
6312262685Sdelphij#### Cygwin
6313262685Sdelphij
631456639Speter# Use this for cygwin32 (tested with beta 19.1)
631556639Speter# underline is colored bright magenta
631656639Speter# shifted kf1-kf12 are kf11-kf22
6317166124SrafancygwinB19|ansi emulation for cygwin32,
6318166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
6319166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
6320166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
6321166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
6322166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
6323166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
6324166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
6325166124Srafan	use=ansi.sys,
632656639Speter
632776726Speter# Use this for cygwin (tested with version 1.1.0).
632876726Speter# I've combined pcansi and linux.  Some values of course were different and
632976726Speter# I've indicated which of these were and which I used.
633076726Speter# Cheers, earnie_boyd@yahoo.com
633176726Speter# several changes based on running with tack and comparing with older entry -TD
6332166124Srafan# more changes from csw:
6333166124Srafan#   add    cbt   [backtab]
6334166124Srafan#   remove eo    [erase overstrike with blank]
6335166124Srafan#   change clear was \E[H\E[J  now \E[2J  (faster?)
6336166124Srafan#   remove cols
6337166124Srafan#   remove lines
6338166124Srafan#   remove ncv#3 [colors collide with highlights, bitmask] not applicable
6339166124Srafan#                to MSDOS box?
6340166124Srafan#   add    cub   [cursor back param]
6341166124Srafan#   add    cuf   [cursor forward param]
6342166124Srafan#   add    cuu   [cursor up param]
6343166124Srafan#   add    cud   [cursor down param]
6344166124Srafan#   add    hs    [has status line]
6345166124Srafan#   add    fsl   [return from status line]
6346166124Srafan#   add    tsl   [go to status line]
6347166124Srafan#   add    smacs [Start alt charset] (not sure if this works)
6348166124Srafan#   add    rmacs [End alt charset]   (ditto)
6349166124Srafan#   add    smcup [enter_ca_mode] (save console; thanks Corinna)
6350166124Srafan#   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
6351166124Srafan#   add    kb2   [center of keypad]
6352166124Srafan#   add    u8    [user string 8] \E[?6c
6353166124Srafan#   add    el    [clear to end of line] \E[K
6354166124Srafan# Notes:
6355166124Srafan#   cnorm [make cursor normal] not implemented
6356166124Srafan#   flash [flash] not implemented
6357166124Srafan#   blink [blink] not implemented very usefully in cygwin? \E[5m
6358166124Srafan#   dim   [dim] not implemented very usefully in cygwin? \E[2m
6359166124Srafan#   cub1  [cursor back 1] typically \E[D, but ^H is faster?
6360166124Srafan#   kNXT  [shifted next key] not implemented
6361166124Srafan#   kPRV  [shifted prev key] not implemented
6362166124Srafan#   khome [home key] really is \E[1~ NOT \E[H
6363166124Srafan#   tbc   [clear tab stops] not implemented
6364166124Srafan#   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
6365166124Srafan#   smpch [Start PC charset] is \E[11m, same as smacs
6366166124Srafan#   rmpch [End PC charset] is \E[10m, same as rmacs
6367166124Srafan#   mir   [move in insert mode] fails in tack?
6368166124Srafan#   bce   [back color erase] causes problems with change background color?
6369166124Srafan#   cvvis [make cursor very visible] causes a stackdump when testing with
6370166124Srafan#         testcurs using the output option? \E[?25h\E[?8c
6371166124Srafan#   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
6372166124Srafan#   ech   [erase characters param] broken \E[%p1%dX
6373166124Srafan#   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
6374166124Srafan#
6375166124Srafan# 2005/11/12 -TD
6376166124Srafan#	Remove cbt since it does not work in current cygwin
6377166124Srafan#	Add 'mir' and 'in' flags based on tack
6378166124Srafancygwin|ansi emulation for Cygwin,
6379166124Srafan	am, hs, mir, msgr, xon,
6380166124Srafan	colors#8, it#8, pairs#64,
6381166124Srafan	acsc=+\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,
6382166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD,
6383166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
6384166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
6385166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
6386166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, home=\E[H,
6387166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
6388166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
6389166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
6390166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
6391166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
6392166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
6393166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
6394166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
6395166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
6396166124Srafan	nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
6397166124Srafan	rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
6398166124Srafan	rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
6399166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
6400262685Sdelphij	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
6401166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h,
6402166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
6403166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq,
640476726Speter
6405166124Srafan# I've supplied this so that you can help test new values and add other
6406166124Srafan# features.  Cheers, earnie_boyd@yahoo.com.
6407166124Srafan#
6408166124Srafan# Some features are from pcansi.  The op value is from linux.  Function-keys
6409166124Srafan# are from linux.  These have been tested not to cause problems.  xenl was in
6410166124Srafan# this list, but DOES cause problems so it has been removed
6411166124SrafancygwinDBG|Debug Version for Cygwin,
6412166124Srafan	am, eo, mir, msgr, xon,
6413166124Srafan	colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
6414166124Srafan	acsc=+\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,
6415166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
6416166124Srafan	cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
6417166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
6418166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
6419166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
6420166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
6421166124Srafan	flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
6422166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
6423166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
6424166124Srafan	kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
6425166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
6426166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
6427166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
6428166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
6429166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
6430166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
6431166124Srafan	knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
6432166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
6433166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
6434166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
6435262685Sdelphij	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
6436166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
6437262629Sdelphij	smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt102+enq,
6438166124Srafan
6439262685Sdelphij#### DJGPP
6440262685Sdelphij
6441166124Srafan# Key definitions:
6442166124Srafan# The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
6443166124Srafan# encodings used by other x86 environments.  All others are invented for DJGPP.
6444166124Srafan# Oddly enough, while several combinations of modifiers are tabulated, there is
6445166124Srafan# none for shifted cursor keys.
6446166124Srafan#
6447166124Srafan#	F1			\E[[A
6448166124Srafan#	F2			\E[[B
6449166124Srafan#	F3			\E[[C
6450166124Srafan#	F4			\E[[D
6451166124Srafan#	F5			\E[[E
6452166124Srafan#	F6			\E[17~
6453166124Srafan#	F7			\E[18~
6454166124Srafan#	F8			\E[19~
6455166124Srafan#	F9			\E[20~
6456166124Srafan#	F10			\E[21~
6457166124Srafan#	F11			\E[23~
6458166124Srafan#	F12			\E[24~
6459166124Srafan#
6460166124Srafan#	Delete			\E[3~
6461166124Srafan#	Down Arrow		\E[B
6462166124Srafan#	End			\E[4~
6463166124Srafan#	Home			\E[1~
6464166124Srafan#	Insert			\E[2~
6465166124Srafan#	Left Arrow		\E[D
6466166124Srafan#	Page Down		\E[6~
6467166124Srafan#	Page Up			\E[5~
6468166124Srafan#	Right Arrow		\E[C
6469166124Srafan#	Up Arrow		\E[A
6470166124Srafan#
6471166124Srafan#	Shift-F1		\E[25~
6472166124Srafan#	Shift-F2		\E[26~
6473166124Srafan#	Shift-F3		\E[27~
6474166124Srafan#	Shift-F4		\E[28~
6475166124Srafan#	Shift-F5		\E[29~
6476166124Srafan#	Shift-F6		\E[30~
6477166124Srafan#	Shift-F7		\E[31~
6478166124Srafan#	Shift-F8		\E[32~
6479166124Srafan#	Shift-F9		\E[33~
6480166124Srafan#	Shift-F10		\E[34~
6481166124Srafan#	Shift-F11		\E[35~
6482166124Srafan#	Shift-F12		\E[36~
6483166124Srafan#
6484166124Srafan#	Ctrl-F1			\E[47~
6485166124Srafan#	Ctrl-F2			\E[48~
6486166124Srafan#	Ctrl-F3			\E[49~
6487166124Srafan#	Ctrl-F4			\E[50~
6488166124Srafan#	Ctrl-F5			\E[51~
6489166124Srafan#	Ctrl-F6			\E[52~
6490166124Srafan#	Ctrl-F7			\E[53~
6491166124Srafan#	Ctrl-F8			\E[54~
6492166124Srafan#	Ctrl-F9			\E[55~
6493166124Srafan#	Ctrl-F10		\E[56~
6494166124Srafan#	Ctrl-F11		\E[57~
6495166124Srafan#	Ctrl-F12		\E[58~
6496166124Srafan#
6497166124Srafan#	Ctrl-Delete		\E[43~
6498166124Srafan#	Ctrl-Down Arrow		\E[38~
6499166124Srafan#	Ctrl-End		\E[44~
6500166124Srafan#	Ctrl-Home		\E[41~
6501166124Srafan#	Ctrl-Insert		\E[42~
6502166124Srafan#	Ctrl-Left Arrow		\E[39~
6503166124Srafan#	Ctrl-Page Down		\E[46~
6504166124Srafan#	Ctrl-Page Up		\E[45~
6505166124Srafan#	Ctrl-Right Arrow	\E[40~
6506166124Srafan#	Ctrl-Up Arrow		\E[37~
6507166124Srafan#
6508166124Srafan#	Alt-F1			\E[59~
6509166124Srafan#	Alt-F2			\E[60~
6510166124Srafan#	Alt-F3			\E[61~
6511166124Srafan#	Alt-F4			\E[62~
6512166124Srafan#	Alt-F5			\E[63~
6513166124Srafan#	Alt-F6			\E[64~
6514166124Srafan#	Alt-F7			\E[65~
6515166124Srafan#	Alt-F8			\E[66~
6516166124Srafan#	Alt-F9			\E[67~
6517166124Srafan#	Alt-F10			\E[68~
6518166124Srafan#	Alt-F11			\E[79~
6519166124Srafan#	Alt-F12			\E[80~
6520166124Srafan#
6521166124Srafan#	Alt-Delete		\E[65~
6522166124Srafan#	Alt-Down Arrow		\E[60~
6523166124Srafan#	Alt-End			\E[66~
6524166124Srafan#	Alt-Home		\E[41~
6525166124Srafan#	Alt-Insert		\E[64~
6526166124Srafan#	Alt-Left Arrow		\E[61~
6527166124Srafan#	Alt-Page Down		\E[68~
6528166124Srafan#	Alt-Page Up		\E[67~
6529166124Srafan#	Alt-Right Arrow		\E[62~
6530166124Srafan#	Alt-Up Arrow		\E[59~
6531166124Srafan#
6532166124Srafan# Also:
6533166124Srafan#	Alt-A			\E[82~
6534166124Srafan#	Alt-B			\E[82~
6535166124Srafan#	Alt-C			\E[83~
6536166124Srafan#	Alt-D			\E[84~
6537166124Srafan#	Alt-E			\E[85~
6538166124Srafan#	Alt-F			\E[86~
6539166124Srafan#	Alt-G			\E[87~
6540166124Srafan#	Alt-H			\E[88~
6541166124Srafan#	Alt-I			\E[89~
6542166124Srafan#	Alt-J			\E[90~
6543166124Srafan#	Alt-K			\E[91~
6544166124Srafan#	Alt-L			\E[92~
6545166124Srafan#	Alt-M			\E[93~
6546166124Srafan#	Alt-N			\E[94~
6547166124Srafan#	Alt-O			\E[95~
6548166124Srafan#	Alt-P			\E[96~
6549166124Srafan#	Alt-Q			\E[97~
6550166124Srafan#	Alt-R			\E[98~
6551166124Srafan#	Alt-S			\E[99~
6552166124Srafan#	Alt-T			\E[100~
6553166124Srafan#	Alt-U			\E[101~
6554166124Srafan#	Alt-V			\E[102~
6555166124Srafan#	Alt-W			\E[103~
6556166124Srafan#	Alt-X			\E[104~
6557166124Srafan#	Alt-Y			\E[105~
6558166124Srafan#	Alt-Z			\E[106~
6559166124Srafandjgpp|ansi emulation for DJGPP alpha,
6560166124Srafan	am, bce, msgr, xhp, xon, xt,
6561166124Srafan	colors#8, it#8, pairs#64,
6562166124Srafan	acsc=+\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,
6563166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
6564166124Srafan	clear=\E[H\E[J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, cub1=^H,
6565166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
6566166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
6567166124Srafan	cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
6568166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
6569166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
6570166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
6571166124Srafan	indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D,
6572166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
6573166124Srafan	kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
6574166124Srafan	kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
6575166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
6576166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J,
6577166124Srafan	op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m,
6578166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
6579166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m,
6580166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
6581166124Srafan
6582166124Srafandjgpp203|Entry for DJGPP 2.03,
6583166124Srafan	OTbs, am,
6584166124Srafan	cols#80, it#8, lines#25,
6585166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
6586166124Srafan	kcud1=^J, nel=^M^J,
6587166124Srafan
6588166124Srafandjgpp204|Entry for DJGPP 2.04,
6589166124Srafan	OTbs, am, AX,
6590166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,
6591166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
6592166124Srafan	clear=\E[H\E[2J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD,
6593166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
6594166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
6595166124Srafan	cuu1=\E[A, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P,
6596166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
6597166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
6598166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H,
6599166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
6600166124Srafan	kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, kf2=\E[[B,
6601166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
6602166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
6603166124Srafan	kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m,
6604166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm,
6605166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6606166124Srafan
6607262685Sdelphij#### U/Win
6608262685Sdelphij
6609166124Srafan# This is tested using U/Win's telnet.  Scrolling is omitted because it is
6610166124Srafan# buggy.  Another odd bug appears when displaying "~" in alternate character
6611166124Srafan# set (the emulator spits out error messages).  Compare with att6386 -TD
6612166124Srafanuwin|U/Win 3.2 console,
6613166124Srafan	am, eo, in, msgr, xenl, xon,
6614166124Srafan	colors#8, it#8, ncv#58, pairs#64,
6615166124Srafan	acsc=+\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,
6616166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
6617166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J,
6618166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
6619166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
6620166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
6621166124Srafan	ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B,
6622166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[Y, kf1=\EOP,
6623166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR,
6624166124Srafan	kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX,
6625166124Srafan	khome=\E[H, kich1=\E[@, nel=^M^J, op=\E[39;49m, rc=\E8,
6626166124Srafan	rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m,
6627166124Srafan	rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
6628166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
6629166124Srafan	smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,
6630166124Srafan	smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
6631166124Srafan
6632262685Sdelphij#### Microsoft (miscellaneous)
6633262685Sdelphij
663450276Speter# This entry fits the Windows NT console when the _POSIX_TERM environment
663550276Speter# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
663650276Speter# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
663750276Speter# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
663850276Speter# systems is not, and (surprise!) they match very well.
663950276Speter#
664050276Speter# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
664150276Speter# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
664250276Speter# are the installation instructions a pile of mind-numbing bureaucratese,
664350276Speter# but the termcap entry is actually broken and unusable as given; the :do:
664450276Speter# capability is misspelled "d".
664550276Speter#
6646166124Srafan# To use this, you need to a bunch of environment variables:
664750276Speter#
664850276Speter# SET _POSIX_TERM=on
664950276Speter# SET TERM=ansi
665050276Speter# SET TERMCAP=location of termcap file in POSIX file format
665150276Speter# which is case-sensitive.
665250276Speter# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
665350276Speter# SET TMP=//C/TEMP
665450276Speter#
665550276Speter# Important note: setting the TMP environment variable in POSIX style renders
665650276Speter# it incompatible with a lot of other applications, including Visual C++. So
665750276Speter# you should have a separate command window just for vi. All the other
6658166124Srafan# variables may be permanently set in the Control Panel\System applet.
665950276Speter#
666050276Speter# You can find out more about the restrictions of this facility at
666150276Speter# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
666250276Speter#
666350276Speter# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
6664166124Srafanansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
6665166124Srafan	am, bw, msgr,
6666166124Srafan	cols#80, it#8, lines#25,
6667166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
6668166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
6669166124Srafan	home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
6670166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
6671166124Srafan	ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
667262449Speter# From: jew@venus.sunquest.com
667362449Speter# Date: 19 Feb 93 23:41:07 GMT
667462449Speter# Here's  a  combination of  ansi and  vt100 termcap
667562449Speter# entries   that  works  nearly   perfectly  for  me
667662449Speter# (Gateway 2000 Handbook and Microsoft Works 3.0):
6677166124Srafanpcmw|PC running Microsoft Works,
6678166124Srafan	am, xenl,
6679166124Srafan	cols#80, it#8, lines#24, vt#3,
6680166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
6681166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
6682166124Srafan	cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
6683166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
6684166124Srafan	ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
6685166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
6686166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
6687262685Sdelphij	rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/tabset/vt100,
6688166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
6689166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
6690166124Srafan	sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
6691166124Srafan	tbc=\E[3g$<2/>,
669250276Speter
6693166124Srafan# From: Federico Bianchi
6694166124Srafan# This is the entry for the OpenNT terminal.
6695166124Srafan# The ntconsole name is for backward compatability.
6696166124Srafan# This is for OpenNT 2.0 and later.
6697166124Srafan# Later OpenNT was renamed to Interix.
6698166124Srafan#
6699166124Srafan# Presently it is distributed by Microsoft as Services For Unix (SFU).
6700166124Srafan# The 3.5 beta contains ncurses 4.2 (that is header files and executables,
6701166124Srafan# the documentation dates from 1.9.9e) -TD
6702166124Srafan
6703166124Srafaninterix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
6704166124Srafan	am, bw, msgr,
6705166124Srafan	colors#8, cols#80, lines#25, ncv#3, pairs#64,
6706262629Sdelphij	acsc=+\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,
6707166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD,
6708166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
6709166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
6710166124Srafan	cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
6711166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
6712166124Srafan	indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
6713166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA,
6714166124Srafan	kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD,
6715166124Srafan	kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI,
6716166124Srafan	kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM,
6717166124Srafan	kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR,
6718166124Srafan	kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV,
6719166124Srafan	kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa,
6720166124Srafan	kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe,
6721166124Srafan	kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj,
6722166124Srafan	kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5,
6723166124Srafan	kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt,
6724166124Srafan	kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy,
6725166124Srafan	kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-,
6726166124Srafan	kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9,
6727166124Srafan	kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J,
6728166124Srafan	op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
6729166124Srafan	rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec,
6730166124Srafan	sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
6731166124Srafan	setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm,
6732262629Sdelphij	sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[7m, smul=\E[4m,
6733166124Srafan
6734166124Srafanopennt-35|ntconsole-35|OpenNT-term35 compatible with color,
6735166124Srafan	lines#35, use=opennt,
6736166124Srafan
6737166124Srafanopennt-50|ntconsole-50|OpenNT-term50 compatible with color,
6738166124Srafan	lines#50, use=opennt,
6739166124Srafan
6740166124Srafanopennt-60|ntconsole-60|OpenNT-term60 compatible with color,
6741166124Srafan	lines#60, use=opennt,
6742166124Srafan
6743166124Srafanopennt-100|ntconsole-100|OpenNT-term100 compatible with color,
6744166124Srafan	lines#100, use=opennt,
6745166124Srafan
6746166124Srafan# OpenNT wide terminals
6747166124Srafanopennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color,
6748166124Srafan	cols#125, use=opennt,
6749166124Srafan
6750166124Srafanopennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color,
6751166124Srafan	lines#35, use=opennt-w,
6752166124Srafan
6753166124Srafanopennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color,
6754166124Srafan	lines#50, use=opennt-w,
6755166124Srafan
6756166124Srafanopennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color,
6757166124Srafan	lines#60, use=opennt-w,
6758166124Srafan
6759166124Srafanopennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color,
6760166124Srafan	cols#132, use=opennt,
6761166124Srafan
6762166124Srafan# OpenNT terminals with no smcup/rmcup (names match termcap entries)
6763166124Srafaninterix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color,
6764166124Srafan	rmcup@, smcup@, use=opennt,
6765166124Srafan
6766166124Srafanopennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color,
6767166124Srafan	lines#35, use=opennt-nti,
6768166124Srafan
6769166124Srafanopennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color,
6770166124Srafan	lines#50, use=opennt-nti,
6771166124Srafan
6772166124Srafanopennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color,
6773166124Srafan	lines#60, use=opennt-nti,
6774166124Srafan
6775166124Srafanopennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color,
6776166124Srafan	lines#100, use=opennt-nti,
6777166124Srafan
677850276Speter######## COMMON TERMINAL TYPES
677950276Speter#
678050276Speter# This section describes terminal classes and maker brands that are still
678150276Speter# quite common, but have proprietary command sets not blessed by ANSI.
678250276Speter#
678350276Speter
678450276Speter#### Altos
678550276Speter#
678650276Speter# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
678750276Speter# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
678850276Speter# Acer has a web site at http://www.acer.com.
678950276Speter#
679050276Speter# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
679150276Speter# His comments suggest they were shipped with the system.
679250276Speter#
679350276Speter
679450276Speter# (altos2: had extension capabilities
679550276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
679650276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
679750276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
679850276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
679950276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
680050276Speter#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
680150276Speter#	:HL=^AP\r:SP=\E[i:\
680250276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
680350276Speter#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
680450276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
680550276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
680650276Speter# :sr: was given as a boolean-- esr)
6807166124Srafanaltos2|alt2|altos-2|altos II,
6808166124Srafan	cols#80, it#8, lines#24, xmc#0,
6809166124Srafan	clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
6810166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M,
6811166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
6812166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
6813166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
6814166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
6815166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
6816166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
6817166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
6818166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
6819166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
6820166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
6821166124Srafan	nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
6822166124Srafan	smam=\E[?7h, smso=\E[7m, smul=\E[4m,
682350276Speter# (altos3: had extension capabilities
682450276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
682550276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
682650276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
682750276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
682850276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
682950276Speter#	:HL=^AP\r:SP=\E[i:\
6830262685Sdelphij#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:
6831166124Srafanaltos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
6832166124Srafan	blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
6833166124Srafanaltos4|alt4|altos-4|altos IV,
6834166124Srafan	use=wy50,
683550276Speter# (altos7: had extension capabilities:
683650276Speter#	:GG#0:GI=\EH8:GF=\EH7:\
683750276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
683850276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
683950276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
684050276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
684150276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
684250276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
684350276Speter# also made this entry relative to adm12 in order to give it an <sgr>. The
684450276Speter# <invis> imported by use=adm+sgr may work, let me know. -- esr)
6845166124Srafanaltos7|alt7|altos VII,
6846166124Srafan	am, mir,
6847166124Srafan	cols#80, lines#24, xmc#0,
6848166124Srafan	acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
6849166124Srafan	clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6850166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6851166124Srafan	dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
6852166124Srafan	ind=^J, invis=\EG1,
6853166124Srafan	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
6854166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
6855166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
6856166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
6857166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
6858166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
6859166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
6860166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
6861166124Srafan	knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
6862166124Srafan	rmir=\Er, smir=\Eq, use=adm+sgr,
6863166124Srafanaltos7pc|alt7pc|altos PC VII,
6864166124Srafan	kend=\ET, use=altos7,
686550276Speter
686650276Speter#### Hewlett-Packard (hp)
686750276Speter#
686850276Speter#	Hewlett-Packard
6869166124Srafan#	8000 Foothills Blvd
687050276Speter#	Roseville, CA 95747
687150276Speter#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
687250276Speter#	     1-(800)-633-3600	(General customer support)
687350276Speter#
687462449Speter#
687562449Speter# As of March 1998, HP no longer has any terminals in production.
6876166124Srafan# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
687762449Speter# supported (they still have parts). So are the 2392a and 2394a.
687862449Speter# See the WORKSTATION CONSOLES section for the 700s.
687962449Speter#
688050276Speter
688150276Speter# Generic HP terminal - this should (hopefully) work on any HP terminal.
6882166124Srafanhpgeneric|hp|hewlett-packard generic terminal,
6883166124Srafan	OTbs, OTpt, am, da, db, mir, xhp,
6884166124Srafan	cols#80, lines#24, lm#0, vt#6,
6885166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
6886166124Srafan	cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
6887166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
6888166124Srafan	ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
6889166124Srafan	sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
6890166124Srafan	vpa=\E&a%p1%dY,
689150276Speter
6892166124Srafanhp110|hewlett-packard model 110 portable,
6893166124Srafan	lines#16, use=hpgeneric,
689450276Speter
6895166124Srafanhp+pfk+cr|hp function keys with CR,
6896166124Srafan	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
6897166124Srafan	kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
689850276Speter
6899166124Srafanhp+pfk-cr|hp function keys w/o CR,
6900166124Srafan	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
6901166124Srafan	kf8=\Ew,
690250276Speter
6903166124Srafan# The hp2621s use the same keys for the arrows and function keys,
6904166124Srafan# but not separate escape sequences. These definitions allow the
6905166124Srafan# user to use those keys as arrow keys rather than as function
690650276Speter# keys.
6907166124Srafanhp+pfk+arrows|hp alternate arrow definitions,
6908166124Srafan	kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
6909166124Srafan	kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
6910166124Srafan	kll=\Eq\r, kri=\Es\r,
691150276Speter
6912166124Srafanhp+arrows|hp arrow definitions,
6913166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
6914166124Srafan	kind=\ES, kll=\EF, kri=\ET,
691550276Speter
691650276Speter# Generic stuff from the HP 262x series
691750276Speter#
6918166124Srafanhp262x|HP 262x terminals,
6919166124Srafan	xhp,
6920166124Srafan	blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
6921166124Srafan	invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
6922166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
6923166124Srafan	kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
6924166124Srafan	krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
6925166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
6926166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
692750276Speter
692850276Speter# Note: no <home> on HPs since that homes to top of memory, not screen.
692950276Speter# Due to severe 2621 braindamage, the only way to get the arrow keys to
693050276Speter# transmit anything at all is to turn on the function key labels
693150276Speter# with <smkx>, and even then the user has to hold down shift!
6932166124Srafan# The default 2621 turns off the labels except when it has to to
6933166124Srafan# enable the function keys. If your installation prefers labels
6934166124Srafan# on all the time, or off all the time (at the "expense" of the
693550276Speter# function keys), use 2621-nl or 2621-wl.
6936166124Srafan#
6937166124Srafan# Note: there are newer ROMs for 2621's that allow you to set
6938166124Srafan# strap A so the regular arrow keys xmit \EA, etc, as with the
6939166124Srafan# 2645. However, even with this strap set, the terminal stops
694050276Speter# xmitting if you reset it, until you unset and reset the strap!
6941166124Srafan# Since there is no way to set/unset the strap with an escape
694250276Speter# sequence, we don't use it in the default.
694350276Speter# If you like, you can use 2621-ba (brain-damaged arrow keys).
6944166124Srafanhp2621-ba|2621 w/new rom and strap A set,
6945166124Srafan	rmkx@, smkx@, use=hp+arrows, use=hp2621,
694650276Speter
694750276Speter# hp2621 with function labels. Most of the time they are off,
694850276Speter# but inside vi, the function key labels appear. You have to
694950276Speter# hold down shift to get them to xmit.
6950166124Srafanhp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
6951166124Srafan	is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
6952166124Srafanhp2621-fl|hp 2621,
6953166124Srafan	xhp@, xon,
6954166124Srafan	pb#19200,
6955166124Srafan	cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
6956166124Srafan	ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
6957166124Srafan	sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
6958166124Srafan	use=hp+pfk+cr, use=hpgeneric,
695950276Speter
696050276Speter# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
6961166124Srafanhp2621p|hp 2621 with printer,
6962166124Srafan	mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
696350276Speter
6964166124Srafanhp2621p-a|hp2621p with fn as arrows,
6965166124Srafan	use=hp+pfk+arrows, use=hp2621p,
696650276Speter
696750276Speter# hp2621 with k45 keyboard
6968166124Srafanhp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
6969166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
6970166124Srafan	khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
697150276Speter
6972166124Srafan# 2621 using all 48 lines of memory, only 24 visible at any time.
6973166124Srafanhp2621-48|48 line 2621,
6974166124Srafan	lines#48,
6975166124Srafan	cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR,
6976166124Srafan	use=hp2621,
697750276Speter
697850276Speter# 2621 with no labels ever. Also prevents vi delays on escape.
6979166124Srafanhp2621-nl|hp 2621 with no labels,
6980166124Srafan	kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@,
6981166124Srafan	use=hp2621-fl,
698250276Speter
6983166124Srafan# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
698450276Speter# (wrong).
698550276Speter#
6986166124Srafanhp2621-nt|hp 2621 w/no tabs,
6987166124Srafan	ht@, use=hp2621,
698850276Speter
698950276Speter# Hp 2624 B with 4 or 10 pages of memory.
6990166124Srafan#
6991166124Srafan# Some assumptions are made with this entry. These settings are
699250276Speter# NOT set up by the initialization strings.
6993166124Srafan#
699450276Speter# Port Configuration
699550276Speter# 	RecvPace=Xon/Xoff
699650276Speter# 	XmitPace=Xon/Xoff
699750276Speter# 	StripNulDel=Yes
6998166124Srafan#
699950276Speter# Terminal Configuration
700050276Speter# 	InhHndShk=Yes
700150276Speter# 	InhDC2=Yes
700250276Speter# 	XmitFnctn(A)=No
700350276Speter# 	InhEolWrp=No
7004166124Srafan#
700550276Speter# Note: the 2624 DOES have a true <home>, believe it or not!
7006166124Srafan#
7007166124Srafan# The 2624 has an "error line" to which messages can be sent.
700850276Speter# This is CLOSE to what is expected for a "status line". However,
7009166124Srafan# after a message is sent to the "error line", the next carriage
7010166124Srafan# return is EATEN and the "error line" is turned back off again!
701150276Speter# So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
7012166124Srafan#
7013166124Srafan# This entry supports emacs (and any other program that uses raw
7014166124Srafan# mode) at 4800 baud and less. I couldn't get the padding right
701550276Speter# for 9600.
701650276Speter#
701750276Speter# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
7018166124Srafanhp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
7019166124Srafan	da, db,
7020166124Srafan	lm#96,
7021166124Srafan	flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
7022166124Srafan	use=hp+labels, use=scrhp,
702350276Speter
7024166124Srafan# This hp2626 entry does not use any of the fancy windowing stuff
702550276Speter# of the 2626.
7026166124Srafan#
7027166124Srafan# Indeed, terminfo does not yet handle such stuff. Since changing
7028166124Srafan# any window clears memory, it is probably not possible to use
702950276Speter# this for screen opt.
7030166124Srafan#
7031166124Srafan# ed is incredibly slow most of the time - I am guessing at the
7032166124Srafan# exact padding. Since the terminal uses xoff/xon this is intended
7033166124Srafan# only for cost computation, so that the terminal will prefer el
703450276Speter# or even dl1 which is probably faster!
7035166124Srafan#
7036166124Srafan# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
7037166124Srafan# extra slow on the last line of the window.
7038166124Srafan#
703950276Speter# The padding probably should be changed.
704050276Speter#
7041166124Srafanhp2626|hp2626a|hp2626p|hp 2626,
7042166124Srafan	da, db,
7043166124Srafan	lm#0, pb#19200,
7044166124Srafan	ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
7045262685Sdelphij	is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk-cr,
7046166124Srafan	use=hp+labels, use=scrhp,
704750276Speter
7048166124Srafan# This entry is for sysline. It allocates a 23 line window with
7049166124Srafan# a 115 line workspace for regular use, and a 1 line window for
705050276Speter# the status line.
7051166124Srafan#
705250276Speter# This assumes port 2 is being used.
705350276Speter# Turn off horizontal line, Create ws #1 with 115 lines,
705450276Speter# Create ws #2 with 1 line, Create window #1 lines 1-23,
705550276Speter# Create window #2 lines 24-24, Attach cursor to workspace #1.
705650276Speter# Note that this clears the tabs so it must be done by tset before
705750276Speter# it sets the tabs.
705850276Speter#
7059166124Srafanhp2626-s|hp 2626 using only 23 lines,
7060166124Srafan	eslok, hs,
7061166124Srafan	lines#23,
7062166124Srafan	fsl=\E&d@\E&w7f2p1I\E&w4f1I,
7063166124Srafan	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
7064166124Srafan	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
706550276Speter# Force terminal back to 24 lines after being 23.
7066166124Srafanhp2626-ns|hp 2626 using all 24 lines,
7067166124Srafan	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
7068166124Srafan	use=hp2626,
706950276Speter# Various entries useful for small windows on 2626.
7070166124Srafanhp2626-12|hewlett-packard 2626 12 lines,
7071166124Srafan	lines#12, use=hp2626,
7072166124Srafanhp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
7073166124Srafan	cols#40, lines#12, use=hp2626,
7074166124Srafanhp2626-x40|hewlett-packard 2626 40 columns,
7075166124Srafan	cols#40, use=hp2626,
7076166124Srafanhp2626-12-s|hewlett-packard 2626 11 lines plus status,
7077166124Srafan	lines#11, use=hp2626-s,
707850276Speter
707950276Speter#
708050276Speter# hp2627 color tubes from University of Wisconsin
708150276Speter#
7082166124Srafanhp2627a-rev|hp 2627 with reverse video colors,
7083166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
7084166124Srafan	is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
7085166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
7086166124Srafan	smul=\E&dD\E&v1S, use=hp2621-nl,
7087166124Srafanhp2627a|hp 2627 color terminal with no labels,
7088166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
7089166124Srafan	is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
7090166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
7091166124Srafan	rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
7092166124Srafan	use=hp2621-nl,
7093166124Srafanhp2627c|hp 2627 color (cyan) terminal with no labels,
7094166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
7095166124Srafan	is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
7096166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
709750276Speter
7098166124Srafan# hp2640a doesn't have the Y cursor addressing feature, and C is
709950276Speter# memory relative instead of screen relative, as we need.
710050276Speter#
7101166124Srafanhp2640a|hp 2640a,
7102166124Srafan	cup@, rmkx@, smkx@, use=hp2645,
710350276Speter
7104166124Srafanhp2640b|hp2644a|hp 264x series,
7105166124Srafan	rmkx@, smkx@, use=hp2645,
710650276Speter
710750276Speter# (hp2641a: removed unknown :gu: -- esr)
7108166124Srafanhp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
7109166124Srafan	am, da, db, mir, xhp,
7110166124Srafan	cols#80, lines#24,
7111166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
7112166124Srafan	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
7113166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
7114166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J,
7115166124Srafan	is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
7116166124Srafan	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
7117166124Srafan	vpa=\E&a%p1%2dY,
711850276Speter
711950276Speter# This terminal should be used at 4800 baud or less. It needs padding for
712050276Speter# plain characters at 9600, I guessed at an appropriate cr delay.  It really
712150276Speter# wants ^E/^F handshaking, but that doesn't work well even if you write
712250276Speter# software to support it.
7123166124Srafanhp2645|hp45|HP 2645 series,
7124166124Srafan	pb#9600,
7125166124Srafan	blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
7126166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
7127166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
7128166124Srafan	kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
7129166124Srafan	rmkx=\E&s0A,
7130166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
7131166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
713250276Speter# You should use this terminal at 4800 baud or less.
7133166124Srafanhp2648|hp2648a|HP 2648a graphics terminal,
7134166124Srafan	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
7135166124Srafan	dch1=\EP$<7>, ip=$<5>, use=hp2645,
713650276Speter
7137166124Srafan# The HP 150 terminal is a fairly vanilla HP terminal, with the
7138166124Srafan# clreol standout problem. It also has graphics capabilities and
713950276Speter# a touch screen, which we don't describe here.
7140166124Srafanhp150|hewlett packard Model 150,
7141166124Srafan	OTbs, use=hp2622,
714250276Speter
7143166124Srafan# HP 2382a terminals, "the little ones." They don't have any
7144166124Srafan# alternate character set support and sending out ^N/^O will
714550276Speter# leave the screen blank.
7146166124Srafanhp2382a|hp2382|hewlett packard 2382a,
7147166124Srafan	da, db,
7148166124Srafan	lh#1, lm#48,
7149166124Srafan	acsc@,
7150166124Srafan	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
7151166124Srafan	rmacs@,
7152166124Srafan	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c,
7153166124Srafan	sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp,
715450276Speter
7155166124Srafanhp2621-a|hp2621a-a|hp2621 with fn as arrows,
7156166124Srafan	use=hp+pfk+arrows, use=hp2621-fl,
715750276Speter
715850276Speter# newer hewlett packard terminals
715950276Speter
7160166124Srafannewhpkeyboard|generic entry for HP extended keyboard,
7161166124Srafan	kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
7162166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
7163166124Srafan	kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
7164166124Srafan	kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
7165166124Srafan	use=hp+pfk-cr,
716650276Speter
7167166124Srafannewhp|generic entry for new hewlett packard terminals,
7168166124Srafan	am, bw, mir, xhp, xon,
7169166124Srafan	cols#80, lines#24, pb#4800,
7170166124Srafan	acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
7171166124Srafan	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
7172166124Srafan	cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
7173166124Srafan	dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
7174166124Srafan	invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
7175166124Srafan	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
7176166124Srafan	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
7177166124Srafan	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
7178166124Srafan	rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
7179166124Srafan	sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;,
7180166124Srafan	sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
7181166124Srafan	tbc=\E3, use=newhpkeyboard,
718250276Speter
7183166124Srafanmemhp|memory relative addressing for new HP ttys,
7184166124Srafan	vt#6,
7185166124Srafan	clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
7186166124Srafan	cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
7187166124Srafan	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
7188166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
718950276Speter
7190166124Srafanscrhp|screen relative addressing for new HP ttys,
7191166124Srafan	clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
7192166124Srafan	cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
7193166124Srafan	cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
7194166124Srafan	home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
7195166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
719650276Speter
719750276Speter# (hp+labels: added label values from a BRL termcap -- esr)
7198166124Srafanhp+labels|"standard" label info for new HP ttys,
7199166124Srafan	lh#2, lw#8, nlab#8,
7200166124Srafan	lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
7201166124Srafan	pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
7202166124Srafan	rmln=\E&j@, smln=\E&jB,
720350276Speter
7204166124Srafanhp+printer|"standard" printer info for HP ttys,
7205166124Srafan	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
720650276Speter
720750276Speter
720850276Speter# The new hp2621b is kind of a cross between the old 2621 and the
7209166124Srafan# new 262x series of machines. It has dip-switched options.
7210166124Srafan# The firmware has a bug in it such that if you give it a null
721150276Speter# length label, the following character is eaten!
7212166124Srafanhp2621b|hp 2621b with old style keyboard,
7213166124Srafan	lh#1, lm#48, lw#8, nlab#8,
7214166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
7215166124Srafan	kind=\ET, kll=\EF, kri=\ES,
7216166124Srafan	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r,
7217166124Srafan	smln=\E&jB, use=hp2621,
721850276Speter
7219166124Srafanhp2621b-p|hp 2621b with printer,
7220166124Srafan	use=hp+printer, use=hp2621b,
722150276Speter
722250276Speter# hp2621b - new 2621b with new extended keyboard
722350276Speter# these are closer to the new 26xx series than the other 2621b
7224166124Srafanhp2621b-kx|hp 2621b with extended keyboard,
7225166124Srafan	use=newhpkeyboard, use=hp2621b,
722650276Speter
7227166124Srafanhp2621b-kx-p|hp 2621b with new keyboard & printer,
7228166124Srafan	use=hp+printer, use=hp2621b-kx,
722950276Speter
723050276Speter# Some assumptions are made in the following entries.
723150276Speter# These settings are NOT set up by the initialization strings.
7232166124Srafan#
723350276Speter#    Port Configuration
723450276Speter# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
7235166124Srafan#
723650276Speter#    Terminal Configuration
723750276Speter# InhHndShk(G)=Yes	InhDC2(H)=Yes
723850276Speter# XmitFnctn(A)=No		InhEolWrp=No
723950276Speter#
7240166124Srafan#
724150276Speter# Hp 2622a & hp2623a display and graphics terminals
724250276Speter#
7243166124Srafanhp2622|hp2622a|hp 2622,
7244166124Srafan	da, db,
7245166124Srafan	lm#0, pb#19200,
7246262685Sdelphij	is2=\E&dj@\r, use=hp+pfk-cr, use=hp+labels, use=scrhp,
724750276Speter
724850276Speter# The 2623 is a 2622 with extra graphics hardware.
7249166124Srafanhp2623|hp2623a|hp 2623,
7250166124Srafan	use=hp2622,
725150276Speter
7252166124Srafanhp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
7253166124Srafan	use=hp+printer, use=hp2624,
725450276Speter
725550276Speter# The hewlett packard B can have an optional extra 6 pages of memory.
7256166124Srafanhp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
7257166124Srafan	lm#240, use=hp2624,
725850276Speter
7259166124Srafanhp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
7260166124Srafan	lm#240, use=hp2624b-p,
726150276Speter
726250276Speter# Color manipulations for HP terminals
7263166124Srafanhp+color|hp with colors,
7264166124Srafan	ccc,
7265166124Srafan	colors#16, ncv#17, pairs#7,
7266166124Srafan	initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI,
7267166124Srafan	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
7268166124Srafan	op=\E&v0S, scp=\E&v%p1%dS,
726950276Speter
727050276Speter# <is2> sets the screen to be 80 columns wide
7271166124Srafanhp2397a|hp2397|hewlett packard 2397A color terminal,
7272166124Srafan	is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color,
727350276Speter
7274166124Srafan#  HP 700/44 Setup parameters:
727550276Speter# Terminal Mode		HP-PCterm
727650276Speter# Inhibit Auto Wrap	NO
727750276Speter# Status Line		Host Writable
727850276Speter# PC Character Set	YES
727950276Speter# Twenty-Five Line Mode	YES
728050276Speter# XON/XOFF		@128 or 64 (sc)
728150276Speter# Keycode Mode 		NO   or YES (sc)
728250276Speter# Backspace Key		BS or BS/DEL
728350276Speter#
7284166124Srafan# <is2> 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
728550276Speter# \E\\? does not turn off keycode mode
728650276Speter# <smsc>	sets alternate start/stop; keycode on
7287166124Srafanhpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
7288166124Srafan	am, eo, xenl, xon,
7289166124Srafan	cols#80, lines#25,
7290166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
7291166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
7292166124Srafan	cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
7293166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
7294166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
7295166124Srafan	ind=^J,
7296166124Srafan	is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
7297166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
7298166124Srafan	kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
7299166124Srafan	kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
7300166124Srafan	kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
7301166124Srafan	kpp=\E[5~, rmam=\E[?7l,
7302166124Srafan	rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
7303166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
7304166124Srafan	smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
7305166124Srafan	smul=\E[4m, xoffc=g, xonc=e,
730650276Speter#
730750276Speter# (hp2392: copied <rmir> here from hpex -- esr)
7308166124Srafanhp2392|239x series,
7309166124Srafan	cols#80,
7310166124Srafan	cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
7311166124Srafan	kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
7312166124Srafan	kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
7313166124Srafan	rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
7314166124Srafan	use=hpsub,
731550276Speter
7316166124Srafanhpsub|hp terminals -- capability subset,
7317166124Srafan	am, da, db, mir, xhp, xon,
7318166124Srafan	lines#24,
7319166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
7320166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
7321166124Srafan	ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
7322166124Srafan	is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
7323166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
7324166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
732550276Speter
732650276Speter# hpex:
732750276Speter#	May be used for most 24 x 80 hp terminals,
7328166124Srafan# but has no padding added, so may allow runover in some terminals at high
7329166124Srafan# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
7330166124Srafan# hp98x5 terminal emulators or hp98x6 consoles.
7331166124Srafan# 	Adds xy-cursor addressing, vertical cursor addressing, home,
733250276Speter# last line, and underline capabilities.
733350276Speter#
733450276Speter# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
733550276Speter# moved <rmir> here from hpsub -- esr)
7336166124Srafanhpex|hp extended capabilites,
7337166124Srafan	cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
7338166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
7339166124Srafan	smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
734050276Speter
734150276Speter# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
7342166124Srafanhp2|hpex2|hewlett-packard extended capabilities newer version,
7343166124Srafan	am, da, db, mir, xhp,
7344166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
7345166124Srafan	bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
7346166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
7347166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
7348166124Srafan	il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
7349166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
7350166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
7351166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
7352166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
7353166124Srafan	krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
7354166124Srafan	pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
7355166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
7356166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
7357166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
7358166124Srafan	rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
7359166124Srafan	sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;,
7360166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
7361166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
736250276Speter
736350276Speter# HP 236 console
736450276Speter# From: <ddavis@ic.berkeley.edu>
7365166124Srafanhp236|hp236 internal terminal emulator,
7366166124Srafan	OTbs, am,
7367166124Srafan	cols#80, lines#24,
7368166124Srafan	clear=\EF, cnorm=\EDE, cub1=^H,
7369166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
7370166124Srafan	dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
7371166124Srafan	sgr0=\ECI, smso=\EBI,
737250276Speter
737350276Speter# This works on a hp300 console running Utah 4.3 BSD
737450276Speter# From: Craig Leres <leres@okeeffe.berkeley.edu>
7375166124Srafanhp300h|HP Catseye console,
7376166124Srafan	OTbs, am, da, db, mir, xhp,
7377166124Srafan	cols#128, lines#51, lm#0, xmc#0,
7378166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
7379166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
7380166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
7381166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
7382166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
7383166124Srafan	rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
7384166124Srafan	smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
7385166124Srafan	vpa=\E&a%p1%dY,
738650276Speter# From: Greg Couch <gregc@ernie.berkeley.edu>
7387166124Srafanhp9837|hp98720|hp98721|HP 9000/300 workstations,
7388166124Srafan	OTbs, am, da, db, mir, xhp,
7389166124Srafan	cols#128, it#8, lines#46, lm#0,
7390166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
7391166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
7392166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
7393166124Srafan	il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
7394166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
7395166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
7396166124Srafan	kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
7397166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
7398166124Srafan	tbc=\E3, vpa=\E&a%p1%dY,
739950276Speter# HP 9845 desktop computer from BRL
740050276Speter# (hp9845: removed unknown capability :gu: -- esr)
7401166124Srafanhp9845|HP 9845,
7402166124Srafan	OTbs, am, da, db, eo, mir, xhp,
7403166124Srafan	cols#80, lines#21,
7404262629Sdelphij	OTbc=\ED, clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
7405262629Sdelphij	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
7406262629Sdelphij	ed=\EJ, el=\EK, if=/usr/share/tabset/std, il1=\EL,
7407262629Sdelphij	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
740850276Speter# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
740950276Speter# (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
741050276Speter# added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
7411166124Srafanhp98550|hp98550a|HP 9000 Series 300 color console,
7412166124Srafan	OTbs, am, da, db, mir, xhp,
7413166124Srafan	cols#128, it#8, lines#49, lm#0,
7414166124Srafan	acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
7415166124Srafan	clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
7416166124Srafan	cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
7417166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
7418166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
7419166124Srafan	kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
7420166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
7421166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
7422166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
7423166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
7424166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
7425166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
7426166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
742750276Speter# From: Victor Duchovni <vic@fine.princeton.edu>
742850276Speter# (hp700-wy: removed obsolete ":nl=^J:";
742950276Speter# replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
7430166124Srafanhp700-wy|HP700/41 emulating wyse30,
7431166124Srafan	OTbs, am, bw, mir, msgr,
7432166124Srafan	cols#80, it#8, lines#24, xmc#1,
7433166124Srafan	cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7434166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7435166124Srafan	dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
7436166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
7437166124Srafan	is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
7438166124Srafan	kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
7439166124Srafan	kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
7440166124Srafan	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
7441166124Srafan	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
7442166124Srafan	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
7443166124Srafanhp70092|hp70092a|hp70092A|HP 700/92,
7444166124Srafan	am, da, db, xhp,
7445166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
7446166124Srafan	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
7447166124Srafan	bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
7448166124Srafan	cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
7449166124Srafan	dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
7450166124Srafan	hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
7451166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
7452166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
7453166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
7454166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
7455166124Srafan	krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
7456166124Srafan	rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
7457166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
7458166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
745950276Speter
7460166124Srafanbobcat|sbobcat|HP 9000 model 300 console,
7461166124Srafan	am, da, db, mir, xhp,
7462166124Srafan	cols#128, it#8, lines#47, xmc#0,
7463166124Srafan	cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
7464166124Srafan	cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP,
7465166124Srafan	dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I,
7466166124Srafan	il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
7467166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER,
7468166124Srafan	rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
7469166124Srafan	smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>,
7470166124Srafangator-t|HP 9000 model 237 emulating extra-tall AAA,
7471166124Srafan	lines#94, use=gator,
7472166124Srafangator|HP 9000 model 237 emulating AAA,
7473166124Srafan	bw, km, mir, ul,
7474166124Srafan	cols#128, it#8, lines#47,
7475166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
7476166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
7477166124Srafan	dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
7478166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
7479166124Srafan	ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
7480166124Srafan	il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
7481166124Srafan	rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
7482166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
7483166124Srafangator-52|HP 9000 model 237 emulating VT52,
7484166124Srafan	cols#128, lines#47, use=vt52,
7485166124Srafangator-52t|HP 9000 model 237 emulating extra-tall VT52,
7486166124Srafan	lines#94, use=gator-52,
748750276Speter
748850276Speter#### Honeywell-Bull
748950276Speter#
749050276Speter# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
749150276Speter#
749250276Speter
749350276Speter# Honeywell Bull terminal.  Its cursor and function keys send single
749450276Speter# control characters and it has standout/underline glitch.  Most programs
749550276Speter# do not like these features/bugs.  Visual bell is realized by flashing the
749650276Speter# "keyboard locked" LED.
7497166124Srafandku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
7498166124Srafan	cols#80, lines#25,
7499166124Srafan	clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
7500166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
7501166124Srafan	flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
7502166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
7503166124Srafandku7003|Honeywell Bull DKU 7003 all features described,
7504166124Srafan	msgr,
7505166124Srafan	xmc#1,
7506166124Srafan	blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
7507166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
7508166124Srafan	use=dku7003-dumb,
750950276Speter
751050276Speter#### Lear-Siegler (adm)
751150276Speter#
751250276Speter# These guys are long since out of the terminals business, but
751350276Speter# in 1995 many current terminals still have an adm type as one of their
751450276Speter# emulations (usually their stupidest, and usually labeled adm3, though
751550276Speter# these `adm3' emulations normally have adm3a+ capabilities).
751650276Speter#
7517166124Srafan# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
751850276Speter# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
751950276Speter# was being held to ground would trigger a send of the top line on the screen.
752050276Speter# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
752150276Speter# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
752250276Speter# for clearing up this point.)
752350276Speter
7524166124Srafanadm1a|adm1|lsi adm1a,
7525166124Srafan	am,
7526166124Srafan	cols#80, lines#24,
7527166124Srafan	bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7528166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
7529166124Srafan	ind=^J,
7530166124Srafanadm2|lsi adm2,
7531166124Srafan	OTbs, am,
7532166124Srafan	cols#80, lines#24,
7533166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7534166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7535166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
7536166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
753750276Speter# (adm3: removed obsolete ":ma=^K^P:" -- esr)
7538166124Srafanadm3|lsi adm3,
7539166124Srafan	OTbs, am,
7540166124Srafan	cols#80, lines#24,
7541166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
754250276Speter# The following ADM-3A switch settings are assumed for normal operation:
754350276Speter#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
754450276Speter#	CUR_CTL		LC_EN		AUTO_NL		FDX
754550276Speter# Other switches may be set for operator convenience or communication
754650276Speter# requirements.  I recommend
754750276Speter#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
754850276Speter#	ETX_OFF		EOT_OFF
754950276Speter# Most of these terminals required an option ROM to support lower case display.
755050276Speter# Open the case and look at the motherboard; if you see an open 24-pin DIP
755150276Speter# socket, you may be out of luck.
755250276Speter#
755350276Speter# (adm3a: some capabilities merged in from BRl entry -- esr)
7554166124Srafanadm3a|lsi adm3a,
7555166124Srafan	OTbs, am,
7556166124Srafan	cols#80, lines#24,
7557166124Srafan	OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
7558166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
7559166124Srafan	cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
7560166124Srafan	kcuu1=^K, rs2=^N,
7561166124Srafanadm3a+|adm3a plus,
7562166124Srafan	kbs=^H, use=adm3a,
756350276Speter# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
7564166124Srafanadm5|lsi adm5,
7565166124Srafan	xmc#1,
7566166124Srafan	bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
7567166124Srafan	rmso=\EG, smso=\EG, use=adm3a+,
756850276Speter# A lot of terminals other than adm11s use these.  Wherever you see
756950276Speter# use=adm+sgr with some of its capabilities disabled, try the
757050276Speter# disabled ones.  They may well work but not have been documented or
757150276Speter# expressed in the using entry.  We'd like to cook up an <sgr> but the
757250276Speter# <rmacs>/<smacs> sequences of the using entries vary too much.
7573166124Srafanadm+sgr|adm style highlight capabilities,
7574166124Srafan	invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
7575166124Srafan	smso=\EG4, smul=\EG8,
757650276Speter# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
757750276Speter# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
757850276Speter# <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
757950276Speter# be ^Z, according to his entry.
758050276Speter# (adm11: <smul>=\EG4 was obviously erroneous because it also said
758150276Speter# <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
7582166124Srafanadm11|LSI ADM-11,
7583166124Srafan	OTbs, am, hs,
7584166124Srafan	OTkn#8, cols#80, lines#24,
7585166124Srafan	OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
7586166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
7587166124Srafan	cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
7588166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
7589166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
7590166124Srafan	kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
7591166124Srafan	use=adm+sgr,
759250276Speter# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
759350276Speter# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
759450276Speter# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
759550276Speter# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
759650276Speter# <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
7597166124Srafan# via BRL.  That entry asserted <xmc#1>, but I've left that out because
759850276Speter# neither earlier nor later ADMSs have it -- esr)
759950276Speter#
760050276Speter# You will need to get into the supervisor setup before you can set
760150276Speter# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
760250276Speter# see a lot more setup options.
7603166124Srafan#
760450276Speter# While in supervisor setup you can also use following codes:
7605166124Srafan#
760650276Speter# Ctrl-P Personality character selections (configure for example what
760750276Speter#        arrow keys send, if I recall correctly)
760850276Speter# Ctrl-T tabs 1-80   use left&right to move and up to set and
760950276Speter# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
761050276Speter# Ctrl-B Binary setup (probably not needed. I think that everything can
761150276Speter#        be set using normal setup)
761250276Speter# Ctrl-A Answerback mode (enter answerback message)
761350276Speter# Ctrl-U User friendly mode (normal setup)
761450276Speter# Ctrl-D Defaults entire setup and function keys from EPROM tables
761550276Speter# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
761650276Speter# Ctrl-R Reads both setup and functions keys from NVM.
761750276Speter# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
7618166124Srafan#
761950276Speter# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
762050276Speter# RTS/CTS used nowadays with virtually every modem and computer. 19200
762150276Speter# bps works fine with hardware flow control.
7622166124Srafan#
762350276Speter# The following null-modem cable should fix this and enable you to use
762450276Speter# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
762550276Speter# set ADM-12+ for DTR handshaking from supervisor setup.
7626166124Srafan#
762750276Speter# PC Serial   ADM-12+
762850276Speter#  --------   -------
762950276Speter#         2 - 3
763050276Speter#         3 - 2
763150276Speter#         4 - 5
763250276Speter#         5 - 20
763350276Speter#       6,8 - 4
763450276Speter#         7 - 7
763550276Speter#        20 - 6,8
763650276Speter#
7637166124Srafanadm12|lsi adm12,
7638166124Srafan	OTbs, OTpt, am, mir,
7639166124Srafan	OTug#1, cols#80, it#8, lines#24,
7640166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7641166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7642166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
7643166124Srafan	is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
7644166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
7645166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
7646166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
7647166124Srafan	use=adm+sgr,
764850276Speter# (adm20: removed obsolete ":kn#7:" -- esr)
7649166124Srafanadm20|lear siegler adm20,
7650166124Srafan	OTbs, am,
7651166124Srafan	cols#80, it#8, lines#24,
7652166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
7653166124Srafan	cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
7654166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
7655166124Srafan	kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
7656166124Srafan	sgr0=\E(, smso=\E),
7657166124Srafanadm21|lear siegler adm21,
7658166124Srafan	xmc#1,
7659166124Srafan	bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
7660166124Srafan	ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
7661166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr,
7662166124Srafan	use=adm3a,
766350276Speter# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
766450276Speter# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
766550276Speter# removed bogus-looking \200 from before <cup>. -- esr)
7666166124Srafanadm22|lsi adm22,
7667166124Srafan	OTbs, am,
7668166124Srafan	cols#80, lines#24,
7669166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7670166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7671166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
7672166124Srafan	is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
7673166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
7674166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
7675166124Srafan	kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
7676166124Srafan	lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
767750276Speter# ADM 31 DIP Switches
767850276Speter#
767950276Speter# This information comes from two versions of the manual for the
768050276Speter# Lear-Siegler ADM 31.
768150276Speter#
768250276Speter# Main board:
768350276Speter#                  rear of case
768450276Speter#   +-||||-------------------------------------+
768550276Speter#   + S1S2                              ||S    +
768650276Speter#   +                                   ||3    +
768750276Speter#   +                                          +
768850276Speter#   +                                ||S       +
768950276Speter#   +                                ||4       +
769050276Speter#   +                                          +
769150276Speter#   +                                          +
769250276Speter#   +                                          +
769350276Speter#   +                                          +
769450276Speter#   +                                          +
769550276Speter# +-+                                          +-+
769650276Speter# +                                              +
7697166124Srafan# +                               S5 S6 S7       +
769850276Speter# +                               == == ==       +
769950276Speter# +----------------------------------------------+
770050276Speter#            front of case (keyboard)
770150276Speter#
770250276Speter#  S1 - Data Rate - Modem
770350276Speter#  S2 - Data Rate - Printer
770450276Speter# ------------------------
770550276Speter# Data Rate   Setting
770650276Speter# -------------------
770750276Speter# 50          0 0 0 0
770850276Speter# 75          1 0 0 0
770950276Speter# 110         0 1 0 0
771050276Speter# 134.5       1 1 0 0
771150276Speter# 150         0 0 1 0
771250276Speter# 300         1 0 1 0
771350276Speter# 600         0 1 1 0
771450276Speter# 1200        1 1 1 0
771550276Speter# 1800        0 0 0 1
771650276Speter# 2000        1 0 0 1
771750276Speter# 2400        0 1 0 1
771850276Speter# 3600        1 1 0 1
771950276Speter# 4800        0 0 1 1
772050276Speter# 7200        1 0 1 1
772150276Speter# 9600        0 1 1 1
772250276Speter# x           1 1 1 1
772350276Speter#
772450276Speter# S3 - Interface/Printer/Attributes
772550276Speter# ---------------------------------
772650276Speter# Printer Busy Control
772750276Speter# sw1   sw2   sw3
772850276Speter# ---------------
772950276Speter# off   off   off   Busy not active, CD disabled
773050276Speter# off   off   on    Busy not active, CD enabled
773150276Speter# off   on    off   Busy active on J5-20, CD disabled
773250276Speter# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
773350276Speter# on    off   on    Busy active on J5-19, CD enabled
773450276Speter#
773550276Speter# sw4   Used in conjuction with S4 for comm interface control - Fact 0
773650276Speter#
773750276Speter# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
773850276Speter#
773950276Speter# sw6   ON enables printer BUSY active LOW - Factory Setting
774050276Speter#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
774150276Speter#
774250276Speter# sw7   ON - steady cursor - Factory Setting
774350276Speter#       OFF - blinking cursor
774450276Speter#
774550276Speter# sw8   ON causes selected attribute character to be displayed
774650276Speter#       OFF causes SPACE to be displayed instead - Factory Setting
774750276Speter#
774850276Speter# S4 - Interface
774950276Speter# --------------
775050276Speter# Modem Interface
775150276Speter# S3    S4    S4    S4    S4
775250276Speter# sw4   sw1   sw2   sw3   sw4
775350276Speter# ---------------------------
775450276Speter# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
775550276Speter#                               Current Loop disabled - Factory Setting
775650276Speter# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
775750276Speter#                               disabled
775850276Speter# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
775950276Speter#                               Current Loop Disabled
776050276Speter#
776150276Speter# sw5   ON disables dot stretching mode - Factory Setting
776250276Speter#       OFF enables dot stretching mode
776350276Speter# sw6   ON enables blanking function
776450276Speter#       OFF enables underline function - Factory Setting
776550276Speter# sw7   ON causes NULLS to be displayed as NULLS
776650276Speter#       OFF causes NULLS to be displayed as SPACES - Factory Setting
776750276Speter#
776850276Speter# S5 - Word Structure
776950276Speter# -------------------
777050276Speter# sw1   ON enables BREAK key - Factory Setting
777150276Speter#       OFF disables BREAK key
777250276Speter# sw2   ON selects 50Hz monitor refresh rate
777350276Speter#       OFF selects 60Hz monitor refresh rate - Factory Setting
777450276Speter#
777550276Speter# Modem Port Selection
777650276Speter# sw3   sw4   sw5
777750276Speter# ---------------
777850276Speter# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
777950276Speter# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
778050276Speter# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
778150276Speter# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
778250276Speter# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
778350276Speter# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
778450276Speter# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
778550276Speter# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
778650276Speter#
778750276Speter# sw6   ON  sends bit 8 a 1 (mark)
778850276Speter#       OFF sends bit 8 as 0 (space) - Factory Setting
778950276Speter# sw7   ON  selects Block Mode
779050276Speter#       OFF selects Conversation Mode - Factory Setting
779150276Speter# sw8   ON  selects Full Duplex operation
779250276Speter#       OFF selects Half Duplex operation - Factory Setting
779350276Speter#
779450276Speter# S6 - Printer
779550276Speter# ------------
779650276Speter# sw1, sw2, sw6, sw7   Reserved - Factory 0
779750276Speter#
779850276Speter# Printer Port Selection
779950276Speter# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
780050276Speter#
780150276Speter# sw8   ON   enables Printer Port
780250276Speter#       OFF disables Printer Port - Factory Setting
780350276Speter#
780450276Speter# S7 - Polling Address
780550276Speter# --------------------
780650276Speter# sw1-7 Establish ASCII character which designates terminal polling address
780750276Speter#       ON  = logic 0
780850276Speter#       OFF = logic 1 - Factory Setting
780950276Speter# sw8   ON   enables Polling Option
781050276Speter#       OFF disables Polling Option - Factory Setting
781150276Speter#
781250276Speter#
781350276Speter# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
781450276Speter#
781550276Speter# This adm31 entry uses underline as the standout mode.
781650276Speter# If the adm31 gives you trouble with standout mode, check the DIP switch in
781750276Speter# position 6, bank @c11, 25% from back end of the circuit board.  Should be
781850276Speter# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
781950276Speter# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
7820166124Srafanadm31|lsi adm31 with sw6 set for underline mode,
7821166124Srafan	OTbs, am, mir,
7822166124Srafan	cols#80, lines#24,
7823166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7824166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7825166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
7826166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
7827166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
7828166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
7829166124Srafan	rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
7830166124Srafanadm31-old|o31|old adm31,
7831166124Srafan	rmul@, smso=\EG4, smul@, use=adm31,
783250276Speter# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
7833166124Srafanadm36|LSI ADM36,
7834166124Srafan	OTbs, OTpt,
7835166124Srafan	OTkn#4,
7836166124Srafan	if=/usr/share/tabset/vt100,
7837166124Srafan	is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
7838166124Srafan	use=vt100,
783950276Speter# (adm42: removed obsolete ":ma=^K^P:" -- esr)
7840166124Srafanadm42|lsi adm42,
7841166124Srafan	OTbs, am,
7842166124Srafan	cols#80, lines#24,
7843166124Srafan	bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7844166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7845166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
7846166124Srafan	il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
7847166124Srafan	kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
7848166124Srafan	smir=\Eq, smul@, use=adm+sgr,
7849166124Srafan# The following termcap for the Lear Siegler ADM-42 leaves the
7850166124Srafan# "system line" at the bottom of the screen blank (for those who
785150276Speter# find it distracting otherwise)
7852166124Srafanadm42-ns|lsi adm-42 with no system line,
7853166124Srafan	cbt=\EI\EF \011, clear=\E;\EF \011,
7854166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
7855166124Srafan	dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
7856166124Srafan	el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
7857166124Srafan	smir=\Eq\EF \011, use=adm42,
785850276Speter# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
785950276Speter# The insert mode of this terminal is commented out because it's broken for our
786050276Speter# purposes in that it will shift the position of every character on the page,
786150276Speter# not just the cursor line!
786250276Speter# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
7863166124Srafanadm1178|1178|lsi adm1178,
7864166124Srafan	am,
7865166124Srafan	cols#80, lines#24, xmc#1,
7866166124Srafan	bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
7867166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7868166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
7869166124Srafan	home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
7870166124Srafan	kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
7871166124Srafan	sgr0=\E), smso=\EG4, smul=\EG1,
787250276Speter
787350276Speter#### Prime
787450276Speter#
787550276Speter# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
787650276Speter# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
787750276Speter# Prime merged with ComputerVision in the late 1980s; you can reach them at:
787850276Speter#
787950276Speter#	ComputerVision Services
788050276Speter#	500 Old Connecticut Path
788150276Speter#	Framingham, Mass.
788250276Speter#
788350276Speter
788450276Speter# Standout mode is dim reverse-video.
7885166124Srafanpt100|pt200|wren|fenix|prime pt100/pt200,
7886166124Srafan	am, bw, mir, msgr,
7887166124Srafan	cols#80, it#8, lines#24,
7888166124Srafan	cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
7889166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
7890166124Srafan	cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
7891166124Srafan	cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M,
7892166124Srafan	ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
7893166124Srafan	home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
7894166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
7895166124Srafan	rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
7896166124Srafan	sgr0=\E[m,
7897166124Srafan	smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
7898166124Srafan	smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
7899166124Srafanpt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
7900166124Srafan	cols#132,
7901166124Srafan	cup=\E[%i%p1%d;%p2%dH, use=pt100,
7902166124Srafanpt250|Prime PT250,
7903166124Srafan	rmso@, smso@, use=pt100,
7904166124Srafanpt250w|Prime PT250 in 132-column mode,
7905166124Srafan	rmso@, smso@, use=pt100w,
790650276Speter
790750276Speter#### Qume (qvt)
790850276Speter#
790950276Speter#	Qume, Inc.
791050276Speter#	3475-A North 1st Street
791150276Speter#	San Jose CA 95134
791250276Speter#	Vox: (800)-457-4447
791350276Speter#	Fax: (408)-473-1510
791450276Speter#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
791550276Speter#
791650276Speter# Qume was bought by Wyse, but still (as of early 1995) has its own support
791750276Speter# group and production division.
791850276Speter#
791950276Speter# Discontinued Qume models:
792050276Speter#
792150276Speter# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
792250276Speter# built to replace them, and a qvt119+ which was a 101+ with available wide
792350276Speter# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
792450276Speter# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
792550276Speter# ANSI-compatible terminals with the qvt323 and qvt61.
792650276Speter#
792750276Speter# Current Qume models (as of February 1995):
792850276Speter#
792950276Speter# All current Qume terminals have ANSI-compatible operation modes.
793050276Speter# Qume is still producing the qvt62, which features emulations for other
793150276Speter# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
793250276Speter# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
793350276Speter# with many emulations including Wyse370, Wyse 325, etc.  Their newest
793450276Speter# model is the qvt520, which is vt420-compatible.
793550276Speter#
793650276Speter# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
793750276Speter#
793850276Speter# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
793950276Speter# setup mode.  Shift-s should be a configuration save to NVRAM.
794050276Speter
7941166124Srafanqvt101|qvt108|qume qvt 101 and QVT 108,
7942166124Srafan	xmc#1, use=qvt101+,
794350276Speter
794450276Speter# This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
7945166124Srafan# file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
794650276Speter# both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
794750276Speter# What seems to be going on here is that this entry was designed so that
794850276Speter# the normal highlight is bold and standout is dim plus something else
7949166124Srafan# (reverse-video maybe?  But then, are there two <rev> sequences?)
7950262685Sdelphij#
7951262685Sdelphij# Added kdch1, kil1, kdl1 based on screenshot -TD:
7952262685Sdelphij#	http://www.vintagecomputer.net/qume/qvt-108/qume_qvt-108_keyboard.jpg
7953166124Srafanqvt101+|qvt101p|qume qvt 101 PLUS product,
7954166124Srafan	am, bw, hs, ul,
7955166124Srafan	cols#80, lines#24, xmc#0,
7956166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
7957166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7958166124Srafan	dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
7959166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
7960166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
7961262685Sdelphij	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
7962262685Sdelphij	kel=\ET, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r,
7963262685Sdelphij	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
7964262685Sdelphij	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@,
7965262685Sdelphij	rmso=\E(, smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
7966166124Srafanqvt102|qume qvt 102,
7967166124Srafan	cnorm=\E., use=qvt101,
796850276Speter# (qvt103: added <rmam>/<smam> based on init string -- esr)
7969166124Srafanqvt103|qume qvt 103,
7970166124Srafan	am, xenl, xon,
7971166124Srafan	cols#80, it#8, lines#24, vt#3,
7972166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
7973166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
7974166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
7975166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
7976166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
7977166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
7978166124Srafan	hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
7979166124Srafan	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
7980166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
7981166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>,
7982166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
7983166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
7984166124Srafan	sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
7985166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
7986166124Srafanqvt103-w|qume qvt103 132 cols,
7987166124Srafan	cols#132, lines#24,
7988166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
7989166124Srafanqvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
7990166124Srafan	am, hs, mir, msgr,
7991166124Srafan	cols#80, lines#24, xmc#0,
7992166124Srafan	bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
7993166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
7994166124Srafan	cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
7995166124Srafan	el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
7996166124Srafan	hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
7997166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
7998166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7999166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8000166124Srafan	mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
8001166124Srafan	tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
8002166124Srafanqvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
8003166124Srafan	lines#25, use=qvt119+,
8004166124Srafanqvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
8005166124Srafan	cols#132,
8006166124Srafan	is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
8007166124Srafanqvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
8008166124Srafan	lines#25, use=qvt119+,
8009166124Srafanqvt203|qvt203+|qume qvt 203 Plus,
8010166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
8011166124Srafan	ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
8012166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
8013166124Srafan	kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103,
8014166124Srafanqvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
8015166124Srafan	cols#132, lines#24,
8016166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
801750276Speter#
801850276Speter#	Since a command is present for enabling 25 data lines,
801950276Speter#	a specific terminfo entry may be generated for the 203.
802050276Speter#	If one is desired for the QVT 119 PLUS then 25 lines must
802150276Speter#	be selected in the status line (setup line 9).
802250276Speter#
8023166124Srafanqvt203-25|QVT 203 PLUS with 25 by 80 column mode,
8024166124Srafan	cols#80, lines#25,
8025166124Srafan	is2=\E[=40h\E[?3l, use=qvt203,
8026166124Srafanqvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
8027166124Srafan	cols#132, lines#25,
8028166124Srafan	rs2=\E[?3h\E[=40h, use=qvt203,
802950276Speter
803050276Speter#### Televideo (tvi)
803150276Speter#
803250276Speter#	TeleVideo
803350276Speter#	550 East Brokaw Road
803450276Speter#	PO Box 49048    95161
803550276Speter#	San Jose CA 95112
803650276Speter#	Vox: (408)-954-8333
803750276Speter#	Fax: (408)-954-0623
803850276Speter#
803950276Speter#
8040166124Srafan# These require incredible amounts of padding.
804150276Speter#
804250276Speter# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
804350276Speter# Televideo terminals are ANSI and PC-ANSI compatible.
804450276Speter
8045166124Srafantvi803|televideo 803,
8046166124Srafan	clear=\E*$<10>, use=tvi950,
804750276Speter
804850276Speter# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
804950276Speter# Switch settings are:
8050166124Srafan#
805150276Speter# S1  1 2 3 4
805250276Speter#     D D D D  9600
805350276Speter#     D D D U    50
805450276Speter#     D D U D    75
805550276Speter#     D D U U   110
805650276Speter#     D U D D   135
805750276Speter#     D U D U   150
805850276Speter#     D U U D   300
805950276Speter#     D U U U   600
806050276Speter#     U D D D  1200
806150276Speter#     U D D U  1800
806250276Speter#     U D U D  2400
806350276Speter#     U D U U  3600
806450276Speter#     U U D D  4800
806550276Speter#     U U D U  7200
806650276Speter#     U U U D  9600
806750276Speter#     U U U U 19200
8068166124Srafan#
806950276Speter# S1  5 6 7 8
807050276Speter#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
807150276Speter#     U D X U  7N2
807250276Speter#     U U D D  7O1
807350276Speter#     U U D U  7O2
807450276Speter#     U U U D  7E1
807550276Speter#     U U U U  7E2
807650276Speter#     D D X D  8N1
807750276Speter#     D D X U  8N2
807850276Speter#     D U D D  8O1
807950276Speter#     D U U U  8E2
8080166124Srafan#
808150276Speter# S1  9  Autowrap
808250276Speter#     U  on
808350276Speter#     D  off
8084166124Srafan#
808550276Speter# S1 10  CR/LF
808650276Speter#     U  do CR/LF when CR received
808750276Speter#     D  do CR when CR received
8088166124Srafan#
808950276Speter# S2  1  Mode
809050276Speter#     U  block
809150276Speter#     D  conversational
8092166124Srafan#
809350276Speter# S2  2  Duplex
809450276Speter#     U  half
809550276Speter#     D  full
8096166124Srafan#
809750276Speter# S2  3  Hertz
809850276Speter#     U  50
809950276Speter#     D  60
8100166124Srafan#
810150276Speter# S2  4  Edit mode
810250276Speter#     U  local
810350276Speter#     D  duplex
8104166124Srafan#
810550276Speter# S2  5  Cursor type
810650276Speter#     U  underline
810750276Speter#     D  block
8108166124Srafan#
810950276Speter# S2  6  Cursor down key
811050276Speter#     U  send ^J
811150276Speter#     D  send ^V
8112166124Srafan#
811350276Speter# S2  7  Screen colour
811450276Speter#     U  green on black
811550276Speter#     D  black on green
8116166124Srafan#
811750276Speter# S2  8  DSR status (pin 6)
811850276Speter#     U  disconnected
811950276Speter#     D  connected
8120166124Srafan#
812150276Speter# S2  9  DCD status (pin 8)
812250276Speter#     U  disconnected
812350276Speter#     D  duplex
8124166124Srafan#
812550276Speter# S2 10  DTR status (pin 20)
812650276Speter#     U  disconnected
812750276Speter#     D  duplex
812850276Speter# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
812950276Speter# <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
8130166124Srafantvi910|televideo model 910,
8131166124Srafan	OTbs, am, msgr,
8132166124Srafan	cols#80, it#8, lines#24, xmc#1,
8133166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8134166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
8135166124Srafan	home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
8136166124Srafan	if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
8137166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
8138166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8139166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8140166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
814150276Speter# From: Alan R. Rogers <rogers%albany@csnet-relay>
814250276Speter# as subsequently hacked over by someone at SCO
814350276Speter# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
814450276Speter#
814550276Speter# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
814650276Speter#
814750276Speter# S1  1 2 3 4:
814850276Speter#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
814950276Speter#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
815050276Speter#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
815150276Speter#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
815250276Speter#
815350276Speter# S1  5 6 7 8:
815450276Speter#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
815550276Speter#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
815650276Speter#     D U D D  8O1     D U U U  8E2
8157166124Srafan#
815850276Speter# S1  9  Autowrap            (U = on, D = off)
815950276Speter# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
816050276Speter# S2  1  Mode                (U = block, D = conversational)
816150276Speter# S2  2  Duplex              (U =  half, D = full)
816250276Speter# S2  3  Hertz               (U = 50, D = 60)
816350276Speter# S2  4  Edit mode           (U = local, D = duplex)
816450276Speter# S2  5  Cursor type         (U = underline, D = block)
816550276Speter# S2  6  Cursor down key     (U = send ^J, D = send ^V)
816650276Speter# S2  7  Screen colour       (U = green on black, D = black on green)
816750276Speter# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
816850276Speter# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
816950276Speter# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
817050276Speter#
8171166124Srafantvi910+|televideo 910+,
8172166124Srafan	dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
8173166124Srafan	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
8174166124Srafan	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
8175166124Srafan	ll=\E=7\s, use=tvi910,
817650276Speter
817750276Speter# (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
817850276Speter# <khome> from BRL entry -- esr)
8179166124Srafantvi912|tvi914|tvi920|old televideo 912/914/920,
8180166124Srafan	OTbs, OTpt, am, msgr,
8181166124Srafan	cols#80, it#8, lines#24, xmc#1,
8182166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8183166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
8184166124Srafan	dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
8185166124Srafan	ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
8186166124Srafan	il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
8187166124Srafan	kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
8188166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
8189166124Srafan	kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
8190166124Srafan	tbc=\E3,
8191166124Srafan# We got some new tvi912c terminals that act really weird on the regular
8192166124Srafan# termcap, so one of our gurus worked this up. Seems that cursor
819350276Speter# addressing is broken.
8194166124Srafantvi912cc|tvi912 at cowell college,
8195166124Srafan	cup@, use=tvi912c,
819650276Speter
8197166124Srafan# tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
8198166124Srafan# From: Benjamin C. W. Sittler
819950276Speter#
8200166124Srafan# Someone has put a scanned copy of the manual online at:
8201166124Srafan#     http://vt100.net/televideo/912b-om/
8202166124Srafan#
8203166124Srafan# These terminals were produced ca. 1979, and had a 12" monochrome
8204166124Srafan# screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
8205166124Srafan# ASCII, and were generally similar to adm3a but with attributes
8206166124Srafan# (including some with magic cookies), fancy half-duplex mode, and
8207166124Srafan# different bugs.
8208166124Srafan#
8209166124Srafan# Some operations reqire truly incredible amounts of padding. The
8210166124Srafan# insert_line (<il1>) and delete_line (<dl1>) operations in particular
8211166124Srafan# are so slow as to be nearly unusable.
8212166124Srafan#
8213166124Srafan# There may or may not have been a separate, earlier series of 912/920
8214166124Srafan# terminals (without the "B" and "C" suffix); I have never seen one,
8215166124Srafan# and the manual only describes the "B" and "C" series. The 912 and 920
8216166124Srafan# are quite distinct from the 914 and 924, which were much nicer non-
8217166124Srafan# magic-cookie terminals similar to the 950.
8218166124Srafan#
8219166124Srafan# This is a new description for the following TeleVideo terminals,
8220166124Srafan# distinguished chiefly by their keyboards:
8221166124Srafan#
8222166124Srafan#   TVI-912B - very odd layout, no function keys (84 keys)
8223166124Srafan#   TVI-920B - typewriter layout, no function keys (103 keys)
8224166124Srafan#   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
8225166124Srafan#   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
8226166124Srafan#
8227166124Srafan# To choose a setting for the TERM variable, start with the model:
8228166124Srafan#
8229166124Srafan#    Model  || base name
8230166124Srafan# ----------||-----------
8231166124Srafan#  TVI-912B || tvi912b
8232166124Srafan#  TVI-912C || tvi912c
8233166124Srafan#  TVI-920B || tvi920b
8234166124Srafan#  TVI-920C || tvi920c
8235166124Srafan#
8236166124Srafan# Then add a suffix from the following table describing installed options
8237166124Srafan# and how you'd like to use the terminal:
8238166124Srafan#
8239166124Srafan#   Use Video | Second | Visual |  Magic  |  Page || feature
8240166124Srafan#  Attributes |  Page  |  Bell  | Cookies | Print || suffix
8241166124Srafan# ------------|--------|--------|---------|-------||---------
8242166124Srafan#      No     |   No   |  N/A   |   N/A   |   No  || -unk
8243166124Srafan#      No     |   No   |  N/A   |   N/A   |  Yes  || -p
8244166124Srafan#      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
8245166124Srafan#      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
8246166124Srafan#      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
8247166124Srafan#      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
8248166124Srafan#     Yes     |   No   |  N/A   |    No   |  N/A  ||
8249166124Srafan#     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
8250166124Srafan#     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
8251166124Srafan#     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
8252166124Srafan#     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
8253166124Srafan#     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
8254166124Srafan#
8255166124Srafan# So e.g. a model 920 C with second page memory option, visual bell
8256166124Srafan# and no magic cookies would be tvi920c-vb; a model 912 B without the
8257166124Srafan# second page memory option and using magic cookies would be
8258166124Srafan# tvi912b-mc
8259166124Srafan#
8260166124Srafan# PADDING
8261166124Srafan#
8262166124Srafan# At 9600 baud, the terminal is prone to overflow its input buffer
8263166124Srafan# during complex operations (insert/delete
8264166124Srafan# character/line/screen/page), and it does not signal this over the
8265166124Srafan# RS232 cable. The typical symptom of an overrun is that the terminal
8266166124Srafan# starts beeping, and output becomes garbled.
8267166124Srafan#
8268166124Srafan# The padding delays in this terminfo were derived using tack(1)
8269166124Srafan# running on a Linux box connected to a TVI-920C with a later-model
8270166124Srafan# (A49C1-style) ROM running at 9600 baud, so your mileage may
8271166124Srafan# vary. The numbers below seem to give the terminal enough time so
8272166124Srafan# that it doesn't overflow its input buffer and start losing
8273166124Srafan# characters.
8274166124Srafan#
8275166124Srafan# KEYS
8276166124Srafan#
8277166124Srafan# If you want to use the FUNCT key on a tvi912[bc], use the
8278166124Srafan# corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
8279166124Srafan# the following table (these also work on the 920 series):
8280166124Srafan#
8281166124Srafan# Unshifted Function Keys:
8282166124Srafan#
8283166124Srafan#  Key | capname|| Equivalent
8284166124Srafan# -----|--------||------------
8285166124Srafan#   F1 |  <kf1> || FUNCT + @
8286166124Srafan#   F2 |  <kf2> || FUNCT + A
8287166124Srafan#   F3 |  <kf3> || FUNCT + B
8288166124Srafan#   F4 |  <kf4> || FUNCT + C
8289166124Srafan#   F5 |  <kf5> || FUNCT + D
8290166124Srafan#   F6 |  <kf6> || FUNCT + E
8291166124Srafan#   F7 |  <kf7> || FUNCT + F
8292166124Srafan#   F8 |  <kf8> || FUNCT + G
8293166124Srafan#   F9 |  <kf9> || FUNCT + H
8294166124Srafan#  F10 | <kf10> || FUNCT + I
8295166124Srafan#  F11 | <kf11> || FUNCT + J
8296166124Srafan#
8297166124Srafan# Shifted Function Keys:
8298166124Srafan#
8299166124Srafan#  SHIFT + Key | capname|| Equivalent
8300166124Srafan# -------------|--------||------------
8301166124Srafan#   SHIFT + F1 | <kf12> || FUNCT + `
8302166124Srafan#   SHIFT + F2 | <kf13> || FUNCT + a
8303166124Srafan#   SHIFT + F3 | <kf14> || FUNCT + b
8304166124Srafan#   SHIFT + F4 | <kf15> || FUNCT + c
8305166124Srafan#   SHIFT + F5 | <kf16> || FUNCT + d
8306166124Srafan#   SHIFT + F6 | <kf17> || FUNCT + e
8307166124Srafan#   SHIFT + F7 | <kf18> || FUNCT + f
8308166124Srafan#   SHIFT + F8 | <kf19> || FUNCT + g
8309166124Srafan#   SHIFT + F9 | <kf20> || FUNCT + h
8310166124Srafan#  SHIFT + F10 | <kf21> || FUNCT + i
8311166124Srafan#  SHIFT + F11 | <kf22> || FUNCT + j
8312166124Srafan#
8313166124Srafan# PORTS AND SWITCH SETTINGS
8314166124Srafan#
8315166124Srafan# Here are the switch settings for the TVI-912B/TVI-920B and
8316166124Srafan# TVI-912C/TVI-920C:
8317166124Srafan#
831850276Speter# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
831950276Speter# 2: 9600	3: 4800		4: 2400		5: 1200
832050276Speter# 6:  600	7:  300		8:  150		9:   75
832150276Speter# 10: 110
832250276Speter#
832350276Speter# S2 UART/Terminal options:
832450276Speter# 		Up			Down
832550276Speter# 1:		Not used		Not allowed
832650276Speter# 2:	Alternate character set	  Standard character set
832750276Speter# 3:	    Full duplex		    Half duplex
832850276Speter# 4:	    50 Hz refresh	    60 Hz refresh
832950276Speter# 5:	      No parity		     Send parity
833050276Speter# 6:	     2 stop bits	     1 stop bit
833150276Speter# 7:	     8 data bits	     7 data bits
833250276Speter# 8:		Not used		Not allowed on Rev E or lower
833350276Speter# 9:	     Even parity	     Odd parity
833450276Speter# 10:	    Steady cursor	    Blinking cursor
833550276Speter# 	(On Rev E or lower, use W25 instead of switch 10.)
8336166124Srafan#
833750276Speter# S5 UART/Terminal options:
833850276Speter# 		Open			Closed
833950276Speter# 1:	P3-6 Not connected	DSR received on P3-6
834050276Speter# 2:	P3-8 Not connected	DCD received on P3-8
834150276Speter#
834250276Speter# 3 Open, 4 Open:		P3-20 Not connected
834350276Speter# 3 Open, 4 Closed:	DTR on when terminal is on
834450276Speter# 3 Closed, 4 Open:	DTR is connected to RTS
834550276Speter# 3 Closed, 4 Closed:	Not allowed
834650276Speter#
834750276Speter# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
834850276Speter# 		all data transmitted out of the modem port (P3) will also be
834950276Speter# 		transmitted out of the printer port (P4).
835050276Speter#
835150276Speter# 6 Open, 7 Open:		Not allowed
835250276Speter# 6 Open, 7 Closed:	20ma current loop input
835350276Speter# 6 Closed, 7 Open:	RS232 input
835450276Speter# 6 Closed, 7 Closed:	Not allowed
835550276Speter#
835650276Speter# Jumper options:
835750276Speter# If the jumper is installed, the effect will occur (the next time the terminal
835850276Speter# is switched on).
835950276Speter#
836050276Speter# S4/W31:	Enables automatic LF upon receipt of CR from
836150276Speter# 		remote or keyboard.
8362166124Srafan# S4/W32:	Enables transmission of EOT at the end of Send.  If not
836350276Speter# 		installed, a carriage return is sent.
836450276Speter# S4/W33:	Disables automatic carriage return in column 80.
8365166124Srafan# S4/W34:	Selects Page Print Mode as initial condition.  If not
836650276Speter# 		installed, Extension Mode is selected.
836750276Speter#
8368166124Srafan# NON-STANDARD CAPABILITIES
8369166124Srafan#
8370166124Srafan# Sending <u9> or <u7> returns a cursor position report in the format
8371166124Srafan# YX\r, where Y and X are as in <cup>. This format is described in
8372166124Srafan# <u8> and <u6>, but it's not clear how one should write an
8373166124Srafan# appropriate scanf string, since we need to subtract %' ' from the
8374166124Srafan# character after reading it. The <u9> capability is used by tack(1)
8375166124Srafan# to synchronize during padding tests, and seems to work for that
8376166124Srafan# purpose.
8377166124Srafan#
8378166124Srafan# This description also includes the obsolete termcap capabilities
8379166124Srafan# has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
8380166124Srafan#
8381166124Srafan# FEATURES NOT YET DESCRIBED IN THIS TERMINFO
8382166124Srafan#
8383166124Srafan# The FUNCT modifier actually works with every normal key by sending
8384166124Srafan# ^AX\r, where X is the sequence normally sent by that key. This is a
8385166124Srafan# sort of meta key not currently describable in terminfo.
8386166124Srafan#
8387166124Srafan# There are quite a few other keys (especially on the 920 models,) but
8388166124Srafan# they are for the most part only useful in block mode.
8389166124Srafan#
8390166124Srafan# These terminals have lots of forms manipulation features, mainly
8391166124Srafan# useful in block mode, including "clear X to nulls" (vs. "clear X to
8392166124Srafan# spaces"; nulls are sentinels for "send X" operations); "send X"
8393166124Srafan# operations for uploading all or part of the screen; and block-mode
8394166124Srafan# editing keys (they don't send escape sequences, but manipulate video
8395166124Srafan# memory directly). Block mode is used for local editing, and protect
8396166124Srafan# mode (in conjunction with the "write protect" attribute,
8397166124Srafan# a.k.a. half-intensity outside of protect mode) is used to control
8398166124Srafan# which parts of the screen are edited/sent/printed (by <mc0>).
8399166124Srafan#
8400166124Srafan# There are at least two major families of ROM, "early" and
8401166124Srafan# A49B1/A49C1; the major difference seems to be that the latter ROMs
8402166124Srafan# support a few extra escape sequences for manipulating the off-screen
8403166124Srafan# memory page, and for sending whole pages back to the host (mainly
8404166124Srafan# useful in block mode.) The descriptions in this file don't use any
8405166124Srafan# of those sequences: set cursor position including page (\E-PYX,
8406166124Srafan# where P is \s for page 0 and ! for page 1 [actually only the LSB of
8407166124Srafan# P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
8408166124Srafan# as in <cup>); read cursor position (\E/), which is analogous to <u9>
8409166124Srafan# and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
8410166124Srafan# are as in <cup>, and some "send page" features mainly useful for
8411166124Srafan# forms manipulation.
8412166124Srafan#
8413166124Srafan# The keyboard enable (\E") and disable (\E#) sequences are unused,
8414166124Srafan# except that a terminal reset (<is2>) enables the keyboard.
8415166124Srafan#
8416166124Srafan# Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
8417166124Srafan# enabled in <is2>, but auto-flip is very jarring so we don't use it.
8418166124Srafan#
8419166124Srafan# BUGS
8420166124Srafan#
8421166124Srafan# At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
8422166124Srafan# sequences (I infer that in some TeleVideo terminal they may invert
8423166124Srafan# and uninvert the display) so the <flash> sequence given here is a
8424166124Srafan# cheesy page-flip instead.
8425166124Srafan#
8426166124Srafan# The back_tab (<cbt>) sequence (\EI) doesn't work according to
8427166124Srafan# tack(1), so it is not included in the descriptions below.
8428166124Srafan#
8429166124Srafan# It's not clear whether auto_left_margin (<bw>) flag should be set
8430166124Srafan# for these terminals; tack says yes, so it is set here, but this
8431166124Srafan# differs from other descriptions I've seen.
8432166124Srafan#
8433166124Srafan# Extension print mode (<mc5>) echoes all characters to the printer
8434166124Srafan# port [in addition to displaying them] except for the page print mode
8435166124Srafan# sequence (<mc4>); this is a slight violation of the terminfo
8436166124Srafan# definition for <mc5> but I don't expect it to cause problems.  We
8437166124Srafan# reset to page print mode in <rs1> since it may have been enabled
8438166124Srafan# accidentally.
8439166124Srafan#
8440166124Srafan# The descriptions with plus signs (+) are building blocks.
844150276Speter
8442166124Srafantvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes),
8443166124Srafan	OTbs, OTpt, am, bw,
8444166124Srafan	cols#80, it#8, lines#24,
8445166124Srafan	bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8446166124Srafan	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>,
8447166124Srafan	dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>,
8448166124Srafan	home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>,
8449166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>,
8450166124Srafan	ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J,
8451166124Srafan	kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA,
8452166124Srafan	mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r,
8453166124Srafan	u7=\E?, u8=%c%c\r, u9=\E?,
8454166124Srafan
8455166124Srafan# This isn't included in the basic capabilities because it is
8456166124Srafan# typically unusable in combination with the full range of video
8457166124Srafan# attributes, since the magic cookie attributes turn into ASCII
8458166124Srafan# control characters, and the half-intensity ("protected") attribute
8459166124Srafan# converts all affected characters to spaces.
8460166124Srafan
8461166124Srafantvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support,
8462166124Srafan	mc0=\EP,
8463166124Srafan
8464166124Srafan# This uses half-intensity mode (<dim>) for standout (<smso>), and
8465166124Srafan# exposes no other attributes (half-intensity is the only attribute
8466166124Srafan# that does not generate a magic cookie.)
8467166124Srafan
8468166124Srafantvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support,
8469166124Srafan	msgr,
8470166124Srafan	dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(,
8471166124Srafan	smso=\E),
8472166124Srafan
8473166124Srafan# Full magic-cookie attribute support, with half-intensity reverse
8474166124Srafan# video for standout. Note that we add a space in the <dim> sequence
8475166124Srafan# to give a consistent magic-cookie count. Also note that <sgr> uses
8476166124Srafan# backspacing (in the TVI-supported order) to apply all requested
8477166124Srafan# attributes with only a single magic cookie.
8478166124Srafan
8479166124Srafantvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support,
8480166124Srafan	xmc#1,
8481166124Srafan	blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek,
8482166124Srafan	rmul=\Em,
8483166124Srafan	sgr=\E%?%p1%p5%|%t)%e(%; \010\E%?%p1%p3%|%tj%ek%;\010\E%?%p2%tl%em%;\010\E%?%p7%t_%e%?%p4%t\^%eq%;%;,
8484166124Srafan	sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El,
8485166124Srafan
8486166124Srafan# This uses the second page memory option to save & restore screen
8487166124Srafan# contents. If your terminal is missing the option, this description
8488166124Srafan# should still work, but that has not been tested.
8489166124Srafan
8490166124Srafantvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support,
8491166124Srafan	flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s,
8492166124Srafan	smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>,
8493166124Srafan
8494166124Srafan# This simulates flashing by briefly toggling to the other page
8495166124Srafan# (kludge!)
8496166124Srafan
8497166124Srafantvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support,
8498166124Srafan	bel=\EK$<100>\EK, use=tvi912b+2p,
8499166124Srafan
8500166124Srafan# Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
8501166124Srafan
8502166124Srafantvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support,
8503166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r,
8504166124Srafan	kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r,
8505166124Srafan	kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r,
8506166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
8507166124Srafan	kf8=^AG\r, kf9=^AH\r,
8508166124Srafan
8509166124Srafan# Combinations of the basic building blocks
8510166124Srafan
8511166124Srafantvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes),
8512166124Srafan	use=tvi912b+2p, use=tvi912b-unk,
8513166124Srafan
8514166124Srafantvi912b-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),
8515166124Srafan	use=tvi912b+vb, use=tvi912b-unk,
8516166124Srafan
8517166124Srafantvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print),
8518166124Srafan	use=tvi912b+printer, use=tvi912b-unk,
8519166124Srafan
8520166124Srafantvi912b-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),
8521166124Srafan	use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk,
8522166124Srafan
8523166124Srafantvi912b-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),
8524166124Srafan	use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk,
8525166124Srafan
8526166124Srafantvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute),
8527166124Srafan	use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk,
8528166124Srafan
8529166124Srafantvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies),
8530166124Srafan	use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk,
8531166124Srafan
8532166124Srafantvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute),
8533166124Srafan	use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk,
8534166124Srafan
8535166124Srafantvi912b-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),
8536166124Srafan	use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk,
8537166124Srafan
8538166124Srafantvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute),
8539166124Srafan	use=tvi912b+dim, use=tvi912b-unk,
8540166124Srafan
8541166124Srafantvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies),
8542166124Srafan	use=tvi912b+mc, use=tvi912b-unk,
8543166124Srafan
8544166124Srafantvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes),
8545166124Srafan	use=tvi920b+fn, use=tvi912b-unk,
8546166124Srafan
8547166124Srafantvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes),
8548166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk,
8549166124Srafan
8550166124Srafantvi920b-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),
8551166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk,
8552166124Srafan
8553166124Srafantvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print),
8554166124Srafan	use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk,
8555166124Srafan
8556166124Srafantvi920b-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),
8557166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer,
8558166124Srafan	use=tvi912b-unk,
8559166124Srafan
8560166124Srafantvi920b-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),
8561166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer,
8562166124Srafan	use=tvi912b-unk,
8563166124Srafan
8564166124Srafantvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute),
8565166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim,
8566166124Srafan	use=tvi912b-unk,
8567166124Srafan
8568166124Srafantvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies),
8569166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc,
8570166124Srafan	use=tvi912b-unk,
8571166124Srafan
8572166124Srafantvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute),
8573166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim,
8574166124Srafan	use=tvi912b-unk,
8575166124Srafan
8576166124Srafantvi920b-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),
8577166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc,
8578166124Srafan	use=tvi912b-unk,
8579166124Srafan
8580166124Srafantvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute),
8581166124Srafan	use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk,
8582166124Srafan
8583166124Srafantvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies),
8584166124Srafan	use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk,
8585166124Srafan
858650276Speter# Televideo 921 and variants
858750276Speter# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
858850276Speter# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
858950276Speter# also added empty <acsc> to suppress tic warning -- esr)
8590166124Srafantvi921|televideo model 921 with sysline same as page & real vi function,
8591166124Srafan	OTbs, OTpt, am, hs, xenl, xhp,
8592166124Srafan	cols#80, lines#24, xmc#0,
8593166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
8594166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
8595166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
8596166124Srafan	el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
8597166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
8598166124Srafan	is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
8599166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
8600166124Srafan	ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%,
8601166124Srafan	rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr,
860250276Speter# without the beeper
860350276Speter# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
860450276Speter# also added empty <acsc> to suppress tic warning -- esr)
8605166124Srafantvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
8606166124Srafan	am, hs, xenl, xhp,
8607166124Srafan	cols#80, lines#24, xmc#0,
8608166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
8609166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
8610166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
8611166124Srafan	el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
8612166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
8613166124Srafan	invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
8614166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
8615166124Srafan	kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
8616166124Srafan	nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr,
861750276Speter# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
8618166124Srafantvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
8619166124Srafan	dl1=\ER$<2*/>, il1=\EE$<2*/>,
8620166124Srafan	is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
8621166124Srafan	kil1=\EE$<2*/>, use=tvi92B,
862250276Speter
862350276Speter# (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
862450276Speter# in from a BSD termcap file because it looks like they do something the
862550276Speter# old ones skip -- esr)
8626166124Srafantvi924|televideo tvi924,
8627166124Srafan	am, bw, hs, in, mir, msgr, xenl, xon,
8628166124Srafan	cols#80, it#8, lines#24, wsl#80, xmc#0,
8629166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
8630166124Srafan	cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
8631166124Srafan	cub1=^H, cud1=^V, cuf1=^L,
8632166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
8633166124Srafan	dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
8634166124Srafan	flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
8635166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
8636166124Srafan	invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
8637166124Srafan	kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
8638166124Srafan	kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
8639166124Srafan	kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
8640166124Srafan	kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
8641166124Srafan	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
8642166124Srafan	kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
8643166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
8644166124Srafan	pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef,
8645166124Srafan	use=adm+sgr,
864650276Speter
864750276Speter# TVI925 DIP switches.  In each of these, D = Down and U = Up,
864850276Speter#
864950276Speter# Here are the settings for the external (baud) switches (S1):
865050276Speter#
865150276Speter#             Position		Baud
865250276Speter# 7	8	9	10		[Printer]
865350276Speter# 1	2	3	4		[Main RS232]
865450276Speter# -----------------------------------------------------
865550276Speter# D	D	D	D	9600
865650276Speter# D	D	D	U	  50
865750276Speter# D	D	U	D	  75
865850276Speter# D	D	U	U	 110
865950276Speter# D	U	D	D	 135
866050276Speter# D	U	D	U	 150
866150276Speter# D	U	U	D	 300
866250276Speter# D	U	U	U	 600
866350276Speter# U	D	D	D	1200
866450276Speter# U	D	D	U	1800
866550276Speter# U	D	U	D	2400
866650276Speter# U	D	U	U	3600
866750276Speter# U	U	D	D	4800
866850276Speter# U	U	D	U	7200
866950276Speter# U	U	U	D	9600
867050276Speter# U	U	U	U	19200
8671166124Srafan#
8672166124Srafan#
867350276Speter# Settings for word length and stop-bits (S1)
867450276Speter#
867550276Speter#  Position	Description
8676166124Srafan# 5	6
867750276Speter# ---------------------------
867850276Speter# U	-	7-bit word
867950276Speter# D	-	8-bit word
868050276Speter# -	U	2 stop bits
868150276Speter# -	D	1 stop bit
8682166124Srafan#
8683166124Srafan#
868450276Speter# S2 (external) settings
868550276Speter#
868650276Speter# Position	Up	Dn	Description
868750276Speter# --------------------------------------------
868850276Speter# 1		X		Local edit
868950276Speter# 			X	Duplex edit (transmit editing keys)
869050276Speter# --------------------------------------------
869150276Speter# 2		X		912/920 emulation
869250276Speter# 			X	925
869350276Speter# --------------------------------------------
869450276Speter# 3			X
869550276Speter# 4			X	No parity
8696166124Srafan# 5			X
869750276Speter# --------------------------------------------
869850276Speter# 3			X
869950276Speter# 4			X	Odd parity
8700166124Srafan# 5		X
870150276Speter# --------------------------------------------
870250276Speter# 3			X
870350276Speter# 4		X		Even parity
8704166124Srafan# 5		X
870550276Speter# --------------------------------------------
8706166124Srafan# 3		X
870750276Speter# 4			X	Mark parity
8708166124Srafan# 5		X
870950276Speter# --------------------------------------------
871050276Speter# 3		X
871150276Speter# 4		X		Space parity
871250276Speter# 5		X
871350276Speter# --------------------------------------------
871450276Speter# 6		X		White on black display
871550276Speter# 			X	Black on white display
871650276Speter# --------------------------------------------
871750276Speter# 7			X	Half Duplex
871850276Speter# 8			X
871950276Speter# --------------------------------------------
872050276Speter# 7		X		Full Duplex
8721166124Srafan# 8			X
872250276Speter# --------------------------------------------
872350276Speter# 7			X	Block mode
8724166124Srafan# 8		X
872550276Speter# --------------------------------------------
872650276Speter# 9			X	50 Hz
872750276Speter# 		X		60 Hz
872850276Speter# --------------------------------------------
872950276Speter# 10		X		CR/LF (Auto LF)
873050276Speter# 			X	CR only
8731166124Srafan#
873250276Speter# S3 (internal switch) settings:
8733166124Srafan#
873450276Speter# Position	Up	Dn	Description
873550276Speter# --------------------------------------------
8736166124Srafan# 1		X		Keyclick off
873750276Speter# 			X	Keyclick on
873850276Speter# --------------------------------------------
873950276Speter# 2			X	English
8740166124Srafan# 3			X
874150276Speter# --------------------------------------------
874250276Speter# 2			X	German
8743166124Srafan# 3		X
874450276Speter# --------------------------------------------
874550276Speter# 2		X		French
8746166124Srafan# 3			X
874750276Speter# --------------------------------------------
874850276Speter# 2		X		Spanish
8749166124Srafan# 3		X
875050276Speter# --------------------------------------------
875150276Speter# 4			X	Blinking block cursor
8752166124Srafan# 5			X
875350276Speter# --------------------------------------------
875450276Speter# 4			X	Blinking underline cursor
8755166124Srafan# 5		X
875650276Speter# --------------------------------------------
875750276Speter# 4		X		Steady block cursor
8758166124Srafan# 5			X
875950276Speter# --------------------------------------------
876050276Speter# 4		X		Steady underline cursor
8761166124Srafan# 5		X
876250276Speter# --------------------------------------------
876350276Speter# 6		X		Screen blanking timer (ON)
876450276Speter# 			X	Screen blanking timer (OFF)
876550276Speter# --------------------------------------------
876650276Speter# 7		X		Page attributes
876750276Speter# 			X	Line attributes
876850276Speter# --------------------------------------------
876950276Speter# 8		X		DCD disconnected
877050276Speter# 			X	DCD connected
877150276Speter# --------------------------------------------
877250276Speter# 9		X		DSR disconnected
877350276Speter# 			X	DSR connected
877450276Speter# --------------------------------------------
877550276Speter# 10		X		DTR Disconnected
877650276Speter# 			X	DTR connected
877750276Speter# --------------------------------------------
877850276Speter#
877950276Speter# (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
8780166124Srafantvi925|televideo 925,
8781166124Srafan	OTbs, am, bw, hs, ul,
8782166124Srafan	cols#80, lines#24, xmc#1,
8783166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
8784166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8785166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
8786166124Srafan	flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
8787166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
8788166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
8789166124Srafan	ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
8790166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
8791166124Srafan	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
8792166124Srafan	tsl=\Eh\Ef, use=adm+sgr,
879350276Speter# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
879450276Speter# to avoid "magic cookie" standout glitch:
8795166124Srafantvi925-hi|TeleVideo Model 925 with half intensity standout mode,
8796166124Srafan	xmc@,
8797166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
879850276Speter
879950276Speter# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
880050276Speter# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
8801166124Srafan# for additional capabilities,
880250276Speter# The following tvi descriptions from B:pjphar and virus!mike
880350276Speter# is for all 950s.  It sets the following attributes:
880450276Speter# full duplex (\EDF)		write protect off (\E()
880550276Speter# conversation mode (\EC)	graphics mode off (\E%)
880650276Speter# white on black (\Ed)		auto page flip off (\Ew)
880750276Speter# turn off status line (\Eg)	clear status line (\Ef\r)
880850276Speter# normal video (\E0)		monitor mode off (\EX or \Eu)
880950276Speter# edit mode (\Er)		load blank char to space (\Ee\040)
881050276Speter# line edit mode (\EO)		enable buffer control (^O)
881150276Speter# protect mode off (\E\047)	duplex edit keys (\El)
881250276Speter# program unshifted send key to send line all (\E016)
881350276Speter# program shifted send key to send line unprotected (\E004)
881450276Speter# set the following to nulls:
881550276Speter#	field delimiter (\Ex0\200\200)
881650276Speter#	line delimiter (\Ex1\200\200)
881750276Speter#	start-protected field delimiter (\Ex2\200\200)
881850276Speter#	end-protected field delimiter (\Ex3\200\200)
881950276Speter# set end of text delimiter to carriage return/null (\Ex4\r\200)
8820166124Srafan#
882150276Speter#                     TVI 950 Switch Setting Reference Charts
8822166124Srafan#
882350276Speter#                                     TABLE 1:
8824166124Srafan#
882550276Speter#      S1     1     2     3     4     5     6     7     8     9    10
882650276Speter#          +-----------------------+-----+-----+-----------------------+
882750276Speter#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
882850276Speter#          |                       |Bits |Bits |                       |
882950276Speter#   +------+-----------------------+-----+-----+-----------------------+
883050276Speter#   |  Up  |        See            |  7  |  2  |        See            |
883150276Speter#   +------+-----------------------+-----+-----+-----------------------+
883250276Speter#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
883350276Speter#   +------+-----------------------+-----+-----+-----------------------+
8834166124Srafan#
8835166124Srafan#
883650276Speter#      S2     1     2     3     4     5     6     7     8     9    10
883750276Speter#          +-----+-----+-----------------+-----+-----------+-----+-----+
883850276Speter#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
883950276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
884050276Speter#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
884150276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
884250276Speter#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
884350276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
8844166124Srafan#
884550276Speter#                                    TABLE 2:
8846166124Srafan#
884750276Speter#             +-----------+-----+-----+-----+-----+-----------+
884850276Speter#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
884950276Speter#             +-----------+-----+-----+-----+-----+           |
885050276Speter#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
885150276Speter#             +-----------+-----+-----+-----+-----+-----------+
885250276Speter#                         |  D  |  D  |  D  |  D  |   9600    |
885350276Speter#                         |  U  |  D  |  D  |  D  |     50    |
885450276Speter#                         |  D  |  U  |  D  |  D  |     75    |
885550276Speter#                         |  U  |  U  |  D  |  D  |    110    |
885650276Speter#                         |  D  |  D  |  U  |  D  |    135    |
885750276Speter#                         |  U  |  D  |  U  |  D  |    150    |
885850276Speter#                         |  D  |  U  |  U  |  D  |    300    |
885950276Speter#                         |  U  |  U  |  U  |  D  |    600    |
886050276Speter#                         |  D  |  D  |  D  |  U  |   1200    |
886150276Speter#                         |  U  |  D  |  D  |  U  |   1800    |
886250276Speter#                         |  D  |  U  |  D  |  U  |   2400    |
886350276Speter#                         |  U  |  U  |  D  |  U  |   3600    |
886450276Speter#                         |  D  |  D  |  U  |  U  |   4800    |
886550276Speter#                         |  U  |  D  |  U  |  U  |   7200    |
886650276Speter#                         |  D  |  U  |  U  |  U  |   9600    |
886750276Speter#                         |  U  |  U  |  U  |  U  |  19200    |
886850276Speter#                         +-----+-----+-----+-----+-----------+
8869166124Srafan#
887050276Speter#                                    TABLE 3:
887150276Speter#                         +-----+-----+-----+-----------+
887250276Speter#                         |  3  |  4  |  5  |   Parity  |
887350276Speter#                         +-----+-----+-----+-----------+
887450276Speter#                         |  X  |  X  |  D  |    None   |
887550276Speter#                         |  D  |  D  |  U  |     Odd   |
887650276Speter#                         |  D  |  U  |  U  |    Even   |
887750276Speter#                         |  U  |  D  |  U  |    Mark   |
887850276Speter#                         |  U  |  U  |  U  |   Space   |
887950276Speter#                         +-----+-----+-----+-----------+
888050276Speter#                                 X = don't care
8881166124Srafan#
888250276Speter#                                     CHART:
888350276Speter#                         +-----+-----+-----------------+
888450276Speter#                         |  7  |  8  | Communication   |
888550276Speter#                         +-----+-----+-----------------+
888650276Speter#                         |  D  |  D  |  Half Duplex    |
888750276Speter#                         |  D  |  U  |  Full Duplex    |
888850276Speter#                         |  U  |  D  |     Block       |
888950276Speter#                         |  U  |  U  |     Local       |
889050276Speter#                         +-----+-----+-----------------+
8891166124Srafan#
8892166124Srafan# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
8893166124Srafan# I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
889450276Speter# should be present and all tvi native modes use the same string for this.
8895166124Srafan# Finally, note that BSD has cud1=^V. -- esr)
8896166124Srafantvi950|televideo 950,
8897166124Srafan	OTbs, am, hs, mir, msgr, xenl, xon,
8898166124Srafan	cols#80, it#8, lines#24, xmc#1,
8899166124Srafan	acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
8900166124Srafan	cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8901166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
8902166124Srafan	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
8903166124Srafan	fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
8904166124Srafan	invis@,
8905166124Srafan	is2=\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,
8906166124Srafan	kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
8907166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
8908166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8909166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8910166124Srafan	kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
8911166124Srafan	rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
8912166124Srafan	use=adm+sgr,
891350276Speter#
891450276Speter# is for 950 with two pages adds the following:
891550276Speter#	set 48 line page (\E\\2)
891650276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
891750276Speter#	set local (no send) edit keys (\Ek)
891850276Speter#
891950276Speter# two page 950 adds the following:
892050276Speter#	when entering ex, set 24 line page (\E\\1)
892150276Speter#	when exiting ex, reset 48 line page (\E\\2)
892250276Speter#			 place cursor at 0,24,1 (\E-07 )
892350276Speter#	set duplex (send) edit keys (\El) when entering vi
892450276Speter#	set local (no send) edit keys (\Ek) when exiting vi
892550276Speter#
8926166124Srafantvi950-2p|televideo950 w/2 pages,
8927166124Srafan	is2=\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,
8928166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
8929166124Srafan	smkx=\El, use=tvi950,
893050276Speter#
893150276Speter# is for 950 with four pages adds the following:
893250276Speter#	set 96 line page (\E\\3)
893350276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
893450276Speter#
893550276Speter# four page 950 adds the following:
893650276Speter#	when entering ex, set 24 line page (\E\\1)
893750276Speter#	when exiting ex, reset 96 line page (\E\\3)
893850276Speter#			 place cursor at 0,24,1 (\E-07 )
893950276Speter#
8940166124Srafantvi950-4p|televideo950 w/4 pages,
8941166124Srafan	is2=\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,
8942166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
8943166124Srafan	smkx=\El, use=tvi950,
894450276Speter#
894550276Speter# <is2> for reverse video 950 changes the following:
894650276Speter#	set reverse video (\Ed)
894750276Speter#
894850276Speter# set vb accordingly (\Ed ...delay... \Eb)
894950276Speter#
8950166124Srafantvi950-rv|televideo950 rev video,
8951166124Srafan	flash=\Ed$<200/>\Eb,
8952166124Srafan	is2=\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,
8953166124Srafan	use=tvi950,
895450276Speter
895550276Speter# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
8956166124Srafantvi950-rv-2p|televideo950 rev video w/2 pages,
8957166124Srafan	flash=\Ed$<200/>\Eb,
8958166124Srafan	is2=\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,
8959166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
8960166124Srafan	smkx=\El, use=tvi950,
896150276Speter
896250276Speter# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
8963166124Srafantvi950-rv-4p|televideo950 rev video w/4 pages,
8964166124Srafan	flash=\Ed$<200/>\Eb,
8965166124Srafan	is2=\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,
8966166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
8967166124Srafan	smkx=\El, use=tvi950,
896850276Speter# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
896950276Speter# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
897050276Speter# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
897150276Speter# the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
897250276Speter# the :ko: string had :cl: in it, which means that one of the original
897350276Speter# <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
897450276Speter# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
897550276Speter# ko implies -- esr)
897650276Speter# If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
897750276Speter# also work.
8978166124Srafantvi955|televideo 955,
8979166124Srafan	OTbs, mc5i, msgr@,
8980166124Srafan	it#8, xmc@,
8981166124Srafan	acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
8982166124Srafan	civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
8983166124Srafan	cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
8984166124Srafan	is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
8985166124Srafan	knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%,
8986166124Srafan	rmam=\E[=7l, rmxon=^N,
8987166124Srafan	rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
8988166124Srafan	sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
8989166124Srafan	use=tvi950,
8990166124Srafantvi955-w|955-w|televideo955 w/132 cols,
8991166124Srafan	cols#132,
8992166124Srafan	is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
899350276Speter# use half-intensity as normal mode, full intensity as <bold>
8994166124Srafantvi955-hb|955-hb|televideo955 half-bright,
8995166124Srafan	bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
8996166124Srafan	sgr0=\EG0\E[=5h, use=tvi955,
899750276Speter# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
899850276Speter# (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
899950276Speter# added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
900050276Speter# According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
900150276Speter# it does to the function keys.  I deduced <rmam>/<smam>.
900250276Speter# also added empty <acsc> to suppress tic warning,  -- esr)
9003166124Srafantvi970|televideo 970,
9004166124Srafan	OTbs, OTpt, am, da, db, mir, msgr,
9005166124Srafan	cols#80, it#8, lines#24,
9006166124Srafan	acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
9007166124Srafan	cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
9008166124Srafan	cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
9009166124Srafan	ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
9010166124Srafan	hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
9011166124Srafan	is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
9012166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
9013166124Srafan	kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
9014166124Srafan	kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
9015166124Srafan	rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
9016166124Srafan	sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
9017166124Srafan	smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
9018166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd,
9019166124Srafantvi970-vb|televideo 970 with visual bell,
9020166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
9021166124Srafan	use=tvi970,
9022166124Srafantvi970-2p|televideo 970 with using 2 pages of memory,
9023166124Srafan	rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
9024166124Srafan	use=tvi970,
902550276Speter# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
902650276Speter# per line (rather than 40), Esc K chooses the normal character set.  Not sure
9027166124Srafan# padding is needed, but adapted from the tvi920c termcap.  The <smso> and
902850276Speter# <smul> strings are klutzy, but at least use no screen space.
902950276Speter# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
903050276Speter# its absence means <smam>=\Ev isn't safe to use. -- esr)
9031166124Srafan# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
903250276Speter# The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
903350276Speter# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
9034166124Srafantvipt|televideo personal terminal,
9035166124Srafan	OTbs, am,
9036166124Srafan	cols#80, lines#24,
9037166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
9038166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
9039166124Srafan	ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
9040166124Srafan	il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
9041166124Srafan	kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
9042166124Srafan	rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
904350276Speter# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
9044166124Srafantvi9065|televideo 9065,
9045166124Srafan	am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
9046166124Srafan	cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
9047166124Srafan	wnum#0, wsl#30,
9048166124Srafan	acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
9049166124Srafan	blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
9050166124Srafan	cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
9051166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
9052166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
9053166124Srafan	cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
9054166124Srafan	dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
9055166124Srafan	el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
9056166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
9057166124Srafan	il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
9058166124Srafan	ip=$<3>,
9059166124Srafan	is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
9060166124Srafan	is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
9061166124Srafan	kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
9062166124Srafan	kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
9063166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
9064166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
9065166124Srafan	mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
9066166124Srafan	pfkey=\E|%p1%{48}%+%c3%p2%s\031,
9067166124Srafan	pfloc=\E|%p1%{48}%+%c2%p2%s\031,
9068166124Srafan	pfx=\E|%p1%{48}%+%c1%p2%s\031,
9069166124Srafan	pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
9070166124Srafan	rep=\E[%p2%db%p1%c, rev=\EG4,
9071166124Srafan	rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
9072166124Srafan	rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
9073166124Srafan	rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
9074166124Srafan	rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
9075166124Srafan	rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1,
9076166124Srafan	rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
9077262685Sdelphij	sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p8%t\E&%;%?%p9%t\E$%e\E%%%;,
9078262685Sdelphij	sgr0=\EG0\E%, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
9079166124Srafan	smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
9080166124Srafan	tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
908150276Speter
908250276Speter#### Visual (vi)
908350276Speter#
908450276Speter# In September 1993, Visual Technology of Westboro, Massachusetts,
908550276Speter# merged with White Pine Software of Nashua, New Hampshire.
908650276Speter#
908750276Speter# White Pine Software may be contacted at +1 603/886-9050.
908850276Speter# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
908950276Speter#
909050276Speter
909150276Speter# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
909250276Speter# Recently I hacked together the following termcap for Visual
909350276Speter# Technology's Visual 50 terminal. It's a slight modification of
9094166124Srafan# the vt52 termcap.
909550276Speter# It's intended to run when the Visual 50 is in vt52 emulation mode
909650276Speter# (I know what you're thinking; if it's emulating a vt52, then why
909750276Speter# another termcap? Well, it turns out that the Visual 50 can handle
909850276Speter# <dl1> and db(?) among other things, which the vt52 can't)
909950276Speter# The termcap works OK for the most part. The only problem is on
910050276Speter# character inserts. The whole line gets painfully redrawn for each
910150276Speter# character typed. Any suggestions?
910250276Speter# Beau's entry is combined with the vi50 entry from University of Wisconsin.
910350276Speter# Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
910450276Speter# disguise; <kf7>-<kf9> are really l1-l3.
9105166124Srafanvi50|visual 50,
9106166124Srafan	OTbs, OTpt, am, da, db, msgr,
9107166124Srafan	cols#80, it#8, lines#24,
9108166124Srafan	OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
9109166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
9110166124Srafan	cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
9111166124Srafan	ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
9112166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
9113166124Srafan	kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
9114166124Srafan	nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
911550276Speter# this one was BSD & SCO's vi50
9116166124Srafanvi50adm|visual 50 in adm3a mode,
9117166124Srafan	am, msgr,
9118166124Srafan	cols#80, it#8, lines#24,
9119166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
9120166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
9121166124Srafan	ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
9122166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
9123166124Srafan	rmso=\ET, smso=\EU,
912462449Speter# From: Jeff Siegal <jbs@quiotix.com>
9125166124Srafanvi55|Visual 55,
9126166124Srafan	OTbs, am, mir, msgr,
9127166124Srafan	cols#80, it#8, lines#24,
9128166124Srafan	clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
9129166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
9130166124Srafan	cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
9131166124Srafan	il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
9132166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
9133166124Srafan	smir=\Ea, smso=\EU,
913450276Speter
913550276Speter# Visual 200 from BRL
913650276Speter# The following switch settings are assumed for normal operation:
913750276Speter#	FULL_DUPLEX		SCROLL			CR
913850276Speter#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
913950276Speter# Other switches may be set for operator convenience or communication
914050276Speter# requirements.
914150276Speter# Character insertion is kludged in order to get around the "beep" misfeature.
914250276Speter# (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
914350276Speter# Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
914450276Speter# and <dl1> strings, but we seem to get along fine without them.
9145166124Srafanvi200|visual 200,
9146166124Srafan	OTbs, OTpt, am, mir, msgr,
9147166124Srafan	OTkn#10, cols#80, it#8, lines#24,
9148166124Srafan	acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
9149166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
9150166124Srafan	cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
9151166124Srafan	el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
9152166124Srafan	kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
9153166124Srafan	kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
9154166124Srafan	kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
9155166124Srafan	kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
9156166124Srafan	kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
9157166124Srafan	rmacs=\EG, rmkx=\E>, rmso=\E3,
9158166124Srafan	rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
9159166124Srafan	smkx=\E=, smso=\E4, tbc=\Eg,
916050276Speter# The older Visuals didn't come with function keys. This entry uses
916150276Speter# <smkx> and <rmkx> so that the keypad keys can be used as function keys.
916250276Speter# If your version of vi doesn't support function keys you may want
916350276Speter# to use vi200-f.
9164166124Srafanvi200-f|visual 200 no function keys,
9165166124Srafan	is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
9166166124Srafan	kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
9167166124Srafan	kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
9168166124Srafan	use=vi200,
9169166124Srafanvi200-rv|visual 200 reverse video,
9170166124Srafan	cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
917150276Speter
917250276Speter# the function keys are programmable but we don't reprogram them to their
917350276Speter# default values with <is2> because programming them is very verbose. maybe
917450276Speter# an initialization file should be made for the 300 and they could be stuck
917550276Speter# in it.
917650276Speter# (vi300: added <rmam>/<smam> based on init string -- esr)
9177166124Srafanvi300|visual 300 ansi x3.64,
9178166124Srafan	am, bw, mir, xenl,
9179166124Srafan	cols#80, lines#24,
9180166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
9181166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
9182166124Srafan	dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
9183166124Srafan	il1=\E[L, ind=^J,
9184166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
9185166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
9186166124Srafan	kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
9187166124Srafan	kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
9188166124Srafan	kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
9189166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
9190166124Srafan	smso=\E[1m, smul=\E[4m,
919150276Speter# some of the vi300s have older firmware that has the command
919250276Speter# sequence for setting editing extent reversed.
9193166124Srafanvi300-old|visual 300 with old firmware (set edit extent reversed),
9194166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
9195166124Srafan	use=vi300,
919650276Speter
919750276Speter# Visual 500 prototype entry from University of Wisconsin.
919850276Speter# The best place to look for the escape sequences is page A1-1 of the
919950276Speter# Visual 500 manual.  The initialization sequence given here may be
920050276Speter# overkill, but it does leave out some of the initializations which can
920150276Speter# be done with the menus in set-up mode.
920250276Speter# The :xp: line below is so that emacs can understand the padding requirements
920350276Speter# of this slow terminal.  :xp: is 10 time the padding factor.
920450276Speter# (vi500: removed unknown :xp#4: termcap;
920550276Speter# also added empty <acsc> to suppress tic warning -- esr)
9206166124Srafanvi500|visual 500,
9207166124Srafan	am, mir, msgr,
9208166124Srafan	cols#80, it#8, lines#33,
9209166124Srafan	acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
9210166124Srafan	csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
9211166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
9212166124Srafan	dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
9213166124Srafan	el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
9214166124Srafan	ind=^J,
9215166124Srafan	is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
9216166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
9217166124Srafan	khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
9218166124Srafan	rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
921950276Speter
922050276Speter# The visual 550 is a visual 300 with tektronix graphics,
922150276Speter# and with 33 lines. clear screen is modified here to
922250276Speter# also clear the graphics.
9223166124Srafanvi550|visual 550 ansi x3.64,
9224166124Srafan	lines#33,
9225166124Srafan	clear=\030\E[H\E[2J, use=vi300,
922650276Speter
9227166124Srafanvi603|visual603|visual 603,
9228166124Srafan	hs, mir,
9229166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
9230166124Srafan	csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
9231166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
9232166124Srafan	dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
9233166124Srafan	ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
9234166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
9235166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
9236166124Srafan	use=vt100,
923750276Speter
923850276Speter#### Wyse (wy)
923950276Speter#
924050276Speter#	Wyse Technology
924150276Speter#	3471 North First Street
924250276Speter#	San Jose, CA 95134
924350276Speter#	Vox: (408)-473-1200
924450276Speter#	Fax: (408) 473-1222
924550276Speter#	Web: http://www.wyse.com
924650276Speter#
924750276Speter# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
924850276Speter# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
924950276Speter# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
925050276Speter# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
925150276Speter#
925250276Speter# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
925350276Speter# They now own the Qume and Amdek brands, too.  So these are the people to
925450276Speter# talk with about all Link, Qume, and Amdek terminals.
925550276Speter#
925650276Speter# These entries include a few small fixes.
925750276Speter# I canceled the bel capacities in the vb entries.
925850276Speter# I made two trivial syntax fixes in the wyse30 entry.
925950276Speter# I made some entries relative to adm+sgr.
926050276Speter#
926150276Speter#
926250276Speter# Note: The wyse75, wyse85, and wyse99 have been discontinued.
926350276Speter
926450276Speter#	   Although the Wyse 30 can support more than one attribute
926550276Speter#	it requires magic cookies to do so.  Many applications do not
926650276Speter#	function well with magic cookies.  The following terminfo uses
926750276Speter#	the protect mode to support one attribute (dim) without cookies.
926850276Speter#	If more than one attribute is needed then the wy30-mc terminfo
926950276Speter#	should be used.
927050276Speter#
9271166124Srafanwy30|wyse30|Wyse 30,
9272166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
9273166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
9274166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
9275166124Srafan	civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
9276166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
9277166124Srafan	cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
9278166124Srafan	dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
9279166124Srafan	fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
9280166124Srafan	ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
9281166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
9282166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
9283166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
9284166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
9285166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
9286166124Srafan	mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
9287166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
9288166124Srafan	rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
9289166124Srafan	sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
9290166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
9291166124Srafan	smso=\E`7\E), tbc=\E0, tsl=\EF,
929250276Speter#
929350276Speter#	This terminal description uses the non-hidden attribute mode
929450276Speter#	(with magic cookie).
929550276Speter#
929650276Speter# (wy30-mc: added <smcup> to suppress tic warning --esr)
9297166124Srafanwy30-mc|wyse30-mc|wyse 30 with magic cookies,
9298166124Srafan	msgr@,
9299166124Srafan	ma@, xmc#1,
9300166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
9301166124Srafan	rmcup=\EG0, rmso=\EG0,
9302166124Srafan	sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
9303166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
9304166124Srafan	smso=\EG4, use=wy30, use=adm+sgr,
930550276Speter#	The mandatory pause used by <flash> does not work with
930650276Speter#	older versions of terminfo.  If you see this effect then
930750276Speter#	unset xon and delete the / from the delay.
930850276Speter#	i.e. change $<100/> to $<100>
9309166124Srafanwy30-vb|wyse30-vb|wyse 30 visible bell,
9310166124Srafan	bel@, use=wy30,
931150276Speter#
931250276Speter#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
931350276Speter#	Normal) without magic cookies by using the protect mode.
931450276Speter#	The following description uses this feature, but when more
931550276Speter#	than one attribute is put on the screen at once, all attributes
931650276Speter#	will be changed to be the same as the last attribute given.
931750276Speter#	   The Wyse 50 can support more attributes when used with magic
931850276Speter#	cookies.  The wy50-mc terminal description uses magic cookies
931950276Speter#	to correctly handle multiple attributes on a screen.
932050276Speter#
9321166124Srafanwy50|wyse50|Wyse 50,
9322166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
9323166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
9324166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
9325166124Srafan	civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
9326166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
9327166124Srafan	cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
9328166124Srafan	ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
9329166124Srafan	home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
9330166124Srafan	is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
9331166124Srafan	kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
9332166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
9333166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
9334166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
9335166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
9336166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
9337166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
9338166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
9339166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
9340166124Srafan	ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
9341166124Srafan	sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
9342166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
9343166124Srafan	smso=\E`6\E), tbc=\E0, tsl=\EF,
934450276Speter#
934550276Speter#	This terminal description uses the non-hidden attribute mode
934650276Speter#	(with magic cookie).
934750276Speter#
934850276Speter#	The mandatory pause used by flash does not work with some
934950276Speter#	older versions of terminfo.  If you see this effect then
935050276Speter#	unset <xon> and delete the / from the delay.
935150276Speter#	i.e. change $<100/> to $<100>
935250276Speter# (wy50-mc: added <smcup> to suppress tic warning --esr)
9353166124Srafanwy50-mc|wyse50-mc|wyse 50 with magic cookies,
9354166124Srafan	msgr@,
9355166124Srafan	ma@, xmc#1,
9356166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
9357166124Srafan	rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
9358166124Srafan	sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
9359166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
9360166124Srafan	smso=\EGt, use=wy50, use=adm+sgr,
9361166124Srafanwy50-vb|wyse50-vb|wyse 50 visible bell,
9362166124Srafan	bel@, use=wy50,
9363166124Srafanwy50-w|wyse50-w|wyse 50 132-column,
9364166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9365166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
9366166124Srafan	use=wy50,
9367166124Srafanwy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
9368166124Srafan	bel@, use=wy50-w,
936950276Speter
937050276Speter#
937150276Speter#	The Wyse 350 is a Wyse 50 with color.
937250276Speter#	Unfortunately this means that it has magic cookies.
937350276Speter#	The color attributes are designed to overlap the reverse, dim and
937450276Speter#	underline attributes.  This is nice for monochrome applications
937550276Speter#	because you can make underline stuff green (or any other color)
937650276Speter#	but for true color applications it's not so hot because you cannot
937750276Speter#	mix color with reverse, dim or underline.
937850276Speter#	    To further complicate things one of the attributes must be
937950276Speter#	black (either the foreground or the background).  In reverse video
938050276Speter#	the background changes color with black letters.  In normal video
9381166124Srafan#	the foreground changes colors on a black background.
938250276Speter#	    This terminfo uses some of the more advanced features of curses
938350276Speter#	to display both color and blink.  In the final analysis I am not
938450276Speter#	sure that the wy350 runs better with this terminfo than it does
938550276Speter#	with the wy50 terminfo (with user adjusted colors).
938650276Speter#
938750276Speter#	The mandatory pause used by flash does not work with
938850276Speter#	older versions of terminfo.  If you see this effect then
938950276Speter#	unset xon and delete the / from the delay.
939050276Speter#	i.e. change $<100/> to $<100>
939150276Speter#
939250276Speter# Bug: The <op> capability resets attributes.
9393166124Srafanwy350|wyse350|Wyse 350,
9394166124Srafan	am, bw, hs, mc5i, mir, xon,
9395166124Srafan	colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
9396166124Srafan	wsl#45, xmc#1,
9397166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
9398166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
9399166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
9400166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
9401166124Srafan	dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
9402166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
9403166124Srafan	il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
9404166124Srafan	is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
9405166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
9406166124Srafan	ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
9407166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
9408166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
9409166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
9410166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
9411166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
9412166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
9413166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
9414166124Srafan	rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
9415166124Srafan	setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c,
9416166124Srafan	sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
9417166124Srafan	sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
9418166124Srafan	smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr,
9419166124Srafanwy350-vb|wyse350-vb|wyse 350 visible bell,
9420166124Srafan	bel@, use=wy350,
9421166124Srafanwy350-w|wyse350-w|wyse 350 132-column,
9422166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9423166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
9424166124Srafan	use=wy350,
9425166124Srafanwy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
9426166124Srafan	bel@, use=wy350-w,
942750276Speter#
942850276Speter#	This terminfo description is untested.
942950276Speter#	The wyse100 emulates an adm31, so the adm31 entry should work.
943050276Speter#
9431166124Srafanwy100|wyse 100,
9432166124Srafan	hs, mir,
9433166124Srafan	cols#80, lines#24, xmc#1,
9434166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
9435166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
9436166124Srafan	dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
9437166124Srafan	invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
9438166124Srafan	kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
9439166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
9440166124Srafan	rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr,
944150276Speter#
944250276Speter#	The Wyse 120/150 has most of the features of the Wyse 60.
944350276Speter#	This terminal does not need padding up to 9600 baud!
944450276Speter#	<msgr> should be set but the clear screen fails when in
944550276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
944650276Speter#	then set <msgr>.
944750276Speter#
9448166124Srafanwy120|wyse120|wy150|wyse150|Wyse 120/150,
9449166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
9450166124Srafan	cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
9451262629Sdelphij	acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
9452166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
9453166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
9454166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
9455166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
9456166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
9457166124Srafan	hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
9458166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
9459166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
9460166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
9461166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
9462166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
9463166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
9464166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
9465166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
9466166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
9467166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
9468166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
9469166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
9470166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
9471166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
9472166124Srafan	rs3=\EwG\Ee($<100>,
9473166124Srafan	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
9474166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
9475166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
9476166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
947750276Speter#
9478166124Srafanwy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
9479166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9480166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
9481166124Srafan	rs2=\E`;$<70>, use=wy120,
948250276Speter#
9483166124Srafanwy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
9484166124Srafan	lh@, lines#25, lw@, nlab@,
9485166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120,
948650276Speter#
9487166124Srafanwy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
9488166124Srafan	lh@, lines#25, lw@, nlab@,
9489166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
949050276Speter#
9491166124Srafanwy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
9492166124Srafan	bel@, use=wy120,
949350276Speter#
9494166124Srafanwy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
9495166124Srafan	bel@, use=wy120-w,
949650276Speter#
949750276Speter#	The Wyse 60 is like the Wyse 50 but with more padding.
949850276Speter#	The reset strings are slow and the pad times very depending
949950276Speter#	on other parameters such as font loading.  I have tried
950050276Speter#	to follow the following outline:
950150276Speter#
950250276Speter#		<rs1> -> set personality
950350276Speter#		<rs2> -> set number of columns
950450276Speter#		<rs3> -> set number of lines
950550276Speter#		<is1> -> select the proper font
950650276Speter#		<is2> -> do the initialization
950750276Speter#		<is3> -> set up display memory (2 pages)
950850276Speter#
950950276Speter#	The Wyse 60's that have vt100 emulation are slower than the
951050276Speter#	older Wyse 60's.  This change happened mid-1987.
951150276Speter#	The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
951250276Speter#
951350276Speter#	The meta key is only half right.  This terminal will return the
951450276Speter#	high order bit set when you hit CTRL-function_key
951550276Speter#
951650276Speter#	It may be useful to assign two function keys with the
951750276Speter#	values  \E=(\s  look at old data in page 1
951850276Speter#	        \E=W,   look at bottom of page 1
951950276Speter#	where \s is a space ( ).
952050276Speter#
952150276Speter#	Note:
952250276Speter#	   The Wyse 60 runs faster when the XON/XOFF
952350276Speter#	   handshake is turned off.
952450276Speter#
952550276Speter# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
952650276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
9527166124Srafanwy60|wyse60|Wyse 60,
9528166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
9529166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
9530262629Sdelphij	acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
9531166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
9532166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
9533166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
9534166124Srafan	dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
9535166124Srafan	ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
9536166124Srafan	home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
9537166124Srafan	ip=$<3>, is1=\EcB0\EcC1,
9538166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
9539166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
9540166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
9541166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
9542166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
9543166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
9544166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
9545166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
9546166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
9547166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
9548166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
9549166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
9550166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
9551166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
9552166124Srafan	rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
9553166124Srafan	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
9554166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
9555166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
9556166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
955750276Speter#
9558166124Srafanwy60-w|wyse60-w|wyse 60 132-column,
9559166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9560166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
9561166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy60,
956250276Speter#
9563166124Srafanwy60-25|wyse60-25|wyse 60 80-column 25-lines,
9564166124Srafan	lh@, lines#25, lw@, nlab@,
9565166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60,
9566166124Srafanwy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
9567166124Srafan	lh@, lines#25, lw@, nlab@,
9568166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
956950276Speter#
9570166124Srafanwy60-42|wyse60-42|wyse 60 80-column 42-lines,
9571166124Srafan	lines#42,
9572166124Srafan	clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
9573166124Srafan	dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
9574166124Srafan	ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
9575166124Srafan	ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
9576166124Srafanwy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
9577166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9578166124Srafan	clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
9579166124Srafan	dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
9580166124Srafan	nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
958150276Speter#
9582166124Srafanwy60-43|wyse60-43|wyse 60 80-column 43-lines,
9583166124Srafan	lh@, lines#43, lw@, nlab@,
9584166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42,
9585166124Srafanwy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
9586166124Srafan	lh@, lines#43, lw@, nlab@,
9587166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42-w,
958850276Speter#
9589166124Srafanwy60-vb|wyse60-vb|Wyse 60 visible bell,
9590166124Srafan	bel@, use=wy60,
9591166124Srafanwy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
9592166124Srafan	bel@, use=wy60-w,
959350276Speter
959450276Speter#	The Wyse-99GT looks at lot like the Wyse 60 except that it
959550276Speter#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
959650276Speter#	setup parameter controls the number of lines on the screen.
959750276Speter#	For the Wyse 99GT the "lines" setup parameter controls the
959850276Speter#	number of lines in a page.  The screen can display 25 lines max.
959950276Speter#	    The Wyse-99GT also has personalities for the VT220 and
960050276Speter#	Tektronix 4014.  But this has no bearing on the native mode.
960150276Speter#
960250276Speter#	(msgr) should be set but the clear screen fails when in
960350276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
960450276Speter#	then set msgr, else use msgr@.
960550276Speter#
960650276Speter#	u0 -> enter Tektronix mode
960750276Speter#	u1 -> exit Tektronix mode
960850276Speter#
9609166124Srafanwy99gt|wyse99gt|Wyse 99gt,
9610166124Srafan	msgr@,
9611166124Srafan	clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
9612166124Srafan	el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
9613166124Srafan	il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
9614166124Srafan	ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
9615166124Srafan	u0=\E~>\E8, u1=\E[42h, use=wy60,
961650276Speter#
9617166124Srafanwy99gt-w|wyse99gt-w|wyse 99gt 132-column,
9618166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
9619166124Srafan	clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
9620166124Srafan	dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
9621166124Srafan	use=wy99gt,
962250276Speter#
9623166124Srafanwy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
9624166124Srafan	lh@, lines#25, lw@, nlab@,
9625166124Srafan	pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
962650276Speter#
9627166124Srafanwy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
9628166124Srafan	lh@, lines#25, lw@, nlab@,
9629166124Srafan	pln@, rs2=\E`;$<150>, use=wy99gt-w,
963050276Speter#
9631166124Srafanwy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
9632166124Srafan	bel@, use=wy99gt,
963350276Speter#
9634166124Srafanwy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
9635166124Srafan	bel@, use=wy99gt-w,
963650276Speter
963750276Speter# Can't set tabs! Other bugs (ANSI mode only):
963850276Speter# - can't redefine function keys (anyway, key redefinition in ANSI mode
963950276Speter#   is too much complex to be described);
964050276Speter# - meta key can't be described (the terminal forgets it when reset);
964150276Speter# The xon-xoff handshaking can't be disabled while in ansi personality, so
964250276Speter# emacs can't work at speed greater than 9600 baud.  No padding is needed at
964350276Speter# this speed.
964450276Speter#   dch1 has been commented out because it causes annoying glittering when
964550276Speter# vi deletes one character at the beginning of a line with tabs in it.
964650276Speter#   dch makes sysgen(1M) have a horrible behaviour when deleting
964750276Speter# a screen and makes screen(1) behave badly, so it is disabled too. The nice
964850276Speter# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
964950276Speter# not, so smir and rmir are commented out as well.
965050276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
9651166124Srafanwy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
9652166124Srafan	am, km, mc5i, mir, msgr, xenl,
9653166124Srafan	cols#80, it#8, lines#25, vt#3,
9654166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
9655166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9656166124Srafan	clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
9657166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
9658166124Srafan	cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
9659166124Srafan	cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
9660166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
9661166124Srafan	cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
9662166124Srafan	ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
9663166124Srafan	enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
9664166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
9665166124Srafan	il1=\E[L, ind=\n$<1>, invis=\E[8m,
9666166124Srafan	is2=\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,
9667166124Srafan	kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
9668166124Srafan	kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
9669166124Srafan	kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
9670166124Srafan	kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
9671166124Srafan	kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
9672166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
9673166124Srafan	mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
9674166124Srafan	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
9675166124Srafan	rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
9676166124Srafan	rs2=\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,
9677166124Srafan	sc=\E7,
9678166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;,
9679166124Srafan	sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
9680166124Srafan	smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
968150276Speter
968250276Speter#   This is the american terminal. Here tabs work fine.
968350276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
9684166124Srafanwy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
9685166124Srafan	hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi,
968650276Speter
968750276Speter# This terminal (firmware version 02) has a lot of bugs:
968850276Speter# - can't set tabs;
968950276Speter# - other bugs in ANSI modes (see above).
969050276Speter# This description disables handshaking when using cup. This is because
969150276Speter# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
969250276Speter# cannot be used at speeds greater than 9600 baud, because at greater
969350276Speter# speeds handshaking is needed even for character sending. If you use
969450276Speter# DTR handshaking, you can use even greater speeds.
969550276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
9696166124Srafanwy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
9697166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
9698166124Srafan	cols#80, it#8, lines#25, wsl#46,
9699262629Sdelphij	acsc='x+y.w_vi~j(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
9700166124Srafan	blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
9701166124Srafan	cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
9702166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
9703166124Srafan	cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
9704166124Srafan	ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
9705166124Srafan	flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
9706166124Srafan	ind=^J, invis=\EG3,
9707166124Srafan	is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024,
9708166124Srafan	ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
9709166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
9710166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
9711166124Srafan	kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
9712166124Srafan	kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
9713166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
9714166124Srafan	kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
9715166124Srafan	nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
9716166124Srafan	rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
9717166124Srafan	rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\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,
9718166124Srafan	sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;,
9719166124Srafan	sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
9720166124Srafan	smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
972150276Speter
972250276Speter# This is the american terminal. Here tabs work.
972350276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
9724166124Srafanwy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
9725166124Srafan	hts=\E1, tbc=\E0, use=wy99f,
972650276Speter
972750276Speter#
972850276Speter#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
972950276Speter#	The reset strings are slow and the pad times very depending
973050276Speter#	on other parameters such as font loading.  I have tried
973150276Speter#	to follow the following outline:
973250276Speter#
973350276Speter#		<rs1> -> set personality
973450276Speter#		<rs2> -> set number of columns
973550276Speter#		<rs3> -> set number of lines
973650276Speter#		<is1> -> select the proper font
973750276Speter#		<is2> -> do the initialization
973850276Speter#		<is3> -> set up display memory (2 pages)
973950276Speter#
974050276Speter#	The display memory may be used for either text or graphics.
974150276Speter#	When "Display Memory = Shared" the terminal will have more pages
974250276Speter#	but garbage may be left on the screen when you switch from
974350276Speter#	graphics to text.  If "Display Memory = Unshared" then the
974450276Speter#	text area will be only one page long.
974550276Speter#
974650276Speter# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
974750276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
9748166124Srafanwy160|wyse160|Wyse 160,
9749166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
9750166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
9751262629Sdelphij	acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
9752166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
9753166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
9754166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
9755166124Srafan	dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
9756166124Srafan	el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
9757166124Srafan	hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
9758166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
9759166124Srafan	is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
9760166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
9761166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
9762166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
9763166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
9764166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
9765166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
9766166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
9767166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
9768166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
9769166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
9770166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
9771166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
9772166124Srafan	rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
9773166124Srafan	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
9774166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
9775166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
9776166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
977750276Speter#
9778166124Srafanwy160-w|wyse160-w|wyse 160 132-column,
9779166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
9780166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
9781166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160,
978250276Speter#
9783166124Srafanwy160-25|wyse160-25|wyse 160 80-column 25-lines,
9784166124Srafan	lh@, lines#25, lw@, nlab@,
9785166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160,
9786166124Srafanwy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
9787166124Srafan	lh@, lines#25, lw@, nlab@,
9788166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
978950276Speter#
9790166124Srafanwy160-42|wyse160-42|wyse 160 80-column 42-lines,
9791166124Srafan	lines#42,
9792166124Srafan	clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
9793166124Srafan	ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
9794166124Srafan	rs3=\Ee*$<150>, use=wy160,
9795166124Srafanwy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
9796166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
9797166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
9798166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
979950276Speter#
9800166124Srafanwy160-43|wyse160-43|wyse 160 80-column 43-lines,
9801166124Srafan	lh@, lines#43, lw@, nlab@,
9802166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42,
9803166124Srafanwy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
9804166124Srafan	lh@, lines#43, lw@, nlab@,
9805166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42-w,
980650276Speter#
9807166124Srafanwy160-vb|wyse160-vb|Wyse 160 visible bell,
9808166124Srafan	bel@, use=wy160,
9809166124Srafanwy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
9810166124Srafan	bel@, use=wy160-w,
981150276Speter#
981250276Speter#	The Wyse 75 is a vt100 lookalike without advanced video.
981350276Speter#
981450276Speter#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
981550276Speter#	Underline) without magic cookies.  The following description
981650276Speter#	uses this capability, but when more than one attribute is
981750276Speter#	put on the screen at once, all attributes will be changed
981850276Speter#	to be the same as the last attribute given.
981950276Speter#	   The Wyse 75 can support more attributes when used with magic
982050276Speter#	cookies.  The wy75-mc terminal description uses magic cookies
982150276Speter#	to correctly handle multiple attributes on a screen.
982250276Speter#
9823166124Srafanwy75|wyse75|wyse 75,
9824166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
9825166124Srafan	cols#80, lines#24, ma#1, pb#1201, wsl#78,
9826166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9827166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
9828166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
9829166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
9830166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9831166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
9832166124Srafan	dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
9833166124Srafan	dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
9834166124Srafan	ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
9835166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
9836166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
9837166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
9838166124Srafan	ind=\n$<2>, ip=$<1>,
9839166124Srafan	is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
9840166124Srafan	is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D,
9841166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K,
9842166124Srafan	kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
9843166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
9844166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
9845166124Srafan	kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
9846166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
9847166124Srafan	khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
9848166124Srafan	kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
9849166124Srafan	mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
9850166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
9851166124Srafan	rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
9852166124Srafan	sc=\E7,
9853166124Srafan	sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;,
9854166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9855166124Srafan	smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
9856166124Srafan	tbc=\E[3g, tsl=\E[>\,\001, use=vt220+keypad,
985750276Speter#
985850276Speter#	This terminal description uses the non-hidden attribute mode
985950276Speter#	(with magic cookie).
986050276Speter#
9861166124Srafanwy75-mc|wyse75-mc|wyse 75 with magic cookies,
9862166124Srafan	msgr@,
9863166124Srafan	ma@, xmc#1,
9864166124Srafan	blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
9865166124Srafan	rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
9866166124Srafan	sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;,
9867166124Srafan	sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
9868166124Srafan	use=wy75,
9869166124Srafanwy75-vb|wyse75-vb|wyse 75 with visible bell,
9870166124Srafan	pb@,
9871166124Srafan	bel@, use=wy75,
9872166124Srafanwy75-w|wyse75-w|wyse 75 in 132 column mode,
9873166124Srafan	cols#132, wsl#130,
9874166124Srafan	rs2=\E[35h\E[?3h$<80>, use=wy75,
9875166124Srafanwy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
9876166124Srafan	pb@,
9877166124Srafan	bel@, use=wy75-w,
987850276Speter#
987950276Speter#	Wyse 85 emulating a vt220 7 bit mode.
988050276Speter#		24 line screen with status line.
988150276Speter#
988250276Speter#	The vt220 mode permits more function keys but it wipes out
988350276Speter#	the escape key.  I strongly recommend that <f11> be set to
988450276Speter#	escape (esc).
988550276Speter#	The terminal may have to be set for 8 data bits and 2 stop
988650276Speter#	bits for the arrow keys to work.
988750276Speter#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
988850276Speter#	<dch> and <ich> work best when XON/XOFF is set.  <ich> and
988950276Speter#	<dch> leave trash on the screen when used without XON/XOFF.
989050276Speter#
9891166124Srafanwy85|wyse85|wyse 85,
9892166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
9893166124Srafan	cols#80, it#8, lines#24, wsl#80,
9894166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9895166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9896166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
9897166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9898166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9899166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
9900166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
9901166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
9902166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
9903166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
9904166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
9905166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
9906166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
9907166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
9908166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
9909166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~,
9910166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
9911166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
9912166124Srafan	kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~,
9913166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
9914166124Srafan	khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
9915166124Srafan	kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
9916166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
9917166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
9918166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
9919166124Srafan	rs3=\E[?5l, sc=\E7,
9920166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
9921166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9922166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9923166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad,
992450276Speter#
992550276Speter#	Wyse 85 with visual bell.
9926166124Srafanwy85-vb|wyse85-vb|wyse 85 with visible bell,
9927166124Srafan	bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
992850276Speter#
992950276Speter#	Wyse 85 in 132-column mode.
9930166124Srafanwy85-w|wyse85-w|wyse 85 in 132-column mode,
9931166124Srafan	cols#132, wsl#132,
9932166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy85,
993350276Speter#
993450276Speter#	Wyse 85 in 132-column mode with visual bell.
9935166124Srafanwy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
9936166124Srafan	bel@, use=wy85-w,
993762449Speter
993862449Speter# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
993962449Speter# This copes with an apparent firmware bug in the wy85.  He writes:
994062449Speter# "What I did was change leave the terminal cursor keys set to Normal
994162449Speter# (instead of application), and change \E[ to \233 for all the keys in
994262449Speter# terminfo. At one point, I found some reference indicating that this
994362449Speter# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
9944166124Srafan# me), but I can't find that and the server under my bookmark to "Wyse
994562449Speter# Technical" isn't responding.  So there's the question of wether the wy85
994662449Speter# terminfo should reflect the manufactuer's intended behaviour of the terminal
994762449Speter# or the actual."
9948166124Srafanwy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
9949166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
9950166124Srafan	cols#80, it#8, lines#24, wsl#80,
9951166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9952166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9953166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
9954166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9955166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9956166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
9957166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
9958166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
9959166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
9960166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
9961166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
9962166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
9963166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
9964166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
9965166124Srafan	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
9966166124Srafan	kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B,
9967166124Srafan	kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM,
9968166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
9969166124Srafan	kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~,
9970166124Srafan	kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ,
9971166124Srafan	kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~,
9972166124Srafan	kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~,
9973166124Srafan	khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~,
9974166124Srafan	kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
9975166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
9976166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
9977166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
9978166124Srafan	rs3=\E[?5l, sc=\E7,
9979166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;+m%?%p9%t\016%e\017%;,
9980166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9981166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9982166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH,
998350276Speter#
998450276Speter#	Wyse 185 emulating a vt320 7 bit mode.
998550276Speter#
998650276Speter#	This terminal always displays 25 lines.  These lines may be used
998750276Speter#	as 24 data lines and a terminal status line (top or bottom) or
998850276Speter#	25 data lines.  The 48 and 50 line modes change the page size
998950276Speter#	and not the number of lines on the screen.
999050276Speter#
999150276Speter#	The Compose Character key can be used as a meta key if changed
999250276Speter#	by set-up.
999350276Speter#
9994166124Srafanwy185|wyse185|wyse 185,
9995166124Srafan	am, hs, km, mc5i, mir, msgr, xenl, xon,
9996166124Srafan	cols#80, it#8, lines#24, wsl#80,
9997166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9998166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9999166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
10000166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
10001166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10002166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10003166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
10004166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
10005166124Srafan	dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
10006166124Srafan	el=\E[K, el1=\E[1K, enacs=\E)0,
10007166124Srafan	flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
10008166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
10009166124Srafan	ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
10010166124Srafan	ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
10011166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
10012166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
10013166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
10014166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
10015166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
10016166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
10017166124Srafan	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
10018166124Srafan	kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
10019166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
10020166124Srafan	lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
10021166124Srafan	ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
10022166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
10023166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
10024166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
10025166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
10026166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
10027166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
10028166124Srafan	tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
10029166124Srafan	use=vt220+keypad,
1003050276Speter#
1003150276Speter#	Wyse 185 with 24 data lines and top status (terminal status)
10032166124Srafanwy185-24|wyse185-24|wyse 185 with 24 data lines,
10033166124Srafan	hs@,
10034166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
10035166124Srafan	use=wy185,
1003650276Speter#
1003750276Speter#	Wyse 185 with visual bell.
10038166124Srafanwy185-vb|wyse185-vb|wyse 185+flash,
10039166124Srafan	bel@, use=wy185,
1004050276Speter#
1004150276Speter#	Wyse 185 in 132-column mode.
10042166124Srafanwy185-w|wyse185-w|wyse 185 in 132-column mode,
10043166124Srafan	cols#132, wsl#132,
10044166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
10045166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
1004650276Speter#
1004750276Speter#	Wyse 185 in 132-column mode with visual bell.
10048166124Srafanwy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
10049166124Srafan	bel@, use=wy185-w,
1005050276Speter
1005150276Speter# wy325 terminfo entries
1005250276Speter# Done by Joe H. Davis        3-9-92
1005350276Speter
1005450276Speter# lines 25  columns 80
1005550276Speter#
10056166124Srafanwy325|wyse325|Wyse epc,
10057166124Srafan	am, bw, hs, mc5i, mir,
10058166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
10059262629Sdelphij	acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
10060166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
10061166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
10062166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
10063166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
10064166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
10065166124Srafan	il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
10066166124Srafan	is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
10067166124Srafan	is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
10068166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
10069166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
10070166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
10071166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
10072166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
10073166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
10074166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#,
10075166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
10076166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
10077166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
10078166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
10079166124Srafan	rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
10080166124Srafan	rs3=\EwG\Ee($<100>,
10081166124Srafan	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
10082166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
10083166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
10084166124Srafan	tsl=\EF, use=adm+sgr,
1008550276Speter
1008650276Speter#
10087166124Srafan# lines 24  columns 80  vb
1008850276Speter#
10089166124Srafanwy325-vb|wyse325-vb|wyse-325 with visual bell,
10090166124Srafan	bel@, use=wy325,
1009150276Speter
1009250276Speter#
1009350276Speter# lines 24  columns 132
1009450276Speter#
10095166124Srafanwy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
10096166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
10097166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
10098166124Srafan	rs2=\E`;$<70>, use=wy325,
1009950276Speter#
1010050276Speter# lines 25  columns 80
1010150276Speter#
10102166124Srafanwy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
10103166124Srafan	lh@, lines#25, lw@, nlab@,
10104166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
1010550276Speter#
1010650276Speter# lines 25  columns 132
1010750276Speter#
10108166124Srafanwy325-25w|wyse325-25w|wy325 132 columns,
10109166124Srafan	lh@, lines#25, lw@, nlab@,
10110166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
1011150276Speter#
10112166124Srafan# lines 25  columns 132  vb
1011350276Speter#
10114166124Srafanwy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
10115166124Srafan	bel@, use=wy325-w,
1011650276Speter
1011750276Speter#
1011850276Speter# lines 42  columns 80
1011950276Speter#
10120166124Srafanwy325-42|wyse325-42|wyse-325 42 lines,
10121166124Srafan	lh@, lines#42, lw@, nlab@,
10122166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
1012350276Speter#
1012450276Speter# lines 42  columns 132
1012550276Speter#
10126166124Srafanwy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
10127166124Srafan	lh@, lines#42, lw@, nlab@,
10128166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
1012950276Speter#
10130166124Srafan# lines 42  columns 132  vb
1013150276Speter#
10132166124Srafanwy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
10133166124Srafan	bel@, use=wy325-w,
1013450276Speter#
1013550276Speter# lines 43  columns 80
1013650276Speter#
10137166124Srafanwy325-43|wyse325-43|wyse-325 43 lines,
10138166124Srafan	lh@, lines#43, lw@, nlab@,
10139166124Srafan	pln@, use=wy325,
1014050276Speter#
1014150276Speter# lines 43  columns 132
1014250276Speter#
10143166124Srafanwy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
10144166124Srafan	lh@, lines#43, lw@, nlab@,
10145166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
1014650276Speter#
10147166124Srafan# lines 43  columns 132  vb
1014850276Speter#
10149166124Srafanwy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
10150166124Srafan	bel@, use=wy325-w,
1015150276Speter
1015250276Speter#	Wyse 370 -- 24 line screen with status line.
1015350276Speter#
1015450276Speter#	The terminal may have to be set for 8 data bits and 2 stop
1015550276Speter#	bits for the arrow keys to work.
1015650276Speter#
1015750276Speter#	If you change keyboards the terminal will send different
1015850276Speter#	escape sequences.
1015950276Speter#	The following definition is for the basic terminal without
1016050276Speter#	function keys.
1016150276Speter#
1016250276Speter#	<u0> -> enter Tektronix 4010/4014 mode
1016350276Speter#	<u1> -> exit  Tektronix 4010/4014 mode
1016450276Speter#	<u2> -> enter ASCII mode (from any ANSI mode)
1016550276Speter#	<u3> -> exit  ASCII mode (goto native ANSI mode)
1016650276Speter#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
1016750276Speter#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
1016850276Speter#
1016950276Speter# Bug: The <op> capability resets attributes.
10170166124Srafanwy370-nk|wyse 370 without function keys,
10171166124Srafan	am, ccc, hs, mc5i, mir, msgr, xenl, xon,
10172166124Srafan	colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
10173166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10174166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10175166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
10176166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10177166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10178166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
10179166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
10180166124Srafan	dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
10181166124Srafan	dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
10182166124Srafan	el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
10183166124Srafan	flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
10184166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
10185166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
10186166124Srafan	ind=\n$<2>,
10187166124Srafan	initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw,
10188166124Srafan	invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
10189166124Srafan	is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
10190166124Srafan	is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
10191166124Srafan	mc5=\E[5i,
10192166124Srafan	oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w,
10193166124Srafan	op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
10194166124Srafan	rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
10195166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
10196166124Srafan	rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
10197166124Srafan	rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
10198166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
10199166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
10200166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
10201166124Srafan	tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
10202166124Srafan	u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
10203166124Srafan	u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
1020450276Speter#
1020550276Speter#	Function key set for the ASCII (wy-50 compatible) keyboard
1020650276Speter#	This is the default 370.
1020750276Speter#
10208166124Srafanwy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
10209166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10210166124Srafan	kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
10211166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
10212166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
10213166124Srafan	kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
10214166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
10215166124Srafan	knp=\E[U, kpp=\E[V, use=wy370-nk,
1021650276Speter#
1021750276Speter#	Function key set for the VT-320 (and wy85) compatible keyboard
1021850276Speter#
10219166124Srafanwy370-105k|Wyse 370 with 105 key keyboard,
10220166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10221166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
10222166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
10223166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
10224166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
10225166124Srafan	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
10226166124Srafan	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
10227166124Srafan	use=wy370-nk, use=vt220+keypad,
1022850276Speter#
1022950276Speter#	Function key set for the PC compatible keyboard
1023050276Speter#
10231166124Srafanwy370-EPC|Wyse 370 with 102 key keyboard,
10232166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10233166124Srafan	kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
10234166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
10235166124Srafan	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
10236166124Srafan	khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
1023750276Speter#
1023850276Speter#	Wyse 370 with visual bell.
10239166124Srafanwy370-vb|Wyse 370 with visible bell,
10240166124Srafan	bel@, use=wy370,
1024150276Speter#
1024250276Speter#	Wyse 370 in 132-column mode.
10243166124Srafanwy370-w|Wyse 370 in 132-column mode,
10244166124Srafan	cols#132, wsl#132,
10245166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy370,
1024650276Speter#
1024750276Speter#	Wyse 370 in 132-column mode with visual bell.
10248166124Srafanwy370-wvb|Wyse 370 with visible bell 132-columns,
10249166124Srafan	flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
10250166124Srafanwy370-rv|Wyse 370 reverse video,
10251166124Srafan	rs3=\E[32h\E[?5h, use=wy370,
1025250276Speter#
1025350276Speter#	Wyse 99gt Tektronix 4010/4014 emulator,
1025450276Speter#
10255166124Srafanwy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
10256166124Srafan	am, os,
10257166124Srafan	cols#74, lines#35,
10258166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
10259166124Srafan	cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
10260166124Srafan	cuu1=^K, ff=^L,
10261166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
10262166124Srafan	home=^]7`x @\037,
10263166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
10264166124Srafan	is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
1026550276Speter#
1026650276Speter#	Wyse 160 Tektronix 4010/4014 emulator,
1026750276Speter#
10268166124Srafanwy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
10269166124Srafan	cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037,
10270166124Srafan	home=^]8`g @\037, use=wy99gt-tek,
1027150276Speter#
1027250276Speter#	Wyse 370 Tektronix 4010/4014 emulator,
1027350276Speter#
10274166124Srafanwy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
10275166124Srafan	am, os,
10276166124Srafan	cols#80, lines#36,
10277166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
10278166124Srafan	cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037,
10279166124Srafan	cuu1=^K, ff=^L,
10280166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
10281166124Srafan	home=^]8g @\037,
10282166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
10283166124Srafan	is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
10284166124Srafan	nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
1028550276Speter
1028650276Speter# Vendor-supplied Wyse entries end here.
1028750276Speter
1028850276Speter#
1028950276Speter#TITLE:  TERMINFO ENTRY WY520
1029050276Speter#DATE:   8/5/93
10291166124Srafan# The WY520 terminfo is based on the WY285 entry published on the WYSE
1029250276Speter# BBS with the addition of more function keys and special keys.
1029350276Speter#
1029450276Speter#               rs1 -> set personality
1029550276Speter#               rs2 -> set number of columns
1029650276Speter#               rs3 -> set number of lines
1029750276Speter#               is1 -> select the proper font
1029850276Speter#               is2 -> do the initialization
1029950276Speter#               is3 -> If this string is empty then rs3 gets sent.
1030050276Speter#
1030150276Speter#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
1030250276Speter#       - The BS key is programmed to generate BS in smcup since
1030350276Speter#         is2 doesn't seem to work.
1030450276Speter#       - Remove and shift/Remove: delete a character
1030550276Speter#       - Insert : enter insert mode
1030650276Speter#       - Find   : delete to end of file
1030750276Speter#       - Select : clear a line
1030850276Speter#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
1030950276Speter#       - F14 : Home key
1031050276Speter#       - Bottom status line (host writable line) is used.
1031150276Speter#       - smkx,rmkx are removed because this would put the numeric
1031250276Speter#         keypad in Dec application mode which doesn't seem to work
1031350276Speter#         with SCO applications.
1031450276Speter#
10315166124Srafanwy520|wyse520|wyse 520,
10316166124Srafan	am, hs, km, mc5i, mir, xenl, xon,
10317166124Srafan	cols#80, it#8, lines#24, wsl#80,
10318166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10319166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10320166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
10321166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
10322166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10323166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10324166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
10325166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
10326166124Srafan	ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
10327166124Srafan	enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
10328166124Srafan	hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
10329166124Srafan	il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
10330166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
10331166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
10332166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
10333166124Srafan	kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~,
10334166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
10335166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
10336166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
10337166124Srafan	kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~,
10338166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1,
10339166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
10340166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l,
10341166124Srafan	rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m,
10342166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
10343166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
10344166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
10345166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
10346166124Srafan	smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
10347166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
10348166124Srafan	vpa=\E[%i%p1%dd, use=vt220+keypad,
1034950276Speter#
1035050276Speter#       Wyse 520 with 24 data lines and status (terminal status)
10351166124Srafanwy520-24|wyse520-24|wyse 520 with 24 data lines,
10352166124Srafan	hs@,
10353166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
10354166124Srafan	use=wy520,
1035550276Speter#
1035650276Speter#       Wyse 520 with visual bell.
10357166124Srafanwy520-vb|wyse520-vb|wyse 520 with visible bell,
10358166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520,
1035950276Speter#
1036050276Speter#       Wyse 520 in 132-column mode.
10361166124Srafanwy520-w|wyse520-w|wyse 520 in 132-column mode,
10362166124Srafan	cols#132, wsl#132,
10363166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
10364166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520,
1036550276Speter#
1036650276Speter#       Wyse 520 in 132-column mode with visual bell.
10367166124Srafanwy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
10368166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
1036950276Speter#
1037050276Speter#
1037150276Speter#       Wyse 520 emulating a vt420 7 bit mode.
1037250276Speter#       The DEL key is programmed to generate BS in is2.
1037350276Speter#       With EPC keyboard.
1037450276Speter#       - 'End' key will clear till end of line on EPC keyboard
1037550276Speter#       - Shift/End : ignored.
1037650276Speter#       - Insert : enter insert mode.
1037750276Speter#       - Delete : delete a character (have to change interrupt character
1037850276Speter#                  to CTRL-C: stty intr '^c') for it to work since the
1037950276Speter#                  Delete key sends 7FH.
10380166124Srafanwy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
10381166124Srafan	kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
10382166124Srafan	kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
10383166124Srafan	use=wy520,
1038450276Speter#
1038550276Speter#       Wyse 520 with 24 data lines and status (terminal status)
1038650276Speter#       with EPC keyboard.
10387166124Srafanwy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
10388166124Srafan	hs@,
10389166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
10390166124Srafan	use=wy520-epc,
1039150276Speter#
1039250276Speter#       Wyse 520 with visual bell.
10393166124Srafanwy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
10394166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
1039550276Speter#
1039650276Speter#       Wyse 520 in 132-column mode.
10397166124Srafanwy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
10398166124Srafan	cols#132, wsl#132,
10399166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
10400166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc,
1040150276Speter#
1040250276Speter#       Wyse 520 in 132-column mode with visual bell.
10403166124Srafanwy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard,
10404166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
1040550276Speter#
1040650276Speter#       Wyse 520 in 80-column, 36 lines
10407166124Srafanwy520-36|wyse520-36|wyse 520 with 36 data lines,
10408166124Srafan	hs@,
10409166124Srafan	lines#36,
10410166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
10411166124Srafan	use=wy520,
1041250276Speter#
1041350276Speter#       Wyse 520 in 80-column, 48 lines
10414166124Srafanwy520-48|wyse520-48|wyse 520 with 48 data lines,
10415166124Srafan	hs@,
10416166124Srafan	lines#48,
10417166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
10418166124Srafan	use=wy520,
1041950276Speter#
1042050276Speter#       Wyse 520 in 132-column, 36 lines
10421166124Srafanwy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
10422166124Srafan	cols#132, wsl#132,
10423166124Srafan	rs2=\E[?3h,
10424166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
10425166124Srafan	use=wy520-36,
1042650276Speter#
1042750276Speter#       Wyse 520 in 132-column, 48 lines
10428166124Srafanwy520-48w|wyse520-48w|wyse 520 with 48 data lines,
10429166124Srafan	cols#132, wsl#132,
10430166124Srafan	rs2=\E[?3h,
10431166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
10432166124Srafan	use=wy520-48,
1043350276Speter#
1043450276Speter#
1043550276Speter#       Wyse 520 in 80-column, 36 lines with EPC keyboard
10436166124Srafanwy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
10437166124Srafan	hs@,
10438166124Srafan	lines#36,
10439166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
10440166124Srafan	use=wy520-epc,
1044150276Speter#
1044250276Speter#       Wyse 520 in 80-column, 48 lines with EPC keyboard
10443166124Srafanwy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
10444166124Srafan	hs@,
10445166124Srafan	lines#48,
10446166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
10447166124Srafan	use=wy520-epc,
1044850276Speter#
1044950276Speter#       Wyse 520 in 132-column, 36 lines with EPC keyboard
10450166124Srafanwy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
10451166124Srafan	cols#132, wsl#132,
10452166124Srafan	rs2=\E[?3h,
10453166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
10454166124Srafan	use=wy520-36pc,
1045550276Speter#
1045650276Speter#       Wyse 520 in 132-column, 48 lines with EPC keyboard
10457166124Srafanwy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard,
10458166124Srafan	cols#132, wsl#132,
10459166124Srafan	rs2=\E[?3h,
10460166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
10461166124Srafan	use=wy520-48pc,
1046250276Speter
1046350276Speter# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
1046450276Speter# (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
1046550276Speter# file and we don't know what <hts> is -- esr)
10466166124Srafanwyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
10467166124Srafan	OTbs, am,
10468166124Srafan	cols#80, it#8, lines#24,
10469166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
10470166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
10471166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
10472166124Srafan	is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
10473166124Srafan	kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
10474166124Srafan	rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
10475166124Srafan	smul=^N,
1047650276Speter
10477166124Srafanwy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
10478166124Srafan	is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
10479166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
10480166124Srafan	khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
10481166124Srafan	use=wy75,
1048250276Speter
1048350276Speter# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
10484166124Srafanwy100q|Wyse 100 for Quotron,
10485166124Srafan	OTbs,
10486166124Srafan	cols#80, lines#24, xmc#1,
10487166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
10488166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10489166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
10490166124Srafan	is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
10491166124Srafan	kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr,
1049250276Speter
1049350276Speter#### Kermit terminal emulations
1049450276Speter#
1049550276Speter# Obsolete Kermit versions may be listed in the section describing obsolete
1049650276Speter# non-ANSI terminal emulators later in the file.
1049750276Speter#
1049850276Speter
1049950276Speter# KERMIT standard all versions.
1050050276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
1050150276Speter# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1050250276Speter# From: greg small <gts@populi.berkeley.edu> 9-25-84
10503166124Srafankermit|standard kermit,
10504166124Srafan	OTbs,
10505166124Srafan	cols#80, lines#24,
10506262629Sdelphij	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
10507166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
10508166124Srafan	el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
10509166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
10510166124Srafankermit-am|standard kermit plus auto-margin,
10511166124Srafan	am,
10512166124Srafan	is2=K1 Standard Kermit plus Automatic Margins\n,
10513166124Srafan	use=kermit,
1051450276Speter# IBMPC Kermit 1.2.
1051550276Speter# Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
1051650276Speter# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
1051750276Speter# line).
1051850276Speter# From: greg small <gts@populi.berkeley.edu> 8-30-84
10519166124Srafanpckermit|pckermit12|UCB IBMPC Kermit 1.2,
10520166124Srafan	am,
10521166124Srafan	lines#25,
10522166124Srafan	clear=\EH\EJ, ed@, el@,
10523166124Srafan	is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
1052450276Speter# IBMPC Kermit 1.20
1052550276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
1052650276Speter# Initialization must escape from that region by cursor position to line 24.
1052750276Speter# Cannot use character insert because 1.20 goes crazy if insert at col 80.
1052850276Speter# Does not use :am: because autowrap is lost when kermit dropped and restarted.
1052950276Speter# From: greg small <gts@populi.berkeley.edu> 12-19-84
10530166124Srafanpckermit120|UCB IBMPC Kermit 1.20,
10531166124Srafan	it#8, lines#24,
10532166124Srafan	cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
10533166124Srafan	il1=\EL,
10534166124Srafan	is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
10535166124Srafan	rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
1053650276Speter# MS-DOS Kermit 2.27 for the IBMPC
1053750276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
1053850276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
1053950276Speter# Initialization must escape from that region by cursor position to line 24.
1054050276Speter# Does not use am: because autowrap is lost when kermit dropped and restarted.
1054150276Speter# Reverse video for standout like H19.
1054250276Speter# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
1054350276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
10544166124Srafanmsk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
10545166124Srafan	OTbs, am@,
10546166124Srafan	cols#80, it#8, lines#24,
10547166124Srafan	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
10548166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
10549166124Srafan	cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
10550166124Srafan	home=\EH, ht=^I, il1=\EL,
10551166124Srafan	is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
10552166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
10553166124Srafan	rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
1055450276Speter# MS-DOS Kermit 2.27 with automatic margins
1055550276Speter# From:	greg small <gts@populi.berkeley.edu> 3-17-85
10556166124Srafanmsk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
10557166124Srafan	am,
10558166124Srafan	cvvis=\EO\Eq\EG\EvK5,
10559166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
10560166124Srafan	use=msk227,
1056150276Speter# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
1056250276Speter# Automatic margins now default.  Use ansi <sgr> for highlights.
1056350276Speter# Define function keys.
1056450276Speter# (msk22714: removed obsolete ":kn#10:" -- esr)
1056550276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
10566166124Srafanmsk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
10567166124Srafan	am,
10568166124Srafan	bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
10569166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
10570166124Srafan	kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
10571166124Srafan	kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
10572166124Srafan	sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227,
1057350276Speter# This was designed for a VT320 emulator, but it is probably a good start
1057450276Speter# at support for the VT320 itself.
1057550276Speter# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
1057650276Speter# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
10577166124Srafanvt320-k3|MS-Kermit 3.00's vt320 emulation,
10578166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
10579166124Srafan	cols#80, it#8, lines#49, pb#9600, vt#3,
10580166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10581166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
10582166124Srafan	clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
10583166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10584166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10585166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10586166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
10587166124Srafan	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
10588166124Srafan	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
10589166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
10590166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
10591262685Sdelphij	is2=\E>\E F\E[?1h\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
10592166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
10593166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
10594166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
10595166124Srafan	kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
10596166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
10597166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
10598166124Srafan	rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E[4i\E[?4i\E[m\E[r\E[2$~,
10599166124Srafan	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
10600166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
10601166124Srafan	tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
1060250276Speter# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
1060350276Speter# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
1060450276Speter# (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
10605166124Srafanvt320-k311|dec vt320 series as defined by kermit 3.11,
10606166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10607166124Srafan	cols#80, it#8, lines#24, vt#3,
10608166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10609166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
10610166124Srafan	clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
10611166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10612166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10613166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10614166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
10615166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
10616166124Srafan	flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
10617166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
10618166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
10619166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
10620166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
10621166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
10622166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
10623166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
10624166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
10625166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
10626166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
10627166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
1062850276Speter
1062950276Speter######## NON-ANSI TERMINAL EMULATIONS
1063050276Speter#
1063150276Speter
1063250276Speter#### Avatar
1063350276Speter#
1063450276Speter# These entries attempt to describe Avatar, a terminal emulation used with
1063550276Speter# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
1063650276Speter# capabilities, but with cheaper (shorter) control sequences.  Messy design,
1063750276Speter# excessively dependent on PC idiosyncracies, but apparently rather popular
1063850276Speter# in the BBS world.
1063950276Speter#
1064050276Speter# No color support.  Avatar doesn't fit either of the Tektronix or HP color
1064150276Speter# models that terminfo knows about.  An Avatar color attribute is the
1064250276Speter# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
1064350276Speter#
1064450276Speter# I wrote these entries while looking at the Avatar spec.  I don't have
1064550276Speter# the facilities to test them.  Let me know if they work, or don't.
1064650276Speter#
1064750276Speter# Avatar escapes not used by these entries (because maybe you're smarter
1064850276Speter# and more motivated than I am and can figure out how to wrap terminfo
1064950276Speter# around some of them, and because they are weird enough to be funny):
1065050276Speter#				level 0:
1065150276Speter# ^L		-- clear window/reset current attribute to default
1065250276Speter# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
10653166124Srafan#
1065450276Speter#      bit:         6   5   4   3   2   1   0
1065550276Speter#                   |       |   |   |       |
1065650276Speter#                   +---+---+   |   +---+---+
1065750276Speter#                       |       |       |
1065850276Speter#                       |       |  foreground color
1065950276Speter#                       |  foreground intensity
1066050276Speter#                  background color
1066150276Speter#				level 0+:
1066250276Speter# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
1066350276Speter# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
10664166124Srafan# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
10665166124Srafan# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
1066650276Speter# (^V^L and ^V^M set the current attribute as a side-effect.)
1066750276Speter# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
1066850276Speter#			   in the pattern, <c> the number of times the pattern
1066950276Speter#		  	   should be repeated. If either value is 0, no-op.
1067050276Speter#			   The pattern can contain Avatar console codes,
1067150276Speter#			   including other ^V ^Y patterns.
1067250276Speter#				level 1:
1067350276Speter# ^V^O		-- clockwise mode on; turn print direction right each time you
1067450276Speter#		   hit a window edge (yes, really).  Turned off by CR
1067550276Speter# ^V^P		-- no-op
1067650276Speter# ^V^Q%c	-- query the driver
1067750276Speter# ^V^R		-- driver reset
1067850276Speter# ^V^S		-- Sound tone (PC-specific)
1067950276Speter# ^V^T			-- change highlight at current cursor poition to %c
1068050276Speter# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
1068150276Speter# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
10682166124Srafan#			-- define window
1068350276Speter#
1068450276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
1068550276Speter# (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
1068650276Speter# tell ncurses that the corresponding highlights exist; it should use <sgr>,
1068750276Speter# which is the only method that will actually work for multiple highlights.)
10688166124Srafan#
10689166124Srafan# Update by TD - 2004: half of this was inconsistent.  Found documentation
10690166124Srafan# and repaired most of the damage.  sgr0 is probably incorrect, but the
10691166124Srafan# available documentation gives no clues for a workable string.
10692166124Srafanavatar0|avatar terminal emulator level 0,
10693166124Srafan	am, bce, msgr,
10694166124Srafan	cols#80, it#8, lines#25,
10695166124Srafan	blink=^V^B, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
10696166124Srafan	cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
10697166124Srafan	ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%c, rev=^V^Ap,
10698166124Srafan	rmacs@, rs2=^L,
10699166124Srafan	sgr=%?%p1%p2%|%p3%|%p6%|%p7%|%t\026\001%?%p7%t%{128}%e%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p6%t%{16}%|%;%;%c%;%?%p4%t\026\002%;,
10700166124Srafan	sgr0=^V^A^G, smacs@, smso=^V^Ap, smul=^V^A^A,
10701166124Srafan	use=klone+acs,
1070250276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
10703166124Srafanavatar0+|avatar terminal emulator level 0+,
10704166124Srafan	dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
1070550276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
10706166124Srafanavatar|avatar1|avatar terminal emulator level 1,
10707166124Srafan	civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
10708166124Srafan	rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
1070950276Speter
1071050276Speter#### RBcomm
1071150276Speter#
1071250276Speter# RBComm is a lean and mean terminal emulator written by the Interrupt List
1071350276Speter# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
1071450276Speter# '90s), especially in the BBS world, and still has some loyal users due to
1071550276Speter# its very small memory footprint and to a cute macro language.
10716166124Srafanrbcomm|IBM PC with RBcomm and EMACS keybindings,
10717166124Srafan	am, bw, mir, msgr, xenl,
10718166124Srafan	cols#80, it#8, lines#25,
10719166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10720166124Srafan	clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
10721166124Srafan	cub1=^H, cud1=^C, cuf1=^B,
10722166124Srafan	cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, dch1=^W,
10723166124Srafan	dl=\E[%p1%dM, dl1=^Z, ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
10724166124Srafan	il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
10725166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
10726166124Srafan	kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
10727166124Srafan	rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
10728166124Srafan	rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
10729166124Srafan	rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
10730166124Srafan	smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
10731166124Srafanrbcomm-nam|IBM PC with RBcomm without autowrap,
10732166124Srafan	am@,
10733166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
10734166124Srafan	is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
10735166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
10736166124Srafanrbcomm-w|IBM PC with RBcomm in 132 column mode,
10737166124Srafan	cols#132,
10738166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
10739166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
10740166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
1074150276Speter
1074266963Speter######## LCD DISPLAYS
1074366963Speter#
1074466963Speter
1074566963Speter#### Matrix Orbital
1074666963Speter# from: Eric Z. Ayers  (eric@ale.org)
1074766963Speter#
1074866963Speter# Matrix Orbital 20x4 LCD display
1074966963Speter# Command Character is 0xFE (decimal 254, octal 376)
1075066963Speter#
1075166963Speter# On this device, cursor addressability isn't possible.  The LCD expects:
10752166124Srafan#      0xfe G <col> <row>
1075366963Speter#      for cup: %p1 == row and %p2 is column
1075466963Speter#
1075566963Speter# This line:
1075666963Speter#	cup=\376G%p2%c%p1%c
10757166124Srafan# LOOKS like it will work, but sometimes only one of the two numbers is sent.
1075866963Speter# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
10759166124Srafan#
1076066963Speter# Alas, there is no cursor upline capability on this display.
1076166963Speter#
1076266963Speter# These entries add some 'sanity stuff' to the clear function.  That is, it
1076366963Speter# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
1076466963Speter# and turns off the cursor blinking and stuff like that.
1076566963Speter#
1076666963Speter# NOTE: calling 'beep' turns on the backlight (bell)
1076766963Speter# NOTE: calling 'flash' turns it on and back off (visual bell)
1076866963Speter#
10769166124SrafanMtxOrb|Generic Matrix Orbital LCD display,
10770166124Srafan	bel=\376B^A, clear=\376X\376C\376R\376K\376T,
10771166124Srafan	cnorm=\376K\376T, cub1=\376L, cuf1=\376M,
10772166124Srafan	flash=\376B\001$<200>\376F, home=\376H,
10773166124SrafanMtxOrb204|20x4 Matrix Orbital LCD display,
10774166124Srafan	cols#20, lines#4, use=MtxOrb,
10775166124SrafanMtxOrb162|16x2 Matrix Orbital LCD display,
10776166124Srafan	cols#16, lines#2, use=MtxOrb,
1077766963Speter# The end
1077866963Speter
1077950276Speter######## OLDER TERMINAL TYPES
1078050276Speter#
1078150276Speter# This section is devoted to older commercial terminal brands that are now
1078250276Speter# discontinued, but known to be still in use or represented by emulations.
1078350276Speter#
1078450276Speter
1078550276Speter#### AT&T (att, tty)
1078650276Speter#
1078750276Speter# This section also includes Teletype-branded VDTs.
1078850276Speter#
1078950276Speter# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
1079050276Speter# Boundless Technologies); for details, see the header comment on the ADDS
1079150276Speter# section.
1079250276Speter#
1079350276Speter# These are AT&T's official terminfo entries.  All-caps aliases have been
1079450276Speter# removed.
1079550276Speter#
10796166124Srafanatt2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
10797166124Srafan	am, eo, mir, msgr, xon,
10798166124Srafan	cols#80, it#8, lines#24,
10799166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
10800166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10801166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10802166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10803166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
10804166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
10805166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10806166124Srafan	kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
10807166124Srafan	kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
10808166124Srafan	kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
10809166124Srafan	kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
10810166124Srafan	kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
10811166124Srafan	rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
10812166124Srafan	smso=\E[7m,
10813166124Srafanatt2350|AT&T 2350 Video Information Terminal 80 column mode,
10814166124Srafan	mc0@, mc4@, mc5@, use=att2300,
1081550276Speter
1081650276Speter# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
1081750276Speter# Seems upward compatible with vt100, plus ins/del line/char.
1081850276Speter# On sgr, the protection parameter is ignored.
1081950276Speter# No check is made to make sure that only 3 parameters are output.
1082050276Speter# 	standout= reverse + half-intensity = 3 | 5.
1082150276Speter# 	bold= reverse + underline = 2 | 3.
1082250276Speter# note that half-bright blinking doesn't look different from normal blinking.
1082350276Speter# NOTE:you must program the function keys first, label second!
10824166124Srafan# (att4410: a BSD entry has been seen with the following capabilities:
1082550276Speter# <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
1082650276Speter# <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
10827166124Srafanatt5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
10828166124Srafan	am, hs, mir, msgr, xon,
10829166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10830166124Srafan	acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10831166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
10832166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
10833166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
10834166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
10835166124Srafan	ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
10836166124Srafan	is3=\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,
10837166124Srafan	kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10838166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
10839166124Srafan	kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
10840166124Srafan	ll=\E[24H, nel=^M^J,
10841166124Srafan	pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
10842166124Srafan	pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
10843166124Srafan	rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
10844166124Srafan	sc=\E7,
10845262685Sdelphij	sgr=\E[0%?%p1%p5%|%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
10846166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
10847166124Srafan	tsl=\E7\E[25;%p1%{1}%+%dH,
1084850276Speter
10849166124Srafanatt4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
10850166124Srafan	cols#132, wsl#132,
10851166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
1085250276Speter
10853166124Srafanatt4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
10854166124Srafan	OTbs,
10855166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
10856166124Srafan	use=att5410v1,
1085750276Speter
10858166124Srafanatt5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
10859166124Srafan	cols#132, wsl#132,
10860166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
1086150276Speter
1086250276Speter# 5410 in terms of a vt100
1086350276Speter# (v5410: added <rmam>/<smam> based on init string -- esr)
10864166124Srafanv5410|att5410 in terms of a vt100,
10865166124Srafan	am, mir, msgr, xon,
10866166124Srafan	cols#80, it#8, lines#24, vt#3,
10867166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10868166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
10869166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
10870166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2>,
10871166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
10872166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
10873166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
10874166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
10875166124Srafan	kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
10876166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
10877166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
10878166124Srafan	sc=\E7,
10879166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
10880166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
10881166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
10882166124Srafan	use=vt100+fnkeys,
1088350276Speter
10884166124Srafan#
1088550276Speter# Teletype Model 5420 -- A souped up 5410, with multiple windows,
1088650276Speter# even! the 5420 has three modes: scroll, window or page mode
1088750276Speter# this terminfo should work in scroll or window mode, but doesn't
1088850276Speter# take advantage of any of the differences between them.
1088950276Speter#
1089050276Speter# Has memory below (2 lines!)
1089150276Speter# 3 pages of memory (plus some spare)
1089250276Speter# The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
1089350276Speter# <hpa>, <hts> would work for these, but these work in both scroll and window
1089450276Speter# mode... Unset insert character so insert mode works
1089550276Speter# <is1> sets 80 column mode,
1089650276Speter# <is2> escape sequence:
1089750276Speter# 1) turn off all fonts
1089850276Speter# 2) function keys off, keyboard lock off, control display off,
1089950276Speter#    insert mode off, erasure mode off,
1090050276Speter# 3) full duplex, monitor mode off, send graphics off, nl on lf off
1090150276Speter# 4) reset origin mode
1090250276Speter# 5) set line wraparound
1090350276Speter# 6) exit erasure mode, positional attribute mode, and erasure extent mode
1090450276Speter# 7) clear margins
1090550276Speter# 8) program ENTER to transmit ^J,
1090650276Speter# We use \212 to program the ^J because a bare ^J will get translated by
1090750276Speter# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
1090850276Speter#     1      2            3              4     5     6    7  8
1090950276Speter# <is3> set screen color to black,
1091050276Speter# No representation in terminfo for the delete word key: kdw1=\Ed
1091150276Speter# Key capabilities assume the power-up send sequence...
10912166124Srafan# This <rmcup> is not strictly necessary, but it helps maximize
1091350276Speter# memory usefulness: <rmcup=\Ez>,
1091450276Speter# Alternate sgr0:	<sgr0=\E[m\EW^O>,
1091550276Speter# Alternate sgr:	<sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
1091650276Speter# smkx programs the SYS PF keys to send a set sequence.
1091750276Speter# It also sets up labels f1, f2, ..., f8, and sends edit keys.
1091850276Speter# This string causes them to send the strings <kf1>-<kf8>
1091950276Speter# when pressed in SYS PF mode.
1092050276Speter# (att4415: I added <rmam>/<smam> based on the init string -- esr)
10921166124Srafanatt4415|tty5420|att5420|AT&T 4415/5420 80 cols,
10922166124Srafan	OTbs, db, mir, xon,
10923166124Srafan	lh#2, lm#78, lw#8, nlab#8, wsl#55,
10924166124Srafan	cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
10925166124Srafan	cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
10926166124Srafan	cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
10927166124Srafan	dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
10928166124Srafan	flash=\E[?5h$<200>\E[?5l, home=\E[x,
10929166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
10930166124Srafan	il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
10931166124Srafan	is2=\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,
10932166124Srafan	is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
10933166124Srafan	kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
10934166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
10935166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
10936166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
10937166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
10938166124Srafan	mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
10939166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
10940166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
10941166124Srafan	rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
10942166124Srafan	rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
10943262685Sdelphij	sgr=\E[0%?%p1%p5%|%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e\017%;,
10944166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
10945166124Srafan	smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
10946166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
10947166124Srafan	use=att4410,
1094850276Speter
10949166124Srafanatt4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
10950166124Srafan	cols#132, lm#54, wsl#97,
10951166124Srafan	is1=\E[?3h$<100>, use=att4415,
1095250276Speter
10953166124Srafanatt4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
10954166124Srafan	flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
1095550276Speter
10956166124Srafanatt4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
10957166124Srafan	cols#132, lm#54, wsl#97,
10958166124Srafan	flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h,
10959166124Srafan	use=att4415,
1096050276Speter
1096150276Speter# Note that this mode permits programming USER PF KEYS and labels
1096250276Speter# However, when you program user pf labels you have to reselect
10963166124Srafan# user pf keys to make them appear!
10964166124Srafanatt4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
10965166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
10966166124Srafan	pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
10967166124Srafan	pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
1096850276Speter
10969166124Srafanatt4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
10970166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
10971166124Srafan	use=att4415,
1097250276Speter
10973166124Srafanatt4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
10974166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
10975166124Srafan	use=att4415-rv,
1097650276Speter
10977166124Srafanatt4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
10978166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
10979166124Srafan	use=att4415-w,
1098050276Speter
10981166124Srafanatt4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
10982166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
10983166124Srafan	use=att4415-w-rv,
1098450276Speter
10985166124Srafanatt5420_2|AT&T 5420 model 2 80 cols,
10986166124Srafan	am, db, hs, mir, msgr, xon,
10987166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
10988166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10989166124Srafan	blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
10990166124Srafan	cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10991262629Sdelphij	cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
10992262629Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
10993262629Sdelphij	cvvis=\E[11;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10994262629Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J,
10995262629Sdelphij	el=\E[0K, el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
10996262629Sdelphij	home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH,
10997262629Sdelphij	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
10998262629Sdelphij	indn=\E[%p1%dE, invis=\E[8m,
10999166124Srafan	is1=\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,
11000166124Srafan	kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
11001166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
11002166124Srafan	kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
11003166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
11004166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
11005166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
11006166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
11007166124Srafan	mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
11008166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
11009166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
11010166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
11011166124Srafan	rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
11012166124Srafan	sc=\E7,
11013166124Srafan	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11014166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
11015166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
11016166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
11017166124Srafanatt5420_2-w|AT&T 5420 model 2 in 132 column mode,
11018166124Srafan	cols#132,
11019166124Srafan	is1=\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,
11020166124Srafan	use=att5420_2,
1102150276Speter
11022166124Srafanatt4418|att5418|AT&T 5418 80 cols,
11023166124Srafan	am, xon,
11024166124Srafan	cols#80, lines#24,
11025166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11026166124Srafan	bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
11027166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
11028166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
11029166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
11030166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
11031166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
11032166124Srafan	is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@,
11033166124Srafan	kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
11034166124Srafan	kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
11035166124Srafan	kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
11036166124Srafan	kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
11037166124Srafan	kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
11038166124Srafan	rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
11039166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
11040166124Srafanatt4418-w|att5418-w|AT&T 5418 132 cols,
11041166124Srafan	cols#132,
11042166124Srafan	is1=\E[?3h, use=att5418,
1104350276Speter
11044166124Srafanatt4420|tty4420|teletype 4420,
11045166124Srafan	OTbs, da, db, eo, msgr, ul, xon,
11046166124Srafan	cols#80, lines#24, lm#72,
11047166124Srafan	bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
11048166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
11049166124Srafan	dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
11050166124Srafan	kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
11051166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
11052166124Srafan	kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
11053166124Srafan	lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
11054166124Srafan	rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
1105550276Speter
1105650276Speter#  The following is a terminfo entry for the Teletype 4424
1105750276Speter#  asynchronous keyboard-display terminal.  It supports
1105850276Speter#  the vi editor.  The terminal must be set up as follows,
11059166124Srafan#
1106050276Speter# 	HIGHLIGHT DEFINITION	3-TONE
1106150276Speter# 	DISPLAY FUNCTION	GROUP III
11062166124Srafan#
1106350276Speter#  The second entry below provides limited (a la adm3a)
1106450276Speter#  operation under GROUP II.
11065166124Srafan#
1106650276Speter#  This must be used with DISPLAY FUNCTION GROUP I or III
1106750276Speter# 	and HIGHLIGHT DEFINITION 3-TONE
1106850276Speter# The terminal has either bold or blink, depending on options
1106950276Speter#
1107050276Speter# (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
11071166124Srafanatt4424|tty4424|teletype 4424,
11072166124Srafan	OTbs, am, xon,
11073166124Srafan	cols#80, lines#24,
11074166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11075166124Srafan	bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
11076166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11077166124Srafan	cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
11078166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
11079166124Srafan	dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
11080166124Srafan	ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
11081166124Srafan	ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
11082166124Srafan	kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
11083166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
11084166124Srafan	khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
11085166124Srafan	rmul=\EZ,
11086166124Srafan	sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
11087166124Srafan	sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
11088166124Srafan	tbc=\EF,
1108950276Speter
11090166124Srafanatt4424-1|tty4424-1|teletype 4424 in display function group I,
11091166124Srafan	kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
11092166124Srafan	use=att4424,
1109350276Speter
1109450276Speter# This entry is not one of AT&T's official ones, it was translated from the
1109550276Speter# 4.4BSD termcap file.  The highlight strings are different from att4424.
1109650276Speter# I have no idea why this is -- older firmware version, maybe?
1109750276Speter# The following two lines are the comment originally attached to the entry:
1109850276Speter# This entry appears to avoid the top line - I have no idea why.
1109950276Speter# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
11100166124Srafanatt4424m|tty4424m|teletype 4424M,
11101166124Srafan	am, da, db, mir,
11102166124Srafan	cols#80, it#8, lines#23,
11103166124Srafan	bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
11104166124Srafan	cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
11105166124Srafan	dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
11106166124Srafan	is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
11107166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
11108166124Srafan	kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
11109166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1111050276Speter
11111166124Srafan# The Teletype 5425 is really version 2 of the Teletype 5420. It
11112166124Srafan# is quite similar, except for some minor differences. No page
11113166124Srafan# mode, for example, so all of the <cup> sequences used above have
11114166124Srafan# to change back to what's being used for the 5410. Many of the
1111550276Speter# option settings have changed their numbering as well.
11116166124Srafan#
1111750276Speter# This has been tested on a preliminary model.
1111850276Speter#
1111950276Speter# (att5425: added <rmam>/<smam> based on the init string -- esr)
11120166124Srafanatt5425|tty5425|att4425|AT&T 4425/5425,
11121166124Srafan	am, da, db, hs, mir, msgr, xenl, xon,
11122166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
11123166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11124166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
11125166124Srafan	clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
11126166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11127166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
11128166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11129166124Srafan	cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
11130166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
11131166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
11132166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
11133166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
11134166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
11135166124Srafan	invis=\E[8m, is1=\E<\E[?3l$<100>,
11136166124Srafan	is2=\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,
11137166124Srafan	is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
11138166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
11139166124Srafan	kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
11140166124Srafan	kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
11141166124Srafan	kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
11142166124Srafan	kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
11143166124Srafan	nel=^M^J,
11144166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
11145166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
11146166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
11147166124Srafan	rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
11148166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
11149262685Sdelphij	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t\016%e\017%;,
11150166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
11151166124Srafan	smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
11152166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
11153166124Srafan	vpa=\E[%p1%{1}%+%dd,
1115450276Speter
11155166124Srafanatt5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
11156166124Srafan	smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
1115750276Speter
11158166124Srafanatt5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
11159166124Srafan	cols#132, lm#54, wsl#97,
11160166124Srafan	is1=\E[?3h$<100>, use=tty5425,
1116150276Speter
11162166124Srafan# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
1116350276Speter# I also added <rmam>/<smam> -- esr)
11164166124Srafanatt4426|tty4426|teletype 4426S,
11165166124Srafan	am, da, db, xon,
11166166124Srafan	cols#80, lines#24, lm#48,
11167166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11168166124Srafan	bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
11169166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
11170166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11171262629Sdelphij	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EP,
11172166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
11173166124Srafan	hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
11174166124Srafan	il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
11175166124Srafan	is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
11176166124Srafan	kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
11177166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
11178166124Srafan	kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
11179166124Srafan	nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
11180166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
11181166124Srafan	rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
11182166124Srafan	smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
11183166124Srafan	vpa=\E[%p1%dd,
1118450276Speter
1118550276Speter# Terminfo entry for the AT&T 510 A Personal Terminal
11186166124Srafan# Function keys 9 - 16 are available only after the
1118750276Speter# screen labeled (soft keys/action blocks) are labeled.  Function key
1118850276Speter# 9 corresponds to the leftmost touch target on the screen,
1118950276Speter# function key 16 corresponds to the rightmost.
1119050276Speter#
1119150276Speter# This entry is based on one done by Ernie Rice at Summit, NJ and
1119250276Speter# changed by Anne Gallup, Skokie, IL, ttrdc!anne
11193166124Srafanatt510a|bct510a|AT&T 510A Personal Terminal,
11194166124Srafan	am, mir, msgr, xenl, xon,
11195166124Srafan	cols#80, lh#2, lines#24, lw#7, nlab#8,
11196166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
11197166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
11198166124Srafan	civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
11199262629Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
11200166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11201166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
11202166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
11203166124Srafan	el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
11204166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
11205166124Srafan	is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
11206166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
11207166124Srafan	kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
11208166124Srafan	kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
11209166124Srafan	kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
11210166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
11211166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
11212166124Srafan	rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
11213166124Srafan	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
11214166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
11215166124Srafan	smul=\E[4m, tbc=\E[3g,
1121650276Speter
1121750276Speter# Terminfo entry for the AT&T 510 D Personal Terminal
1121850276Speter# Function keys 9 through 16 are accessed by bringing up the
1121950276Speter# system blocks.
1122050276Speter# Function key 9 corresponds to the leftmost touch target on the screen,
1122150276Speter# function key 16 corresponds to the rightmost.
1122250276Speter#
11223166124Srafan# There are problems with soft key labeling.  These are due to
1122450276Speter# strangenesses in the native terminal that are impossible to
11225166124Srafan# describe in a terminfo.
11226166124Srafanatt510d|bct510d|AT&T 510D Personal Terminal,
11227166124Srafan	am, da, db, mir, msgr, xenl, xon,
11228166124Srafan	cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
11229166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
11230166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
11231166124Srafan	clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
11232262629Sdelphij	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
11233166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
11234166124Srafan	cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
11235166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
11236166124Srafan	el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
11237166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
11238166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
11239166124Srafan	invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
11240166124Srafan	kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
11241166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
11242166124Srafan	kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
11243166124Srafan	kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
11244166124Srafan	kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
11245166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
11246166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
11247166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
11248166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
11249166124Srafan	rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
11250166124Srafan	rs2=\E[5;0|, sc=\E7,
11251166124Srafan	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11252166124Srafan	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
11253166124Srafan	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
11254166124Srafan	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1125550276Speter
1125650276Speter# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
11257166124Srafanatt500|att513|AT&T 513 using page mode,
11258166124Srafan	am, chts, mir, msgr, xenl, xon,
11259166124Srafan	cols#80, lh#2, lines#24, lw#8, nlab#8,
11260166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
11261166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
11262166124Srafan	clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
11263166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11264166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
11265166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11266166124Srafan	cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
11267166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
11268166124Srafan	enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
11269166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
11270166124Srafan	indn=\E[%p1%dE, invis=\E[8m,
11271166124Srafan	is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
11272166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
11273166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
11274166124Srafan	kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
11275166124Srafan	kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
11276166124Srafan	kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
11277166124Srafan	kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
11278166124Srafan	kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
11279166124Srafan	kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11280166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
11281166124Srafan	kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
11282166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
11283166124Srafan	khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
11284166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
11285166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
11286166124Srafan	kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
11287166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
11288166124Srafan	mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
11289166124Srafan	nel=\EE,
11290166124Srafan	pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
11291166124Srafan	pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
11292166124Srafan	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
11293166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
11294166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
11295166124Srafan	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
11296166124Srafan	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
11297166124Srafan	rmul=\E[m,
11298166124Srafan	rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l,
11299166124Srafan	rs2=\E[5;0|, sc=\E7,
11300166124Srafan	sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11301166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h,
11302166124Srafan	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
11303166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1130450276Speter
1130550276Speter# 01-07-88
1130650276Speter# printer must be set to EMUL ANSI to accept ESC codes
1130750276Speter# <cuu1> stops at top margin
1130850276Speter# <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1130950276Speter#	and alt font ascii,wrap on,tabs cleared
1131050276Speter# <is2> disables newline on LF,Emphasized off
1131150276Speter# The <u0> capability sets form length
11312166124Srafanatt5310|att5320|AT&T Model 53210 or 5320 matrix printer,
11313166124Srafan	xhpa, xvpa,
11314166124Srafan	bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
11315166124Srafan	orhi#100, orl#12, orvi#72,
11316166124Srafan	cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;,
11317166124Srafan	cr=^M,
11318166124Srafan	csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;,
11319166124Srafan	cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
11320166124Srafan	ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
11321166124Srafan	lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;,
11322166124Srafan	rshm=\E[m,
11323166124Srafan	scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;,
11324166124Srafan	smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
11325166124Srafan	smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
11326166124Srafan	u0=\E[%p1%dt, vpa=\E[%p1%dd,
1132750276Speter
1132850276Speter# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
1132950276Speter# The following SET-UP modes are assumed for normal operation:
1133050276Speter#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
1133150276Speter# Other SET-UP modes may be set for operator convenience or communication
1133250276Speter# requirements.  This termcap description is for the Resident Terminal Mode.
1133350276Speter# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1133450276Speter# The BRL entry also said: UNSAFE :ll=\E[70H:
11335166124Srafanatt5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
11336166124Srafan	am, xon,
11337166124Srafan	cols#88, it#8, lines#70, vt#3,
11338166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
11339166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
11340166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
11341166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
11342166124Srafan	il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
11343166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
11344166124Srafan	kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
11345166124Srafan	rs1=\Ec, sc=\E7,
1134650276Speter
1134750276Speter# 5620 terminfo  (2.0 or later ROMS with char attributes)
1134850276Speter# The following SET-UP modes are assumed for normal operation:
1134950276Speter#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
1135050276Speter# Other SET-UP modes may be set for operator convenience or communication
1135150276Speter# requirements.  This termcap description is for Resident Terminal Mode.  No
1135250276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1135350276Speter# assumptions: <ind> (scroll forward one line) is only done at screen bottom
1135450276Speter# Be aware that older versions of the dmd have a firmware bug that affects
1135550276Speter# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1135650276Speter# <msgr> is from an otherwise inferior BRL for this terminal.  That entry
1135750276Speter# also has <ll>=\E[70H commented out and marked unsafe.
1135850276Speter# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
11359166124Srafanatt5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
11360166124Srafan	OTbs, am, msgr, npc, xon,
11361166124Srafan	cols#88, it#8, lines#70,
11362166124Srafan	bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
11363166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
11364166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
11365166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
11366166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
11367166124Srafan	indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
11368166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
11369166124Srafan	pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
11370166124Srafan	rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
11371166124Srafan	sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
11372166124Srafanatt5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
11373166124Srafan	lines#24, use=att5620,
11374166124Srafanatt5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
11375166124Srafan	lines#34, use=att5620,
1137650276Speter# 5620 layer running the "S" system's downloaded graphics handler:
11377166124Srafanatt5620-s|tty5620-s|layer|vitty|5620 S layer,
11378166124Srafan	OTbs, OTpt, am,
11379166124Srafan	cols#80, it#8, lines#72,
11380166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
11381166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
11382166124Srafan	el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
11383166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
11384166124Srafan	kll=\E[70;1H,
1138550276Speter
1138650276Speter# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1138750276Speter#
1138850276Speter# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1138950276Speter# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
11390166124Srafanatt605|AT&T 605 80 column 102key keyboard,
11391166124Srafan	am, eo, xon,
11392166124Srafan	cols#80, lines#24, lw#8, nlab#8, wsl#80,
11393166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11394166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
11395166124Srafan	cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
11396166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
11397166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
11398166124Srafan	el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
11399166124Srafan	il1=\E[L, ind=^J, invis=\E[8m,
11400166124Srafan	is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
11401166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
11402166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
11403166124Srafan	kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
11404166124Srafan	kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
11405166124Srafan	kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
11406166124Srafan	kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
11407166124Srafan	kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
11408166124Srafan	kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
11409166124Srafan	kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
11410166124Srafan	kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
11411166124Srafan	kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
11412166124Srafan	kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
11413166124Srafan	kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
11414166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
11415166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
11416166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
11417166124Srafan	rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
11418166124Srafan	rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
11419166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
11420166124Srafan	tsl=\E7\E[25;%i%p1%dx,
11421166124Srafanatt605-pc|ATT 605 in pc term mode,
11422166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
11423166124Srafan	cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
11424166124Srafan	dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z,
11425166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
11426166124Srafan	kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
11427166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
11428166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
11429166124Srafan	rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
11430166124Srafan	xonc=e, use=att605,
11431166124Srafanatt605-w|AT&T 605-w 132 column 102 key keyboard,
11432166124Srafan	cols#132, wsl#132,
11433166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
11434166124Srafan	use=att605,
1143550276Speter# (att610: I added <rmam>/<smam> based on the init string.  I also
1143650276Speter# added <indn> and <rin> because the BSD file says the att615s have them,
1143750276Speter# and the 615 is like a 610 with a big keyboard, and most of their other
1143850276Speter# smart terminals support the same sequence -- esr)
11439166124Srafanatt610|AT&T 610; 80 column; 98key keyboard,
11440166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
11441166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
11442166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11443166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
11444166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
11445166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11446166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11447166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11448166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
11449166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
11450166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
11451166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
11452166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
11453166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
11454166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
11455166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
11456166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
11457166124Srafan	kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
11458166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
11459166124Srafan	kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
11460166124Srafan	nel=\EE,
11461166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
11462166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
11463166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
11464166124Srafan	rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
11465166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11466166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
11467166124Srafan	smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
11468166124Srafanatt610-w|AT&T 610; 132 column; 98key keyboard,
11469166124Srafan	cols#132, wsl#132,
11470166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
11471166124Srafan	use=att610,
1147250276Speter
11473166124Srafanatt610-103k|AT&T 610; 80 column; 103key keyboard,
11474166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
11475166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
11476166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
11477166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
11478166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
11479166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
11480166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
11481166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
11482166124Srafan	khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
11483166124Srafan	knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
11484166124Srafan	kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
11485166124Srafan	krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
11486166124Srafan	kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
11487166124Srafanatt610-103k-w|AT&T 610; 132 column; 103key keyboard,
11488166124Srafan	cols#132, wsl#132,
11489166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
11490166124Srafan	use=att610-103k,
11491166124Srafanatt615|AT&T 615; 80 column; 98key keyboard,
11492166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
11493166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
11494166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
11495166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
11496166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
11497166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
11498166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610,
11499166124Srafanatt615-w|AT&T 615; 132 column; 98key keyboard,
11500166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
11501166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
11502166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
11503166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
11504166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
11505166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
11506166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w,
11507166124Srafanatt615-103k|AT&T 615; 80 column; 103key keyboard,
11508166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
11509166124Srafanatt615-103k-w|AT&T 615; 132 column; 103key keyboard,
11510166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
1151150276Speter# (att620: I added <rmam>/<smam> based on the init string and
1151250276Speter# <rin>/<indn> from a BSD termcap -- esr)
11513166124Srafanatt620|AT&T 620; 80 column; 98key keyboard,
11514166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
11515166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
11516166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11517166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
11518166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
11519166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11520166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11521166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11522166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
11523166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
11524166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
11525166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
11526166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
11527166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
11528166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
11529166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
11530166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
11531166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
11532166124Srafan	kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
11533166124Srafan	kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
11534166124Srafan	kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
11535166124Srafan	kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
11536166124Srafan	kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
11537166124Srafan	kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
11538166124Srafan	kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
11539166124Srafan	kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
11540166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
11541166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
11542166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
11543166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
11544166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
11545166124Srafan	rs2=\Ec\E[?3l, sc=\E7,
11546262685Sdelphij	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\E)0\016%e\E(B\017%;,
11547166124Srafan	sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
11548166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
11549166124Srafan	tsl=\E7\E[25;%i%p1%dx,
11550166124Srafanatt620-w|AT&T 620; 132 column; 98key keyboard,
11551166124Srafan	cols#132, wsl#132,
11552166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
11553166124Srafan	use=att620,
11554166124Srafanatt620-103k|AT&T 620; 80 column; 103key keyboard,
11555166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
11556166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
11557166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
11558166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
11559166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
11560166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
11561166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
11562166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
11563166124Srafan	kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
11564166124Srafan	kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
11565166124Srafan	kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
11566166124Srafan	kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
11567166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
11568166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
11569166124Srafan	kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
11570166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620,
1157150276Speter
11572166124Srafanatt620-103k-w|AT&T 620; 132 column; 103key keyboard,
11573166124Srafan	cols#132, wsl#132,
11574166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
11575166124Srafan	use=att620-103k,
1157650276Speter
1157750276Speter# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
1157850276Speter# The following SETUP modes are assumed for normal operation:
1157950276Speter#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
1158050276Speter#	Font_Size=Large		Non-Layers_Window_Cols=80
1158150276Speter#				Non-Layers_Window_Rows=60
1158250276Speter# Other SETUP modes may be set for operator convenience or communication
1158350276Speter# requirements.  Some capabilities assume a printer attached to the Aux EIA
1158450276Speter# port.  This termcap description is for the Fixed Non-Layers Window.  No
1158550276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1158650276Speter# (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
11587166124Srafanatt630|AT&T 630 windowing terminal,
11588166124Srafan	OTbs, am, da, db, mir, msgr, npc, xon,
11589166124Srafan	cols#80, it#8, lines#60, lm#0,
11590166124Srafan	bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
11591166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
11592166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11593166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
11594166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
11595166124Srafan	el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
11596166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
11597166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
11598166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
11599166124Srafan	kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
11600166124Srafan	kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
11601166124Srafan	kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
11602166124Srafan	kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
11603166124Srafan	mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
11604166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
11605166124Srafan	rmul=\E[m, rs2=\Ec, sc=\E7,
11606262685Sdelphij	sgr=\E[0%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%p4%|%t;7%;m,
11607166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
11608166124Srafanatt630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
11609166124Srafan	lines#24, use=att630,
1161050276Speter
1161150276Speter# This is the att700 entry for 700 native emulation of the AT&T 700
1161250276Speter# terminal.  Comments are relative to changes from the 605V2 entry and
1161350276Speter# att730 on which the entry is based.  Comments show the terminfo
1161450276Speter# capability name, termcap name, and description.
1161550276Speter#
1161650276Speter# Here is what's going onm in the init string:
1161750276Speter#	ESC [ 50;4|	set 700 native mode (really is 605)
1161850276Speter# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
1161950276Speter#	ESC [ 53;0|	set GenFlow to Xon/Xoff
11620166124Srafan#	ESC [ 8 ;0|	set CR on NL
1162150276Speter# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
11622166124Srafan#	ESC [ ? 4 l	jump scroll
1162350276Speter#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
1162450276Speter#	ESC [ ?13 l	Labels on
1162550276Speter#	ESC [ ?15 l	parity check = no
1162650276Speter#	ESC [ 13 l	monitor mode off
1162750276Speter#	ESC [ 20 l	LF on NL (not CRLF on NL)
1162850276Speter#	ESC [ ? 7 h	autowrap on
1162950276Speter#	ESC [ 12 h	local echo off
1163050276Speter#	ESC ( B		GO = ASCII
1163150276Speter#	ESC ) 0		G1 = Special Char & Line Drawing
1163250276Speter#	ESC [ ? 31 l	Set 7 bit controls
1163350276Speter#
1163450276Speter# Note: Most terminals, especially the 600 family use Reverse Video for
1163550276Speter# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
1163650276Speter# Assume we should stay with reverse video for 70..  However, the 605V2 exits
1163750276Speter# standout mode with \E[m (all normal attributes).  The 730 entry simply
1163850276Speter# exits reverse video which would leave other current attributes intact.  It
1163950276Speter# was assumed the 730 entry to be more correct so rmso has changed.  The
1164050276Speter# 605V2 has no sequences to turn individual attributes off, thus its setting
1164150276Speter# and the rmso/smso settings from the 730.
1164250276Speter#
1164350276Speter# Note: For the same reason as above in rmso I changed exit under-score mode
11644166124Srafan# to specifically turn off underscore, rather than return to all normal
1164550276Speter# attributes
1164650276Speter#
1164750276Speter# Note: The following pkey_xmit is taken from the 605V2 which contained the
1164850276Speter# capability as pfxl.  It was changed here to pfx since pfxl
1164950276Speter# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
1165050276Speter# allows strings to be parameters and label values must be programmed as
1165150276Speter# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
1165250276Speter# and strings to be parameters.  The 605V2 pfx entry should be examined later
1165350276Speter# in this regard. For reference the 730 pfxl entry is shown here for comparison
1165450276Speter# 730 pfx entry:
1165550276Speter#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
1165650276Speter# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
1165750276Speter#
1165850276Speter# (for 4.0 tic)
1165950276Speter#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1166050276Speter#
1166150276Speter# (for <4.0 tic)
1166250276Speter#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1166350276Speter#
1166450276Speter# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
1166550276Speter#
1166650276Speter# Port1 Interface
1166750276Speter#
1166850276Speter# modular 10 pin Connector
1166950276Speter# Left side       Right side
1167050276Speter# Pin 1 2 3 4 5 6 7 8 9 10
1167150276Speter#
1167250276Speter#        Key (notch) at bottom
1167350276Speter#
1167450276Speter# Pin    1 DSR
1167550276Speter#        3 DCD
1167650276Speter#        4 DTR
1167750276Speter#        5 Sig Ground
1167850276Speter#        6 RD
1167950276Speter#        7 SD
1168050276Speter#        8 CTS
1168150276Speter#        9 RTS
1168250276Speter#        10 Frame Ground
1168350276Speter#
1168450276Speter# The manual is 189 pages and is loaded with details about the escape codes,
1168550276Speter# etc..... Available from AT&T CIC 800-432-6600...
1168650276Speter# ask for Document number 999-300-660..
1168750276Speter#
11688166124Srafanatt700|AT&T 700 24x80 column display w/102key keyboard,
11689166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
11690166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
11691166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11692166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
11693166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
11694166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11695166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11696166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11697166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
11698166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
11699166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
11700166124Srafan	fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
11701166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
11702166124Srafan	is2=\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,
11703166124Srafan	is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
11704166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11705166124Srafan	kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
11706166124Srafan	kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
11707166124Srafan	kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
11708166124Srafan	kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
11709166124Srafan	kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
11710166124Srafan	kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
11711166124Srafan	kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
11712166124Srafan	kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
11713166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
11714166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
11715166124Srafan	kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
11716166124Srafan	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
11717166124Srafan	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
11718166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
11719166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
11720166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
11721166124Srafan	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
11722166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11723166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
11724166124Srafan	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
11725166124Srafan	tsl=\E7\E[99;%i%p1%dx,
1172650276Speter
1172750276Speter# This entry was modified 3/13/90 by JWE.
1172850276Speter# fixes include additions of <enacs>, correcting <rep>, and modification
1172950276Speter# of <kHOM>.  (See comments below)
1173050276Speter# att730 has status line of 80 chars
1173150276Speter# These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
1173250276Speter# the <kf25> and up keys are used for shifted system Fkeys
11733166124Srafan# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1173450276Speter# currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
1173550276Speter# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1173650276Speter# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1173750276Speter# 102, 102+1, or 122 key keyboards
1173850276Speter#       kHOM=\E[2J,
1173950276Speter# (att730: I added <rmam>/<smam> based on the init string -- esr)
11740166124Srafanatt730|AT&T 730 windowing terminal,
11741166124Srafan	am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
11742166124Srafan	cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
11743166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11744166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
11745166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
11746166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11747166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11748166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11749166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
11750166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
11751166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
11752166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
11753166124Srafan	ind=\ED, invis=\E[8m,
11754166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
11755166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
11756166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
11757166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
11758166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
11759166124Srafan	kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
11760166124Srafan	kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
11761166124Srafan	kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
11762166124Srafan	kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
11763166124Srafan	kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
11764166124Srafan	kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
11765166124Srafan	kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
11766166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
11767166124Srafan	kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
11768166124Srafan	mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
11769166124Srafan	pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s,
11770166124Srafan	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
11771166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
11772166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
11773166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
11774166124Srafan	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
11775166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
11776166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
11777166124Srafan	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
11778166124Srafan	swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
11779166124Srafanatt730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
11780166124Srafan	lines#41, use=att730,
11781166124Srafanatt730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
11782166124Srafan	lines#24, use=att730,
11783166124Srafanatt730r|730MTGr|AT&T 730 rev video windowing terminal Version,
11784166124Srafan	flash=\E[?5l$<200>\E[?5h,
11785166124Srafan	is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
11786166124Srafan	use=att730,
11787166124Srafanatt730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
11788166124Srafan	lines#41, use=att730r,
11789166124Srafanatt730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
11790166124Srafan	lines#24, use=att730r,
1179150276Speter
1179250276Speter# The following represents the screen layout along with the associated
1179350276Speter# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
1179450276Speter# not appear on the screen but are shown to reference the bezel buttons.
1179550276Speter# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
1179650276Speter# position relative to the screen.
1179750276Speter#
1179850276Speter#
1179950276Speter#
1180050276Speter#      +----------------------------------------------------------------+
1180150276Speter#      |                                                                |
1180250276Speter# XXXX | kf0                                                       kf24 | XXXX
1180350276Speter#      |                                                                |
1180450276Speter#      |                                                                |
1180550276Speter# XXXX | kf1                                                       kf23 | XXXX
1180650276Speter#      |                                                                |
1180750276Speter#      |                                                                |
1180850276Speter# XXXX | kf2                                                       kf22 | XXXX
1180950276Speter#      |                                                                |
1181050276Speter#      |                                                                |
1181150276Speter# XXXX | kf3                                                       kf21 | XXXX
1181250276Speter#      |                                                                |
1181350276Speter#      |                                                                |
1181450276Speter# XXXX | kf4                                                       kf20 | XXXX
1181550276Speter#      |                                                                |
1181650276Speter#      |                                                                |
1181750276Speter# XXXX | kf5                                                       kf19 | XXXX
1181850276Speter#      |                                                                |
1181950276Speter#      |                                                                |
1182050276Speter# XXXX | kf6                                                       kf18 | XXXX
1182150276Speter#      |                                                                |
1182250276Speter#      |                                                                |
1182350276Speter# XXXX |                                                                | XXXX
1182450276Speter#      |                                                                |
1182550276Speter#      |                                                                |
1182650276Speter#      +----------------------------------------------------------------+
1182750276Speter#
1182850276Speter#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
1182950276Speter#
1183050276Speter# Note: XXXX represents the screen buttons
1183150276Speter#                                                          CMD   REDRAW
1183250276Speter#
1183350276Speter#                                                          MAIL
1183450276Speter#
11835166124Srafan# version 1 note:
1183650276Speter#	The character string sent by key 'kf26' may be user programmable
1183750276Speter#       to send either \E[16s, or \E[26s.
1183850276Speter#       The character string sent by key 'krfr' may be user programmable
1183950276Speter#       to send either \E[17s, or \E[27s.
1184050276Speter#
1184150276Speter# Depression of the "CMD" key sends    \E!    (kcmd)
1184250276Speter# Depression of the "MAIL" key sends   \E[26s (kf26)
1184350276Speter# "REDRAW" same as "REFRESH" (krfr)
1184450276Speter#
1184550276Speter# "kf" functions adds carriage return to output string if terminal is in
1184650276Speter# 'new line' mode.
1184750276Speter#
1184850276Speter# The following are functions not covered in the table above:
1184950276Speter#
1185050276Speter#       Set keyboard character (SKC): \EPn1;Pn2w
1185150276Speter#                       Pn1= 0 Back Space key
1185250276Speter#                       Pn1= 1 Break key
1185350276Speter#                       Pn2=   Program char (hex)
1185450276Speter#
1185550276Speter#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
1185650276Speter#                       Pn1=     Window number (1-39)
1185750276Speter#                       Pn2-Pn5= Y;X;Y;X coordinates
1185850276Speter#
1185950276Speter#       Screen Selection (SSL): \E[Pnu
1186050276Speter#                       Pn= Window number
1186150276Speter#
1186250276Speter#       Set Terminal Modes (SM): \E[Pnh
1186350276Speter#                       Pn= 3 Graphics mode
1186450276Speter#                       Pn= > Cursor blink
1186550276Speter#                       Pn= < Enter new line mode
1186650276Speter#                       Pn= = Enter reverse insert/replace mode
1186750276Speter#                       Pn= ? Enter no scroll mode
1186850276Speter#
1186950276Speter#       Reset Terminal Mode (RM): \E[Pnl
1187050276Speter#                       Pn= 3 Exit graphics mode
1187150276Speter#                       Pn= > Exit cursor blink
1187250276Speter#                       Pn= < Exit new line mode
1187350276Speter#                       Pn= = Exit reverse insert/replace mode
1187450276Speter#                       Pn= ? Exit no scroll mode
1187550276Speter#
1187650276Speter#       Screen Status Report (SSR): \E[Pnp
1187750276Speter#                       Pn= 0 Request current window number
1187850276Speter#                       Pn= 1 Request current window dimensions
1187950276Speter#
1188050276Speter#       Device Status Report (DSR): \E[6n    Request cursor position
1188150276Speter#
1188250276Speter#       Call Status Report (CSR): \E[Pnv
1188350276Speter#                       Pn= 0 Call failed
1188450276Speter#                       Pn= 1 Call successful
1188550276Speter#
1188650276Speter#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
1188750276Speter#                       Pn1= Button number to be loaded
1188850276Speter#                       Pn2= Character count of "string"
1188950276Speter#                       Pn3= Key mode being loaded:
1189050276Speter#                               0= Unshifted
1189150276Speter#                               1= Shifted
1189250276Speter#                               2= Control
1189350276Speter#                       String= Text string (15 chars max)
1189450276Speter#
1189550276Speter#       Screen Number Report (SNR): \E[Pnp
1189650276Speter#                       Pn= Screen number
1189750276Speter#
1189850276Speter#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
1189950276Speter#                       Pn1= Number of rows available in window
1190050276Speter#                       Pn2= Number of columns available in window
1190150276Speter#
1190250276Speter#       Cursor Position Report (CPR): \E[Pn1;Pn2R
1190350276Speter#                       Pn1= "Y" Position of cursor
1190450276Speter#                       Pn2= "X" Position of cursor
1190550276Speter#
1190650276Speter#       Request Answer Back (RAB): \E[c
1190750276Speter#
1190850276Speter#       Answer Back Response (ABR): \E[?;*;30;VSV
1190950276Speter#                       *=  0 No printer available
1191050276Speter#                       *=  2 Printer available
1191150276Speter#                       V=  Software version number
1191250276Speter#                       SV= Software sub version number
1191350276Speter#	(printer-available field not documented in v1)
1191450276Speter#
1191550276Speter#       Screen Alignment Aid: \En
1191650276Speter#
1191750276Speter#       Bell (lower pitch): \E[x
1191850276Speter#
1191950276Speter#       Dial Phone Number: \EPdstring\
1192050276Speter#                       string= Phone number to be dialed
1192150276Speter#
1192250276Speter#       Set Phone Labels: \EPpstring\
1192350276Speter#                       string= Label for phone buttons
1192450276Speter#
1192550276Speter#       Set Clock: \EPchour;minute;second\
1192650276Speter#
1192750276Speter#       Position Clock: \EPsY;X\
1192850276Speter#                       Y= "Y" coordinate
1192950276Speter#                       X= "X" coordinate
1193050276Speter#
1193150276Speter#       Delete Clock: \Epr\
1193250276Speter#
1193350276Speter#       Programming The Function Buttons: \EPfPn;string\
1193450276Speter#                       Pn= Button number (00-06, 18-24)
1193550276Speter#                                         (kf00-kf06, kf18-kf24)
1193650276Speter#                       string= Text to sent on button depression
1193750276Speter#
1193850276Speter# The following in version 2 only:
1193950276Speter#
1194050276Speter#       Request For Local Directory Data: \EPp12;\
1194150276Speter#
1194250276Speter#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1194350276Speter#
1194450276Speter#	Request for Local Directory Data in print format: \EPp13;\
1194550276Speter#
1194650276Speter#	Enable 'Prt on Line' mode: \022 (DC2)
1194750276Speter#
1194850276Speter#	Disable 'Prt on Line' mode: \024 (DC4)
1194950276Speter#
1195050276Speter
1195150276Speter# 05-Aug-86:
1195250276Speter# The following Terminfo entry describes functions which are supported by
1195350276Speter# the AT&T 5430/pt505 terminal software version 2 and later.
11954166124Srafanatt505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
11955166124Srafan	am, xon,
11956166124Srafan	cols#80, it#8, lines#24,
11957166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
11958166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
11959166124Srafan	cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
11960166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11961166124Srafan	cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11962166124Srafan	cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
11963166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
11964166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J,
11965166124Srafan	is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
11966166124Srafan	kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
11967166124Srafan	kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
11968166124Srafan	kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
11969166124Srafan	kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
11970166124Srafan	kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
11971166124Srafan	krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
11972166124Srafan	rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
11973166124Srafan	rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
11974166124Srafan	smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1197550276Speter
1197650276Speter# The following Terminfo entry describes functions which are supported by
1197750276Speter# the AT&T 5430/pt505 terminal software version 1.
11978166124Srafanatt505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
11979166124Srafan	lines#24,
11980166124Srafan	mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
11981166124Srafantt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
11982166124Srafan	lines#22, use=att505,
1198350276Speter#
1198450276Speter#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
1198550276Speter# This cut mark helps make life less painful for people running ncurses tic
1198650276Speter# on machines with relatively little RAM.  The file can be broken in half here
1198750276Speter# cleanly and compiled in sections -- no `use' references cross this cut
1198850276Speter# going forward.
1198950276Speter#
1199050276Speter
1199150276Speter#### Ampex (Dialogue)
1199250276Speter#
1199350276Speter# Yes, these are the same people who are better-known for making audio- and
1199450276Speter# videotape.  I'm told they are located in Redwood City, CA.
1199550276Speter#
1199650276Speter
1199750276Speter# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1199850276Speter# (ampex80: some capabilities merged in from SCO's entry -- esr)
11999166124Srafanampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
12000166124Srafan	OTbs, am, bw, ul,
12001166124Srafan	cols#80, it#8, lines#24,
12002166124Srafan	bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
12003166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
12004166124Srafan	dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
12005166124Srafan	ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
12006166124Srafan	smso=\Ej, smul=\El, tbc=\E3,
1200750276Speter# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
12008166124Srafanampex175|ampex d175,
12009166124Srafan	am,
12010166124Srafan	cols#80, lines#24,
12011166124Srafan	bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
12012166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
12013166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
12014166124Srafan	is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
12015166124Srafan	kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
12016166124Srafan	rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1201750276Speter# No backspace key in the main QWERTY cluster. Fortunately, it has a
1201850276Speter# NEWLINE/PAGE key just above RETURN that sends a strange single-character
1201950276Speter# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
1202050276Speter# mode), this key can be used as the erase key; I find I like this. Because
1202150276Speter# some people and some systems may not, there is another termcap ("ampex175")
1202250276Speter# that suppresses this little eccentricity by omitting the relevant capability.
12023166124Srafanampex175-b|ampex d175 using left arrow for erase,
12024166124Srafan	kbs=^_, use=ampex175,
1202550276Speter# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1202650276Speter# (ampex210: removed obsolete ":kn#10:" -- esr)
12027166124Srafanampex210|a210|ampex a210,
12028166124Srafan	OTbs, am, hs, xenl,
12029166124Srafan	cols#80, it#8, lines#24, xmc#1,
12030166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
12031166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
12032166124Srafan	dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
12033166124Srafan	fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
12034166124Srafan	if=/usr/share/tabset/std, il1=\EE, invis@,
12035166124Srafan	is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
12036166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
12037166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
12038166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
12039166124Srafan	tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1204050276Speter# (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
1204150276Speter# from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
1204250276Speter# and moved the padding to be *after* the caps -- esr)
12043166124Srafanampex219|ampex-219|amp219|Ampex with Automargins,
12044166124Srafan	hs, xenl,
12045166124Srafan	cols#80, it#8, lines#24,
12046166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
12047166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
12048166124Srafan	csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
12049166124Srafan	cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
12050166124Srafan	cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
12051166124Srafan	el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
12052166124Srafan	is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
12053166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
12054166124Srafan	kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
12055166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
12056166124Srafan	rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
12057166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
12058166124Srafan	smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
12059166124Srafanampex219w|ampex-219w|amp219w|Ampex 132 cols,
12060166124Srafan	cols#132, lines#24,
12061166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
12062166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
12063166124Srafan# (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
12064166124Srafanampex232|ampex-232|Ampex Model 232,
12065166124Srafan	am,
12066166124Srafan	cols#80, lines#24, xmc#1,
12067166124Srafan	cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
12068166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
12069166124Srafan	dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
12070166124Srafan	flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
12071166124Srafan	invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
12072166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
12073166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
12074166124Srafan	kf9=^AI\r, khome=^^, use=adm+sgr,
12075166124Srafan# (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
12076166124Srafanampex232w|Ampex Model 232 / 132 columns,
12077166124Srafan	cols#132, lines#24,
12078166124Srafan	is2=\E\034Eg\El, use=ampex232,
1207950276Speter
1208050276Speter#### Ann Arbor (aa)
1208150276Speter#
1208250276Speter# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
1208350276Speter# numbers of function keys.  At least some used monitors in portrait mode,
1208450276Speter# allowing up to 76-character screen heights!  They were reachable at:
1208550276Speter#
1208650276Speter#	Ann Arbor Terminals
1208750276Speter#	6175 Jackson Road
1208850276Speter#	Ann Arbor, MI 48103
1208950276Speter#	(313)-663-8000
1209050276Speter#
1209150276Speter# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
1209250276Speter# can't be found on the Web; I fear they're long dead.  R.I.P.
1209350276Speter#
1209450276Speter
1209550276Speter
1209650276Speter# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1209750276Speter# Highly modified 6/22 by Mike O'Brien.
1209850276Speter# split out into several for the various screen sizes by dave-yost@rand
1209950276Speter# Modifications made 3/82 by Mark Horton
1210050276Speter# Modified by Tom Quarles at UCB for greater efficiency and more diversity
1210150276Speter# status line moved to top of screen, <flash> removed 5/82
1210250276Speter# Some unknown person at SCO then hacked the init strings to make them more
1210350276Speter# efficient.
1210450276Speter#
1210550276Speter# assumes the following setup:
1210650276Speter#   A menu: 0000 1010  0001 0000
1210750276Speter#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1210850276Speter#   C menu: 56   66   0    0    9600  0110 1100
1210950276Speter#   D menu: 0110 1001   1   0
1211050276Speter#
1211150276Speter#	Briefly, the settings are for the following modes:
1211250276Speter#	   (values are for bit set/clear with * indicating our preference
1211350276Speter#	    and the value used to test these termcaps)
1211450276Speter#	Note that many of these settings are irrelevent to the terminfo
1211550276Speter#	and are just set to the default mode of the terminal as shipped
1211650276Speter#	by the factory.
1211750276Speter#
1211850276Speter# A menu: 0000 1010  0001 0000
1211950276Speter#	Block/underline cursor*
1212050276Speter#	blinking/nonblinking cursor*
1212150276Speter#	key click/no key click*
1212250276Speter#	bell/no bell at column 72*
1212350276Speter#
1212450276Speter#	key pad is cursor control*/key pad is numeric
1212550276Speter#	return and line feed/return for <cr> key *
1212650276Speter#	repeat after .5 sec*/no repeat
1212750276Speter#	repeat at 25/15 chars per sec. *
1212850276Speter#
1212950276Speter#	hold data until pause pressed/process data unless pause pressed*
1213050276Speter#	slow scroll/no slow scroll*
1213150276Speter#	Hold in area/don't hold in area*
1213250276Speter#	functions keys have default*/function keys disabled on powerup
1213350276Speter#
1213450276Speter#	show/don't show position of cursor during page transmit*
1213550276Speter#	unused
1213650276Speter#	unused
1213750276Speter#	unused
1213850276Speter#
1213950276Speter# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1214050276Speter#	Baud rate (9600*)
1214150276Speter#
1214250276Speter#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
1214350276Speter#	1 stop bit*/2 stop bits
1214450276Speter#	parity error detection off*/on
1214550276Speter#
1214650276Speter#	keyboard local/on line*
1214750276Speter#	half/full duplex*
1214850276Speter#	disable/do not disable keyboard after data transmission*
1214950276Speter#
1215050276Speter#	transmit entire page/stop transmission at cursor*
1215150276Speter#	transfer/do not transfer protected characters*
1215250276Speter#	transmit all characters/transmit only selected characters*
1215350276Speter#	transmit all selected areas/transmit only 1 selected area*
1215450276Speter#
1215550276Speter#	transmit/do not transmit line separators to host*
1215650276Speter#	transmit/do not transmit page tab stops tabs to host*
1215750276Speter#	transmit/do not transmit column tab stop tabs to host*
1215850276Speter#	transmit/do not transmit graphics control (underline,inverse..)*
1215950276Speter#
1216050276Speter#	enable*/disable auto XON/XOFF control
1216150276Speter#	require/do not require receipt of a DC1 from host after each LF*
1216250276Speter#	pause key acts as a meta key/pause key is pause*
1216350276Speter#	unused
1216450276Speter#
1216550276Speter#	unused
1216650276Speter#	unused
1216750276Speter#	unused
1216850276Speter#	unused
1216950276Speter#
1217050276Speter#	XON character (17*)
1217150276Speter#	XOFF character (19*)
1217250276Speter#
1217350276Speter# C menu: 56   66   0    0    9600  0110 1100
1217450276Speter#	number of lines to print data on (printer) (56*)
1217550276Speter#
1217650276Speter#	number of lines on a sheet of paper (printer) (66*)
1217750276Speter#
1217850276Speter#	left margin (printer) (0*)
1217950276Speter#
1218050276Speter#	number of pad chars on new line to printer (0*)
1218150276Speter#
1218250276Speter#	printer baud rate (9600*)
1218350276Speter#
1218450276Speter#	printer parity: 00=odd,01=even*,10=space,11=mark
1218550276Speter#	printer stop bits: 2*/1
1218650276Speter#	print/do not print guarded areas*
1218750276Speter#
1218850276Speter#	new line is: 01=LF,10=CR,11=CRLF*
1218950276Speter#	unused
1219050276Speter#	unused
1219150276Speter#
1219250276Speter# D menu: 0110 1001   1   0
1219350276Speter#	LF is newline/LF is down one line, same column*
1219450276Speter#	wrap to preceding line if move left from col 1*/don't wrap
1219550276Speter#	wrap to next line if move right from col 80*/don't wrap
1219650276Speter#	backspace is/is not destructive*
1219750276Speter#
1219850276Speter#	display*/ignore DEL character
1219950276Speter#	display will not/will scroll*
1220050276Speter#	page/column tab stops*
1220150276Speter#	erase everything*/erase unprotected only
1220250276Speter#
1220350276Speter#	editing extent: 0=display,1=line*,2=field,3=area
1220450276Speter#
1220550276Speter#	unused
1220650276Speter#
1220750276Speter
12208166124Srafanannarbor4080|aa4080|ann arbor 4080,
12209166124Srafan	OTbs, am,
12210166124Srafan	cols#80, lines#40,
12211166124Srafan	bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
12212166124Srafan	cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
12213166124Srafan	cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
12214166124Srafan	kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1221550276Speter
1221650276Speter# Strange Ann Arbor terminal from BRL
12217166124Srafanaas1901|Ann Arbor K4080 w/S1901 mod,
12218166124Srafan	am,
12219166124Srafan	cols#80, lines#40,
12220166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
12221166124Srafan	home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
12222166124Srafan	nel=^M^J,
1222350276Speter
1222450276Speter# If you're using the GNU termcap library, add
1222550276Speter#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1222650276Speter# to these capabilities.  This is the nonstandard GNU termcap scrolling
1222750276Speter# capability, arguments are:
1222850276Speter#   1. Total number of lines on the screen.
1222950276Speter#   2. Number of lines above desired scroll region.
1223050276Speter#   3. Number of lines below (outside of) desired scroll region.
1223150276Speter#   4. Total number of lines on the screen, the same as the first parameter.
1223250276Speter# The generic Ann Arbor entry is the only one that uses this.
12233166124Srafanaaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
12234166124Srafan	OTbs, am, km, mc5i, mir, xon,
12235166124Srafan	cols#80, it#8,
12236166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12237166124Srafan	clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
12238166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
12239166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12240166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
12241166124Srafan	el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
12242166124Srafan	hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
12243166124Srafan	il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
12244166124Srafan	is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
12245166124Srafan	kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12246166124Srafan	kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
12247166124Srafan	kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
12248166124Srafan	kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
12249166124Srafan	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
12250166124Srafan	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
12251166124Srafan	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
12252166124Srafan	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
12253166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
12254166124Srafan	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
12255166124Srafan	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
12256262685Sdelphij	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
12257166124Srafan	sgr0=\E[m,
12258166124Srafan	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
12259262629Sdelphij	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
12260166124Srafan	vpa=\E[%p1%{1}%+%dd,
1226150276Speter
12262166124Srafanaaa+rv|ann arbor ambassador in reverse video,
12263166124Srafan	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
12264166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
12265166124Srafan	rs1=\E[H\E[7m\E[J$<156>,
12266262685Sdelphij	sgr=\E[%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p1%p2%|%p3%!%t7;%;%?%p7%t8;%;m\016,
12267166124Srafan	sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1226850276Speter# Ambassador with the DEC option, for partial vt100 compatibility.
12269166124Srafanaaa+dec|ann arbor ambassador in dec vt100 mode,
12270166124Srafan	acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
12271166124Srafan	csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
12272262685Sdelphij	sgr=\E[%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p1%p3%|%!%t7;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
12273166124Srafan	smacs=^O,
12274166124Srafanaaa-18|ann arbor ambassador/18 lines,
12275166124Srafan	lines#18,
12276166124Srafan	is2=\E7\E[60;0;0;18p\E8,
12277166124Srafan	rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
12278166124Srafan	use=aaa+unk,
12279166124Srafanaaa-18-rv|ann arbor ambassador/18 lines+reverse video,
12280166124Srafan	use=aaa+rv, use=aaa-18,
12281166124Srafanaaa-20|ann arbor ambassador/20 lines,
12282166124Srafan	lines#20,
12283166124Srafan	is2=\E7\E[60;0;0;20p\E8,
12284166124Srafan	rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
12285166124Srafan	use=aaa+unk,
12286166124Srafanaaa-22|ann arbor ambassador/22 lines,
12287166124Srafan	lines#22,
12288166124Srafan	is2=\E7\E[60;0;0;22p\E8,
12289166124Srafan	rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
12290166124Srafan	use=aaa+unk,
12291166124Srafanaaa-24|ann arbor ambassador/24 lines,
12292166124Srafan	lines#24,
12293166124Srafan	is2=\E7\E[60;0;0;24p\E8,
12294166124Srafan	rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
12295166124Srafan	use=aaa+unk,
12296166124Srafanaaa-24-rv|ann arbor ambassador/24 lines+reverse video,
12297166124Srafan	use=aaa+rv, use=aaa-24,
12298166124Srafanaaa-26|ann arbor ambassador/26 lines,
12299166124Srafan	lines#26,
12300166124Srafan	is2=\E7\E[60;0;0;26p\E8,
12301166124Srafan	rmcup=\E[60;0;0;26p\E[26;1H\E[K,
12302166124Srafan	smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
12303166124Srafanaaa-28|ann arbor ambassador/28 lines,
12304166124Srafan	lines#28,
12305166124Srafan	is2=\E7\E[60;0;0;28p\E8,
12306166124Srafan	rmcup=\E[60;0;0;28p\E[28;1H\E[K,
12307166124Srafan	smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
12308166124Srafanaaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
12309166124Srafan	eslok, hs,
12310166124Srafan	lines#29,
12311166124Srafan	dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
12312166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
12313166124Srafan	rmcup=\E[60;1;0;30p\E[29;1H\E[K,
12314166124Srafan	smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
12315166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
12316166124Srafanaaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
12317166124Srafan	use=aaa+rv, use=aaa-30-s,
12318166124Srafanaaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
12319166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
12320166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
12321166124Srafanaaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
12322166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
12323166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
12324166124Srafanaaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
12325166124Srafan	lines#30,
12326166124Srafan	is2=\E7\E[60;0;0;30p\E8,
12327166124Srafan	rmcup=\E[60;0;0;30p\E[30;1H\E[K,
12328166124Srafan	smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
12329166124Srafanaaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
12330166124Srafan	use=aaa+rv, use=aaa-30,
12331166124Srafanaaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
12332166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
12333166124Srafan	use=aaa-30,
12334166124Srafanaaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
12335166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
12336166124Srafan	use=aaa+rv, use=aaa-30,
12337166124Srafanaaa-36|ann arbor ambassador/36 lines,
12338166124Srafan	lines#36,
12339166124Srafan	is2=\E7\E[60;0;0;36p\E8,
12340166124Srafan	rmcup=\E[60;0;0;36p\E[36;1H\E[K,
12341166124Srafan	smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
12342166124Srafanaaa-36-rv|ann arbor ambassador/36 lines+reverse video,
12343166124Srafan	use=aaa+rv, use=aaa-36,
12344166124Srafanaaa-40|ann arbor ambassador/40 lines,
12345166124Srafan	lines#40,
12346166124Srafan	is2=\E7\E[60;0;0;40p\E8,
12347166124Srafan	rmcup=\E[60;0;0;40p\E[40;1H\E[K,
12348166124Srafan	smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
12349166124Srafanaaa-40-rv|ann arbor ambassador/40 lines+reverse video,
12350166124Srafan	use=aaa+rv, use=aaa-40,
12351166124Srafanaaa-48|ann arbor ambassador/48 lines,
12352166124Srafan	lines#48,
12353166124Srafan	is2=\E7\E[60;0;0;48p\E8,
12354166124Srafan	rmcup=\E[60;0;0;48p\E[48;1H\E[K,
12355166124Srafan	smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
12356166124Srafanaaa-48-rv|ann arbor ambassador/48 lines+reverse video,
12357166124Srafan	use=aaa+rv, use=aaa-48,
12358166124Srafanaaa-60-s|ann arbor ambassador/59 lines+status,
12359166124Srafan	eslok, hs,
12360166124Srafan	lines#59,
12361166124Srafan	dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
12362166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
12363166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
12364166124Srafanaaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
12365166124Srafan	use=aaa+rv, use=aaa-60-s,
12366166124Srafanaaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
12367166124Srafan	use=aaa+dec, use=aaa+rv, use=aaa-60-s,
12368166124Srafanaaa-60|ann arbor ambassador/60 lines,
12369166124Srafan	lines#60,
12370166124Srafan	is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
12371166124Srafan	use=aaa+unk,
12372166124Srafanaaa-60-rv|ann arbor ambassador/60 lines+reverse video,
12373166124Srafan	use=aaa+rv, use=aaa-60,
12374166124Srafanaaa-db|ann arbor ambassador 30/destructive backspace,
12375166124Srafan	OTbs@,
12376166124Srafan	cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
1237750276Speter
12378166124Srafanguru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
12379166124Srafan	lines#33,
12380166124Srafan	flash=\E[>59h$<100>\E[>59l,
12381166124Srafan	is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
12382166124Srafan	rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
12383166124Srafanguru+rv|guru changes for reverse video,
12384166124Srafan	flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
12385166124Srafanguru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
12386166124Srafan	use=guru+rv, use=guru-33,
12387166124Srafanguru+s|guru status line,
12388166124Srafan	eslok, hs,
12389166124Srafan	dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
12390166124Srafan	rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
12391166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K,
12392166124Srafanguru-nctxt|guru with no saved context,
12393166124Srafan	smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
12394166124Srafanguru-s|guru-33-s|ann arbor guru/33 lines+status,
12395166124Srafan	lines#32,
12396166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
12397166124Srafan	smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
12398166124Srafanguru-24|ann arbor guru 24 lines,
12399166124Srafan	cols#80, lines#24,
12400166124Srafan	is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
12401166124Srafan	use=guru+unk,
12402166124Srafanguru-44|ann arbor guru 44 lines,
12403166124Srafan	cols#97, lines#44,
12404166124Srafan	is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
12405166124Srafan	use=guru+unk,
12406166124Srafanguru-44-s|ann arbor guru/44 lines+status,
12407166124Srafan	lines#43,
12408166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
12409166124Srafan	smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
12410166124Srafanguru-76|guru with 76 lines by 89 cols,
12411166124Srafan	cols#89, lines#76,
12412166124Srafan	is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
12413166124Srafan	use=guru+unk,
12414166124Srafanguru-76-s|ann arbor guru/76 lines+status,
12415166124Srafan	cols#89, lines#75,
12416166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
12417166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
12418166124Srafanguru-76-lp|guru-lp|guru with page bigger than line printer,
12419166124Srafan	cols#134, lines#76,
12420166124Srafan	is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
12421166124Srafan	use=guru+unk,
12422166124Srafanguru-76-w|guru 76 lines by 178 cols,
12423166124Srafan	cols#178, lines#76,
12424166124Srafan	is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
12425166124Srafan	use=guru+unk,
12426166124Srafanguru-76-w-s|ann arbor guru/76 lines+status+wide,
12427166124Srafan	cols#178, lines#75,
12428166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
12429166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
12430166124Srafanguru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
12431166124Srafan	cols#178, lines#76,
12432166124Srafan	is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
12433166124Srafan	use=guru+unk,
12434166124Srafanaaa-rv-unk|ann arbor unknown type,
12435166124Srafan	lh#0, lw#0, nlab#0,
12436166124Srafan	blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
12437166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
12438166124Srafan	rs1=\E[H\E[7m\E[J,
12439262685Sdelphij	sgr=\E[%?%p6%t1;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p1%!%t7;%;%?%p7%t8;%;m,
12440166124Srafan	sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1244150276Speter
1244250276Speter#### Applied Digital Data Systems (adds)
1244350276Speter#
1244450276Speter# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
1244550276Speter# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
1244650276Speter# terminals was merged again.  Then AT&T sold the terminal business to
1244750276Speter# SunRiver, which later changed its  name to Boundless Technologies.  The
1244850276Speter# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
1244950276Speter# as of early 1995) are at:
1245050276Speter#
1245150276Speter#	Boundless Technologies
1245250276Speter#	100 Marcus Boulevard
1245350276Speter#	Hauppauge, NY 11788-3762
1245450276Speter#	Vox: (800)-231-5445
1245550276Speter#	Fax: (516)-342-7378
1245650276Speter#	Web: http://boundless.com
1245750276Speter#
12458166124Srafan# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
12459166124Srafan# In 1995 Boundless acquired DEC's terminals business.
1246050276Speter#
1246150276Speter
1246250276Speter# Regent: lowest common denominator, works on all regents.
1246350276Speter# (regent: renamed ":bc:" to ":le:" -- esr)
12464166124Srafanregent|Adds Regent Series,
12465166124Srafan	OTbs, am,
12466166124Srafan	cols#80, lines#24,
12467166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
12468166124Srafan	home=\EY\s\s, ind=^J, ll=^A,
1246950276Speter# Regent 100 has a bug where if computer sends escape when user is holding
1247050276Speter# down shift key it gets confused, so we avoid escape.
12471166124Srafanregent100|Adds Regent 100,
12472166124Srafan	xmc#1,
12473166124Srafan	bel=^G,
12474166124Srafan	cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
12475166124Srafan	kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
12476166124Srafan	kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
12477166124Srafan	lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
12478166124Srafan	sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
12479166124Srafanregent20|Adds Regent 20,
12480166124Srafan	bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
12481166124Srafan	use=regent,
12482166124Srafanregent25|Adds Regent 25,
12483166124Srafan	bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
12484166124Srafan	use=regent20,
12485166124Srafanregent40|Adds Regent 40,
12486166124Srafan	xmc#1,
12487166124Srafan	bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
12488166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
12489166124Srafan	kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
12490166124Srafan	lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
12491166124Srafan	smul=\E0`, use=regent25,
12492166124Srafanregent40+|Adds Regent 40+,
12493166124Srafan	is2=\EB, use=regent40,
12494166124Srafanregent60|regent200|Adds Regent 60,
12495166124Srafan	dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
12496166124Srafan	rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
12497166124Srafan	use=regent40+,
1249850276Speter# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1249950276Speter# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
12500166124Srafanviewpoint|addsviewpoint|adds viewpoint,
12501166124Srafan	OTbs, am,
12502166124Srafan	cols#80, lines#24,
12503166124Srafan	bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
12504166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
12505166124Srafan	cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
12506166124Srafan	ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
12507166124Srafan	kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
12508166124Srafan	rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
1250950276Speter# Some viewpoints have bad ROMs that foo up on ^O
12510166124Srafanscrewpoint|adds viewpoint with ^O bug,
12511166124Srafan	cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1251250276Speter
1251350276Speter# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
12514166124Srafan# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1251550276Speter# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1251650276Speter# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
1251750276Speter# invis=01000100 and %c is the logical or of desired attributes.
1251850276Speter# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
1251950276Speter#
12520166124Srafan# Update by TD - 2004:
12521166124Srafan# Adapted from
12522166124Srafan#	http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
12523166124Srafan#
12524166124Srafan# COMMANDS                        ASCII CODE
12525166124Srafan#
12526166124Srafan# Address, Absolute               ESC,=,row,column
12527166124Srafan# Beep                            BEL
12528166124Srafan# Aux Port Enable                 ESC,@
12529166124Srafan# Aux Port Disable                ESC,A
12530166124Srafan# Backspace                       BS
12531166124Srafan# Cursor back                     BS
12532166124Srafan# Cursor down                     LF
12533166124Srafan# Cursor forward                  FF
12534166124Srafan# Cursor home                     RS
12535166124Srafan# Cursor up                       VT
12536166124Srafan# Cursor supress                  ETB
12537166124Srafan# Cursor enable                   CAN
12538166124Srafan# Erase to end of line            ESC,T
12539166124Srafan# Erase to end of page            ESC,Y
12540166124Srafan# Erase screen                    SUB
12541166124Srafan# Keyboard lock                   SI
12542166124Srafan# Keyboard unlock                 SO
12543166124Srafan# Read current cursor position    ESC,?
12544166124Srafan# Set Attribute                   ESC,0,x  (see below for values of x)
12545166124Srafan# Tag bit reset                   ESC,(
12546166124Srafan# Tag bit set                     ESC,)
12547166124Srafan# Transparent Print on            ESC,3
12548166124Srafan# Transparent Print off           ESC,4
12549166124Srafan#
12550166124Srafan#
12551166124Srafan# ATTRIBUTES
12552166124Srafan#
12553166124Srafan# Normal                          @	0100
12554166124Srafan# Half Intensity                  A	0101
12555166124Srafan# Blinking                        B	0102
12556166124Srafan# Half Intensity Blinking         C	0103
12557166124Srafan# Reverse Video                   P	0120
12558166124Srafan# Reverse Video Half Intensity    Q	0121
12559166124Srafan# Reverse Video Blinking          R	0122
12560166124Srafan# Reverse Video Half Intensity
12561166124Srafan#    Blinking                     S	0123
12562166124Srafan# Underlined                      `	0140
12563166124Srafan# Underlined Half Intensity       a	0141
12564166124Srafan# Underlined Blinking             b	0142
12565166124Srafan# Underlined Half Intensity
12566166124Srafan#    Blinking                     c	0143
12567166124Srafan# Video suppress                  D	0104
12568166124Srafanvp3a+|viewpoint3a+|adds viewpoint 3a+,
12569166124Srafan	am, bw,
12570166124Srafan	cols#80, it#8, lines#24,
12571166124Srafan	blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
12572166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
12573166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
12574166124Srafan	ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
12575166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
12576166124Srafan	nel=^M^J, rev=\E0P\E), rmso=\E(,
12577166124Srafan	sgr=%?%p1%p2%|%p3%|%p4%|%p5%|%p7%|%t\E0%{64}%?%p1%t%{17}%|%;%?%p2%t%{32}%|%;%?%p3%t%{16}%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%c%?%p7%tD%;\E)%e\E(%;,
12578166124Srafan	sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
12579166124Srafanvp60|viewpoint60|addsvp60|adds viewpoint60,
12580166124Srafan	use=regent40,
12581166124Srafan#
1258250276Speter# adds viewpoint 90 - from cornell
1258350276Speter# Note:  emacs sends ei occasionally to insure the terminal is out of
1258450276Speter#        insert mode. This unfortunately puts the viewpoint90 IN insert
1258550276Speter#        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
1258650276Speter#   -    :ei=:im=: must be present in the termcap translation.)
1258750276Speter#   -    <xhp> indicates glitch that attributes stick to location
1258850276Speter#   -    <msgr> means it's safe to move in standout mode
1258950276Speter#   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
1259050276Speter#               the status line
1259150276Speter# Function key and label capabilities merged in from SCO.
12592166124Srafanvp90|viewpoint90|adds viewpoint 90,
12593166124Srafan	OTbs, bw, msgr, xhp,
12594166124Srafan	cols#80, lines#24,
12595166124Srafan	clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
12596166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
12597166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
12598166124Srafan	ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
12599166124Srafan	kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
12600166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
12601166124Srafan	kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
12602166124Srafan	lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
12603166124Srafan	lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
12604166124Srafan	sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1260550276Speter# Note: if return acts weird on a980, check internal switch #2
1260650276Speter# on the top chip on the CONTROL pc board.
12607166124Srafanadds980|a980|adds consul 980,
12608166124Srafan	OTbs, am,
12609166124Srafan	cols#80, lines#24,
12610166124Srafan	bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
12611166124Srafan	cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
12612166124Srafan	dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
12613166124Srafan	kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
12614166124Srafan	kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1261550276Speter
1261650276Speter#### C. Itoh Electronics
1261750276Speter#
1261850276Speter# As of 1995 these people no longer make terminals (they're still in the
1261950276Speter# printer business).  Their terminals were all clones of the DEC VT series.
1262050276Speter# They're located in Orange County, CA.
1262150276Speter#
1262250276Speter
1262350276Speter# CIT 80  - vt-52 emulator, the termcap has been modified to remove
1262450276Speter#           the delay times and do an auto tab set rather than the indirect
1262550276Speter#           file used in vt100.
12626166124Srafancit80|cit-80|citoh 80,
12627166124Srafan	OTbs, am,
12628166124Srafan	cols#80, lines#24,
12629262629Sdelphij	clear=\E[H\EJ, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
12630166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
12631166124Srafan	ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
12632166124Srafan	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1263350276Speter# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1263450276Speter# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
12635166124Srafancit101|citc|C.itoh fast vt100,
12636166124Srafan	OTbs, am, xenl,
12637166124Srafan	cols#80, lines#24,
12638262629Sdelphij	bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cud1=\E[B,
12639262629Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
12640262629Sdelphij	cvvis=\E7\E[U, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
12641166124Srafan	flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
12642166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
12643166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
12644166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
12645166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
12646166124Srafan	smul=\E[4m,
1264750276Speter# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
1264850276Speter# The following termcap entry was created from the Callan cd100 entry.  The
1264950276Speter# last two lines (with the capabilities in caps) are used by RM-cobol to allow
1265050276Speter# full selection of combinations of reverse video, underline, and blink.
1265150276Speter# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
1265250276Speter# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
1265350276Speter# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
12654166124Srafancit101e|C. Itoh CIT-101e,
12655166124Srafan	OTbs, OTpt, am, mir, msgr,
12656166124Srafan	cols#80, it#8, lines#24,
12657166124Srafan	acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
12658262629Sdelphij	cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH,
12659262629Sdelphij	cuu1=\E[A, cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M,
12660262629Sdelphij	ed=\E[J, el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
12661166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
12662166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
12663166124Srafan	kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
12664166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
12665166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
1266650276Speter# From: David S. Lawyer, June 1997:
1266750276Speter# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
1266850276Speter# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
1266950276Speter# late 1980's CIT Terminals went out of business.
1267050276Speter# There is no need to use the initialization string is=... (by invoking
1267150276Speter# tset or setterm etc.) provided that the terminal has been manually set
1267250276Speter# up (and the setup saved with ^S) to be compatible with this termcap.  To be
1267350276Speter# compatible it should be in ANSI mode (not VT52).   A set-up that
1267450276Speter# works is to set all the manually setable stuff to factory defaults
1267550276Speter# by pressing ^D in set-up mode.  Then increse the brighness with the
1267650276Speter# up-arrow key since the factory default will likely be dim on an old
1267750276Speter# terminal.  Then change any options you want (provided that they are
1267850276Speter# compatible with the termcap).  For my terminal I set: Screen
1267950276Speter# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
12680166124Srafan# on.  I also set up mine for parity (but you may not need it).  Then
1268150276Speter# save the setup with ^S.
1268250276Speter# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
12683166124Srafancit101e-rv|Citoh CIT-101e (sets reverse video),
12684166124Srafan	am, eo, mir, msgr, xenl, xon,
12685166124Srafan	cols#80, it#8, lines#24,
12686166124Srafan	OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12687166124Srafan	civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
12688166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
12689166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
12690166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12691166124Srafan	cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
12692166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
12693166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
12694166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
12695166124Srafan	is2=\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,
12696166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12697166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
12698166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
12699166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
12700166124Srafan	sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
12701166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
12702166124Srafan	u7=\E[6n, u8=\E[?6c, u9=\E[c,
12703166124Srafancit101e-n|CIT-101e w/o am,
12704166124Srafan	am@,
12705166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
12706166124Srafan	use=cit101e,
12707166124Srafancit101e-132|CIT-101e with 132 cols,
12708166124Srafan	cols#132,
12709166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
12710166124Srafancit101e-n132|CIT-101e with 132 cols w/o am,
12711166124Srafan	am@,
12712166124Srafan	cols#132,
12713166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
12714166124Srafan	use=cit101e,
1271550276Speter# CIE Terminals CIT-500 from BRL
1271650276Speter# The following SET-UP modes are assumed for normal operation:
1271750276Speter#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
1271850276Speter#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
1271950276Speter#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
1272050276Speter# Other SET-UP modes may be set for operator convenience or communication
1272150276Speter# requirements.
1272250276Speter# Hardware tabs are assumed to be set every 8 columns; they can be set up
1272350276Speter# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
1272450276Speter# "stty ixon -ixany" to enable DC3/DC1 flow control!
1272550276Speter# (cit500: I added <rmam>/<smam> based on the init string -- esr)
12726166124Srafancit500|CIE Terminals CIT-500,
12727166124Srafan	OTbs, OTpt, mir, msgr, xon,
12728166124Srafan	OTkn#10, cols#80, it#8, lines#64, vt#3,
12729166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12730166124Srafan	clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
12731166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
12732166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
12733166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
12734166124Srafan	ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
12735166124Srafan	il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
12736166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
12737166124Srafan	ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
12738166124Srafan	kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
12739166124Srafan	khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
12740166124Srafan	lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
12741166124Srafan	lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
12742166124Srafan	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
12743166124Srafan	rmso=\E[m, rmul=\E[m,
12744166124Srafan	rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
12745166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
12746166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1274750276Speter
1274850276Speter# C. Itoh printers begin here
12749166124Srafancitoh|ci8510|8510|c.itoh 8510a,
12750166124Srafan	cols#80, it#8,
12751166124Srafan	bold=\E!, cub1@,
12752166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
12753166124Srafan	rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
12754166124Srafan	smul=\EX, use=lpr,
12755166124Srafancitoh-pica|citoh in pica,
12756166124Srafan	is1=\EN, use=citoh,
12757166124Srafancitoh-elite|citoh in elite,
12758166124Srafan	cols#96,
12759166124Srafan	is1=\EE,
12760166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
12761166124Srafan	use=citoh,
12762166124Srafancitoh-comp|citoh in compressed,
12763166124Srafan	cols#136,
12764166124Srafan	is1=\EQ,
12765166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129.,
12766166124Srafan	use=citoh,
1276750276Speter# citoh has infinite cols because we don't want lp ever inserting \n\t**.
12768166124Srafancitoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
12769166124Srafan	cols#32767,
12770166124Srafan	is1=\EP, use=citoh,
12771166124Srafancitoh-6lpi|citoh in 6 lines per inch mode,
12772166124Srafan	is3=\EA, use=citoh,
12773166124Srafancitoh-8lpi|citoh in 8 lines per inch mode,
12774166124Srafan	lines#88,
12775166124Srafan	is3=\EB, use=citoh,
1277650276Speter
1277750276Speter#### Control Data (cdc)
1277850276Speter#
1277950276Speter
12780166124Srafancdc456|cdc 456 terminal,
12781166124Srafan	OTbs, am,
12782166124Srafan	cols#80, lines#24,
12783166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
12784166124Srafan	cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
12785166124Srafan	el=^V, home=^Y, il1=\EL, ind=^J,
1278650276Speter
1278750276Speter# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
12788166124Srafancdc721|CDC Viking,
12789166124Srafan	OTbs, am,
12790166124Srafan	cols#80, lines#24,
12791166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
12792166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
12793166124Srafan	kcuu1=^W, khome=^Y,
12794166124Srafancdc721ll|CDC Vikingll,
12795166124Srafan	OTbs, am,
12796166124Srafan	cols#132, lines#24,
12797166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
12798166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
12799166124Srafan	kcuu1=^W, khome=^Y,
1280050276Speter# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
12801166124Srafancdc752|CDC 752,
12802166124Srafan	OTbs, am, bw, xhp,
12803166124Srafan	cols#80, lines#24,
12804166124Srafan	bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
12805166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
12806166124Srafan	home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1280750276Speter# CDC 756
1280850276Speter# The following switch/key settings are assumed for normal operation:
1280950276Speter#	96 chars	SCROLL		FULL duplex	not BLOCK
1281050276Speter# Other switches may be set according to communication requirements.
1281150276Speter# Insert/delete-character cannot be used, as the whole display is affected.
1281250276Speter# "so" & "se" are commented out until jove handles "sg" correctly.
12813166124Srafancdc756|CDC 756,
12814166124Srafan	OTbs, am, bw,
12815166124Srafan	OTkn#10, cols#80, lines#24,
12816166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
12817166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
12818166124Srafan	dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
12819166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
12820166124Srafan	kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
12821166124Srafan	kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
12822166124Srafan	khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
12823166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
12824166124Srafan	rs1=\031\030\002\003\017,
1282550276Speter#
1282650276Speter# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1282750276Speter#
1282850276Speter# Part of the long initialization string defines the "DOWN" key to the left
12829166124Srafan# of the tab key to send an ESC.  The real ESC key is positioned way out
1283050276Speter# in right field.
1283150276Speter#
1283250276Speter# The termcap won't work in 132 column mode due to the way it it moves the
1283350276Speter# cursor.  Termcap doesn't have the capability (as far as I could tell) to
1283450276Speter# handle the 721 in 132 column mode.
1283550276Speter#
1283650276Speter# (cdc721: changed :ri: to :sr: -- esr)
12837166124Srafancdc721-esc|Control Data 721,
12838166124Srafan	OTbs, OTpt, am, bw, msgr, xon,
12839166124Srafan	OTkn#10, cols#80, it#8, lines#30,
12840166124Srafan	bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
12841166124Srafan	cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
12842166124Srafan	dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
12843166124Srafan	ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
12844166124Srafan	is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o,
12845166124Srafan	kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
12846166124Srafan	kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
12847166124Srafan	kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
12848166124Srafan	ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
12849166124Srafan	sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
12850166124Srafan	smso=^^D, smul=^\, tbc=^^^RY,
1285150276Speter
1285250276Speter#### Getronics
1285350276Speter#
12854166124Srafan# Getronics is a Dutch electronics company that at one time was called
1285550276Speter# `Geveke' and made async terminals; but (according to the company itself!)
1285650276Speter# they've lost all their documentation on the command set.  The hardware
1285750276Speter# documentation suggests the terminals were actually manufactured by a
1285850276Speter# Taiwanese electronics company named Cal-Comp.  There are known
1285950276Speter# to have been at least two models, the 33 and the 50.
1286050276Speter#
1286150276Speter
1286250276Speter# The 50 seems to be a top end vt220 clone, with the addition of a higher
1286350276Speter# screen resolution, a larger screen, at least 1 page of memory above and
1286450276Speter# below the screen, apparently pages of memory right and left of the screen
1286550276Speter# which can be panned, and about 75 function keys (15 function keys x normal,
1286650276Speter# shift, control, func A, func B). It also has more setup possibilities than
1286750276Speter# the vt220. The monitor case is dated November 1978 and the keyboard case is
1286850276Speter# May 1982.
1286950276Speter#
1287050276Speter# The vt100 emulation works as is.  The entry below describes the rather
1287150276Speter# non-conformant (but more featureful) ANSI mode.
1287250276Speter#
1287350276Speter# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
12874166124Srafanvisa50|geveke visa 50 terminal in ansi 80 character mode,
12875166124Srafan	bw, mir, msgr,
12876166124Srafan	cols#80, lines#25,
12877166124Srafan	acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
12878166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
12879166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
12880166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
12881166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12882166124Srafan	dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
12883166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
12884166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
12885166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
12886166124Srafan	is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
12887166124Srafan	ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
12888166124Srafan	kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
12889166124Srafan	kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
12890166124Srafan	kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
12891166124Srafan	kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
12892166124Srafan	lf3=A insert line, lf4=A delete line, lf5=A clear,
12893166124Srafan	lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
12894166124Srafan	lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
12895166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
12896166124Srafan	rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
12897166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
12898166124Srafan	vpa=\E[%i%p1%dd,
1289950276Speter
1290050276Speter#### Human Designed Systems (Concept)
1290150276Speter#
1290250276Speter#	Human Designed Systems
1290350276Speter#	400 Fehley Drive
1290450276Speter#	King of Prussia, PA 19406
1290550276Speter#	Vox: (610)-277-8300
1290650276Speter#	Fax: (610)-275-5739
1290750276Speter#	Net: support@hds.com
12908166124Srafan#
1290950276Speter# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
1291050276Speter# the character-terminal business now (1995) and making X terminals.  In
1291150276Speter# particular, the whole `Concept' line described here was discontinued long
1291250276Speter# ago.
1291350276Speter#
1291450276Speter
1291550276Speter# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
1291650276Speter# Extensive changes to c108 by arpavax:eric Feb 1982
1291750276Speter# Some unknown person at SCO then translated it to terminfo.
1291850276Speter#
1291950276Speter# There seem to be a number of different versions of the C108 PROMS
1292050276Speter# (with bug fixes in its Z-80 program).
12921166124Srafan#
1292250276Speter# The first one that we had would lock out the keyboard of you
1292350276Speter# sent lots of short lines (like /usr/dict/words) at 9600 baud.
1292450276Speter# Try that on your C108 and see if it sends a ^S when you type it.
1292550276Speter# If so, you have an old version of the PROMs.
12926166124Srafan#
1292750276Speter# You should configure the C108 to send ^S/^Q before running this.
1292850276Speter# It is much faster (at 9600 baud) than the c100 because the delays
1292950276Speter# are not fixed.
1293050276Speter# new status line display entries for c108-8p:
12931166124Srafan# <is3> - init str #3 - setup term for status display -
12932166124Srafan# set programmer mode, select window 2, define window at last
1293350276Speter# line of memory, set bkgnd stat mesg there, select window 0.
12934166124Srafan#
12935166124Srafan# <tsl> - to status line - select window 2, home cursor, erase to
1293650276Speter# end-of-window, 1/2 bright on, goto(line#0, col#?)
12937166124Srafan#
1293850276Speter# <fsl> - from status line - 1/2 bright off, select window 0
12939166124Srafan#
12940166124Srafan# <dsl> - disable status display - set bkgnd status mesg with
1294150276Speter# illegal window #
12942166124Srafan#
12943166124Srafan# There are probably more function keys that should be added but
1294450276Speter# I don't know what they are.
1294550276Speter#
1294650276Speter# No delays needed on c108 because of ^S/^Q handshaking
1294750276Speter#
12948166124Srafanc108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
12949166124Srafan	is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
12950166124Srafan	rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
12951166124Srafanc108-4p|concept108-4p|concept 108 w/4 pages,
12952166124Srafan	OTbs, eslok, hs, xon,
12953166124Srafan	pb@,
12954166124Srafan	acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
12955166124Srafan	cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
12956166124Srafan	cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
12957166124Srafan	ind=^J, is1=\EK\E!\E F,
12958166124Srafan	is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
12959166124Srafan	rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
12960166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025,
12961166124Srafan	tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
12962166124Srafanc108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
12963166124Srafan	rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
12964166124Srafan	use=c108-rv-4p,
12965166124Srafanc108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
12966166124Srafan	flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
12967166124Srafan	use=c108-4p,
12968166124Srafanc108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
12969166124Srafan	cols#132,
12970166124Srafan	is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
12971166124Srafan	smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1297250276Speter
1297350276Speter# Concept 100:
12974166124Srafan# These have only window relative cursor addressing, not screen
12975166124Srafan# relative. To get it to work right here, smcup/rmcup (which
12976166124Srafan# were invented for the concept) lock you into a one page
1297750276Speter# window for screen style programs.
12978166124Srafan#
1297950276Speter# To get out of the one page window, we use a clever trick:
12980166124Srafan# we set the window size to zero ("\Ev    " in rmcup) which the
12981166124Srafan# terminal recognizes as an error and resets the window to all
1298250276Speter# of memory.
12983166124Srafan#
1298450276Speter# This trick works on c100 but does not on c108, sigh.
12985166124Srafan#
12986166124Srafan# Some tty drivers use cr3 for concept, others use nl3, hence
12987166124Srafan# the delays on cr and ind below. This padding is only needed at
12988166124Srafan# 9600 baud and up.  One or the other is commented out depending on
1298950276Speter# local conventions.
12990166124Srafan#
12991166124Srafan# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
1299250276Speter# less than 6 but more than 2 will work.
12993166124Srafan#
12994166124Srafan# Note: can't use function keys f7-f10 because they are
12995166124Srafan# indistinguishable from arrow keys (!), also, del char and
1299650276Speter# clear eol use xon/xoff so they probably won't work very well.
12997166124Srafan#
12998166124Srafan# Also note that we don't define insrt/del char/delline/eop/send
12999166124Srafan# because they don't transmit unless we reset them - I figured
1300050276Speter# it was a bad idea to clobber their definitions.
13001166124Srafan#
13002166124Srafan# The <mc5> sequence changes the escape character to ^^ so that
13003166124Srafan# escapes will be passed through to the printer. Only trouble
13004166124Srafan# is that ^^ won't be - ^^ was chosen to be unlikely.
13005166124Srafan# Unfortunately, if you're sending raster bits through to be
1300650276Speter# plotted, any character you choose will be likely, so we lose.
1300750276Speter#
13008166124Srafan# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
13009166124Srafan# cannot be # in is2 because it will hang a c100 with no printer
1301050276Speter# if sent twice.
13011166124Srafanc100|concept100|concept|c104|c100-4p|hds concept 100,
13012166124Srafan	OTbs, am, eo, mir, ul, xenl,
13013166124Srafan	cols#80, lines#24, pb#9600, vt#8,
13014166124Srafan	bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
13015166124Srafan	cub1=^H, cud1=^J, cuf1=\E=,
13016166124Srafan	cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
13017166124Srafan	dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
13018166124Srafan	ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
13019166124Srafan	ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
13020166124Srafan	is1=\EK,
13021166124Srafan	is2=\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,
13022166124Srafan	is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
13023166124Srafan	kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
13024166124Srafan	kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
13025166124Srafan	kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
13026166124Srafan	khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
13027166124Srafan	kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
13028166124Srafan	mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
13029166124Srafan	rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
13030166124Srafan	rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
13031166124Srafan	rmso=\Ed, rmul=\Eg, sgr0=\EN@,
13032166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
13033166124Srafan	smso=\ED, smul=\EG,
13034166124Srafanc100-rv|c100-rv-4p|concept100-rv|c100 rev video,
13035166124Srafan	cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
13036166124Srafan	smso=\EE, use=c100,
13037166124Srafanoc100|oconcept|c100-1p|old 1 page concept 100,
13038166124Srafan	in,
13039166124Srafan	is3@, use=c100,
1304050276Speter
1304150276Speter# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
1304250276Speter# Lots of notes, originally inline, but ncurses doesn't grok that.
1304350276Speter#
1304450276Speter# am: 	not available in power on mode, but turned on with \E[=107;207h in
1304550276Speter#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
1304650276Speter#	to specify xenl:, but that would have rendered the last space on the
1304750276Speter#	last line useless.
1304850276Speter# bw:	Not available in power on mode, but turned on with \E[=107;207h in
1304950276Speter#	is2=.
1305050276Speter# clear: Could be done with \E[2J alone, except that vi (and probably most
1305150276Speter#	other programs) assume that this also homes the cursor.
1305250276Speter# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
1305350276Speter#	scroll the window, and go back to window 1.
1305450276Speter# is2:	the string may cause a warning to be issued by tic that it
1305550276Speter#	found a very long line and that it suspects that a comma is missing
1305650276Speter#	somewhere.  This warning can be ignored (unless it comes up more than
1305750276Speter#	once).  The initialization string contains the following commands:
1305850276Speter#
1305950276Speter#	 [Setup mode items changed from factory defaults:]
1306050276Speter#		\E)0			set alternate character set to
1306150276Speter#						graphics
1306250276Speter#		^O			set character set to default
1306350276Speter#	 [In case it wasn't]
1306450276Speter#		\E[m			turn off all attributes
1306550276Speter#	 [In case they weren't off]
1306650276Speter#		\E[=107;		cursor wrap and
1306750276Speter#			207h			character wrap on
1306850276Speter#		\E[90;3u		set Fkey definitions to "transmit"
1306950276Speter#						defaults
1307050276Speter#		\E[92;3u		set cursor key definitions to
1307150276Speter#						"transmit" defaults
1307250276Speter#		\E[43;1u		set shift F13 to transmit...
1307350276Speter#		\177\E$P\177
1307450276Speter#		\E[44;1u		set shift F14 to transmit...
1307550276Speter#			\177\E$Q\177
1307650276Speter#		\E[45;1u		set shift F15 to transmit...
1307750276Speter#			\177\E$R\177
1307850276Speter#		\E[46;1u		set shift F16 to transmit...
1307950276Speter#			\177\E$S\177
1308050276Speter#		\E[200;1u		set shift up to transmit...
1308150276Speter#			\177\E$A\177
1308250276Speter#		\E[201;1u		set shift down to transmit...
1308350276Speter#			\177\E$B\177
1308450276Speter#		\E[202;1u		set shift right to transmit...
1308550276Speter#			\177\E$C\177
1308650276Speter#		\E[203;1u		set shift left to transmit...
1308750276Speter#			\177\E$D\177
1308850276Speter#		\E[204;1u		set shift home to transmit...
1308950276Speter#			\177\E$H\177
1309050276Speter#		\E[212;1u		set backtab to transmit...
1309150276Speter#			\177\E$I\177
1309250276Speter#		\E[213;1u		set shift backspace to transmit...
1309350276Speter#			\177\E$^H\177
1309450276Speter#		\E[214;1u		set shift del to transmit...
1309550276Speter#			"\E$\177"
1309650276Speter#	 [Necessary items not mentioned in setup mode:]
1309750276Speter#		\E[2!w			move to window 2
1309850276Speter#		\E[25;25w		define window as line 25 of memory
1309950276Speter#		\E[!w			move to window 1
1310050276Speter#		\E[2*w			show current line of window 2 as
1310150276Speter#						status line
1310250276Speter#		\E[2+x			set meta key to use high bit
1310350276Speter#		\E[;3+}			move underline to bottom of character
1310450276Speter#
1310550276Speter#	All Fkeys are set to their default transmit definitions with \E[90;3u
1310650276Speter#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
1310750276Speter#	setting MUST be redefined or deactivated, because the default is
1310850276Speter#	contained in almost all of this terminal's Fkey strings!  If for some
1310950276Speter#	reason "quit" cannot be altered, the Fkeys can, but it would be
1311050276Speter#	necessary to change ^| to ^] in all of these definitions, and add
1311150276Speter#	\E[2;029!t to is2.
1311250276Speter# lines: is set to 24 because this terminal refuses to treat the 25th
1311350276Speter#	line normally.
1311450276Speter# ll:	Not available in power on mode, but turned on with \E[=107;207h in
1311550276Speter#	is2=.
1311650276Speter# lm:	Pointless, given that this definition locks a single screen of
1311750276Speter#	memory into view, but what the hey...
1311850276Speter# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
1311950276Speter#	other attributes alone), but some programs expect this to turn off
1312050276Speter#	everything.
1312150276Speter# rmul: Could use \E[4!{ to turn off only underline (leaving any other
1312250276Speter#	attributes alone), but some programs expect this to turn off
1312350276Speter#	everything.
1312450276Speter# sgr:	Attributes are set on this terminal with the string \E[ followed by
1312550276Speter#	a list of attribute code numbers (in decimal, separated by
1312650276Speter#	semicolons), followed by the character m.  The attribute code
1312750276Speter#	numbers are:
1312850276Speter#		  1 for bold;
1312950276Speter#		  2 for dim (which is ignored in power on mode);
1313050276Speter#		  4 for underline;
1313150276Speter#		  5 for blinking;
1313250276Speter#		  7 for inverse;
1313350276Speter#		  8 for not displayable; and
1313450276Speter#		=99 for protected (except that there are strange side
1313550276Speter#		effects to protected characters which make them inadvisable).
1313650276Speter#	 The mapping of terminfo parameters to attributes is as follows:
1313750276Speter#		%p1 (standout) = bold and inverse together;
1313850276Speter#		%p2 (underline) = underline;
1313950276Speter#		%p3 (reverse) = inverse;
1314050276Speter#		%p4 (blink) = blinking;
1314150276Speter#		%p5 (dim) is ignored;
1314250276Speter#		%p6 (bold) = bold;
1314350276Speter#		%p7 (invisible) = not displayable;
1314450276Speter#		%p8 (protected) is ignored; and
1314550276Speter#		%p9 (alt char set) = alt char set.
1314650276Speter#	 The code to do this is:
1314750276Speter#		\E[0		OUTPUT	\E[0
1314850276Speter#		%?%p1%p6%O	IF	(standout; bold) OR
1314950276Speter#		%t;1		THEN	OUTPUT	;1
1315050276Speter#		%;		ENDIF
1315150276Speter#		%?%p2		IF	underline
1315250276Speter#		%t;4		THEN	OUTPUT	;4
1315350276Speter#		%;		ENDIF
1315450276Speter#		%?%p4		IF	blink
1315550276Speter#		%t;5		THEN	OUTPUT	;5
1315650276Speter#		%;		ENDIF
1315750276Speter#		%?%p1%p3%O	IF	(standout; reverse) OR
1315850276Speter#		%t;7		THEN	OUTPUT	;7
1315950276Speter#		%;		ENDIF
1316050276Speter#		%?%p7		IF	invisible
1316150276Speter#		%t;8		THEN	OUTPUT	;8
1316250276Speter#		%;		ENDIF
1316350276Speter#		m		OUTPUT	m
1316450276Speter#		%?%p9		IF	altcharset
1316550276Speter#		%t^N		THEN	OUTPUT	^N
1316650276Speter#		%e^O		ELSE	OUTPUT	^O
1316750276Speter#		%;		ENDIF
1316850276Speter# sgr0: Everything is turned off (including alternate character set), since
1316950276Speter#	there is no way of knowing what it is that the program wants turned
1317050276Speter#	off.
1317150276Speter# smul: The "underline" attribute is reconfigurable to an overline or
1317250276Speter#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
1317350276Speter#	bottom of the character cell.  This was done to allow for more readable
1317450276Speter#	underlined characters, and to be able to distinguish between an
1317550276Speter#	underlined space, an underscore, and an underlined underscore.
1317650276Speter# xenl: Terminal can be configured to not need this, but this "glitch"
1317750276Speter#	behavior is actually preferable with autowrap terminals.
1317850276Speter#
1317950276Speter# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
1318050276Speter# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
1318150276Speter# string modifies the 'O' in kf43 to kf46 to a '$'.
1318250276Speter#
1318350276Speter# kcbt was originally ^I but redefined in is2=.
1318450276Speter# kHOM was \E[H originally but redefined in is2=, as were a number of
1318550276Speter# other keys.
1318650276Speter# kDC was originally \177 but redefined in is2=.
1318750276Speter#
1318850276Speter# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
1318950276Speter# tsl:	Go to window 2, then do an hpa=.
1319050276Speter#
1319150276Speter#------- flash=\E[8;3!}^G\E[3;3!}
1319250276Speter#------- flash=\E[?5h$<100>\E[?5l
13193166124Srafan# There are two ways to flash the screen, both of which have their drawbacks.
1319450276Speter# The first is to set the bell mode to video, transmit a bell character, and
1319550276Speter# set the bell mode back - but to what?  There is no way of knowing what the
1319650276Speter# user's old bell setting was before we messed with it.  Worse, the command to
1319750276Speter# set the bell mode also sets the key click volume, and there is no way to say
1319850276Speter# "leave that alone", or to know what it's set to, either.
1319950276Speter# The second way to do a flash is to set the screen to inverse video, pad for a
1320050276Speter# tenth of a second, and set it back - but like before, there's no way to know
1320150276Speter# that the screen wasn't ALREADY in inverse video, or that the user may prefer
1320250276Speter# it that way.  The point is moot anyway, since vi (and probably other
1320350276Speter# programs) assume that by defining flash=, you want the computer to use it
1320450276Speter# INSTEAD of bel=, rather than as a secondary type of signal.
1320550276Speter#
1320650276Speter#------- cvvis=\E[+{
1320750276Speter# The is the power on setting, which is also as visible as the cursor
1320850276Speter# gets.
1320950276Speter#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
1321050276Speter# Windowing is possible, but not defined here because it is also used to
1321150276Speter# emulate status line functions.  Allowing a program to set a window could
1321250276Speter# clobber the status line or render it unusable.  There is additional memory,
1321350276Speter# but screen scroll functions are destructive and do not make use of it.
1321450276Speter#
1321550276Speter#-------   dim=			Not available in power on mode.
1321650276Speter# You have a choice of defining low intensity characters as "half bright" and
13217166124Srafan# high intensity as "normal", or defining low as "normal" and high as "bold".
1321850276Speter# No matter which you choose, only one of either "half bright" or "bold" is
1321950276Speter# available at any time, so taking the time to override the default is
1322050276Speter# pointless.
1322150276Speter#
1322250276Speter#-------  prot=\E[=0;99m
1322350276Speter# Not defined, because it appears to have some strange side effects.
1322450276Speter#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1322550276Speter#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1322650276Speter#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
1322750276Speter#	 Available, but making them available to programs is inadvisable.
1322850276Speter#	 The code to do this is:
1322950276Speter#		%?%p1%{24}%<	IF	((key; 24) <;
1323050276Speter#		%p1%{30}%>		 ((key; 30) >;
1323150276Speter#		%p1%{54}%<		  (key; 54) <
1323250276Speter#		%A			 ) AND
1323350276Speter#		%O		  	) OR
1323450276Speter#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
1323550276Speter#		%t\E[		THEN	OUTPUT	\E[
1323650276Speter#		%p1%d			OUTPUT	(key) as decimal
1323750276Speter#	 [next line applies to pfx only]
1323850276Speter#		;1			OUTPUT	;1
1323950276Speter#		u			OUTPUT	u
1324050276Speter#		\177			OUTPUT	\177
1324150276Speter#		%p2%s			OUTPUT	(string) as string
1324250276Speter#		\177			OUTPUT	\177
1324350276Speter#	 [DEL chosen as delimiter, but could be any character]
1324450276Speter#	 [implied:		ELSE	do nothing]
1324550276Speter#		%;		ENDIF
13246166124Srafan#
1324750276Speter#-------   rs2=
1324850276Speter# Not defined since anything it might do could be done faster and easier with
1324950276Speter# either Meta-Shift-Reset or the main power switch.
1325050276Speter#
1325150276Speter#-------  smkx=\E[1!z
1325250276Speter#-------  rmkx=\E[!z
1325350276Speter# These sequences apply to the cursor and setup keys only, not to the
1325450276Speter# numeric keypad.  But it doesn't matter anyway, since making these
1325550276Speter# available to programs is inadvisable.
1325650276Speter# For the key definitions below, all sequences beginning with \E$ are
1325750276Speter# custom and programmed into the terminal via is2.  \E$ also has no
1325850276Speter# meaning to any other terminal.
1325950276Speter#
1326050276Speter#------- cmdch=\E[;%p1%d!t
1326150276Speter# Available, but making it available to programs is inadvisable.
1326250276Speter#------- smxon=\E[1*q
1326350276Speter# Available, but making it available to programs is inadvisable.
1326450276Speter# Terminal will send XON/XOFF on buffer overflow.
1326550276Speter#------- rmxon=\E[*q
1326650276Speter# Available, but making it available to programs is inadvisable.
1326750276Speter# Terminal will not notify on buffer overflow.
1326850276Speter#-------   smm=\E[2+x
1326950276Speter#-------   rmm=\E[+x
1327050276Speter# Available, but making them available to programs is inadvisable.
1327150276Speter#
1327250276Speter# Printing:
1327350276Speter#	 It's not made clear in the manuals, but based on other ansi/vt type
1327450276Speter#	 terminals, it's a good guess that this terminal is capable of both
1327550276Speter#	 "transparent print" (which doesn't copy data to the screen, and
1327650276Speter#	 therefore needs mc5i: specified to say so) and "auxilliary print"
1327750276Speter#	 (which does duplicate printed data on the screen, in which case mc4=
1327850276Speter#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
1327950276Speter
13280166124Srafanhds200|Human Designed Systems HDS200,
13281262685Sdelphij	am, bw, eslok, hs, km, mir, msgr, xenl, xon,
13282166124Srafan	cols#80, it#8, lines#24, lm#0,
13283166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
13284166124Srafan	blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
13285166124Srafan	clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
13286166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
13287166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
13288166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
13289166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
13290166124Srafan	dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
13291166124Srafan	fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
13292166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
13293166124Srafan	invis=\E[0;8m,
13294166124Srafan	is2=\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+},
13295166124Srafan	kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
13296166124Srafan	kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13297166124Srafan	kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
13298166124Srafan	kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
13299166124Srafan	kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
13300166124Srafan	kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
13301166124Srafan	kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
13302166124Srafan	kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
13303166124Srafan	kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
13304166124Srafan	kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
13305166124Srafan	kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
13306166124Srafan	kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
13307166124Srafan	kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
13308166124Srafan	kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
13309166124Srafan	kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
13310262685Sdelphij	nel=\E[E, rc=\E8, rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l,
13311262685Sdelphij	rmso=\E[m\017, rmul=\E[m\017, sc=\E7,
13312166124Srafan	sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
13313166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
13314166124Srafan	smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
13315262685Sdelphij	vpa=\E[%i%p1%dd, use=ansi+pp,
1331650276Speter
1331750276Speter# <ht> through <el> included to specify padding needed in raw mode.
1331850276Speter# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
13319166124Srafanavt-ns|concept avt no status line,
13320166124Srafan	OTbs, am, eo, mir, ul, xenl, xon,
13321166124Srafan	cols#80, it#8, lines#24, lm#192,
13322166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
13323166124Srafan	clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
13324166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
13325166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
13326166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
13327166124Srafan	cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
13328166124Srafan	dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
13329166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
13330166124Srafan	ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
13331166124Srafan	invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
13332166124Srafan	is2=\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,
13333166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13334166124Srafan	kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
13335166124Srafan	kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
13336166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
13337166124Srafan	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
13338166124Srafan	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
13339166124Srafan	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
13340166124Srafan	rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
13341166124Srafan	sc=\E7,
13342262685Sdelphij	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;%?%p8%t99;%;m%?%p5%t\E[1!{%;%?%p9%t\017%e\016%;$<1>,
13343262685Sdelphij	sgr0=\E[m\016$<1>, smacs=\017$<1>,
13344262685Sdelphij	smcup=\E[=4l\E[1;24w\E2\r, smir=\E[4h,
13345262685Sdelphij	smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
13346262685Sdelphij	vpa=\E[%p1%{1}%+%dd,
13347166124Srafanavt-rv-ns|concept avt in reverse video mode/no status line,
13348166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
13349166124Srafan	use=avt-ns,
13350166124Srafanavt-w-ns|concept avt in 132 column mode/no status line,
13351166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
13352166124Srafan	use=avt-ns,
13353166124Srafanavt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
13354166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
13355166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt-ns,
1335650276Speter
1335750276Speter# Concept AVT with status line. We get the status line using the
1335850276Speter# "Background status line" feature of the terminal. We swipe the
1335950276Speter# first line of memory in window 2 for the status line, keeping
1336050276Speter# 191 lines of memory and 24 screen lines for regular use.
1336150276Speter# The first line is used instead of the last so that this works
1336250276Speter# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
1336350276Speter# assumes an 8 page AVT but lm isn't currently used anywhere.)
1336450276Speter#
13365166124Srafanavt+s|concept avt status line changes,
13366166124Srafan	eslok, hs,
13367166124Srafan	lm#191,
13368166124Srafan	dsl=\E[0*w, fsl=\E[1;1!w,
13369166124Srafan	is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
13370166124Srafan	rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
13371166124Srafan	tsl=\E[2;1!w\E[;%p1%dH\E[2K,
13372166124Srafanavt|avt-s|concept-avt|avt w/80 columns,
13373166124Srafan	use=avt+s, use=avt-ns,
13374166124Srafanavt-rv|avt-rv-s|avt reverse video w/sl,
13375166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
13376166124Srafan	use=avt+s, use=avt-ns,
13377166124Srafanavt-w|avt-w-s|concept avt 132 cols+status,
13378166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
13379166124Srafan	use=avt+s, use=avt-ns,
13380166124Srafanavt-w-rv|avt-w-rv-s|avt wide+status+rv,
13381166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
13382166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
1338350276Speter
13384166124Srafan#### Contel Business Systems.
1338550276Speter#
1338650276Speter
13387166124Srafan# Contel c300 and c320 terminals.
13388166124Srafancontel300|contel320|c300|Contel Business Systems C-300 or C-320,
13389166124Srafan	am, in, xon,
13390166124Srafan	cols#80, lines#24, xmc#1,
13391166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13392166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
13393166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
13394166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
13395166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
13396166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
13397166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
13398166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1339950276Speter# Contel c301 and c321 terminals.
13400166124Srafancontel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
13401166124Srafan	flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
13402166124Srafan	use=contel300,
1340350276Speter
1340450276Speter#### Data General (dg)
1340550276Speter#
1340650276Speter# According to James Carlson <carlson@xylogics.com> writing in January 1995,
1340750276Speter# the terminals group at Data General was shut down in 1991; all these
1340850276Speter# terminals have thus been discontinued.
1340950276Speter#
1341050276Speter# DG terminals have function keys that respond to the SHIFT and CTRL keys,
1341150276Speter# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
13412166124Srafan# sequentially, first the unmodified key codes are listed as F1 through F15.
1341350276Speter# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
1341450276Speter# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
1341550276Speter# F46 through F60.  This is done in the private "includes" below whose names
1341650276Speter# start with "dgkeys+".
1341750276Speter#
1341850276Speter# DG terminals generally support 8 bit characters.  For each of these terminals
1341950276Speter# two descriptions are supplied:
1342050276Speter#	1) A default description for 8 bits/character communications, which
1342150276Speter#	   uses the default DG international character set and keyboard codes.
1342250276Speter#	2) A description with suffix "-7b" for 7 bits/character communications.
1342350276Speter#	   This description must use the NON-DEFAULT native keyboard language.
1342450276Speter
1342550276Speter# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
1342650276Speter# Ctrl/Shift fdkeys (kf34-kf44).
1342750276Speter
13428166124Srafandgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
13429166124Srafan	ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
13430166124Srafan	kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
13431166124Srafan	kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
13432166124Srafan	kf11=\233011z, kf12=\233012z, kf13=\233013z,
13433166124Srafan	kf14=\233014z, kf15=\233000z, kf16=\233101z,
13434166124Srafan	kf17=\233102z, kf18=\233103z, kf19=\233104z,
13435166124Srafan	kf2=\233002z, kf20=\233105z, kf21=\233106z,
13436166124Srafan	kf22=\233107z, kf23=\233108z, kf24=\233109z,
13437166124Srafan	kf25=\233110z, kf26=\233111z, kf27=\233112z,
13438166124Srafan	kf28=\233113z, kf29=\233114z, kf3=\233003z,
13439166124Srafan	kf30=\233100z, kf31=\233201z, kf32=\233202z,
13440166124Srafan	kf33=\233203z, kf34=\233204z, kf35=\233205z,
13441166124Srafan	kf36=\233206z, kf37=\233207z, kf38=\233208z,
13442166124Srafan	kf39=\233209z, kf4=\233004z, kf40=\233210z,
13443166124Srafan	kf41=\233211z, kf42=\233212z, kf43=\233213z,
13444166124Srafan	kf44=\233214z, kf45=\233200z, kf46=\233301z,
13445166124Srafan	kf47=\233302z, kf48=\233303z, kf49=\233304z,
13446166124Srafan	kf5=\233005z, kf50=\233305z, kf51=\233306z,
13447166124Srafan	kf52=\233307z, kf53=\233308z, kf54=\233309z,
13448166124Srafan	kf55=\233310z, kf56=\233311z, kf57=\233312z,
13449166124Srafan	kf58=\233313z, kf59=\233314z, kf6=\233006z,
13450166124Srafan	kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
13451166124Srafan	khome=\233H, kprt=\233i,
1345250276Speter
13453166124Srafandgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
13454166124Srafan	ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
13455166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13456166124Srafan	kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
13457166124Srafan	kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
13458166124Srafan	kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
13459166124Srafan	kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
13460166124Srafan	kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
13461166124Srafan	kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
13462166124Srafan	kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
13463166124Srafan	kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
13464166124Srafan	kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
13465166124Srafan	kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
13466166124Srafan	kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
13467166124Srafan	kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
13468166124Srafan	kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
13469166124Srafan	kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
13470166124Srafan	kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
13471166124Srafan	kf9=\E[009z, khome=\E[H, kprt=\E[i,
1347250276Speter
13473166124Srafandgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
13474166124Srafan	kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
13475166124Srafan	kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
13476166124Srafan	kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
13477166124Srafan	kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
13478166124Srafan	kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
13479166124Srafan	kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
13480166124Srafan	kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
13481166124Srafan	kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
13482166124Srafan	kf8=^^x, kf9=^^y, khome=^H,
1348350276Speter
13484166124Srafandgkeys+15|Private entry describing 15 DG mode special keys,
13485166124Srafan	kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
13486166124Srafan	kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
13487166124Srafan	kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
13488166124Srafan	kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
13489166124Srafan	kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
13490166124Srafan	kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
13491166124Srafan	kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
13492166124Srafan	kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
13493166124Srafan	kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&,
13494166124Srafan	kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
13495166124Srafan	kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
13496166124Srafan	kf9=^^y,
1349750276Speter
1349850276Speter# Data General color terminals use the "Tektronix" color model.  The total
1349950276Speter# number of colors varies with the terminal model, as does support for
1350050276Speter# attributes used in conjunction with color.
1350150276Speter
1350250276Speter# Removed u7, u8 definitions since they conflict with tack:
1350350276Speter#		Preserve user-defined colors in at least some cases.
1350450276Speter#	u7=^^Fh,
1350550276Speter#		Default is ACM mode.
1350650276Speter#	u8=^^F}20^^Fi^^F}21,
1350750276Speter#
13508166124Srafandgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
13509166124Srafan	bce,
13510166124Srafan	colors#16, ncv#53, pairs#256,
13511166124Srafan	op=\036Ad\036Bd,
13512166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
13513166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
13514166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1351550276Speter
13516166124Srafandg+fixed|Fixed color info for DG D430C terminals in DG mode,
13517166124Srafan	use=dgunix+fixed,
1351850276Speter
1351950276Speter# Video attributes are coordinated using static variables set by "sgr", then
13520166124Srafan# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
1352150276Speter# (D=dim, U=underline, B=blink, R=reverse.)
13522166124Srafandg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
13523166124Srafan	bce,
13524166124Srafan	colors#8, ncv#16, pairs#64,
13525166124Srafan	op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
13526166124Srafan	setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13527166124Srafan	setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13528166124Srafan	setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13529166124Srafan	setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
1353050276Speter
13531166124Srafandg+color|Color info for Data General D470C terminals in ANSI mode,
13532166124Srafan	colors#16, ncv#53, pairs#256,
13533166124Srafan	setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13534166124Srafan	setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13535166124Srafan	setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13536166124Srafan	setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
13537166124Srafan	use=dg+color8,
1353850276Speter
13539166124Srafandgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
13540166124Srafan	bce,
13541166124Srafan	colors#8, ncv#16, pairs#64,
13542166124Srafan	op=\036Ad\036Bd,
13543166124Srafan	setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
13544166124Srafan	setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
13545166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1354650276Speter
13547166124Srafandgmode+color|Color info for Data General D470C terminals in DG mode,
13548166124Srafan	colors#16, pairs#256,
13549166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
13550166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
13551166124Srafan	use=dgmode+color8,
1355250276Speter
13553166124Srafandgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
13554166124Srafan	bce, ccc,
13555166124Srafan	colors#52, ncv#53, pairs#26,
13556262629Sdelphij	initp=\036RG0%p1%02X%p2%{255}%*%{1000}%/%02X%p3%{255}%*%{1000}%/%02X%p4%{255}%*%{1000}%/%02X%p5%{255}%*%{1000}%/%02X%p6%{255}%*%{1000}%/%02X%p7%{255}%*%{1000}%/%02X,
13557166124Srafan	oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
13558166124Srafan	op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
13559166124Srafan	scp=\036RG2%p1%02X,
1356050276Speter
1356150276Speter# Colors are in the order:  normal, reverse, dim, dim + reverse.
13562166124Srafandg+ccc|Configurable color info for DG D430C terminals in DG mode,
13563166124Srafan	bce, ccc,
13564166124Srafan	colors#52, ncv#53, pairs#26,
13565262629Sdelphij	initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{255}%*%{1000}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,
13566166124Srafan	oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
13567166124Srafan	op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
13568166124Srafan	scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
1356950276Speter
1357050276Speter# The generic DG terminal type (an 8-bit-clean subset of the 6053)
1357150276Speter# Initialization string 1 sets:
1357250276Speter#	^R		- vertical scrolling enabled
1357350276Speter#	^C		- blinking enabled
13574166124Srafandg-generic|Generic Data General terminal in DG mode,
13575166124Srafan	am, bw, msgr, xon,
13576166124Srafan	cols#80, lines#24,
13577166124Srafan	bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
13578166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
13579166124Srafan	mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
13580166124Srafan	smul=^T, use=dgkeys+11,
1358150276Speter
1358250276Speter# According to the 4.4BSD termcap file, the dg200 <cup> should be the
1358350276Speter# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
1358450276Speter# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
1358550276Speter# maybe they were originally nuls (which would fit).
1358650276Speter
13587166124Srafandg200|data general dasher 200,
13588166124Srafan	OTbs, am, bw,
13589166124Srafan	cols#80, lines#24,
13590166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
13591166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
13592166124Srafan	kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
13593166124Srafan	kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
13594166124Srafan	kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
13595166124Srafan	smso=^^D, smul=^T,
1359650276Speter
1359750276Speter# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
13598166124Srafandg210|dg-ansi|Data General 210/211,
13599166124Srafan	am,
13600166124Srafan	cols#80, lines#24,
13601262629Sdelphij	OTnl=\E[B, clear=\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
13602262629Sdelphij	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
13603262629Sdelphij	home=\E[H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13604262629Sdelphij	khome=\E[H, nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m,
13605262629Sdelphij	smso=\E[7;m, smul=\E[4;m,
1360650276Speter# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
1360750276Speter# courtesy of Carlos Rucalde of Vantage Software, Inc.
1360850276Speter# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
1360950276Speter# I suspect the d200 function keys actually work on the dg211, check it out.)
13610166124Srafandg211|Data General d211,
13611166124Srafan	cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
13612166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
13613166124Srafan	rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
1361462449Speter
1361562449Speter# dg450 from Cornell (not official)
13616166124Srafandg450|dg6134|data general 6134,
13617166124Srafan	cub1@, cuf1=^X, use=dg200,
1361862449Speter
1361962449Speter# Not official...
1362050276Speter# Note: lesser Dasher terminals will not work with vi because vi insists upon
1362150276Speter# having a command to move straight down from any position on the bottom line
1362250276Speter# and scroll the screen up, or a direct vertical scroll command.  The 460 and
1362350276Speter# above have both, the D210/211, for instance, has neither.  We must use ANSI
1362450276Speter# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
1362550276Speter# backspace on all terminals.  This is not so in DG mode.
1362650276Speter# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1362750276Speter# grounds that there is no matching ":ml:"
13628166124Srafandg460-ansi|Data General Dasher 460 in ANSI-mode,
13629166124Srafan	OTbs, am, msgr, ul,
13630166124Srafan	cols#80, it#8, lines#24,
13631166124Srafan	OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
13632166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
13633166124Srafan	dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
13634166124Srafan	ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
13635166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13636166124Srafan	kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
13637166124Srafan	kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
13638262685Sdelphij	kf8=\E[009z, kf9=\E[00\:z, khome=\E[H, lf0=f1, lf1=f2,
13639262685Sdelphij	lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10,
13640262685Sdelphij	mc0=\E[i, rev=\E[7m, ri=\E[T, rmso=\E[m, rmul=\E[05,
13641262685Sdelphij	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m,
13642262685Sdelphij	sgr0=\E(B\E[m, smso=\E[7m, smul=\E[4m, u6=\E[%d;%dR,
13643262685Sdelphij	u7=\E[6n, u8=\E[5n, u9=\E[0n,
1364462449Speter# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
13645166124Srafan# Data General 605x
1364650276Speter# Ought to work for a Model 6242, Type D210 as well as a 605x.
1364750276Speter# Note that the cursor-down key transmits ^Z.  Job control users, beware!
1364850276Speter# This also matches a posted description of something called a `Dasher 100'
13649166124Srafan# so there's a dg100 alias here.
13650166124Srafan# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
13651166124Srafandg6053-old|dg100|data general 6053,
13652166124Srafan	OTbs, am, bw, ul,
13653166124Srafan	cols#80, lines#24,
13654166124Srafan	OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
13655166124Srafan	cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
13656166124Srafan	home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
13657166124Srafan	kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
13658166124Srafan	kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
13659166124Srafan	rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
13660166124Srafan	smul=^T,
1366150276Speter
1366250276Speter# (Some performance can be gained over the generic DG terminal type)
13663166124Srafandg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
13664166124Srafan	xon@,
13665166124Srafan	home=^P\0\0, ll=^P\0^W, use=dg-generic,
1366650276Speter
1366750276Speter# Like 6053, but adds reverse video and more keypad and function keys.
13668166124Srafand200|d200-dg|Data General DASHER D200,
13669166124Srafan	bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
13670166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
13671166124Srafan	sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
13672166124Srafan	use=dg6053,
1367350276Speter
1367450276Speter# DASHER D210 series terminals in ANSI mode.
1367550276Speter#	Reverse video, no insert/delete character/line, 7 bits/character only.
1367650276Speter#
1367750276Speter# Initialization string 1 sets:
1367850276Speter#	<0		- scrolling enabled
1367950276Speter#	<1		- blink enabled
1368050276Speter#	<4		- print characters regardless of attributes
13681166124Srafand210|d214|Data General DASHER D210 series,
13682166124Srafan	am, bw, msgr, xon,
13683166124Srafan	cols#80, lines#24,
13684166124Srafan	bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
13685166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
13686166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13687166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
13688166124Srafan	el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
13689166124Srafan	ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
13690262685Sdelphij	sgr=\E[%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;%?%p1%p3%|%p6%|%t7;%;m,
13691166124Srafan	sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
1369250276Speter
1369350276Speter# DASHER D210 series terminals in DG mode.
1369450276Speter# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
13695166124Srafand210-dg|d214-dg|Data General DASHER D210 series in DG mode,
13696166124Srafan	xon,
13697166124Srafan	ed=^^FF, use=d200-dg,
1369850276Speter
1369950276Speter# DASHER D211 series terminals in ANSI mode.
1370050276Speter# Like the D210, but with 8-bit characters and local printer support.
1370150276Speter#
1370250276Speter# Initialization string 2 sets:
1370350276Speter#	\E[2;1;1;1v
1370450276Speter#		2;1	- 8 bit operations
1370550276Speter#		1;1	- 8 bit (international) keyboard language
1370650276Speter#	\E(B		- default primary character set (U.S. ASCII)
1370750276Speter#	\E)4		- default secondary character set (international)
1370850276Speter#	^O		- primary character set
1370950276Speter#
13710166124Srafand211|d215|Data General DASHER D211 series,
13711166124Srafan	km,
13712166124Srafan	is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
13713166124Srafan	use=d210,
1371450276Speter
1371550276Speter# Initialization string 2 sets:
1371650276Speter#	\E[2;0;1;0v
1371750276Speter#		2;0	- 7 bit operations
1371850276Speter#		1;0	- 7 bit (native) keyboard language
1371950276Speter#	\E(0		- default character set (the keyboard native language)
1372050276Speter#	^O		- primary character set
13721166124Srafand211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
13722166124Srafan	km@,
13723166124Srafan	is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
1372450276Speter
1372550276Speter# Like the D210 series, but adds support for 8-bit characters.
1372650276Speter#
1372750276Speter# Reset string 2 sets:
1372850276Speter#	^^N	- secondary character set
1372950276Speter#	^^FS0>	- 8 bit international character set
1373050276Speter#	^^O	- primary character set
1373150276Speter#	^^FS00	- default character set (matching the native keyboard language)
1373250276Speter#
13733166124Srafand211-dg|d215-dg|Data General DASHER D211 series in DG mode,
13734166124Srafan	km,
13735166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
1373650276Speter
13737166124Srafand216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
13738166124Srafan	use=d211-dg,
1373950276Speter
1374050276Speter# Enhanced DG mode with changes to be more UNIX compatible.
13741166124Srafand216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
13742166124Srafan	mc5i,
13743166124Srafan	it#8,
13744166124Srafan	acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
13745166124Srafan	clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
13746166124Srafan	el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
13747166124Srafan	is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
13748166124Srafan	kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
13749166124Srafan	kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
13750166124Srafan	mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
13751166124Srafan	rs2=\036N\036FS0E\036O\036FS00,
13752166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;,
13753166124Srafan	sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
13754166124Srafan	vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
13755166124Srafand216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
13756166124Srafan	lines#25,
13757166124Srafan	is3=\036Fz2, use=d216+,
1375850276Speter
13759166124Srafand217-unix|Data General DASHER D217 in DG-UNIX mode,
13760166124Srafan	use=d216-unix,
13761166124Srafand217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
13762166124Srafan	use=d216-unix-25,
1376350276Speter
1376450276Speter# DASHER D220 color terminal in ANSI mode.
1376550276Speter# Like the D470C but with fewer colors and screen editing features.
1376650276Speter#
1376750276Speter# Initialization string 1 sets:
1376850276Speter#	\E[<0;<1;<4l
1376950276Speter#		<0	- scrolling enabled
1377050276Speter#		<1	- blink enabled
1377150276Speter#		<4	- print characters regardless of attributes
1377250276Speter#	\E[m		- all attributes off
1377350276Speter# Reset string 1 sets:
1377450276Speter#	\Ec		- initial mode defaults (RIS)
1377550276Speter#
13776166124Srafand220|Data General DASHER D220,
13777166124Srafan	mc5i@,
13778166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
13779166124Srafan	use=dg+color8, use=d470c,
1378050276Speter
13781166124Srafand220-7b|Data General DASHER D220 in 7 bit mode,
13782166124Srafan	mc5i@,
13783166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
13784166124Srafan	use=dg+color8, use=d470c-7b,
1378550276Speter
1378650276Speter# Initialization string 3 sets:
1378750276Speter#	- default cursor (solid rectangle)
1378850276Speter# Reset string 2 sets:
1378950276Speter#	^^N     - secondary character set
1379050276Speter#	^^FS0>  - 8 bit international character set
1379150276Speter#	^^O     - primary character set
1379250276Speter#       ^^FS00  - default character set (matching the native keyboard language)
1379350276Speter#
13794166124Srafand220-dg|Data General DASHER D220 color terminal in DG mode,
13795166124Srafan	mc5i@,
13796166124Srafan	dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
13797166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
13798166124Srafan	use=d470c-dg,
1379950276Speter
1380050276Speter# DASHER D230C color terminal in ANSI mode.
1380150276Speter# Like the D220 but with minor ANSI compatibility improvements.
1380250276Speter#
13803166124Srafand230c|d230|Data General DASHER D230C,
13804166124Srafan	blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
13805166124Srafan	rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
13806166124Srafan	sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
13807166124Srafan	sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
13808166124Srafan	smul=\E[4;50m, use=dgkeys+7b, use=d220,
1380950276Speter
13810166124Srafand230c-dg|d230-dg|Data General DASHER D230C in DG mode,
13811166124Srafan	use=d220-dg,
1381250276Speter
1381350276Speter# DASHER D400/D450 series terminals.
1381450276Speter# These add intelligent features like insert/delete to the D200 series.
1381550276Speter#
1381650276Speter# Initialization string 2 sets:
1381750276Speter#	^^FQ2		- default cursor (solid rectangle)
1381850276Speter#	^^FW		- character protection disabled
1381950276Speter#	^^FJ		- normal (80 column) mode
1382050276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1382150276Speter#	^^FX004?	- margins at columns 0 and 79
1382250276Speter#	^^F]		- horizontal scrolling disabled
1382350276Speter#	^^O		- primary character set
1382450276Speter#	^^FS00		- default character set (the keyboard native language)
1382550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1382650276Speter# Reset string 1 sets:
1382750276Speter#	^^FA		- all terminal defaults except scroll rate
1382850276Speter# Reset string 2 sets:
1382950276Speter#	^^F]		- horizontal scrolling disabled
1383050276Speter#	^^FT0		- jump scrolling
1383150276Speter#
13832166124Srafand400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
13833166124Srafan	mc5i,
13834166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
13835166124Srafan	cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
13836166124Srafan	enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
13837166124Srafan	ich1=^^J, il1=^^FH,
13838166124Srafan	is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
13839166124Srafan	ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
13840166124Srafan	rs1=^^FA, rs2=\036F]\036FT0,
13841166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;,
13842166124Srafan	sgr0=\017\025\035\036E\036O, smacs=^^N,
13843166124Srafan	vpa=\020\177%p1%c, use=d210-dg,
1384450276Speter
1384550276Speter# DASHER D410/D460 series terminals in ANSI mode.
1384650276Speter# These add a large number of intelligent terminal features.
1384750276Speter#
1384850276Speter# Initialization string 1 sets:
1384950276Speter#	\E[<0;<1;<2;<4l
1385050276Speter#		<0	- scrolling enabled
1385150276Speter#		<1	- blink enabled
1385250276Speter#		<2	- horizontal scrolling enabled (for alignment)
1385350276Speter#		<4	- print characters regardless of attributes
1385450276Speter#	\E[5;0v		- normal (80 column) mode
1385550276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1385650276Speter#	\E[1;6;<2h
1385750276Speter#		1	- print all characters even if protected
1385850276Speter#		6	- character protection disabled
1385950276Speter#		<2	- horizontal scrolling disabled
1386050276Speter#	- (should reset scrolling regions, but that glitches the screen)
1386150276Speter#
1386250276Speter# Initialization string 2 sets:
1386350276Speter#	\E[3;2;2;1;1;1v
1386450276Speter#		3;2	- default cursor (solid rectangle)
1386550276Speter#		2;1	- 8 bit operations
1386650276Speter#		1;1	- international keyboard language
1386750276Speter#	\E(B		- default primary character set (U.S. ASCII)
1386850276Speter#	\E)4		- default secondary character set (international)
1386950276Speter#	^O		- primary character set
1387050276Speter#
1387150276Speter#	Reset string 1 sets:
1387250276Speter#	\Ec		- initial mode defaults (RIS)
1387350276Speter#	\E[<2h		- horizontal scrolling disabled
1387450276Speter#
1387550276Speter# Reset string 2 sets:
1387650276Speter#	\E[4;0;2;1;1;1v
1387750276Speter#		4;0	- jump scrolling
1387850276Speter#		2;1	- 8 bit operations
1387950276Speter#		1;1	- 8 bit (international) keyboard language
1388050276Speter#	\E(B		- default primary character set (U.S. ASCII)
1388150276Speter#	\E)4		- default secondary character set (international)
1388250276Speter#
13883166124Srafand410|d411|d460|d461|Data General DASHER D410/D460 series,
13884166124Srafan	mc5i,
13885166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
13886166124Srafan	cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
13887166124Srafan	dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
13888166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
13889166124Srafan	is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
13890166124Srafan	ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
13891166124Srafan	rs2=\E[4;0;2;1;1;1v\E(B\E)4,
13892262685Sdelphij	sgr=\E[%?%p1%t2;7%;%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p1%p5%|%t2;%;%?%p6%t4;7;%;m\E)%?%p9%t6\016%e4\017%;,
13893166124Srafan	sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
1389450276Speter
1389550276Speter# Initialization string 2 sets:
1389650276Speter#	\E[3;2;2;0;1;0v
1389750276Speter#		3;2	- default cursor (solid rectangle)
1389850276Speter#		2;0	- 7 bit operations
1389950276Speter#		1;0	- 7 bit (native) keyboard language
1390050276Speter#	\E(0		- default character set (the keyboard native language)
1390150276Speter#	^O		- primary character set
1390250276Speter#
1390350276Speter# Reset string 2 sets:
1390450276Speter#	\E[4;0;2;0;1;0v
1390550276Speter#		4;0	- jump scrolling
1390650276Speter#		2;0	- 7 bit operations
1390750276Speter#		1;0	- 7 bit (native) keyboard language
1390850276Speter#	\E(0		- default character set (the keyboard native language)
1390950276Speter#
13910166124Srafand410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
13911166124Srafan	km@,
13912166124Srafan	enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
13913166124Srafan	rs2=\E[4;0;2;0;1;0v\E(0,
13914166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
13915166124Srafan	sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
1391650276Speter
13917166124Srafand410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
13918166124Srafan	km,
13919166124Srafan	enacs@, rmacs=\036FS00,
13920166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;,
13921166124Srafan	sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
13922166124Srafan	use=d400-dg,
1392350276Speter
1392450276Speter# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
1392550276Speter#
1392650276Speter# Initialization string 1 sets:
1392750276Speter#	\E[<0;<1;<2;<4l
1392850276Speter#		<0	- scrolling enabled
1392950276Speter#		<1	- blink enabled
1393050276Speter#		<2	- horizontal scrolling enabled (for alignment)
1393150276Speter#		<4	- print characters regardless of attributes
1393250276Speter#	\E[5;1v		- compressed (135 column) mode
1393350276Speter#	\E[1;1;126	- margins at columns 1 and 126
1393450276Speter#	\E[1;6;<2h
1393550276Speter#		1	- print all characters even if protected
1393650276Speter#		6	- character protection disabled
1393750276Speter#		<2	- horizontal scrolling disabled
1393850276Speter#	- (should reset scrolling regions, but that glitches the screen)
1393950276Speter#
1394050276Speter# Reset string 1 sets:
1394150276Speter#	\Ec		- initial mode defaults (RIS)
1394250276Speter#	\E[5;1v		- compressed (135 column) mode
1394350276Speter#	\E[1;1;126w	- margins at columns 1 and 126
1394450276Speter#	\E[<2h		- horizontal scrolling disabled
1394550276Speter#
13946166124Srafand410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
13947166124Srafan	cols#126,
13948166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
13949166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
1395050276Speter
13951166124Srafand410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
13952166124Srafan	cols#126,
13953166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
13954166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
1395550276Speter
13956166124Srafand412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
13957166124Srafan	use=d410-dg,
1395850276Speter
1395950276Speter# These add intelligent features like scrolling regions.
13960166124Srafand412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
13961166124Srafan	civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
13962166124Srafan	cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
13963166124Srafan	home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
13964166124Srafan	is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
13965166124Srafan	ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
13966166124Srafan	rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
13967166124Srafan	vpa=\036FPFF%p1%2.2X,
13968166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
13969166124Srafan	use=d216+,
13970166124Srafand412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
13971166124Srafan	cols#132,
13972166124Srafan	is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
13973166124Srafan	rs2=\036P@1\036FK\036FX0083,
13974166124Srafan	wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X,
13975166124Srafan	use=d412-unix,
13976166124Srafand412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
13977166124Srafan	lines#25,
13978166124Srafan	is3=\036Fz2,
13979166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
13980166124Srafan	use=d462+,
13981166124Srafand412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
13982166124Srafan	eslok, hs,
13983166124Srafan	clear=\036FG\036PH, fsl=\036F}01\022,
13984166124Srafan	is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
13985166124Srafan	tsl=\036F}00\036FP%p1%2.2X18\036PG,
13986166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X,
13987166124Srafan	use=d462+,
1398850276Speter
1398950276Speter#	Relative cursor motions are confined to the current window,
1399050276Speter#	which is not what the scrolling region specification expects.
1399150276Speter#	Thus, relative vertical cursor positioning must be deleted.
13992166124Srafand412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
13993166124Srafan	csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
13994166124Srafan	cud1@, cuu1@, ll@, use=d462+,
1399550276Speter
13996166124Srafand413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
13997166124Srafan	use=d412-unix,
13998166124Srafand413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
13999166124Srafan	use=d412-unix-w,
14000166124Srafand413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
14001166124Srafan	use=d412-unix-25,
14002166124Srafand413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
14003166124Srafan	use=d412-unix-s,
14004166124Srafand413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
14005166124Srafan	use=d412-unix-sr,
1400650276Speter
14007166124Srafand414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
14008166124Srafan	use=d413-unix,
14009166124Srafand414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
14010166124Srafan	use=d413-unix-w,
14011166124Srafand414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
14012166124Srafan	use=d413-unix-25,
14013166124Srafand414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
14014166124Srafan	use=d413-unix-s,
14015166124Srafand414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
14016166124Srafan	use=d413-unix-sr,
1401750276Speter
14018166124Srafand430c-dg|d430-dg|Data General D430C in DG mode,
14019166124Srafan	use=d413-dg, use=dg+fixed,
14020166124Srafand430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
14021166124Srafan	use=d413-dg, use=dg+ccc,
1402250276Speter
14023166124Srafand430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
14024166124Srafan	use=d413-unix, use=dgunix+fixed,
14025166124Srafand430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
14026166124Srafan	use=d413-unix-w, use=dgunix+fixed,
14027166124Srafand430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
14028166124Srafan	use=d413-unix-25, use=dgunix+fixed,
14029166124Srafand430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
14030166124Srafan	use=d413-unix-s, use=dgunix+fixed,
14031166124Srafand430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
14032166124Srafan	use=d413-unix-sr, use=dgunix+fixed,
14033166124Srafand430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
14034166124Srafan	use=d413-unix, use=dgunix+ccc,
14035166124Srafand430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
14036166124Srafan	use=d413-unix-w, use=dgunix+ccc,
14037166124Srafand430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
14038166124Srafan	use=d413-unix-25, use=dgunix+ccc,
14039166124Srafand430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
14040166124Srafan	use=d413-unix-s, use=dgunix+ccc,
14041166124Srafand430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
14042166124Srafan	use=d413-unix-sr, use=dgunix+ccc,
1404350276Speter
1404450276Speter# DASHER D470C color terminal in ANSI mode.
1404550276Speter# Like the D460 but with 16 colors and without a compressed mode.
1404650276Speter#
1404750276Speter# Initialization string 1 sets:
1404850276Speter#	\E[<0;<1;<2;<4l
1404950276Speter#		<0	- scrolling enabled
1405050276Speter#		<1	- blink enabled
1405150276Speter#		<2	- horizontal scrolling enabled (for alignment)
1405250276Speter#		<4	- print characters regardless of attributes
1405350276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1405450276Speter#	\E[1;6;<2h
1405550276Speter#		1	- print all characters even if protected
1405650276Speter#		6	- character protection disabled
1405750276Speter#		<2	- horizontal scrolling disabled
1405850276Speter#	- (should reset scrolling regions, but that glitches the screen)
1405950276Speter#
14060166124Srafand470c|d470|Data General DASHER D470C,
14061166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
14062262685Sdelphij	sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t2;7;%;%?%p5%t2;%;m\E)%?%p9%t6\016%e4\017%;,
14063166124Srafan	use=dg+color, use=d460,
1406450276Speter
14065166124Srafand470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
14066166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
14067262685Sdelphij	sgr=\E[%?%p3%t7;%;%?%p4%t5;%;%?%p2%t4;%;%?%p6%t4;7;%;%?%p1%t2;7;%;%?%p5%t2;%;m%?%p9%t\016%e\017%;,
14068166124Srafan	use=dg+color, use=d460-7b,
1406950276Speter
1407050276Speter# Initialization string 2 sets:
1407150276Speter#	^^FQ2		- default cursor (solid rectangle)
1407250276Speter#	^^FW		- character protection disabled
1407350276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1407450276Speter#	^^FX004?	- margins at columns 0 and 79
1407550276Speter#	^^F]		- horizontal scrolling disabled
1407650276Speter#	^^O		- primary character set
1407750276Speter#	^^FS00		- default character set (the keyboard native language)
1407850276Speter#	- (should reset scrolling regions, but that glitches the screen)
1407950276Speter#
14080166124Srafand470c-dg|d470-dg|Data General DASHER D470C in DG mode,
14081166124Srafan	is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
14082166124Srafan	use=dgmode+color, use=d460-dg,
1408350276Speter
1408450276Speter# DASHER D555 terminal in ANSI mode.
1408550276Speter# Like a D411, but has an integrated phone.
14086166124Srafand555|Data General DASHER D555,
14087166124Srafan	use=d411,
14088166124Srafand555-7b|Data General DASHER D555 in 7-bit mode,
14089166124Srafan	use=d411-7b,
14090166124Srafand555-w|Data General DASHER D555 in wide mode,
14091166124Srafan	use=d411-w,
14092166124Srafand555-7b-w|Data General DASHER D555 in wide 7-bit mode,
14093166124Srafan	use=d411-7b-w,
14094166124Srafand555-dg|Data General DASHER D555 series in DG mode,
14095166124Srafan	use=d411-dg,
1409650276Speter
1409750276Speter# DASHER D577 terminal in ANSI mode.
1409850276Speter# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
14099166124Srafand577|Data General DASHER D577,
14100166124Srafan	use=d411,
14101166124Srafand577-7b|Data General DASHER D577 in 7-bit mode,
14102166124Srafan	use=d411-7b,
14103166124Srafand577-w|Data General DASHER D577 in wide mode,
14104166124Srafan	use=d411-w,
14105166124Srafand577-7b-w|Data General DASHER D577 in wide 7-bit mode,
14106166124Srafan	use=d411-7b-w,
1410750276Speter
14108166124Srafand577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
14109166124Srafan	use=d411-dg,
1411050276Speter
1411150276Speter# DASHER D578 terminal.
1411250276Speter# Like a D577, but without compressed mode; like a D470C in this respect.
1411350276Speter#
1411450276Speter# Initialization string 1 sets:
1411550276Speter#	\E[<0;<1;<2;<4l
1411650276Speter#		<0	- scrolling enabled
1411750276Speter#		<1	- blink enabled
1411850276Speter#		<2	- horizontal scrolling enabled (for alignment)
1411950276Speter#		<4	- print characters regardless of attributes
1412050276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1412150276Speter#	\E[1;6;<2h
1412250276Speter#		1	- print all characters even if protected
1412350276Speter#		6	- character protection disabled
1412450276Speter#		<2	- horizontal scrolling disabled
1412550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1412650276Speter#
14127166124Srafand578|Data General DASHER D578,
14128166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
14129166124Srafand578-7b|Data General DASHER D578 in 7-bit mode,
14130166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b,
1413150276Speter
1413250276Speter#### Datamedia (dm)
1413350276Speter#
14134166124Srafan# Datamedia was headquartered in Nashua, New Hampshire until it went
1413562449Speter# out of business in 1993, but the ID plates on the terminals referred
1413662449Speter# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
1413762449Speter# manufacturer which threw out all information about the terminals.
1413850276Speter#
1413950276Speter
14140166124Srafancs10|colorscan|Datamedia Color Scan 10,
14141166124Srafan	msgr,
14142166124Srafan	cols#80, lines#24,
14143166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
14144166124Srafan	cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
14145166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
14146166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
14147166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
14148166124Srafancs10-w|Datamedia Color Scan 10 with 132 columns,
14149166124Srafan	cols#132,
14150166124Srafan	cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1415150276Speter
1415250276Speter# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
14153166124Srafandm1520|dm1521|datamedia 1520,
14154166124Srafan	OTbs, am, xenl,
14155166124Srafan	cols#80, it#8, lines#24,
14156166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
14157166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
14158166124Srafan	home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
14159166124Srafan	khome=^Y,
14160166124Srafan# dm2500: this terminal has both <ich> and <smir>. Applications using
1416150276Speter# termcap/terminfo directly (rather than through ncurses) might be confused.
14162166124Srafandm2500|datamedia2500|datamedia 2500,
14163166124Srafan	OTbs, OTnc,
14164166124Srafan	cols#80, lines#24,
14165166124Srafan	bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
14166166124Srafan	cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
14167166124Srafan	dch1=\020\010\030\035$<10*>,
14168166124Srafan	dl1=\020\032\030\035$<10*>, el=^W, home=^B,
14169166124Srafan	ich1=\020\034\030\035$<10*>,
14170166124Srafan	il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
14171166124Srafan	rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
14172166124Srafan	smdc=^P, smir=^P, smso=^N,
1417350276Speter# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1417450276Speter# also, has a meta-key.
1417550276Speter# From: <goldberger@su-csli.arpa>
1417650276Speter# (dmchat: ":MT:" changed to ":km:" -- esr)
14177166124Srafandmchat|dmchat version of datamedia 2500,
14178166124Srafan	km,
14179166124Srafan	dl1=\020\032\030\035$<2/>,
14180166124Srafan	il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1418150276Speter# (dm3025: ":MT:" changed to ":km:" -- esr)
14182166124Srafandm3025|datamedia 3025a,
14183166124Srafan	OTbs, km,
14184166124Srafan	cols#80, it#8, lines#24,
14185166124Srafan	bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14186166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
14187166124Srafan	dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
14188166124Srafan	home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
14189166124Srafan	is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
14190166124Srafan	smir=\EP, smso=\EO1,
14191166124Srafandm3045|datamedia 3045a,
14192166124Srafan	OTbs, am, eo, km@, ul, xenl,
14193166124Srafan	dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
14194166124Srafan	kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
14195166124Srafan	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
14196166124Srafan	khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
14197166124Srafan	use=dm3025,
1419850276Speter# Datamedia DT80 soft switches:
1419950276Speter# 1	0=Jump  1=Smooth
1420050276Speter# 	Autorepeat 	0=off  1=on
1420150276Speter# 	Screen		0=Dark 1=light
1420250276Speter# 	Cursor		0=u/l  1=block
14203166124Srafan#
1420450276Speter# 2	Margin Bell	0=off  1=on
1420550276Speter# 	Keyclick	0=off  1=on
1420650276Speter# 	Ansi/VT52	0=VT52 1=Ansi
1420750276Speter# 	Xon/Xoff	0=Off  1=On
14208166124Srafan#
1420950276Speter# 3	Shift3		0=Hash 1=UK Pound
1421050276Speter# 	Wrap		0=Off  1=On
1421150276Speter# 	Newline		0=Off  1=On
1421250276Speter# 	Interlace	0=Off  1=On
14213166124Srafan#
1421450276Speter# 4	Parity		0=Odd  1=Even
1421550276Speter# 	Parity		0=Off  1=On
1421650276Speter# 	Bits/Char	0=7    1=8
1421750276Speter# 	Power		0=60Hz 1=50Hz
14218166124Srafan#
1421950276Speter# 5	Line Interface  0=EIA  1=Loop
1422050276Speter# 	Aux Interface   0=EIA  1=Loop
14221166124Srafan# 	Local Copy    	0=Off  1=On
1422250276Speter# 	Spare
14223166124Srafan#
1422450276Speter# 6	Aux Parity	0=Odd  1=Even
1422550276Speter# 	Aux Parity	0=Off  1=On
1422650276Speter# 	Aux Bits/Char   0=7    1=8
1422750276Speter# 	CRT Saver	0=Off  1=On
1422850276Speter# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
14229166124Srafandm80|dmdt80|dt80|datamedia dt80/1,
14230166124Srafan	clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
14231166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
14232166124Srafan	home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
14233166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
14234166124Srafan	use=vt100,
1423550276Speter# except in 132 column mode, where it needs a little padding.
1423650276Speter# This is still less padding than the vt100, and you can always turn on
1423750276Speter# the ^S/^Q handshaking, so you can use vt100 flavors for things like
1423850276Speter# reverse video.
14239166124Srafandm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
14240166124Srafan	cols#132,
14241166124Srafan	clear=\E[H\E[2J$<50/>, cud1=^J,
14242166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
14243166124Srafan	ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1424462449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
14245166124Srafandt80-sas|Datamedia DT803/DTX for SAS usage,
14246166124Srafan	am, bw,
14247166124Srafan	cols#80, lines#24,
14248166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
14249166124Srafan	bel=^G, clear=^L, cr=^M,
14250166124Srafan	csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
14251166124Srafan	cub1=^H, cud1=\EB, cuf1=^\,
14252166124Srafan	cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
14253166124Srafan	el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
14254166124Srafan	is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
14255166124Srafan	kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
14256166124Srafan	rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
14257166124Srafan	smso=\E$2\004, tbc=\E'0,
1425850276Speter
1425950276Speter# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
1426050276Speter# These aren't end-all Excel termcaps; but do insert/delete char/line
1426150276Speter# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
1426250276Speter# The naming convention has been bent somewhat, with the use of E? (where
1426350276Speter# E is for 'Excel') as # a name.  This was done to distinguish the entries
1426450276Speter# from the other Datamedias in use here, and yet to associate a model of
1426550276Speter# the Excel terminals with the regular datamedia terminals that share
1426650276Speter# major characteristics.
14267166124Srafanexcel62|excel64|datamedia Excel 62,
14268166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
14269166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
14270166124Srafan	use=dt80,
14271166124Srafanexcel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
14272166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
14273166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
14274166124Srafan	use=dt80w,
14275166124Srafanexcel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
14276166124Srafan	dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
14277166124Srafan	kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
14278166124Srafan	smir=\E[4h, use=dt80,
1427950276Speter
1428050276Speter#### Falco
1428150276Speter#
1428250276Speter#	Falco Data Products
1428350276Speter#	440 Potrero Avenue
1428450276Speter#	Sunnyvale, CA 940864-196
1428550276Speter#	Vox: (800)-325-2648
1428650276Speter#	Fax: (408)-745-7860
1428750276Speter#	Net: techsup@charm.sys.falco.com
1428850276Speter#
1428950276Speter# Current Falco models as of 1995 are generally ANSI-compatible and support
1429050276Speter# emulations of DEC VT-series, Wyse, and Televideo types.
1429150276Speter#
1429250276Speter
1429350276Speter# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1429450276Speter# This terminal was released around 1983 and was discontinued long ago.
1429550276Speter# The standout and underline highlights are the same.
14296166124Srafanfalco|ts1|ts-1|falco ts-1,
14297166124Srafan	OTbs, am,
14298166124Srafan	cols#80, it#8, lines#24,
14299166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14300166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14301166124Srafan	dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
14302166124Srafan	ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
14303166124Srafan	kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
14304166124Srafan	smir=\Eq, smso=\Eg1, smul=\Eg1,
14305166124Srafanfalco-p|ts1p|ts-1p|falco ts-1 with paging option,
14306166124Srafan	OTbs, am, da, db, mir, msgr, ul,
14307166124Srafan	cols#80, it#8, lines#24,
14308166124Srafan	bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
14309166124Srafan	cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
14310166124Srafan	dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
14311166124Srafan	il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
14312166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
14313166124Srafan	rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
14314166124Srafan	smso=\Eg4, smul=\Eg1,
1431550276Speter# (ts100: I added <rmam>/<smam> based on the init string -- esr)
14316166124Srafants100|ts100-sp|falco ts100-sp,
14317166124Srafan	am, mir, msgr, xenl, xon,
14318166124Srafan	cols#80, it#8, lines#24, vt#3,
14319166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
14320166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
14321166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
14322166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
14323166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
14324166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
14325166124Srafan	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
14326166124Srafan	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
14327166124Srafan	ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
14328166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14329166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
14330166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
14331166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
14332166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
14333166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
14334166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
14335166124Srafan	use=vt100+fnkeys,
14336166124Srafants100-ctxt|falco ts-100 saving context,
14337166124Srafan	rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1433850276Speter
1433950276Speter#### Florida Computer Graphics
1434050276Speter#
1434150276Speter
1434250276Speter# Florida Computer Graphics Beacon System, using terminal emulator program
1434350276Speter# "host.com", as provided by FCG.  This description is for an early release
1434450276Speter# of the "host" program.  Known bug: <ed> clears the whole screen, so it's
1434550276Speter# commented out.
1434650276Speter
1434750276Speter# From: David Bryant <cbosg!djb> 1/7/83
14348166124Srafanbeacon|FCG Beacon System,
14349166124Srafan	am, da, db,
14350166124Srafan	cols#80, lines#32,
14351166124Srafan	bel=\ESTART\r\E37\r\EEND\r$<1>,
14352166124Srafan	blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
14353166124Srafan	cub1=^H, cud1=^J, cuf1=\EV,
14354166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
14355166124Srafan	dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
14356166124Srafan	ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
14357166124Srafan	rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
14358166124Srafan	rmul=\ESTART\r\E60\,0\r\EEND\r,
14359166124Srafan	sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
14360166124Srafan	smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
14361166124Srafan	smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
14362166124Srafan	smul=\ESTART\r\E60\,1\r\EEND\r,
1436350276Speter
1436450276Speter#### Fluke
1436550276Speter#
1436650276Speter
14367166124Srafan# The f1720a differences from ANSI: no auto margin, destructive
1436850276Speter# tabs, # of lines, funny highlighting and underlining
14369166124Srafanf1720|f1720a|fluke 1720A,
14370166124Srafan	xt,
14371166124Srafan	cols#80, lines#16, xmc#1,
14372166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
14373166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
14374166124Srafan	el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
14375166124Srafan	kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
14376166124Srafan	smso=\E[7m, smul=\E[4m,
1437750276Speter
1437850276Speter#### Liberty Electronics (Freedom)
1437950276Speter#
1438050276Speter#	Liberty Electronics
1438150276Speter#	48089 Fremont Blvd
1438250276Speter#	Fremont CA 94538
1438350276Speter#	Vox: (510)-623-6000
1438450276Speter#	Fax: (510)-623-7021
1438550276Speter
1438650276Speter# From: <faletti@berkeley.edu>
1438750276Speter# (f100: added empty <acsc> to suppress a tic warning;
1438850276Speter# made this relative to adm+sgr -- note that <invis> isn't
1438950276Speter# known to work for f100 but does on the f110. --esr)
14390166124Srafanf100|freedom|freedom100|freedom model 100,
14391166124Srafan	OTbs, am, bw, hs, mir, msgr, xon,
14392166124Srafan	cols#80, lines#24,
14393166124Srafan	acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
14394166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14395166124Srafan	dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
14396166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
14397166124Srafan	ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
14398166124Srafan	is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
14399166124Srafan	kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
14400166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14401166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
14402166124Srafan	smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
14403166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
14404166124Srafanf100-rv|freedom-rv|freedom 100 in reverse video,
14405166124Srafan	flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1440650276Speter# The f110 and f200 have problems with vi(1).  They use the ^V
1440750276Speter# code for the down cursor key. When kcud1 is defined in terminfo
1440850276Speter# as ^V, the Control Character Quoting capability (^V in insert mode)
1440950276Speter# is lost! It cannot be remapped in vi because it is necessary to enter
1441050276Speter# a ^V to to quote the ^V that is being remapped!!!
14411166124Srafan#
1441250276Speter# f110/f200 users will have to decide whether
1441350276Speter# to lose the down cursor key or the quoting capability. We will opt
1441450276Speter# initially for leaving the quoting capability out, since use of VI
1441550276Speter# is not generally applicable to most interactive applications
1441650276Speter# (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
14417166124Srafanf110|freedom110|Liberty Freedom 110,
14418166124Srafan	bw@, eslok,
14419166124Srafan	it#8, wsl#80,
14420166124Srafan	blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
14421166124Srafan	dim=\EG@, dl1=\ER, dsl=\Ef\r, flash=\Eb$<200/>\Ed, il1=\EE,
14422166124Srafan	ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET,
14423166124Srafan	kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
14424166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
14425166124Srafan	smso=\EG<, tsl=\Ef, use=f100,
14426166124Srafanf110-14|Liberty Freedom 110 14inch,
14427166124Srafan	dch1@, use=f110,
14428166124Srafanf110-w|Liberty Freedom 110 - 132 cols,
14429166124Srafan	cols#132, use=f110,
14430166124Srafanf110-14w|Liberty Freedom 110 14in/132 cols,
14431166124Srafan	cols#132,
14432166124Srafan	dch1@, use=f110,
1443350276Speter# (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
14434166124Srafanf200|freedom200|Liberty Freedom 200,
14435166124Srafan	OTbs, am, eslok, hs, mir, msgr, xon,
14436166124Srafan	cols#80, it#8, lines#24, wsl#80,
14437166124Srafan	acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
14438166124Srafan	clear=^Z, cnorm=\E.1, cr=^M,
14439166124Srafan	csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
14440166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14441166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET,
14442166124Srafan	flash=\Eo$<200/>\En, fsl=^M, home=^^,
14443166124Srafan	hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
14444166124Srafan	kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
14445166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
14446166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14447166124Srafan	kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
14448166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
14449166124Srafan	tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr,
14450166124Srafanf200-w|Liberty Freedom 200 - 132 cols,
14451166124Srafan	cols#132, use=f200,
1445250276Speter# The f200 has the ability to reprogram the down cursor key. The key is
1445350276Speter# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
1445450276Speter# so powering the terminal off and on will not cause the change to be lost.
14455166124Srafanf200vi|Liberty Freedom 200 for vi,
14456166124Srafan	flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
14457166124Srafanf200vi-w|Liberty Freedom 200 - 132 cols for vi,
14458166124Srafan	cols#132, use=f200vi,
1445950276Speter
1446050276Speter#### GraphOn (go)
1446150276Speter#
1446250276Speter#	Graphon Corporation
1446350276Speter#	544 Division Street
1446450276Speter#	Campbell, CA 95008
1446550276Speter#	Vox: (408)-370-4080
1446650276Speter#	Fax: (408)-370-5047
1446750276Speter#	Net: troy@graphon.com (Troy Morrison)
1446850276Speter#
1446950276Speter#
1447050276Speter# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
1447150276Speter# including one odd hybrid that starts out life on power-up as a character
1447250276Speter# terminal, than can be switched to X graphics mode (driven over the serial
1447350276Speter# line) by an escape sequence.  No info on this beast yet.
1447450276Speter# (go140: I added <rmam>/<smam> based on the init string -- esr)
14475166124Srafango140|graphon go-140,
14476166124Srafan	OTbs,
14477166124Srafan	cols#80, it#8, lines#24,
14478262629Sdelphij	clear=\E[H\E[2J$<10/>, cub1=^H, cud1=\E[B, cuf1=\E[C,
14479166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
14480166124Srafan	ed=\E[J$<10/>, el=\E[K, ht=^I,
14481166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L,
14482166124Srafan	is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
14483166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
14484166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
14485166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
14486166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
14487166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
14488166124Srafango140w|graphon go-140 in 132 column mode,
14489166124Srafan	am,
14490166124Srafan	cols#132,
14491166124Srafan	is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q,
14492166124Srafan	use=go140,
1449350276Speter# Hacked up vt200 termcap to handle GO-225/VT220
1449450276Speter# From: <edm@nwnexus.WA.COM>
1449550276Speter# (go225: I added <rmam>/<smam> based on the init string -- esr)
14496166124Srafango225|go-225|Graphon 225,
14497166124Srafan	OTbs, am, mir, xenl,
14498166124Srafan	cols#80, it#8, lines#25, vt#3,
14499166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
14500166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
14501166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
14502166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
14503166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
14504166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
14505166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
14506166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
14507166124Srafan	rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
14508166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
14509166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
14510166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1451150276Speter
1451250276Speter#### Harris (Beehive)
1451350276Speter#
1451450276Speter# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
1451550276Speter# Their terminal group is ancient history now (1995) though the parent
1451650276Speter# company is still in business.
1451750276Speter#
1451850276Speter
1451950276Speter# Beehive documentation is undated and marked Preliminary and has no figures
1452050276Speter# so we must have early Superbee2 (Model 600, according to phone conversation
1452150276Speter# with mfr.). It has proved reliable except for some missing padding
1452250276Speter# (notably after \EK and <nl> at bottom of screen).
14523166124Srafan#
14524166124Srafan# The key idea is that AEP mode is poison for <cup> & that US's in
14525166124Srafan# the local memory should be avoided like the plague. That means
14526166124Srafan# that the 2048 character local buffer is used as 25 lines of 80
14527166124Srafan# characters, period. No scrolling local memory, folks. It also
1452850276Speter# appears that we cannot use naked INS LINE feature since it uses
14529166124Srafan# US. The sbi fakes <il1> with an 80-space insert that may be too
14530166124Srafan# slow at low speeds; also spaces get converted to \040 which is
1453150276Speter# too long for some programs (not vi).  DEL LINE is ok but slow.
14532166124Srafan#
14533166124Srafan# The <nl> string is designed for last line of screen ONLY; cup to
1453450276Speter# 25th line corrects the motion inherent in scrolling to Page 1.
14535166124Srafan#
1453650276Speter# There is one understood bug. It is that the screen appears to
14537166124Srafan# pop to a new (blank) page after a <nel>, or leave a half-line
14538166124Srafan# ellipsis to a quad that is the extra 48 memory locations. The
14539166124Srafan# data received is dumped into memory but not displayed.  Not to
14540166124Srafan# worry if <cup> is being used; the lines not displayed will be,
14541166124Srafan# whenever the cursor is moved up there. Since <cup> is addressed
14542166124Srafan# relative to MEMORY of window, nothing is lost; but beware of
1454350276Speter# relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
1454450276Speter# therefore, is setenv MORE -c .
14545166124Srafan#
1454650276Speter# WARNING: Not all features tested.
14547166124Srafan#
14548166124Srafan# Timings are assembled from 3 sources. Some timings may reflect
1454950276Speter# SB2/Model 300 that were used if more conservative.
1455050276Speter# Tested on a Model 600 at 1200 and 9600 bd.
14551166124Srafan#
14552166124Srafan# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
14553166124Srafan# placed on the keyboard and useless because of AEP, is made
1455450276Speter# into a backspace key. In use ESC must be pressed twice (to send)
14555166124Srafan# and sending ^C must be prefixed by ESC to avoid that weird
1455650276Speter# transmit mode associated with ENTER key.
14557166124Srafan#
14558166124Srafan# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
14559166124Srafan# the screen, then it has dropped into ENTER mode; hit
1456050276Speter# RESET--ONLINE--!tset.
14561166124Srafan#
14562166124Srafan# As delivered this machine has a FATAL feature that will throw
14563166124Srafan# it into that strange transmit state (SPOW) if the space bar is
14564166124Srafan# hit after a CR is received, but before receiving a LF (or a
1456550276Speter# few others).
14566166124Srafan#
14567166124Srafan# The circuits MUST be modified to eliminate the SPOW latch.
14568166124Srafan# This is done by strapping on chip A46 of the I/O board; cut
14569166124Srafan# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
1457050276Speter# chip. This mod has been checked out on a Mod 600 of Superbee II.
14571166124Srafan# With this modification absurdly high timings on cr are
1457250276Speter# unnecessary.
14573166124Srafan#
14574166124Srafan# NOTE WELL that the rear panel switch should be set to CR/LF,
1457550276Speter# not AEP!
1457650276Speter#
14577166124Srafansb1|beehive superbee,
14578166124Srafan	OTbs, am, bw, da, db, mir, ul, xsb,
14579166124Srafan	cols#80, lines#25, xmc#1,
14580166124Srafan	bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
14581166124Srafan	cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
14582166124Srafan	cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
14583166124Srafan	el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
14584166124Srafan	il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
14585166124Srafan	ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
14586166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
14587166124Srafan	kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
14588166124Srafan	kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
14589166124Srafan	krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
14590166124Srafan	rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
14591166124Srafan	smso=\E_1, smul=\E_0, tbc=\E3,
14592166124Srafansbi|superbee|beehive superbee at Indiana U.,
14593166124Srafan	xsb,
14594166124Srafan	cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
14595166124Srafan	use=sb1,
1459650276Speter# Alternate (older) description of Superbee - f1=escape, f2=^C.
1459750276Speter# Note: there are at least 3 kinds of superbees in the world.  The sb1
1459850276Speter# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
1459950276Speter# The sb3 puts garbage on the bottom of the screen when you scroll with
1460050276Speter# the switch in the back set to CRLF instead of AEP.  This description
1460150276Speter# is tested on the sb2 but should work on all with either switch setting.
1460250276Speter# The f1/f2 business is for the sb1 and the <xsb> can be taken out for
1460350276Speter# the other two if you want to try to hit that tiny escape key.
1460450276Speter# This description is tricky: being able to use cup depends on there being
1460550276Speter# 2048 bytes of memory and the hairy <nl> string.
14606166124Srafansuperbee-xsb|beehive super bee,
14607166124Srafan	am, da, db, xsb,
14608166124Srafan	cols#80, it#8, lines#25,
14609166124Srafan	clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
14610166124Srafan	cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
14611166124Srafan	dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
14612166124Srafan	home=\EH, ht=^I, hts=\E1,
14613166124Srafan	ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
14614166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
14615166124Srafan	kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
14616166124Srafan	khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
1461750276Speter# This loses on lines > 80 chars long, use at your own risk
14618166124Srafansuperbeeic|super bee with insert char,
14619166124Srafan	ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
14620166124Srafansb2|sb3|fixed superbee,
14621166124Srafan	xsb@, use=superbee,
1462250276Speter
14623262685Sdelphij#### Beehive Medical Electronics
1462462449Speter#
1462562449Speter# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
1462662449Speter# Regarding your question though; Beehive terminals weren't made by Harris.
1462762449Speter# They were made by Beehive Medical Electronics in Utah. They went out of
1462862449Speter# business in the early '80s.
1462962449Speter#
1463062449Speter# (OK, then, I don't know why a couple of these say "harris beehive".)
1463162449Speter#
1463262449Speter
1463350276Speter# Reports are that most of these Beehive entries (except superbee) have not
1463450276Speter# been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
1463550276Speter
1463650276Speter# (bee: <ich1> was empty, which is obviously bogus -- esr)
14637166124Srafanbeehive|bee|harris beehive,
14638166124Srafan	OTbs, am, mir,
14639166124Srafan	cols#80, lines#24,
14640166124Srafan	cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
14641166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
14642166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
14643166124Srafan	kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
14644166124Srafan	kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
14645166124Srafan	krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
14646166124Srafan	smir=\EQ, smso=\EdP, smul=\Ed`,
1464750276Speter# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1464850276Speter# good grief - does this entry make :sg:/:ug: when it doesn't have to?
1464950276Speter# look at those spaces in <rmso>/<smso>.  Seems strange to me...
1465050276Speter# (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
1465150276Speter# really care, cook up one using ^F -- esr)
14652166124Srafanbeehive3|bh3m|beehiveIIIm|harris beehive 3m,
14653166124Srafan	OTbs, am,
14654166124Srafan	cols#80, it#8, lines#20,
14655166124Srafan	bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
14656166124Srafan	dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
14657166124Srafan	il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
14658166124Srafanbeehive4|bh4|beehive 4,
14659166124Srafan	am,
14660166124Srafan	cols#80, lines#24,
14661166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
14662166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
1466362449Speter# There was an early Australian kit-built computer called a "Microbee".
1466462449Speter# It's not clear whether this is for one of those or for a relative
1466562449Speter# of the Beehive.
14666166124Srafanmicrob|microbee|micro bee series,
14667166124Srafan	OTbs, am,
14668166124Srafan	cols#80, it#8, lines#24,
14669166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14670166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
14671166124Srafan	el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
14672166124Srafan	kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
14673166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
14674166124Srafan	rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
1467550276Speter
1467650276Speter# 8675, 8686, and bee from Cyrus Rahman
1467750276Speter# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
14678166124Srafanha8675|harris 8675,
14679166124Srafan	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
14680166124Srafan	kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
14681166124Srafan	kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
14682166124Srafan	kf8=\177, kf9=\Ee, use=bee,
1468350276Speter# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
1468450276Speter# in :is: -- esr)
14685166124Srafanha8686|harris 8686,
14686166124Srafan	is2=\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#,
14687166124Srafan	kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
14688166124Srafan	kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
14689166124Srafan	kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
14690166124Srafan	kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
14691166124Srafan	use=bee,
1469250276Speter
1469350276Speter#### Hazeltine
1469450276Speter#
1469550276Speter# Hazeltine appears to be out of the terminal business as of 1995.  These
1469650276Speter# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
1469750276Speter# Harris. They have a hazeltine.com domain (but no web page there ) and can
1469850276Speter# be reached at:
1469950276Speter#
1470050276Speter#	Hazeltine
1470150276Speter#	450 East Pulaski Road
1470250276Speter#	Greenlawn, New York 11740
1470350276Speter#
1470450276Speter# As late as 1993, manuals for the terminal product line could still be
1470550276Speter# purchased from:
1470650276Speter#
1470750276Speter#	TRW Customer Service Division
1470850276Speter#	15 Law Drive
1470950276Speter#	P.O. Box 2076
1471050276Speter#	Fairfield, NJ 07007-2078
1471150276Speter#
1471250276Speter# They're now (1998) a subsidiary of General Electric, operating under the
1471350276Speter# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
1471450276Speter# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1471550276Speter#
1471650276Speter
1471750276Speter# Since <cuf1> is blank, when you want to erase something you
1471850276Speter# are out of luck.  You will have to do ^L's a lot to
1471950276Speter# redraw the screen.  h1000 is untested.  It doesn't work in
1472050276Speter# vi - this terminal is too dumb for even vi.  (The code is
1472150276Speter# there but it isn't debugged for this case.)
14722166124Srafanhz1000|hazeltine 1000,
14723166124Srafan	OTbs,
14724166124Srafan	cols#80, lines#12,
14725166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
14726166124Srafan	ind=^J,
1472750276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
14728166124Srafanhz1420|hazeltine 1420,
14729166124Srafan	OTbs, am,
14730166124Srafan	cols#80, lines#24,
14731166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
14732166124Srafan	cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
14733166124Srafan	ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
14734166124Srafan	smso=\E^_,
1473550276Speter# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
1473650276Speter# freakout with out-of-range args and tn3270.  No hz since it needs to
1473750276Speter# receive tildes.
14738166124Srafanhz1500|hazeltine 1500,
14739166124Srafan	OTbs, am, hz,
14740166124Srafan	cols#80, lines#24,
14741166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
14742166124Srafan	cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
14743166124Srafan	cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
14744166124Srafan	il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
14745166124Srafan	kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1474650276Speter# h1510 assumed to be in sane escape mode.  Else use h1500.
14747166124Srafan# (h1510: early versions of this entry apparently had "<rmso=\E^_>,
1474850276Speter# <smso=\E^Y>, but these caps were commented out in 8.3; also,
1474950276Speter# removed incorrect and overridden ":do=^J:" -- esr)
14750166124Srafanhz1510|hazeltine 1510,
14751166124Srafan	OTbs, am,
14752166124Srafan	cols#80, lines#24,
14753166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
14754166124Srafan	cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
14755166124Srafan	el=\E^O, il1=\E^Z, ind=^J,
1475650276Speter# Hazeltine 1520
1475750276Speter# The following switch settings are assumed for normal operation:
1475850276Speter#	FULL		CR		U/L_CASE	ESCAPE
1475950276Speter#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
1476050276Speter# Other switches may be set for operator convenience or communication
1476150276Speter# requirements.
14762166124Srafanhz1520|Hazeltine 1520,
14763166124Srafan	OTbs, am, bw, msgr,
14764166124Srafan	cols#80, lines#24,
14765166124Srafan	bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
14766166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
14767166124Srafan	ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
14768166124Srafan	kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
14769166124Srafan	kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
14770166124Srafan	rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
1477150276Speter# This version works with the escape switch off
1477250276Speter# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
14773166124Srafanhz1520-noesc|hazeltine 1520,
14774166124Srafan	am, hz,
14775166124Srafan	cols#80, lines#24,
14776166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
14777166124Srafan	cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
14778166124Srafan	home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1477950276Speter# Note: the h1552 appears to be the first Hazeltine terminal which
1478050276Speter# is not braindamaged.  It has tildes and backprimes and everything!
1478150276Speter# Be sure the auto lf/cr switch is set to cr.
14782166124Srafanhz1552|hazeltine 1552,
14783166124Srafan	OTbs,
14784166124Srafan	cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
14785166124Srafan	lf2=red, lf3=green, use=vt52,
14786166124Srafanhz1552-rv|hazeltine 1552 reverse video,
14787166124Srafan	cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1478850276Speter# Note: h2000 won't work well because of a clash between upper case and ~'s.
14789166124Srafanhz2000|hazeltine 2000,
14790166124Srafan	OTbs, OTnc, am,
14791166124Srafan	cols#74, lines#27,
14792166124Srafan	bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
14793166124Srafan	cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
14794166124Srafan	il1=~\032$<6>, ind=^J, pad=\177,
1479550276Speter# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
1479650276Speter# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
1479750276Speter# to work ok. There is one problem though if one types a lot of garbage
1479850276Speter# characters very fast vi seems not able to keep up and hangs while trying
1479950276Speter# to insert. That's in insert mode while trying to insert in the middle of
1480050276Speter# a line. It might be because the Esprit doesn't have insert char and delete
14801166124Srafan# char as a built in function. Vi has to delete to end of line and then
1480250276Speter# redraw the rest of the line.
14803166124Srafanesprit|Hazeltine Esprit I,
14804166124Srafan	OTbs, am, bw,
14805166124Srafan	cols#80, lines#24,
14806166124Srafan	bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
14807166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
14808166124Srafan	ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
14809166124Srafan	kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
14810166124Srafan	kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
14811166124Srafan	kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
14812166124Srafan	lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
14813166124Srafan	rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
14814166124Srafanesprit-am|hazeltine esprit auto-margin,
14815166124Srafan	am, use=esprit,
1481650276Speter# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
1481750276Speter# Vi it seems always wants to send a control J for "do" and it turned out
1481850276Speter# that the terminal would work somewhat if the auto LF/CR was turned off.
1481950276Speter# (hmod1: removed :dn=~^K: -- esr)
14820166124Srafanhmod1|Hazeltine Modular 1,
14821166124Srafan	OTbs, am, hz,
14822166124Srafan	cols#80, lines#24,
14823166124Srafan	bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
14824166124Srafan	cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
14825166124Srafan	ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
14826166124Srafan	rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1482750276Speter#
1482850276Speter# Hazeltine Executive 80 Model 30 (1554?)
1482950276Speter#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
1483050276Speter# Like VT100, except for different "am" behavior.
14831166124Srafanhazel|exec80|h80|he80|Hazeltine Executive 80,
14832166124Srafan	OTbs, OTpt, am,
14833166124Srafan	cols#80, it#8, lines#24, vt#3,
14834166124Srafan	OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
14835166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
14836166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
14837166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
14838166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
14839166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
14840166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
14841166124Srafan	kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
14842166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
14843166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
14844166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
14845166124Srafan	sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
14846166124Srafan	smul=\E[4m$<2/>,
1484750276Speter
1484850276Speter#### IBM
1484950276Speter#
1485050276Speter
14851166124Srafanibm327x|line mode IBM 3270 style,
14852166124Srafan	gn,
14853166124Srafan	clear=^M^J, el=^M, home=^M,
1485450276Speter
14855166124Srafanibm3101|i3101|IBM 3101-10,
14856166124Srafan	OTbs, am, xon,
14857166124Srafan	cols#80, lines#24,
14858166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14859166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
14860166124Srafan	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
14861166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
14862166124Srafanibm3151|IBM 3151 display,
14863166124Srafan	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
14864166124Srafan	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;,
14865166124Srafan	sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
14866166124Srafan# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1486762449Speter# removed kend, knp, kpp -TD
14868166124Srafanibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
14869166124Srafan	OTbs, am, mir, msgr,
14870166124Srafan	cols#80, it#8, lines#24,
14871166124Srafan	acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
14872166124Srafan	bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
14873166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
14874166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
14875166124Srafan	invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
14876166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
14877166124Srafan	kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
14878166124Srafan	kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
14879166124Srafan	kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
14880166124Srafan	kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
14881166124Srafan	kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
14882166124Srafan	kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
14883166124Srafan	kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
14884166124Srafan	ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A,
14885166124Srafan	rmso=\E4@, rmul=\E4@,
14886166124Srafan	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;,
14887166124Srafan	sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
1488850276Speter
14889166124Srafanibm3161-C|IBM 3161-C NLS terminal using cartridge,
14890166124Srafan	rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161,
14891166124Srafanibm3162|IBM 3162 display,
14892166124Srafan	blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
14893166124Srafan	rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
14894166124Srafan	use=ibm3161-C,
1489550276Speter
1489662449Speter# This really should not use setab/setaf, but it is clear that the
1489762449Speter# original terminfo does not toggle red/blue colors as in setb/setf.
14898166124Srafanibm3164|i3164|IBM 3164,
14899166124Srafan	msgr,
14900166124Srafan	colors#8, pairs#64,
14901166124Srafan	op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
14902166124Srafan	setab=\E4  %p1%{64}%+%c,
14903166124Srafan	setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
14904166124Srafan	smcup=\E!9/N\E>B, use=ibm3161,
1490550276Speter
14906166124Srafanibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
14907166124Srafan	am, bw, msgr, xon,
14908166124Srafan	cols#80, it#8, lines#25,
14909166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
14910166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
14911166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
14912166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
14913166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
14914166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
14915166124Srafan	hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
14916166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
14917166124Srafan	kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
14918166124Srafan	kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
14919166124Srafan	kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
14920166124Srafan	kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
14921166124Srafan	kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
14922166124Srafan	kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
14923166124Srafan	kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
14924166124Srafan	kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
14925166124Srafan	kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
14926166124Srafan	kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
14927166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
14928166124Srafan	kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
14929166124Srafan	kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
14930166124Srafan	krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
14931166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec,
14932166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
14933166124Srafan	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1493450276Speter
14935166124Srafanibmaed|IBM Experimental display,
14936166124Srafan	OTbs, am, eo, msgr,
14937166124Srafan	cols#80, it#8, lines#52,
14938166124Srafan	clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
14939166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
14940166124Srafan	dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
14941166124Srafan	il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
14942166124Srafan	rmso=\E0, sgr0=\E0, smso=\E0,
14943166124Srafanibm-apl|apl|IBM apl terminal simulator,
14944166124Srafan	lines#25, use=dm1520,
14945166124Srafan# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
1494650276Speter# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
14947166124Srafanibmmono|IBM workstation monochrome,
14948166124Srafan	eslok, hs,
14949166124Srafan	bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
14950166124Srafan	invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
14951166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
14952166124Srafan	khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
14953166124Srafan	lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
14954166124Srafan	sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
14955166124Srafan	use=ibm3101,
14956166124Srafanibmega|IBM Enhanced Color Display,
14957166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
14958166124Srafan	nel=^M^J, use=ibmmono,
1495962449Speter# This color scheme is assumed in some recent IBM terminal descriptions
1496062449Speter# (green on black, emulated on a 16-color terminal).
14961166124Srafanibm+color|IBM color definitions,
14962166124Srafan	colors#8, ncv#3, pairs#64,
14963166124Srafan	op=\E[32m\E[40m,
14964166124Srafan	setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;,
14965166124Srafan	setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;,
14966166124Srafanibm+16color|IBM aixterm color definitions,
14967166124Srafan	colors#16, pairs#256,
14968166124Srafan	setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
14969166124Srafan	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
14970166124Srafan	setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
14971166124Srafan	setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
14972166124Srafanibm5154|IBM 5154 Color display,
14973166124Srafan	colors#8, ncv@, pairs#64,
14974166124Srafan	bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
14975166124Srafan	use=ibm+color,
14976166124Srafanibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
14977166124Srafan	rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
14978166124Srafan	use=ibmmono,
14979166124Srafanibmvga-c|IBM VGA display color termcap,
14980166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
14981166124Srafan	nel=^M^J, use=ibmega-c,
14982166124Srafanibmvga|IBM VGA display,
14983166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
14984166124Srafan	nel=^M^J, use=ibmega,
1498550276Speter# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
14986166124Srafanrtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
14987166124Srafan	lines#32,
14988166124Srafan	dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
14989166124Srafanibm6155|IBM 6155 Black & White display,
14990166124Srafan	blink@, bold@, use=ibm5151,
1499150276Speter# Advanced Monochrome (6153) and Color (6154) Graphics Display:
14992166124Srafanibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
14993166124Srafan	lines#31,
14994166124Srafan	dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
14995166124Srafanibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
14996166124Srafan	lines#31,
14997166124Srafan	dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
14998166124Srafan	use=ibmega-c,
14999166124Srafanibm6154|IBM 6154 Color displays,
15000166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
15001166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
15002166124Srafan	sgr0=\E[0;10m, use=ibm5154,
15003166124Srafanibm6153|IBM 6153 Black & White display,
15004166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
15005166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
15006166124Srafan	sgr0=\E[0;10m, use=ibm5151,
15007166124Srafanibm6153-90|IBM 6153 Black & White display,
15008166124Srafan	cols#90, lines#36,
15009166124Srafan	blink@, bold@, use=ibm5151,
15010166124Srafanibm6153-40|IBM 6153 Black & White display,
15011166124Srafan	cols#40, lines#12, use=ibm6153-90,
15012166124Srafanibm8512|ibm8513|IBM color VGA Terminal,
15013166124Srafan	am, mir, msgr,
15014166124Srafan	cols#80, it#8, lines#25,
15015166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
15016166124Srafan	clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
15017166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
15018166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
15019166124Srafan	il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
15020166124Srafan	kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
15021166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
15022166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
15023166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
15024166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m,
15025166124Srafan	rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
15026166124Srafan	smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
15027166124Srafan	smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
15028166124Srafan	use=ibm8503,
15029166124Srafanhft-c|HFT with Color,
15030166124Srafan	colors#8, pairs#64,
15031166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
15032166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
15033166124Srafan	use=ibm5151, use=ibm+color,
15034166124Srafanhft-c-old|HFT with Color PC850,
15035166124Srafan	colors#8, pairs#64,
15036166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
15037166124Srafan	use=ibm+color,
15038166124Srafanhft-old|AIWS High Function Terminal,
15039166124Srafan	am, xon,
15040166124Srafan	cols#80, lines#25,
15041166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
15042166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15043166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
15044166124Srafan	ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
15045166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
15046166124Srafan	kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
15047166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
15048166124Srafan	kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
15049166124Srafan	ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
15050166124Srafan	sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
15051166124Srafanibm-system1|system1|ibm system/1 computer,
15052166124Srafan	am, xt,
15053166124Srafan	cols#80, lines#24,
15054166124Srafan	bel=^G, clear=^Z, cub1=^H, cuf1=^\,
15055166124Srafan	cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
15056166124Srafan	ind=^J,
1505762449Speter#       lft-pc850 : IBM Low Function Terminal Device
1505862449Speter#    lft "supports" underline, bold, and blink in the sense that the lft code
1505962449Speter#    sets all the right bits.  HOWEVER, depending upon the adapter, these
1506062449Speter#    attributes may or may not be supported by the device driver.
15061166124Srafanlft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
15062166124Srafan	am, bw, msgr, xon,
15063166124Srafan	cols#80, it#8, lines#25,
15064166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
15065166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
15066166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15067166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15068166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
15069166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
15070166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
15071166124Srafan	il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
15072166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
15073166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
15074166124Srafan	kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
15075166124Srafan	kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
15076166124Srafan	kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
15077166124Srafan	kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
15078166124Srafan	kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
15079166124Srafan	kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
15080166124Srafan	kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
15081166124Srafan	kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
15082166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
15083166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
15084166124Srafan	kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
15085166124Srafan	kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
15086166124Srafan	rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
15087166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
15088166124Srafan	sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
15089166124Srafan	tbc=\E[3g,
15090262685Sdelphij# "Megapel" refers to the display adapter, which was used with the IBM RT
15091262685Sdelphij# aka IBM 6150.
15092166124Srafanibm5081|hft|IBM Megapel Color display,
15093166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
15094166124Srafan	s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
15095166124Srafanibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
15096166124Srafan	eslok, hs,
15097166124Srafan	lines#33,
15098166124Srafan	dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
15099166124Srafan	use=ibmega-c,
15100166124Srafanibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
15101166124Srafan	use=hft-c,
15102166124Srafanibm8514|IBM 8514/a color VGA display,
15103166124Srafan	eslok, hs,
15104166124Srafan	dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
15105166124Srafanibm8514-c|IBM 8514 color display with standout and underline,
15106166124Srafan	eslok, hs,
15107166124Srafan	lines#41,
15108166124Srafan	cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
15109166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
15110166124Srafan	use=ibmega-c,
1511150276Speter
1511250276Speter#
15113166124Srafan# AIX entries.  IBM ships these with AIX 3.2.5.
1511462449Speter# -- added rc, sc based on manpage -TD
15115166124Srafan# Note that we could use ibm+16color, but that is not how IBM defines this one.
15116166124Srafanaixterm|IBM Aixterm Terminal Emulator,
15117166124Srafan	eslok, hs,
15118166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
15119166124Srafan	fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
15120166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
15121166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
15122166124Srafanaixterm-m|IBM AIXterm Monochrome Terminal Emulator,
15123166124Srafan	eslok, hs,
15124166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
15125166124Srafan	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
15126166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
15127166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
15128166124Srafanaixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
15129166124Srafan	eslok, hs,
15130166124Srafan	bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
15131166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
15132166124Srafan	tsl=\E[?%p1%dT, use=ibm6153,
15133166124Srafanjaixterm|IBM Kanji Aixterm Terminal Eemulator,
15134166124Srafan	acsc@, use=aixterm,
15135166124Srafanjaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
15136166124Srafan	acsc@, use=aixterm-m,
1513750276Speter
15138166124Srafan# This flavor is adapted from xterm, in turn from aixterm documentation -TD
15139166124Srafanaixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
15140166124Srafan	use=ibm+16color, use=aixterm,
15141166124Srafan
1514250276Speter#### Infoton/General Terminal Corp.
1514350276Speter#
1514450276Speter
1514550276Speter# gt100 sounds like something DEC would come out with.  Let's hope they don't.
15146166124Srafani100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
15147166124Srafan	OTbs, am,
15148166124Srafan	cols#80, lines#24,
15149166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
15150166124Srafan	cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
15151166124Srafan	ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
15152166124Srafan	ind=^J, rmso=\Ea, smso=\Eb,
15153166124Srafani400|infoton 400,
15154166124Srafan	OTbs, am,
15155166124Srafan	cols#80, lines#25,
15156166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
15157166124Srafan	cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
15158166124Srafan	dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
15159166124Srafan	il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
1516050276Speter# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
15161166124Srafanaddrinfo,
15162166124Srafan	am,
15163166124Srafan	cols#80, lines#24,
15164166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
15165166124Srafan	cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
1516650276Speter# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
15167166124Srafaninfoton,
15168166124Srafan	am,
15169166124Srafan	cols#80, lines#24,
15170166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
15171166124Srafan	ed=^K, ind=^J, ll=^H^\,
1517250276Speter
1517350276Speter# The ICL6402 was actually the Kokusai Display System 6402.
1517450276Speter# The 6404 was the KDS7372 (color version of the 6402).
15175166124Srafan#
1517650276Speter# ICL6404 control codes follow:
1517750276Speter#
1517850276Speter#code            function
1517950276Speter#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1518050276Speter#ctrl-A          set SOM position at cursor position
1518150276Speter#ctrl-G          Bell
1518250276Speter#ctrl-H          Backspace
1518350276Speter#ctrl-I          Horiz tab
1518450276Speter#ctrl-J          Linefeed
1518550276Speter#ctrl-K          Cursor up
1518650276Speter#ctrl-L          Cursor right
1518750276Speter#ctrl-M          Carriage return
1518850276Speter#ctrl-N          Disable xon/xoff to host
1518950276Speter#ctrl-O          Enable xon/xoff to host
1519050276Speter#ctrl-R          Enable bidirectional mode
1519150276Speter#ctrl-T          Disable bidirectional mode
1519250276Speter#ctrl-V          Cursor down
1519350276Speter#ctrl-Z          Clear unprotected data to insert char
1519450276Speter#ctrl-^          Cursor home
1519550276Speter#ctrl-_          Newline
1519650276Speter#
1519750276Speter#ESC             lead-in char for multiple character command
1519850276Speter#
1519950276Speter#ESC space R     execute power on sequence
1520050276Speter#ESC ! p1 p2     define scroll region:
1520150276Speter#                p1 = scroll top    line:  20h - 37h
1520250276Speter#                p1 = scroll bottom line:  20h - 37h
1520350276Speter#ESC "           unlock keyboard
1520450276Speter#ESC #           lock keyboard
1520550276Speter#ESC $           Semi-graphics mode on
1520650276Speter#ESC %           Semi-graphics mode off
1520750276Speter#ESC &           protect mode on
1520850276Speter#ESC '           protect mode off
1520950276Speter#ESC (           write protect mode off (full intensity)
1521050276Speter#ESC )           write protect mode on (half intensity)
1521150276Speter#
1521250276Speter#ESC *           clear screen
1521350276Speter#ESC +           clear unprotected data to insert char
1521450276Speter#ESC ,           clear unprotected data to half intensity spaces
1521550276Speter#ESC - p1 p2 p3 p4     address cursor to page, row, column:
1521650276Speter#                      p1 = page number  0 - 3
1521750276Speter#                      p2 = row          20h - 7fh
1521850276Speter#                      p3 = column (lo)  20h - 7fh
1521950276Speter#                      p4 = column (hi)  20h - 21h (only 132 col)
1522050276Speter#ESC . p1        set cursor style:
1522150276Speter#                p1 = 0  invisible cursor
1522250276Speter#                p1 = 1  block blinking cursor
1522350276Speter#                p1 = 2  block steady cursor
1522450276Speter#                p1 = 3  underline blinking cursor
1522550276Speter#                p1 = 4  underline steady cursor
1522650276Speter#ESC /           transmit cursor location (page, row, column)
1522750276Speter#ESC 0 p1 p2 p3 p4     program edit key:
1522850276Speter#                      p1 = edit key code: '@'-'S', '`'-'s'
1522950276Speter#                      p2 p3 p4 = program data (3 bytes)
1523050276Speter#
1523150276Speter#ESC 1           set tab
1523250276Speter#ESC 2           clear tab at cursor
1523350276Speter#ESC 3           clear all tabs
1523450276Speter#ESC 4           send unprotect line to cursor
1523550276Speter#ESC 5           send unprotect page to cursor
1523650276Speter#ESC 6           send line to cursor
1523750276Speter#ESC 7           send page to cursor
1523850276Speter#ESC 8 n         set scroll mode:
1523950276Speter#                n = 0   set jump scroll
1524050276Speter#                n = 1   set smooth scroll
1524150276Speter#ESC 9 n         control display:
1524250276Speter#                n = 0   display off
1524350276Speter#                n = 1   display on
1524450276Speter#ESC :           clear unprotected data to null
1524550276Speter#ESC ;           clear unprotected data to insert char
1524650276Speter#
1524750276Speter#ESC <           keyclick on
1524850276Speter#ESC = p1 p2     address cursor to row, column
1524950276Speter#                p1 = row          20h - 7fh
1525050276Speter#                p2 = column (lo)  20h - 7fh
1525150276Speter#                p3 = column (hi)  20h - 21h (only 132 col)
1525250276Speter#ESC >           keyclick off
1525350276Speter#ESC ?           transmit cursor location (row, column)
1525450276Speter#
1525550276Speter#ESC @           copy print mode on
1525650276Speter#ESC A           copy print mode off
1525750276Speter#ESC B           block mode on
1525850276Speter#ESC C           block mode off (conversation mode)
1525950276Speter#ESC D F         set full duplex
1526050276Speter#ESC D H         set half duplex
1526150276Speter#ESC E           line insert
1526250276Speter#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
1526350276Speter#                0 = black, 1 = red,     2 = green, 3 = yellow
1526450276Speter#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
1526550276Speter#ESC G n         set serial field attribute (n = 30h - 3Fh)
1526650276Speter#ESC H n         full graphics mode:
1526750276Speter#                n = 0  exit full graphics mode
1526850276Speter#                n = 1  enter full graphics mode
1526950276Speter#ESC I           back tab
1527050276Speter#ESC J           back page
1527150276Speter#ESC K           forward page
1527250276Speter#
1527350276Speter#ESC L           unformatted page print
1527450276Speter#ESC M L         move window left  (132 col mode only)
1527550276Speter#ESC M R         move window right (132 col mode only)
1527650276Speter#ESC N           set page edit (clear line edit)
1527750276Speter#ESC O           set line edit (clear page edit)
1527850276Speter#ESC P           formatted page print
1527950276Speter#ESC Q           character insert
1528050276Speter#ESC R           line delete
1528150276Speter#ESC S           send message unprotected only
1528250276Speter#ESC T           erase line to insert char
1528350276Speter#ESC U           set monitor mode   (see ESC X, ESC u)
1528450276Speter#
1528550276Speter#ESC V n         select video attribute mode:
1528650276Speter#                n = 0   serial field attribute mode
1528750276Speter#                n = 1   parallel character attribute mode
1528850276Speter#ESC V 2 n       define line attribute:
1528950276Speter#                n = 0   single width single height
1529050276Speter#                n = 1   single width double height
1529150276Speter#                n = 2   double width single height
1529250276Speter#                n = 3   double width double height
1529350276Speter#ESC V 3 n       select character font:
1529450276Speter#                n = 0   system font
1529550276Speter#                n = 1   user defined font
1529650276Speter#ESC V 4 n       select screen mode:
1529750276Speter#                n = 0   page screen mode
1529850276Speter#                n = 1   virtual screen mode
1529950276Speter#ESC V 5 n       control mouse mode:
1530050276Speter#                n = 0   disable mouse
1530150276Speter#                n = 1   enable sample mode
1530250276Speter#                n = 2   send mouse information
1530350276Speter#                n = 3   enable request mode
1530450276Speter#ESC W           character delete
1530550276Speter#ESC X           clear monitor mode (see ESC U, ESC u)
1530650276Speter#ESC Y           erase page to insert char
1530750276Speter#
1530850276Speter#ESC Z n         send user/status line:
1530950276Speter#                n = 0   send user line
1531050276Speter#                n = 1   send status line
1531150276Speter#                n = 2   send terminal ID
1531250276Speter#ESC [ p1 p2 p3  set character attribute (parallel char mode):
1531350276Speter#                p1: 0 = normal
1531450276Speter#                    1 = blank
1531550276Speter#                    2 = blink
1531650276Speter#                    3 = blink blank (= blank)
1531750276Speter#                    4 = reverse
1531850276Speter#                    5 = reverse blank
1531950276Speter#                    6 = reverse blink
1532050276Speter#                    7 = reverse blink blank (= reverse blank)
1532150276Speter#                    8 = underline
1532250276Speter#                    9 = underline blank
1532350276Speter#                    : = underline blink
1532450276Speter#                    ; = underline blink blank
1532550276Speter#                    < = reverse underline
1532650276Speter#                    = = reverse underline blank
1532750276Speter#                    > = reverse underline blink
1532850276Speter#                    ? = reverse underline blink blank
1532950276Speter#                p2, p3: f/grnd, b/grnd colour
1533050276Speter#                (see ESC F for colours)
1533150276Speter#                use ZZ for mono, eg.
1533250276Speter#                    ESC [ 0 Z Z for normal
1533350276Speter#                    ESC [ 4 Z Z for inverse etc.
1533450276Speter#
1533550276Speter#ESC \ n         set page size:
1533650276Speter#                n = 1   24 lines/page
1533750276Speter#                n = 2   48 lines/page
1533850276Speter#                n = 3   72 lines/page
1533950276Speter#                n = 4   96 lines/page
1534050276Speter#ESC ] n         set Wordstar mode:
1534150276Speter#                n = 0   normal (KDS7372) mode
1534250276Speter#                n = 1   Wordstar mode
1534350276Speter#
1534450276Speter#ESC b           set foreground colour screen
1534550276Speter#
1534650276Speter#ESC c n         enter self-test mode:
1534750276Speter#                n = 0   exit self test mode
1534850276Speter#                n = 1   ROM test
1534950276Speter#                n = 2   RAM test
1535050276Speter#                n = 3   NVRAM test
1535150276Speter#                n = 4   screen display test
1535250276Speter#                n = 5   main/printer port test
1535350276Speter#                n = 6   mouse port test
1535450276Speter#                n = 7   graphics board test
1535550276Speter#                n = 8   graphics memory test
1535650276Speter#                n = 9   display all 'E'
1535750276Speter#                n = :   display all 'H'
1535850276Speter#ESC d           set background colour screen
1535950276Speter#
1536050276Speter#ESC e n         program insert char (n = insert char)
1536150276Speter#ESC f text CR   load user status line with 'text'
1536250276Speter#
1536350276Speter#ESC g           display user status line on 25th line
1536450276Speter#ESC h           display system status line on 25th line
1536550276Speter#ESC i           tab
1536650276Speter#ESC j           reverse linefeed
1536750276Speter#ESC k n         duplex/local edit mode:
1536850276Speter#                n = 0   duplex edit mode
1536950276Speter#                n = 1   local edit mode
1537050276Speter#ESC l n         select virtual screen:
1537150276Speter#                n = 0   screen 1
1537250276Speter#                n = 1   screen 2
1537350276Speter#ESC m           save current config to NVRAM
1537450276Speter#ESC n p1        select display screen:
1537550276Speter#                p1 = 0  screen 1
1537650276Speter#                p1 = 1  screen 2
1537750276Speter#                p1 = 2  screen 3
1537850276Speter#                p1 = 3  screen 4
1537950276Speter#ESC o p1 p2     set characters/line and attribute:
1538050276Speter#                p1 = 0  80 chars/line
1538150276Speter#
1538250276Speter#ESC o p1 p2     set characters/line and attribute:
1538350276Speter#                p1 = 0  80 chars/line
1538450276Speter#                p1 = 1  132 chars/line
1538550276Speter#                p2 = 0  single width single height
1538650276Speter#                p2 = 1  single width double height
1538750276Speter#                p2 = 2  double width single height
1538850276Speter#                p2 = 3  double width double height
1538950276Speter#
1539050276Speter#ESC q           insert mode on
1539150276Speter#ESC r           edit mode on
1539250276Speter#ESC s           send message all
1539350276Speter#ESC t           erase line to null
1539450276Speter#ESC u           clear monitor mode (see ESC U, ESC X)
1539550276Speter#ESC v           autopage mode on
1539650276Speter#ESC w           autopage mode off
1539750276Speter#ESC x p1 p2 p3  define delimiter code...
1539850276Speter#ESC y           erase page to null
1539950276Speter#
1540050276Speter#ESC z 2 p1 p2 p3 p4   draw quadrangle:
1540150276Speter#                      p1 = starting row
1540250276Speter#                      p2 = starting column
1540350276Speter#                      p3 = end row
1540450276Speter#                      p4 = end column
1540550276Speter#
1540650276Speter#ESC { p1 p2 p3 p4     configure main port
1540750276Speter#                      (baud, stop bits, parity, word length)
1540850276Speter#
1540950276Speter#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
1541050276Speter#                        p1 = function key code:
1541150276Speter#                             '1' - ';'  normal f1- f11
1541250276Speter#                             '<' - 'F'  shifted f1 - f11
1541350276Speter#                        p2 = program mode:
1541450276Speter#                             1 = FDX
1541550276Speter#                             2 = LOC
1541650276Speter#                             3 = HDX
1541750276Speter#                        Ctrl-Y = terminator
1541850276Speter#                        (use Ctrl-P to escape ^P, ^Y )
1541950276Speter#
1542050276Speter#ESC } p1 p2 p3 p4     configure printer port
1542150276Speter#                      (baud, stop bits, parity, word length)
1542250276Speter#ESC ~           send system status
1542350276Speter#
1542450276Speter# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
1542550276Speter#
1542650276Speter# Entry is by esr going solely on above information and is UNTESTED.
1542750276Speter# This actually looks a lot like a Televideo 9xx.
1542850276Speter# This entry uses page 0 and is monochrome; I'm not brave enough to try
1542950276Speter# to make color work without a test terminal.  The <am> capability is a guess.
1543050276Speter# The initialization string sets conversation mode, blinking underline cursor,
1543150276Speter# full duplex, parallel attribute mode, display user status line, white
1543250276Speter# foreground, black background, normal highlight.
1543350276Speter#
15434166124Srafanicl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
15435166124Srafan	OTbs, am, hs,
15436166124Srafan	cols#80, lines#24,
15437166124Srafan	bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
15438166124Srafan	cnorm=\E.3, cr=^M,
15439166124Srafan	csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
15440166124Srafan	cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
15441166124Srafan	cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I,
15442166124Srafan	hts=\E1, il1=\EE, invis=\E[1ZZ,
15443166124Srafan	is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
15444166124Srafan	rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
15445166124Srafan	rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
15446262685Sdelphij	sgr=\E[%'0'%?%p1%t%'8'%|%;%?%p2%t%'8'%|%;%?%p3%t%'4'%|%;%?%p4%t%'2'%|%;%?%p7%t%'1'%|%;%cZZ,
15447166124Srafan	sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
15448166124Srafanicl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
15449166124Srafan	rs2=\Eo1, use=icl6404,
1545050276Speter
1545150276Speter#### Interactive Systems Corp
1545250276Speter#
1545350276Speter# ISC used to sell OEMed and customized hardware to support ISC UNIX.
1545450276Speter# ISC UNIX still exists in 1995, but ISC itself is no more; they got
1545550276Speter# bought out by Sun.
1545650276Speter#
1545750276Speter
1545850276Speter# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1545950276Speter# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1546050276Speter# ":le=^_:" later overridden -- esr)
15461166124Srafanintext|Interactive Systems Corporation modified owl 1200,
15462166124Srafan	OTbs, am,
15463166124Srafan	cols#80, it#8, lines#24, xmc#1,
15464166124Srafan	bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
15465166124Srafan	cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
15466166124Srafan	dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
15467166124Srafan	el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
15468166124Srafan	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
15469166124Srafan	kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
15470166124Srafan	kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
15471166124Srafan	rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%,
15472166124Srafan	smso=^V$\,,
15473166124Srafanintext2|intextii|INTERACTIVE modified owl 1251,
15474166124Srafan	am, bw, ul,
15475166124Srafan	cols#80, lines#24, xmc#0,
15476262629Sdelphij	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=\E[D,
15477262629Sdelphij	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
15478262629Sdelphij	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
15479166124Srafan	flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
15480166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
15481166124Srafan	kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
15482166124Srafan	kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
15483166124Srafan	kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
15484166124Srafan	khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
15485166124Srafan	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
15486166124Srafan	lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
15487166124Srafan	smul=\E[18 D,
1548850276Speter
1548950276Speter#### Kimtron (abm, kt)
1549050276Speter#
15491166124Srafan# Kimtron seems to be history, but as March 1998 these people are still
1549250276Speter# offering repair services for Kimtron equipment:
1549350276Speter#
1549450276Speter#    Com/Pair Monitor Service
1549550276Speter#    1105 N. Cliff Ave.
1549650276Speter#    Sioux Falls, South Dakota 57103
15497166124Srafan#
1549850276Speter#    WATS voice:  1-800/398-4946
1549950276Speter#    POTS   fax: +1 605/338-8709
1550050276Speter#    POTS voice: +1 605/338-9650
1550150276Speter#         Email: <compair@sd.cybernex.net>
1550250276Speter#  Internet/Web: <http://www.com-pair.com>
1550350276Speter#
1550450276Speter# Kimtron entries include (undocumented) codes for: enter dim mode,
1550550276Speter# enter bold mode, enter reverse mode, turn off all attributes.
1550650276Speter#
1550750276Speter
1550850276Speter# Kimtron ABM 85 added by Dual Systems
1550950276Speter# (abm85: removed duplicated ":kd=^J:" -- esr)
15510166124Srafanabm85|Kimtron ABM 85,
15511166124Srafan	OTbs, am, bw, msgr,
15512166124Srafan	cols#80, it#8, lines#24, xmc#1,
15513166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
15514166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
15515166124Srafan	dl1=\ER, ed=\Ey, el=\Et, ht=^I,
15516166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE,
15517166124Srafan	is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
15518166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
15519166124Srafan	rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1552050276Speter# Kimtron ABM 85H added by Dual Systems.
1552150276Speter# Some notes about the abm85h entries:
1552250276Speter# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1552350276Speter#    firmware revs prior to SP51
1552450276Speter# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
1552550276Speter#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
1552650276Speter#    in some places and NOT software settable i.e., <is2> can't fix it)
1552750276Speter# 3) In 85h mode, the arrow keys and special functions transmit when
1552850276Speter#    the terminal is in dup-edit, and work only locally in local-edit.
1552950276Speter#    Vi won't swallow `del char' for instance, but <smcup> turns on
1553050276Speter#    dup-edit anyway so that the arrow keys will work right. If the
1553150276Speter#    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
1553250276Speter#    <is2>.  Note that 920E mode does not have software commands to toggle
1553350276Speter#    between dup and local edit, so you get whatever was set last on the
1553450276Speter#    terminal.
1553550276Speter# 4) <flash> attribute is nice, but seems too slow to work correctly
1553650276Speter#    (\Eb<pad>\Ed)
1553750276Speter# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1553850276Speter#    are selected, the <xmc@> entry should be removed.
1553950276Speter# 6) auto new-line should be on (selectable from setup mode only)
1554050276Speter#
1554150276Speter# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
15542166124Srafanabm85h|Kimtron ABM 85H native mode,
15543166124Srafan	hs,
15544166124Srafan	xmc@,
15545166124Srafan	bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
15546166124Srafan	fsl=^M, invis@,
15547166124Srafan	is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
15548166124Srafan	kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr,
15549166124Srafan	use=abm85,
15550166124Srafanabm85e|Kimtron ABM 85H in 920E mode,
15551166124Srafan	xmc@,
15552166124Srafan	bel=^G, dim=\E), flash@,
15553166124Srafan	is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
15554166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
15555166124Srafanabm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
15556166124Srafan	xmc@,
15557166124Srafan	bel=^G, dim=\E),
15558166124Srafan	is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
15559166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1556050276Speter# From: <malman@bbn-vax.arpa>
1556150276Speter# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
15562166124Srafankt7|kimtron model kt-7,
15563166124Srafan	OTbs, am,
15564166124Srafan	cols#80, it#8, lines#24,
15565166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
15566166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
15567166124Srafan	dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
15568166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
15569166124Srafan	kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
15570166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
15571166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
15572166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15573166124Srafan	kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr,
1557450276Speter# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
1557550276Speter# other kt7 entry and the adjacent key capabilities).  Removed EE which is
1557650276Speter# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
1557750276Speter# but we can't figure out what.
15578166124Srafankt7ix|kimtron model kt-7 or 70 in IX mode,
15579166124Srafan	am, bw,
15580166124Srafan	cols#80, it#8, lines#25,
15581166124Srafan	acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
15582166124Srafan	civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
15583166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
15584166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
15585166124Srafan	home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
15586166124Srafan	is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
15587166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
15588166124Srafan	ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
15589166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
15590166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
15591166124Srafan	nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0,
15592166124Srafan	sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
1559350276Speter
1559450276Speter#### Microdata/MDIS
1559550276Speter#
1559650276Speter# This was a line of terminals made by McDonnell-Douglas Information Systems.
1559750276Speter# These entries come direct from MDIS documentation.  I have edited them only
1559850276Speter# to move primary names of the form p[0-9] * to aliases, and to comment out
15599166124Srafan# <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
1560050276Speter# also removed the change history; the last version indicates this is
1560150276Speter# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
1560250276Speter#
1560350276Speter
1560450276Speter# McDonnell Information Systems Terminal Family History
1560550276Speter# =========================================
1560650276Speter#
1560750276Speter# Prism-1, Prism-2 and P99:
1560850276Speter#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
1560950276Speter#
1561050276Speter# Prism-4 and Prism-5:
1561150276Speter#       Slightly less ancient range of Microdata terminals. Follow-on from
1561250276Speter#       Prism-2, but with many enhancements. P5 has eight display pages.
1561350276Speter#
1561450276Speter# Prism-6:
1561550276Speter#       A special terminal for use with library systems, primarily in Germany.
1561650276Speter#       Limited numbers. Similar functionality to P5 (except attributes?).
1561750276Speter#
1561850276Speter# Prism-7, Prism-8 and Prism-9:
1561950276Speter#       More recent range of MDIS terminals, in which P7 and P8
1562050276Speter#       replace the P4 & P5, with added functionality, and P9 is the flagship.
1562150276Speter#       The P9 has two emulation modes - P8 and ANSI - and includes a
1562250276Speter#       large number of the DEC VT220 control sequences. Both
1562350276Speter#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
1562450276Speter#
1562550276Speter# Prism-12 and Prism-14:
1562650276Speter#       Latest range, functionally very similar to the P9.  The P14 has a
1562750276Speter#       black-on-white overscanning screen.
1562850276Speter#
1562950276Speter# The terminfo definitions given here are:
1563050276Speter#
1563150276Speter# p2      - Prism-2 (or Prism-1 or P99).
1563250276Speter#
1563350276Speter# p4      - Prism-4 (and older P7s & P8s).
1563450276Speter# p5      - Prism-5 (or Prism-6).
1563550276Speter#
1563650276Speter# p7      - Prism-7.
1563750276Speter# p8      - Prism-8 (in national or multinational mode).
1563850276Speter# p8-w    - 132 column version of p8.
1563950276Speter# p9      - Prism-9 in ANSI mode.
1564050276Speter# p9-w    - 132 column version of p9.
1564150276Speter# p9-8    - Prism-9 in Prism-8 emulation mode.
1564250276Speter# p9-8-w  - As p9-8, but with 132 columns.
1564350276Speter#
1564450276Speter# p12     - Prism-12 in ANSI mode.
1564550276Speter# p12-w   - 132 column version of p12.
1564650276Speter# p12-m   - Prism-12 in MDC emulation mode.
1564750276Speter# p12-m-w - As p12-m, but with 132 columns.
1564850276Speter# p14     - Prism-14 in ANSI mode.
1564950276Speter# p14-w   - 132 column version of p14.
1565050276Speter# p14-m   - Prism-14 in MDC emulation mode.
1565150276Speter# p14-m-w - As p14-m, but with 132 columns.
1565250276Speter#
1565350276Speter# p2: Prism-2
1565450276Speter# -----------
1565550276Speter#
1565650276Speter# Includes Prism-1 and basic P99 without SP or MP loaded.
1565750276Speter# The simplest form of Prism-type terminal.
1565850276Speter# Basic cursor movement and clearing operations only.
1565950276Speter# No video attributes.
1566050276Speter# Notes:
1566150276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1566250276Speter#  value up, followed by backspace.
1566350276Speter#
15664166124Srafanprism2|MDC Prism-2,
15665166124Srafan	am, bw, msgr,
15666166124Srafan	cols#80, lines#24,
15667166124Srafan	bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
15668166124Srafan	cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
15669166124Srafan	cuu1=^Z, ed=\EJ, el=\EK, home=^A,
15670166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
15671166124Srafan	ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1567250276Speter
1567350276Speter# p4: Prism-4
1567450276Speter# -----------
1567550276Speter#
1567650276Speter# Includes early versions of P7 & P8.
1567750276Speter# Basic family definition for most Prisms (except P2 and P9 ANSI).
1567850276Speter# Notes:
1567950276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1568050276Speter#  value up, followed by backspace.
1568150276Speter#  Cursor key definitions removed because they interfere with vi and csh keys.
1568250276Speter#
15683166124Srafanprism4|p4|P4|MDC Prism-4,
15684166124Srafan	am, bw, hs, mc5i, msgr,
15685166124Srafan	cols#80, lines#24, wsl#72, xmc#1,
15686166124Srafan	bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
15687166124Srafan	cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
15688166124Srafan	cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
15689166124Srafan	cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
15690166124Srafan	fsl=^]\345, home=^A,
15691166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
15692166124Srafan	ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
15693166124Srafan	rev=^CD, rmso=^C\s, rmul=^C\s,
15694166124Srafan	sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;,
15695166124Srafan	sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
15696166124Srafan	vpa=\013%p1%{32}%+%c,
1569750276Speter
1569850276Speter# p5: Prism-5
1569950276Speter# -----------
1570050276Speter#
1570150276Speter# Same definition as p4. Includes Prism-6 (not tested!).
1570250276Speter# Does not use any multi-page features.
1570350276Speter#
15704166124Srafanprism5|p5|P5|MDC Prism-5,
15705166124Srafan	use=p4,
1570650276Speter
1570750276Speter# p7: Prism-7
1570850276Speter# -----------
1570950276Speter#
1571050276Speter# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
1571150276Speter# Notes:
1571250276Speter#  Use p4 for very early models of P7.
1571350276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1571450276Speter#
15715166124Srafanprism7|p7|P7|MDC Prism-7,
15716166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1571750276Speter
1571850276Speter# p8: Prism-8
1571950276Speter# -----------
1572050276Speter#
1572150276Speter# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
1572250276Speter# Supports national and multinational character sets.
1572350276Speter# Notes:
1572450276Speter#  Alternate char set operations only work in multinational mode.
1572550276Speter#  Use p4 for very early models of P8.
1572650276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1572750276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1572850276Speter#
15729166124Srafanprism8|p8|P8|MDC Prism-8,
15730166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
15731166124Srafan	vpa=\E[%i%p1%dd, use=p4,
1573250276Speter
1573350276Speter# p8-w: Prism-8 in 132 column mode
1573450276Speter# --------------------------------
1573550276Speter#
1573650276Speter# 'Wide' version of p8.
1573750276Speter# Notes:
1573850276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1573950276Speter#
15740166124Srafanprism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
15741166124Srafan	cols#132,
15742166124Srafan	is2=\E[<12h\E[<14h, use=p8,
1574350276Speter
1574450276Speter# p9: Prism-9 in ANSI mode
1574550276Speter# -------------------------
1574650276Speter#
1574750276Speter# The "flagship" model of this generation of terminals.
1574850276Speter# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
1574950276Speter# Notes:
1575050276Speter#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
1575150276Speter#  Fixes to deal with terminal firmware bugs:
1575250276Speter#  . 'ri' uses insert-line since rev index doesn't always
1575350276Speter#  . 'sgr0' has extra '0' since esc[m fails
1575450276Speter#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
1575550276Speter#  Not covered in the current definition:
1575650276Speter#  . Labels
1575750276Speter#  . Programming Fn keys
1575850276Speter#  . Graphic characters (defaults correctly to vt100)
1575950276Speter#  . Padding values (sets xon)
1576050276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1576150276Speter#
15762166124Srafanprism9|p9|P9|MDC Prism-9 in ANSII mode,
15763262685Sdelphij	am, bw, hs, msgr, xenl, xon,
15764166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#72,
15765166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
15766166124Srafan	clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
15767166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15768166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15769166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
15770166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
15771166124Srafan	ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
15772166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
15773166124Srafan	is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
15774166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
15775166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
15776166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
15777166124Srafan	kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
15778166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
15779262685Sdelphij	khome=\E[H, nel=^M^J, prot=\E[32%{, rc=\E[%z,
15780262685Sdelphij	rep=\E[%p2%db%p1%c, rev=\E[7m, ri=\E[L, rmir=\E[4l,
15781262685Sdelphij	rmso=\E[27m, rmul=\E[24m,
15782166124Srafan	rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
15783166124Srafan	sc=\E[%y,
15784262685Sdelphij	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;m%?%p8%t\E[32%%{%;%?%p9%t\016%e\017%;,
15785166124Srafan	sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
15786262629Sdelphij	tbc=\E[3g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
15787262685Sdelphij	use=ansi+pp,
1578850276Speter
1578950276Speter# p9-w: Prism-9 in 132 column mode
1579050276Speter# --------------------------------
1579150276Speter#
1579250276Speter# 'Wide' version of p9.
1579350276Speter#
15794166124Srafanprism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
15795166124Srafan	cols#132,
15796166124Srafan	is2=\E[&p\E[<12l\E F\E[<14h,
15797166124Srafan	rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1579850276Speter
1579950276Speter# p9-8: Prism-9 in P8 mode
1580050276Speter# ------------------------
1580150276Speter#
1580250276Speter# P9 terminal in P8 emulation mode.
1580350276Speter# Similar to p8 definition.
1580450276Speter# Insertion and deletion operations possible.
1580550276Speter#
15806166124Srafanprism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
15807166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15808166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1580950276Speter
1581050276Speter# p9-8-w: Prism-9 in P8 and 132 column modes
1581150276Speter# ------------------------------------------
1581250276Speter#
1581350276Speter# P9 terminal in P8 emulation mode and 132 column mode.
1581450276Speter#
15815166124Srafanprism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
15816166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15817166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1581850276Speter
1581950276Speter# p12: Prism-12 in ANSI mode
1582050276Speter# ---------------------------
1582150276Speter#
1582250276Speter# See p9 definition.
1582350276Speter#
15824166124Srafanprism12|p12|P12|MDC Prism-12 in ANSI mode,
15825166124Srafan	use=p9,
1582650276Speter
1582750276Speter# p12-w: Prism-12 in 132 column mode
1582850276Speter# ----------------------------------
1582950276Speter#
1583050276Speter# 'Wide' version of p12.
1583150276Speter#
15832166124Srafanprism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
15833166124Srafan	use=p9-w,
1583450276Speter
1583550276Speter# p12-m: Prism-12 in MDC emulation mode
1583650276Speter# -------------------------------------
1583750276Speter#
1583850276Speter# P12 terminal in MDC emulation mode.
1583950276Speter# Similar to p8 definition.
1584050276Speter# Insertion and deletion operations possible.
1584150276Speter#
15842166124Srafanprism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
15843166124Srafan	use=p9-8,
1584450276Speter
1584550276Speter# p12-m-w: Prism-12 in MDC emulation and 132 column modes
1584650276Speter# -------------------------------------------------------
1584750276Speter#
1584850276Speter# P12 terminal in MDC emulation mode and 132 column mode.
1584950276Speter#
15850166124Srafanprism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
15851166124Srafan	use=p9-8-w,
1585250276Speter
1585350276Speter# p14: Prism-14 in ANSII mode
1585450276Speter# ---------------------------
1585550276Speter#
1585650276Speter# See p9 definition.
1585750276Speter#
15858166124Srafanprism14|p14|P14|MDC Prism-14 in ANSII mode,
15859166124Srafan	use=p9,
1586050276Speter
1586150276Speter# p14-w: Prism-14 in 132 column mode
1586250276Speter# ----------------------------------
1586350276Speter#
1586450276Speter# 'Wide' version of p14.
1586550276Speter#
15866166124Srafanprism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
15867166124Srafan	use=p9-w,
1586850276Speter
1586950276Speter# p14-m: Prism-14 in MDC emulation mode
1587050276Speter# -------------------------------------
1587150276Speter#
1587250276Speter# P14 terminal in MDC emulation mode.
1587350276Speter# Similar to p8 definition.
1587450276Speter# Insertion and deletion operations possible.
1587550276Speter#
15876166124Srafanprism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
15877166124Srafan	use=p9-8,
1587850276Speter
1587950276Speter# p14-m-w: Prism-14 in MDC emulation and 132 column modes
1588050276Speter# -------------------------------------------------------
1588150276Speter#
1588250276Speter# P14 terminal in MDC emulation mode and 132 column mode.
1588350276Speter#
15884166124Srafanprism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
15885166124Srafan	use=p9-8-w,
1588650276Speter
1588750276Speter# End of McDonnell Information Systems Prism definitions
1588850276Speter
1588950276Speter# These things were popular in the Pick database community at one time
1589050276Speter# From: George Land <georgeland@aol.com> 24 Sep 1996
15891166124Srafanp8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
15892166124Srafan	am, bw, hs, mir,
15893166124Srafan	cols#80, lines#24, ma#1, wsl#78, xmc#1,
15894166124Srafan	bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
15895166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
15896166124Srafan	ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
15897166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
15898166124Srafan	kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
15899166124Srafan	kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
15900166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
15901166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
15902166124Srafan	lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
15903166124Srafan	pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
15904166124Srafan	smul=^C0,
1590550276Speter
1590650276Speter#### Microterm (act, mime)
1590750276Speter#
1590850276Speter# The mime1 entries refer to the Microterm Mime I or Mime II.
1590950276Speter# The default mime is assumed to be in enhanced act iv mode.
1591050276Speter#
1591150276Speter
1591250276Speter# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1591350276Speter# freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
1591450276Speter# <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
1591550276Speter# since Sytek insists ^S means xoff.
1591650276Speter# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
15917166124Srafanact4|microterm|microterm act iv,
15918166124Srafan	OTbs, am,
15919166124Srafan	cols#80, lines#24,
15920166124Srafan	bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
15921166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
15922166124Srafan	cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
15923166124Srafan	ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
15924166124Srafan	il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
15925166124Srafan	kcuu1=^Z,
1592650276Speter# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
1592750276Speter# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
1592850276Speter# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
15929166124Srafanact5|microterm5|microterm act v,
15930166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA,
15931166124Srafan	use=act4,
1593250276Speter# Mimes using brightness for standout.  Half bright is really dim unless
1593350276Speter# you turn up the brightness so far that lines show up on the screen.
15934166124Srafanmime-fb|full bright mime1,
15935166124Srafan	is2=^S\E, rmso=^S, smso=^Y, use=mime,
15936166124Srafanmime-hb|half bright mime1,
15937166124Srafan	is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1593850276Speter# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1593950276Speter# the more plausible ":do=^J:" -- esr)
1594050276Speter# uc was at one time disabled to get around a curses bug, be wary of it
15941166124Srafanmime|mime1|mime2|mimei|mimeii|microterm mime1,
15942166124Srafan	OTbs, am,
15943166124Srafan	cols#80, it#8, lines#24, vt#9,
15944166124Srafan	bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
15945166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
15946166124Srafan	cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
15947166124Srafan	il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
15948166124Srafan	kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1594950276Speter# These termcaps (for mime2a) put the terminal in low intensity mode
1595050276Speter# since high intensity mode is so obnoxious.
15951166124Srafanmime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
15952166124Srafan	OTbs, am,
15953166124Srafan	cols#80, lines#24,
15954166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
15955166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
15956166124Srafan	dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
15957166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
15958166124Srafan	kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
15959166124Srafan	smir=\EE, smso=\E\:, smul=\E6,
1596050276Speter# This is the preferred mode (but ^X can't be used as a kill character)
15961166124Srafanmime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
15962166124Srafan	OTbs,
15963166124Srafan	cols#80, it#8, lines#24,
15964166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
15965166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
15966166124Srafan	dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
15967166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
15968166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
15969166124Srafan	rmul=\E5, smir=^O, smso=\E8, smul=\E4,
1597050276Speter# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
15971166124Srafanmime3a|mime1 emulating 3a,
15972166124Srafan	am@,
15973166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
15974166124Srafanmime3ax|mime-3ax|mime1 emulating enhanced 3a,
15975166124Srafan	it#8,
15976166124Srafan	dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>,
15977166124Srafan	use=mime3a,
1597850276Speter# Wed Mar  9 18:53:21 1983
1597950276Speter# We run our terminals at 2400 baud, so there might be some timing problems at
15980166124Srafan# higher speeds. The major improvements in this model are the terminal now
1598150276Speter# scrolls down and insert mode works without redrawing the rest of the line
1598250276Speter# to the right of the cursor. This is done with a bit of a kludge using the
1598350276Speter# exit graphics mode to get out of insert, but it does not appear to hurt
1598450276Speter# anything when using vi at least. If you have some users using act4s with
1598550276Speter# programs that use curses and graphics mode this could be a problem.
15986166124Srafanmime314|mm314|mime 314,
15987166124Srafan	am,
15988166124Srafan	cols#80, lines#24,
15989166124Srafan	clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
15990166124Srafan	dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
15991166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1599250276Speter# Microterm mime 340 from University of Wisconsin
15993166124Srafanmm340|mime340|mime 340,
15994166124Srafan	cols#80, lines#24,
15995166124Srafan	clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
15996166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
15997166124Srafan	dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
15998166124Srafan	el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
15999166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1600050276Speter# This came from University of Wisconsin marked "astro termcap for jooss".
1600150276Speter# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
1600250276Speter# also added <rmam>/<smam> based  on the init string -- esr)
16003166124Srafanmt4520-rv|micro-term 4520 reverse video,
16004166124Srafan	am, hs, msgr, xenl, xon,
16005166124Srafan	cols#80, it#8, lines#24, wsl#80,
16006166124Srafan	bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
16007166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
16008166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
16009166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16010166124Srafan	cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
16011166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
16012166124Srafan	fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
16013166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
16014166124Srafan	is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
16015166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
16016166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
16017166124Srafan	ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
16018166124Srafan	ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
16019166124Srafan	rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
16020166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
16021166124Srafan	tbc=\E[g, tsl=\E[25;1H,
1602250276Speter
1602350276Speter# Fri Aug  5 08:11:57 1983
1602450276Speter# This entry works for the ergo 4000 with the following setups:
1602550276Speter# ansi,wraparound,newline disabled, xon/xoff disabled in both
1602650276Speter# setup a & c.
16027166124Srafan#
1602850276Speter# WARNING!!! There are multiple versions of ERGO 4000 microcode
16029166124Srafan# Be advised that very early versions DO NOT WORK RIGHT !!
1603050276Speter# Microterm does have a ROM exchange program- use it or lose big
1603150276Speter# (ergo400: added <rmam>/<smam> based on the init string -- esr)
16032166124Srafanergo4000|microterm ergo 4000,
16033166124Srafan	da, db, msgr,
16034166124Srafan	cols#80, lines#66,
16035166124Srafan	bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
16036166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
16037166124Srafan	dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
16038166124Srafan	el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>,
16039166124Srafan	is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
16040166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
16041166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
16042166124Srafan	lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
16043166124Srafan	rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
16044166124Srafan	smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
16045166124Srafan	smso=\E[7m$<20>,
1604650276Speter
16047166124Srafan#### NCR
1604850276Speter#
1604950276Speter# NCR's terminal group was merged with AT&T's when AT&T bought the company.
1605050276Speter# For what happened to that group, see the ADDS section.
1605150276Speter#
1605250276Speter# There is an NCR4103 terminal that's just a re-badged Wyse-50.
1605350276Speter#
1605450276Speter
1605550276Speter# The following vendor-supplied termcaps were captured from the Boundless
1605650276Speter# Technologies site, 8 March 1998.  I removed all-upper-case names that were
1605750276Speter# identical, except for case, to lower-case ones.  I also uncommented the acsc
1605850276Speter# capabilities.X
1605950276Speter#
1606062449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1606150276Speter# DEC vt200/300 with color capabilities added.
16062166124Srafanncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
16063166124Srafan	colors#8, pairs#64,
16064166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
16065166124Srafan	use=ncr260vt300an,
1606662449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1606750276Speter# DEC vt200/300 with color capabilities added.
16068166124Srafanncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
16069166124Srafan	colors#8, pairs#64,
16070166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
16071166124Srafan	use=ncr260vt300wan,
1607262449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1607362449Speter# DEC vt200/300 with color capabilities added.
16074166124Srafanncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
16075166124Srafan	colors#8, pairs#64,
16076166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
16077166124Srafan	use=ncr260vt300pp,
1607850276Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1607950276Speter# DEC vt200/300 with color capabilities added.
16080166124Srafanncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
16081166124Srafan	colors#8, pairs#64,
16082166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
16083166124Srafan	use=ncr260vt300wpp,
1608450276Speter# This definition for ViewPoint supports several attributes.  This means
1608550276Speter# that it has magic cookies (extra spaces where the attributes begin).
1608650276Speter# Some applications do not function well with magic cookies.  The System
16087166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1608850276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
16089166124Srafan# attributes can be removed.
16090166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1609150276Speter# restored if needed.
16092166124Srafanncr260vppp|NCR 2900_260 viewpoint,
16093166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
16094166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
16095166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
16096166124Srafan	cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
16097166124Srafan	cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
16098166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
16099166124Srafan	dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, ed=\Ek$<2>,
16100166124Srafan	el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, hts=\E1,
16101166124Srafan	il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
16102166124Srafan	is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
16103166124Srafan	kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
16104166124Srafan	kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
16105166124Srafan	kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
16106166124Srafan	kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
16107166124Srafan	kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
16108166124Srafan	kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
16109166124Srafan	kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
16110166124Srafan	kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
16111166124Srafan	kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
16112166124Srafan	kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
16113166124Srafan	kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
16114166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
16115166124Srafan	nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
16116166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
16117166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
16118166124Srafan	sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
16119166124Srafan	smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
16120166124Srafanncr260vpwpp|NCR 2900_260 viewpoint wide mode,
16121166124Srafan	cols#132,
16122166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
16123166124Srafan	is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
16124166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
16125166124Srafan	use=ncr260vppp,
16126166124Srafanncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
16127166124Srafan	am, hs, mir, msgr, xenl, xon,
16128166124Srafan	cols#80, lines#24, nlab#32,
16129166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
16130166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
16131166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
16132166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
16133166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
16134166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
16135166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
16136166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
16137166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
16138166124Srafan	ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
16139166124Srafan	fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
16140166124Srafan	hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
16141166124Srafan	il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
16142166124Srafan	invis=\E[8m,
16143166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16144166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16145166124Srafan	kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
16146166124Srafan	knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>,
16147166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
16148166124Srafan	rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
16149166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16150166124Srafan	sc=\E7,
16151262685Sdelphij	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<20>,
16152166124Srafan	sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
16153166124Srafan	smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
16154166124Srafan	tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
16155166124Srafanncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
16156166124Srafan	cols#132,
16157166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16158166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16159166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16160166124Srafan	use=ncr260vt100an,
16161166124Srafanncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
16162166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16163166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
16164166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
16165166124Srafan	kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
16166166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
16167166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16168166124Srafan	smkx=\E=, use=ncr260vt100an,
16169166124Srafanncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
16170166124Srafan	cols#132,
16171166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16172166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16173166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16174166124Srafan	use=ncr260vt100pp,
16175166124Srafanncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
16176166124Srafan	am, hs, mir, msgr, xenl, xon,
16177166124Srafan	cols#80, lines#24, nlab#32,
16178166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
16179166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
16180166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
16181166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
16182166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
16183166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
16184166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
16185166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
16186166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
16187166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
16188166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
16189166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
16190166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
16191166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16192166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16193166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
16194166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
16195166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
16196166124Srafan	kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~,
16197166124Srafan	kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~,
16198166124Srafan	kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~,
16199166124Srafan	kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
16200166124Srafan	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
16201166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
16202166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
16203166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
16204166124Srafan	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
16205166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
16206166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16207166124Srafan	sc=\E7,
16208262685Sdelphij	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<20>,
16209166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
16210166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
16211166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
16212166124Srafan	use=vt220+keypad,
16213166124Srafanncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
16214166124Srafan	cols#132,
16215166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16216166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
16217166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
16218166124Srafan	use=ncr260vt200an,
16219166124Srafanncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
16220166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
16221166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
16222166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
16223166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
16224166124Srafan	use=ncr260vt200an,
16225166124Srafanncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
16226166124Srafan	cols#132,
16227166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16228166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16229166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
16230166124Srafan	use=ncr260vt200pp,
16231166124Srafanncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
16232166124Srafan	am, hs, mir, msgr, xenl, xon,
16233166124Srafan	cols#80, lines#24, nlab#32,
16234166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
16235166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
16236166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
16237166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
16238166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
16239166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
16240166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
16241166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
16242166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
16243166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
16244166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
16245166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
16246166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
16247166124Srafan	is2=\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>$<200>,
16248166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16249166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
16250166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
16251166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
16252166124Srafan	kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~,
16253166124Srafan	kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~,
16254166124Srafan	kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~,
16255166124Srafan	kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~,
16256166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
16257166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
16258166124Srafan	krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
16259166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>,
16260166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
16261166124Srafan	rmul=\E[24m,
16262166124Srafan	rs2=\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>$<200>,
16263166124Srafan	sc=\E7,
16264262685Sdelphij	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<20>,
16265166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
16266166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
16267166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
16268166124Srafan	use=vt220+keypad,
16269166124Srafanncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
16270166124Srafan	cols#132,
16271166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16272166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
16273166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>,
16274166124Srafan	use=ncr260vt300an,
16275166124Srafanncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
16276166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
16277166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
16278166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
16279166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
16280166124Srafan	use=ncr260vt300an,
16281166124SrafanNCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
16282166124Srafan	cols#132,
16283166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
16284166124Srafan	is2=\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>$<200>,
16285166124Srafan	rs2=\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>$<200>,
16286166124Srafan	use=ncr260vt300pp,
16287166124Srafan# This terminfo file contains color capabilities for the Wyse325 emulation of
1628850276Speter# the NCR 2900/260C color terminal.  Because of the structure of the command
1628950276Speter# (escape sequence) used to set color attributes, one of the fore/background
1629050276Speter# colors must be preset to a given value. I have set the background color to
1629150276Speter# black.  The user can change this setup by altering the last section of the
16292166124Srafan# 'setf' definition.  The escape sequence to set color attributes is
16293166124Srafan#		ESC d y <foreground_color> <background_color> 1
1629450276Speter# In addition, the background color can be changed through the desk accessories.
16295166124Srafan# The capablitiy 'op' sets colors to green on black (default combination).
1629650276Speter#
1629750276Speter# NOTE:  The NCR Unix System Administrator's Shell will not function properly
1629850276Speter# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
16299166124Srafan#	    capability and recompile if you wish to have it included.
1630050276Speter#
16301166124Srafanncr260wy325pp|NCR 2900_260 wyse 325,
16302166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
16303166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32,
16304166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
16305166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
16306166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
16307166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
16308166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
16309166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
16310166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
16311166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16312166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
16313166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
16314166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
16315166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
16316166124Srafan	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
16317166124Srafan	kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
16318166124Srafan	kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
16319166124Srafan	kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
16320166124Srafan	kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
16321166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
16322166124Srafan	kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
16323166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
16324166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
16325166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
16326166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16327166124Srafan	setb=\s,
16328166124Srafan	setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>,
16329166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
16330166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
16331166124Srafan	tsl=\EF,
16332166124Srafanncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
16333166124Srafan	cols#132,
16334166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
16335166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16336166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16337166124Srafan	use=ncr260wy325pp,
1633850276Speter# This definition for Wyse 350 supports several attributes.  This means
1633950276Speter# that it has magic cookies (extra spaces where the attributes begin).
1634050276Speter# Some applications do not function well with magic cookies.  The System
16341166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1634250276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
16343166124Srafan# attributes can be removed.
16344166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1634550276Speter# restored if needed.
1634650276Speter# In addition, color capabilities have been added to this file.  The drawback,
1634750276Speter# however, is that the background color has to be black.  The foreground colors
16348166124Srafan# are numbered 0 through 15.
1634950276Speter#
1635050276Speter# NOTE:  The NCR Unix System Administrator's Shell does not function properly
1635150276Speter# 	    with the 'pairs' capability defined as below.  If you wish to
16352166124Srafan#	    have it included, Un-comment it and recompile (using 'tic').
1635350276Speter#
16354166124Srafanncr260wy350pp|NCR 2900_260 wyse 350,
16355166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
16356166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1,
16357166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
16358166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
16359166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
16360166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
16361166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
16362166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
16363166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
16364166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16365166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
16366166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
16367166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
16368166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
16369166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
16370166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
16371166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
16372166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
16373166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
16374166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
16375166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
16376166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
16377166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
16378166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
16379166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16380166124Srafan	setb=\s,
16381166124Srafan	setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>,
16382166124Srafan	sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
16383166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
16384166124Srafan	tsl=\EF,
16385166124Srafanncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
16386166124Srafan	cols#132,
16387166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
16388166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
16389166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
16390166124Srafan	use=ncr260wy350pp,
1639150276Speter# This definition for Wyse 50+ supports several attributes.  This means
1639250276Speter# that it has magic cookies (extra spaces where the attributes begin).
1639350276Speter# Some applications do not function well with magic cookies.  The System
16394166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1639550276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
16396166124Srafan# attributes can be removed.
16397166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1639850276Speter# restored if needed.
16399166124Srafan# (ncr260wy50+pp: originally contained commented-out
1640050276Speter# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
16401166124Srafanncr260wy50+pp|NCR 2900_260 wyse 50+,
16402166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
16403166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
16404166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
16405166124Srafan	cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
16406166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
16407166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
16408166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
16409166124Srafan	ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
16410166124Srafan	ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
16411166124Srafan	invis=\EG1,
16412166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16413166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
16414166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
16415166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
16416166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
16417166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
16418166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
16419166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
16420166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
16421166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
16422166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
16423166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
16424166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
16425166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
16426166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
16427166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16428166124Srafan	sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
16429166124Srafan	smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
16430166124Srafanncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
16431166124Srafan	cols#132,
16432166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
16433166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
16434166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
16435166124Srafan	use=ncr260wy50+pp,
16436166124Srafanncr260wy60pp|NCR 2900_260 wyse 60,
16437166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
16438166124Srafan	cols#80, lines#24, nlab#32,
16439166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
16440166124Srafan	cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
16441166124Srafan	cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
16442166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
16443166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
16444166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
16445166124Srafan	ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
16446166124Srafan	invis=\EG1,
16447166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16448166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
16449166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
16450166124Srafan	kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
16451166124Srafan	kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
16452166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
16453166124Srafan	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
16454166124Srafan	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
16455166124Srafan	kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
16456166124Srafan	kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
16457166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
16458166124Srafan	kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
16459166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
16460166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
16461166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
16462166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16463166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
16464166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
16465166124Srafan	tsl=\EF,
16466166124Srafanncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
16467166124Srafan	cols#132,
16468166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
16469166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16470166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
16471166124Srafan	use=ncr260wy60pp,
16472166124Srafanncr160vppp|NCR 2900_160 viewpoint,
16473166124Srafan	use=ncr260vppp,
16474166124Srafanncr160vpwpp|NCR 2900_160 viewpoint wide mode,
16475166124Srafan	use=ncr260vpwpp,
16476166124Srafanncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
16477166124Srafan	use=ncr260vt100an,
16478166124Srafanncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
16479166124Srafan	use=ncr260vt100pp,
16480166124Srafanncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
16481166124Srafan	use=ncr260vt100wan,
16482166124Srafanncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
16483166124Srafan	use=ncr260vt100wpp,
16484166124Srafanncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
16485166124Srafan	use=ncr260vt200an,
16486166124Srafanncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
16487166124Srafan	use=ncr260vt200pp,
16488166124Srafanncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
16489166124Srafan	use=ncr260vt200wan,
16490166124Srafanncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
16491166124Srafan	use=ncr260vt200wpp,
16492166124Srafanncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
16493166124Srafan	use=ncr260vt300an,
16494166124Srafanncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
16495166124Srafan	use=ncr260vt300pp,
16496166124Srafanncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
16497166124Srafan	use=ncr260vt300wan,
16498166124Srafanncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
16499166124Srafan	use=ncr260vt300wpp,
16500166124Srafanncr160wy50+pp|NCR 2900_160 wyse 50+,
16501166124Srafan	use=ncr260wy50+pp,
16502166124Srafanncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
16503166124Srafan	use=ncr260wy50+wpp,
16504166124Srafanncr160wy60pp|NCR 2900_160 wyse 60,
16505166124Srafan	use=ncr260wy60pp,
16506166124Srafanncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
16507166124Srafan	use=ncr260wy60wpp,
16508166124Srafanncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
16509166124Srafan	am, hs, mc5i, mir, msgr, xon,
16510166124Srafan	cols#80, it#8, lines#24, nlab#32,
16511166124Srafan	acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
16512166124Srafan	bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
16513166124Srafan	clear=\E[2J\E[1;1H$<300>, cr=^M,
16514166124Srafan	csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
16515166124Srafan	cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
16516166124Srafan	cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
16517166124Srafan	cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
16518166124Srafan	cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
16519166124Srafan	dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
16520166124Srafan	ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
16521166124Srafan	enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
16522166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
16523166124Srafan	ind=\ED,
16524166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
16525166124Srafan	kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
16526166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
16527166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
16528166124Srafan	rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
16529166124Srafan	rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
16530166124Srafan	rs2=\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$<200>,
16531166124Srafan	sc=\E7,
16532166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
16533166124Srafan	sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
16534166124Srafan	smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
16535166124Srafan	tsl=\E[>+1$<70>,
16536166124Srafanncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
16537166124Srafan	cols#132,
16538166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
16539166124Srafan	rs2=\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$<200>,
16540166124Srafan	use=ncrvt100an,
1654150276Speter#
1654250276Speter# Vendor-supplied NCR termcaps end here
1654350276Speter
1654450276Speter# NCR7900 DIP switches:
1654550276Speter#
1654650276Speter# Switch A:
1654750276Speter# 1-4 - Baud Rate
1654850276Speter# 5   - Parity (Odd/Even)
1654950276Speter# 6   - Don't Send or Do Send Spaces
1655050276Speter# 7   - Parity Enable
1655150276Speter# 8   - Stop Bits (One/Two)
16552166124Srafan#
1655350276Speter# Switch B:
1655450276Speter# 1   - Upper/Lower Shift
1655550276Speter# 2   - Typewriter Shift
1655650276Speter# 3   - Half Duplex / Full Duplex
1655750276Speter# 4   - Light/Dark Background
1655850276Speter# 5-6 - Carriage Return Without / With Line Feed
1655950276Speter# 7   - Extended Mode
1656050276Speter# 8   - Suppress Keyboard Display
16561166124Srafan#
1656250276Speter# Switch C:
1656350276Speter# 1   - End of line entry disabled/enabled
1656450276Speter# 2   - Conversational mode / (Local?) Mode
1656550276Speter# 3   - Control characters displayed / not displayed
1656650276Speter# 4   - (2-wire?) / 4-wire communications
1656750276Speter# 5   - RTS on and off for each character
1656850276Speter# 6   - (50Hz?) / 60 Hz
1656950276Speter# 7   - Exit after level zero diagnostics
1657050276Speter# 8   - RS-232 interface
16571166124Srafan#
1657250276Speter# Switch D:
1657350276Speter# 1   - Reverse Channel (yes / no)
1657450276Speter# 2   - Manual answer (no / yes)
1657550276Speter# 3-4 - Cursor appearance
1657650276Speter# 5   - Communication Rate
1657750276Speter# 6   - Enable / Disable EXT turnoff
1657850276Speter# 7   - Enable / Disable CR turnoff
1657950276Speter# 8   - Enable / Disable backspace
1658050276Speter#
1658162449Speter# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
1658262449Speter# reverse, blink, dim, and underline) the appropriate number of bits (by
1658362449Speter# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
1658462449Speter# '@' is (effectively) "or"ed with each attribute to generate the proper third
1658562449Speter# character in the <ESC>0 sequence.  The <sgr> string implements the following
1658662449Speter# equation:
1658762449Speter#
1658862449Speter# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
1658962449Speter# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
1659062449Speter#
1659162449Speter#	Where:  P1 <==> Standout attribute parameter
1659262449Speter#		P2 <==> Underline attribute parameter
1659362449Speter#		P3 <==> Reverse attribute parameter
1659462449Speter#		P4 <==> Blink attribute parameter
1659562449Speter#		P5 <==> Dim attribute parameter
1659650276Speter# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
16597166124Srafanncr7900i|ncr7900|ncr 7900 model 1,
16598166124Srafan	am, bw, ul,
16599166124Srafan	cols#80, lines#24, xmc#1,
16600166124Srafan	bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
16601166124Srafan	cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
16602166124Srafan	is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
16603166124Srafan	kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
16604166124Srafan	rmul=\E0@,
16605166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
16606166124Srafan	sgr0=\E0@, smso=\E0Q, smul=\E0`,
16607166124Srafanncr7900iv|ncr 7900 model 4,
16608166124Srafan	am, bw, eslok, hs,
16609166124Srafan	cols#80, lines#24,
16610166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
16611166124Srafan	cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
16612166124Srafan	fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
16613166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
16614166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
16615166124Srafan	khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
16616166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1661762449Speter# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
1661862449Speter#	   The user can enter a CTRL-B to get out of this locked state.
1661962449Speter# In <hpa>, we want to output the character given by the formula:
1662062449Speter#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
16621166124Srafanncr7901|ncr 7901 model,
16622166124Srafan	am, bw, ul,
16623166124Srafan	cols#80, lines#24,
16624166124Srafan	bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
16625166124Srafan	cub1=^H, cud1=^J, cuf1=^F,
16626166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
16627166124Srafan	ed=\Ek, el=\EK,
16628166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
16629166124Srafan	is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
16630166124Srafan	khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
16631166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
16632166124Srafan	sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
16633166124Srafan	vpa=\013%p1%{64}%+%c,
1663450276Speter
16635174993Srafan# Newbury Data Recording Limited (Newbury Data)
16636174993Srafan#
16637174993Srafan# Have been manufacturing and reselling  various peripherals for a long time
16638174993Srafan# They don't make terminals anymore, but are still in business (in 2007).
16639174993Srafan# Their e-mail address is at ndsales@newburydata.co.uk
16640174993Srafan# and their post address is:
16641174993Srafan#
16642174993Srafan# Newbury Data Recording Ltd,
16643174993Srafan# Premier Park, Road One,
16644174993Srafan# Winsford, Cheshire, CW7 3PT
16645174993Srafan#
16646174993Srafan# Their technical support is still good, they sent me for free a printed copy
16647174993Srafan# of the 9500 user manual and I got it just 1 week after I first contacted them
16648174993Srafan# (in 2005)!
16649174993Srafan
16650174993Srafan# NDR 9500
16651174993Srafan# Manufactured in the early/mid eighties, behaves almost the same as a
16652174993Srafan# Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
16653174993Srafan# keep the same keyboard layout), add an optional 25-line mode, replace the DIP
16654262685Sdelphij# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
16655174993Srafan# 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
16656174993Srafan# recognized:  if you type in "ESC !", the next (third) character is not
16657174993Srafan# echoed, showing that the terminal was actually waiting for a parameter!
16658174993Srafanndr9500|nd9500|Newbury Data 9500,
16659174993Srafan	am, bw, hs, mc5i, mir, msgr, ul, xon,
16660174993Srafan	cols#80, lines#24, wsl#79,
16661262629Sdelphij	acsc=jDkClBmAnIqKtMuLvOwNxJ, bel=^G, cbt=\EI, civis=\E.0,
16662174993Srafan	clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
16663174993Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
16664174993Srafan	dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
16665174993Srafan	flash=\Eb$<50/>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
16666174993Srafan	ich1=\EQ, il1=\EE, ind=^J, is2=\Ew\E'\EDF\El\Er\EO,
16667174993Srafan	kDC=\Er, kDL=\EO, kEOL=\Et, kIC=\Eq, kcbt=\EI, kclr=^Z,
16668174993Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
16669174993Srafan	ked=\EY, kel=\ET, kent=^M, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
16670174993Srafan	kf12=^A`\r, kf13=^Aa\r, kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r,
16671174993Srafan	kf17=^Ae\r, kf18=^Af\r, kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r,
16672174993Srafan	kf21=^Ai\r, kf22=^Aj\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
16673174993Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
16674174993Srafan	kich1=\EQ, kil1=\EE, kprt=\EP, mc4=\Ea, mc5=\E`, nel=^_,
16675174993Srafan	pfloc=\E|%{48}%p1%+%c2%p2\031,
16676174993Srafan	pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
16677174993Srafan	rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
16678262685Sdelphij	sgr=\EG0\E%%%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
16679174993Srafan	sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
16680174993Srafan	tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
16681174993Srafan
16682174993Srafanndr9500-nl|NDR 9500 with no status line,
16683174993Srafan	hs@,
16684174993Srafan	wsl@,
16685174993Srafan	dsl@, fsl@, tsl@, use=ndr9500,
16686174993Srafan
16687174993Srafanndr9500-25|NDR 9500 with 25th line enabled,
16688174993Srafan	lines#25, use=ndr9500,
16689174993Srafan
16690174993Srafanndr9500-25-nl|NDR 9500 with 25 lines and no status line,
16691174993Srafan	lines#25, use=ndr9500-nl,
16692174993Srafan
16693174993Srafanndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink),
16694174993Srafan	msgr@,
16695174993Srafan	xmc#1,
16696174993Srafan	blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
16697174993Srafan	sgr=\E%%\E(%?%p5%p8%|%t\E)%;%?%p9%t\E$%;\EG%{48}%?%p7%t%{1}%+%;%?%p4%t%{2}%+%;%?%p3%p1%|%t%{4}%+%;%?%p2%t%{8}%+%;%c,
16698174993Srafan	sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
16699174993Srafan
16700174993Srafanndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
16701174993Srafan	lines#25, use=ndr9500-mc,
16702174993Srafan
16703174993Srafanndr9500-mc-nl|NDR 9500 with magic cookies and no status line,
16704174993Srafan	hs@,
16705174993Srafan	wsl@,
16706174993Srafan	dsl@, fsl@, tsl@, use=ndr9500-mc,
16707174993Srafan
16708174993Srafanndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line,
16709174993Srafan	lines#25, use=ndr9500-mc-nl,
16710174993Srafan
1671150276Speter#### Perkin-Elmer (Owl)
1671250276Speter#
1671350276Speter# These are official terminfo entries from within Perkin-Elmer.
1671450276Speter#
1671550276Speter
16716166124Srafanbantam|pe550|pe6100|perkin elmer 550,
16717166124Srafan	OTbs,
16718166124Srafan	cols#80, lines#24,
16719166124Srafan	bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
16720166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
16721166124Srafan	el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
16722166124Srafanfox|pe1100|perkin elmer 1100,
16723166124Srafan	OTbs, am,
16724166124Srafan	cols#80, lines#24,
16725166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
16726166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
16727166124Srafan	ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
16728166124Srafan	home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
16729166124Srafanowl|pe1200|perkin elmer 1200,
16730166124Srafan	OTbs, am, in,
16731166124Srafan	cols#80, lines#24,
16732166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
16733166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
16734166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
16735166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
16736166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
16737166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
16738166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
16739166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
16740166124Srafanpe1251|pe6300|pe6312|perkin elmer 1251,
16741166124Srafan	am,
16742166124Srafan	cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
16743166124Srafan	bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
16744166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
16745166124Srafan	ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
16746166124Srafan	kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
16747166124Srafan	kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1674850276Speter# (pe7000m: this had
16749166124Srafan# 	rmul=\E!\0, smul=\E!\040,
1675050276Speter# which is probably wrong, it collides with kf0
16751166124Srafanpe7000m|perkin elmer 7000 series monochrome monitor,
16752166124Srafan	am,
16753166124Srafan	cols#80, lines#24,
16754166124Srafan	bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
16755166124Srafan	cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
16756166124Srafan	ed=\EJ, el=\EI, home=\EH, ind=^J,
16757166124Srafan	is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
16758166124Srafan	kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
16759166124Srafan	kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
16760166124Srafan	kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
16761166124Srafan	ll=\ES7\s, ri=\ER,
16762166124Srafanpe7000c|perkin elmer 7000 series colour monitor,
16763166124Srafan	is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
16764166124Srafan	rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m,
1676550276Speter
1676650276Speter#### Sperry Univac
1676750276Speter#
1676850276Speter# Sperry Univac has merged with Burroughs to form Unisys.
1676950276Speter#
1677050276Speter
16771166124Srafan# This entry is for the Sperry UTS30 terminal running the TTY
16772166124Srafan# utility under control of CP/M Plus 1R1. The functionality
1677350276Speter# provided is comparable to the DEC vt100.
1677450276Speter# (uts30: I added <rmam>/<smam> based on the init string -- esr)
16775166124Srafanuts30|sperry uts30 with cp/m@1R1,
16776166124Srafan	am, bw, hs,
16777166124Srafan	cols#80, lines#24, wsl#40,
16778166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16779166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
16780166124Srafan	cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
16781262629Sdelphij	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
16782262629Sdelphij	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16783166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
16784166124Srafan	dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
16785166124Srafan	ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
16786166124Srafan	ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
16787166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
16788166124Srafan	rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
16789166124Srafan	rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
16790166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
16791166124Srafan	sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
16792166124Srafan	smul=\E[4m, tsl=\E], uc=\EPB,
1679350276Speter
1679450276Speter#### Tandem
1679550276Speter#
1679650276Speter# Tandem builds these things for use with its line of fault-tolerant
1679750276Speter# transaction-processing computers.  They aren't generally available
1679850276Speter# on the merchant market, and so are fairly uncommon.
1679950276Speter#
1680050276Speter
16801166124Srafantandem6510|adm3a repackaged by Tandem,
16802166124Srafan	use=adm3a,
1680350276Speter
1680450276Speter# A funny series of terminal that TANDEM uses.  The actual model numbers
1680550276Speter# have a fourth digit after 653 that designates minor variants.  These are
1680650276Speter# natively block-mode and rather ugly, but they have a character mode which
1680750276Speter# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1680850276Speter# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
1680950276Speter# removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
16810166124Srafantandem653|t653x|Tandem 653x multipage terminal,
16811166124Srafan	OTbs, am, da, db, hs,
16812166124Srafan	cols#80, lines#24, wsl#64, xmc#1,
16813166124Srafan	clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
16814166124Srafan	cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
16815166124Srafan	ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
16816166124Srafan	rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1681750276Speter
1681850276Speter#### Tandy/Radio Shack
1681950276Speter#
1682050276Speter# Tandy has a line of VDTs distinct from its microcomputers.
1682150276Speter#
1682250276Speter
16823166124Srafandmterm|deskmate terminal,
16824166124Srafan	am, bw,
16825166124Srafan	cols#80, lines#24,
16826166124Srafan	bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
16827166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16828166124Srafan	cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
16829166124Srafan	ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
16830166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
16831166124Srafan	kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
16832166124Srafan	khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
16833166124Srafan	lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
16834166124Srafan	use=adm+sgr,
16835166124Srafandt100|dt-100|Tandy DT-100 terminal,
16836166124Srafan	xon,
16837166124Srafan	cols#80, lines#24, xmc#1,
16838166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
16839166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
16840166124Srafan	csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
16841166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
16842166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
16843166124Srafan	il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
16844166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
16845166124Srafan	kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
16846166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
16847166124Srafan	knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
16848166124Srafan	lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
16849166124Srafan	sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
16850166124Srafandt100w|dt-100w|Tandy DT-100 terminal (wide mode),
16851166124Srafan	cols#132, use=dt100,
16852166124Srafandt110|Tandy DT-110 emulating ansi,
16853166124Srafan	xon,
16854166124Srafan	cols#80, lines#24,
16855166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
16856166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
16857262629Sdelphij	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
16858262629Sdelphij	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[0P,
16859166124Srafan	dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
16860166124Srafan	ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
16861166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
16862166124Srafan	kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
16863166124Srafan	kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
16864166124Srafan	khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
16865166124Srafan	lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
16866166124Srafan	lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
16867166124Srafan	smacs=^N, smso=\E[7m, smul=\E[4m,
16868166124Srafanpt210|TRS-80 PT-210 printing terminal,
16869166124Srafan	hc, os,
16870166124Srafan	cols#80,
16871166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1687250276Speter
1687350276Speter#### Tektronix (tek)
1687450276Speter#
16875166124Srafan# Tektronix tubes are graphics terminals.  Most of them use modified
1687650276Speter# oscilloscope technology incorporating a long-persistence green phosphor,
1687750276Speter# and support vector graphics on a main screen with an attached "dialogue
1687850276Speter# area" for interactive text.
1687950276Speter#
1688050276Speter
16881166124Srafantek|tek4012|tektronix 4012,
16882166124Srafan	OTbs, os,
16883166124Srafan	cols#75, lines#35,
16884166124Srafan	bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
16885166124Srafan	ff=\014$<1000>, is2=\E^O,
1688650276Speter# (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
16887166124Srafantek4013|tektronix 4013,
16888166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
16889166124Srafantek4014|tektronix 4014,
16890166124Srafan	cols#81, lines#38,
16891166124Srafan	is2=\E\017\E9, use=tek4012,
1689250276Speter# (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
16893166124Srafantek4015|tektronix 4015,
16894166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
16895166124Srafantek4014-sm|tektronix 4014 in small font,
16896166124Srafan	cols#121, lines#58,
16897166124Srafan	is2=\E\017\E\:, use=tek4014,
1689850276Speter# (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
16899166124Srafantek4015-sm|tektronix 4015 in small font,
16900166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1690150276Speter# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
1690250276Speter#
1690350276Speter# You need to have "stty nl2" in effect.  Some versions of tset(1) know
1690450276Speter# how to set it for you.
1690550276Speter#
1690650276Speter# It's got the Magic Cookie problem around stand-out mode.  If you can't
1690750276Speter# live with Magic Cookie, remove the :so: and :se: fields and do without
1690850276Speter# reverse video.  If you like reverse video stand-out mode but don't want
1690950276Speter# it to flash, change the letter 'H' to 'P' in the :so: field.
16910166124Srafantek4023|tektronix 4023,
16911166124Srafan	OTbs, am,
16912166124Srafan	OTdN#4, cols#80, lines#24, vt#4, xmc#1,
16913166124Srafan	OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
16914166124Srafan	cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
16915166124Srafan	rmso=^_@, smso=^_P,
1691650276Speter# It is recommended that you run the 4025 at 4800 baud or less;
1691750276Speter# various bugs in the terminal appear at 9600.  It wedges at the
1691850276Speter# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
1691950276Speter# on keyboard don't work.  You have to hit BREAK twice to get
1692050276Speter# one break at any speed - this is a documented feature.
16921166124Srafan# Can't use cursor motion because it's memory relative, and
16922166124Srafan# because it only works in the workspace, not the monitor.
1692350276Speter# Same for home. Likewise, standout only works in the workspace.
16924166124Srafan#
16925166124Srafan# <el> was commented out since vi and rogue seem to work better
1692650276Speter# simulating it with lots of spaces!
16927166124Srafan#
16928166124Srafan# <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
1692950276Speter# and didn't seem necessary.
1693050276Speter#
16931166124Srafantek4024|tek4025|tek4027|tektronix 4024/4025/4027,
16932166124Srafan	OTbs, am, da, db,
16933166124Srafan	cols#80, it#8, lines#34, lm#0,
16934166124Srafan	bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
16935166124Srafan	cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
16936166124Srafan	cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
16937166124Srafan	cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
16938166124Srafan	dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
16939166124Srafan	ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
16940166124Srafan	il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
16941166124Srafan	ind=^F^J,
16942166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
16943166124Srafan	rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
16944166124Srafan	smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
16945166124Srafantek4025-17|tek 4025 17 line window,
16946166124Srafan	lines#17, use=tek4025,
16947166124Srafantek4025-17-ws|tek 4025 17 line window in workspace,
16948166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
16949166124Srafan	rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
16950166124Srafan	smso=\037att e\r, use=tek4025-17,
16951166124Srafantek4025-ex|tek4027-ex|tek 4025/4027 w/!,
16952166124Srafan	is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
16953166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1695450276Speter# Tektronix 4025a
1695550276Speter# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
1695650276Speter# The following status modes are assumed for normal operation (replace the
1695750276Speter# initial "!" by whatever the current command character is):
1695850276Speter#	!COM 29			# NOTE: changes command character to GS (^])
1695950276Speter#	^]DUP
1696050276Speter#	^]ECH R
1696150276Speter#	^]EOL
1696250276Speter#	^]RSS T
1696350276Speter#	^]SNO N
1696450276Speter#	^]STO 9 17 25 33 41 49 57 65 73
1696550276Speter# Other modes may be set according to communication requirements.
1696650276Speter# If the command character is inadvertently changed, termcap can't restore it.
1696750276Speter# Insert-character cannot be made to work on both top and bottom rows.
1696850276Speter# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1696950276Speter# There also seems to be a problem with vertical motion, perhaps involving
1697050276Speter# delete/insert-line, following a typed carriage return.  This terminal sucks.
1697150276Speter# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1697250276Speter# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
1697350276Speter# work any more. -- esr)
16974166124Srafantek4025a|Tektronix 4025A,
16975166124Srafan	OTbs, OTpt, am, bw, da, db, xon,
16976166124Srafan	cols#80, it#8, lines#34,
16977166124Srafan	bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
16978166124Srafan	cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
16979166124Srafan	cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
16980166124Srafan	cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
16981166124Srafan	dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
16982166124Srafan	el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
16983166124Srafan	il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
16984166124Srafan	rs2=!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;,
16985166124Srafan	tbc=\035sto;,
1698650276Speter# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1698750276Speter# Here's the command file that I use to get rogue to work on the 4025.
1698850276Speter# It should work with any program using the old curses (e.g. it better
1698950276Speter# not try to scroll, or cursor addressing won't work.  Also, you can't
1699050276Speter# see the cursor.)
1699150276Speter# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
16992166124Srafantek4025-cr|tek 4025 for curses and rogue,
16993166124Srafan	OTbs, am,
16994166124Srafan	cols#80, it#8, lines#33,
16995166124Srafan	clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
16996166124Srafan	cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
16997166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
16998166124Srafan	rmcup=\037wor 0, smcup=\037wor 33h,
1699950276Speter# next two lines commented out since curses only allows 128 chars, sigh.
1700050276Speter#	: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:\
1700150276Speter#	: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:
17002166124Srafantek4025ex|4025ex|4027ex|tek 4025 w/!,
17003166124Srafan	is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
17004166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
17005166124Srafantek4105|tektronix 4105,
17006166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
17007166124Srafan	cols#79, it#8, lines#29,
17008166124Srafan	acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
17009262629Sdelphij	clear=\E[2J\E[H, cr=^M, cub1=\E[1D, cud1=\E[1B, cuf1=\E[1C,
17010166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
17011166124Srafan	dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
17012166124Srafan	il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
17013166124Srafan	is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
17014166124Srafan	kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
17015166124Srafan	rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
17016166124Srafan	rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
17017166124Srafan	smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
17018166124Srafan	smul=\E[=5;<2m, tbc=\E[1g,
1701950276Speter
1702050276Speter# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
17021166124Srafantek4105-30|4015 emulating 30 line vt100,
17022166124Srafan	am, mir, msgr, xenl, xon,
17023166124Srafan	cols#80, it#8, lines#30, vt#3,
17024166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17025166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
17026166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17027166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
17028166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
17029166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
17030166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
17031166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
17032166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
17033166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
17034166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
17035166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
17036166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
17037166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
17038166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
17039166124Srafan	use=vt100+fnkeys,
1704050276Speter
1704150276Speter# Tektronix 4105 from BRL
1704250276Speter# The following setup modes are assumed for normal operation:
1704350276Speter#	CODE ansi		CRLF no			DABUFFER 141
1704450276Speter#	DAENABLE yes		DALINES 30		DAMODE replace
1704550276Speter#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
1704650276Speter#	FLAGGING input		INSERTREPLACE replace	LFCR no
1704750276Speter#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
1704850276Speter#	SELECTCHARSET G1 0	TABS -2
1704950276Speter# Other setup modes may be set for operator convenience or communication
1705050276Speter# requirements; I recommend
1705150276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1705250276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1705350276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1705450276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
1705550276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1705650276Speter#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
1705750276Speter#	XMTDELAY 0
1705850276Speter# and factory color maps.  After setting these modes, save them with NVSAVE. No
1705950276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1706050276Speter# "IC" cannot be used in combination with "im" & "ei".
1706150276Speter# "tek4105a" is just a guess:
17062166124Srafantek4105a|Tektronix 4105,
17063166124Srafan	OTbs, OTpt, msgr, xon,
17064166124Srafan	OTkn#8, cols#80, it#8, lines#30, vt#3,
17065166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
17066166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
17067166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17068166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
17069166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17070166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
17071166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
17072166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
17073166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
17074166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
17075166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
17076166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
17077166124Srafan	lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
17078166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
17079166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
17080166124Srafan	rs2=\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>,
17081166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
17082166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1708350276Speter
1708450276Speter#
1708550276Speter# Tektronix 4106/4107/4109 from BRL
1708650276Speter# The following setup modes are assumed for normal operation:
1708750276Speter#	CODE ansi		COLUMNMODE 80		CRLF no
1708850276Speter#	DABUFFER 141		DAENABLE yes		DALINES 32
1708950276Speter#	DAMODE replace		DAVISIBILITY yes	ECHO no
1709050276Speter#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
1709150276Speter#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
1709250276Speter#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
1709350276Speter#	TABS -2
1709450276Speter# Other setup modes may be set for operator convenience or communication
1709550276Speter# requirements; I recommend
1709650276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1709750276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1709850276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1709950276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
1710050276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1710150276Speter#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
1710250276Speter#	XMTDELAY 0
1710350276Speter# and factory color maps.  After setting these modes, save them with NVSAVE.  No
1710450276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1710550276Speter# "IC" cannot be used in combination with "im" & "ei".
17106166124Srafantek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
17107166124Srafan	msgr, xon,
17108166124Srafan	cols#80, it#8, lines#32, vt#3,
17109166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
17110166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
17111166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17112166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
17113166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17114166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
17115166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
17116166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
17117166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
17118166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
17119166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
17120166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
17121166124Srafan	lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
17122166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
17123166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
17124166124Srafan	rs1=\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>,
17125166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
17126166124Srafan	smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
1712750276Speter
17128262629Sdelphij# Tektronix 4107/4109 interpret 4 modes using "\E%!" followed by a code:
17129262629Sdelphij# 0 selects Tek mode, i.e., \E%!0
17130262629Sdelphij# 1 selects ANSI mode
17131262629Sdelphij# 2 selects ANSI edit-mode
17132262629Sdelphij# 3 selects VT52 mode
17133262629Sdelphij#
17134262629Sdelphij# One odd thing about the description (which has been unchanged since the 90s)
17135262629Sdelphij# is that the cursor addressing is using VT52 mode, and a few others use the
17136262629Sdelphij# VT52's non-CSI versions of ANSI, e.g., \EJ.
17137166124Srafantek4107|tek4109|tektronix terminals 4107 4109,
17138166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
17139166124Srafan	cols#79, it#8, lines#29,
17140166124Srafan	bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
17141166124Srafan	bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
17142166124Srafan	cub1=^H, cud1=^J, cuf1=\EC,
17143166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
17144166124Srafan	dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
17145166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
17146262629Sdelphij	rev=\E%!1\E[7m$<2>\E%!0, ri=\EI,
17147166124Srafan	rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
17148262685Sdelphij	sgr=\E%%!1\E[%?%p1%t;7;5%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t<0%;%?%p6%t;1%;m$<2>\E%%!0,
17149166124Srafan	sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
17150166124Srafan	smul=\E%!1\E[4m$<2>\E%!0,
1715150276Speter# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
1715250276Speter# see the note attached to tek4207.
17153166124Srafantek4207-s|Tektronix 4207 with sysline but no memory,
17154166124Srafan	eslok, hs,
17155166124Srafan	dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
17156166124Srafan	is1=\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,
17157166124Srafan	is2=\E7\E[?6l\E[2K\E[?6h\E8,
17158166124Srafan	tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1715950276Speter
1716050276Speter# The 4110 series may be a wonderful graphics series, but they make the 4025
1716150276Speter# look good for screen editing.  In the dialog area, you can't move the cursor
1716250276Speter# off the bottom line.  Out of the dialog area, ^K moves it up, but there
1716350276Speter# is no way to scroll.
17164166124Srafan#
17165166124Srafan# Note that there is a floppy for free from Tek that makes the
1716650276Speter# 4112 emulate the vt52 (use the vt52 termcap). There is also
1716750276Speter# an expected enhancement that will use ANSI standard sequences.
17168166124Srafan#
17169166124Srafan# 4112 in non-dialog area pretending to scroll. It really wraps
1717050276Speter# but vi is said to work (more or less) in this mode.
17171166124Srafan#
1717250276Speter# 'vi' works reasonably well with this entry.
1717350276Speter#
17174166124Srafanotek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
17175166124Srafan	am,
17176166124Srafan	cols#80, lines#34,
17177166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
17178166124Srafan	rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1717950276Speter# The 4112 with the ANSI compatibility enhancement
17180166124Srafantek4112|tek4114|tektronix 4110 series,
17181166124Srafan	OTbs, am, db,
17182166124Srafan	cols#80, lines#34,
17183262629Sdelphij	cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cud1=\E[B,
17184262629Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P,
17185262629Sdelphij	dl1=\E[M, ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
17186166124Srafan	ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
17187166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
17188166124Srafantek4112-nd|4112 not in dialog area,
17189166124Srafan	OTns,
17190166124Srafan	cuu1=^K, use=tek4112,
17191166124Srafantek4112-5|4112 in 5 line dialog area,
17192166124Srafan	lines#5, use=tek4112,
1719350276Speter# (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
1719450276Speter# removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
1719550276Speter# Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
1719650276Speter# previously \0410 and \0411 sequences...I don't *think* they were supposed
1719750276Speter# to be 4-digit octal -- esr)
17198166124Srafantek4113|tektronix 4113 color graphics with 5 line dialog area,
17199166124Srafan	OTbs, am, da, eo,
17200166124Srafan	cols#80, lines#5,
17201166124Srafan	clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
17202166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
17203166124Srafan	is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
17204166124Srafantek4113-34|tektronix 4113 color graphics with 34 line dialog area,
17205166124Srafan	lines#34,
17206166124Srafan	is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
17207166124Srafan# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
1720850276Speter# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
1720950276Speter# :vb: needs enough delay to let you see the background color being toggled.
17210166124Srafantek4113-nd|tektronix 4113 color graphics with no dialog area,
17211166124Srafan	OTbs, am, eo,
17212166124Srafan	cols#80, it#8, lines#34,
17213166124Srafan	clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
17214166124Srafan	cvvis=\ELZ\EKA0,
17215166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
17216166124Srafan	home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
17217166124Srafan	ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1721850276Speter# This entry is from Tek. Inc.  (Brian Biehl)
1721950276Speter# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
17220166124Srafanotek4115|Tektronix 4115,
17221166124Srafan	OTbs, am, da, db, eo,
17222166124Srafan	cols#80, it#8, lines#34,
17223166124Srafan	cbt=\E[Z, clear=\E[H\E[2J,
17224166124Srafan	cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
17225166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
17226166124Srafan	cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
17227166124Srafan	el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
17228166124Srafan	il1=\E[L,
17229166124Srafan	is2=\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,
17230166124Srafan	kbs=^H, ri=\EM, rmam=\E[?7l,
17231166124Srafan	rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
17232166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
17233166124Srafan	smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
17234166124Srafan	smul=\E[4m,
17235166124Srafantek4115|newer tektronix 4115 entry with more ANSI capabilities,
17236166124Srafan	am, xon,
17237166124Srafan	cols#80, lines#34,
17238166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
17239166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
17240166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17241166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
17242166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
17243166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
17244166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
17245166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
17246166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
17247166124Srafan	rmso=\E[m, rmul=\E[m,
17248262629Sdelphij	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
17249262629Sdelphij	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
17250166124Srafan	vpa=\E[%p1%{1}%+%dd,
1725150276Speter# The tek4125 emulates a vt100 incorrectly - the scrolling region
1725250276Speter# command is ignored.  The following entry replaces <csr> with the needed
1725350276Speter# <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
1725450276Speter# chokes on; and adds a lot of initialization for the tek dialog area.
1725550276Speter# Note that this entry uses all 34 lines and sets the cursor color to green.
1725650276Speter# Steve Jacobson 8/85
1725750276Speter# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
1725850276Speter# commented out, <smir>=\E1 because there's no <rmir>  -- esr)
17259166124Srafantek4125|tektronix 4125,
17260166124Srafan	lines#34,
17261166124Srafan	csr@, dl1=\E[1M, il1=\E[1L,
17262166124Srafan	is2=\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,
17263166124Srafan	rc@, sc@, smkx=\E=, use=vt100,
1726450276Speter
1726550276Speter# From: <jcoker@ucbic>
1726650276Speter# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
1726750276Speter# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1726850276Speter# note that if jcoker wasn't confused you may be able to use this one.
1726950276Speter# I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
17270166124Srafantek4207|Tektronix 4207 graphics terminal with memory,
17271166124Srafan	am, bw, mir, msgr, ul, xenl,
17272166124Srafan	cols#80, it#8, lines#32,
17273166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
17274166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17275166124Srafan	cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
17276166124Srafan	el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
17277166124Srafan	il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
17278166124Srafan	is2=\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,
17279166124Srafan	kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
17280166124Srafan	rev=\E[7m, ri=\E[T,
17281166124Srafan	rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
17282166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
17283166124Srafan	smul=\E[4m, tbc=\E[1g,
1728450276Speter
1728550276Speter# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1728650276Speter# (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
1728750276Speter# Tab had been given as \E2I,that must be the tab-set capability -- esr)
17288166124Srafantek4404|tektronix 4404,
17289166124Srafan	OTbs,
17290166124Srafan	cols#80, it#8, lines#32,
17291166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
17292166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
17293166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
17294166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
17295166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
17296166124Srafan	rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
17297166124Srafan	rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
17298166124Srafan	smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
17299166124Srafan	smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1730050276Speter# Some unknown person wrote:
17301166124Srafan# I added the is string - straight Unix has ESC ; in the login
17302166124Srafan# string which sets a ct8500 into monitor mode (aka 4025 snoopy
17303166124Srafan# mode). The is string here cleans up a few things (but not
1730450276Speter# everything).
17305166124Srafanct8500|tektronix ct8500,
17306166124Srafan	am, bw, da, db,
17307166124Srafan	cols#80, lines#25,
17308166124Srafan	bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
17309166124Srafan	cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
17310166124Srafan	dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
17311166124Srafan	il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
17312166124Srafan	rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1731350276Speter
1731450276Speter# Tektronix 4205 terminal.
1731550276Speter#
1731650276Speter# am is not defined because the wrap around occurs not when the char.
1731750276Speter# is placed in the 80'th column, but when we are attempting to type
1731850276Speter# the 81'st character on the line.  (esr: hmm, this is like the vt100
1731950276Speter# version of xenl, perhaps am + xenl would work!)
1732050276Speter#
1732150276Speter# Bold, dim, and standout are simulated by colors and thus not allowed
1732250276Speter# with colors.  The tektronix color table is mapped into the RGB color
1732350276Speter# table by setf/setb. All colors are reset to factory specifications by oc.
17324166124Srafan# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1732550276Speter# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
1732650276Speter# interval then maps into pre-defined value.
17327166124Srafantek4205|tektronix 4205,
17328166124Srafan	ccc, mir, msgr,
17329166124Srafan	colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
17330166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17331166124Srafan	bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
17332166124Srafan	clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
17333166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17334166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17335262685Sdelphij	dch1=\E[1P, dim=\E[=1;<6m, dl=\E[%p1%dM, dl1=\E[1M,
17336262685Sdelphij	ech=\E%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
17337262685Sdelphij	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L,
17338262685Sdelphij	ind=\ED,
17339166124Srafan	initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1,
17340166124Srafan	invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
17341166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
17342166124Srafan	kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
17343166124Srafan	kf7=\ES,
17344166124Srafan	oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
17345166124Srafan	op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
17346166124Srafan	rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
17347166124Srafan	setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
17348166124Srafan	setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;,
17349166124Srafan	sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
17350166124Srafan	smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
17351166124Srafan	smul=\E[4m, tbc=\E[1g,
1735250276Speter
1735350276Speter#### Teletype (tty)
1735450276Speter#
1735550276Speter# These are the hardcopy Teletypes from before AT&T bought the company,
1735650276Speter# clattering electromechanical dinosaurs in Bakelite cases that printed on
1735750276Speter# pulpy yellow roll paper.  If you remember these you go back a ways.
1735850276Speter# Teletype-branded VDTs are listed in the AT&T section.
1735950276Speter#
1736050276Speter# The earliest UNIXes were designed to use these clunkers; nroff and a few
1736150276Speter# other programs still default to emitting codes for the Model 37.
1736250276Speter#
1736350276Speter
17364166124Srafantty33|tty35|model 33 or 35 teletype,
17365166124Srafan	hc, os, xon,
17366166124Srafan	cols#72,
17367166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
17368166124Srafantty37|model 37 teletype,
17369166124Srafan	OTbs, hc, os, xon,
17370166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
17371166124Srafan	ind=^J,
1737250276Speter
1737350276Speter# There are known to be at least three flavors of the tty40, all seem more
1737450276Speter# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
1737550276Speter# awful braindamage, such as printing a visible newline indicator after each
1737650276Speter# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
1737750276Speter# braindamaged but has hope and is described here.  The 40-4 is a 3270
1737850276Speter# lookalike and beyond hope.  The terminal has visible bell but I don't know
1737950276Speter# it - it's null here to prevent it from showing the BL character.
1738050276Speter# There is an \EG in <nl> because of a bug in old vi (if stty says you have
1738150276Speter# a "newline" style terminal (-crmode) vi figures all it needs is nl
1738250276Speter# to get crlf, even if <cr> is not ^M.)
1738350276Speter# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
17384166124Srafantty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
17385166124Srafan	OTbs, xon,
17386166124Srafan	cols#80, lines#24,
17387166124Srafan	clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
17388166124Srafan	cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
17389166124Srafan	ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
17390166124Srafan	ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
17391166124Srafan	kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
17392166124Srafan	rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
17393166124Srafantty43|model 43 teletype,
17394166124Srafan	OTbs, am, hc, os, xon,
17395166124Srafan	cols#132,
17396166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1739750276Speter
1739850276Speter#### Tymshare
1739950276Speter#
1740050276Speter
1740150276Speter# You can add <is2=\E<> to put this 40-column mode, though I can't
1740250276Speter# for the life of me think why anyone would want to.
17403166124Srafanscanset|sc410|sc415|Tymshare Scan Set,
17404166124Srafan	am, bw, msgr,
17405166124Srafan	cols#80, lines#24,
17406166124Srafan	acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
17407166124Srafan	cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
17408166124Srafan	cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
17409166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
17410166124Srafan	mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
1741150276Speter
1741250276Speter#### Volker-Craig (vc)
1741350276Speter#
1741450276Speter# If you saw a Byte Magazine cover with a terminal on it during the early
1741550276Speter# 1980s, it was probably one of these.  Carl Helmers liked them because
1741650276Speter# they could crank 19.2 and were cheap (that is, he liked them until he tried
1741750276Speter# to program one...)
1741850276Speter#
1741950276Speter
1742050276Speter# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
1742150276Speter# every other linefeed.
17422166124Srafanvc303|vc103|vc203|volker-craig 303,
17423166124Srafan	OTbs, OTns, am,
17424166124Srafan	cols#80, lines#24,
17425166124Srafan	bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
17426166124Srafan	cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
17427166124Srafan	kcuu1=^N, ll=\017$<1>W,
17428166124Srafanvc303a|vc403a|volker-craig 303a,
17429166124Srafan	clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
17430166124Srafan	home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
1743150276Speter# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
17432166124Srafanvc404|volker-craig 404,
17433166124Srafan	OTbs, am,
17434166124Srafan	cols#80, lines#24,
17435166124Srafan	bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
17436166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
17437166124Srafan	ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
17438166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
17439166124Srafanvc404-s|volker-craig 404 w/standout mode,
17440166124Srafan	cud1=^J, rmso=^O, smso=^N, use=vc404,
1744150276Speter# From: <wolfgang@cs.sfu.ca>
1744250276Speter# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
17443166124Srafanvc414|vc414h|Volker-Craig 414H in sane escape mode.,
17444166124Srafan	OTbs, am,
17445166124Srafan	cols#80, lines#24,
17446166124Srafan	clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
17447166124Srafan	cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
17448166124Srafan	dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
17449166124Srafan	ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
17450166124Srafan	kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
17451166124Srafan	kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
17452166124Srafan	lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
17453166124Srafan	rmso=\E^_, smso=\E^Y,
17454166124Srafanvc415|volker-craig 415,
17455166124Srafan	clear=^L, use=vc404,
1745650276Speter
1745750276Speter######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1745850276Speter#
1745950276Speter
1746050276Speter#### IBM PC and clones
1746150276Speter#
1746250276Speter
1746350276Speter# The pcplot IBM-PC terminal emulation program is really messed up. It is
1746450276Speter# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
1746550276Speter# doesn't support scrolling regions, ignores add line commands, and ignores
1746650276Speter# delete line commands. Consequently, the resulting behavior looks like a
1746750276Speter# crude adm3a-type terminal.
1746850276Speter# Steve Jacobson 8/85
17469166124Srafanpcplot|pc-plot terminal emulation program,
17470166124Srafan	xenl@,
17471166124Srafan	csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
1747250276Speter# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
1747350276Speter# I've found that my KayPro II, running MDM730, continues to emulate an
1747450276Speter# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
1747550276Speter# system the following termcap entry works well:
1747650276Speter# I have noticed a couple of minor glitches, but nothing I can't work
1747750276Speter# around. (I added two capabilities from the BRL entry -- esr)
17478166124Srafankaypro|kaypro2|kaypro II,
17479166124Srafan	OTbs, am,
17480166124Srafan	cols#80, lines#24,
17481166124Srafan	bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
17482166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
17483166124Srafan	el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
1748450276Speter
1748550276Speter# From IBM, Thu May  5 19:35:27 1983
1748662449Speter# (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
17487166124Srafanibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
17488166124Srafan	OTbs, am,
17489166124Srafan	cols#80, lines#24,
17490166124Srafan	bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
17491166124Srafan	cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
1749250276Speter
17493166124Srafanibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
17494166124Srafan	OTbs, am, bw, eo, hs, km, msgr, ul,
17495166124Srafan	cols#80, it#8, lines#24,
17496166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
17497166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
17498166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
17499166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17500166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
17501166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
17502166124Srafan	indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
17503166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
17504166124Srafan	kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
17505166124Srafan	kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
17506166124Srafan	kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
17507166124Srafan	ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
17508166124Srafan	rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
17509262685Sdelphij	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t30;40%;m,
17510166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1751150276Speter
1751250276Speter#### Apple II
1751350276Speter#
17514166124Srafan# Apple II firmware console first, then various 80-column cards and
1751550276Speter# terminal emulators.  For two cents I'd toss all these in the UFO file
1751650276Speter# along with the 40-column apple entries.
1751750276Speter#
1751850276Speter
1751950276Speter# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
1752050276Speter#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
1752150276Speter#		function of TIC, not the firmware.
17522166124Srafan#	The clear key on a IIgs will do something like clear-screen,
1752350276Speter#		depending on what you're in.
17524166124SrafanappleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
17525166124Srafan	OTbs, am, bw, eo, msgr,
17526166124Srafan	cols#80, it#8, lines#24,
17527166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
17528166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17529166124Srafan	home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
17530166124Srafan	kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
17531166124Srafan	smso=^O,
1753250276Speter# Apple //e with 80-column card, entry from BRL
1753350276Speter# The modem interface is permitted to discard LF (maybe DC1), otherwise
1753450276Speter# passing characters to the 80-column firmware via COUT (PR#3 assumed).
1753550276Speter# Auto-wrap does not work right due to newline scrolling delay, which also
1753650276Speter# requires that you set "stty cr2".
1753750276Speter# Note: Cursor addressing is only available via the Pascal V1.1 entry,
1753850276Speter# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
1753950276Speter# using a terminal emulation program instead of the built-in firmware.
17540166124Srafanapple2e|Apple //e,
17541166124Srafan	bw, msgr,
17542166124Srafan	cols#80, lines#24,
17543166124Srafan	bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
17544166124Srafan	ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
17545166124Srafan	is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
17546166124Srafan	nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
17547166124Srafan	smso=^O,
1754850276Speter# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
1754950276Speter# 4.20, with incoming and outgoing terminals both on 0, emulation On.
17550166124Srafanapple2e-p|Apple //e via Pascal,
17551166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
17552166124Srafan	kcud1=^J, use=apple2e,
1755350276Speter# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
1755450276Speter# Enable DC3/DC1 flow control with "stty ixon -ixany".
17555166124Srafanapple-ae|ASCII Express,
17556166124Srafan	OTbs, am, bw, msgr, nxon, xon,
17557166124Srafan	cols#80, it#8, lines#24,
17558166124Srafan	bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
17559166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17560166124Srafan	home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
17561166124Srafan	kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
17562166124Srafan	smso=^O,
17563166124SrafanappleII|apple ii plus,
17564166124Srafan	OTbs, am,
17565166124Srafan	cols#80, it#8, lines#24,
17566166124Srafan	clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
17567166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
17568166124Srafan	ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
17569166124Srafan	is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
17570166124Srafan	smso=^O,
1757150276Speter# Originally by Gary Ford 21NOV83
1757250276Speter# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
17573166124Srafanapple-80|apple II with smarterm 80 col,
17574166124Srafan	OTbs, am, bw,
17575166124Srafan	cols#80, lines#24,
17576166124Srafan	cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
17577166124Srafan	cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
17578166124Srafan	ed=\013$<10*/>, el=\035$<10/>, home=^Y,
17579166124Srafanapple-soroc|apple emulating soroc 120,
17580166124Srafan	am,
17581166124Srafan	cols#80, lines#24,
17582166124Srafan	bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17583166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
17584166124Srafan	home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1758550276Speter# From Peter Harrison, Computer Graphics Lab, San Francisco
1758650276Speter#   ucbvax!ucsfmis!harrison  .....uucp
1758750276Speter#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
1758850276Speter# "These two work.  If you don't have the inverse video chip for the
1758950276Speter# Apple with videx then remove the :so: and :se: fields."
1759050276Speter# (apple-videx: this used to be called DaleApple -- esr)
17591166124Srafanapple-videx|Apple with videx videoterm 80 column board with inverse video,
17592166124Srafan	OTbs, am, xenl,
17593166124Srafan	cols#80, it#8, lines#24,
17594166124Srafan	clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
17595166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17596166124Srafan	home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
17597166124Srafan	rmso=^Z2, sgr0=^Z2, smso=^Z3,
1759850276Speter# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
1759950276Speter#			      Apple Cat ][ 212 modem, + more all
1760050276Speter#			      controlled by ASCII Express: Pro.
1760150276Speter# From Dave Shaver <isucs1!shaver>
17602166124Srafanapple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
17603166124Srafan	OTbs, am, eo, xt,
17604166124Srafan	cols#80, lines#24,
17605166124Srafan	acsc=, clear=^L, cuf1=^\,
17606166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17607166124Srafan	flash=^W35^W06, home=^Y,
17608166124Srafan	is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
17609166124Srafan	rmso=^N, smso=^O,
17610166124Srafanapple-uterm|Ultraterm for Apple micros,
17611166124Srafan	OTbs, am, eo, xt,
17612166124Srafan	cols#80, lines#24,
17613166124Srafan	acsc=, clear=^L, cuf1=^\,
17614166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17615166124Srafan	home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
1761650276Speter# from trwrba!bwong (Bradley W. Wong):
1761750276Speter#
1761850276Speter# This entry assumes that you are using an apple with the UCSD Pascal
1761950276Speter# language card.  SYSTEM.MISCINFO is assumed to be the same as that
1762050276Speter# supplied with the standard apple except that screenwidth should be set
17621262629Sdelphij# using SETUP to 80 columns.  Note that the right arrow is not mapped in
1762250276Speter# this termcap entry.  This is because that key, on the Apple, transmits
1762350276Speter# a ^U and would thus preempt the more useful "up" function of vi.
1762450276Speter#
1762550276Speter# HMH 2/23/81
17626166124Srafanapple80p|80-column apple with Pascal card,
17627166124Srafan	am, bw,
17628166124Srafan	cols#80, lines#24,
17629166124Srafan	clear=^Y^L, cuf1=^\\:,
17630166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
17631166124Srafan	home=^Y, kcub1=^H,
1763250276Speter#
1763350276Speter# Apple II+ equipped with Videx 80 column card
1763450276Speter#
1763550276Speter# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
1763650276Speter# manually converted by D A Gwyn
1763750276Speter#
1763850276Speter# DO NOT use any terminal emulation with this data base, it works directly
1763950276Speter# with the Videx card.  This has been tested with vi 1200 baud and works fine.
1764050276Speter#
1764150276Speter# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
1764250276Speter# 1 screen, while in R2 ^U doesn't.
1764350276Speter# For inverse alternate character set add:
1764450276Speter#	<smacs>=^O:<rmacs>=^N:
1764550276Speter# (apple-v: added it#8 -- esr)
17646166124Srafanapple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
17647166124Srafan	am, xenl,
17648166124Srafan	cols#80, it#8, lines#24,
17649166124Srafan	bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
17650166124Srafan	cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
17651166124Srafan	cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
17652166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
17653166124Srafan	khome=^Y, rmso=^Z2, smso=^Z3,
17654166124Srafanapple-videx3|vapple|Apple II with 80 col card,
17655166124Srafan	OTbs, am,
17656166124Srafan	cols#80, lines#24,
17657262629Sdelphij	clear=\Ev, cub1=\ED, cud1=\EB, cuf1=\EC,
17658262629Sdelphij	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\Ex,
17659262629Sdelphij	home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
17660262629Sdelphij	kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, kf5=\E", kf6=\E#,
17661262629Sdelphij	kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH,
1766250276Speter#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
17663166124Srafanaepro|Apple II+ running ASCII Express Pro--vt52,
17664166124Srafan	OTbs,
17665166124Srafan	cols#80, lines#24,
17666262629Sdelphij	clear=\014$<300/>, cub1=\ED, cud1=\EB, cuf1=\EC,
17667166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
17668166124Srafan	el=\EK, home=\EH,
1766950276Speter# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
17670166124Srafanapple-vm80|ap-vm80|apple with viewmax-80,
17671166124Srafan	OTbs,
17672166124Srafan	cols#80, lines#24,
17673166124Srafan	clear=\014$<300/>, cuf1=^\\:,
17674166124Srafan	cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
17675166124Srafan	ed=\013$<300/>, el=^], home=\031$<200/>,
1767650276Speter
1767750276Speter#### Apple Lisa & Macintosh
1767850276Speter#
1767950276Speter
1768050276Speter# (lisa: changed <cvvis> to <cnorm> -- esr)
17681166124Srafanlisa|apple lisa console display (black on white),
17682166124Srafan	OTbs, am, eo, msgr,
17683166124Srafan	cols#88, it#8, lines#32,
17684166124Srafan	acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
17685166124Srafan	cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
17686166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
17687166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
17688166124Srafan	is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
17689166124Srafan	kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
17690166124Srafan	sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
17691166124Srafanliswb|apple lisa console display (white on black),
17692166124Srafan	is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
17693166124Srafan	smso=\E[m, smul=\E[4m, use=lisa,
1769450276Speter
1769550276Speter# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
1769650276Speter# <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
1769750276Speter#
1769850276Speter# These entries assume that the 'Auto Wraparound' is enabled.
1769950276Speter# Xon-Xoff flow control should also be enabled.
1770050276Speter#
1770150276Speter# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
1770250276Speter# settings are in non-volatile memory and don't need to be reset upon login.
1770350276Speter# Also setting the number of columns glitches the screen annoyingly.
1770450276Speter# You can type "reset" to get them set.
1770550276Speter#
17706166124Srafanlisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
17707166124Srafan	OTbs, OTpt, am, xenl, xon,
17708166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
17709166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
17710166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
17711166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
17712166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
17713166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
17714166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
17715166124Srafan	kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
17716166124Srafan	rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
17717166124Srafan	rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
17718166124Srafan	sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
17719166124Srafan	tbc=\E[3g,
1772050276Speter# Lisaterm in 132 column ("wide") mode.
17721166124Srafanlisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
17722166124Srafan	cols#132,
17723166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
1772450276Speter# Although MacTerminal has insert/delete line, it is commented out here
1772550276Speter# since it is much faster and cleaner to use the "lock scrolling region"
1772650276Speter# method of inserting and deleting lines due to the MacTerminal implementation.
1772750276Speter# Also, the "Insert/delete ch" strings have an extra character appended to them
1772850276Speter# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
1772950276Speter# supported by MacTerminal.
17730166124Srafanmac|macintosh|Macintosh with MacTerminal,
17731166124Srafan	xenl,
17732166124Srafan	OTdN#30,
17733166124Srafan	blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
1773450276Speter# Lisaterm in 132 column ("wide") mode.
17735166124Srafanmac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
17736166124Srafan	cols#132, use=mac,
1773750276Speter
1773850276Speter#### Radio Shack/Tandy
1773950276Speter#
1774050276Speter
1774150276Speter# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
1774250276Speter# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
1774350276Speter# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
17744166124Srafancoco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
17745166124Srafan	OTbs, am,
17746166124Srafan	cols#80, it#8, lines#24,
17747166124Srafan	bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
17748166124Srafan	clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
17749166124Srafan	cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
17750166124Srafan	dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
17751166124Srafan	kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
17752166124Srafan	sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
1775350276Speter# (trs2: removed obsolete ":nl=^_:" -- esr)
17754166124Srafantrs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
17755166124Srafan	OTbs, am, msgr,
17756166124Srafan	cols#80, it#8, lines#24,
17757166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
17758166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
17759166124Srafan	el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
17760166124Srafan	kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
1776150276Speter# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1776250276Speter# (This had extension capabilities
1776350276Speter#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
1776450276Speter#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1776550276Speter# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
17766166124Srafantrs16|trs-80 model 16 console,
17767166124Srafan	OTbs, am,
17768166124Srafan	cols#80, it#8, lines#24,
17769166124Srafan	acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
17770166124Srafan	cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
17771166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
17772166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
17773166124Srafan	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
17774166124Srafan	kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
17775166124Srafan	khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
17776166124Srafan	lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
17777166124Srafan	smacs=\ERG, smso=\ERD,
1777850276Speter
1777950276Speter#### Commodore Business Machines
1778050276Speter#
1778150276Speter# Formerly located in West Chester, PA; went spectacularly bust in 1994
1778250276Speter# after years of shaky engineering and egregious mismanagement.  Made one
1778350276Speter# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
1778450276Speter# C-128, VIC-20).  The C-64 is said to have been the most popular machine
1778550276Speter# ever (most units sold); they can still be found gathering dust in closets
1778650276Speter# everywhere.
1778750276Speter#
1778850276Speter
1778950276Speter# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
1779050276Speter# Added a few more entries, converted caret-type control sequence (^x) entries
1779150276Speter# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
1779262449Speter# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
1779350276Speter#
1779450276Speter# :as:, :ae:			Support for alternate character sets.
1779550276Speter# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
1779650276Speter# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
1779750276Speter#     This one appears to fix a problem I always had with a line ending
1779850276Speter#     at 'width+1' (I think) followed by a blank line in vi. The blank
1779950276Speter#     line tended to disappear and reappear depending on how the screen
1780050276Speter#     was refreshed. Note that this is probably needed only if you use
1780150276Speter#     something like a Dnet Fterm with the window sized to some peculiar
1780250276Speter#     dimension larger than 80 columns.
1780350276Speter# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1780450276Speter# (amiga: removed obsolete :kn#10:,
1780550276Speter# also added empty <acsc> to suppress a warning --esr)
17806166124Srafanamiga|Amiga ANSI,
17807166124Srafan	OTbs, am, bw, xenl,
17808166124Srafan	cols#80, lines#24,
17809166124Srafan	acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
17810166124Srafan	civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
17811166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
17812166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
17813166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17814166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
17815166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
17816166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H,
17817166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~,
17818166124Srafan	kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~,
17819166124Srafan	kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m,
17820166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m,
17821166124Srafan	rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
1782250276Speter
1782350276Speter# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1782450276Speter# (amiga: added empty <acsc> to suppress a warning.
1782550276Speter# I'm told this entry screws up badly with AS225, the Amiga
1782650276Speter# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
17827166124Srafanamiga-h|Hans Verkuil's Amiga ANSI,
17828166124Srafan	OTbs, bw, msgr,
17829166124Srafan	cols#80, lines#24,
17830166124Srafan	acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
17831166124Srafan	civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
17832166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
17833166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
17834166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
17835166124Srafan	dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
17836166124Srafan	home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
17837166124Srafan	indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
17838166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17839166124Srafan	kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
17840166124Srafan	kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
17841166124Srafan	kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
17842166124Srafan	rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
17843166124Srafan	rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
17844166124Srafan	smso=\2337m, smul=\2334m,
1784550276Speter
1784656639Speter# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
17847166124Srafan#
17848166124Srafan# Pavel Fedin added
17849166124Srafan#	Home    Shift+Left
17850166124Srafan#	End     Shift+Right
17851166124Srafan#	PgUp    Shift+Up
17852166124Srafan#	PgDn    Shift+Down
17853166124Srafanamiga-8bit|Amiga ANSI using 8-bit controls,
17854166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17855166124Srafan	ind=\204, indn@, kend=\233 @, khome=\233 A, knp=\233S,
17856166124Srafan	kpp=\233T, ri=\215, rin@, use=amiga-h,
1785756639Speter
1785866963Speter# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
1785966963Speter# requires use of appropriate preferences settings.
17860166124Srafanamiga-vnc|Amiga using VNC console (black on light gray),
17861166124Srafan	am, da, db, msgr, ndscr,
17862166124Srafan	btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256,
17863166124Srafan	bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p,
17864166124Srafan	clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M,
17865166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17866166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17867166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17868166124Srafan	cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17869166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G,
17870166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
17871166124Srafan	indn=\E[%p1%dS, invis=\E8m,
17872166124Srafan	is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17873166124Srafan	kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17874166124Srafan	kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~,
17875166124Srafan	kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~,
17876166124Srafan	kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~,
17877166124Srafan	kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m,
17878166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J,
17879166124Srafan	rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec,
17880166124Srafan	rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17881166124Srafan	setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m,
17882166124Srafan	setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m,
17883166124Srafan	sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,
17884166124Srafan	smso=\E[1m, smul=\E[4m,
1788566963Speter
17886166124Srafan# MorphOS on Genesi Pegasos
17887166124Srafan# By Pavel Fedin <sonic_amiga@rambler.ru>
17888166124Srafanmorphos,
17889166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17890166124Srafan	ind=\204, indn@, kend=\23345~, kf11=\23320~, kf12=\23321~,
17891166124Srafan	khome=\23344~, kich1=\23340~, knp=\23342~, kpp=\23341~,
17892166124Srafan	ri=\215, rin@, use=amiga-h,
17893166124Srafan
1789450276Speter# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
1789550276Speter# 	I'm trying to write a termcap for a commodore b-128, and I'm
1789650276Speter# having a little trouble. I've had to map most of my control characters
1789750276Speter# to something that unix will accept (my delete-char is a ctrl-t, etc),
1789850276Speter# and create some functions (like cm), but thats life.
1789950276Speter# 	The problem is with the arrow keys - right, and up work fine, but
1790050276Speter# left deletes the previous character and down I just can't figure out.
1790150276Speter# Jove knows what I want, but I don't know what it's sending to me (it
1790250276Speter# isn't thats bound to next-line in jove).
1790350276Speter# 	Anybody got any ideas? Here's my termcap.
1790450276Speter# DAG -- I changed his "^n" entries to "\n"; see if that works.
1790550276Speter#
17906166124Srafancommodore|b-128|Commodore B-128 micro,
17907166124Srafan	am, bw,
17908166124Srafan	OTdN#20, cols#80, lines#24, pb#150,
17909166124Srafan	OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
17910166124Srafan	cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
17911166124Srafan	dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
17912166124Srafan	home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
17913166124Srafan	kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
17914166124Srafan	smir=,
1791550276Speter
1791650276Speter#### North Star
1791750276Speter#
1791850276Speter# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
17919166124Srafannorthstar|North Star Advantage,
17920166124Srafan	OTbs,
17921166124Srafan	cols#80, lines#24,
17922166124Srafan	clear=\004$<200/>,
17923166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
17924166124Srafan	el=\016$<200/>, home=\034\032$<200/>,
1792550276Speter
1792650276Speter#### Osborne
1792750276Speter#
1792850276Speter# Thu Jul  7 03:55:16 1983
17929166124Srafan#
17930166124Srafan# As an aside, be careful; it may sound like an anomaly on the
17931166124Srafan# Osborne, but with the 80-column upgrade, it's too easy to
1793250276Speter# enter lines >80 columns!
17933166124Srafan#
1793450276Speter# I've already had several comments...
17935166124Srafan# The Osborne-1 with the 80-col option is capable of being
17936166124Srafan# 52, 80, or 104 characters wide; default to 80 for compatibility
1793750276Speter# with most systems.
17938166124Srafan#
1793950276Speter# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
17940166124Srafanosborne-w|osborne1-w|osborne I in 104-column mode,
17941166124Srafan	msgr, ul, xt,
17942166124Srafan	cols#104, lines#24,
17943166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17944166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17945166124Srafan	dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
17946166124Srafan	kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
1794750276Speter# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
17948166124Srafanosborne|osborne1|osborne I in 80-column mode,
17949166124Srafan	OTbs, am, mir, msgr, ul, xhp,
17950166124Srafan	OTdB#4, cols#80, lines#24,
17951166124Srafan	clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
17952166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
17953166124Srafan	dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
17954166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
17955166124Srafan	rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1795650276Speter#
1795750276Speter# Osborne Executive definition from BRL
1795850276Speter# Similar to tvi920
1795950276Speter# Added by David Milligan and Tom Smith (SMU)
17960166124Srafanosexec|Osborne executive,
17961166124Srafan	OTbs, am,
17962166124Srafan	OTug#1, cols#80, lines#24, xmc#1,
17963166124Srafan	OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17964166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17965166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
17966166124Srafan	is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
17967166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
17968166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
17969166124Srafan	kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
17970166124Srafan	smul=\El, tbc=\E3,
1797150276Speter
1797250276Speter#### Console types for obsolete UNIX clones
1797350276Speter#
1797450276Speter# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
1797550276Speter# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1797650276Speter# were commercial, Minix an educational tool sold in conjunction with a book.
1797750276Speter# Memory-segmentation limits and a strong tendency to look like V7 long after
1797850276Speter# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
1797950276Speter# and Minix were ported to 32-bit Intel boxes, only to be run over by a
17980166124Srafan# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1798150276Speter# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
1798250276Speter# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
1798350276Speter# even as single processes under SunOS and the Macintosh OS.
1798450276Speter#
1798550276Speter
17986262629Sdelphij# See
17987262629Sdelphij#	http://www.minix3.org/manpages/man4/console.4.html
17988262629Sdelphijminix|minix console (v3),
17989262685Sdelphij	acsc=+\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,
17990262685Sdelphij	kdch1=\177, kend=\E[Y, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~,
17991262685Sdelphij	kf11=\E[11;2~, kf12=\E[12;2~, kf13=\E[13;2~,
17992262685Sdelphij	kf14=\E[14;2~, kf15=\E[15;2~, kf16=\E[17;2~,
17993262685Sdelphij	kf17=\E[18;2~, kf18=\E[19;2~, kf19=\E[20;2~, kf2=\E[12~,
17994262685Sdelphij	kf20=\E[21;2~, kf21=\E[11;5~, kf22=\E[12;5~,
17995262685Sdelphij	kf23=\E[13;5~, kf24=\E[14;5~, kf25=\E[15;5~,
17996262685Sdelphij	kf26=\E[17;5~, kf27=\E[18;5~, kf28=\E[19;5~,
17997262685Sdelphij	kf29=\E[20;5~, kf3=\E[13~, kf30=\E[21;5~, kf31=\E[11;6~,
17998262685Sdelphij	kf32=\E[12;6~, kf33=\E[13;6~, kf34=\E[14;6~,
17999262685Sdelphij	kf35=\E[15;6~, kf36=\E[17;6~, kf37=\E[18;6~,
18000262685Sdelphij	kf38=\E[19;6~, kf39=\E[20;6~, kf4=\E[14~, kf40=\E[21;6~,
18001262685Sdelphij	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
18002262685Sdelphij	kich1=\E[@, knp=\E[U, kpp=\E[V, lf0@, lf1@, lf2@, lf3@, lf4@, lf5@,
18003262685Sdelphij	use=minix-3.0,
18004262685Sdelphij
18005262685Sdelphijminix-3.0|minix console (v3.0),
18006262629Sdelphij	use=ecma+color, use=minix-1.7,
18007262629Sdelphij
18008262629Sdelphij# See
18009262629Sdelphij#	http://www.minix-vmd.org/pub/Minix-vmd/1.7.0/wwwman/man4/console.4.html
1801050276Speter# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
18011262629Sdelphijminix-1.7|minix console (v1.7),
18012166124Srafan	am, xenl,
18013166124Srafan	cols#80, it#8, lines#25,
18014166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
18015166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
18016166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18017166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
18018262629Sdelphij	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, el1=\E[2K,
18019262629Sdelphij	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
18020262629Sdelphij	il1=\E[L, ind=^J, is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18021262629Sdelphij	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U,
18022262629Sdelphij	kf3=\E[T, kf4=\E[S, kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp,
18023262629Sdelphij	lf2=PgDn, lf3=Num +, lf4=Num -, lf5=Num 5, nel=^M^J,
18024262629Sdelphij	rev=\E[7m, ri=\EM, rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m,
18025262629Sdelphij	smso=\E[7m, smul=\E[4m,
1802650276Speter# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
18027262629Sdelphijminix-old|minix-1.5|minix console (v1.5),
18028166124Srafan	xon,
18029166124Srafan	cols#80, it#8, lines#25,
18030166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
18031166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
18032166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18033166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
18034166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
18035166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
18036166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
18037166124Srafan	kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
18038166124Srafan	khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
18039166124Srafan	rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1804050276Speter# The linewrap option can be specified by editing /usr/include/minix/config.h
1804150276Speter# before recompiling the minix 1.5 kernel.
18042166124Srafanminix-old-am|minix console with linewrap,
18043166124Srafan	am, use=minix-old,
1804450276Speter
18045166124Srafanpc-minix|minix console on an Intel box,
18046262685Sdelphij	use=klone+acs, use=minix-3.0,
1804750276Speter
1804850276Speter# According to the Coherent 2.3 manual, the PC console is similar
1804950276Speter# to a z19. The differences seem to be (1) 25 lines, (2) no status
1805050276Speter# line, (3) standout is broken, (4) ins/del line is broken, (5)
1805150276Speter# has blinking and bold.
18052166124Srafanpc-coherent|pcz19|coherent|IBM PC console running Coherent,
18053166124Srafan	am, mir,
18054166124Srafan	cols#80, it#8, lines#25,
18055166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18056166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
18057166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
18058166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
18059166124Srafan	rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1806050276Speter
1806150276Speter# According to the Venix 1.1 manual, the PC console is similar
18062166124Srafan# to a DEC vt52.  Differences seem to be (1) arrow keys send
1806350276Speter# different strings, (2) enhanced standout, (3) added insert/delete line.
1806450276Speter# Note in particular that it doesn't have automatic margins.
1806550276Speter# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
1806650276Speter# not described here because this derives from an old termcap entry.
18067166124Srafanpc-venix|venix|IBM PC console running Venix,
18068166124Srafan	cols#80, it#8, lines#25,
18069166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18070166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
18071166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
18072166124Srafan	kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1807350276Speter
1807450276Speter#### Miscellaneous microcomputer consoles
1807550276Speter#
1807650276Speter# If you know anything more about any of these, please tell me.
1807750276Speter#
1807850276Speter
1807950276Speter# The MAI Basic Four computer was obsolete at the end of the 1980s.
18080166124Srafan# It may be used as a terminal by putting it in "line" mode as seen on
1808150276Speter# one of the status lines.
18082166124Srafan# Initialization is similar to CIT80. <is2> will set ANSI mode for you.
1808350276Speter# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
18084166124Srafan# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
1808550276Speter# used \ED instead.
1808650276Speter# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
18087166124Srafanmai|basic4|MAI Basic Four in ansi mode,
18088166124Srafan	am, da, db, mir, msgr,
18089166124Srafan	cols#82, it#8, lines#25,
18090166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
18091166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
18092166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
18093166124Srafan	dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
18094166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED,
18095166124Srafan	is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
18096166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
18097166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
18098166124Srafan	kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
18099166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
18100166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m,
1810150276Speter# basis from Peter Harrison, Computer Graphics Lab, San Francisco
1810250276Speter#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
1810362449Speter#
1810462449Speter# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
1810562449Speter# The Basis 108 was a Apple II clone, manufactured by the "Basis
18106166124Srafan# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
1810762449Speter# about 1,5 km from where I live, but doesn't build own computers any
1810862449Speter# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
1810962449Speter# equipped with one or two 5.25" disk drives, had a monochrome and colour
1811062449Speter# video output for a TV set or a dedicated monitor and several slots for
1811162449Speter# Apple II cards. Basis 108 were quite popular at german schools before
1811262449Speter# the advent of the IBM PC. They run, for example, the UCSD Pascal
1811362449Speter# development system (which I used even in 1993 to program the steering
1811462449Speter# and data recording for our school's experimental solar panel :), Apple DOS
1811562449Speter# or CP/M.
1811650276Speter# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
18117166124Srafanbasis|BASIS108 computer with terminal translation table active,
18118166124Srafan	clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
18119166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
18120166124Srafan	smso=\E(, use=adm3a,
1812150276Speter# luna's BMC terminal emulator
18122166124Srafanluna|luna68k|LUNA68K Bitmap console,
18123166124Srafan	cols#88, lines#46, use=ansi-mini,
18124166124Srafanmegatek|pegasus workstation terminal emulator,
18125166124Srafan	am, os,
18126166124Srafan	cols#83, lines#60,
18127166124Srafan# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
1812850276Speter# interface (pre-Macintosh by several years) that went nowhere.
18129166124Srafanxerox820|x820|Xerox 820,
18130166124Srafan	am,
18131166124Srafan	cols#80, lines#24,
18132166124Srafan	bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
18133166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
18134166124Srafan	home=^^, ind=^J,
1813550276Speter
1813650276Speter#### Videotex and teletext
1813750276Speter#
1813850276Speter
1813950276Speter# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
1814050276Speter# \E[?3l	80 columns
1814150276Speter# \E[?4l	scrolling on
1814250276Speter# \E[12h	local echo off
1814350276Speter# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
1814450276Speter# \E)0		G1 DEC set (line graphics)
1814550276Speter#
1814650276Speter# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
18147166124Srafanm2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
18148166124Srafan	OTbs, eslok, hs, xenl,
18149166124Srafan	cols#80, it#8, lines#24, wsl#72, xmc#0,
18150166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
18151166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
18152166124Srafan	cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
18153166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
18154166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18155166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
18156166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
18157166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>,
18158166124Srafan	is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
18159166124Srafan	is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
18160166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
18161166124Srafan	kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
18162166124Srafan	kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
18163166124Srafan	kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
18164166124Srafan	mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
18165166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
18166166124Srafan	rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
18167166124Srafan	smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
18168166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n,
1816950276Speter
1817050276Speter# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
1817150276Speter#
18172166124Srafanminitel1|minitel 1,
18173166124Srafan	am, bw, eslok, hs, hz, msgr,
18174166124Srafan	colors#8, cols#40, lines#24, pairs#8,
18175166124Srafan	acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
18176166124Srafan	cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
18177166124Srafan	cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
18178166124Srafan	enacs=^Y, fsl=^J, home=^^, ind=^J,
18179166124Srafan	is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
18180166124Srafan	rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
18181166124Srafan	setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
18182166124Srafan	sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
18183166124Srafan	sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
1818450276Speter# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
18185166124Srafanminitel1b|minitel 1-bistandard (in 40cols mode),
18186166124Srafan	mir,
18187166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
18188166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
18189166124Srafan	dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
18190166124Srafan	is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
18191166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
18192166124Srafan	kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
18193166124Srafan	smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1,
1819450276Speter# <rmkx> posait des problemes (logout en sortant de vi).
18195166124Srafanminitel1b-80|minitel 1-bistandard (standard teleinformatique),
18196166124Srafan	am@, bw@, hz@,
18197166124Srafan	colors@, cols#80, it#8, pairs@,
18198166124Srafan	blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
18199166124Srafan	clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
18200166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
18201166124Srafan	ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
18202166124Srafan	kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
18203166124Srafan	kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
18204166124Srafan	ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
18205166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
18206166124Srafan	sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b,
1820750276Speter
1820850276Speter######## OBSOLETE VDT TYPES
1820950276Speter#
1821050276Speter# These terminals are *long* dead -- these entries are retained for
1821150276Speter# historical interest only.
1821250276Speter
1821350276Speter#### Amtek Business Machines
1821450276Speter#
1821550276Speter
1821650276Speter# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
1821750276Speter# but these caps were commented out in 8.3; also, removed overridden
1821850276Speter# ":do=^J:" -- esr)
18219166124Srafanabm80|amtek business machines 80,
18220166124Srafan	OTbs, am, bw,
18221166124Srafan	cols#80, lines#24,
18222166124Srafan	cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
18223166124Srafan	cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
18224166124Srafan	dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1822550276Speter
1822650276Speter#### Bell Labs blit terminals
1822750276Speter#
18228166124Srafan# These were AT&T's official entries.  The 5620 FAQ maintained by
1822950276Speter# David Breneman <daveb@dgtl.com> has this to say:
1823050276Speter#
1823150276Speter#  Actually, in the beginning was the Jerq, and the Jerq was white with a
1823250276Speter#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
1823350276Speter#  was good.  But lo, upon the horizon loomed a mighty management-type person
1823450276Speter#  (known now only by the initials VP) who said, the mighty Jerq must stay
1823550276Speter#  alone, and could not go forth into the world. So Locanthi and Pike put the
1823650276Speter#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
1823750276Speter#  world. And the Jerq lived the rest of its days in research, but never
1823850276Speter#  strayed from those paths.
1823950276Speter#
1824050276Speter#  In all seriousness, the Blit was originally known as the Jerq, but when
1824150276Speter#  it started to be shown outside of the halls of the Bell Labs Research
1824250276Speter#  organization, the management powers that be decided that the name could
1824350276Speter#  not remain. So it was renamed to be Blit. This was in late 1981.
1824450276Speter#
1824550276Speter# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
1824650276Speter# 730, and 730+.)
1824750276Speter#
1824850276Speter
18249166124Srafanblit|jerq|blit running teletype rom,
18250166124Srafan	am, eo, ul, xon,
18251166124Srafan	cols#87, it#8, lines#72,
18252166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
18253166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
18254166124Srafan	dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
18255166124Srafan	dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
18256166124Srafan	il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
18257166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
1825850276Speter
1825950276Speter# (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
18260166124Srafancbblit|fixterm|blit running columbus code,
18261166124Srafan	cols#88,
18262166124Srafan	ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
18263166124Srafan	rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
18264166124Srafan	smul=\EU", use=blit,
1826550276Speter
18266166124Srafanoblit|ojerq|first version of blit rom,
18267166124Srafan	am, da, db, eo, mir, ul, xon,
18268166124Srafan	cols#88, it#8, lines#72,
18269166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
18270166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
18271166124Srafan	dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
18272166124Srafan	ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
18273166124Srafan	smir=\EQ,
1827450276Speter
1827550276Speter#### Bolt, Beranek & Newman (bbn)
1827650276Speter#
1827750276Speter# The BitGraph was a product of the now-defunct BBN Computer Corporation.
1827850276Speter# The parent company, best known as the architects of the Internet, is
1827950276Speter# still around.
1828050276Speter#
1828150276Speter# Jeff DelPapa <dp@world.std.com> writes:
1828250276Speter# The bitgraph was a large white box that contained a monochrome bitmap
1828350276Speter# display, and a 68000 to run it.  You could download code and run it on
1828450276Speter# the cpu, it had 128kb (I think) of memory.  I used one in the late
1828550276Speter# 70's, sure beat a vt100.  It had one strange feature tho -- it used
1828650276Speter# the cpu to bitblt pixels to scroll, it took longer than the refresh
1828750276Speter# rate, and looked like a rubber sheet stretching, then snapping
1828850276Speter# upwards.  It had everything the early mac had, except a floppy drive a
1828950276Speter# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
1829050276Speter# Beranek and Neuman) sold at most a few hundred of them to the real
1829150276Speter# world.  DOD may have bought more...
18292166124Srafan#
1829350276Speter
18294166124Srafan# Entries for the BitGraph terminals.  The problem
18295166124Srafan# with scrolling in vi can only be fixed by getting BBN to put
18296166124Srafan# smarter scroll logic in the terminal or changing vi or padding
1829750276Speter# scrolls with about 500 ms delay.
18298166124Srafan#
18299166124Srafan# I always thought the problem was related to the terminal
18300166124Srafan# counting newlines in its input buffer before scrolling and
18301166124Srafan# then moving the screen that much. Then vi comes along and
18302166124Srafan# paints lines in on the bottom line of the screen, so you get
1830350276Speter# this big white gap.
1830450276Speter
18305166124Srafanbitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
18306166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
18307166124Srafan	use=bg2.0,
18308166124Srafanbg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
18309166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
18310166124Srafan	use=bg2.0,
18311166124Srafanbg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
18312166124Srafan	OTbs, xenl,
18313166124Srafan	cols#85, lines#64,
18314166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M,
18315166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
18316166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
18317166124Srafan	ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
18318166124Srafan	ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
18319166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
18320166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
18321166124Srafan	sgr0=\E[m, smkx=\E=, smso=\E[7m,
1832250276Speter
18323166124Srafanbg1.25rv|bbn bitgraph 1.25 (reverse video),
18324166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
18325166124Srafan	use=bg1.25,
18326166124Srafanbg1.25nv|bbn bitgraph 1.25 (normal video),
18327166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
18328166124Srafan	use=bg1.25,
1832950276Speter# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
18330166124Srafanbg1.25|bbn bitgraph 1.25,
18331166124Srafan	cols#85, lines#64,
18332166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
18333166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
18334166124Srafan	dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
18335166124Srafan	il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
18336166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
18337166124Srafan	lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
18338166124Srafan	rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
18339166124Srafan	smso=\E[7m,
1834050276Speter
1834162449Speter#### Bull (bq, dku, vip)
1834262449Speter#
1834362449Speter# (Adapted for terminfo; AIX extension capabilities translated -- esr)
1834462449Speter
1834562449Speter#============================================#
1834662449Speter# BULL QUESTAR 210 `SDP' terminals emulation #
1834762449Speter#============================================#
1834862449Speter#
1834962449Speter# Description written by R.K.Saunders (Bull Transac)
1835062449Speter#
1835162449Speter# Modifications written by F. Girard (Bull MTS)
1835262449Speter#		19-05-87 V02.00.01
1835362449Speter#		17-12-87 V02.00.02
1835462449Speter#		15-09-89 V02.00.05
1835562449Speter#
1835662449Speter#	Typical technical selections F1 (modes SDP/ROLL):
1835762449Speter# -------------------------------------------------------
1835862449Speter# |   01   02   03   04   05   06   07   08   09   10   |
1835962449Speter# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
1836062449Speter# |                                                     |
1836162449Speter# |   11   12   13   14   15   16   17   18   19   20   |
1836262449Speter# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
1836362449Speter# |                                                     |
1836462449Speter# |   21   22   23   24   25   26   27   28   29   30   |
1836562449Speter# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
1836662449Speter# |                                                     |
1836762449Speter# |   31   32   33   34   35   36   37   38   39   40   |
1836862449Speter# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
1836962449Speter# -------------------------------------------------------
1837062449Speter#	Typical firmware identification F5 "etat 6":
1837162449Speter#  P287.02.04b	(AZERTY)
1837262449Speter#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
1837362449Speter#  P298.03.03	(monochrome)	or P374.03.02	(colour)
1837462449Speter#
1837562449Speter#	SM SDP mode (VIP command):	^[[?=h
1837662449Speter#	RIS (erases screen):		^[c
1837762449Speter#	DMI disable keyboard:		^[`
1837862449Speter#	SM double rendition mode:	^[[?>h
1837962449Speter#	RM solicited status mode:	^[[5l
1838062449Speter#	RM character mode:		^[[>l
1838162449Speter#	RM echoplex mode:		^[[12l
1838262449Speter#	RM column tab mode:		^[[18l
1838362449Speter#	RM forbid SS2 keyboard mode:	^[[?<l
1838462449Speter#	SM scroll mode:			^[[=h
1838562449Speter#	FCF enable XON/XOFF:		^[P1s^[\
1838662449Speter#	MTL select end msg character:	^[[^Wp
1838762449Speter#	EMI enable keyboard:		^[b
1838862449Speter#	RIS retour etat initial:	^[c
1838962449Speter#	enable FC keypad:		^[[?<h,
1839062449Speter#	MPW map status line window:	^[PY99:98^[\
1839162449Speter#	SCP select status line:		^[[0;98v
1839262449Speter#	ED erase entire partition:	^[[2J
1839362449Speter#	SCP select main partition:	^[[v
1839462449Speter#	SM character insertion mode:	^[[4h
1839562449Speter#	RM character replacement mode:	^[[4l
1839662449Speter#	COO cursor on:			^[[r
1839762449Speter#	COO cursor off:			^[[1r
1839862449Speter#	SGR dim (turquoise) rev attr:	^[[2;7m
1839962449Speter#	SGR Data normal attr:		^[[m
1840062449Speter#	SO Line-graphic mode ON:	^N
1840162449Speter#	SI Line-graphic mode OFF:	^O
1840262449Speter#	MC start routing to printer:	^[[5i
1840362449Speter#	MC stop routing to printer:	^M^[[4i
1840462449Speter#
1840562449Speter
1840662449Speter# This entry covers the following terminals:
1840762449Speter# dku7102, tws2102, and tws models 2105 to 2112
18408166124Srafantws-generic|dku7102|Bull Questar tws terminals,
18409166124Srafan	am, eslok, hs, mir, msgr, xenl, xhp@, xon,
18410166124Srafan	cols#80, it#8, lines#24, wsl#80,
18411166124Srafan	acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~,
18412166124Srafan	bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J,
18413166124Srafan	cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
18414166124Srafan	cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
18415166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
18416166124Srafan	dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M,
18417166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K,
18418166124Srafan	fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL,
18419166124Srafan	il1=\E[L, ind=^J, invis=\E[0;8m,
18420166124Srafan	is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\,
18421166124Srafan	is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p,
18422166124Srafan	is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D,
18423166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
18424166124Srafan	ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027,
18425166124Srafan	kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027,
18426166124Srafan	kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H,
18427166124Srafan	khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i,
18428166124Srafan	mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O,
18429166124Srafan	rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m,
18430166124Srafan	rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
18431166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
18432166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
18433262629Sdelphij	smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
18434166124Srafan	tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
18435166124Srafantws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
18436166124Srafan	dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
18437166124Srafan	use=tws-generic,
18438166124Srafantws2103|xdku|BULL Questar tws2103,
18439166124Srafan	ht=^I, use=tws-generic,
18440166124Srafantws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA,
18441166124Srafan	ht=^I, use=tws2102-sna,
18442166124Srafandku7102-old|BULL Questar 200 DKU7102 (microcode version < 6),
18443166124Srafan	clear=\E[2J\E[H, cup@, dl@, dl1@,
18444166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m,
18445166124Srafan	il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m,
18446166124Srafan	use=tws-generic,
18447166124Srafandku7202|BULL Questar 200 DKU7202 (colour/character attributes),
18448166124Srafan	blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
18449262685Sdelphij	sgr=\E[0%?%p1%t;2;4;5;7%;%?%p3%t;7%;%?%p2%t;2%;%?%p4%t;2;4%;%?%p5%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
18450166124Srafan	smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
1845162449Speter
1845262449Speter#=========================================================#
1845362449Speter# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
1845462449Speter#=========================================================#
1845562449Speter#
1845662449Speter# Description written by J. Staerck (BULL SA)
1845762449Speter#       Copyright (c) 1989 BULL SA
1845862449Speter#---------------------------------------------------------------------------
1845962449Speter#  This entry is used for terminals with vt320 emulation mode
18460166124Srafan#  and following set-up :
1846162449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
18462166124Srafan#    7 bit Control Characters,
18463166124Srafan#    80 columns screen.
1846462449Speter#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
1846562449Speter#  They are used in string capabilities with vt220-320 emulation mode.
1846662449Speter#  In the following DEC definitions, two kinds of terminfo databases are
1846762449Speter#    provided :
18468166124Srafan#    1. the first with Command Sequence Introducer starting with escape
1846962449Speter#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
18470166124Srafan#    2. the second with Command Sequence Introducer starting with escape
1847162449Speter#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
1847262449Speter#	Soft Terminal Reset		esc [ ! p
1847362449Speter#	RIS (erases screen):		esc c
1847462449Speter#	DECKPNM numeric keypad mode:	esc >
1847562449Speter#	DECKPAM applic. keypad mode:	esc =
1847662449Speter#	DECSTBM Scrolling region:	esc [ r
1847762449Speter#	SCS select G0 = US:		esc ( B
1847862449Speter#	SCS select G1 = line-graphic:	esc ) 0
1847962449Speter#	Select 7-bit C1 controls:	esc sp F
1848062449Speter#	Select 8-bit C1 controls:	esc sp G
1848162449Speter#	Select cursor home:		esc [  H
1848262449Speter#	Select erase screen:		esc [  J
1848362449Speter#	SM KAM lock keyboard:		esc [ 2 h
1848462449Speter#	RM KAM unlock keyboard:		esc [ 2 l
1848562449Speter#	SM SRM local echo off:		esc [ 1 2 h
1848662449Speter#	RM SRM local echo on:		esc [ 1 2 l
1848762449Speter#	SM LNM New line :		esc [ 2 0 h
1848862449Speter#	RM LNM return = CR only:	esc [ 2 0 l
1848962449Speter#	SM DECCKM cursor keys mode:	esc [ ? 1 h
1849062449Speter#	RM DECCKM appli. keys mode:	esc [ ? 1 l
1849162449Speter#	SM DECANM ANSI mode on:		esc [ ? 2 h
1849262449Speter#	RM DECANM ANSI mode off:	esc [ ? 2 l
1849362449Speter#	SM DECCOLM 132-column screen:	esc [ ? 3 h
1849462449Speter#	RM DECCOLM 80-column screen:	esc [ ? 3 l
1849562449Speter#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
1849662449Speter#	RM DECSCLM Jump scroll:		esc [ ? 4 l
1849762449Speter#	SM DECSCNM screen light backgr.	esc [ ? 5 h
1849862449Speter#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
1849962449Speter#	SM DECOM move within margins:	esc [ ? 6 h
1850062449Speter#	RM DECOM move outside margins:	esc [ ? 6 l
1850162449Speter#	SM DECAWM auto right margin:	esc [ ? 7 h
1850262449Speter#	RM DECAWM auto right margin:	esc [ ? 7 l
1850362449Speter#	SM DECARM auto repeat:		esc [ ? 8 h
1850462449Speter#	RM DECARM auto repeat:		esc [ ? 8 l
18505166124Srafan#	DECSASD Select active main:	esc [ 0 $ }
18506166124Srafan#	DECSASD Select active status:	esc [ 1 $ }
18507166124Srafan#	DECSSDT Select status none:	esc [ 0 $ ~
18508166124Srafan#	DECSSDT Select status indic.:	esc [ 1 $ ~
18509166124Srafan#	DECSSDT Select status host-wr:	esc [ 2 $ ~
1851062449Speter#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
1851162449Speter#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
1851262449Speter#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
1851362449Speter#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
1851462449Speter#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
1851562449Speter#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
1851662449Speter#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
1851762449Speter#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
1851862449Speter#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
1851962449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
1852062449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
1852162449Speter#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
1852262449Speter#	Char. and Line attributes:	esc [ Ps ... Ps m
1852362449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1852462449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1852562449Speter#
1852662449Speter
1852762449Speter# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
18528166124Srafanbq300|Bull vt320 ISO Latin 1 80 columns terminal,
18529262685Sdelphij	am, eo, eslok, hs, km, mir, msgr, xenl, xon,
18530166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
18531166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18532166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
18533166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
18534166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
18535166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
18536166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18537166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
18538166124Srafan	dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, ed=\E[J,
18539166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
18540166124Srafan	flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
18541166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
18542166124Srafan	is1=\E[63;1"p\E[2h,
18543166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18544166124Srafan	is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy,
18545166124Srafan	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
18546166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
18547166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
18548166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
18549166124Srafan	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
18550166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
18551166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
18552166124Srafan	krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
18553262685Sdelphij	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B, rmam=\E[?7l,
18554262685Sdelphij	rmcup=\E[?7h, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
18555262685Sdelphij	rmul=\E[24m, rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0,
18556262685Sdelphij	sc=\E7,
18557166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
18558166124Srafan	sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
18559166124Srafan	smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
18560262685Sdelphij	smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~, use=ansi+pp,
18561166124Srafanbq300-rv|Bull vt320 reverse 80 columns,
18562166124Srafan	flash=\E[?5l$<50>\E[?5h,
18563166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18564166124Srafan	use=bq300,
18565166124Srafanbq300-w|Bull vt320 132 columns,
18566166124Srafan	cols#132, wsl#132,
18567166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18568166124Srafan	rs2=\E[?3h, use=bq300,
18569166124Srafanbq300-w-rv|Bull vt320 reverse mode 132 columns,
18570166124Srafan	cols#132, wsl#132,
18571166124Srafan	flash=\E[?5l$<50>\E[?5h,
18572166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18573166124Srafan	rs2=\E[?3h, use=bq300,
1857462449Speter
1857562449Speter#  This entry is used for terminals with vt320 emulation mode
18576166124Srafan#  and following set-up :
1857762449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
1857862449Speter#    8 bit Control Characters, (CSI coded as x9B for ESC [)
18579166124Srafan#    80 columns screen.
1858062449Speter#	Soft Terminal Reset		csi ! p
1858162449Speter#	RIS (erases screen):		esc c
1858262449Speter#	DECKPNM numeric keypad mode:	esc >
1858362449Speter#	DECKPAM applic. keypad mode:	esc =
1858462449Speter#	DECSTBM Scrolling region:	esc [ r
1858562449Speter#	SCS select G0 = US:		esc ( B
1858662449Speter#	SCS select G1 = line-graphic:	esc ) 0
1858762449Speter#	Select 7-bit C1 controls:	esc sp F
1858862449Speter#	Select 8-bit C1 controls:	esc sp G
1858962449Speter#	Select cursor home:		csi H
1859062449Speter#	Select erase screen:		csi J
1859162449Speter#	SM KAM lock keyboard:		csi 2 h
1859262449Speter#	RM KAM unlock keyboard:		csi 2 l
1859362449Speter#	SM SRM local echo off:		csi 1 2 h
1859462449Speter#	RM SRM local echo on:		csi 1 2 l
1859562449Speter#	SM LNM New line :		csi 2 0 h
1859662449Speter#	RM LNM return = CR only:	csi 2 0 l
1859762449Speter#	SM DECCKM cursor keys mode:	csi ? 1 h
1859862449Speter#	RM DECCKM appli. keys mode:	csi ? 1 l
1859962449Speter#	SM DECANM ANSI mode on:		csi ? 2 h
1860062449Speter#	RM DECANM ANSI mode off:	csi ? 2 l
1860162449Speter#	SM DECCOLM 132-column screen:	csi ? 3 h
1860262449Speter#	RM DECCOLM 80-column screen:	csi ? 3 l
1860362449Speter#	SM DECSCLM Smooth scroll:	csi ? 4 h
1860462449Speter#	RM DECSCLM Jump scroll:		csi ? 4 l
1860562449Speter#	SM DECSCNM screen light backgr.	csi ? 5 h
1860662449Speter#	RM DECSCNM screen dark backgr.	csi ? 5 l
1860762449Speter#	SM DECOM move within margins:	csi ? 6 h
1860862449Speter#	RM DECOM move outside margins:	csi ? 6 l
1860962449Speter#	SM DECAWM auto right margin:	csi ? 7 h
1861062449Speter#	RM DECAWM auto right margin:	csi ? 7 l
1861162449Speter#	SM DECARM auto repeat:		csi ? 8 h
1861262449Speter#	RM DECARM auto repeat:		csi ? 8 l
18613166124Srafan#	DECSASD Select active main:	csi 0 $ }
18614166124Srafan#	DECSASD Select active status:	csi 1 $ }
18615166124Srafan#	DECSSDT Select status none:	csi 0 $ ~
18616166124Srafan#	DECSSDT Select status indic.:	csi 1 $ ~
18617166124Srafan#	DECSSDT Select status host-wr:	csi 2 $ ~
1861862449Speter#	SM DECTCEM Visible cursor:	csi ? 2 5 h
1861962449Speter#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
1862062449Speter#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
1862162449Speter#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
1862262449Speter#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
1862362449Speter# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
1862462449Speter#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
1862562449Speter#	Char. and Line attributes:	csi Ps ... Ps m
1862662449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1862762449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1862862449Speter# (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
18629166124Srafanbq300-8|Bull vt320 full 8 bits 80 columns,
18630166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
18631166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
18632166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18633166124Srafan	bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l,
18634166124Srafan	clear=\233H\233J, cnorm=\233?25h, cr=^M,
18635262629Sdelphij	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=\2331D,
18636262629Sdelphij	cud=\233%p1%dB, cud1=\2331B, cuf=\233%p1%dC, cuf1=\2331C,
18637262629Sdelphij	cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\2331A,
18638262685Sdelphij	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
18639166124Srafan	dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
18640166124Srafan	el=\233K, el1=\2331K, enacs=\E(B\E)0,
18641166124Srafan	flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
18642262685Sdelphij	ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, il1=\233L,
18643262685Sdelphij	ind=\ED, is1=\E[63;2"p\E[2h,
18644166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18645166124Srafan	is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
18646166124Srafan	ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
18647166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
18648166124Srafan	kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~,
18649166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
18650166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
18651166124Srafan	kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~,
18652166124Srafan	kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~,
18653166124Srafan	khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
18654166124Srafan	krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
18655166124Srafan	lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
18656262685Sdelphij	rev=\2337m, ri=\EM, rmacs=\E(B, rmam=\233?7l,
18657262685Sdelphij	rmcup=\233?7h, rmir=\2334l, rmkx=\233?1l\E>,
18658262685Sdelphij	rmso=\23327m, rmul=\23324m, rs1=\E[!p, rs2=\E[?3l,
18659262685Sdelphij	s0ds=\E(B, s1ds=\E(0, sc=\E7,
18660166124Srafan	sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;,
18661262685Sdelphij	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
18662166124Srafan	smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
18663166124Srafan	smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
18664166124Srafanbq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
18665166124Srafan	flash=\233?5l$<50>\233?5h,
18666166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18667166124Srafan	use=bq300-8,
18668166124Srafanbq300-8w|Bull vt320 8-bit 132 columns,
18669166124Srafan	cols#132, wsl#132,
18670166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18671166124Srafan	rs2=\233?3h, use=bq300-8,
18672166124Srafanbq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns,
18673166124Srafan	cols#132, wsl#132,
18674166124Srafan	flash=\233?5l$<50>\233?5h,
18675166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18676166124Srafan	rs2=\233?3h, use=bq300-8,
1867762449Speter
1867862449Speter#  This entry is used for terminals with vt320 emulation mode
18679166124Srafan#  a 102 keys keyboard (PC scancode !) and following set-up :
1868062449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
18681166124Srafan#    7 bit Control Characters,
18682166124Srafan#    80 columns screen.
18683166124Srafanbq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
18684166124Srafan	kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
18685166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@,
18686166124Srafan	kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~,
18687166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
18688166124Srafan	kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
18689166124Srafan	krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300,
18690166124Srafanbq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
18691166124Srafan	flash=\E[?5l$<50>\E[?5h,
18692166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18693166124Srafan	use=bq300-pc,
18694166124Srafanbq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
18695166124Srafan	cols#132, wsl#132,
18696166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18697166124Srafan	rs2=\E[?3h, use=bq300-pc,
18698166124Srafanbq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns,
18699166124Srafan	cols#132, wsl#132,
18700166124Srafan	flash=\E[?5l$<50>\E[?5h,
18701166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
18702166124Srafan	rs2=\E[?3h, use=bq300-pc,
1870362449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
18704166124Srafan#    8 bit Control Characters,
18705166124Srafan#    80 columns screen.
18706166124Srafanbq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
18707166124Srafan	kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~,
18708166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@,
18709166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@,
18710166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
18711166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@,
18712166124Srafan	khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@,
18713166124Srafan	kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8,
18714166124Srafanbq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
18715166124Srafan	flash=\E[?5l$<50>\E[?5h,
18716166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18717166124Srafan	use=bq300-8-pc,
18718166124Srafanbq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
18719166124Srafan	cols#132, wsl#132,
18720166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18721166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
18722166124Srafanbq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
18723166124Srafan	cols#132, wsl#132,
18724166124Srafan	flash=\E[?5l$<50>\E[?5h,
18725166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18726166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
1872762449Speter
1872862449Speter#======================================================#
1872962449Speter# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
1873062449Speter#======================================================#
1873162449Speter
1873262449Speter# normal mode, 8 bits, 80 columns terminal.
1873362449Speter#	RES reset :			^[e
1873462449Speter#	RIS reset initial state:	^[c
1873562449Speter#	BLE bell enable			^[h
1873662449Speter#	BLD bell disable		^[g
1873762449Speter#	CAMS char. attr. mode set	^[[D
1873862449Speter#	CAMR char. attr. mode reset	^[[G
1873962449Speter#	CLR clear			^[`
1874062449Speter#	KBU keyboard unlock (set)	^[[W
1874162449Speter#	KBL keyboard lock (reset)	^[[X
1874262449Speter#	CM  character mode (async.) 	^[k
1874362449Speter#	NEP non echoplex mode (by host)	^[l
1874462449Speter#	EP  echoplex mode (by host) 	^[m
1874562449Speter#	IM  insert mode set		^[[I
1874662449Speter#	IM  insert mode reset 		^[[J
1874762449Speter#	RMS roll mode set 		^[r
1874862449Speter#	RMR roll mode reset 		^[q
1874962449Speter#	SM78 set mode vip7800	 	^[[1q
1875062449Speter#	SD  scroll up  	(72 lines) 	^[[0s
1875162449Speter#	SD  scroll down	(72 lines) 	^[[1s
1875262449Speter#	RBM block mode reset		^[[E
1875362449Speter#	SLS status line set 		^[w
1875462449Speter#	SLR status line reset 		^[v
1875562449Speter#	SLL status line lock 		^[O
1875662449Speter#	LGS Line-graphic mode set 	^[G
1875762449Speter#	LGR Line-graphic mode reset 	^[F
1875862449Speter#	TBC tab clear (at cursor pos.)	^[[g
1875962449Speter#	TBI tab initialize 		^[[N
1876062449Speter#	TBS tab set (at cursor pos.)	^[p
1876162449Speter#	PDS  print data space		^[[0p
1876262449Speter#	PHD  print host data 		^[[3p
1876362449Speter#	PDT  print data terminator	^[[<p
1876462449Speter#	PRES print adapter reset	^[[2p
1876562449Speter#	SSPR multi-part. reset		^[[<>u
1876662449Speter#	SSP0 partition 0 set		^[[00u
1876762449Speter#	SSP1 partition n format 1 	^[[PnPnSTRINGu
1876862449Speter#	SSP2 partition n format 2 	^[[PnPnSTRINGu
1876962449Speter#	SSP3 partition n format 3 	^[[PnPnu
1877062449Speter#	ATR attribute (visual)
1877162449Speter#	    blink :			^[sB
1877262449Speter#	    dim :			^[sL
1877362449Speter#	    hide (blank) :		^[sH
1877462449Speter#	    restore :			^[sR
1877562449Speter#	    inverse video :		^[sI
1877662449Speter#	    prot. :			^[sP
1877762449Speter#	    underline :			^[s_
1877862449Speter#	    reset :			^{
1877962449Speter#
1878062449Speter# This covers the vip7800 and BQ3155-vip7800
18781166124Srafanvip|Bull Questar 3155-7800,
18782166124Srafan	am, eslok, hs, km, mc5i, msgr, xenl, xon,
18783166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
18784166124Srafan	acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB,
18785166124Srafan	cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18786166124Srafan	cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL,
18787166124Srafan	dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK,
18788166124Srafan	flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I,
18789166124Srafan	hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH,
18790166124Srafan	is2=\E[00u\E[<>001001024080024080u\E[01u,
18791166124Srafan	is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H,
18792166124Srafan	kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB,
18793166124Srafan	kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ,
18794166124Srafan	kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@,
18795166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1,
18796166124Srafan	kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?,
18797166124Srafan	kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_,
18798166124Srafan	kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER,
18799166124Srafan	khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s,
18800166124Srafan	kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1,
18801166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p,
18802166124Srafan	mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI,
18803166124Srafan	ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR,
18804166124Srafan	rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG,
18805166124Srafan	sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI,
18806166124Srafan	smul=\Es_, tbc=\E[N, tsl=\Ew,
1880762449Speter# normal screen, 8 bits, 132 columns terminal.
18808166124Srafanvip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide,
18809166124Srafan	cols#132, wsl#132,
18810166124Srafan	is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip,
18811166124Srafanvip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines,
18812166124Srafan	lines#72,
18813166124Srafan	is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip,
18814166124Srafanvip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines,
18815166124Srafan	cols#132, lines#72, wsl#132,
18816166124Srafan	is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip,
1881762449Speter
1881850276Speter#### Chromatics
1881950276Speter#
1882050276Speter
18821166124Srafan# I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
18822166124Srafan# that is smaller than the screen, and puts up a warning message
18823166124Srafan# outside the window. Te erases the warning message, puts the
1882450276Speter# window back to be the whole screen, and puts the cursor at just
18825166124Srafan# below the small window. I defined <cnorm> and <civis> to really turn
18826166124Srafan# the cursor on and off, but I have taken this out since I don't
18827166124Srafan# like the cursor being turned off when vi exits.
18828166124Srafancg7900|chromatics|chromatics 7900,
18829166124Srafan	am,
18830166124Srafan	cols#80, lines#40,
18831166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
18832166124Srafan	cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
18833166124Srafan	ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
18834166124Srafan	rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
18835166124Srafan	rmso=\001C1\,\001c2\,,
18836166124Srafan	smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
18837166124Srafan	smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
1883850276Speter
1883950276Speter#### Computer Automation
1884050276Speter#
1884150276Speter
18842166124Srafanca22851|computer automation 22851,
18843166124Srafan	am,
18844166124Srafan	cols#80, lines#24,
18845166124Srafan	bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
18846166124Srafan	cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
18847166124Srafan	kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
1884850276Speter
1884950276Speter#### Cybernex
1885050276Speter#
1885150276Speter
1885250276Speter# This entry has correct padding and the undocumented "ri" capability
18853166124Srafancyb83|xl83|cybernex xl-83,
18854166124Srafan	OTbs, am,
18855166124Srafan	cols#80, lines#24,
18856166124Srafan	bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
18857166124Srafan	cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
18858166124Srafan	ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
18859166124Srafan	kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
1886050276Speter# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
18861166124Srafancyb110|mdl110|cybernex mdl-110,
18862166124Srafan	OTbs, am,
18863166124Srafan	cols#80, lines#24,
18864166124Srafan	bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
18865166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
18866166124Srafan	dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
18867166124Srafan	ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
18868166124Srafan	ht=\011$<43>, ich1=\016A\035$<3.5>,
18869166124Srafan	il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1887050276Speter
1887150276Speter#### Datapoint
1887250276Speter#
1887350276Speter# Datapoint is gone.  They used to be headquartered in Texas.
1887450276Speter# They created ARCnet, an Ethernet competitor that flourished for a while
1887550276Speter# in the early 1980s before 3COM got wise and cut its prices.  The service
1887650276Speter# side of Datapoint still lives (1995) in the form of Intelogic Trace.
1887750276Speter#
1887850276Speter
18879166124Srafandp3360|datapoint|datapoint 3360,
18880166124Srafan	OTbs, am,
18881166124Srafan	cols#82, lines#25,
18882166124Srafan	bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
18883166124Srafan	ed=^_, el=^^, home=^], ind=^J,
1888450276Speter
1888550276Speter# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
18886166124Srafan# The Datapoint 8242 Workstation was sold at least between 1985
18887166124Srafan# and 1989. To make the terminal work with this entry, press
18888166124Srafan# CONTROL-INT-INT to take the terminal off-line, and type (opt).
18889166124Srafan# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
18890166124Srafan# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
1889150276Speter# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
1889250276Speter# fact unusable because the strings sent by the terminal conflict
1889350276Speter# with other keys).
1889450276Speter# The terminal is capable of displaying "box draw" characters.
18895166124Srafan# For each graphic character you must send 2 ESC's (\E\E) followed
18896166124Srafan# by a control character as follows:
1889750276Speter#         character        meaning
1889850276Speter#         =========        =======
1889950276Speter#         ctrl-E           top tee
1890050276Speter#         ctrl-F           right tee
1890150276Speter#         ctrl-G           bottom tee
1890250276Speter#         ctrl-H           left tee
1890350276Speter#         ctrl-I           cross
1890450276Speter#         ctrl-J           top left corner
1890550276Speter#         ctrl-K           top right corner
1890650276Speter#         ctrl-L           bottom left corner
1890750276Speter#         ctrl-M           bottom right corner
1890850276Speter#         ctrl-N           horizontal line
1890950276Speter#         ctrl-O           vertical line
18910166124Srafan# Unfortunately this cannot be fitted into the termcap/terminfo
18911166124Srafan# description scheme.
18912166124Srafandp8242|datapoint 8242,
18913166124Srafan	msgr,
18914166124Srafan	cols#80, lines#25,
18915166124Srafan	bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
18916166124Srafan	cr=^M, cub1=^H, cud1=^J,
18917166124Srafan	cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
18918166124Srafan	home=^U, ht=^I, il1=\E^T, ind=^C,
18919166124Srafan	is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18920166124Srafan	kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
18921166124Srafan	kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
18922166124Srafan	kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
18923166124Srafan	rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
18924166124Srafan	rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18925166124Srafan	smso=\E^E, smul=\E^F,
18926166124Srafan	wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1892750276Speter
1892850276Speter#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
1892950276Speter#
1893050276Speter# These entries are DEC's official terminfos for its older terminals.
1893150276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
18932166124Srafan# Engineering for more information.  Updated terminfos and termcaps
1893350276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1893450276Speter#
1893550276Speter
18936166124Srafangt40|dec gt40,
18937166124Srafan	OTbs, os,
18938166124Srafan	cols#72, lines#30,
18939166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18940166124Srafangt42|dec gt42,
18941166124Srafan	OTbs, os,
18942166124Srafan	cols#72, lines#40,
18943166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18944166124Srafanvt50|dec vt50,
18945166124Srafan	OTbs,
18946166124Srafan	cols#80, lines#12,
18947166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18948166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
18949166124Srafanvt50h|dec vt50h,
18950166124Srafan	OTbs,
18951166124Srafan	cols#80, lines#12,
18952166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18953166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18954166124Srafan	el=\EK, ht=^I, ind=^J, ri=\EI,
1895550276Speter# (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
18956166124Srafanvt61|vt-61|vt61.5|dec vt61,
18957166124Srafan	cols#80, lines#24,
18958166124Srafan	bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
18959166124Srafan	cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
18960166124Srafan	cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
18961166124Srafan	ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
18962166124Srafan	ri=\E$<20>I,
1896350276Speter
1896450276Speter# The gigi does standout with red!
1896550276Speter# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
18966166124Srafangigi|vk100|dec gigi graphics terminal,
18967166124Srafan	OTbs, am, xenl,
18968166124Srafan	cols#84, lines#24,
18969166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
18970166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18971166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
18972166124Srafan	el=\E[K, ht=^I, ind=^J,
18973166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
18974166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
18975166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
18976166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18977166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
18978166124Srafan	smul=\E[4m,
1897950276Speter
1898050276Speter# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
1898150276Speter# a PC differentiated from the IBM clones.  It was a total, ludicrous,
1898250276Speter# grossly-overpriced failure (among other things, DEC's OS didn't include
1898350276Speter# a format program, so you had to buy pre-formatted floppies from DEC at
1898450276Speter# a hefty premium!).
18985166124Srafanpro350|decpro|dec pro console,
18986166124Srafan	OTbs,
18987166124Srafan	cols#80, it#8, lines#24,
18988166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18989166124Srafan	clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
18990166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18991166124Srafan	el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18992166124Srafan	kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
18993166124Srafan	kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
18994166124Srafan	rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1899550276Speter
18996166124Srafandw1|decwriter I,
18997166124Srafan	OTbs, hc, os,
18998166124Srafan	cols#72,
18999166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
19000166124Srafandw2|decwriter|dw|decwriter II,
19001166124Srafan	OTbs, hc, os,
19002166124Srafan	cols#132,
19003166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1900450276Speter# \E(B		Use U.S. character set (otherwise # => british pound !)
1900550276Speter# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
1900650276Speter# \E[w   	10 char/in pitch
1900750276Speter# \E[1;132	full width horizontal margins
1900850276Speter# \E[2g		clear all tab stops
1900950276Speter# \E[z		6 lines/in
1901050276Speter# \E[66t	66 lines/page (for \f)
1901150276Speter# \E[1;66r	full vertical page can be printed
1901250276Speter# \E[4g		clear vertical tab stops
1901350276Speter# \E>		disable alternate keypad mode (so it transmits numbers!)
1901450276Speter# \E[%i%p1%du	set tab stop at column %d (origin == 1)
19015166124Srafan#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
1901650276Speter#		a tab stop)
1901750276Speter#
1901850276Speter#       The dw3 does standout with wide characters.
1901950276Speter#
19020166124Srafandw3|la120|decwriter III,
19021166124Srafan	OTbs, hc, os,
19022166124Srafan	cols#132,
19023166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
19024166124Srafan	is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
19025166124Srafan	is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
19026166124Srafan	kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
19027166124Srafandw4|decwriter IV,
19028166124Srafan	OTbs, am, hc, os,
19029166124Srafan	cols#132,
19030166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
19031166124Srafan	kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1903250276Speter
1903350276Speter# These aren't official
19034166124Srafanln03|dec ln03 laser printer,
19035166124Srafan	hc,
19036166124Srafan	cols#80, lines#66,
19037166124Srafan	bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
19038166124Srafan	rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
19039166124Srafan	smul=\E[4m,
19040166124Srafanln03-w|dec ln03 laser printer 132 cols,
19041166124Srafan	cols#132,
19042166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
19043166124Srafan	kcud1=^J, nel=^M^J, use=ln03,
1904450276Speter
1904550276Speter#### Delta Data (dd)
1904650276Speter#
1904750276Speter
1904850276Speter# Untested. The cup sequence is hairy enough that it probably needs work.
1904950276Speter# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
1905050276Speter# There are BSD-derived termcap entries floating around for this puppy
1905150276Speter# that are *certainly* wrong.
19052166124Srafandelta|dd5000|delta data 5000,
19053166124Srafan	OTbs, am,
19054166124Srafan	cols#80, lines#27,
19055166124Srafan	bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
19056166124Srafan	cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
19057166124Srafan	cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
1905850276Speter
1905950276Speter#### Digital Data Research (ddr)
1906050276Speter#
1906150276Speter
1906250276Speter# (ddr: I added <rmam>/<smam> based on the init string -- esr)
19063166124Srafanddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
19064166124Srafan	OTbs, am, xenl,
19065166124Srafan	cols#80, it#8, lines#24, vt#3,
19066166124Srafan	blink=\E[5m$<2/>, bold=\E[1m$<2/>,
19067166124Srafan	clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
19068166124Srafan	cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
19069166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
19070166124Srafan	ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
19071166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
19072166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
19073166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
19074166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
19075166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
19076166124Srafan	sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
19077166124Srafan	smul=\E[4m$<2/>,
1907850276Speter
1907950276Speter#### Evans & Sutherland
1908050276Speter#
1908150276Speter
1908250276Speter# Jon Leech <leech@cs.unc.edu> tells us:
1908350276Speter# The ps300 was the Evans & Sutherland Picture System 300, a high
1908450276Speter# performance 3D vector graphics system with a bunch of specialized hardware.
1908550276Speter# Approximate date of release was 1982 (early 80s, anyway), and it had several
1908650276Speter# evolutions including (limited) color versions such as the PS330C. PS300s
1908750276Speter# were effectively obsolete by the late 80s, replaced by raster graphics
1908850276Speter# systems, although specialized applications like molecular modelling
1908950276Speter# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
1909050276Speter# are out of production, though of course E&S is very much alive (in 1996).
1909150276Speter# (ps300: changed ":pt@:" to "it@" -- esr)
1909250276Speter#
19093166124Srafanps300|Picture System 300,
19094166124Srafan	xt,
19095166124Srafan	it@,
19096166124Srafan	rmso@, rmul@, smso@, smul@, use=vt100,
1909750276Speter
1909850276Speter#### General Electric (ge)
1909950276Speter#
1910050276Speter
19101166124Srafanterminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
19102166124Srafan	OTbs, hc, os,
19103166124Srafan	cols#120,
19104166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1910550276Speter
1910650276Speter#### Heathkit/Zenith
1910750276Speter#
1910850276Speter
1910950276Speter# Here is a description of the H19 DIP switches:
1911050276Speter#
1911150276Speter# S401
1911250276Speter# 0-3 = baud rate as follows:
19113166124Srafan#
1911450276Speter#         3       2       1       0
19115166124Srafan#	---	---	---	---
1911650276Speter#         0       0       1       1       300 baud
1911750276Speter#         0       1       0       1       1200 baud
1911850276Speter#         1       0       0       0       2400 baud
1911950276Speter#         1       0       1       0       4800 baud
1912050276Speter#         1       1       0       0       9600 baud
1912150276Speter#         1       1       0       1       19.2K baud
19122166124Srafan#
1912350276Speter# 4 = parity (0 = no parity)
1912450276Speter# 5 = even parity (0 = odd parity)
1912550276Speter# 6 = stick parity (0 = normal parity)
1912650276Speter# 7 = full duplex (0 = half duplex)
19127166124Srafan#
19128166124Srafan# S402
1912950276Speter# 0 = block cursor (0 = underscore cursor)
1913050276Speter# 1 = no key click (0 = keyclick)
1913150276Speter# 2 = wrap at end of line (0 = no wrap)
1913250276Speter# 3 = auto LF on CR (0 = no LF on CR)
1913350276Speter# 4 = auto CR on LF (0 = no CR on LF)
1913450276Speter# 5 = ANSI mode (0 = VT52 mode)
1913550276Speter# 6 = keypad shifted (0 = keypad unshifted)
1913650276Speter# 7 = 50Hz refresh (1 = 60Hz refresh)
19137166124Srafan#
1913850276Speter# Factory Default settings are as follows:
1913950276Speter#          7 6 5 4 3 2 1 0
1914050276Speter# S401     1 0 0 0 1 1 0 0
1914150276Speter# S402     0 0 0 0 0 0 0 0
1914250276Speter# (h19: I added <rmam>/<smam> based on the init string;
1914350276Speter# also added empty <acsc> to suppress a tic warning -- esr)
19144166124Srafanh19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
19145166124Srafan	OTbs, am, mir, msgr,
19146166124Srafan	cols#80, it#8, lines#24,
19147166124Srafan	acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
19148166124Srafan	cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
19149166124Srafan	cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
19150166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
19151166124Srafan	is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
19152166124Srafan	kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
19153166124Srafan	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
19154166124Srafan	kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
19155166124Srafan	ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
19156166124Srafan	smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
19157166124Srafanh19-bs|heathkit w/keypad shifted,
19158166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-b,
19159166124Srafanh19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
19160166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-u,
1916150276Speter# (h19: merged in <ip> from BSDI hp19-e entry>;
1916250276Speter# also added empty <acsc> to suppress a tic warning --esr)
19163166124Srafan# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
1916450276Speter# Tim tells us that:
1916550276Speter# I have an old Zenith-19 terminal at home that still gets a lot of use.
1916650276Speter# This terminal suffers from the same famous insert-mode padding lossage
1916750276Speter# that has been acknowledged for the Z29 terminal.  Emacs is nearly
1916850276Speter# unusable on this box, since even a half-scroll up or down the window
1916950276Speter# causes flaming terminal death.
19170166124Srafan#
1917150276Speter# On the Z19, the only way I have found around this problem is to remove
1917250276Speter# the :al: and :dl: entries entirely.  No amount of extra padding will
1917350276Speter# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
1917450276Speter# makes Emacs a little slower, but it remains in the land of the living.
1917550276Speter# Big win.
19176166124Srafanh19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
19177166124Srafan	OTbs, am, eslok, hs, mir, msgr,
19178166124Srafan	cols#80, it#8, lines#24,
19179262629Sdelphij	acsc=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\^, bel=^G,
19180174993Srafan	clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
19181174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
19182174993Srafan	dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
19183174993Srafan	ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19184174993Srafan	kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
19185174993Srafan	kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
19186174993Srafan	lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
19187174993Srafan	smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
19188166124Srafanh19-u|heathkit with underscore cursor,
19189166124Srafan	cnorm@, cvvis@, use=h19-b,
19190166124Srafanh19-g|h19g|heathkit w/block cursor,
19191174993Srafan	cnorm=\Ex4, cvvis@, use=h19-b,
19192166124Srafanalto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
19193166124Srafan	lines#60,
19194166124Srafan	dl1=\EM, il1=\EL, use=h19,
1919550276Speter
1919650276Speter# The major problem with the Z29 is that it requires more padding than the Z19.
1919750276Speter#
1919850276Speter# The problem with declaring an H19 to be synonymous with a Z29 is that
1919950276Speter# it needs more padding. It especially loses if a program attempts
1920050276Speter# to put the Z29 into insert mode and insert text at 9600 baud. It
1920150276Speter# even loses worse if the program attempts to insert tabs at 9600
19202166124Srafan# baud. Adding padding to text that is inserted loses because in
1920350276Speter# order to make the Z29 not die, one must add so much padding that
19204166124Srafan# whenever the program tries to use insert mode, the effective
1920550276Speter# rate is about 110 baud.
19206166124Srafan#
19207166124Srafan# What program would want to put the terminal into insert mode
19208166124Srafan# and shove stuff at it at 9600 baud you ask?
19209166124Srafan#
19210166124Srafan# Emacs. Emacs seems to want to do the mathematically optimal
1921150276Speter# thing in doing a redisplay rather than the practical thing.
19212166124Srafan# When it is about to output a line on top of a line that is
19213166124Srafan# already on the screen, instead of just killing to the end of
19214166124Srafan# the line and outputting the new line, it compares the old line
19215166124Srafan# and the new line and if there are any similarities, it
19216166124Srafan# constructs the new line by deleting the text on the old line
1921750276Speter# on the terminal that is already there and then inserting new
19218166124Srafan# text into the line to transform it into the new line that is
1921950276Speter# to be displayed. The Z29 does not react kindly to this.
19220166124Srafan#
1922150276Speter# But don't cry for too long.... There is a solution. You can make
1922250276Speter# a termcap entry for the Z29 that says the Z29 has no insert mode.
19223166124Srafan# Then Emacs cannot use it. "Oh, no, but now inserting into a
1922450276Speter# line will be really slow", you say. Well there is a sort of a
19225166124Srafan# solution to that too. There is an insert character option on
19226166124Srafan# the Z29 that will insert one character. Unfortunately, it
19227166124Srafan# involves putting the terminal into ansi mode, inserting the
19228166124Srafan# character, and changing it back to H19 mode. All this takes 12
19229166124Srafan# characters. Pretty expensive to insert one character, but it
19230166124Srafan# works. Either Emacs doesn't try to use its inserting hack when
19231166124Srafan# it's only given an insert character ability or the Z29 doesn't
19232166124Srafan# require padding with this (the former is probably more likely,
1923350276Speter# but I haven't checked it out).
1923450276Speter# (z29: added empty <acsc> to suppress a tic warning, merged in
1923550276Speter# status line capabilities from BRL entry --esr)
19236166124Srafanz29|zenith29|z29b|zenith z29b,
19237166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
19238166124Srafan	OTkn#10, cols#80, lines#24,
19239166124Srafan	OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
19240166124Srafan	cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
19241166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
19242166124Srafan	cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
19243166124Srafan	ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
19244166124Srafan	ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
19245166124Srafan	is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19246166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
19247166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
19248166124Srafan	lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
19249166124Srafan	rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
19250166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1925150276Speter# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
1925250276Speter# the world is stable. <rs1> causes the terminal to be reset to the state
1925350276Speter# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
1925450276Speter# cursor, bc -> block cursor.
1925550276Speter# From: Mike Meyers
1925650276Speter# (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
1925750276Speter# looks vt100-compatible -- esr)
19258166124Srafanz29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
19259166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
19260166124Srafan	OTkn#10, cols#80, it#8, lines#24,
19261166124Srafan	OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
19262166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
19263166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
19264166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
19265166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
19266262685Sdelphij	dl1=\E[M, dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l,
19267262685Sdelphij	home=\E[H, ht=^I, hts=\EH, if=/usr/share/tabset/vt100,
19268262685Sdelphij	il=\E[%p1%dL, il1=\E[L, ind=\ED, kbs=^H, kclr=\E[J,
19269262685Sdelphij	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, ked=\E[J,
19270262685Sdelphij	kf0=\E[~, kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW,
19271262685Sdelphij	kf6=\EOP, kf7=\EOQ, kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help,
19272262685Sdelphij	mc0=\E#7, nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM,
19273262685Sdelphij	rmcup=\E[?7h, rmso=\E[m, rmul=\E[m,
19274166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m,
19275166124Srafan	sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
19276166124Srafan	tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
19277166124Srafanz29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
19278166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
19279166124Srafan	use=z29a,
19280166124Srafanz29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
19281166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m,
19282166124Srafan	use=z29a,
19283166124Srafanz29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
19284166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m,
19285166124Srafan	use=z29a,
1928650276Speter# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
19287166124Srafanz39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
19288166124Srafan	am, eslok, hs, mc5i, mir, msgr, xon,
19289166124Srafan	cols#80, lines#24,
19290166124Srafan	acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
19291166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
19292166124Srafan	clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
19293166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
19294166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
19295166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
19296166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
19297166124Srafan	dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
19298166124Srafan	fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
19299166124Srafan	ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
19300166124Srafan	ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
19301166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
19302166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
19303166124Srafan	kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
19304166124Srafan	mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
19305166124Srafan	rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
19306166124Srafan	rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
19307166124Srafan	smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
19308166124Srafan	tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1930950276Speter
1931050276Speter# From: Brad Brahms <Brahms@USC-ECLC>
19311166124Srafanz100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
19312166124Srafan	cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
1931350276Speter# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
19314166124Srafanz100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
19315166124Srafan	OTbs, OTpt, mir, msgr,
19316166124Srafan	OTkn#10, cols#80, it#8, lines#24,
19317262629Sdelphij	acsc=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\^,
19318174993Srafan	clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
19319174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
19320174993Srafan	cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
19321174993Srafan	home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
19322174993Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, kf3=\EU,
19323174993Srafan	kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EOI,
19324174993Srafan	khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
19325174993Srafan	smir=\E@, smso=\Ep,
19326166124Srafanp19|h19-b with il1/dl1,
19327166124Srafan	dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
1932850276Speter# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1932950276Speter# (ztx: removed duplicate :sr: -- esr)
19330166124Srafanztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
19331166124Srafan	OTbs, am, eslok, hs,
19332166124Srafan	cols#80, it#8, lines#24,
19333166124Srafan	clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
19334166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
19335166124Srafan	dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
19336166124Srafan	il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
19337166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
19338166124Srafan	kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
19339166124Srafan	ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
19340166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1934150276Speter
1934250276Speter#### IMS International (ims)
1934350276Speter#
19344166124Srafan# There was a company called IMS International located in Carson City,
1934550276Speter# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
19346166124Srafan# bus/Z80 hardware and a line of terminals called Ultimas.
1934750276Speter#
1934850276Speter
1934950276Speter# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
19350166124Srafanims950-b|bare ims950 no init string,
19351166124Srafan	is2@, use=ims950,
1935250276Speter# (ims950: removed obsolete ":ko@:" -- esr)
19353166124Srafanims950|ims televideo 950 emulation,
19354166124Srafan	xenl@,
19355166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
19356166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950,
1935750276Speter# (ims950-rv: removed obsolete ":ko@:" -- esr)
19358166124Srafanims950-rv|ims tvi950 rev video,
19359166124Srafan	xenl@,
19360166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
19361166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv,
19362166124Srafanims-ansi|ultima2|ultimaII|IMS Ultima II,
19363166124Srafan	OTbs, am,
19364166124Srafan	cols#80, it#8, lines#24,
19365262629Sdelphij	clear=\E[H\E[2J, cub1=^H, cud1=\ED, cuf1=\EC,
19366166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
19367166124Srafan	ht=^I, if=/usr/share/tabset/vt100,
19368166124Srafan	is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
19369166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
19370166124Srafan	rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
19371166124Srafan	smul=\E[4m,
1937250276Speter
1937350276Speter#### Intertec Data Systems
1937450276Speter#
1937550276Speter# I think this company is long dead as of 1995.  They made an early CP/M
1937650276Speter# micro called the "Intertec Superbrain" that was moderately popular,
1937750276Speter# then sank out of sight.
1937850276Speter#
1937950276Speter
19380166124Srafansuperbrain|intertec superbrain,
19381166124Srafan	OTbs, am, bw,
19382166124Srafan	cols#80, lines#24,
19383166124Srafan	OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
19384166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
19385166124Srafan	ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
19386166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
19387166124Srafan# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
1938850276Speter# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
1938950276Speter# and the reverse is actually true.  Try it. -- esr)
19390166124Srafanintertube|intertec|Intertec InterTube,
19391166124Srafan	OTbs, am,
19392166124Srafan	cols#80, lines#25,
19393166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
19394166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
19395166124Srafan	ind=^J, rmso=\E0@, smso=\E0P,
1939650276Speter# The intertube 2 has the "full duplex" problem like the tek 4025: if you
1939750276Speter# are typing and a command comes in, the keystrokes you type get interspersed
1939850276Speter# with the command and it messes up
19399166124Srafanintertube2|intertec data systems intertube 2,
19400166124Srafan	OTbs,
19401166124Srafan	cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
19402166124Srafan	el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
19403166124Srafan	ll=^K^X\r, vpa=\013%p1%c, use=intertube,
1940450276Speter
1940550276Speter#### Ithaca Intersystems
1940650276Speter#
1940750276Speter# This company made S100-bus personal computers long ago in the pre-IBM-PC
1940850276Speter# past.  They used to be reachable at:
1940950276Speter#
1941050276Speter#	Ithaca Intersystems
1941150276Speter#	1650 Hanshaw Road
1941250276Speter#	Ithaca, New York 14850
1941350276Speter#
1941450276Speter# However, the outfit went bankrupt years ago.
1941550276Speter#
1941650276Speter
1941750276Speter# The Graphos III was a color graphics terminal from Ithaca Intersystems.
19418166124Srafan# These entries were written (originally in termcap syntax) by Brian Yandell
19419166124Srafan# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
1942050276Speter# University of Wisconsin.
1942150276Speter
19422166124Srafan# (graphos: removed obsolete and syntactically incorrect :kn=4:,
19423166124Srafan# removed <if=/usr/share/tabset/init.graphos> and
1942450276Speter# <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
19425166124Srafangraphos|graphos III,
19426166124Srafan	am, mir,
19427166124Srafan	cols#80, it#8, lines#24,
19428166124Srafan	clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
19429166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
19430166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
19431166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A,
19432166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
19433166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
19434166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19435166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
19436166124Srafan	kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
19437166124Srafan	rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
19438166124Srafan	smir=\E[4h, smso=\E[7m,
19439166124Srafangraphos-30|graphos III with 30 lines,
19440166124Srafan	lines#30,
19441166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1944250276Speter
1944350276Speter#### Modgraph
1944450276Speter#
1944550276Speter# These people used to be reachable at:
1944650276Speter#
1944750276Speter#	Modgraph, Inc
1944850276Speter#	1393 Main Street,
1944950276Speter#	Waltham, MA 02154
1945050276Speter#	Vox: (617)-890-5796.
1945150276Speter#
1945250276Speter# However, if you call that number today you'll get an insurance company.
19453166124Srafan# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
1945450276Speter# 26 Feb 1997 that says:
1945550276Speter#
1945650276Speter# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
1945750276Speter# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
1945850276Speter# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
1945950276Speter# panel-mount etc).  I can be emailed at sonfour@aol.com
1946050276Speter#
1946150276Speter# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
1946250276Speter# dated 1984.  According to the manual, it featured Tek 4010/4014
1946350276Speter# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1946450276Speter#
1946550276Speter
19466166124Srafanmodgraph|mod24|modgraph terminal emulating vt100,
19467166124Srafan	xenl@,
19468166124Srafan	cols#80, lines#24,
19469166124Srafan	cvvis=\E\^9;0s\E\^7;1s,
19470166124Srafan	is2=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s,
19471166124Srafan	rf@, ri=\EM\E[K$<5/>, use=vt100,
1947250276Speter# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
19473166124Srafanmodgraph2|modgraph gx-1000 80x24 with keypad not enabled,
19474166124Srafan	am, da, db,
19475166124Srafan	cols#80, it#8, lines#24,
19476262629Sdelphij	clear=\EH\EJ$<50/>, cub1=^H, cud1=\EB$<2/>,
19477262629Sdelphij	cuf1=\EC$<2/>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>,
19478262629Sdelphij	cuu1=\EA$<2/>, ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
19479166124Srafan	is2=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1,
19480166124Srafan	ri=\EI$<5/>,
1948150276Speter#
1948250276Speter# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
1948350276Speter# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
1948450276Speter# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
1948550276Speter# mark and using delete-to-killbuffer work correctly.  However, we would
1948650276Speter# like normal mode of operation to be using a Modgraph with 48 line setting.
1948750276Speter# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
1948850276Speter# the setting mark and delete-to-killbuffer results in the deletion of only
1948950276Speter# the line the mark is set on.
1949050276Speter# We've discovered that the delete-to-killbuffer works correctly
1949150276Speter# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
1949250276Speter# the first line disappears but a ctrl-l shows that it did work
1949350276Speter# correctly.
19494166124Srafanmodgraph48|mod|Modgraph w/48 lines,
19495166124Srafan	OTbs, OTpt, am, xenl,
19496166124Srafan	cols#80, it#8, lines#48, vt#3,
19497166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
19498166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
19499166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
19500166124Srafan	flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
19501166124Srafan	home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
19502166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
19503166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
19504166124Srafan	ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
19505166124Srafan	rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
19506166124Srafan	smso=\E[7m, smul=\E[4m,
1950750276Speter
1950850276Speter#### Morrow Designs
19509166124Srafan#
1951050276Speter# This was George Morrow's company.  They started in the late 1970s making
1951150276Speter# S100-bus machines.  They used to be reachable at:
1951250276Speter#
1951350276Speter#        Morrow
1951450276Speter#        600 McCormick St.
1951550276Speter#        San Leandro, CA 94577
1951650276Speter#
1951750276Speter# but they're long gone now (1995).
1951850276Speter#
1951950276Speter
19520166124Srafan# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
1952150276Speter# Jeff's specimen was dated June 1984.
1952250276Speter# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
19523166124Srafanmt70|mt-70|Morrow MD-70; native Morrow mode,
19524166124Srafan	am, mir, msgr, xon,
19525166124Srafan	cols#80, it#8, lines#24,
19526166124Srafan	acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
19527166124Srafan	cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
19528166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
19529166124Srafan	cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
19530166124Srafan	flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
19531166124Srafan	ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
19532166124Srafan	kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
19533166124Srafan	kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
19534166124Srafan	kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
19535166124Srafan	kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
19536166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
19537166124Srafan	kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
19538166124Srafan	rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E],
19539166124Srafan	smul=\EG1, tbc=\E0, use=adm+sgr,
1954050276Speter
1954150276Speter#### Motorola
1954250276Speter#
1954350276Speter
1954450276Speter# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
1954550276Speter# (Seth H Zirin)
19546166124Srafanex155|Motorola Exorterm 155,
19547166124Srafan	OTbs, am, bw,
19548166124Srafan	OTkn#5, OTug#1, cols#80, lines#24,
19549262629Sdelphij	cbt=\E[, clear=\EX, cub1=\ED, cud1=\EB, cuf1=\EC,
19550262629Sdelphij	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\ET,
19551262629Sdelphij	el=\EU, home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
19552166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
19553166124Srafan	rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
1955450276Speter
1955550276Speter#### Omron
1955650276Speter#
1955750276Speter# This company is still around in 1995, manufacturing point-of-sale systems.
1955850276Speter
19559166124Srafanomron|Omron 8025AG,
19560166124Srafan	OTbs, am, da, db,
19561166124Srafan	cols#80, lines#24,
19562166124Srafan	bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
19563166124Srafan	cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
19564166124Srafan	il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
1956550276Speter
1956650276Speter#### Ramtek
1956750276Speter#
1956850276Speter# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
1956950276Speter# were competition for things like the Tektronics 4025.
1957050276Speter#
1957150276Speter
1957250276Speter# Ramtek 6221 from BRL, probably by Doug Gwyn
1957350276Speter# The following SET-UP modes are assumed for normal operation:
1957450276Speter#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
1957550276Speter#	NEWLINE_OFF		80_COLUMNS
1957650276Speter# Other SET-UP modes may be set for operator convenience or communication
1957750276Speter# requirements; I recommend
1957850276Speter#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
1957950276Speter# Hardware tabs are assumed to be every 8 columns; they can be set up by the
1958050276Speter# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
1958150276Speter# Note that the Control-E key is useless on this brain-damaged terminal.  No
1958250276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
19583166124Srafanrt6221|Ramtek 6221 80x24,
19584166124Srafan	OTbs, OTpt, msgr, xon,
19585166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
19586166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
19587166124Srafan	clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
19588166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
19589166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
19590166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
19591166124Srafan	cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
19592166124Srafan	hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19593166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
19594166124Srafan	kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
19595166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
19596166124Srafan	rmso=\E[m, rmul=\E[m,
19597166124Srafan	rs1=\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>,
19598166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
19599166124Srafan	smul=\E[4m, tbc=\E[3g,
1960050276Speter# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
19601166124Srafanrt6221-w|Ramtek 6221 160x48,
19602166124Srafan	cols#160, lines#48,
19603166124Srafan	ll=\E[48;1H, use=rt6221,
1960450276Speter
1960550276Speter#### RCA
1960650276Speter#
1960750276Speter
1960850276Speter# RCA VP3301 or VP3501
19609166124Srafanrca|rca vp3301/vp3501,
19610166124Srafan	OTbs,
19611166124Srafan	cols#40, lines#24,
19612166124Srafan	clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
19613166124Srafan	cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1961450276Speter
1961550276Speter
1961650276Speter#### Selanar
1961750276Speter#
1961850276Speter
1961950276Speter# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
1962050276Speter# The following SET-UP modes are assumed for normal operation:
1962150276Speter#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
1962250276Speter#	ONLINE			ANSI			CURSOR_VISIBLE
1962350276Speter#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
1962450276Speter#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
1962550276Speter#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
1962650276Speter# For use with graphics software, all graphics modes should be set to factory
1962750276Speter# default.  Other SET-UP modes may be set for operator convenience or
1962850276Speter# communication requirements.  No delays are specified; use "stty ixon -ixany"
1962950276Speter# to enable DC3/DC1 flow control!
1963050276Speter# I commented out the scrolling capabilities since they are too slow.
19631166124Srafanhirez100|Selanar HiREZ-100,
19632166124Srafan	OTbs, OTpt, mir, msgr, xon,
19633166124Srafan	OTkn#4, cols#80, it#8, lines#48, vt#3,
19634166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
19635166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
19636166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
19637166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
19638166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
19639166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
19640166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
19641166124Srafan	kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
19642166124Srafan	lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
19643166124Srafan	mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
19644166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
19645166124Srafan	rs1=\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>,
19646166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
19647166124Srafan	smul=\E[4m, tbc=\E[3g,
19648166124Srafanhirez100-w|Selanar HiREZ-100 in 132-column mode,
19649166124Srafan	cols#132, use=hirez100,
1965050276Speter
1965150276Speter#### Signetics
1965250276Speter#
1965350276Speter
1965450276Speter# From University of Wisconsin
19655166124Srafanvsc|Signetics Vsc Video driver by RMC,
19656166124Srafan	am, msgr,
19657166124Srafan	cols#80, it#8, lines#26,
19658166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
19659166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
19660166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
19661166124Srafan	rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1966250276Speter
1966350276Speter#### Soroc
1966450276Speter#
1966550276Speter# Alan Frisbie <frisbie@flying-disk.com> writes:
1966650276Speter#
1966750276Speter# As you may recall, the Soroc logo consisted of their name,
1966850276Speter# with the letter "S" superimposed over an odd design.   This
1966950276Speter# consisted of a circle with a slightly smaller 15 degree (approx.)
1967050276Speter# wedge with rounded corners inside it.   The color was sort of
1967150276Speter# a metallic gold/yellow.
19672166124Srafan#
1967350276Speter# If I had been more of a beer drinker it might have been obvious
1967450276Speter# to me, but it took a clue from their service department to make
1967550276Speter# me exclaim, "Of course!"   The circular object was the top of
1967650276Speter# a beer can (the old removable pop-top style) and "Soroc" was an
1967750276Speter# anagram for "Coors".
19678166124Srafan#
1967950276Speter# I can just imagine the founders of the company sitting around
1968050276Speter# one evening, tossing back a few and trying to decide what to
1968150276Speter# call their new company and what to use for a logo.
19682166124Srafan#
1968350276Speter
1968450276Speter# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
19685166124Srafansoroc120|iq120|soroc|soroc iq120,
19686166124Srafan	clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
19687166124Srafan	kcuf1=^L, kcuu1=^K, use=adm3a,
19688166124Srafansoroc140|iq140|soroc iq140,
19689166124Srafan	OTbs, am, mir,
19690166124Srafan	cols#80, lines#24,
19691166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19692166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
19693166124Srafan	dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
19694166124Srafan	kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
19695166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
19696166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
19697166124Srafan	rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1969850276Speter
1969950276Speter#### Southwest Technical Products
1970050276Speter#
19701166124Srafan# These guys made an early personal micro called the M6800.
1970250276Speter# The ct82 was probably its console terminal.
1970350276Speter#
1970450276Speter
1970550276Speter# (swtp: removed obsolete ":bc=^D:" -- esr)
19706166124Srafanswtp|ct82|southwest technical products ct82,
19707166124Srafan	am,
19708166124Srafan	cols#82, lines#20,
19709166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
19710166124Srafan	cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
19711166124Srafan	home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
19712166124Srafan	is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
19713166124Srafan	ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1971450276Speter
1971550276Speter#### Synertek
1971650276Speter#
1971750276Speter# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1971850276Speter#
1971950276Speter# Synertek used to make ICs, various 6502-based single-board process
1972050276Speter# control and hobbyist computers, and assorted peripherals including a
1972150276Speter# series of small inexpensive terminals (I think they were one of the
1972250276Speter# first to have a "terminal-on-a-keyboard", where the terminal itself
1972350276Speter# was only slightly larger than the keyboard).
1972450276Speter#
1972550276Speter# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
1972650276Speter# was a 40x24 terminal that could connect to a standard TV through a
1972750276Speter# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
1972850276Speter# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
1972950276Speter# I have a KTM-2/80 still in working order.  The KTM-2s had fully
1973050276Speter# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
1973150276Speter# ROM and 2 ROMs as character generators. They were incredibly simple,
1973250276Speter# and I've never had any problems with mine (witness the fact that mine
1973350276Speter# was made in 1981 and is still working great... I've blown the video
1973450276Speter# output transistor a couple of times, but it's a 2N2222 :-)
1973550276Speter#
1973650276Speter# The KTM-3 (which is what is listed in the terminfo file) was their
1973750276Speter# attempt at putting a KTM-2 in a box (and some models came with a
1973850276Speter# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
1973950276Speter# control and escape sequences are very different. The KTM-3 was always
1974050276Speter# real broken, at least according to the folks I've talked to about it.
19741166124Srafan#
1974250276Speter# The padding in the entry is probably off--these terminals were very
1974350276Speter# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
1974450276Speter# anyone with any sanity replaced the ROMs with something that provided
1974550276Speter# a reasonable subset of VT100 functionality, since the usual ROMs were
1974650276Speter# obviously very primitive... oh, you could get an upgraded ROM from
1974750276Speter# Synertek for some incredible amount of money, but what hacker with an
1974850276Speter# EPROM burner would do that? :)
19749166124Srafan#
1975050276Speter# Sorry I don't have any contact info; I believe they were located in
1975150276Speter# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
1975250276Speter# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
1975350276Speter# business these days.
1975450276Speter#
1975550276Speter
1975650276Speter# Tested, seems to work fine with vi.
19757166124Srafansynertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
19758166124Srafan	am,
19759166124Srafan	cols#80, lines#24,
19760166124Srafan	clear=^Z, cub1=^H, cuf1=^L,
19761166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
1976250276Speter
1976350276Speter#### Tab Office Products
1976450276Speter#
1976550276Speter#	TAB Products Co. - Palo Alto, California
1976650276Speter#	Electronic Office Products,
1976750276Speter#	1451 California Avenue 94304
1976850276Speter#
1976950276Speter# I think they're out of business.
1977050276Speter#
1977150276Speter
1977250276Speter# The tab 132 uses xon/xoff, so no padding needed.
1977350276Speter# <smkx>/<rmkx> have nothing to do with arrow keys.
1977450276Speter# <is2> sets 80 col mode, normal video, autowrap on (for <am>).
1977550276Speter# Seems to be no way to get rid of status line.
1977650276Speter# The manual for this puppy was dated June 1981.  It claims to be VT52-
1977750276Speter# compatible but looks more vt100-like.
19778166124Srafantab132|tab|tab132-15|tab 132/15,
19779166124Srafan	da, db,
19780166124Srafan	OTdN@, cols#80, lines#24, lm#96,
19781166124Srafan	cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
19782166124Srafan	il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
19783166124Srafan	kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100,
19784166124Srafantab132-w|tab132 in wide mode,
19785166124Srafan	cols#132,
19786166124Srafan	is2=\E[?7h\E[?3h\E[?5l, use=tab132,
19787166124Srafantab132-rv|tab132 in reverse-video mode,
19788166124Srafan	is2=\E[?7h\E[?3l\E[?5h, use=tab132,
19789166124Srafantab132-w-rv|tab132 in reverse-video/wide mode,
19790166124Srafan	is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
1979150276Speter
1979250276Speter
1979350276Speter#### Teleray
1979450276Speter#
1979550276Speter#	Research Incorporated
1979650276Speter#	6425 Flying Cloud Drive
1979750276Speter#	Eden Prairie, MN 55344
1979850276Speter#	Vox: (612)-941-3300
1979950276Speter#
1980050276Speter# The Teleray terminals were all discontinued in 1992-93.  RI still services
1980150276Speter# and repairs these beasts, but no longer manufactures them.  The Teleray
1980250276Speter# people believe that all the types listed below are very rare now (1995).
1980350276Speter# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
1980450276Speter# Model 100) that were ANSI-compatible.
1980550276Speter#
1980650276Speter# Note two things called "teleray".  Reorder should move the common one
1980750276Speter# to the front if you have either.  A dumb teleray with the cursor stuck
1980850276Speter# on the bottom and no obvious model number is probably a 3700.
1980950276Speter#
1981050276Speter
19811166124Srafant3700|dumb teleray 3700,
19812166124Srafan	OTbs,
19813166124Srafan	cols#80, lines#24,
19814166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
19815166124Srafant3800|teleray 3800 series,
19816166124Srafan	OTbs,
19817166124Srafan	cols#80, it#8, lines#24,
19818166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19819166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
19820166124Srafan	home=\EH, ht=^I, ind=^J, ll=\EY7\s,
19821166124Srafant1061|teleray|teleray 1061,
19822166124Srafan	OTbs, am, km, xhp, xt,
19823166124Srafan	cols#80, it#8, lines#24, xmc#1,
19824166124Srafan	bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19825166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19826166124Srafan	dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
19827166124Srafan	ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
19828166124Srafan	is2=\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,
19829166124Srafan	kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
19830166124Srafan	kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
19831166124Srafan	tbc=\EG,
19832166124Srafant1061f|teleray 1061 with fast PROMs,
19833166124Srafan	dl1=\EM, il1=\EL, ip@, use=t1061,
1983450276Speter# "Teleray Arpa Special", officially designated as
1983550276Speter# "Teleray Arpa network model 10" with "Special feature 720".
1983650276Speter# This is the new (1981) fast microcode updating the older "arpa" proms
1983750276Speter# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1983850276Speter# converts the keypad to programmable function keys, and has other goodies.
1983950276Speter# Standout mode is still broken (magic cookie, etc) so is suppressed as no
1984050276Speter# programs handle such lossage properly.
1984150276Speter# Note: this is NOT the old termcap's "t1061f with fast proms."
1984250276Speter# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1984350276Speter# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
19844166124Srafant10|teleray 10 special,
19845166124Srafan	OTbs, km, xhp, xt,
19846166124Srafan	cols#80, it#8, lines#24, xmc#2,
19847262629Sdelphij	clear=\Ej$<30/>, cub1=^H, cud1=\EB, cuf1=\EC,
19848166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19849166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
19850166124Srafan	ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
19851166124Srafan	smul=\ERH,
1985250276Speter# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
1985350276Speter# back/forth words. Put the function keys (f1-f10) where they can be
1985450276Speter# found, and turn off the other magic keys along the top row, except
1985550276Speter# for line/local. Do the magic appropriate to make the page shifts work.
1985650276Speter# Also toggle ^S/^Q for those of us who use Emacs.
19857166124Srafant16|teleray 16,
19858166124Srafan	am, da, db, mir, xhp, xt,
19859166124Srafan	cols#80, lines#24,
19860166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
19861166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
19862166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
19863166124Srafan	ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
19864166124Srafan	kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
19865166124Srafan	rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
19866166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
19867166124Srafan	smso=\E[7m, smul=\E[4m,
1986850276Speter
1986950276Speter#### Texas Instruments (ti)
1987050276Speter#
1987150276Speter
1987250276Speter# The Silent 700 was so called because it was built around a quiet thermal
1987350276Speter# printer.  It was portable, equipped with an acoustic coupler, and pretty
1987450276Speter# neat for its day.
19875166124Srafanti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
19876166124Srafan	OTbs, hc, os,
19877166124Srafan	cols#80,
19878166124Srafan	bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
1987950276Speter
1988050276Speter#
1988150276Speter# Texas Instruments 916 VDT 7 bit control mode
1988250276Speter#
19883166124Srafanti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
19884166124Srafan	da, db, in, msgr,
19885166124Srafan	cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
19886166124Srafan	cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
19887166124Srafan	cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
19888166124Srafan	dch=\E[%p1%dP$<250>, dch1=\E[P, dl=\E[%p1%dM,
19889166124Srafan	ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, el1=\E[1K,
19890166124Srafan	enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
19891166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
19892166124Srafan	il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
19893166124Srafan	kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
19894166124Srafan	kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
19895166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
19896166124Srafan	kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
19897166124Srafan	kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, sgr@,
19898166124Srafan	smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
19899166124Srafan	use=vt220,
1990050276Speter#
1990150276Speter# Texas Instruments 916 VDT 8 bit control mode
1990250276Speter#
19903166124Srafanti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
19904166124Srafan	kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
19905166124Srafan	kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
19906166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
19907166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
19908166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
19909166124Srafan	kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916,
1991050276Speter#
1991150276Speter# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1991250276Speter#
19913166124Srafanti916-132|Texas Instruments 916 VDT vt220 132 column,
19914166124Srafan	cols#132, use=ti916,
1991550276Speter#
1991650276Speter# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1991750276Speter#
19918166124Srafanti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
19919166124Srafan	cols#132, use=ti916-8,
19920166124Srafanti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
19921166124Srafan	OTbs, am, xon,
19922166124Srafan	cols#80, it#8, lines#24,
19923166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19924166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19925166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19926166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19927166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19928166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19929166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
19930166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
19931166124Srafan	kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
19932166124Srafan	ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19933166124Srafan	smul=\E[4m, tbc=\E[3g,
19934166124Srafanti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
19935166124Srafan	am, xon,
19936166124Srafan	cols#80, it#8, lines#24,
19937166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19938166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19939166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19940166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19941166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19942166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19943166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
19944166124Srafan	kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
19945166124Srafan	kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
19946166124Srafan	kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
19947166124Srafan	rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19948166124Srafan	smul=\E[4m, tbc=\E[3g,
19949166124Srafanti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
19950166124Srafan	cols#132, use=ti924,
19951166124Srafanti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
19952166124Srafan	cols#132, use=ti924-8,
19953166124Srafanti931|Texas Instruments 931 VDT,
19954166124Srafan	OTbs, am, xon,
19955166124Srafan	cols#80, lines#24,
19956166124Srafan	bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
19957166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
19958166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
19959166124Srafan	ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
19960166124Srafan	is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19961166124Srafan	kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
19962166124Srafan	kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
19963166124Srafan	kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
19964166124Srafan	sgr0=\E4@, smso=\E4A, smul=\E4D,
19965166124Srafanti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
19966166124Srafan	csr@, ind=\E[1S, ri=\E[1T, use=ti924,
1996750276Speter# (ti926-8: I corrected this from the broken SCO entry -- esr)
19968166124Srafanti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
19969166124Srafan	csr@, ind=\2331S, ri=\2331T, use=ti924-8,
19970166124Srafanti_ansi|basic entry for ti928,
19971166124Srafan	am, bce, eo, xenl, xon,
19972166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
19973166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
19974166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
19975166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
19976166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
19977166124Srafan	il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19978166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
19979166124Srafan	kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
19980166124Srafan	kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
19981166124Srafan	op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
19982166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
19983166124Srafan	smso=\E[7m, smul=\E[4m,
1998450276Speter#
1998550276Speter#       928 VDT 7 bit control mode
1998650276Speter#
19987166124Srafanti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
19988166124Srafan	kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
19989166124Srafan	kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
19990166124Srafan	kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
19991166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
19992166124Srafan	kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi,
1999350276Speter#
1999450276Speter#       928 VDT 8 bit control mode
1999550276Speter#
19996166124Srafanti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
19997166124Srafan	kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
19998166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
19999166124Srafan	kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
20000166124Srafan	kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
20001166124Srafan	kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
20002166124Srafan	kpp=\233T, kprt=\23335~, use=ti_ansi,
2000350276Speter
2000450276Speter#### Zentec (zen)
2000550276Speter#
2000650276Speter
2000750276Speter# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
20008166124Srafan# had just <smso>=\EG6 which I think means standout was supposed to be
2000950276Speter# dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
2001050276Speter# <invis> might work-- esr)
20011166124Srafanzen30|z30|zentec 30,
20012166124Srafan	OTbs, am, mir, ul,
20013166124Srafan	cols#80, lines#24,
20014166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
20015166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
20016166124Srafan	dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
20017166124Srafan	il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
20018166124Srafan	smul@, use=adm+sgr,
2001950276Speter# (zen50: this had extension capabilities
2002050276Speter#	:BS=^U:CL=^V:CR=^B:
2002150276Speter# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
2002250276Speter# which were also in the original entry -- esr)
2002350276Speter# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
20024166124Srafanzen50|z50|zentec zephyr,
20025166124Srafan	OTbs, am,
20026166124Srafan	cols#80, lines#24, xmc#1,
20027166124Srafan	clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
20028166124Srafan	cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
20029166124Srafan	invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
20030166124Srafan	rmul@, smul@, use=adm+sgr,
2003150276Speter
2003250276Speter# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
20033166124Srafancci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
20034166124Srafan	OTbs, am, bw,
20035166124Srafan	cols#80, lines#24,
20036166124Srafan	blink=\EM", clear=\EH\EJ, cnorm=\EP,
20037166124Srafan	csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
20038166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
20039166124Srafan	cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
20040166124Srafan	invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
20041166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
20042166124Srafan	rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
20043166124Srafan	smso=\EM$, smul=\EM0,
2004450276Speter
2004550276Speter######## OBSOLETE UNIX CONSOLES
2004650276Speter#
2004750276Speter
2004850276Speter#### Apollo consoles
2004950276Speter#
20050166124Srafan# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
2005150276Speter# labeled HP700s now.
2005250276Speter#
2005350276Speter
2005450276Speter# From: Gary Darland <goodmanc@garnet.berkeley.edu>
20055166124Srafanapollo|apollo console,
20056166124Srafan	OTbs, am, mir,
20057166124Srafan	cols#88, lines#53,
20058166124Srafan	clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
20059166124Srafan	cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
20060166124Srafan	ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
20061166124Srafan	rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
20062166124Srafan	smso=\ES, smul=\EU, vpa=\EO+\s,
2006350276Speter
2006450276Speter# We don't know whether or not the apollo guys replicated DEC's firmware bug
2006550276Speter# in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
2006650276Speter# both these capabilities.
20067166124Srafanapollo_15P|apollo 15 inch display,
20068166124Srafan	rmir@, smir@, use=vt132,
20069166124Srafanapollo_19L|apollo 19 inch display,
20070166124Srafan	rmir@, smir@, use=vt132,
20071166124Srafanapollo_color|apollo color display,
20072166124Srafan	rmir@, smir@, use=vt132,
2007350276Speter
20074262685Sdelphij#### AT&T consoles
20075262685Sdelphij
20076262685Sdelphij# This actually describes the generic SVr4 display driver for Intel boxes.
20077262685Sdelphij# The <dim=\E[2m> isn't documented and therefore may not be reliable.
20078262685Sdelphij# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
20079262685Sdelphijatt6386|at386|386at|AT&T WGS 6386 console,
20080262685Sdelphij	am, bw, eo, xon,
20081262685Sdelphij	cols#80, it#8, lines#25,
20082262685Sdelphij	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
20083262685Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
20084262685Sdelphij	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
20085262685Sdelphij	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
20086262685Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
20087262685Sdelphij	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
20088262685Sdelphij	dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
20089262685Sdelphij	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
20090262685Sdelphij	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
20091262685Sdelphij	indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
20092262685Sdelphij	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
20093262685Sdelphij	kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
20094262685Sdelphij	kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
20095262685Sdelphij	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
20096262685Sdelphij	knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
20097262685Sdelphij	ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
20098262685Sdelphij	sc=\E7,
20099262685Sdelphij	sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m,
20100262685Sdelphij	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
20101262685Sdelphij	tbc=\E[3g, vpa=\E[%i%p1%dd, use=klone+color,
20102262685Sdelphij# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
20103262685Sdelphijpc6300plus|AT&T 6300 plus,
20104262685Sdelphij	OTbs, am, xon,
20105262685Sdelphij	cols#80, lines#24,
20106262685Sdelphij	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
20107262685Sdelphij	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
20108262685Sdelphij	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
20109262685Sdelphij	dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
20110262685Sdelphij	home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
20111262685Sdelphij	invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
20112262685Sdelphij	kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
20113262685Sdelphij	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
20114262685Sdelphij	nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
20115262685Sdelphij	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
20116262685Sdelphij
20117262685Sdelphij# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
20118262685Sdelphij#
20119262685Sdelphij# I have a UNIX PC which I use as a terminal attached to my Linux PC.
20120262685Sdelphij# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
20121262685Sdelphij# is broken. All the special key sequences are broken, making it unusable
20122262685Sdelphij# with Emacs. The problem stems from the following:
20123262685Sdelphij#
20124262685Sdelphij# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
20125262685Sdelphij# keypad!), loadable fonts, and strange highlighting modes ("dithered"
20126262685Sdelphij# half-intensity, "smeared" bold, and real strike-out, for example.) It also
20127262685Sdelphij# uses resizable terminal windows, but the bundled terminal program always
20128262685Sdelphij# uses an 80x24 window (and doesn't support seem to support a 132-column
20129262685Sdelphij# mode.)
20130262685Sdelphij#
20131262685Sdelphij# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
20132262685Sdelphij# library which was a superset of SVr3.5 curses (called tam, for "terminal
20133262685Sdelphij# access method".) tam includes support for real, overlapping windows,
20134262685Sdelphij# onscreen function key labels, and bitmap graphics. But since the primary
20135262685Sdelphij# user interface on the UNIX PC was a GUI program (ua, for "user
20136262685Sdelphij# assistant",) and remote administration was considered important for the
20137262685Sdelphij# machine, tam also supported VT100-compatible terminals attached to the
20138262685Sdelphij# serial port or used across the StarLan network. To simulate the extra keys
20139262685Sdelphij# not present on a VT100, users could press ESC and a two-letter sequence,
20140262685Sdelphij# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
20141262685Sdelphij# however, were not the same as those sent by the actual Undo key. The
20142262685Sdelphij# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
20143262685Sdelphij# (If you're interested in adding some of the tam calls to ncurses, btw, I
20144262685Sdelphij# have the full documentation and several programs which use tam. It also
20145262685Sdelphij# used an extended terminfo format to describe key sequences, special
20146262685Sdelphij# highlighting modes, etc.)
20147262685Sdelphij#
20148262685Sdelphij# KEYS: This means that ncurses would quite painful on the UNIX PC, since
20149262685Sdelphij# there are two sequences for every key-modifier combination (local keyboard
20150262685Sdelphij# sequence and remote "VT100" sequence.) But I doubt many people are trying
20151262685Sdelphij# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
20152262685Sdelphij# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
20153262685Sdelphij# seem to have been built from the manual describing the VT100 sequences.
20154262685Sdelphij# This means it doesn't work for a real live UNIX PC.
20155262685Sdelphij#
20156262685Sdelphij# FONTS: The UNIX PC also has a strange interpretation of "alternate
20157262685Sdelphij# character set". Rather than the VT100 graphics you might expect, it allows
20158262685Sdelphij# up to 8 custom fonts to be loaded at any given time. This means that
20159262685Sdelphij# programs expecting VT100 graphics will usually be disappointed. For this
20160262685Sdelphij# reason I have disabled the smacs/rmacs sequences, but they could easily be
20161262685Sdelphij# re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
20162262685Sdelphij# manpage), should you wish to do so:
20163262685Sdelphij#
20164262685Sdelphij# SGR10 - Select font 0 - ESC [ 10 m or SO
20165262685Sdelphij# SGR11 - Select font 1 - ESC [ 11 m or SI
20166262685Sdelphij# SGR12 - Select font 2 - ESC [ 12 m
20167262685Sdelphij# ... (etc.)
20168262685Sdelphij# SGR17 - Select font 7 - ESC [ 17 m
20169262685Sdelphij#
20170262685Sdelphij# Graphics for line drawing are not reliably found at *any* character
20171262685Sdelphij# location because the UNIX PC has dynamically reloadable fonts. I use font
20172262685Sdelphij# 0 for regular text and font 1 for italics, but this is by no means
20173262685Sdelphij# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
20174262685Sdelphij#
20175262685Sdelphij# MISC: The cursor visible/cursor invisible sequences were swapped in the
20176262685Sdelphij# distributed terminfo.
20177262685Sdelphij#
20178262685Sdelphij# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
20179262685Sdelphij# the UNIX PC terminfo entry. The modified version works great with Lynx,
20180262685Sdelphij# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
20181262685Sdelphij# attached by serial cable. In Emacs, even the Undo key works, and many
20182262685Sdelphij# applications can now use the F1-F8 keys.
20183262685Sdelphij#
20184262685Sdelphij# esr's notes:
20185262685Sdelphij#	Terminfo entry for the AT&T Unix PC 7300
20186262685Sdelphij#	from escape(7) in Unix PC 7300 Manual.
20187262685Sdelphij#	Somewhat similar to a vt100-am (but different enough
20188262685Sdelphij#	to redo this from scratch.)
20189262685Sdelphij#
20190262685Sdelphij#	/***************************************************************
20191262685Sdelphij#	*
20192262685Sdelphij#	*           FONT LOADING PROGRAM FOR THE UNIX PC
20193262685Sdelphij#	*
20194262685Sdelphij#	*     This routine loads a font defined in the file ALTFONT
20195262685Sdelphij#	*     into font memory slot #1.  Once the font has been loaded,
20196262685Sdelphij#	*     it can be used as an alternative character set.
20197262685Sdelphij#	*
20198262685Sdelphij#	*     The call to ioctl with the argument WIOCLFONT is the key
20199262685Sdelphij#	*     to this routine.  For more information, see window(7) in
20200262685Sdelphij#	*     the PC 7300 documentation.
20201262685Sdelphij#	***************************************************************/
20202262685Sdelphij#	#include <string.h>		/* needed for strcpy call */
20203262685Sdelphij#	#include <sys/window.h>         /* needed for ioctl call */
20204262685Sdelphij#	#define FNSIZE	60		/* font name size */
20205262685Sdelphij#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
20206262685Sdelphij#	/*
20207262685Sdelphij#	*     The file /usr/lib/wfont/special.8.ft comes with the
20208262685Sdelphij#	*     standard PC software.  It defines a graphics character set
20209262685Sdelphij#	*     similar to that of the Teletype 5425 terminal.  To view
20210262685Sdelphij#	*     this or other fonts in /usr/lib/wfont, use the command
20211262685Sdelphij#	*     cfont <filename>.  For further information on fonts see
20212262685Sdelphij#	*     cfont(1) in the PC 7300 documentation.
20213262685Sdelphij#	*/
20214262685Sdelphij#
20215262685Sdelphij#	struct altfdata 	/* structure for alt font data */
20216262685Sdelphij#	{
20217262685Sdelphij#	short	altf_slot;		/* memory slot number */
20218262685Sdelphij#	char	altf_name[FNSIZE];	/* font name (file name) */
20219262685Sdelphij#	};
20220262685Sdelphij#	ldfont()
20221262685Sdelphij#	{
20222262685Sdelphij#		int wd;		/* window in which altfont will be */
20223262685Sdelphij#		struct altfdata altf;
20224262685Sdelphij#		altf.altf_slot=1;
20225262685Sdelphij#		strcpy(altf.altf_name,ALTFONT);
20226262685Sdelphij#		for (wd =1; wd < 12; wd++) {
20227262685Sdelphij#		     ioctl(wd, WIOCLFONT,&altf);
20228262685Sdelphij#	        }
20229262685Sdelphij#	}
20230262685Sdelphij#
20231262685Sdelphij# (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
20232262685Sdelphij# they're confirmed by the man page for the System V display---esr)
20233262685Sdelphij#
20234262685Sdelphijatt7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
20235262685Sdelphij	am, xon,
20236262685Sdelphij	cols#80, it#8, lines#24,
20237262685Sdelphij	bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
20238262685Sdelphij	clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
20239262685Sdelphij	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
20240262685Sdelphij	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
20241262685Sdelphij	cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
20242262685Sdelphij	ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
20243262685Sdelphij	il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
20244262685Sdelphij	kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
20245262685Sdelphij	kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
20246262685Sdelphij	kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
20247262685Sdelphij	kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
20248262685Sdelphij	kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
20249262685Sdelphij	kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
20250262685Sdelphij	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
20251262685Sdelphij	ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
20252262685Sdelphij	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
20253262685Sdelphij	kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
20254262685Sdelphij	kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
20255262685Sdelphij	kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
20256262685Sdelphij	kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
20257262685Sdelphij	ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
20258262685Sdelphij	rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
20259262685Sdelphij	smul=\E[4m,
20260262685Sdelphij
2026150276Speter#### Convergent Technology
2026250276Speter#
2026350276Speter# Burroughs bought Convergent shortly before it merged with Univac.
2026450276Speter# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
2026550276Speter# from 1991 or earlier).
2026650276Speter#
2026750276Speter
2026850276Speter# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
2026950276Speter# (aws: removed unknown :dn=^K: -- esr)
20270166124Srafanaws|Convergent Technologies AWS workstation under UTX and Xenix,
20271166124Srafan	am,
20272166124Srafan	OTug#0, cols#80, lines#28, xmc#0,
20273166124Srafan	OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
20274166124Srafan	clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
20275166124Srafan	dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
20276166124Srafan	ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
20277166124Srafan	kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
20278166124Srafan	rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
20279166124Srafan	vpa=\EV%p1%c,
20280166124Srafanawsc|Convergent Technologies AWS workstation under CTOS,
20281166124Srafan	am,
20282166124Srafan	OTug#0, cols#80, lines#24, xmc#0,
20283166124Srafan	OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
20284166124Srafan	cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
20285166124Srafan	el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
20286166124Srafan	rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
20287166124Srafan	smul=\EAC,
2028850276Speter
2028950276Speter#### DEC consoles
2029050276Speter#
2029150276Speter
2029250276Speter# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
2029350276Speter# The digital uVax II's had a graphic display called a qdss.  It was
2029450276Speter# supposed to be a high performance graphic accelerator, but it was
2029550276Speter# late to market and barely appeared before faster dumb frame buffers
2029650276Speter# appeared.  I have only used this display while running X11.  However,
2029750276Speter# during bootup, it was in text mode, and probably had a terminal emulator
2029850276Speter# within it.  And that is what your termcap entry is for.  In graphics
2029950276Speter# mode the screen size is 1024x864 pixels.
20300166124Srafanqdss|qdcons|qdss glass tty,
20301166124Srafan	OTbs, am,
20302166124Srafan	cols#128, lines#57,
20303166124Srafan	clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
20304166124Srafan	cup=\E=%p1%c%p2%c, cuu1=^K,
2030550276Speter
2030650276Speter#### Fortune Systems consoles
2030750276Speter#
2030850276Speter# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
2030950276Speter# in their day; I (esr) used one myself for a year or so around 1984.
2031050276Speter# They had no graphics, though, and couldn't compete against Suns and
2031150276Speter# the like.  R.I.P.
2031250276Speter#
2031350276Speter
2031450276Speter# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
2031550276Speter# (This had extension capabilities
2031650276Speter#	:rv=\EH:re=\EI:rg=0:GG=0:\
2031750276Speter#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
2031850276Speter#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
2031950276Speter#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
2032050276Speter# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
2032150276Speter# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
2032250276Speter# to force both magic cookie glitches off.  Once upon a time, I
2032350276Speter# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
2032450276Speter# function keys; thus the "Al" value for HM was certainly an error.  I renamed
20325166124Srafan# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
2032650276Speter# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
2032750276Speter# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
2032850276Speter# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
20329166124Srafanfos|fortune|Fortune system,
20330166124Srafan	OTbs, am, bw,
20331166124Srafan	cols#80, lines#25,
20332166124Srafan	acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
20333166124Srafan	clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
20334166124Srafan	cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
20335166124Srafan	cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
20336166124Srafan	ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
20337166124Srafan	ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
20338166124Srafan	kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
20339166124Srafan	kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
20340166124Srafan	kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
20341166124Srafan	khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
20342166124Srafan	rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
20343166124Srafan	smso=^\H`, smul=^\HP,
2034450276Speter
2034550276Speter#### Masscomp consoles
2034650276Speter#
2034750276Speter# Masscomp has gone out of business.  Their product line was purchased by
2034850276Speter# comany in Georgia (US) called "XS International", parts and service may
2034950276Speter# still be available through them.
2035050276Speter#
2035150276Speter
2035250276Speter# (masscomp: ":MT:" changed to ":km:";  -- esr)
20353166124Srafanmasscomp|masscomp workstation console,
20354166124Srafan	OTbs, km, mir,
20355166124Srafan	cols#80, it#8, lines#24,
20356166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
20357166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
20358166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
20359166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
20360166124Srafan	rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
20361166124Srafanmasscomp1|masscomp large screen version 1,
20362166124Srafan	cols#104, lines#36, use=masscomp,
20363166124Srafanmasscomp2|masscomp large screen version 2,
20364166124Srafan	cols#64, lines#21, use=masscomp,
2036550276Speter
20366262685Sdelphij#### OSF Unix
20367262685Sdelphij#
20368262685Sdelphij
20369262685Sdelphij# OSF/1 1.1 Snapshot 2
20370262685Sdelphijpmcons|pmconsole|PMAX console,
20371262685Sdelphij	am,
20372262685Sdelphij	cols#128, lines#57,
20373262685Sdelphij	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I,
20374262685Sdelphij	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
20375262685Sdelphij	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
20376262685Sdelphij
20377262685Sdelphij#### Other consoles
20378262685Sdelphij# The following is a version of the ibm-pc entry distributed with PC/IX,
20379262685Sdelphij# (Interactive Systems' System 3 for the Big Blue), modified by Richard
20380262685Sdelphij# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
20381262685Sdelphij# (the former is untrue, and the latter failed under UCB/man); standout and
20382262685Sdelphij# underline modes have been added.  Note: this entry describes the "native"
20383262685Sdelphij# capabilities of the PC monochrome display, without ANY emulation; most
20384262685Sdelphij# communications packages (but NOT PC/IX connect) do some kind of emulation.
20385262685Sdelphijpcix|PC/IX console,
20386262685Sdelphij	am, bw, eo,
20387262685Sdelphij	cols#80, lines#24,
20388262685Sdelphij	clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
20389262685Sdelphij	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
20390262685Sdelphij	home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
20391262685Sdelphij	smul=\E[4m,
20392262685Sdelphij
20393262685Sdelphij# (ibmpcx: this entry used to be known as ibmx.
20394262685Sdelphij# It formerly included the following extension capabilities:
20395262685Sdelphij#	:GC=b:GL=v:GR=t:RT=^J:\
20396262685Sdelphij#	:GH=\E[196g:GV=\E[179g:\
20397262685Sdelphij#	:GU=\E[193g:GD=\E[194g:\
20398262685Sdelphij#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
20399262685Sdelphij#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
20400262685Sdelphij#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
20401262685Sdelphij# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
20402262685Sdelphij# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
20403262685Sdelphij# what was there before. -- esr)
20404262685Sdelphijibmpcx|xenix|ibmx|IBM PC xenix console display,
20405262685Sdelphij	OTbs, am, msgr,
20406262685Sdelphij	cols#80, lines#25,
20407262685Sdelphij	clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
20408262685Sdelphij	cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
20409262685Sdelphij	ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
20410262685Sdelphij	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
20411262685Sdelphij	kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
20412262685Sdelphij	kpp=\E[Z, use=klone+acs, use=klone+sgr8,
20413262685Sdelphij
2041450276Speter######## OTHER OBSOLETE TYPES
2041550276Speter#
2041650276Speter# These terminals are *long* dead -- these entries are retained for
2041750276Speter# historical interest only.
2041850276Speter#
2041950276Speter
2042050276Speter#### Obsolete non-ANSI software emulations
2042150276Speter#
2042250276Speter
2042350276Speter# CTRM terminal emulator
20424166124Srafan# 1. underlining is not allowed with colors: first, is is simulated by
2042550276Speter# black on white, second, it disables background color manipulations.
2042650276Speter# 2. BLINKING, REVERSE and BOLD are allowed with colors,
2042750276Speter# so we have to save their status in the static registers A, B and H
2042850276Speter# respectively, to be able to restore them when color changes
2042950276Speter# (because any color change turns off ALL attributes)
2043050276Speter# 3. <bold> and <rev> sequences alternate modes,
20431166124Srafan# rather than simply  entering them.  Thus we have to check the
20432166124Srafan# static register B and H to determine the status, before sending the
2043350276Speter# escape sequence.
2043450276Speter# 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
2043550276Speter# and then reset colors
2043650276Speter# 5. implementation of the protect mode would badly penalize the performance.
2043750276Speter# we would have to use \E&bn sequence to turn off colors (as well as all
2043850276Speter# other attributes), and keep the status of protect mode in yet another
2043950276Speter# static variable.  If someone really needs this mode, they would have to
2044050276Speter# create another terminfo entry.
2044150276Speter# 6. original color-pair is white on black.
2044250276Speter# store the information about colors into static registers
2044350276Speter# 7. set foreground color.  it performs the following steps.
2044450276Speter#   1) turn off all attributes
2044550276Speter#   2) turn on the background and video attributes that have been turned
2044650276Speter#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
2044750276Speter#   3) turn on foreground attributes
2044850276Speter#   4) store information about foreground into U,V,W static registers
2044950276Speter# 8. turn on background: similar to turn on foreground above
20450166124Srafanctrm|C terminal emulator,
20451166124Srafan	am, bce, xon,
20452166124Srafan	colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
20453166124Srafan	pairs#63, pb#19200, vt#6,
20454166124Srafan	bel=^G, blink=\E&dA%{1}%PA,
20455166124Srafan	bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
20456166124Srafan	clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
20457166124Srafan	cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
20458166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
20459166124Srafan	il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
20460166124Srafan	kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
20461166124Srafan	kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
20462166124Srafan	kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
20463166124Srafan	op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
20464166124Srafan	rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
20465166124Srafan	setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX,
20466166124Srafan	setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU,
20467166124Srafan	sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;,
20468166124Srafan	sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
20469166124Srafan	smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
2047050276Speter
2047150276Speter# gs6300 - can't use blue foreground, it clashes with underline;
2047250276Speter# it's simulated with cyan
2047350276Speter# Bug: The <op> capability probably resets attributes.
2047450276Speter# (gs6300: commented out <rmln> (no <smln>) --esr)
20475166124Srafangs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
20476166124Srafan	am, bce, msgr, xon,
20477166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#63,
20478166124Srafan	acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
20479166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
20480166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
20481166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
20482166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
20483166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
20484166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
20485166124Srafan	is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
20486166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
20487166124Srafan	kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
20488166124Srafan	khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
20489166124Srafan	ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
20490166124Srafan	setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
20491166124Srafan	sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
2049250276Speter
2049350276Speter# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
2049450276Speter# MS-Kermit with Heath-19 emulation mode enabled
2049550276Speter# (h19k: changed ":pt@:" to ":it@"
20496166124Srafanh19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
20497166124Srafan	am@, da, db, xt,
20498166124Srafan	it@,
20499166124Srafan	ht@, use=h19-u,
2050050276Speter
2050150276Speter# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
2050250276Speter# Software (formerly Peripherals Computers & Supplies, Inc) of
2050350276Speter# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
2050450276Speter# also be reached at support@synergy.com.
20505166124Srafanversaterm|versaterm vt100 emulator for the macintosh,
20506166124Srafan	am, xenl,
20507166124Srafan	cols#80, it#8, lines#24,
20508166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
20509166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
20510166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
20511166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
20512166124Srafan	dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
20513166124Srafan	el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
20514166124Srafan	il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
20515166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
20516166124Srafan	kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
20517166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
20518166124Srafan	rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
20519166124Srafan	sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
20520166124Srafan	smul=\E[4m$<2/>,
2052150276Speter
2052250276Speter# From: Rick Thomas <ihnp4!btlunix!rbt>
2052350276Speter# (xtalk: I added <rmam>/<smam> based on the init string.
20524166124Srafanxtalk|IBM PC with xtalk communication program (versions up to 3.4),
20525166124Srafan	am, mir, msgr, xon,
20526166124Srafan	cols#80, it#8, lines#24, vt#3, xmc#1,
20527166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
20528166124Srafan	bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
20529166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
20530166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
20531166124Srafan	cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
20532166124Srafan	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
20533166124Srafan	il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB,
20534166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
20535166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m\s,
20536166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
20537166124Srafan	smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
20538166124Srafan	tbc=\E[3g, use=vt100+fnkeys,
2053950276Speter
2054050276Speter# The official PC terminal emulator program of the AT&T Product Centers.
2054150276Speter# Note - insert mode commented out - doesn't seem to work on AT&T PC.
20542166124Srafansimterm|attpc running simterm,
20543166124Srafan	am,
20544166124Srafan	cols#80, lines#24,
20545166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
20546166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
20547166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
20548166124Srafan	rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
2054950276Speter
2055050276Speter#### Daisy wheel printers
2055150276Speter#
2055250276Speter# This section collects Diablo, DTC, Xerox, Qume, and other daisy
2055350276Speter# wheel terminals.  These are now largely obsolete.
2055450276Speter#
2055550276Speter
2055650276Speter# (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
20557166124Srafandiablo1620|diablo1720|diablo450|ipsi|diablo 1620,
20558166124Srafan	hc, os,
20559166124Srafan	cols#132, it#8,
20560166124Srafan	cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
20561166124Srafan	ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
20562166124Srafandiablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
20563166124Srafan	cols#124,
20564166124Srafan	is2=\r        \E9, use=diablo1620,
2056550276Speter# (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
20566166124Srafandiablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
20567166124Srafan	bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
20568166124Srafan	use=diablo1620,
20569166124Srafan# (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
2057050276Speter# file -- esr)
20571166124Srafandiablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
20572166124Srafan	cols#124,
20573166124Srafan	rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
20574166124Srafandiablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
20575166124Srafan	use=diablo1640-lm,
2057650276Speter# DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
2057750276Speter# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
20578166124Srafan# The terminal has tabs, but I'm getting tired of fighting the braindamage.
2057950276Speter# If no tab is set or the terminal's in a bad mood, it glitches the screen
2058050276Speter# around all of memory.  Note that return puts a blank ("a return character")
2058150276Speter# in the space the cursor was at, so we use ^P return (and thus ^P newline for
2058250276Speter# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
2058350276Speter# curses won't work (some old BSD versions) because it doesn't clear this bit,
2058450276Speter# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
2058550276Speter# I have been unable to get tabs set in all 96 lines - it always leaves at
2058650276Speter# least one line with no tabs in it, and once you tab through that line,
2058750276Speter# it completely weirds out.
2058850276Speter# (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
20589166124Srafandtc382|DTC 382,
20590166124Srafan	am, da, db, xhp,
20591166124Srafan	cols#80, lines#24, lm#96,
20592166124Srafan	bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
20593166124Srafan	cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
20594166124Srafan	dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
20595166124Srafan	home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
20596166124Srafan	rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
20597166124Srafandtc300s|DTC 300s,
20598166124Srafan	hc, os,
20599166124Srafan	cols#132,
20600166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
20601166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
20602166124Srafangsi|mystery gsi terminal,
20603166124Srafan	hc, os,
20604166124Srafan	cols#132,
20605166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
20606166124Srafan	ind=^J,
20607166124Srafanaj830|aj832|aj|anderson jacobson,
20608166124Srafan	hc, os,
20609166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
20610166124Srafan	ind=^J,
2061150276Speter# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
20612166124Srafanaj510|Anderson-Jacobson model 510,
20613166124Srafan	am, mir,
20614166124Srafan	cols#80, lines#24,
20615166124Srafan	clear=^L, cub1=^H, cuf1=\EX,
20616166124Srafan	cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
20617166124Srafan	dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
20618166124Srafan	il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
20619166124Srafan	kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
20620166124Srafan	rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
20621166124Srafan	smul=\E"U,
2062250276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
2062350276Speter# This is incomplete, but it's a start.
20624166124Srafannec5520|nec|spinwriter|nec 5520,
20625166124Srafan	hc, os,
20626166124Srafan	cols#132, it#8,
20627166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
20628166124Srafan	hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
20629166124Srafan	kbs=^H, tbc=\E3,
20630166124Srafanqume5|qume|Qume Sprint 5,
20631166124Srafan	hc, os,
20632166124Srafan	cols#80, it#8,
20633166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
20634166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
2063550276Speter# I suspect the xerox 1720 is the same as the diablo 1620.
20636166124Srafanxerox1720|x1720|x1750|xerox 1720,
20637166124Srafan	hc, os,
20638166124Srafan	cols#132, it#8,
20639166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
20640166124Srafan	tbc=\E2,
2064150276Speter
2064250276Speter#### Miscellaneous obsolete terminals, manufacturers unknown
2064350276Speter#
20644166124Srafan# If you have any information about these (like, a manufacturer's name,
2064550276Speter# and a date on the serial-number plate) please send it!
2064650276Speter
20647166124Srafancad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
20648166124Srafan	OTbs, am,
20649166124Srafan	cols#73, lines#36,
20650166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
20651166124Srafancad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
20652166124Srafan	OTbs, am,
20653166124Srafan	cols#85, lines#39,
20654166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
20655166124Srafan	kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
20656166124Srafan	kf4=\E8, rmso=\Em^C, smso=\Em^L,
20657166124Srafancops10|cops|cops-10|cops 10,
20658166124Srafan	am, bw,
20659166124Srafan	cols#80, lines#24,
20660166124Srafan	bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
20661166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
20662166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
20663166124Srafan	khome=^Y,
2066450276Speter# (d132: removed duplicate :ic=\E5:,
2066550276Speter# merged in capabilities from a BRL entry -- esr)
20666166124Srafand132|datagraphix|datagraphix 132a,
20667166124Srafan	da, db, in,
20668166124Srafan	cols#80, lines#30,
20669166124Srafan	bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
20670166124Srafan	cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
20671166124Srafan	dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
20672166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
2067350276Speter# The d800 was an early portable terminal from c.1984-85 that looked a lot
2067450276Speter# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
2067550276Speter# mode (which is what this entry looks like) and several other lesser-known
2067650276Speter# emulations.
20677166124Srafand800|Direct 800/A,
20678166124Srafan	OTbs, am, da, db, msgr, xhp,
20679166124Srafan	cols#80, it#8, lines#24,
20680166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
20681166124Srafan	bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
20682166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
20683166124Srafan	cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
20684166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
20685166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
20686166124Srafan	ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
20687166124Srafan	smacs=\E[1m, smso=\E[7m, smul=\E[4m,
20688166124Srafandigilog|digilog 333,
20689166124Srafan	OTbs,
20690166124Srafan	cols#80, lines#16,
20691166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
20692166124Srafan	home=^N, ind=^J,
2069350276Speter# The DWK was a terminal manufactured in the Soviet Union c.1986
20694166124Srafandwk|dwk-vt|dwk terminal,
20695166124Srafan	am,
20696166124Srafan	cols#80, it#8, lines#24,
20697166124Srafan	acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
20698166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
20699166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
20700166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
20701166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
20702166124Srafan	kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
20703166124Srafan	kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
20704166124Srafan	kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
20705166124Srafan	sgr0=\EX, smacs=\EF, smso=\ET,
20706166124Srafanenv230|envision230|envision 230 graphics terminal,
20707166124Srafan	xenl@,
20708262685Sdelphij	enacs@, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rmacs@,
20709262685Sdelphij	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
20710262685Sdelphij	sgr0=\E[0m$<2>, smacs@, use=vt100,
2071150276Speter# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
2071250276Speter# coupler attached, the whole rig fitting in a suitcase and more or less
2071350276Speter# portable.  Hot stuff for c.1977 :-) -- esr
20714166124Srafanep48|ep4080|execuport 4080,
20715166124Srafan	OTbs, am, os,
20716166124Srafan	cols#80,
20717166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
20718166124Srafanep40|ep4000|execuport 4000,
20719166124Srafan	cols#136, use=ep4080,
2072062449Speter# Adam Thompson <athompso@pangea.ca> tells us:
2072150276Speter# Informer series - these are all portable units, resembling older
2072250276Speter# automatic bread-baking machines.  The terminal looks like a `clamshell'
2072350276Speter# design, but isn't.  The structure is similar to the Direct terminals,
2072450276Speter# but only half the width.  The entire unit is only about 10" wide.
2072550276Speter# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
2072650276Speter# keyboard.  All the keys are crammed together, much like some laptop
2072750276Speter# PCs today, but perhaps less well organized...all these units have a
2072850276Speter# bewildering array of plugs on the back, including a built-in modem.
2072950276Speter# The 305 was a color version of the 304; the 306 and 307 were mono and
2073050276Speter# color terminals built for IBM bisync protocols.
2073150276Speter# From: Paul Leondis <unllab@amber.berkeley.edu>
20732166124Srafanifmr|Informer D304,
20733166124Srafan	OTbs, am,
20734166124Srafan	cols#80, lines#24,
20735166124Srafan	clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
20736166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
20737166124Srafan	ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
20738166124Srafan	smso=\EJ,
2073950276Speter# Entry largely based on wy60 and has the features of wy60ak.
20740166124Srafanopus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
20741166124Srafan	am, bw, hs, km, mir, msgr, ul, xon,
20742166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
20743166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
20744166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
20745166124Srafan	cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
20746166124Srafan	dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
20747166124Srafan	ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
20748166124Srafan	hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
20749166124Srafan	ip=$<3>,
20750166124Srafan	is2=\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,
20751166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
20752166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
20753166124Srafan	kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
20754166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
20755166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
20756166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
20757166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
20758166124Srafan	mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
20759166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
20760166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
20761166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
20762166124Srafan	rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
20763166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
20764166124Srafan	rs3=\EwG\Ee($<150>,
20765262685Sdelphij	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
20766166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
20767166124Srafan	smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
20768166124Srafan	smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
20769166124Srafan	uc=\EG8\EG0, use=adm+sgr,
20770166124Srafanteletec|Teletec Datascreen,
20771166124Srafan	OTbs, am,
20772166124Srafan	cols#80, lines#24,
20773166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
20774166124Srafan	home=^^, ind=^J,
2077550276Speter# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
2077650276Speter# This description is for the LANPAR Technologies VISION 3220
2077750276Speter# terminal from 1984/85.  The function key definitions k0-k5 represent the
2077850276Speter# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
2077950276Speter# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
2078062449Speter#
2078162449Speter# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
2078262449Speter# I had a couple of scopes (3221) like this once where I used to work, around
20783166124Srafan# the 1987 time frame if memory serves me correctly.  These scopes were made
2078462449Speter# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
2078562449Speter# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
2078662449Speter# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
2078762449Speter# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
2078862449Speter# (3221) cost about $1500 each, and one was always broken -- had to be sent
2078962449Speter# back to the shop for repairs.
2079062449Speter# The only real advantage these scopes had over the VT-240's were:
2079162449Speter# 1) They were faster in the Regis display, or at least the ones I did
2079262449Speter# 2) They had a handy debugging feature where you could split-screen the
2079362449Speter# scope, the graphics would appear on the top, and the REGIS commands would
2079462449Speter# appear on the bottom.  I don't remember the VT-240s being able to do that.
2079562449Speter# I would swear that LANPAR Technologies was in MA someplace, but since I
2079662449Speter# don't work at the same place anymore, and those terminals and manuals were
2079762449Speter# long since junked, I cannot be any more sure than that.
2079862449Speter#
2079950276Speter# (v3220: removed obsolete ":kn#10:",
2080050276Speter# I added <rmam>/<smam> based on the init string -- esr)
20801166124Srafanv3220|LANPAR Vision II model 3220/3221/3222,
20802166124Srafan	OTbs, am, mir, xenl,
20803166124Srafan	cols#80, it#8, lines#24,
20804262629Sdelphij	clear=\E[H\E[J, cub1=^H, cud1=\E[B, cuf1=\E[C,
20805166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
20806166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
20807166124Srafan	is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
20808166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
20809166124Srafan	kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
20810166124Srafan	kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
20811166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
20812166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
2081350276Speter######## ICH/ICH1 VERSUS RMIR/SMIR
2081450276Speter#
2081550276Speter# Some non-curses applications get confused if both ich/ich1 and rmir/smir
2081650276Speter# are present; the symptom is doubled characters in an update using insert.
2081750276Speter# These applications are technically correct; in both 4.3BSD termcap and
2081850276Speter# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
2081950276Speter# unless the terminal needs both.  To my knowledge, no terminal still in this
2082050276Speter# file requires both other than the very obsolete dm2500.
2082150276Speter#
2082250276Speter# For ncurses-based applications this is not a problem, as ncurses uses
2082350276Speter# one or the other as appropriate but never mixes the two.  Therefore we
2082450276Speter# have not corrected entries like `linux' and `xterm' that specify both.
2082550276Speter# If you see doubled characters from these, use the linux-nic and xterm-nic
2082650276Speter# entries that suppress ich/ich1.  And upgrade to ncurses!
2082750276Speter#
2082850276Speter
2082950276Speter######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
2083050276Speter#
2083150276Speter# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
2083250276Speter# ECMA-48 standards are said to be almost identical, but are not the same
2083350276Speter# as X3.64 (though for practical purposes they are close supersets of it).
2083450276Speter#
2083550276Speter# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
2083650276Speter# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
2083750276Speter# Coded Character Sets"), include your snail-mail address, and you should
2083850276Speter# receive the document in due course.  Don't expect an email acknowledgement.
2083950276Speter#
2084050276Speter# Related standards include "X3.4-1977: American National Standard Code for
20841166124Srafan# Information Interchange" (the ASCII standard) and "X3.41.1974:
2084250276Speter# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
2084350276Speter# American National Standard for Information Interchange."  I believe (but
2084450276Speter# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
20845166124Srafan# respectively.
2084650276Speter#
2084750276Speter
2084850276Speter#### VT100/ANSI/ECMA-48
2084950276Speter#
2085050276Speter# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
2085150276Speter# and ECMA-48 Control Functions for Coded Character Sets.
20852166124Srafan#
2085350276Speter# Much of the content of this comment is adapted from a table prepared by
2085450276Speter# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
2085550276Speter# discussion of some terminfo-related issues, and updates to capture ECMA-48
2085650276Speter# have been added.  Control functions described in ECMA-48 only are tagged
2085750276Speter# with * after their names.
2085850276Speter#
2085950276Speter# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
2086050276Speter# sequences.  In the main table, \E stands for an escape (\033) character,
2086150276Speter# SPC for space.  Pn stands for a single numeric parameter to be inserted
2086250276Speter# in decimal ASCII.  Ps stands for a list of such parameters separated by
2086350276Speter# semicolons.  Parameter meanings for most parametrized sequences are
2086450276Speter# decribed in the notes.
2086550276Speter#
2086650276Speter# Sequence     Sequence                             Parameter   or
2086750276Speter# Mnemonic     Name              Sequence           Value      Mode   terminfo
2086850276Speter# -----------------------------------------------------------------------------
2086950276Speter# APC  Applicatn Program Command \E _                -         Delim  -
2087050276Speter# BEL  Bell *                    ^G                  -         -      bel
2087150276Speter# BPH  Break Permitted Here *    \E B                -         *      -
2087250276Speter# BS   Backpace *                ^H                  -         EF     -
2087350276Speter# CAN  Cancel *                  ^X                  -         -      -   (A)
2087450276Speter# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
2087550276Speter# CCH  Cancel Previous Character \E T                -         -      -
2087650276Speter# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
2087750276Speter# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
2087850276Speter# CMD  Coding Method Delimiter * \E
2087950276Speter# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
2088050276Speter# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
2088150276Speter# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
2088250276Speter# CSI  Control Sequence Intro    \E [                -         Intro  -
2088350276Speter# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
2088450276Speter# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
2088550276Speter# CUD  Cursor Down               \E [ Pn B           1         eF     cud
2088650276Speter# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
2088750276Speter# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
2088850276Speter# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
2088950276Speter# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
2089050276Speter# DA   Device Attributes         \E [ Pn c           0         -      -
2089150276Speter# DAQ  Define Area Qualification \E [ Ps o           0         -      -
2089250276Speter# DCH  Delete Character          \E [ Pn P           1         eF     dch
2089350276Speter# DCS  Device Control String     \E P                -         Delim  -
2089450276Speter# DL   Delete Line               \E [ Pn M           1         eF     dl
2089550276Speter# DLE  Data Link Escape *        ^P                  -         -      -
2089650276Speter# DMI  Disable Manual Input      \E \                -         Fs     -
2089750276Speter# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
2089850276Speter# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
2089950276Speter# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
2090050276Speter# ECH  Erase Character           \E [ Pn X           1         eF     ech
2090150276Speter# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
2090250276Speter# EF   Erase in Field            \E [ Ps N           0         eF     -
2090350276Speter# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
2090450276Speter# EM   End of Medium *           ^Y                  -         -      -
2090550276Speter# EMI  Enable Manual Input       \E b                          Fs     -
2090650276Speter# ENQ  Enquire                   ^E                  -         -      -
2090750276Speter# EOT  End Of Transmission       ^D                  -         *      -
2090850276Speter# EPA  End of Protected Area     \E W                -         -      -   (K)
2090950276Speter# ESA  End of Selected Area      \E G                -         -      -
2091050276Speter# ESC  Escape                    ^[                  -         -      -
2091150276Speter# ETB  End Transmission Block    ^W                  -         -      -
2091250276Speter# ETX  End of Text               ^C                  -         -      -
2091350276Speter# FF   Form Feed                 ^L                  -         -      -
2091450276Speter# FNK  Function Key *            \E [ Pn SPC W       -         -      -
2091550276Speter# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
2091650276Speter# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
2091750276Speter# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
2091850276Speter# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
2091950276Speter# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
2092050276Speter# HPB  Char Position Backward    \E [ j              1         FE     -
2092150276Speter# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
2092250276Speter# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
2092350276Speter# HTJ  Horz Tab w/Justification  \E I                -         FE     -
2092450276Speter# HTS  Horizontal Tab Set        \E H                -         FE     hts
2092550276Speter# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
2092650276Speter# ICH  Insert Character          \E [ Pn @           1         eF     ich
2092750276Speter# IDCS ID Device Control String  \E [ SPC O          -         *      -
2092850276Speter# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
2092950276Speter# IL   Insert Line               \E [ Pn L           1         eF     il
2093050276Speter# IND  Index                     \E D                -         FE     -
2093150276Speter# INT  Interrupt                 \E a                -         Fs     -
2093250276Speter# JFY  Justify                   \E [ Ps SPC F       0         FE     -
2093350276Speter# IS1  Info Separator #1 *       ^_                  -         *      -
2093450276Speter# IS2  Info Separator #1 *       ^^                  -         *      -
2093550276Speter# IS3  Info Separator #1 *       ^]                  -         *      -
2093650276Speter# IS4  Info Separator #1 *       ^\                  -         *      -
2093750276Speter# LF   Line Feed                 ^J                  -         -      -
2093850276Speter# LS1R Locking Shift Right 1 *   \E ~                -         -      -
2093950276Speter# LS2  Locking Shift 2 *         \E n                -         -      -
2094050276Speter# LS2R Locking Shift Right 2 *   \E }                -         -      -
2094150276Speter# LS3  Locking Shift 3 *         \E o                -         -      -
2094250276Speter# LS3R Locking Shift Right 3 *   \E |                -         -      -
2094350276Speter# MC   Media Copy                \E [ Ps i           0         -      -   (S)
2094450276Speter# MW   Message Waiting           \E U                -         -      -
2094550276Speter# NAK  Negative Acknowledge *    ^U                  -         *      -
2094650276Speter# NBH  No Break Here *           \E C                -         -      -
2094750276Speter# NEL  Next Line                 \E E                -         FE     nel (D)
2094850276Speter# NP   Next Page                 \E [ Pn U           1         eF     -
2094950276Speter# NUL  Null *                    ^@                  -         -      -
2095050276Speter# OSC  Operating System Command  \E ]                -         Delim  -
2095150276Speter# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
2095250276Speter# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
2095350276Speter# PLD  Partial Line Down         \E K                -         FE     -   (T)
2095450276Speter# PLU  Partial Line Up           \E L                -         FE     -   (U)
2095550276Speter# PM   Privacy Message           \E ^                -         Delim  -
2095650276Speter# PP   Preceding Page            \E [ Pn V           1         eF     -
2095750276Speter# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
2095850276Speter# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
2095950276Speter# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
2096050276Speter# PTX  Parallel Texts *          \E [ \              -         -      -
2096150276Speter# PU1  Private Use 1             \E Q                -         -      -
2096250276Speter# PU2  Private Use 2             \E R                -         -      -
2096350276Speter# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
2096450276Speter# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
2096550276Speter# RI   Reverse Index             \E M                -         FE     -   (V)
2096650276Speter# RIS  Reset to Initial State    \E c                -         Fs     -
2096750276Speter# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
2096850276Speter# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
2096950276Speter# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
2097050276Speter# SCI  Single-Char Introducer    \E Z                -         -      -
2097150276Speter# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
2097250276Speter# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
2097350276Speter# SD   Scroll Down               \E [ Pn T           1         eF     rin
2097450276Speter# SDS  Start Directed String *   \E [ Pn ]           1         -      -
2097550276Speter# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
2097650276Speter# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
2097750276Speter# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
2097850276Speter# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
2097950276Speter# SI   Shift In                  ^O                  -         -      -   (P)
2098050276Speter# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
2098150276Speter# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
2098250276Speter# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
2098350276Speter# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
2098450276Speter# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
2098550276Speter# SM   Select Mode               \E [ Ps h           none      -      -   (W)
2098650276Speter# SO   Shift Out                 ^N                  -         -      -   (Q)
2098750276Speter# SOH  Start Of Heading *        ^A                  -         -      -
2098850276Speter# SOS  Start of String *         \E X                -         -      -
2098950276Speter# SPA  Start of Protected Area   \E V                -         -      -   (Z)
2099050276Speter# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
2099150276Speter# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
2099250276Speter# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
2099350276Speter# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
2099450276Speter# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
2099550276Speter# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
2099650276Speter# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
2099750276Speter# SRS  Start Reversed String *   \E [ Ps [           0         -      -
2099850276Speter# SSA  Start of Selected Area    \E F                -         -      -
2099950276Speter# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
2100050276Speter# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
2100150276Speter# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
2100250276Speter# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
2100350276Speter# ST   String Terminator         \E \                -         Delim  -
2100450276Speter# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
2100550276Speter# STS  Set Transmit State        \E S                -         -      -
2100650276Speter# STX  Start pf Text *           ^B                  -         -      -
2100750276Speter# SU   Scroll Up                 \E [ Pn S           1         eF     indn
2100850276Speter# SUB  Substitute *              ^Z                  -         -      -
2100950276Speter# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
2101050276Speter# SYN  Synchronous Idle *        ^F                  -         -      -
2101150276Speter# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
2101250276Speter# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
2101350276Speter# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
2101450276Speter# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
2101550276Speter# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
2101650276Speter# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
2101750276Speter# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
2101850276Speter# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
2101950276Speter# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
2102050276Speter# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
2102150276Speter# VT   Vertical Tabulation *     ^K                  -         FE     -
2102250276Speter# VTS  Vertical Tabulation Set   \E J                -         FE     -
21023166124Srafan#
2102450276Speter# ---------------------------------------------------------------------------
2102550276Speter#
2102650276Speter# Notes:
2102750276Speter#
21028166124Srafan# Some control characters are listed in the ECMA-48 standard without
21029166124Srafan# being assigned functions relevant to terminal control there (they
2103050276Speter# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
2103150276Speter# here anyway for completeness.
2103250276Speter#
2103350276Speter# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
2103450276Speter#
2103550276Speter# (B) There seems to be some confusion abroad between CHA and HPA.  Most
2103650276Speter# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
2103750276Speter# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
2103850276Speter# preserved the CHA abbreviation.
2103950276Speter#
2104050276Speter# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
2104150276Speter# Occasionally (as on, for example, certain HP terminals) this has the HTJ
2104250276Speter# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
2104350276Speter# CHT abbreviation.
2104450276Speter#
2104550276Speter# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
2104650276Speter#
21047166124Srafan# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
2104850276Speter# abbreviation.
21049166124Srafan#
2105050276Speter# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
21051166124Srafan# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
2105250276Speter# 5 = clear all char tabs, 6 = clear all line tabs.
2105350276Speter#
2105450276Speter# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
2105550276Speter# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
2105650276Speter# Position Absolute" but retains the HVP abbreviation.
2105750276Speter#
2105850276Speter# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
2105950276Speter# abbreviation.
2106050276Speter#
2106150276Speter# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
2106250276Speter# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
2106350276Speter# DSR, 6 = request CPR response.
2106450276Speter#
2106550276Speter# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
2106650276Speter# 1 = clear from beginning, 2 = clear.
21067166124Srafan#
2106850276Speter# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
2106950276Speter#
2107050276Speter# (L) The GSM parameters are vertical and horizontal parameters to scale by.
2107150276Speter#
2107250276Speter# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
2107350276Speter# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
2107450276Speter# Position Relative" but retains the HPR abbreviation.
2107550276Speter#
2107650276Speter# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
2107750276Speter# abbreviation.
2107850276Speter#
2107950276Speter# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
2108050276Speter# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
2108150276Speter# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
2108250276Speter# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
2108350276Speter# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
2108450276Speter# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
2108550276Speter# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
2108650276Speter# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
2108750276Speter# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
2108850276Speter# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
2108950276Speter# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
2109050276Speter# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
2109150276Speter# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
2109250276Speter# 61-65 = variable highlights for ideograms.
2109350276Speter#
2109450276Speter# (P) SI is also called LSO, Locking Shift Zero.
2109550276Speter#
2109650276Speter# (Q) SI is also called LS1, Locking Shift One.
2109750276Speter#
2109850276Speter# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
2109950276Speter# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
2110050276Speter# Absolute' but retains the VPA abbreviation.
2110150276Speter#
2110250276Speter# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
2110350276Speter# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
21104166124Srafan# from secondary aux device, 4 = stop relay to primary aux device, 5 =
2110550276Speter# start relay to primary aux device, 6 = stop relay to secondary aux device,
2110650276Speter# 7 = start relay to secondary aux device.
2110750276Speter#
2110850276Speter# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
2110950276Speter# abbreviation.
2111050276Speter#
21111166124Srafan# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
2111250276Speter# abbreviation.
2111350276Speter#
2111450276Speter# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
2111550276Speter#
21116166124Srafan# (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
21117166124Srafan# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
2111850276Speter# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
2111950276Speter# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
21120166124Srafan# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
2112150276Speter# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
21122166124Srafan# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
2112350276Speter# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
2112450276Speter# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
2112550276Speter# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
2112650276Speter# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
2112750276Speter# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
2112850276Speter# from ECMA-48's 5th edition but are listed here for reference.
2112950276Speter#
2113050276Speter# (X) Select Alternate Presentation Variants is used only for non-Latin
2113150276Speter# alphabets.
2113250276Speter#
2113350276Speter# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
2113450276Speter#
2113550276Speter# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
2113650276Speter# abbreviation.
2113750276Speter#
2113850276Speter# ---------------------------------------------------------------------------
21139166124Srafan#
2114050276Speter# Abbreviations:
2114150276Speter#
2114250276Speter# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
2114350276Speter#        X3.64 Control Sequence Introducer is the two characters "Escape ["
21144166124Srafan#
2114550276Speter# Delim  a Delimiter
21146166124Srafan#
2114750276Speter# x/y    identifies a character by position in the ASCII table (column/row)
21148166124Srafan#
2114950276Speter# eF     editor function (see explanation)
21150166124Srafan#
2115150276Speter# FE     format effector (see explanation)
2115250276Speter#
2115350276Speter# F      is a Final character in
2115450276Speter#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
2115550276Speter#             a control sequence (F from 4/0 to 7/14)
21156166124Srafan#
2115750276Speter# Gs     is a graphic character appearing in strings (Gs ranges from
2115850276Speter#        2/0 to 7/14) in the ASCII table
21159166124Srafan#
2116050276Speter# Ce     is a control represented as a single bit combination in the C1 set
2116150276Speter#        of controls in an 8-bit character set
21162166124Srafan#
2116350276Speter# C0     the familiar set of 7-bit ASCII control characters
21164166124Srafan#
2116550276Speter# C1     roughly, the set of control chars available only in 8-bit systems.
2116650276Speter#        This is too complicated to explain fully here, so read Jim Fleming's
2116750276Speter#        article in the February 1983 BYTE, especially pages 214 through 224.
21168166124Srafan#
2116950276Speter# Fe     is a Final character of a 2-character Escape sequence that has an
2117050276Speter#        equivalent representation in an 8-bit environment as a Ce-type
2117150276Speter#        (Fe ranges from 4/0 to 5/15)
21172166124Srafan#
2117350276Speter# Fs     is a Final character of a 2-character Escape sequence that is
2117450276Speter#        standardized internationally with identical representation in 7-bit
2117550276Speter#        and 8-bit environments and is independent of the currently
2117650276Speter#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
21177166124Srafan#
2117850276Speter# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
2117950276Speter#        ASCII table
21180166124Srafan#
2118150276Speter# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
2118250276Speter#        table
21183166124Srafan#
2118450276Speter# Pn     is a numeric parameter in a control sequence, a string of zero or
2118550276Speter#        more characters ranging from 3/0 to 3/9 in the ASCII table
21186166124Srafan#
2118750276Speter# Ps     is a variable number of selective parameters in a control sequence
2118850276Speter#        with each selective parameter separated from the other by the code
2118950276Speter#        3/11 (which usually represents a semicolon); Ps ranges from
2119050276Speter#        3/0 to 3/9 and includes 3/11
2119150276Speter#
2119250276Speter# *      Not relevant to terminal control, listed for completeness only.
21193166124Srafan#
2119450276Speter# Format Effectors versus Editor Functions
21195166124Srafan#
2119650276Speter# A format effector specifies how following output is to be displayed.
2119750276Speter# An editor function allows you to modify the display.  Informally
2119850276Speter# format effectors may be destructive; format effectors should not be.
21199166124Srafan#
21200166124Srafan# For instance, a format effector that moves the "active position" (the
2120150276Speter# cursor or equivalent) one space to the left would be useful when you want to
2120250276Speter# create an overstrike, a compound character made of two standard characters
2120350276Speter# overlaid. Control-H, the Backspace character, is actually supposed to be a
2120450276Speter# format effector, so you can do this. But many systems use it in a
2120550276Speter# nonstandard fashion, as an editor function, deleting the character to the
2120650276Speter# left of the cursor and moving the cursor left. When Control-H is assumed to
2120750276Speter# be an editor function, you cannot predict whether its use will create an
2120850276Speter# overstrike unless you also know whether the output device is in an "insert
2120950276Speter# mode" or an "overwrite mode". When Control-H is used as a format effector,
2121050276Speter# its effect can always be predicted. The familiar characters carriage
2121150276Speter# return, linefeed, formfeed, etc., are defined as format effectors.
2121250276Speter#
2121350276Speter# NOTES ON THE DEC VT100 IMPLEMENTATION
21214166124Srafan#
2121550276Speter# Control sequences implemented in the VT100 are as follows:
21216166124Srafan#
2121750276Speter#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
2121850276Speter#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
21219166124Srafan#
2122050276Speter# plus several private DEC commands.
21221166124Srafan#
2122250276Speter# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
21223166124Srafan#
2122450276Speter#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
2122550276Speter#      Erase from beginning of line to cursor     Esc [ 1 K
2122650276Speter#      Erase line containing cursor               Esc [ 2 K
2122750276Speter#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
2122850276Speter#      Erase from beginning of screen to cursor   Esc [ 1 J
2122950276Speter#      Erase entire screen                        Esc [ 2 J
2123050276Speter#
2123150276Speter# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
2123250276Speter# Esc [ 2 J, but this is wrong; the default is 0.
21233166124Srafan#
2123450276Speter# The VT100 responds to receiving the DA (Device Attributes) control
21235166124Srafan#
2123650276Speter#      Esc [ c    (or Esc [ 0 c)
21237166124Srafan#
2123850276Speter# by transmitting the sequence
21239166124Srafan#
2124050276Speter#      Esc [ ? l ; Ps c
21241166124Srafan#
2124250276Speter# where Ps is a character that describes installed options.
21243166124Srafan#
2124450276Speter# The VT100's cursor location can be read with the DSR (Device Status
2124550276Speter# Report) control
21246166124Srafan#
2124750276Speter#      Esc [ 6 n
21248166124Srafan#
2124950276Speter# The VT100 reports by transmitting the CPR sequence
21250166124Srafan#
2125150276Speter#      Esc [ Pl ; Pc R
21252166124Srafan#
2125350276Speter# where Pl is the line number and Pc is the column number (in decimal).
21254166124Srafan#
2125550276Speter# The specification for the DEC VT100 is document EK-VT100-UG-003.
2125650276Speter
2125750276Speter#### ANSI.SYS
21258166124Srafan#
2125950276Speter# Here is a description of the color and attribute controls supported in the
2126050276Speter# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
2126150276Speter# terminal emulators for Intel boxes obey these.  They are a proper subset
2126250276Speter# of the ECMA-48 escapes.
2126350276Speter#
2126450276Speter# 0	all attributes off
2126550276Speter# 1	foreground bright
2126650276Speter# 4	underscore on
2126750276Speter# 5	blink on/background bright (not reliable with brown)
2126850276Speter# 7	reverse-video
2126950276Speter# 8	set blank (non-display)
2127050276Speter# 10	set primary font
2127150276Speter# 11	set first alternate font (on PCs, display ROM characters 1-31)
2127250276Speter# 12	set second alternate font (on PCs, display IBM high-half chars)
2127350276Speter#
2127450276Speter#			Color attribute sets
2127550276Speter# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
2127650276Speter# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
2127750276Speter# Bright black becomes gray.  Bright brown becomes yellow,
2127850276Speter# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
2127950276Speter#
2128050276Speter# * If the 5 attribute is on and you set a background color (40-47) it is
2128150276Speter#   supposed to enable bright background.
2128250276Speter#
2128350276Speter# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
2128450276Speter#   when you try to set a "bright brown" (yellow) background with attribute
2128550276Speter#   5 (you get a blinking yellow foreground instead).  A few displays
2128650276Speter#   (including the System V console) support an attribute 6 that undoes this
2128750276Speter#   braindamage (this is required by iBCS2).
2128850276Speter#
2128950276Speter# * Some older versions of ANSI.SYS have a bug that causes thems to require
2129050276Speter#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
2129150276Speter#   compatible.)
2129250276Speter
2129350276Speter#### Intel Binary Compatibility Standard
2129450276Speter#
21295166124Srafan# For comparison, here are the capabilities implied by the Intel Binary
2129650276Speter# Compatibility Standard for UNIX systems (Intel order number 468366-001).
2129750276Speter# These recommendations are optional.  IBCS2 allows the leading escape to
2129850276Speter# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
2129950276Speter# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
2130050276Speter# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
2130150276Speter# terminfo entry are followed with the corresponding capability in parens:
2130250276Speter#
2130350276Speter#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
2130450276Speter#	CSI 2h   		lock keyboard
2130550276Speter#	CSI 2i  		send screen as input
2130650276Speter#	CSI 2l  		unlock keyboard
2130750276Speter#	CSI 6m  		enable background color intensity
2130850276Speter#	CSI <0-2>c		reserved
2130950276Speter#	CSI <0-59>m		select graphic rendition
2131050276Speter#	CSI <n>;<m>H	(cup)	cursor to line n and column m
2131150276Speter#	CSI <n>;<m>f		cursor to line n and column m
2131250276Speter#	CSI <n>@	(ich)	insert characters
2131350276Speter#	CSI <n>A	(cuu)	cursor up n lines
2131450276Speter#	CSI <n>B	(cud)	cursor down n lines
2131550276Speter#	CSI <n>C	(cuu)	cursor right n characters
2131650276Speter#	CSI <n>D	(cud)	cursor left n characters
2131750276Speter#	CSI <n>E		cursor down n lines and in first column
2131850276Speter#	CSI <n>F		cursor up n lines and in first column
2131950276Speter#	CSI <n>G	(hpa)	position cursor at column n-1
2132050276Speter#	CSI <n>J	(ed)	erase in display
2132150276Speter#	CSI <n>K	(el)	erase in line
2132250276Speter#	CSI <n>L	(il)	insert line(s)
2132350276Speter#	CSI <n>P	(dch)	delete characters
2132450276Speter#	CSI <n>S	(indn)	scroll up n lines
2132550276Speter#	CSI <n>T	(rin)	scroll down n lines
2132650276Speter#	CSI <n>X	(ech)	erase characters
2132750276Speter#	CSI <n>Z	(cbt)	back up n tab stops
2132850276Speter#	CSI <n>`		cursor to column n on line
2132950276Speter#	CSI <n>a	(cuu)	cursor right n characters
2133050276Speter#	CSI <n>d	(vpa)	cursor to line n
2133150276Speter#	CSI <n>e		cursor down n lines and in first column
2133250276Speter#	CSI <n>g	(cbt)	clear all tabs
2133350276Speter#	CSI <n>z		make virtual terminal n active
2133450276Speter#	CSI ?7h 	(smam)	turn automargin on
2133550276Speter#	CSI ?7l 	(rmam)	turn automargin off
2133650276Speter#	CSI s     		save cursor position
2133750276Speter#	CSI u   		restore cursor position to saved value
2133850276Speter#	CSI =<c>A		set overscan color
2133950276Speter#	CSI =<c>F		set normal foreground color
2134050276Speter#	CSI =<c>G		set normal background color
2134150276Speter#	CSI =<c>H		set reverse foreground color
2134250276Speter#	CSI =<c>I		set reverse foreground color
2134350276Speter#	CSI =<c>J		set graphic foreground color
2134450276Speter#	CSI =<c>K		set graphic foreground color
2134550276Speter#	CSI =<n>g	(dispc) display n from alternate graphics character set
2134650276Speter#	CSI =<p>;<d>B		set bell parameters
2134750276Speter#	CSI =<s>;<e>C		set cursor parameters
2134850276Speter#	CSI =<x>D		enable/disable intensity of background color
2134950276Speter#	CSI =<x>E		set/clear blink vs. bold background
2135050276Speter#	CSI 7     	(sc)	(sc) save cursor position
2135150276Speter#	CSI 8   	(rc)	(rc) restore cursor position to saved value
2135250276Speter#	CSI H		(hts)	(hts) set tab stop
2135350276Speter#	CSI Q<n><string>	define function key string
2135450276Speter#				(string must begin and end with delimiter char)
2135550276Speter#	CSI c   	(clear) clear screen
2135650276Speter#
2135750276Speter# The lack of any specification for attributes in SGR (among other things)
21358166124Srafan# makes this a wretchedly weak standard. The table above is literally
2135950276Speter# everything iBSC2 has to say about terminal escape sequences; there is
2136050276Speter# no further discussion of their meaning or how to set the parameters
2136150276Speter# in these sequences at all.
2136250276Speter#
2136350276Speter
2136450276Speter######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
2136550276Speter#
2136650276Speter# The historical termcap file entries were written primarily in 4.4BSD termcap.
2136750276Speter# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
2136850276Speter# with the extension names chosen for compatibility with the termcap names
2136950276Speter# assigned in System V terminfo.  There are some variant extension sets out
2137050276Speter# there.  We try to describe them here.
2137150276Speter#
21372262685Sdelphij#### XENIX extensions:
2137350276Speter#
2137450276Speter# The XENIX extensions include a set of function-key capabilities as follows:
2137550276Speter#
2137650276Speter#       code	XENIX variable name	terminfo name	name clashes?
2137750276Speter#	----	-------------------	-------------	-----------------------
2137850276Speter#	CL	key_char_left
2137950276Speter#	CR	key_char_right
2138050276Speter#	CW	key_change_window			create_window
2138150276Speter#	EN	key_end          	kend
2138250276Speter#	HM	key_home		khome
2138350276Speter#	HP	??
2138450276Speter#	LD	key_delete_line  	kdl1
2138550276Speter#	LF	key_linefeed     			label_off
2138650276Speter#	NU	key_next_unlocked_cell
2138750276Speter#	PD	key_page_down   	knp
2138850276Speter#	PL	??
2138950276Speter#	PN	start_print		mc5
2139050276Speter#	PR	??
2139150276Speter#	PS	stop_print		mc4
2139250276Speter#	PU	key_page_up     	kpp		pulse
2139350276Speter#	RC	key_recalc				remove_clock
2139450276Speter#	RF	key_toggle_ref				req_for_input
2139550276Speter#	RT	key_return      	kent
2139650276Speter#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
2139750276Speter#	WL	key_word_left
2139850276Speter#	WR	key_word_right
2139950276Speter#
2140050276Speter# The XENIX extensions also include the following character-set and highlight
2140150276Speter# capabilities:
2140250276Speter#
2140350276Speter#	XENIX	terminfo	function
2140450276Speter#	-----	--------	------------------------------
2140550276Speter#	GS	smacs		start alternate character set
2140650276Speter#	GE	rmacs		end alternate character set
2140750276Speter#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
2140850276Speter#	bo	blink		begin blink (not used in /etc/termcap)
2140950276Speter#	be			end blink (not used in /etc/termcap)
2141050276Speter#	bb			blink glitch  (not used in /etc/termcap)
2141150276Speter#	it	dim		begin dim (not used in /etc/termcap)
2141250276Speter#	ie			end dim (not used in /etc/termcap)
2141350276Speter#	ig			dim glitch  (not used in /etc/termcap)
2141450276Speter#
2141550276Speter# Finally, XENIX also used the following forms-drawing capabilities:
2141650276Speter#
21417166124Srafan#	single	double  type             ASCII approximation
2141850276Speter#	------	------	-------------    -------------------
2141950276Speter#	GV	Gv	vertical line             |
2142050276Speter#	GH	Gv	horizontal line       -   _
2142150276Speter#	G1	G5	top right corner       _   |
21422166124Srafan#	G2	G6	top left corner       |
2142350276Speter#	G3	G7	bottom left corner         |_
2142450276Speter#	G4	G8	bottom right corner   _|
2142550276Speter#	GD	Gd	down-tick character        T
2142650276Speter#	GL	Gl	left-tick character   -|
2142750276Speter#	GR	Gr	right-tick character       |-
2142850276Speter#	GC	Gc	middle intersection   -|-
2142950276Speter#	GU	Gu	up-tick character          _|_
2143050276Speter#
2143150276Speter# These were invented to take advantage of the IBM PC ROM character set.  One
2143250276Speter# can compose an acsc string from the single-width characters as follows
2143350276Speter#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
2143450276Speter# When translating a termcap file, ncurses tic will do this automatically.
2143550276Speter# The double forms characters don't fit the SVr4 terminfo model.
2143650276Speter#
21437262685Sdelphij#### AT&T Extensions:
2143850276Speter#
2143950276Speter# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
2144050276Speter# nonstandard capabilities.  Its signature is the KM capability, used to name
2144150276Speter# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
2144250276Speter# set.  Comments in the original, and a little cross-checking with other AT&T
2144350276Speter# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
2144450276Speter# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
2144550276Speter# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
2144650276Speter# cursor invisible), and CV=:ve: (make cursor normal).
2144750276Speter#
21448262685Sdelphij#### HP Extensions
2144950276Speter#
2145050276Speter# The HP library (as of mid-1995, their term.h file version 70.1) appears to
2145150276Speter# have the System V capabilities up to SVr1 level.  After that, it supports
2145250276Speter# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
2145350276Speter# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
2145450276Speter# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
2145550276Speter# HP binary format incompatible with SVr4's.
2145650276Speter#
21457262685Sdelphij#### IBM Extensions
2145850276Speter#
2145950276Speter# There is a set of nonstandard terminfos used by IBM's AIX operating system.
2146050276Speter# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
2146150276Speter# capabilities following prtr_non with the following special capabilties:
2146250276Speter# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
2146350276Speter# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
2146450276Speter# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
2146550276Speter# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
2146650276Speter# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
2146750276Speter# renamed (to kcbt and kslt).  The places in the box[12] capabilities
2146850276Speter# correspond to acsc chars, here is the mapping:
2146950276Speter#
2147050276Speter#	box1[0]  = ACS_ULCORNER
21471166124Srafan#	box1[1]  = ACS_HLINE
2147250276Speter#	box1[2]  = ACS_URCORNER
2147350276Speter#	box1[3]  = ACS_VLINE
2147450276Speter#	box1[4]  = ACS_LRCORNER
2147550276Speter#	box1[5]  = ACS_LLCORNER
2147650276Speter#	box1[6]  = ACS_TTEE
2147750276Speter#	box1[7]  = ACS_RTEE
2147850276Speter#	box1[8]  = ACS_BTEE
2147950276Speter#	box1[9]  = ACS_LTEE
2148050276Speter#	box1[10] = ACS_PLUS
2148150276Speter#
2148250276Speter# The box2 characters are the double-line versions of these forms graphics.
2148350276Speter# The AIX binary terminfo format is incompatible with SVr4's.
2148450276Speter#
21485262685Sdelphij#### Iris console extensions:
2148650276Speter#
2148750276Speter# HS is half-intensity start; HE is half-intensity end
2148850276Speter# CT is color terminal type (for Curses & rogue)
2148950276Speter# CP is color change escape sequence
2149050276Speter# CZ are color names (for Curses & rogue)
2149150276Speter#
2149250276Speter# The ncurses tic utility recognizes HS as an alias for mh <dim>.
2149350276Speter#
21494262685Sdelphij#### TC Extensions:
2149550276Speter#
2149650276Speter# There is a set of extended termcaps associated with something
2149750276Speter# called the "Terminal Control" or TC package created by MainStream Systems,
2149850276Speter# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
2149950276Speter# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
2150050276Speter# that flags color terminals.
2150150276Speter#
21502262685Sdelphij######## NCURSES USER-DEFINABLE CAPABILITIES
21503262685Sdelphij#
21504262685Sdelphij# Extensions added after ncurses 5.0 generally use the "-x" option of tic and
21505262685Sdelphij# infocmp to manipulate user-definable capabilities.  Those that are intended
21506262685Sdelphij# for use in either terminfo or termcap use 2-character names.  Extended
21507262685Sdelphij# function keys do not use 2-character names, and are available only with
21508262685Sdelphij# terminfo.
21509262685Sdelphij#
21510262685Sdelphij# As of mid-2012, no other terminfo/termcap implementation than ncurses
21511262685Sdelphij# supports this extension; termcap libraries can as noted above make limited
21512262685Sdelphij# use of the feature.
21513262685Sdelphij#
21514262685Sdelphij# ncurses makes explicit checks for a few user-definable capabilities:  AX, U8,
21515262685Sdelphij# XM.
21516262685Sdelphij#
21517262685Sdelphij#### SCREEN Extensions:
21518262685Sdelphij#
21519262685Sdelphij# The screen program uses the termcap interface.  It recognizes a few useful
21520262685Sdelphij# nonstandard capabilities.  Those are used in this file.
21521262685Sdelphij#
21522262685Sdelphij#       AX   (bool)  Does  understand  ANSI  set  default fg/bg color (\E[39m /
21523262685Sdelphij#                    \E[49m).
21524262685Sdelphij#       G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
21525262685Sdelphij#       E0   (str)   Switch charset 'G0' back to standard charset.
21526262685Sdelphij#       S0   (str)   Switch charset 'G0' to the specified charset.
21527262685Sdelphij#       XT   (bool)  Terminal understands special xterm sequences  (OSC,  mouse
21528262685Sdelphij#                    tracking).
21529262685Sdelphij#
21530262685Sdelphij# AX is relatively straightforward; it is interpreted by ncurses to say that
21531262685Sdelphij# SGR 39/49 reset the terminal's foreground and background colors to their
21532262685Sdelphij# "default".
21533262685Sdelphij#
21534262685Sdelphij# XT is harder, since screen's manpage does not give more details.  For that,
21535262685Sdelphij# we must read screen's source-code.  When XT is set, screen assumes
21536262685Sdelphij#
21537262685Sdelphij# a) OSC 1 sets the title string, e.g., for the icon.  Recent versions of
21538262685Sdelphij#    screen may also set the terminal's name, which is (for xterm) distinct
21539262685Sdelphij#    from the icon name.
21540262685Sdelphij# b) OSC 20 sets the background pixmap.  This is an rxvt feature.
21541262685Sdelphij# c) OSC 39 and OSC 49 set the default foreground/background colors.  Again
21542262685Sdelphij#    this is an rxvt feature.
21543262685Sdelphij# d) certain mode settings enable the mouse: 9, 1000, 1001, 1002, 1003.
21544262685Sdelphij#    These are from xterm, although xterm accepts mouse codes that may not be
21545262685Sdelphij#    recognized by screen, e.g., 1005, 1006.
21546262685Sdelphij# e) colors beyond 0..7 are implemented by xterm's aixterm-like 16-color
21547262685Sdelphij#    sequence.  However, because screen uses only termcap, the values returned
21548262685Sdelphij#    by Af/Ab are not usable because they rely on expressions that termcap
21549262685Sdelphij#    does not support.  Therefore, screen uses a hardcoded string to work
21550262685Sdelphij#    around the limitation.
21551262685Sdelphij# f) all entries named "*xterm*" or "*rxvt*" have the bce flag set.
21552262685Sdelphij#
21553262685Sdelphij# The other ISO-2022 features are rarely used, but provided here to make
21554262685Sdelphij# screen's termcap features available.
21555262685Sdelphij#
21556262685Sdelphij#### XTERM Extensions:
21557262685Sdelphij#
21558262685Sdelphij# Most of the xterm extensions are for function-keys.  Since patch #94 (in
21559262685Sdelphij# 1999), xterm has supported shift/control/alt/meta modifiers which produce
21560262685Sdelphij# additional function-key strings.  Some other developers copied the feature,
21561262685Sdelphij# though they did not follow xterm's lead in patch #167 (in 2002), to make
21562262685Sdelphij# these key definitions less ambiguous.
21563262685Sdelphij#
21564262685Sdelphij# A few terminals provide similar functionality (sending distinct keys when
21565262685Sdelphij# a modifier is used), including rxvt.
21566262685Sdelphij#
21567262685Sdelphij# These are the extended keys defined in this file:
21568262685Sdelphij#
21569262685Sdelphij# kDC3 kDC4 kDC5 kDC6 kDC7 kDN kDN3 kDN4 kDN5 kDN6 kDN7 kEND3 kEND4 kEND5 kEND6
21570262685Sdelphij# kEND7 kHOM3 kHOM4 kHOM5 kHOM6 kHOM7 kIC3 kIC4 kIC5 kIC6 kIC7 kLFT3 kLFT4
21571262685Sdelphij# kLFT5 kLFT6 kLFT7 kNXT3 kNXT4 kNXT5 kNXT6 kNXT7 kPRV3 kPRV4 kPRV5 kPRV6 kPRV7
21572262685Sdelphij# kRIT3 kRIT4 kRIT5 kRIT6 kRIT7 kUP kUP3 kUP4 kUP5 kUP6 kUP7 ka2 kb1 kb3 kc2
21573262685Sdelphij#
21574262685Sdelphij# Here are the other xterm-related extensions which are used in this file:
21575262685Sdelphij#
21576262685Sdelphij# Cr is a string capability which resets the cursor color
21577262685Sdelphij# Cs is a string capability which sets the cursor color to a given value.
21578262685Sdelphij#    The single string parameter is the color name/number, according to the
21579262685Sdelphij#    implementation.
21580262685Sdelphij# Ms modifies the selection/clipboard.  Its parameters are
21581262685Sdelphij#	p1 = the storage unit (clipboard, selection or cut buffer)
21582262685Sdelphij#	p2 = the base64-encoded clipboard content.
21583262685Sdelphij# Se resets the cursor style to the terminal power-on default.
21584262685Sdelphij# Ss is a string capability with one numeric parameter.  It is used to set the
21585262685Sdelphij#    cursor style as described by the DECSCUSR function to a block or
21586262685Sdelphij#    underline.
21587262685Sdelphij# TS is a string capability which acts like "tsl", but uses no parameter and
21588262685Sdelphij#    goes to the first column of the "status line".
21589262685Sdelphij# XM is a string capability which overrides ncurses's built-in string which
21590262685Sdelphij#    enables xterm mouse mode.
21591262685Sdelphij#
21592262685Sdelphij#### Miscellaneous extensions:
21593262685Sdelphij#
21594262685Sdelphij# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
21595262685Sdelphij#    This was implemented for the Hurd.
21596262685Sdelphij# E3 clears the terminal's scrollback buffer.  This was implemented in the
21597262685Sdelphij#    Linux 3.0 kernel as a security feature.  It matches a feature which was
21598262685Sdelphij#    added in xterm patch #107.
21599262685Sdelphij# U8 is a numeric capability which denotes a terminal emulator which does not
21600262685Sdelphij#    support VT100 SI/SO when processing UTF-8 encoding.  Set this to a nonzero
21601262685Sdelphij#    value to enable it.
21602262685Sdelphij#
2160350276Speter######## CHANGE HISTORY
2160450276Speter#
2160550276Speter# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
21606262685Sdelphij# Releases 9 and 10 (up until the release of ncurses 4.2 in 1998) were
21607262685Sdelphij# maintained by Eric S. Raymond as part of the ncurses project.
2160850276Speter#
2160950276Speter# This file contains all the capability information present in John Kunze's
21610166124Srafan# last version of the termcap master file, except as noted in the change
2161150276Speter# comments at end of file.  Some information about very ancient obsolete
2161250276Speter# capabilities has been moved to comments.  Some all-numeric names of older
2161350276Speter# terminals have been retired.
2161450276Speter#
2161550276Speter# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
2161650276Speter# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
2161750276Speter# used by BSD curses.
2161850276Speter#
2161950276Speter# The 9.1.0 version of this file was translated from my lightly-edited copy of
2162050276Speter# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
2162150276Speter# the purpose.  Unless the ncurses tic implementation and the Lisp code were
2162250276Speter# making perfectly synchronized mistakes which I then failed to catch by
2162350276Speter# eyeball, the translation was correct and perfectly information-preserving.
2162450276Speter#
2162550276Speter# Major version number bumps correspond to major version changes in ncurses.
2162650276Speter#
2162750276Speter# Here is a log of the changes since then:
2162850276Speter#
2162950276Speter# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
2163050276Speter#	* First terminfo master translated from 8.3.
2163150276Speter# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
2163250276Speter#	* Replaced Wyse entries with updated entries supplied by vendor.
2163350276Speter#
2163450276Speter# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
2163550276Speter#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
2163650276Speter# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
2163750276Speter#	* Better XENIX keycap translation.  Describe TC termcaps.
2163850276Speter#	* Contact and history info supplied by Qume.
2163950276Speter# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
2164050276Speter#	* Raided the Shuford FTP site for recent termcaps/terminfos.
2164150276Speter#	* Added information on X3.64 and VT100 standard escape sequences.
2164250276Speter# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
2164350276Speter#	* Added a correct X11R6 xterm entry.
2164450276Speter#	* Fixed terminfo translations of padding.
2164550276Speter# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
2164650276Speter#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
2164750276Speter#	* Added u6/u7/u8/u9 capabilities.
2164850276Speter#	* Added PCVT entry.
2164950276Speter# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
2165050276Speter#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
2165150276Speter#	  to use reverse-video standout so Emacs will look right.
2165250276Speter#	* Added el1 capability to ansi.
2165350276Speter#	* Added smacs/rmacs to ansi.sys.
2165450276Speter#
2165550276Speter# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
2165650276Speter#	* New mt70 entry.
2165750276Speter#	* Added COPYRIGHTS AND OTHER DELUSIONS.
2165850276Speter#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
2165950276Speter#	  smartvid & smarterm, ampex 175 & 219 & 232,
2166050276Speter#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
2166150276Speter#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
2166250276Speter#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
2166350276Speter#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
2166450276Speter#	* Replaced the Perkin-Elmer entries with vendor's official ones.
2166550276Speter#	* Restored the old minimal-ansi entry, luna needs it.
2166650276Speter#	* Fixed some incorrect ip and proportional-padding translations.
2166750276Speter# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
2166850276Speter#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
2166950276Speter#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
2167050276Speter#	  to force a particular height.
2167150276Speter#	* Added beehive4 and reorganized other Harris entries.
2167250276Speter# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
2167350276Speter#	* Merged in DEC's official entries for its terminals.  The only old
2167450276Speter#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
2167550276Speter#	* Replaced the translated BBN Bitgraph entries with purpose-built
2167650276Speter#	  ones from AT&T's SVr3.
2167750276Speter#	* Replaced the AT&T entries with AT&T's official terminfos.
21678166124Srafan#	* Added teleray 16, vc415, cops10.
2167950276Speter#	* Merged in many individual capabilities from SCO terminfo files.
2168050276Speter# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
2168150276Speter#	* Typo fixes.
2168250276Speter#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
2168350276Speter# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
2168450276Speter#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
2168550276Speter#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
2168650276Speter#	  simterm, citoh and variants.
2168750276Speter#	* Replaced sol entry with sol1 and sol2.
2168850276Speter#	* Replaced Qume QVT and Freedom-series entries with purpose-built
2168950276Speter#	  terminfo entries.
2169050276Speter#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
2169150276Speter#	  and dg200 entries using caps from from SCO.
2169250276Speter#	* Added the usual set of function-key mappings to ANSI entry.
2169350276Speter#	* Corrected xterm's function-key capabilities.
2169450276Speter# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
2169550276Speter#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
2169650276Speter# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
2169750276Speter#	* Fix in xterm entry, get the arrow keys right.
2169850276Speter#	* Change some \0 escapes to \200.
2169950276Speter# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
2170050276Speter#	* Added apple (Videx card), adm1a, oadm31.
2170150276Speter#	* Fixed malformed ampex csr.
21702166124Srafan#	* Fixed act4, cyb110; they had old-style prefix padding left in.
2170350276Speter#	* Changed mandatory to advisory padding in many entries.
2170450276Speter#	* Replaced HP entries up to hpsub with purpose-built ones.
2170550276Speter#	* Blank rmir/smir/rmdc/smdc capabilities removed.
2170650276Speter#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
21707262685Sdelphij# 9.4.8 (Fri Apr  7 09:36:34 EDT 1995):
2170850276Speter#	* Replaced the Ann Arbor entries with SCO's, the init strings are
2170950276Speter#	  more efficient (but the entries otherwise identical).
2171050276Speter#	* Added dg211 from Shuford archive.
2171150276Speter#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
2171250276Speter#	  adm42-nl, pc52, gs6300, xerox820, uts30.
2171350276Speter#	* Pull SCO's padding into vi200 entry.
2171450276Speter#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
2171550276Speter#	  entries merged in from SCO's descriptions.
2171650276Speter#	* Fixed old-style prefix padding on zen50, h1500.
2171750276Speter#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
2171850276Speter#	  entry from SCO's description.
2171950276Speter#	* Reorganized the special entries.
2172050276Speter#	* Added lm#0 to cbunix and virtual entries.
2172150276Speter#
2172250276Speter# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
2172350276Speter#	* Restored cdc456tst.
2172450276Speter#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
2172550276Speter#	* Added megatek, beacon, microkit.
2172650276Speter#	* Freeze for ncurses-1.9 release.
2172750276Speter# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
2172850276Speter#	* Added historical data for TAB.
2172950276Speter#	* Comment fixes from David MacKenzie.
2173050276Speter#	* Added the new BSDI pc3 entry.
2173150276Speter# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
21732166124Srafan#	* A change in the tic -C logic now ensures that all entries in
2173350276Speter#	  the termcap translation will fit in < 1024 bytes.
2173450276Speter#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
2173550276Speter#	  from GNU termcap file.  This merges in all their local information.
2173650276Speter# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
2173750276Speter#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
2173850276Speter#	* Added warnings about entries with long translations (restoring
2173950276Speter#	  all the GNU termcaps pushes a few over the edge).
2174050276Speter# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
2174150276Speter#	* Yet another tic change, and a couple of entry tweaks, to reduce the
2174250276Speter#	  number of long (> 1024) termcap translations back to 0.
2174350276Speter#
2174450276Speter# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
2174550276Speter#	* Added kf13-kf20 to Linux entry.
2174650276Speter#	* Regularize Prime terminal names.
2174750276Speter#	* Historical data on Synertek.
2174850276Speter#	* Freeze for ncurses-1.9.1.
2174950276Speter# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
2175050276Speter#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
2175150276Speter#	* Eliminate whitespace in short name fields, this tanks some scripts.
2175250276Speter#	* Name field changes to shorten some long entries.
2175350276Speter#	* Termcap translation now automatically generates empty rmir/smir
2175450276Speter#	  when ich1/ich is present (copes with an ancient vi bug).
2175550276Speter#	* Added `screen' entries from FSF's screen-3.6.2.
2175650276Speter#	* Added linux-nic and xterm-nic entries.
2175750276Speter# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
2175850276Speter#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
2175950276Speter#	  eliminating some special-case code in ncurses.
2176050276Speter#
2176150276Speter# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
2176250276Speter#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
2176350276Speter#	  that captures everything unique from it.
2176450276Speter#	* Added reorder script generator.
2176550276Speter#	* Freeze for ncurses 1.9.2 release.
2176650276Speter# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
2176750276Speter#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
2176850276Speter#	* Added Olaf Siebert's corrections for adm12.
2176950276Speter#	* ansi-pc-color now includes the colors and pairs caps, so that
2177050276Speter#	  entries which use it will inherit them automatically.
2177150276Speter#	* The linux entry can now recognize the center (keypad 5) key.
2177250276Speter#	* Removed some junk that found its way into Linux acsc.
2177350276Speter#
2177450276Speter# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
2177550276Speter#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
2177650276Speter#	* xterm doesn't try to use application keypad mode any more.
2177750276Speter#	* Freeze for ncurses-1.9.3 release.
2177850276Speter# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
2177950276Speter#	* Added corrected sun entry from vendor.
2178050276Speter#	* Added csr capability to linux entry.
2178150276Speter#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
2178250276Speter#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
21783166124Srafan#	* Some commented-out caps in long entries come back in, my code
2178450276Speter#	  for computing string-table lengths had a bug in it.
2178550276Speter#	* pcansi series modified to fit comm-program reality better.
2178650276Speter# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
2178750276Speter#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
2178850276Speter#	* Correct some bad aliases in the pcansi series
2178950276Speter#	* Added entry for QNX console.
2179050276Speter#	* Clean up duplicate long names for use with 4.4 library.
2179150276Speter#	* Change vt100 standout to be normal reverse vide, not bright reverse;
2179250276Speter#	  this makes the Emacs status line look better.
2179350276Speter# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
2179450276Speter#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
2179550276Speter#	* Minor surgery, mostly on name strings, to shorten termcap version.
2179650276Speter#
2179750276Speter# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
2179850276Speter#	* Added dec-vt100 for use with the EWAN emulator.
2179950276Speter#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
2180050276Speter#	* Freeze for 1.9.5 alpha release.
2180150276Speter# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
2180250276Speter#	* Changed xterm lines to 24, the X11R6 default.
2180350276Speter# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
2180450276Speter#	* Added 7 newly discovered, undocumented acsc characters to linux
2180550276Speter#	  entry (the pryz{|} characters).
2180650276Speter#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
2180750276Speter#	* Correct two typos in the xterm entries introduced in 9.9.1.
2180850276Speter#	* I finally figured out how to translate ko capabilities.  Done.
2180950276Speter#	* Added tvi921 entries from Tim Theisen.
2181050276Speter#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
2181150276Speter#	* Removed mystery tec entry, it was neither interesting nor useful.
2181250276Speter#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
2181350276Speter#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
2181450276Speter#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
2181550276Speter#	  by making them relative to use capabilities
2181650276Speter#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
2181750276Speter#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
2181850276Speter#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
2181950276Speter#	  ampex80,
21820166124Srafan#	* Translate all home=\E[;H capabilities to home=\E[H, they're
2182150276Speter#	  equivalent.
2182250276Speter#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
2182350276Speter#	  vt100 and ANSI-like terminals.
2182450276Speter# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
2182550276Speter#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
2182650276Speter#	  does this now, too.
2182750276Speter#	* fviewpoint is gone, it duplicated screwpoint.
2182850276Speter#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
21829166124Srafan#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
2183050276Speter#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
2183150276Speter#	  The UW vi50 replaces the old one, which becomes vi50adm,
2183250276Speter#	* No more embedded commas in name fields.
2183350276Speter#
2183450276Speter# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
2183550276Speter#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
2183650276Speter#	* Introduced klone+* entries for describing Intel-console behavior.
2183750276Speter#	* Linux kbs is default-mapped to delete for some brain-dead reason.
2183850276Speter#	* -nsl -> -ns.  The -pp syntax is obsolete.
2183950276Speter#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
2184050276Speter#	* Make xterm entry do application-keypad mode again.  I got complaints
2184150276Speter#	  that it was messing up someone's 3270 emulator.
2184250276Speter#	* Added some longname fields in order to avoid warning messages from
2184350276Speter#	  older tic implementations.
2184450276Speter#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
2184550276Speter#	  it! (This gives us pi, greater than, less than, and a few more.)
2184650276Speter#	* Freeze for ncurses-1.9.6 release.
2184750276Speter# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
2184850276Speter#	* Add xon to a number of console entries, they're memory-mapped and
2184950276Speter#	  don't need padding.
2185050276Speter#	* Correct the use dependencies in the ansi series.
2185150276Speter#	* Hand-translate more XENIX capabilities.
2185250276Speter#	* Added hpterm entry for HP's X terminal emulator.
2185350276Speter#	* Added aixterm entries.
21854166124Srafan#	* Shortened four names so everything fits in 14 chars.
2185550276Speter#
2185650276Speter# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
2185750276Speter#	* Added ibcs2 entry and info on iBCS2 standard.
2185850276Speter#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
2185950276Speter#	* We can handle the HP meml/memu capability now.
2186050276Speter#	* Added smacs to klone entries, just as documentation.
2186150276Speter#	* Carrected ansi.sys and cit-500 entries.
2186250276Speter#	* Added z39, vt320-k311, v220c, and avatar entries.
2186350276Speter#	* Make pcansi use the ansi.sys invis capability.
2186450276Speter#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
2186550276Speter#	  tvi925, tvi950, dt80, ncr7900i, h19.
2186650276Speter#	* X3.64 has been withdrawn, change some references.
2186750276Speter#	* Removed function keys from ansi-m entry.
2186850276Speter#	* Corrected ansi.sys entry.
2186950276Speter#	* Freeze for ncurses-1.9.7 release.
2187050276Speter# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
2187150276Speter#	* Added rmam/smam capabilities to many entries based on init strings.
2187250276Speter#	* Added correct hpa/vpa to linux.
2187350276Speter#	* Reduced several entries relative to vt52.
2187450276Speter# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
2187550276Speter#	* Exiled some utterly unidentifiable custom and homebrew types to the
2187650276Speter#	  UFO file; also, obsolete small-screen hardware; also, entries which
2187750276Speter#	  look flat-out incorrect, garbled, or redundant.  These include the
21878166124Srafan#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
2187950276Speter#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
2188050276Speter#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
21881166124Srafan#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
21882166124Srafan#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
21883166124Srafan#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
21884166124Srafan#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
21885166124Srafan#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
21886166124Srafan#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
21887166124Srafan#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
21888166124Srafan#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
21889166124Srafan#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
2189050276Speter#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
2189150276Speter#	* Corrected pcvt25h as suggested by Brian C. Grayson
2189250276Speter#	  <bgrayson@pine.ece.utexas.edu>.
2189350276Speter# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
21894166124Srafan#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
2189550276Speter#	* Added kent=\EOM to xterm entry.
2189650276Speter#
2189750276Speter# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
2189850276Speter#	* Corrected gigi entry.
2189950276Speter#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
2190050276Speter#	  bad hpa/vpa capabilities.
2190150276Speter#	* Corrected flash strings to have a uniform delay of .2 sec.  No
2190250276Speter#	  more speed-dependent NUL-padding!
2190350276Speter#	* terminfo capabilities in comments bracketed with <>.
2190450276Speter# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
2190550276Speter#	* Replaced pcvt with the 3.31 pcvt entries.
2190650276Speter#	* Freeze for 1.9.7a.
2190750276Speter# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
2190850276Speter#	* Added emu entry from the X11R6 contrib tape sources.
2190950276Speter#
2191050276Speter# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
2191150276Speter#	* Improved iris-ansi and sun entries.
2191250276Speter#	* More flash string improvements.
2191350276Speter#	* Corrected wy160 & wy160 as suggested by Robert Dunn
21914166124Srafan#	* Added dim to at386.
2191550276Speter#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
2191650276Speter#	  he's ready to start using the termcap generated from this one.
2191750276Speter#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
2191850276Speter#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
2191950276Speter#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
21920166124Srafan#	  att610, att620, att630,
2192150276Speter#	* Changed hazeltine name prefix from h to hz.
2192250276Speter#	* Sent t500 to the UFI file.
2192350276Speter#	* I think we've sucked all the juice out of BSDI's termcap file now.
2192450276Speter#	* Freeze for ncurses 1.9.8 release
2192550276Speter# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
2192650276Speter#	* Unfreeze, linux kbs needed to be fixed.
2192750276Speter#	* Tim Theisen pinned down a bug in the DMD firmware.
2192850276Speter# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
2192950276Speter#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
2193050276Speter#	  (The broken ones had been shadowed by sgr.)
2193150276Speter# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
2193250276Speter#	* Added documentation on ECMA-48 standard.
2193350276Speter#	* New Amiga entry.
2193450276Speter# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
2193550276Speter#	* More ECMA-48 stuff
2193650276Speter#	* Corrected typo in minix entry, added pc-minix.
2193750276Speter#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
2193850276Speter#	* Added rxvt entry.
2193950276Speter#	* Added 1.3.x color-change capabilities to linux entry.
2194050276Speter# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
2194150276Speter#	* Corrected rxvt entry khome/kend.
2194250276Speter#	* Corrected linux color change capabilities.
2194350276Speter#	* NeXT entries from Dave Wetzel.
2194450276Speter#	* Cleaned up if and rf file names (all in /usr/share now).
2194550276Speter#	* Changed linux op capability to avoid screwing up a background color
2194650276Speter#	  pair set by setterm.
2194750276Speter# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
2194850276Speter#	* Added xterm-sun.
2194950276Speter# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
2195050276Speter#	* Added visa50.
2195150276Speter#
2195250276Speter# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
2195350276Speter#	* Another sweep through the Shuford archive looking for new info.
2195450276Speter#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
2195550276Speter# 	* Added st52 from Per Persson.
2195650276Speter#	* Added eterm from the GNU Emacs 19.30 distribution.
2195750276Speter#	* Freeze for 1.9.9.
2195850276Speter# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
2195950276Speter#	* FreeBSD console entries from Andrew Chernov.
2196050276Speter#	* Removed duplicate Atari st52 name.
2196150276Speter# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
2196250276Speter#	* xterm doesn't actually have ACS_BLOCK.
2196350276Speter#	* Change klone+color setf/setb to simpler forms that can be
2196450276Speter#	  translated into termcap.
2196550276Speter#	* Added xterm1.
2196650276Speter#	* Removed mechanically-generated junk capabilities from cons* entries.
2196750276Speter#	* Added color support to bsdos.
2196850276Speter# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
2196950276Speter#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
2197050276Speter#	* Created ecma+color, linux can use it.  Also added ech to linux.
2197150276Speter#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
2197250276Speter#	* Add descriptions to FreeBSD console entries.  Also shorten
2197350276Speter#	  some aliases to <= 14 chars for portability.
2197450276Speter#	* Added x68k console
2197550276Speter#	* Added OTbs to several VT-series entries.
2197650276Speter# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
21977166124Srafan#	* screen entry update for 3.7.1 from Michael Alan Dorman.
2197850276Speter# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
2197950276Speter#	* kterm correction due to Kenji Rikitake.
2198050276Speter#	* ACS correction in vt320-kll due to Phillippe De Muyter.
2198150276Speter# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
2198250276Speter#	* Sun console entry correction from J.T. Conklin.
2198350276Speter#	* Changed all DEC VT300 and up terminals to use VT300 tab set
2198450276Speter# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
21985166124Srafan#	* Added smul to linux entry (we never noticed it was missing
2198650276Speter#	  because of sgr!).
2198750276Speter#	* Added rmln to hp+labels (deduced from other HP entries).
2198850276Speter#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
2198950276Speter#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
2199050276Speter#	* Corrected vt220 acsc.
2199150276Speter#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
2199250276Speter#	  this corresponds to reality and helps prevent some tic warnings.
2199350276Speter#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
2199450276Speter#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
2199550276Speter#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
2199650276Speter#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
2199750276Speter#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
21998166124Srafan#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
2199950276Speter#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
2200050276Speter#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
2200150276Speter#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
2200250276Speter#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
2200350276Speter#	  ifmr, v3220, wy100q, tandem653, ibmaed.
2200450276Speter#	* Added DWK terminal description.
2200550276Speter# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
2200650276Speter#	* Many entries now have highlights inherited from adm+sgr.
2200750276Speter#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
2200850276Speter#	* xtitle and xtitle-twm enable access to the X status line.
2200950276Speter#	* Added linux-1.3.6 color palette caps in conventional format.
2201050276Speter#	* Added adm1178 terminal.
2201150276Speter#	* Move fos and apollo terminals to obsolete category.
2201250276Speter#	* Aha! The BRL terminals file told us what the Iris extensions mean.
2201350276Speter#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
2201450276Speter#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
22015166124Srafan#	  cit500, adm11.
2201650276Speter# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
2201750276Speter#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
2201850276Speter#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
2201950276Speter#	* Corrected, from BRL termcap file: vi50.
2202050276Speter#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
2202150276Speter# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
2202250276Speter#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
2202350276Speter#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
2202450276Speter#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
2202550276Speter#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
2202650276Speter#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
2202750276Speter#	* Paired-attribute fixes to various terminals.
2202850276Speter#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
2202950276Speter#	* xterm entry corrections from Thomas Dickey.
2203050276Speter# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
2203150276Speter#	* Added t916 entry, translated from a termcap in SCO's support area.
2203250276Speter#	* New qnx entry from Michael Hunter.
2203350276Speter# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
2203450276Speter#	* Added hpex2 from Ville Sulko.
2203550276Speter#	* Fixed a bug that ran the qnx and pcvtXX together.
2203650276Speter# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
2203750276Speter#	* Added dtterm entry from Solaris CDE.
2203850276Speter# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
2203950276Speter#	* corrected pairs#8 typo in dtterm entry.
2204050276Speter#	* added tvi9065.
2204150276Speter# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
22042166124Srafan#	* updated xterm entry to cover 3.1.2E's new features.
2204350276Speter# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
2204450276Speter#	* Added new minix entry
2204550276Speter#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
2204650276Speter#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
2204750276Speter# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
2204850276Speter#	* Added Prism entries and kt7ix.
2204950276Speter#	* Caution notes about EWAN and tabset files.
2205050276Speter#	* Changed /usr/lib/tabset -> /usr/share/tabset.
2205150276Speter#	* Added acsc/rmacs/smacs to vt52.
2205250276Speter# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
2205350276Speter#	* Merged in Thomas Dickey's reorganization of the xterm entries;
2205450276Speter#	  added technical corrections to avoid warning messages.
2205550276Speter# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
2205650276Speter#	* Added rmso=\E[27m in Linux entry.
2205750276Speter#	* Added koi8-r support for Linux console.
2205850276Speter#	* Replace xterm entries with canonical ones from XFree86 3.2.
2205950276Speter# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
2206050276Speter#	* Added color_xterm from Jacob Mandelson
2206150276Speter# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
2206250276Speter#	* Back off the xterm entry to use r6 as a base.
2206350276Speter# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
2206450276Speter#	* Added dec-vt220 at Adrian Garside's request.
22065174993Srafan#
22066174993Srafan#-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
22067174993Srafan#
22068174993Srafan# 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
22069174993Srafan#	* Minor corrections to xterm entries.
22070174993Srafan#	* Replaced EWAN telnet entry.
22071174993Srafan#	* Dropped the reorder script generator.  It was a fossil.
2207250276Speter# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
2207350276Speter#	* Replaced minitel-2 entry.
2207450276Speter#	* Added MGR, ansi-nt.
22075174993Srafan# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
22076174993Srafan#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
22077174993Srafan#	  the 4.4BSD Lite2 file.
22078174993Srafan#
22079174993Srafan# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
22080174993Srafan#	* Use setaf/setab consistently with SVr4.
22081174993Srafan#	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
22082174993Srafan# 10.1.2 (Sat May 24 21:10:57 EDT 1997)
22083174993Srafan#	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
22084174993Srafan#	* add xterm-16color, for XFree86 3.3
22085174993Srafan# 10.1.3 (Sat May 31 12:21:05 EDT 1997)
22086174993Srafan#	* correct typo in emu
22087174993Srafan#	* correct typo in vt102-w (Robert Wuest)
22088174993Srafan#	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
22089174993Srafan# 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
22090174993Srafan#	* remove ech capability from rxvt (it does the wrong thing)
22091174993Srafan# 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
22092174993Srafan#	* remove spurious newlines from several entries (hp+color, wy50,
22093174993Srafan#	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
22094174993Srafan#	  gs6300)
22095174993Srafan# 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
22096174993Srafan#	* correct rmso capability of wy50-mc
22097174993Srafan# 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
22098174993Srafan#	* add cbt to xterm-xf86-v32
22099174993Srafan#	* disentangle some entries from 'xterm', preferring xterm-r6 in case
22100174993Srafan#	  'xterm' is derived from xterm-xf86-v32, which implements ech and
22101174993Srafan#	  other capabilities not in xterm-r6.
22102174993Srafan#	* remove alternate character set from kterm entry.
22103174993Srafan# 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
22104174993Srafan#	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
22105174993Srafan# 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
22106174993Srafan#	* add xterm-8bit entry.
22107174993Srafan# 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
22108174993Srafan#	* repair several places where early version of tic replaced \, with \\\,
22109174993Srafan#	* make acsc entries canonical form (sorted, uniq).
22110174993Srafan#	* modify acsc entries for linux, linux-koi8
22111174993Srafan#	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
22112174993Srafan#	* add color, mouse support to kterm.
22113174993Srafan# 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
22114174993Srafan#	* correct wy120 smxon/tbc capabilities which were stuck together.
22115174993Srafan# 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
22116174993Srafan#	* add entry for xterm-xf86-v39t
22117174993Srafan# 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
22118174993Srafan#	* add u8,u9 to sun-il description
22119174993Srafan# 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
22120174993Srafan#	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
22121174993Srafan#	  version.
22122174993Srafan#	* add hds200 description (Walter Skorski)
22123174993Srafan#	* add EMX 0.9b descriptions
22124174993Srafan#	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
22125174993Srafan#	* rename xhpterm back to hpterm.
22126174993Srafan# 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
22127174993Srafan#	* change initc in linux-c-nc to use 0..1000 range.
22128174993Srafan# 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
22129174993Srafan#	* remove hpa/vpa from rxvt, which implements them incorrectly.
22130174993Srafan#	* add sgr0 for rxvt.
22131174993Srafan#	* remove bogus smacs/rmacs from EMX descriptions.
22132174993Srafan# 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
22133174993Srafan#	* revised entry for att7300
22134174993Srafan# 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
22135174993Srafan#	* use \0 rather than \200.
22136174993Srafan#	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
22137174993Srafan# 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
22138174993Srafan#	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
22139174993Srafan#	* rename xterm-xf86-v39t to xterm-xf86-v40
22140174993Srafan#	* remove bold/underline from sun console entries since they're not
22141174993Srafan#	  implemented.
22142174993Srafan# 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
22143174993Srafan#	* add beterm entry (Fred Fish)
22144174993Srafan#	* add irix-color/xwsh entry.
22145174993Srafan#	* turn ncv off for linux.
22146174993Srafan# 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
22147174993Srafan#	* set ncv for FreeBSD console (treat colors with reverse specially).
22148174993Srafan#	* remove sgr string from qnx based on report by Xiaodan Tang
22149174993Srafan# 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
22150174993Srafan#	* remove spurious commas from descriptions
22151174993Srafan#	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
22152174993Srafan# 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
22153174993Srafan#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
22154174993Srafan#	  apparently based on cp-866).
22155174993Srafan#
22156174993Srafan#-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
22157174993Srafan#
22158174993Srafan# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
22159174993Srafan#	* Replaced minitel-2 entry.
22160174993Srafan#	* Added MGR, ansi-nt.
2216150276Speter#	* Minor corrections to xterm entries.
2216250276Speter#	* Replaced EWAN telnet entry.
2216350276Speter#	* Dropped the reorder script generator.  It was a fossil.
2216450276Speter# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
2216550276Speter#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
2216650276Speter#	  the 4.4BSD Lite2 file.
2216750276Speter# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
2216850276Speter#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
2216950276Speter#	* Updated iris-ansi; corrected vt102-w.
2217050276Speter#	* Switch base xterm entry to 3.3 level.
2217150276Speter# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
2217250276Speter#	* Added basic4.
2217350276Speter#	* Removed rmir/smir from tv92B.
2217450276Speter#
2217550276Speter# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
2217650276Speter#	* add hds200 description (Walter Skorski)
2217750276Speter#	* add beterm entry (Fred Fish)
2217850276Speter#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
2217950276Speter#	  iris-color entries.
2218050276Speter#	* add emx entries.
2218150276Speter#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
2218250276Speter#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
2218350276Speter#	  versions.
2218450276Speter#	* remove sgr string from qnx based on report by Xiaodan Tang
2218550276Speter#	* Added u8/u9, removed rmul/smul from sun-il.
2218650276Speter#	* 4.2 tic displays \0 rather than \200.
2218750276Speter#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
2218850276Speter#	  apparently based on cp-866).
2218950276Speter#	* Merged in Pavel Roskin's acsc for linux-koi8
2219050276Speter#	* Corrected some erroneous \\'s to \.
2219150276Speter#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
2219250276Speter#	* II -> ii in pcvtXX, screen, xterm.
2219350276Speter#	* Removed \n chars following ANSI escapes in sgr & friends.
2219450276Speter#	* Updated Wyse entries.
2219550276Speter#	* h19 corrections from Tim Pierce.
2219650276Speter#	* Noted that the dm2500 has both ich and smir.
2219750276Speter#	* added pccons for the Alpha under OSF/1.
2219850276Speter#	* Added Sony NEWS workstation entries and cit101e-rv.
2219950276Speter#	* Reverted `amiga'; to Kent Polk's version, as I'm told
2220050276Speter#	  the Verkuil entry messes up with Amiga Telnet.
2220150276Speter# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
2220250276Speter#	* Corrected attributions in 10.2.0 release notes.
2220350276Speter#	* Scanned the Shuford archive for new terminfos and information.
2220450276Speter#	* Removed sgr from qnx entry (Thomas Dickey).
2220550276Speter#	* Added entries for ICL and Kokusai Data Systems terminals.
2220650276Speter#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
2220750276Speter#	* Incorporated att700 from the Boundless Technology FTP site.
2220850276Speter#	* Miscellaneous contact-address and Web-page updates.
2220950276Speter#
22210174993Srafan#-(changelog-beginning-ncurses-4.2)---------------------------------------------
22211174993Srafan#
2221250276Speter# 1998/5/9
2221350276Speter#	* add nxterm and xterm-color terminfo description (request by Cristian
2221450276Speter#	  Gafton <gafton@redhat.com>).
2221550276Speter#	* modify rxvt terminfo description to clear alternate screen before
2221650276Speter#	  switching back to normal screen, for compatibility with applications
2221750276Speter#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
2221850276Speter#	* modify linux terminfo description to reset color palette (reported
2221950276Speter#	  by Telford Tendys <telford@eng.uts.edu.au>).
2222050276Speter#
2222150276Speter# 1998/7/4
2222250276Speter#	* merge changes from current XFree86 xterm terminfo descriptions.
2222350276Speter#
2222450276Speter# 1998/7/25
2222550276Speter#	* Added minitel1 entries from Alexander Montaron.
2222650276Speter#	* Added qnxt2 from Federico Bianchi.
2222750276Speter#	* Added arm100 terminfo entries from Dave Millen.
2222850276Speter#
2222950276Speter# 1998/8/6
2223050276Speter#	* Added ncsa telnet entries from Francesco Potorti
2223150276Speter#
2223250276Speter# 1998/8/15
2223350276Speter#	* modify ncsa telnet entry to reflect color, other capabilities based on
2223450276Speter#	  examination of the source code - T.Dickey.
2223550276Speter#
2223650276Speter# 1998/8/22
2223750276Speter#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
2223850276Speter#
2223950276Speter# 1998/8/29
2224050276Speter#	* Added Francesco Potorti's tuned Wyse 99 entries.
2224150276Speter#	* dtterm enacs correction from Alexander V. Lukyanov.
2224250276Speter#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
2224350276Speter#	* correct a typo in icl6404 entry.
2224450276Speter#	* add xtermm and xtermc
2224550276Speter#
2224650276Speter# 1998/9/26
2224750276Speter#	* format most %'char' sequences to %{number}
2224850276Speter#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
2224950276Speter#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
2225050276Speter#
2225150276Speter# 1998/10/10
2225250276Speter#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
2225350276Speter#	* correct initialization string in xterm-r5, add misc other features
2225450276Speter#	  to correspond with xterm patch 84 - TD
2225550276Speter#
2225650276Speter# 1998/12/19
2225750276Speter#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
2225850276Speter#	* add Mathew Vernon's mach console entries
2225950276Speter#	* corrections for ncsa function-keys (report by Larry Virden)
2226050276Speter#
2226150276Speter# 1998/12/19
2226250276Speter#	* change linux to use ncv#2, since underline does not work with color - TD
2226350276Speter#
2226450276Speter# 1999/1/9
2226550276Speter#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
2226650276Speter#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
2226750276Speter#	  application modes, change kent to use the correct keypad code - TD
2226850276Speter#
2226950276Speter# 1999/1/10
2227050276Speter#	* add entry for Tera Term - TD
2227150276Speter#
2227250276Speter# 1999/1/23
2227350276Speter#	* minor improvements for teraterm entry - TD
2227450276Speter#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
2227550276Speter#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
2227650276Speter#
2227750276Speter# 1999/2/20
2227850276Speter#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
2227950276Speter#	  xterm and ncsa entries by removing the unneeded ones.  Note that
2228050276Speter#	  some entries will return kend & khome versus kslt and kfnd, for
2228150276Speter#	  PC-style keyboards versus strict vt220 compatiblity - TD
2228250276Speter#
2228350276Speter# 1999/3/13
2228450276Speter#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
2228550276Speter#	  tables - TD
2228650276Speter#	* add 'crt' entry - TD
2228750276Speter#	* correct typos in 'linux-c' entry - TD
2228850276Speter#
2228950276Speter# 1999/3/14
2229050276Speter#	* update entries for BSD/OS console to use klone+sgr and klone+color
2229150276Speter#	  (Jeffrey C Honig)
2229250276Speter#
2229350276Speter# 1999/3/27
2229450276Speter#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
2229550276Speter#
2229650276Speter# 1999/4/10
2229750276Speter#	* add linux-lat, from RedHat patches to ncurses 4.2
2229850276Speter#
2229950276Speter# 1999/4/17
2230050276Speter#	* add complete set of default function-key definitions for scoansi - TD.
2230150276Speter#
2230250276Speter# 1999/7/3
2230350276Speter#	* add cnorm, cvvis for Linux 2.2 kernels
2230450276Speter#
2230550276Speter# 1999/7/24
2230650276Speter#	* add kmous to xterm-r5 -TD
2230750276Speter#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
2230850276Speter#	  parent "use" clause -TD
2230950276Speter#
2231050276Speter# 1999/7/31
2231150276Speter#	* corrected cnorm, added el1 in 'screen' description -TD
2231250276Speter#
2231350276Speter# 1999/8/14
2231450276Speter#	* add ms-vt100 -TD
2231550276Speter#
2231650276Speter# 1999/8/21
2231750276Speter#	* corrections to beterm entry -TD
2231850276Speter#
2231956639Speter# 1999/8/28
2232056639Speter#	* add cygwin entry -TD
2232156639Speter#
2232256639Speter# 1999/9/4
2232356639Speter#	* minor corrections for beterm entry -TD
2232456639Speter#
2232556639Speter# 1999/9/18
2232656639Speter#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
2232756639Speter#
2232856639Speter# 1999/9/25
2232956639Speter#	* add amiga-8bit entry
2233056639Speter#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
2233156639Speter#	  rcons-color, based on
2233256639Speter#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
2233356639Speter#	* add alias for iris-ansi-net
2233456639Speter#
2233556639Speter# 1999/10/2
2233656639Speter#	* corrected scoansi entry's acsc, some function keys, add color -TD
2233756639Speter#
2233856639Speter# 1999/10/23
2233956639Speter#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
2234056639Speter#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
2234156639Speter#	  key mapping, leaving Potorti's entries more like he named them -TD
2234256639Speter#	* remove enter/exit am-mode from cygwin -TD
2234356639Speter#
2234462449Speter# 1999/10/30
2234562449Speter#	* correct typos in several entries (missing '[' from CSI):
2234662449Speter#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
2234762449Speter#	  strings for avt-ns -TD
2234862449Speter#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
2234962449Speter#
2235062449Speter# 1999/11/27
2235162449Speter#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
2235262449Speter#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
2235362449Speter#	* add xterm-88color and xterm-256color -TD
2235462449Speter#
2235562449Speter# 1999/12/4
2235662449Speter#	* add "obsolete" termcap strings -TD
2235762449Speter#	* add kvt and gnome entries -TD
2235862449Speter#
2235962449Speter# 1999/12/11
2236062449Speter#	* correct cup string for regent100 -TD
2236162449Speter#
2236262449Speter# 2000/1/1
2236362449Speter#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
2236462449Speter#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
2236562449Speter#	* change OTrs capabilities to rs2 -TD
2236662449Speter#	* add obsolete and extended capabilities to 'screen' -TD
2236762449Speter#
2236862449Speter# 2000/1/5
2236962449Speter#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
2237062449Speter#	  with kf10 -TD
2237162449Speter#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
2237262449Speter#	  and adding kcbt -TD
2237362449Speter#
2237462449Speter# 2000/1/12
2237562449Speter#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
2237662449Speter#	  nonstandard resource settings -TD
2237762449Speter#
2237862449Speter# 2000/2/26
2237962449Speter#	* minor fixes for xterm-*, based on Debian #58530 -TD
2238062449Speter#
2238162449Speter# 2000/3/4
2238262449Speter#	* add several terminal types from esr's "11.0", as well as comments.
2238362449Speter#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
2238462449Speter#	  vt220-8bit, vt220-old, wy85-8bit
2238562449Speter#
2238662449Speter# 2000/3/18
2238762449Speter#	* add several terminal types from esr's "11.0.1" (ansi-*).
2238862449Speter#	* update OTxx capabilities for changes on 2000/3/4.
2238962449Speter#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
2239062449Speter#
2239162449Speter# 2000/3/26
2239262449Speter#	* move screen's AX extension to ecma+color, modify several entries to
2239362449Speter#	  use that, adjusting ncv as needed -TD
2239462449Speter#
2239562449Speter# 2000/4/8
2239662449Speter#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
2239762449Speter#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
2239862449Speter#	  in esr's version.
2239962449Speter#
2240062449Speter# 2000/4/15
2240162449Speter#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
2240262449Speter#	* correct color definition for ibm3164, make minor changes to other
2240362449Speter#	  IBM terminal definitions based on recent terminfo descriptions -TD
2240462449Speter#
2240562449Speter# 2000/4/22
2240662449Speter#	* add mgterm, from NetBSD -TD
2240762449Speter#	* add alias sun-cgsix for sun-ss5 as per NetBSD
2240862449Speter#	* change cons25w to use rs2 for reset rather than rs1 -TD
2240962449Speter#	* add rc/sc to aixterm based on manpage -TD
2241062449Speter#
2241162449Speter# 2000/5/13
22412166124Srafan#	* remove ncv from xterm-16color, xterm-256color
2241362449Speter#
2241462449Speter# 2000/6/10
2241562449Speter#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
2241662449Speter#
2241762449Speter# 2000/7/1
2241862449Speter#	* add Eterm (Michael Jennings)
2241962449Speter#
2242066963Speter# 2000-07-18
2242166963Speter#       * add amiga-vnc entry.
2242266963Speter#
2242366963Speter# 2000-08-12
2242466963Speter#	* correct description of Top Gun Telnet.
2242566963Speter#	* add kterm-color
2242666963Speter#
2242766963Speter# 2000-08-26
2242866963Speter#	* add qansi* entries from QNX ftp site.
2242966963Speter#
2243066963Speter# 2000-09-16
2243166963Speter#	* add Matrix Orbital entries by Eric Z. Ayers).
2243266963Speter#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
2243366963Speter#	  4.0.1c -TD
2243466963Speter#
2243566963Speter# 2000-09-17
2243666963Speter#	* add S0, E0 extensions to screen's entry -TD
2243766963Speter#
2243866963Speter# 2000-09-23
2243966963Speter#	* several corrections based on tic's new parameter-checking code -TD
2244066963Speter#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
2244166963Speter#	  bracketing sequences that reset video attributes (\E8 would restore
2244266963Speter#	  them) -TD
2244366963Speter#
2244476726Speter# 2000-11-11
2244576726Speter#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
2244676726Speter#
2244776726Speter# 2000-12-16
2244876726Speter#	* improved scoansi, based on SCO man-page, and testing console,
2244976726Speter#	  scoterm with tack -TD
2245076726Speter#
2245176726Speter# 2001-01-27
2245276726Speter#	* modify kterm to use acsc via SCS controls.
2245376726Speter#
2245476726Speter# 2001-02-10
2245576726Speter#	* screen 3.9.8 allows xterm mouse controls to pass-through
2245676726Speter#
2245776726Speter# 2001-03-11
2245876726Speter#	* remove spurious "%|" from some xterm entries.
2245976726Speter#
2246076726Speter# 2001-03-31
2246176726Speter#	* modify 'screen' khome/kend to match screen 3.09.08
2246276726Speter#	* add examples of 'screen' customization (screen.xterm-xfree86,
2246376726Speter#	  screen.xterm-r6, screen.teraterm) -TD
2246476726Speter#
2246576726Speter# 2001-04-14
2246676726Speter#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
2246776726Speter#	* add "Apple_Terminal" entries -Benjamin Sittler
2246876726Speter#	* remove time-delays from "Apple_Terminal" entries -TD
2246976726Speter#	* make sgr entries time-delays consistent with individual caps -TD
2247076726Speter#
2247176726Speter# 2001-05-05
2247276726Speter#	* corrected/updated screen.xterm-xfree86
2247376726Speter#
2247497049Speter# 2001-05-19
2247597049Speter#	* ELKS descriptions, from Federico Bianchi
2247697049Speter#	* add u6 (CSR) to Eterm (Michael Jennings).
2247797049Speter#
2247897049Speter# 2001-07-21
2247997049Speter#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
2248097049Speter#	  tic which handles names no longer than 14 characters.  Add
2248197049Speter#	  corresponding descriptions for the Darwin PowerPC console named
2248297049Speter#	  "xnuppc" -Benjamin Sittler
2248397049Speter#
2248497049Speter# 2001-09-01
2248597049Speter#	* change kbs in mach entries to ^? (Marcus Brinkmann).
2248697049Speter#
2248797049Speter# 2001-11-17
2248897049Speter#	* add "putty" entry -TD
2248997049Speter#	* updated "Apple_Terminal" entries -Benjamin Sittler
2249097049Speter#
2249197049Speter# 2001-11-24
2249297049Speter#	* add ms-vt100-color entry -TD
2249397049Speter#	* add "konsole" entries -TD
2249497049Speter#
2249597049Speter# 2001-12-08
2249697049Speter#	* update gnome entry to Redhat 7.2 -TD
2249797049Speter#
2249898503Speter# 2002-05-25
2249998503Speter#	* add kf13-kf48 strings to cons25w -TD
2250098503Speter#	* add pcvt25-color entry -TD
2250198503Speter#	* changed a few /usr/lib/tabset -> /usr/share/tabset.
2250298503Speter#	* improve some features of scoansi entry based on SCO's version -TD
2250398503Speter#	* add scoansi-new entry corresponding to OpenServer 5.0.6
2250498503Speter#
2250598503Speter# 2002-06-15
2250698503Speter#	* add kcbt to screen entry -TD
2250798503Speter#
22508166124Srafan# 2002-06-22
22509166124Srafan#	* add rxvt-16color, ibm+16color, mvterm entries -TD
22510166124Srafan#
22511166124Srafan# 2002-09-28
22512166124Srafan#	* split out linux-basic entry, making linux-c inherit from that, and
22513166124Srafan#	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
22514166124Srafan#	  the history of this console type -TD
22515166124Srafan#	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
22516166124Srafan#	  r/g/b parameters of initc are in the range 0 to 1000 -TD
22517166124Srafan#
22518166124Srafan# 2002-10-05
22519166124Srafan#	* minor fix for scale-factor of linux-c and linux-c-nc -TD
22520166124Srafan#
22521166124Srafan# 2002-11-09
22522166124Srafan#	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
22523166124Srafan#	  in the latter -TD
22524166124Srafan#
22525166124Srafan# 2002-11-16
22526166124Srafan#	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
22527166124Srafan#	* ncr260wy350pp has only 16 color pairs -TD
22528166124Srafan#	* add sun-type4 from NetBSD -TD
22529166124Srafan#	* update xterm-xfree86 to current (patch 170) -TD
22530166124Srafan#	* add screen-bce, screen-s entries -TD
22531166124Srafan#	* add xterm-1002, xterm-1003 entries -TD
22532166124Srafan#
22533166124Srafan# 2003-01-11
22534166124Srafan#	* update homepage for Top Gun Telnet/SSH
22535166124Srafan#
22536166124Srafan# 2003-01-25
22537166124Srafan#	* reduce duplication in emx entries, added emx-base -TD
22538166124Srafan#
22539166124Srafan# 2003-05-24
22540166124Srafan#	* corrected acs for screen.teraterm -TD
22541166124Srafan#	* add tkterm entry -TD
22542166124Srafan#
22543166124Srafan# 2003-07-15
22544166124Srafan#	* cygwin changes from Charles Wilson:
22545166124Srafan#	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
22546166124Srafan#	  primary instead of nxterm, to match XFree86's xterm.terminfo
22547166124Srafan#	  usage and to prevent circular links.
22548166124Srafan#	  (rxvt): add additional codes from rxvt.org.
22549166124Srafan#	  (rxvt-color): new alias
22550166124Srafan#	  (rxvt-xpm): new alias
22551166124Srafan#	  (rxvt-cygwin): like rxvt, but with special acsc codes.
22552166124Srafan#	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
22553166124Srafan#	  with a "native" MSWin GUI.  Each takes different acsc codes,
22554166124Srafan#	  which are both different from the "normal" rxvt's acsc.
22555166124Srafan#	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
22556166124Srafan#	  (cygwinDBG): ditto.
22557166124Srafan#
22558166124Srafan# 2003-09-27
22559166124Srafan#	* update gnome terminal entries -TD
22560166124Srafan#
22561166124Srafan# 2003-10-04
22562166124Srafan#	* add entries for djgpp 2.03 and 2.04 -TD
22563166124Srafan#
22564166124Srafan# 2003-10-25
22565166124Srafan#	* add alias for vtnt -TD
22566166124Srafan#	* update xterm-xfree86 for XFree86 4.4 -TD
22567166124Srafan#
22568166124Srafan# 2003-11-22
22569166124Srafan#	* add linux-vt (Andrey V Lukyanov)
22570166124Srafan#
22571166124Srafan# 2003-12-20
22572166124Srafan#	* add screen.linux -TD
22573166124Srafan#
22574166124Srafan# 2004-01-10
22575166124Srafan#	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
22576166124Srafan#
22577166124Srafan# 2004-01-17
22578166124Srafan#	* add OpenNT/Interix/SFU entries (Federico Bianchi)
22579166124Srafan#	* add vt100+ and vt-utf8 entries -TD
22580166124Srafan#	* add uwin entry -TD
22581166124Srafan#
22582166124Srafan# 2004-03-27
22583166124Srafan#	* add sgr strings to several common entries lacking them, e.g.,
22584166124Srafan#	  screen, to make the entries more portable -TD
22585166124Srafan#	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
22586166124Srafan#	* similar fixups for cvvis/cnorm various entries -TD
22587166124Srafan#
22588166124Srafan# 2004-05-22
22589166124Srafan#	* remove 'ncv' from xterm-256color (patch 188) -TD
22590166124Srafan#
22591166124Srafan# 2004-06-26
22592166124Srafan#	* add mlterm -TD
22593166124Srafan#	* add xterm-xf86-v44 -TD
22594166124Srafan#	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
22595166124Srafan#	  on G1 being used via an ISO-2022 escape sequence (report by
22596166124Srafan#	  Juliusz Chroboczek) -TD
22597166124Srafan#	* add 'hurd' entry -TD
22598166124Srafan#
22599166124Srafan# 2004-07-03
22600166124Srafan#	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
22601166124Srafan#	  xterm-basic -TD
22602166124Srafan#	* align with xterm #192's use of xterm-new -TD
22603166124Srafan#	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
22604166124Srafan#	* make xterm-new the default "xterm" -TD
22605166124Srafan#
22606166124Srafan# 2004-07-10
22607166124Srafan#	* minor fixes for emu -TD
22608166124Srafan#	* add emu-220
22609166124Srafan#	* add rmam/smam to linux (Trevor Van Bremen)
22610166124Srafan#	* change wyse acsc strings to use 'i' map rather than 'I' -TD
22611166124Srafan#	* fixes for avatar0 -TD
22612166124Srafan#	* fixes for vp3a+ -TD
22613166124Srafan#
22614166124Srafan# 2004-07-17
22615166124Srafan#	* add xterm-pc-fkeys -TD
22616166124Srafan#	* review/update gnome and gnome-rh90 entries (prompted by
22617166124Srafan#	  Redhat Bugzilla #122815) -TD
22618166124Srafan#	* review/update konsole entries -TD
22619166124Srafan#	* add sgr, correct sgr0 for kterm and mlterm -TD
22620166124Srafan#	* correct tsl string in kterm -TD
22621166124Srafan#
22622166124Srafan# 2004-07-24
22623166124Srafan#	* make ncsa-m rmacs/smacs consistent with sgr -TD
22624166124Srafan#	* add sgr, rc/sc and ech to syscons entries -TD
22625166124Srafan#	* add function-keys to decansi -TD
22626166124Srafan#	* add sgr to mterm-ansi -TD
22627166124Srafan#	* add sgr, civis, cnorm to emu -TD
22628166124Srafan#	* correct/simplify cup in addrinfo -TD
22629166124Srafan#	* corrections for gnome and konsole entries
22630166124Srafan#	  (Redhat Bugzilla #122815) -Hans de Goede
22631166124Srafan#	* modify DEC entries (vt220, etc), to add sgr string, and to use
22632166124Srafan#	  ISO-2022 strings for rmacs/smacs -TD
22633166124Srafan#
22634166124Srafan# 2004-07-31
22635166124Srafan#	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
22636166124Srafan#
22637166124Srafan# 2004-08-07
22638166124Srafan#	* improved putty entry -Robert de Bath
22639166124Srafan#
22640166124Srafan# 2004-08-14
22641166124Srafan#	* remove dch/dch1 from rxvt because they are implemented inconsistently
22642166124Srafan#	  with the common usage of bce/ech -TD
22643166124Srafan#	* remove khome from vt220 (vt220's have no home key) -TD
22644166124Srafan#	* add rxvt+pcfkeys -TD
22645166124Srafan#
22646166124Srafan# 2004-08-21
22647166124Srafan#	* modify several entries to ensure xterm mouse and cursor visibility
22648166124Srafan#	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
22649166124Srafan#	  Eterm, screen.  (The xterm entries are left alone - old ones for
22650166124Srafan#	  compatibility, and the new ones do not require this change) -TD
22651166124Srafan#
22652166124Srafan# 2004-08-28
22653166124Srafan#	* add morphos entry -Pavel Fedin
22654166124Srafan#	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
22655166124Srafan#	* corrected \E[5?l to \E[?5l in vt320 entries -TD
22656166124Srafan#
22657166124Srafan# 2004-11-20
22658166124Srafan#	* update wsvt25 entry -TD
22659166124Srafan#
22660166124Srafan# 2005-01-29
22661166124Srafan#	* update pairs for xterm-88color and xterm-256color to reflect the
22662166124Srafan#	  ncurses extended-color support -TD
22663166124Srafan#
22664166124Srafan# 2005-02-26
22665166124Srafan#	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
22666166124Srafan#	* add aixterm-16color to demonstrate 16-color capability -TD
22667166124Srafan#
22668166124Srafan# 2005-04-23
22669166124Srafan#	* add media-copy to vt100 -TD
22670166124Srafan#	* corrected acsc string for vt52 -TD
22671166124Srafan#
22672166124Srafan# 2005-04-30
22673166124Srafan#	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
22674166124Srafan#	  xterm-new -TD
22675166124Srafan#	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
22676166124Srafan#
22677166124Srafan# 2005-05-07
22678166124Srafan#	* re-corrected acsc string for vt52 -TD
22679166124Srafan#
22680166124Srafan# 2005-05-28
22681166124Srafan#	* corrected sun-il sgr string which referred to bold and underline -TD
22682166124Srafan#	* add sun-color entry -TD
22683166124Srafan#
22684166124Srafan# 2005-07-23
22685166124Srafan#	* modify sgr0 in several entries to reset alternate-charset as in the
22686166124Srafan#	  sgr string -TD
22687166124Srafan#	* modify sgr string of prism9 to better match the individual
22688166124Srafan#	  attributes -TD
22689166124Srafan#
22690166124Srafan# 2005-10-15
22691166124Srafan#	* correct order of use= in rxvt-basic -TD
22692166124Srafan#
22693166124Srafan# 2005-10-26
22694166124Srafan#	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
22695166124Srafan#
22696166124Srafan# 2005-11-12
22697166124Srafan#	* other minor fixes to cygwin based on tack -TD
22698166124Srafan#	* correct smacs in cygwin (report by Baurzhan Ismagulov).
22699166124Srafan#
22700166124Srafan# 2006-02-18
22701166124Srafan#	* add nsterm-16color entry -TD
22702166124Srafan#	* remove ncv flag from xterm-16color -TD
22703166124Srafan#	* remove setf/setb from xterm-256color to match xterm #209 -TD
22704166124Srafan#	* update mlterm entry to 2.9.2 -TD
22705166124Srafan#
22706166124Srafan# 2006-02-25
22707166124Srafan#	* fixes to make nsterm-16color match report
22708166124Srafan#	  by Christian Ebert -Alain Bench
22709166124Srafan#
22710166124Srafan# 2006-04-22
22711166124Srafan#	* add xterm+256color building block -TD
22712166124Srafan#	* add gnome-256color, putty-256color, rxvt-256color -TD
22713166124Srafan#
22714166124Srafan# 2006-05-06
22715166124Srafan#	* add hpterm-color -TD
22716166124Srafan#
22717166124Srafan# 2006-06-24
22718166124Srafan#	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
22719166124Srafan#	* add gnome-fc5 (prompted by GenToo #122566) -TD
22720166124Srafan#	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
22721166124Srafan#	* improve xterm-256color by combining the ibm+16color setaf/setab
22722166124Srafan#	  strings with SGR 48.  The setf/setb strings also are cancelled here
22723166124Srafan#	  rather than omitted so derived entries will cancel those also -Alain
22724166124Srafan#	  Bench
22725166124Srafan#
22726166124Srafan# 2006-07-01
22727166124Srafan#	* add some notes regarding copyright to terminfo.src -TD
22728166124Srafan#	* use rxvt+pcfkeys in Eterm -TD
22729166124Srafan#	* remove km and flash from gnome, Eterm and rxvt since they do not work
22730166124Srafan#	  as one would expect (km sends ESC rather than setting the 8th bit
22731166124Srafan#	  of the key) -TD
22732166124Srafan#	* add/use ansi+enq, vt100+enq and vt102+enq -TD
22733166124Srafan#	* add konsole-solaris -TD
22734166124Srafan#
22735166124Srafan# 2006-07-22
22736166124Srafan#	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
22737166124Srafan#	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
22738166124Srafan#	* modify xterm-24 to inherit from "xterm" -TD
22739166124Srafan#	* add xiterm entry -TD
22740166124Srafan#	* add putty-vt100 entry -TD
22741166124Srafan#	* corrected spelling of Michael A Dorman's name, prompted by
22742166124Srafan#	  http://www.advogato.org/person/mdorman/diary.html -TD
22743166124Srafan#
22744166124Srafan# 2006-08-05
22745166124Srafan#	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
22746166124Srafan#	* update xterm+pcfkeys to match xterm #216 -TD
22747166124Srafan#
22748166124Srafan# 2006-08-17
22749166124Srafan#	* make descriptions of xterm entries consistent with its terminfo -TD
22750166124Srafan#
22751166124Srafan# 2006-08-26
22752166124Srafan#	* add xfce, mgt -TD
22753166124Srafan#
22754166124Srafan# 2006-09-02
22755166124Srafan#	* correct acsc string in kterm -TD
22756166124Srafan#
22757166124Srafan# 2006-09-09
22758166124Srafan#	* add kon entry -TD
22759166124Srafan#	* remove invis from linux and related entries, add klone+sgr8 for those
22760166124Srafan#	  that implement the feature (or have not been shown to lack it) -TD
22761166124Srafan#
22762166124Srafan# 2006-09-23
22763166124Srafan#	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
22764166124Srafan#	* minor improvements to rxvt+pcfkeys -TD
22765166124Srafan#
22766166124Srafan# 2006-09-30
22767166124Srafan#	* fix a few typos in if/then/else expressions -TD
22768166124Srafan#
22769166124Srafan# 2006-10-07
22770166124Srafan#	* add several GNU Screen variations with 16- and 256-colors, and
22771166124Srafan#	  status line (Alain Bench).
22772166124Srafan#
22773174993Srafan# 2007-03-03
22774174993Srafan#	* add Newbury Data entries (Jean-Charles Billaud).
22775174993Srafan#
22776174993Srafan# 2007-06-10
22777174993Srafan#	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
22778174993Srafan#
22779174993Srafan# 2007-07-14
22780174993Srafan#	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
22781174993Srafan#	* add konsole-256color entry -TD
22782174993Srafan#
22783174993Srafan# 2007-08-18
22784174993Srafan#	* add 9term entry (request by Juhapekka Tolvanen) -TD
22785174993Srafan#
22786174993Srafan# 2007-10-13
22787174993Srafan#	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
22788174993Srafan#	* add shift-control- and control-modified keys for rxvt editing
22789174993Srafan#	  keypad -TD
22790174993Srafan#	* update mlterm entry to 2.9.3 -TD
22791174993Srafan#	* add mlterm+pcfkeys -TD
22792174993Srafan#
22793174993Srafan# 2007-10-20
22794174993Srafan#	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
22795174993Srafan#	  xterm+pcc0, etc., to make the corresponding building blocks reflect
22796174993Srafan#	  xterm's capabilities -TD
22797174993Srafan#	* add mrxvt entry -TD
22798174993Srafan#	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
22799174993Srafan#
22800174993Srafan# 2007-11-03
22801174993Srafan#	* correct acsc strings for h19 and z100 (Benjamin Sittler)
22802174993Srafan#
22803176187Srafan# 2007-11-11
22804176187Srafan#	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
22805176187Srafan#	  xterm starting with patch #216 -TD
22806176187Srafan#	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
22807176187Srafan#	  to match xterm #230 -TD
22808176187Srafan#	* extend xterm+pccX entries to match xterm #230 -TD
22809176187Srafan#	* add xterm+app, xterm+noapp, from xterm #230 -TD
22810176187Srafan#	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
22811176187Srafan#
22812178866Srafan# 2008-04-19
22813178866Srafan#	* add screen.rxvt -TD
22814178866Srafan#
22815178866Srafan# 2008-04-28
22816262685Sdelphij#	* add screen+fkeys (prompted by Debian #478094) -TD
22817178866Srafan#
22818184989Srafan# 2008-06-28
22819184989Srafan#	* add screen.mlterm -TD
22820184989Srafan#	* improve mlterm and mlterm+pcfkeys -TD
22821184989Srafan#
22822184989Srafan# 2008-08-23
22823184989Srafan#	* add Eterm-256color, Eterm-88color -TD
22824184989Srafan#	* add rxvt-88color -TD
22825184989Srafan#
22826184989Srafan# 2008-10-12
22827184989Srafan#	* add teraterm4.59 entry, use that as primary teraterm entry, rename
22828184989Srafan#	  original to teraterm2.3 -TD
22829184989Srafan#	* update "gnome" to 2.22.3 -TD
22830184989Srafan#	* update "konsole" to 1.6.6 -TD
22831184989Srafan#	* add "aterm" -TD
22832184989Srafan#	* add "linux2.6.26" -TD
22833184989Srafan#
22834262629Sdelphij# 2008-11-15
22835262629Sdelphij#	* change several \E[2g (clear tab at current column) to \E[3g
22836262629Sdelphij#	  (clear all tabs) to match definition for tbc capability -TD
22837262629Sdelphij#
22838262629Sdelphij# 2008-11-29
22839262629Sdelphij#	* add eterm-color -TD
22840262629Sdelphij#
22841262629Sdelphij# 2009-01-10
22842262629Sdelphij#	* add screen.Eterm -TD
22843262629Sdelphij#
22844262629Sdelphij# 2009-03-28
22845262629Sdelphij#	* correct typo in pfkey of ansi.sys-old
22846262629Sdelphij#	  (report by Kalle Olavi Niemitalo)
22847262629Sdelphij#	* move function- and cursor-keys from emx-base to ansi.sys, and create
22848262629Sdelphij#	  a pfkey capability which handles F1-F48 -TD
22849262629Sdelphij#
22850262629Sdelphij# 2009-05-02
22851262629Sdelphij#	* add vwmterm entry (Bryan Christ)
22852262629Sdelphij#
22853262629Sdelphij# 2009-09-19
22854262629Sdelphij#	* change ncv and op capabilities in sun-color to match Sun's entry for
22855262629Sdelphij#	  this (report by Laszlo Peter)
22856262629Sdelphij#	* improve interix smso by using reverse rather than bold (report by
22857262629Sdelphij#	  Kristof Zelechovski).
22858262629Sdelphij#
22859262629Sdelphij# 2009-10-03
22860262629Sdelphij#	* remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
22861262629Sdelphij#	* add linux-16color (Benjamin Sittler)
22862262629Sdelphij#	* correct initc capability of linux-c-nc end-of-range (Benjamin Sittler)
22863262629Sdelphij#	* similar change for dg+ccc and dgunix+ccc (Benjamin Sittler)
22864262629Sdelphij#	* add ccc and initc capabilities to xterm-16color -TD
22865262629Sdelphij#
22866262629Sdelphij# 2009-10-31
22867262629Sdelphij#	* updated nsterm* entries (Benjamin Sittler, prompted by GenToo #206201)
22868262629Sdelphij#
22869262629Sdelphij# 2009-12-12
22870262629Sdelphij#	* updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
22871262629Sdelphij#
22872262685Sdelphij# 2009-12-19
22873262629Sdelphij#	* add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
22874262629Sdelphij#	* rename minix to minix-1.7, add minix entry for Minux3 -TD
22875262629Sdelphij#
22876262629Sdelphij# 2009-12-26
22877262629Sdelphij#	* add bterm (bogl 0.1.18) -TD
22878262629Sdelphij#	* minor fix to rxvt+pcfkeys -TD
22879262629Sdelphij#
22880262629Sdelphij# 2010-02-06
22881262629Sdelphij#	* update mrxvt to 0.5.4, add mrxvt-256color -TD
22882262629Sdelphij#
22883262629Sdelphij# 2010-02-13
22884262629Sdelphij#	* add several screen-bce.XXX entries -TD
22885262629Sdelphij#
22886262629Sdelphij# 2010-02-23
22887262629Sdelphij#	* modify screen-bce.XXX entries to exclude ech, since screen's color
22888262629Sdelphij#	  model does not clear with color for that feature -TD
22889262629Sdelphij#
22890262629Sdelphij# 2010-03-20
22891262629Sdelphij#	* rename atari and st52 to atari-old, st52-old, use newer entries from
22892262629Sdelphij#	  FreeMiNT by Guido Flohr (from patch/report by Alan Hourihane).
22893262629Sdelphij#
22894262629Sdelphij# 2010-06-12
22895262629Sdelphij#	* add mlterm+256color entry -TD
22896262629Sdelphij#
22897262629Sdelphij# 2010-07-17
22898262629Sdelphij#	* add hard-reset for rs2 to wsvt25 to help ensure that reset ends
22899262629Sdelphij#	  the alternate character set (patch by Nicholas Marriott)
22900262629Sdelphij#
22901262629Sdelphij# 2010-08-28
22902262629Sdelphij#	* improve acsc for vt52 (Benjamin Sittler)
22903262629Sdelphij#	* modify nsterm entries for consistent sgr/sgr0 -TD
22904262629Sdelphij#	* modify xnuppc entries for consistent sgr/sgr0 -TD
22905262629Sdelphij#	* add invis to tek4115 sgr -TD
22906262629Sdelphij#
22907262629Sdelphij# 2010-09-11
22908262629Sdelphij#	* reformat acsc strings to canonical format -TD
22909262629Sdelphij#
22910262629Sdelphij# 2010-09-25
22911262629Sdelphij#	* add "XT" capability to entries for terminals that support both
22912262629Sdelphij#	  xterm-style mouse- and title-controls, for "screen" which
22913262629Sdelphij#	  special-cases TERM beginning with "xterm" or "rxvt" -TD
22914262629Sdelphij#
22915262629Sdelphij# 2010-10-02
22916262629Sdelphij#	* fill in no-parameter forms of cursor-movement where a parameterized
22917262629Sdelphij#	  form is available -TD
22918262629Sdelphij#	* fill in missing cursor controls where the form of the controls is
22919262629Sdelphij#	  ANSI -TD
22920262629Sdelphij#	* add parameterized cursor-controls to linux-basic (report by Dae) -TD
22921262629Sdelphij#
22922262629Sdelphij# 2010-10-09
22923262629Sdelphij#	* correct comparison used for setting 16-colors in linux-16color
22924262629Sdelphij#	  entry (Novell #644831) -TD
22925262629Sdelphij#	* improve linux-16color entry, using "dim" for color-8 which makes it
22926262629Sdelphij#	  gray rather than black like color-0 -TD
22927262629Sdelphij#
22928262629Sdelphij# 2010-11-20
22929262629Sdelphij#	* make "vte" the principal entry defining "gnome", since GNOME terminal
22930262629Sdelphij#	  is merely one of several terminals whose behavior is provided by this
22931262629Sdelphij#	  library -TD
22932262629Sdelphij#
22933262629Sdelphij# 2010-11-27
22934262629Sdelphij#	* fix typo in rmso for tek4106 -Goran Weinholt
22935262629Sdelphij#
22936262629Sdelphij# 2010-12-11
22937262629Sdelphij#	* suppress ncv in screen entry, allowing underline -Alejandro R. Sedeno
22938262629Sdelphij#	* also suppress ncv in konsole-base -TD
22939262629Sdelphij#
22940262629Sdelphij# 2011-02-05
22941262629Sdelphij#	* add U8 feature to denote entries for terminal emulators which do not
22942262629Sdelphij#	  support VT100 SI/SO when processing UTF-8 encoding -TD
22943262629Sdelphij#	* add xterm-utf8 as a demo of the U8 feature -TD
22944262629Sdelphij#
22945262629Sdelphij# 2011-02-20
22946262685Sdelphij#	* add cons25-debian entry (Brian M Carlson, Debian #607662).
22947262629Sdelphij#
22948262685Sdelphij# 2011-06-11
22949262685Sdelphij#	* update minix entry to minix 3.2 (Thomas Cort).
22950262685Sdelphij#
22951262685Sdelphij# 2011-07-09
22952262685Sdelphij#	* fix inconsistent tabset path in pcmw (Todd C. Miller).
22953262685Sdelphij#	* remove a backslash which continued comment, obscuring altos3
22954262685Sdelphij#	  definition with OpenBSD toolset (Nicholas Marriott).
22955262685Sdelphij#
22956262685Sdelphij# 2011-07-16
22957262685Sdelphij#	* add/use xterm+tmux chunk from xterm #271 -TD
22958262685Sdelphij#	* resync xterm-new entry from xterm #271 -TD
22959262685Sdelphij#	* add E3 extended capability to linux-basic (Miroslav Lichvar)
22960262685Sdelphij#	* add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
22961262685Sdelphij#	* add SI/SO change to linux2.6 entry (Debian #515609) -TD
22962262685Sdelphij#
22963262685Sdelphij# 2011-07-21
22964262685Sdelphij#	* add kich1 to sun (Yuri Pankov)
22965262685Sdelphij#	* use bold rather than reverse for smso in sun-color (Yuri Pankov).
22966262685Sdelphij#
22967262685Sdelphij# 2011-08-06
22968262685Sdelphij#	* corrected k9 in dg460-ansi, add other features based on manuals -TD
22969262685Sdelphij#
22970262685Sdelphij# 2011-08-20
22971262685Sdelphij#	* minor cleanup of X-terminal emulator section -TD
22972262685Sdelphij#	* add terminator entry -TD
22973262685Sdelphij#	* add simpleterm entry -TD
22974262685Sdelphij#
22975262685Sdelphij# 2011-09-10
22976262685Sdelphij#	* add xterm+kbs fragment from xterm #272 -TD
22977262685Sdelphij#
22978262685Sdelphij# 2011-11-12
22979262685Sdelphij#	* add pccon entries for OpenBSD console (Alexei Malinin)
22980262685Sdelphij#
22981262685Sdelphij# 2011-12-17
22982262685Sdelphij#	* corrected old changelog comments -TD
22983262685Sdelphij#
22984262685Sdelphij# 2011-11-24
22985262685Sdelphij#	* add putty-sco -TD
22986262685Sdelphij#
22987262685Sdelphij# 2012-01-28
22988262685Sdelphij#	* add mach-gnu (Samuel Thibault)
22989262685Sdelphij#	* add mach-gnu-color, tweaks to mach-gnu -TD
22990262685Sdelphij#	* make sgr for sun-color agree with smso -TD
22991262685Sdelphij#	* make sgr for prism9 agree with other caps -TD
22992262685Sdelphij#	* make sgr for icl6404 agree with other caps -TD
22993262685Sdelphij#	* make sgr for ofcons agree with other caps -TD
22994262685Sdelphij#	* make sgr for att5410v1, att4415, att620 agree with other caps -TD
22995262685Sdelphij#	* make sgr for aaa-unk, aaa-rv agree with other caps -TD
22996262685Sdelphij#	* make sgr for avt-ns agree with other caps -TD
22997262685Sdelphij#
22998262685Sdelphij# 2012-02-11
22999262685Sdelphij#	* make sgr for xterm-pcolor agree with other caps -TD
23000262685Sdelphij#	* make sgr for att5425 agree with other caps -TD
23001262685Sdelphij#	* make sgr for att630 agree with other caps -TD
23002262685Sdelphij#	* make sgr for linux entries agree with other caps -TD
23003262685Sdelphij#	* make sgr for tvi9065 agree with other caps -TD
23004262685Sdelphij#	* make sgr for ncr260vt200an agree with other caps -TD
23005262685Sdelphij#	* make sgr for ncr160vt100pp agree with other caps -TD
23006262685Sdelphij#	* make sgr for ncr260vt300an agree with other caps -TD
23007262685Sdelphij#	* make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD
23008262685Sdelphij#	* make sgr for cygwin, cygwinDBG agree with other caps -TD
23009262685Sdelphij#
23010262685Sdelphij# 2012-03-31
23011262685Sdelphij#	* correct order of use-clauses in st-256color -TD
23012262685Sdelphij#
23013262685Sdelphij# 2012-04-01
23014262685Sdelphij#	* revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD
23015262685Sdelphij#
23016262685Sdelphij# 2012-04-14
23017262685Sdelphij#	* document all of the user-defined capabilities in one place -TD
23018262685Sdelphij#	* add XT to some places to improve usefulness for other applications
23019262685Sdelphij#	  than screen, which would like to pretend that xterm's title is
23020262685Sdelphij#	  a status-line. -TD
23021262685Sdelphij#	* change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review
23022262685Sdelphij#	  of ordering and overrides -TD
23023262685Sdelphij#
23024262685Sdelphij# 2012-04-21
23025262685Sdelphij#	* add msgr to vt420, similar DEC vtXXX entries -TD
23026262685Sdelphij#	* add several missing vt420 capabilities from vt220 -TD
23027262685Sdelphij#	* factor out ansi+pp from several entries -TD
23028262685Sdelphij#	* change xterm+sl and xterm+sl-twm to include only the status-line
23029262685Sdelphij#	  capabilities and not "use=xterm", making them more generally useful
23030262685Sdelphij#	  as building-blocks -TD
23031262685Sdelphij#	* add dec+sl building block, as example -TD
23032262685Sdelphij#
23033262685Sdelphij# 2012-04-28
23034262685Sdelphij#	* fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD
23035262685Sdelphij#	* add eslok flag to dec+sl -TD
23036262685Sdelphij#	* dec+sl applies to vt320 and up -TD
23037262685Sdelphij#	* drop wsl width from xterm+sl -TD
23038262685Sdelphij#	* reuse xterm+sl in putty and nsca-m -TD
23039262685Sdelphij#	* add ansi+tabs to vt520 -TD
23040262685Sdelphij#	* add ansi+enq to vt220-vt520 -TD
23041262685Sdelphij#
23042262685Sdelphij# 2012-05-05
23043262685Sdelphij#	* remove p6 (bold) from opus3n1+ for consistency -TD
23044262685Sdelphij#	* remove acs stuff from env230 per clues in Ingres termcap -TD
23045262685Sdelphij#	* modify env230 sgr/sgr0 to match other capabilities -TD
23046262685Sdelphij#	* modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD
23047262685Sdelphij#	* make sgr for dku7202 agree with other caps -TD
23048262685Sdelphij#	* make sgr for ibmpc agree with other caps -TD
23049262685Sdelphij#	* make sgr for tek4107 agree with other caps -TD
23050262685Sdelphij#	* make sgr for ndr9500 agree with other caps -TD
23051262685Sdelphij#	* make sgr for sco-ansi agree with other caps -TD
23052262685Sdelphij#	* make sgr for d410 agree with other caps -TD
23053262685Sdelphij#	* make sgr for d210 agree with other caps -TD
23054262685Sdelphij#	* make sgr for d470c, d470c-7b agree with other caps -TD
23055262685Sdelphij#
23056262685Sdelphij# 2012-05-12
23057262685Sdelphij#	* rewrite vt520 entry based on vt420 -TD
23058262685Sdelphij#	* corrected 'op' for bterm (report by Samuel Thibault) -TD
23059262685Sdelphij#
23060262685Sdelphij# 2012-06-02
23061262685Sdelphij#	* add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord,
23062262685Sdelphij#	  analysis by Martin Husemann).
23063262685Sdelphij#	* add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by
23064262685Sdelphij#	  Onno van der Linden).
23065262685Sdelphij#	* add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD
23066262685Sdelphij#	* add kdch1, etc., to qvt108 -TD
23067262685Sdelphij#	* add dl1/il1 to some entries based on dl/il values -TD
23068262685Sdelphij#	* add dl to simpleterm -TD
23069262685Sdelphij#
23070262685Sdelphij# 2012-06-10
23071262685Sdelphij#	* modify some older xterm entries to align with xterm source -TD
23072262685Sdelphij#	* separate "xterm-old" alias from "xterm-r6" -TD
23073262685Sdelphij#
23074262685Sdelphij# 2012-07-28
23075262685Sdelphij#	* add E3 to xterm-basic and putty -TD
23076262685Sdelphij#
23077262685Sdelphij# 2012-08-11
23078262685Sdelphij#	* add nsterm-256color, make this the default nsterm -TD
23079262685Sdelphij#	* remove bw from nsterm-bce, per testing with tack -TD
23080262685Sdelphij#
23081262685Sdelphij# 2012-10-12
23082262685Sdelphij#       * add vte-2012, gnome-2012, making these the defaults for vte/gnome
23083262685Sdelphij#	  (patch by Christian Persch).
23084262685Sdelphij#
23085262685Sdelphij# 2012-11-02
23086262685Sdelphij#	* reviewed vte-2012, reverted most of the change since it was incorrect
23087262685Sdelphij#	  based on testing with tack -TD
23088262685Sdelphij#	* un-cancel the initc in vte-256color, since this was implemented
23089262685Sdelphij#	  starting with version 0.20 in 2009 -TD
23090262685Sdelphij#
23091262685Sdelphij# 2013-03-16
23092262685Sdelphij#	* correct typo in sgr string for sun-color,
23093262685Sdelphij#	  add bold for consistency with sgr,
23094262685Sdelphij#	  change smso for consistency with sgr -TD
23095262685Sdelphij#	* correct typo in sgr string for terminator -TD
23096262685Sdelphij#	* add blink to the attributes masked by ncv in linux-16color (report
23097262685Sdelphij#	  by Benjamin Sittler)
23098262685Sdelphij#
23099262685Sdelphij# 2013-03-23
23100262685Sdelphij#	* change initialization for vt220, similar entries for consistency
23101262685Sdelphij#	  with cursor-key strings (NetBSD #47674) -TD
23102262685Sdelphij#	* further improvements to linux-16color (Benjamin Sittler)
23103262685Sdelphij#
23104262685Sdelphij# 2013-05-11
23105262685Sdelphij#	* move nsterm-related entries out of "obsolete" section to more
23106262685Sdelphij#	  plausible "ansi consoles" -TD
23107262685Sdelphij#	* additional cleanup of table-of-contents by reordering -TD
23108262685Sdelphij#
23109262685Sdelphij# 2013-06-07
23110262685Sdelphij#	* added note to clarify Terminal.app's non-emulation of the various
23111262685Sdelphij#	  terminal types listed in the preferences dialog -TD
23112262685Sdelphij#
23113262685Sdelphij# 2013-11-02
23114262685Sdelphij#	* use TS extension to describe xterm's title-escapes -TD
23115262685Sdelphij#	* modify terminator and nsterm-s to use xterm+sl-twm building block -TD
23116262685Sdelphij#	* update hurd.ti, add xenl to reflect 2011-03-06 change in
23117262685Sdelphij#	  http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/console/display.c
23118262685Sdelphij#	  (Debian #727119).
23119262685Sdelphij#	* simplify pfkey expression in ansi.sys -TD
23120262685Sdelphij#
23121262685Sdelphij# 2013-11-10
23122262685Sdelphij#	* split-out building blocks xterm+sm+1002 and xterm+sm+1003 -TD
23123262685Sdelphij#
23124262685Sdelphij# 2014-02-22
23125262685Sdelphij#	* updated notes for wsvt25 based on tack and vttest -TD
23126262685Sdelphij#	* add teken entry to show actual properties of FreeBSD's "xterm"
23127262685Sdelphij#	  console -TD
23128262685Sdelphij#
2312950276Speter######## SHANTIH!  SHANTIH!  SHANTIH!
23130