terminfo.src revision 176187
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#
9176187Srafan#	$Revision: 1.326 $
10176187Srafan#	$Date: 2007/11/12 00:22:07 $
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
324174993Srafan#      \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,
343166124Srafan	cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g,
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+pp|ansi printer port,
380166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
381166124Srafanansi+csr|ansi scroll-region plus cursor save & restore,
382166124Srafan	csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7,
38362449Speter
38450276Speter# The IBM PC alternate character set.  Plug this into any Intel console entry.
38550276Speter# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
38650276Speter# ROM graphics for control characters such as the diamond, up- and down-arrow.
38750276Speter# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
38850276Speter# will work with any Intel console, they all seem to have inherited \E[11m
38950276Speter# from the ANSI.SYS de-facto standard.
390166124Srafanklone+acs|alternate character set for ansi.sys displays,
391166124Srafan	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,
392166124Srafan	rmacs=\E[10m, smacs=\E[11m,
39350276Speter
394166124Srafan# Highlight controls corresponding to the ANSI.SYS standard.  Most
39550276Speter# console drivers for Intel boxes obey these.  Makes the same assumption
39650276Speter# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
39750276Speter# <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
398166124Srafanklone+sgr|attribute control for ansi.sys displays,
399166124Srafan	blink=\E[5m, bold=\E[1m, rev=\E[7m, rmpch=\E[10m,
400166124Srafan	rmso=\E[m, rmul=\E[m,
401166124Srafan	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;11%;m,
402166124Srafan	sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
403166124Srafan	use=klone+acs,
40450276Speter
405166124Srafan# Most Intel boxes do not treat "invis" (invisible) text.
406166124Srafanklone+sgr8|attribute control for ansi.sys displays,
407166124Srafan	invis=\E[8m,
408166124Srafan	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,
409166124Srafan	use=klone+sgr,
410166124Srafan
41150276Speter# Highlight controls corresponding to the ANSI.SYS standard.  *All*
41250276Speter# console drivers for Intel boxes obey these.  Does not assume \E[11m will
41350276Speter# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
41450276Speter# diamond and arrow characters under curses.
415166124Srafanklone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m),
416166124Srafan	blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m,
417166124Srafan	rmul=\E[m,
418166124Srafan	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,
419166124Srafan	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
420166124Srafan	use=klone+acs,
42150276Speter
42250276Speter# KOI8-R (RFC1489) acs (alternate character set)
42350276Speter# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
424166124Srafanklone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset,
425166124Srafan	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,
426166124Srafan	rmacs=\E[10m, smacs=\E[11m,
42750276Speter
42850276Speter# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
42950276Speter# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
43050276Speter# but equivalent strings that don't rely on that coincidence:
43150276Speter# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
43250276Speter# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
43350276Speter# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
43450276Speter# They match a subset of ECMA-48.
435166124Srafanklone+color|color control for ansi.sys and ISO6429-compatible displays,
436166124Srafan	colors#8, ncv#3, pairs#64,
437166124Srafan	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
43850276Speter
43950276Speter# This is better than klone+color, it doesn't assume white-on-black as the
44050276Speter# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
441166124Srafanecma+color|color control for ECMA-48-compatible terminals,
442166124Srafan	AX,
443166124Srafan	colors#8, ncv#3, pairs#64,
444166124Srafan	op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
44550276Speter
44650276Speter# Attribute control for ECMA-48-compatible terminals
447166124Srafanecma+sgr|attribute capabilities for true ECMA-48 terminals,
448166124Srafan	rmso=\E[27m, rmul=\E[24m, use=klone+sgr8,
44950276Speter
45050276Speter# For comparison, here are all the capabilities implied by the Intel
45150276Speter# Binary Compatibility Standard (level 2) that fit within terminfo.
45250276Speter# For more detail on this rather pathetic standard, see the comments
45350276Speter# near the end of this file.
454166124Srafanibcs2|Intel Binary Compatibility Standard prescriptions,
455166124Srafan	cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB,
456166124Srafan	cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
457166124Srafan	dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX,
458166124Srafan	hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
459166124Srafan	indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7,
460166124Srafan	smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd,
46150276Speter
46250276Speter#### ANSI/ECMA-48 terminals and terminal emulators
46350276Speter#
46450276Speter# See near the end of this file for details on ANSI conformance.
46550276Speter# Don't mess with these entries!  Lots of other entries depend on them!
46650276Speter#
46750276Speter# This section lists entries in a least-capable to most-capable order.
46850276Speter# if you're in doubt about what `ANSI' matches yours, try them in that
46950276Speter# order and back off from the first that breaks.
47050276Speter
47162449Speter# ansi-mr is for ANSI terminals with ONLY relative cursor addressing
47262449Speter# and more than one page of memory.  It uses local motions instead of
47362449Speter# direct cursor addressing, and makes almost no assumptions. It does
47462449Speter# assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
475166124Srafanansi-mr|mem rel cup ansi,
476166124Srafan	am, xon,
477166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+erase,
478166124Srafan	use=ansi+local1,
47962449Speter
480166124Srafan# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
48162449Speter# beware of screen size problems and memory relative cursor addressing.
482166124Srafanansi-mini|any ansi terminal with pessimistic assumptions,
483166124Srafan	am, xon,
484166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+cup,
485166124Srafan	use=ansi+erase,
48650276Speter
487166124Srafan# ansi-mtabs adds relative addressing and minimal tab support
488166124Srafanansi-mtabs|any ansi terminal with pessimistic assumptions,
489166124Srafan	it#8,
490166124Srafan	ht=^I, use=ansi+local1, use=ansi-mini,
49162449Speter
49250276Speter# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
49350276Speter#
49450276Speter# The following is an entry for the full ANSI 3.64 (1977).  It lacks
49550276Speter# padding, but most terminals using the standard are "fast" enough
49650276Speter# not to require any -- even at 9600 bps.  If you encounter problems,
49750276Speter# try including the padding specifications.
49850276Speter#
49950276Speter# Note: the :as: and :ae: specifications are not implemented here, for
50050276Speter# the available termcap documentation does not make clear WHICH alternate
50150276Speter# character set to specify.  ANSI 3.64 seems to make allowances for several.
50250276Speter# Please make the appropriate adjustments to fit your needs -- that is
50350276Speter# if you will be using alternate character sets.
50450276Speter#
50550276Speter# There are very few terminals running the full ANSI 3.64 standard,
50650276Speter# so I could only test this entry on one verified terminal (Visual 102).
50750276Speter# I would appreciate the results on other terminals sent to me.
50850276Speter#
50950276Speter# Please report comments, changes, and problems to:
51050276Speter#
51150276Speter# U.S. MAIL:   Hugh Hansard
51250276Speter#              Box: 22830
51350276Speter#              Emory University
51450276Speter#              Atlanta, GA. 30322.
51550276Speter#
51650276Speter# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
51750276Speter#
51862449Speter# (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
519166124Srafanansi77|ansi 3.64 standard 1977 version,
520166124Srafan	OTbs, am, mir,
521166124Srafan	cols#80, it#8, lines#24,
522166124Srafan	bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
523166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
524166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K,
525166124Srafan	home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H,
526166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
527166124Srafan	kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM,
528166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h,
529166124Srafan	smso=\E[7m, smul=\E[4m,
53050276Speter
53150276Speter# Procomm and some other ANSI emulations don't recognize all of the ANSI-
532166124Srafan# standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and
533166124Srafan# <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>,
534166124Srafan# <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to
53550276Speter# 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
53650276Speter# to confuse many emulators.  On the other hand, we can count on these programs
537166124Srafan# doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured
53850276Speter# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
53950276Speter# ANSI.SYS influence.
54050276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
541166124Srafanpcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode),
542166124Srafan	OTbs, am, mir, msgr,
543166124Srafan	cols#80, it#8, lines#24,
544166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D,
545166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
546166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
547166124Srafan	hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
548166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g,
549166124Srafan	use=klone+sgr-dumb,
550166124Srafanpcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode),
551166124Srafan	lines#25, use=pcansi-m,
552166124Srafanpcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode),
553166124Srafan	lines#33, use=pcansi-m,
554166124Srafanpcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode),
555166124Srafan	lines#43, use=pcansi-m,
55650276Speter# The color versions.  All PC emulators do color...
557166124Srafanpcansi|ibm-pc terminal programs claiming to be ansi,
558166124Srafan	use=klone+color, use=pcansi-m,
559166124Srafanpcansi-25|pcansi25|ibm-pc terminal programs with 25 lines,
560166124Srafan	lines#25, use=pcansi,
561166124Srafanpcansi-33|pcansi33|ibm-pc terminal programs with 33 lines,
562166124Srafan	lines#33, use=pcansi,
563166124Srafanpcansi-43|pcansi43|ibm-pc terminal programs with 43 lines,
564166124Srafan	lines#43, use=pcansi,
56550276Speter
56650276Speter# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
56750276Speter# If you want pound signs rather than dollars, replace `B' with `A'
56850276Speter# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
56950276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
570166124Srafanansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes,
571166124Srafan	mc5i,
572166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
573166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM,
574166124Srafan	ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I,
575166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H,
576166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
577166124Srafan	kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S,
578166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B,
579166124Srafan	s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g,
580166124Srafan	vpa=\E[%i%p1%dd, use=pcansi-m,
58150276Speter
582166124Srafanansi+enq|ncurses extension for ANSI ENQ,
583166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c,
584166124Srafan	u9=\E[c,
585166124Srafan
58650276Speter# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
58750276Speter# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
58850276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
589166124Srafanansi|ansi/pc-term compatible with color,
590166124Srafan	use=ansi+enq, use=ecma+color, use=klone+sgr8, use=ansi-m,
59150276Speter
592166124Srafan# ansi-generic is a vanilla ANSI terminal. This is assumed to implement
593166124Srafan# all the normal ANSI stuff with no extensions. It assumes
594166124Srafan# insert/delete line/char is there, so it won't work with
595166124Srafan# vt100 clones. It assumes video attributes for bold, blink,
596166124Srafan# underline, and reverse, which won't matter much if the terminal
597166124Srafan# can't do some of those. Padding is assumed to be zero, which
59862449Speter# shouldn't hurt since xon/xoff is assumed.
599166124Srafanansi-generic|generic ansi standard terminal,
600166124Srafan	am, xon,
601166124Srafan	cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup,
602166124Srafan	use=ansi+rca, use=ansi+erase, use=ansi+tabs,
603166124Srafan	use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep,
604166124Srafan	use=ansi+sgrbold, use=ansi+arrows,
60562449Speter
60650276Speter#### DOS ANSI.SYS variants
60750276Speter#
60850276Speter# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
60950276Speter# documentation (except for the keyboard key reassignment feature, which
610166124Srafan# doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
61150276Speter# though undocumented.  The <pfkey> capability is untested but should work for
61250276Speter# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
61350276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
614166124Srafanansi.sys-old|ANSI.SYS under PC-DOS 2.1,
615166124Srafan	OTbs, am, mir, msgr, xon,
616166124Srafan	cols#80, lines#25,
617166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
618166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H,
619166124Srafan	is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
620166124Srafan	khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u,
621166124Srafan	rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR,
622166124Srafan	u7=\E[6n, use=klone+color, use=klone+sgr8,
623166124Srafanansi.sys|ANSI.SYS 3.1 and later versions,
624166124Srafan	el=\E[K, use=ansi.sys-old,
62550276Speter
62650276Speter#
62750276Speter# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
62850276Speter# This should only be used when the terminal emulator cannot redefine the keys.
62950276Speter# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
63050276Speter# definitions must be restored.  If the terminal emulator is quit while in vi
63150276Speter# or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
63250276Speter# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
63350276Speter# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
63450276Speter# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
63550276Speter# Note that <kcub1> is always BS, because PC-dos can tolerate this change.
63650276Speter# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
63750276Speter# Consequently the End keypad key could not be set (it is relatively safe and
63850276Speter# actually useful because it sends ^@ O, which beeps and opens a line above).
639166124Srafanansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi,
640166124Srafan	is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
641166124Srafan	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,
642166124Srafan	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,
643166124Srafan	use=ansi.sys,
64450276Speter#
64550276Speter# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
646166124Srafannansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS,
647166124Srafan	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
648166124Srafan	is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n,
649166124Srafan	use=ansi.sys,
65050276Speter#
65150276Speter# See ansi.sysk and nansi.sys above.
652166124Srafannansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi,
653166124Srafan	dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L,
654166124Srafan	is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p,
655166124Srafan	use=ansi.sysk,
65650276Speter
65750276Speter#### ANSI console types
65850276Speter#
65950276Speter
66050276Speter#### BeOS
66150276Speter#
66250276Speter# BeOS entry for Terminal program Seems to be almost ANSI
663166124Srafanbeterm|BeOS Terminal,
664166124Srafan	am, eo, mir, msgr, xenl, xon,
665166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64,
666166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
667166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
668166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
669166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
670166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
671166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H,
672166124Srafan	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
673166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
674166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
675166124Srafan	kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~,
676166124Srafan	kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
677166124Srafan	kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~,
678166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
679166124Srafan	nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l,
680166124Srafan	rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7,
681166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
682166124Srafan	setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm,
683166124Srafan	sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m,
684166124Srafan	smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n,
685166124Srafan	vpa=\E[%i%p1%dd,
68650276Speter
68750276Speter#### Linux consoles
68850276Speter#
68950276Speter
69050276Speter# This entry is good for the 1.2.13 or later version of the Linux console.
69150276Speter#
69250276Speter# ***************************************************************************
69350276Speter# *                                                                         *
69450276Speter# *                           WARNING:                                      *
69550276Speter# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
69650276Speter# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
69750276Speter# * character. Here are the keymap replacement lines that will set this up: *
69850276Speter# *                                                                         *
69950276Speter#	keycode  15 = Tab             Tab
70050276Speter#		alt     keycode  15 = Meta_Tab
70150276Speter#		shift	keycode  15 = F26
70250276Speter#	string F26 ="\033[Z"
70350276Speter# *                                                                         *
70450276Speter# * This has to use a key slot which is unfortunate (any unused one will    *
70550276Speter# * do, F26 is the higher-numbered one).  The change ought to be built      *
70650276Speter# * into the kernel tables.                                                 *
70750276Speter# *                                                                         *
70850276Speter# ***************************************************************************
70950276Speter#
710166124Srafan# All linux kernels since 1.2.13 (at least) set the screen size
71150276Speter# themselves; this entry assumes that capability.
71250276Speter#
713166124Srafanlinux-basic|linux console,
714166124Srafan	am, bce, eo, mir, msgr, xenl, xon,
715166124Srafan	it#8, ncv#18,
716166124Srafan	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,
717166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
718166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
719166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
720166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
721166124Srafan	el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H,
722166124Srafan	hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
723166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177,
724166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
725166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
726166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
727166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
728166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
729166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
730166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
731166124Srafan	kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
732166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
733166124Srafan	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;11%;m,
734166124Srafan	smam=\E[?7h, smir=\E[4h, smul=\E[4m, tbc=\E[3g,
735166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq, use=klone+sgr,
736166124Srafan	use=ecma+color,
737166124Srafan
738166124Srafanlinux-m|Linux console no color,
739166124Srafan	colors@, pairs@,
740166124Srafan	setab@, setaf@, setb@, setf@, use=linux,
741166124Srafan
74262449Speter# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
74362449Speter# and it matters, turn off <ccc>.  The %02x escape used to implement this is
744166124Srafan# not supposedly back-portable to older SV curses (although it has worked fine
745166124Srafan# on Solaris for several years) and not supported in ncurses versions before
746166124Srafan# 1.9.9.
747166124Srafanlinux-c-nc|linux console with color-change,
748166124Srafan	ccc,
749166124Srafan	initc=\E]P%p1%x%p2%{256}%*%{1000}%/%02x%p3%{256}%*%{1000}%/%02x%p4%{256}%*%{1000}%/%02x,
750166124Srafan	oc=\E]R, use=linux-basic,
751166124Srafan# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
752166124Srafanlinux-c|linux console 1.3.6+ for older ncurses,
753166124Srafan	ccc,
754166124Srafan	initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{256}%*%{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%{256}%*%{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%{256}%*%{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%;,
755166124Srafan	oc=\E]R, use=linux-basic,
756166124Srafan
75750276Speter# The 2.2.x kernels add a private mode that sets the cursor type; use that to
75850276Speter# get a block cursor for cvvis.
75950276Speter# reported by Frank Heckenbach <frank@g-n-u.de>.
760166124Srafanlinux|linux console,
761166124Srafan	civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
762166124Srafan	cvvis=\E[?25h\E[?8c, use=linux-c-nc,
76350276Speter
76450276Speter# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
765166124Srafanlinux-nic|linux with ich/ich1 suppressed for non-curses programs,
766166124Srafan	ich@, ich1@, use=linux,
76750276Speter
76850276Speter# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
76950276Speter# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
770166124Srafanlinux-koi8|linux with koi8 alternate character set,
771166124Srafan	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,
772166124Srafan	use=linux, use=klone+koi8acs,
77350276Speter
77450276Speter# Another entry for KOI8-r with Qing Long's acsc.
77550276Speter# (which one better complies with the standard?)
776166124Srafanlinux-koi8r|linux with koi8-r alternate character set,
777166124Srafan	use=linux, use=klone+koi8acs,
77850276Speter
77962449Speter# Entry for the latin1 and latin2 fonts
780166124Srafanlinux-lat|linux with latin1 or latin2 alternate character set,
781166124Srafan	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,
782166124Srafan	use=linux,
78362449Speter
784166124Srafan# This uses graphics from VT codeset instead of from cp437.
785166124Srafan# reason: cp437 (aka "straight to font") is not functional under luit.
786166124Srafan# from: Andrey V Lukyanov <land@long.yar.ru>.
787166124Srafanlinux-vt|linux console using VT codes for graphics,
788166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
789166124Srafan	rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0,
790166124Srafan	smpch@, use=linux,
791166124Srafan
792166124Srafan# This is based on the Linux console (relies on the console to perform some
793166124Srafan# of the functionality), but does not recognize as many control sequences.
794166124Srafan# The program comes bundled with an old (circa 1998) copy of the Linux
795166124Srafan# console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
796166124Srafan#	\E*	move cursor to home, as as \E[H
797166124Srafan#	\E,X	same as \E(X
798166124Srafan#	\EE	move cursor to beginning of row
799166124Srafan#	\E[y,xf	same as \E[y,xH
800166124Srafan#
801166124Srafan# Note: The status-line support is buggy (dsl does not work).
802166124Srafankon|kon2|jfbterm|Kanji ON Linux console,
803166124Srafan	ccc@, hs,
804166124Srafan	civis@, cnorm@, cvvis@, dsl=\E[?H, flash@, fsl=\E[?F, initc@,
805166124Srafan	initp@, kcbt@, oc@, op=\E[37;40m, rs1=\Ec, tsl=\E[?T,
806166124Srafan	use=linux,
807166124Srafan
80862449Speter#### Mach
80962449Speter#
81062449Speter
81162449Speter# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
812166124Srafanmach|Mach Console,
813166124Srafan	am, km,
814166124Srafan	cols#80, it#8, lines#25,
815166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
816166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
817166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
818166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
819166124Srafan	el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
820166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
821166124Srafan	kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
822166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
823166124Srafan	kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
824166124Srafan	kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m,
825166124Srafan	smso=\E[7m, smul=\E[4m,
826166124Srafanmach-bold|Mach Console with bold instead of underline,
827166124Srafan	rmul=\E[0m, smul=\E[1m, use=mach,
828166124Srafanmach-color|Mach Console with ANSI color,
829166124Srafan	colors#8, pairs#64,
830166124Srafan	dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
831166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
83250276Speter
833166124Srafan# From: Marcus Brinkmann
834166124Srafan# http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
835166124Srafan#
836166124Srafan# Comments in the original are summarized here:
837166124Srafan#
838166124Srafan# hurd uses 8-bit characters (km).
839166124Srafan#
840166124Srafan# Although it doesn't do XON/XOFF, we don't want padding characters (xon).
841166124Srafan#
842166124Srafan# Regarding compatibility to vt100:  hurd doesn't specify <xenl>, as we don't
843166124Srafan# have the eat_newline_glitch.  It doesn't support setting or removing tab
844166124Srafan# stops (hts/tbc).
845166124Srafan#
846166124Srafan# hurd uses ^H instead of \E[D for cub1, as only ^H implements <bw> and it is
847166124Srafan# one byte instead three.
848166124Srafan#
849166124Srafan# <ich1> is not included because hurd has insert mode.
850166124Srafan#
851166124Srafan# hurd doesn't use ^J for scrolling, because this could put things into the
852166124Srafan# scrollback buffer.
853166124Srafan#
854166124Srafan# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
855166124Srafan# This is a GNU extension.
856166124Srafan#
857166124Srafan# The original has commented-out ncv, but is restored here.
858166124Srafan#
859166124Srafan# Reading the source, RIS resets cnorm, but not xmous.
860166124Srafanhurd|The GNU Hurd console server,
861166124Srafan	am, bce, bw, eo, km, mir, msgr, xon,
862166124Srafan	colors#8, it#8, ncv#18, pairs#64,
863166124Srafan	acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
864166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
865166124Srafan	clear=\Ec, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
866166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
867166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
868166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[34l, dch=\E[%p1%dP,
869166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
870166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\Eg,
871166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
872166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
873166124Srafan	invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\EOD,
874166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
875166124Srafan	kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
876166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
877166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
878166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
879166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
880166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
881166124Srafan	kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\E[T,
882166124Srafan	rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E[10m, rmir=\E[4l,
883166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\EM\E[?1000l, sc=\E7,
884166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
885166124Srafan	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,
886166124Srafan	sgr0=\E[0m, sitm=\E[3m, smacs=\E[11m, smir=\E[4h,
887166124Srafan	smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, grbom=\E[>1l,
888166124Srafan	gsbom=\E[>1h,
889166124Srafan
89062449Speter#### OSF Unix
89162449Speter#
89250276Speter
89362449Speter# OSF/1 1.1 Snapshot 2
894166124Srafanpmcons|pmconsole|PMAX console,
895166124Srafan	am,
896166124Srafan	cols#128, lines#57,
897166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I,
898166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
899166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
90062449Speter
90150276Speter# SCO console and SOS-Syscons console for 386bsd
90250276Speter# (scoansi: had unknown capabilities
90350276Speter#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
90450276Speter#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
90550276Speter#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
90650276Speter#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
90750276Speter#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
90850276Speter# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
90950276Speter# on the <smacs>=\E[12m  -- esr)
91050276Speter#
91156639Speter# klone+sgr-dumb is an error since the acsc does not match -TD
91256639Speter#
91398503Speter# In this description based on SCO's keyboard(HW) manpage list of default
91498503Speter# function key values:
91550276Speter#	F13-F24 are shifted F1-F12
91650276Speter#	F25-F36 are control F1-F12
91750276Speter#	F37-F48 are shift+control F1-F12
91876726Speter#
91976726Speter# hpa/vpa work in the console, but not in scoterm:
92076726Speter#	hpa=\E[%p1%dG,
92176726Speter#	vpa=\E[%p1%dd,
92276726Speter#
92376726Speter# SCO's terminfo uses
92476726Speter#	kLFT=\E[d,
92576726Speter#	kRIT=\E[c,
92676726Speter# which do not work (console or scoterm).
92776726Speter#
92876726Speter# Console documents only 3 attributes can be set with SGR (so we don't use sgr).
929166124Srafanscoansi-old|SCO Extended ANSI standard crt (5.0.5),
930166124Srafan	OTbs, am, bce, eo, xon,
931166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
932166124Srafan	acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
933166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
934166124Srafan	civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C,
935166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
936166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
937166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP,
938166124Srafan	dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M,
939166124Srafan	ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I,
940166124Srafan	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
941166124Srafan	ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H,
942166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
943166124Srafan	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
944166124Srafan	kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
945166124Srafan	kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
946166124Srafan	kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
947166124Srafan	kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
948166124Srafan	kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
949166124Srafan	kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
950166124Srafan	kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
951166124Srafan	kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
952166124Srafan	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
953166124Srafan	kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8,
954166124Srafan	rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m,
955166124Srafan	rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
956166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
957166124Srafan	smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
958166124Srafanscoansi-new|SCO Extended ANSI standard crt (5.0.6),
959166124Srafan	km,
960166124Srafan	civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr,
961166124Srafan	cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m,
962166124Srafan	rep=\E[%p1%d;%p2%db, rmm=\E[=11L,
963166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
964166124Srafan	smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm,
965166124Srafan	smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m,
966166124Srafan	smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m,
967166124Srafan	smgtp=\E[=0;%i%p1%dm, smm=\E[=10L,
968166124Srafan	wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr,
969166124Srafan	use=scoansi-old,
97098503Speter# make this easy to change...
971166124Srafanscoansi|SCO Extended ANSI standard crt,
972166124Srafan	use=scoansi-old,
97350276Speter
97450276Speter# This actually describes the generic SVr4 display driver for Intel boxes.
97550276Speter# The <dim=\E[2m> isn't documented and therefore may not be reliable.
97650276Speter# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
977166124Srafanatt6386|at386|386at|AT&T WGS 6386 console,
978166124Srafan	am, bw, eo, xon,
979166124Srafan	cols#80, it#8, lines#25,
980166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
981166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
982166124Srafan	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
983166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
984166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
985166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
986166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
987166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
988166124Srafan	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
989166124Srafan	indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
990166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
991166124Srafan	kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
992166124Srafan	kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
993166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
994166124Srafan	knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
995166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
996166124Srafan	sc=\E7,
997166124Srafan	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,
998166124Srafan	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
999166124Srafan	tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color,
100050276Speter# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
1001166124Srafanpc6300plus|AT&T 6300 plus,
1002166124Srafan	OTbs, am, xon,
1003166124Srafan	cols#80, lines#24,
1004166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
1005166124Srafan	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
1006166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
1007166124Srafan	dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
1008166124Srafan	home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
1009166124Srafan	invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1010166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
1011166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
1012166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1013166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
101450276Speter
101550276Speter# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
101650276Speter#
101750276Speter# I have a UNIX PC which I use as a terminal attached to my Linux PC.
101850276Speter# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
101950276Speter# is broken. All the special key sequences are broken, making it unusable
102050276Speter# with Emacs. The problem stems from the following:
1021166124Srafan#
102250276Speter# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
102350276Speter# keypad!), loadable fonts, and strange highlighting modes ("dithered"
102450276Speter# half-intensity, "smeared" bold, and real strike-out, for example.) It also
102550276Speter# uses resizable terminal windows, but the bundled terminal program always
102650276Speter# uses an 80x24 window (and doesn't support seem to support a 132-column
1027166124Srafan# mode.)
1028166124Srafan#
102950276Speter# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
103050276Speter# library which was a superset of SVr3.5 curses (called tam, for "terminal
103150276Speter# access method".) tam includes support for real, overlapping windows,
103250276Speter# onscreen function key labels, and bitmap graphics. But since the primary
103350276Speter# user interface on the UNIX PC was a GUI program (ua, for "user
103450276Speter# assistant",) and remote administration was considered important for the
103550276Speter# machine, tam also supported VT100-compatible terminals attached to the
103650276Speter# serial port or used across the StarLan network. To simulate the extra keys
103750276Speter# not present on a VT100, users could press ESC and a two-letter sequence,
103850276Speter# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
103950276Speter# however, were not the same as those sent by the actual Undo key. The
104050276Speter# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
104150276Speter# (If you're interested in adding some of the tam calls to ncurses, btw, I
104250276Speter# have the full documentation and several programs which use tam. It also
104350276Speter# used an extended terminfo format to describe key sequences, special
1044166124Srafan# highlighting modes, etc.)
1045166124Srafan#
104650276Speter# KEYS: This means that ncurses would quite painful on the UNIX PC, since
104750276Speter# there are two sequences for every key-modifier combination (local keyboard
104850276Speter# sequence and remote "VT100" sequence.) But I doubt many people are trying
104950276Speter# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
1050166124Srafan# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
1051166124Srafan# seem to have been built from the manual describing the VT100 sequences.
1052166124Srafan# This means it doesn't work for a real live UNIX PC.
1053166124Srafan#
105450276Speter# FONTS: The UNIX PC also has a strange interpretation of "alternate
105550276Speter# character set". Rather than the VT100 graphics you might expect, it allows
105650276Speter# up to 8 custom fonts to be loaded at any given time. This means that
105750276Speter# programs expecting VT100 graphics will usually be disappointed. For this
105850276Speter# reason I have disabled the smacs/rmacs sequences, but they could easily be
1059166124Srafan# re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
1060166124Srafan# manpage), should you wish to do so:
1061166124Srafan#
106250276Speter# SGR10 - Select font 0 - ESC [ 10 m or SO
106350276Speter# SGR11 - Select font 1 - ESC [ 11 m or SI
106450276Speter# SGR12 - Select font 2 - ESC [ 12 m
106550276Speter# ... (etc.)
106650276Speter# SGR17 - Select font 7 - ESC [ 17 m
1067166124Srafan#
106850276Speter# Graphics for line drawing are not reliably found at *any* character
106950276Speter# location because the UNIX PC has dynamically reloadable fonts. I use font
107050276Speter# 0 for regular text and font 1 for italics, but this is by no means
107150276Speter# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
1072166124Srafan#
107350276Speter# MISC: The cursor visible/cursor invisible sequences were swapped in the
107450276Speter# distributed terminfo.
1075166124Srafan#
107650276Speter# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
107750276Speter# the UNIX PC terminfo entry. The modified version works great with Lynx,
107850276Speter# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
107950276Speter# attached by serial cable. In Emacs, even the Undo key works, and many
1080166124Srafan# applications can now use the F1-F8 keys.
1081166124Srafan#
108250276Speter# esr's notes:
108350276Speter#	Terminfo entry for the AT&T Unix PC 7300
108450276Speter#	from escape(7) in Unix PC 7300 Manual.
108550276Speter#	Somewhat similar to a vt100-am (but different enough
108650276Speter#	to redo this from scratch.)
108750276Speter#
108850276Speter#	/***************************************************************
108950276Speter#	*
109050276Speter#	*           FONT LOADING PROGRAM FOR THE UNIX PC
109150276Speter#	*
109250276Speter#	*     This routine loads a font defined in the file ALTFONT
109350276Speter#	*     into font memory slot #1.  Once the font has been loaded,
109450276Speter#	*     it can be used as an alternative character set.
109550276Speter#	*
1096166124Srafan#	*     The call to ioctl with the argument WIOCLFONT is the key
1097166124Srafan#	*     to this routine.  For more information, see window(7) in
109850276Speter#	*     the PC 7300 documentation.
109950276Speter#	***************************************************************/
110050276Speter#	#include <string.h>		/* needed for strcpy call */
110150276Speter#	#include <sys/window.h>         /* needed for ioctl call */
110250276Speter#	#define FNSIZE	60		/* font name size */
110350276Speter#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
110450276Speter#	/*
110550276Speter#	*     The file /usr/lib/wfont/special.8.ft comes with the
110650276Speter#	*     standard PC software.  It defines a graphics character set
110750276Speter#	*     similar to that of the Teletype 5425 terminal.  To view
110850276Speter#	*     this or other fonts in /usr/lib/wfont, use the command
110950276Speter#	*     cfont <filename>.  For further information on fonts see
111050276Speter#	*     cfont(1) in the PC 7300 documentation.
111150276Speter#	*/
1112166124Srafan#
111350276Speter#	struct altfdata 	/* structure for alt font data */
111450276Speter#	{
111550276Speter#	short	altf_slot;		/* memory slot number */
111650276Speter#	char	altf_name[FNSIZE];	/* font name (file name) */
111750276Speter#	};
111850276Speter#	ldfont()
111950276Speter#	{
112050276Speter#		int wd;		/* window in which altfont will be */
112150276Speter#		struct altfdata altf;
112250276Speter#		altf.altf_slot=1;
112350276Speter#		strcpy(altf.altf_name,ALTFONT);
112450276Speter#		for (wd =1; wd < 12; wd++) {
112550276Speter#		     ioctl(wd, WIOCLFONT,&altf);
112650276Speter#	        }
112750276Speter#	}
112850276Speter#
112950276Speter# (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
113050276Speter# they're confirmed by the man page for the System V display---esr)
113150276Speter#
1132166124Srafanatt7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
1133166124Srafan	am, xon,
1134166124Srafan	cols#80, it#8, lines#24,
1135166124Srafan	bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
1136166124Srafan	clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
1137166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
1138166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1139166124Srafan	cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
1140166124Srafan	ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
1141166124Srafan	il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
1142166124Srafan	kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
1143166124Srafan	kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
1144166124Srafan	kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
1145166124Srafan	kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
1146166124Srafan	kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
1147166124Srafan	kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
1148166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
1149166124Srafan	ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
1150166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
1151166124Srafan	kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
1152166124Srafan	kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
1153166124Srafan	kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
1154166124Srafan	kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
1155166124Srafan	ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
1156166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
1157166124Srafan	smul=\E[4m,
115850276Speter
115950276Speter# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
116050276Speter# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
116150276Speter# for the application keypad mode.  We have added iris-ansi-ap rather than
116250276Speter# change the original to keypad mode.
116350276Speter#
116450276Speter# (iris-ansi: added rmam/smam based on init string -- esr)
116550276Speter#
116650276Speter# This entry, and those derived from it, is used in xwsh (also known as
116750276Speter# winterm).  Some capabilities that do not fit into the terminfo model
116850276Speter# include the shift- and control-functionkeys:
116950276Speter#
117050276Speter# F1-F12 generate different codes when shift or control modifiers are used.
117150276Speter# For example:
117250276Speter#	F1      	\E[001q
117350276Speter#	shift F1	\E[013q
117450276Speter#	control-F1	\E[025q
117550276Speter#
117650276Speter# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
117750276Speter# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
117850276Speter#
117950276Speter# The cursor keys also have different codes:
118050276Speter#	control-up	\E[162q
118150276Speter#	control-down	\E[165q
118250276Speter#	control-left	\E[159q
118350276Speter#	control-right	\E[168q
118450276Speter#
118550276Speter#	shift-up	\E[161q
118650276Speter#	shift-down	\E[164q
118750276Speter#	shift-left	\E[158q
118850276Speter#	shift-right	\E[167q
118950276Speter#
119050276Speter#	control-tab	\[072q
119150276Speter#
1192166124Srafaniris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
1193166124Srafan	am,
1194166124Srafan	cols#80, it#8, lines#40,
1195166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J,
1196166124Srafan	cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
1197166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
1198166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1199166124Srafan	cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
1200166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
1201166124Srafan	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
1202166124Srafan	is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
1203166124Srafan	kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
1204166124Srafan	kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1205166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
1206166124Srafan	kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
1207166124Srafan	kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
1208166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
1209166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
1210166124Srafan	knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
1211166124Srafan	kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
1212166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
1213166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
1214166124Srafan	tbc=\E[3g,
1215166124Srafaniris-ansi-ap|IRIS ANSI in application-keypad mode,
1216166124Srafan	is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
1217166124Srafan	kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi,
121850276Speter
121950276Speter# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
122050276Speter# (T.Dickey 98/1/24)
1221166124Srafaniris-color|xwsh|IRIX ANSI with color,
1222166124Srafan	ncv#33,
1223166124Srafan	csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
1224166124Srafan	ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
1225166124Srafan	rmul=\E[24m, rs1=\Ec,
1226166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1227166124Srafan	sitm=\E[3m, use=vt100+enq, use=klone+color,
1228166124Srafan	use=iris-ansi-ap,
122950276Speter
123050276Speter# The following is a version of the ibm-pc entry distributed with PC/IX,
123150276Speter# (Interactive Systems' System 3 for the Big Blue), modified by Richard
123250276Speter# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
123350276Speter# (the former is untrue, and the latter failed under UCB/man); standout and
123450276Speter# underline modes have been added.  Note: this entry describes the "native"
123550276Speter# capabilities of the PC monochrome display, without ANY emulation; most
123650276Speter# communications packages (but NOT PC/IX connect) do some kind of emulation.
1237166124Srafanpcix|PC/IX console,
1238166124Srafan	am, bw, eo,
1239166124Srafan	cols#80, lines#24,
1240166124Srafan	clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1241166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1242166124Srafan	home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
1243166124Srafan	smul=\E[4m,
124450276Speter
124550276Speter# (ibmpcx: this entry used to be known as ibmx.
124650276Speter# It formerly included the following extension capabilities:
124750276Speter#	:GC=b:GL=v:GR=t:RT=^J:\
124850276Speter#	:GH=\E[196g:GV=\E[179g:\
124950276Speter#	:GU=\E[193g:GD=\E[194g:\
125050276Speter#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
125150276Speter#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
125250276Speter#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
125350276Speter# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
125450276Speter# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
125550276Speter# what was there before. -- esr)
1256166124Srafanibmpcx|xenix|ibmx|IBM PC xenix console display,
1257166124Srafan	OTbs, am, msgr,
1258166124Srafan	cols#80, lines#25,
1259166124Srafan	clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
1260166124Srafan	cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
1261166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
1262166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
1263166124Srafan	kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
1264166124Srafan	kpp=\E[Z, use=klone+acs, use=klone+sgr8,
126550276Speter
126662449Speter#### QNX
126762449Speter#
126850276Speter
126950276Speter# QNX 4.0 Console
127050276Speter# Michael's original version of this entry had <am@>, <smcup=\Ei>,
127150276Speter# <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
127250276Speter# right corner without triggering a scroll.  The ncurses terminfo library can
127350276Speter# handle this case with the <ich1> capability, and prefers <am> for better
127450276Speter# optimization.  Bug: The <op> capability resets attributes.
127550276Speter# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
127650276Speter# (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1277166124Srafanqnx|qnx4|qnx console,
1278166124Srafan	daisy, km, mir, msgr, xhpa, xt,
1279166124Srafan	colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
1280166124Srafan	acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
1281166124Srafan	bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
1282166124Srafan	cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1283166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
1284166124Srafan	dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
1285166124Srafan	il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
1286166124Srafan	kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
1287166124Srafan	kDL=\377\366, kEND=\377\301, kEOL=\377\311,
1288166124Srafan	kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
1289166124Srafan	kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
1290166124Srafan	kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
1291166124Srafan	kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
1292166124Srafan	kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
1293166124Srafan	kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
1294166124Srafan	kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
1295166124Srafan	kclo=\377\343, kclr=\377\341, kcmd=\377\245,
1296166124Srafan	kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
1297166124Srafan	kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
1298166124Srafan	kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
1299166124Srafan	ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
1300166124Srafan	kext=\377\270, kf1=\377\201, kf10=\377\212,
1301166124Srafan	kf11=\377\256, kf12=\377\257, kf13=\377\213,
1302166124Srafan	kf14=\377\214, kf15=\377\215, kf16=\377\216,
1303166124Srafan	kf17=\377\217, kf18=\377\220, kf19=\377\221,
1304166124Srafan	kf2=\377\202, kf20=\377\222, kf21=\377\223,
1305166124Srafan	kf22=\377\224, kf23=\377\333, kf24=\377\334,
1306166124Srafan	kf25=\377\225, kf26=\377\226, kf27=\377\227,
1307166124Srafan	kf28=\377\230, kf29=\377\231, kf3=\377\203,
1308166124Srafan	kf30=\377\232, kf31=\377\233, kf32=\377\234,
1309166124Srafan	kf33=\377\235, kf34=\377\236, kf35=\377\276,
1310166124Srafan	kf36=\377\277, kf37=\377\321, kf38=\377\322,
1311166124Srafan	kf39=\377\323, kf4=\377\204, kf40=\377\324,
1312166124Srafan	kf41=\377\325, kf42=\377\326, kf43=\377\327,
1313166124Srafan	kf44=\377\330, kf45=\377\331, kf46=\377\332,
1314166124Srafan	kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
1315166124Srafan	kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
1316166124Srafan	khlp=\377\350, khome=\377\240, khts=\377\342,
1317166124Srafan	kich1=\377\253, kil1=\377\273, kind=\377\261,
1318166124Srafan	kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
1319166124Srafan	knp=\377\252, knxt=\377\312, kopn=\377\357,
1320166124Srafan	kopt=\377\353, kpp=\377\242, kprt=\377\255,
1321166124Srafan	kprv=\377\302, krdo=\377\336, kref=\377\354,
1322166124Srafan	kres=\377\360, krfr=\377\347, kri=\377\271,
1323166124Srafan	krmir=\377\313, krpl=\377\362, krst=\377\352,
1324166124Srafan	ksav=\377\361, kslt=\377\247, kspd=\377\335,
1325166124Srafan	ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
1326166124Srafan	rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
1327166124Srafan	rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
1328166124Srafan	setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
1329166124Srafan	smso=\E(, smul=\E[,
133066963Speter#
133166963Speter#
1332166124Srafanqnxt|qnxt4|QNX4 terminal,
1333166124Srafan	crxm, use=qnx4,
133466963Speter#
1335166124Srafanqnxm|QNX4 with mouse events,
1336166124Srafan	maddr#1,
1337166124Srafan	chr=\E/, cvr=\E", is1=\E/0t, mcub=\E/>1h, mcub1=\E/>7h,
1338166124Srafan	mcud=\E/>1h, mcud1=\E/>1l\E/>9h, mcuf=\E/>1h\E/>9l,
1339166124Srafan	mcuf1=\E/>7l, mcuu=\E/>6h, mcuu1=\E/>6l, rmicm=\E/>2l,
1340166124Srafan	smicm=\E/>2h, use=qnx4,
134166963Speter#
1342166124Srafanqnxw|QNX4 windows,
1343166124Srafan	xvpa, use=qnxm,
134466963Speter#
134566963Speter#	Monochrome QNX4 terminal or console. Setting this terminal type will
134666963Speter#	allow an application running on a color console to behave as if it
134766963Speter#	were a monochrome terminal. Output will be through stdout instead of
134866963Speter#	console writes because the term routines will recognize that the
134966963Speter#	terminal name starts with 'qnxt'.
135066963Speter#
1351166124Srafanqnxtmono|Monochrome QNX4 terminal or console,
1352166124Srafan	colors@, pairs@,
1353166124Srafan	scp@, use=qnx4,
135450276Speter
135550276Speter# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
135650276Speter# (esr: commented out <scp> and <rmcup> to avoid warnings.)
135750276Speter# (TD: derive from original qnx4 entry)
1358166124Srafanqnxt2|qnx 2.15 serial terminal,
1359166124Srafan	am,
1360166124Srafan	civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
1361166124Srafan	rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4,
136250276Speter
136366963Speter# QNX ANSI terminal definition
1364166124Srafanqansi-g|QNX ANSI,
1365166124Srafan	am, eslok, hs, xon,
1366166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80,
1367166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~Oa,
1368166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
1369166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M,
1370166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
1371166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1372166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A,
1373166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
1374166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, dsl=\E[r, ech=\E[%p1%dX, ed=\E[J,
1375166124Srafan	el=\E[K, el1=\E[1K\E[X, flash=\E[?5h$<200>\E[?5l,
1376166124Srafan	fsl=\E[?6h\E8, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
1377166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L,
1378166124Srafan	ind=\E[S, indn=\E[%p1%dS, invis=\E[9m,
1379166124Srafan	is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0,
1380166124Srafan	kBEG=\ENn, kCAN=\E[s, kCMD=\E[t, kCPY=\ENs, kCRT=\ENt,
1381166124Srafan	kDL=\ENv, kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h,
1382166124Srafan	kLFT=\E[d, kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c,
1383166124Srafan	kbs=^H, kcan=\E[S, kcbt=\E[Z, kclo=\ENc, kclr=\ENa,
1384166124Srafan	kcmd=\E[G, kcpy=\E[g, kctab=\E[z, kcub1=\E[D, kcud1=\E[B,
1385166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[p, kend=\E[Y,
1386166124Srafan	kext=\E[y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA,
1387166124Srafan	kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt,
1388166124Srafan	kf18=\EOu, kf19=\EOv, kf2=\EOQ, kf20=\EOw, kf21=\EOx,
1389166124Srafan	kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~,
1390166124Srafan	kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf3=\EOR, kf30=\E[6~,
1391166124Srafan	kf31=\E[7~, kf32=\E[8~, kf33=\E[9~, kf34=\E[10~,
1392166124Srafan	kf35=\E[11~, kf36=\E[12~, kf37=\E[17~, kf38=\E[18~,
1393166124Srafan	kf39=\E[19~, kf4=\EOS, kf40=\E[20~, kf41=\E[21~,
1394166124Srafan	kf42=\E[22~, kf43=\E[23~, kf44=\E[24~, kf45=\E[25~,
1395166124Srafan	kf46=\E[26~, kf47=\E[27~, kf48=\E[28~, kf5=\EOT, kf6=\EOU,
1396166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, kfnd=\ENf, khlp=\ENh,
1397166124Srafan	khome=\E[H, khts=\ENb, kich1=\E[@, kil1=\E[`, kind=\E[a,
1398166124Srafan	kmov=\ENi, kmrk=\ENm, kmsg=\ENe, knp=\E[U, kopn=\ENo,
1399166124Srafan	kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg,
1400166124Srafan	kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T,
1401166124Srafan	ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m,
1402166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T,
1403166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmso=\E[27m,
1404166124Srafan	rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
1405166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1406166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1407166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1408166124Srafan	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%;,
1409166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,
1410166124Srafan	smul=\E[4m, tbc=\E[2g,
1411166124Srafan	tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,
141266963Speter#
1413166124Srafanqansi|QNX ansi with console writes,
1414166124Srafan	daisy, xhpa, use=qansi-g,
141566963Speter#
1416166124Srafanqansi-t|QNX ansi without console writes,
1417166124Srafan	crxm, use=qansi,
141866963Speter#
1419166124Srafanqansi-m|QNX ansi with mouse,
1420166124Srafan	maddr#1,
1421166124Srafan	chr=\E[, cvr=\E], is1=\E[0t, mcub=\E[>1h, mcub1=\E[>7h,
1422166124Srafan	mcud=\E[>1h, mcud1=\E[>1l\E[>9h, mcuf=\E[>1h\E[>9l,
1423166124Srafan	mcuf1=\E[>7l, mcuu=\E[>6h, mcuu1=\E[>6l, rmicm=\E[>2l,
1424166124Srafan	smicm=\E[>2h, use=qansi,
142566963Speter#
1426166124Srafanqansi-w|QNX ansi for windows,
1427166124Srafan	xvpa, use=qansi-m,
142866963Speter
142950276Speter#### NetBSD consoles
143050276Speter#
143150276Speter# pcvt termcap database entries (corresponding to release 3.31)
143250276Speter# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
143350276Speter#
143450276Speter# (For the terminfo master file, I translated these into terminfo syntax.
143550276Speter# Then I dropped all the pseudo-HP entries. we don't want and can't use
143650276Speter# the :Xs: flag. Then I split :is: into a size-independent <is1> and a
143750276Speter# size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
143850276Speter
143950276Speter# NOTE: <ich1> has been taken out of this entry. for reference, it should
144050276Speter# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
144150276Speter# (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1442166124SrafanpcvtXX|pcvt vt200 emulator (DEC VT220),
1443166124Srafan	am, km, mir, msgr, xenl,
1444166124Srafan	it#8, vt#3,
1445166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
1446166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
1447166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
1448166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1449166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1450166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1451166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1452166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
1453166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
1454166124Srafan	is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
1455166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1456166124Srafan	kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
1457166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
1458166124Srafan	khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
1459166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
1460166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
1461166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
1462166124Srafan	rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1463166124Srafan	sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
1464166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
146550276Speter
146650276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
146750276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
146850276Speter#	50 lines entries; 80 columns
1469166124Srafanpcvt25|dec vt220 emulation with 25 lines,
1470166124Srafan	cols#80, lines#25,
1471166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
1472166124Srafanpcvt28|dec vt220 emulation with 28 lines,
1473166124Srafan	cols#80, lines#28,
1474166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
1475166124Srafanpcvt35|dec vt220 emulation with 35 lines,
1476166124Srafan	cols#80, lines#35,
1477166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
1478166124Srafanpcvt40|dec vt220 emulation with 40 lines,
1479166124Srafan	cols#80, lines#40,
1480166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
1481166124Srafanpcvt43|dec vt220 emulation with 43 lines,
1482166124Srafan	cols#80, lines#43,
1483166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
1484166124Srafanpcvt50|dec vt220 emulation with 50 lines,
1485166124Srafan	cols#80, lines#50,
1486166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
148750276Speter
148850276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
148950276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
149050276Speter#	50 lines entries; 132 columns
1491166124Srafanpcvt25w|dec vt220 emulation with 25 lines and 132 cols,
1492166124Srafan	cols#132, lines#25,
1493166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
1494166124Srafanpcvt28w|dec vt220 emulation with 28 lines and 132 cols,
1495166124Srafan	cols#132, lines#28,
1496166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
1497166124Srafanpcvt35w|dec vt220 emulation with 35 lines and 132 cols,
1498166124Srafan	cols#132, lines#35,
1499166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
1500166124Srafanpcvt40w|dec vt220 emulation with 40 lines and 132 cols,
1501166124Srafan	cols#132, lines#40,
1502166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
1503166124Srafanpcvt43w|dec vt220 emulation with 43 lines and 132 cols,
1504166124Srafan	cols#132, lines#43,
1505166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
1506166124Srafanpcvt50w|dec vt220 emulation with 50 lines and 132 cols,
1507166124Srafan	cols#132, lines#50,
1508166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
150950276Speter
151098503Speter#	OpenBSD implements a color variation
1511166124Srafanpcvt25-color|dec vt220 emulation with 25 lines and color,
1512166124Srafan	cols#80, lines#25,
1513166124Srafan	is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, kf11=\E[23~,
1514166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
1515166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1516166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
1517166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX,
1518166124Srafan	use=ecma+color,
151998503Speter
152050276Speter# Terminfo entries to enable the use of the ncurses library in colour on a
152150276Speter# NetBSD-arm32 console (only tested on a RiscPC).
152250276Speter# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
152350276Speter# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
152450276Speter# typo in invis - TD
1525166124Srafanarm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
1526166124Srafan	am, bce, msgr, xenl, xon,
1527166124Srafan	cols#80, it#8, lines#30,
1528166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1529166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1530166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1531166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1532166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
1533166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
1534166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
1535166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
1536166124Srafan	invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
1537166124Srafan	kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1538166124Srafan	kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
1539166124Srafan	kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
1540166124Srafan	kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
1541166124Srafan	rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
1542166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1543166124Srafan	sc=\E7,
1544166124Srafan	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>,
1545166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
1546166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,
1547166124Srafan	use=klone+color,
154850276Speter
1549166124Srafanarm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
1550166124Srafan	cols#132, lines#50, use=arm100,
155150276Speter
155250276Speter# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
155350276Speter# manufactured by Sharp for the Japenese market.
155450276Speter# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1555166124Srafanx68k|x68k-ite|NetBSD/x68k ITE,
1556166124Srafan	cols#96, lines#32,
1557166124Srafan	kclr=\E[9~, khlp=\E[28~, use=vt220,
155850276Speter
155956639Speter# <tv@pobox.com>:
156056639Speter# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
156156639Speter#
156256639Speter# (still unfinished, but good enough so far.)
1563166124Srafanofcons|DNARD OpenFirmware console,
1564166124Srafan	bw,
1565166124Srafan	cols#80, lines#30,
1566166124Srafan	bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
1567166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
1568166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
1569166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
1570166124Srafan	dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
1571166124Srafan	flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
1572166124Srafan	il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
1573166124Srafan	kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
1574166124Srafan	kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
1575166124Srafan	kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
1576166124Srafan	kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
1577166124Srafan	rmso=\2330m, rmul=\2330m,
1578166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
1579166124Srafan	sgr0=\2330m,
158056639Speter
1581166124Srafan# NetBSD "wscons" emulator in vt220 mode.
1582166124Srafan# This entry is based on the NetBSD termcap entry, correcting the ncv value.
1583166124Srafan# The emulator renders underlined text in red.  Colors are otherwise usable.
1584166124Srafan#
1585166124Srafan# Testing the emulator and reading the source code (NetBSD 2.0), it appears
1586166124Srafan# that "vt220" is inaccurate.  There are a few vt220-features, but most of the
1587166124Srafan# vt220 screens in vttest do not work with this emulator.  For instance, it
1588166124Srafan# identifies itself (primary DA response) as a vt220 with selective erase.  But
1589166124Srafan# the selective erase feature does not work.  The secondary response is copied
1590166124Srafan# from Kermit's emulation of vt220, does not correspond to actual vt220.  At
1591166124Srafan# the level of detail in a termcap, it is a passable emulator, since ECH does
1592166124Srafan# work.  Don't use it on a VMS system -TD
1593166124Srafanwsvt25|NetBSD wscons in 25 line DEC VT220 mode,
1594166124Srafan	bce, msgr,
1595166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#2, pairs#64,
1596166124Srafan	is2=\E[r\E[25;1H, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
1597166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
1598166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
1599166124Srafan	kf9=\E[20~, khome=\E[7~, op=\E[m, setab=\E[4%p1%dm,
1600166124Srafan	setaf=\E[3%p1%dm, use=vt220,
160156639Speter
1602166124Srafanwsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
1603166124Srafan	km, use=wsvt25,
160456639Speter
1605166124Srafan# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
160656639Speter# DECstation/pmax.
1607166124Srafanrcons|BSD rasterconsole,
1608166124Srafan	use=sun-il,
1609166124Srafan# Color version of above. Color currently only provided by NetBSD.
1610166124Srafanrcons-color|BSD rasterconsole with ANSI color,
1611166124Srafan	bce,
1612166124Srafan	colors#8, pairs#64,
1613166124Srafan	op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=rcons,
161456639Speter
161562449Speter# mgterm -- MGL/MGL2, MobileGear Graphic Library
161662449Speter# for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
161762449Speter# -- the setf/setb are probably incorrect, more likely setaf/setab -TD
161862449Speter# -- compare with cons25w
1619166124Srafanmgterm,
1620166124Srafan	OTbs, OTpt, am, bce, bw, eo, km, msgr, npc,
1621166124Srafan	colors#8, cols#80, it#8, lines#18, pairs#64,
1622166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1623166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1624166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1625166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1626166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM,
1627166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
1628166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
1629166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
1630166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1631166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
1632166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
1633166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
1634166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
1635166124Srafan	nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
1636166124Srafan	rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm,
1637166124Srafan	setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
163862449Speter
163950276Speter#### FreeBSD console entries
164050276Speter#
164150276Speter# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
164250276Speter# Andrey Chernov maintains the FreeBSD termcap distributions.
164350276Speter#
164450276Speter# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
164550276Speter# or comment out the :cb: capability in the console entry.
164650276Speter#
164750276Speter# Alexander Lukyanov reports:
164850276Speter# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
164950276Speter# Now el1 clears not only to the line beginning, but also a large chunk
165050276Speter# of previous line. But there is another bug - ech does not work at all.
165150276Speter#
165250276Speter
165350276Speter# for syscons
165450276Speter# common entry without semigraphics
165550276Speter# Bug: The <op> capability resets attributes.
165650276Speter# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
165750276Speter# instance el1 does if the cursor is moved to the right margin first.  Removed
165850276Speter# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
165950276Speter#
166050276Speter# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
166150276Speter# Note that this disables standout with color.
166298503Speter#
166398503Speter# The emulator sends difference strings based on shift- and control-keys,
166498503Speter# like scoansi:
166598503Speter#	F13-F24 are shifted F1-F12
166698503Speter#	F25-F36 are control F1-F12
166798503Speter#	F37-F48 are shift+control F1-F12
1668166124Srafancons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
1669166124Srafan	am, bce, bw, eo, msgr, npc,
1670166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
1671166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1672166124Srafan	cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
1673166124Srafan	cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1674166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1675166124Srafan	cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
1676166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
1677166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
1678166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
1679166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1680166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
1681166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,
1682166124Srafan	kf14=\E[Z, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,
1683166124Srafan	kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,
1684166124Srafan	kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,
1685166124Srafan	kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,
1686166124Srafan	kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,
1687166124Srafan	kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,
1688166124Srafan	kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,
1689166124Srafan	kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,
1690166124Srafan	kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,
1691166124Srafan	knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m,
1692166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7,
1693166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1694166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
1695166124Srafan	sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
1696166124Srafancons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
1697166124Srafan	acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
1698166124Srafan	use=cons25w,
1699166124Srafancons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
1700166124Srafan	colors@, pairs@,
1701166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
1702166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
1703166124Srafan	smul=\E[4m, use=cons25,
1704166124Srafancons30|ansi80x30|freebsd console (30-line ansi mode),
1705166124Srafan	lines#30, use=cons25,
1706166124Srafancons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
1707166124Srafan	lines#30, use=cons25-m,
1708166124Srafancons43|ansi80x43|freebsd console (43-line ansi mode),
1709166124Srafan	lines#43, use=cons25,
1710166124Srafancons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
1711166124Srafan	lines#43, use=cons25-m,
1712166124Srafancons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
1713166124Srafan	lines#50, use=cons25,
1714166124Srafancons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
1715166124Srafan	lines#50, use=cons25-m,
1716166124Srafancons60|ansi80x60|freebsd console (60-line ansi mode),
1717166124Srafan	lines#60, use=cons25,
1718166124Srafancons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
1719166124Srafan	lines#60, use=cons25-m,
1720166124Srafancons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
1721166124Srafan	acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
1722166124Srafan	use=cons25w,
1723166124Srafancons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
1724166124Srafan	colors@, pairs@,
1725166124Srafan	op@, rmul=\E[m, setab@, setaf@,
1726166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
1727166124Srafan	smul=\E[4m, use=cons25r,
1728166124Srafancons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
1729166124Srafan	lines#50, use=cons25r,
1730166124Srafancons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
1731166124Srafan	lines#50, use=cons25r-m,
1732166124Srafancons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
1733166124Srafan	lines#60, use=cons25r,
1734166124Srafancons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
1735166124Srafan	lines#60, use=cons25r-m,
173650276Speter# ISO 8859-1 FreeBSD console
1737166124Srafancons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
1738166124Srafan	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,
1739166124Srafan	use=cons25w,
1740166124Srafancons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
1741166124Srafan	colors@, pairs@,
1742166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
1743166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
1744166124Srafan	smul=\E[4m, use=cons25l1,
1745166124Srafancons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
1746166124Srafan	lines#50, use=cons25l1,
1747166124Srafancons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
1748166124Srafan	lines#50, use=cons25l1-m,
1749166124Srafancons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
1750166124Srafan	lines#60, use=cons25l1,
1751166124Srafancons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
1752166124Srafan	lines#60, use=cons25l1-m,
175350276Speter
175450276Speter#### 386BSD and BSD/OS Consoles
175550276Speter#
175650276Speter
1757166124Srafan# This was the original 386BSD console entry (I think).
175850276Speter# Some places it's named oldpc3|oldibmpc3.
175950276Speter# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1760166124Srafanorigpc3|origibmpc3|IBM PC 386BSD Console,
1761166124Srafan	OTbs, am, bw, eo, xon,
1762166124Srafan	cols#80, lines#25,
1763166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1764166124Srafan	bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1765166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1766166124Srafan	home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1767166124Srafan	kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
1768166124Srafan	rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
1769166124Srafan	smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
177050276Speter
177150276Speter# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1772166124Srafanoldpc3|oldibmpc3|old IBM PC BSD/386 Console,
1773166124Srafan	OTbs, km,
1774166124Srafan	lines#25,
1775166124Srafan	bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
1776166124Srafan	ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
1777166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
1778166124Srafan	knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
177950276Speter
178050276Speter# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
178150276Speter# Note, the emulator supports many of the additional console features
178250276Speter# listed in the iBCS2 (e.g. character-set selection) though not all
178350276Speter# are described here.  This entry really ought to be upgraded.
178450276Speter# Also note, the console will also work with fewer lines after doing
178550276Speter# "stty rows NN", e.g. to use 24 lines.
1786166124Srafan# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
178750276Speter# Bug: The <op> capability resets attributes.
1788166124Srafanbsdos-pc|IBM PC BSD/OS Console,
1789166124Srafan	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,
1790166124Srafan	use=bsdos-pc-nobold,
179162449Speter
1792166124Srafanbsdos-pc-nobold|BSD/OS PC console w/o bold,
1793166124Srafan	use=klone+color, use=bsdos-pc-m,
179462449Speter
1795166124Srafanbsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono,
1796166124Srafan	OTbs, am, eo, km, xon,
1797166124Srafan	cols#80, it#8, lines#25,
1798166124Srafan	bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
1799166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1800166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1801166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1802166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1803166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
1804166124Srafan	kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
1805166124Srafan	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%;,
1806166124Srafan	use=klone+sgr8,
180750276Speter
1808166124Srafan# Old names for BSD/OS PC console used in releases before 4.1.
1809166124Srafanpc3|BSD/OS on the PC Console,
1810166124Srafan	use=bsdos-pc-nobold,
1811166124Srafanibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
1812166124Srafan	use=bsdos-pc,
181350276Speter
1814166124Srafan# BSD/OS on the SPARC
1815166124Srafanbsdos-sparc|Sun SPARC BSD/OS Console,
1816166124Srafan	use=sun,
1817166124Srafan
1818166124Srafan# BSD/OS on the PowerPC
1819166124Srafanbsdos-ppc|PowerPC BSD/OS Console,
1820166124Srafan	use=bsdos-pc,
1821166124Srafan
182262449Speter#### DEC VT52
182362449Speter# (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1824166124Srafan#
1825166124Srafan# Actually (TD pointed this out at the time the acsc string was added):
1826166124Srafan# vt52 shouldn't define full acsc since most of the cells don't match.
1827166124Srafan# see vt100 manual page A-31.  This is the list that does match:
1828166124Srafan#	f degree
1829166124Srafan#	g plus/minus
1830166124Srafan#	h right-arrow
1831166124Srafan#	k down-arrow
1832166124Srafan#	m scan-1
1833166124Srafan#	o scan-3
1834166124Srafan#	q scan-5
1835166124Srafan#	s scan-7
1836166124Srafan# The line-drawing happens to work in several terminal emulators, but should
1837166124Srafan# not be used as a guide to the capabilities of the vt52.  Note in particular
1838166124Srafan# that vt52 does not support line-drawing characters (the scan-X values refer
1839166124Srafan# to a crude plotting feature) -TD
1840166124Srafanvt52|dec vt52,
1841166124Srafan	OTbs,
1842166124Srafan	cols#80, it#8, lines#24,
1843166124Srafan	acsc=ffgghhompoqqss.k, bel=^G, clear=\EH\EJ, cr=^M,
1844166124Srafan	cub1=\ED, cud1=\EB, cuf1=\EC,
1845166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
1846166124Srafan	el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
1847166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
184862449Speter
184950276Speter#### DEC VT100 and compatibles
185050276Speter#
185162449Speter# DEC terminals from the vt100 forward are collected here. Older DEC terminals
185262449Speter# and micro consoles can be found in the `obsolete' section.  More details on
185350276Speter# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
185450276Speter# found near the end of this file.
185550276Speter#
185650276Speter# Except where noted, these entries are DEC's official terminfos.
185750276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1858166124Srafan# Engineering for more information.  Updated terminfos and termcaps
185950276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
186050276Speter#
186150276Speter# In October 1995 DEC sold its terminals business, including the VT and Dorio
186250276Speter# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
186350276Speter# its name to Boundless Technologies; see http://www.boundless.com.
186450276Speter#
186550276Speter
186650276Speter# NOTE:  Any VT100 emulation, whether in hardware or software, almost
186750276Speter# certainly includes what DEC called the `Level 1 editing extension' codes;
186850276Speter# only the very oldest VT100s lacked these and there probably aren't any of
186950276Speter# those left alive.  To capture these, use one of the VT102 entries.
187050276Speter#
187150276Speter# Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
187250276Speter# since the cursor is left in a different position while in the
187350276Speter# weird state (concept at beginning of next line, vt100 at end
187450276Speter# of this line) so all versions of vi before 3.7 don't handle
187550276Speter# <xenl> right on vt100. The correct way to handle <xenl> is when
187650276Speter# you output the char in column 80, immediately output CR LF
187750276Speter# and then assume you are in column 1 of the next line. If <xenl>
187850276Speter# is on, am should be on too.
1879166124Srafan#
188050276Speter# I assume you have smooth scroll off or are at a slow enough baud
188150276Speter# rate that it doesn't matter (1200? or less). Also this assumes
1882166124Srafan# that you set auto-nl to "on", if you set it off use vt100-nam
188350276Speter# below.
1884166124Srafan#
188550276Speter# The padding requirements listed here are guesses. It is strongly
188650276Speter# recommended that xon/xoff be enabled, as this is assumed here.
1887166124Srafan#
1888166124Srafan# The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
1889166124Srafan# tab settings are in non-volatile memory and don't need to be
1890166124Srafan# reset upon login. Also setting the number of columns glitches
189150276Speter# the screen annoyingly. You can type "reset" to get them set.
189250276Speter#
189362449Speter# The VT100 series terminals have cursor ("arrows") keys which can operate
189462449Speter# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
189562449Speter# is the reset state, and is assumed to be the normal state.  Application
189662449Speter# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
189762449Speter# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
189862449Speter# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
189962449Speter# was provided primarily as an aid to the porting of VT52 applications.  It is
190062449Speter# assumed that the cursor keys are normally in Cursor Mode, and expected that
190162449Speter# applications such as vi will always transmit the <smkx> string.  Therefore,
190262449Speter# the definitions for the cursor keys are made to match what the terminal
190362449Speter# transmits after the <smkx> string is transmitted.  If the <smkx> string
190462449Speter# is a null string or is not defined, then cursor keys are assumed to be in
190562449Speter# "Cursor Mode", and the cursor keys definitions should match that assumption,
190662449Speter# else the application may fail.  It is also expected that applications will
190762449Speter# always transmit the <rmkx> string to the terminal before they exit.
190862449Speter#
190962449Speter# The VT100 series terminals have an auxiliary keypad, commonly referred to as
191062449Speter# the "Numeric Keypad", because it is a cluster of numeric and function keys.
191162449Speter# The Numeric Keypad which can operate in two different modes: Numeric Mode and
191262449Speter# Application Mode.  Numeric Mode is the reset state, and is assumed to be
191362449Speter# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1914166124Srafan# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
191562449Speter# Enter key transmits the same as the Return key (Note: the Return key
191662449Speter# can be configured to send either LF (\015) or CR LF).  In Application Mode,
191762449Speter# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
191862449Speter# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
191962449Speter# is normally in Numeric Mode.  If an application requires that the keypad be
192062449Speter# in Application Mode then it is expected that the user, or the application,
192162449Speter# will set the TERM environment variable to point to a terminfo entry which has
192262449Speter# defined the <smkx> string to include the codes that switch the keypad into
192362449Speter# Application Mode, and the terminfo entry will also define function key
192462449Speter# fields to match the Application Mode control codes.  If the <smkx> string
192562449Speter# is a null string or is not defined, then the keypad is assumed to be in
192662449Speter# Numeric Mode.  If the <smkx> string switches the keypad into Application
192762449Speter# Mode, it is expected that the <rmkx> string will contain the control codes
192862449Speter# necessary to reset the keypad to "Normal" mode, and it is also expected that
192962449Speter# applications which transmit the <smkx> string will also always transmit the
193062449Speter# <rmkx> string to the terminal before they exit.
193162449Speter#
193250276Speter# Here's a diagram of the VT100 keypad keys with their bindings.
193350276Speter# The top line is the name of the key (some DEC keyboards have the keys
193450276Speter# labelled somewhat differently, like GOLD instead of PF1, but this is
193550276Speter# the most "official" name).  The second line is the escape sequence it
193650276Speter# generates in Application Keypad mode (where "$" means the ESC
193750276Speter# character).  The third line contains two items, first the mapping of
193850276Speter# the key in terminfo, and then in termcap.
193950276Speter#   _______________________________________
194050276Speter#  |   PF1   |   PF2   |   PF3   |   PF4   |
194150276Speter#  |   $OP   |   $OQ   |   $OR   |   $OS   |
194250276Speter#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
194350276Speter#  |    7         8         9         -    |
194450276Speter#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
194550276Speter#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
194650276Speter#  |    4    |    5    |    6    |    ,    |
194750276Speter#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
194850276Speter#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
194950276Speter#  |    1    |    2    |    3    |         |
195050276Speter#  |   $Oq   |   $Or   |   $Os   |  enter  |
195150276Speter#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
195250276Speter#  |         0         |   .     |         |
195350276Speter#  |        $Op        |  $On    |         |
195450276Speter#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
195550276Speter#
1956166124Srafan# Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
1957166124Srafan# terminfo guidelines.  That is a compromise used to assign the remaining
1958166124Srafan# keys on the keypad to kf5-kf0, used on older systems with legacy termcap
1959166124Srafan# support:
1960166124Srafanvt100+keypad|dec vt100 numeric keypad no fkeys,
1961166124Srafan	ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn,
1962166124Srafanvt100+pfkeys|dec vt100 numeric keypad,
1963166124Srafan	kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
1964166124Srafan	use=vt100+keypad,
1965166124Srafanvt100+fnkeys|dec vt100 numeric keypad,
1966166124Srafan	kf0=\EOy, kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
1967166124Srafan	kf9=\EOw, use=vt100+pfkeys,
1968166124Srafan#
1969166124Srafan# A better adaptation to modern keyboards such as the PC's, which have a dozen
1970166124Srafan# function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
1971166124Srafan# use the 5-key arrangement to model the arrow keys as suggested in the
1972166124Srafan# terminfo guidelines:
1973166124Srafan#   _______________________________________
1974166124Srafan#  |   PF1   |   PF2   |   PF3   |   PF4   |
1975166124Srafan#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1976166124Srafan#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1977166124Srafan#  |    7         8         9         -    |
1978166124Srafan#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1979166124Srafan#  |_ka1__K1_|_________|_ka3__K3_|_________|
1980166124Srafan#  |    4    |    5    |    6    |    ,    |
1981166124Srafan#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1982166124Srafan#  |_________|_kb2__K2_|_________|_________|
1983166124Srafan#  |    1    |    2    |    3    |         |
1984166124Srafan#  |   $Oq   |   $Or   |   $Os   |  enter  |
1985166124Srafan#  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
1986166124Srafan#  |         0         |   .     |         |
1987166124Srafan#  |        $Op        |  $On    |         |
1988166124Srafan#  |___________________|_________|_kent_@8_|
1989166124Srafan#
1990166124Srafanvt220+keypad|dec vt220 numeric keypad,
1991166124Srafan	ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kent=\EOM,
1992166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ka2=\EOx, kb1=\EOt,
1993166124Srafan	kb3=\EOv, kc2=\EOr,
1994166124Srafan#
1995166124Srafanvt100+enq|ncurses extension for vt100-style ENQ,
1996166124Srafan	u8=\E[?1;2c, use=ansi+enq,
1997166124Srafanvt102+enq|ncurses extension for vt102-style ENQ,
1998166124Srafan	u8=\E[?6c, use=ansi+enq,
1999166124Srafan#
200050276Speter# And here, for those of you with orphaned VT100s lacking documentation, is
200150276Speter# a description of the soft switches invoked when you do `Set Up'.
2002166124Srafan#
200350276Speter#  Scroll 0-Jump               Shifted 3   0-#
200450276Speter#  |      1-Smooth             |           1-British pound sign
200550276Speter#  | Autorepeat 0-Off          | Wrap Around 0-Off
200650276Speter#  | |          1-On           | |           1-On
200750276Speter#  | | Screen 0-Dark Bkg       | | New Line 0-Off
200850276Speter#  | | |      1-Light Bkg      | | |        1-On
200950276Speter#  | | | Cursor 0-Underline    | | | Interlace 0-Off
201050276Speter#  | | | |      1-Block        | | | |         1-On
201150276Speter#  | | | |                     | | | |
201250276Speter#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
201350276Speter#                | | | |                     | | | |
201450276Speter#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
201550276Speter#                | | |               1-On    | | |       1-50 Hz
201650276Speter#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
201750276Speter#                | |           1-ANSI        | |                1-8 Bits
201850276Speter#                | Keyclick 0-Off            | Parity 0-Off
201950276Speter#                |          1-On             |        1-On
202050276Speter#                Margin Bell 0-Off           Parity Sense 0-Odd
202150276Speter#                            1-On                         1-Even
202250276Speter#
202350276Speter# The following SET-UP modes are assumed for normal operation:
202450276Speter#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
202550276Speter#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
202650276Speter# Other SET-UP modes may be set for operator convenience or communication
202750276Speter# requirements; I recommend
202850276Speter#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
202950276Speter# Unless you have a graphics add-on such as Digital Engineering's VT640
203050276Speter# (and even then, whenever it can be arranged!) you should set
203150276Speter#	INTERLACE_OFF
203250276Speter#
203350276Speter# (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
2034166124Srafanvt100|vt100-am|dec vt100 (w/advanced video),
2035166124Srafan	OTbs, am, mc5i, msgr, xenl, xon,
2036166124Srafan	cols#80, it#8, lines#24, vt#3,
2037166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2038166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2039166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2040166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2041166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
2042166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
2043166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
2044166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
2045166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, lf1=pf1,
2046166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
2047166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
2048166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
2049166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2050166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
2051166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
2052166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
2053166124Srafan	use=vt100+fnkeys,
2054166124Srafanvt100nam|vt100-nam|vt100 no automargins,
2055166124Srafan	am@, xenl@, use=vt100-am,
2056166124Srafanvt100-vb|dec vt100 (w/advanced video) & no beep,
2057166124Srafan	bel@, flash=\E[?5h\E[?5l, use=vt100,
205850276Speter
205950276Speter# Ordinary vt100 in 132 column ("wide") mode.
2060166124Srafanvt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
2061166124Srafan	cols#132, lines#24,
2062166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
2063166124Srafanvt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
2064166124Srafan	cols#132, lines#14, vt@,
2065166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
206650276Speter
206750276Speter# vt100 with no advanced video.
2068166124Srafanvt100-nav|vt100 without advanced video option,
2069166124Srafan	xmc#1,
2070166124Srafan	blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
2071166124Srafan	smul@, use=vt100,
2072166124Srafanvt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
2073166124Srafan	cols#132, lines#14, use=vt100-nav,
207450276Speter
207550276Speter# vt100 with one of the 24 lines used as a status line.
207650276Speter# We put the status line on the top.
2077166124Srafanvt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
2078166124Srafan	eslok, hs,
2079166124Srafan	lines#23,
2080166124Srafan	clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
2081166124Srafan	cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
2082166124Srafan	fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
2083166124Srafan	tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
208450276Speter
2085166124Srafan# Status line at bottom.
208650276Speter# Clearing the screen will clobber status line.
2087166124Srafanvt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
2088166124Srafan	eslok, hs,
2089166124Srafan	lines#23,
2090166124Srafan	dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
2091166124Srafan	tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am,
209250276Speter
209350276Speter# Most of the `vt100' emulators out there actually emulate a vt102
209450276Speter# This entry (or vt102-nsgr) is probably the right thing to use for
2095166124Srafan# these.
2096166124Srafanvt102|dec vt102,
2097166124Srafan	dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
2098166124Srafan	use=vt100,
2099166124Srafanvt102-w|dec vt102 in wide mode,
2100166124Srafan	cols#132,
2101166124Srafan	rs3=\E[?3h, use=vt102,
210250276Speter
210350276Speter# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
210450276Speter# fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
210550276Speter# string in the canonical vt100 entry above leaves the screen littered
210650276Speter# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
210750276Speter# after highlight turnoffs.  This entry should fix that, and even leave
2108166124Srafan# ACS support working, at the cost of making multiple-highlight changes
210950276Speter# slightly more expensive.
211050276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
2111166124Srafanvt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
2112166124Srafan	sgr@, sgr0=\E[m, use=vt102,
211350276Speter
211450276Speter# VT125 Graphics CRT.  Clear screen also erases graphics
2115166124Srafan# Some vt125's came configured with vt102 support.
2116166124Srafanvt125|vt125 graphics terminal,
2117166124Srafan	mir,
2118166124Srafan	clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
211950276Speter
212050276Speter# This isn't a DEC entry, it came from University of Wisconsin.
212150276Speter# (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
2122166124Srafanvt131|dec vt131,
2123166124Srafan	OTbs, am, xenl,
2124166124Srafan	cols#80, it#8, lines#24, vt#3,
2125166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
2126166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2127166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
2128166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
2129166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
2130166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
2131166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
2132166124Srafan	kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
2133166124Srafan	rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
2134166124Srafan	rmul=\E[m$<2/>,
2135166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2136166124Srafan	sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
2137166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
213850276Speter
213950276Speter# vt132 - like vt100 but slower and has ins/del line and such.
214050276Speter# I'm told that <smir>/<rmir> are backwards in the terminal from the
2141166124Srafan# manual and from the ANSI standard, this describes the actual
2142166124Srafan# terminal. I've never actually used a vt132 myself, so this
214350276Speter# is untested.
214450276Speter#
2145166124Srafanvt132|DEC vt132,
2146166124Srafan	xenl,
2147166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
2148166124Srafan	ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100,
214950276Speter
215050276Speter# This vt220 description maps F5--F9 to the second block of function keys
215150276Speter# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
215250276Speter# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
215350276Speter# PF1--PF4 are used as F1--F4.
215450276Speter#
2155166124Srafanvt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
2156166124Srafan	OTbs, OTpt, am, mir, xenl, xon,
2157166124Srafan	cols#80, lines#24, vt#3,
2158166124Srafan	OTnl=^J,
2159166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2160166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
2161166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
2162166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
2163166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2164166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2165166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
2166166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
2167166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
2168166124Srafan	kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
2169166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
2170166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
2171166124Srafan	rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
2172166124Srafan	ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2173166124Srafan	rmso=\E[27m, rmul=\E[24m,
2174166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2175166124Srafan	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>,
2176166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2177166124Srafan	smso=\E[7m, smul=\E[4m,
217850276Speter
217962449Speter# A much better description of the VT200/220; used to be vt220-8
218062449Speter# changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
218162449Speter# designation to accommodate bug in pcvt -TD
2182166124Srafanvt220|vt200|dec vt220,
2183166124Srafan	OTbs, am, mc5i, mir, msgr, xenl, xon,
2184166124Srafan	cols#80, it#8, lines#24, vt#3,
2185166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2186166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
2187166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2188166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2189166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2190166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2191166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
2192166124Srafan	flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
2193166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
2194166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
2195166124Srafan	is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
2196166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
2197166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2198166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
2199166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
2200166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
2201166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
2202166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, mc4=\E[4i,
2203166124Srafan	mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
2204166124Srafan	rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
2205166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7,
2206166124Srafan	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>,
2207166124Srafan	sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2208166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2209166124Srafanvt220-w|vt200-w|DEC vt220 in wide mode,
2210166124Srafan	cols#132,
2211166124Srafan	rs3=\E[?3h, use=vt220,
2212166124Srafanvt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode,
2213166124Srafan	OTbs, am, mc5i, mir, msgr, xenl, xon,
2214166124Srafan	cols#80, it#8, lines#24, vt#3,
2215166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2216166124Srafan	bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M,
2217166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
2218166124Srafan	cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
2219166124Srafan	cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
2220166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
2221166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0,
2222166124Srafan	flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,
2223166124Srafan	ich=\233%p1%d@, if=/usr/share/tabset/vt100,
2224166124Srafan	il=\233%p1%dL, il1=\233L, ind=\ED,
2225166124Srafan	is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H,
2226166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
2227166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
2228166124Srafan	kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,
2229166124Srafan	kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS,
2230166124Srafan	kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~,
2231166124Srafan	kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,
2232166124Srafan	knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,
2233166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,
2234166124Srafan	nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=\E(B,
2235166124Srafan	rmam=\233?7l, rmir=\2334l, rmso=\23327m, rmul=\23324m,
2236166124Srafan	rs1=\233?3l, sc=\E7,
2237166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
2238166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h, smir=\2334h,
2239166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g,
224050276Speter
224162449Speter# vt220d:
224262449Speter# This vt220 description regards F6--F10 as the second block of function keys
224362449Speter# at the top of the keyboard.  This mapping follows the description given
224462449Speter# in the VT220 Programmer Reference Manual and agrees with the labeling
224562449Speter# on some terminals that emulate the vt220.  There is no support for an F5.
2246166124Srafan# See vt220 for an alternate mapping.
224762449Speter#
2248166124Srafanvt220d|DEC VT220 in vt100 mode with DEC function key labeling,
2249166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
2250166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
2251166124Srafan	kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
2252166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old,
225362449Speter
2254166124Srafanvt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
2255166124Srafan	am@,
2256166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
225762449Speter
225850276Speter# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
225950276Speter# (not an official DEC entry!)
226050276Speter# The problem with real vt220 terminals is they don't send escapes when in
226150276Speter# in vt220 mode.  This can be gotten around two ways.  1> don't send
226250276Speter# escapes or 2> put the vt220 into vt100 mode and use all the nifty
226350276Speter# features of vt100 advanced video which it then has.
226450276Speter#
226550276Speter# This entry takes the view of putting a vt220 into vt100 mode so
226650276Speter# you can use the escape key in emacs and everything else which needs it.
226750276Speter#
226850276Speter# You probably don't want to use this on a VMS machine since VMS will think
226950276Speter# it has a vt220 and will get fouled up coming out of emacs
227050276Speter#
227150276Speter# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
227262449Speter# (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
2273166124Srafanvt200-js|vt220-js|dec vt200 series with jump scroll,
2274166124Srafan	am,
2275166124Srafan	cols#80,
2276166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2277166124Srafan	cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
2278166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
2279166124Srafan	il1=\E[L, ind=\ED,
2280166124Srafan	is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
2281166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2282166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,
2283166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
2284166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
2285166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,
2286166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
2287166124Srafan
2288166124Srafan# This was DEC's vt320.  Use the purpose-built one below instead
228950276Speter#vt320|DEC VT320 in vt100 emulation mode,
229050276Speter#	use=vt220,
229150276Speter
229250276Speter# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
229350276Speter#
2294166124Srafanvt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
2295166124Srafan	am@,
2296166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
229750276Speter
2298166124Srafan# These entries are not DEC's official ones, they were purpose-built for the
229950276Speter# VT320.  Here are the designer's notes:
2300166124Srafan# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
230150276Speter# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
230250276Speter# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
230350276Speter# Things that use <knxt> usually use tab anyways... and things that don't use
230450276Speter# tab usually use <knxt> instead...
230550276Speter# kprv is same as tab - Backtab is useless...
230650276Speter# I left out <sgr> because of its RIDICULOUS complexity,
230750276Speter# and the resulting fact that it causes the termcap translation of the entry
230850276Speter# to SMASH the 1k-barrier...
230962449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2310166124Srafan# (vt320: uncommented <fsl> --esr)
2311166124Srafanvt320|vt300|dec vt320 7 bit terminal,
2312166124Srafan	am, eslok, hs, mir, msgr, xenl,
2313166124Srafan	cols#80, lines#24, wsl#80,
2314166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2315166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2316166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2317166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2318166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2319166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2320166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2321166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
2322166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
2323166124Srafan	il1=\E[L, ind=\ED,
2324166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2325166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2326166124Srafan	kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~,
2327166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2328166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2329166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2330166124Srafan	kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I,
2331166124Srafan	kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i,
2332166124Srafan	mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m,
2333166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2334166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
2335166124Srafan	rmul=\E[m,
2336166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2337166124Srafan	sc=\E7,
2338166124Srafan	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>,
2339166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2340166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2341166124Srafan	tsl=\E[1$}\E[H\E[K, use=vt220+keypad,
2342166124Srafanvt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
2343166124Srafan	am@,
2344166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2345166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2346166124Srafan	use=vt320,
234750276Speter# We have to init 132-col mode, not 80-col mode.
2348166124Srafanvt320-w|vt300-w|dec vt320 wide 7 bit terminal,
2349166124Srafan	cols#132, wsl#132,
2350166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2351166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2352166124Srafan	use=vt320,
2353166124Srafanvt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
2354166124Srafan	am@,
2355166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2356166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2357166124Srafan	use=vt320-w,
235850276Speter
235950276Speter# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
236050276Speter#   which are pretty much a superset of the VT320.  They have the
236150276Speter#   host writable status line, yet another different DRCS matrix size,
236250276Speter#   and such, but they add the DEC Technical character set, Multiple text
236350276Speter#   pages, selectable length pages, and the like.  The difference between
236450276Speter#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
236550276Speter#   monitor, the former has 4 planes and a color monitor.  These terminals
236650276Speter#   support VT131 and ANSI block mode, but as with much of these things,
236750276Speter#   termcap/terminfo doesn't deal with these features.
236850276Speter#
236950276Speter# Note that this entry is are set up in what was the standard way for GNU
237050276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
237150276Speter# keys were switched into application mode at the same time the numeric pad
237250276Speter# is switched into application mode.  This changes the definitions of the
2373166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
237450276Speter# your termcap or terminfo entry,
237550276Speter#
237650276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
237750276Speter# (vt340: string capability "sb=\E[M" corrected to "sr";
237850276Speter# also, added <rmam>/<smam> based on the init string -- esr)
2379166124Srafanvt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
2380166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
2381166124Srafan	cols#80, it#8, lines#24, vt#3,
2382166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2383166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
2384166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2385166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2386166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2387166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
2388166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$},
2389166124Srafan	ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
2390166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
2391166124Srafan	il1=\E[L, ind=\ED,
2392166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2393166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2394166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
2395166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
2396166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
2397166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2398166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
2399166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7,
2400166124Srafan	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>,
2401166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2402166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2403166124Srafan	tsl=\E[2$~\E[1$}\E[1;%dH,
240450276Speter
240550276Speter# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
240650276Speter# (originally written with vt420 as its primary name, and usable for it).
2407166124Srafan#
2408166124Srafan# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
240950276Speter#    text pages and long text pages with selectable length of the vt340, along
241050276Speter#    with left and right margins, rectangular area text copy, fill, and erase
241150276Speter#    operations, selected region character attribute change operations,
241250276Speter#    page memory and rectangle checksums, insert/delete column, reception
241350276Speter#    macros, and other features too numerous to remember right now.  TERMCAP
241450276Speter#    can only take advantage of a few of these added features.
241550276Speter#
241650276Speter# Note that this entry is are set up in what was the standard way for GNU
241750276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
241850276Speter# keys were switched into application mode at the same time the numeric pad
241950276Speter# is switched into application mode.  This changes the definitions of the
2420166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
242150276Speter# your termcap entry,
242250276Speter#
242350276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
242450276Speter# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
242550276Speter# also, added <rmam>/<smam> based on the init string -- esr)
2426166124Srafanvt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
2427166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
2428166124Srafan	cols#80, it#8, lines#24, vt#3,
2429166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2430166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2431166124Srafan	clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
2432166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2433166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2434166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2435166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2436166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
2437166124Srafan	el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
2438166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2439166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
2440166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2441166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2442166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
2443166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
2444166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
2445166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2446166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
2447166124Srafan	rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7,
2448166124Srafan	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>,
2449166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2450166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2451166124Srafan	tsl=\E[2$~\E[1$}\E[1;%dH,
245250276Speter
245350276Speter# (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
245450276Speter# a missing <sc> -- esr)
2455166124Srafanvt420|DEC VT420,
2456166124Srafan	am, mir, xenl, xon,
2457166124Srafan	cols#80, lines#24, vt#3,
2458166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2459166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2460166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2461166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2462166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2463166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2464166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2465166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2466166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2467166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2468166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2469166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2470166124Srafan	kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
2471166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
2472166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
2473166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2474166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2475166124Srafan	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>,
2476166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2477166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
247850276Speter
247950276Speter# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
248050276Speter# takes two parameters, the key and the string.  Translating the key is
248150276Speter# straightforward (keys 1-5 are not defined on real terminals, though some
248250276Speter# emulators define these):
248350276Speter#
248450276Speter#               if (key < 16) then  value = key;
2485166124Srafan#               else if (key < 21) then value = key + 1;
248650276Speter#               else if (key < 25) then value = key + 2;
248750276Speter#               else if (key < 27) then value = key + 3;
248850276Speter#               else if (key < 30) then value = key + 4;
248950276Speter#               else value = key + 5;
249050276Speter#
2491166124Srafan# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
249250276Speter# There's no provision in terminfo for emitting a string in this format, so the
249350276Speter# application has to know it.
249450276Speter#
2495166124Srafanvt420pc|DEC VT420 w/PC keyboard,
2496166124Srafan	kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
2497166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
2498166124Srafan	kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
2499166124Srafan	kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
2500166124Srafan	kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
2501166124Srafan	kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
2502166124Srafan	kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
2503166124Srafan	kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
2504166124Srafan	kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
2505166124Srafan	kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
2506166124Srafan	kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
2507166124Srafan	kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
2508166124Srafan	kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2509166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H,
2510166124Srafan	pctrm=USR_TERM\:vt420pcdos\:,
2511166124Srafan	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\\,
2512166124Srafan	use=vt420,
251350276Speter
2514166124Srafanvt420pcdos|DEC VT420 w/PC for DOS Merge,
2515166124Srafan	lines#25,
2516166124Srafan	dispc=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;,
2517166124Srafan	pctrm@,
2518166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
2519166124Srafan	sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc,
252050276Speter
2521166124Srafanvt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
2522166124Srafan	kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2523166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2524166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2525166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2526166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2527166124Srafan	khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
2528166124Srafan	use=vt420,
252950276Speter
2530166124Srafanvt510|DEC VT510,
2531166124Srafan	use=vt420,
2532166124Srafanvt510pc|DEC VT510 w/PC keyboard,
2533166124Srafan	use=vt420pc,
2534166124Srafanvt510pcdos|DEC VT510 w/PC for DOS Merge,
2535166124Srafan	use=vt420pcdos,
253650276Speter
253750276Speter# VT520/VT525
253850276Speter#
253950276Speter# The VT520 is a monochrome text terminal capable of managing up to
254050276Speter# four independent sessions in the terminal.  It has multiple ANSI
254150276Speter# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
254250276Speter# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
254350276Speter# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
254450276Speter#
254550276Speter# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
254650276Speter# [Alt]/[Print Screen] depending upon which keyboard and which
254750276Speter# terminal mode is being used.  If Set-Up has been disabled or
254850276Speter# assigned to an unknown key, Set-Up may be entered by pressing
254950276Speter# [F3] as the first key after power up, regardless of keyboard type.
255050276Speter# (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
2551166124Srafanvt520|DEC VT520,
2552166124Srafan	am, mir, xenl, xon,
2553166124Srafan	cols#80, lines#24, vt#3,
2554166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2555166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2556166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2557166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2558166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2559166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2560166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2561166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2562166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2563166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2564166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2565166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2566166124Srafan	kslt=\E[4~,
2567166124Srafan	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\\,
2568166124Srafan	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2569166124Srafan	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2570166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2571166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2572166124Srafan	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>,
2573166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2574166124Srafan	smso=\E[7m, smul=\E[4m,
257550276Speter
257650276Speter# (vt525: I added <rmam>/<smam> based on the init string;
257750276Speter# removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2578166124Srafanvt525|DEC VT525,
2579166124Srafan	am, mir, xenl, xon,
2580166124Srafan	cols#80, lines#24, vt#3,
2581166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2582166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2583166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2584166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2585166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2586166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2587166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2588166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2589166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2590166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2591166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2592166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2593166124Srafan	kslt=\E[4~,
2594166124Srafan	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\\,
2595166124Srafan	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2596166124Srafan	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2597166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2598166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2599166124Srafan	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>,
2600166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2601166124Srafan	smso=\E[7m, smul=\E[4m,
260250276Speter
260350276Speter#### VT100 emulations
260450276Speter#
260550276Speter
260650276Speter# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
260750276Speter# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
260850276Speter# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
260950276Speter# that this works best with a stock vt100 entry.
2610166124Srafandec-vt100|EWAN telnet's vt100 emulation,
2611166124Srafan	use=vt100,
261250276Speter
261350276Speter# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2614166124Srafandec-vt220|DOS tnvt200 terminal emulator,
2615166124Srafan	am@, use=vt220,
261650276Speter
261750276Speter# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
261850276Speter# anyone who needs PC VT340 emulation. (or anything below that level, for
261950276Speter# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
262050276Speter# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
262150276Speter# I can send the address if requested.
262250276Speter# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
262362449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2624166124Srafanz340|zstem vt340 terminal emulator 132col 42line,
2625166124Srafan	lines#42,
2626166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2627166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2628166124Srafan	use=vt320-w,
2629166124Srafanz340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
2630166124Srafan	am@,
2631166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2632166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2633166124Srafan	use=z340,
263450276Speter
263550276Speter# CRT is shareware.  It implements some xterm features, including mouse.
2636166124Srafancrt|crt-vt220|CRT 2.3 emulating VT220,
2637166124Srafan	bce, msgr,
2638166124Srafan	ncv@,
2639166124Srafan	hts=\EH, use=vt100+enq, use=vt220, use=ecma+color,
264050276Speter
2641166124Srafan# PuTTY 0.55 (released 3 August 2004)
264297049Speter# http://www.chiark.greenend.org.uk/~sgtatham/putty/
264397049Speter#
2644166124Srafan# Comparing with 0.51, vttest is much better (only a few problems with the
2645166124Srafan# cursor position reports and wrapping).
2646166124Srafan#
2647166124Srafan# PuTTY 0.51 (released 14 December 2000)
2648166124Srafan#
264997049Speter# This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
265097049Speter# well as SCO and Atari, color palettes from Linux console).  Reading the code,
2651166124Srafan# it is intended to be VT102 plus selected features.  By default, it sets $TERM
265297049Speter# to xterm, which is incorrect, since several features are misimplemented:
265397049Speter#
265497049Speter#	Alt+key always sends ESC+key, so 'km' capability is removed.
265597049Speter#
265697049Speter#	Control responses, wrapping and tabs are buggy, failing a couple of
265797049Speter#	screens in vttest.
265897049Speter#
265997049Speter#	xterm mouse support is not implemented (unrelease version may).
266097049Speter#
266197049Speter# Several features such as backspace/delete are optional; this entry documents
266297049Speter# the default behavior -TD
266397049Speter
2664166124Srafanputty|PuTTY terminal emulator,
2665166124Srafan	am, bce, bw, ccc, hs, mir, msgr, xenl, xon,
2666166124Srafan	colors#8, it#8, ncv#22, pairs#64,
2667166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2668166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2669166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
2670166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2671166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
2672166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
2673166124Srafan	dch=\E[%p1%dP, dch1=\E[P,
2674166124Srafan	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%;,
2675166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E]0;\007, ech=\E[%p1%dX,
2676166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2677166124Srafan	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, hpa=\E[%i%p1%dG,
2678166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
2679166124Srafan	indn=\E[%p1%dS,
2680166124Srafan	initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
2681166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
2682166124Srafan	kb2=\E[G, kbs=\177, kcan=^C, kcbt=\E[Z, kcub1=\E[D,
2683166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
2684166124Srafan	kend=\E[4~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2685166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2686166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2687166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2688166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2689166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
2690166124Srafan	kspd=^Z, nel=^M^J, oc=\E]R, op=\E[39;49m, rc=\E8, rev=\E[7m,
2691166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l,
2692166124Srafan	rmcup=\E[2J\E[?47l, rmir=\E[4l, rmpch=\E[10m,
2693166124Srafan	rmso=\E[27m, rmul=\E[24m,
2694166124Srafan	rs2=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l,
2695166124Srafan	s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, sc=\E7,
2696166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2697166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2698166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?47h,
2699166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
2700166124Srafan	tbc=\E[3g, tsl=\E]0;, vpa=\E[%i%p1%dd, use=vt102+enq,
2701166124Srafanvt100-putty|Reset PuTTY to pure vt100,
2702166124Srafan	rs2=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p,
2703166124Srafan	use=vt100,
2704174993Srafan# palette is hardcoded...
2705166124Srafanputty-256color|PuTTY 0.58 with xterm 256-colors,
2706174993Srafan	initc@, use=xterm+256color, use=putty,
2707166124Srafan
2708166124Srafan# One of the keyboard selections is "VT100+".
2709166124Srafan# pterm (the X11 port) uses shifted F1-F10 as F11-F20
2710166124Srafanputty-vt100|VT100+ keyboard layout,
2711166124Srafan	kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EO[, kf2=\EOQ,
2712166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
2713166124Srafan	kf9=\EOX, use=putty,
2714166124Srafan
271550276Speter# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
271650276Speter# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
271750276Speter# (communication program) which supports:
271850276Speter#
271950276Speter#	- Serial port connections.
272050276Speter#	- TCP/IP (telnet) connections.
272150276Speter#	- VT100 emulation, and selected VT200/300 emulation.
272250276Speter#	- TEK4010 emulation.
272350276Speter#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
272450276Speter#	  Quick-VAN).
272550276Speter#	- Scripts using the "Tera Term Language".
272650276Speter#	- Japanese and Russian character sets.
272750276Speter#
272850276Speter# The program does not come with terminfo or termcap entries.  However, the
272950276Speter# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
273050276Speter# vt52 or doublesize character support; blinking is done with color).  Besides
273150276Speter# the HPA, VPA extensions it also implements CPL and CNL.
273250276Speter#
273350276Speter# All of the function keys can be remapped.  This description shows the default
273450276Speter# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
273550276Speter# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
273650276Speter# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
273750276Speter#	kfnd	Insert
273850276Speter#	kslt	Delete
273950276Speter#	kich1	Home
274050276Speter#	kdch1	PageUp
274150276Speter#	kpp	End
274250276Speter#	knp	PageDown
274350276Speter#
274450276Speter# ANSI colors are implemented, but cannot be combined with video attributes
274550276Speter# except for reverse.
274650276Speter#
274750276Speter# No fonts are supplied with the program, so the acsc string is chosen to
274850276Speter# correspond with the default Microsoft terminal font.
274950276Speter#
275050276Speter# Tera Term recognizes some xterm sequences, including those for setting and
275150276Speter# retrieving the window title, and for setting the window size (i.e., using
275250276Speter# "resize -s"), though it does not pass SIGWINCH to the application if the
275350276Speter# user resizes the window with the mouse.
2754166124Srafanteraterm|Tera Term Pro,
2755166124Srafan	km, xon@,
2756166124Srafan	ncv#43, vt@,
2757166124Srafan	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,
2758166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
2759166124Srafan	cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2760166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2761166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
2762166124Srafan	flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
2763166124Srafan	il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
2764166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
2765166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
2766166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
2767166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2768166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
2769166124Srafan	kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
2770166124Srafan	rmso=\E[27m, rmul=\E[24m, sgr0=\E[0m\017, smso=\E[7m,
2771166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd, use=vt100+enq,
2772166124Srafan	use=klone+color, use=vt100,
277350276Speter
277450276Speter# Tested with WinNT 4.0, the telnet application assumes the screensize is
277550276Speter# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
277697049Speter#
277797049Speter# Other notes:
277897049Speter# a) Fails tack's cup (cursor-addressing) test, though cup works well enough
277997049Speter#    for casual (occasional) use.  Also fails several of the vttest screens,
278097049Speter#    but that is not unusual for vt100 "emulators".
278197049Speter# b) Does not implement vt100 keypad
278297049Speter# c) Recognizes a subset of vt52 controls.
2783166124Srafanms-vt100|MS telnet imitating dec vt100,
2784166124Srafan	lines#25,
2785166124Srafan	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,
2786166124Srafan	ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@,
2787166124Srafan	kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, use=vt102+enq, use=vt100,
278850276Speter
278997049Speter# Tested with Windows 2000, the telnet application runs in a console window,
279097049Speter# also using 'Terminal' font.
279197049Speter#
279297049Speter# Other notes:
279397049Speter# a) This version has no function keys or numeric keypad.  Unlike the older
279497049Speter#    version, the numeric keypad is entirely ignored.
279597049Speter# b) The program sets $TERM to "ansi", which of course is inaccurate.
2796166124Srafanms-vt100-color|vtnt|windows 2000 ansi (sic),
2797166124Srafan	bce,
2798166124Srafan	dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color,
2799166124Srafan	use=ms-vt100,
280097049Speter
2801166124Srafan# Based on comments from Federico Bianchi:
2802166124Srafan#
2803166124Srafan#	vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
2804166124Srafan#	scheme for PF keys.
2805166124Srafan#
2806166124Srafan# and PuTTY wishlist:
2807166124Srafan#
2808166124Srafan#	The modifiers are represented as the codes listed above, prefixed to
2809166124Srafan#	the normal sequences.  If the modifier is pressed alone, its sequence
2810166124Srafan#	is transmitted twice in succession.  If multiple modifiers apply,
2811166124Srafan#	they're transmitted in the order shift, control, alt.
2812166124Srafan#
2813166124Srafan#	Shift	\E^S
2814166124Srafan#	Alt	\E^A,
2815166124Srafan#	Ctrl	\E^C,
2816166124Srafanms-vt100+|vt100+|windows XP vt100+ (sic),
2817166124Srafan	kdch1=\E-, kend=\Ek, kf1=\E1, kf10=\E0, kf11=\E!, kf12=\E@,
2818166124Srafan	kf13=\E\023\E1, kf14=\E\023\E2, kf15=\E\023\E3,
2819166124Srafan	kf16=\E\023\E4, kf17=\E\023\E5, kf18=\E\023\E6,
2820166124Srafan	kf19=\E\023\E7, kf2=\E2, kf20=\E\023\E8, kf21=\E\023\E9,
2821166124Srafan	kf22=\E\023\E0, kf23=\E\023\E!, kf24=\E\023\E@,
2822166124Srafan	kf25=\E\003\E1, kf26=\E\003\E2, kf27=\E\003\E3,
2823166124Srafan	kf28=\E\003\E4, kf29=\E\003\E5, kf3=\E3, kf30=\E\003\E6,
2824166124Srafan	kf31=\E\003\E7, kf32=\E\003\E8, kf33=\E\003\E9,
2825166124Srafan	kf34=\E\003\E0, kf35=\E\003\E!, kf36=\E\003\E@,
2826166124Srafan	kf37=\E\001\E1, kf38=\E\001\E2, kf39=\E\001\E3, kf4=\E4,
2827166124Srafan	kf40=\E\001\E4, kf41=\E\001\E5, kf42=\E\001\E6,
2828166124Srafan	kf43=\E\001\E7, kf44=\E\001\E8, kf45=\E\001\E9,
2829166124Srafan	kf46=\E\001\E0, kf47=\E\001\E!, kf48=\E\001\E@, kf5=\E5,
2830166124Srafan	kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, khome=\Eh, kich1=\E+,
2831166124Srafan	knp=\E/, kpp=\E?, use=ms-vt100-color,
2832166124Srafan
2833166124Srafanms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+,
2834166124Srafan	use=ms-vt100+,
2835166124Srafan
2836166124Srafan# a minimal subset of a vt100 (compare with "news-unk).
2837166124Srafantt|tkterm|Don Libes' tk text widget terminal emulator,
2838166124Srafan	clear=\E[H\E[J, cr=^M, cuf1=\E[C, cup=\E[%p1%d;%p2%dH,
2839166124Srafan	cuu1=\E[A, ind=^J, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
2840166124Srafan	kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, rmso=\E[m,
2841166124Srafan	smso=\E[7m,
2842166124Srafan
284350276Speter#### X terminal emulators
284450276Speter#
284550276Speter# You can add the following line to your .Xdefaults to change the terminal type
284650276Speter# set by the xterms you start up to my-xterm:
284750276Speter#
284850276Speter# *termName:  my-xterm
284950276Speter#
285050276Speter# System administrators can change the default entry for xterm instances
285150276Speter# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
285250276Speter# case, xterm will detect and reject an invalid terminal type, falling back
285350276Speter# to the default of xterm.
285450276Speter#
285550276Speter
285650276Speter# X10/6.6	11/7/86, minus alternate screen, plus (csr)
285750276Speter# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
285850276Speter# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
285950276Speter# as these seem not to work -- esr)
2860166124Srafanx10term|vs100-x10|xterm terminal emulator (X10 window system),
2861166124Srafan	OTbs, am, km, mir, msgr, xenl, xon,
2862166124Srafan	cols#80, it#8, lines#65,
2863166124Srafan	bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
2864166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2865166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2866166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
2867166124Srafan	il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
2868166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
2869166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
2870166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
2871166124Srafan	sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
2872166124Srafan	smso=\E[7m, smul=\E[4m,
2873166124Srafan# Compatible with the R5 xterm
287450276Speter# (from the XFree86 3.2 distribution, <blink=@> removed)
287562449Speter# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
287650276Speter# corrected typos in rs2 string - TD
287762449Speter# added u6-u9 -TD
2878166124Srafanxterm-r5|xterm R5 version,
2879166124Srafan	OTbs, am, km, msgr, xenl,
2880166124Srafan	cols#80, it#8, lines#24,
2881166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2882166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2883166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2884166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2885166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2886166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2887166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
2888166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
2889166124Srafan	kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
2890166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
2891166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2892166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
2893166124Srafan	kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
2894166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
2895166124Srafan	rmul=\E[m,
2896166124Srafan	rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
2897166124Srafan	sc=\E7,
2898166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
2899166124Srafan	sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
2900166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq,
290150276Speter# Compatible with the R6 xterm
290250276Speter# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
290362449Speter# added khome/kend, hts based on the R6 xterm code - TD
290462449Speter# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
290562449Speter# for compatibility with other emulators).
2906166124Srafanxterm-r6|xterm-old|xterm X11R6 version,
2907166124Srafan	OTbs, am, km, mir, msgr, xenl,
2908166124Srafan	cols#80, it#8, lines#24,
2909166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2910166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2911166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2912166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2913166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2914166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2915166124Srafan	el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
2916166124Srafan	il1=\E[L, ind=^J,
2917166124Srafan	is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, kbs=^H,
2918166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2919166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2920166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2921166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2922166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2923166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2924166124Srafan	kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
2925166124Srafan	kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
2926166124Srafan	rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
2927166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
2928166124Srafan	rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, sc=\E7,
2929166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
2930166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2931166124Srafan	use=vt100+enq,
293250276Speter# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
293350276Speter# The name has been changed and some aliases have been removed.
2934166124Srafanxterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
2935166124Srafan	OTbs, am, bce, km, mir, msgr, xenl,
2936166124Srafan	cols#80, it#8, lines#24, ncv@,
2937166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2938166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2939166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2940166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2941166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2942166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2943166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2944166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2945166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
2946166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
2947166124Srafan	il1=\E[L, ind=^J,
2948166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
2949166124Srafan	kbeg=\EOE, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
2950166124Srafan	kcuu1=\EOA, kdch1=\177, kend=\EOF, kf1=\E[11~, kf10=\E[21~,
2951166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2952166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
2953166124Srafan	kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
2954166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2955166124Srafan	kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
2956166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
2957166124Srafan	memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
2958166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
2959166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=^O,
2960166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7,
2961166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2962166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2963166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2964166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
2965166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
2966166124Srafan	tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
2967166124Srafan	use=ecma+color, use=vt220+keypad,
296850276Speter
296950276Speter# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
297050276Speter# codes for F1-F4 except while in VT220 mode.
2971166124Srafanxterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
2972166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32,
297350276Speter
297450276Speter# This version was released in XFree86 3.3.3 (November 1998).
297550276Speter# Besides providing printer support, it exploits a new feature that allows
297650276Speter# xterm to use terminfo-based descriptions with the titeInhibit resource.
297762449Speter# -- the distribution contained incorrect khome/kend values -TD
2978166124Srafanxterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
2979166124Srafan	mc5i,
2980166124Srafan	blink=\E[5m, ich1@, invis=\E[8m,
2981166124Srafan	is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
2982166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
2983166124Srafan	rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
2984166124Srafan	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%;,
2985166124Srafan	smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33,
298650276Speter
298766963Speter# This version was released in XFree86 4.0.
2988166124Srafanxterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
2989166124Srafan	npc,
2990166124Srafan	kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
2991166124Srafan	kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
2992166124Srafan	ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF,
2993166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
2994166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
2995166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
2996166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
2997166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~,
2998166124Srafan	kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
2999166124Srafan	kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P,
3000166124Srafan	kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~,
3001166124Srafan	kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
3002166124Srafan	kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
3003166124Srafan	kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
3004166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3005166124Srafan	smcup=\E[?1049h, use=xterm-xf86-v333,
300650276Speter
3007166124Srafan# This version was released in XFree86 4.3.
3008166124Srafanxterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System),
3009166124Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
3010166124Srafan	kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
3011166124Srafan	kbeg@,
3012166124Srafan	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%;,
3013166124Srafan	use=xterm-xf86-v40,
3014166124Srafan
3015166124Srafan# This version was released in XFree86 4.4.
3016166124Srafanxterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
3017166124Srafan	cnorm=\E[?12l\E[?25h, cvvis=\E[?12;25h, indn=\E[%p1%dS,
3018166124Srafan	rin=\E[%p1%dT, use=xterm-xf86-v43,
3019166124Srafan
3020166124Srafanxterm-xfree86|xterm terminal emulator (XFree86),
3021176187Srafan	use=xterm-xf86-v44,
3022166124Srafan
3023166124Srafan# This version reflects the current xterm features.
3024166124Srafanxterm-new|modern xterm terminal emulator,
3025166124Srafan	npc,
3026166124Srafan	indn=\E[%p1%dS, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
3027174993Srafan	kIC=\E[2;2~, kNXT=\E[6;2~, kPRV=\E[5;2~, kb2=\EOE,
3028174993Srafan	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3029174993Srafan	kend=\EOF, kent=\EOM, khome=\EOH, kich1=\E[2~, kmous=\E[M,
3030174993Srafan	knp=\E[6~, kpp=\E[5~, rin=\E[%p1%dT, use=xterm+pcfkeys,
3031166124Srafan	use=xterm-basic,
303266963Speter#
3033166124Srafan# This fragment describes as much of XFree86 xterm's "pc-style" function
3034166124Srafan# keys as will fit into terminfo's 60 function keys.
3035166124Srafan# From ctlseqs.ms:
3036166124Srafan#    Code     Modifiers
3037166124Srafan#  ---------------------------------
3038166124Srafan#     2       Shift
3039166124Srafan#     3       Alt
3040166124Srafan#     4       Shift + Alt
3041166124Srafan#     5       Control
3042166124Srafan#     6       Shift + Control
3043166124Srafan#     7       Alt + Control
3044166124Srafan#     8       Shift + Alt + Control
3045166124Srafan#  ---------------------------------
3046166124Srafan# The meta key may also be used as a modifier in this scheme, adding another
3047166124Srafan# bit to the parameter.
3048166124Srafanxterm+pcfkeys|fragment for PC-style fkeys,
3049176187Srafan	use=xterm+app, use=xterm+pcf2, use=xterm+pcc2,
3050176187Srafan	use=xterm+pce2,
3051166124Srafan#
3052176187Srafanxterm+noapp|fragment with cursor keys in normal mode,
3053176187Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
3054176187Srafan	khome=\E[H,
3055176187Srafan
3056176187Srafanxterm+app|fragment with cursor keys in application mode,
3057176187Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
3058176187Srafan	khome=\EOH,
3059176187Srafan#
3060166124Srafan# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
3061166124Srafan# and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
3062166124Srafan# the earlier scheme, as noted in the "use=" clauses in this file.
3063166124Srafan#
3064166124Srafan# The original assignments from patch #94 for cursor-keys had some technical
3065166124Srafan# issues:
3066166124Srafan#
3067166124Srafan#	A parameter for a function-key to represent a modifier is just more
3068166124Srafan#	bits.  But for a cursor-key it may change the behavior of the
3069166124Srafan#	application.  For instance, emacs decodes the first parameter of a
3070166124Srafan#	cursor-key as a repeat count.
3071166124Srafan#
3072166124Srafan#	A parameterized string should (really) not begin with SS3 (\EO).
3073166124Srafan#	Rather, CSI (\E[) should be used.
3074166124Srafan#
3075166124Srafan# For these reasons, the original assignments were deprecated.  For
3076166124Srafan# compatibility reasons, they are still available as a setting of xterm's
3077166124Srafan# modifyCursorKeys resource.  These fragments list the modified cursor-keys
3078166124Srafan# that might apply to xterm+pcfkeys with different values of that resource.
3079166124Srafanxterm+pcc3|fragment with modifyCursorKeys:3,
3080174993Srafan	kLFT=\E[>1;2D, kRIT=\E[>1;2C, kind=\E[>1;2B,
3081176187Srafan	kri=\E[>1;2A, kDN=\E[>1;2B, kDN3=\E[>1;3B, kDN4=\E[>1;4B,
3082176187Srafan	kDN5=\E[>1;5B, kDN6=\E[>1;6B, kDN7=\E[>1;7B,
3083176187Srafan	kLFT3=\E[>1;3D, kLFT4=\E[>1;4D, kLFT5=\E[>1;5D,
3084176187Srafan	kLFT6=\E[>1;6D, kLFT7=\E[>1;7D, kRIT3=\E[>1;3C,
3085176187Srafan	kRIT4=\E[>1;4C, kRIT5=\E[>1;5C, kRIT6=\E[>1;6C,
3086176187Srafan	kRIT7=\E[>1;7C, kUP=\E[>1;2A, kUP3=\E[>1;3A,
3087176187Srafan	kUP4=\E[>1;4A, kUP5=\E[>1;5A, kUP6=\E[>1;6A,
3088176187Srafan	kUP7=\E[>1;7A,
3089166124Srafan
3090166124Srafanxterm+pcc2|fragment with modifyCursorKeys:2,
3091174993Srafan	kLFT=\E[1;2D, kRIT=\E[1;2C, kind=\E[1;2B, kri=\E[1;2A,
3092176187Srafan	kDN=\E[1;2B, kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B,
3093176187Srafan	kDN6=\E[1;6B, kDN7=\E[1;7B, kLFT3=\E[1;3D, kLFT4=\E[1;4D,
3094176187Srafan	kLFT5=\E[1;5D, kLFT6=\E[1;6D, kLFT7=\E[1;7D,
3095176187Srafan	kRIT3=\E[1;3C, kRIT4=\E[1;4C, kRIT5=\E[1;5C,
3096176187Srafan	kRIT6=\E[1;6C, kRIT7=\E[1;7C, kUP=\E[1;2A, kUP3=\E[1;3A,
3097176187Srafan	kUP4=\E[1;4A, kUP5=\E[1;5A, kUP6=\E[1;6A, kUP7=\E[1;7A,
3098166124Srafan
3099166124Srafanxterm+pcc1|fragment with modifyCursorKeys:1,
3100174993Srafan	kLFT=\E[2D, kRIT=\E[2C, kind=\E[2B, kri=\E[2A, kDN=\E[2B,
3101176187Srafan	kDN3=\E[3B, kDN4=\E[4B, kDN5=\E[5B, kDN6=\E[6B, kDN7=\E[7B,
3102176187Srafan	kLFT3=\E[3D, kLFT4=\E[4D, kLFT5=\E[5D, kLFT6=\E[6D,
3103176187Srafan	kLFT7=\E[7D, kRIT3=\E[3C, kRIT4=\E[4C, kRIT5=\E[5C,
3104176187Srafan	kRIT6=\E[6C, kRIT7=\E[7C, kUP=\E[2A, kUP3=\E[3A,
3105176187Srafan	kUP4=\E[4A, kUP5=\E[5A, kUP6=\E[6A, kUP7=\E[7A,
3106166124Srafan
3107166124Srafanxterm+pcc0|fragment with modifyCursorKeys:0,
3108174993Srafan	kLFT=\EO2D, kRIT=\EO2C, kind=\EO2B, kri=\EO2A, kDN=\EO2B,
3109176187Srafan	kDN3=\EO3B, kDN4=\EO4B, kDN5=\EO5B, kDN6=\EO6B, kDN7=\EO7B,
3110176187Srafan	kLFT3=\EO3D, kLFT4=\EO4D, kLFT5=\EO5D, kLFT6=\EO6D,
3111176187Srafan	kLFT7=\EO7D, kRIT3=\EO3C, kRIT4=\EO4C, kRIT5=\EO5C,
3112176187Srafan	kRIT6=\EO6C, kRIT7=\EO7C, kUP=\EO2A, kUP3=\EO3A,
3113176187Srafan	kUP4=\EO4A, kUP5=\EO5A, kUP6=\EO6A, kUP7=\EO7A,
3114174993Srafan
3115166124Srafan#
3116166124Srafan# Here are corresponding fragments from xterm patch #216:
3117166124Srafan#
3118166124Srafanxterm+pcf0|fragment with modifyFunctionKeys:0,
3119166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3120166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
3121166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
3122166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3123166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
3124166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR,
3125166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
3126166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
3127166124Srafan	kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,
3128166124Srafan	kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
3129166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
3130166124Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf49=\EO3P,
3131166124Srafan	kf5=\E[15~, kf50=\EO3Q, kf51=\EO3R, kf52=\EO3S,
3132166124Srafan	kf53=\E[15;3~, kf54=\E[17;3~, kf55=\E[18;3~,
3133166124Srafan	kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
3134166124Srafan	kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\EO4P,
3135166124Srafan	kf62=\EO4Q, kf63=\EO4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3136166124Srafan#
3137174993Srafanxterm+pcf2|fragment with modifyFunctionKeys:2,
3138166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3139174993Srafan	kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
3140166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
3141166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3142174993Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
3143174993Srafan	kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
3144166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
3145166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
3146174993Srafan	kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
3147174993Srafan	kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
3148166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
3149174993Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
3150174993Srafan	kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
3151174993Srafan	kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
3152174993Srafan	kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
3153174993Srafan	kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
3154174993Srafan	kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
3155174993Srafan	kf8=\E[19~, kf9=\E[20~,
3156166124Srafan#
3157176187Srafan# Chunks from xterm #230:
3158176187Srafanxterm+pce2|fragment with modifyCursorKeys:2,
3159176187Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
3160176187Srafan	kNXT=\E[6;2~, kPRV=\E[5;2~, kich1=\E[2~, knp=\E[6~,
3161176187Srafan	kpp=\E[5~, kDC3=\E[3;3~, kDC4=\E[3;4~, kDC5=\E[3;5~,
3162176187Srafan	kDC6=\E[3;6~, kDC7=\E[3;7~, kEND3=\E[1;3F, kEND4=\E[1;4F,
3163176187Srafan	kEND5=\E[1;5F, kEND6=\E[1;6F, kEND7=\E[1;7F,
3164176187Srafan	kHOM3=\E[1;3H, kHOM4=\E[1;4H, kHOM5=\E[1;5H,
3165176187Srafan	kHOM6=\E[1;6H, kHOM7=\E[1;7H, kIC3=\E[2;3~, kIC4=\E[2;4~,
3166176187Srafan	kIC5=\E[2;5~, kIC6=\E[2;6~, kIC7=\E[2;7~, kNXT3=\E[6;3~,
3167176187Srafan	kNXT4=\E[6;4~, kNXT5=\E[6;5~, kNXT6=\E[6;6~,
3168176187Srafan	kNXT7=\E[6;7~, kPRV3=\E[5;3~, kPRV4=\E[5;4~,
3169176187Srafan	kPRV5=\E[5;5~, kPRV6=\E[5;6~, kPRV7=\E[5;7~,
3170176187Srafan	use=xterm+edit,
3171176187Srafan
3172176187Srafanxterm+edit|fragment for 6-key editing-keypad,
3173176187Srafan	kdch1=\E[3~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3174176187Srafan	use=xterm+pc+edit,
3175176187Srafan
3176176187Srafanxterm+pc+edit|fragment for pc-style editing keypad,
3177176187Srafan	kend=\E[4~, khome=\E[1~,
3178176187Srafan
3179176187Srafanxterm+vt+edit|fragment for vt220-style editing keypad,
3180176187Srafan	kfnd=\E[1~, kslt=\E[4~,
3181176187Srafan
3182176187Srafan#
3183174993Srafan# Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
3184174993Srafan# Alternatively, the same scheme with old-style function keys as in xterm-r6
3185174993Srafan# is shown here (because that is used in mrxvt and mlterm):
3186174993Srafanxterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys:2,
3187174993Srafan	kf1=\E[11~, kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~,
3188174993Srafan	kf16=\E[14;2~, kf2=\E[12~, kf25=\E[11;5~, kf26=\E[12;5~,
3189174993Srafan	kf27=\E[13;5~, kf28=\E[14;5~, kf3=\E[13~, kf37=\E[11;6~,
3190174993Srafan	kf38=\E[12;6~, kf39=\E[13;6~, kf4=\E[14~, kf40=\E[14;6~,
3191174993Srafan	kf49=\E[11;3~, kf50=\E[12;3~, kf51=\E[13;3~,
3192174993Srafan	kf52=\E[14;3~, kf61=\E[11;4~, kf62=\E[12;4~,
3193174993Srafan	kf63=\E[13;4~, use=xterm+pcf2,
3194174993Srafan#
319566963Speter# This chunk is used for building the VT220/Sun/PC keyboard variants.
3196166124Srafanxterm-basic|modern xterm terminal emulator - common,
3197166124Srafan	OTbs, am, bce, km, mc5i, mir, msgr, xenl, AX,
3198166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3199166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3200166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3201166124Srafan	clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
3202166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3203166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3204166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3205166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
3206166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
3207166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
3208166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
3209166124Srafan	ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H,
3210176187Srafan	kmous=\E[M, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
3211176187Srafan	memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
3212166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l,
3213166124Srafan	rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m,
3214166124Srafan	rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
3215166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3216166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3217166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3218166124Srafan	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,
3219166124Srafan	sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
3220166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
3221166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
322250276Speter
322350276Speter# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
3224166124Srafan# In retrospect, something like xterm-r6 was intended here -TD
3225166124Srafanxterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
3226166124Srafan	rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
322750276Speter
322850276Speter# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
3229166124Srafanxterm-16color|xterm with 16 colors like aixterm,
3230166124Srafan	use=ibm+16color, use=xterm-new,
323150276Speter
3232174993Srafan# This is a compile-time feature of XFree86 xterm beginning with
3233174993Srafan# patch #111 (1999/7/10) -TD
3234166124Srafanxterm+256color|xterm 256-color feature,
3235166124Srafan	ccc,
3236166124Srafan	colors#256, pairs#32767,
3237166124Srafan	initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
3238166124Srafan	setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
3239166124Srafan	setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
3240166124Srafan	setb@, setf@,
3241166124Srafan
3242174993Srafan# This is a compile-time feature of XFree86 xterm beginning with
3243174993Srafan# patch #115 (1999/9/18) -TD
3244174993Srafan#
3245174993Srafan# Note that the escape sequences used are the same as for 256-colors - xterm
3246174993Srafan# has a different table of default color resource values.  If built for
3247174993Srafan# 256-colors, it can still handle an 88-color palette by using the initc
3248174993Srafan# capability.
3249174993Srafan#
3250174993Srafan# At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
3251174993Srafan# which support the xterm+256color feature support the associated initc
3252174993Srafan# capability.  So it is cancelled in the entries which use this and/or the
3253174993Srafan# xterm+256color block.
3254166124Srafanxterm+88color|xterm 88-color feature,
3255166124Srafan	colors#88, pairs#7744, use=xterm+256color,
3256166124Srafan
325762449Speter# These variants of XFree86 3.9.16 xterm are built as a configure option.
3258166124Srafanxterm-256color|xterm with 256 colors,
3259166124Srafan	use=xterm+256color, use=xterm-new,
3260166124Srafanxterm-88color|xterm with 88 colors,
3261166124Srafan	use=xterm+88color, use=xterm-256color,
326262449Speter
3263166124Srafan# These two are used to demonstrate the any-event mouse support, i.e., by
3264166124Srafan# using an extended name "XM" which tells ncurses to put the terminal into
3265166124Srafan# a special mode when initializing the xterm mouse.
3266166124Srafanxterm-1002|testing xterm-mouse,
3267166124Srafan	XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-new,
3268166124Srafanxterm-1003|testing xterm-mouse,
3269166124Srafan	XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
3270166124Srafan
327150276Speter# This is another variant, for XFree86 4.0 xterm (T.Dickey)
327250276Speter# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
327350276Speter# To use it, your decTerminalID resource must be set to 200 or above.
327450276Speter#
327550276Speter#	HTS	\E H	\210
327650276Speter#	RI	\E M	\215
327750276Speter#	SS3	\E O	\217
327850276Speter#	CSI	\E [	\233
327950276Speter#
3280166124Srafanxterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
3281166124Srafan	OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
3282166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3283166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3284166124Srafan	bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
3285166124Srafan	civis=\233?25l, clear=\233H\2332J,
3286166124Srafan	cnorm=\233?25l\233?25h, cr=^M, csr=\233%i%p1%d;%p2%dr,
3287166124Srafan	cub=\233%p1%dD, cub1=^H, cud=\233%p1%dB, cud1=^J,
3288166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
3289166124Srafan	cuu=\233%p1%dA, cuu1=\233A, cvvis=\233?12;25h,
3290166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
3291166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
3292166124Srafan	flash=\233?5h$<100/>\233?5l, home=\233H,
3293166124Srafan	hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@,
3294166124Srafan	il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m,
3295166124Srafan	is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
3296166124Srafan	ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
3297166124Srafan	kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B,
3298166124Srafan	kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
3299166124Srafan	kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
3300166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
3301166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
3302166124Srafan	kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
3303166124Srafan	kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
3304166124Srafan	kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
3305166124Srafan	knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
3306166124Srafan	meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
3307166124Srafan	ri=\215, rmacs=\E(B, rmam=\233?7l, rmcup=\233?1049l,
3308166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
3309166124Srafan	rs1=\Ec,
3310166124Srafan	rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
3311166124Srafan	sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
3312166124Srafan	setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3313166124Srafan	setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3314166124Srafan	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%;,
3315166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
3316166124Srafan	smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=,
3317166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR,
3318166124Srafan	u7=\E[6n, u8=\233[?1;2c, u9=\E[c, vpa=\233%i%p1%dd,
331950276Speter
3320166124Srafanxterm-hp|xterm with hpterm function keys,
3321166124Srafan	kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
3322166124Srafan	kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
3323166124Srafan	kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
3324166124Srafan	knp=\ES, kpp=\ET, use=xterm-basic,
332562449Speter
3326166124Srafanxterm-sco|xterm with SCO function keys,
3327166124Srafan	kbeg=\E[E, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
3328166124Srafan	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
3329166124Srafan	kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, kf16=\E[b,
3330166124Srafan	kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f,
3331166124Srafan	kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k,
3332166124Srafan	kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O,
3333166124Srafan	kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t,
3334166124Srafan	kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y,
3335166124Srafan	kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\,
3336166124Srafan	kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{,
3337166124Srafan	kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
3338166124Srafan	kich1=\E[L, kmous=\E[>M, knp=\E[G, kpp=\E[I,
3339166124Srafan	use=xterm-basic,
334066963Speter
3341166124Srafan# The xterm-new description has all of the features, but is not completely
334266963Speter# compatible with vt220.  If you are using a Sun or PC keyboard, set the
334366963Speter# sunKeyboard resource to true:
334466963Speter#	+ maps the editing keypad
334566963Speter#	+ interprets control-function-key as a second array of keys, so a
334666963Speter#	  12-fkey keyboard can support vt220's 20-fkeys.
334766963Speter#	+ maps numeric keypad "+" to ",".
334866963Speter#	+ uses DEC-style control sequences for the application keypad.
3349166124Srafan#
3350166124Srafanxterm-vt220|xterm emulating vt220,
3351166124Srafan	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3352166124Srafan	kend=\E[4~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3353166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
3354166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
3355166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3356166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
3357176187Srafan	use=xterm+app, use=xterm+edit, use=xterm-basic,
3358176187Srafan	use=vt220+keypad,
335962449Speter
3360166124Srafanxterm-vt52|xterm emulating dec vt52,
3361166124Srafan	cols#80, it#8, lines#24,
3362166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3363166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
3364166124Srafan	cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
3365166124Srafan	home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
3366166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
336762449Speter
3368166124Srafanxterm-noapp|xterm with cursor keys in normal mode,
3369176187Srafan	rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp,
3370176187Srafan	use=xterm,
337162449Speter
3372166124Srafanxterm-24|vs100|xterms|xterm terminal emulator (X Window System),
3373176187Srafan	lines#24, use=xterm-old,
337450276Speter
337550276Speter# This is xterm for ncurses.
3376166124Srafanxterm|xterm terminal emulator (X Window System),
3377166124Srafan	use=xterm-new,
337850276Speter
3379166124Srafan# These entries allow access to the X titlebar and icon name as a status line.
3380166124Srafan# Note that twm (and possibly window managers descended from it such as tvtwm,
338150276Speter# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
338250276Speter# with it.
3383166124Srafanxterm+sl|access X title line and icon name,
3384166124Srafan	hs,
3385166124Srafan	wsl#40,
3386166124Srafan	dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
3387166124Srafanxterm+sl-twm|access X title line (pacify twm-descended window managers),
3388166124Srafan	hs,
3389166124Srafan	wsl#40,
3390166124Srafan	dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
339150276Speter
339250276Speter#
339350276Speter# The following xterm variants don't depend on your base version
339450276Speter#
339550276Speter# xterm with bold instead of underline
3396166124Srafanxterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
3397176187Srafan	smso=\E[7m, smul=\E[1m, use=xterm-old,
339850276Speter# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
339950276Speter# (kterm should not invoke DEC Graphics as the alternate character set
340050276Speter#  -- Kenji Rikitake)
340176726Speter# (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
340276726Speter#  -- MATSUMOTO Shoji)
3403166124Srafan# kterm implements acsc via built-in table of X Drawable's
3404166124Srafankterm|kterm kanji terminal emulator (X window system),
3405166124Srafan	eslok, hs,
3406166124Srafan	ncv@,
3407166124Srafan	acsc=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~,
3408166124Srafan	csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F,
3409166124Srafan	kmous=\E[M, rc=\E8, rmacs=\E(B, rmam=\E[?7l, sc=\E7,
3410166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
3411166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h,
3412166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color,
3413166124Srafankterm-color|kterm-co|kterm with ANSI colors,
3414166124Srafan	ncv@, use=kterm, use=ecma+color,
341550276Speter# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
3416166124Srafanxterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
3417166124Srafan	ich@, ich1@, use=xterm,
3418166124Srafan# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
3419166124Srafanxterm1|xterm terminal emulator ignoring the alternate screen buffer,
3420166124Srafan	rmcup@, smcup@, use=xterm,
342150276Speter
342250276Speter# This describes the capabilities of color_xterm, an xterm variant from
342350276Speter# before ECMA-64 color support was folded into the main-line xterm release.
342450276Speter# This entry is straight from color_xterm's maintainer.
342550276Speter# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
342650276Speter# The README's with the distribution also say that it supports SGR 21, 24, 25
342750276Speter# and 27, but they are not present in the terminfo or termcap.
3428166124Srafancolor_xterm|cx|cx100|color_xterm color terminal emulator for X,
3429166124Srafan	OTbs, am, km, mir, msgr, xenl,
3430166124Srafan	cols#80, it#8, lines#65, ncv@,
3431166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3432166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3433166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3434166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3435166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3436166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
3437166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
3438166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
3439166124Srafan	is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, kbs=^H, kcub1=\EOD,
3440166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kf1=\E[11~,
3441166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
3442166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
3443166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
3444166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
3445166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l,
3446166124Srafan	rmso=\E[27m, rmul=\E[24m,
3447166124Srafan	rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
3448166124Srafan	sc=\E7,
3449166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3450166124Srafan	sgr0=\E[0m\017, smacs=^N, smam=\E[?7h,
3451166124Srafan	smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
3452166124Srafan	smul=\E[4m, use=ecma+color, use=vt220+keypad,
345350276Speter
345462449Speter# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
345550276Speter# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
345650276Speter# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
345750276Speter# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
345850276Speter# that each of those implements the home, end, delete keys differently.
345962449Speter#
346062449Speter# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
346162449Speter# colors; note that this is not compatible with the 5.2 version.
3462166124Srafan# csw (2002-05-15): make xterm-color primary instead of nxterm, to
3463166124Srafan#   match XFree86's xterm.terminfo usage and prevent circular links
3464166124Srafanxterm-color|nxterm|generic color xterm,
3465166124Srafan	ncv@,
3466166124Srafan	op=\E[m, use=xterm-r6, use=klone+color,
346750276Speter
346862449Speter# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
3469166124Srafangnome-rh62|Gnome terminal,
3470166124Srafan	bce,
3471166124Srafan	kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
3472166124Srafan	use=xterm-color,
347362449Speter
347497049Speter# GNOME Terminal 1.4.0.4 (Redhat 7.2)
347597049Speter#
347697049Speter# This implements a subset of vt102 with a random selection of features from
347797049Speter# other terminals such as color and function-keys.
347897049Speter#
347997049Speter# shift-f1 to shift-f10 are f11 to f20
348097049Speter#
348197049Speter# NumLock changes the application keypad to approximate vt100 keypad, except
348297049Speter# that there is no escape sequence matching comma (,).
348397049Speter#
348497049Speter# Other defects observed:
348597049Speter#	vt100 LNM mode is not implemented.
348697049Speter#	vt100 80/132 column mode is not implemented.
348797049Speter#	vt100 DECALN is not implemented.
348897049Speter#	vt100 DECSCNM mode is not implemented, so flash does not work.
348997049Speter#	vt100 TBC (tab reset) is not implemented.
349097049Speter#	xterm alternate screen controls do not restore cursor position properly
349197049Speter#	it hangs in tack after running function-keys test.
3492166124Srafangnome-rh72|GNOME Terminal,
3493166124Srafan	bce, km@,
3494166124Srafan	civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP,
3495166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l,
3496166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
3497166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, tbc@, use=xterm-color,
349897049Speter
3499166124Srafan# GNOME Terminal 2.0.1 (Redhat 8.0)
3500166124Srafan#
3501166124Srafan# Documentation now claims it implements vt220 (which is demonstrably false).
3502166124Srafan# However, it does implement ECH, which is a vt220 feature.  And there are
3503166124Srafan# workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
3504166124Srafan# more of its bugs using vttest.
3505166124Srafan#
3506166124Srafan# However, note that bce and msgr are broken in this release.  Tabs (tbc and
3507166124Srafan# hts) are broken as well.  Sometimes flash (as in xterm-new) works.
3508166124Srafan#
3509166124Srafan# kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
3510166124Srafan# operations.  Shift-tab generates a distinct sequence so it can be argued
3511166124Srafan# that it implements kcbt.
3512166124Srafangnome-rh80|GNOME Terminal,
3513166124Srafan	bce@, msgr@,
3514166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, kbs=\177,
3515166124Srafan	kcbt=\E^I, op=\E[39;49m, use=gnome-rh72,
351697049Speter
3517166124Srafan# GNOME Terminal 2.2.1 (Redhat 9.0)
3518166124Srafan#
3519166124Srafan# bce and msgr are repaired.
3520166124Srafangnome-rh90|GNOME Terminal,
3521166124Srafan	bce, msgr,
3522166124Srafan	hpa=\E[%i%p1%dG, kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C,
3523166124Srafan	kb2=\E[E, kcbt=\E[Z, kend=\EOF, khome=\EOH, tbc=\E[3g,
3524166124Srafan	vpa=\E[%i%p1%dd, use=xterm+pcf0, use=xterm+pcfkeys,
3525166124Srafan	use=gnome-rh80,
3526166124Srafan
3527166124Srafan# GNOME Terminal 2.14.2 (Fedora Core 5)
3528166124Srafan# Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
3529166124Srafangnome-fc5|GNOME Terminal,
3530166124Srafan	rs1=\Ec,
3531166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3532166124Srafan	use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
3533166124Srafan
3534174993Srafan# GNOME Terminal 2.18.1 (2007 snapshot)
3535174993Srafan#
3536174993Srafan# For any "recent" version of gnome-terminal, it is futile to attempt to
3537174993Srafan# support modifiers on cursor- and keypad keys because the program usually
3538174993Srafan# is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
3539174993Srafan# of the keys (which more/less correspond to the termcap values), and will
3540174993Srafan# interpret those according to the $TERM value, but others not in the
3541174993Srafan# terminfo according to some constantly changing set of hacker guidelines -TD
3542174993Srafangnome-2007|GNOME Terminal snapshot 2.18.1,
3543174993Srafan	use=xterm+pcc2, use=gnome-fc5,
3544174993Srafan
3545166124Srafangnome|GNOME Terminal,
3546174993Srafan	use=gnome-2007,
3547166124Srafan
3548174993Srafan# palette is hardcoded...
3549166124Srafangnome-256color|GNOME Terminal with xterm 256-colors,
3550174993Srafan	initc@, use=xterm+256color, use=gnome,
3551166124Srafan
3552166124Srafan# XFCE Terminal 0.2.5.4beta2
3553166124Srafan#
3554166124Srafan# This is based on some of the same source code, e.g., the VTE library, as
3555166124Srafan# gnome-terminal, but has fewer features, fails more screens in vttest.
3556166124Srafan# Since most of the terminfo-related behavior is due to the VTE library,
3557166124Srafan# the terminfo is the same as gnome-terminal.
3558166124Srafanxfce|Xfce Terminal,
3559166124Srafan	use=gnome,
3560166124Srafan
3561166124Srafan# Multi-Gnome-Terminal 1.6.2
3562166124Srafan#
3563166124Srafan# This does not use VTE, and does have different behavior (compare xfce and
3564166124Srafan# gnome).
3565166124Srafanmgt|Multi GNOME Terminal,
3566166124Srafan	indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333,
3567166124Srafan
356862449Speter# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
356962449Speter# or not is debatable).
3570166124Srafankvt|KDE terminal,
3571166124Srafan	bce, km@,
3572166124Srafan	kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
357362449Speter
357497049Speter# Konsole 1.0.1
357597049Speter# (formerly known as kvt)
357697049Speter#
357797049Speter# This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
357897049Speter# simplify this entry (and point out why konsole isn't xterm), we base this on
357997049Speter# xterm-r6.  The default keyboard appears to be 'linux'.
358097049Speter#
358197049Speter# Notes:
358297049Speter# a) konsole implements several features from XFree86 xterm, though none of
358397049Speter#    that is documented - except of course in its source code - apparently
358497049Speter#    because its implementors are unaccustomed to reading documentation - as
358597049Speter#    evidenced by the sparse and poorly edited documentation distributed with
358697049Speter#    konsole.  Some features such as the 1049 private mode are recognized but
358797049Speter#    incorrectly implemented as a duplicate of the 47 private mode.
358897049Speter# b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
358997049Speter#    sends PC-style escapes rather than vt100.
359097049Speter# c) fails vttest menu 3 (Test of character sets) because it does not properly
359197049Speter#    parse some control sequences.  Also fails vttest Primary Device Attributes
359297049Speter#    by sending a bogus code (in the source it says it's supposed to be a
359397049Speter#    vt220, which is doubly incorrect because it does not implement vt220
359497049Speter#    control sequences except for a few special cases).  Treat it as a
359597049Speter#    mildly-broken vt102.
3596166124Srafan#
3597166124Srafan# Update for konsole 1.3.2:
3598166124Srafan#    The 1049 private mode works (but see the other xterm screens in vttest).
3599166124Srafan#    Primary Device Attributes now returns the code for a vt100 with advanced
3600166124Srafan#    video option.  Perhaps that's intended to be a "mildly-broken vt102".
3601166124Srafan#
3602166124Srafan# Updated for konsole 1.6.4:
3603166124Srafan#    add konsole-solaris
3604166124Srafankonsole-base|KDE console window,
3605166124Srafan	bce, km@, npc,
3606166124Srafan	bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h,
3607166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l,
3608166124Srafan	hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1@,
3609166124Srafan	kend=\E[4~, kf1@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@,
3610166124Srafan	kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
3611166124Srafan	kf9@, kfnd@, khome=\E[1~, kslt@, rin=\E[%p1%dT, rmam=\E[?7l,
3612166124Srafan	rmso=\E[27m, rmul=\E[24m,
3613166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3614166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3615166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, vpa=\E[%i%p1%dd,
3616166124Srafan	use=ecma+color, use=xterm-r6,
3617166124Srafankonsole-linux|KDE console window with linux keyboard,
3618166124Srafan	kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
3619166124Srafan	kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@,
3620166124Srafan	kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
3621166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3622166124Srafan	use=konsole-base,
3623166124Srafankonsole-solaris|KDE console window with Solaris keyboard,
3624166124Srafan	kbs=^H, kend=\E[4~, khome=\E[1~, use=konsole-vt100,
362597049Speter# KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
362697049Speter# than testing the code.
3627166124Srafankonsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
3628166124Srafan	kend=\E[4~, khome=\E[1~, use=konsole-vt100,
362997049Speter# The value for kbs reflects local customization rather than the settings used
363097049Speter# for XFree86 xterm.
3631166124Srafankonsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
3632166124Srafan	kend=\EOF, kf1=\EOP, kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R,
3633166124Srafan	kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
3634166124Srafan	kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3635166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf3=\EOR, kf4=\EOS,
3636166124Srafan	khome=\EOH, use=konsole-vt100,
363797049Speter# KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
363897049Speter# it is still useful for deriving the other entries.
3639166124Srafankonsole-vt100|KDE console window with vt100 (sic) keyboard,
3640166124Srafan	kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~,
3641166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@,
3642166124Srafan	kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~,
3643166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3644166124Srafan	khome=\E[H, use=konsole-base,
3645166124Srafankonsole-vt420pc|KDE console window with vt420 pc keyboard,
3646166124Srafan	kbs=^H, kdch1=\177, use=konsole-vt100,
3647166124Srafankonsole-16color|klone of xterm-16color,
3648166124Srafan	ncv#32, use=ibm+16color, use=konsole,
364997049Speter# make a default entry for konsole
3650166124Srafankonsole|KDE console window,
3651166124Srafan	use=konsole-xf4x,
365297049Speter
3653174993Srafan# palette is hardcoded...
3654174993Srafankonsole-256color|KDE console window with xterm 256-colors,
3655174993Srafan	initc@, use=xterm+256color, use=konsole,
3656174993Srafan
3657174993Srafan# This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
3658166124Srafan#
3659174993Srafan# It is nominally a vt102 emulator, with features borrowed from rxvt and
3660166124Srafan# xterm.
3661166124Srafan#
3662174993Srafan# The function keys are numbered based on shift/control/alt modifiers, except
3663174993Srafan# that the control-modifier itself is used to spawn a new copy of mlterm (the
3664174993Srafan# "-P" option).  So control/F1 to control/F12 may not be usable, depending on
3665174993Srafan# how it is configured.
3666174993Srafan#
3667174993Srafan#				kf1 to kf12	\E[11~   to \E[24~
3668174993Srafan#	shift			kf1 to kf12	\E[11;2~ to \E[24;2~
3669174993Srafan#	alt			kf1 to kf12	\E[11;3~ to \E[24;3~
3670174993Srafan#	shift/alt		kf1 to kf12	\E[11;4~ to \E[24;4~
3671174993Srafan#	control			kf1 to kf12	\E[11;5~ to \E[24;5~ (maybe)
3672174993Srafan#	control/shift		kf1 to kf12	\E[11;6~ to \E[24;6~
3673174993Srafan#	control/alt		kf1 to kf12	\E[11;7~ to \E[24;7~
3674174993Srafan#	control/shit/alt	kf1 to kf12	\E[11;8~ to \E[24;8~
3675174993Srafan#
3676166124Srafanmlterm|multi lingual terminal emulator,
3677166124Srafan	am, eslok, km, mc5i, mir, msgr, npc, xenl,
3678166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3679166124Srafan	acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3680166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3681166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3682166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3683166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3684166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3685166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3686166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=,
3687166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
3688166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
3689166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
3690166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3691174993Srafan	kdch1=\E[3~, kend=\EOF, kent=\EOM, kfnd=\E[1~, khome=\EOH,
3692174993Srafan	kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
3693174993Srafan	mc0=\E[i, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
3694174993Srafan	rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
3695174993Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
3696166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l,
3697166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3698166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
3699174993Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
3700166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
3701174993Srafan	tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
3702174993Srafan	vpa=\E[%i%p1%dd, use=mlterm+pcfkeys, use=xterm+r6f2,
3703166124Srafan
3704174993Srafan# The insert/delete/home/end keys do not respond to modifiers because mlterm
3705174993Srafan# looks in its termcap to decide which string to send.  If it used terminfo
3706174993Srafan# (when available), it could use the extended names introduced for xterm.
3707174993Srafanmlterm+pcfkeys|fragment for PC-style fkeys,
3708174993Srafan	kLFT=\EO1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO1;2C,
3709174993Srafan	kDN=\EO1;2B, kDN5=\EO1;5B, kDN6=\EO1;6B, kIC5=\E[2;5~,
3710174993Srafan	kIC6=\E[2;6~, kLFT5=\EO1;5D, kLFT6=\EO1;6D,
3711174993Srafan	kNXT5=\E[6;5~, kNXT6=\E[6;6~, kPRV5=\E[5;5~,
3712174993Srafan	kPRV6=\E[5;6~, kRIT5=\EO1;5C, kRIT6=\EO1;6C, kUP=\EO1;2A,
3713174993Srafan	kUP5=\EO1;5A, kUP6=\EO1;6A,
3714174993Srafan
371550276Speter# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
371650276Speter# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
371750276Speter# Notes:
371850276Speter# rxvt 2.21b uses
371950276Speter#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
372050276Speter# but some applications don't work with that.
372150276Speter# It also has an AIX extension
372250276Speter#	box2=lqkxjmwuvtn,
372350276Speter# and
372450276Speter#	ech=\E[%p1%dX,
372550276Speter# but the latter does not work correctly.
372650276Speter#
372750276Speter# The distributed terminfo says it implements hpa and vpa, but they are not
372850276Speter# implemented correctly, using relative rather than absolute positioning.
372950276Speter#
373050276Speter# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
373150276Speter# Since rxvt is not really compatible with xterm, it should be configured as
3732174993Srafan# "rxvt" or "rxvt-color".
3733166124Srafan#
3734166124Srafan# removed dch/dch1 because they are inconsistent with bce/ech -TD
3735166124Srafan# remove km as per tack test -TD
3736166124Srafanrxvt-basic|rxvt terminal base (X Window System),
3737166124Srafan	OTbs, am, bce, eo, mir, msgr, xenl, xon,
3738166124Srafan	cols#80, it#8, lines#24,
3739166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3740166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3741166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3742166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3743166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3744166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3745166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
3746166124Srafan	enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
3747166124Srafan	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
3748166124Srafan	ind=^J, is1=\E[?47l\E=\E[?1l,
3749166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
3750166124Srafan	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
3751166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
3752166124Srafan	rmul=\E[24m,
3753166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
3754166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3755166124Srafan	s0ds=\E(B, s1ds=\E(0, sc=\E7,
3756166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3757166124Srafan	sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
3758166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
3759166124Srafan	use=rxvt+pcfkeys, use=vt220+keypad,
3760166124Srafan# Key Codes from rxvt reference:
3761166124Srafan#
3762166124Srafan# Note: Shift + F1-F10 generates F11-F20
3763166124Srafan#
3764166124Srafan# For the keypad, use Shift to temporarily override Application-Keypad
3765166124Srafan# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
3766166124Srafan# is off, escape sequences toggle Application-Keypad setting.
3767166124Srafan# Also note that values of Home, End, Delete may have been compiled
3768166124Srafan# differently on your system.
3769166124Srafan#
3770166124Srafan#                   Normal       Shift        Control      Ctrl+Shift
3771166124Srafan#  Tab              ^I           ESC [ Z      ^I           ESC [ Z
3772166124Srafan#  BackSpace        ^H           ^?           ^?           ^?
3773166124Srafan#  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
3774166124Srafan#  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
3775166124Srafan#  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3776166124Srafan#  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
3777166124Srafan#  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
3778166124Srafan#  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
3779166124Srafan#  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
3780166124Srafan#  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
3781166124Srafan#  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3782166124Srafan#  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
3783166124Srafan#  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
3784166124Srafan#  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
3785166124Srafan#  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
3786166124Srafan#  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
3787166124Srafan#  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
3788166124Srafan#  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
3789166124Srafan#  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
3790166124Srafan#  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
3791166124Srafan#  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
3792166124Srafan#  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
3793166124Srafan#  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
3794166124Srafan#  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
3795166124Srafan#  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
3796166124Srafan#  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
3797166124Srafan#  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
3798166124Srafan#  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
3799166124Srafan#  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
3800166124Srafan#  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
3801166124Srafan#  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
3802174993Srafan#
3803166124Srafan#                                                          Application
3804166124Srafan#  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
3805166124Srafan#  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
3806166124Srafan#  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
3807166124Srafan#  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
3808166124Srafan#  KP_Enter         ^M                                     ESC O M
3809166124Srafan#  KP_F1            ESC O P                                ESC O P
3810166124Srafan#  KP_F2            ESC O Q                                ESC O Q
3811166124Srafan#  KP_F3            ESC O R                                ESC O R
3812166124Srafan#  KP_F4            ESC O S                                ESC O S
3813166124Srafan#  XK_KP_Multiply   *                                      ESC O j
3814166124Srafan#  XK_KP_Add        +                                      ESC O k
3815166124Srafan#  XK_KP_Separator  ,                                      ESC O l
3816166124Srafan#  XK_KP_Subtract   -                                      ESC O m
3817166124Srafan#  XK_KP_Decimal    .                                      ESC O n
3818166124Srafan#  XK_KP_Divide     /                                      ESC O o
3819166124Srafan#  XK_KP_0          0                                      ESC O p
3820166124Srafan#  XK_KP_1          1                                      ESC O q
3821166124Srafan#  XK_KP_2          2                                      ESC O r
3822166124Srafan#  XK_KP_3          3                                      ESC O s
3823166124Srafan#  XK_KP_4          4                                      ESC O t
3824166124Srafan#  XK_KP_5          5                                      ESC O u
3825166124Srafan#  XK_KP_6          6                                      ESC O v
3826166124Srafan#  XK_KP_7          7                                      ESC O w
3827166124Srafan#  XK_KP_8          8                                      ESC O x
3828166124Srafan#  XK_KP_9          9                                      ESC O y
3829166124Srafan#
3830174993Srafan# The source-code for rxvt actually defines mappings for F21-F35, using
3831174993Srafan# "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
3832174993Srafan# are rare, so this entry uses the shift- and control-modifiers as in
3833174993Srafan# xterm+pcfkeys to define keys past F12.
3834174993Srafan#
3835174993Srafan# kIC is normally not used, since rxvt performs a paste for that (shifted
3836174993Srafan# insert), unless private mode 35 is set.
3837174993Srafan#
3838166124Srafan# kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
3839166124Srafan# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
3840166124Srafanrxvt+pcfkeys|fragment for PC-style fkeys,
3841174993Srafan	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
3842166124Srafan	kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B,
3843166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
3844166124Srafan	kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
3845166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3846166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3847166124Srafan	kf2=\E[12~, kf20=\E[34~, kf21=\E[23$, kf22=\E[24$,
3848166124Srafan	kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, kf26=\E[14\^,
3849166124Srafan	kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, kf3=\E[13~,
3850166124Srafan	kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, kf33=\E[23\^,
3851166124Srafan	kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, kf37=\E[28\^,
3852166124Srafan	kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, kf40=\E[32\^,
3853166124Srafan	kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, kf44=\E[24@,
3854166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3855166124Srafan	kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3856174993Srafan	kslt=\E[4~, kDC5=\E[3\^, kDC6=\E[3@, kDN=\E[b, kDN5=\EOb,
3857174993Srafan	kEND5=\E[8\^, kEND6=\E[8@, kHOM5=\E[7\^, kHOM6=\E[7@,
3858174993Srafan	kIC5=\E[2\^, kIC6=\E[2@, kLFT5=\EOd, kNXT5=\E[6\^,
3859174993Srafan	kNXT6=\E[6@, kPRV5=\E[5\^, kPRV6=\E[5@, kRIT5=\EOc,
3860166124Srafan	kUP=\E[a, kUP5=\EOa,
386150276Speter
3862166124Srafanrxvt|rxvt terminal emulator (X Window System),
3863166124Srafan	ncv@,
3864166124Srafan	hpa=\E[%i%p1%dG, kf0=\E[21~, sgr0=\E[m\017,
3865166124Srafan	vpa=\E[%i%p1%dd, use=rxvt-basic, use=ecma+color,
3866166124Srafanrxvt-color|rxvt terminal emulator (X Window System),
3867166124Srafan	use=rxvt,
3868166124Srafanrxvt-256color|rxvt 2.7.9 with xterm 256-colors,
3869166124Srafan	use=xterm+256color, use=rxvt,
3870166124Srafanrxvt-xpm|rxvt terminal emulator (X Window System),
3871166124Srafan	use=rxvt,
3872166124Srafanrxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
3873166124Srafan	acsc=0\333+\257\,\256-\^`\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,
3874166124Srafan	use=rxvt,
3875166124Srafanrxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
3876166124Srafan	acsc=0\333+\257\,\256-\^`\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,
3877166124Srafan	use=rxvt-cygwin,
3878166124Srafan
3879166124Srafan# This variant is supposed to work with rxvt 2.7.7 when compiled with
3880166124Srafan# NO_BRIGHTCOLOR defined.  rxvt needs more work...
3881166124Srafanrxvt-16color|xterm with 16 colors like aixterm,
3882166124Srafan	ncv#32, use=ibm+16color, use=rxvt,
3883166124Srafan
3884174993Srafan# mrxvt 0.5.3
3885174993Srafan#
3886174993Srafan# mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
3887174993Srafan# makes its function-keys different from other flavors of rxvt -TD
3888174993Srafanmrxvt|multitabbed rxvt,
3889174993Srafan	use=xterm+pcc2, use=xterm+r6f2, use=rxvt,
3890174993Srafan
389162449Speter# From: Michael Jennings <mej@valinux.com>
3892166124Srafan#
3893166124Srafan# Eterm 0.9.3
3894166124Srafan#
389562449Speter# removed kf0 which conflicts with kf10 -TD
389662449Speter# remove cvvis which conflicts with cnorm -TD
3897166124Srafan# Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
3898166124Srafan# but does otherwise follow the rxvt+pcfkeys model -TD
3899166124Srafan# remove nonworking flash -TD
3900166124Srafan# remove km as per tack test -TD
3901166124SrafanEterm|Eterm-color|Eterm with xterm-style color support (X Window System),
3902166124Srafan	am, bce, bw, eo, mc5i, mir, msgr, xenl, xon,
3903166124Srafan	btns#5, cols#80, it#8, lines#24, lm#0, ncv@,
3904166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3905166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3906166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3907166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3908166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
3909166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3910166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3911166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
3912166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
3913166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
3914166124Srafan	is1=\E[?47l\E>\E[?1l,
3915166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
3916166124Srafan	kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
3917166124Srafan	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
3918166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
3919166124Srafan	rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
3920166124Srafan	rmso=\E[27m, rmul=\E[24m,
3921166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
3922166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3923166124Srafan	sc=\E7,
3924166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3925166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
3926166124Srafan	smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
3927166124Srafan	vpa=\E[%i%p1%dd, use=vt100+enq, use=rxvt+pcfkeys,
3928166124Srafan	use=ecma+color,
392962449Speter
3930166124Srafan# xiterm  0.5-5.2
3931166124Srafan# This is not based on xterm's source...
3932166124Srafan# vttest shows several problems with keyboard, cursor-movements.
3933166124Srafan# see also http://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
3934166124Srafanxiterm|internationalized terminal emulator for X,
3935166124Srafan	km@,
3936166124Srafan	kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6,
3937166124Srafan
393850276Speter# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
393950276Speter# variant of xterm which is apparently no longer supported, but are interesting
394050276Speter# because they illustrate SVr4 curses mouse controls - T.Dickey
3941166124Srafanxtermm|xterm terminal emulator (monocrome),
3942166124Srafan	OTbs, am, km, mir, msgr, xenl,
3943166124Srafan	btns#3, cols#80, it#8, lines#24,
3944166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3945166124Srafan	bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3946166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
3947166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3948166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3949166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
3950166124Srafan	el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
3951166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
3952166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
3953166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kf0=\EOy,
3954166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf5=\EOT, kf6=\EOU,
3955166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kmous=\E[^_,
3956166124Srafan	knp=\E[U, kpp=\E[V, rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM,
3957166124Srafan	rmacs=^O, rmcup=\E@0\E[?4r, rmso=\E[m,
3958166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
3959166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
3960166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3961166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
3962166124Srafan	smso=\E[7m, tbc=\E[3g, use=vt100+fnkeys,
396350276Speter
3964166124Srafanxtermc|xterm terminal emulator (color),
3965166124Srafan	colors#8, ncv#7, pairs#64,
3966166124Srafan	op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3967166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3968166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3969166124Srafan	use=xtermm,
397050276Speter
397150276Speter# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
397250276Speter# Here's a termcap entry I've been using for xterm_color, which comes
397350276Speter# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
397450276Speter# color stuff, I also have a status line defined as the window manager
397550276Speter# title bar. [I have translated it to terminfo -- ESR]
3976166124Srafanxterm-pcolor|xterm with color used for highlights and status line,
3977166124Srafan	bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
3978166124Srafan	smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6,
397950276Speter
3980166124Srafan# HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
3981166124Srafan# from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
3982166124Srafan# chars look like --esr)
3983166124Srafanhpterm|X-hpterm|hp X11 terminal emulator,
3984166124Srafan	am, da, db, mir, xhp,
3985166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
3986166124Srafan	acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
3987166124Srafan	cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
3988166124Srafan	cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
3989166124Srafan	hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
3990166124Srafan	kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
3991166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
3992166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
3993166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
3994166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
3995166124Srafan	memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
3996166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
3997166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
3998166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
3999166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
4000166124Srafan	rmul=\E&d@,
4001166124Srafan	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%;,
4002166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
4003166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
4004166124Srafan# HPUX 11 provides a color version.
4005166124Srafanhpterm-color|HP X11 terminal emulator with color,
4006166124Srafan	ccc,
4007166124Srafan	colors#64, pairs#8,
4008166124Srafan	home=\E&a0y0C,
4009166124Srafan	initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI,
4010166124Srafan	op=\E&v0S, scp=\E&v%p1%dS, use=hpterm,
401150276Speter
401250276Speter# This entry describes an xterm with Sun-style function keys enabled
401350276Speter# via the X resource setting "xterm*sunFunctionKeys:true"
401450276Speter# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
401550276Speter# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
4016166124Srafan# because we want it to be seen as <kcpy>.
401750276Speter# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
401850276Speter# with their Sun keyboard labels instead.
401950276Speter# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
4020166124Srafanxterm-sun|xterm with sunFunctionKeys true,
4021166124Srafan	kb2=\E[218z, kcpy=\E[197z, kcub1=\EOD, kcud1=\EOB,
4022166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3z, kend=\E[220z,
4023166124Srafan	kent=\EOM, kf1=\E[224z, kf10=\E[233z, kf11=\E[192z,
4024166124Srafan	kf12=\E[193z, kf13=\E[194z, kf14=\E[195z, kf15=\E[196z,
4025166124Srafan	kf17=\E[198z, kf18=\E[199z, kf19=\E[200z, kf2=\E[225z,
4026166124Srafan	kf20=\E[201z, kf3=\E[226z, kf31=\E[208z, kf32=\E[209z,
4027166124Srafan	kf33=\E[210z, kf34=\E[211z, kf35=\E[212z, kf36=\E[213z,
4028166124Srafan	kf38=\E[215z, kf4=\E[227z, kf40=\E[217z, kf42=\E[219z,
4029166124Srafan	kf44=\E[221z, kf45=\E[222z, kf46=\E[234z, kf47=\E[235z,
4030166124Srafan	kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
4031166124Srafan	kf9=\E[232z, kfnd=\E[200z, khlp=\E[196z, khome=\E[214z,
4032166124Srafan	kich1=\E[2z, knp=\E[222z, kpp=\E[216z, kund=\E[195z,
4033166124Srafan	use=xterm-basic,
4034166124Srafanxterms-sun|small (80x24) xterm with sunFunctionKeys true,
4035166124Srafan	cols#80, lines#24, use=xterm-sun,
403650276Speter
403750276Speter# This is for the extensible terminal emulator on the X11R6 contrib tape.
4038166124Srafan# It corresponds to emu's internal emulation:
4039166124Srafan#	emu -term emu
4040166124Srafan# emu's default sets TERM to "xterm", but that doesn't work well -TD
4041166124Srafan# fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
4042166124Srafan# fixes: add civis, cnorm, sgr -TD
4043166124Srafanemu|emu native mode,
4044166124Srafan	am, bce, mir, msgr, xon,
4045166124Srafan	colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
4046166124Srafan	acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
4047166124Srafan	bel=^G, blink=\EW, bold=\EU, civis=\EZ, clear=\EP\EE0;0;,
4048166124Srafan	cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, cub=\Eq-%p1%d;,
4049166124Srafan	cub1=^H, cud=\Ep%p1%d;, cud1=\EB, cuf=\Eq%p1%d;, cuf1=\ED,
4050166124Srafan	cup=\EE%p1%d;%p2%d;, cuu=\Ep-%p1%d;, cuu1=\EA,
4051166124Srafan	dch=\EI%p1%d;, dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;,
4052166124Srafan	ech=\Ej%p1%d;, ed=\EN, el=\EK, el1=\EL, home=\EE0;0;, ht=^I,
4053166124Srafan	hts=\Eh, il=\EQ%p1%d;, il1=\EQ1;, ind=\EG,
4054166124Srafan	is2=\ES\Er0;\Es0;, kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED,
4055166124Srafan	kcuu1=\EA, kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01,
4056166124Srafan	kf10=\EF10, kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14,
4057166124Srafan	kf15=\EF15, kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19,
4058166124Srafan	kf2=\EF02, kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05,
4059166124Srafan	kf6=\EF06, kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind,
4060166124Srafan	kich1=\Eins, knp=\Enext, kpp=\Eprior, kslt=\Esel,
4061166124Srafan	op=\Es0;\Er0;, rev=\ET, ri=\EF, rmir=\EX, rmso=\ES, rmul=\ES,
4062166124Srafan	rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
4063166124Srafan	setaf=\Er%i%p1%d;,
4064166124Srafan	sgr=\ES%?%p1%t\ET%;%?%p2%t\EV%;%?%p3%t\ET%;%?%p4%t\EW%;%?%p6%t\EU%;,
4065166124Srafan	sgr0=\ES, smir=\EY, smso=\ET, smul=\EV, tbc=\Ej,
406650276Speter
4067166124Srafan# vt220 Terminfo entry for the Emu emulation, corresponds to
4068166124Srafan#	emu -term vt220
4069166124Srafan# with NumLock set (to make the keypad transmit kf0-kf9).
4070166124Srafan# fixes: add am, xenl, corrected sgr0 -TD
4071166124Srafanemu-220|Emu-220 (vt200-7bit mode),
4072166124Srafan	am, xenl, xon,
4073166124Srafan	cols#80, it#8, lines#24, vt#200,
4074166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
4075166124Srafan	blink=\E[0;5m, bold=\E[0;1m, civis=\E[?25l,
4076166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
4077166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
4078166124Srafan	cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
4079166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
4080166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dl=\E[%p1%dM, dl1=\E[1M,
4081166124Srafan	ed=\E[0J, el=\E[0K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
4082166124Srafan	hts=\EH, if=/usr/share/tabset/vt300, il=\E[%p1%dL,
4083166124Srafan	il1=\E[1L, ind=\ED, is2=\E>\E[?1l\E[?3l\E[4l\E[?7h,
4084166124Srafan	kbs=^H, kcmd=\E[29~, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4085166124Srafan	kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf0=\EOp, kf1=\EOq,
4086166124Srafan	kf10=\EOl, kf11=\EOm, kf12=\EOn, kf13=\EOP, kf14=\EOQ,
4087166124Srafan	kf15=\EOR, kf16=\EOS, kf2=\EOr, kf26=\E[17~, kf27=\E[18~,
4088166124Srafan	kf28=\E[19~, kf29=\E[20~, kf3=\EOs, kf30=\E[21~,
4089166124Srafan	kf34=\E[26~, kf37=\E[31~, kf38=\E[32~, kf39=\E[33~,
4090166124Srafan	kf4=\EOt, kf40=\E[34~, kf5=\EOu, kf6=\EOv, kf7=\EOw,
4091166124Srafan	kf8=\EOx, kf9=\EOy, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
4092166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, rev=\E[0;7m,
4093166124Srafan	ri=\EM, rmacs=^O, rmcup=\E>, rmkx=\E>, rmso=\E[m, rmul=\E[m,
4094166124Srafan	rs2=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h, sc=\E7,
4095166124Srafan	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%;,
4096166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=,
4097166124Srafan	smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
4098166124Srafan# A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
4099166124Srafan# print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
4100166124Srafan# indicate that it emulates more than one terminal, but incompletely.
4101166124Srafan#
4102166124Srafan# This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
4103166124Srafan# It is based on vt102's entry, with some subtle differences, but also
4104166124Srafan#	has status line
4105166124Srafan#	supports ANSI colors (except for 'op' string)
4106166124Srafan#	apparently implements alternate screen like xterm
4107166124Srafan#	does not use padding, of course.
4108166124Srafanmvterm|vv100|SwitchTerm aka mvTERM,
4109166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
4110166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4111166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4112166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
4113166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4114166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4115166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4116166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4117166124Srafan	dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
4118166124Srafan	fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4119166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
4120166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOy,
4121166124Srafan	kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw,
4122166124Srafan	op=\E[100m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4123166124Srafan	rmcup=\E[2J\E[?47l\E8, rmkx=\E[?1l\E>, rmso=\E[m,
4124166124Srafan	rmul=\E[m,
4125166124Srafan	rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H,
4126166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4127166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4128166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h,
4129166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
4130166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys,
4131166124Srafan
4132166124Srafan### MTERM
4133166124Srafan#
4134166124Srafan# This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
4135166124Srafan#
4136166124Srafan# "mterm -type ansi" sets $TERM to "ansi"
4137166124Srafanmterm-ansi|ANSI emulation,
4138166124Srafan	am, bw, mir, msgr,
4139166124Srafan	it#8,
4140166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4141166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
4142166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
4143166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
4144166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
4145166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
4146166124Srafan	el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=,
4147166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
4148166124Srafan	invis=\E[8m, is2=\E)0\017, kbs=^H, nel=\EE, rev=\E[7m,
4149166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmso=\E[27m,
4150166124Srafan	rmul=\E[24m,
4151166124Srafan	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%;,
4152166124Srafan	sgr0=\E[m, smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m,
4153166124Srafan	vpa=\E[%i%p1%dd,
4154166124Srafan# mterm normally sets $TERM to "mterm"
4155166124Srafanmterm|mouse-sun|Der Mouse term,
4156166124Srafan	am, bw, mir,
4157166124Srafan	it#8,
4158166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^N, cuf1=^S,
4159166124Srafan	cup=\006%p1%d.%p2%d., cuu1=^X, dch1=^Y, dl1=^K, ed=^B, el=^C,
4160166124Srafan	home=^P, ht=^I, il1=^A, ind=^U, kbs=^H, ll=^R, nel=^M^U, ri=^W,
4161166124Srafan	rmir=^O, rmso=^T, smir=^Q, smso=^V,
4162166124Srafan# "mterm -type decansi" sets $TERM to "decansi"
4163166124Srafan#
4164166124Srafan# note: kdch1, kfnd, kslt are in the source code, but do not work -TD
4165166124Srafandecansi|ANSI emulation with DEC compatibility hacks,
4166166124Srafan	am, mir, msgr, xenl,
4167166124Srafan	colors#8, it#8, pairs#64,
4168166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4169166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4170166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
4171166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
4172166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
4173166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4174166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
4175166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E(B\E)0,
4176166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, il=\E[%p1%dL,
4177166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m,
4178166124Srafan	is2=\E)0\E[r\017, kbs=^H, kcub1=\EOD, kcud1=\EOB,
4179166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~,
4180166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
4181166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
4182166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
4183166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
4184166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
4185166124Srafan	kpp=\E[5~, kslt=\E[4~, nel=\EE, op=\E[0m, rc=\E8, rev=\E[7m,
4186166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
4187166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, sc=\E7,
4188166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4189166124Srafan	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%;,
4190166124Srafan	sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
4191166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR,
4192166124Srafan	u7=\E[6n, vpa=\E[%i%p1%dd,
4193166124Srafan
419450276Speter#### MGR
419550276Speter#
419650276Speter# MGR is a Bell Labs window system lighter-weight than X.
4197166124Srafan# These entries describe MGR's xterm-equivalent.
4198166124Srafan# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
419950276Speter#
420050276Speter
4201166124Srafanmgr|Bellcore MGR (non X) window system terminal emulation,
4202166124Srafan	am, km,
4203166124Srafan	bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
4204166124Srafan	csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
4205166124Srafan	cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
4206166124Srafan	dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
4207166124Srafan	dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
4208166124Srafan	ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
4209166124Srafan	il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
4210166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
4211166124Srafan	rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
4212166124Srafan	smul=\E4n,
4213166124Srafanmgr-sun|Mgr window with Sun keyboard,
4214166124Srafan	ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
4215166124Srafan	kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z,
4216166124Srafan	kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
4217166124Srafan	kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
4218166124Srafan	kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
4219166124Srafan	kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
4220166124Srafan	kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr,
4221166124Srafanmgr-linux|Mgr window with Linux keyboard,
4222166124Srafan	ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
4223166124Srafan	kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
4224166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
4225166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4226166124Srafan	khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr,
422750276Speter
422850276Speter######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
422950276Speter#
423050276Speter
4231166124Srafan# Columbus UNIX virtual terminal. This terminal also appears in
4232166124Srafan# UNIX 4.0 and successors as line discipline 1 (?), but is
423350276Speter# undocumented and does not really work quite right.
4234166124Srafancbunix|cb unix virtual terminal,
4235166124Srafan	OTbs, am, da, db,
4236166124Srafan	cols#80, lines#24, lm#0,
4237166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
4238166124Srafan	cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
4239166124Srafan	el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
4240166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
4241166124Srafan	smso=\Ea^D, smul=\Ea^A,
424250276Speter# (vremote: removed obsolete ":nl@:" -- esr)
4243166124Srafanvremote|virtual remote terminal,
4244166124Srafan	am@,
4245166124Srafan	cols#79, use=cbunix,
424650276Speter
4247166124Srafanpty|4bsd pseudo teletype,
4248166124Srafan	cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
4249166124Srafan	smso=\Ea$, smul=\Ea!, use=cbunix,
425050276Speter
4251166124Srafan# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
4252166124Srafaneterm|gnu emacs term.el terminal emulation,
4253166124Srafan	am, mir, xenl,
4254166124Srafan	cols#80, lines#24,
4255166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
4256166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4257166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4258166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4259166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4260166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
4261166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
4262166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
4263166124Srafan	sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
4264166124Srafan	smul=\E[4m,
426550276Speter
4266166124Srafan# Entries for use by the `screen' program by Juergen Weigert,
426762449Speter# Michael Schroeder, Oliver Laumann.  The screen and
426850276Speter# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
426950276Speter# come from University of Wisconsin and may be older.
427050276Speter# (screen: added <cnorm> on ANSI model -- esr)
427162449Speter#
427262449Speter# 'screen' defines extensions to termcap.  Some are used in its terminal
427362449Speter# description:
427462449Speter#      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
427562449Speter#      AX   (bool)  Does  understand ANSI set default fg/bg color
427662449Speter#                   (\E[39m / \E[49m).
427766963Speter#      S0   (str)   Switch charset 'G0' to the specified charset.
427866963Speter#      E0   (str)   Switch charset 'G0' back to standard charset.
427976726Speter#
428076726Speter# tested with screen 3.09.08
4281166124Srafanscreen|VT 100/ANSI X3.64 virtual terminal,
4282166124Srafan	OTbs, OTpt, am, km, mir, msgr, xenl, G0,
4283166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4284166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4285166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
4286166124Srafan	clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
4287166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4288166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4289166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
4290166124Srafan	cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
4291166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
4292166124Srafan	flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4293166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z,
4294166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
4295166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
4296166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
4297166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4298166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
4299166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4300166124Srafan	rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m,
4301166124Srafan	rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7,
4302166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4303166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h,
4304166124Srafan	smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, E0=\E(B,
4305166124Srafan	S0=\E(%p1%c, use=ecma+color,
4306166124Srafan# The bce and status-line entries are from screen 3.9.13 (and require some
4307166124Srafan# changes to .screenrc).
4308166124Srafanscreen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
4309166124Srafan	bce, use=screen,
4310166124Srafanscreen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
4311166124Srafan	dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,
431250276Speter
4313166124Srafan# ======================================================================
4314166124Srafan# Entries for GNU Screen with 16 colors.
4315166124Srafan# Those variations permit to benefit from 16 colors palette, and from
4316166124Srafan# bold font and blink attribute separated from bright colors. But they
4317166124Srafan# are less portable than the generic "screen" 8 color entries: Their
4318166124Srafan# usage makes real sense only if the terminals you attach and reattach
4319166124Srafan# do all support 16 color palette.
4320166124Srafan
4321166124Srafanscreen-16color|GNU Screen with 16 colors,
4322166124Srafan	use=ibm+16color, use=screen,
4323166124Srafan
4324166124Srafanscreen-16color-s|GNU Screen with 16 colors and status line,
4325166124Srafan	use=ibm+16color, use=screen-s,
4326166124Srafan
4327166124Srafanscreen-16color-bce|GNU Screen with 16 colors and BCE,
4328166124Srafan	use=ibm+16color, use=screen-bce,
4329166124Srafan
4330166124Srafanscreen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line,
4331166124Srafan	bce, use=ibm+16color, use=screen-s,
4332166124Srafan
4333166124Srafan# ======================================================================
4334166124Srafan# Entries for GNU Screen 4.02 with --enable-colors256.
4335166124Srafan
4336166124Srafanscreen-256color|GNU Screen with 256 colors,
4337166124Srafan	ccc@,
4338166124Srafan	initc@, use=xterm+256color, use=screen,
4339166124Srafan
4340166124Srafanscreen-256color-s|GNU Screen with 256 colors and status line,
4341166124Srafan	ccc@,
4342166124Srafan	initc@, use=xterm+256color, use=screen-s,
4343166124Srafan
4344166124Srafanscreen-256color-bce|GNU Screen with 256 colors and BCE,
4345166124Srafan	ccc@,
4346166124Srafan	initc@, use=xterm+256color, use=screen-bce,
4347166124Srafan
4348166124Srafanscreen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line,
4349166124Srafan	bce, ccc@,
4350166124Srafan	initc@, use=xterm+256color, use=screen-s,
4351166124Srafan
4352166124Srafan# ======================================================================
4353166124Srafan
435476726Speter# Read the fine manpage:
435576726Speter#       When  screen  tries  to  figure  out  a  terminal name for
435676726Speter#       itself, it first looks for an entry named "screen.<term>",
435776726Speter#       where  <term>  is the contents of your $TERM variable.  If
435876726Speter#       no such entry exists, screen tries "screen" (or "screen-w"
435976726Speter#       if the terminal is wide (132 cols or more)).  If even this
436076726Speter#       entry cannot be found, "vt100" is used as a substitute.
436176726Speter#
436276726Speter# Here are a few customized entries which are useful -TD
436376726Speter#
436476726Speter# Notes:
436576726Speter# (a)	screen does not support invis.
436676726Speter# (b)	screen's implementation of bw is incorrect according to tack.
436776726Speter# (c)	screen appears to hardcode the strings for khome/kend, making it
436876726Speter#	necessary to override the "use=" clause's values.
436976726Speter# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
437076726Speter#	which is NOT the same as the terminfo screen.<term>.
437176726Speter# (e)	when screen finds one of these customized entries, it sets $TERM to
437276726Speter#	match.  Hence, no "screen.xterm" entry is provided, since that would
437376726Speter#	create heartburn for people running remote xterm's.
437476726Speter#
437576726Speter#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
437676726Speter#	since the default translations override the built-in keycode
437776726Speter#	translation.  They are suppressed here to show what is tested by tack.
4378166124Srafanscreen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
4379166124Srafan	bce@, bw,
4380166124Srafan	invis@, kIC@, kNXT@, kPRV@, kend=\E[4~, khome=\E[1~, meml@,
4381166124Srafan	memu@,
4382166124Srafan	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
4383166124Srafan	use=xterm-new,
438476726Speter# xterm-r6 does not really support khome/kend unless it is propped up by
438576726Speter# the translations resource.
4386166124Srafanscreen.xterm-r6|screen customized for X11R6 xterm,
4387166124Srafan	bw, use=xterm-r6,
438876726Speter# Color applications running in screen and TeraTerm do not play well together
4389166124Srafan# on Solaris because Sun's curses implementation gets confused.
4390166124Srafanscreen.teraterm|disable ncv in teraterm,
4391166124Srafan	ncv#127,
4392166124Srafan	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,
4393166124Srafan	use=screen,
4394166124Srafan# fix the backspace key
4395166124Srafanscreen.linux|screen in linux console,
4396166124Srafan	bw,
4397166124Srafan	kbs=\177, kcbt@, use=screen,
439876726Speter
4399166124Srafanscreen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
4400166124Srafan	cols#132, use=screen,
440150276Speter
4402166124Srafanscreen2|old VT 100/ANSI X3.64 virtual terminal,
4403166124Srafan	cols#80, it#8, lines#24,
4404166124Srafan	cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
4405166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
4406166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4407166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4408166124Srafan	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
4409166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
4410166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
4411166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
4412166124Srafan	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
4413166124Srafan	rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
4414166124Srafan	smso=\E[3m, smul=\E[4m, tbc=\E[3g,
441550276Speter# (screen3: removed unknown ":xv:LP:G0:" -- esr)
4416166124Srafanscreen3|older VT 100/ANSI X3.64 virtual terminal,
4417166124Srafan	km, mir, msgr,
4418166124Srafan	cols#80, it#8, lines#24,
4419166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
4420166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4421166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4422166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
4423166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4424166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4425166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
4426166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
4427166124Srafan	kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
4428166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
4429166124Srafan	sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
4430166124Srafan	smul=\E[4m, tbc=\E[3g,
443150276Speter
443250276Speter# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
443350276Speter# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
443450276Speter# been maintained until recently by the National Center for Supercomputer
443550276Speter# Applications, and it is feature rich, stable and free.  It can be downloaded
443650276Speter# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
443750276Speter# xterm+sl, and the docs at NCSA.  It works well.
443850276Speter#
443950276Speter# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
444050276Speter# The terminal options should be set as follows:
444150276Speter#         Xterm sequences ON
444250276Speter#         use VT wrap mode ON
444350276Speter#         use Emacs arrow keys OFF
444450276Speter#         CTRL-COMND is Emacs meta ON
444550276Speter#         8 bit mode ON
444650276Speter#         answerback string: "ncsa-vt220-8"
444750276Speter#         setup keys: all disabled
444850276Speter#
444956639Speter# Application mode is not used.
445050276Speter#
445150276Speter# Other special mappings:
445250276Speter#	Apple		VT220
445350276Speter#	HELP 		Find
445450276Speter#	HOME		Insert here
445550276Speter#	PAGEUP		Remove
445650276Speter#	DEL		Select
445750276Speter#	END		Prev Screen
445850276Speter#	PAGEDOWN	Next Screen
445950276Speter#
446050276Speter# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
446150276Speter# text.
446250276Speter#
446350276Speter# The status-line manipulation is a mapping of the xterm-compatible control
446450276Speter# sequences for setting the window-title.  So you must use tsl and fsl in
446550276Speter# pairs, since the latter ends the string that is loaded to the window-title.
4466166124Srafanncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4467166124Srafan	am, hs, km, mir, msgr, xenl,
4468166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4469166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4470166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
4471166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4472166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4473166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4474166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4475166124Srafan	dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
4476166124Srafan	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
4477166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
4478166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
4479166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
4480166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4481166124Srafan	kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
4482166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
4483166124Srafan	kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
4484166124Srafan	kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
4485166124Srafan	khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
4486166124Srafan	rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
4487166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
4488166124Srafan	rmso=\E[27m, rmul=\E[24m,
4489166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
4490166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
4491166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
4492166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
4493166124Srafan	u8=\E[?62;1;6c, use=ansi+enq,
4494166124Srafanncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4495166124Srafan	use=ncsa-m, use=klone+color,
4496166124Srafanncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4497166124Srafan	hs@,
4498166124Srafan	dsl@, fsl@, tsl@, use=ncsa,
4499166124Srafanncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4500166124Srafan	hs@,
4501166124Srafan	dsl@, fsl@, tsl@, use=ncsa-m,
450256639Speter# alternate -TD:
450356639Speter# The documented function-key mapping refers to the Apple Extended Keyboard
450456639Speter# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
450556639Speter# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
450656639Speter# some keyboards and many applications require these as F1-F4.
450756639Speter#
4508166124Srafanncsa-vt220|NCSA Telnet using vt220-compatible function keys,
4509166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
4510166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
4511166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
4512166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
4513166124Srafan	kf8=\E[19~, kf9=\E[20~, use=ncsa,
451450276Speter
451550276Speter#### Pilot Pro Palm-Top
451650276Speter#
451766963Speter# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4518166124Srafan# http://www.ai/~iang/TGssh/
4519166124Srafanpilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
4520166124Srafan	OTbs, am, xenl,
4521166124Srafan	cols#39, lines#16,
4522166124Srafan	bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
4523166124Srafan	cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
4524166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
4525166124Srafan	rmso=\EB, smso=\Eb,
452650276Speter
452797049Speter# From: Federico Bianchi <bianchi@www.arte.unipi.it>
452897049Speter# These entries are for the Embeddable Linux Kernel System (ELKS)
452997049Speter# project - an heavily stripped down Linux to be run on 16 bit
453097049Speter# boxes or, eventually, to be used in embedded systems - and have been
453197049Speter# adapted from the stock ELKS termcap. The project itself looks stalled,
453297049Speter# and the latest improvements I know of date back to March 2000.
453397049Speter#
453497049Speter# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
453597049Speter# as an added bonus, this deals with all the capabilities common to
453697049Speter# both VT52 and ANSI (or, eventually, "special") modes.
453797049Speter
4538166124Srafanelks-glasstty|ELKS glass-TTY capabilities,
4539166124Srafan	OTbs, am,
4540166124Srafan	cols#80, it#8, lines#25,
4541166124Srafan	bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
4542166124Srafan	nel=^M^J,
454397049Speter
4544166124Srafanelks-vt52|ELKS vt52 console,
4545166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
4546166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK,
4547166124Srafan	home=\EH, use=elks-glasstty,
454897049Speter
4549166124Srafanelks-ansi|ELKS ANSI console,
4550166124Srafan	clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
4551166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4552166124Srafan	rmso=\E[m, smso=\E[7m, use=elks-glasstty,
455397049Speter
455497049Speter# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
455597049Speter# instead of VT52, but the "elks" entry still refers to the latter.
455697049Speter
4557166124Srafanelks|default ELKS console,
4558166124Srafan	use=elks-vt52,
455997049Speter
456097049Speter# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
456197049Speter# one but in screen size
456297049Speter
4563166124Srafansibo|ELKS SIBO console,
4564166124Srafan	cols#61, it#8, lines#20, use=elks-vt52,
456597049Speter
456650276Speter######## COMMERCIAL WORKSTATION CONSOLES
456750276Speter#
456850276Speter
456950276Speter#### Alpha consoles
457050276Speter#
457150276Speter
457250276Speter# This is from the OSF/1 Release 1.0 termcap file
4573166124Srafanpccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
4574166124Srafan	am, xon,
4575166124Srafan	cols#80, lines#25,
4576166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4577166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
4578166124Srafan	el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
4579166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
4580166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
458150276Speter
458250276Speter#### Sun consoles
458350276Speter#
458450276Speter
458550276Speter# :is1: resets scrolling region in case a previous user had used "tset vt100"
4586166124Srafanoldsun|Sun Microsystems Workstation console,
4587166124Srafan	OTbs, am, km, mir, msgr,
4588166124Srafan	cols#80, it#8, lines#34,
4589166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
4590166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4591166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4592166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4593166124Srafan	is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4594166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
4595166124Srafan	rmso=\E[m, sgr0=\E[m, smso=\E[7m,
459650276Speter# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
459750276Speter# <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
459850276Speter# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
4599166124Srafansun-il|Sun Microsystems console with working insert-line,
4600166124Srafan	am, km, msgr,
4601166124Srafan	cols#80, lines#34,
4602166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4603166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4604166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4605166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4606166124Srafan	kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4607166124Srafan	kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
4608166124Srafan	kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
4609166124Srafan	kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
4610166124Srafan	kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
4611166124Srafan	knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
4612166124Srafan	kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
4613166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m, smso=\E[7m,
4614166124Srafan	u8=\E[1t, u9=\E[11t,
461562449Speter# On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
461662449Speter# flake out on the last line.  Unfortunately, without them the terminal has no
461762449Speter# way to scroll.
4618166124Srafansun-cgsix|sun-ss5|Sun SparcStation 5 console,
4619166124Srafan	il@, il1@, use=sun-il,
462050276Speter# If you are using an SS5, change the sun definition to use sun-ss5.
4621166124Srafansun|sun1|sun2|Sun Microsystems Inc. workstation console,
4622166124Srafan	use=sun-il,
462350276Speter
462450276Speter# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
4625166124Srafansun-s|Sun Microsystems Workstation window with status line,
4626166124Srafan	hs,
4627166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
4628166124Srafansun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
4629166124Srafan	hs,
4630166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
4631166124Srafansun-48|Sun 48-line window,
4632166124Srafan	cols#80, lines#48, use=sun,
4633166124Srafansun-34|Sun 34-line window,
4634166124Srafan	cols#80, lines#34, use=sun,
4635166124Srafansun-24|Sun 24-line window,
4636166124Srafan	cols#80, lines#24, use=sun,
4637166124Srafansun-17|Sun 17-line window,
4638166124Srafan	cols#80, lines#17, use=sun,
4639166124Srafansun-12|Sun 12-line window,
4640166124Srafan	cols#80, lines#12, use=sun,
4641166124Srafansun-1|Sun 1-line window for sysline,
4642166124Srafan	eslok, hs,
4643166124Srafan	cols#80, lines#1,
4644166124Srafan	dsl=^L, fsl=\E[K, tsl=^M, use=sun,
4645166124Srafansun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
4646166124Srafan	ich1@, rmir@, smir@, use=sun,
4647166124Srafansun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
4648166124Srafan	lines#35,
4649166124Srafan	rmcup=\E[>4h, smcup=\E[>4l, use=sun,
4650166124Srafansun-type4|Sun Workstation console with type 4 keyboard,
4651166124Srafan	kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z,
4652166124Srafan	kcuu1=\E[215z, use=sun-il,
465350276Speter
4654166124Srafan# Most of the current references to sun-color are from users wondering why this
4655166124Srafan# is the default on install.  Details from reading the wscons manpage, adding
4656166124Srafan# cub, etc., here (rather than in the base sun-il entry) since it is not clear
4657166124Srafan# when those were added -TD
4658166124Srafansun-color|Sun Microsystems Workstation console with color support (IA systems),
4659166124Srafan	colors#8, pairs#64,
4660166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
4661166124Srafan	cuu=\E[%p1%dA, home=\E[H, op=\E[m\E[p, setab=\E[4%p1%dm,
4662166124Srafan	setaf=\E[3%p1%dm,
4663166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4664166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4665166124Srafan	use=sun,
4666166124Srafan
466750276Speter#### Iris consoles
466850276Speter#
466950276Speter
467050276Speter# (wsiris: this had extension capabilities
467150276Speter#	:HS=\E7F2:HE=\E7F7:\
467250276Speter#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
4673166124Srafan# See the note on Iris extensions near the end of this file.
4674166124Srafan# Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
467550276Speter# <flash> from BRL -- esr)
4676166124Srafanwsiris|iris40|iris emulating a 40 line visual 50 (approximately),
4677166124Srafan	OTbs, OTnc, OTpt, am,
4678166124Srafan	OTkn#3, cols#80, it#8, lines#40,
4679166124Srafan	OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
4680166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
4681166124Srafan	cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
4682166124Srafan	flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
4683166124Srafan	ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
4684166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
4685166124Srafan	kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
4686166124Srafan	rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
4687166124Srafan	smul=\E7R2\E9P,
468850276Speter
468950276Speter#### NeWS consoles
469050276Speter#
469150276Speter# Console terminal windows under the NeWS (Sun's Display Postscript windowing
469250276Speter# environment).   Note: these have nothing to do with Sony's News workstation
469350276Speter# line.
469450276Speter#
469550276Speter
469650276Speter# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
469750276Speter# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
4698166124Srafanpsterm|psterm-basic|NeWS psterm-80x34,
4699166124Srafan	OTbs, am, hs, km, ul,
4700166124Srafan	cols#80, it#8, lines#34,
4701166124Srafan	blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
4702166124Srafan	cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
4703166124Srafan	dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
4704166124Srafan	home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
4705166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
4706166124Srafan	ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
4707166124Srafan	sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
4708166124Srafan	tsl=\EOl,
4709166124Srafanpsterm-96x48|NeWS psterm 96x48,
4710166124Srafan	cols#96, lines#48, use=psterm,
4711166124Srafanpsterm-90x28|NeWS psterm 90x28,
4712166124Srafan	cols#90, lines#28, use=psterm,
4713166124Srafanpsterm-80x24|NeWS psterm 80x24,
4714166124Srafan	cols#80, lines#24, use=psterm,
471550276Speter# This is a faster termcap for psterm.  Warning:  if you use this termcap,
471650276Speter# some control characters you type will do strange things to the screen.
471750276Speter# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
4718166124Srafanpsterm-fast|NeWS psterm fast version (flaky ctrl chars),
4719166124Srafan	OTbs, am, hs, km, ul,
4720166124Srafan	cols#80, it#8, lines#34,
4721166124Srafan	blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
4722166124Srafan	cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
4723166124Srafan	dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
4724166124Srafan	il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4725166124Srafan	kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
4726166124Srafan	rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
4727166124Srafan	smso=^Oo, smul=^Ou, tsl=^Ol,
472850276Speter
472950276Speter#### NeXT consoles
473050276Speter#
473150276Speter# Use `glasstty' for the Workspace application
473250276Speter#
473350276Speter
473450276Speter# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
4735166124Srafannext|NeXT console,
4736166124Srafan	am, xt,
4737166124Srafan	cols#80, it#8, lines#24,
4738166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4739166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4740166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
4741166124Srafan	rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
4742166124Srafannextshell|NeXT Shell application,
4743166124Srafan	am,
4744166124Srafan	cols#80,
4745166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
4746166124Srafan	kcud1=^J, nel=^M^J,
474750276Speter
474850276Speter#### Sony NEWS workstations
474950276Speter#
475050276Speter
475150276Speter# (news-unk: this had :KB=news: -- esr)
4752166124Srafannews-unk|SONY NEWS vt100 emulator common entry,
4753166124Srafan	OTbs, OTpt, am, xenl,
4754166124Srafan	cols#80,
4755166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
4756166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4757166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
4758166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I,
4759166124Srafan	if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
4760166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
4761166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
4762166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
4763166124Srafan	kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
4764166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4765166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
4766166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
476750276Speter#
476850276Speter# (news-29: this had :TY=ascii: --esr)
4769166124Srafannews-29,
4770166124Srafan	lines#29, use=news-unk,
477150276Speter# (news-29-euc: this had :TY=euc: --esr)
4772166124Srafannews-29-euc,
4773166124Srafan	use=news-29,
477450276Speter# (news-29-sjis: this had :TY=sjis: --esr)
4775166124Srafannews-29-sjis,
4776166124Srafan	use=news-29,
477750276Speter#
477850276Speter# (news-33: this had :TY=ascii: --esr)
4779166124Srafannews-33,
4780166124Srafan	lines#33, use=news-unk,
478150276Speter# (news-33-euc: this had :TY=euc: --esr)
4782166124Srafannews-33-euc,
4783166124Srafan	use=news-33,
478450276Speter# (news-33-sjis: this had :TY=sjis: --esr)
4785166124Srafannews-33-sjis,
4786166124Srafan	use=news-33,
478750276Speter#
478850276Speter# (news-42: this had :TY=ascii: --esr)
4789166124Srafannews-42,
4790166124Srafan	lines#42, use=news-unk,
479150276Speter# (news-42-euc: this had :TY=euc: --esr)
4792166124Srafannews-42-euc,
4793166124Srafan	use=news-42,
479450276Speter# (news-42-sjis: this had :TY=sjis: --esr)
4795166124Srafannews-42-sjis,
4796166124Srafan	use=news-42,
479750276Speter#
4798166124Srafan#	NEWS-OS old termcap entry
479950276Speter#
480050276Speter# (news-old-unk: this had :KB=news:TY=sjis: --esr)
4801166124Srafannews-old-unk|SONY NEWS vt100 emulator common entry,
4802166124Srafan	OTbs, OTpt, am, xenl,
4803166124Srafan	cols#80, vt#3,
4804166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
4805166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4806166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
4807166124Srafan	home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H,
4808166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
4809166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
4810166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4811166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
4812166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
481350276Speter#
481450276Speter# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
4815166124Srafannwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
4816166124Srafan	OTbs,
4817166124Srafan	lines#40,
4818166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4819166124Srafan	use=news-old-unk,
482050276Speter#
482150276Speter# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4822166124Srafannwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
4823166124Srafan	lines#42,
4824166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8,
4825166124Srafan	use=news-old-unk,
482650276Speter#
482750276Speter# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
4828166124Srafannwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
4829166124Srafan	OTbs,
4830166124Srafan	lines#40,
4831166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4832166124Srafan	use=news-old-unk,
483350276Speter#
483450276Speter# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4835166124Srafannwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
4836166124Srafan	OTbs,
4837166124Srafan	lines#31,
4838166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4839166124Srafan	use=news-old-unk,
484050276Speter#
484150276Speter# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
484250276Speter# also the alias vt100-bm.
4843166124Srafannwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines,
4844166124Srafan	OTbs,
4845166124Srafan	lines#33,
4846166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8,
4847166124Srafan	use=news-old-unk,
484850276Speter#
484950276Speter# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
4850166124Srafannwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
4851166124Srafan	OTbs,
4852166124Srafan	lines#31,
4853166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4854166124Srafan	use=news-old-unk,
485550276Speter#
485650276Speter# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
4857166124Srafannews28|sony vt100 emulator 28 lines,
4858166124Srafan	OTbs,
4859166124Srafan	lines#28,
4860166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8,
4861166124Srafan	use=news-old-unk,
486250276Speter#
486350276Speter# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
4864166124Srafannews29|news28-a|sony vt100 emulator 29 lines,
4865166124Srafan	lines#29,
4866166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8,
4867166124Srafan	use=news-old-unk,
486850276Speter#
486950276Speter# (news511: this had :TY=sjis: --esr)
4870166124Srafannwp511|nwp-511|nwp-511 vt100,
4871166124Srafan	OTbs, OTpt, am, xenl,
4872166124Srafan	cols#80, lines#24,
4873166124Srafan	clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
4874166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
4875166124Srafan	ed=\E[J$<30/>, el=\E[K$<3/>,
4876166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
4877166124Srafan	il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
4878166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
4879166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
4880166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
4881166124Srafan	rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
4882166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
488350276Speter# (news517: this had :TY=sjis:. --esr)
4884166124Srafannwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
4885166124Srafan	eslok, hs,
4886166124Srafan	cols#80, lines#30,
4887166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
4888166124Srafan	is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
4889166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
489050276Speter# (news517-w: this had :TY=sjis:. --esr)
4891166124Srafannwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
4892166124Srafan	eslok, hs,
4893166124Srafan	cols#132, lines#50,
4894166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
4895166124Srafan	is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
4896166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
4897166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
489850276Speter
489950276Speter#### Common Desktop Environment
490050276Speter#
490150276Speter
490250276Speter# This ships with Sun's CDE in Solaris 2.5
490350276Speter# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
4904166124Srafandtterm|CDE desktop terminal,
4905166124Srafan	am, mir, msgr, xenl, xon,
4906166124Srafan	cols#80, it#8, lines#24, lm#0, ncv@,
4907166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4908166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4909166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
4910166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4911166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4912166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4913166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
4914166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
4915166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
4916166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
4917166124Srafan	ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
4918166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4919166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
4920166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
4921166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
4922166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
4923166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4924166124Srafan	kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
4925166124Srafan	kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4926166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m,
4927166124Srafan	sc=\E7,
4928166124Srafan	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%;,
4929166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
4930166124Srafan	smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color,
493150276Speter
493250276Speter#### Non-Unix Consoles
493350276Speter#
493450276Speter
4935166124Srafan### EMX termcap.dat compatibility modes
4936166124Srafan#
4937166124Srafan# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
4938166124Srafan#		ka1,kh		kcuu1		kpp,ka3
4939166124Srafan#
4940166124Srafan#		Left=\0K	5=\0L		Right=\0M
4941166124Srafan#		kcub1		kb2		kcuf1
4942166124Srafan#
4943166124Srafan#		End=\0O		Down=\0P	NxPag=\0Q
4944166124Srafan#		kc1,kend	kcud1		kc3,knp
4945166124Srafan#
4946166124Srafan#		Ins=\0R		Del=\0S
4947166124Srafan#		kich1		kdch1
4948166124Srafan#
4949166124Srafan# On keyboard with 12 function keys,
4950166124Srafan#	shifted f-keys: F13-F24
4951166124Srafan#	control f-keys: F25-F36
4952166124Srafan#	alt f-keys:     F37-F48
4953166124Srafan# The shift/control/alt keys do not modify each other, but alt overrides both,
4954166124Srafan# and control overrides shift.
4955166124Srafan#
4956166124Srafan# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
4957166124Srafan# no_color_video to inform the application that standout(1), underline(2)
4958166124Srafan# reverse(4) and invisible(64) don't work with color.
4959166124Srafanemx-base|DOS special keys,
4960166124Srafan	bce, bw,
4961166124Srafan	it#8, ncv#71,
4962166124Srafan	bel=^G, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q,
4963166124Srafan	kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
4964166124Srafan	kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205,
4965166124Srafan	kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W,
4966166124Srafan	kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\,
4967166124Srafan	kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_,
4968166124Srafan	kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d,
4969166124Srafan	kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212,
4970166124Srafan	kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l,
4971166124Srafan	kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
4972166124Srafan	kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
4973166124Srafan	kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
4974166124Srafan	use=ansi.sys,
4975166124Srafan
497650276Speter# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
497750276Speter# a Unix-style environment used on OS/2.  (Note that the suffix makes some
497850276Speter# names longer than 14 characters, the nominal maximum).
497950276Speter#
498050276Speter# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
4981166124Srafanansi-emx|ANSI.SYS color,
4982166124Srafan	am, bce, eo, mir, msgr, xon,
4983166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
4984166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4985166124Srafan	clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
4986166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
4987166124Srafan	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
4988166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
4989166124Srafan	kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
4990166124Srafan	rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
4991166124Srafan	rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
4992166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4993166124Srafan	sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
4994166124Srafan	smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
4995166124Srafan	u9=\E[c, use=emx-base,
4996166124Srafan# nice colors for Emacs (white on blue, mode line white on cyan)
4997166124Srafanansi-color-2-emx|ANSI.SYS color 2,
4998166124Srafan	clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
4999166124Srafan	rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec,
5000166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m,
5001166124Srafan	smul=\E[1;36;44m, use=ansi-emx,
5002166124Srafan# nice colors for Emacs (white on black, mode line black on cyan)
5003166124Srafanansi-color-3-emx|ANSI.SYS color 3,
5004166124Srafan	clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m,
5005166124Srafan	rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec,
5006166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m,
5007166124Srafan	smul=\E[0;36;40m, use=ansi-emx,
5008166124Srafanmono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
5009166124Srafan	am,
5010166124Srafan	cols#80, it#8, lines#24,
5011166124Srafan	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
5012166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
5013166124Srafan	ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
5014166124Srafan	kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
5015166124Srafan	kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
5016166124Srafan	kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
5017166124Srafan	sgr0=\E[0m,
501850276Speter
501956639Speter# Use this for cygwin32 (tested with beta 19.1)
502056639Speter# underline is colored bright magenta
502156639Speter# shifted kf1-kf12 are kf11-kf22
5022166124SrafancygwinB19|ansi emulation for cygwin32,
5023166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5024166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5025166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5026166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5027166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5028166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5029166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
5030166124Srafan	use=ansi.sys,
503156639Speter
503276726Speter# Use this for cygwin (tested with version 1.1.0).
503376726Speter# I've combined pcansi and linux.  Some values of course were different and
503476726Speter# I've indicated which of these were and which I used.
503576726Speter# Cheers, earnie_boyd@yahoo.com
503676726Speter# several changes based on running with tack and comparing with older entry -TD
5037166124Srafan# more changes from csw:
5038166124Srafan#   add    cbt   [backtab]
5039166124Srafan#   remove eo    [erase overstrike with blank]
5040166124Srafan#   change clear was \E[H\E[J  now \E[2J  (faster?)
5041166124Srafan#   remove cols
5042166124Srafan#   remove lines
5043166124Srafan#   remove ncv#3 [colors collide with highlights, bitmask] not applicable
5044166124Srafan#                to MSDOS box?
5045166124Srafan#   add    cub   [cursor back param]
5046166124Srafan#   add    cuf   [cursor forward param]
5047166124Srafan#   add    cuu   [cursor up param]
5048166124Srafan#   add    cud   [cursor down param]
5049166124Srafan#   add    hs    [has status line]
5050166124Srafan#   add    fsl   [return from status line]
5051166124Srafan#   add    tsl   [go to status line]
5052166124Srafan#   add    smacs [Start alt charset] (not sure if this works)
5053166124Srafan#   add    rmacs [End alt charset]   (ditto)
5054166124Srafan#   add    smcup [enter_ca_mode] (save console; thanks Corinna)
5055166124Srafan#   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
5056166124Srafan#   add    kb2   [center of keypad]
5057166124Srafan#   add    u8    [user string 8] \E[?6c
5058166124Srafan#   add    el    [clear to end of line] \E[K
5059166124Srafan# Notes:
5060166124Srafan#   cnorm [make cursor normal] not implemented
5061166124Srafan#   flash [flash] not implemented
5062166124Srafan#   blink [blink] not implemented very usefully in cygwin? \E[5m
5063166124Srafan#   dim   [dim] not implemented very usefully in cygwin? \E[2m
5064166124Srafan#   cub1  [cursor back 1] typically \E[D, but ^H is faster?
5065166124Srafan#   kNXT  [shifted next key] not implemented
5066166124Srafan#   kPRV  [shifted prev key] not implemented
5067166124Srafan#   khome [home key] really is \E[1~ NOT \E[H
5068166124Srafan#   tbc   [clear tab stops] not implemented
5069166124Srafan#   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
5070166124Srafan#   smpch [Start PC charset] is \E[11m, same as smacs
5071166124Srafan#   rmpch [End PC charset] is \E[10m, same as rmacs
5072166124Srafan#   mir   [move in insert mode] fails in tack?
5073166124Srafan#   bce   [back color erase] causes problems with change background color?
5074166124Srafan#   cvvis [make cursor very visible] causes a stackdump when testing with
5075166124Srafan#         testcurs using the output option? \E[?25h\E[?8c
5076166124Srafan#   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
5077166124Srafan#   ech   [erase characters param] broken \E[%p1%dX
5078166124Srafan#   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
5079166124Srafan#
5080166124Srafan# 2005/11/12 -TD
5081166124Srafan#	Remove cbt since it does not work in current cygwin
5082166124Srafan#	Add 'mir' and 'in' flags based on tack
5083166124Srafancygwin|ansi emulation for Cygwin,
5084166124Srafan	am, hs, mir, msgr, xon,
5085166124Srafan	colors#8, it#8, pairs#64,
5086166124Srafan	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,
5087166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD,
5088166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5089166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5090166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5091166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, home=\E[H,
5092166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
5093166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
5094166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5095166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5096166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5097166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5098166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5099166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5100166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
5101166124Srafan	nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
5102166124Srafan	rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
5103166124Srafan	rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
5104166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5105166124Srafan	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,
5106166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h,
5107166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
5108166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq,
510976726Speter
5110166124Srafan# I've supplied this so that you can help test new values and add other
5111166124Srafan# features.  Cheers, earnie_boyd@yahoo.com.
5112166124Srafan#
5113166124Srafan# Some features are from pcansi.  The op value is from linux.  Function-keys
5114166124Srafan# are from linux.  These have been tested not to cause problems.  xenl was in
5115166124Srafan# this list, but DOES cause problems so it has been removed
5116166124SrafancygwinDBG|Debug Version for Cygwin,
5117166124Srafan	am, eo, mir, msgr, xon,
5118166124Srafan	colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
5119166124Srafan	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,
5120166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
5121166124Srafan	cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
5122166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5123166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5124166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
5125166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
5126166124Srafan	flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
5127166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5128166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
5129166124Srafan	kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5130166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
5131166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
5132166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
5133166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
5134166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5135166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5136166124Srafan	knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
5137166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
5138166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5139166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5140166124Srafan	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,
5141166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
5142166124Srafan	smul=\E[4m, tbc=\E[2g, vpa=\E[%i%p1%dd, use=vt102+enq,
5143166124Srafan
5144166124Srafan# Key definitions:
5145166124Srafan# The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
5146166124Srafan# encodings used by other x86 environments.  All others are invented for DJGPP.
5147166124Srafan# Oddly enough, while several combinations of modifiers are tabulated, there is
5148166124Srafan# none for shifted cursor keys.
5149166124Srafan#
5150166124Srafan#	F1			\E[[A
5151166124Srafan#	F2			\E[[B
5152166124Srafan#	F3			\E[[C
5153166124Srafan#	F4			\E[[D
5154166124Srafan#	F5			\E[[E
5155166124Srafan#	F6			\E[17~
5156166124Srafan#	F7			\E[18~
5157166124Srafan#	F8			\E[19~
5158166124Srafan#	F9			\E[20~
5159166124Srafan#	F10			\E[21~
5160166124Srafan#	F11			\E[23~
5161166124Srafan#	F12			\E[24~
5162166124Srafan#
5163166124Srafan#	Delete			\E[3~
5164166124Srafan#	Down Arrow		\E[B
5165166124Srafan#	End			\E[4~
5166166124Srafan#	Home			\E[1~
5167166124Srafan#	Insert			\E[2~
5168166124Srafan#	Left Arrow		\E[D
5169166124Srafan#	Page Down		\E[6~
5170166124Srafan#	Page Up			\E[5~
5171166124Srafan#	Right Arrow		\E[C
5172166124Srafan#	Up Arrow		\E[A
5173166124Srafan#
5174166124Srafan#	Shift-F1		\E[25~
5175166124Srafan#	Shift-F2		\E[26~
5176166124Srafan#	Shift-F3		\E[27~
5177166124Srafan#	Shift-F4		\E[28~
5178166124Srafan#	Shift-F5		\E[29~
5179166124Srafan#	Shift-F6		\E[30~
5180166124Srafan#	Shift-F7		\E[31~
5181166124Srafan#	Shift-F8		\E[32~
5182166124Srafan#	Shift-F9		\E[33~
5183166124Srafan#	Shift-F10		\E[34~
5184166124Srafan#	Shift-F11		\E[35~
5185166124Srafan#	Shift-F12		\E[36~
5186166124Srafan#
5187166124Srafan#	Ctrl-F1			\E[47~
5188166124Srafan#	Ctrl-F2			\E[48~
5189166124Srafan#	Ctrl-F3			\E[49~
5190166124Srafan#	Ctrl-F4			\E[50~
5191166124Srafan#	Ctrl-F5			\E[51~
5192166124Srafan#	Ctrl-F6			\E[52~
5193166124Srafan#	Ctrl-F7			\E[53~
5194166124Srafan#	Ctrl-F8			\E[54~
5195166124Srafan#	Ctrl-F9			\E[55~
5196166124Srafan#	Ctrl-F10		\E[56~
5197166124Srafan#	Ctrl-F11		\E[57~
5198166124Srafan#	Ctrl-F12		\E[58~
5199166124Srafan#
5200166124Srafan#	Ctrl-Delete		\E[43~
5201166124Srafan#	Ctrl-Down Arrow		\E[38~
5202166124Srafan#	Ctrl-End		\E[44~
5203166124Srafan#	Ctrl-Home		\E[41~
5204166124Srafan#	Ctrl-Insert		\E[42~
5205166124Srafan#	Ctrl-Left Arrow		\E[39~
5206166124Srafan#	Ctrl-Page Down		\E[46~
5207166124Srafan#	Ctrl-Page Up		\E[45~
5208166124Srafan#	Ctrl-Right Arrow	\E[40~
5209166124Srafan#	Ctrl-Up Arrow		\E[37~
5210166124Srafan#
5211166124Srafan#	Alt-F1			\E[59~
5212166124Srafan#	Alt-F2			\E[60~
5213166124Srafan#	Alt-F3			\E[61~
5214166124Srafan#	Alt-F4			\E[62~
5215166124Srafan#	Alt-F5			\E[63~
5216166124Srafan#	Alt-F6			\E[64~
5217166124Srafan#	Alt-F7			\E[65~
5218166124Srafan#	Alt-F8			\E[66~
5219166124Srafan#	Alt-F9			\E[67~
5220166124Srafan#	Alt-F10			\E[68~
5221166124Srafan#	Alt-F11			\E[79~
5222166124Srafan#	Alt-F12			\E[80~
5223166124Srafan#
5224166124Srafan#	Alt-Delete		\E[65~
5225166124Srafan#	Alt-Down Arrow		\E[60~
5226166124Srafan#	Alt-End			\E[66~
5227166124Srafan#	Alt-Home		\E[41~
5228166124Srafan#	Alt-Insert		\E[64~
5229166124Srafan#	Alt-Left Arrow		\E[61~
5230166124Srafan#	Alt-Page Down		\E[68~
5231166124Srafan#	Alt-Page Up		\E[67~
5232166124Srafan#	Alt-Right Arrow		\E[62~
5233166124Srafan#	Alt-Up Arrow		\E[59~
5234166124Srafan#
5235166124Srafan# Also:
5236166124Srafan#	Alt-A			\E[82~
5237166124Srafan#	Alt-B			\E[82~
5238166124Srafan#	Alt-C			\E[83~
5239166124Srafan#	Alt-D			\E[84~
5240166124Srafan#	Alt-E			\E[85~
5241166124Srafan#	Alt-F			\E[86~
5242166124Srafan#	Alt-G			\E[87~
5243166124Srafan#	Alt-H			\E[88~
5244166124Srafan#	Alt-I			\E[89~
5245166124Srafan#	Alt-J			\E[90~
5246166124Srafan#	Alt-K			\E[91~
5247166124Srafan#	Alt-L			\E[92~
5248166124Srafan#	Alt-M			\E[93~
5249166124Srafan#	Alt-N			\E[94~
5250166124Srafan#	Alt-O			\E[95~
5251166124Srafan#	Alt-P			\E[96~
5252166124Srafan#	Alt-Q			\E[97~
5253166124Srafan#	Alt-R			\E[98~
5254166124Srafan#	Alt-S			\E[99~
5255166124Srafan#	Alt-T			\E[100~
5256166124Srafan#	Alt-U			\E[101~
5257166124Srafan#	Alt-V			\E[102~
5258166124Srafan#	Alt-W			\E[103~
5259166124Srafan#	Alt-X			\E[104~
5260166124Srafan#	Alt-Y			\E[105~
5261166124Srafan#	Alt-Z			\E[106~
5262166124Srafandjgpp|ansi emulation for DJGPP alpha,
5263166124Srafan	am, bce, msgr, xhp, xon, xt,
5264166124Srafan	colors#8, it#8, pairs#64,
5265166124Srafan	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,
5266166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5267166124Srafan	clear=\E[H\E[J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, cub1=^H,
5268166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5269166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5270166124Srafan	cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5271166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
5272166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
5273166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5274166124Srafan	indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D,
5275166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
5276166124Srafan	kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
5277166124Srafan	kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
5278166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5279166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J,
5280166124Srafan	op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m,
5281166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5282166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m,
5283166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
5284166124Srafan
5285166124Srafandjgpp203|Entry for DJGPP 2.03,
5286166124Srafan	OTbs, am,
5287166124Srafan	cols#80, it#8, lines#25,
5288166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
5289166124Srafan	kcud1=^J, nel=^M^J,
5290166124Srafan
5291166124Srafandjgpp204|Entry for DJGPP 2.04,
5292166124Srafan	OTbs, am, AX,
5293166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,
5294166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5295166124Srafan	clear=\E[H\E[2J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD,
5296166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5297166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5298166124Srafan	cuu1=\E[A, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P,
5299166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
5300166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5301166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H,
5302166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5303166124Srafan	kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, kf2=\E[[B,
5304166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5305166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5306166124Srafan	kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m,
5307166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm,
5308166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
5309166124Srafan
5310166124Srafan# This is tested using U/Win's telnet.  Scrolling is omitted because it is
5311166124Srafan# buggy.  Another odd bug appears when displaying "~" in alternate character
5312166124Srafan# set (the emulator spits out error messages).  Compare with att6386 -TD
5313166124Srafanuwin|U/Win 3.2 console,
5314166124Srafan	am, eo, in, msgr, xenl, xon,
5315166124Srafan	colors#8, it#8, ncv#58, pairs#64,
5316166124Srafan	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,
5317166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5318166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J,
5319166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
5320166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
5321166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
5322166124Srafan	ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B,
5323166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[Y, kf1=\EOP,
5324166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR,
5325166124Srafan	kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX,
5326166124Srafan	khome=\E[H, kich1=\E[@, nel=^M^J, op=\E[39;49m, rc=\E8,
5327166124Srafan	rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m,
5328166124Srafan	rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5329166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
5330166124Srafan	smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,
5331166124Srafan	smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
5332166124Srafan
533350276Speter# This entry fits the Windows NT console when the _POSIX_TERM environment
533450276Speter# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
533550276Speter# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
533650276Speter# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
533750276Speter# systems is not, and (surprise!) they match very well.
533850276Speter#
533950276Speter# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
534050276Speter# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
534150276Speter# are the installation instructions a pile of mind-numbing bureaucratese,
534250276Speter# but the termcap entry is actually broken and unusable as given; the :do:
534350276Speter# capability is misspelled "d".
534450276Speter#
5345166124Srafan# To use this, you need to a bunch of environment variables:
534650276Speter#
534750276Speter# SET _POSIX_TERM=on
534850276Speter# SET TERM=ansi
534950276Speter# SET TERMCAP=location of termcap file in POSIX file format
535050276Speter# which is case-sensitive.
535150276Speter# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
535250276Speter# SET TMP=//C/TEMP
535350276Speter#
535450276Speter# Important note: setting the TMP environment variable in POSIX style renders
535550276Speter# it incompatible with a lot of other applications, including Visual C++. So
535650276Speter# you should have a separate command window just for vi. All the other
5357166124Srafan# variables may be permanently set in the Control Panel\System applet.
535850276Speter#
535950276Speter# You can find out more about the restrictions of this facility at
536050276Speter# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
536150276Speter#
536250276Speter# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
5363166124Srafanansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
5364166124Srafan	am, bw, msgr,
5365166124Srafan	cols#80, it#8, lines#25,
5366166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
5367166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
5368166124Srafan	home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
5369166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
5370166124Srafan	ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
537162449Speter# From: jew@venus.sunquest.com
537262449Speter# Date: 19 Feb 93 23:41:07 GMT
537362449Speter# Here's  a  combination of  ansi and  vt100 termcap
537462449Speter# entries   that  works  nearly   perfectly  for  me
537562449Speter# (Gateway 2000 Handbook and Microsoft Works 3.0):
5376166124Srafanpcmw|PC running Microsoft Works,
5377166124Srafan	am, xenl,
5378166124Srafan	cols#80, it#8, lines#24, vt#3,
5379166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
5380166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
5381166124Srafan	cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
5382166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
5383166124Srafan	ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
5384166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
5385166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
5386166124Srafan	rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100,
5387166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
5388166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
5389166124Srafan	sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
5390166124Srafan	tbc=\E[3g$<2/>,
539150276Speter
5392166124Srafan# From: Federico Bianchi
5393166124Srafan# This is the entry for the OpenNT terminal.
5394166124Srafan# The ntconsole name is for backward compatability.
5395166124Srafan# This is for OpenNT 2.0 and later.
5396166124Srafan# Later OpenNT was renamed to Interix.
5397166124Srafan#
5398166124Srafan# Presently it is distributed by Microsoft as Services For Unix (SFU).
5399166124Srafan# The 3.5 beta contains ncurses 4.2 (that is header files and executables,
5400166124Srafan# the documentation dates from 1.9.9e) -TD
5401166124Srafan
5402166124Srafaninterix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
5403166124Srafan	am, bw, msgr,
5404166124Srafan	colors#8, cols#80, lines#25, ncv#3, pairs#64,
5405166124Srafan	acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234,
5406166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD,
5407166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
5408166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5409166124Srafan	cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
5410166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5411166124Srafan	indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5412166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA,
5413166124Srafan	kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD,
5414166124Srafan	kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI,
5415166124Srafan	kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM,
5416166124Srafan	kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR,
5417166124Srafan	kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV,
5418166124Srafan	kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa,
5419166124Srafan	kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe,
5420166124Srafan	kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj,
5421166124Srafan	kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5,
5422166124Srafan	kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt,
5423166124Srafan	kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy,
5424166124Srafan	kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-,
5425166124Srafan	kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9,
5426166124Srafan	kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J,
5427166124Srafan	op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
5428166124Srafan	rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec,
5429166124Srafan	sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5430166124Srafan	setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm,
5431166124Srafan	sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[1m, smul=\E[4m,
5432166124Srafan
5433166124Srafanopennt-35|ntconsole-35|OpenNT-term35 compatible with color,
5434166124Srafan	lines#35, use=opennt,
5435166124Srafan
5436166124Srafanopennt-50|ntconsole-50|OpenNT-term50 compatible with color,
5437166124Srafan	lines#50, use=opennt,
5438166124Srafan
5439166124Srafanopennt-60|ntconsole-60|OpenNT-term60 compatible with color,
5440166124Srafan	lines#60, use=opennt,
5441166124Srafan
5442166124Srafanopennt-100|ntconsole-100|OpenNT-term100 compatible with color,
5443166124Srafan	lines#100, use=opennt,
5444166124Srafan
5445166124Srafan# OpenNT wide terminals
5446166124Srafanopennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color,
5447166124Srafan	cols#125, use=opennt,
5448166124Srafan
5449166124Srafanopennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color,
5450166124Srafan	lines#35, use=opennt-w,
5451166124Srafan
5452166124Srafanopennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color,
5453166124Srafan	lines#50, use=opennt-w,
5454166124Srafan
5455166124Srafanopennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color,
5456166124Srafan	lines#60, use=opennt-w,
5457166124Srafan
5458166124Srafanopennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color,
5459166124Srafan	cols#132, use=opennt,
5460166124Srafan
5461166124Srafan# OpenNT terminals with no smcup/rmcup (names match termcap entries)
5462166124Srafaninterix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color,
5463166124Srafan	rmcup@, smcup@, use=opennt,
5464166124Srafan
5465166124Srafanopennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color,
5466166124Srafan	lines#35, use=opennt-nti,
5467166124Srafan
5468166124Srafanopennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color,
5469166124Srafan	lines#50, use=opennt-nti,
5470166124Srafan
5471166124Srafanopennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color,
5472166124Srafan	lines#60, use=opennt-nti,
5473166124Srafan
5474166124Srafanopennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color,
5475166124Srafan	lines#100, use=opennt-nti,
5476166124Srafan
547750276Speter######## COMMON TERMINAL TYPES
547850276Speter#
547950276Speter# This section describes terminal classes and maker brands that are still
548050276Speter# quite common, but have proprietary command sets not blessed by ANSI.
548150276Speter#
548250276Speter
548350276Speter#### Altos
548450276Speter#
548550276Speter# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
548650276Speter# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
548750276Speter# Acer has a web site at http://www.acer.com.
548850276Speter#
548950276Speter# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
549050276Speter# His comments suggest they were shipped with the system.
549150276Speter#
549250276Speter
549350276Speter# (altos2: had extension capabilities
549450276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
549550276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
549650276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
549750276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
549850276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
549950276Speter#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
550050276Speter#	:HL=^AP\r:SP=\E[i:\
550150276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
550250276Speter#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
550350276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
550450276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
550550276Speter# :sr: was given as a boolean-- esr)
5506166124Srafanaltos2|alt2|altos-2|altos II,
5507166124Srafan	cols#80, it#8, lines#24, xmc#0,
5508166124Srafan	clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
5509166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M,
5510166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
5511166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
5512166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
5513166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
5514166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
5515166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5516166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5517166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5518166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5519166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
5520166124Srafan	nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
5521166124Srafan	smam=\E[?7h, smso=\E[7m, smul=\E[4m,
552250276Speter# (altos3: had extension capabilities
552350276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
552450276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
552550276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
552650276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
552750276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
552850276Speter#	:HL=^AP\r:SP=\E[i:\
552950276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
5530166124Srafanaltos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
5531166124Srafan	blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
5532166124Srafanaltos4|alt4|altos-4|altos IV,
5533166124Srafan	use=wy50,
553450276Speter# (altos7: had extension capabilities:
553550276Speter#	:GG#0:GI=\EH8:GF=\EH7:\
553650276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
553750276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
553850276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
553950276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
554050276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
554150276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
554250276Speter# also made this entry relative to adm12 in order to give it an <sgr>. The
554350276Speter# <invis> imported by use=adm+sgr may work, let me know. -- esr)
5544166124Srafanaltos7|alt7|altos VII,
5545166124Srafan	am, mir,
5546166124Srafan	cols#80, lines#24, xmc#0,
5547166124Srafan	acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
5548166124Srafan	clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
5549166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
5550166124Srafan	dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
5551166124Srafan	ind=^J, invis=\EG1,
5552166124Srafan	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
5553166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
5554166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
5555166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5556166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5557166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5558166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5559166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
5560166124Srafan	knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
5561166124Srafan	rmir=\Er, smir=\Eq, use=adm+sgr,
5562166124Srafanaltos7pc|alt7pc|altos PC VII,
5563166124Srafan	kend=\ET, use=altos7,
556450276Speter
556550276Speter#### Hewlett-Packard (hp)
556650276Speter#
556750276Speter#	Hewlett-Packard
5568166124Srafan#	8000 Foothills Blvd
556950276Speter#	Roseville, CA 95747
557050276Speter#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
557150276Speter#	     1-(800)-633-3600	(General customer support)
557250276Speter#
557362449Speter#
557462449Speter# As of March 1998, HP no longer has any terminals in production.
5575166124Srafan# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
557662449Speter# supported (they still have parts). So are the 2392a and 2394a.
557762449Speter# See the WORKSTATION CONSOLES section for the 700s.
557862449Speter#
557950276Speter
558050276Speter# Generic HP terminal - this should (hopefully) work on any HP terminal.
5581166124Srafanhpgeneric|hp|hewlett-packard generic terminal,
5582166124Srafan	OTbs, OTpt, am, da, db, mir, xhp,
5583166124Srafan	cols#80, lines#24, lm#0, vt#6,
5584166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5585166124Srafan	cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
5586166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
5587166124Srafan	ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
5588166124Srafan	sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
5589166124Srafan	vpa=\E&a%p1%dY,
559050276Speter
5591166124Srafanhp110|hewlett-packard model 110 portable,
5592166124Srafan	lines#16, use=hpgeneric,
559350276Speter
5594166124Srafanhp+pfk+cr|hp function keys with CR,
5595166124Srafan	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
5596166124Srafan	kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
559750276Speter
5598166124Srafanhp+pfk-cr|hp function keys w/o CR,
5599166124Srafan	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
5600166124Srafan	kf8=\Ew,
560150276Speter
5602166124Srafan# The hp2621s use the same keys for the arrows and function keys,
5603166124Srafan# but not separate escape sequences. These definitions allow the
5604166124Srafan# user to use those keys as arrow keys rather than as function
560550276Speter# keys.
5606166124Srafanhp+pfk+arrows|hp alternate arrow definitions,
5607166124Srafan	kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
5608166124Srafan	kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
5609166124Srafan	kll=\Eq\r, kri=\Es\r,
561050276Speter
5611166124Srafanhp+arrows|hp arrow definitions,
5612166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
5613166124Srafan	kind=\ES, kll=\EF, kri=\ET,
561450276Speter
561550276Speter# Generic stuff from the HP 262x series
561650276Speter#
5617166124Srafanhp262x|HP 262x terminals,
5618166124Srafan	xhp,
5619166124Srafan	blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
5620166124Srafan	invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5621166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5622166124Srafan	kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
5623166124Srafan	krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
5624166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
5625166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
562650276Speter
562750276Speter# Note: no <home> on HPs since that homes to top of memory, not screen.
562850276Speter# Due to severe 2621 braindamage, the only way to get the arrow keys to
562950276Speter# transmit anything at all is to turn on the function key labels
563050276Speter# with <smkx>, and even then the user has to hold down shift!
5631166124Srafan# The default 2621 turns off the labels except when it has to to
5632166124Srafan# enable the function keys. If your installation prefers labels
5633166124Srafan# on all the time, or off all the time (at the "expense" of the
563450276Speter# function keys), use 2621-nl or 2621-wl.
5635166124Srafan#
5636166124Srafan# Note: there are newer ROMs for 2621's that allow you to set
5637166124Srafan# strap A so the regular arrow keys xmit \EA, etc, as with the
5638166124Srafan# 2645. However, even with this strap set, the terminal stops
563950276Speter# xmitting if you reset it, until you unset and reset the strap!
5640166124Srafan# Since there is no way to set/unset the strap with an escape
564150276Speter# sequence, we don't use it in the default.
564250276Speter# If you like, you can use 2621-ba (brain-damaged arrow keys).
5643166124Srafanhp2621-ba|2621 w/new rom and strap A set,
5644166124Srafan	rmkx@, smkx@, use=hp+arrows, use=hp2621,
564550276Speter
564650276Speter# hp2621 with function labels. Most of the time they are off,
564750276Speter# but inside vi, the function key labels appear. You have to
564850276Speter# hold down shift to get them to xmit.
5649166124Srafanhp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
5650166124Srafan	is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
5651166124Srafanhp2621-fl|hp 2621,
5652166124Srafan	xhp@, xon,
5653166124Srafan	pb#19200,
5654166124Srafan	cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
5655166124Srafan	ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
5656166124Srafan	sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
5657166124Srafan	use=hp+pfk+cr, use=hpgeneric,
565850276Speter
565950276Speter# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
5660166124Srafanhp2621p|hp 2621 with printer,
5661166124Srafan	mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
566250276Speter
5663166124Srafanhp2621p-a|hp2621p with fn as arrows,
5664166124Srafan	use=hp+pfk+arrows, use=hp2621p,
566550276Speter
566650276Speter# hp2621 with k45 keyboard
5667166124Srafanhp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
5668166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
5669166124Srafan	khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
567050276Speter
5671166124Srafan# 2621 using all 48 lines of memory, only 24 visible at any time.
5672166124Srafanhp2621-48|48 line 2621,
5673166124Srafan	lines#48,
5674166124Srafan	cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR,
5675166124Srafan	use=hp2621,
567650276Speter
567750276Speter# 2621 with no labels ever. Also prevents vi delays on escape.
5678166124Srafanhp2621-nl|hp 2621 with no labels,
5679166124Srafan	kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@,
5680166124Srafan	use=hp2621-fl,
568150276Speter
5682166124Srafan# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
568350276Speter# (wrong).
568450276Speter#
5685166124Srafanhp2621-nt|hp 2621 w/no tabs,
5686166124Srafan	ht@, use=hp2621,
568750276Speter
568850276Speter# Hp 2624 B with 4 or 10 pages of memory.
5689166124Srafan#
5690166124Srafan# Some assumptions are made with this entry. These settings are
569150276Speter# NOT set up by the initialization strings.
5692166124Srafan#
569350276Speter# Port Configuration
569450276Speter# 	RecvPace=Xon/Xoff
569550276Speter# 	XmitPace=Xon/Xoff
569650276Speter# 	StripNulDel=Yes
5697166124Srafan#
569850276Speter# Terminal Configuration
569950276Speter# 	InhHndShk=Yes
570050276Speter# 	InhDC2=Yes
570150276Speter# 	XmitFnctn(A)=No
570250276Speter# 	InhEolWrp=No
5703166124Srafan#
570450276Speter# Note: the 2624 DOES have a true <home>, believe it or not!
5705166124Srafan#
5706166124Srafan# The 2624 has an "error line" to which messages can be sent.
570750276Speter# This is CLOSE to what is expected for a "status line". However,
5708166124Srafan# after a message is sent to the "error line", the next carriage
5709166124Srafan# return is EATEN and the "error line" is turned back off again!
571050276Speter# So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
5711166124Srafan#
5712166124Srafan# This entry supports emacs (and any other program that uses raw
5713166124Srafan# mode) at 4800 baud and less. I couldn't get the padding right
571450276Speter# for 9600.
571550276Speter#
571650276Speter# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
5717166124Srafanhp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
5718166124Srafan	da, db,
5719166124Srafan	lm#96,
5720166124Srafan	flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
5721166124Srafan	use=hp+labels, use=scrhp,
572250276Speter
5723166124Srafan# This hp2626 entry does not use any of the fancy windowing stuff
572450276Speter# of the 2626.
5725166124Srafan#
5726166124Srafan# Indeed, terminfo does not yet handle such stuff. Since changing
5727166124Srafan# any window clears memory, it is probably not possible to use
572850276Speter# this for screen opt.
5729166124Srafan#
5730166124Srafan# ed is incredibly slow most of the time - I am guessing at the
5731166124Srafan# exact padding. Since the terminal uses xoff/xon this is intended
5732166124Srafan# only for cost computation, so that the terminal will prefer el
573350276Speter# or even dl1 which is probably faster!
5734166124Srafan#
5735166124Srafan# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
5736166124Srafan# extra slow on the last line of the window.
5737166124Srafan#
573850276Speter# The padding probably should be changed.
573950276Speter#
5740166124Srafanhp2626|hp2626a|hp2626p|hp 2626,
5741166124Srafan	da, db,
5742166124Srafan	lm#0, pb#19200,
5743166124Srafan	ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
5744166124Srafan	is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,
5745166124Srafan	use=hp+labels, use=scrhp,
574650276Speter
5747166124Srafan# This entry is for sysline. It allocates a 23 line window with
5748166124Srafan# a 115 line workspace for regular use, and a 1 line window for
574950276Speter# the status line.
5750166124Srafan#
575150276Speter# This assumes port 2 is being used.
575250276Speter# Turn off horizontal line, Create ws #1 with 115 lines,
575350276Speter# Create ws #2 with 1 line, Create window #1 lines 1-23,
575450276Speter# Create window #2 lines 24-24, Attach cursor to workspace #1.
575550276Speter# Note that this clears the tabs so it must be done by tset before
575650276Speter# it sets the tabs.
575750276Speter#
5758166124Srafanhp2626-s|hp 2626 using only 23 lines,
5759166124Srafan	eslok, hs,
5760166124Srafan	lines#23,
5761166124Srafan	fsl=\E&d@\E&w7f2p1I\E&w4f1I,
5762166124Srafan	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
5763166124Srafan	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
576450276Speter# Force terminal back to 24 lines after being 23.
5765166124Srafanhp2626-ns|hp 2626 using all 24 lines,
5766166124Srafan	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
5767166124Srafan	use=hp2626,
576850276Speter# Various entries useful for small windows on 2626.
5769166124Srafanhp2626-12|hewlett-packard 2626 12 lines,
5770166124Srafan	lines#12, use=hp2626,
5771166124Srafanhp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
5772166124Srafan	cols#40, lines#12, use=hp2626,
5773166124Srafanhp2626-x40|hewlett-packard 2626 40 columns,
5774166124Srafan	cols#40, use=hp2626,
5775166124Srafanhp2626-12-s|hewlett-packard 2626 11 lines plus status,
5776166124Srafan	lines#11, use=hp2626-s,
577750276Speter
577850276Speter#
577950276Speter# hp2627 color tubes from University of Wisconsin
578050276Speter#
5781166124Srafanhp2627a-rev|hp 2627 with reverse video colors,
5782166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5783166124Srafan	is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
5784166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
5785166124Srafan	smul=\E&dD\E&v1S, use=hp2621-nl,
5786166124Srafanhp2627a|hp 2627 color terminal with no labels,
5787166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5788166124Srafan	is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
5789166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
5790166124Srafan	rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
5791166124Srafan	use=hp2621-nl,
5792166124Srafanhp2627c|hp 2627 color (cyan) terminal with no labels,
5793166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5794166124Srafan	is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
5795166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
579650276Speter
5797166124Srafan# hp2640a doesn't have the Y cursor addressing feature, and C is
579850276Speter# memory relative instead of screen relative, as we need.
579950276Speter#
5800166124Srafanhp2640a|hp 2640a,
5801166124Srafan	cup@, rmkx@, smkx@, use=hp2645,
580250276Speter
5803166124Srafanhp2640b|hp2644a|hp 264x series,
5804166124Srafan	rmkx@, smkx@, use=hp2645,
580550276Speter
580650276Speter# (hp2641a: removed unknown :gu: -- esr)
5807166124Srafanhp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
5808166124Srafan	am, da, db, mir, xhp,
5809166124Srafan	cols#80, lines#24,
5810166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5811166124Srafan	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
5812166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
5813166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J,
5814166124Srafan	is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
5815166124Srafan	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
5816166124Srafan	vpa=\E&a%p1%2dY,
581750276Speter
581850276Speter# This terminal should be used at 4800 baud or less. It needs padding for
581950276Speter# plain characters at 9600, I guessed at an appropriate cr delay.  It really
582050276Speter# wants ^E/^F handshaking, but that doesn't work well even if you write
582150276Speter# software to support it.
5822166124Srafanhp2645|hp45|HP 2645 series,
5823166124Srafan	pb#9600,
5824166124Srafan	blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
5825166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
5826166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
5827166124Srafan	kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
5828166124Srafan	rmkx=\E&s0A,
5829166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
5830166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
583150276Speter# You should use this terminal at 4800 baud or less.
5832166124Srafanhp2648|hp2648a|HP 2648a graphics terminal,
5833166124Srafan	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
5834166124Srafan	dch1=\EP$<7>, ip=$<5>, use=hp2645,
583550276Speter
5836166124Srafan# The HP 150 terminal is a fairly vanilla HP terminal, with the
5837166124Srafan# clreol standout problem. It also has graphics capabilities and
583850276Speter# a touch screen, which we don't describe here.
5839166124Srafanhp150|hewlett packard Model 150,
5840166124Srafan	OTbs, use=hp2622,
584150276Speter
5842166124Srafan# HP 2382a terminals, "the little ones." They don't have any
5843166124Srafan# alternate character set support and sending out ^N/^O will
584450276Speter# leave the screen blank.
5845166124Srafanhp2382a|hp2382|hewlett packard 2382a,
5846166124Srafan	da, db,
5847166124Srafan	lh#1, lm#48,
5848166124Srafan	acsc@,
5849166124Srafan	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
5850166124Srafan	rmacs@,
5851166124Srafan	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,
5852166124Srafan	sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp,
585350276Speter
5854166124Srafanhp2621-a|hp2621a-a|hp2621 with fn as arrows,
5855166124Srafan	use=hp+pfk+arrows, use=hp2621-fl,
585650276Speter
585750276Speter# newer hewlett packard terminals
585850276Speter
5859166124Srafannewhpkeyboard|generic entry for HP extended keyboard,
5860166124Srafan	kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5861166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5862166124Srafan	kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
5863166124Srafan	kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
5864166124Srafan	use=hp+pfk-cr,
586550276Speter
5866166124Srafannewhp|generic entry for new hewlett packard terminals,
5867166124Srafan	am, bw, mir, xhp, xon,
5868166124Srafan	cols#80, lines#24, pb#4800,
5869166124Srafan	acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
5870166124Srafan	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
5871166124Srafan	cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
5872166124Srafan	dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
5873166124Srafan	invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
5874166124Srafan	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
5875166124Srafan	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
5876166124Srafan	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
5877166124Srafan	rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
5878166124Srafan	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%;,
5879166124Srafan	sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
5880166124Srafan	tbc=\E3, use=newhpkeyboard,
588150276Speter
5882166124Srafanmemhp|memory relative addressing for new HP ttys,
5883166124Srafan	vt#6,
5884166124Srafan	clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
5885166124Srafan	cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
5886166124Srafan	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
5887166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
588850276Speter
5889166124Srafanscrhp|screen relative addressing for new HP ttys,
5890166124Srafan	clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
5891166124Srafan	cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
5892166124Srafan	cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
5893166124Srafan	home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
5894166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
589550276Speter
589650276Speter# (hp+labels: added label values from a BRL termcap -- esr)
5897166124Srafanhp+labels|"standard" label info for new HP ttys,
5898166124Srafan	lh#2, lw#8, nlab#8,
5899166124Srafan	lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
5900166124Srafan	pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
5901166124Srafan	rmln=\E&j@, smln=\E&jB,
590250276Speter
5903166124Srafanhp+printer|"standard" printer info for HP ttys,
5904166124Srafan	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
590550276Speter
590650276Speter
590750276Speter# The new hp2621b is kind of a cross between the old 2621 and the
5908166124Srafan# new 262x series of machines. It has dip-switched options.
5909166124Srafan# The firmware has a bug in it such that if you give it a null
591050276Speter# length label, the following character is eaten!
5911166124Srafanhp2621b|hp 2621b with old style keyboard,
5912166124Srafan	lh#1, lm#48, lw#8, nlab#8,
5913166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
5914166124Srafan	kind=\ET, kll=\EF, kri=\ES,
5915166124Srafan	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,
5916166124Srafan	smln=\E&jB, use=hp2621,
591750276Speter
5918166124Srafanhp2621b-p|hp 2621b with printer,
5919166124Srafan	use=hp+printer, use=hp2621b,
592050276Speter
592150276Speter# hp2621b - new 2621b with new extended keyboard
592250276Speter# these are closer to the new 26xx series than the other 2621b
5923166124Srafanhp2621b-kx|hp 2621b with extended keyboard,
5924166124Srafan	use=newhpkeyboard, use=hp2621b,
592550276Speter
5926166124Srafanhp2621b-kx-p|hp 2621b with new keyboard & printer,
5927166124Srafan	use=hp+printer, use=hp2621b-kx,
592850276Speter
592950276Speter# Some assumptions are made in the following entries.
593050276Speter# These settings are NOT set up by the initialization strings.
5931166124Srafan#
593250276Speter#    Port Configuration
593350276Speter# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
5934166124Srafan#
593550276Speter#    Terminal Configuration
593650276Speter# InhHndShk(G)=Yes	InhDC2(H)=Yes
593750276Speter# XmitFnctn(A)=No		InhEolWrp=No
593850276Speter#
5939166124Srafan#
594050276Speter# Hp 2622a & hp2623a display and graphics terminals
594150276Speter#
5942166124Srafanhp2622|hp2622a|hp 2622,
5943166124Srafan	da, db,
5944166124Srafan	lm#0, pb#19200,
5945166124Srafan	is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
594650276Speter
594750276Speter# The 2623 is a 2622 with extra graphics hardware.
5948166124Srafanhp2623|hp2623a|hp 2623,
5949166124Srafan	use=hp2622,
595050276Speter
5951166124Srafanhp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
5952166124Srafan	use=hp+printer, use=hp2624,
595350276Speter
595450276Speter# The hewlett packard B can have an optional extra 6 pages of memory.
5955166124Srafanhp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
5956166124Srafan	lm#240, use=hp2624,
595750276Speter
5958166124Srafanhp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
5959166124Srafan	lm#240, use=hp2624b-p,
596050276Speter
596150276Speter# Color manipulations for HP terminals
5962166124Srafanhp+color|hp with colors,
5963166124Srafan	ccc,
5964166124Srafan	colors#16, ncv#17, pairs#7,
5965166124Srafan	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,
5966166124Srafan	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
5967166124Srafan	op=\E&v0S, scp=\E&v%p1%dS,
596850276Speter
596950276Speter# <is2> sets the screen to be 80 columns wide
5970166124Srafanhp2397a|hp2397|hewlett packard 2397A color terminal,
5971166124Srafan	is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color,
597250276Speter
5973166124Srafan#  HP 700/44 Setup parameters:
597450276Speter# Terminal Mode		HP-PCterm
597550276Speter# Inhibit Auto Wrap	NO
597650276Speter# Status Line		Host Writable
597750276Speter# PC Character Set	YES
597850276Speter# Twenty-Five Line Mode	YES
597950276Speter# XON/XOFF		@128 or 64 (sc)
598050276Speter# Keycode Mode 		NO   or YES (sc)
598150276Speter# Backspace Key		BS or BS/DEL
598250276Speter#
5983166124Srafan# <is2> 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
598450276Speter# \E\\? does not turn off keycode mode
598550276Speter# <smsc>	sets alternate start/stop; keycode on
5986166124Srafanhpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
5987166124Srafan	am, eo, xenl, xon,
5988166124Srafan	cols#80, lines#25,
5989166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
5990166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
5991166124Srafan	cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
5992166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
5993166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
5994166124Srafan	ind=^J,
5995166124Srafan	is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
5996166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
5997166124Srafan	kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
5998166124Srafan	kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
5999166124Srafan	kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
6000166124Srafan	kpp=\E[5~, rmam=\E[?7l,
6001166124Srafan	rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
6002166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
6003166124Srafan	smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
6004166124Srafan	smul=\E[4m, xoffc=g, xonc=e,
600550276Speter#
600650276Speter# (hp2392: copied <rmir> here from hpex -- esr)
6007166124Srafanhp2392|239x series,
6008166124Srafan	cols#80,
6009166124Srafan	cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
6010166124Srafan	kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
6011166124Srafan	kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
6012166124Srafan	rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
6013166124Srafan	use=hpsub,
601450276Speter
6015166124Srafanhpsub|hp terminals -- capability subset,
6016166124Srafan	am, da, db, mir, xhp, xon,
6017166124Srafan	lines#24,
6018166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6019166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
6020166124Srafan	ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
6021166124Srafan	is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
6022166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
6023166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
602450276Speter
602550276Speter# hpex:
602650276Speter#	May be used for most 24 x 80 hp terminals,
6027166124Srafan# but has no padding added, so may allow runover in some terminals at high
6028166124Srafan# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
6029166124Srafan# hp98x5 terminal emulators or hp98x6 consoles.
6030166124Srafan# 	Adds xy-cursor addressing, vertical cursor addressing, home,
603150276Speter# last line, and underline capabilities.
603250276Speter#
603350276Speter# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
603450276Speter# moved <rmir> here from hpsub -- esr)
6035166124Srafanhpex|hp extended capabilites,
6036166124Srafan	cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
6037166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
6038166124Srafan	smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
603950276Speter
604050276Speter# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
6041166124Srafanhp2|hpex2|hewlett-packard extended capabilities newer version,
6042166124Srafan	am, da, db, mir, xhp,
6043166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
6044166124Srafan	bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
6045166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6046166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6047166124Srafan	il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6048166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6049166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6050166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6051166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6052166124Srafan	krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
6053166124Srafan	pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
6054166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
6055166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
6056166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
6057166124Srafan	rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6058166124Srafan	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%;,
6059166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
6060166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
606150276Speter
606250276Speter# HP 236 console
606350276Speter# From: <ddavis@ic.berkeley.edu>
6064166124Srafanhp236|hp236 internal terminal emulator,
6065166124Srafan	OTbs, am,
6066166124Srafan	cols#80, lines#24,
6067166124Srafan	clear=\EF, cnorm=\EDE, cub1=^H,
6068166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
6069166124Srafan	dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
6070166124Srafan	sgr0=\ECI, smso=\EBI,
607150276Speter
607250276Speter# This works on a hp300 console running Utah 4.3 BSD
607350276Speter# From: Craig Leres <leres@okeeffe.berkeley.edu>
6074166124Srafanhp300h|HP Catseye console,
6075166124Srafan	OTbs, am, da, db, mir, xhp,
6076166124Srafan	cols#128, lines#51, lm#0, xmc#0,
6077166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
6078166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6079166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
6080166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
6081166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
6082166124Srafan	rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
6083166124Srafan	smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
6084166124Srafan	vpa=\E&a%p1%dY,
608550276Speter# From: Greg Couch <gregc@ernie.berkeley.edu>
6086166124Srafanhp9837|hp98720|hp98721|HP 9000/300 workstations,
6087166124Srafan	OTbs, am, da, db, mir, xhp,
6088166124Srafan	cols#128, it#8, lines#46, lm#0,
6089166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
6090166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6091166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6092166124Srafan	il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
6093166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6094166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
6095166124Srafan	kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
6096166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
6097166124Srafan	tbc=\E3, vpa=\E&a%p1%dY,
609850276Speter# HP 9845 desktop computer from BRL
609950276Speter# (hp9845: removed unknown capability :gu: -- esr)
6100166124Srafanhp9845|HP 9845,
6101166124Srafan	OTbs, am, da, db, eo, mir, xhp,
6102166124Srafan	cols#80, lines#21,
6103166124Srafan	OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY,
6104166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
6105166124Srafan	if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
6106166124Srafan	smir=\EQ, smso=\E&dB,
610750276Speter# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
610850276Speter# (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
610950276Speter# added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
6110166124Srafanhp98550|hp98550a|HP 9000 Series 300 color console,
6111166124Srafan	OTbs, am, da, db, mir, xhp,
6112166124Srafan	cols#128, it#8, lines#49, lm#0,
6113166124Srafan	acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
6114166124Srafan	clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
6115166124Srafan	cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
6116166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6117166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
6118166124Srafan	kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
6119166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
6120166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
6121166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
6122166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
6123166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
6124166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
6125166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
612650276Speter# From: Victor Duchovni <vic@fine.princeton.edu>
612750276Speter# (hp700-wy: removed obsolete ":nl=^J:";
612850276Speter# replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
6129166124Srafanhp700-wy|HP700/41 emulating wyse30,
6130166124Srafan	OTbs, am, bw, mir, msgr,
6131166124Srafan	cols#80, it#8, lines#24, xmc#1,
6132166124Srafan	cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
6133166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6134166124Srafan	dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
6135166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
6136166124Srafan	is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
6137166124Srafan	kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
6138166124Srafan	kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
6139166124Srafan	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
6140166124Srafan	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
6141166124Srafan	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
6142166124Srafanhp70092|hp70092a|hp70092A|HP 700/92,
6143166124Srafan	am, da, db, xhp,
6144166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
6145166124Srafan	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
6146166124Srafan	bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
6147166124Srafan	cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
6148166124Srafan	dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
6149166124Srafan	hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6150166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6151166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6152166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6153166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6154166124Srafan	krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
6155166124Srafan	rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6156166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
6157166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
615850276Speter
6159166124Srafanbobcat|sbobcat|HP 9000 model 300 console,
6160166124Srafan	am, da, db, mir, xhp,
6161166124Srafan	cols#128, it#8, lines#47, xmc#0,
6162166124Srafan	cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6163166124Srafan	cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP,
6164166124Srafan	dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I,
6165166124Srafan	il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
6166166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER,
6167166124Srafan	rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
6168166124Srafan	smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>,
6169166124Srafangator-t|HP 9000 model 237 emulating extra-tall AAA,
6170166124Srafan	lines#94, use=gator,
6171166124Srafangator|HP 9000 model 237 emulating AAA,
6172166124Srafan	bw, km, mir, ul,
6173166124Srafan	cols#128, it#8, lines#47,
6174166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
6175166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
6176166124Srafan	dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
6177166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
6178166124Srafan	ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
6179166124Srafan	il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
6180166124Srafan	rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
6181166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6182166124Srafangator-52|HP 9000 model 237 emulating VT52,
6183166124Srafan	cols#128, lines#47, use=vt52,
6184166124Srafangator-52t|HP 9000 model 237 emulating extra-tall VT52,
6185166124Srafan	lines#94, use=gator-52,
618650276Speter
618750276Speter#### Honeywell-Bull
618850276Speter#
618950276Speter# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
619050276Speter#
619150276Speter
619250276Speter# Honeywell Bull terminal.  Its cursor and function keys send single
619350276Speter# control characters and it has standout/underline glitch.  Most programs
619450276Speter# do not like these features/bugs.  Visual bell is realized by flashing the
619550276Speter# "keyboard locked" LED.
6196166124Srafandku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
6197166124Srafan	cols#80, lines#25,
6198166124Srafan	clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
6199166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
6200166124Srafan	flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
6201166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
6202166124Srafandku7003|Honeywell Bull DKU 7003 all features described,
6203166124Srafan	msgr,
6204166124Srafan	xmc#1,
6205166124Srafan	blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
6206166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6207166124Srafan	use=dku7003-dumb,
620850276Speter
620950276Speter#### Lear-Siegler (adm)
621050276Speter#
621150276Speter# These guys are long since out of the terminals business, but
621250276Speter# in 1995 many current terminals still have an adm type as one of their
621350276Speter# emulations (usually their stupidest, and usually labeled adm3, though
621450276Speter# these `adm3' emulations normally have adm3a+ capabilities).
621550276Speter#
6216166124Srafan# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
621750276Speter# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
621850276Speter# was being held to ground would trigger a send of the top line on the screen.
621950276Speter# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
622050276Speter# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
622150276Speter# for clearing up this point.)
622250276Speter
6223166124Srafanadm1a|adm1|lsi adm1a,
6224166124Srafan	am,
6225166124Srafan	cols#80, lines#24,
6226166124Srafan	bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6227166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
6228166124Srafan	ind=^J,
6229166124Srafanadm2|lsi adm2,
6230166124Srafan	OTbs, am,
6231166124Srafan	cols#80, lines#24,
6232166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6233166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6234166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
6235166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
623650276Speter# (adm3: removed obsolete ":ma=^K^P:" -- esr)
6237166124Srafanadm3|lsi adm3,
6238166124Srafan	OTbs, am,
6239166124Srafan	cols#80, lines#24,
6240166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
624150276Speter# The following ADM-3A switch settings are assumed for normal operation:
624250276Speter#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
624350276Speter#	CUR_CTL		LC_EN		AUTO_NL		FDX
624450276Speter# Other switches may be set for operator convenience or communication
624550276Speter# requirements.  I recommend
624650276Speter#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
624750276Speter#	ETX_OFF		EOT_OFF
624850276Speter# Most of these terminals required an option ROM to support lower case display.
624950276Speter# Open the case and look at the motherboard; if you see an open 24-pin DIP
625050276Speter# socket, you may be out of luck.
625150276Speter#
625250276Speter# (adm3a: some capabilities merged in from BRl entry -- esr)
6253166124Srafanadm3a|lsi adm3a,
6254166124Srafan	OTbs, am,
6255166124Srafan	cols#80, lines#24,
6256166124Srafan	OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
6257166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6258166124Srafan	cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
6259166124Srafan	kcuu1=^K, rs2=^N,
6260166124Srafanadm3a+|adm3a plus,
6261166124Srafan	kbs=^H, use=adm3a,
626250276Speter# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
6263166124Srafanadm5|lsi adm5,
6264166124Srafan	xmc#1,
6265166124Srafan	bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
6266166124Srafan	rmso=\EG, smso=\EG, use=adm3a+,
626750276Speter# A lot of terminals other than adm11s use these.  Wherever you see
626850276Speter# use=adm+sgr with some of its capabilities disabled, try the
626950276Speter# disabled ones.  They may well work but not have been documented or
627050276Speter# expressed in the using entry.  We'd like to cook up an <sgr> but the
627150276Speter# <rmacs>/<smacs> sequences of the using entries vary too much.
6272166124Srafanadm+sgr|adm style highlight capabilities,
6273166124Srafan	invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
6274166124Srafan	smso=\EG4, smul=\EG8,
627550276Speter# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
627650276Speter# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
627750276Speter# <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
627850276Speter# be ^Z, according to his entry.
627950276Speter# (adm11: <smul>=\EG4 was obviously erroneous because it also said
628050276Speter# <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
6281166124Srafanadm11|LSI ADM-11,
6282166124Srafan	OTbs, am, hs,
6283166124Srafan	OTkn#8, cols#80, lines#24,
6284166124Srafan	OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
6285166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6286166124Srafan	cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
6287166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6288166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6289166124Srafan	kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
6290166124Srafan	use=adm+sgr,
629150276Speter# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
629250276Speter# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
629350276Speter# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
629450276Speter# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
629550276Speter# <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
6296166124Srafan# via BRL.  That entry asserted <xmc#1>, but I've left that out because
629750276Speter# neither earlier nor later ADMSs have it -- esr)
629850276Speter#
629950276Speter# You will need to get into the supervisor setup before you can set
630050276Speter# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
630150276Speter# see a lot more setup options.
6302166124Srafan#
630350276Speter# While in supervisor setup you can also use following codes:
6304166124Srafan#
630550276Speter# Ctrl-P Personality character selections (configure for example what
630650276Speter#        arrow keys send, if I recall correctly)
630750276Speter# Ctrl-T tabs 1-80   use left&right to move and up to set and
630850276Speter# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
630950276Speter# Ctrl-B Binary setup (probably not needed. I think that everything can
631050276Speter#        be set using normal setup)
631150276Speter# Ctrl-A Answerback mode (enter answerback message)
631250276Speter# Ctrl-U User friendly mode (normal setup)
631350276Speter# Ctrl-D Defaults entire setup and function keys from EPROM tables
631450276Speter# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
631550276Speter# Ctrl-R Reads both setup and functions keys from NVM.
631650276Speter# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
6317166124Srafan#
631850276Speter# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
631950276Speter# RTS/CTS used nowadays with virtually every modem and computer. 19200
632050276Speter# bps works fine with hardware flow control.
6321166124Srafan#
632250276Speter# The following null-modem cable should fix this and enable you to use
632350276Speter# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
632450276Speter# set ADM-12+ for DTR handshaking from supervisor setup.
6325166124Srafan#
632650276Speter# PC Serial   ADM-12+
632750276Speter#  --------   -------
632850276Speter#         2 - 3
632950276Speter#         3 - 2
633050276Speter#         4 - 5
633150276Speter#         5 - 20
633250276Speter#       6,8 - 4
633350276Speter#         7 - 7
633450276Speter#        20 - 6,8
633550276Speter#
6336166124Srafanadm12|lsi adm12,
6337166124Srafan	OTbs, OTpt, am, mir,
6338166124Srafan	OTug#1, cols#80, it#8, lines#24,
6339166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6340166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6341166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
6342166124Srafan	is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
6343166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6344166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6345166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
6346166124Srafan	use=adm+sgr,
634750276Speter# (adm20: removed obsolete ":kn#7:" -- esr)
6348166124Srafanadm20|lear siegler adm20,
6349166124Srafan	OTbs, am,
6350166124Srafan	cols#80, it#8, lines#24,
6351166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
6352166124Srafan	cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
6353166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
6354166124Srafan	kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
6355166124Srafan	sgr0=\E(, smso=\E),
6356166124Srafanadm21|lear siegler adm21,
6357166124Srafan	xmc#1,
6358166124Srafan	bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
6359166124Srafan	ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
6360166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr,
6361166124Srafan	use=adm3a,
636250276Speter# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
636350276Speter# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
636450276Speter# removed bogus-looking \200 from before <cup>. -- esr)
6365166124Srafanadm22|lsi adm22,
6366166124Srafan	OTbs, am,
6367166124Srafan	cols#80, lines#24,
6368166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6369166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6370166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
6371166124Srafan	is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
6372166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6373166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6374166124Srafan	kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
6375166124Srafan	lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
637650276Speter# ADM 31 DIP Switches
637750276Speter#
637850276Speter# This information comes from two versions of the manual for the
637950276Speter# Lear-Siegler ADM 31.
638050276Speter#
638150276Speter# Main board:
638250276Speter#                  rear of case
638350276Speter#   +-||||-------------------------------------+
638450276Speter#   + S1S2                              ||S    +
638550276Speter#   +                                   ||3    +
638650276Speter#   +                                          +
638750276Speter#   +                                ||S       +
638850276Speter#   +                                ||4       +
638950276Speter#   +                                          +
639050276Speter#   +                                          +
639150276Speter#   +                                          +
639250276Speter#   +                                          +
639350276Speter#   +                                          +
639450276Speter# +-+                                          +-+
639550276Speter# +                                              +
6396166124Srafan# +                               S5 S6 S7       +
639750276Speter# +                               == == ==       +
639850276Speter# +----------------------------------------------+
639950276Speter#            front of case (keyboard)
640050276Speter#
640150276Speter#  S1 - Data Rate - Modem
640250276Speter#  S2 - Data Rate - Printer
640350276Speter# ------------------------
640450276Speter# Data Rate   Setting
640550276Speter# -------------------
640650276Speter# 50          0 0 0 0
640750276Speter# 75          1 0 0 0
640850276Speter# 110         0 1 0 0
640950276Speter# 134.5       1 1 0 0
641050276Speter# 150         0 0 1 0
641150276Speter# 300         1 0 1 0
641250276Speter# 600         0 1 1 0
641350276Speter# 1200        1 1 1 0
641450276Speter# 1800        0 0 0 1
641550276Speter# 2000        1 0 0 1
641650276Speter# 2400        0 1 0 1
641750276Speter# 3600        1 1 0 1
641850276Speter# 4800        0 0 1 1
641950276Speter# 7200        1 0 1 1
642050276Speter# 9600        0 1 1 1
642150276Speter# x           1 1 1 1
642250276Speter#
642350276Speter# S3 - Interface/Printer/Attributes
642450276Speter# ---------------------------------
642550276Speter# Printer Busy Control
642650276Speter# sw1   sw2   sw3
642750276Speter# ---------------
642850276Speter# off   off   off   Busy not active, CD disabled
642950276Speter# off   off   on    Busy not active, CD enabled
643050276Speter# off   on    off   Busy active on J5-20, CD disabled
643150276Speter# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
643250276Speter# on    off   on    Busy active on J5-19, CD enabled
643350276Speter#
643450276Speter# sw4   Used in conjuction with S4 for comm interface control - Fact 0
643550276Speter#
643650276Speter# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
643750276Speter#
643850276Speter# sw6   ON enables printer BUSY active LOW - Factory Setting
643950276Speter#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
644050276Speter#
644150276Speter# sw7   ON - steady cursor - Factory Setting
644250276Speter#       OFF - blinking cursor
644350276Speter#
644450276Speter# sw8   ON causes selected attribute character to be displayed
644550276Speter#       OFF causes SPACE to be displayed instead - Factory Setting
644650276Speter#
644750276Speter# S4 - Interface
644850276Speter# --------------
644950276Speter# Modem Interface
645050276Speter# S3    S4    S4    S4    S4
645150276Speter# sw4   sw1   sw2   sw3   sw4
645250276Speter# ---------------------------
645350276Speter# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
645450276Speter#                               Current Loop disabled - Factory Setting
645550276Speter# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
645650276Speter#                               disabled
645750276Speter# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
645850276Speter#                               Current Loop Disabled
645950276Speter#
646050276Speter# sw5   ON disables dot stretching mode - Factory Setting
646150276Speter#       OFF enables dot stretching mode
646250276Speter# sw6   ON enables blanking function
646350276Speter#       OFF enables underline function - Factory Setting
646450276Speter# sw7   ON causes NULLS to be displayed as NULLS
646550276Speter#       OFF causes NULLS to be displayed as SPACES - Factory Setting
646650276Speter#
646750276Speter# S5 - Word Structure
646850276Speter# -------------------
646950276Speter# sw1   ON enables BREAK key - Factory Setting
647050276Speter#       OFF disables BREAK key
647150276Speter# sw2   ON selects 50Hz monitor refresh rate
647250276Speter#       OFF selects 60Hz monitor refresh rate - Factory Setting
647350276Speter#
647450276Speter# Modem Port Selection
647550276Speter# sw3   sw4   sw5
647650276Speter# ---------------
647750276Speter# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
647850276Speter# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
647950276Speter# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
648050276Speter# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
648150276Speter# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
648250276Speter# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
648350276Speter# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
648450276Speter# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
648550276Speter#
648650276Speter# sw6   ON  sends bit 8 a 1 (mark)
648750276Speter#       OFF sends bit 8 as 0 (space) - Factory Setting
648850276Speter# sw7   ON  selects Block Mode
648950276Speter#       OFF selects Conversation Mode - Factory Setting
649050276Speter# sw8   ON  selects Full Duplex operation
649150276Speter#       OFF selects Half Duplex operation - Factory Setting
649250276Speter#
649350276Speter# S6 - Printer
649450276Speter# ------------
649550276Speter# sw1, sw2, sw6, sw7   Reserved - Factory 0
649650276Speter#
649750276Speter# Printer Port Selection
649850276Speter# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
649950276Speter#
650050276Speter# sw8   ON   enables Printer Port
650150276Speter#       OFF disables Printer Port - Factory Setting
650250276Speter#
650350276Speter# S7 - Polling Address
650450276Speter# --------------------
650550276Speter# sw1-7 Establish ASCII character which designates terminal polling address
650650276Speter#       ON  = logic 0
650750276Speter#       OFF = logic 1 - Factory Setting
650850276Speter# sw8   ON   enables Polling Option
650950276Speter#       OFF disables Polling Option - Factory Setting
651050276Speter#
651150276Speter#
651250276Speter# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
651350276Speter#
651450276Speter# This adm31 entry uses underline as the standout mode.
651550276Speter# If the adm31 gives you trouble with standout mode, check the DIP switch in
651650276Speter# position 6, bank @c11, 25% from back end of the circuit board.  Should be
651750276Speter# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
651850276Speter# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
6519166124Srafanadm31|lsi adm31 with sw6 set for underline mode,
6520166124Srafan	OTbs, am, mir,
6521166124Srafan	cols#80, lines#24,
6522166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6523166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6524166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
6525166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6526166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6527166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
6528166124Srafan	rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
6529166124Srafanadm31-old|o31|old adm31,
6530166124Srafan	rmul@, smso=\EG4, smul@, use=adm31,
653150276Speter# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
6532166124Srafanadm36|LSI ADM36,
6533166124Srafan	OTbs, OTpt,
6534166124Srafan	OTkn#4,
6535166124Srafan	if=/usr/share/tabset/vt100,
6536166124Srafan	is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
6537166124Srafan	use=vt100,
653850276Speter# (adm42: removed obsolete ":ma=^K^P:" -- esr)
6539166124Srafanadm42|lsi adm42,
6540166124Srafan	OTbs, am,
6541166124Srafan	cols#80, lines#24,
6542166124Srafan	bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6543166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6544166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
6545166124Srafan	il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
6546166124Srafan	kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
6547166124Srafan	smir=\Eq, smul@, use=adm+sgr,
6548166124Srafan# The following termcap for the Lear Siegler ADM-42 leaves the
6549166124Srafan# "system line" at the bottom of the screen blank (for those who
655050276Speter# find it distracting otherwise)
6551166124Srafanadm42-ns|lsi adm-42 with no system line,
6552166124Srafan	cbt=\EI\EF \011, clear=\E;\EF \011,
6553166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
6554166124Srafan	dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
6555166124Srafan	el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
6556166124Srafan	smir=\Eq\EF \011, use=adm42,
655750276Speter# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
655850276Speter# The insert mode of this terminal is commented out because it's broken for our
655950276Speter# purposes in that it will shift the position of every character on the page,
656050276Speter# not just the cursor line!
656150276Speter# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
6562166124Srafanadm1178|1178|lsi adm1178,
6563166124Srafan	am,
6564166124Srafan	cols#80, lines#24, xmc#1,
6565166124Srafan	bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
6566166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6567166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
6568166124Srafan	home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
6569166124Srafan	kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
6570166124Srafan	sgr0=\E), smso=\EG4, smul=\EG1,
657150276Speter
657250276Speter#### Prime
657350276Speter#
657450276Speter# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
657550276Speter# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
657650276Speter# Prime merged with ComputerVision in the late 1980s; you can reach them at:
657750276Speter#
657850276Speter#	ComputerVision Services
657950276Speter#	500 Old Connecticut Path
658050276Speter#	Framingham, Mass.
658150276Speter#
658250276Speter
658350276Speter# Standout mode is dim reverse-video.
6584166124Srafanpt100|pt200|wren|fenix|prime pt100/pt200,
6585166124Srafan	am, bw, mir, msgr,
6586166124Srafan	cols#80, it#8, lines#24,
6587166124Srafan	cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
6588166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
6589166124Srafan	cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
6590166124Srafan	cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M,
6591166124Srafan	ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
6592166124Srafan	home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
6593166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
6594166124Srafan	rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
6595166124Srafan	sgr0=\E[m,
6596166124Srafan	smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
6597166124Srafan	smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
6598166124Srafanpt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
6599166124Srafan	cols#132,
6600166124Srafan	cup=\E[%i%p1%d;%p2%dH, use=pt100,
6601166124Srafanpt250|Prime PT250,
6602166124Srafan	rmso@, smso@, use=pt100,
6603166124Srafanpt250w|Prime PT250 in 132-column mode,
6604166124Srafan	rmso@, smso@, use=pt100w,
660550276Speter
660650276Speter#### Qume (qvt)
660750276Speter#
660850276Speter#	Qume, Inc.
660950276Speter#	3475-A North 1st Street
661050276Speter#	San Jose CA 95134
661150276Speter#	Vox: (800)-457-4447
661250276Speter#	Fax: (408)-473-1510
661350276Speter#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
661450276Speter#
661550276Speter# Qume was bought by Wyse, but still (as of early 1995) has its own support
661650276Speter# group and production division.
661750276Speter#
661850276Speter# Discontinued Qume models:
661950276Speter#
662050276Speter# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
662150276Speter# built to replace them, and a qvt119+ which was a 101+ with available wide
662250276Speter# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
662350276Speter# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
662450276Speter# ANSI-compatible terminals with the qvt323 and qvt61.
662550276Speter#
662650276Speter# Current Qume models (as of February 1995):
662750276Speter#
662850276Speter# All current Qume terminals have ANSI-compatible operation modes.
662950276Speter# Qume is still producing the qvt62, which features emulations for other
663050276Speter# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
663150276Speter# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
663250276Speter# with many emulations including Wyse370, Wyse 325, etc.  Their newest
663350276Speter# model is the qvt520, which is vt420-compatible.
663450276Speter#
663550276Speter# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
663650276Speter#
663750276Speter# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
663850276Speter# setup mode.  Shift-s should be a configuration save to NVRAM.
663950276Speter
6640166124Srafanqvt101|qvt108|qume qvt 101 and QVT 108,
6641166124Srafan	xmc#1, use=qvt101+,
664250276Speter
664350276Speter# This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
6644166124Srafan# file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
664550276Speter# both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
664650276Speter# What seems to be going on here is that this entry was designed so that
664750276Speter# the normal highlight is bold and standout is dim plus something else
6648166124Srafan# (reverse-video maybe?  But then, are there two <rev> sequences?)
6649166124Srafanqvt101+|qvt101p|qume qvt 101 PLUS product,
6650166124Srafan	am, bw, hs, ul,
6651166124Srafan	cols#80, lines#24, xmc#0,
6652166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
6653166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6654166124Srafan	dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
6655166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
6656166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
6657166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
6658166124Srafan	kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
6659166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
6660166124Srafan	khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
6661166124Srafan	smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6662166124Srafanqvt102|qume qvt 102,
6663166124Srafan	cnorm=\E., use=qvt101,
666450276Speter# (qvt103: added <rmam>/<smam> based on init string -- esr)
6665166124Srafanqvt103|qume qvt 103,
6666166124Srafan	am, xenl, xon,
6667166124Srafan	cols#80, it#8, lines#24, vt#3,
6668166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
6669166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
6670166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
6671166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
6672166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
6673166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
6674166124Srafan	hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
6675166124Srafan	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
6676166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
6677166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>,
6678166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
6679166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
6680166124Srafan	sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
6681166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
6682166124Srafanqvt103-w|qume qvt103 132 cols,
6683166124Srafan	cols#132, lines#24,
6684166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
6685166124Srafanqvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
6686166124Srafan	am, hs, mir, msgr,
6687166124Srafan	cols#80, lines#24, xmc#0,
6688166124Srafan	bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
6689166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6690166124Srafan	cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
6691166124Srafan	el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
6692166124Srafan	hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
6693166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
6694166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
6695166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6696166124Srafan	mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
6697166124Srafan	tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6698166124Srafanqvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
6699166124Srafan	lines#25, use=qvt119+,
6700166124Srafanqvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
6701166124Srafan	cols#132,
6702166124Srafan	is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
6703166124Srafanqvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
6704166124Srafan	lines#25, use=qvt119+,
6705166124Srafanqvt203|qvt203+|qume qvt 203 Plus,
6706166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
6707166124Srafan	ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
6708166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
6709166124Srafan	kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103,
6710166124Srafanqvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
6711166124Srafan	cols#132, lines#24,
6712166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
671350276Speter#
671450276Speter#	Since a command is present for enabling 25 data lines,
671550276Speter#	a specific terminfo entry may be generated for the 203.
671650276Speter#	If one is desired for the QVT 119 PLUS then 25 lines must
671750276Speter#	be selected in the status line (setup line 9).
671850276Speter#
6719166124Srafanqvt203-25|QVT 203 PLUS with 25 by 80 column mode,
6720166124Srafan	cols#80, lines#25,
6721166124Srafan	is2=\E[=40h\E[?3l, use=qvt203,
6722166124Srafanqvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
6723166124Srafan	cols#132, lines#25,
6724166124Srafan	rs2=\E[?3h\E[=40h, use=qvt203,
672550276Speter
672650276Speter#### Televideo (tvi)
672750276Speter#
672850276Speter#	TeleVideo
672950276Speter#	550 East Brokaw Road
673050276Speter#	PO Box 49048    95161
673150276Speter#	San Jose CA 95112
673250276Speter#	Vox: (408)-954-8333
673350276Speter#	Fax: (408)-954-0623
673450276Speter#
673550276Speter#
6736166124Srafan# These require incredible amounts of padding.
673750276Speter#
673850276Speter# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
673950276Speter# Televideo terminals are ANSI and PC-ANSI compatible.
674050276Speter
6741166124Srafantvi803|televideo 803,
6742166124Srafan	clear=\E*$<10>, use=tvi950,
674350276Speter
674450276Speter# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
674550276Speter# Switch settings are:
6746166124Srafan#
674750276Speter# S1  1 2 3 4
674850276Speter#     D D D D  9600
674950276Speter#     D D D U    50
675050276Speter#     D D U D    75
675150276Speter#     D D U U   110
675250276Speter#     D U D D   135
675350276Speter#     D U D U   150
675450276Speter#     D U U D   300
675550276Speter#     D U U U   600
675650276Speter#     U D D D  1200
675750276Speter#     U D D U  1800
675850276Speter#     U D U D  2400
675950276Speter#     U D U U  3600
676050276Speter#     U U D D  4800
676150276Speter#     U U D U  7200
676250276Speter#     U U U D  9600
676350276Speter#     U U U U 19200
6764166124Srafan#
676550276Speter# S1  5 6 7 8
676650276Speter#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
676750276Speter#     U D X U  7N2
676850276Speter#     U U D D  7O1
676950276Speter#     U U D U  7O2
677050276Speter#     U U U D  7E1
677150276Speter#     U U U U  7E2
677250276Speter#     D D X D  8N1
677350276Speter#     D D X U  8N2
677450276Speter#     D U D D  8O1
677550276Speter#     D U U U  8E2
6776166124Srafan#
677750276Speter# S1  9  Autowrap
677850276Speter#     U  on
677950276Speter#     D  off
6780166124Srafan#
678150276Speter# S1 10  CR/LF
678250276Speter#     U  do CR/LF when CR received
678350276Speter#     D  do CR when CR received
6784166124Srafan#
678550276Speter# S2  1  Mode
678650276Speter#     U  block
678750276Speter#     D  conversational
6788166124Srafan#
678950276Speter# S2  2  Duplex
679050276Speter#     U  half
679150276Speter#     D  full
6792166124Srafan#
679350276Speter# S2  3  Hertz
679450276Speter#     U  50
679550276Speter#     D  60
6796166124Srafan#
679750276Speter# S2  4  Edit mode
679850276Speter#     U  local
679950276Speter#     D  duplex
6800166124Srafan#
680150276Speter# S2  5  Cursor type
680250276Speter#     U  underline
680350276Speter#     D  block
6804166124Srafan#
680550276Speter# S2  6  Cursor down key
680650276Speter#     U  send ^J
680750276Speter#     D  send ^V
6808166124Srafan#
680950276Speter# S2  7  Screen colour
681050276Speter#     U  green on black
681150276Speter#     D  black on green
6812166124Srafan#
681350276Speter# S2  8  DSR status (pin 6)
681450276Speter#     U  disconnected
681550276Speter#     D  connected
6816166124Srafan#
681750276Speter# S2  9  DCD status (pin 8)
681850276Speter#     U  disconnected
681950276Speter#     D  duplex
6820166124Srafan#
682150276Speter# S2 10  DTR status (pin 20)
682250276Speter#     U  disconnected
682350276Speter#     D  duplex
682450276Speter# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
682550276Speter# <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
6826166124Srafantvi910|televideo model 910,
6827166124Srafan	OTbs, am, msgr,
6828166124Srafan	cols#80, it#8, lines#24, xmc#1,
6829166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6830166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
6831166124Srafan	home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
6832166124Srafan	if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
6833166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
6834166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6835166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6836166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
683750276Speter# From: Alan R. Rogers <rogers%albany@csnet-relay>
683850276Speter# as subsequently hacked over by someone at SCO
683950276Speter# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
684050276Speter#
684150276Speter# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
684250276Speter#
684350276Speter# S1  1 2 3 4:
684450276Speter#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
684550276Speter#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
684650276Speter#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
684750276Speter#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
684850276Speter#
684950276Speter# S1  5 6 7 8:
685050276Speter#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
685150276Speter#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
685250276Speter#     D U D D  8O1     D U U U  8E2
6853166124Srafan#
685450276Speter# S1  9  Autowrap            (U = on, D = off)
685550276Speter# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
685650276Speter# S2  1  Mode                (U = block, D = conversational)
685750276Speter# S2  2  Duplex              (U =  half, D = full)
685850276Speter# S2  3  Hertz               (U = 50, D = 60)
685950276Speter# S2  4  Edit mode           (U = local, D = duplex)
686050276Speter# S2  5  Cursor type         (U = underline, D = block)
686150276Speter# S2  6  Cursor down key     (U = send ^J, D = send ^V)
686250276Speter# S2  7  Screen colour       (U = green on black, D = black on green)
686350276Speter# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
686450276Speter# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
686550276Speter# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
686650276Speter#
6867166124Srafantvi910+|televideo 910+,
6868166124Srafan	dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
6869166124Srafan	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
6870166124Srafan	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
6871166124Srafan	ll=\E=7\s, use=tvi910,
687250276Speter
687350276Speter# (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
687450276Speter# <khome> from BRL entry -- esr)
6875166124Srafantvi912|tvi914|tvi920|old televideo 912/914/920,
6876166124Srafan	OTbs, OTpt, am, msgr,
6877166124Srafan	cols#80, it#8, lines#24, xmc#1,
6878166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6879166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6880166124Srafan	dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
6881166124Srafan	ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
6882166124Srafan	il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
6883166124Srafan	kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
6884166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
6885166124Srafan	kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
6886166124Srafan	tbc=\E3,
6887166124Srafan# We got some new tvi912c terminals that act really weird on the regular
6888166124Srafan# termcap, so one of our gurus worked this up. Seems that cursor
688950276Speter# addressing is broken.
6890166124Srafantvi912cc|tvi912 at cowell college,
6891166124Srafan	cup@, use=tvi912c,
689250276Speter
6893166124Srafan# tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
6894166124Srafan# From: Benjamin C. W. Sittler
689550276Speter#
6896166124Srafan# Someone has put a scanned copy of the manual online at:
6897166124Srafan#     http://vt100.net/televideo/912b-om/
6898166124Srafan#
6899166124Srafan# These terminals were produced ca. 1979, and had a 12" monochrome
6900166124Srafan# screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
6901166124Srafan# ASCII, and were generally similar to adm3a but with attributes
6902166124Srafan# (including some with magic cookies), fancy half-duplex mode, and
6903166124Srafan# different bugs.
6904166124Srafan#
6905166124Srafan# Some operations reqire truly incredible amounts of padding. The
6906166124Srafan# insert_line (<il1>) and delete_line (<dl1>) operations in particular
6907166124Srafan# are so slow as to be nearly unusable.
6908166124Srafan#
6909166124Srafan# There may or may not have been a separate, earlier series of 912/920
6910166124Srafan# terminals (without the "B" and "C" suffix); I have never seen one,
6911166124Srafan# and the manual only describes the "B" and "C" series. The 912 and 920
6912166124Srafan# are quite distinct from the 914 and 924, which were much nicer non-
6913166124Srafan# magic-cookie terminals similar to the 950.
6914166124Srafan#
6915166124Srafan# This is a new description for the following TeleVideo terminals,
6916166124Srafan# distinguished chiefly by their keyboards:
6917166124Srafan#
6918166124Srafan#   TVI-912B - very odd layout, no function keys (84 keys)
6919166124Srafan#   TVI-920B - typewriter layout, no function keys (103 keys)
6920166124Srafan#   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
6921166124Srafan#   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
6922166124Srafan#
6923166124Srafan# To choose a setting for the TERM variable, start with the model:
6924166124Srafan#
6925166124Srafan#    Model  || base name
6926166124Srafan# ----------||-----------
6927166124Srafan#  TVI-912B || tvi912b
6928166124Srafan#  TVI-912C || tvi912c
6929166124Srafan#  TVI-920B || tvi920b
6930166124Srafan#  TVI-920C || tvi920c
6931166124Srafan#
6932166124Srafan# Then add a suffix from the following table describing installed options
6933166124Srafan# and how you'd like to use the terminal:
6934166124Srafan#
6935166124Srafan#   Use Video | Second | Visual |  Magic  |  Page || feature
6936166124Srafan#  Attributes |  Page  |  Bell  | Cookies | Print || suffix
6937166124Srafan# ------------|--------|--------|---------|-------||---------
6938166124Srafan#      No     |   No   |  N/A   |   N/A   |   No  || -unk
6939166124Srafan#      No     |   No   |  N/A   |   N/A   |  Yes  || -p
6940166124Srafan#      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
6941166124Srafan#      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
6942166124Srafan#      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
6943166124Srafan#      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
6944166124Srafan#     Yes     |   No   |  N/A   |    No   |  N/A  ||
6945166124Srafan#     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
6946166124Srafan#     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
6947166124Srafan#     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
6948166124Srafan#     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
6949166124Srafan#     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
6950166124Srafan#
6951166124Srafan# So e.g. a model 920 C with second page memory option, visual bell
6952166124Srafan# and no magic cookies would be tvi920c-vb; a model 912 B without the
6953166124Srafan# second page memory option and using magic cookies would be
6954166124Srafan# tvi912b-mc
6955166124Srafan#
6956166124Srafan# PADDING
6957166124Srafan#
6958166124Srafan# At 9600 baud, the terminal is prone to overflow its input buffer
6959166124Srafan# during complex operations (insert/delete
6960166124Srafan# character/line/screen/page), and it does not signal this over the
6961166124Srafan# RS232 cable. The typical symptom of an overrun is that the terminal
6962166124Srafan# starts beeping, and output becomes garbled.
6963166124Srafan#
6964166124Srafan# The padding delays in this terminfo were derived using tack(1)
6965166124Srafan# running on a Linux box connected to a TVI-920C with a later-model
6966166124Srafan# (A49C1-style) ROM running at 9600 baud, so your mileage may
6967166124Srafan# vary. The numbers below seem to give the terminal enough time so
6968166124Srafan# that it doesn't overflow its input buffer and start losing
6969166124Srafan# characters.
6970166124Srafan#
6971166124Srafan# KEYS
6972166124Srafan#
6973166124Srafan# If you want to use the FUNCT key on a tvi912[bc], use the
6974166124Srafan# corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
6975166124Srafan# the following table (these also work on the 920 series):
6976166124Srafan#
6977166124Srafan# Unshifted Function Keys:
6978166124Srafan#
6979166124Srafan#  Key | capname|| Equivalent
6980166124Srafan# -----|--------||------------
6981166124Srafan#   F1 |  <kf1> || FUNCT + @
6982166124Srafan#   F2 |  <kf2> || FUNCT + A
6983166124Srafan#   F3 |  <kf3> || FUNCT + B
6984166124Srafan#   F4 |  <kf4> || FUNCT + C
6985166124Srafan#   F5 |  <kf5> || FUNCT + D
6986166124Srafan#   F6 |  <kf6> || FUNCT + E
6987166124Srafan#   F7 |  <kf7> || FUNCT + F
6988166124Srafan#   F8 |  <kf8> || FUNCT + G
6989166124Srafan#   F9 |  <kf9> || FUNCT + H
6990166124Srafan#  F10 | <kf10> || FUNCT + I
6991166124Srafan#  F11 | <kf11> || FUNCT + J
6992166124Srafan#
6993166124Srafan# Shifted Function Keys:
6994166124Srafan#
6995166124Srafan#  SHIFT + Key | capname|| Equivalent
6996166124Srafan# -------------|--------||------------
6997166124Srafan#   SHIFT + F1 | <kf12> || FUNCT + `
6998166124Srafan#   SHIFT + F2 | <kf13> || FUNCT + a
6999166124Srafan#   SHIFT + F3 | <kf14> || FUNCT + b
7000166124Srafan#   SHIFT + F4 | <kf15> || FUNCT + c
7001166124Srafan#   SHIFT + F5 | <kf16> || FUNCT + d
7002166124Srafan#   SHIFT + F6 | <kf17> || FUNCT + e
7003166124Srafan#   SHIFT + F7 | <kf18> || FUNCT + f
7004166124Srafan#   SHIFT + F8 | <kf19> || FUNCT + g
7005166124Srafan#   SHIFT + F9 | <kf20> || FUNCT + h
7006166124Srafan#  SHIFT + F10 | <kf21> || FUNCT + i
7007166124Srafan#  SHIFT + F11 | <kf22> || FUNCT + j
7008166124Srafan#
7009166124Srafan# PORTS AND SWITCH SETTINGS
7010166124Srafan#
7011166124Srafan# Here are the switch settings for the TVI-912B/TVI-920B and
7012166124Srafan# TVI-912C/TVI-920C:
7013166124Srafan#
701450276Speter# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
701550276Speter# 2: 9600	3: 4800		4: 2400		5: 1200
701650276Speter# 6:  600	7:  300		8:  150		9:   75
701750276Speter# 10: 110
701850276Speter#
701950276Speter# S2 UART/Terminal options:
702050276Speter# 		Up			Down
702150276Speter# 1:		Not used		Not allowed
702250276Speter# 2:	Alternate character set	  Standard character set
702350276Speter# 3:	    Full duplex		    Half duplex
702450276Speter# 4:	    50 Hz refresh	    60 Hz refresh
702550276Speter# 5:	      No parity		     Send parity
702650276Speter# 6:	     2 stop bits	     1 stop bit
702750276Speter# 7:	     8 data bits	     7 data bits
702850276Speter# 8:		Not used		Not allowed on Rev E or lower
702950276Speter# 9:	     Even parity	     Odd parity
703050276Speter# 10:	    Steady cursor	    Blinking cursor
703150276Speter# 	(On Rev E or lower, use W25 instead of switch 10.)
7032166124Srafan#
703350276Speter# S5 UART/Terminal options:
703450276Speter# 		Open			Closed
703550276Speter# 1:	P3-6 Not connected	DSR received on P3-6
703650276Speter# 2:	P3-8 Not connected	DCD received on P3-8
703750276Speter#
703850276Speter# 3 Open, 4 Open:		P3-20 Not connected
703950276Speter# 3 Open, 4 Closed:	DTR on when terminal is on
704050276Speter# 3 Closed, 4 Open:	DTR is connected to RTS
704150276Speter# 3 Closed, 4 Closed:	Not allowed
704250276Speter#
704350276Speter# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
704450276Speter# 		all data transmitted out of the modem port (P3) will also be
704550276Speter# 		transmitted out of the printer port (P4).
704650276Speter#
704750276Speter# 6 Open, 7 Open:		Not allowed
704850276Speter# 6 Open, 7 Closed:	20ma current loop input
704950276Speter# 6 Closed, 7 Open:	RS232 input
705050276Speter# 6 Closed, 7 Closed:	Not allowed
705150276Speter#
705250276Speter# Jumper options:
705350276Speter# If the jumper is installed, the effect will occur (the next time the terminal
705450276Speter# is switched on).
705550276Speter#
705650276Speter# S4/W31:	Enables automatic LF upon receipt of CR from
705750276Speter# 		remote or keyboard.
7058166124Srafan# S4/W32:	Enables transmission of EOT at the end of Send.  If not
705950276Speter# 		installed, a carriage return is sent.
706050276Speter# S4/W33:	Disables automatic carriage return in column 80.
7061166124Srafan# S4/W34:	Selects Page Print Mode as initial condition.  If not
706250276Speter# 		installed, Extension Mode is selected.
706350276Speter#
7064166124Srafan# NON-STANDARD CAPABILITIES
7065166124Srafan#
7066166124Srafan# Sending <u9> or <u7> returns a cursor position report in the format
7067166124Srafan# YX\r, where Y and X are as in <cup>. This format is described in
7068166124Srafan# <u8> and <u6>, but it's not clear how one should write an
7069166124Srafan# appropriate scanf string, since we need to subtract %' ' from the
7070166124Srafan# character after reading it. The <u9> capability is used by tack(1)
7071166124Srafan# to synchronize during padding tests, and seems to work for that
7072166124Srafan# purpose.
7073166124Srafan#
7074166124Srafan# This description also includes the obsolete termcap capabilities
7075166124Srafan# has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
7076166124Srafan#
7077166124Srafan# FEATURES NOT YET DESCRIBED IN THIS TERMINFO
7078166124Srafan#
7079166124Srafan# The FUNCT modifier actually works with every normal key by sending
7080166124Srafan# ^AX\r, where X is the sequence normally sent by that key. This is a
7081166124Srafan# sort of meta key not currently describable in terminfo.
7082166124Srafan#
7083166124Srafan# There are quite a few other keys (especially on the 920 models,) but
7084166124Srafan# they are for the most part only useful in block mode.
7085166124Srafan#
7086166124Srafan# These terminals have lots of forms manipulation features, mainly
7087166124Srafan# useful in block mode, including "clear X to nulls" (vs. "clear X to
7088166124Srafan# spaces"; nulls are sentinels for "send X" operations); "send X"
7089166124Srafan# operations for uploading all or part of the screen; and block-mode
7090166124Srafan# editing keys (they don't send escape sequences, but manipulate video
7091166124Srafan# memory directly). Block mode is used for local editing, and protect
7092166124Srafan# mode (in conjunction with the "write protect" attribute,
7093166124Srafan# a.k.a. half-intensity outside of protect mode) is used to control
7094166124Srafan# which parts of the screen are edited/sent/printed (by <mc0>).
7095166124Srafan#
7096166124Srafan# There are at least two major families of ROM, "early" and
7097166124Srafan# A49B1/A49C1; the major difference seems to be that the latter ROMs
7098166124Srafan# support a few extra escape sequences for manipulating the off-screen
7099166124Srafan# memory page, and for sending whole pages back to the host (mainly
7100166124Srafan# useful in block mode.) The descriptions in this file don't use any
7101166124Srafan# of those sequences: set cursor position including page (\E-PYX,
7102166124Srafan# where P is \s for page 0 and ! for page 1 [actually only the LSB of
7103166124Srafan# P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
7104166124Srafan# as in <cup>); read cursor position (\E/), which is analogous to <u9>
7105166124Srafan# and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
7106166124Srafan# are as in <cup>, and some "send page" features mainly useful for
7107166124Srafan# forms manipulation.
7108166124Srafan#
7109166124Srafan# The keyboard enable (\E") and disable (\E#) sequences are unused,
7110166124Srafan# except that a terminal reset (<is2>) enables the keyboard.
7111166124Srafan#
7112166124Srafan# Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
7113166124Srafan# enabled in <is2>, but auto-flip is very jarring so we don't use it.
7114166124Srafan#
7115166124Srafan# BUGS
7116166124Srafan#
7117166124Srafan# At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
7118166124Srafan# sequences (I infer that in some TeleVideo terminal they may invert
7119166124Srafan# and uninvert the display) so the <flash> sequence given here is a
7120166124Srafan# cheesy page-flip instead.
7121166124Srafan#
7122166124Srafan# The back_tab (<cbt>) sequence (\EI) doesn't work according to
7123166124Srafan# tack(1), so it is not included in the descriptions below.
7124166124Srafan#
7125166124Srafan# It's not clear whether auto_left_margin (<bw>) flag should be set
7126166124Srafan# for these terminals; tack says yes, so it is set here, but this
7127166124Srafan# differs from other descriptions I've seen.
7128166124Srafan#
7129166124Srafan# Extension print mode (<mc5>) echoes all characters to the printer
7130166124Srafan# port [in addition to displaying them] except for the page print mode
7131166124Srafan# sequence (<mc4>); this is a slight violation of the terminfo
7132166124Srafan# definition for <mc5> but I don't expect it to cause problems.  We
7133166124Srafan# reset to page print mode in <rs1> since it may have been enabled
7134166124Srafan# accidentally.
7135166124Srafan#
7136166124Srafan# The descriptions with plus signs (+) are building blocks.
713750276Speter
7138166124Srafantvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes),
7139166124Srafan	OTbs, OTpt, am, bw,
7140166124Srafan	cols#80, it#8, lines#24,
7141166124Srafan	bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7142166124Srafan	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>,
7143166124Srafan	dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>,
7144166124Srafan	home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>,
7145166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>,
7146166124Srafan	ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J,
7147166124Srafan	kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA,
7148166124Srafan	mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r,
7149166124Srafan	u7=\E?, u8=%c%c\r, u9=\E?,
7150166124Srafan
7151166124Srafan# This isn't included in the basic capabilities because it is
7152166124Srafan# typically unusable in combination with the full range of video
7153166124Srafan# attributes, since the magic cookie attributes turn into ASCII
7154166124Srafan# control characters, and the half-intensity ("protected") attribute
7155166124Srafan# converts all affected characters to spaces.
7156166124Srafan
7157166124Srafantvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support,
7158166124Srafan	mc0=\EP,
7159166124Srafan
7160166124Srafan# This uses half-intensity mode (<dim>) for standout (<smso>), and
7161166124Srafan# exposes no other attributes (half-intensity is the only attribute
7162166124Srafan# that does not generate a magic cookie.)
7163166124Srafan
7164166124Srafantvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support,
7165166124Srafan	msgr,
7166166124Srafan	dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(,
7167166124Srafan	smso=\E),
7168166124Srafan
7169166124Srafan# Full magic-cookie attribute support, with half-intensity reverse
7170166124Srafan# video for standout. Note that we add a space in the <dim> sequence
7171166124Srafan# to give a consistent magic-cookie count. Also note that <sgr> uses
7172166124Srafan# backspacing (in the TVI-supported order) to apply all requested
7173166124Srafan# attributes with only a single magic cookie.
7174166124Srafan
7175166124Srafantvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support,
7176166124Srafan	xmc#1,
7177166124Srafan	blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek,
7178166124Srafan	rmul=\Em,
7179166124Srafan	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%;%;,
7180166124Srafan	sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El,
7181166124Srafan
7182166124Srafan# This uses the second page memory option to save & restore screen
7183166124Srafan# contents. If your terminal is missing the option, this description
7184166124Srafan# should still work, but that has not been tested.
7185166124Srafan
7186166124Srafantvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support,
7187166124Srafan	flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s,
7188166124Srafan	smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>,
7189166124Srafan
7190166124Srafan# This simulates flashing by briefly toggling to the other page
7191166124Srafan# (kludge!)
7192166124Srafan
7193166124Srafantvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support,
7194166124Srafan	bel=\EK$<100>\EK, use=tvi912b+2p,
7195166124Srafan
7196166124Srafan# Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
7197166124Srafan
7198166124Srafantvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support,
7199166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r,
7200166124Srafan	kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r,
7201166124Srafan	kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r,
7202166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
7203166124Srafan	kf8=^AG\r, kf9=^AH\r,
7204166124Srafan
7205166124Srafan# Combinations of the basic building blocks
7206166124Srafan
7207166124Srafantvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes),
7208166124Srafan	use=tvi912b+2p, use=tvi912b-unk,
7209166124Srafan
7210166124Srafantvi912b-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),
7211166124Srafan	use=tvi912b+vb, use=tvi912b-unk,
7212166124Srafan
7213166124Srafantvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print),
7214166124Srafan	use=tvi912b+printer, use=tvi912b-unk,
7215166124Srafan
7216166124Srafantvi912b-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),
7217166124Srafan	use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk,
7218166124Srafan
7219166124Srafantvi912b-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),
7220166124Srafan	use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk,
7221166124Srafan
7222166124Srafantvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute),
7223166124Srafan	use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk,
7224166124Srafan
7225166124Srafantvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies),
7226166124Srafan	use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk,
7227166124Srafan
7228166124Srafantvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute),
7229166124Srafan	use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk,
7230166124Srafan
7231166124Srafantvi912b-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),
7232166124Srafan	use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk,
7233166124Srafan
7234166124Srafantvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute),
7235166124Srafan	use=tvi912b+dim, use=tvi912b-unk,
7236166124Srafan
7237166124Srafantvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies),
7238166124Srafan	use=tvi912b+mc, use=tvi912b-unk,
7239166124Srafan
7240166124Srafantvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes),
7241166124Srafan	use=tvi920b+fn, use=tvi912b-unk,
7242166124Srafan
7243166124Srafantvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes),
7244166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk,
7245166124Srafan
7246166124Srafantvi920b-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),
7247166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk,
7248166124Srafan
7249166124Srafantvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print),
7250166124Srafan	use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk,
7251166124Srafan
7252166124Srafantvi920b-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),
7253166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer,
7254166124Srafan	use=tvi912b-unk,
7255166124Srafan
7256166124Srafantvi920b-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),
7257166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer,
7258166124Srafan	use=tvi912b-unk,
7259166124Srafan
7260166124Srafantvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute),
7261166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim,
7262166124Srafan	use=tvi912b-unk,
7263166124Srafan
7264166124Srafantvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies),
7265166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc,
7266166124Srafan	use=tvi912b-unk,
7267166124Srafan
7268166124Srafantvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute),
7269166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim,
7270166124Srafan	use=tvi912b-unk,
7271166124Srafan
7272166124Srafantvi920b-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),
7273166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc,
7274166124Srafan	use=tvi912b-unk,
7275166124Srafan
7276166124Srafantvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute),
7277166124Srafan	use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk,
7278166124Srafan
7279166124Srafantvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies),
7280166124Srafan	use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk,
7281166124Srafan
728250276Speter# Televideo 921 and variants
728350276Speter# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
728450276Speter# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
728550276Speter# also added empty <acsc> to suppress tic warning -- esr)
7286166124Srafantvi921|televideo model 921 with sysline same as page & real vi function,
7287166124Srafan	OTbs, OTpt, am, hs, xenl, xhp,
7288166124Srafan	cols#80, lines#24, xmc#0,
7289166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7290166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7291166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7292166124Srafan	el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
7293166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
7294166124Srafan	is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
7295166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
7296166124Srafan	ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%,
7297166124Srafan	rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr,
729850276Speter# without the beeper
729950276Speter# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
730050276Speter# also added empty <acsc> to suppress tic warning -- esr)
7301166124Srafantvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
7302166124Srafan	am, hs, xenl, xhp,
7303166124Srafan	cols#80, lines#24, xmc#0,
7304166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7305166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7306166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7307166124Srafan	el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
7308166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7309166124Srafan	invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
7310166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
7311166124Srafan	kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
7312166124Srafan	nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr,
731350276Speter# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
7314166124Srafantvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
7315166124Srafan	dl1=\ER$<2*/>, il1=\EE$<2*/>,
7316166124Srafan	is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
7317166124Srafan	kil1=\EE$<2*/>, use=tvi92B,
731850276Speter
731950276Speter# (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
732050276Speter# in from a BSD termcap file because it looks like they do something the
732150276Speter# old ones skip -- esr)
7322166124Srafantvi924|televideo tvi924,
7323166124Srafan	am, bw, hs, in, mir, msgr, xenl, xon,
7324166124Srafan	cols#80, it#8, lines#24, wsl#80, xmc#0,
7325166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
7326166124Srafan	cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
7327166124Srafan	cub1=^H, cud1=^V, cuf1=^L,
7328166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
7329166124Srafan	dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
7330166124Srafan	flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
7331166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7332166124Srafan	invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
7333166124Srafan	kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7334166124Srafan	kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
7335166124Srafan	kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
7336166124Srafan	kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
7337166124Srafan	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
7338166124Srafan	kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
7339166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
7340166124Srafan	pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef,
7341166124Srafan	use=adm+sgr,
734250276Speter
734350276Speter# TVI925 DIP switches.  In each of these, D = Down and U = Up,
734450276Speter#
734550276Speter# Here are the settings for the external (baud) switches (S1):
734650276Speter#
734750276Speter#             Position		Baud
734850276Speter# 7	8	9	10		[Printer]
734950276Speter# 1	2	3	4		[Main RS232]
735050276Speter# -----------------------------------------------------
735150276Speter# D	D	D	D	9600
735250276Speter# D	D	D	U	  50
735350276Speter# D	D	U	D	  75
735450276Speter# D	D	U	U	 110
735550276Speter# D	U	D	D	 135
735650276Speter# D	U	D	U	 150
735750276Speter# D	U	U	D	 300
735850276Speter# D	U	U	U	 600
735950276Speter# U	D	D	D	1200
736050276Speter# U	D	D	U	1800
736150276Speter# U	D	U	D	2400
736250276Speter# U	D	U	U	3600
736350276Speter# U	U	D	D	4800
736450276Speter# U	U	D	U	7200
736550276Speter# U	U	U	D	9600
736650276Speter# U	U	U	U	19200
7367166124Srafan#
7368166124Srafan#
736950276Speter# Settings for word length and stop-bits (S1)
737050276Speter#
737150276Speter#  Position	Description
7372166124Srafan# 5	6
737350276Speter# ---------------------------
737450276Speter# U	-	7-bit word
737550276Speter# D	-	8-bit word
737650276Speter# -	U	2 stop bits
737750276Speter# -	D	1 stop bit
7378166124Srafan#
7379166124Srafan#
738050276Speter# S2 (external) settings
738150276Speter#
738250276Speter# Position	Up	Dn	Description
738350276Speter# --------------------------------------------
738450276Speter# 1		X		Local edit
738550276Speter# 			X	Duplex edit (transmit editing keys)
738650276Speter# --------------------------------------------
738750276Speter# 2		X		912/920 emulation
738850276Speter# 			X	925
738950276Speter# --------------------------------------------
739050276Speter# 3			X
739150276Speter# 4			X	No parity
7392166124Srafan# 5			X
739350276Speter# --------------------------------------------
739450276Speter# 3			X
739550276Speter# 4			X	Odd parity
7396166124Srafan# 5		X
739750276Speter# --------------------------------------------
739850276Speter# 3			X
739950276Speter# 4		X		Even parity
7400166124Srafan# 5		X
740150276Speter# --------------------------------------------
7402166124Srafan# 3		X
740350276Speter# 4			X	Mark parity
7404166124Srafan# 5		X
740550276Speter# --------------------------------------------
740650276Speter# 3		X
740750276Speter# 4		X		Space parity
740850276Speter# 5		X
740950276Speter# --------------------------------------------
741050276Speter# 6		X		White on black display
741150276Speter# 			X	Black on white display
741250276Speter# --------------------------------------------
741350276Speter# 7			X	Half Duplex
741450276Speter# 8			X
741550276Speter# --------------------------------------------
741650276Speter# 7		X		Full Duplex
7417166124Srafan# 8			X
741850276Speter# --------------------------------------------
741950276Speter# 7			X	Block mode
7420166124Srafan# 8		X
742150276Speter# --------------------------------------------
742250276Speter# 9			X	50 Hz
742350276Speter# 		X		60 Hz
742450276Speter# --------------------------------------------
742550276Speter# 10		X		CR/LF (Auto LF)
742650276Speter# 			X	CR only
7427166124Srafan#
742850276Speter# S3 (internal switch) settings:
7429166124Srafan#
743050276Speter# Position	Up	Dn	Description
743150276Speter# --------------------------------------------
7432166124Srafan# 1		X		Keyclick off
743350276Speter# 			X	Keyclick on
743450276Speter# --------------------------------------------
743550276Speter# 2			X	English
7436166124Srafan# 3			X
743750276Speter# --------------------------------------------
743850276Speter# 2			X	German
7439166124Srafan# 3		X
744050276Speter# --------------------------------------------
744150276Speter# 2		X		French
7442166124Srafan# 3			X
744350276Speter# --------------------------------------------
744450276Speter# 2		X		Spanish
7445166124Srafan# 3		X
744650276Speter# --------------------------------------------
744750276Speter# 4			X	Blinking block cursor
7448166124Srafan# 5			X
744950276Speter# --------------------------------------------
745050276Speter# 4			X	Blinking underline cursor
7451166124Srafan# 5		X
745250276Speter# --------------------------------------------
745350276Speter# 4		X		Steady block cursor
7454166124Srafan# 5			X
745550276Speter# --------------------------------------------
745650276Speter# 4		X		Steady underline cursor
7457166124Srafan# 5		X
745850276Speter# --------------------------------------------
745950276Speter# 6		X		Screen blanking timer (ON)
746050276Speter# 			X	Screen blanking timer (OFF)
746150276Speter# --------------------------------------------
746250276Speter# 7		X		Page attributes
746350276Speter# 			X	Line attributes
746450276Speter# --------------------------------------------
746550276Speter# 8		X		DCD disconnected
746650276Speter# 			X	DCD connected
746750276Speter# --------------------------------------------
746850276Speter# 9		X		DSR disconnected
746950276Speter# 			X	DSR connected
747050276Speter# --------------------------------------------
747150276Speter# 10		X		DTR Disconnected
747250276Speter# 			X	DTR connected
747350276Speter# --------------------------------------------
747450276Speter#
747550276Speter# (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
7476166124Srafantvi925|televideo 925,
7477166124Srafan	OTbs, am, bw, hs, ul,
7478166124Srafan	cols#80, lines#24, xmc#1,
7479166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
7480166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7481166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
7482166124Srafan	flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
7483166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
7484166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
7485166124Srafan	ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
7486166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
7487166124Srafan	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
7488166124Srafan	tsl=\Eh\Ef, use=adm+sgr,
748950276Speter# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
749050276Speter# to avoid "magic cookie" standout glitch:
7491166124Srafantvi925-hi|TeleVideo Model 925 with half intensity standout mode,
7492166124Srafan	xmc@,
7493166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
749450276Speter
749550276Speter# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
749650276Speter# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
7497166124Srafan# for additional capabilities,
749850276Speter# The following tvi descriptions from B:pjphar and virus!mike
749950276Speter# is for all 950s.  It sets the following attributes:
750050276Speter# full duplex (\EDF)		write protect off (\E()
750150276Speter# conversation mode (\EC)	graphics mode off (\E%)
750250276Speter# white on black (\Ed)		auto page flip off (\Ew)
750350276Speter# turn off status line (\Eg)	clear status line (\Ef\r)
750450276Speter# normal video (\E0)		monitor mode off (\EX or \Eu)
750550276Speter# edit mode (\Er)		load blank char to space (\Ee\040)
750650276Speter# line edit mode (\EO)		enable buffer control (^O)
750750276Speter# protect mode off (\E\047)	duplex edit keys (\El)
750850276Speter# program unshifted send key to send line all (\E016)
750950276Speter# program shifted send key to send line unprotected (\E004)
751050276Speter# set the following to nulls:
751150276Speter#	field delimiter (\Ex0\200\200)
751250276Speter#	line delimiter (\Ex1\200\200)
751350276Speter#	start-protected field delimiter (\Ex2\200\200)
751450276Speter#	end-protected field delimiter (\Ex3\200\200)
751550276Speter# set end of text delimiter to carriage return/null (\Ex4\r\200)
7516166124Srafan#
751750276Speter#                     TVI 950 Switch Setting Reference Charts
7518166124Srafan#
751950276Speter#                                     TABLE 1:
7520166124Srafan#
752150276Speter#      S1     1     2     3     4     5     6     7     8     9    10
752250276Speter#          +-----------------------+-----+-----+-----------------------+
752350276Speter#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
752450276Speter#          |                       |Bits |Bits |                       |
752550276Speter#   +------+-----------------------+-----+-----+-----------------------+
752650276Speter#   |  Up  |        See            |  7  |  2  |        See            |
752750276Speter#   +------+-----------------------+-----+-----+-----------------------+
752850276Speter#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
752950276Speter#   +------+-----------------------+-----+-----+-----------------------+
7530166124Srafan#
7531166124Srafan#
753250276Speter#      S2     1     2     3     4     5     6     7     8     9    10
753350276Speter#          +-----+-----+-----------------+-----+-----------+-----+-----+
753450276Speter#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
753550276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
753650276Speter#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
753750276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
753850276Speter#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
753950276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7540166124Srafan#
754150276Speter#                                    TABLE 2:
7542166124Srafan#
754350276Speter#             +-----------+-----+-----+-----+-----+-----------+
754450276Speter#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
754550276Speter#             +-----------+-----+-----+-----+-----+           |
754650276Speter#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
754750276Speter#             +-----------+-----+-----+-----+-----+-----------+
754850276Speter#                         |  D  |  D  |  D  |  D  |   9600    |
754950276Speter#                         |  U  |  D  |  D  |  D  |     50    |
755050276Speter#                         |  D  |  U  |  D  |  D  |     75    |
755150276Speter#                         |  U  |  U  |  D  |  D  |    110    |
755250276Speter#                         |  D  |  D  |  U  |  D  |    135    |
755350276Speter#                         |  U  |  D  |  U  |  D  |    150    |
755450276Speter#                         |  D  |  U  |  U  |  D  |    300    |
755550276Speter#                         |  U  |  U  |  U  |  D  |    600    |
755650276Speter#                         |  D  |  D  |  D  |  U  |   1200    |
755750276Speter#                         |  U  |  D  |  D  |  U  |   1800    |
755850276Speter#                         |  D  |  U  |  D  |  U  |   2400    |
755950276Speter#                         |  U  |  U  |  D  |  U  |   3600    |
756050276Speter#                         |  D  |  D  |  U  |  U  |   4800    |
756150276Speter#                         |  U  |  D  |  U  |  U  |   7200    |
756250276Speter#                         |  D  |  U  |  U  |  U  |   9600    |
756350276Speter#                         |  U  |  U  |  U  |  U  |  19200    |
756450276Speter#                         +-----+-----+-----+-----+-----------+
7565166124Srafan#
756650276Speter#                                    TABLE 3:
756750276Speter#                         +-----+-----+-----+-----------+
756850276Speter#                         |  3  |  4  |  5  |   Parity  |
756950276Speter#                         +-----+-----+-----+-----------+
757050276Speter#                         |  X  |  X  |  D  |    None   |
757150276Speter#                         |  D  |  D  |  U  |     Odd   |
757250276Speter#                         |  D  |  U  |  U  |    Even   |
757350276Speter#                         |  U  |  D  |  U  |    Mark   |
757450276Speter#                         |  U  |  U  |  U  |   Space   |
757550276Speter#                         +-----+-----+-----+-----------+
757650276Speter#                                 X = don't care
7577166124Srafan#
757850276Speter#                                     CHART:
757950276Speter#                         +-----+-----+-----------------+
758050276Speter#                         |  7  |  8  | Communication   |
758150276Speter#                         +-----+-----+-----------------+
758250276Speter#                         |  D  |  D  |  Half Duplex    |
758350276Speter#                         |  D  |  U  |  Full Duplex    |
758450276Speter#                         |  U  |  D  |     Block       |
758550276Speter#                         |  U  |  U  |     Local       |
758650276Speter#                         +-----+-----+-----------------+
7587166124Srafan#
7588166124Srafan# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
7589166124Srafan# I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
759050276Speter# should be present and all tvi native modes use the same string for this.
7591166124Srafan# Finally, note that BSD has cud1=^V. -- esr)
7592166124Srafantvi950|televideo 950,
7593166124Srafan	OTbs, am, hs, mir, msgr, xenl, xon,
7594166124Srafan	cols#80, it#8, lines#24, xmc#1,
7595166124Srafan	acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
7596166124Srafan	cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7597166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7598166124Srafan	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
7599166124Srafan	fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
7600166124Srafan	invis@,
7601166124Srafan	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,
7602166124Srafan	kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
7603166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
7604166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7605166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
7606166124Srafan	kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
7607166124Srafan	rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
7608166124Srafan	use=adm+sgr,
760950276Speter#
761050276Speter# is for 950 with two pages adds the following:
761150276Speter#	set 48 line page (\E\\2)
761250276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
761350276Speter#	set local (no send) edit keys (\Ek)
761450276Speter#
761550276Speter# two page 950 adds the following:
761650276Speter#	when entering ex, set 24 line page (\E\\1)
761750276Speter#	when exiting ex, reset 48 line page (\E\\2)
761850276Speter#			 place cursor at 0,24,1 (\E-07 )
761950276Speter#	set duplex (send) edit keys (\El) when entering vi
762050276Speter#	set local (no send) edit keys (\Ek) when exiting vi
762150276Speter#
7622166124Srafantvi950-2p|televideo950 w/2 pages,
7623166124Srafan	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,
7624166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7625166124Srafan	smkx=\El, use=tvi950,
762650276Speter#
762750276Speter# is for 950 with four pages adds the following:
762850276Speter#	set 96 line page (\E\\3)
762950276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
763050276Speter#
763150276Speter# four page 950 adds the following:
763250276Speter#	when entering ex, set 24 line page (\E\\1)
763350276Speter#	when exiting ex, reset 96 line page (\E\\3)
763450276Speter#			 place cursor at 0,24,1 (\E-07 )
763550276Speter#
7636166124Srafantvi950-4p|televideo950 w/4 pages,
7637166124Srafan	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,
7638166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7639166124Srafan	smkx=\El, use=tvi950,
764050276Speter#
764150276Speter# <is2> for reverse video 950 changes the following:
764250276Speter#	set reverse video (\Ed)
764350276Speter#
764450276Speter# set vb accordingly (\Ed ...delay... \Eb)
764550276Speter#
7646166124Srafantvi950-rv|televideo950 rev video,
7647166124Srafan	flash=\Ed$<200/>\Eb,
7648166124Srafan	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,
7649166124Srafan	use=tvi950,
765050276Speter
765150276Speter# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
7652166124Srafantvi950-rv-2p|televideo950 rev video w/2 pages,
7653166124Srafan	flash=\Ed$<200/>\Eb,
7654166124Srafan	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,
7655166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7656166124Srafan	smkx=\El, use=tvi950,
765750276Speter
765850276Speter# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
7659166124Srafantvi950-rv-4p|televideo950 rev video w/4 pages,
7660166124Srafan	flash=\Ed$<200/>\Eb,
7661166124Srafan	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,
7662166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7663166124Srafan	smkx=\El, use=tvi950,
766450276Speter# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
766550276Speter# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
766650276Speter# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
766750276Speter# the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
766850276Speter# the :ko: string had :cl: in it, which means that one of the original
766950276Speter# <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
767050276Speter# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
767150276Speter# ko implies -- esr)
767250276Speter# If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
767350276Speter# also work.
7674166124Srafantvi955|televideo 955,
7675166124Srafan	OTbs, mc5i, msgr@,
7676166124Srafan	it#8, xmc@,
7677166124Srafan	acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
7678166124Srafan	civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
7679166124Srafan	cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
7680166124Srafan	is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
7681166124Srafan	knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%,
7682166124Srafan	rmam=\E[=7l, rmxon=^N,
7683166124Srafan	rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
7684166124Srafan	sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
7685166124Srafan	use=tvi950,
7686166124Srafantvi955-w|955-w|televideo955 w/132 cols,
7687166124Srafan	cols#132,
7688166124Srafan	is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
768950276Speter# use half-intensity as normal mode, full intensity as <bold>
7690166124Srafantvi955-hb|955-hb|televideo955 half-bright,
7691166124Srafan	bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
7692166124Srafan	sgr0=\EG0\E[=5h, use=tvi955,
769350276Speter# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
769450276Speter# (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
769550276Speter# added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
769650276Speter# According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
769750276Speter# it does to the function keys.  I deduced <rmam>/<smam>.
769850276Speter# also added empty <acsc> to suppress tic warning,  -- esr)
7699166124Srafantvi970|televideo 970,
7700166124Srafan	OTbs, OTpt, am, da, db, mir, msgr,
7701166124Srafan	cols#80, it#8, lines#24,
7702166124Srafan	acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
7703166124Srafan	cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
7704166124Srafan	cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
7705166124Srafan	ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
7706166124Srafan	hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
7707166124Srafan	is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
7708166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7709166124Srafan	kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
7710166124Srafan	kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
7711166124Srafan	rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
7712166124Srafan	sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
7713166124Srafan	smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
7714166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd,
7715166124Srafantvi970-vb|televideo 970 with visual bell,
7716166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
7717166124Srafan	use=tvi970,
7718166124Srafantvi970-2p|televideo 970 with using 2 pages of memory,
7719166124Srafan	rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
7720166124Srafan	use=tvi970,
772150276Speter# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
772250276Speter# per line (rather than 40), Esc K chooses the normal character set.  Not sure
7723166124Srafan# padding is needed, but adapted from the tvi920c termcap.  The <smso> and
772450276Speter# <smul> strings are klutzy, but at least use no screen space.
772550276Speter# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
772650276Speter# its absence means <smam>=\Ev isn't safe to use. -- esr)
7727166124Srafan# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
772850276Speter# The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
772950276Speter# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
7730166124Srafantvipt|televideo personal terminal,
7731166124Srafan	OTbs, am,
7732166124Srafan	cols#80, lines#24,
7733166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
7734166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
7735166124Srafan	ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
7736166124Srafan	il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
7737166124Srafan	kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
7738166124Srafan	rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
773950276Speter# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
7740166124Srafantvi9065|televideo 9065,
7741166124Srafan	am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
7742166124Srafan	cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
7743166124Srafan	wnum#0, wsl#30,
7744166124Srafan	acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
7745166124Srafan	blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
7746166124Srafan	cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
7747166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
7748166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
7749166124Srafan	cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
7750166124Srafan	dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
7751166124Srafan	el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
7752166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
7753166124Srafan	il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
7754166124Srafan	ip=$<3>,
7755166124Srafan	is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
7756166124Srafan	is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
7757166124Srafan	kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7758166124Srafan	kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
7759166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
7760166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
7761166124Srafan	mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
7762166124Srafan	pfkey=\E|%p1%{48}%+%c3%p2%s\031,
7763166124Srafan	pfloc=\E|%p1%{48}%+%c2%p2%s\031,
7764166124Srafan	pfx=\E|%p1%{48}%+%c1%p2%s\031,
7765166124Srafan	pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
7766166124Srafan	rep=\E[%p2%db%p1%c, rev=\EG4,
7767166124Srafan	rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
7768166124Srafan	rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
7769166124Srafan	rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
7770166124Srafan	rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
7771166124Srafan	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,
7772166124Srafan	rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
7773166124Srafan	sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;,
7774166124Srafan	sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
7775166124Srafan	smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
7776166124Srafan	tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
777750276Speter
777850276Speter#### Visual (vi)
777950276Speter#
778050276Speter# In September 1993, Visual Technology of Westboro, Massachusetts,
778150276Speter# merged with White Pine Software of Nashua, New Hampshire.
778250276Speter#
778350276Speter# White Pine Software may be contacted at +1 603/886-9050.
778450276Speter# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
778550276Speter#
778650276Speter
778750276Speter# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
778850276Speter# Recently I hacked together the following termcap for Visual
778950276Speter# Technology's Visual 50 terminal. It's a slight modification of
7790166124Srafan# the vt52 termcap.
779150276Speter# It's intended to run when the Visual 50 is in vt52 emulation mode
779250276Speter# (I know what you're thinking; if it's emulating a vt52, then why
779350276Speter# another termcap? Well, it turns out that the Visual 50 can handle
779450276Speter# <dl1> and db(?) among other things, which the vt52 can't)
779550276Speter# The termcap works OK for the most part. The only problem is on
779650276Speter# character inserts. The whole line gets painfully redrawn for each
779750276Speter# character typed. Any suggestions?
779850276Speter# Beau's entry is combined with the vi50 entry from University of Wisconsin.
779950276Speter# Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
780050276Speter# disguise; <kf7>-<kf9> are really l1-l3.
7801166124Srafanvi50|visual 50,
7802166124Srafan	OTbs, OTpt, am, da, db, msgr,
7803166124Srafan	cols#80, it#8, lines#24,
7804166124Srafan	OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
7805166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7806166124Srafan	cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
7807166124Srafan	ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
7808166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
7809166124Srafan	kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
7810166124Srafan	nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
781150276Speter# this one was BSD & SCO's vi50
7812166124Srafanvi50adm|visual 50 in adm3a mode,
7813166124Srafan	am, msgr,
7814166124Srafan	cols#80, it#8, lines#24,
7815166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7816166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
7817166124Srafan	ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
7818166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
7819166124Srafan	rmso=\ET, smso=\EU,
782062449Speter# From: Jeff Siegal <jbs@quiotix.com>
7821166124Srafanvi55|Visual 55,
7822166124Srafan	OTbs, am, mir, msgr,
7823166124Srafan	cols#80, it#8, lines#24,
7824166124Srafan	clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
7825166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7826166124Srafan	cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
7827166124Srafan	il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
7828166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
7829166124Srafan	smir=\Ea, smso=\EU,
783050276Speter
783150276Speter# Visual 200 from BRL
783250276Speter# The following switch settings are assumed for normal operation:
783350276Speter#	FULL_DUPLEX		SCROLL			CR
783450276Speter#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
783550276Speter# Other switches may be set for operator convenience or communication
783650276Speter# requirements.
783750276Speter# Character insertion is kludged in order to get around the "beep" misfeature.
783850276Speter# (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
783950276Speter# Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
784050276Speter# and <dl1> strings, but we seem to get along fine without them.
7841166124Srafanvi200|visual 200,
7842166124Srafan	OTbs, OTpt, am, mir, msgr,
7843166124Srafan	OTkn#10, cols#80, it#8, lines#24,
7844166124Srafan	acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
7845166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7846166124Srafan	cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
7847166124Srafan	el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
7848166124Srafan	kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
7849166124Srafan	kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
7850166124Srafan	kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
7851166124Srafan	kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
7852166124Srafan	kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
7853166124Srafan	rmacs=\EG, rmkx=\E>, rmso=\E3,
7854166124Srafan	rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
7855166124Srafan	smkx=\E=, smso=\E4, tbc=\Eg,
785650276Speter# The older Visuals didn't come with function keys. This entry uses
785750276Speter# <smkx> and <rmkx> so that the keypad keys can be used as function keys.
785850276Speter# If your version of vi doesn't support function keys you may want
785950276Speter# to use vi200-f.
7860166124Srafanvi200-f|visual 200 no function keys,
7861166124Srafan	is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
7862166124Srafan	kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
7863166124Srafan	kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
7864166124Srafan	use=vi200,
7865166124Srafanvi200-rv|visual 200 reverse video,
7866166124Srafan	cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
786750276Speter
786850276Speter# the function keys are programmable but we don't reprogram them to their
786950276Speter# default values with <is2> because programming them is very verbose. maybe
787050276Speter# an initialization file should be made for the 300 and they could be stuck
787150276Speter# in it.
787250276Speter# (vi300: added <rmam>/<smam> based on init string -- esr)
7873166124Srafanvi300|visual 300 ansi x3.64,
7874166124Srafan	am, bw, mir, xenl,
7875166124Srafan	cols#80, lines#24,
7876166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
7877166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
7878166124Srafan	dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
7879166124Srafan	il1=\E[L, ind=^J,
7880166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
7881166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7882166124Srafan	kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
7883166124Srafan	kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
7884166124Srafan	kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
7885166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
7886166124Srafan	smso=\E[1m, smul=\E[4m,
788750276Speter# some of the vi300s have older firmware that has the command
788850276Speter# sequence for setting editing extent reversed.
7889166124Srafanvi300-old|visual 300 with old firmware (set edit extent reversed),
7890166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
7891166124Srafan	use=vi300,
789250276Speter
789350276Speter# Visual 500 prototype entry from University of Wisconsin.
789450276Speter# The best place to look for the escape sequences is page A1-1 of the
789550276Speter# Visual 500 manual.  The initialization sequence given here may be
789650276Speter# overkill, but it does leave out some of the initializations which can
789750276Speter# be done with the menus in set-up mode.
789850276Speter# The :xp: line below is so that emacs can understand the padding requirements
789950276Speter# of this slow terminal.  :xp: is 10 time the padding factor.
790050276Speter# (vi500: removed unknown :xp#4: termcap;
790150276Speter# also added empty <acsc> to suppress tic warning -- esr)
7902166124Srafanvi500|visual 500,
7903166124Srafan	am, mir, msgr,
7904166124Srafan	cols#80, it#8, lines#33,
7905166124Srafan	acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
7906166124Srafan	csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
7907166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
7908166124Srafan	dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
7909166124Srafan	el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
7910166124Srafan	ind=^J,
7911166124Srafan	is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
7912166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
7913166124Srafan	khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
7914166124Srafan	rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
791550276Speter
791650276Speter# The visual 550 is a visual 300 with tektronix graphics,
791750276Speter# and with 33 lines. clear screen is modified here to
791850276Speter# also clear the graphics.
7919166124Srafanvi550|visual 550 ansi x3.64,
7920166124Srafan	lines#33,
7921166124Srafan	clear=\030\E[H\E[2J, use=vi300,
792250276Speter
7923166124Srafanvi603|visual603|visual 603,
7924166124Srafan	hs, mir,
7925166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
7926166124Srafan	csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
7927166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
7928166124Srafan	dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
7929166124Srafan	ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
7930166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
7931166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
7932166124Srafan	use=vt100,
793350276Speter
793450276Speter#### Wyse (wy)
793550276Speter#
793650276Speter#	Wyse Technology
793750276Speter#	3471 North First Street
793850276Speter#	San Jose, CA 95134
793950276Speter#	Vox: (408)-473-1200
794050276Speter#	Fax: (408) 473-1222
794150276Speter#	Web: http://www.wyse.com
794250276Speter#
794350276Speter# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
794450276Speter# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
794550276Speter# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
794650276Speter# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
794750276Speter#
794850276Speter# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
794950276Speter# They now own the Qume and Amdek brands, too.  So these are the people to
795050276Speter# talk with about all Link, Qume, and Amdek terminals.
795150276Speter#
795250276Speter# These entries include a few small fixes.
795350276Speter# I canceled the bel capacities in the vb entries.
795450276Speter# I made two trivial syntax fixes in the wyse30 entry.
795550276Speter# I made some entries relative to adm+sgr.
795650276Speter#
795750276Speter#
795850276Speter# Note: The wyse75, wyse85, and wyse99 have been discontinued.
795950276Speter
796050276Speter#	   Although the Wyse 30 can support more than one attribute
796150276Speter#	it requires magic cookies to do so.  Many applications do not
796250276Speter#	function well with magic cookies.  The following terminfo uses
796350276Speter#	the protect mode to support one attribute (dim) without cookies.
796450276Speter#	If more than one attribute is needed then the wy30-mc terminfo
796550276Speter#	should be used.
796650276Speter#
7967166124Srafanwy30|wyse30|Wyse 30,
7968166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
7969166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
7970166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
7971166124Srafan	civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
7972166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
7973166124Srafan	cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
7974166124Srafan	dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
7975166124Srafan	fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
7976166124Srafan	ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
7977166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
7978166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
7979166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7980166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
7981166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
7982166124Srafan	mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
7983166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
7984166124Srafan	rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
7985166124Srafan	sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
7986166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
7987166124Srafan	smso=\E`7\E), tbc=\E0, tsl=\EF,
798850276Speter#
798950276Speter#	This terminal description uses the non-hidden attribute mode
799050276Speter#	(with magic cookie).
799150276Speter#
799250276Speter# (wy30-mc: added <smcup> to suppress tic warning --esr)
7993166124Srafanwy30-mc|wyse30-mc|wyse 30 with magic cookies,
7994166124Srafan	msgr@,
7995166124Srafan	ma@, xmc#1,
7996166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
7997166124Srafan	rmcup=\EG0, rmso=\EG0,
7998166124Srafan	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%;,
7999166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8000166124Srafan	smso=\EG4, use=wy30, use=adm+sgr,
800150276Speter#	The mandatory pause used by <flash> does not work with
800250276Speter#	older versions of terminfo.  If you see this effect then
800350276Speter#	unset xon and delete the / from the delay.
800450276Speter#	i.e. change $<100/> to $<100>
8005166124Srafanwy30-vb|wyse30-vb|wyse 30 visible bell,
8006166124Srafan	bel@, use=wy30,
800750276Speter#
800850276Speter#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
800950276Speter#	Normal) without magic cookies by using the protect mode.
801050276Speter#	The following description uses this feature, but when more
801150276Speter#	than one attribute is put on the screen at once, all attributes
801250276Speter#	will be changed to be the same as the last attribute given.
801350276Speter#	   The Wyse 50 can support more attributes when used with magic
801450276Speter#	cookies.  The wy50-mc terminal description uses magic cookies
801550276Speter#	to correctly handle multiple attributes on a screen.
801650276Speter#
8017166124Srafanwy50|wyse50|Wyse 50,
8018166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
8019166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
8020166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
8021166124Srafan	civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
8022166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
8023166124Srafan	cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
8024166124Srafan	ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8025166124Srafan	home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
8026166124Srafan	is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
8027166124Srafan	kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
8028166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8029166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8030166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8031166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8032166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8033166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
8034166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8035166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
8036166124Srafan	ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
8037166124Srafan	sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
8038166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
8039166124Srafan	smso=\E`6\E), tbc=\E0, tsl=\EF,
804050276Speter#
804150276Speter#	This terminal description uses the non-hidden attribute mode
804250276Speter#	(with magic cookie).
804350276Speter#
804450276Speter#	The mandatory pause used by flash does not work with some
804550276Speter#	older versions of terminfo.  If you see this effect then
804650276Speter#	unset <xon> and delete the / from the delay.
804750276Speter#	i.e. change $<100/> to $<100>
804850276Speter# (wy50-mc: added <smcup> to suppress tic warning --esr)
8049166124Srafanwy50-mc|wyse50-mc|wyse 50 with magic cookies,
8050166124Srafan	msgr@,
8051166124Srafan	ma@, xmc#1,
8052166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
8053166124Srafan	rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
8054166124Srafan	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%;,
8055166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8056166124Srafan	smso=\EGt, use=wy50, use=adm+sgr,
8057166124Srafanwy50-vb|wyse50-vb|wyse 50 visible bell,
8058166124Srafan	bel@, use=wy50,
8059166124Srafanwy50-w|wyse50-w|wyse 50 132-column,
8060166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8061166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8062166124Srafan	use=wy50,
8063166124Srafanwy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
8064166124Srafan	bel@, use=wy50-w,
806550276Speter
806650276Speter#
806750276Speter#	The Wyse 350 is a Wyse 50 with color.
806850276Speter#	Unfortunately this means that it has magic cookies.
806950276Speter#	The color attributes are designed to overlap the reverse, dim and
807050276Speter#	underline attributes.  This is nice for monochrome applications
807150276Speter#	because you can make underline stuff green (or any other color)
807250276Speter#	but for true color applications it's not so hot because you cannot
807350276Speter#	mix color with reverse, dim or underline.
807450276Speter#	    To further complicate things one of the attributes must be
807550276Speter#	black (either the foreground or the background).  In reverse video
807650276Speter#	the background changes color with black letters.  In normal video
8077166124Srafan#	the foreground changes colors on a black background.
807850276Speter#	    This terminfo uses some of the more advanced features of curses
807950276Speter#	to display both color and blink.  In the final analysis I am not
808050276Speter#	sure that the wy350 runs better with this terminfo than it does
808150276Speter#	with the wy50 terminfo (with user adjusted colors).
808250276Speter#
808350276Speter#	The mandatory pause used by flash does not work with
808450276Speter#	older versions of terminfo.  If you see this effect then
808550276Speter#	unset xon and delete the / from the delay.
808650276Speter#	i.e. change $<100/> to $<100>
808750276Speter#
808850276Speter# Bug: The <op> capability resets attributes.
8089166124Srafanwy350|wyse350|Wyse 350,
8090166124Srafan	am, bw, hs, mc5i, mir, xon,
8091166124Srafan	colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
8092166124Srafan	wsl#45, xmc#1,
8093166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
8094166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
8095166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
8096166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
8097166124Srafan	dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
8098166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8099166124Srafan	il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
8100166124Srafan	is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
8101166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
8102166124Srafan	ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8103166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8104166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8105166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8106166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8107166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
8108166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8109166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
8110166124Srafan	rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
8111166124Srafan	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,
8112166124Srafan	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%;,
8113166124Srafan	sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
8114166124Srafan	smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr,
8115166124Srafanwy350-vb|wyse350-vb|wyse 350 visible bell,
8116166124Srafan	bel@, use=wy350,
8117166124Srafanwy350-w|wyse350-w|wyse 350 132-column,
8118166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8119166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8120166124Srafan	use=wy350,
8121166124Srafanwy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
8122166124Srafan	bel@, use=wy350-w,
812350276Speter#
812450276Speter#	This terminfo description is untested.
812550276Speter#	The wyse100 emulates an adm31, so the adm31 entry should work.
812650276Speter#
8127166124Srafanwy100|wyse 100,
8128166124Srafan	hs, mir,
8129166124Srafan	cols#80, lines#24, xmc#1,
8130166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8131166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
8132166124Srafan	dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
8133166124Srafan	invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
8134166124Srafan	kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
8135166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
8136166124Srafan	rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr,
813750276Speter#
813850276Speter#	The Wyse 120/150 has most of the features of the Wyse 60.
813950276Speter#	This terminal does not need padding up to 9600 baud!
814050276Speter#	<msgr> should be set but the clear screen fails when in
814150276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
814250276Speter#	then set <msgr>.
814350276Speter#
8144166124Srafanwy120|wyse120|wy150|wyse150|Wyse 120/150,
8145166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8146166124Srafan	cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8147166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8148166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8149166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8150166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8151166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8152166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
8153166124Srafan	hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8154166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8155166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8156166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8157166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8158166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8159166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8160166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8161166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8162166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8163166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8164166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8165166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8166166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
8167166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8168166124Srafan	rs3=\EwG\Ee($<100>,
8169166124Srafan	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,
8170166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8171166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8172166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
817350276Speter#
8174166124Srafanwy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
8175166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8176166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8177166124Srafan	rs2=\E`;$<70>, use=wy120,
817850276Speter#
8179166124Srafanwy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
8180166124Srafan	lh@, lines#25, lw@, nlab@,
8181166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120,
818250276Speter#
8183166124Srafanwy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
8184166124Srafan	lh@, lines#25, lw@, nlab@,
8185166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
818650276Speter#
8187166124Srafanwy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
8188166124Srafan	bel@, use=wy120,
818950276Speter#
8190166124Srafanwy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
8191166124Srafan	bel@, use=wy120-w,
819250276Speter#
819350276Speter#	The Wyse 60 is like the Wyse 50 but with more padding.
819450276Speter#	The reset strings are slow and the pad times very depending
819550276Speter#	on other parameters such as font loading.  I have tried
819650276Speter#	to follow the following outline:
819750276Speter#
819850276Speter#		<rs1> -> set personality
819950276Speter#		<rs2> -> set number of columns
820050276Speter#		<rs3> -> set number of lines
820150276Speter#		<is1> -> select the proper font
820250276Speter#		<is2> -> do the initialization
820350276Speter#		<is3> -> set up display memory (2 pages)
820450276Speter#
820550276Speter#	The Wyse 60's that have vt100 emulation are slower than the
820650276Speter#	older Wyse 60's.  This change happened mid-1987.
820750276Speter#	The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
820850276Speter#
820950276Speter#	The meta key is only half right.  This terminal will return the
821050276Speter#	high order bit set when you hit CTRL-function_key
821150276Speter#
821250276Speter#	It may be useful to assign two function keys with the
821350276Speter#	values  \E=(\s  look at old data in page 1
821450276Speter#	        \E=W,   look at bottom of page 1
821550276Speter#	where \s is a space ( ).
821650276Speter#
821750276Speter#	Note:
821850276Speter#	   The Wyse 60 runs faster when the XON/XOFF
821950276Speter#	   handshake is turned off.
822050276Speter#
822150276Speter# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
822250276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8223166124Srafanwy60|wyse60|Wyse 60,
8224166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8225166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
8226166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8227166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
8228166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8229166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8230166124Srafan	dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
8231166124Srafan	ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8232166124Srafan	home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
8233166124Srafan	ip=$<3>, is1=\EcB0\EcC1,
8234166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8235166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8236166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8237166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8238166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8239166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8240166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8241166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8242166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8243166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8244166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8245166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
8246166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
8247166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
8248166124Srafan	rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
8249166124Srafan	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,
8250166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8251166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8252166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
825350276Speter#
8254166124Srafanwy60-w|wyse60-w|wyse 60 132-column,
8255166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8256166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
8257166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy60,
825850276Speter#
8259166124Srafanwy60-25|wyse60-25|wyse 60 80-column 25-lines,
8260166124Srafan	lh@, lines#25, lw@, nlab@,
8261166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60,
8262166124Srafanwy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
8263166124Srafan	lh@, lines#25, lw@, nlab@,
8264166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
826550276Speter#
8266166124Srafanwy60-42|wyse60-42|wyse 60 80-column 42-lines,
8267166124Srafan	lines#42,
8268166124Srafan	clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
8269166124Srafan	dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
8270166124Srafan	ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
8271166124Srafan	ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
8272166124Srafanwy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
8273166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8274166124Srafan	clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8275166124Srafan	dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
8276166124Srafan	nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
827750276Speter#
8278166124Srafanwy60-43|wyse60-43|wyse 60 80-column 43-lines,
8279166124Srafan	lh@, lines#43, lw@, nlab@,
8280166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42,
8281166124Srafanwy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
8282166124Srafan	lh@, lines#43, lw@, nlab@,
8283166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42-w,
828450276Speter#
8285166124Srafanwy60-vb|wyse60-vb|Wyse 60 visible bell,
8286166124Srafan	bel@, use=wy60,
8287166124Srafanwy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
8288166124Srafan	bel@, use=wy60-w,
828950276Speter
829050276Speter#	The Wyse-99GT looks at lot like the Wyse 60 except that it
829150276Speter#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
829250276Speter#	setup parameter controls the number of lines on the screen.
829350276Speter#	For the Wyse 99GT the "lines" setup parameter controls the
829450276Speter#	number of lines in a page.  The screen can display 25 lines max.
829550276Speter#	    The Wyse-99GT also has personalities for the VT220 and
829650276Speter#	Tektronix 4014.  But this has no bearing on the native mode.
829750276Speter#
829850276Speter#	(msgr) should be set but the clear screen fails when in
829950276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
830050276Speter#	then set msgr, else use msgr@.
830150276Speter#
830250276Speter#	u0 -> enter Tektronix mode
830350276Speter#	u1 -> exit Tektronix mode
830450276Speter#
8305166124Srafanwy99gt|wyse99gt|Wyse 99gt,
8306166124Srafan	msgr@,
8307166124Srafan	clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
8308166124Srafan	el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
8309166124Srafan	il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
8310166124Srafan	ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
8311166124Srafan	u0=\E~>\E8, u1=\E[42h, use=wy60,
831250276Speter#
8313166124Srafanwy99gt-w|wyse99gt-w|wyse 99gt 132-column,
8314166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8315166124Srafan	clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8316166124Srafan	dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
8317166124Srafan	use=wy99gt,
831850276Speter#
8319166124Srafanwy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
8320166124Srafan	lh@, lines#25, lw@, nlab@,
8321166124Srafan	pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
832250276Speter#
8323166124Srafanwy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
8324166124Srafan	lh@, lines#25, lw@, nlab@,
8325166124Srafan	pln@, rs2=\E`;$<150>, use=wy99gt-w,
832650276Speter#
8327166124Srafanwy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
8328166124Srafan	bel@, use=wy99gt,
832950276Speter#
8330166124Srafanwy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
8331166124Srafan	bel@, use=wy99gt-w,
833250276Speter
833350276Speter# Can't set tabs! Other bugs (ANSI mode only):
833450276Speter# - can't redefine function keys (anyway, key redefinition in ANSI mode
833550276Speter#   is too much complex to be described);
833650276Speter# - meta key can't be described (the terminal forgets it when reset);
833750276Speter# The xon-xoff handshaking can't be disabled while in ansi personality, so
833850276Speter# emacs can't work at speed greater than 9600 baud.  No padding is needed at
833950276Speter# this speed.
834050276Speter#   dch1 has been commented out because it causes annoying glittering when
834150276Speter# vi deletes one character at the beginning of a line with tabs in it.
834250276Speter#   dch makes sysgen(1M) have a horrible behaviour when deleting
834350276Speter# a screen and makes screen(1) behave badly, so it is disabled too. The nice
834450276Speter# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
834550276Speter# not, so smir and rmir are commented out as well.
834650276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8347166124Srafanwy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
8348166124Srafan	am, km, mc5i, mir, msgr, xenl,
8349166124Srafan	cols#80, it#8, lines#25, vt#3,
8350166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
8351166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8352166124Srafan	clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
8353166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
8354166124Srafan	cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
8355166124Srafan	cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
8356166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
8357166124Srafan	cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
8358166124Srafan	ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
8359166124Srafan	enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
8360166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
8361166124Srafan	il1=\E[L, ind=\n$<1>, invis=\E[8m,
8362166124Srafan	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,
8363166124Srafan	kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
8364166124Srafan	kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
8365166124Srafan	kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
8366166124Srafan	kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
8367166124Srafan	kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
8368166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
8369166124Srafan	mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
8370166124Srafan	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
8371166124Srafan	rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
8372166124Srafan	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,
8373166124Srafan	sc=\E7,
8374166124Srafan	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%;,
8375166124Srafan	sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
8376166124Srafan	smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
837750276Speter
837850276Speter#   This is the american terminal. Here tabs work fine.
837950276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8380166124Srafanwy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
8381166124Srafan	hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi,
838250276Speter
838350276Speter# This terminal (firmware version 02) has a lot of bugs:
838450276Speter# - can't set tabs;
838550276Speter# - other bugs in ANSI modes (see above).
838650276Speter# This description disables handshaking when using cup. This is because
838750276Speter# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
838850276Speter# cannot be used at speeds greater than 9600 baud, because at greater
838950276Speter# speeds handshaking is needed even for character sending. If you use
839050276Speter# DTR handshaking, you can use even greater speeds.
839150276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8392166124Srafanwy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
8393166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8394166124Srafan	cols#80, it#8, lines#25, wsl#46,
8395166124Srafan	acsc='x+y.wi~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
8396166124Srafan	blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
8397166124Srafan	cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
8398166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8399166124Srafan	cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
8400166124Srafan	ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
8401166124Srafan	flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
8402166124Srafan	ind=^J, invis=\EG3,
8403166124Srafan	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,
8404166124Srafan	ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
8405166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
8406166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
8407166124Srafan	kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
8408166124Srafan	kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
8409166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
8410166124Srafan	kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
8411166124Srafan	nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
8412166124Srafan	rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
8413166124Srafan	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,
8414166124Srafan	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%;,
8415166124Srafan	sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
8416166124Srafan	smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
841750276Speter
841850276Speter# This is the american terminal. Here tabs work.
841950276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8420166124Srafanwy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
8421166124Srafan	hts=\E1, tbc=\E0, use=wy99f,
842250276Speter
842350276Speter#
842450276Speter#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
842550276Speter#	The reset strings are slow and the pad times very depending
842650276Speter#	on other parameters such as font loading.  I have tried
842750276Speter#	to follow the following outline:
842850276Speter#
842950276Speter#		<rs1> -> set personality
843050276Speter#		<rs2> -> set number of columns
843150276Speter#		<rs3> -> set number of lines
843250276Speter#		<is1> -> select the proper font
843350276Speter#		<is2> -> do the initialization
843450276Speter#		<is3> -> set up display memory (2 pages)
843550276Speter#
843650276Speter#	The display memory may be used for either text or graphics.
843750276Speter#	When "Display Memory = Shared" the terminal will have more pages
843850276Speter#	but garbage may be left on the screen when you switch from
843950276Speter#	graphics to text.  If "Display Memory = Unshared" then the
844050276Speter#	text area will be only one page long.
844150276Speter#
844250276Speter# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
844350276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8444166124Srafanwy160|wyse160|Wyse 160,
8445166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8446166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
8447166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8448166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
8449166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8450166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
8451166124Srafan	dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
8452166124Srafan	el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
8453166124Srafan	hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
8454166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8455166124Srafan	is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8456166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8457166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8458166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8459166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8460166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8461166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8462166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
8463166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8464166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8465166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
8466166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
8467166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
8468166124Srafan	rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
8469166124Srafan	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,
8470166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8471166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8472166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
847350276Speter#
8474166124Srafanwy160-w|wyse160-w|wyse 160 132-column,
8475166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8476166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
8477166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160,
847850276Speter#
8479166124Srafanwy160-25|wyse160-25|wyse 160 80-column 25-lines,
8480166124Srafan	lh@, lines#25, lw@, nlab@,
8481166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160,
8482166124Srafanwy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
8483166124Srafan	lh@, lines#25, lw@, nlab@,
8484166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
848550276Speter#
8486166124Srafanwy160-42|wyse160-42|wyse 160 80-column 42-lines,
8487166124Srafan	lines#42,
8488166124Srafan	clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
8489166124Srafan	ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
8490166124Srafan	rs3=\Ee*$<150>, use=wy160,
8491166124Srafanwy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
8492166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8493166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
8494166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
849550276Speter#
8496166124Srafanwy160-43|wyse160-43|wyse 160 80-column 43-lines,
8497166124Srafan	lh@, lines#43, lw@, nlab@,
8498166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42,
8499166124Srafanwy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
8500166124Srafan	lh@, lines#43, lw@, nlab@,
8501166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42-w,
850250276Speter#
8503166124Srafanwy160-vb|wyse160-vb|Wyse 160 visible bell,
8504166124Srafan	bel@, use=wy160,
8505166124Srafanwy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
8506166124Srafan	bel@, use=wy160-w,
850750276Speter#
850850276Speter#	The Wyse 75 is a vt100 lookalike without advanced video.
850950276Speter#
851050276Speter#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
851150276Speter#	Underline) without magic cookies.  The following description
851250276Speter#	uses this capability, but when more than one attribute is
851350276Speter#	put on the screen at once, all attributes will be changed
851450276Speter#	to be the same as the last attribute given.
851550276Speter#	   The Wyse 75 can support more attributes when used with magic
851650276Speter#	cookies.  The wy75-mc terminal description uses magic cookies
851750276Speter#	to correctly handle multiple attributes on a screen.
851850276Speter#
8519166124Srafanwy75|wyse75|wyse 75,
8520166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8521166124Srafan	cols#80, lines#24, ma#1, pb#1201, wsl#78,
8522166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8523166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
8524166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
8525166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
8526166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
8527166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
8528166124Srafan	dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
8529166124Srafan	dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
8530166124Srafan	ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
8531166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
8532166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
8533166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8534166124Srafan	ind=\n$<2>, ip=$<1>,
8535166124Srafan	is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
8536166124Srafan	is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D,
8537166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K,
8538166124Srafan	kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
8539166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
8540166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
8541166124Srafan	kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
8542166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
8543166124Srafan	khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
8544166124Srafan	kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
8545166124Srafan	mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
8546166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
8547166124Srafan	rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
8548166124Srafan	sc=\E7,
8549166124Srafan	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%;,
8550166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8551166124Srafan	smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
8552166124Srafan	tbc=\E[3g, tsl=\E[>\,\001, use=vt220+keypad,
855350276Speter#
855450276Speter#	This terminal description uses the non-hidden attribute mode
855550276Speter#	(with magic cookie).
855650276Speter#
8557166124Srafanwy75-mc|wyse75-mc|wyse 75 with magic cookies,
8558166124Srafan	msgr@,
8559166124Srafan	ma@, xmc#1,
8560166124Srafan	blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
8561166124Srafan	rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
8562166124Srafan	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%;,
8563166124Srafan	sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
8564166124Srafan	use=wy75,
8565166124Srafanwy75-vb|wyse75-vb|wyse 75 with visible bell,
8566166124Srafan	pb@,
8567166124Srafan	bel@, use=wy75,
8568166124Srafanwy75-w|wyse75-w|wyse 75 in 132 column mode,
8569166124Srafan	cols#132, wsl#130,
8570166124Srafan	rs2=\E[35h\E[?3h$<80>, use=wy75,
8571166124Srafanwy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
8572166124Srafan	pb@,
8573166124Srafan	bel@, use=wy75-w,
857450276Speter#
857550276Speter#	Wyse 85 emulating a vt220 7 bit mode.
857650276Speter#		24 line screen with status line.
857750276Speter#
857850276Speter#	The vt220 mode permits more function keys but it wipes out
857950276Speter#	the escape key.  I strongly recommend that <f11> be set to
858050276Speter#	escape (esc).
858150276Speter#	The terminal may have to be set for 8 data bits and 2 stop
858250276Speter#	bits for the arrow keys to work.
858350276Speter#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
858450276Speter#	<dch> and <ich> work best when XON/XOFF is set.  <ich> and
858550276Speter#	<dch> leave trash on the screen when used without XON/XOFF.
858650276Speter#
8587166124Srafanwy85|wyse85|wyse 85,
8588166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8589166124Srafan	cols#80, it#8, lines#24, wsl#80,
8590166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8591166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8592166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8593166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8594166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8595166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8596166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8597166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8598166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8599166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8600166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8601166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8602166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8603166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8604166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
8605166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~,
8606166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
8607166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
8608166124Srafan	kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~,
8609166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
8610166124Srafan	khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
8611166124Srafan	kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8612166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8613166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8614166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8615166124Srafan	rs3=\E[?5l, sc=\E7,
8616166124Srafan	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%;,
8617166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8618166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8619166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad,
862050276Speter#
862150276Speter#	Wyse 85 with visual bell.
8622166124Srafanwy85-vb|wyse85-vb|wyse 85 with visible bell,
8623166124Srafan	bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
862450276Speter#
862550276Speter#	Wyse 85 in 132-column mode.
8626166124Srafanwy85-w|wyse85-w|wyse 85 in 132-column mode,
8627166124Srafan	cols#132, wsl#132,
8628166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy85,
862950276Speter#
863050276Speter#	Wyse 85 in 132-column mode with visual bell.
8631166124Srafanwy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
8632166124Srafan	bel@, use=wy85-w,
863362449Speter
863462449Speter# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
863562449Speter# This copes with an apparent firmware bug in the wy85.  He writes:
863662449Speter# "What I did was change leave the terminal cursor keys set to Normal
863762449Speter# (instead of application), and change \E[ to \233 for all the keys in
863862449Speter# terminfo. At one point, I found some reference indicating that this
863962449Speter# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
8640166124Srafan# me), but I can't find that and the server under my bookmark to "Wyse
864162449Speter# Technical" isn't responding.  So there's the question of wether the wy85
864262449Speter# terminfo should reflect the manufactuer's intended behaviour of the terminal
864362449Speter# or the actual."
8644166124Srafanwy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
8645166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8646166124Srafan	cols#80, it#8, lines#24, wsl#80,
8647166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8648166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8649166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8650166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8651166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8652166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8653166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8654166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8655166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8656166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8657166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8658166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8659166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8660166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8661166124Srafan	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
8662166124Srafan	kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B,
8663166124Srafan	kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM,
8664166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
8665166124Srafan	kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~,
8666166124Srafan	kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ,
8667166124Srafan	kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~,
8668166124Srafan	kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~,
8669166124Srafan	khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~,
8670166124Srafan	kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8671166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8672166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8673166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8674166124Srafan	rs3=\E[?5l, sc=\E7,
8675166124Srafan	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%;,
8676166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8677166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8678166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH,
867950276Speter#
868050276Speter#	Wyse 185 emulating a vt320 7 bit mode.
868150276Speter#
868250276Speter#	This terminal always displays 25 lines.  These lines may be used
868350276Speter#	as 24 data lines and a terminal status line (top or bottom) or
868450276Speter#	25 data lines.  The 48 and 50 line modes change the page size
868550276Speter#	and not the number of lines on the screen.
868650276Speter#
868750276Speter#	The Compose Character key can be used as a meta key if changed
868850276Speter#	by set-up.
868950276Speter#
8690166124Srafanwy185|wyse185|wyse 185,
8691166124Srafan	am, hs, km, mc5i, mir, msgr, xenl, xon,
8692166124Srafan	cols#80, it#8, lines#24, wsl#80,
8693166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8694166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8695166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8696166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
8697166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8698166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
8699166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
8700166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8701166124Srafan	dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
8702166124Srafan	el=\E[K, el1=\E[1K, enacs=\E)0,
8703166124Srafan	flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
8704166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
8705166124Srafan	ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
8706166124Srafan	ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
8707166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
8708166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
8709166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
8710166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
8711166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
8712166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
8713166124Srafan	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
8714166124Srafan	kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
8715166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
8716166124Srafan	lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
8717166124Srafan	ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
8718166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
8719166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
8720166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
8721166124Srafan	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%;,
8722166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
8723166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
8724166124Srafan	tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
8725166124Srafan	use=vt220+keypad,
872650276Speter#
872750276Speter#	Wyse 185 with 24 data lines and top status (terminal status)
8728166124Srafanwy185-24|wyse185-24|wyse 185 with 24 data lines,
8729166124Srafan	hs@,
8730166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
8731166124Srafan	use=wy185,
873250276Speter#
873350276Speter#	Wyse 185 with visual bell.
8734166124Srafanwy185-vb|wyse185-vb|wyse 185+flash,
8735166124Srafan	bel@, use=wy185,
873650276Speter#
873750276Speter#	Wyse 185 in 132-column mode.
8738166124Srafanwy185-w|wyse185-w|wyse 185 in 132-column mode,
8739166124Srafan	cols#132, wsl#132,
8740166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
8741166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
874250276Speter#
874350276Speter#	Wyse 185 in 132-column mode with visual bell.
8744166124Srafanwy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
8745166124Srafan	bel@, use=wy185-w,
874650276Speter
874750276Speter# wy325 terminfo entries
874850276Speter# Done by Joe H. Davis        3-9-92
874950276Speter
875050276Speter# lines 25  columns 80
875150276Speter#
8752166124Srafanwy325|wyse325|Wyse epc,
8753166124Srafan	am, bw, hs, mc5i, mir,
8754166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8755166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8756166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8757166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8758166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8759166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8760166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8761166124Srafan	il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8762166124Srafan	is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8763166124Srafan	is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8764166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8765166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8766166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8767166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8768166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
8769166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8770166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#,
8771166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8772166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8773166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8774166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
8775166124Srafan	rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8776166124Srafan	rs3=\EwG\Ee($<100>,
8777166124Srafan	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,
8778166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8779166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
8780166124Srafan	tsl=\EF, use=adm+sgr,
878150276Speter
878250276Speter#
8783166124Srafan# lines 24  columns 80  vb
878450276Speter#
8785166124Srafanwy325-vb|wyse325-vb|wyse-325 with visual bell,
8786166124Srafan	bel@, use=wy325,
878750276Speter
878850276Speter#
878950276Speter# lines 24  columns 132
879050276Speter#
8791166124Srafanwy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
8792166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8793166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8794166124Srafan	rs2=\E`;$<70>, use=wy325,
879550276Speter#
879650276Speter# lines 25  columns 80
879750276Speter#
8798166124Srafanwy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
8799166124Srafan	lh@, lines#25, lw@, nlab@,
8800166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
880150276Speter#
880250276Speter# lines 25  columns 132
880350276Speter#
8804166124Srafanwy325-25w|wyse325-25w|wy325 132 columns,
8805166124Srafan	lh@, lines#25, lw@, nlab@,
8806166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
880750276Speter#
8808166124Srafan# lines 25  columns 132  vb
880950276Speter#
8810166124Srafanwy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
8811166124Srafan	bel@, use=wy325-w,
881250276Speter
881350276Speter#
881450276Speter# lines 42  columns 80
881550276Speter#
8816166124Srafanwy325-42|wyse325-42|wyse-325 42 lines,
8817166124Srafan	lh@, lines#42, lw@, nlab@,
8818166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
881950276Speter#
882050276Speter# lines 42  columns 132
882150276Speter#
8822166124Srafanwy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
8823166124Srafan	lh@, lines#42, lw@, nlab@,
8824166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
882550276Speter#
8826166124Srafan# lines 42  columns 132  vb
882750276Speter#
8828166124Srafanwy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
8829166124Srafan	bel@, use=wy325-w,
883050276Speter#
883150276Speter# lines 43  columns 80
883250276Speter#
8833166124Srafanwy325-43|wyse325-43|wyse-325 43 lines,
8834166124Srafan	lh@, lines#43, lw@, nlab@,
8835166124Srafan	pln@, use=wy325,
883650276Speter#
883750276Speter# lines 43  columns 132
883850276Speter#
8839166124Srafanwy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
8840166124Srafan	lh@, lines#43, lw@, nlab@,
8841166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
884250276Speter#
8843166124Srafan# lines 43  columns 132  vb
884450276Speter#
8845166124Srafanwy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
8846166124Srafan	bel@, use=wy325-w,
884750276Speter
884850276Speter#	Wyse 370 -- 24 line screen with status line.
884950276Speter#
885050276Speter#	The terminal may have to be set for 8 data bits and 2 stop
885150276Speter#	bits for the arrow keys to work.
885250276Speter#
885350276Speter#	If you change keyboards the terminal will send different
885450276Speter#	escape sequences.
885550276Speter#	The following definition is for the basic terminal without
885650276Speter#	function keys.
885750276Speter#
885850276Speter#	<u0> -> enter Tektronix 4010/4014 mode
885950276Speter#	<u1> -> exit  Tektronix 4010/4014 mode
886050276Speter#	<u2> -> enter ASCII mode (from any ANSI mode)
886150276Speter#	<u3> -> exit  ASCII mode (goto native ANSI mode)
886250276Speter#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
886350276Speter#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
886450276Speter#
886550276Speter# Bug: The <op> capability resets attributes.
8866166124Srafanwy370-nk|wyse 370 without function keys,
8867166124Srafan	am, ccc, hs, mc5i, mir, msgr, xenl, xon,
8868166124Srafan	colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
8869166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8870166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8871166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8872166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8873166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8874166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8875166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
8876166124Srafan	dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8877166124Srafan	dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
8878166124Srafan	el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
8879166124Srafan	flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
8880166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
8881166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8882166124Srafan	ind=\n$<2>,
8883166124Srafan	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,
8884166124Srafan	invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
8885166124Srafan	is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
8886166124Srafan	is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
8887166124Srafan	mc5=\E[5i,
8888166124Srafan	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,
8889166124Srafan	op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
8890166124Srafan	rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
8891166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
8892166124Srafan	rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
8893166124Srafan	rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
8894166124Srafan	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%;,
8895166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
8896166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
8897166124Srafan	tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
8898166124Srafan	u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
8899166124Srafan	u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
890050276Speter#
890150276Speter#	Function key set for the ASCII (wy-50 compatible) keyboard
890250276Speter#	This is the default 370.
890350276Speter#
8904166124Srafanwy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
8905166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
8906166124Srafan	kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
8907166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
8908166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
8909166124Srafan	kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
8910166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
8911166124Srafan	knp=\E[U, kpp=\E[V, use=wy370-nk,
891250276Speter#
891350276Speter#	Function key set for the VT-320 (and wy85) compatible keyboard
891450276Speter#
8915166124Srafanwy370-105k|Wyse 370 with 105 key keyboard,
8916166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
8917166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
8918166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
8919166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
8920166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
8921166124Srafan	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
8922166124Srafan	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
8923166124Srafan	use=wy370-nk, use=vt220+keypad,
892450276Speter#
892550276Speter#	Function key set for the PC compatible keyboard
892650276Speter#
8927166124Srafanwy370-EPC|Wyse 370 with 102 key keyboard,
8928166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
8929166124Srafan	kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
8930166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
8931166124Srafan	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
8932166124Srafan	khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
893350276Speter#
893450276Speter#	Wyse 370 with visual bell.
8935166124Srafanwy370-vb|Wyse 370 with visible bell,
8936166124Srafan	bel@, use=wy370,
893750276Speter#
893850276Speter#	Wyse 370 in 132-column mode.
8939166124Srafanwy370-w|Wyse 370 in 132-column mode,
8940166124Srafan	cols#132, wsl#132,
8941166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy370,
894250276Speter#
894350276Speter#	Wyse 370 in 132-column mode with visual bell.
8944166124Srafanwy370-wvb|Wyse 370 with visible bell 132-columns,
8945166124Srafan	flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
8946166124Srafanwy370-rv|Wyse 370 reverse video,
8947166124Srafan	rs3=\E[32h\E[?5h, use=wy370,
894850276Speter#
894950276Speter#	Wyse 99gt Tektronix 4010/4014 emulator,
895050276Speter#
8951166124Srafanwy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
8952166124Srafan	am, os,
8953166124Srafan	cols#74, lines#35,
8954166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
8955166124Srafan	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,
8956166124Srafan	cuu1=^K, ff=^L,
8957166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
8958166124Srafan	home=^]7`x @\037,
8959166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
8960166124Srafan	is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
896150276Speter#
896250276Speter#	Wyse 160 Tektronix 4010/4014 emulator,
896350276Speter#
8964166124Srafanwy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
8965166124Srafan	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,
8966166124Srafan	home=^]8`g @\037, use=wy99gt-tek,
896750276Speter#
896850276Speter#	Wyse 370 Tektronix 4010/4014 emulator,
896950276Speter#
8970166124Srafanwy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
8971166124Srafan	am, os,
8972166124Srafan	cols#80, lines#36,
8973166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
8974166124Srafan	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,
8975166124Srafan	cuu1=^K, ff=^L,
8976166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
8977166124Srafan	home=^]8g @\037,
8978166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
8979166124Srafan	is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
8980166124Srafan	nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
898150276Speter
898250276Speter# Vendor-supplied Wyse entries end here.
898350276Speter
898450276Speter#
898550276Speter#TITLE:  TERMINFO ENTRY WY520
898650276Speter#DATE:   8/5/93
8987166124Srafan# The WY520 terminfo is based on the WY285 entry published on the WYSE
898850276Speter# BBS with the addition of more function keys and special keys.
898950276Speter#
899050276Speter#               rs1 -> set personality
899150276Speter#               rs2 -> set number of columns
899250276Speter#               rs3 -> set number of lines
899350276Speter#               is1 -> select the proper font
899450276Speter#               is2 -> do the initialization
899550276Speter#               is3 -> If this string is empty then rs3 gets sent.
899650276Speter#
899750276Speter#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
899850276Speter#       - The BS key is programmed to generate BS in smcup since
899950276Speter#         is2 doesn't seem to work.
900050276Speter#       - Remove and shift/Remove: delete a character
900150276Speter#       - Insert : enter insert mode
900250276Speter#       - Find   : delete to end of file
900350276Speter#       - Select : clear a line
900450276Speter#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
900550276Speter#       - F14 : Home key
900650276Speter#       - Bottom status line (host writable line) is used.
900750276Speter#       - smkx,rmkx are removed because this would put the numeric
900850276Speter#         keypad in Dec application mode which doesn't seem to work
900950276Speter#         with SCO applications.
901050276Speter#
9011166124Srafanwy520|wyse520|wyse 520,
9012166124Srafan	am, hs, km, mc5i, mir, xenl, xon,
9013166124Srafan	cols#80, it#8, lines#24, wsl#80,
9014166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9015166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9016166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
9017166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
9018166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9019166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9020166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
9021166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
9022166124Srafan	ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
9023166124Srafan	enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
9024166124Srafan	hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
9025166124Srafan	il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
9026166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
9027166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
9028166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
9029166124Srafan	kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~,
9030166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
9031166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
9032166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
9033166124Srafan	kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~,
9034166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1,
9035166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9036166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l,
9037166124Srafan	rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m,
9038166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
9039166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
9040166124Srafan	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%;,
9041166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
9042166124Srafan	smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
9043166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
9044166124Srafan	vpa=\E[%i%p1%dd, use=vt220+keypad,
904550276Speter#
904650276Speter#       Wyse 520 with 24 data lines and status (terminal status)
9047166124Srafanwy520-24|wyse520-24|wyse 520 with 24 data lines,
9048166124Srafan	hs@,
9049166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9050166124Srafan	use=wy520,
905150276Speter#
905250276Speter#       Wyse 520 with visual bell.
9053166124Srafanwy520-vb|wyse520-vb|wyse 520 with visible bell,
9054166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520,
905550276Speter#
905650276Speter#       Wyse 520 in 132-column mode.
9057166124Srafanwy520-w|wyse520-w|wyse 520 in 132-column mode,
9058166124Srafan	cols#132, wsl#132,
9059166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9060166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520,
906150276Speter#
906250276Speter#       Wyse 520 in 132-column mode with visual bell.
9063166124Srafanwy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
9064166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
906550276Speter#
906650276Speter#
906750276Speter#       Wyse 520 emulating a vt420 7 bit mode.
906850276Speter#       The DEL key is programmed to generate BS in is2.
906950276Speter#       With EPC keyboard.
907050276Speter#       - 'End' key will clear till end of line on EPC keyboard
907150276Speter#       - Shift/End : ignored.
907250276Speter#       - Insert : enter insert mode.
907350276Speter#       - Delete : delete a character (have to change interrupt character
907450276Speter#                  to CTRL-C: stty intr '^c') for it to work since the
907550276Speter#                  Delete key sends 7FH.
9076166124Srafanwy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
9077166124Srafan	kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
9078166124Srafan	kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
9079166124Srafan	use=wy520,
908050276Speter#
908150276Speter#       Wyse 520 with 24 data lines and status (terminal status)
908250276Speter#       with EPC keyboard.
9083166124Srafanwy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
9084166124Srafan	hs@,
9085166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9086166124Srafan	use=wy520-epc,
908750276Speter#
908850276Speter#       Wyse 520 with visual bell.
9089166124Srafanwy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
9090166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
909150276Speter#
909250276Speter#       Wyse 520 in 132-column mode.
9093166124Srafanwy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
9094166124Srafan	cols#132, wsl#132,
9095166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9096166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc,
909750276Speter#
909850276Speter#       Wyse 520 in 132-column mode with visual bell.
9099166124Srafanwy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard,
9100166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
910150276Speter#
910250276Speter#       Wyse 520 in 80-column, 36 lines
9103166124Srafanwy520-36|wyse520-36|wyse 520 with 36 data lines,
9104166124Srafan	hs@,
9105166124Srafan	lines#36,
9106166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9107166124Srafan	use=wy520,
910850276Speter#
910950276Speter#       Wyse 520 in 80-column, 48 lines
9110166124Srafanwy520-48|wyse520-48|wyse 520 with 48 data lines,
9111166124Srafan	hs@,
9112166124Srafan	lines#48,
9113166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9114166124Srafan	use=wy520,
911550276Speter#
911650276Speter#       Wyse 520 in 132-column, 36 lines
9117166124Srafanwy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
9118166124Srafan	cols#132, wsl#132,
9119166124Srafan	rs2=\E[?3h,
9120166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9121166124Srafan	use=wy520-36,
912250276Speter#
912350276Speter#       Wyse 520 in 132-column, 48 lines
9124166124Srafanwy520-48w|wyse520-48w|wyse 520 with 48 data lines,
9125166124Srafan	cols#132, wsl#132,
9126166124Srafan	rs2=\E[?3h,
9127166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9128166124Srafan	use=wy520-48,
912950276Speter#
913050276Speter#
913150276Speter#       Wyse 520 in 80-column, 36 lines with EPC keyboard
9132166124Srafanwy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
9133166124Srafan	hs@,
9134166124Srafan	lines#36,
9135166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9136166124Srafan	use=wy520-epc,
913750276Speter#
913850276Speter#       Wyse 520 in 80-column, 48 lines with EPC keyboard
9139166124Srafanwy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
9140166124Srafan	hs@,
9141166124Srafan	lines#48,
9142166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9143166124Srafan	use=wy520-epc,
914450276Speter#
914550276Speter#       Wyse 520 in 132-column, 36 lines with EPC keyboard
9146166124Srafanwy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
9147166124Srafan	cols#132, wsl#132,
9148166124Srafan	rs2=\E[?3h,
9149166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9150166124Srafan	use=wy520-36pc,
915150276Speter#
915250276Speter#       Wyse 520 in 132-column, 48 lines with EPC keyboard
9153166124Srafanwy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard,
9154166124Srafan	cols#132, wsl#132,
9155166124Srafan	rs2=\E[?3h,
9156166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9157166124Srafan	use=wy520-48pc,
915850276Speter
915950276Speter# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
916050276Speter# (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
916150276Speter# file and we don't know what <hts> is -- esr)
9162166124Srafanwyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
9163166124Srafan	OTbs, am,
9164166124Srafan	cols#80, it#8, lines#24,
9165166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
9166166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
9167166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
9168166124Srafan	is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
9169166124Srafan	kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
9170166124Srafan	rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
9171166124Srafan	smul=^N,
917250276Speter
9173166124Srafanwy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
9174166124Srafan	is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
9175166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9176166124Srafan	khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
9177166124Srafan	use=wy75,
917850276Speter
917950276Speter# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
9180166124Srafanwy100q|Wyse 100 for Quotron,
9181166124Srafan	OTbs,
9182166124Srafan	cols#80, lines#24, xmc#1,
9183166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
9184166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
9185166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
9186166124Srafan	is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
9187166124Srafan	kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr,
918850276Speter
918950276Speter#### Kermit terminal emulations
919050276Speter#
919150276Speter# Obsolete Kermit versions may be listed in the section describing obsolete
919250276Speter# non-ANSI terminal emulators later in the file.
919350276Speter#
919450276Speter
919550276Speter# KERMIT standard all versions.
919650276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
919750276Speter# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
919850276Speter# From: greg small <gts@populi.berkeley.edu> 9-25-84
9199166124Srafankermit|standard kermit,
9200166124Srafan	OTbs,
9201166124Srafan	cols#80, lines#24,
9202166124Srafan	clear=\EE, cub1=^H, cuf1=\EC,
9203166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
9204166124Srafan	el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
9205166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
9206166124Srafankermit-am|standard kermit plus auto-margin,
9207166124Srafan	am,
9208166124Srafan	is2=K1 Standard Kermit plus Automatic Margins\n,
9209166124Srafan	use=kermit,
921050276Speter# IBMPC Kermit 1.2.
921150276Speter# Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
921250276Speter# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
921350276Speter# line).
921450276Speter# From: greg small <gts@populi.berkeley.edu> 8-30-84
9215166124Srafanpckermit|pckermit12|UCB IBMPC Kermit 1.2,
9216166124Srafan	am,
9217166124Srafan	lines#25,
9218166124Srafan	clear=\EH\EJ, ed@, el@,
9219166124Srafan	is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
922050276Speter# IBMPC Kermit 1.20
922150276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
922250276Speter# Initialization must escape from that region by cursor position to line 24.
922350276Speter# Cannot use character insert because 1.20 goes crazy if insert at col 80.
922450276Speter# Does not use :am: because autowrap is lost when kermit dropped and restarted.
922550276Speter# From: greg small <gts@populi.berkeley.edu> 12-19-84
9226166124Srafanpckermit120|UCB IBMPC Kermit 1.20,
9227166124Srafan	it#8, lines#24,
9228166124Srafan	cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
9229166124Srafan	il1=\EL,
9230166124Srafan	is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
9231166124Srafan	rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
923250276Speter# MS-DOS Kermit 2.27 for the IBMPC
923350276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
923450276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
923550276Speter# Initialization must escape from that region by cursor position to line 24.
923650276Speter# Does not use am: because autowrap is lost when kermit dropped and restarted.
923750276Speter# Reverse video for standout like H19.
923850276Speter# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
923950276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9240166124Srafanmsk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
9241166124Srafan	OTbs, am@,
9242166124Srafan	cols#80, it#8, lines#24,
9243166124Srafan	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
9244166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
9245166124Srafan	cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
9246166124Srafan	home=\EH, ht=^I, il1=\EL,
9247166124Srafan	is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
9248166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
9249166124Srafan	rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
925050276Speter# MS-DOS Kermit 2.27 with automatic margins
925150276Speter# From:	greg small <gts@populi.berkeley.edu> 3-17-85
9252166124Srafanmsk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
9253166124Srafan	am,
9254166124Srafan	cvvis=\EO\Eq\EG\EvK5,
9255166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
9256166124Srafan	use=msk227,
925750276Speter# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
925850276Speter# Automatic margins now default.  Use ansi <sgr> for highlights.
925950276Speter# Define function keys.
926050276Speter# (msk22714: removed obsolete ":kn#10:" -- esr)
926150276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9262166124Srafanmsk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
9263166124Srafan	am,
9264166124Srafan	bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
9265166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
9266166124Srafan	kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
9267166124Srafan	kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
9268166124Srafan	sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227,
926950276Speter# This was designed for a VT320 emulator, but it is probably a good start
927050276Speter# at support for the VT320 itself.
927150276Speter# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
927250276Speter# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
9273166124Srafanvt320-k3|MS-Kermit 3.00's vt320 emulation,
9274166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
9275166124Srafan	cols#80, it#8, lines#49, pb#9600, vt#3,
9276166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9277166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9278166124Srafan	clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
9279166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9280166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9281166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9282166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9283166124Srafan	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
9284166124Srafan	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
9285166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
9286166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
9287166124Srafan	is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
9288166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
9289166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9290166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
9291166124Srafan	kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
9292166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
9293166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
9294166124Srafan	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$~,
9295166124Srafan	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
9296166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9297166124Srafan	tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
929850276Speter# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
929950276Speter# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
930050276Speter# (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
9301166124Srafanvt320-k311|dec vt320 series as defined by kermit 3.11,
9302166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
9303166124Srafan	cols#80, it#8, lines#24, vt#3,
9304166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9305166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9306166124Srafan	clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
9307166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9308166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9309166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9310166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9311166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
9312166124Srafan	flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
9313166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
9314166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
9315166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9316166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9317166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
9318166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
9319166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
9320166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
9321166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
9322166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
9323166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
932450276Speter
932550276Speter######## NON-ANSI TERMINAL EMULATIONS
932650276Speter#
932750276Speter
932850276Speter#### Avatar
932950276Speter#
933050276Speter# These entries attempt to describe Avatar, a terminal emulation used with
933150276Speter# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
933250276Speter# capabilities, but with cheaper (shorter) control sequences.  Messy design,
933350276Speter# excessively dependent on PC idiosyncracies, but apparently rather popular
933450276Speter# in the BBS world.
933550276Speter#
933650276Speter# No color support.  Avatar doesn't fit either of the Tektronix or HP color
933750276Speter# models that terminfo knows about.  An Avatar color attribute is the
933850276Speter# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
933950276Speter#
934050276Speter# I wrote these entries while looking at the Avatar spec.  I don't have
934150276Speter# the facilities to test them.  Let me know if they work, or don't.
934250276Speter#
934350276Speter# Avatar escapes not used by these entries (because maybe you're smarter
934450276Speter# and more motivated than I am and can figure out how to wrap terminfo
934550276Speter# around some of them, and because they are weird enough to be funny):
934650276Speter#				level 0:
934750276Speter# ^L		-- clear window/reset current attribute to default
934850276Speter# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
9349166124Srafan#
935050276Speter#      bit:         6   5   4   3   2   1   0
935150276Speter#                   |       |   |   |       |
935250276Speter#                   +---+---+   |   +---+---+
935350276Speter#                       |       |       |
935450276Speter#                       |       |  foreground color
935550276Speter#                       |  foreground intensity
935650276Speter#                  background color
935750276Speter#				level 0+:
935850276Speter# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
935950276Speter# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
9360166124Srafan# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
9361166124Srafan# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
936250276Speter# (^V^L and ^V^M set the current attribute as a side-effect.)
936350276Speter# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
936450276Speter#			   in the pattern, <c> the number of times the pattern
936550276Speter#		  	   should be repeated. If either value is 0, no-op.
936650276Speter#			   The pattern can contain Avatar console codes,
936750276Speter#			   including other ^V ^Y patterns.
936850276Speter#				level 1:
936950276Speter# ^V^O		-- clockwise mode on; turn print direction right each time you
937050276Speter#		   hit a window edge (yes, really).  Turned off by CR
937150276Speter# ^V^P		-- no-op
937250276Speter# ^V^Q%c	-- query the driver
937350276Speter# ^V^R		-- driver reset
937450276Speter# ^V^S		-- Sound tone (PC-specific)
937550276Speter# ^V^T			-- change highlight at current cursor poition to %c
937650276Speter# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
937750276Speter# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
9378166124Srafan#			-- define window
937950276Speter#
938050276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
938150276Speter# (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
938250276Speter# tell ncurses that the corresponding highlights exist; it should use <sgr>,
938350276Speter# which is the only method that will actually work for multiple highlights.)
9384166124Srafan#
9385166124Srafan# Update by TD - 2004: half of this was inconsistent.  Found documentation
9386166124Srafan# and repaired most of the damage.  sgr0 is probably incorrect, but the
9387166124Srafan# available documentation gives no clues for a workable string.
9388166124Srafanavatar0|avatar terminal emulator level 0,
9389166124Srafan	am, bce, msgr,
9390166124Srafan	cols#80, it#8, lines#25,
9391166124Srafan	blink=^V^B, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
9392166124Srafan	cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
9393166124Srafan	ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%c, rev=^V^Ap,
9394166124Srafan	rmacs@, rs2=^L,
9395166124Srafan	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%;,
9396166124Srafan	sgr0=^V^A^G, smacs@, smso=^V^Ap, smul=^V^A^A,
9397166124Srafan	use=klone+acs,
939850276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9399166124Srafanavatar0+|avatar terminal emulator level 0+,
9400166124Srafan	dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
940150276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9402166124Srafanavatar|avatar1|avatar terminal emulator level 1,
9403166124Srafan	civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
9404166124Srafan	rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
940550276Speter
940650276Speter#### RBcomm
940750276Speter#
940850276Speter# RBComm is a lean and mean terminal emulator written by the Interrupt List
940950276Speter# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
941050276Speter# '90s), especially in the BBS world, and still has some loyal users due to
941150276Speter# its very small memory footprint and to a cute macro language.
9412166124Srafanrbcomm|IBM PC with RBcomm and EMACS keybindings,
9413166124Srafan	am, bw, mir, msgr, xenl,
9414166124Srafan	cols#80, it#8, lines#25,
9415166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9416166124Srafan	clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9417166124Srafan	cub1=^H, cud1=^C, cuf1=^B,
9418166124Srafan	cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, dch1=^W,
9419166124Srafan	dl=\E[%p1%dM, dl1=^Z, ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
9420166124Srafan	il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
9421166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
9422166124Srafan	kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
9423166124Srafan	rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
9424166124Srafan	rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
9425166124Srafan	rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
9426166124Srafan	smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
9427166124Srafanrbcomm-nam|IBM PC with RBcomm without autowrap,
9428166124Srafan	am@,
9429166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9430166124Srafan	is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
9431166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
9432166124Srafanrbcomm-w|IBM PC with RBcomm in 132 column mode,
9433166124Srafan	cols#132,
9434166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9435166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
9436166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
943750276Speter
943866963Speter######## LCD DISPLAYS
943966963Speter#
944066963Speter
944166963Speter#### Matrix Orbital
944266963Speter# from: Eric Z. Ayers  (eric@ale.org)
944366963Speter#
944466963Speter# Matrix Orbital 20x4 LCD display
944566963Speter# Command Character is 0xFE (decimal 254, octal 376)
944666963Speter#
944766963Speter# On this device, cursor addressability isn't possible.  The LCD expects:
9448166124Srafan#      0xfe G <col> <row>
944966963Speter#      for cup: %p1 == row and %p2 is column
945066963Speter#
945166963Speter# This line:
945266963Speter#	cup=\376G%p2%c%p1%c
9453166124Srafan# LOOKS like it will work, but sometimes only one of the two numbers is sent.
945466963Speter# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
9455166124Srafan#
945666963Speter# Alas, there is no cursor upline capability on this display.
945766963Speter#
945866963Speter# These entries add some 'sanity stuff' to the clear function.  That is, it
945966963Speter# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
946066963Speter# and turns off the cursor blinking and stuff like that.
946166963Speter#
946266963Speter# NOTE: calling 'beep' turns on the backlight (bell)
946366963Speter# NOTE: calling 'flash' turns it on and back off (visual bell)
946466963Speter#
9465166124SrafanMtxOrb|Generic Matrix Orbital LCD display,
9466166124Srafan	bel=\376B^A, clear=\376X\376C\376R\376K\376T,
9467166124Srafan	cnorm=\376K\376T, cub1=\376L, cuf1=\376M,
9468166124Srafan	flash=\376B\001$<200>\376F, home=\376H,
9469166124SrafanMtxOrb204|20x4 Matrix Orbital LCD display,
9470166124Srafan	cols#20, lines#4, use=MtxOrb,
9471166124SrafanMtxOrb162|16x2 Matrix Orbital LCD display,
9472166124Srafan	cols#16, lines#2, use=MtxOrb,
947366963Speter# The end
947466963Speter
947550276Speter######## OLDER TERMINAL TYPES
947650276Speter#
947750276Speter# This section is devoted to older commercial terminal brands that are now
947850276Speter# discontinued, but known to be still in use or represented by emulations.
947950276Speter#
948050276Speter
948150276Speter#### AT&T (att, tty)
948250276Speter#
948350276Speter# This section also includes Teletype-branded VDTs.
948450276Speter#
948550276Speter# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
948650276Speter# Boundless Technologies); for details, see the header comment on the ADDS
948750276Speter# section.
948850276Speter#
948950276Speter# These are AT&T's official terminfo entries.  All-caps aliases have been
949050276Speter# removed.
949150276Speter#
9492166124Srafanatt2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
9493166124Srafan	am, eo, mir, msgr, xon,
9494166124Srafan	cols#80, it#8, lines#24,
9495166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
9496166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9497166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9498166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
9499166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
9500166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9501166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9502166124Srafan	kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
9503166124Srafan	kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
9504166124Srafan	kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
9505166124Srafan	kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
9506166124Srafan	kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9507166124Srafan	rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
9508166124Srafan	smso=\E[7m,
9509166124Srafanatt2350|AT&T 2350 Video Information Terminal 80 column mode,
9510166124Srafan	mc0@, mc4@, mc5@, use=att2300,
951150276Speter
951250276Speter# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
951350276Speter# Seems upward compatible with vt100, plus ins/del line/char.
951450276Speter# On sgr, the protection parameter is ignored.
951550276Speter# No check is made to make sure that only 3 parameters are output.
951650276Speter# 	standout= reverse + half-intensity = 3 | 5.
951750276Speter# 	bold= reverse + underline = 2 | 3.
951850276Speter# note that half-bright blinking doesn't look different from normal blinking.
951950276Speter# NOTE:you must program the function keys first, label second!
9520166124Srafan# (att4410: a BSD entry has been seen with the following capabilities:
952150276Speter# <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
952250276Speter# <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
9523166124Srafanatt5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
9524166124Srafan	am, hs, mir, msgr, xon,
9525166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
9526166124Srafan	acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9527166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
9528166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
9529166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
9530166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
9531166124Srafan	ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
9532166124Srafan	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,
9533166124Srafan	kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9534166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
9535166124Srafan	kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
9536166124Srafan	ll=\E[24H, nel=^M^J,
9537166124Srafan	pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
9538166124Srafan	pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
9539166124Srafan	rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9540166124Srafan	sc=\E7,
9541166124Srafan	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%;,
9542166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9543166124Srafan	tsl=\E7\E[25;%p1%{1}%+%dH,
954450276Speter
9545166124Srafanatt4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
9546166124Srafan	cols#132, wsl#132,
9547166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
954850276Speter
9549166124Srafanatt4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
9550166124Srafan	OTbs,
9551166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
9552166124Srafan	use=att5410v1,
955350276Speter
9554166124Srafanatt5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
9555166124Srafan	cols#132, wsl#132,
9556166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
955750276Speter
955850276Speter# 5410 in terms of a vt100
955950276Speter# (v5410: added <rmam>/<smam> based on init string -- esr)
9560166124Srafanv5410|att5410 in terms of a vt100,
9561166124Srafan	am, mir, msgr, xon,
9562166124Srafan	cols#80, it#8, lines#24, vt#3,
9563166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9564166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
9565166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9566166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2>,
9567166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
9568166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
9569166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
9570166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
9571166124Srafan	kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
9572166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
9573166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
9574166124Srafan	sc=\E7,
9575166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
9576166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
9577166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
9578166124Srafan	use=vt100+fnkeys,
957950276Speter
9580166124Srafan#
958150276Speter# Teletype Model 5420 -- A souped up 5410, with multiple windows,
958250276Speter# even! the 5420 has three modes: scroll, window or page mode
958350276Speter# this terminfo should work in scroll or window mode, but doesn't
958450276Speter# take advantage of any of the differences between them.
958550276Speter#
958650276Speter# Has memory below (2 lines!)
958750276Speter# 3 pages of memory (plus some spare)
958850276Speter# The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
958950276Speter# <hpa>, <hts> would work for these, but these work in both scroll and window
959050276Speter# mode... Unset insert character so insert mode works
959150276Speter# <is1> sets 80 column mode,
959250276Speter# <is2> escape sequence:
959350276Speter# 1) turn off all fonts
959450276Speter# 2) function keys off, keyboard lock off, control display off,
959550276Speter#    insert mode off, erasure mode off,
959650276Speter# 3) full duplex, monitor mode off, send graphics off, nl on lf off
959750276Speter# 4) reset origin mode
959850276Speter# 5) set line wraparound
959950276Speter# 6) exit erasure mode, positional attribute mode, and erasure extent mode
960050276Speter# 7) clear margins
960150276Speter# 8) program ENTER to transmit ^J,
960250276Speter# We use \212 to program the ^J because a bare ^J will get translated by
960350276Speter# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
960450276Speter#     1      2            3              4     5     6    7  8
960550276Speter# <is3> set screen color to black,
960650276Speter# No representation in terminfo for the delete word key: kdw1=\Ed
960750276Speter# Key capabilities assume the power-up send sequence...
9608166124Srafan# This <rmcup> is not strictly necessary, but it helps maximize
960950276Speter# memory usefulness: <rmcup=\Ez>,
961050276Speter# Alternate sgr0:	<sgr0=\E[m\EW^O>,
961150276Speter# 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%;>,
961250276Speter# smkx programs the SYS PF keys to send a set sequence.
961350276Speter# It also sets up labels f1, f2, ..., f8, and sends edit keys.
961450276Speter# This string causes them to send the strings <kf1>-<kf8>
961550276Speter# when pressed in SYS PF mode.
961650276Speter# (att4415: I added <rmam>/<smam> based on the init string -- esr)
9617166124Srafanatt4415|tty5420|att5420|AT&T 4415/5420 80 cols,
9618166124Srafan	OTbs, db, mir, xon,
9619166124Srafan	lh#2, lm#78, lw#8, nlab#8, wsl#55,
9620166124Srafan	cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
9621166124Srafan	cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
9622166124Srafan	cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
9623166124Srafan	dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
9624166124Srafan	flash=\E[?5h$<200>\E[?5l, home=\E[x,
9625166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
9626166124Srafan	il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
9627166124Srafan	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,
9628166124Srafan	is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
9629166124Srafan	kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
9630166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
9631166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9632166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9633166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
9634166124Srafan	mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
9635166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
9636166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
9637166124Srafan	rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
9638166124Srafan	rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
9639166124Srafan	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%;,
9640166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
9641166124Srafan	smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
9642166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9643166124Srafan	use=att4410,
964450276Speter
9645166124Srafanatt4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
9646166124Srafan	cols#132, lm#54, wsl#97,
9647166124Srafan	is1=\E[?3h$<100>, use=att4415,
964850276Speter
9649166124Srafanatt4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
9650166124Srafan	flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
965150276Speter
9652166124Srafanatt4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
9653166124Srafan	cols#132, lm#54, wsl#97,
9654166124Srafan	flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h,
9655166124Srafan	use=att4415,
965650276Speter
965750276Speter# Note that this mode permits programming USER PF KEYS and labels
965850276Speter# However, when you program user pf labels you have to reselect
9659166124Srafan# user pf keys to make them appear!
9660166124Srafanatt4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
9661166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
9662166124Srafan	pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
9663166124Srafan	pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
966450276Speter
9665166124Srafanatt4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
9666166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9667166124Srafan	use=att4415,
966850276Speter
9669166124Srafanatt4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
9670166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9671166124Srafan	use=att4415-rv,
967250276Speter
9673166124Srafanatt4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
9674166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9675166124Srafan	use=att4415-w,
967650276Speter
9677166124Srafanatt4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
9678166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9679166124Srafan	use=att4415-w-rv,
968050276Speter
9681166124Srafanatt5420_2|AT&T 5420 model 2 80 cols,
9682166124Srafan	am, db, hs, mir, msgr, xon,
9683166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9684166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9685166124Srafan	blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
9686166124Srafan	cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9687166124Srafan	cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
9688166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
9689166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
9690166124Srafan	dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
9691166124Srafan	el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9692166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9693166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9694166124Srafan	invis=\E[8m,
9695166124Srafan	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,
9696166124Srafan	kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
9697166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
9698166124Srafan	kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
9699166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
9700166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9701166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9702166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
9703166124Srafan	mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
9704166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
9705166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
9706166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
9707166124Srafan	rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9708166124Srafan	sc=\E7,
9709166124Srafan	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%;,
9710166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
9711166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9712166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9713166124Srafanatt5420_2-w|AT&T 5420 model 2 in 132 column mode,
9714166124Srafan	cols#132,
9715166124Srafan	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,
9716166124Srafan	use=att5420_2,
971750276Speter
9718166124Srafanatt4418|att5418|AT&T 5418 80 cols,
9719166124Srafan	am, xon,
9720166124Srafan	cols#80, lines#24,
9721166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9722166124Srafan	bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
9723166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
9724166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
9725166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
9726166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
9727166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
9728166124Srafan	is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@,
9729166124Srafan	kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
9730166124Srafan	kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
9731166124Srafan	kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
9732166124Srafan	kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
9733166124Srafan	kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
9734166124Srafan	rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
9735166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9736166124Srafanatt4418-w|att5418-w|AT&T 5418 132 cols,
9737166124Srafan	cols#132,
9738166124Srafan	is1=\E[?3h, use=att5418,
973950276Speter
9740166124Srafanatt4420|tty4420|teletype 4420,
9741166124Srafan	OTbs, da, db, eo, msgr, ul, xon,
9742166124Srafan	cols#80, lines#24, lm#72,
9743166124Srafan	bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
9744166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
9745166124Srafan	dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
9746166124Srafan	kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
9747166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
9748166124Srafan	kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
9749166124Srafan	lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
9750166124Srafan	rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
975150276Speter
975250276Speter#  The following is a terminfo entry for the Teletype 4424
975350276Speter#  asynchronous keyboard-display terminal.  It supports
975450276Speter#  the vi editor.  The terminal must be set up as follows,
9755166124Srafan#
975650276Speter# 	HIGHLIGHT DEFINITION	3-TONE
975750276Speter# 	DISPLAY FUNCTION	GROUP III
9758166124Srafan#
975950276Speter#  The second entry below provides limited (a la adm3a)
976050276Speter#  operation under GROUP II.
9761166124Srafan#
976250276Speter#  This must be used with DISPLAY FUNCTION GROUP I or III
976350276Speter# 	and HIGHLIGHT DEFINITION 3-TONE
976450276Speter# The terminal has either bold or blink, depending on options
976550276Speter#
976650276Speter# (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
9767166124Srafanatt4424|tty4424|teletype 4424,
9768166124Srafan	OTbs, am, xon,
9769166124Srafan	cols#80, lines#24,
9770166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9771166124Srafan	bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
9772166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9773166124Srafan	cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
9774166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
9775166124Srafan	dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
9776166124Srafan	ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
9777166124Srafan	ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
9778166124Srafan	kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9779166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
9780166124Srafan	khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
9781166124Srafan	rmul=\EZ,
9782166124Srafan	sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
9783166124Srafan	sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
9784166124Srafan	tbc=\EF,
978550276Speter
9786166124Srafanatt4424-1|tty4424-1|teletype 4424 in display function group I,
9787166124Srafan	kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
9788166124Srafan	use=att4424,
978950276Speter
979050276Speter# This entry is not one of AT&T's official ones, it was translated from the
979150276Speter# 4.4BSD termcap file.  The highlight strings are different from att4424.
979250276Speter# I have no idea why this is -- older firmware version, maybe?
979350276Speter# The following two lines are the comment originally attached to the entry:
979450276Speter# This entry appears to avoid the top line - I have no idea why.
979550276Speter# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
9796166124Srafanatt4424m|tty4424m|teletype 4424M,
9797166124Srafan	am, da, db, mir,
9798166124Srafan	cols#80, it#8, lines#23,
9799166124Srafan	bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
9800166124Srafan	cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
9801166124Srafan	dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
9802166124Srafan	is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
9803166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
9804166124Srafan	kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
9805166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
980650276Speter
9807166124Srafan# The Teletype 5425 is really version 2 of the Teletype 5420. It
9808166124Srafan# is quite similar, except for some minor differences. No page
9809166124Srafan# mode, for example, so all of the <cup> sequences used above have
9810166124Srafan# to change back to what's being used for the 5410. Many of the
981150276Speter# option settings have changed their numbering as well.
9812166124Srafan#
981350276Speter# This has been tested on a preliminary model.
981450276Speter#
981550276Speter# (att5425: added <rmam>/<smam> based on the init string -- esr)
9816166124Srafanatt5425|tty5425|att4425|AT&T 4425/5425,
9817166124Srafan	am, da, db, hs, mir, msgr, xenl, xon,
9818166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9819166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9820166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9821166124Srafan	clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
9822166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9823166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9824166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9825166124Srafan	cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
9826166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
9827166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
9828166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9829166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9830166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9831166124Srafan	invis=\E[8m, is1=\E<\E[?3l$<100>,
9832166124Srafan	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,
9833166124Srafan	is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9834166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9835166124Srafan	kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
9836166124Srafan	kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
9837166124Srafan	kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
9838166124Srafan	kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
9839166124Srafan	nel=^M^J,
9840166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
9841166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
9842166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
9843166124Srafan	rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
9844166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
9845166124Srafan	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%;,
9846166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9847166124Srafan	smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
9848166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
9849166124Srafan	vpa=\E[%p1%{1}%+%dd,
985050276Speter
9851166124Srafanatt5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
9852166124Srafan	smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
985350276Speter
9854166124Srafanatt5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
9855166124Srafan	cols#132, lm#54, wsl#97,
9856166124Srafan	is1=\E[?3h$<100>, use=tty5425,
985750276Speter
9858166124Srafan# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
985950276Speter# I also added <rmam>/<smam> -- esr)
9860166124Srafanatt4426|tty4426|teletype 4426S,
9861166124Srafan	am, da, db, xon,
9862166124Srafan	cols#80, lines#24, lm#48,
9863166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9864166124Srafan	bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
9865166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
9866166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9867166124Srafan	cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
9868166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
9869166124Srafan	hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
9870166124Srafan	il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
9871166124Srafan	is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
9872166124Srafan	kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
9873166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
9874166124Srafan	kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
9875166124Srafan	nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
9876166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
9877166124Srafan	rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
9878166124Srafan	smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
9879166124Srafan	vpa=\E[%p1%dd,
988050276Speter
988150276Speter# Terminfo entry for the AT&T 510 A Personal Terminal
9882166124Srafan# Function keys 9 - 16 are available only after the
988350276Speter# screen labeled (soft keys/action blocks) are labeled.  Function key
988450276Speter# 9 corresponds to the leftmost touch target on the screen,
988550276Speter# function key 16 corresponds to the rightmost.
988650276Speter#
988750276Speter# This entry is based on one done by Ernie Rice at Summit, NJ and
988850276Speter# changed by Anne Gallup, Skokie, IL, ttrdc!anne
9889166124Srafanatt510a|bct510a|AT&T 510A Personal Terminal,
9890166124Srafan	am, mir, msgr, xenl, xon,
9891166124Srafan	cols#80, lh#2, lines#24, lw#7, nlab#8,
9892166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9893166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9894166124Srafan	civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
9895166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
9896166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9897166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
9898166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
9899166124Srafan	el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
9900166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
9901166124Srafan	is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
9902166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
9903166124Srafan	kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
9904166124Srafan	kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
9905166124Srafan	kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
9906166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
9907166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
9908166124Srafan	rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
9909166124Srafan	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
9910166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
9911166124Srafan	smul=\E[4m, tbc=\E[3g,
991250276Speter
991350276Speter# Terminfo entry for the AT&T 510 D Personal Terminal
991450276Speter# Function keys 9 through 16 are accessed by bringing up the
991550276Speter# system blocks.
991650276Speter# Function key 9 corresponds to the leftmost touch target on the screen,
991750276Speter# function key 16 corresponds to the rightmost.
991850276Speter#
9919166124Srafan# There are problems with soft key labeling.  These are due to
992050276Speter# strangenesses in the native terminal that are impossible to
9921166124Srafan# describe in a terminfo.
9922166124Srafanatt510d|bct510d|AT&T 510D Personal Terminal,
9923166124Srafan	am, da, db, mir, msgr, xenl, xon,
9924166124Srafan	cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
9925166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9926166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9927166124Srafan	clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
9928166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
9929166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
9930166124Srafan	cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
9931166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
9932166124Srafan	el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
9933166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9934166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
9935166124Srafan	invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
9936166124Srafan	kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
9937166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
9938166124Srafan	kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
9939166124Srafan	kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
9940166124Srafan	kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
9941166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
9942166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
9943166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
9944166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
9945166124Srafan	rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
9946166124Srafan	rs2=\E[5;0|, sc=\E7,
9947166124Srafan	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%;,
9948166124Srafan	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
9949166124Srafan	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
9950166124Srafan	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
995150276Speter
995250276Speter# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
9953166124Srafanatt500|att513|AT&T 513 using page mode,
9954166124Srafan	am, chts, mir, msgr, xenl, xon,
9955166124Srafan	cols#80, lh#2, lines#24, lw#8, nlab#8,
9956166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9957166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9958166124Srafan	clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
9959166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9960166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9961166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9962166124Srafan	cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
9963166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
9964166124Srafan	enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
9965166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
9966166124Srafan	indn=\E[%p1%dE, invis=\E[8m,
9967166124Srafan	is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
9968166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
9969166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
9970166124Srafan	kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
9971166124Srafan	kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
9972166124Srafan	kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
9973166124Srafan	kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
9974166124Srafan	kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
9975166124Srafan	kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
9976166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
9977166124Srafan	kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
9978166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
9979166124Srafan	khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
9980166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
9981166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
9982166124Srafan	kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
9983166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
9984166124Srafan	mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
9985166124Srafan	nel=\EE,
9986166124Srafan	pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
9987166124Srafan	pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
9988166124Srafan	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
9989166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
9990166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
9991166124Srafan	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
9992166124Srafan	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
9993166124Srafan	rmul=\E[m,
9994166124Srafan	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,
9995166124Srafan	rs2=\E[5;0|, sc=\E7,
9996166124Srafan	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%;,
9997166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h,
9998166124Srafan	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
9999166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1000050276Speter
1000150276Speter# 01-07-88
1000250276Speter# printer must be set to EMUL ANSI to accept ESC codes
1000350276Speter# <cuu1> stops at top margin
1000450276Speter# <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1000550276Speter#	and alt font ascii,wrap on,tabs cleared
1000650276Speter# <is2> disables newline on LF,Emphasized off
1000750276Speter# The <u0> capability sets form length
10008166124Srafanatt5310|att5320|AT&T Model 53210 or 5320 matrix printer,
10009166124Srafan	xhpa, xvpa,
10010166124Srafan	bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
10011166124Srafan	orhi#100, orl#12, orvi#72,
10012166124Srafan	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%;,
10013166124Srafan	cr=^M,
10014166124Srafan	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%;,
10015166124Srafan	cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
10016166124Srafan	ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
10017166124Srafan	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%;,
10018166124Srafan	rshm=\E[m,
10019166124Srafan	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(}%;,
10020166124Srafan	smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
10021166124Srafan	smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
10022166124Srafan	u0=\E[%p1%dt, vpa=\E[%p1%dd,
1002350276Speter
1002450276Speter# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
1002550276Speter# The following SET-UP modes are assumed for normal operation:
1002650276Speter#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
1002750276Speter# Other SET-UP modes may be set for operator convenience or communication
1002850276Speter# requirements.  This termcap description is for the Resident Terminal Mode.
1002950276Speter# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1003050276Speter# The BRL entry also said: UNSAFE :ll=\E[70H:
10031166124Srafanatt5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
10032166124Srafan	am, xon,
10033166124Srafan	cols#88, it#8, lines#70, vt#3,
10034166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
10035166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10036166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10037166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
10038166124Srafan	il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
10039166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10040166124Srafan	kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
10041166124Srafan	rs1=\Ec, sc=\E7,
1004250276Speter
1004350276Speter# 5620 terminfo  (2.0 or later ROMS with char attributes)
1004450276Speter# The following SET-UP modes are assumed for normal operation:
1004550276Speter#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
1004650276Speter# Other SET-UP modes may be set for operator convenience or communication
1004750276Speter# requirements.  This termcap description is for Resident Terminal Mode.  No
1004850276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1004950276Speter# assumptions: <ind> (scroll forward one line) is only done at screen bottom
1005050276Speter# Be aware that older versions of the dmd have a firmware bug that affects
1005150276Speter# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1005250276Speter# <msgr> is from an otherwise inferior BRL for this terminal.  That entry
1005350276Speter# also has <ll>=\E[70H commented out and marked unsafe.
1005450276Speter# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
10055166124Srafanatt5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
10056166124Srafan	OTbs, am, msgr, npc, xon,
10057166124Srafan	cols#88, it#8, lines#70,
10058166124Srafan	bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
10059166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
10060166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
10061166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
10062166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
10063166124Srafan	indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10064166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
10065166124Srafan	pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
10066166124Srafan	rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
10067166124Srafan	sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
10068166124Srafanatt5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
10069166124Srafan	lines#24, use=att5620,
10070166124Srafanatt5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
10071166124Srafan	lines#34, use=att5620,
1007250276Speter# 5620 layer running the "S" system's downloaded graphics handler:
10073166124Srafanatt5620-s|tty5620-s|layer|vitty|5620 S layer,
10074166124Srafan	OTbs, OTpt, am,
10075166124Srafan	cols#80, it#8, lines#72,
10076166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
10077166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
10078166124Srafan	el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
10079166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10080166124Srafan	kll=\E[70;1H,
1008150276Speter
1008250276Speter# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1008350276Speter#
1008450276Speter# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1008550276Speter# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
10086166124Srafanatt605|AT&T 605 80 column 102key keyboard,
10087166124Srafan	am, eo, xon,
10088166124Srafan	cols#80, lines#24, lw#8, nlab#8, wsl#80,
10089166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10090166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
10091166124Srafan	cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
10092166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10093166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10094166124Srafan	el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10095166124Srafan	il1=\E[L, ind=^J, invis=\E[8m,
10096166124Srafan	is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
10097166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
10098166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10099166124Srafan	kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
10100166124Srafan	kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
10101166124Srafan	kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
10102166124Srafan	kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
10103166124Srafan	kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
10104166124Srafan	kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
10105166124Srafan	kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
10106166124Srafan	kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
10107166124Srafan	kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
10108166124Srafan	kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
10109166124Srafan	kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
10110166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10111166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10112166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10113166124Srafan	rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10114166124Srafan	rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
10115166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10116166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10117166124Srafanatt605-pc|ATT 605 in pc term mode,
10118166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
10119166124Srafan	cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
10120166124Srafan	dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z,
10121166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10122166124Srafan	kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
10123166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
10124166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
10125166124Srafan	rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
10126166124Srafan	xonc=e, use=att605,
10127166124Srafanatt605-w|AT&T 605-w 132 column 102 key keyboard,
10128166124Srafan	cols#132, wsl#132,
10129166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
10130166124Srafan	use=att605,
1013150276Speter# (att610: I added <rmam>/<smam> based on the init string.  I also
1013250276Speter# added <indn> and <rin> because the BSD file says the att615s have them,
1013350276Speter# and the 615 is like a 610 with a big keyboard, and most of their other
1013450276Speter# smart terminals support the same sequence -- esr)
10135166124Srafanatt610|AT&T 610; 80 column; 98key keyboard,
10136166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10137166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10138166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10139166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10140166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10141166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10142166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10143166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10144166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10145166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10146166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10147166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10148166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10149166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
10150166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10151166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10152166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10153166124Srafan	kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
10154166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10155166124Srafan	kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
10156166124Srafan	nel=\EE,
10157166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10158166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10159166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
10160166124Srafan	rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
10161166124Srafan	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%;,
10162166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10163166124Srafan	smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
10164166124Srafanatt610-w|AT&T 610; 132 column; 98key keyboard,
10165166124Srafan	cols#132, wsl#132,
10166166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10167166124Srafan	use=att610,
1016850276Speter
10169166124Srafanatt610-103k|AT&T 610; 80 column; 103key keyboard,
10170166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10171166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10172166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10173166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10174166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10175166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10176166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10177166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
10178166124Srafan	khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
10179166124Srafan	knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
10180166124Srafan	kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
10181166124Srafan	krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
10182166124Srafan	kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
10183166124Srafanatt610-103k-w|AT&T 610; 132 column; 103key keyboard,
10184166124Srafan	cols#132, wsl#132,
10185166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10186166124Srafan	use=att610-103k,
10187166124Srafanatt615|AT&T 615; 80 column; 98key keyboard,
10188166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10189166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10190166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10191166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10192166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10193166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10194166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610,
10195166124Srafanatt615-w|AT&T 615; 132 column; 98key keyboard,
10196166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10197166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10198166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10199166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10200166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10201166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10202166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w,
10203166124Srafanatt615-103k|AT&T 615; 80 column; 103key keyboard,
10204166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
10205166124Srafanatt615-103k-w|AT&T 615; 132 column; 103key keyboard,
10206166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
1020750276Speter# (att620: I added <rmam>/<smam> based on the init string and
1020850276Speter# <rin>/<indn> from a BSD termcap -- esr)
10209166124Srafanatt620|AT&T 620; 80 column; 98key keyboard,
10210166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10211166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10212166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10213166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10214166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10215166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10216166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10217166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10218166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10219166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10220166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10221166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10222166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10223166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
10224166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
10225166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10226166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10227166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10228166124Srafan	kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
10229166124Srafan	kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
10230166124Srafan	kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
10231166124Srafan	kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
10232166124Srafan	kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
10233166124Srafan	kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
10234166124Srafan	kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
10235166124Srafan	kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
10236166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10237166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10238166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10239166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
10240166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10241166124Srafan	rs2=\Ec\E[?3l, sc=\E7,
10242166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
10243166124Srafan	sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
10244166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10245166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10246166124Srafanatt620-w|AT&T 620; 132 column; 98key keyboard,
10247166124Srafan	cols#132, wsl#132,
10248166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10249166124Srafan	use=att620,
10250166124Srafanatt620-103k|AT&T 620; 80 column; 103key keyboard,
10251166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10252166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10253166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10254166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10255166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10256166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10257166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10258166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
10259166124Srafan	kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
10260166124Srafan	kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
10261166124Srafan	kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
10262166124Srafan	kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
10263166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
10264166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
10265166124Srafan	kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
10266166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620,
1026750276Speter
10268166124Srafanatt620-103k-w|AT&T 620; 132 column; 103key keyboard,
10269166124Srafan	cols#132, wsl#132,
10270166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10271166124Srafan	use=att620-103k,
1027250276Speter
1027350276Speter# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
1027450276Speter# The following SETUP modes are assumed for normal operation:
1027550276Speter#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
1027650276Speter#	Font_Size=Large		Non-Layers_Window_Cols=80
1027750276Speter#				Non-Layers_Window_Rows=60
1027850276Speter# Other SETUP modes may be set for operator convenience or communication
1027950276Speter# requirements.  Some capabilities assume a printer attached to the Aux EIA
1028050276Speter# port.  This termcap description is for the Fixed Non-Layers Window.  No
1028150276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1028250276Speter# (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
10283166124Srafanatt630|AT&T 630 windowing terminal,
10284166124Srafan	OTbs, am, da, db, mir, msgr, npc, xon,
10285166124Srafan	cols#80, it#8, lines#60, lm#0,
10286166124Srafan	bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
10287166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
10288166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
10289166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
10290166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10291166124Srafan	el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10292166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
10293166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10294166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
10295166124Srafan	kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
10296166124Srafan	kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
10297166124Srafan	kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
10298166124Srafan	kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
10299166124Srafan	mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
10300166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
10301166124Srafan	rmul=\E[m, rs2=\Ec, sc=\E7,
10302166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
10303166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
10304166124Srafanatt630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
10305166124Srafan	lines#24, use=att630,
1030650276Speter
1030750276Speter# This is the att700 entry for 700 native emulation of the AT&T 700
1030850276Speter# terminal.  Comments are relative to changes from the 605V2 entry and
1030950276Speter# att730 on which the entry is based.  Comments show the terminfo
1031050276Speter# capability name, termcap name, and description.
1031150276Speter#
1031250276Speter# Here is what's going onm in the init string:
1031350276Speter#	ESC [ 50;4|	set 700 native mode (really is 605)
1031450276Speter# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
1031550276Speter#	ESC [ 53;0|	set GenFlow to Xon/Xoff
10316166124Srafan#	ESC [ 8 ;0|	set CR on NL
1031750276Speter# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
10318166124Srafan#	ESC [ ? 4 l	jump scroll
1031950276Speter#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
1032050276Speter#	ESC [ ?13 l	Labels on
1032150276Speter#	ESC [ ?15 l	parity check = no
1032250276Speter#	ESC [ 13 l	monitor mode off
1032350276Speter#	ESC [ 20 l	LF on NL (not CRLF on NL)
1032450276Speter#	ESC [ ? 7 h	autowrap on
1032550276Speter#	ESC [ 12 h	local echo off
1032650276Speter#	ESC ( B		GO = ASCII
1032750276Speter#	ESC ) 0		G1 = Special Char & Line Drawing
1032850276Speter#	ESC [ ? 31 l	Set 7 bit controls
1032950276Speter#
1033050276Speter# Note: Most terminals, especially the 600 family use Reverse Video for
1033150276Speter# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
1033250276Speter# Assume we should stay with reverse video for 70..  However, the 605V2 exits
1033350276Speter# standout mode with \E[m (all normal attributes).  The 730 entry simply
1033450276Speter# exits reverse video which would leave other current attributes intact.  It
1033550276Speter# was assumed the 730 entry to be more correct so rmso has changed.  The
1033650276Speter# 605V2 has no sequences to turn individual attributes off, thus its setting
1033750276Speter# and the rmso/smso settings from the 730.
1033850276Speter#
1033950276Speter# Note: For the same reason as above in rmso I changed exit under-score mode
10340166124Srafan# to specifically turn off underscore, rather than return to all normal
1034150276Speter# attributes
1034250276Speter#
1034350276Speter# Note: The following pkey_xmit is taken from the 605V2 which contained the
1034450276Speter# capability as pfxl.  It was changed here to pfx since pfxl
1034550276Speter# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
1034650276Speter# allows strings to be parameters and label values must be programmed as
1034750276Speter# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
1034850276Speter# and strings to be parameters.  The 605V2 pfx entry should be examined later
1034950276Speter# in this regard. For reference the 730 pfxl entry is shown here for comparison
1035050276Speter# 730 pfx entry:
1035150276Speter#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
1035250276Speter# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
1035350276Speter#
1035450276Speter# (for 4.0 tic)
1035550276Speter#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1035650276Speter#
1035750276Speter# (for <4.0 tic)
1035850276Speter#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1035950276Speter#
1036050276Speter# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
1036150276Speter#
1036250276Speter# Port1 Interface
1036350276Speter#
1036450276Speter# modular 10 pin Connector
1036550276Speter# Left side       Right side
1036650276Speter# Pin 1 2 3 4 5 6 7 8 9 10
1036750276Speter#
1036850276Speter#        Key (notch) at bottom
1036950276Speter#
1037050276Speter# Pin    1 DSR
1037150276Speter#        3 DCD
1037250276Speter#        4 DTR
1037350276Speter#        5 Sig Ground
1037450276Speter#        6 RD
1037550276Speter#        7 SD
1037650276Speter#        8 CTS
1037750276Speter#        9 RTS
1037850276Speter#        10 Frame Ground
1037950276Speter#
1038050276Speter# The manual is 189 pages and is loaded with details about the escape codes,
1038150276Speter# etc..... Available from AT&T CIC 800-432-6600...
1038250276Speter# ask for Document number 999-300-660..
1038350276Speter#
10384166124Srafanatt700|AT&T 700 24x80 column display w/102key keyboard,
10385166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10386166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10387166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10388166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10389166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10390166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10391166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10392166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10393166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10394166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10395166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
10396166124Srafan	fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
10397166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
10398166124Srafan	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,
10399166124Srafan	is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
10400166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10401166124Srafan	kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
10402166124Srafan	kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
10403166124Srafan	kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
10404166124Srafan	kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
10405166124Srafan	kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
10406166124Srafan	kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
10407166124Srafan	kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
10408166124Srafan	kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10409166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
10410166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10411166124Srafan	kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
10412166124Srafan	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10413166124Srafan	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
10414166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10415166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10416166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
10417166124Srafan	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
10418166124Srafan	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%;,
10419166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
10420166124Srafan	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
10421166124Srafan	tsl=\E7\E[99;%i%p1%dx,
1042250276Speter
1042350276Speter# This entry was modified 3/13/90 by JWE.
1042450276Speter# fixes include additions of <enacs>, correcting <rep>, and modification
1042550276Speter# of <kHOM>.  (See comments below)
1042650276Speter# att730 has status line of 80 chars
1042750276Speter# These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
1042850276Speter# the <kf25> and up keys are used for shifted system Fkeys
10429166124Srafan# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1043050276Speter# currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
1043150276Speter# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1043250276Speter# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1043350276Speter# 102, 102+1, or 122 key keyboards
1043450276Speter#       kHOM=\E[2J,
1043550276Speter# (att730: I added <rmam>/<smam> based on the init string -- esr)
10436166124Srafanatt730|AT&T 730 windowing terminal,
10437166124Srafan	am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
10438166124Srafan	cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
10439166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10440166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10441166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10442166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10443166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10444166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10445166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10446166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10447166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
10448166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
10449166124Srafan	ind=\ED, invis=\E[8m,
10450166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
10451166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10452166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10453166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10454166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
10455166124Srafan	kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
10456166124Srafan	kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
10457166124Srafan	kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
10458166124Srafan	kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
10459166124Srafan	kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
10460166124Srafan	kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
10461166124Srafan	kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
10462166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10463166124Srafan	kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
10464166124Srafan	mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10465166124Srafan	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,
10466166124Srafan	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
10467166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10468166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10469166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
10470166124Srafan	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
10471166124Srafan	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%;,
10472166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10473166124Srafan	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
10474166124Srafan	swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
10475166124Srafanatt730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
10476166124Srafan	lines#41, use=att730,
10477166124Srafanatt730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
10478166124Srafan	lines#24, use=att730,
10479166124Srafanatt730r|730MTGr|AT&T 730 rev video windowing terminal Version,
10480166124Srafan	flash=\E[?5l$<200>\E[?5h,
10481166124Srafan	is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
10482166124Srafan	use=att730,
10483166124Srafanatt730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
10484166124Srafan	lines#41, use=att730r,
10485166124Srafanatt730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
10486166124Srafan	lines#24, use=att730r,
1048750276Speter
1048850276Speter# The following represents the screen layout along with the associated
1048950276Speter# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
1049050276Speter# not appear on the screen but are shown to reference the bezel buttons.
1049150276Speter# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
1049250276Speter# position relative to the screen.
1049350276Speter#
1049450276Speter#
1049550276Speter#
1049650276Speter#      +----------------------------------------------------------------+
1049750276Speter#      |                                                                |
1049850276Speter# XXXX | kf0                                                       kf24 | XXXX
1049950276Speter#      |                                                                |
1050050276Speter#      |                                                                |
1050150276Speter# XXXX | kf1                                                       kf23 | XXXX
1050250276Speter#      |                                                                |
1050350276Speter#      |                                                                |
1050450276Speter# XXXX | kf2                                                       kf22 | XXXX
1050550276Speter#      |                                                                |
1050650276Speter#      |                                                                |
1050750276Speter# XXXX | kf3                                                       kf21 | XXXX
1050850276Speter#      |                                                                |
1050950276Speter#      |                                                                |
1051050276Speter# XXXX | kf4                                                       kf20 | XXXX
1051150276Speter#      |                                                                |
1051250276Speter#      |                                                                |
1051350276Speter# XXXX | kf5                                                       kf19 | XXXX
1051450276Speter#      |                                                                |
1051550276Speter#      |                                                                |
1051650276Speter# XXXX | kf6                                                       kf18 | XXXX
1051750276Speter#      |                                                                |
1051850276Speter#      |                                                                |
1051950276Speter# XXXX |                                                                | XXXX
1052050276Speter#      |                                                                |
1052150276Speter#      |                                                                |
1052250276Speter#      +----------------------------------------------------------------+
1052350276Speter#
1052450276Speter#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
1052550276Speter#
1052650276Speter# Note: XXXX represents the screen buttons
1052750276Speter#                                                          CMD   REDRAW
1052850276Speter#
1052950276Speter#                                                          MAIL
1053050276Speter#
10531166124Srafan# version 1 note:
1053250276Speter#	The character string sent by key 'kf26' may be user programmable
1053350276Speter#       to send either \E[16s, or \E[26s.
1053450276Speter#       The character string sent by key 'krfr' may be user programmable
1053550276Speter#       to send either \E[17s, or \E[27s.
1053650276Speter#
1053750276Speter# Depression of the "CMD" key sends    \E!    (kcmd)
1053850276Speter# Depression of the "MAIL" key sends   \E[26s (kf26)
1053950276Speter# "REDRAW" same as "REFRESH" (krfr)
1054050276Speter#
1054150276Speter# "kf" functions adds carriage return to output string if terminal is in
1054250276Speter# 'new line' mode.
1054350276Speter#
1054450276Speter# The following are functions not covered in the table above:
1054550276Speter#
1054650276Speter#       Set keyboard character (SKC): \EPn1;Pn2w
1054750276Speter#                       Pn1= 0 Back Space key
1054850276Speter#                       Pn1= 1 Break key
1054950276Speter#                       Pn2=   Program char (hex)
1055050276Speter#
1055150276Speter#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
1055250276Speter#                       Pn1=     Window number (1-39)
1055350276Speter#                       Pn2-Pn5= Y;X;Y;X coordinates
1055450276Speter#
1055550276Speter#       Screen Selection (SSL): \E[Pnu
1055650276Speter#                       Pn= Window number
1055750276Speter#
1055850276Speter#       Set Terminal Modes (SM): \E[Pnh
1055950276Speter#                       Pn= 3 Graphics mode
1056050276Speter#                       Pn= > Cursor blink
1056150276Speter#                       Pn= < Enter new line mode
1056250276Speter#                       Pn= = Enter reverse insert/replace mode
1056350276Speter#                       Pn= ? Enter no scroll mode
1056450276Speter#
1056550276Speter#       Reset Terminal Mode (RM): \E[Pnl
1056650276Speter#                       Pn= 3 Exit graphics mode
1056750276Speter#                       Pn= > Exit cursor blink
1056850276Speter#                       Pn= < Exit new line mode
1056950276Speter#                       Pn= = Exit reverse insert/replace mode
1057050276Speter#                       Pn= ? Exit no scroll mode
1057150276Speter#
1057250276Speter#       Screen Status Report (SSR): \E[Pnp
1057350276Speter#                       Pn= 0 Request current window number
1057450276Speter#                       Pn= 1 Request current window dimensions
1057550276Speter#
1057650276Speter#       Device Status Report (DSR): \E[6n    Request cursor position
1057750276Speter#
1057850276Speter#       Call Status Report (CSR): \E[Pnv
1057950276Speter#                       Pn= 0 Call failed
1058050276Speter#                       Pn= 1 Call successful
1058150276Speter#
1058250276Speter#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
1058350276Speter#                       Pn1= Button number to be loaded
1058450276Speter#                       Pn2= Character count of "string"
1058550276Speter#                       Pn3= Key mode being loaded:
1058650276Speter#                               0= Unshifted
1058750276Speter#                               1= Shifted
1058850276Speter#                               2= Control
1058950276Speter#                       String= Text string (15 chars max)
1059050276Speter#
1059150276Speter#       Screen Number Report (SNR): \E[Pnp
1059250276Speter#                       Pn= Screen number
1059350276Speter#
1059450276Speter#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
1059550276Speter#                       Pn1= Number of rows available in window
1059650276Speter#                       Pn2= Number of columns available in window
1059750276Speter#
1059850276Speter#       Cursor Position Report (CPR): \E[Pn1;Pn2R
1059950276Speter#                       Pn1= "Y" Position of cursor
1060050276Speter#                       Pn2= "X" Position of cursor
1060150276Speter#
1060250276Speter#       Request Answer Back (RAB): \E[c
1060350276Speter#
1060450276Speter#       Answer Back Response (ABR): \E[?;*;30;VSV
1060550276Speter#                       *=  0 No printer available
1060650276Speter#                       *=  2 Printer available
1060750276Speter#                       V=  Software version number
1060850276Speter#                       SV= Software sub version number
1060950276Speter#	(printer-available field not documented in v1)
1061050276Speter#
1061150276Speter#       Screen Alignment Aid: \En
1061250276Speter#
1061350276Speter#       Bell (lower pitch): \E[x
1061450276Speter#
1061550276Speter#       Dial Phone Number: \EPdstring\
1061650276Speter#                       string= Phone number to be dialed
1061750276Speter#
1061850276Speter#       Set Phone Labels: \EPpstring\
1061950276Speter#                       string= Label for phone buttons
1062050276Speter#
1062150276Speter#       Set Clock: \EPchour;minute;second\
1062250276Speter#
1062350276Speter#       Position Clock: \EPsY;X\
1062450276Speter#                       Y= "Y" coordinate
1062550276Speter#                       X= "X" coordinate
1062650276Speter#
1062750276Speter#       Delete Clock: \Epr\
1062850276Speter#
1062950276Speter#       Programming The Function Buttons: \EPfPn;string\
1063050276Speter#                       Pn= Button number (00-06, 18-24)
1063150276Speter#                                         (kf00-kf06, kf18-kf24)
1063250276Speter#                       string= Text to sent on button depression
1063350276Speter#
1063450276Speter# The following in version 2 only:
1063550276Speter#
1063650276Speter#       Request For Local Directory Data: \EPp12;\
1063750276Speter#
1063850276Speter#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1063950276Speter#
1064050276Speter#	Request for Local Directory Data in print format: \EPp13;\
1064150276Speter#
1064250276Speter#	Enable 'Prt on Line' mode: \022 (DC2)
1064350276Speter#
1064450276Speter#	Disable 'Prt on Line' mode: \024 (DC4)
1064550276Speter#
1064650276Speter
1064750276Speter# 05-Aug-86:
1064850276Speter# The following Terminfo entry describes functions which are supported by
1064950276Speter# the AT&T 5430/pt505 terminal software version 2 and later.
10650166124Srafanatt505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
10651166124Srafan	am, xon,
10652166124Srafan	cols#80, it#8, lines#24,
10653166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10654166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
10655166124Srafan	cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
10656166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10657166124Srafan	cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10658166124Srafan	cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
10659166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
10660166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J,
10661166124Srafan	is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
10662166124Srafan	kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10663166124Srafan	kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
10664166124Srafan	kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
10665166124Srafan	kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
10666166124Srafan	kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
10667166124Srafan	krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
10668166124Srafan	rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
10669166124Srafan	rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
10670166124Srafan	smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1067150276Speter
1067250276Speter# The following Terminfo entry describes functions which are supported by
1067350276Speter# the AT&T 5430/pt505 terminal software version 1.
10674166124Srafanatt505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
10675166124Srafan	lines#24,
10676166124Srafan	mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
10677166124Srafantt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
10678166124Srafan	lines#22, use=att505,
1067950276Speter#
1068050276Speter#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
1068150276Speter# This cut mark helps make life less painful for people running ncurses tic
1068250276Speter# on machines with relatively little RAM.  The file can be broken in half here
1068350276Speter# cleanly and compiled in sections -- no `use' references cross this cut
1068450276Speter# going forward.
1068550276Speter#
1068650276Speter
1068750276Speter#### Ampex (Dialogue)
1068850276Speter#
1068950276Speter# Yes, these are the same people who are better-known for making audio- and
1069050276Speter# videotape.  I'm told they are located in Redwood City, CA.
1069150276Speter#
1069250276Speter
1069350276Speter# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1069450276Speter# (ampex80: some capabilities merged in from SCO's entry -- esr)
10695166124Srafanampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
10696166124Srafan	OTbs, am, bw, ul,
10697166124Srafan	cols#80, it#8, lines#24,
10698166124Srafan	bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
10699166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10700166124Srafan	dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
10701166124Srafan	ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
10702166124Srafan	smso=\Ej, smul=\El, tbc=\E3,
1070350276Speter# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
10704166124Srafanampex175|ampex d175,
10705166124Srafan	am,
10706166124Srafan	cols#80, lines#24,
10707166124Srafan	bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
10708166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10709166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
10710166124Srafan	is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
10711166124Srafan	kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
10712166124Srafan	rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1071350276Speter# No backspace key in the main QWERTY cluster. Fortunately, it has a
1071450276Speter# NEWLINE/PAGE key just above RETURN that sends a strange single-character
1071550276Speter# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
1071650276Speter# mode), this key can be used as the erase key; I find I like this. Because
1071750276Speter# some people and some systems may not, there is another termcap ("ampex175")
1071850276Speter# that suppresses this little eccentricity by omitting the relevant capability.
10719166124Srafanampex175-b|ampex d175 using left arrow for erase,
10720166124Srafan	kbs=^_, use=ampex175,
1072150276Speter# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1072250276Speter# (ampex210: removed obsolete ":kn#10:" -- esr)
10723166124Srafanampex210|a210|ampex a210,
10724166124Srafan	OTbs, am, hs, xenl,
10725166124Srafan	cols#80, it#8, lines#24, xmc#1,
10726166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
10727166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10728166124Srafan	dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
10729166124Srafan	fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
10730166124Srafan	if=/usr/share/tabset/std, il1=\EE, invis@,
10731166124Srafan	is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
10732166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
10733166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
10734166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
10735166124Srafan	tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1073650276Speter# (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
1073750276Speter# from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
1073850276Speter# and moved the padding to be *after* the caps -- esr)
10739166124Srafanampex219|ampex-219|amp219|Ampex with Automargins,
10740166124Srafan	hs, xenl,
10741166124Srafan	cols#80, it#8, lines#24,
10742166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
10743166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
10744166124Srafan	csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
10745166124Srafan	cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
10746166124Srafan	cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
10747166124Srafan	el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
10748166124Srafan	is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
10749166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
10750166124Srafan	kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
10751166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
10752166124Srafan	rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
10753166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
10754166124Srafan	smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
10755166124Srafanampex219w|ampex-219w|amp219w|Ampex 132 cols,
10756166124Srafan	cols#132, lines#24,
10757166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
10758166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
10759166124Srafan# (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
10760166124Srafanampex232|ampex-232|Ampex Model 232,
10761166124Srafan	am,
10762166124Srafan	cols#80, lines#24, xmc#1,
10763166124Srafan	cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
10764166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10765166124Srafan	dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
10766166124Srafan	flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
10767166124Srafan	invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
10768166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
10769166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
10770166124Srafan	kf9=^AI\r, khome=^^, use=adm+sgr,
10771166124Srafan# (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
10772166124Srafanampex232w|Ampex Model 232 / 132 columns,
10773166124Srafan	cols#132, lines#24,
10774166124Srafan	is2=\E\034Eg\El, use=ampex232,
1077550276Speter
1077650276Speter#### Ann Arbor (aa)
1077750276Speter#
1077850276Speter# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
1077950276Speter# numbers of function keys.  At least some used monitors in portrait mode,
1078050276Speter# allowing up to 76-character screen heights!  They were reachable at:
1078150276Speter#
1078250276Speter#	Ann Arbor Terminals
1078350276Speter#	6175 Jackson Road
1078450276Speter#	Ann Arbor, MI 48103
1078550276Speter#	(313)-663-8000
1078650276Speter#
1078750276Speter# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
1078850276Speter# can't be found on the Web; I fear they're long dead.  R.I.P.
1078950276Speter#
1079050276Speter
1079150276Speter
1079250276Speter# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1079350276Speter# Highly modified 6/22 by Mike O'Brien.
1079450276Speter# split out into several for the various screen sizes by dave-yost@rand
1079550276Speter# Modifications made 3/82 by Mark Horton
1079650276Speter# Modified by Tom Quarles at UCB for greater efficiency and more diversity
1079750276Speter# status line moved to top of screen, <flash> removed 5/82
1079850276Speter# Some unknown person at SCO then hacked the init strings to make them more
1079950276Speter# efficient.
1080050276Speter#
1080150276Speter# assumes the following setup:
1080250276Speter#   A menu: 0000 1010  0001 0000
1080350276Speter#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1080450276Speter#   C menu: 56   66   0    0    9600  0110 1100
1080550276Speter#   D menu: 0110 1001   1   0
1080650276Speter#
1080750276Speter#	Briefly, the settings are for the following modes:
1080850276Speter#	   (values are for bit set/clear with * indicating our preference
1080950276Speter#	    and the value used to test these termcaps)
1081050276Speter#	Note that many of these settings are irrelevent to the terminfo
1081150276Speter#	and are just set to the default mode of the terminal as shipped
1081250276Speter#	by the factory.
1081350276Speter#
1081450276Speter# A menu: 0000 1010  0001 0000
1081550276Speter#	Block/underline cursor*
1081650276Speter#	blinking/nonblinking cursor*
1081750276Speter#	key click/no key click*
1081850276Speter#	bell/no bell at column 72*
1081950276Speter#
1082050276Speter#	key pad is cursor control*/key pad is numeric
1082150276Speter#	return and line feed/return for <cr> key *
1082250276Speter#	repeat after .5 sec*/no repeat
1082350276Speter#	repeat at 25/15 chars per sec. *
1082450276Speter#
1082550276Speter#	hold data until pause pressed/process data unless pause pressed*
1082650276Speter#	slow scroll/no slow scroll*
1082750276Speter#	Hold in area/don't hold in area*
1082850276Speter#	functions keys have default*/function keys disabled on powerup
1082950276Speter#
1083050276Speter#	show/don't show position of cursor during page transmit*
1083150276Speter#	unused
1083250276Speter#	unused
1083350276Speter#	unused
1083450276Speter#
1083550276Speter# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1083650276Speter#	Baud rate (9600*)
1083750276Speter#
1083850276Speter#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
1083950276Speter#	1 stop bit*/2 stop bits
1084050276Speter#	parity error detection off*/on
1084150276Speter#
1084250276Speter#	keyboard local/on line*
1084350276Speter#	half/full duplex*
1084450276Speter#	disable/do not disable keyboard after data transmission*
1084550276Speter#
1084650276Speter#	transmit entire page/stop transmission at cursor*
1084750276Speter#	transfer/do not transfer protected characters*
1084850276Speter#	transmit all characters/transmit only selected characters*
1084950276Speter#	transmit all selected areas/transmit only 1 selected area*
1085050276Speter#
1085150276Speter#	transmit/do not transmit line separators to host*
1085250276Speter#	transmit/do not transmit page tab stops tabs to host*
1085350276Speter#	transmit/do not transmit column tab stop tabs to host*
1085450276Speter#	transmit/do not transmit graphics control (underline,inverse..)*
1085550276Speter#
1085650276Speter#	enable*/disable auto XON/XOFF control
1085750276Speter#	require/do not require receipt of a DC1 from host after each LF*
1085850276Speter#	pause key acts as a meta key/pause key is pause*
1085950276Speter#	unused
1086050276Speter#
1086150276Speter#	unused
1086250276Speter#	unused
1086350276Speter#	unused
1086450276Speter#	unused
1086550276Speter#
1086650276Speter#	XON character (17*)
1086750276Speter#	XOFF character (19*)
1086850276Speter#
1086950276Speter# C menu: 56   66   0    0    9600  0110 1100
1087050276Speter#	number of lines to print data on (printer) (56*)
1087150276Speter#
1087250276Speter#	number of lines on a sheet of paper (printer) (66*)
1087350276Speter#
1087450276Speter#	left margin (printer) (0*)
1087550276Speter#
1087650276Speter#	number of pad chars on new line to printer (0*)
1087750276Speter#
1087850276Speter#	printer baud rate (9600*)
1087950276Speter#
1088050276Speter#	printer parity: 00=odd,01=even*,10=space,11=mark
1088150276Speter#	printer stop bits: 2*/1
1088250276Speter#	print/do not print guarded areas*
1088350276Speter#
1088450276Speter#	new line is: 01=LF,10=CR,11=CRLF*
1088550276Speter#	unused
1088650276Speter#	unused
1088750276Speter#
1088850276Speter# D menu: 0110 1001   1   0
1088950276Speter#	LF is newline/LF is down one line, same column*
1089050276Speter#	wrap to preceding line if move left from col 1*/don't wrap
1089150276Speter#	wrap to next line if move right from col 80*/don't wrap
1089250276Speter#	backspace is/is not destructive*
1089350276Speter#
1089450276Speter#	display*/ignore DEL character
1089550276Speter#	display will not/will scroll*
1089650276Speter#	page/column tab stops*
1089750276Speter#	erase everything*/erase unprotected only
1089850276Speter#
1089950276Speter#	editing extent: 0=display,1=line*,2=field,3=area
1090050276Speter#
1090150276Speter#	unused
1090250276Speter#
1090350276Speter
10904166124Srafanannarbor4080|aa4080|ann arbor 4080,
10905166124Srafan	OTbs, am,
10906166124Srafan	cols#80, lines#40,
10907166124Srafan	bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
10908166124Srafan	cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
10909166124Srafan	cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
10910166124Srafan	kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1091150276Speter
1091250276Speter# Strange Ann Arbor terminal from BRL
10913166124Srafanaas1901|Ann Arbor K4080 w/S1901 mod,
10914166124Srafan	am,
10915166124Srafan	cols#80, lines#40,
10916166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
10917166124Srafan	home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
10918166124Srafan	nel=^M^J,
1091950276Speter
1092050276Speter# If you're using the GNU termcap library, add
1092150276Speter#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1092250276Speter# to these capabilities.  This is the nonstandard GNU termcap scrolling
1092350276Speter# capability, arguments are:
1092450276Speter#   1. Total number of lines on the screen.
1092550276Speter#   2. Number of lines above desired scroll region.
1092650276Speter#   3. Number of lines below (outside of) desired scroll region.
1092750276Speter#   4. Total number of lines on the screen, the same as the first parameter.
1092850276Speter# The generic Ann Arbor entry is the only one that uses this.
10929166124Srafanaaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
10930166124Srafan	OTbs, am, km, mc5i, mir, xon,
10931166124Srafan	cols#80, it#8,
10932166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
10933166124Srafan	clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
10934166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
10935166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10936166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10937166124Srafan	el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
10938166124Srafan	hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
10939166124Srafan	il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
10940166124Srafan	is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
10941166124Srafan	kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10942166124Srafan	kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
10943166124Srafan	kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
10944166124Srafan	kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
10945166124Srafan	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
10946166124Srafan	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
10947166124Srafan	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
10948166124Srafan	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
10949166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
10950166124Srafan	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
10951166124Srafan	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
10952166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
10953166124Srafan	sgr0=\E[m,
10954166124Srafan	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
10955166124Srafan	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
10956166124Srafan	vpa=\E[%p1%{1}%+%dd,
1095750276Speter
10958166124Srafanaaa+rv|ann arbor ambassador in reverse video,
10959166124Srafan	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
10960166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
10961166124Srafan	rs1=\E[H\E[7m\E[J$<156>,
10962166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
10963166124Srafan	sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1096450276Speter# Ambassador with the DEC option, for partial vt100 compatibility.
10965166124Srafanaaa+dec|ann arbor ambassador in dec vt100 mode,
10966166124Srafan	acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
10967166124Srafan	csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
10968166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
10969166124Srafan	smacs=^O,
10970166124Srafanaaa-18|ann arbor ambassador/18 lines,
10971166124Srafan	lines#18,
10972166124Srafan	is2=\E7\E[60;0;0;18p\E8,
10973166124Srafan	rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
10974166124Srafan	use=aaa+unk,
10975166124Srafanaaa-18-rv|ann arbor ambassador/18 lines+reverse video,
10976166124Srafan	use=aaa+rv, use=aaa-18,
10977166124Srafanaaa-20|ann arbor ambassador/20 lines,
10978166124Srafan	lines#20,
10979166124Srafan	is2=\E7\E[60;0;0;20p\E8,
10980166124Srafan	rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
10981166124Srafan	use=aaa+unk,
10982166124Srafanaaa-22|ann arbor ambassador/22 lines,
10983166124Srafan	lines#22,
10984166124Srafan	is2=\E7\E[60;0;0;22p\E8,
10985166124Srafan	rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
10986166124Srafan	use=aaa+unk,
10987166124Srafanaaa-24|ann arbor ambassador/24 lines,
10988166124Srafan	lines#24,
10989166124Srafan	is2=\E7\E[60;0;0;24p\E8,
10990166124Srafan	rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
10991166124Srafan	use=aaa+unk,
10992166124Srafanaaa-24-rv|ann arbor ambassador/24 lines+reverse video,
10993166124Srafan	use=aaa+rv, use=aaa-24,
10994166124Srafanaaa-26|ann arbor ambassador/26 lines,
10995166124Srafan	lines#26,
10996166124Srafan	is2=\E7\E[60;0;0;26p\E8,
10997166124Srafan	rmcup=\E[60;0;0;26p\E[26;1H\E[K,
10998166124Srafan	smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
10999166124Srafanaaa-28|ann arbor ambassador/28 lines,
11000166124Srafan	lines#28,
11001166124Srafan	is2=\E7\E[60;0;0;28p\E8,
11002166124Srafan	rmcup=\E[60;0;0;28p\E[28;1H\E[K,
11003166124Srafan	smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
11004166124Srafanaaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
11005166124Srafan	eslok, hs,
11006166124Srafan	lines#29,
11007166124Srafan	dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11008166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
11009166124Srafan	rmcup=\E[60;1;0;30p\E[29;1H\E[K,
11010166124Srafan	smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
11011166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11012166124Srafanaaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
11013166124Srafan	use=aaa+rv, use=aaa-30-s,
11014166124Srafanaaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
11015166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11016166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
11017166124Srafanaaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
11018166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11019166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
11020166124Srafanaaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
11021166124Srafan	lines#30,
11022166124Srafan	is2=\E7\E[60;0;0;30p\E8,
11023166124Srafan	rmcup=\E[60;0;0;30p\E[30;1H\E[K,
11024166124Srafan	smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
11025166124Srafanaaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
11026166124Srafan	use=aaa+rv, use=aaa-30,
11027166124Srafanaaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
11028166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11029166124Srafan	use=aaa-30,
11030166124Srafanaaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
11031166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11032166124Srafan	use=aaa+rv, use=aaa-30,
11033166124Srafanaaa-36|ann arbor ambassador/36 lines,
11034166124Srafan	lines#36,
11035166124Srafan	is2=\E7\E[60;0;0;36p\E8,
11036166124Srafan	rmcup=\E[60;0;0;36p\E[36;1H\E[K,
11037166124Srafan	smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
11038166124Srafanaaa-36-rv|ann arbor ambassador/36 lines+reverse video,
11039166124Srafan	use=aaa+rv, use=aaa-36,
11040166124Srafanaaa-40|ann arbor ambassador/40 lines,
11041166124Srafan	lines#40,
11042166124Srafan	is2=\E7\E[60;0;0;40p\E8,
11043166124Srafan	rmcup=\E[60;0;0;40p\E[40;1H\E[K,
11044166124Srafan	smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
11045166124Srafanaaa-40-rv|ann arbor ambassador/40 lines+reverse video,
11046166124Srafan	use=aaa+rv, use=aaa-40,
11047166124Srafanaaa-48|ann arbor ambassador/48 lines,
11048166124Srafan	lines#48,
11049166124Srafan	is2=\E7\E[60;0;0;48p\E8,
11050166124Srafan	rmcup=\E[60;0;0;48p\E[48;1H\E[K,
11051166124Srafan	smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
11052166124Srafanaaa-48-rv|ann arbor ambassador/48 lines+reverse video,
11053166124Srafan	use=aaa+rv, use=aaa-48,
11054166124Srafanaaa-60-s|ann arbor ambassador/59 lines+status,
11055166124Srafan	eslok, hs,
11056166124Srafan	lines#59,
11057166124Srafan	dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11058166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
11059166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11060166124Srafanaaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
11061166124Srafan	use=aaa+rv, use=aaa-60-s,
11062166124Srafanaaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
11063166124Srafan	use=aaa+dec, use=aaa+rv, use=aaa-60-s,
11064166124Srafanaaa-60|ann arbor ambassador/60 lines,
11065166124Srafan	lines#60,
11066166124Srafan	is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
11067166124Srafan	use=aaa+unk,
11068166124Srafanaaa-60-rv|ann arbor ambassador/60 lines+reverse video,
11069166124Srafan	use=aaa+rv, use=aaa-60,
11070166124Srafanaaa-db|ann arbor ambassador 30/destructive backspace,
11071166124Srafan	OTbs@,
11072166124Srafan	cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
1107350276Speter
11074166124Srafanguru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
11075166124Srafan	lines#33,
11076166124Srafan	flash=\E[>59h$<100>\E[>59l,
11077166124Srafan	is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
11078166124Srafan	rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
11079166124Srafanguru+rv|guru changes for reverse video,
11080166124Srafan	flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
11081166124Srafanguru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
11082166124Srafan	use=guru+rv, use=guru-33,
11083166124Srafanguru+s|guru status line,
11084166124Srafan	eslok, hs,
11085166124Srafan	dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
11086166124Srafan	rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
11087166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K,
11088166124Srafanguru-nctxt|guru with no saved context,
11089166124Srafan	smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
11090166124Srafanguru-s|guru-33-s|ann arbor guru/33 lines+status,
11091166124Srafan	lines#32,
11092166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
11093166124Srafan	smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11094166124Srafanguru-24|ann arbor guru 24 lines,
11095166124Srafan	cols#80, lines#24,
11096166124Srafan	is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
11097166124Srafan	use=guru+unk,
11098166124Srafanguru-44|ann arbor guru 44 lines,
11099166124Srafan	cols#97, lines#44,
11100166124Srafan	is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
11101166124Srafan	use=guru+unk,
11102166124Srafanguru-44-s|ann arbor guru/44 lines+status,
11103166124Srafan	lines#43,
11104166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
11105166124Srafan	smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11106166124Srafanguru-76|guru with 76 lines by 89 cols,
11107166124Srafan	cols#89, lines#76,
11108166124Srafan	is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
11109166124Srafan	use=guru+unk,
11110166124Srafanguru-76-s|ann arbor guru/76 lines+status,
11111166124Srafan	cols#89, lines#75,
11112166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
11113166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11114166124Srafanguru-76-lp|guru-lp|guru with page bigger than line printer,
11115166124Srafan	cols#134, lines#76,
11116166124Srafan	is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
11117166124Srafan	use=guru+unk,
11118166124Srafanguru-76-w|guru 76 lines by 178 cols,
11119166124Srafan	cols#178, lines#76,
11120166124Srafan	is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
11121166124Srafan	use=guru+unk,
11122166124Srafanguru-76-w-s|ann arbor guru/76 lines+status+wide,
11123166124Srafan	cols#178, lines#75,
11124166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
11125166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11126166124Srafanguru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
11127166124Srafan	cols#178, lines#76,
11128166124Srafan	is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
11129166124Srafan	use=guru+unk,
11130166124Srafanaaa-rv-unk|ann arbor unknown type,
11131166124Srafan	lh#0, lw#0, nlab#0,
11132166124Srafan	blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
11133166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
11134166124Srafan	rs1=\E[H\E[7m\E[J,
11135166124Srafan	sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
11136166124Srafan	sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1113750276Speter
1113850276Speter#### Applied Digital Data Systems (adds)
1113950276Speter#
1114050276Speter# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
1114150276Speter# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
1114250276Speter# terminals was merged again.  Then AT&T sold the terminal business to
1114350276Speter# SunRiver, which later changed its  name to Boundless Technologies.  The
1114450276Speter# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
1114550276Speter# as of early 1995) are at:
1114650276Speter#
1114750276Speter#	Boundless Technologies
1114850276Speter#	100 Marcus Boulevard
1114950276Speter#	Hauppauge, NY 11788-3762
1115050276Speter#	Vox: (800)-231-5445
1115150276Speter#	Fax: (516)-342-7378
1115250276Speter#	Web: http://boundless.com
1115350276Speter#
11154166124Srafan# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
11155166124Srafan# In 1995 Boundless acquired DEC's terminals business.
1115650276Speter#
1115750276Speter
1115850276Speter# Regent: lowest common denominator, works on all regents.
1115950276Speter# (regent: renamed ":bc:" to ":le:" -- esr)
11160166124Srafanregent|Adds Regent Series,
11161166124Srafan	OTbs, am,
11162166124Srafan	cols#80, lines#24,
11163166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
11164166124Srafan	home=\EY\s\s, ind=^J, ll=^A,
1116550276Speter# Regent 100 has a bug where if computer sends escape when user is holding
1116650276Speter# down shift key it gets confused, so we avoid escape.
11167166124Srafanregent100|Adds Regent 100,
11168166124Srafan	xmc#1,
11169166124Srafan	bel=^G,
11170166124Srafan	cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
11171166124Srafan	kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
11172166124Srafan	kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
11173166124Srafan	lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
11174166124Srafan	sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
11175166124Srafanregent20|Adds Regent 20,
11176166124Srafan	bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
11177166124Srafan	use=regent,
11178166124Srafanregent25|Adds Regent 25,
11179166124Srafan	bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
11180166124Srafan	use=regent20,
11181166124Srafanregent40|Adds Regent 40,
11182166124Srafan	xmc#1,
11183166124Srafan	bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
11184166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11185166124Srafan	kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
11186166124Srafan	lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
11187166124Srafan	smul=\E0`, use=regent25,
11188166124Srafanregent40+|Adds Regent 40+,
11189166124Srafan	is2=\EB, use=regent40,
11190166124Srafanregent60|regent200|Adds Regent 60,
11191166124Srafan	dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
11192166124Srafan	rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
11193166124Srafan	use=regent40+,
1119450276Speter# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1119550276Speter# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
11196166124Srafanviewpoint|addsviewpoint|adds viewpoint,
11197166124Srafan	OTbs, am,
11198166124Srafan	cols#80, lines#24,
11199166124Srafan	bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
11200166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
11201166124Srafan	cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
11202166124Srafan	ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
11203166124Srafan	kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
11204166124Srafan	rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
1120550276Speter# Some viewpoints have bad ROMs that foo up on ^O
11206166124Srafanscrewpoint|adds viewpoint with ^O bug,
11207166124Srafan	cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1120850276Speter
1120950276Speter# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
11210166124Srafan# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1121150276Speter# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1121250276Speter# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
1121350276Speter# invis=01000100 and %c is the logical or of desired attributes.
1121450276Speter# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
1121550276Speter#
11216166124Srafan# Update by TD - 2004:
11217166124Srafan# Adapted from
11218166124Srafan#	http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
11219166124Srafan#
11220166124Srafan# COMMANDS                        ASCII CODE
11221166124Srafan#
11222166124Srafan# Address, Absolute               ESC,=,row,column
11223166124Srafan# Beep                            BEL
11224166124Srafan# Aux Port Enable                 ESC,@
11225166124Srafan# Aux Port Disable                ESC,A
11226166124Srafan# Backspace                       BS
11227166124Srafan# Cursor back                     BS
11228166124Srafan# Cursor down                     LF
11229166124Srafan# Cursor forward                  FF
11230166124Srafan# Cursor home                     RS
11231166124Srafan# Cursor up                       VT
11232166124Srafan# Cursor supress                  ETB
11233166124Srafan# Cursor enable                   CAN
11234166124Srafan# Erase to end of line            ESC,T
11235166124Srafan# Erase to end of page            ESC,Y
11236166124Srafan# Erase screen                    SUB
11237166124Srafan# Keyboard lock                   SI
11238166124Srafan# Keyboard unlock                 SO
11239166124Srafan# Read current cursor position    ESC,?
11240166124Srafan# Set Attribute                   ESC,0,x  (see below for values of x)
11241166124Srafan# Tag bit reset                   ESC,(
11242166124Srafan# Tag bit set                     ESC,)
11243166124Srafan# Transparent Print on            ESC,3
11244166124Srafan# Transparent Print off           ESC,4
11245166124Srafan#
11246166124Srafan#
11247166124Srafan# ATTRIBUTES
11248166124Srafan#
11249166124Srafan# Normal                          @	0100
11250166124Srafan# Half Intensity                  A	0101
11251166124Srafan# Blinking                        B	0102
11252166124Srafan# Half Intensity Blinking         C	0103
11253166124Srafan# Reverse Video                   P	0120
11254166124Srafan# Reverse Video Half Intensity    Q	0121
11255166124Srafan# Reverse Video Blinking          R	0122
11256166124Srafan# Reverse Video Half Intensity
11257166124Srafan#    Blinking                     S	0123
11258166124Srafan# Underlined                      `	0140
11259166124Srafan# Underlined Half Intensity       a	0141
11260166124Srafan# Underlined Blinking             b	0142
11261166124Srafan# Underlined Half Intensity
11262166124Srafan#    Blinking                     c	0143
11263166124Srafan# Video suppress                  D	0104
11264166124Srafanvp3a+|viewpoint3a+|adds viewpoint 3a+,
11265166124Srafan	am, bw,
11266166124Srafan	cols#80, it#8, lines#24,
11267166124Srafan	blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
11268166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
11269166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
11270166124Srafan	ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
11271166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
11272166124Srafan	nel=^M^J, rev=\E0P\E), rmso=\E(,
11273166124Srafan	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(%;,
11274166124Srafan	sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
11275166124Srafanvp60|viewpoint60|addsvp60|adds viewpoint60,
11276166124Srafan	use=regent40,
11277166124Srafan#
1127850276Speter# adds viewpoint 90 - from cornell
1127950276Speter# Note:  emacs sends ei occasionally to insure the terminal is out of
1128050276Speter#        insert mode. This unfortunately puts the viewpoint90 IN insert
1128150276Speter#        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
1128250276Speter#   -    :ei=:im=: must be present in the termcap translation.)
1128350276Speter#   -    <xhp> indicates glitch that attributes stick to location
1128450276Speter#   -    <msgr> means it's safe to move in standout mode
1128550276Speter#   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
1128650276Speter#               the status line
1128750276Speter# Function key and label capabilities merged in from SCO.
11288166124Srafanvp90|viewpoint90|adds viewpoint 90,
11289166124Srafan	OTbs, bw, msgr, xhp,
11290166124Srafan	cols#80, lines#24,
11291166124Srafan	clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
11292166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
11293166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
11294166124Srafan	ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
11295166124Srafan	kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
11296166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11297166124Srafan	kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
11298166124Srafan	lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
11299166124Srafan	lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
11300166124Srafan	sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1130150276Speter# Note: if return acts weird on a980, check internal switch #2
1130250276Speter# on the top chip on the CONTROL pc board.
11303166124Srafanadds980|a980|adds consul 980,
11304166124Srafan	OTbs, am,
11305166124Srafan	cols#80, lines#24,
11306166124Srafan	bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
11307166124Srafan	cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
11308166124Srafan	dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
11309166124Srafan	kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
11310166124Srafan	kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1131150276Speter
1131250276Speter#### C. Itoh Electronics
1131350276Speter#
1131450276Speter# As of 1995 these people no longer make terminals (they're still in the
1131550276Speter# printer business).  Their terminals were all clones of the DEC VT series.
1131650276Speter# They're located in Orange County, CA.
1131750276Speter#
1131850276Speter
1131950276Speter# CIT 80  - vt-52 emulator, the termcap has been modified to remove
1132050276Speter#           the delay times and do an auto tab set rather than the indirect
1132150276Speter#           file used in vt100.
11322166124Srafancit80|cit-80|citoh 80,
11323166124Srafan	OTbs, am,
11324166124Srafan	cols#80, lines#24,
11325166124Srafan	clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
11326166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
11327166124Srafan	ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
11328166124Srafan	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1132950276Speter# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1133050276Speter# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
11331166124Srafancit101|citc|C.itoh fast vt100,
11332166124Srafan	OTbs, am, xenl,
11333166124Srafan	cols#80, lines#24,
11334166124Srafan	bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
11335166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
11336166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
11337166124Srafan	flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
11338166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
11339166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
11340166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
11341166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
11342166124Srafan	smul=\E[4m,
1134350276Speter# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
1134450276Speter# The following termcap entry was created from the Callan cd100 entry.  The
1134550276Speter# last two lines (with the capabilities in caps) are used by RM-cobol to allow
1134650276Speter# full selection of combinations of reverse video, underline, and blink.
1134750276Speter# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
1134850276Speter# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
1134950276Speter# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
11350166124Srafancit101e|C. Itoh CIT-101e,
11351166124Srafan	OTbs, OTpt, am, mir, msgr,
11352166124Srafan	cols#80, it#8, lines#24,
11353166124Srafan	acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
11354166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
11355166124Srafan	cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
11356166124Srafan	el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
11357166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
11358166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
11359166124Srafan	kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
11360166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
11361166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
1136250276Speter# From: David S. Lawyer, June 1997:
1136350276Speter# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
1136450276Speter# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
1136550276Speter# late 1980's CIT Terminals went out of business.
1136650276Speter# There is no need to use the initialization string is=... (by invoking
1136750276Speter# tset or setterm etc.) provided that the terminal has been manually set
1136850276Speter# up (and the setup saved with ^S) to be compatible with this termcap.  To be
1136950276Speter# compatible it should be in ANSI mode (not VT52).   A set-up that
1137050276Speter# works is to set all the manually setable stuff to factory defaults
1137150276Speter# by pressing ^D in set-up mode.  Then increse the brighness with the
1137250276Speter# up-arrow key since the factory default will likely be dim on an old
1137350276Speter# terminal.  Then change any options you want (provided that they are
1137450276Speter# compatible with the termcap).  For my terminal I set: Screen
1137550276Speter# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
11376166124Srafan# on.  I also set up mine for parity (but you may not need it).  Then
1137750276Speter# save the setup with ^S.
1137850276Speter# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
11379166124Srafancit101e-rv|Citoh CIT-101e (sets reverse video),
11380166124Srafan	am, eo, mir, msgr, xenl, xon,
11381166124Srafan	cols#80, it#8, lines#24,
11382166124Srafan	OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11383166124Srafan	civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
11384166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11385166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11386166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11387166124Srafan	cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
11388166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
11389166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
11390166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
11391166124Srafan	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,
11392166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11393166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
11394166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
11395166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
11396166124Srafan	sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
11397166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
11398166124Srafan	u7=\E[6n, u8=\E[?6c, u9=\E[c,
11399166124Srafancit101e-n|CIT-101e w/o am,
11400166124Srafan	am@,
11401166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11402166124Srafan	use=cit101e,
11403166124Srafancit101e-132|CIT-101e with 132 cols,
11404166124Srafan	cols#132,
11405166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
11406166124Srafancit101e-n132|CIT-101e with 132 cols w/o am,
11407166124Srafan	am@,
11408166124Srafan	cols#132,
11409166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11410166124Srafan	use=cit101e,
1141150276Speter# CIE Terminals CIT-500 from BRL
1141250276Speter# The following SET-UP modes are assumed for normal operation:
1141350276Speter#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
1141450276Speter#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
1141550276Speter#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
1141650276Speter# Other SET-UP modes may be set for operator convenience or communication
1141750276Speter# requirements.
1141850276Speter# Hardware tabs are assumed to be set every 8 columns; they can be set up
1141950276Speter# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
1142050276Speter# "stty ixon -ixany" to enable DC3/DC1 flow control!
1142150276Speter# (cit500: I added <rmam>/<smam> based on the init string -- esr)
11422166124Srafancit500|CIE Terminals CIT-500,
11423166124Srafan	OTbs, OTpt, mir, msgr, xon,
11424166124Srafan	OTkn#10, cols#80, it#8, lines#64, vt#3,
11425166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11426166124Srafan	clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
11427166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
11428166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11429166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
11430166124Srafan	ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
11431166124Srafan	il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
11432166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
11433166124Srafan	ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
11434166124Srafan	kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
11435166124Srafan	khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
11436166124Srafan	lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
11437166124Srafan	lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
11438166124Srafan	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
11439166124Srafan	rmso=\E[m, rmul=\E[m,
11440166124Srafan	rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
11441166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
11442166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1144350276Speter
1144450276Speter# C. Itoh printers begin here
11445166124Srafancitoh|ci8510|8510|c.itoh 8510a,
11446166124Srafan	cols#80, it#8,
11447166124Srafan	bold=\E!, cub1@,
11448166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
11449166124Srafan	rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
11450166124Srafan	smul=\EX, use=lpr,
11451166124Srafancitoh-pica|citoh in pica,
11452166124Srafan	is1=\EN, use=citoh,
11453166124Srafancitoh-elite|citoh in elite,
11454166124Srafan	cols#96,
11455166124Srafan	is1=\EE,
11456166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
11457166124Srafan	use=citoh,
11458166124Srafancitoh-comp|citoh in compressed,
11459166124Srafan	cols#136,
11460166124Srafan	is1=\EQ,
11461166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129.,
11462166124Srafan	use=citoh,
1146350276Speter# citoh has infinite cols because we don't want lp ever inserting \n\t**.
11464166124Srafancitoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
11465166124Srafan	cols#32767,
11466166124Srafan	is1=\EP, use=citoh,
11467166124Srafancitoh-6lpi|citoh in 6 lines per inch mode,
11468166124Srafan	is3=\EA, use=citoh,
11469166124Srafancitoh-8lpi|citoh in 8 lines per inch mode,
11470166124Srafan	lines#88,
11471166124Srafan	is3=\EB, use=citoh,
1147250276Speter
1147350276Speter#### Control Data (cdc)
1147450276Speter#
1147550276Speter
11476166124Srafancdc456|cdc 456 terminal,
11477166124Srafan	OTbs, am,
11478166124Srafan	cols#80, lines#24,
11479166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
11480166124Srafan	cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
11481166124Srafan	el=^V, home=^Y, il1=\EL, ind=^J,
1148250276Speter
1148350276Speter# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
11484166124Srafancdc721|CDC Viking,
11485166124Srafan	OTbs, am,
11486166124Srafan	cols#80, lines#24,
11487166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11488166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11489166124Srafan	kcuu1=^W, khome=^Y,
11490166124Srafancdc721ll|CDC Vikingll,
11491166124Srafan	OTbs, am,
11492166124Srafan	cols#132, lines#24,
11493166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11494166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11495166124Srafan	kcuu1=^W, khome=^Y,
1149650276Speter# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
11497166124Srafancdc752|CDC 752,
11498166124Srafan	OTbs, am, bw, xhp,
11499166124Srafan	cols#80, lines#24,
11500166124Srafan	bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11501166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
11502166124Srafan	home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1150350276Speter# CDC 756
1150450276Speter# The following switch/key settings are assumed for normal operation:
1150550276Speter#	96 chars	SCROLL		FULL duplex	not BLOCK
1150650276Speter# Other switches may be set according to communication requirements.
1150750276Speter# Insert/delete-character cannot be used, as the whole display is affected.
1150850276Speter# "so" & "se" are commented out until jove handles "sg" correctly.
11509166124Srafancdc756|CDC 756,
11510166124Srafan	OTbs, am, bw,
11511166124Srafan	OTkn#10, cols#80, lines#24,
11512166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11513166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
11514166124Srafan	dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
11515166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
11516166124Srafan	kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
11517166124Srafan	kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
11518166124Srafan	khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
11519166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
11520166124Srafan	rs1=\031\030\002\003\017,
1152150276Speter#
1152250276Speter# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1152350276Speter#
1152450276Speter# Part of the long initialization string defines the "DOWN" key to the left
11525166124Srafan# of the tab key to send an ESC.  The real ESC key is positioned way out
1152650276Speter# in right field.
1152750276Speter#
1152850276Speter# The termcap won't work in 132 column mode due to the way it it moves the
1152950276Speter# cursor.  Termcap doesn't have the capability (as far as I could tell) to
1153050276Speter# handle the 721 in 132 column mode.
1153150276Speter#
1153250276Speter# (cdc721: changed :ri: to :sr: -- esr)
11533166124Srafancdc721-esc|Control Data 721,
11534166124Srafan	OTbs, OTpt, am, bw, msgr, xon,
11535166124Srafan	OTkn#10, cols#80, it#8, lines#30,
11536166124Srafan	bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
11537166124Srafan	cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
11538166124Srafan	dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
11539166124Srafan	ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
11540166124Srafan	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,
11541166124Srafan	kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
11542166124Srafan	kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
11543166124Srafan	kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
11544166124Srafan	ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
11545166124Srafan	sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
11546166124Srafan	smso=^^D, smul=^\, tbc=^^^RY,
1154750276Speter
1154850276Speter#### Getronics
1154950276Speter#
11550166124Srafan# Getronics is a Dutch electronics company that at one time was called
1155150276Speter# `Geveke' and made async terminals; but (according to the company itself!)
1155250276Speter# they've lost all their documentation on the command set.  The hardware
1155350276Speter# documentation suggests the terminals were actually manufactured by a
1155450276Speter# Taiwanese electronics company named Cal-Comp.  There are known
1155550276Speter# to have been at least two models, the 33 and the 50.
1155650276Speter#
1155750276Speter
1155850276Speter# The 50 seems to be a top end vt220 clone, with the addition of a higher
1155950276Speter# screen resolution, a larger screen, at least 1 page of memory above and
1156050276Speter# below the screen, apparently pages of memory right and left of the screen
1156150276Speter# which can be panned, and about 75 function keys (15 function keys x normal,
1156250276Speter# shift, control, func A, func B). It also has more setup possibilities than
1156350276Speter# the vt220. The monitor case is dated November 1978 and the keyboard case is
1156450276Speter# May 1982.
1156550276Speter#
1156650276Speter# The vt100 emulation works as is.  The entry below describes the rather
1156750276Speter# non-conformant (but more featureful) ANSI mode.
1156850276Speter#
1156950276Speter# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
11570166124Srafanvisa50|geveke visa 50 terminal in ansi 80 character mode,
11571166124Srafan	bw, mir, msgr,
11572166124Srafan	cols#80, lines#25,
11573166124Srafan	acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
11574166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
11575166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
11576166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11577166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11578166124Srafan	dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
11579166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
11580166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
11581166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
11582166124Srafan	is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
11583166124Srafan	ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
11584166124Srafan	kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
11585166124Srafan	kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
11586166124Srafan	kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
11587166124Srafan	kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
11588166124Srafan	lf3=A insert line, lf4=A delete line, lf5=A clear,
11589166124Srafan	lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
11590166124Srafan	lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
11591166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
11592166124Srafan	rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
11593166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
11594166124Srafan	vpa=\E[%i%p1%dd,
1159550276Speter
1159650276Speter#### Human Designed Systems (Concept)
1159750276Speter#
1159850276Speter#	Human Designed Systems
1159950276Speter#	400 Fehley Drive
1160050276Speter#	King of Prussia, PA 19406
1160150276Speter#	Vox: (610)-277-8300
1160250276Speter#	Fax: (610)-275-5739
1160350276Speter#	Net: support@hds.com
11604166124Srafan#
1160550276Speter# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
1160650276Speter# the character-terminal business now (1995) and making X terminals.  In
1160750276Speter# particular, the whole `Concept' line described here was discontinued long
1160850276Speter# ago.
1160950276Speter#
1161050276Speter
1161150276Speter# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
1161250276Speter# Extensive changes to c108 by arpavax:eric Feb 1982
1161350276Speter# Some unknown person at SCO then translated it to terminfo.
1161450276Speter#
1161550276Speter# There seem to be a number of different versions of the C108 PROMS
1161650276Speter# (with bug fixes in its Z-80 program).
11617166124Srafan#
1161850276Speter# The first one that we had would lock out the keyboard of you
1161950276Speter# sent lots of short lines (like /usr/dict/words) at 9600 baud.
1162050276Speter# Try that on your C108 and see if it sends a ^S when you type it.
1162150276Speter# If so, you have an old version of the PROMs.
11622166124Srafan#
1162350276Speter# You should configure the C108 to send ^S/^Q before running this.
1162450276Speter# It is much faster (at 9600 baud) than the c100 because the delays
1162550276Speter# are not fixed.
1162650276Speter# new status line display entries for c108-8p:
11627166124Srafan# <is3> - init str #3 - setup term for status display -
11628166124Srafan# set programmer mode, select window 2, define window at last
1162950276Speter# line of memory, set bkgnd stat mesg there, select window 0.
11630166124Srafan#
11631166124Srafan# <tsl> - to status line - select window 2, home cursor, erase to
1163250276Speter# end-of-window, 1/2 bright on, goto(line#0, col#?)
11633166124Srafan#
1163450276Speter# <fsl> - from status line - 1/2 bright off, select window 0
11635166124Srafan#
11636166124Srafan# <dsl> - disable status display - set bkgnd status mesg with
1163750276Speter# illegal window #
11638166124Srafan#
11639166124Srafan# There are probably more function keys that should be added but
1164050276Speter# I don't know what they are.
1164150276Speter#
1164250276Speter# No delays needed on c108 because of ^S/^Q handshaking
1164350276Speter#
11644166124Srafanc108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
11645166124Srafan	is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
11646166124Srafan	rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
11647166124Srafanc108-4p|concept108-4p|concept 108 w/4 pages,
11648166124Srafan	OTbs, eslok, hs, xon,
11649166124Srafan	pb@,
11650166124Srafan	acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
11651166124Srafan	cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
11652166124Srafan	cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
11653166124Srafan	ind=^J, is1=\EK\E!\E F,
11654166124Srafan	is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
11655166124Srafan	rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
11656166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025,
11657166124Srafan	tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
11658166124Srafanc108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
11659166124Srafan	rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
11660166124Srafan	use=c108-rv-4p,
11661166124Srafanc108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
11662166124Srafan	flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
11663166124Srafan	use=c108-4p,
11664166124Srafanc108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
11665166124Srafan	cols#132,
11666166124Srafan	is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
11667166124Srafan	smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1166850276Speter
1166950276Speter# Concept 100:
11670166124Srafan# These have only window relative cursor addressing, not screen
11671166124Srafan# relative. To get it to work right here, smcup/rmcup (which
11672166124Srafan# were invented for the concept) lock you into a one page
1167350276Speter# window for screen style programs.
11674166124Srafan#
1167550276Speter# To get out of the one page window, we use a clever trick:
11676166124Srafan# we set the window size to zero ("\Ev    " in rmcup) which the
11677166124Srafan# terminal recognizes as an error and resets the window to all
1167850276Speter# of memory.
11679166124Srafan#
1168050276Speter# This trick works on c100 but does not on c108, sigh.
11681166124Srafan#
11682166124Srafan# Some tty drivers use cr3 for concept, others use nl3, hence
11683166124Srafan# the delays on cr and ind below. This padding is only needed at
11684166124Srafan# 9600 baud and up.  One or the other is commented out depending on
1168550276Speter# local conventions.
11686166124Srafan#
11687166124Srafan# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
1168850276Speter# less than 6 but more than 2 will work.
11689166124Srafan#
11690166124Srafan# Note: can't use function keys f7-f10 because they are
11691166124Srafan# indistinguishable from arrow keys (!), also, del char and
1169250276Speter# clear eol use xon/xoff so they probably won't work very well.
11693166124Srafan#
11694166124Srafan# Also note that we don't define insrt/del char/delline/eop/send
11695166124Srafan# because they don't transmit unless we reset them - I figured
1169650276Speter# it was a bad idea to clobber their definitions.
11697166124Srafan#
11698166124Srafan# The <mc5> sequence changes the escape character to ^^ so that
11699166124Srafan# escapes will be passed through to the printer. Only trouble
11700166124Srafan# is that ^^ won't be - ^^ was chosen to be unlikely.
11701166124Srafan# Unfortunately, if you're sending raster bits through to be
1170250276Speter# plotted, any character you choose will be likely, so we lose.
1170350276Speter#
11704166124Srafan# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
11705166124Srafan# cannot be # in is2 because it will hang a c100 with no printer
1170650276Speter# if sent twice.
11707166124Srafanc100|concept100|concept|c104|c100-4p|hds concept 100,
11708166124Srafan	OTbs, am, eo, mir, ul, xenl,
11709166124Srafan	cols#80, lines#24, pb#9600, vt#8,
11710166124Srafan	bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
11711166124Srafan	cub1=^H, cud1=^J, cuf1=\E=,
11712166124Srafan	cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
11713166124Srafan	dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
11714166124Srafan	ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
11715166124Srafan	ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
11716166124Srafan	is1=\EK,
11717166124Srafan	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,
11718166124Srafan	is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
11719166124Srafan	kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
11720166124Srafan	kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
11721166124Srafan	kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
11722166124Srafan	khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
11723166124Srafan	kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
11724166124Srafan	mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
11725166124Srafan	rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
11726166124Srafan	rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
11727166124Srafan	rmso=\Ed, rmul=\Eg, sgr0=\EN@,
11728166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
11729166124Srafan	smso=\ED, smul=\EG,
11730166124Srafanc100-rv|c100-rv-4p|concept100-rv|c100 rev video,
11731166124Srafan	cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
11732166124Srafan	smso=\EE, use=c100,
11733166124Srafanoc100|oconcept|c100-1p|old 1 page concept 100,
11734166124Srafan	in,
11735166124Srafan	is3@, use=c100,
1173650276Speter
1173750276Speter# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
1173850276Speter# Lots of notes, originally inline, but ncurses doesn't grok that.
1173950276Speter#
1174050276Speter# am: 	not available in power on mode, but turned on with \E[=107;207h in
1174150276Speter#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
1174250276Speter#	to specify xenl:, but that would have rendered the last space on the
1174350276Speter#	last line useless.
1174450276Speter# bw:	Not available in power on mode, but turned on with \E[=107;207h in
1174550276Speter#	is2=.
1174650276Speter# clear: Could be done with \E[2J alone, except that vi (and probably most
1174750276Speter#	other programs) assume that this also homes the cursor.
1174850276Speter# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
1174950276Speter#	scroll the window, and go back to window 1.
1175050276Speter# is2:	the string may cause a warning to be issued by tic that it
1175150276Speter#	found a very long line and that it suspects that a comma is missing
1175250276Speter#	somewhere.  This warning can be ignored (unless it comes up more than
1175350276Speter#	once).  The initialization string contains the following commands:
1175450276Speter#
1175550276Speter#	 [Setup mode items changed from factory defaults:]
1175650276Speter#		\E)0			set alternate character set to
1175750276Speter#						graphics
1175850276Speter#		^O			set character set to default
1175950276Speter#	 [In case it wasn't]
1176050276Speter#		\E[m			turn off all attributes
1176150276Speter#	 [In case they weren't off]
1176250276Speter#		\E[=107;		cursor wrap and
1176350276Speter#			207h			character wrap on
1176450276Speter#		\E[90;3u		set Fkey definitions to "transmit"
1176550276Speter#						defaults
1176650276Speter#		\E[92;3u		set cursor key definitions to
1176750276Speter#						"transmit" defaults
1176850276Speter#		\E[43;1u		set shift F13 to transmit...
1176950276Speter#		\177\E$P\177
1177050276Speter#		\E[44;1u		set shift F14 to transmit...
1177150276Speter#			\177\E$Q\177
1177250276Speter#		\E[45;1u		set shift F15 to transmit...
1177350276Speter#			\177\E$R\177
1177450276Speter#		\E[46;1u		set shift F16 to transmit...
1177550276Speter#			\177\E$S\177
1177650276Speter#		\E[200;1u		set shift up to transmit...
1177750276Speter#			\177\E$A\177
1177850276Speter#		\E[201;1u		set shift down to transmit...
1177950276Speter#			\177\E$B\177
1178050276Speter#		\E[202;1u		set shift right to transmit...
1178150276Speter#			\177\E$C\177
1178250276Speter#		\E[203;1u		set shift left to transmit...
1178350276Speter#			\177\E$D\177
1178450276Speter#		\E[204;1u		set shift home to transmit...
1178550276Speter#			\177\E$H\177
1178650276Speter#		\E[212;1u		set backtab to transmit...
1178750276Speter#			\177\E$I\177
1178850276Speter#		\E[213;1u		set shift backspace to transmit...
1178950276Speter#			\177\E$^H\177
1179050276Speter#		\E[214;1u		set shift del to transmit...
1179150276Speter#			"\E$\177"
1179250276Speter#	 [Necessary items not mentioned in setup mode:]
1179350276Speter#		\E[2!w			move to window 2
1179450276Speter#		\E[25;25w		define window as line 25 of memory
1179550276Speter#		\E[!w			move to window 1
1179650276Speter#		\E[2*w			show current line of window 2 as
1179750276Speter#						status line
1179850276Speter#		\E[2+x			set meta key to use high bit
1179950276Speter#		\E[;3+}			move underline to bottom of character
1180050276Speter#
1180150276Speter#	All Fkeys are set to their default transmit definitions with \E[90;3u
1180250276Speter#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
1180350276Speter#	setting MUST be redefined or deactivated, because the default is
1180450276Speter#	contained in almost all of this terminal's Fkey strings!  If for some
1180550276Speter#	reason "quit" cannot be altered, the Fkeys can, but it would be
1180650276Speter#	necessary to change ^| to ^] in all of these definitions, and add
1180750276Speter#	\E[2;029!t to is2.
1180850276Speter# lines: is set to 24 because this terminal refuses to treat the 25th
1180950276Speter#	line normally.
1181050276Speter# ll:	Not available in power on mode, but turned on with \E[=107;207h in
1181150276Speter#	is2=.
1181250276Speter# lm:	Pointless, given that this definition locks a single screen of
1181350276Speter#	memory into view, but what the hey...
1181450276Speter# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
1181550276Speter#	other attributes alone), but some programs expect this to turn off
1181650276Speter#	everything.
1181750276Speter# rmul: Could use \E[4!{ to turn off only underline (leaving any other
1181850276Speter#	attributes alone), but some programs expect this to turn off
1181950276Speter#	everything.
1182050276Speter# sgr:	Attributes are set on this terminal with the string \E[ followed by
1182150276Speter#	a list of attribute code numbers (in decimal, separated by
1182250276Speter#	semicolons), followed by the character m.  The attribute code
1182350276Speter#	numbers are:
1182450276Speter#		  1 for bold;
1182550276Speter#		  2 for dim (which is ignored in power on mode);
1182650276Speter#		  4 for underline;
1182750276Speter#		  5 for blinking;
1182850276Speter#		  7 for inverse;
1182950276Speter#		  8 for not displayable; and
1183050276Speter#		=99 for protected (except that there are strange side
1183150276Speter#		effects to protected characters which make them inadvisable).
1183250276Speter#	 The mapping of terminfo parameters to attributes is as follows:
1183350276Speter#		%p1 (standout) = bold and inverse together;
1183450276Speter#		%p2 (underline) = underline;
1183550276Speter#		%p3 (reverse) = inverse;
1183650276Speter#		%p4 (blink) = blinking;
1183750276Speter#		%p5 (dim) is ignored;
1183850276Speter#		%p6 (bold) = bold;
1183950276Speter#		%p7 (invisible) = not displayable;
1184050276Speter#		%p8 (protected) is ignored; and
1184150276Speter#		%p9 (alt char set) = alt char set.
1184250276Speter#	 The code to do this is:
1184350276Speter#		\E[0		OUTPUT	\E[0
1184450276Speter#		%?%p1%p6%O	IF	(standout; bold) OR
1184550276Speter#		%t;1		THEN	OUTPUT	;1
1184650276Speter#		%;		ENDIF
1184750276Speter#		%?%p2		IF	underline
1184850276Speter#		%t;4		THEN	OUTPUT	;4
1184950276Speter#		%;		ENDIF
1185050276Speter#		%?%p4		IF	blink
1185150276Speter#		%t;5		THEN	OUTPUT	;5
1185250276Speter#		%;		ENDIF
1185350276Speter#		%?%p1%p3%O	IF	(standout; reverse) OR
1185450276Speter#		%t;7		THEN	OUTPUT	;7
1185550276Speter#		%;		ENDIF
1185650276Speter#		%?%p7		IF	invisible
1185750276Speter#		%t;8		THEN	OUTPUT	;8
1185850276Speter#		%;		ENDIF
1185950276Speter#		m		OUTPUT	m
1186050276Speter#		%?%p9		IF	altcharset
1186150276Speter#		%t^N		THEN	OUTPUT	^N
1186250276Speter#		%e^O		ELSE	OUTPUT	^O
1186350276Speter#		%;		ENDIF
1186450276Speter# sgr0: Everything is turned off (including alternate character set), since
1186550276Speter#	there is no way of knowing what it is that the program wants turned
1186650276Speter#	off.
1186750276Speter# smul: The "underline" attribute is reconfigurable to an overline or
1186850276Speter#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
1186950276Speter#	bottom of the character cell.  This was done to allow for more readable
1187050276Speter#	underlined characters, and to be able to distinguish between an
1187150276Speter#	underlined space, an underscore, and an underlined underscore.
1187250276Speter# xenl: Terminal can be configured to not need this, but this "glitch"
1187350276Speter#	behavior is actually preferable with autowrap terminals.
1187450276Speter#
1187550276Speter# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
1187650276Speter# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
1187750276Speter# string modifies the 'O' in kf43 to kf46 to a '$'.
1187850276Speter#
1187950276Speter# kcbt was originally ^I but redefined in is2=.
1188050276Speter# kHOM was \E[H originally but redefined in is2=, as were a number of
1188150276Speter# other keys.
1188250276Speter# kDC was originally \177 but redefined in is2=.
1188350276Speter#
1188450276Speter# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
1188550276Speter# tsl:	Go to window 2, then do an hpa=.
1188650276Speter#
1188750276Speter#------- flash=\E[8;3!}^G\E[3;3!}
1188850276Speter#------- flash=\E[?5h$<100>\E[?5l
11889166124Srafan# There are two ways to flash the screen, both of which have their drawbacks.
1189050276Speter# The first is to set the bell mode to video, transmit a bell character, and
1189150276Speter# set the bell mode back - but to what?  There is no way of knowing what the
1189250276Speter# user's old bell setting was before we messed with it.  Worse, the command to
1189350276Speter# set the bell mode also sets the key click volume, and there is no way to say
1189450276Speter# "leave that alone", or to know what it's set to, either.
1189550276Speter# The second way to do a flash is to set the screen to inverse video, pad for a
1189650276Speter# tenth of a second, and set it back - but like before, there's no way to know
1189750276Speter# that the screen wasn't ALREADY in inverse video, or that the user may prefer
1189850276Speter# it that way.  The point is moot anyway, since vi (and probably other
1189950276Speter# programs) assume that by defining flash=, you want the computer to use it
1190050276Speter# INSTEAD of bel=, rather than as a secondary type of signal.
1190150276Speter#
1190250276Speter#------- cvvis=\E[+{
1190350276Speter# The is the power on setting, which is also as visible as the cursor
1190450276Speter# gets.
1190550276Speter#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
1190650276Speter# Windowing is possible, but not defined here because it is also used to
1190750276Speter# emulate status line functions.  Allowing a program to set a window could
1190850276Speter# clobber the status line or render it unusable.  There is additional memory,
1190950276Speter# but screen scroll functions are destructive and do not make use of it.
1191050276Speter#
1191150276Speter#-------   dim=			Not available in power on mode.
1191250276Speter# You have a choice of defining low intensity characters as "half bright" and
11913166124Srafan# high intensity as "normal", or defining low as "normal" and high as "bold".
1191450276Speter# No matter which you choose, only one of either "half bright" or "bold" is
1191550276Speter# available at any time, so taking the time to override the default is
1191650276Speter# pointless.
1191750276Speter#
1191850276Speter#-------  prot=\E[=0;99m
1191950276Speter# Not defined, because it appears to have some strange side effects.
1192050276Speter#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1192150276Speter#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1192250276Speter#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
1192350276Speter#	 Available, but making them available to programs is inadvisable.
1192450276Speter#	 The code to do this is:
1192550276Speter#		%?%p1%{24}%<	IF	((key; 24) <;
1192650276Speter#		%p1%{30}%>		 ((key; 30) >;
1192750276Speter#		%p1%{54}%<		  (key; 54) <
1192850276Speter#		%A			 ) AND
1192950276Speter#		%O		  	) OR
1193050276Speter#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
1193150276Speter#		%t\E[		THEN	OUTPUT	\E[
1193250276Speter#		%p1%d			OUTPUT	(key) as decimal
1193350276Speter#	 [next line applies to pfx only]
1193450276Speter#		;1			OUTPUT	;1
1193550276Speter#		u			OUTPUT	u
1193650276Speter#		\177			OUTPUT	\177
1193750276Speter#		%p2%s			OUTPUT	(string) as string
1193850276Speter#		\177			OUTPUT	\177
1193950276Speter#	 [DEL chosen as delimiter, but could be any character]
1194050276Speter#	 [implied:		ELSE	do nothing]
1194150276Speter#		%;		ENDIF
11942166124Srafan#
1194350276Speter#-------   rs2=
1194450276Speter# Not defined since anything it might do could be done faster and easier with
1194550276Speter# either Meta-Shift-Reset or the main power switch.
1194650276Speter#
1194750276Speter#-------  smkx=\E[1!z
1194850276Speter#-------  rmkx=\E[!z
1194950276Speter# These sequences apply to the cursor and setup keys only, not to the
1195050276Speter# numeric keypad.  But it doesn't matter anyway, since making these
1195150276Speter# available to programs is inadvisable.
1195250276Speter# For the key definitions below, all sequences beginning with \E$ are
1195350276Speter# custom and programmed into the terminal via is2.  \E$ also has no
1195450276Speter# meaning to any other terminal.
1195550276Speter#
1195650276Speter#------- cmdch=\E[;%p1%d!t
1195750276Speter# Available, but making it available to programs is inadvisable.
1195850276Speter#------- smxon=\E[1*q
1195950276Speter# Available, but making it available to programs is inadvisable.
1196050276Speter# Terminal will send XON/XOFF on buffer overflow.
1196150276Speter#------- rmxon=\E[*q
1196250276Speter# Available, but making it available to programs is inadvisable.
1196350276Speter# Terminal will not notify on buffer overflow.
1196450276Speter#-------   smm=\E[2+x
1196550276Speter#-------   rmm=\E[+x
1196650276Speter# Available, but making them available to programs is inadvisable.
1196750276Speter#
1196850276Speter# Printing:
1196950276Speter#	 It's not made clear in the manuals, but based on other ansi/vt type
1197050276Speter#	 terminals, it's a good guess that this terminal is capable of both
1197150276Speter#	 "transparent print" (which doesn't copy data to the screen, and
1197250276Speter#	 therefore needs mc5i: specified to say so) and "auxilliary print"
1197350276Speter#	 (which does duplicate printed data on the screen, in which case mc4=
1197450276Speter#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
1197550276Speter
11976166124Srafanhds200|Human Designed Systems HDS200,
11977166124Srafan	am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
11978166124Srafan	cols#80, it#8, lines#24, lm#0,
11979166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
11980166124Srafan	blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
11981166124Srafan	clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
11982166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
11983166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11984166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11985166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
11986166124Srafan	dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
11987166124Srafan	fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
11988166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
11989166124Srafan	invis=\E[0;8m,
11990166124Srafan	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+},
11991166124Srafan	kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
11992166124Srafan	kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11993166124Srafan	kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
11994166124Srafan	kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
11995166124Srafan	kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
11996166124Srafan	kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
11997166124Srafan	kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
11998166124Srafan	kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
11999166124Srafan	kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
12000166124Srafan	kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
12001166124Srafan	kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
12002166124Srafan	kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
12003166124Srafan	kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
12004166124Srafan	kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
12005166124Srafan	kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
12006166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
12007166124Srafan	rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
12008166124Srafan	rmul=\E[m\017, sc=\E7,
12009166124Srafan	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%;,
12010166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
12011166124Srafan	smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
12012166124Srafan	vpa=\E[%i%p1%dd,
1201350276Speter
1201450276Speter# <ht> through <el> included to specify padding needed in raw mode.
1201550276Speter# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
12016166124Srafanavt-ns|concept avt no status line,
12017166124Srafan	OTbs, am, eo, mir, ul, xenl, xon,
12018166124Srafan	cols#80, it#8, lines#24, lm#192,
12019166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12020166124Srafan	clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
12021166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
12022166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
12023166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12024166124Srafan	cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
12025166124Srafan	dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
12026166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
12027166124Srafan	ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
12028166124Srafan	invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
12029166124Srafan	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,
12030166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12031166124Srafan	kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
12032166124Srafan	kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
12033166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
12034166124Srafan	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
12035166124Srafan	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
12036166124Srafan	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
12037166124Srafan	rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
12038166124Srafan	sc=\E7,
12039166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
12040166124Srafan	sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
12041166124Srafan	smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
12042166124Srafan	tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
12043166124Srafanavt-rv-ns|concept avt in reverse video mode/no status line,
12044166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12045166124Srafan	use=avt-ns,
12046166124Srafanavt-w-ns|concept avt in 132 column mode/no status line,
12047166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12048166124Srafan	use=avt-ns,
12049166124Srafanavt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
12050166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12051166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt-ns,
1205250276Speter
1205350276Speter# Concept AVT with status line. We get the status line using the
1205450276Speter# "Background status line" feature of the terminal. We swipe the
1205550276Speter# first line of memory in window 2 for the status line, keeping
1205650276Speter# 191 lines of memory and 24 screen lines for regular use.
1205750276Speter# The first line is used instead of the last so that this works
1205850276Speter# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
1205950276Speter# assumes an 8 page AVT but lm isn't currently used anywhere.)
1206050276Speter#
12061166124Srafanavt+s|concept avt status line changes,
12062166124Srafan	eslok, hs,
12063166124Srafan	lm#191,
12064166124Srafan	dsl=\E[0*w, fsl=\E[1;1!w,
12065166124Srafan	is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
12066166124Srafan	rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
12067166124Srafan	tsl=\E[2;1!w\E[;%p1%dH\E[2K,
12068166124Srafanavt|avt-s|concept-avt|avt w/80 columns,
12069166124Srafan	use=avt+s, use=avt-ns,
12070166124Srafanavt-rv|avt-rv-s|avt reverse video w/sl,
12071166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12072166124Srafan	use=avt+s, use=avt-ns,
12073166124Srafanavt-w|avt-w-s|concept avt 132 cols+status,
12074166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12075166124Srafan	use=avt+s, use=avt-ns,
12076166124Srafanavt-w-rv|avt-w-rv-s|avt wide+status+rv,
12077166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12078166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
1207950276Speter
12080166124Srafan#### Contel Business Systems.
1208150276Speter#
1208250276Speter
12083166124Srafan# Contel c300 and c320 terminals.
12084166124Srafancontel300|contel320|c300|Contel Business Systems C-300 or C-320,
12085166124Srafan	am, in, xon,
12086166124Srafan	cols#80, lines#24, xmc#1,
12087166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12088166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
12089166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
12090166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
12091166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
12092166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
12093166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
12094166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1209550276Speter# Contel c301 and c321 terminals.
12096166124Srafancontel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
12097166124Srafan	flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
12098166124Srafan	use=contel300,
1209950276Speter
1210050276Speter#### Data General (dg)
1210150276Speter#
1210250276Speter# According to James Carlson <carlson@xylogics.com> writing in January 1995,
1210350276Speter# the terminals group at Data General was shut down in 1991; all these
1210450276Speter# terminals have thus been discontinued.
1210550276Speter#
1210650276Speter# DG terminals have function keys that respond to the SHIFT and CTRL keys,
1210750276Speter# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
12108166124Srafan# sequentially, first the unmodified key codes are listed as F1 through F15.
1210950276Speter# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
1211050276Speter# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
1211150276Speter# F46 through F60.  This is done in the private "includes" below whose names
1211250276Speter# start with "dgkeys+".
1211350276Speter#
1211450276Speter# DG terminals generally support 8 bit characters.  For each of these terminals
1211550276Speter# two descriptions are supplied:
1211650276Speter#	1) A default description for 8 bits/character communications, which
1211750276Speter#	   uses the default DG international character set and keyboard codes.
1211850276Speter#	2) A description with suffix "-7b" for 7 bits/character communications.
1211950276Speter#	   This description must use the NON-DEFAULT native keyboard language.
1212050276Speter
1212150276Speter# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
1212250276Speter# Ctrl/Shift fdkeys (kf34-kf44).
1212350276Speter
12124166124Srafandgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
12125166124Srafan	ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
12126166124Srafan	kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
12127166124Srafan	kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
12128166124Srafan	kf11=\233011z, kf12=\233012z, kf13=\233013z,
12129166124Srafan	kf14=\233014z, kf15=\233000z, kf16=\233101z,
12130166124Srafan	kf17=\233102z, kf18=\233103z, kf19=\233104z,
12131166124Srafan	kf2=\233002z, kf20=\233105z, kf21=\233106z,
12132166124Srafan	kf22=\233107z, kf23=\233108z, kf24=\233109z,
12133166124Srafan	kf25=\233110z, kf26=\233111z, kf27=\233112z,
12134166124Srafan	kf28=\233113z, kf29=\233114z, kf3=\233003z,
12135166124Srafan	kf30=\233100z, kf31=\233201z, kf32=\233202z,
12136166124Srafan	kf33=\233203z, kf34=\233204z, kf35=\233205z,
12137166124Srafan	kf36=\233206z, kf37=\233207z, kf38=\233208z,
12138166124Srafan	kf39=\233209z, kf4=\233004z, kf40=\233210z,
12139166124Srafan	kf41=\233211z, kf42=\233212z, kf43=\233213z,
12140166124Srafan	kf44=\233214z, kf45=\233200z, kf46=\233301z,
12141166124Srafan	kf47=\233302z, kf48=\233303z, kf49=\233304z,
12142166124Srafan	kf5=\233005z, kf50=\233305z, kf51=\233306z,
12143166124Srafan	kf52=\233307z, kf53=\233308z, kf54=\233309z,
12144166124Srafan	kf55=\233310z, kf56=\233311z, kf57=\233312z,
12145166124Srafan	kf58=\233313z, kf59=\233314z, kf6=\233006z,
12146166124Srafan	kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
12147166124Srafan	khome=\233H, kprt=\233i,
1214850276Speter
12149166124Srafandgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
12150166124Srafan	ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
12151166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12152166124Srafan	kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
12153166124Srafan	kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
12154166124Srafan	kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
12155166124Srafan	kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
12156166124Srafan	kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
12157166124Srafan	kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
12158166124Srafan	kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
12159166124Srafan	kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
12160166124Srafan	kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
12161166124Srafan	kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
12162166124Srafan	kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
12163166124Srafan	kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
12164166124Srafan	kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
12165166124Srafan	kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
12166166124Srafan	kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
12167166124Srafan	kf9=\E[009z, khome=\E[H, kprt=\E[i,
1216850276Speter
12169166124Srafandgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
12170166124Srafan	kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
12171166124Srafan	kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
12172166124Srafan	kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
12173166124Srafan	kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
12174166124Srafan	kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
12175166124Srafan	kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
12176166124Srafan	kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
12177166124Srafan	kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
12178166124Srafan	kf8=^^x, kf9=^^y, khome=^H,
1217950276Speter
12180166124Srafandgkeys+15|Private entry describing 15 DG mode special keys,
12181166124Srafan	kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
12182166124Srafan	kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
12183166124Srafan	kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
12184166124Srafan	kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
12185166124Srafan	kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
12186166124Srafan	kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
12187166124Srafan	kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
12188166124Srafan	kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
12189166124Srafan	kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&,
12190166124Srafan	kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
12191166124Srafan	kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
12192166124Srafan	kf9=^^y,
1219350276Speter
1219450276Speter# Data General color terminals use the "Tektronix" color model.  The total
1219550276Speter# number of colors varies with the terminal model, as does support for
1219650276Speter# attributes used in conjunction with color.
1219750276Speter
1219850276Speter# Removed u7, u8 definitions since they conflict with tack:
1219950276Speter#		Preserve user-defined colors in at least some cases.
1220050276Speter#	u7=^^Fh,
1220150276Speter#		Default is ACM mode.
1220250276Speter#	u8=^^F}20^^Fi^^F}21,
1220350276Speter#
12204166124Srafandgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
12205166124Srafan	bce,
12206166124Srafan	colors#16, ncv#53, pairs#256,
12207166124Srafan	op=\036Ad\036Bd,
12208166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12209166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12210166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1221150276Speter
12212166124Srafandg+fixed|Fixed color info for DG D430C terminals in DG mode,
12213166124Srafan	use=dgunix+fixed,
1221450276Speter
1221550276Speter# Video attributes are coordinated using static variables set by "sgr", then
12216166124Srafan# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
1221750276Speter# (D=dim, U=underline, B=blink, R=reverse.)
12218166124Srafandg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
12219166124Srafan	bce,
12220166124Srafan	colors#8, ncv#16, pairs#64,
12221166124Srafan	op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
12222166124Srafan	setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12223166124Srafan	setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12224166124Srafan	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,
12225166124Srafan	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,
1222650276Speter
12227166124Srafandg+color|Color info for Data General D470C terminals in ANSI mode,
12228166124Srafan	colors#16, ncv#53, pairs#256,
12229166124Srafan	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,
12230166124Srafan	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,
12231166124Srafan	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,
12232166124Srafan	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,
12233166124Srafan	use=dg+color8,
1223450276Speter
12235166124Srafandgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
12236166124Srafan	bce,
12237166124Srafan	colors#8, ncv#16, pairs#64,
12238166124Srafan	op=\036Ad\036Bd,
12239166124Srafan	setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12240166124Srafan	setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12241166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1224250276Speter
12243166124Srafandgmode+color|Color info for Data General D470C terminals in DG mode,
12244166124Srafan	colors#16, pairs#256,
12245166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12246166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12247166124Srafan	use=dgmode+color8,
1224850276Speter
12249166124Srafandgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
12250166124Srafan	bce, ccc,
12251166124Srafan	colors#52, ncv#53, pairs#26,
12252166124Srafan	initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X,
12253166124Srafan	oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
12254166124Srafan	op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
12255166124Srafan	scp=\036RG2%p1%02X,
1225650276Speter
1225750276Speter# Colors are in the order:  normal, reverse, dim, dim + reverse.
12258166124Srafandg+ccc|Configurable color info for DG D430C terminals in DG mode,
12259166124Srafan	bce, ccc,
12260166124Srafan	colors#52, ncv#53, pairs#26,
12261166124Srafan	initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c,
12262166124Srafan	oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
12263166124Srafan	op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
12264166124Srafan	scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
1226550276Speter
1226650276Speter# The generic DG terminal type (an 8-bit-clean subset of the 6053)
1226750276Speter# Initialization string 1 sets:
1226850276Speter#	^R		- vertical scrolling enabled
1226950276Speter#	^C		- blinking enabled
12270166124Srafandg-generic|Generic Data General terminal in DG mode,
12271166124Srafan	am, bw, msgr, xon,
12272166124Srafan	cols#80, lines#24,
12273166124Srafan	bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12274166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
12275166124Srafan	mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
12276166124Srafan	smul=^T, use=dgkeys+11,
1227750276Speter
1227850276Speter# According to the 4.4BSD termcap file, the dg200 <cup> should be the
1227950276Speter# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
1228050276Speter# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
1228150276Speter# maybe they were originally nuls (which would fit).
1228250276Speter
12283166124Srafandg200|data general dasher 200,
12284166124Srafan	OTbs, am, bw,
12285166124Srafan	cols#80, lines#24,
12286166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12287166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
12288166124Srafan	kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
12289166124Srafan	kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
12290166124Srafan	kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
12291166124Srafan	smso=^^D, smul=^T,
1229250276Speter
1229350276Speter# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
12294166124Srafandg210|dg-ansi|Data General 210/211,
12295166124Srafan	am,
12296166124Srafan	cols#80, lines#24,
12297166124Srafan	OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
12298166124Srafan	cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D,
12299166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
12300166124Srafan	nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m,
12301166124Srafan	smul=\E[4;m,
1230250276Speter# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
1230350276Speter# courtesy of Carlos Rucalde of Vantage Software, Inc.
1230450276Speter# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
1230550276Speter# I suspect the d200 function keys actually work on the dg211, check it out.)
12306166124Srafandg211|Data General d211,
12307166124Srafan	cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
12308166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
12309166124Srafan	rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
1231062449Speter
1231162449Speter# dg450 from Cornell (not official)
12312166124Srafandg450|dg6134|data general 6134,
12313166124Srafan	cub1@, cuf1=^X, use=dg200,
1231462449Speter
1231562449Speter# Not official...
1231650276Speter# Note: lesser Dasher terminals will not work with vi because vi insists upon
1231750276Speter# having a command to move straight down from any position on the bottom line
1231850276Speter# and scroll the screen up, or a direct vertical scroll command.  The 460 and
1231950276Speter# above have both, the D210/211, for instance, has neither.  We must use ANSI
1232050276Speter# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
1232150276Speter# backspace on all terminals.  This is not so in DG mode.
1232250276Speter# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1232350276Speter# grounds that there is no matching ":ml:"
1232450276Speter# fixed garbled ":k9=\E[00\:z:" capability -- esr)
12325166124Srafandg460-ansi|Data General Dasher 460 in ANSI-mode,
12326166124Srafan	OTbs, am, msgr, ul,
12327166124Srafan	cols#80, it#8, lines#24,
12328166124Srafan	OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
12329166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
12330166124Srafan	dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
12331166124Srafan	ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
12332166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12333166124Srafan	kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
12334166124Srafan	kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
12335166124Srafan	kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3,
12336166124Srafan	lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
12337166124Srafan	ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m,
12338166124Srafan	smul=\E[4m,
1233962449Speter# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
12340166124Srafan# Data General 605x
1234150276Speter# Ought to work for a Model 6242, Type D210 as well as a 605x.
1234250276Speter# Note that the cursor-down key transmits ^Z.  Job control users, beware!
1234350276Speter# This also matches a posted description of something called a `Dasher 100'
12344166124Srafan# so there's a dg100 alias here.
12345166124Srafan# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
12346166124Srafandg6053-old|dg100|data general 6053,
12347166124Srafan	OTbs, am, bw, ul,
12348166124Srafan	cols#80, lines#24,
12349166124Srafan	OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
12350166124Srafan	cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
12351166124Srafan	home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
12352166124Srafan	kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
12353166124Srafan	kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
12354166124Srafan	rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
12355166124Srafan	smul=^T,
1235650276Speter
1235750276Speter# (Some performance can be gained over the generic DG terminal type)
12358166124Srafandg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
12359166124Srafan	xon@,
12360166124Srafan	home=^P\0\0, ll=^P\0^W, use=dg-generic,
1236150276Speter
1236250276Speter# Like 6053, but adds reverse video and more keypad and function keys.
12363166124Srafand200|d200-dg|Data General DASHER D200,
12364166124Srafan	bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
12365166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
12366166124Srafan	sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
12367166124Srafan	use=dg6053,
1236850276Speter
1236950276Speter# DASHER D210 series terminals in ANSI mode.
1237050276Speter#	Reverse video, no insert/delete character/line, 7 bits/character only.
1237150276Speter#
1237250276Speter# Initialization string 1 sets:
1237350276Speter#	<0		- scrolling enabled
1237450276Speter#	<1		- blink enabled
1237550276Speter#	<4		- print characters regardless of attributes
12376166124Srafand210|d214|Data General DASHER D210 series,
12377166124Srafan	am, bw, msgr, xon,
12378166124Srafan	cols#80, lines#24,
12379166124Srafan	bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
12380166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
12381166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
12382166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
12383166124Srafan	el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
12384166124Srafan	ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
12385166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
12386166124Srafan	sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
1238750276Speter
1238850276Speter# DASHER D210 series terminals in DG mode.
1238950276Speter# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
12390166124Srafand210-dg|d214-dg|Data General DASHER D210 series in DG mode,
12391166124Srafan	xon,
12392166124Srafan	ed=^^FF, use=d200-dg,
1239350276Speter
1239450276Speter# DASHER D211 series terminals in ANSI mode.
1239550276Speter# Like the D210, but with 8-bit characters and local printer support.
1239650276Speter#
1239750276Speter# Initialization string 2 sets:
1239850276Speter#	\E[2;1;1;1v
1239950276Speter#		2;1	- 8 bit operations
1240050276Speter#		1;1	- 8 bit (international) keyboard language
1240150276Speter#	\E(B		- default primary character set (U.S. ASCII)
1240250276Speter#	\E)4		- default secondary character set (international)
1240350276Speter#	^O		- primary character set
1240450276Speter#
12405166124Srafand211|d215|Data General DASHER D211 series,
12406166124Srafan	km,
12407166124Srafan	is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
12408166124Srafan	use=d210,
1240950276Speter
1241050276Speter# Initialization string 2 sets:
1241150276Speter#	\E[2;0;1;0v
1241250276Speter#		2;0	- 7 bit operations
1241350276Speter#		1;0	- 7 bit (native) keyboard language
1241450276Speter#	\E(0		- default character set (the keyboard native language)
1241550276Speter#	^O		- primary character set
12416166124Srafand211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
12417166124Srafan	km@,
12418166124Srafan	is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
1241950276Speter
1242050276Speter# Like the D210 series, but adds support for 8-bit characters.
1242150276Speter#
1242250276Speter# Reset string 2 sets:
1242350276Speter#	^^N	- secondary character set
1242450276Speter#	^^FS0>	- 8 bit international character set
1242550276Speter#	^^O	- primary character set
1242650276Speter#	^^FS00	- default character set (matching the native keyboard language)
1242750276Speter#
12428166124Srafand211-dg|d215-dg|Data General DASHER D211 series in DG mode,
12429166124Srafan	km,
12430166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
1243150276Speter
12432166124Srafand216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
12433166124Srafan	use=d211-dg,
1243450276Speter
1243550276Speter# Enhanced DG mode with changes to be more UNIX compatible.
12436166124Srafand216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
12437166124Srafan	mc5i,
12438166124Srafan	it#8,
12439166124Srafan	acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
12440166124Srafan	clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
12441166124Srafan	el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
12442166124Srafan	is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
12443166124Srafan	kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
12444166124Srafan	kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
12445166124Srafan	mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
12446166124Srafan	rs2=\036N\036FS0E\036O\036FS00,
12447166124Srafan	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%;,
12448166124Srafan	sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
12449166124Srafan	vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
12450166124Srafand216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
12451166124Srafan	lines#25,
12452166124Srafan	is3=\036Fz2, use=d216+,
1245350276Speter
12454166124Srafand217-unix|Data General DASHER D217 in DG-UNIX mode,
12455166124Srafan	use=d216-unix,
12456166124Srafand217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
12457166124Srafan	use=d216-unix-25,
1245850276Speter
1245950276Speter# DASHER D220 color terminal in ANSI mode.
1246050276Speter# Like the D470C but with fewer colors and screen editing features.
1246150276Speter#
1246250276Speter# Initialization string 1 sets:
1246350276Speter#	\E[<0;<1;<4l
1246450276Speter#		<0	- scrolling enabled
1246550276Speter#		<1	- blink enabled
1246650276Speter#		<4	- print characters regardless of attributes
1246750276Speter#	\E[m		- all attributes off
1246850276Speter# Reset string 1 sets:
1246950276Speter#	\Ec		- initial mode defaults (RIS)
1247050276Speter#
12471166124Srafand220|Data General DASHER D220,
12472166124Srafan	mc5i@,
12473166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12474166124Srafan	use=dg+color8, use=d470c,
1247550276Speter
12476166124Srafand220-7b|Data General DASHER D220 in 7 bit mode,
12477166124Srafan	mc5i@,
12478166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12479166124Srafan	use=dg+color8, use=d470c-7b,
1248050276Speter
1248150276Speter# Initialization string 3 sets:
1248250276Speter#	- default cursor (solid rectangle)
1248350276Speter# Reset string 2 sets:
1248450276Speter#	^^N     - secondary character set
1248550276Speter#	^^FS0>  - 8 bit international character set
1248650276Speter#	^^O     - primary character set
1248750276Speter#       ^^FS00  - default character set (matching the native keyboard language)
1248850276Speter#
12489166124Srafand220-dg|Data General DASHER D220 color terminal in DG mode,
12490166124Srafan	mc5i@,
12491166124Srafan	dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
12492166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
12493166124Srafan	use=d470c-dg,
1249450276Speter
1249550276Speter# DASHER D230C color terminal in ANSI mode.
1249650276Speter# Like the D220 but with minor ANSI compatibility improvements.
1249750276Speter#
12498166124Srafand230c|d230|Data General DASHER D230C,
12499166124Srafan	blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
12500166124Srafan	rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
12501166124Srafan	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%;,
12502166124Srafan	sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
12503166124Srafan	smul=\E[4;50m, use=dgkeys+7b, use=d220,
1250450276Speter
12505166124Srafand230c-dg|d230-dg|Data General DASHER D230C in DG mode,
12506166124Srafan	use=d220-dg,
1250750276Speter
1250850276Speter# DASHER D400/D450 series terminals.
1250950276Speter# These add intelligent features like insert/delete to the D200 series.
1251050276Speter#
1251150276Speter# Initialization string 2 sets:
1251250276Speter#	^^FQ2		- default cursor (solid rectangle)
1251350276Speter#	^^FW		- character protection disabled
1251450276Speter#	^^FJ		- normal (80 column) mode
1251550276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1251650276Speter#	^^FX004?	- margins at columns 0 and 79
1251750276Speter#	^^F]		- horizontal scrolling disabled
1251850276Speter#	^^O		- primary character set
1251950276Speter#	^^FS00		- default character set (the keyboard native language)
1252050276Speter#	- (should reset scrolling regions, but that glitches the screen)
1252150276Speter# Reset string 1 sets:
1252250276Speter#	^^FA		- all terminal defaults except scroll rate
1252350276Speter# Reset string 2 sets:
1252450276Speter#	^^F]		- horizontal scrolling disabled
1252550276Speter#	^^FT0		- jump scrolling
1252650276Speter#
12527166124Srafand400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
12528166124Srafan	mc5i,
12529166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
12530166124Srafan	cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
12531166124Srafan	enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
12532166124Srafan	ich1=^^J, il1=^^FH,
12533166124Srafan	is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
12534166124Srafan	ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
12535166124Srafan	rs1=^^FA, rs2=\036F]\036FT0,
12536166124Srafan	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%;,
12537166124Srafan	sgr0=\017\025\035\036E\036O, smacs=^^N,
12538166124Srafan	vpa=\020\177%p1%c, use=d210-dg,
1253950276Speter
1254050276Speter# DASHER D410/D460 series terminals in ANSI mode.
1254150276Speter# These add a large number of intelligent terminal features.
1254250276Speter#
1254350276Speter# Initialization string 1 sets:
1254450276Speter#	\E[<0;<1;<2;<4l
1254550276Speter#		<0	- scrolling enabled
1254650276Speter#		<1	- blink enabled
1254750276Speter#		<2	- horizontal scrolling enabled (for alignment)
1254850276Speter#		<4	- print characters regardless of attributes
1254950276Speter#	\E[5;0v		- normal (80 column) mode
1255050276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1255150276Speter#	\E[1;6;<2h
1255250276Speter#		1	- print all characters even if protected
1255350276Speter#		6	- character protection disabled
1255450276Speter#		<2	- horizontal scrolling disabled
1255550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1255650276Speter#
1255750276Speter# Initialization string 2 sets:
1255850276Speter#	\E[3;2;2;1;1;1v
1255950276Speter#		3;2	- default cursor (solid rectangle)
1256050276Speter#		2;1	- 8 bit operations
1256150276Speter#		1;1	- international keyboard language
1256250276Speter#	\E(B		- default primary character set (U.S. ASCII)
1256350276Speter#	\E)4		- default secondary character set (international)
1256450276Speter#	^O		- primary character set
1256550276Speter#
1256650276Speter#	Reset string 1 sets:
1256750276Speter#	\Ec		- initial mode defaults (RIS)
1256850276Speter#	\E[<2h		- horizontal scrolling disabled
1256950276Speter#
1257050276Speter# Reset string 2 sets:
1257150276Speter#	\E[4;0;2;1;1;1v
1257250276Speter#		4;0	- jump scrolling
1257350276Speter#		2;1	- 8 bit operations
1257450276Speter#		1;1	- 8 bit (international) keyboard language
1257550276Speter#	\E(B		- default primary character set (U.S. ASCII)
1257650276Speter#	\E)4		- default secondary character set (international)
1257750276Speter#
12578166124Srafand410|d411|d460|d461|Data General DASHER D410/D460 series,
12579166124Srafan	mc5i,
12580166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
12581166124Srafan	cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
12582166124Srafan	dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
12583166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
12584166124Srafan	is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
12585166124Srafan	ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
12586166124Srafan	rs2=\E[4;0;2;1;1;1v\E(B\E)4,
12587166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
12588166124Srafan	sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
1258950276Speter
1259050276Speter# Initialization string 2 sets:
1259150276Speter#	\E[3;2;2;0;1;0v
1259250276Speter#		3;2	- default cursor (solid rectangle)
1259350276Speter#		2;0	- 7 bit operations
1259450276Speter#		1;0	- 7 bit (native) keyboard language
1259550276Speter#	\E(0		- default character set (the keyboard native language)
1259650276Speter#	^O		- primary character set
1259750276Speter#
1259850276Speter# Reset string 2 sets:
1259950276Speter#	\E[4;0;2;0;1;0v
1260050276Speter#		4;0	- jump scrolling
1260150276Speter#		2;0	- 7 bit operations
1260250276Speter#		1;0	- 7 bit (native) keyboard language
1260350276Speter#	\E(0		- default character set (the keyboard native language)
1260450276Speter#
12605166124Srafand410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
12606166124Srafan	km@,
12607166124Srafan	enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
12608166124Srafan	rs2=\E[4;0;2;0;1;0v\E(0,
12609166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
12610166124Srafan	sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
1261150276Speter
12612166124Srafand410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
12613166124Srafan	km,
12614166124Srafan	enacs@, rmacs=\036FS00,
12615166124Srafan	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%;,
12616166124Srafan	sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
12617166124Srafan	use=d400-dg,
1261850276Speter
1261950276Speter# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
1262050276Speter#
1262150276Speter# Initialization string 1 sets:
1262250276Speter#	\E[<0;<1;<2;<4l
1262350276Speter#		<0	- scrolling enabled
1262450276Speter#		<1	- blink enabled
1262550276Speter#		<2	- horizontal scrolling enabled (for alignment)
1262650276Speter#		<4	- print characters regardless of attributes
1262750276Speter#	\E[5;1v		- compressed (135 column) mode
1262850276Speter#	\E[1;1;126	- margins at columns 1 and 126
1262950276Speter#	\E[1;6;<2h
1263050276Speter#		1	- print all characters even if protected
1263150276Speter#		6	- character protection disabled
1263250276Speter#		<2	- horizontal scrolling disabled
1263350276Speter#	- (should reset scrolling regions, but that glitches the screen)
1263450276Speter#
1263550276Speter# Reset string 1 sets:
1263650276Speter#	\Ec		- initial mode defaults (RIS)
1263750276Speter#	\E[5;1v		- compressed (135 column) mode
1263850276Speter#	\E[1;1;126w	- margins at columns 1 and 126
1263950276Speter#	\E[<2h		- horizontal scrolling disabled
1264050276Speter#
12641166124Srafand410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
12642166124Srafan	cols#126,
12643166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12644166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
1264550276Speter
12646166124Srafand410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
12647166124Srafan	cols#126,
12648166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12649166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
1265050276Speter
12651166124Srafand412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
12652166124Srafan	use=d410-dg,
1265350276Speter
1265450276Speter# These add intelligent features like scrolling regions.
12655166124Srafand412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
12656166124Srafan	civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
12657166124Srafan	cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
12658166124Srafan	home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
12659166124Srafan	is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
12660166124Srafan	ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
12661166124Srafan	rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
12662166124Srafan	vpa=\036FPFF%p1%2.2X,
12663166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12664166124Srafan	use=d216+,
12665166124Srafand412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
12666166124Srafan	cols#132,
12667166124Srafan	is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
12668166124Srafan	rs2=\036P@1\036FK\036FX0083,
12669166124Srafan	wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X,
12670166124Srafan	use=d412-unix,
12671166124Srafand412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
12672166124Srafan	lines#25,
12673166124Srafan	is3=\036Fz2,
12674166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12675166124Srafan	use=d462+,
12676166124Srafand412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
12677166124Srafan	eslok, hs,
12678166124Srafan	clear=\036FG\036PH, fsl=\036F}01\022,
12679166124Srafan	is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
12680166124Srafan	tsl=\036F}00\036FP%p1%2.2X18\036PG,
12681166124Srafan	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,
12682166124Srafan	use=d462+,
1268350276Speter
1268450276Speter#	Relative cursor motions are confined to the current window,
1268550276Speter#	which is not what the scrolling region specification expects.
1268650276Speter#	Thus, relative vertical cursor positioning must be deleted.
12687166124Srafand412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
12688166124Srafan	csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
12689166124Srafan	cud1@, cuu1@, ll@, use=d462+,
1269050276Speter
12691166124Srafand413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
12692166124Srafan	use=d412-unix,
12693166124Srafand413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
12694166124Srafan	use=d412-unix-w,
12695166124Srafand413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
12696166124Srafan	use=d412-unix-25,
12697166124Srafand413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
12698166124Srafan	use=d412-unix-s,
12699166124Srafand413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
12700166124Srafan	use=d412-unix-sr,
1270150276Speter
12702166124Srafand414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
12703166124Srafan	use=d413-unix,
12704166124Srafand414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
12705166124Srafan	use=d413-unix-w,
12706166124Srafand414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
12707166124Srafan	use=d413-unix-25,
12708166124Srafand414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
12709166124Srafan	use=d413-unix-s,
12710166124Srafand414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
12711166124Srafan	use=d413-unix-sr,
1271250276Speter
12713166124Srafand430c-dg|d430-dg|Data General D430C in DG mode,
12714166124Srafan	use=d413-dg, use=dg+fixed,
12715166124Srafand430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
12716166124Srafan	use=d413-dg, use=dg+ccc,
1271750276Speter
12718166124Srafand430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
12719166124Srafan	use=d413-unix, use=dgunix+fixed,
12720166124Srafand430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
12721166124Srafan	use=d413-unix-w, use=dgunix+fixed,
12722166124Srafand430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
12723166124Srafan	use=d413-unix-25, use=dgunix+fixed,
12724166124Srafand430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
12725166124Srafan	use=d413-unix-s, use=dgunix+fixed,
12726166124Srafand430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
12727166124Srafan	use=d413-unix-sr, use=dgunix+fixed,
12728166124Srafand430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
12729166124Srafan	use=d413-unix, use=dgunix+ccc,
12730166124Srafand430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
12731166124Srafan	use=d413-unix-w, use=dgunix+ccc,
12732166124Srafand430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
12733166124Srafan	use=d413-unix-25, use=dgunix+ccc,
12734166124Srafand430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
12735166124Srafan	use=d413-unix-s, use=dgunix+ccc,
12736166124Srafand430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
12737166124Srafan	use=d413-unix-sr, use=dgunix+ccc,
1273850276Speter
1273950276Speter# DASHER D470C color terminal in ANSI mode.
1274050276Speter# Like the D460 but with 16 colors and without a compressed mode.
1274150276Speter#
1274250276Speter# Initialization string 1 sets:
1274350276Speter#	\E[<0;<1;<2;<4l
1274450276Speter#		<0	- scrolling enabled
1274550276Speter#		<1	- blink enabled
1274650276Speter#		<2	- horizontal scrolling enabled (for alignment)
1274750276Speter#		<4	- print characters regardless of attributes
1274850276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1274950276Speter#	\E[1;6;<2h
1275050276Speter#		1	- print all characters even if protected
1275150276Speter#		6	- character protection disabled
1275250276Speter#		<2	- horizontal scrolling disabled
1275350276Speter#	- (should reset scrolling regions, but that glitches the screen)
1275450276Speter#
12755166124Srafand470c|d470|Data General DASHER D470C,
12756166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12757166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;,
12758166124Srafan	use=dg+color, use=d460,
1275950276Speter
12760166124Srafand470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
12761166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12762166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;,
12763166124Srafan	use=dg+color, use=d460-7b,
1276450276Speter
1276550276Speter# Initialization string 2 sets:
1276650276Speter#	^^FQ2		- default cursor (solid rectangle)
1276750276Speter#	^^FW		- character protection disabled
1276850276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1276950276Speter#	^^FX004?	- margins at columns 0 and 79
1277050276Speter#	^^F]		- horizontal scrolling disabled
1277150276Speter#	^^O		- primary character set
1277250276Speter#	^^FS00		- default character set (the keyboard native language)
1277350276Speter#	- (should reset scrolling regions, but that glitches the screen)
1277450276Speter#
12775166124Srafand470c-dg|d470-dg|Data General DASHER D470C in DG mode,
12776166124Srafan	is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
12777166124Srafan	use=dgmode+color, use=d460-dg,
1277850276Speter
1277950276Speter# DASHER D555 terminal in ANSI mode.
1278050276Speter# Like a D411, but has an integrated phone.
12781166124Srafand555|Data General DASHER D555,
12782166124Srafan	use=d411,
12783166124Srafand555-7b|Data General DASHER D555 in 7-bit mode,
12784166124Srafan	use=d411-7b,
12785166124Srafand555-w|Data General DASHER D555 in wide mode,
12786166124Srafan	use=d411-w,
12787166124Srafand555-7b-w|Data General DASHER D555 in wide 7-bit mode,
12788166124Srafan	use=d411-7b-w,
12789166124Srafand555-dg|Data General DASHER D555 series in DG mode,
12790166124Srafan	use=d411-dg,
1279150276Speter
1279250276Speter# DASHER D577 terminal in ANSI mode.
1279350276Speter# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
12794166124Srafand577|Data General DASHER D577,
12795166124Srafan	use=d411,
12796166124Srafand577-7b|Data General DASHER D577 in 7-bit mode,
12797166124Srafan	use=d411-7b,
12798166124Srafand577-w|Data General DASHER D577 in wide mode,
12799166124Srafan	use=d411-w,
12800166124Srafand577-7b-w|Data General DASHER D577 in wide 7-bit mode,
12801166124Srafan	use=d411-7b-w,
1280250276Speter
12803166124Srafand577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
12804166124Srafan	use=d411-dg,
1280550276Speter
1280650276Speter# DASHER D578 terminal.
1280750276Speter# Like a D577, but without compressed mode; like a D470C in this respect.
1280850276Speter#
1280950276Speter# Initialization string 1 sets:
1281050276Speter#	\E[<0;<1;<2;<4l
1281150276Speter#		<0	- scrolling enabled
1281250276Speter#		<1	- blink enabled
1281350276Speter#		<2	- horizontal scrolling enabled (for alignment)
1281450276Speter#		<4	- print characters regardless of attributes
1281550276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1281650276Speter#	\E[1;6;<2h
1281750276Speter#		1	- print all characters even if protected
1281850276Speter#		6	- character protection disabled
1281950276Speter#		<2	- horizontal scrolling disabled
1282050276Speter#	- (should reset scrolling regions, but that glitches the screen)
1282150276Speter#
12822166124Srafand578|Data General DASHER D578,
12823166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
12824166124Srafand578-7b|Data General DASHER D578 in 7-bit mode,
12825166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b,
1282650276Speter
1282750276Speter#### Datamedia (dm)
1282850276Speter#
12829166124Srafan# Datamedia was headquartered in Nashua, New Hampshire until it went
1283062449Speter# out of business in 1993, but the ID plates on the terminals referred
1283162449Speter# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
1283262449Speter# manufacturer which threw out all information about the terminals.
1283350276Speter#
1283450276Speter
12835166124Srafancs10|colorscan|Datamedia Color Scan 10,
12836166124Srafan	msgr,
12837166124Srafan	cols#80, lines#24,
12838166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
12839166124Srafan	cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
12840166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12841166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
12842166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
12843166124Srafancs10-w|Datamedia Color Scan 10 with 132 columns,
12844166124Srafan	cols#132,
12845166124Srafan	cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1284650276Speter
1284750276Speter# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
12848166124Srafandm1520|dm1521|datamedia 1520,
12849166124Srafan	OTbs, am, xenl,
12850166124Srafan	cols#80, it#8, lines#24,
12851166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
12852166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
12853166124Srafan	home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
12854166124Srafan	khome=^Y,
12855166124Srafan# dm2500: this terminal has both <ich> and <smir>. Applications using
1285650276Speter# termcap/terminfo directly (rather than through ncurses) might be confused.
12857166124Srafandm2500|datamedia2500|datamedia 2500,
12858166124Srafan	OTbs, OTnc,
12859166124Srafan	cols#80, lines#24,
12860166124Srafan	bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
12861166124Srafan	cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
12862166124Srafan	dch1=\020\010\030\035$<10*>,
12863166124Srafan	dl1=\020\032\030\035$<10*>, el=^W, home=^B,
12864166124Srafan	ich1=\020\034\030\035$<10*>,
12865166124Srafan	il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
12866166124Srafan	rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
12867166124Srafan	smdc=^P, smir=^P, smso=^N,
1286850276Speter# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1286950276Speter# also, has a meta-key.
1287050276Speter# From: <goldberger@su-csli.arpa>
1287150276Speter# (dmchat: ":MT:" changed to ":km:" -- esr)
12872166124Srafandmchat|dmchat version of datamedia 2500,
12873166124Srafan	km,
12874166124Srafan	dl1=\020\032\030\035$<2/>,
12875166124Srafan	il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1287650276Speter# (dm3025: ":MT:" changed to ":km:" -- esr)
12877166124Srafandm3025|datamedia 3025a,
12878166124Srafan	OTbs, km,
12879166124Srafan	cols#80, it#8, lines#24,
12880166124Srafan	bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12881166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
12882166124Srafan	dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
12883166124Srafan	home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
12884166124Srafan	is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
12885166124Srafan	smir=\EP, smso=\EO1,
12886166124Srafandm3045|datamedia 3045a,
12887166124Srafan	OTbs, am, eo, km@, ul, xenl,
12888166124Srafan	dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
12889166124Srafan	kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
12890166124Srafan	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
12891166124Srafan	khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
12892166124Srafan	use=dm3025,
1289350276Speter# Datamedia DT80 soft switches:
1289450276Speter# 1	0=Jump  1=Smooth
1289550276Speter# 	Autorepeat 	0=off  1=on
1289650276Speter# 	Screen		0=Dark 1=light
1289750276Speter# 	Cursor		0=u/l  1=block
12898166124Srafan#
1289950276Speter# 2	Margin Bell	0=off  1=on
1290050276Speter# 	Keyclick	0=off  1=on
1290150276Speter# 	Ansi/VT52	0=VT52 1=Ansi
1290250276Speter# 	Xon/Xoff	0=Off  1=On
12903166124Srafan#
1290450276Speter# 3	Shift3		0=Hash 1=UK Pound
1290550276Speter# 	Wrap		0=Off  1=On
1290650276Speter# 	Newline		0=Off  1=On
1290750276Speter# 	Interlace	0=Off  1=On
12908166124Srafan#
1290950276Speter# 4	Parity		0=Odd  1=Even
1291050276Speter# 	Parity		0=Off  1=On
1291150276Speter# 	Bits/Char	0=7    1=8
1291250276Speter# 	Power		0=60Hz 1=50Hz
12913166124Srafan#
1291450276Speter# 5	Line Interface  0=EIA  1=Loop
1291550276Speter# 	Aux Interface   0=EIA  1=Loop
12916166124Srafan# 	Local Copy    	0=Off  1=On
1291750276Speter# 	Spare
12918166124Srafan#
1291950276Speter# 6	Aux Parity	0=Odd  1=Even
1292050276Speter# 	Aux Parity	0=Off  1=On
1292150276Speter# 	Aux Bits/Char   0=7    1=8
1292250276Speter# 	CRT Saver	0=Off  1=On
1292350276Speter# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
12924166124Srafandm80|dmdt80|dt80|datamedia dt80/1,
12925166124Srafan	clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
12926166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
12927166124Srafan	home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
12928166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
12929166124Srafan	use=vt100,
1293050276Speter# except in 132 column mode, where it needs a little padding.
1293150276Speter# This is still less padding than the vt100, and you can always turn on
1293250276Speter# the ^S/^Q handshaking, so you can use vt100 flavors for things like
1293350276Speter# reverse video.
12934166124Srafandm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
12935166124Srafan	cols#132,
12936166124Srafan	clear=\E[H\E[2J$<50/>, cud1=^J,
12937166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
12938166124Srafan	ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1293962449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
12940166124Srafandt80-sas|Datamedia DT803/DTX for SAS usage,
12941166124Srafan	am, bw,
12942166124Srafan	cols#80, lines#24,
12943166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
12944166124Srafan	bel=^G, clear=^L, cr=^M,
12945166124Srafan	csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
12946166124Srafan	cub1=^H, cud1=\EB, cuf1=^\,
12947166124Srafan	cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
12948166124Srafan	el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
12949166124Srafan	is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
12950166124Srafan	kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
12951166124Srafan	rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
12952166124Srafan	smso=\E$2\004, tbc=\E'0,
1295350276Speter
1295450276Speter# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
1295550276Speter# These aren't end-all Excel termcaps; but do insert/delete char/line
1295650276Speter# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
1295750276Speter# The naming convention has been bent somewhat, with the use of E? (where
1295850276Speter# E is for 'Excel') as # a name.  This was done to distinguish the entries
1295950276Speter# from the other Datamedias in use here, and yet to associate a model of
1296050276Speter# the Excel terminals with the regular datamedia terminals that share
1296150276Speter# major characteristics.
12962166124Srafanexcel62|excel64|datamedia Excel 62,
12963166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
12964166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
12965166124Srafan	use=dt80,
12966166124Srafanexcel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
12967166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
12968166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
12969166124Srafan	use=dt80w,
12970166124Srafanexcel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
12971166124Srafan	dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
12972166124Srafan	kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
12973166124Srafan	smir=\E[4h, use=dt80,
1297450276Speter
1297550276Speter#### Falco
1297650276Speter#
1297750276Speter#	Falco Data Products
1297850276Speter#	440 Potrero Avenue
1297950276Speter#	Sunnyvale, CA 940864-196
1298050276Speter#	Vox: (800)-325-2648
1298150276Speter#	Fax: (408)-745-7860
1298250276Speter#	Net: techsup@charm.sys.falco.com
1298350276Speter#
1298450276Speter# Current Falco models as of 1995 are generally ANSI-compatible and support
1298550276Speter# emulations of DEC VT-series, Wyse, and Televideo types.
1298650276Speter#
1298750276Speter
1298850276Speter# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1298950276Speter# This terminal was released around 1983 and was discontinued long ago.
1299050276Speter# The standout and underline highlights are the same.
12991166124Srafanfalco|ts1|ts-1|falco ts-1,
12992166124Srafan	OTbs, am,
12993166124Srafan	cols#80, it#8, lines#24,
12994166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
12995166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
12996166124Srafan	dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
12997166124Srafan	ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
12998166124Srafan	kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
12999166124Srafan	smir=\Eq, smso=\Eg1, smul=\Eg1,
13000166124Srafanfalco-p|ts1p|ts-1p|falco ts-1 with paging option,
13001166124Srafan	OTbs, am, da, db, mir, msgr, ul,
13002166124Srafan	cols#80, it#8, lines#24,
13003166124Srafan	bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
13004166124Srafan	cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
13005166124Srafan	dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
13006166124Srafan	il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
13007166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
13008166124Srafan	rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
13009166124Srafan	smso=\Eg4, smul=\Eg1,
1301050276Speter# (ts100: I added <rmam>/<smam> based on the init string -- esr)
13011166124Srafants100|ts100-sp|falco ts100-sp,
13012166124Srafan	am, mir, msgr, xenl, xon,
13013166124Srafan	cols#80, it#8, lines#24, vt#3,
13014166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
13015166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
13016166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13017166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13018166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
13019166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
13020166124Srafan	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
13021166124Srafan	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
13022166124Srafan	ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
13023166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
13024166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
13025166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
13026166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13027166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
13028166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
13029166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
13030166124Srafan	use=vt100+fnkeys,
13031166124Srafants100-ctxt|falco ts-100 saving context,
13032166124Srafan	rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1303350276Speter
1303450276Speter#### Florida Computer Graphics
1303550276Speter#
1303650276Speter
1303750276Speter# Florida Computer Graphics Beacon System, using terminal emulator program
1303850276Speter# "host.com", as provided by FCG.  This description is for an early release
1303950276Speter# of the "host" program.  Known bug: <ed> clears the whole screen, so it's
1304050276Speter# commented out.
1304150276Speter
1304250276Speter# From: David Bryant <cbosg!djb> 1/7/83
13043166124Srafanbeacon|FCG Beacon System,
13044166124Srafan	am, da, db,
13045166124Srafan	cols#80, lines#32,
13046166124Srafan	bel=\ESTART\r\E37\r\EEND\r$<1>,
13047166124Srafan	blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
13048166124Srafan	cub1=^H, cud1=^J, cuf1=\EV,
13049166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
13050166124Srafan	dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
13051166124Srafan	ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
13052166124Srafan	rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
13053166124Srafan	rmul=\ESTART\r\E60\,0\r\EEND\r,
13054166124Srafan	sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
13055166124Srafan	smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
13056166124Srafan	smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
13057166124Srafan	smul=\ESTART\r\E60\,1\r\EEND\r,
1305850276Speter
1305950276Speter#### Fluke
1306050276Speter#
1306150276Speter
13062166124Srafan# The f1720a differences from ANSI: no auto margin, destructive
1306350276Speter# tabs, # of lines, funny highlighting and underlining
13064166124Srafanf1720|f1720a|fluke 1720A,
13065166124Srafan	xt,
13066166124Srafan	cols#80, lines#16, xmc#1,
13067166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
13068166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
13069166124Srafan	el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
13070166124Srafan	kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
13071166124Srafan	smso=\E[7m, smul=\E[4m,
1307250276Speter
1307350276Speter#### Liberty Electronics (Freedom)
1307450276Speter#
1307550276Speter#	Liberty Electronics
1307650276Speter#	48089 Fremont Blvd
1307750276Speter#	Fremont CA 94538
1307850276Speter#	Vox: (510)-623-6000
1307950276Speter#	Fax: (510)-623-7021
1308050276Speter
1308150276Speter# From: <faletti@berkeley.edu>
1308250276Speter# (f100: added empty <acsc> to suppress a tic warning;
1308350276Speter# made this relative to adm+sgr -- note that <invis> isn't
1308450276Speter# known to work for f100 but does on the f110. --esr)
13085166124Srafanf100|freedom|freedom100|freedom model 100,
13086166124Srafan	OTbs, am, bw, hs, mir, msgr, xon,
13087166124Srafan	cols#80, lines#24,
13088166124Srafan	acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
13089166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13090166124Srafan	dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
13091166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
13092166124Srafan	ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
13093166124Srafan	is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
13094166124Srafan	kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
13095166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13096166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
13097166124Srafan	smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
13098166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13099166124Srafanf100-rv|freedom-rv|freedom 100 in reverse video,
13100166124Srafan	flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1310150276Speter# The f110 and f200 have problems with vi(1).  They use the ^V
1310250276Speter# code for the down cursor key. When kcud1 is defined in terminfo
1310350276Speter# as ^V, the Control Character Quoting capability (^V in insert mode)
1310450276Speter# is lost! It cannot be remapped in vi because it is necessary to enter
1310550276Speter# a ^V to to quote the ^V that is being remapped!!!
13106166124Srafan#
1310750276Speter# f110/f200 users will have to decide whether
1310850276Speter# to lose the down cursor key or the quoting capability. We will opt
1310950276Speter# initially for leaving the quoting capability out, since use of VI
1311050276Speter# is not generally applicable to most interactive applications
1311150276Speter# (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
13112166124Srafanf110|freedom110|Liberty Freedom 110,
13113166124Srafan	bw@, eslok,
13114166124Srafan	it#8, wsl#80,
13115166124Srafan	blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
13116166124Srafan	dim=\EG@, dl1=\ER, dsl=\Ef\r, flash=\Eb$<200/>\Ed, il1=\EE,
13117166124Srafan	ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET,
13118166124Srafan	kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13119166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
13120166124Srafan	smso=\EG<, tsl=\Ef, use=f100,
13121166124Srafanf110-14|Liberty Freedom 110 14inch,
13122166124Srafan	dch1@, use=f110,
13123166124Srafanf110-w|Liberty Freedom 110 - 132 cols,
13124166124Srafan	cols#132, use=f110,
13125166124Srafanf110-14w|Liberty Freedom 110 14in/132 cols,
13126166124Srafan	cols#132,
13127166124Srafan	dch1@, use=f110,
1312850276Speter# (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13129166124Srafanf200|freedom200|Liberty Freedom 200,
13130166124Srafan	OTbs, am, eslok, hs, mir, msgr, xon,
13131166124Srafan	cols#80, it#8, lines#24, wsl#80,
13132166124Srafan	acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
13133166124Srafan	clear=^Z, cnorm=\E.1, cr=^M,
13134166124Srafan	csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
13135166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13136166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET,
13137166124Srafan	flash=\Eo$<200/>\En, fsl=^M, home=^^,
13138166124Srafan	hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
13139166124Srafan	kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
13140166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
13141166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13142166124Srafan	kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13143166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
13144166124Srafan	tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13145166124Srafanf200-w|Liberty Freedom 200 - 132 cols,
13146166124Srafan	cols#132, use=f200,
1314750276Speter# The f200 has the ability to reprogram the down cursor key. The key is
1314850276Speter# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
1314950276Speter# so powering the terminal off and on will not cause the change to be lost.
13150166124Srafanf200vi|Liberty Freedom 200 for vi,
13151166124Srafan	flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
13152166124Srafanf200vi-w|Liberty Freedom 200 - 132 cols for vi,
13153166124Srafan	cols#132, use=f200vi,
1315450276Speter
1315550276Speter#### GraphOn (go)
1315650276Speter#
1315750276Speter#	Graphon Corporation
1315850276Speter#	544 Division Street
1315950276Speter#	Campbell, CA 95008
1316050276Speter#	Vox: (408)-370-4080
1316150276Speter#	Fax: (408)-370-5047
1316250276Speter#	Net: troy@graphon.com (Troy Morrison)
1316350276Speter#
1316450276Speter#
1316550276Speter# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
1316650276Speter# including one odd hybrid that starts out life on power-up as a character
1316750276Speter# terminal, than can be switched to X graphics mode (driven over the serial
1316850276Speter# line) by an escape sequence.  No info on this beast yet.
1316950276Speter# (go140: I added <rmam>/<smam> based on the init string -- esr)
13170166124Srafango140|graphon go-140,
13171166124Srafan	OTbs,
13172166124Srafan	cols#80, it#8, lines#24,
13173166124Srafan	clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
13174166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13175166124Srafan	ed=\E[J$<10/>, el=\E[K, ht=^I,
13176166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L,
13177166124Srafan	is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13178166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
13179166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
13180166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
13181166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
13182166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
13183166124Srafango140w|graphon go-140 in 132 column mode,
13184166124Srafan	am,
13185166124Srafan	cols#132,
13186166124Srafan	is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13187166124Srafan	use=go140,
1318850276Speter# Hacked up vt200 termcap to handle GO-225/VT220
1318950276Speter# From: <edm@nwnexus.WA.COM>
1319050276Speter# (go225: I added <rmam>/<smam> based on the init string -- esr)
13191166124Srafango225|go-225|Graphon 225,
13192166124Srafan	OTbs, am, mir, xenl,
13193166124Srafan	cols#80, it#8, lines#25, vt#3,
13194166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
13195166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
13196166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13197166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
13198166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
13199166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
13200166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
13201166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
13202166124Srafan	rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
13203166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
13204166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
13205166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1320650276Speter
1320750276Speter#### Harris (Beehive)
1320850276Speter#
1320950276Speter# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
1321050276Speter# Their terminal group is ancient history now (1995) though the parent
1321150276Speter# company is still in business.
1321250276Speter#
1321350276Speter
1321450276Speter# Beehive documentation is undated and marked Preliminary and has no figures
1321550276Speter# so we must have early Superbee2 (Model 600, according to phone conversation
1321650276Speter# with mfr.). It has proved reliable except for some missing padding
1321750276Speter# (notably after \EK and <nl> at bottom of screen).
13218166124Srafan#
13219166124Srafan# The key idea is that AEP mode is poison for <cup> & that US's in
13220166124Srafan# the local memory should be avoided like the plague. That means
13221166124Srafan# that the 2048 character local buffer is used as 25 lines of 80
13222166124Srafan# characters, period. No scrolling local memory, folks. It also
1322350276Speter# appears that we cannot use naked INS LINE feature since it uses
13224166124Srafan# US. The sbi fakes <il1> with an 80-space insert that may be too
13225166124Srafan# slow at low speeds; also spaces get converted to \040 which is
1322650276Speter# too long for some programs (not vi).  DEL LINE is ok but slow.
13227166124Srafan#
13228166124Srafan# The <nl> string is designed for last line of screen ONLY; cup to
1322950276Speter# 25th line corrects the motion inherent in scrolling to Page 1.
13230166124Srafan#
1323150276Speter# There is one understood bug. It is that the screen appears to
13232166124Srafan# pop to a new (blank) page after a <nel>, or leave a half-line
13233166124Srafan# ellipsis to a quad that is the extra 48 memory locations. The
13234166124Srafan# data received is dumped into memory but not displayed.  Not to
13235166124Srafan# worry if <cup> is being used; the lines not displayed will be,
13236166124Srafan# whenever the cursor is moved up there. Since <cup> is addressed
13237166124Srafan# relative to MEMORY of window, nothing is lost; but beware of
1323850276Speter# relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
1323950276Speter# therefore, is setenv MORE -c .
13240166124Srafan#
1324150276Speter# WARNING: Not all features tested.
13242166124Srafan#
13243166124Srafan# Timings are assembled from 3 sources. Some timings may reflect
1324450276Speter# SB2/Model 300 that were used if more conservative.
1324550276Speter# Tested on a Model 600 at 1200 and 9600 bd.
13246166124Srafan#
13247166124Srafan# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
13248166124Srafan# placed on the keyboard and useless because of AEP, is made
1324950276Speter# into a backspace key. In use ESC must be pressed twice (to send)
13250166124Srafan# and sending ^C must be prefixed by ESC to avoid that weird
1325150276Speter# transmit mode associated with ENTER key.
13252166124Srafan#
13253166124Srafan# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
13254166124Srafan# the screen, then it has dropped into ENTER mode; hit
1325550276Speter# RESET--ONLINE--!tset.
13256166124Srafan#
13257166124Srafan# As delivered this machine has a FATAL feature that will throw
13258166124Srafan# it into that strange transmit state (SPOW) if the space bar is
13259166124Srafan# hit after a CR is received, but before receiving a LF (or a
1326050276Speter# few others).
13261166124Srafan#
13262166124Srafan# The circuits MUST be modified to eliminate the SPOW latch.
13263166124Srafan# This is done by strapping on chip A46 of the I/O board; cut
13264166124Srafan# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
1326550276Speter# chip. This mod has been checked out on a Mod 600 of Superbee II.
13266166124Srafan# With this modification absurdly high timings on cr are
1326750276Speter# unnecessary.
13268166124Srafan#
13269166124Srafan# NOTE WELL that the rear panel switch should be set to CR/LF,
1327050276Speter# not AEP!
1327150276Speter#
13272166124Srafansb1|beehive superbee,
13273166124Srafan	OTbs, am, bw, da, db, mir, ul, xsb,
13274166124Srafan	cols#80, lines#25, xmc#1,
13275166124Srafan	bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
13276166124Srafan	cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
13277166124Srafan	cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
13278166124Srafan	el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
13279166124Srafan	il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
13280166124Srafan	ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
13281166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
13282166124Srafan	kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
13283166124Srafan	kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
13284166124Srafan	krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
13285166124Srafan	rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
13286166124Srafan	smso=\E_1, smul=\E_0, tbc=\E3,
13287166124Srafansbi|superbee|beehive superbee at Indiana U.,
13288166124Srafan	xsb,
13289166124Srafan	cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
13290166124Srafan	use=sb1,
1329150276Speter# Alternate (older) description of Superbee - f1=escape, f2=^C.
1329250276Speter# Note: there are at least 3 kinds of superbees in the world.  The sb1
1329350276Speter# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
1329450276Speter# The sb3 puts garbage on the bottom of the screen when you scroll with
1329550276Speter# the switch in the back set to CRLF instead of AEP.  This description
1329650276Speter# is tested on the sb2 but should work on all with either switch setting.
1329750276Speter# The f1/f2 business is for the sb1 and the <xsb> can be taken out for
1329850276Speter# the other two if you want to try to hit that tiny escape key.
1329950276Speter# This description is tricky: being able to use cup depends on there being
1330050276Speter# 2048 bytes of memory and the hairy <nl> string.
13301166124Srafansuperbee-xsb|beehive super bee,
13302166124Srafan	am, da, db, xsb,
13303166124Srafan	cols#80, it#8, lines#25,
13304166124Srafan	clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
13305166124Srafan	cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
13306166124Srafan	dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
13307166124Srafan	home=\EH, ht=^I, hts=\E1,
13308166124Srafan	ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
13309166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
13310166124Srafan	kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
13311166124Srafan	khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
1331250276Speter# This loses on lines > 80 chars long, use at your own risk
13313166124Srafansuperbeeic|super bee with insert char,
13314166124Srafan	ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
13315166124Srafansb2|sb3|fixed superbee,
13316166124Srafan	xsb@, use=superbee,
1331750276Speter
1331862449Speter####  Beehive Medical Electronics
1331962449Speter#
1332062449Speter# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
1332162449Speter# Regarding your question though; Beehive terminals weren't made by Harris.
1332262449Speter# They were made by Beehive Medical Electronics in Utah. They went out of
1332362449Speter# business in the early '80s.
1332462449Speter#
1332562449Speter# (OK, then, I don't know why a couple of these say "harris beehive".)
1332662449Speter#
1332762449Speter
1332850276Speter# Reports are that most of these Beehive entries (except superbee) have not
1332950276Speter# been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
1333050276Speter
1333150276Speter# (bee: <ich1> was empty, which is obviously bogus -- esr)
13332166124Srafanbeehive|bee|harris beehive,
13333166124Srafan	OTbs, am, mir,
13334166124Srafan	cols#80, lines#24,
13335166124Srafan	cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
13336166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
13337166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
13338166124Srafan	kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13339166124Srafan	kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
13340166124Srafan	krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
13341166124Srafan	smir=\EQ, smso=\EdP, smul=\Ed`,
1334250276Speter# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1334350276Speter# good grief - does this entry make :sg:/:ug: when it doesn't have to?
1334450276Speter# look at those spaces in <rmso>/<smso>.  Seems strange to me...
1334550276Speter# (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
1334650276Speter# really care, cook up one using ^F -- esr)
13347166124Srafanbeehive3|bh3m|beehiveIIIm|harris beehive 3m,
13348166124Srafan	OTbs, am,
13349166124Srafan	cols#80, it#8, lines#20,
13350166124Srafan	bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
13351166124Srafan	dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
13352166124Srafan	il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
13353166124Srafanbeehive4|bh4|beehive 4,
13354166124Srafan	am,
13355166124Srafan	cols#80, lines#24,
13356166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
13357166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
1335862449Speter# There was an early Australian kit-built computer called a "Microbee".
1335962449Speter# It's not clear whether this is for one of those or for a relative
1336062449Speter# of the Beehive.
13361166124Srafanmicrob|microbee|micro bee series,
13362166124Srafan	OTbs, am,
13363166124Srafan	cols#80, it#8, lines#24,
13364166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13365166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13366166124Srafan	el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
13367166124Srafan	kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
13368166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
13369166124Srafan	rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
1337050276Speter
1337150276Speter# 8675, 8686, and bee from Cyrus Rahman
1337250276Speter# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
13373166124Srafanha8675|harris 8675,
13374166124Srafan	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
13375166124Srafan	kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
13376166124Srafan	kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
13377166124Srafan	kf8=\177, kf9=\Ee, use=bee,
1337850276Speter# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
1337950276Speter# in :is: -- esr)
13380166124Srafanha8686|harris 8686,
13381166124Srafan	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#,
13382166124Srafan	kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
13383166124Srafan	kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
13384166124Srafan	kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
13385166124Srafan	kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
13386166124Srafan	use=bee,
1338750276Speter
1338850276Speter#### Hazeltine
1338950276Speter#
1339050276Speter# Hazeltine appears to be out of the terminal business as of 1995.  These
1339150276Speter# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
1339250276Speter# Harris. They have a hazeltine.com domain (but no web page there ) and can
1339350276Speter# be reached at:
1339450276Speter#
1339550276Speter#	Hazeltine
1339650276Speter#	450 East Pulaski Road
1339750276Speter#	Greenlawn, New York 11740
1339850276Speter#
1339950276Speter# As late as 1993, manuals for the terminal product line could still be
1340050276Speter# purchased from:
1340150276Speter#
1340250276Speter#	TRW Customer Service Division
1340350276Speter#	15 Law Drive
1340450276Speter#	P.O. Box 2076
1340550276Speter#	Fairfield, NJ 07007-2078
1340650276Speter#
1340750276Speter# They're now (1998) a subsidiary of General Electric, operating under the
1340850276Speter# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
1340950276Speter# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1341050276Speter#
1341150276Speter
1341250276Speter# Since <cuf1> is blank, when you want to erase something you
1341350276Speter# are out of luck.  You will have to do ^L's a lot to
1341450276Speter# redraw the screen.  h1000 is untested.  It doesn't work in
1341550276Speter# vi - this terminal is too dumb for even vi.  (The code is
1341650276Speter# there but it isn't debugged for this case.)
13417166124Srafanhz1000|hazeltine 1000,
13418166124Srafan	OTbs,
13419166124Srafan	cols#80, lines#12,
13420166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
13421166124Srafan	ind=^J,
1342250276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
13423166124Srafanhz1420|hazeltine 1420,
13424166124Srafan	OTbs, am,
13425166124Srafan	cols#80, lines#24,
13426166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
13427166124Srafan	cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
13428166124Srafan	ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
13429166124Srafan	smso=\E^_,
1343050276Speter# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
1343150276Speter# freakout with out-of-range args and tn3270.  No hz since it needs to
1343250276Speter# receive tildes.
13433166124Srafanhz1500|hazeltine 1500,
13434166124Srafan	OTbs, am, hz,
13435166124Srafan	cols#80, lines#24,
13436166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13437166124Srafan	cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
13438166124Srafan	cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
13439166124Srafan	il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
13440166124Srafan	kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1344150276Speter# h1510 assumed to be in sane escape mode.  Else use h1500.
13442166124Srafan# (h1510: early versions of this entry apparently had "<rmso=\E^_>,
1344350276Speter# <smso=\E^Y>, but these caps were commented out in 8.3; also,
1344450276Speter# removed incorrect and overridden ":do=^J:" -- esr)
13445166124Srafanhz1510|hazeltine 1510,
13446166124Srafan	OTbs, am,
13447166124Srafan	cols#80, lines#24,
13448166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
13449166124Srafan	cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
13450166124Srafan	el=\E^O, il1=\E^Z, ind=^J,
1345150276Speter# Hazeltine 1520
1345250276Speter# The following switch settings are assumed for normal operation:
1345350276Speter#	FULL		CR		U/L_CASE	ESCAPE
1345450276Speter#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
1345550276Speter# Other switches may be set for operator convenience or communication
1345650276Speter# requirements.
13457166124Srafanhz1520|Hazeltine 1520,
13458166124Srafan	OTbs, am, bw, msgr,
13459166124Srafan	cols#80, lines#24,
13460166124Srafan	bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
13461166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13462166124Srafan	ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
13463166124Srafan	kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
13464166124Srafan	kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
13465166124Srafan	rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
1346650276Speter# This version works with the escape switch off
1346750276Speter# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
13468166124Srafanhz1520-noesc|hazeltine 1520,
13469166124Srafan	am, hz,
13470166124Srafan	cols#80, lines#24,
13471166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13472166124Srafan	cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
13473166124Srafan	home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1347450276Speter# Note: the h1552 appears to be the first Hazeltine terminal which
1347550276Speter# is not braindamaged.  It has tildes and backprimes and everything!
1347650276Speter# Be sure the auto lf/cr switch is set to cr.
13477166124Srafanhz1552|hazeltine 1552,
13478166124Srafan	OTbs,
13479166124Srafan	cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
13480166124Srafan	lf2=red, lf3=green, use=vt52,
13481166124Srafanhz1552-rv|hazeltine 1552 reverse video,
13482166124Srafan	cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1348350276Speter# Note: h2000 won't work well because of a clash between upper case and ~'s.
13484166124Srafanhz2000|hazeltine 2000,
13485166124Srafan	OTbs, OTnc, am,
13486166124Srafan	cols#74, lines#27,
13487166124Srafan	bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
13488166124Srafan	cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
13489166124Srafan	il1=~\032$<6>, ind=^J, pad=\177,
1349050276Speter# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
1349150276Speter# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
1349250276Speter# to work ok. There is one problem though if one types a lot of garbage
1349350276Speter# characters very fast vi seems not able to keep up and hangs while trying
1349450276Speter# to insert. That's in insert mode while trying to insert in the middle of
1349550276Speter# a line. It might be because the Esprit doesn't have insert char and delete
13496166124Srafan# char as a built in function. Vi has to delete to end of line and then
1349750276Speter# redraw the rest of the line.
13498166124Srafanesprit|Hazeltine Esprit I,
13499166124Srafan	OTbs, am, bw,
13500166124Srafan	cols#80, lines#24,
13501166124Srafan	bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
13502166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13503166124Srafan	ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
13504166124Srafan	kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
13505166124Srafan	kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
13506166124Srafan	kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
13507166124Srafan	lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
13508166124Srafan	rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
13509166124Srafanesprit-am|hazeltine esprit auto-margin,
13510166124Srafan	am, use=esprit,
1351150276Speter# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
1351250276Speter# Vi it seems always wants to send a control J for "do" and it turned out
1351350276Speter# that the terminal would work somewhat if the auto LF/CR was turned off.
1351450276Speter# (hmod1: removed :dn=~^K: -- esr)
13515166124Srafanhmod1|Hazeltine Modular 1,
13516166124Srafan	OTbs, am, hz,
13517166124Srafan	cols#80, lines#24,
13518166124Srafan	bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13519166124Srafan	cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
13520166124Srafan	ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
13521166124Srafan	rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1352250276Speter#
1352350276Speter# Hazeltine Executive 80 Model 30 (1554?)
1352450276Speter#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
1352550276Speter# Like VT100, except for different "am" behavior.
13526166124Srafanhazel|exec80|h80|he80|Hazeltine Executive 80,
13527166124Srafan	OTbs, OTpt, am,
13528166124Srafan	cols#80, it#8, lines#24, vt#3,
13529166124Srafan	OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
13530166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13531166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
13532166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
13533166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
13534166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
13535166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
13536166124Srafan	kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
13537166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
13538166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
13539166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13540166124Srafan	sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
13541166124Srafan	smul=\E[4m$<2/>,
1354250276Speter
1354350276Speter#### IBM
1354450276Speter#
1354550276Speter
13546166124Srafanibm327x|line mode IBM 3270 style,
13547166124Srafan	gn,
13548166124Srafan	clear=^M^J, el=^M, home=^M,
1354950276Speter
13550166124Srafanibm3101|i3101|IBM 3101-10,
13551166124Srafan	OTbs, am, xon,
13552166124Srafan	cols#80, lines#24,
13553166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13554166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13555166124Srafan	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
13556166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
13557166124Srafanibm3151|IBM 3151 display,
13558166124Srafan	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
13559166124Srafan	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%;,
13560166124Srafan	sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
13561166124Srafan# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1356262449Speter# removed kend, knp, kpp -TD
13563166124Srafanibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
13564166124Srafan	OTbs, am, mir, msgr,
13565166124Srafan	cols#80, it#8, lines#24,
13566166124Srafan	acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
13567166124Srafan	bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
13568166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
13569166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
13570166124Srafan	invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
13571166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
13572166124Srafan	kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
13573166124Srafan	kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
13574166124Srafan	kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
13575166124Srafan	kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
13576166124Srafan	kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
13577166124Srafan	kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
13578166124Srafan	kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
13579166124Srafan	ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A,
13580166124Srafan	rmso=\E4@, rmul=\E4@,
13581166124Srafan	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<@%;,
13582166124Srafan	sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
1358350276Speter
13584166124Srafanibm3161-C|IBM 3161-C NLS terminal using cartridge,
13585166124Srafan	rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161,
13586166124Srafanibm3162|IBM 3162 display,
13587166124Srafan	blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
13588166124Srafan	rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
13589166124Srafan	use=ibm3161-C,
1359050276Speter
1359162449Speter# This really should not use setab/setaf, but it is clear that the
1359262449Speter# original terminfo does not toggle red/blue colors as in setb/setf.
13593166124Srafanibm3164|i3164|IBM 3164,
13594166124Srafan	msgr,
13595166124Srafan	colors#8, pairs#64,
13596166124Srafan	op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
13597166124Srafan	setab=\E4  %p1%{64}%+%c,
13598166124Srafan	setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
13599166124Srafan	smcup=\E!9/N\E>B, use=ibm3161,
1360050276Speter
13601166124Srafanibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
13602166124Srafan	am, bw, msgr, xon,
13603166124Srafan	cols#80, it#8, lines#25,
13604166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13605166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13606166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13607166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13608166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
13609166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
13610166124Srafan	hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
13611166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
13612166124Srafan	kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
13613166124Srafan	kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
13614166124Srafan	kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
13615166124Srafan	kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
13616166124Srafan	kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
13617166124Srafan	kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
13618166124Srafan	kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
13619166124Srafan	kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
13620166124Srafan	kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
13621166124Srafan	kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
13622166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13623166124Srafan	kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
13624166124Srafan	kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
13625166124Srafan	krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
13626166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec,
13627166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
13628166124Srafan	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1362950276Speter
13630166124Srafanibmaed|IBM Experimental display,
13631166124Srafan	OTbs, am, eo, msgr,
13632166124Srafan	cols#80, it#8, lines#52,
13633166124Srafan	clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
13634166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
13635166124Srafan	dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
13636166124Srafan	il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13637166124Srafan	rmso=\E0, sgr0=\E0, smso=\E0,
13638166124Srafanibm-apl|apl|IBM apl terminal simulator,
13639166124Srafan	lines#25, use=dm1520,
13640166124Srafan# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
1364150276Speter# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
13642166124Srafanibmmono|IBM workstation monochrome,
13643166124Srafan	eslok, hs,
13644166124Srafan	bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
13645166124Srafan	invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
13646166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
13647166124Srafan	khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
13648166124Srafan	lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
13649166124Srafan	sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
13650166124Srafan	use=ibm3101,
13651166124Srafanibmega|IBM Enhanced Color Display,
13652166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13653166124Srafan	nel=^M^J, use=ibmmono,
1365462449Speter# This color scheme is assumed in some recent IBM terminal descriptions
1365562449Speter# (green on black, emulated on a 16-color terminal).
13656166124Srafanibm+color|IBM color definitions,
13657166124Srafan	colors#8, ncv#3, pairs#64,
13658166124Srafan	op=\E[32m\E[40m,
13659166124Srafan	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%;,
13660166124Srafan	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%;,
13661166124Srafanibm+16color|IBM aixterm color definitions,
13662166124Srafan	colors#16, pairs#256,
13663166124Srafan	setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
13664166124Srafan	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
13665166124Srafan	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,
13666166124Srafan	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,
13667166124Srafanibm5154|IBM 5154 Color display,
13668166124Srafan	colors#8, ncv@, pairs#64,
13669166124Srafan	bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13670166124Srafan	use=ibm+color,
13671166124Srafanibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
13672166124Srafan	rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
13673166124Srafan	use=ibmmono,
13674166124Srafanibmvga-c|IBM VGA display color termcap,
13675166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13676166124Srafan	nel=^M^J, use=ibmega-c,
13677166124Srafanibmvga|IBM VGA display,
13678166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13679166124Srafan	nel=^M^J, use=ibmega,
1368050276Speter# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
13681166124Srafanrtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
13682166124Srafan	lines#32,
13683166124Srafan	dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
13684166124Srafanibm6155|IBM 6155 Black & White display,
13685166124Srafan	blink@, bold@, use=ibm5151,
1368650276Speter# Advanced Monochrome (6153) and Color (6154) Graphics Display:
13687166124Srafanibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
13688166124Srafan	lines#31,
13689166124Srafan	dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
13690166124Srafanibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
13691166124Srafan	lines#31,
13692166124Srafan	dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
13693166124Srafan	use=ibmega-c,
13694166124Srafanibm6154|IBM 6154 Color displays,
13695166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13696166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13697166124Srafan	sgr0=\E[0;10m, use=ibm5154,
13698166124Srafanibm6153|IBM 6153 Black & White display,
13699166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13700166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13701166124Srafan	sgr0=\E[0;10m, use=ibm5151,
13702166124Srafanibm6153-90|IBM 6153 Black & White display,
13703166124Srafan	cols#90, lines#36,
13704166124Srafan	blink@, bold@, use=ibm5151,
13705166124Srafanibm6153-40|IBM 6153 Black & White display,
13706166124Srafan	cols#40, lines#12, use=ibm6153-90,
13707166124Srafanibm8512|ibm8513|IBM color VGA Terminal,
13708166124Srafan	am, mir, msgr,
13709166124Srafan	cols#80, it#8, lines#25,
13710166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
13711166124Srafan	clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
13712166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
13713166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
13714166124Srafan	il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
13715166124Srafan	kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
13716166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13717166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
13718166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
13719166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m,
13720166124Srafan	rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
13721166124Srafan	smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
13722166124Srafan	smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13723166124Srafan	use=ibm8503,
13724166124Srafanhft-c|HFT with Color,
13725166124Srafan	colors#8, pairs#64,
13726166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
13727166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
13728166124Srafan	use=ibm5151, use=ibm+color,
13729166124Srafanhft-c-old|HFT with Color PC850,
13730166124Srafan	colors#8, pairs#64,
13731166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13732166124Srafan	use=ibm+color,
13733166124Srafanhft-old|AIWS High Function Terminal,
13734166124Srafan	am, xon,
13735166124Srafan	cols#80, lines#25,
13736166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13737166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13738166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
13739166124Srafan	ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
13740166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13741166124Srafan	kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
13742166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13743166124Srafan	kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
13744166124Srafan	ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
13745166124Srafan	sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
13746166124Srafanibm-system1|system1|ibm system/1 computer,
13747166124Srafan	am, xt,
13748166124Srafan	cols#80, lines#24,
13749166124Srafan	bel=^G, clear=^Z, cub1=^H, cuf1=^\,
13750166124Srafan	cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
13751166124Srafan	ind=^J,
1375262449Speter#       lft-pc850 : IBM Low Function Terminal Device
1375362449Speter#    lft "supports" underline, bold, and blink in the sense that the lft code
1375462449Speter#    sets all the right bits.  HOWEVER, depending upon the adapter, these
1375562449Speter#    attributes may or may not be supported by the device driver.
13756166124Srafanlft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
13757166124Srafan	am, bw, msgr, xon,
13758166124Srafan	cols#80, it#8, lines#25,
13759166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13760166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
13761166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13762166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13763166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
13764166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
13765166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
13766166124Srafan	il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
13767166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
13768166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
13769166124Srafan	kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
13770166124Srafan	kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
13771166124Srafan	kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
13772166124Srafan	kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
13773166124Srafan	kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
13774166124Srafan	kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
13775166124Srafan	kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
13776166124Srafan	kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
13777166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13778166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
13779166124Srafan	kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
13780166124Srafan	kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
13781166124Srafan	rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
13782166124Srafan	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%;,
13783166124Srafan	sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13784166124Srafan	tbc=\E[3g,
13785166124Srafanibm5081|hft|IBM Megapel Color display,
13786166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
13787166124Srafan	s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
13788166124Srafanibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
13789166124Srafan	eslok, hs,
13790166124Srafan	lines#33,
13791166124Srafan	dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
13792166124Srafan	use=ibmega-c,
13793166124Srafanibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
13794166124Srafan	use=hft-c,
13795166124Srafanibm8514|IBM 8514/a color VGA display,
13796166124Srafan	eslok, hs,
13797166124Srafan	dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
13798166124Srafanibm8514-c|IBM 8514 color display with standout and underline,
13799166124Srafan	eslok, hs,
13800166124Srafan	lines#41,
13801166124Srafan	cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
13802166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
13803166124Srafan	use=ibmega-c,
1380450276Speter
1380550276Speter#
13806166124Srafan# AIX entries.  IBM ships these with AIX 3.2.5.
1380762449Speter# -- added rc, sc based on manpage -TD
13808166124Srafan# Note that we could use ibm+16color, but that is not how IBM defines this one.
13809166124Srafanaixterm|IBM Aixterm Terminal Emulator,
13810166124Srafan	eslok, hs,
13811166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13812166124Srafan	fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
13813166124Srafan	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%;,
13814166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
13815166124Srafanaixterm-m|IBM AIXterm Monochrome Terminal Emulator,
13816166124Srafan	eslok, hs,
13817166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13818166124Srafan	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
13819166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13820166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
13821166124Srafanaixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
13822166124Srafan	eslok, hs,
13823166124Srafan	bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
13824166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13825166124Srafan	tsl=\E[?%p1%dT, use=ibm6153,
13826166124Srafanjaixterm|IBM Kanji Aixterm Terminal Eemulator,
13827166124Srafan	acsc@, use=aixterm,
13828166124Srafanjaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
13829166124Srafan	acsc@, use=aixterm-m,
1383050276Speter
13831166124Srafan# This flavor is adapted from xterm, in turn from aixterm documentation -TD
13832166124Srafanaixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
13833166124Srafan	use=ibm+16color, use=aixterm,
13834166124Srafan
1383550276Speter#### Infoton/General Terminal Corp.
1383650276Speter#
1383750276Speter
1383850276Speter# gt100 sounds like something DEC would come out with.  Let's hope they don't.
13839166124Srafani100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
13840166124Srafan	OTbs, am,
13841166124Srafan	cols#80, lines#24,
13842166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13843166124Srafan	cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
13844166124Srafan	ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
13845166124Srafan	ind=^J, rmso=\Ea, smso=\Eb,
13846166124Srafani400|infoton 400,
13847166124Srafan	OTbs, am,
13848166124Srafan	cols#80, lines#25,
13849166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
13850166124Srafan	cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
13851166124Srafan	dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
13852166124Srafan	il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
1385350276Speter# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
13854166124Srafanaddrinfo,
13855166124Srafan	am,
13856166124Srafan	cols#80, lines#24,
13857166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
13858166124Srafan	cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
1385950276Speter# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
13860166124Srafaninfoton,
13861166124Srafan	am,
13862166124Srafan	cols#80, lines#24,
13863166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
13864166124Srafan	ed=^K, ind=^J, ll=^H^\,
1386550276Speter
1386650276Speter# The ICL6402 was actually the Kokusai Display System 6402.
1386750276Speter# The 6404 was the KDS7372 (color version of the 6402).
13868166124Srafan#
1386950276Speter# ICL6404 control codes follow:
1387050276Speter#
1387150276Speter#code            function
1387250276Speter#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1387350276Speter#ctrl-A          set SOM position at cursor position
1387450276Speter#ctrl-G          Bell
1387550276Speter#ctrl-H          Backspace
1387650276Speter#ctrl-I          Horiz tab
1387750276Speter#ctrl-J          Linefeed
1387850276Speter#ctrl-K          Cursor up
1387950276Speter#ctrl-L          Cursor right
1388050276Speter#ctrl-M          Carriage return
1388150276Speter#ctrl-N          Disable xon/xoff to host
1388250276Speter#ctrl-O          Enable xon/xoff to host
1388350276Speter#ctrl-R          Enable bidirectional mode
1388450276Speter#ctrl-T          Disable bidirectional mode
1388550276Speter#ctrl-V          Cursor down
1388650276Speter#ctrl-Z          Clear unprotected data to insert char
1388750276Speter#ctrl-^          Cursor home
1388850276Speter#ctrl-_          Newline
1388950276Speter#
1389050276Speter#ESC             lead-in char for multiple character command
1389150276Speter#
1389250276Speter#ESC space R     execute power on sequence
1389350276Speter#ESC ! p1 p2     define scroll region:
1389450276Speter#                p1 = scroll top    line:  20h - 37h
1389550276Speter#                p1 = scroll bottom line:  20h - 37h
1389650276Speter#ESC "           unlock keyboard
1389750276Speter#ESC #           lock keyboard
1389850276Speter#ESC $           Semi-graphics mode on
1389950276Speter#ESC %           Semi-graphics mode off
1390050276Speter#ESC &           protect mode on
1390150276Speter#ESC '           protect mode off
1390250276Speter#ESC (           write protect mode off (full intensity)
1390350276Speter#ESC )           write protect mode on (half intensity)
1390450276Speter#
1390550276Speter#ESC *           clear screen
1390650276Speter#ESC +           clear unprotected data to insert char
1390750276Speter#ESC ,           clear unprotected data to half intensity spaces
1390850276Speter#ESC - p1 p2 p3 p4     address cursor to page, row, column:
1390950276Speter#                      p1 = page number  0 - 3
1391050276Speter#                      p2 = row          20h - 7fh
1391150276Speter#                      p3 = column (lo)  20h - 7fh
1391250276Speter#                      p4 = column (hi)  20h - 21h (only 132 col)
1391350276Speter#ESC . p1        set cursor style:
1391450276Speter#                p1 = 0  invisible cursor
1391550276Speter#                p1 = 1  block blinking cursor
1391650276Speter#                p1 = 2  block steady cursor
1391750276Speter#                p1 = 3  underline blinking cursor
1391850276Speter#                p1 = 4  underline steady cursor
1391950276Speter#ESC /           transmit cursor location (page, row, column)
1392050276Speter#ESC 0 p1 p2 p3 p4     program edit key:
1392150276Speter#                      p1 = edit key code: '@'-'S', '`'-'s'
1392250276Speter#                      p2 p3 p4 = program data (3 bytes)
1392350276Speter#
1392450276Speter#ESC 1           set tab
1392550276Speter#ESC 2           clear tab at cursor
1392650276Speter#ESC 3           clear all tabs
1392750276Speter#ESC 4           send unprotect line to cursor
1392850276Speter#ESC 5           send unprotect page to cursor
1392950276Speter#ESC 6           send line to cursor
1393050276Speter#ESC 7           send page to cursor
1393150276Speter#ESC 8 n         set scroll mode:
1393250276Speter#                n = 0   set jump scroll
1393350276Speter#                n = 1   set smooth scroll
1393450276Speter#ESC 9 n         control display:
1393550276Speter#                n = 0   display off
1393650276Speter#                n = 1   display on
1393750276Speter#ESC :           clear unprotected data to null
1393850276Speter#ESC ;           clear unprotected data to insert char
1393950276Speter#
1394050276Speter#ESC <           keyclick on
1394150276Speter#ESC = p1 p2     address cursor to row, column
1394250276Speter#                p1 = row          20h - 7fh
1394350276Speter#                p2 = column (lo)  20h - 7fh
1394450276Speter#                p3 = column (hi)  20h - 21h (only 132 col)
1394550276Speter#ESC >           keyclick off
1394650276Speter#ESC ?           transmit cursor location (row, column)
1394750276Speter#
1394850276Speter#ESC @           copy print mode on
1394950276Speter#ESC A           copy print mode off
1395050276Speter#ESC B           block mode on
1395150276Speter#ESC C           block mode off (conversation mode)
1395250276Speter#ESC D F         set full duplex
1395350276Speter#ESC D H         set half duplex
1395450276Speter#ESC E           line insert
1395550276Speter#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
1395650276Speter#                0 = black, 1 = red,     2 = green, 3 = yellow
1395750276Speter#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
1395850276Speter#ESC G n         set serial field attribute (n = 30h - 3Fh)
1395950276Speter#ESC H n         full graphics mode:
1396050276Speter#                n = 0  exit full graphics mode
1396150276Speter#                n = 1  enter full graphics mode
1396250276Speter#ESC I           back tab
1396350276Speter#ESC J           back page
1396450276Speter#ESC K           forward page
1396550276Speter#
1396650276Speter#ESC L           unformatted page print
1396750276Speter#ESC M L         move window left  (132 col mode only)
1396850276Speter#ESC M R         move window right (132 col mode only)
1396950276Speter#ESC N           set page edit (clear line edit)
1397050276Speter#ESC O           set line edit (clear page edit)
1397150276Speter#ESC P           formatted page print
1397250276Speter#ESC Q           character insert
1397350276Speter#ESC R           line delete
1397450276Speter#ESC S           send message unprotected only
1397550276Speter#ESC T           erase line to insert char
1397650276Speter#ESC U           set monitor mode   (see ESC X, ESC u)
1397750276Speter#
1397850276Speter#ESC V n         select video attribute mode:
1397950276Speter#                n = 0   serial field attribute mode
1398050276Speter#                n = 1   parallel character attribute mode
1398150276Speter#ESC V 2 n       define line attribute:
1398250276Speter#                n = 0   single width single height
1398350276Speter#                n = 1   single width double height
1398450276Speter#                n = 2   double width single height
1398550276Speter#                n = 3   double width double height
1398650276Speter#ESC V 3 n       select character font:
1398750276Speter#                n = 0   system font
1398850276Speter#                n = 1   user defined font
1398950276Speter#ESC V 4 n       select screen mode:
1399050276Speter#                n = 0   page screen mode
1399150276Speter#                n = 1   virtual screen mode
1399250276Speter#ESC V 5 n       control mouse mode:
1399350276Speter#                n = 0   disable mouse
1399450276Speter#                n = 1   enable sample mode
1399550276Speter#                n = 2   send mouse information
1399650276Speter#                n = 3   enable request mode
1399750276Speter#ESC W           character delete
1399850276Speter#ESC X           clear monitor mode (see ESC U, ESC u)
1399950276Speter#ESC Y           erase page to insert char
1400050276Speter#
1400150276Speter#ESC Z n         send user/status line:
1400250276Speter#                n = 0   send user line
1400350276Speter#                n = 1   send status line
1400450276Speter#                n = 2   send terminal ID
1400550276Speter#ESC [ p1 p2 p3  set character attribute (parallel char mode):
1400650276Speter#                p1: 0 = normal
1400750276Speter#                    1 = blank
1400850276Speter#                    2 = blink
1400950276Speter#                    3 = blink blank (= blank)
1401050276Speter#                    4 = reverse
1401150276Speter#                    5 = reverse blank
1401250276Speter#                    6 = reverse blink
1401350276Speter#                    7 = reverse blink blank (= reverse blank)
1401450276Speter#                    8 = underline
1401550276Speter#                    9 = underline blank
1401650276Speter#                    : = underline blink
1401750276Speter#                    ; = underline blink blank
1401850276Speter#                    < = reverse underline
1401950276Speter#                    = = reverse underline blank
1402050276Speter#                    > = reverse underline blink
1402150276Speter#                    ? = reverse underline blink blank
1402250276Speter#                p2, p3: f/grnd, b/grnd colour
1402350276Speter#                (see ESC F for colours)
1402450276Speter#                use ZZ for mono, eg.
1402550276Speter#                    ESC [ 0 Z Z for normal
1402650276Speter#                    ESC [ 4 Z Z for inverse etc.
1402750276Speter#
1402850276Speter#ESC \ n         set page size:
1402950276Speter#                n = 1   24 lines/page
1403050276Speter#                n = 2   48 lines/page
1403150276Speter#                n = 3   72 lines/page
1403250276Speter#                n = 4   96 lines/page
1403350276Speter#ESC ] n         set Wordstar mode:
1403450276Speter#                n = 0   normal (KDS7372) mode
1403550276Speter#                n = 1   Wordstar mode
1403650276Speter#
1403750276Speter#ESC b           set foreground colour screen
1403850276Speter#
1403950276Speter#ESC c n         enter self-test mode:
1404050276Speter#                n = 0   exit self test mode
1404150276Speter#                n = 1   ROM test
1404250276Speter#                n = 2   RAM test
1404350276Speter#                n = 3   NVRAM test
1404450276Speter#                n = 4   screen display test
1404550276Speter#                n = 5   main/printer port test
1404650276Speter#                n = 6   mouse port test
1404750276Speter#                n = 7   graphics board test
1404850276Speter#                n = 8   graphics memory test
1404950276Speter#                n = 9   display all 'E'
1405050276Speter#                n = :   display all 'H'
1405150276Speter#ESC d           set background colour screen
1405250276Speter#
1405350276Speter#ESC e n         program insert char (n = insert char)
1405450276Speter#ESC f text CR   load user status line with 'text'
1405550276Speter#
1405650276Speter#ESC g           display user status line on 25th line
1405750276Speter#ESC h           display system status line on 25th line
1405850276Speter#ESC i           tab
1405950276Speter#ESC j           reverse linefeed
1406050276Speter#ESC k n         duplex/local edit mode:
1406150276Speter#                n = 0   duplex edit mode
1406250276Speter#                n = 1   local edit mode
1406350276Speter#ESC l n         select virtual screen:
1406450276Speter#                n = 0   screen 1
1406550276Speter#                n = 1   screen 2
1406650276Speter#ESC m           save current config to NVRAM
1406750276Speter#ESC n p1        select display screen:
1406850276Speter#                p1 = 0  screen 1
1406950276Speter#                p1 = 1  screen 2
1407050276Speter#                p1 = 2  screen 3
1407150276Speter#                p1 = 3  screen 4
1407250276Speter#ESC o p1 p2     set characters/line and attribute:
1407350276Speter#                p1 = 0  80 chars/line
1407450276Speter#
1407550276Speter#ESC o p1 p2     set characters/line and attribute:
1407650276Speter#                p1 = 0  80 chars/line
1407750276Speter#                p1 = 1  132 chars/line
1407850276Speter#                p2 = 0  single width single height
1407950276Speter#                p2 = 1  single width double height
1408050276Speter#                p2 = 2  double width single height
1408150276Speter#                p2 = 3  double width double height
1408250276Speter#
1408350276Speter#ESC q           insert mode on
1408450276Speter#ESC r           edit mode on
1408550276Speter#ESC s           send message all
1408650276Speter#ESC t           erase line to null
1408750276Speter#ESC u           clear monitor mode (see ESC U, ESC X)
1408850276Speter#ESC v           autopage mode on
1408950276Speter#ESC w           autopage mode off
1409050276Speter#ESC x p1 p2 p3  define delimiter code...
1409150276Speter#ESC y           erase page to null
1409250276Speter#
1409350276Speter#ESC z 2 p1 p2 p3 p4   draw quadrangle:
1409450276Speter#                      p1 = starting row
1409550276Speter#                      p2 = starting column
1409650276Speter#                      p3 = end row
1409750276Speter#                      p4 = end column
1409850276Speter#
1409950276Speter#ESC { p1 p2 p3 p4     configure main port
1410050276Speter#                      (baud, stop bits, parity, word length)
1410150276Speter#
1410250276Speter#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
1410350276Speter#                        p1 = function key code:
1410450276Speter#                             '1' - ';'  normal f1- f11
1410550276Speter#                             '<' - 'F'  shifted f1 - f11
1410650276Speter#                        p2 = program mode:
1410750276Speter#                             1 = FDX
1410850276Speter#                             2 = LOC
1410950276Speter#                             3 = HDX
1411050276Speter#                        Ctrl-Y = terminator
1411150276Speter#                        (use Ctrl-P to escape ^P, ^Y )
1411250276Speter#
1411350276Speter#ESC } p1 p2 p3 p4     configure printer port
1411450276Speter#                      (baud, stop bits, parity, word length)
1411550276Speter#ESC ~           send system status
1411650276Speter#
1411750276Speter# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
1411850276Speter#
1411950276Speter# Entry is by esr going solely on above information and is UNTESTED.
1412050276Speter# This actually looks a lot like a Televideo 9xx.
1412150276Speter# This entry uses page 0 and is monochrome; I'm not brave enough to try
1412250276Speter# to make color work without a test terminal.  The <am> capability is a guess.
1412350276Speter# The initialization string sets conversation mode, blinking underline cursor,
1412450276Speter# full duplex, parallel attribute mode, display user status line, white
1412550276Speter# foreground, black background, normal highlight.
1412650276Speter#
14127166124Srafanicl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
14128166124Srafan	OTbs, am, hs,
14129166124Srafan	cols#80, lines#24,
14130166124Srafan	bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
14131166124Srafan	cnorm=\E.3, cr=^M,
14132166124Srafan	csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
14133166124Srafan	cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
14134166124Srafan	cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I,
14135166124Srafan	hts=\E1, il1=\EE, invis=\E[1ZZ,
14136166124Srafan	is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
14137166124Srafan	rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
14138166124Srafan	rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
14139166124Srafan	sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
14140166124Srafan	sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
14141166124Srafanicl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
14142166124Srafan	rs2=\Eo1, use=icl6404,
1414350276Speter
1414450276Speter#### Interactive Systems Corp
1414550276Speter#
1414650276Speter# ISC used to sell OEMed and customized hardware to support ISC UNIX.
1414750276Speter# ISC UNIX still exists in 1995, but ISC itself is no more; they got
1414850276Speter# bought out by Sun.
1414950276Speter#
1415050276Speter
1415150276Speter# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1415250276Speter# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1415350276Speter# ":le=^_:" later overridden -- esr)
14154166124Srafanintext|Interactive Systems Corporation modified owl 1200,
14155166124Srafan	OTbs, am,
14156166124Srafan	cols#80, it#8, lines#24, xmc#1,
14157166124Srafan	bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
14158166124Srafan	cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
14159166124Srafan	dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
14160166124Srafan	el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
14161166124Srafan	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
14162166124Srafan	kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
14163166124Srafan	kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
14164166124Srafan	rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%,
14165166124Srafan	smso=^V$\,,
14166166124Srafanintext2|intextii|INTERACTIVE modified owl 1251,
14167166124Srafan	am, bw, ul,
14168166124Srafan	cols#80, lines#24, xmc#0,
14169166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
14170166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
14171166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K,
14172166124Srafan	flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
14173166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
14174166124Srafan	kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
14175166124Srafan	kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
14176166124Srafan	kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
14177166124Srafan	khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
14178166124Srafan	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
14179166124Srafan	lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
14180166124Srafan	smul=\E[18 D,
1418150276Speter
1418250276Speter#### Kimtron (abm, kt)
1418350276Speter#
14184166124Srafan# Kimtron seems to be history, but as March 1998 these people are still
1418550276Speter# offering repair services for Kimtron equipment:
1418650276Speter#
1418750276Speter#    Com/Pair Monitor Service
1418850276Speter#    1105 N. Cliff Ave.
1418950276Speter#    Sioux Falls, South Dakota 57103
14190166124Srafan#
1419150276Speter#    WATS voice:  1-800/398-4946
1419250276Speter#    POTS   fax: +1 605/338-8709
1419350276Speter#    POTS voice: +1 605/338-9650
1419450276Speter#         Email: <compair@sd.cybernex.net>
1419550276Speter#  Internet/Web: <http://www.com-pair.com>
1419650276Speter#
1419750276Speter# Kimtron entries include (undocumented) codes for: enter dim mode,
1419850276Speter# enter bold mode, enter reverse mode, turn off all attributes.
1419950276Speter#
1420050276Speter
1420150276Speter# Kimtron ABM 85 added by Dual Systems
1420250276Speter# (abm85: removed duplicated ":kd=^J:" -- esr)
14203166124Srafanabm85|Kimtron ABM 85,
14204166124Srafan	OTbs, am, bw, msgr,
14205166124Srafan	cols#80, it#8, lines#24, xmc#1,
14206166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
14207166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14208166124Srafan	dl1=\ER, ed=\Ey, el=\Et, ht=^I,
14209166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE,
14210166124Srafan	is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
14211166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
14212166124Srafan	rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1421350276Speter# Kimtron ABM 85H added by Dual Systems.
1421450276Speter# Some notes about the abm85h entries:
1421550276Speter# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1421650276Speter#    firmware revs prior to SP51
1421750276Speter# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
1421850276Speter#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
1421950276Speter#    in some places and NOT software settable i.e., <is2> can't fix it)
1422050276Speter# 3) In 85h mode, the arrow keys and special functions transmit when
1422150276Speter#    the terminal is in dup-edit, and work only locally in local-edit.
1422250276Speter#    Vi won't swallow `del char' for instance, but <smcup> turns on
1422350276Speter#    dup-edit anyway so that the arrow keys will work right. If the
1422450276Speter#    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
1422550276Speter#    <is2>.  Note that 920E mode does not have software commands to toggle
1422650276Speter#    between dup and local edit, so you get whatever was set last on the
1422750276Speter#    terminal.
1422850276Speter# 4) <flash> attribute is nice, but seems too slow to work correctly
1422950276Speter#    (\Eb<pad>\Ed)
1423050276Speter# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1423150276Speter#    are selected, the <xmc@> entry should be removed.
1423250276Speter# 6) auto new-line should be on (selectable from setup mode only)
1423350276Speter#
1423450276Speter# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
14235166124Srafanabm85h|Kimtron ABM 85H native mode,
14236166124Srafan	hs,
14237166124Srafan	xmc@,
14238166124Srafan	bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
14239166124Srafan	fsl=^M, invis@,
14240166124Srafan	is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
14241166124Srafan	kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr,
14242166124Srafan	use=abm85,
14243166124Srafanabm85e|Kimtron ABM 85H in 920E mode,
14244166124Srafan	xmc@,
14245166124Srafan	bel=^G, dim=\E), flash@,
14246166124Srafan	is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
14247166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
14248166124Srafanabm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
14249166124Srafan	xmc@,
14250166124Srafan	bel=^G, dim=\E),
14251166124Srafan	is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
14252166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1425350276Speter# From: <malman@bbn-vax.arpa>
1425450276Speter# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
14255166124Srafankt7|kimtron model kt-7,
14256166124Srafan	OTbs, am,
14257166124Srafan	cols#80, it#8, lines#24,
14258166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
14259166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14260166124Srafan	dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
14261166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
14262166124Srafan	kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
14263166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
14264166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
14265166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
14266166124Srafan	kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr,
1426750276Speter# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
1426850276Speter# other kt7 entry and the adjacent key capabilities).  Removed EE which is
1426950276Speter# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
1427050276Speter# but we can't figure out what.
14271166124Srafankt7ix|kimtron model kt-7 or 70 in IX mode,
14272166124Srafan	am, bw,
14273166124Srafan	cols#80, it#8, lines#25,
14274166124Srafan	acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
14275166124Srafan	civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
14276166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14277166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
14278166124Srafan	home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
14279166124Srafan	is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
14280166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
14281166124Srafan	ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
14282166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14283166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
14284166124Srafan	nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0,
14285166124Srafan	sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
1428650276Speter
1428750276Speter#### Microdata/MDIS
1428850276Speter#
1428950276Speter# This was a line of terminals made by McDonnell-Douglas Information Systems.
1429050276Speter# These entries come direct from MDIS documentation.  I have edited them only
1429150276Speter# to move primary names of the form p[0-9] * to aliases, and to comment out
14292166124Srafan# <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
1429350276Speter# also removed the change history; the last version indicates this is
1429450276Speter# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
1429550276Speter#
1429650276Speter
1429750276Speter# McDonnell Information Systems Terminal Family History
1429850276Speter# =========================================
1429950276Speter#
1430050276Speter# Prism-1, Prism-2 and P99:
1430150276Speter#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
1430250276Speter#
1430350276Speter# Prism-4 and Prism-5:
1430450276Speter#       Slightly less ancient range of Microdata terminals. Follow-on from
1430550276Speter#       Prism-2, but with many enhancements. P5 has eight display pages.
1430650276Speter#
1430750276Speter# Prism-6:
1430850276Speter#       A special terminal for use with library systems, primarily in Germany.
1430950276Speter#       Limited numbers. Similar functionality to P5 (except attributes?).
1431050276Speter#
1431150276Speter# Prism-7, Prism-8 and Prism-9:
1431250276Speter#       More recent range of MDIS terminals, in which P7 and P8
1431350276Speter#       replace the P4 & P5, with added functionality, and P9 is the flagship.
1431450276Speter#       The P9 has two emulation modes - P8 and ANSI - and includes a
1431550276Speter#       large number of the DEC VT220 control sequences. Both
1431650276Speter#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
1431750276Speter#
1431850276Speter# Prism-12 and Prism-14:
1431950276Speter#       Latest range, functionally very similar to the P9.  The P14 has a
1432050276Speter#       black-on-white overscanning screen.
1432150276Speter#
1432250276Speter# The terminfo definitions given here are:
1432350276Speter#
1432450276Speter# p2      - Prism-2 (or Prism-1 or P99).
1432550276Speter#
1432650276Speter# p4      - Prism-4 (and older P7s & P8s).
1432750276Speter# p5      - Prism-5 (or Prism-6).
1432850276Speter#
1432950276Speter# p7      - Prism-7.
1433050276Speter# p8      - Prism-8 (in national or multinational mode).
1433150276Speter# p8-w    - 132 column version of p8.
1433250276Speter# p9      - Prism-9 in ANSI mode.
1433350276Speter# p9-w    - 132 column version of p9.
1433450276Speter# p9-8    - Prism-9 in Prism-8 emulation mode.
1433550276Speter# p9-8-w  - As p9-8, but with 132 columns.
1433650276Speter#
1433750276Speter# p12     - Prism-12 in ANSI mode.
1433850276Speter# p12-w   - 132 column version of p12.
1433950276Speter# p12-m   - Prism-12 in MDC emulation mode.
1434050276Speter# p12-m-w - As p12-m, but with 132 columns.
1434150276Speter# p14     - Prism-14 in ANSI mode.
1434250276Speter# p14-w   - 132 column version of p14.
1434350276Speter# p14-m   - Prism-14 in MDC emulation mode.
1434450276Speter# p14-m-w - As p14-m, but with 132 columns.
1434550276Speter#
1434650276Speter# p2: Prism-2
1434750276Speter# -----------
1434850276Speter#
1434950276Speter# Includes Prism-1 and basic P99 without SP or MP loaded.
1435050276Speter# The simplest form of Prism-type terminal.
1435150276Speter# Basic cursor movement and clearing operations only.
1435250276Speter# No video attributes.
1435350276Speter# Notes:
1435450276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1435550276Speter#  value up, followed by backspace.
1435650276Speter#
14357166124Srafanprism2|MDC Prism-2,
14358166124Srafan	am, bw, msgr,
14359166124Srafan	cols#80, lines#24,
14360166124Srafan	bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14361166124Srafan	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,
14362166124Srafan	cuu1=^Z, ed=\EJ, el=\EK, home=^A,
14363166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14364166124Srafan	ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1436550276Speter
1436650276Speter# p4: Prism-4
1436750276Speter# -----------
1436850276Speter#
1436950276Speter# Includes early versions of P7 & P8.
1437050276Speter# Basic family definition for most Prisms (except P2 and P9 ANSI).
1437150276Speter# Notes:
1437250276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1437350276Speter#  value up, followed by backspace.
1437450276Speter#  Cursor key definitions removed because they interfere with vi and csh keys.
1437550276Speter#
14376166124Srafanprism4|p4|P4|MDC Prism-4,
14377166124Srafan	am, bw, hs, mc5i, msgr,
14378166124Srafan	cols#80, lines#24, wsl#72, xmc#1,
14379166124Srafan	bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
14380166124Srafan	cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14381166124Srafan	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,
14382166124Srafan	cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
14383166124Srafan	fsl=^]\345, home=^A,
14384166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14385166124Srafan	ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
14386166124Srafan	rev=^CD, rmso=^C\s, rmul=^C\s,
14387166124Srafan	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%;,
14388166124Srafan	sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
14389166124Srafan	vpa=\013%p1%{32}%+%c,
1439050276Speter
1439150276Speter# p5: Prism-5
1439250276Speter# -----------
1439350276Speter#
1439450276Speter# Same definition as p4. Includes Prism-6 (not tested!).
1439550276Speter# Does not use any multi-page features.
1439650276Speter#
14397166124Srafanprism5|p5|P5|MDC Prism-5,
14398166124Srafan	use=p4,
1439950276Speter
1440050276Speter# p7: Prism-7
1440150276Speter# -----------
1440250276Speter#
1440350276Speter# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
1440450276Speter# Notes:
1440550276Speter#  Use p4 for very early models of P7.
1440650276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1440750276Speter#
14408166124Srafanprism7|p7|P7|MDC Prism-7,
14409166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1441050276Speter
1441150276Speter# p8: Prism-8
1441250276Speter# -----------
1441350276Speter#
1441450276Speter# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
1441550276Speter# Supports national and multinational character sets.
1441650276Speter# Notes:
1441750276Speter#  Alternate char set operations only work in multinational mode.
1441850276Speter#  Use p4 for very early models of P8.
1441950276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1442050276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1442150276Speter#
14422166124Srafanprism8|p8|P8|MDC Prism-8,
14423166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
14424166124Srafan	vpa=\E[%i%p1%dd, use=p4,
1442550276Speter
1442650276Speter# p8-w: Prism-8 in 132 column mode
1442750276Speter# --------------------------------
1442850276Speter#
1442950276Speter# 'Wide' version of p8.
1443050276Speter# Notes:
1443150276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1443250276Speter#
14433166124Srafanprism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
14434166124Srafan	cols#132,
14435166124Srafan	is2=\E[<12h\E[<14h, use=p8,
1443650276Speter
1443750276Speter# p9: Prism-9 in ANSI mode
1443850276Speter# -------------------------
1443950276Speter#
1444050276Speter# The "flagship" model of this generation of terminals.
1444150276Speter# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
1444250276Speter# Notes:
1444350276Speter#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
1444450276Speter#  Fixes to deal with terminal firmware bugs:
1444550276Speter#  . 'ri' uses insert-line since rev index doesn't always
1444650276Speter#  . 'sgr0' has extra '0' since esc[m fails
1444750276Speter#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
1444850276Speter#  Not covered in the current definition:
1444950276Speter#  . Labels
1445050276Speter#  . Programming Fn keys
1445150276Speter#  . Graphic characters (defaults correctly to vt100)
1445250276Speter#  . Padding values (sets xon)
1445350276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1445450276Speter#
14455166124Srafanprism9|p9|P9|MDC Prism-9 in ANSII mode,
14456166124Srafan	am, bw, hs, mc5i, msgr, xenl, xon,
14457166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#72,
14458166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
14459166124Srafan	clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
14460166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
14461166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
14462166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
14463166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
14464166124Srafan	ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
14465166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
14466166124Srafan	is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
14467166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
14468166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
14469166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
14470166124Srafan	kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
14471166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
14472166124Srafan	khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
14473166124Srafan	prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
14474166124Srafan	ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
14475166124Srafan	rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
14476166124Srafan	sc=\E[%y,
14477166124Srafan	sgr=\E[%{0}%?%p1%p3%|%t%{7}%+%;%?%p2%t%{2}%+%;%?%p4%t%{5}%+%;%?%p6%t%{1}%+%;m%?%p8%t\E[%{32}%+%d%%{%;%?%p9%t\016%e\017%;,
14478166124Srafan	sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
14479166124Srafan	tbc=\E[2g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
1448050276Speter
1448150276Speter# p9-w: Prism-9 in 132 column mode
1448250276Speter# --------------------------------
1448350276Speter#
1448450276Speter# 'Wide' version of p9.
1448550276Speter#
14486166124Srafanprism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
14487166124Srafan	cols#132,
14488166124Srafan	is2=\E[&p\E[<12l\E F\E[<14h,
14489166124Srafan	rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1449050276Speter
1449150276Speter# p9-8: Prism-9 in P8 mode
1449250276Speter# ------------------------
1449350276Speter#
1449450276Speter# P9 terminal in P8 emulation mode.
1449550276Speter# Similar to p8 definition.
1449650276Speter# Insertion and deletion operations possible.
1449750276Speter#
14498166124Srafanprism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
14499166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14500166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1450150276Speter
1450250276Speter# p9-8-w: Prism-9 in P8 and 132 column modes
1450350276Speter# ------------------------------------------
1450450276Speter#
1450550276Speter# P9 terminal in P8 emulation mode and 132 column mode.
1450650276Speter#
14507166124Srafanprism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
14508166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14509166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1451050276Speter
1451150276Speter# p12: Prism-12 in ANSI mode
1451250276Speter# ---------------------------
1451350276Speter#
1451450276Speter# See p9 definition.
1451550276Speter#
14516166124Srafanprism12|p12|P12|MDC Prism-12 in ANSI mode,
14517166124Srafan	use=p9,
1451850276Speter
1451950276Speter# p12-w: Prism-12 in 132 column mode
1452050276Speter# ----------------------------------
1452150276Speter#
1452250276Speter# 'Wide' version of p12.
1452350276Speter#
14524166124Srafanprism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
14525166124Srafan	use=p9-w,
1452650276Speter
1452750276Speter# p12-m: Prism-12 in MDC emulation mode
1452850276Speter# -------------------------------------
1452950276Speter#
1453050276Speter# P12 terminal in MDC emulation mode.
1453150276Speter# Similar to p8 definition.
1453250276Speter# Insertion and deletion operations possible.
1453350276Speter#
14534166124Srafanprism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
14535166124Srafan	use=p9-8,
1453650276Speter
1453750276Speter# p12-m-w: Prism-12 in MDC emulation and 132 column modes
1453850276Speter# -------------------------------------------------------
1453950276Speter#
1454050276Speter# P12 terminal in MDC emulation mode and 132 column mode.
1454150276Speter#
14542166124Srafanprism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
14543166124Srafan	use=p9-8-w,
1454450276Speter
1454550276Speter# p14: Prism-14 in ANSII mode
1454650276Speter# ---------------------------
1454750276Speter#
1454850276Speter# See p9 definition.
1454950276Speter#
14550166124Srafanprism14|p14|P14|MDC Prism-14 in ANSII mode,
14551166124Srafan	use=p9,
1455250276Speter
1455350276Speter# p14-w: Prism-14 in 132 column mode
1455450276Speter# ----------------------------------
1455550276Speter#
1455650276Speter# 'Wide' version of p14.
1455750276Speter#
14558166124Srafanprism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
14559166124Srafan	use=p9-w,
1456050276Speter
1456150276Speter# p14-m: Prism-14 in MDC emulation mode
1456250276Speter# -------------------------------------
1456350276Speter#
1456450276Speter# P14 terminal in MDC emulation mode.
1456550276Speter# Similar to p8 definition.
1456650276Speter# Insertion and deletion operations possible.
1456750276Speter#
14568166124Srafanprism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
14569166124Srafan	use=p9-8,
1457050276Speter
1457150276Speter# p14-m-w: Prism-14 in MDC emulation and 132 column modes
1457250276Speter# -------------------------------------------------------
1457350276Speter#
1457450276Speter# P14 terminal in MDC emulation mode and 132 column mode.
1457550276Speter#
14576166124Srafanprism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
14577166124Srafan	use=p9-8-w,
1457850276Speter
1457950276Speter# End of McDonnell Information Systems Prism definitions
1458050276Speter
1458150276Speter# These things were popular in the Pick database community at one time
1458250276Speter# From: George Land <georgeland@aol.com> 24 Sep 1996
14583166124Srafanp8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
14584166124Srafan	am, bw, hs, mir,
14585166124Srafan	cols#80, lines#24, ma#1, wsl#78, xmc#1,
14586166124Srafan	bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
14587166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
14588166124Srafan	ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
14589166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
14590166124Srafan	kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
14591166124Srafan	kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
14592166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14593166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
14594166124Srafan	lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
14595166124Srafan	pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
14596166124Srafan	smul=^C0,
1459750276Speter
1459850276Speter#### Microterm (act, mime)
1459950276Speter#
1460050276Speter# The mime1 entries refer to the Microterm Mime I or Mime II.
1460150276Speter# The default mime is assumed to be in enhanced act iv mode.
1460250276Speter#
1460350276Speter
1460450276Speter# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1460550276Speter# freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
1460650276Speter# <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
1460750276Speter# since Sytek insists ^S means xoff.
1460850276Speter# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
14609166124Srafanact4|microterm|microterm act iv,
14610166124Srafan	OTbs, am,
14611166124Srafan	cols#80, lines#24,
14612166124Srafan	bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
14613166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
14614166124Srafan	cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
14615166124Srafan	ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
14616166124Srafan	il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
14617166124Srafan	kcuu1=^Z,
1461850276Speter# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
1461950276Speter# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
1462050276Speter# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
14621166124Srafanact5|microterm5|microterm act v,
14622166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA,
14623166124Srafan	use=act4,
1462450276Speter# Mimes using brightness for standout.  Half bright is really dim unless
1462550276Speter# you turn up the brightness so far that lines show up on the screen.
14626166124Srafanmime-fb|full bright mime1,
14627166124Srafan	is2=^S\E, rmso=^S, smso=^Y, use=mime,
14628166124Srafanmime-hb|half bright mime1,
14629166124Srafan	is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1463050276Speter# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1463150276Speter# the more plausible ":do=^J:" -- esr)
1463250276Speter# uc was at one time disabled to get around a curses bug, be wary of it
14633166124Srafanmime|mime1|mime2|mimei|mimeii|microterm mime1,
14634166124Srafan	OTbs, am,
14635166124Srafan	cols#80, it#8, lines#24, vt#9,
14636166124Srafan	bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
14637166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
14638166124Srafan	cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
14639166124Srafan	il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
14640166124Srafan	kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1464150276Speter# These termcaps (for mime2a) put the terminal in low intensity mode
1464250276Speter# since high intensity mode is so obnoxious.
14643166124Srafanmime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
14644166124Srafan	OTbs, am,
14645166124Srafan	cols#80, lines#24,
14646166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14647166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
14648166124Srafan	dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
14649166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
14650166124Srafan	kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
14651166124Srafan	smir=\EE, smso=\E\:, smul=\E6,
1465250276Speter# This is the preferred mode (but ^X can't be used as a kill character)
14653166124Srafanmime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
14654166124Srafan	OTbs,
14655166124Srafan	cols#80, it#8, lines#24,
14656166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14657166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
14658166124Srafan	dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
14659166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
14660166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
14661166124Srafan	rmul=\E5, smir=^O, smso=\E8, smul=\E4,
1466250276Speter# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
14663166124Srafanmime3a|mime1 emulating 3a,
14664166124Srafan	am@,
14665166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
14666166124Srafanmime3ax|mime-3ax|mime1 emulating enhanced 3a,
14667166124Srafan	it#8,
14668166124Srafan	dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>,
14669166124Srafan	use=mime3a,
1467050276Speter# Wed Mar  9 18:53:21 1983
1467150276Speter# We run our terminals at 2400 baud, so there might be some timing problems at
14672166124Srafan# higher speeds. The major improvements in this model are the terminal now
1467350276Speter# scrolls down and insert mode works without redrawing the rest of the line
1467450276Speter# to the right of the cursor. This is done with a bit of a kludge using the
1467550276Speter# exit graphics mode to get out of insert, but it does not appear to hurt
1467650276Speter# anything when using vi at least. If you have some users using act4s with
1467750276Speter# programs that use curses and graphics mode this could be a problem.
14678166124Srafanmime314|mm314|mime 314,
14679166124Srafan	am,
14680166124Srafan	cols#80, lines#24,
14681166124Srafan	clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
14682166124Srafan	dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
14683166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1468450276Speter# Microterm mime 340 from University of Wisconsin
14685166124Srafanmm340|mime340|mime 340,
14686166124Srafan	cols#80, lines#24,
14687166124Srafan	clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14688166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14689166124Srafan	dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
14690166124Srafan	el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
14691166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1469250276Speter# This came from University of Wisconsin marked "astro termcap for jooss".
1469350276Speter# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
1469450276Speter# also added <rmam>/<smam> based  on the init string -- esr)
14695166124Srafanmt4520-rv|micro-term 4520 reverse video,
14696166124Srafan	am, hs, msgr, xenl, xon,
14697166124Srafan	cols#80, it#8, lines#24, wsl#80,
14698166124Srafan	bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
14699166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
14700166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
14701166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
14702166124Srafan	cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
14703166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
14704166124Srafan	fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
14705166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
14706166124Srafan	is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
14707166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
14708166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
14709166124Srafan	ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
14710166124Srafan	ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
14711166124Srafan	rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
14712166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
14713166124Srafan	tbc=\E[g, tsl=\E[25;1H,
1471450276Speter
1471550276Speter# Fri Aug  5 08:11:57 1983
1471650276Speter# This entry works for the ergo 4000 with the following setups:
1471750276Speter# ansi,wraparound,newline disabled, xon/xoff disabled in both
1471850276Speter# setup a & c.
14719166124Srafan#
1472050276Speter# WARNING!!! There are multiple versions of ERGO 4000 microcode
14721166124Srafan# Be advised that very early versions DO NOT WORK RIGHT !!
1472250276Speter# Microterm does have a ROM exchange program- use it or lose big
1472350276Speter# (ergo400: added <rmam>/<smam> based on the init string -- esr)
14724166124Srafanergo4000|microterm ergo 4000,
14725166124Srafan	da, db, msgr,
14726166124Srafan	cols#80, lines#66,
14727166124Srafan	bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
14728166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
14729166124Srafan	dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
14730166124Srafan	el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>,
14731166124Srafan	is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
14732166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
14733166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
14734166124Srafan	lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
14735166124Srafan	rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
14736166124Srafan	smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
14737166124Srafan	smso=\E[7m$<20>,
1473850276Speter
14739166124Srafan#### NCR
1474050276Speter#
1474150276Speter# NCR's terminal group was merged with AT&T's when AT&T bought the company.
1474250276Speter# For what happened to that group, see the ADDS section.
1474350276Speter#
1474450276Speter# There is an NCR4103 terminal that's just a re-badged Wyse-50.
1474550276Speter#
1474650276Speter
1474750276Speter# The following vendor-supplied termcaps were captured from the Boundless
1474850276Speter# Technologies site, 8 March 1998.  I removed all-upper-case names that were
1474950276Speter# identical, except for case, to lower-case ones.  I also uncommented the acsc
1475050276Speter# capabilities.X
1475150276Speter#
1475262449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1475350276Speter# DEC vt200/300 with color capabilities added.
14754166124Srafanncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14755166124Srafan	colors#8, pairs#64,
14756166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14757166124Srafan	use=ncr260vt300an,
1475862449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1475950276Speter# DEC vt200/300 with color capabilities added.
14760166124Srafanncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14761166124Srafan	colors#8, pairs#64,
14762166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14763166124Srafan	use=ncr260vt300wan,
1476462449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1476562449Speter# DEC vt200/300 with color capabilities added.
14766166124Srafanncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
14767166124Srafan	colors#8, pairs#64,
14768166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14769166124Srafan	use=ncr260vt300pp,
1477050276Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1477150276Speter# DEC vt200/300 with color capabilities added.
14772166124Srafanncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
14773166124Srafan	colors#8, pairs#64,
14774166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14775166124Srafan	use=ncr260vt300wpp,
1477650276Speter# This definition for ViewPoint supports several attributes.  This means
1477750276Speter# that it has magic cookies (extra spaces where the attributes begin).
1477850276Speter# Some applications do not function well with magic cookies.  The System
14779166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1478050276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
14781166124Srafan# attributes can be removed.
14782166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1478350276Speter# restored if needed.
14784166124Srafanncr260vppp|NCR 2900_260 viewpoint,
14785166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
14786166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
14787166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
14788166124Srafan	cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
14789166124Srafan	cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
14790166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
14791166124Srafan	dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, ed=\Ek$<2>,
14792166124Srafan	el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, hts=\E1,
14793166124Srafan	il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
14794166124Srafan	is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14795166124Srafan	kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
14796166124Srafan	kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
14797166124Srafan	kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
14798166124Srafan	kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
14799166124Srafan	kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
14800166124Srafan	kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
14801166124Srafan	kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
14802166124Srafan	kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
14803166124Srafan	kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
14804166124Srafan	kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
14805166124Srafan	kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
14806166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
14807166124Srafan	nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
14808166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
14809166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14810166124Srafan	sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
14811166124Srafan	smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
14812166124Srafanncr260vpwpp|NCR 2900_260 viewpoint wide mode,
14813166124Srafan	cols#132,
14814166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
14815166124Srafan	is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14816166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14817166124Srafan	use=ncr260vppp,
14818166124Srafanncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
14819166124Srafan	am, hs, mir, msgr, xenl, xon,
14820166124Srafan	cols#80, lines#24, nlab#32,
14821166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14822166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14823166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14824166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
14825166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14826166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14827166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14828166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14829166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14830166124Srafan	ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
14831166124Srafan	fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
14832166124Srafan	hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
14833166124Srafan	il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
14834166124Srafan	invis=\E[8m,
14835166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14836166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14837166124Srafan	kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
14838166124Srafan	knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>,
14839166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
14840166124Srafan	rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
14841166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14842166124Srafan	sc=\E7,
14843166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14844166124Srafan	sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
14845166124Srafan	smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
14846166124Srafan	tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
14847166124Srafanncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
14848166124Srafan	cols#132,
14849166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14850166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14851166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14852166124Srafan	use=ncr260vt100an,
14853166124Srafanncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
14854166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14855166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14856166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14857166124Srafan	kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
14858166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
14859166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14860166124Srafan	smkx=\E=, use=ncr260vt100an,
14861166124Srafanncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
14862166124Srafan	cols#132,
14863166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14864166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14865166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14866166124Srafan	use=ncr260vt100pp,
14867166124Srafanncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
14868166124Srafan	am, hs, mir, msgr, xenl, xon,
14869166124Srafan	cols#80, lines#24, nlab#32,
14870166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14871166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14872166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14873166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
14874166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14875166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14876166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14877166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14878166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14879166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
14880166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
14881166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
14882166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
14883166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14884166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14885166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
14886166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
14887166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
14888166124Srafan	kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~,
14889166124Srafan	kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~,
14890166124Srafan	kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~,
14891166124Srafan	kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
14892166124Srafan	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
14893166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
14894166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
14895166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
14896166124Srafan	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
14897166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
14898166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14899166124Srafan	sc=\E7,
14900166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14901166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
14902166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
14903166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
14904166124Srafan	use=vt220+keypad,
14905166124Srafanncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
14906166124Srafan	cols#132,
14907166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14908166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
14909166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
14910166124Srafan	use=ncr260vt200an,
14911166124Srafanncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
14912166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14913166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14914166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14915166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
14916166124Srafan	use=ncr260vt200an,
14917166124Srafanncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
14918166124Srafan	cols#132,
14919166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14920166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14921166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14922166124Srafan	use=ncr260vt200pp,
14923166124Srafanncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
14924166124Srafan	am, hs, mir, msgr, xenl, xon,
14925166124Srafan	cols#80, lines#24, nlab#32,
14926166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14927166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14928166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14929166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
14930166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14931166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14932166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14933166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14934166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14935166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
14936166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
14937166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
14938166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
14939166124Srafan	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>,
14940166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14941166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
14942166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
14943166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
14944166124Srafan	kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~,
14945166124Srafan	kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~,
14946166124Srafan	kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~,
14947166124Srafan	kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~,
14948166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
14949166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14950166124Srafan	krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
14951166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>,
14952166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
14953166124Srafan	rmul=\E[24m,
14954166124Srafan	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>,
14955166124Srafan	sc=\E7,
14956166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14957166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
14958166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
14959166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
14960166124Srafan	use=vt220+keypad,
14961166124Srafanncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
14962166124Srafan	cols#132,
14963166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14964166124Srafan	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>,
14965166124Srafan	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>,
14966166124Srafan	use=ncr260vt300an,
14967166124Srafanncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
14968166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14969166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14970166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14971166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
14972166124Srafan	use=ncr260vt300an,
14973166124SrafanNCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
14974166124Srafan	cols#132,
14975166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14976166124Srafan	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>,
14977166124Srafan	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>,
14978166124Srafan	use=ncr260vt300pp,
14979166124Srafan# This terminfo file contains color capabilities for the Wyse325 emulation of
1498050276Speter# the NCR 2900/260C color terminal.  Because of the structure of the command
1498150276Speter# (escape sequence) used to set color attributes, one of the fore/background
1498250276Speter# colors must be preset to a given value. I have set the background color to
1498350276Speter# black.  The user can change this setup by altering the last section of the
14984166124Srafan# 'setf' definition.  The escape sequence to set color attributes is
14985166124Srafan#		ESC d y <foreground_color> <background_color> 1
1498650276Speter# In addition, the background color can be changed through the desk accessories.
14987166124Srafan# The capablitiy 'op' sets colors to green on black (default combination).
1498850276Speter#
1498950276Speter# NOTE:  The NCR Unix System Administrator's Shell will not function properly
1499050276Speter# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
14991166124Srafan#	    capability and recompile if you wish to have it included.
1499250276Speter#
14993166124Srafanncr260wy325pp|NCR 2900_260 wyse 325,
14994166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
14995166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32,
14996166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
14997166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
14998166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
14999166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15000166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15001166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
15002166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15003166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15004166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15005166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
15006166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
15007166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
15008166124Srafan	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
15009166124Srafan	kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
15010166124Srafan	kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
15011166124Srafan	kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
15012166124Srafan	kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
15013166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
15014166124Srafan	kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15015166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15016166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15017166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15018166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15019166124Srafan	setb=\s,
15020166124Srafan	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>,
15021166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
15022166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15023166124Srafan	tsl=\EF,
15024166124Srafanncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
15025166124Srafan	cols#132,
15026166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15027166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15028166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15029166124Srafan	use=ncr260wy325pp,
1503050276Speter# This definition for Wyse 350 supports several attributes.  This means
1503150276Speter# that it has magic cookies (extra spaces where the attributes begin).
1503250276Speter# Some applications do not function well with magic cookies.  The System
15033166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1503450276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15035166124Srafan# attributes can be removed.
15036166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1503750276Speter# restored if needed.
1503850276Speter# In addition, color capabilities have been added to this file.  The drawback,
1503950276Speter# however, is that the background color has to be black.  The foreground colors
15040166124Srafan# are numbered 0 through 15.
1504150276Speter#
1504250276Speter# NOTE:  The NCR Unix System Administrator's Shell does not function properly
1504350276Speter# 	    with the 'pairs' capability defined as below.  If you wish to
15044166124Srafan#	    have it included, Un-comment it and recompile (using 'tic').
1504550276Speter#
15046166124Srafanncr260wy350pp|NCR 2900_260 wyse 350,
15047166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15048166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1,
15049166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15050166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15051166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15052166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
15053166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15054166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
15055166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15056166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15057166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15058166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15059166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15060166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15061166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15062166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15063166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15064166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15065166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15066166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15067166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15068166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
15069166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15070166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15071166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15072166124Srafan	setb=\s,
15073166124Srafan	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>,
15074166124Srafan	sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
15075166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15076166124Srafan	tsl=\EF,
15077166124Srafanncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
15078166124Srafan	cols#132,
15079166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15080166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15081166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15082166124Srafan	use=ncr260wy350pp,
1508350276Speter# This definition for Wyse 50+ supports several attributes.  This means
1508450276Speter# that it has magic cookies (extra spaces where the attributes begin).
1508550276Speter# Some applications do not function well with magic cookies.  The System
15086166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1508750276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15088166124Srafan# attributes can be removed.
15089166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1509050276Speter# restored if needed.
15091166124Srafan# (ncr260wy50+pp: originally contained commented-out
1509250276Speter# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
15093166124Srafanncr260wy50+pp|NCR 2900_260 wyse 50+,
15094166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15095166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
15096166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
15097166124Srafan	cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15098166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15099166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
15100166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15101166124Srafan	ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
15102166124Srafan	ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
15103166124Srafan	invis=\EG1,
15104166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15105166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15106166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15107166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15108166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15109166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15110166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15111166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15112166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15113166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15114166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15115166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15116166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15117166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15118166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15119166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15120166124Srafan	sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
15121166124Srafan	smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
15122166124Srafanncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
15123166124Srafan	cols#132,
15124166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15125166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15126166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15127166124Srafan	use=ncr260wy50+pp,
15128166124Srafanncr260wy60pp|NCR 2900_260 wyse 60,
15129166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15130166124Srafan	cols#80, lines#24, nlab#32,
15131166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15132166124Srafan	cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
15133166124Srafan	cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15134166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15135166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15136166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
15137166124Srafan	ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
15138166124Srafan	invis=\EG1,
15139166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15140166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15141166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
15142166124Srafan	kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
15143166124Srafan	kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15144166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
15145166124Srafan	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
15146166124Srafan	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
15147166124Srafan	kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
15148166124Srafan	kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
15149166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15150166124Srafan	kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15151166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
15152166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15153166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15154166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15155166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
15156166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
15157166124Srafan	tsl=\EF,
15158166124Srafanncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
15159166124Srafan	cols#132,
15160166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15161166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15162166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15163166124Srafan	use=ncr260wy60pp,
15164166124Srafanncr160vppp|NCR 2900_160 viewpoint,
15165166124Srafan	use=ncr260vppp,
15166166124Srafanncr160vpwpp|NCR 2900_160 viewpoint wide mode,
15167166124Srafan	use=ncr260vpwpp,
15168166124Srafanncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
15169166124Srafan	use=ncr260vt100an,
15170166124Srafanncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
15171166124Srafan	use=ncr260vt100pp,
15172166124Srafanncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
15173166124Srafan	use=ncr260vt100wan,
15174166124Srafanncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
15175166124Srafan	use=ncr260vt100wpp,
15176166124Srafanncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
15177166124Srafan	use=ncr260vt200an,
15178166124Srafanncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
15179166124Srafan	use=ncr260vt200pp,
15180166124Srafanncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
15181166124Srafan	use=ncr260vt200wan,
15182166124Srafanncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
15183166124Srafan	use=ncr260vt200wpp,
15184166124Srafanncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
15185166124Srafan	use=ncr260vt300an,
15186166124Srafanncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
15187166124Srafan	use=ncr260vt300pp,
15188166124Srafanncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
15189166124Srafan	use=ncr260vt300wan,
15190166124Srafanncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
15191166124Srafan	use=ncr260vt300wpp,
15192166124Srafanncr160wy50+pp|NCR 2900_160 wyse 50+,
15193166124Srafan	use=ncr260wy50+pp,
15194166124Srafanncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
15195166124Srafan	use=ncr260wy50+wpp,
15196166124Srafanncr160wy60pp|NCR 2900_160 wyse 60,
15197166124Srafan	use=ncr260wy60pp,
15198166124Srafanncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
15199166124Srafan	use=ncr260wy60wpp,
15200166124Srafanncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
15201166124Srafan	am, hs, mc5i, mir, msgr, xon,
15202166124Srafan	cols#80, it#8, lines#24, nlab#32,
15203166124Srafan	acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
15204166124Srafan	bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
15205166124Srafan	clear=\E[2J\E[1;1H$<300>, cr=^M,
15206166124Srafan	csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
15207166124Srafan	cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
15208166124Srafan	cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
15209166124Srafan	cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
15210166124Srafan	cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
15211166124Srafan	dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
15212166124Srafan	ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
15213166124Srafan	enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
15214166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
15215166124Srafan	ind=\ED,
15216166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
15217166124Srafan	kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
15218166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
15219166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
15220166124Srafan	rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
15221166124Srafan	rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
15222166124Srafan	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>,
15223166124Srafan	sc=\E7,
15224166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
15225166124Srafan	sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
15226166124Srafan	smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
15227166124Srafan	tsl=\E[>+1$<70>,
15228166124Srafanncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
15229166124Srafan	cols#132,
15230166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
15231166124Srafan	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>,
15232166124Srafan	use=ncrvt100an,
1523350276Speter#
1523450276Speter# Vendor-supplied NCR termcaps end here
1523550276Speter
1523650276Speter# NCR7900 DIP switches:
1523750276Speter#
1523850276Speter# Switch A:
1523950276Speter# 1-4 - Baud Rate
1524050276Speter# 5   - Parity (Odd/Even)
1524150276Speter# 6   - Don't Send or Do Send Spaces
1524250276Speter# 7   - Parity Enable
1524350276Speter# 8   - Stop Bits (One/Two)
15244166124Srafan#
1524550276Speter# Switch B:
1524650276Speter# 1   - Upper/Lower Shift
1524750276Speter# 2   - Typewriter Shift
1524850276Speter# 3   - Half Duplex / Full Duplex
1524950276Speter# 4   - Light/Dark Background
1525050276Speter# 5-6 - Carriage Return Without / With Line Feed
1525150276Speter# 7   - Extended Mode
1525250276Speter# 8   - Suppress Keyboard Display
15253166124Srafan#
1525450276Speter# Switch C:
1525550276Speter# 1   - End of line entry disabled/enabled
1525650276Speter# 2   - Conversational mode / (Local?) Mode
1525750276Speter# 3   - Control characters displayed / not displayed
1525850276Speter# 4   - (2-wire?) / 4-wire communications
1525950276Speter# 5   - RTS on and off for each character
1526050276Speter# 6   - (50Hz?) / 60 Hz
1526150276Speter# 7   - Exit after level zero diagnostics
1526250276Speter# 8   - RS-232 interface
15263166124Srafan#
1526450276Speter# Switch D:
1526550276Speter# 1   - Reverse Channel (yes / no)
1526650276Speter# 2   - Manual answer (no / yes)
1526750276Speter# 3-4 - Cursor appearance
1526850276Speter# 5   - Communication Rate
1526950276Speter# 6   - Enable / Disable EXT turnoff
1527050276Speter# 7   - Enable / Disable CR turnoff
1527150276Speter# 8   - Enable / Disable backspace
1527250276Speter#
1527362449Speter# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
1527462449Speter# reverse, blink, dim, and underline) the appropriate number of bits (by
1527562449Speter# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
1527662449Speter# '@' is (effectively) "or"ed with each attribute to generate the proper third
1527762449Speter# character in the <ESC>0 sequence.  The <sgr> string implements the following
1527862449Speter# equation:
1527962449Speter#
1528062449Speter# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
1528162449Speter# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
1528262449Speter#
1528362449Speter#	Where:  P1 <==> Standout attribute parameter
1528462449Speter#		P2 <==> Underline attribute parameter
1528562449Speter#		P3 <==> Reverse attribute parameter
1528662449Speter#		P4 <==> Blink attribute parameter
1528762449Speter#		P5 <==> Dim attribute parameter
1528850276Speter# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
15289166124Srafanncr7900i|ncr7900|ncr 7900 model 1,
15290166124Srafan	am, bw, ul,
15291166124Srafan	cols#80, lines#24, xmc#1,
15292166124Srafan	bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
15293166124Srafan	cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
15294166124Srafan	is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
15295166124Srafan	kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
15296166124Srafan	rmul=\E0@,
15297166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
15298166124Srafan	sgr0=\E0@, smso=\E0Q, smul=\E0`,
15299166124Srafanncr7900iv|ncr 7900 model 4,
15300166124Srafan	am, bw, eslok, hs,
15301166124Srafan	cols#80, lines#24,
15302166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
15303166124Srafan	cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
15304166124Srafan	fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
15305166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
15306166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
15307166124Srafan	khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
15308166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1530962449Speter# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
1531062449Speter#	   The user can enter a CTRL-B to get out of this locked state.
1531162449Speter# In <hpa>, we want to output the character given by the formula:
1531262449Speter#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
15313166124Srafanncr7901|ncr 7901 model,
15314166124Srafan	am, bw, ul,
15315166124Srafan	cols#80, lines#24,
15316166124Srafan	bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
15317166124Srafan	cub1=^H, cud1=^J, cuf1=^F,
15318166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
15319166124Srafan	ed=\Ek, el=\EK,
15320166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
15321166124Srafan	is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
15322166124Srafan	khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
15323166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
15324166124Srafan	sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
15325166124Srafan	vpa=\013%p1%{64}%+%c,
1532650276Speter
15327174993Srafan# Newbury Data Recording Limited (Newbury Data)
15328174993Srafan#
15329174993Srafan# Have been manufacturing and reselling  various peripherals for a long time
15330174993Srafan# They don't make terminals anymore, but are still in business (in 2007).
15331174993Srafan# Their e-mail address is at ndsales@newburydata.co.uk
15332174993Srafan# and their post address is:
15333174993Srafan#
15334174993Srafan# Newbury Data Recording Ltd,
15335174993Srafan# Premier Park, Road One,
15336174993Srafan# Winsford, Cheshire, CW7 3PT
15337174993Srafan#
15338174993Srafan# Their technical support is still good, they sent me for free a printed copy
15339174993Srafan# of the 9500 user manual and I got it just 1 week after I first contacted them
15340174993Srafan# (in 2005)!
15341174993Srafan
15342174993Srafan# NDR 9500
15343174993Srafan# Manufactured in the early/mid eighties, behaves almost the same as a
15344174993Srafan# Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
15345174993Srafan# keep the same keyboard layout), add an optional 25-line mode, replace the DIP
15346174993Srafan# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC ! 
15347174993Srafan# 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
15348174993Srafan# recognized:  if you type in "ESC !", the next (third) character is not
15349174993Srafan# echoed, showing that the terminal was actually waiting for a parameter!
15350174993Srafanndr9500|nd9500|Newbury Data 9500,
15351174993Srafan	am, bw, hs, mc5i, mir, msgr, ul, xon,
15352174993Srafan	cols#80, lines#24, wsl#79,
15353174993Srafan	acsc=qKnImAjDwNuLtMvOlBkCxJ, bel=^G, cbt=\EI, civis=\E.0,
15354174993Srafan	clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
15355174993Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
15356174993Srafan	dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
15357174993Srafan	flash=\Eb$<50/>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
15358174993Srafan	ich1=\EQ, il1=\EE, ind=^J, is2=\Ew\E'\EDF\El\Er\EO,
15359174993Srafan	kDC=\Er, kDL=\EO, kEOL=\Et, kIC=\Eq, kcbt=\EI, kclr=^Z,
15360174993Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
15361174993Srafan	ked=\EY, kel=\ET, kent=^M, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15362174993Srafan	kf12=^A`\r, kf13=^Aa\r, kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r,
15363174993Srafan	kf17=^Ae\r, kf18=^Af\r, kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r,
15364174993Srafan	kf21=^Ai\r, kf22=^Aj\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
15365174993Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15366174993Srafan	kich1=\EQ, kil1=\EE, kprt=\EP, mc4=\Ea, mc5=\E`, nel=^_,
15367174993Srafan	pfloc=\E|%{48}%p1%+%c2%p2\031,
15368174993Srafan	pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
15369174993Srafan	rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
15370174993Srafan	sgr=\E%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
15371174993Srafan	sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
15372174993Srafan	tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
15373174993Srafan
15374174993Srafanndr9500-nl|NDR 9500 with no status line,
15375174993Srafan	hs@,
15376174993Srafan	wsl@,
15377174993Srafan	dsl@, fsl@, tsl@, use=ndr9500,
15378174993Srafan
15379174993Srafanndr9500-25|NDR 9500 with 25th line enabled,
15380174993Srafan	lines#25, use=ndr9500,
15381174993Srafan
15382174993Srafanndr9500-25-nl|NDR 9500 with 25 lines and no status line,
15383174993Srafan	lines#25, use=ndr9500-nl,
15384174993Srafan
15385174993Srafanndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink),
15386174993Srafan	msgr@,
15387174993Srafan	xmc#1,
15388174993Srafan	blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
15389174993Srafan	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,
15390174993Srafan	sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
15391174993Srafan
15392174993Srafanndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
15393174993Srafan	lines#25, use=ndr9500-mc,
15394174993Srafan
15395174993Srafanndr9500-mc-nl|NDR 9500 with magic cookies and no status line,
15396174993Srafan	hs@,
15397174993Srafan	wsl@,
15398174993Srafan	dsl@, fsl@, tsl@, use=ndr9500-mc,
15399174993Srafan
15400174993Srafanndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line,
15401174993Srafan	lines#25, use=ndr9500-mc-nl,
15402174993Srafan
1540350276Speter#### Perkin-Elmer (Owl)
1540450276Speter#
1540550276Speter# These are official terminfo entries from within Perkin-Elmer.
1540650276Speter#
1540750276Speter
15408166124Srafanbantam|pe550|pe6100|perkin elmer 550,
15409166124Srafan	OTbs,
15410166124Srafan	cols#80, lines#24,
15411166124Srafan	bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
15412166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15413166124Srafan	el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
15414166124Srafanfox|pe1100|perkin elmer 1100,
15415166124Srafan	OTbs, am,
15416166124Srafan	cols#80, lines#24,
15417166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15418166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15419166124Srafan	ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
15420166124Srafan	home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
15421166124Srafanowl|pe1200|perkin elmer 1200,
15422166124Srafan	OTbs, am, in,
15423166124Srafan	cols#80, lines#24,
15424166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15425166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15426166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
15427166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
15428166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
15429166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
15430166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
15431166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
15432166124Srafanpe1251|pe6300|pe6312|perkin elmer 1251,
15433166124Srafan	am,
15434166124Srafan	cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
15435166124Srafan	bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
15436166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15437166124Srafan	ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
15438166124Srafan	kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
15439166124Srafan	kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1544050276Speter# (pe7000m: this had
15441166124Srafan# 	rmul=\E!\0, smul=\E!\040,
1544250276Speter# which is probably wrong, it collides with kf0
15443166124Srafanpe7000m|perkin elmer 7000 series monochrome monitor,
15444166124Srafan	am,
15445166124Srafan	cols#80, lines#24,
15446166124Srafan	bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
15447166124Srafan	cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
15448166124Srafan	ed=\EJ, el=\EI, home=\EH, ind=^J,
15449166124Srafan	is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
15450166124Srafan	kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
15451166124Srafan	kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
15452166124Srafan	kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
15453166124Srafan	ll=\ES7\s, ri=\ER,
15454166124Srafanpe7000c|perkin elmer 7000 series colour monitor,
15455166124Srafan	is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
15456166124Srafan	rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m,
1545750276Speter
1545850276Speter#### Sperry Univac
1545950276Speter#
1546050276Speter# Sperry Univac has merged with Burroughs to form Unisys.
1546150276Speter#
1546250276Speter
15463166124Srafan# This entry is for the Sperry UTS30 terminal running the TTY
15464166124Srafan# utility under control of CP/M Plus 1R1. The functionality
1546550276Speter# provided is comparable to the DEC vt100.
1546650276Speter# (uts30: I added <rmam>/<smam> based on the init string -- esr)
15467166124Srafanuts30|sperry uts30 with cp/m@1R1,
15468166124Srafan	am, bw, hs,
15469166124Srafan	cols#80, lines#24, wsl#40,
15470166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15471166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
15472166124Srafan	cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
15473166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
15474166124Srafan	cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
15475166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
15476166124Srafan	dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
15477166124Srafan	ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
15478166124Srafan	ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
15479166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
15480166124Srafan	rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
15481166124Srafan	rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
15482166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
15483166124Srafan	sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
15484166124Srafan	smul=\E[4m, tsl=\E], uc=\EPB,
1548550276Speter
1548650276Speter#### Tandem
1548750276Speter#
1548850276Speter# Tandem builds these things for use with its line of fault-tolerant
1548950276Speter# transaction-processing computers.  They aren't generally available
1549050276Speter# on the merchant market, and so are fairly uncommon.
1549150276Speter#
1549250276Speter
15493166124Srafantandem6510|adm3a repackaged by Tandem,
15494166124Srafan	use=adm3a,
1549550276Speter
1549650276Speter# A funny series of terminal that TANDEM uses.  The actual model numbers
1549750276Speter# have a fourth digit after 653 that designates minor variants.  These are
1549850276Speter# natively block-mode and rather ugly, but they have a character mode which
1549950276Speter# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1550050276Speter# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
1550150276Speter# removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
15502166124Srafantandem653|t653x|Tandem 653x multipage terminal,
15503166124Srafan	OTbs, am, da, db, hs,
15504166124Srafan	cols#80, lines#24, wsl#64, xmc#1,
15505166124Srafan	clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
15506166124Srafan	cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
15507166124Srafan	ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
15508166124Srafan	rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1550950276Speter
1551050276Speter#### Tandy/Radio Shack
1551150276Speter#
1551250276Speter# Tandy has a line of VDTs distinct from its microcomputers.
1551350276Speter#
1551450276Speter
15515166124Srafandmterm|deskmate terminal,
15516166124Srafan	am, bw,
15517166124Srafan	cols#80, lines#24,
15518166124Srafan	bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
15519166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
15520166124Srafan	cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
15521166124Srafan	ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
15522166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
15523166124Srafan	kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
15524166124Srafan	khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
15525166124Srafan	lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
15526166124Srafan	use=adm+sgr,
15527166124Srafandt100|dt-100|Tandy DT-100 terminal,
15528166124Srafan	xon,
15529166124Srafan	cols#80, lines#24, xmc#1,
15530166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15531166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15532166124Srafan	csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
15533166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
15534166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
15535166124Srafan	il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
15536166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
15537166124Srafan	kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
15538166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
15539166124Srafan	knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
15540166124Srafan	lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
15541166124Srafan	sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
15542166124Srafandt100w|dt-100w|Tandy DT-100 terminal (wide mode),
15543166124Srafan	cols#132, use=dt100,
15544166124Srafandt110|Tandy DT-110 emulating ansi,
15545166124Srafan	xon,
15546166124Srafan	cols#80, lines#24,
15547166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15548166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15549166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
15550166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
15551166124Srafan	dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
15552166124Srafan	ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
15553166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
15554166124Srafan	kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
15555166124Srafan	kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
15556166124Srafan	khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
15557166124Srafan	lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
15558166124Srafan	lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
15559166124Srafan	smacs=^N, smso=\E[7m, smul=\E[4m,
15560166124Srafanpt210|TRS-80 PT-210 printing terminal,
15561166124Srafan	hc, os,
15562166124Srafan	cols#80,
15563166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1556450276Speter
1556550276Speter#### Tektronix (tek)
1556650276Speter#
15567166124Srafan# Tektronix tubes are graphics terminals.  Most of them use modified
1556850276Speter# oscilloscope technology incorporating a long-persistence green phosphor,
1556950276Speter# and support vector graphics on a main screen with an attached "dialogue
1557050276Speter# area" for interactive text.
1557150276Speter#
1557250276Speter
15573166124Srafantek|tek4012|tektronix 4012,
15574166124Srafan	OTbs, os,
15575166124Srafan	cols#75, lines#35,
15576166124Srafan	bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
15577166124Srafan	ff=\014$<1000>, is2=\E^O,
1557850276Speter# (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15579166124Srafantek4013|tektronix 4013,
15580166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
15581166124Srafantek4014|tektronix 4014,
15582166124Srafan	cols#81, lines#38,
15583166124Srafan	is2=\E\017\E9, use=tek4012,
1558450276Speter# (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15585166124Srafantek4015|tektronix 4015,
15586166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
15587166124Srafantek4014-sm|tektronix 4014 in small font,
15588166124Srafan	cols#121, lines#58,
15589166124Srafan	is2=\E\017\E\:, use=tek4014,
1559050276Speter# (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15591166124Srafantek4015-sm|tektronix 4015 in small font,
15592166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1559350276Speter# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
1559450276Speter#
1559550276Speter# You need to have "stty nl2" in effect.  Some versions of tset(1) know
1559650276Speter# how to set it for you.
1559750276Speter#
1559850276Speter# It's got the Magic Cookie problem around stand-out mode.  If you can't
1559950276Speter# live with Magic Cookie, remove the :so: and :se: fields and do without
1560050276Speter# reverse video.  If you like reverse video stand-out mode but don't want
1560150276Speter# it to flash, change the letter 'H' to 'P' in the :so: field.
15602166124Srafantek4023|tektronix 4023,
15603166124Srafan	OTbs, am,
15604166124Srafan	OTdN#4, cols#80, lines#24, vt#4, xmc#1,
15605166124Srafan	OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
15606166124Srafan	cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
15607166124Srafan	rmso=^_@, smso=^_P,
1560850276Speter# It is recommended that you run the 4025 at 4800 baud or less;
1560950276Speter# various bugs in the terminal appear at 9600.  It wedges at the
1561050276Speter# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
1561150276Speter# on keyboard don't work.  You have to hit BREAK twice to get
1561250276Speter# one break at any speed - this is a documented feature.
15613166124Srafan# Can't use cursor motion because it's memory relative, and
15614166124Srafan# because it only works in the workspace, not the monitor.
1561550276Speter# Same for home. Likewise, standout only works in the workspace.
15616166124Srafan#
15617166124Srafan# <el> was commented out since vi and rogue seem to work better
1561850276Speter# simulating it with lots of spaces!
15619166124Srafan#
15620166124Srafan# <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
1562150276Speter# and didn't seem necessary.
1562250276Speter#
15623166124Srafantek4024|tek4025|tek4027|tektronix 4024/4025/4027,
15624166124Srafan	OTbs, am, da, db,
15625166124Srafan	cols#80, it#8, lines#34, lm#0,
15626166124Srafan	bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
15627166124Srafan	cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
15628166124Srafan	cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
15629166124Srafan	cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
15630166124Srafan	dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
15631166124Srafan	ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
15632166124Srafan	il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
15633166124Srafan	ind=^F^J,
15634166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15635166124Srafan	rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
15636166124Srafan	smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
15637166124Srafantek4025-17|tek 4025 17 line window,
15638166124Srafan	lines#17, use=tek4025,
15639166124Srafantek4025-17-ws|tek 4025 17 line window in workspace,
15640166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
15641166124Srafan	rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
15642166124Srafan	smso=\037att e\r, use=tek4025-17,
15643166124Srafantek4025-ex|tek4027-ex|tek 4025/4027 w/!,
15644166124Srafan	is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
15645166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1564650276Speter# Tektronix 4025a
1564750276Speter# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
1564850276Speter# The following status modes are assumed for normal operation (replace the
1564950276Speter# initial "!" by whatever the current command character is):
1565050276Speter#	!COM 29			# NOTE: changes command character to GS (^])
1565150276Speter#	^]DUP
1565250276Speter#	^]ECH R
1565350276Speter#	^]EOL
1565450276Speter#	^]RSS T
1565550276Speter#	^]SNO N
1565650276Speter#	^]STO 9 17 25 33 41 49 57 65 73
1565750276Speter# Other modes may be set according to communication requirements.
1565850276Speter# If the command character is inadvertently changed, termcap can't restore it.
1565950276Speter# Insert-character cannot be made to work on both top and bottom rows.
1566050276Speter# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1566150276Speter# There also seems to be a problem with vertical motion, perhaps involving
1566250276Speter# delete/insert-line, following a typed carriage return.  This terminal sucks.
1566350276Speter# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1566450276Speter# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
1566550276Speter# work any more. -- esr)
15666166124Srafantek4025a|Tektronix 4025A,
15667166124Srafan	OTbs, OTpt, am, bw, da, db, xon,
15668166124Srafan	cols#80, it#8, lines#34,
15669166124Srafan	bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
15670166124Srafan	cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
15671166124Srafan	cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
15672166124Srafan	cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
15673166124Srafan	dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
15674166124Srafan	el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
15675166124Srafan	il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
15676166124Srafan	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;,
15677166124Srafan	tbc=\035sto;,
1567850276Speter# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1567950276Speter# Here's the command file that I use to get rogue to work on the 4025.
1568050276Speter# It should work with any program using the old curses (e.g. it better
1568150276Speter# not try to scroll, or cursor addressing won't work.  Also, you can't
1568250276Speter# see the cursor.)
1568350276Speter# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
15684166124Srafantek4025-cr|tek 4025 for curses and rogue,
15685166124Srafan	OTbs, am,
15686166124Srafan	cols#80, it#8, lines#33,
15687166124Srafan	clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
15688166124Srafan	cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
15689166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15690166124Srafan	rmcup=\037wor 0, smcup=\037wor 33h,
1569150276Speter# next two lines commented out since curses only allows 128 chars, sigh.
1569250276Speter#	: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:\
1569350276Speter#	: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:
15694166124Srafantek4025ex|4025ex|4027ex|tek 4025 w/!,
15695166124Srafan	is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
15696166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
15697166124Srafantek4105|tektronix 4105,
15698166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15699166124Srafan	cols#79, it#8, lines#29,
15700166124Srafan	acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
15701166124Srafan	clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
15702166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
15703166124Srafan	dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
15704166124Srafan	il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
15705166124Srafan	is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
15706166124Srafan	kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
15707166124Srafan	rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
15708166124Srafan	rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
15709166124Srafan	smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
15710166124Srafan	smul=\E[=5;<2m, tbc=\E[1g,
1571150276Speter
1571250276Speter# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
15713166124Srafantek4105-30|4015 emulating 30 line vt100,
15714166124Srafan	am, mir, msgr, xenl, xon,
15715166124Srafan	cols#80, it#8, lines#30, vt#3,
15716166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15717166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
15718166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15719166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15720166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
15721166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
15722166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
15723166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
15724166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
15725166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
15726166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
15727166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
15728166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
15729166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
15730166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
15731166124Srafan	use=vt100+fnkeys,
1573250276Speter
1573350276Speter# Tektronix 4105 from BRL
1573450276Speter# The following setup modes are assumed for normal operation:
1573550276Speter#	CODE ansi		CRLF no			DABUFFER 141
1573650276Speter#	DAENABLE yes		DALINES 30		DAMODE replace
1573750276Speter#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
1573850276Speter#	FLAGGING input		INSERTREPLACE replace	LFCR no
1573950276Speter#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
1574050276Speter#	SELECTCHARSET G1 0	TABS -2
1574150276Speter# Other setup modes may be set for operator convenience or communication
1574250276Speter# requirements; I recommend
1574350276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1574450276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1574550276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1574650276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
1574750276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1574850276Speter#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
1574950276Speter#	XMTDELAY 0
1575050276Speter# and factory color maps.  After setting these modes, save them with NVSAVE. No
1575150276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1575250276Speter# "IC" cannot be used in combination with "im" & "ei".
1575350276Speter# "tek4105a" is just a guess:
15754166124Srafantek4105a|Tektronix 4105,
15755166124Srafan	OTbs, OTpt, msgr, xon,
15756166124Srafan	OTkn#8, cols#80, it#8, lines#30, vt#3,
15757166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15758166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15759166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15760166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15761166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15762166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15763166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15764166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15765166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15766166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15767166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15768166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15769166124Srafan	lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15770166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15771166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15772166124Srafan	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>,
15773166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15774166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1577550276Speter
1577650276Speter#
1577750276Speter# Tektronix 4106/4107/4109 from BRL
1577850276Speter# The following setup modes are assumed for normal operation:
1577950276Speter#	CODE ansi		COLUMNMODE 80		CRLF no
1578050276Speter#	DABUFFER 141		DAENABLE yes		DALINES 32
1578150276Speter#	DAMODE replace		DAVISIBILITY yes	ECHO no
1578250276Speter#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
1578350276Speter#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
1578450276Speter#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
1578550276Speter#	TABS -2
1578650276Speter# Other setup modes may be set for operator convenience or communication
1578750276Speter# requirements; I recommend
1578850276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1578950276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1579050276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1579150276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
1579250276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1579350276Speter#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
1579450276Speter#	XMTDELAY 0
1579550276Speter# and factory color maps.  After setting these modes, save them with NVSAVE.  No
1579650276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1579750276Speter# "IC" cannot be used in combination with "im" & "ei".
15798166124Srafantek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
15799166124Srafan	msgr, xon,
15800166124Srafan	cols#80, it#8, lines#32, vt#3,
15801166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15802166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15803166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15804166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15805166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15806166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15807166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15808166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15809166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15810166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15811166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15812166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15813166124Srafan	lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15814166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15815166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15816166124Srafan	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>,
15817166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15818166124Srafan	smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
1581950276Speter
15820166124Srafantek4107|tek4109|tektronix terminals 4107 4109,
15821166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15822166124Srafan	cols#79, it#8, lines#29,
15823166124Srafan	bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
15824166124Srafan	bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
15825166124Srafan	cub1=^H, cud1=^J, cuf1=\EC,
15826166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
15827166124Srafan	dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
15828166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
15829166124Srafan	rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
15830166124Srafan	rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
15831166124Srafan	sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0,
15832166124Srafan	sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
15833166124Srafan	smul=\E%!1\E[4m$<2>\E%!0,
1583450276Speter# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
1583550276Speter# see the note attached to tek4207.
15836166124Srafantek4207-s|Tektronix 4207 with sysline but no memory,
15837166124Srafan	eslok, hs,
15838166124Srafan	dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
15839166124Srafan	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,
15840166124Srafan	is2=\E7\E[?6l\E[2K\E[?6h\E8,
15841166124Srafan	tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1584250276Speter
1584350276Speter# The 4110 series may be a wonderful graphics series, but they make the 4025
1584450276Speter# look good for screen editing.  In the dialog area, you can't move the cursor
1584550276Speter# off the bottom line.  Out of the dialog area, ^K moves it up, but there
1584650276Speter# is no way to scroll.
15847166124Srafan#
15848166124Srafan# Note that there is a floppy for free from Tek that makes the
1584950276Speter# 4112 emulate the vt52 (use the vt52 termcap). There is also
1585050276Speter# an expected enhancement that will use ANSI standard sequences.
15851166124Srafan#
15852166124Srafan# 4112 in non-dialog area pretending to scroll. It really wraps
1585350276Speter# but vi is said to work (more or less) in this mode.
15854166124Srafan#
1585550276Speter# 'vi' works reasonably well with this entry.
1585650276Speter#
15857166124Srafanotek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
15858166124Srafan	am,
15859166124Srafan	cols#80, lines#34,
15860166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
15861166124Srafan	rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1586250276Speter# The 4112 with the ANSI compatibility enhancement
15863166124Srafantek4112|tek4114|tektronix 4110 series,
15864166124Srafan	OTbs, am, db,
15865166124Srafan	cols#80, lines#34,
15866166124Srafan	cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
15867166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
15868166124Srafan	ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
15869166124Srafan	ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
15870166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
15871166124Srafantek4112-nd|4112 not in dialog area,
15872166124Srafan	OTns,
15873166124Srafan	cuu1=^K, use=tek4112,
15874166124Srafantek4112-5|4112 in 5 line dialog area,
15875166124Srafan	lines#5, use=tek4112,
1587650276Speter# (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
1587750276Speter# removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
1587850276Speter# Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
1587950276Speter# previously \0410 and \0411 sequences...I don't *think* they were supposed
1588050276Speter# to be 4-digit octal -- esr)
15881166124Srafantek4113|tektronix 4113 color graphics with 5 line dialog area,
15882166124Srafan	OTbs, am, da, eo,
15883166124Srafan	cols#80, lines#5,
15884166124Srafan	clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
15885166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
15886166124Srafan	is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
15887166124Srafantek4113-34|tektronix 4113 color graphics with 34 line dialog area,
15888166124Srafan	lines#34,
15889166124Srafan	is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
15890166124Srafan# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
1589150276Speter# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
1589250276Speter# :vb: needs enough delay to let you see the background color being toggled.
15893166124Srafantek4113-nd|tektronix 4113 color graphics with no dialog area,
15894166124Srafan	OTbs, am, eo,
15895166124Srafan	cols#80, it#8, lines#34,
15896166124Srafan	clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
15897166124Srafan	cvvis=\ELZ\EKA0,
15898166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
15899166124Srafan	home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
15900166124Srafan	ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1590150276Speter# This entry is from Tek. Inc.  (Brian Biehl)
1590250276Speter# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
15903166124Srafanotek4115|Tektronix 4115,
15904166124Srafan	OTbs, am, da, db, eo,
15905166124Srafan	cols#80, it#8, lines#34,
15906166124Srafan	cbt=\E[Z, clear=\E[H\E[2J,
15907166124Srafan	cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
15908166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
15909166124Srafan	cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
15910166124Srafan	el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
15911166124Srafan	il1=\E[L,
15912166124Srafan	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,
15913166124Srafan	kbs=^H, ri=\EM, rmam=\E[?7l,
15914166124Srafan	rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
15915166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
15916166124Srafan	smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
15917166124Srafan	smul=\E[4m,
15918166124Srafantek4115|newer tektronix 4115 entry with more ANSI capabilities,
15919166124Srafan	am, xon,
15920166124Srafan	cols#80, lines#34,
15921166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
15922166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15923166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15924166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
15925166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
15926166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
15927166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
15928166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
15929166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
15930166124Srafan	rmso=\E[m, rmul=\E[m,
15931166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
15932166124Srafan	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
15933166124Srafan	vpa=\E[%p1%{1}%+%dd,
1593450276Speter# The tek4125 emulates a vt100 incorrectly - the scrolling region
1593550276Speter# command is ignored.  The following entry replaces <csr> with the needed
1593650276Speter# <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
1593750276Speter# chokes on; and adds a lot of initialization for the tek dialog area.
1593850276Speter# Note that this entry uses all 34 lines and sets the cursor color to green.
1593950276Speter# Steve Jacobson 8/85
1594050276Speter# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
1594150276Speter# commented out, <smir>=\E1 because there's no <rmir>  -- esr)
15942166124Srafantek4125|tektronix 4125,
15943166124Srafan	lines#34,
15944166124Srafan	csr@, dl1=\E[1M, il1=\E[1L,
15945166124Srafan	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,
15946166124Srafan	rc@, sc@, smkx=\E=, use=vt100,
1594750276Speter
1594850276Speter# From: <jcoker@ucbic>
1594950276Speter# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
1595050276Speter# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1595150276Speter# note that if jcoker wasn't confused you may be able to use this one.
1595250276Speter# I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
15953166124Srafantek4207|Tektronix 4207 graphics terminal with memory,
15954166124Srafan	am, bw, mir, msgr, ul, xenl,
15955166124Srafan	cols#80, it#8, lines#32,
15956166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
15957166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15958166124Srafan	cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
15959166124Srafan	el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
15960166124Srafan	il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
15961166124Srafan	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,
15962166124Srafan	kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
15963166124Srafan	rev=\E[7m, ri=\E[T,
15964166124Srafan	rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
15965166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
15966166124Srafan	smul=\E[4m, tbc=\E[1g,
1596750276Speter
1596850276Speter# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1596950276Speter# (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
1597050276Speter# Tab had been given as \E2I,that must be the tab-set capability -- esr)
15971166124Srafantek4404|tektronix 4404,
15972166124Srafan	OTbs,
15973166124Srafan	cols#80, it#8, lines#32,
15974166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
15975166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
15976166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
15977166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
15978166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
15979166124Srafan	rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
15980166124Srafan	rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
15981166124Srafan	smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
15982166124Srafan	smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1598350276Speter# Some unknown person wrote:
15984166124Srafan# I added the is string - straight Unix has ESC ; in the login
15985166124Srafan# string which sets a ct8500 into monitor mode (aka 4025 snoopy
15986166124Srafan# mode). The is string here cleans up a few things (but not
1598750276Speter# everything).
15988166124Srafanct8500|tektronix ct8500,
15989166124Srafan	am, bw, da, db,
15990166124Srafan	cols#80, lines#25,
15991166124Srafan	bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
15992166124Srafan	cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
15993166124Srafan	dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
15994166124Srafan	il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
15995166124Srafan	rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1599650276Speter
1599750276Speter# Tektronix 4205 terminal.
1599850276Speter#
1599950276Speter# am is not defined because the wrap around occurs not when the char.
1600050276Speter# is placed in the 80'th column, but when we are attempting to type
1600150276Speter# the 81'st character on the line.  (esr: hmm, this is like the vt100
1600250276Speter# version of xenl, perhaps am + xenl would work!)
1600350276Speter#
1600450276Speter# Bold, dim, and standout are simulated by colors and thus not allowed
1600550276Speter# with colors.  The tektronix color table is mapped into the RGB color
1600650276Speter# table by setf/setb. All colors are reset to factory specifications by oc.
16007166124Srafan# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1600850276Speter# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
1600950276Speter# interval then maps into pre-defined value.
16010166124Srafantek4205|tektronix 4205,
16011166124Srafan	ccc, mir, msgr,
16012166124Srafan	colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
16013166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16014166124Srafan	bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
16015166124Srafan	clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
16016166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
16017166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16018166124Srafan	dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
16019166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
16020166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
16021166124Srafan	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,
16022166124Srafan	invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
16023166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
16024166124Srafan	kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
16025166124Srafan	kf7=\ES,
16026166124Srafan	oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
16027166124Srafan	op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
16028166124Srafan	rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
16029166124Srafan	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%;,
16030166124Srafan	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%;,
16031166124Srafan	sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
16032166124Srafan	smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
16033166124Srafan	smul=\E[4m, tbc=\E[1g,
1603450276Speter
1603550276Speter#### Teletype (tty)
1603650276Speter#
1603750276Speter# These are the hardcopy Teletypes from before AT&T bought the company,
1603850276Speter# clattering electromechanical dinosaurs in Bakelite cases that printed on
1603950276Speter# pulpy yellow roll paper.  If you remember these you go back a ways.
1604050276Speter# Teletype-branded VDTs are listed in the AT&T section.
1604150276Speter#
1604250276Speter# The earliest UNIXes were designed to use these clunkers; nroff and a few
1604350276Speter# other programs still default to emitting codes for the Model 37.
1604450276Speter#
1604550276Speter
16046166124Srafantty33|tty35|model 33 or 35 teletype,
16047166124Srafan	hc, os, xon,
16048166124Srafan	cols#72,
16049166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
16050166124Srafantty37|model 37 teletype,
16051166124Srafan	OTbs, hc, os, xon,
16052166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
16053166124Srafan	ind=^J,
1605450276Speter
1605550276Speter# There are known to be at least three flavors of the tty40, all seem more
1605650276Speter# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
1605750276Speter# awful braindamage, such as printing a visible newline indicator after each
1605850276Speter# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
1605950276Speter# braindamaged but has hope and is described here.  The 40-4 is a 3270
1606050276Speter# lookalike and beyond hope.  The terminal has visible bell but I don't know
1606150276Speter# it - it's null here to prevent it from showing the BL character.
1606250276Speter# There is an \EG in <nl> because of a bug in old vi (if stty says you have
1606350276Speter# a "newline" style terminal (-crmode) vi figures all it needs is nl
1606450276Speter# to get crlf, even if <cr> is not ^M.)
1606550276Speter# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
16066166124Srafantty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
16067166124Srafan	OTbs, xon,
16068166124Srafan	cols#80, lines#24,
16069166124Srafan	clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
16070166124Srafan	cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
16071166124Srafan	ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
16072166124Srafan	ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
16073166124Srafan	kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
16074166124Srafan	rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
16075166124Srafantty43|model 43 teletype,
16076166124Srafan	OTbs, am, hc, os, xon,
16077166124Srafan	cols#132,
16078166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1607950276Speter
1608050276Speter#### Tymshare
1608150276Speter#
1608250276Speter
1608350276Speter# You can add <is2=\E<> to put this 40-column mode, though I can't
1608450276Speter# for the life of me think why anyone would want to.
16085166124Srafanscanset|sc410|sc415|Tymshare Scan Set,
16086166124Srafan	am, bw, msgr,
16087166124Srafan	cols#80, lines#24,
16088166124Srafan	acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
16089166124Srafan	cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16090166124Srafan	cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
16091166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
16092166124Srafan	mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
1609350276Speter
1609450276Speter#### Volker-Craig (vc)
1609550276Speter#
1609650276Speter# If you saw a Byte Magazine cover with a terminal on it during the early
1609750276Speter# 1980s, it was probably one of these.  Carl Helmers liked them because
1609850276Speter# they could crank 19.2 and were cheap (that is, he liked them until he tried
1609950276Speter# to program one...)
1610050276Speter#
1610150276Speter
1610250276Speter# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
1610350276Speter# every other linefeed.
16104166124Srafanvc303|vc103|vc203|volker-craig 303,
16105166124Srafan	OTbs, OTns, am,
16106166124Srafan	cols#80, lines#24,
16107166124Srafan	bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
16108166124Srafan	cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
16109166124Srafan	kcuu1=^N, ll=\017$<1>W,
16110166124Srafanvc303a|vc403a|volker-craig 303a,
16111166124Srafan	clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
16112166124Srafan	home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
1611350276Speter# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
16114166124Srafanvc404|volker-craig 404,
16115166124Srafan	OTbs, am,
16116166124Srafan	cols#80, lines#24,
16117166124Srafan	bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16118166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
16119166124Srafan	ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
16120166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
16121166124Srafanvc404-s|volker-craig 404 w/standout mode,
16122166124Srafan	cud1=^J, rmso=^O, smso=^N, use=vc404,
1612350276Speter# From: <wolfgang@cs.sfu.ca>
1612450276Speter# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
16125166124Srafanvc414|vc414h|Volker-Craig 414H in sane escape mode.,
16126166124Srafan	OTbs, am,
16127166124Srafan	cols#80, lines#24,
16128166124Srafan	clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
16129166124Srafan	cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
16130166124Srafan	dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
16131166124Srafan	ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
16132166124Srafan	kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
16133166124Srafan	kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
16134166124Srafan	lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
16135166124Srafan	rmso=\E^_, smso=\E^Y,
16136166124Srafanvc415|volker-craig 415,
16137166124Srafan	clear=^L, use=vc404,
1613850276Speter
1613950276Speter######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1614050276Speter#
1614150276Speter
1614250276Speter#### IBM PC and clones
1614350276Speter#
1614450276Speter
1614550276Speter# The pcplot IBM-PC terminal emulation program is really messed up. It is
1614650276Speter# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
1614750276Speter# doesn't support scrolling regions, ignores add line commands, and ignores
1614850276Speter# delete line commands. Consequently, the resulting behavior looks like a
1614950276Speter# crude adm3a-type terminal.
1615050276Speter# Steve Jacobson 8/85
16151166124Srafanpcplot|pc-plot terminal emulation program,
16152166124Srafan	xenl@,
16153166124Srafan	csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
1615450276Speter# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
1615550276Speter# I've found that my KayPro II, running MDM730, continues to emulate an
1615650276Speter# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
1615750276Speter# system the following termcap entry works well:
1615850276Speter# I have noticed a couple of minor glitches, but nothing I can't work
1615950276Speter# around. (I added two capabilities from the BRL entry -- esr)
16160166124Srafankaypro|kaypro2|kaypro II,
16161166124Srafan	OTbs, am,
16162166124Srafan	cols#80, lines#24,
16163166124Srafan	bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
16164166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
16165166124Srafan	el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
1616650276Speter
1616750276Speter# From IBM, Thu May  5 19:35:27 1983
1616862449Speter# (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
16169166124Srafanibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
16170166124Srafan	OTbs, am,
16171166124Srafan	cols#80, lines#24,
16172166124Srafan	bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
16173166124Srafan	cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
1617450276Speter
16175166124Srafanibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
16176166124Srafan	OTbs, am, bw, eo, hs, km, msgr, ul,
16177166124Srafan	cols#80, it#8, lines#24,
16178166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
16179166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
16180166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16181166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16182166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
16183166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
16184166124Srafan	indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
16185166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
16186166124Srafan	kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
16187166124Srafan	kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
16188166124Srafan	kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
16189166124Srafan	ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
16190166124Srafan	rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
16191166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
16192166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1619350276Speter
1619450276Speter#### Apple II
1619550276Speter#
16196166124Srafan# Apple II firmware console first, then various 80-column cards and
1619750276Speter# terminal emulators.  For two cents I'd toss all these in the UFO file
1619850276Speter# along with the 40-column apple entries.
1619950276Speter#
1620050276Speter
1620150276Speter# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
1620250276Speter#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
1620350276Speter#		function of TIC, not the firmware.
16204166124Srafan#	The clear key on a IIgs will do something like clear-screen,
1620550276Speter#		depending on what you're in.
16206166124SrafanappleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
16207166124Srafan	OTbs, am, bw, eo, msgr,
16208166124Srafan	cols#80, it#8, lines#24,
16209166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
16210166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16211166124Srafan	home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
16212166124Srafan	kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
16213166124Srafan	smso=^O,
1621450276Speter# Apple //e with 80-column card, entry from BRL
1621550276Speter# The modem interface is permitted to discard LF (maybe DC1), otherwise
1621650276Speter# passing characters to the 80-column firmware via COUT (PR#3 assumed).
1621750276Speter# Auto-wrap does not work right due to newline scrolling delay, which also
1621850276Speter# requires that you set "stty cr2".
1621950276Speter# Note: Cursor addressing is only available via the Pascal V1.1 entry,
1622050276Speter# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
1622150276Speter# using a terminal emulation program instead of the built-in firmware.
16222166124Srafanapple2e|Apple //e,
16223166124Srafan	bw, msgr,
16224166124Srafan	cols#80, lines#24,
16225166124Srafan	bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
16226166124Srafan	ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
16227166124Srafan	is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
16228166124Srafan	nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16229166124Srafan	smso=^O,
1623050276Speter# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
1623150276Speter# 4.20, with incoming and outgoing terminals both on 0, emulation On.
16232166124Srafanapple2e-p|Apple //e via Pascal,
16233166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
16234166124Srafan	kcud1=^J, use=apple2e,
1623550276Speter# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
1623650276Speter# Enable DC3/DC1 flow control with "stty ixon -ixany".
16237166124Srafanapple-ae|ASCII Express,
16238166124Srafan	OTbs, am, bw, msgr, nxon, xon,
16239166124Srafan	cols#80, it#8, lines#24,
16240166124Srafan	bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16241166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16242166124Srafan	home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
16243166124Srafan	kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16244166124Srafan	smso=^O,
16245166124SrafanappleII|apple ii plus,
16246166124Srafan	OTbs, am,
16247166124Srafan	cols#80, it#8, lines#24,
16248166124Srafan	clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
16249166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
16250166124Srafan	ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
16251166124Srafan	is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
16252166124Srafan	smso=^O,
1625350276Speter# Originally by Gary Ford 21NOV83
1625450276Speter# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
16255166124Srafanapple-80|apple II with smarterm 80 col,
16256166124Srafan	OTbs, am, bw,
16257166124Srafan	cols#80, lines#24,
16258166124Srafan	cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
16259166124Srafan	cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
16260166124Srafan	ed=\013$<10*/>, el=\035$<10/>, home=^Y,
16261166124Srafanapple-soroc|apple emulating soroc 120,
16262166124Srafan	am,
16263166124Srafan	cols#80, lines#24,
16264166124Srafan	bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
16265166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
16266166124Srafan	home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1626750276Speter# From Peter Harrison, Computer Graphics Lab, San Francisco
1626850276Speter#   ucbvax!ucsfmis!harrison  .....uucp
1626950276Speter#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
1627050276Speter# "These two work.  If you don't have the inverse video chip for the
1627150276Speter# Apple with videx then remove the :so: and :se: fields."
1627250276Speter# (apple-videx: this used to be called DaleApple -- esr)
16273166124Srafanapple-videx|Apple with videx videoterm 80 column board with inverse video,
16274166124Srafan	OTbs, am, xenl,
16275166124Srafan	cols#80, it#8, lines#24,
16276166124Srafan	clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
16277166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16278166124Srafan	home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
16279166124Srafan	rmso=^Z2, sgr0=^Z2, smso=^Z3,
1628050276Speter# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
1628150276Speter#			      Apple Cat ][ 212 modem, + more all
1628250276Speter#			      controlled by ASCII Express: Pro.
1628350276Speter# From Dave Shaver <isucs1!shaver>
16284166124Srafanapple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
16285166124Srafan	OTbs, am, eo, xt,
16286166124Srafan	cols#80, lines#24,
16287166124Srafan	acsc=, clear=^L, cuf1=^\,
16288166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16289166124Srafan	flash=^W35^W06, home=^Y,
16290166124Srafan	is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
16291166124Srafan	rmso=^N, smso=^O,
16292166124Srafanapple-uterm|Ultraterm for Apple micros,
16293166124Srafan	OTbs, am, eo, xt,
16294166124Srafan	cols#80, lines#24,
16295166124Srafan	acsc=, clear=^L, cuf1=^\,
16296166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16297166124Srafan	home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
1629850276Speter# from trwrba!bwong (Bradley W. Wong):
1629950276Speter#
1630050276Speter# This entry assumes that you are using an apple with the UCSD Pascal
1630150276Speter# language card.  SYSTEM.MISCINFO is assumed to be the same as that
1630250276Speter# supplied with the standard apple except that screenwidth should be set
1630350276Speter# using SETUP to 80 columns.  Note that the right arrow in not mapped in
1630450276Speter# this termcap entry.  This is because that key, on the Apple, transmits
1630550276Speter# a ^U and would thus preempt the more useful "up" function of vi.
1630650276Speter#
1630750276Speter# HMH 2/23/81
16308166124Srafanapple80p|80-column apple with Pascal card,
16309166124Srafan	am, bw,
16310166124Srafan	cols#80, lines#24,
16311166124Srafan	clear=^Y^L, cuf1=^\\:,
16312166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16313166124Srafan	home=^Y, kcub1=^H,
1631450276Speter#
1631550276Speter# Apple II+ equipped with Videx 80 column card
1631650276Speter#
1631750276Speter# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
1631850276Speter# manually converted by D A Gwyn
1631950276Speter#
1632050276Speter# DO NOT use any terminal emulation with this data base, it works directly
1632150276Speter# with the Videx card.  This has been tested with vi 1200 baud and works fine.
1632250276Speter#
1632350276Speter# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
1632450276Speter# 1 screen, while in R2 ^U doesn't.
1632550276Speter# For inverse alternate character set add:
1632650276Speter#	<smacs>=^O:<rmacs>=^N:
1632750276Speter# (apple-v: added it#8 -- esr)
16328166124Srafanapple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
16329166124Srafan	am, xenl,
16330166124Srafan	cols#80, it#8, lines#24,
16331166124Srafan	bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
16332166124Srafan	cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
16333166124Srafan	cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
16334166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
16335166124Srafan	khome=^Y, rmso=^Z2, smso=^Z3,
16336166124Srafanapple-videx3|vapple|Apple II with 80 col card,
16337166124Srafan	OTbs, am,
16338166124Srafan	cols#80, lines#24,
16339166124Srafan	clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16340166124Srafan	cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
16341166124Srafan	kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
16342166124Srafan	kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH,
1634350276Speter#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
16344166124Srafanaepro|Apple II+ running ASCII Express Pro--vt52,
16345166124Srafan	OTbs,
16346166124Srafan	cols#80, lines#24,
16347166124Srafan	clear=\014$<300/>, cuf1=\EC,
16348166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
16349166124Srafan	el=\EK, home=\EH,
1635050276Speter# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
16351166124Srafanapple-vm80|ap-vm80|apple with viewmax-80,
16352166124Srafan	OTbs,
16353166124Srafan	cols#80, lines#24,
16354166124Srafan	clear=\014$<300/>, cuf1=^\\:,
16355166124Srafan	cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
16356166124Srafan	ed=\013$<300/>, el=^], home=\031$<200/>,
1635750276Speter
1635850276Speter#### Apple Lisa & Macintosh
1635950276Speter#
1636050276Speter
1636150276Speter# (lisa: changed <cvvis> to <cnorm> -- esr)
16362166124Srafanlisa|apple lisa console display (black on white),
16363166124Srafan	OTbs, am, eo, msgr,
16364166124Srafan	cols#88, it#8, lines#32,
16365166124Srafan	acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
16366166124Srafan	cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
16367166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
16368166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
16369166124Srafan	is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
16370166124Srafan	kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
16371166124Srafan	sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
16372166124Srafanliswb|apple lisa console display (white on black),
16373166124Srafan	is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
16374166124Srafan	smso=\E[m, smul=\E[4m, use=lisa,
1637550276Speter
1637650276Speter# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
1637750276Speter# <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
1637850276Speter#
1637950276Speter# These entries assume that the 'Auto Wraparound' is enabled.
1638050276Speter# Xon-Xoff flow control should also be enabled.
1638150276Speter#
1638250276Speter# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
1638350276Speter# settings are in non-volatile memory and don't need to be reset upon login.
1638450276Speter# Also setting the number of columns glitches the screen annoyingly.
1638550276Speter# You can type "reset" to get them set.
1638650276Speter#
16387166124Srafanlisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
16388166124Srafan	OTbs, OTpt, am, xenl, xon,
16389166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
16390166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
16391166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16392166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16393166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
16394166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
16395166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
16396166124Srafan	kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
16397166124Srafan	rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16398166124Srafan	rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
16399166124Srafan	sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
16400166124Srafan	tbc=\E[3g,
1640150276Speter# Lisaterm in 132 column ("wide") mode.
16402166124Srafanlisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
16403166124Srafan	cols#132,
16404166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
1640550276Speter# Although MacTerminal has insert/delete line, it is commented out here
1640650276Speter# since it is much faster and cleaner to use the "lock scrolling region"
1640750276Speter# method of inserting and deleting lines due to the MacTerminal implementation.
1640850276Speter# Also, the "Insert/delete ch" strings have an extra character appended to them
1640950276Speter# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
1641050276Speter# supported by MacTerminal.
16411166124Srafanmac|macintosh|Macintosh with MacTerminal,
16412166124Srafan	xenl,
16413166124Srafan	OTdN#30,
16414166124Srafan	blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
1641550276Speter# Lisaterm in 132 column ("wide") mode.
16416166124Srafanmac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
16417166124Srafan	cols#132, use=mac,
1641850276Speter
1641997049Speter# The AppKit Terminal.app descriptions all have names beginning with
1642097049Speter# "nsterm". Note that the statusline (-s) versions use the window
1642197049Speter# titlebar as a phony status line, and may produce warnings during
1642297049Speter# compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
1642397049Speter# these warnings, or even ignore these entries entirely. Apps which
1642497049Speter# need to position the cursor or do other fancy stuff inside the status
1642597049Speter# line won't work with these entries. They're primarily useful for
1642697049Speter# programs like Pine which provide simple notifications in the status
1642797049Speter# line. Please note that non-ASCII characters don't work right in the
1642897049Speter# status line, since Terminal.app incorrectly interprets their Unicode
1642997049Speter# codepoints as MacRoman codepoints.
16430166124Srafan#
1643197049Speter# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
1643297049Speter#   "nsterm" to comply with the name length and case conventions and
1643397049Speter#   limitations of various software packages [notably Solaris terminfo
1643497049Speter#   and UNIX.] A single Apple_Terminal alias is retained for
1643597049Speter#   backwards-compatbility.
16436166124Srafan#
1643797049Speter# * Added function key support (F1-F4). These only work in Terminal.app
1643897049Speter#   version 51, hopefully the capabilities won't cause problems for people
1643997049Speter#   using version 41.
16440166124Srafan#
1644197049Speter# * Added "full color" (-c) entries which support the 16-color mode in
1644297049Speter#   version 51.
16443166124Srafan#
1644497049Speter# * By default, version 51 uses UTF-8 encoding with broken altcharset
1644597049Speter#   support, so "ASCII" (-7) entries without altcharset support were
1644697049Speter#   added.
1644797049Speter
1644897049Speter# nsterm - AppKit Terminal.app
1644976726Speter#
1645097049Speter# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
1645197049Speter# Terminal.app. It is a partial VT100 emulation with some xterm-like
1645297049Speter# extensions. This terminfo was written to describe versions 41
1645397049Speter# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
1645497049Speter# version 10.1) of Terminal.app.
1645576726Speter#
1645697049Speter# Terminal.app runs under the Mac OS X Quartz windowing system (and
1645797049Speter# other AppKit-supported windowing systems.)  On the Mac OS X machine I
1645897049Speter# use, the executable for Terminal.app is:
1645997049Speter# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
1646076726Speter#
1646197049Speter# If you're looking for a description of the full-screen system
1646297049Speter# console which runs under Apple's Darwin operating system on PowerPC
1646397049Speter# platforms, see the "xnuppc" entry instead.
1646476726Speter#
1646597049Speter# There were no function keys in version 41. In version 51, there are
1646697049Speter# four working function keys (F1, F2, F3 and F4.) The function keys
1646797049Speter# are included in all of these entries.
1646897049Speter#
1646997049Speter# It does not support mouse pointer position reporting. Under some
1647097049Speter# circumstances the cursor can be positioned using option-click; this
1647197049Speter# works by comparing the cursor position and the selected position,
1647297049Speter# and simulating enough cursor-key presses to move the cursor to the
1647397049Speter# selected position. This technique fails in all but the simplest
1647497049Speter# applications.
1647597049Speter#
1647697049Speter# It provides partial ANSI color support (background colors interacted
1647797049Speter# badly with bold in version 41, though, as reflected in :ncv:.) The
1647897049Speter# monochrome (-m) entries are useful if you've disabled color support
1647997049Speter# or use a monochrome monitor. The full color (-c) entries are useful
1648097049Speter# in version 51, which doesn't exhibit the background color bug. They
1648197049Speter# also enable an xterm-compatible 16-color mode.
1648297049Speter#
1648376726Speter# The configurable titlebar is set using xterm-compatible sequences;
1648497049Speter# it is used as a status bar in the statusline (-s) entries. Its width
1648597049Speter# depends on font sizes and window sizes, but 50 characters seems to
1648697049Speter# be the default for an 80x24 window.
1648776726Speter#
1648876726Speter# The MacRoman character encoding is used for some of the alternate
1648997049Speter# characters in the "MacRoman" entries; the "ASCII" (-7) entries
1649097049Speter# disable alternate character set support entirely, and the "VT100"
1649197049Speter# (-acs) entries rely instead on Terminal.app's own buggy VT100
1649297049Speter# graphics emulation, which seems to think the character encoding is
1649397049Speter# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
1649497049Speter# are useful in Terminal.app version 51, which supports UTF-8 and
1649597049Speter# other ASCII-compatible character encodings but does not correctly
1649697049Speter# implement VT100 graphics; once VT100 graphics are correctly
1649797049Speter# implemented in Terminal.app, the "VT100" (-acs) entries should be
1649897049Speter# usable in any ASCII-compatible character encoding [except perhaps
1649997049Speter# in UTF-8, where some experts argue for disallowing alternate
1650097049Speter# characters entirely.]
1650176726Speter#
1650276726Speter# Terminal.app reports "vt100" as the terminal type, but exports
1650376726Speter# several environment variables which may aid detection in a shell
1650497049Speter# profile (i.e. .profile or .login):
1650576726Speter#
1650676726Speter# TERM=vt100
1650776726Speter# TERM_PROGRAM=Apple_Terminal
1650897049Speter# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
1650997049Speter# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
1651097049Speter#
1651197049Speter# For example, the following Bourne shell script would detect the
1651297049Speter# correct terminal type:
1651397049Speter#
1651497049Speter# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
1651597049Speter# then
1651697049Speter#     export TERM
1651797049Speter#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
1651897049Speter#     then
1651997049Speter#         TERM="nsterm"
1652097049Speter#     else
1652197049Speter#         TERM="nsterm-c-7"
1652297049Speter#     fi
1652397049Speter# fi
1652497049Speter#
1652597049Speter# In a C shell derivative, this would be accomplished by:
1652697049Speter#
1652797049Speter# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
1652897049Speter#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
1652997049Speter#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
1653097049Speter#              setenv TERM "nsterm"
1653197049Speter#          else
1653297049Speter#              setenv TERM "nsterm-c-7"
1653397049Speter#          endif
1653497049Speter#     endif
1653597049Speter# endif
1653676726Speter
1653797049Speter# The '+' entries are building blocks
16538166124Srafannsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset,
16539166124Srafan	am, bw, msgr, xenl, xon,
16540166124Srafan	cols#80, it#8, lines#24,
16541166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
16542166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16543166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16544166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16545166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
16546166124Srafan	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
16547166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16548166124Srafan	kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
16549166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16550166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
16551166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
16552166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16553166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq, use=vt100+pfkeys,
1655476726Speter
16555166124Srafannsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset,
16556166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16557166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16558166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16559166124Srafan	smacs=^N, use=nsterm+7,
1656097049Speter
16561166124Srafannsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
16562166124Srafan	acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,
16563166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16564166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16565166124Srafan	smacs=^N, use=nsterm+7,
1656697049Speter
16567166124Srafannsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
16568166124Srafan	hs,
16569166124Srafan	wsl#50,
16570166124Srafan	dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
1657197049Speter
16572166124Srafannsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
16573166124Srafan	op=\E[0m, use=ibm+16color,
1657497049Speter
16575166124Srafannsterm+c41|AppKit Terminal.app v41 color support,
16576166124Srafan	colors#8, ncv#37, pairs#64,
16577166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1657897049Speter
1657997049Speter# These are different combinations of the building blocks
1658097049Speter
1658197049Speter# ASCII charset (-7)
16582166124Srafannsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome),
16583166124Srafan	use=nsterm+7,
1658497049Speter
16585166124Srafannsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline),
16586166124Srafan	use=nsterm+s, use=nsterm+7,
1658797049Speter
16588166124Srafannsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color),
16589166124Srafan	use=nsterm+c41, use=nsterm+7,
1659097049Speter
16591166124Srafannsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color),
16592166124Srafan	use=nsterm+c, use=nsterm+7,
1659397049Speter
16594166124Srafannsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline),
16595166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+7,
1659697049Speter
16597166124Srafannsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline),
16598166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+7,
1659997049Speter
1660097049Speter# VT100 alternate-charset (-acs)
16601166124Srafannsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome),
16602166124Srafan	use=nsterm+acs,
1660397049Speter
16604166124Srafannsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline),
16605166124Srafan	use=nsterm+s, use=nsterm+acs,
1660697049Speter
16607166124Srafannsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color),
16608166124Srafan	use=nsterm+c41, use=nsterm+acs,
1660997049Speter
16610166124Srafannsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color),
16611166124Srafan	use=nsterm+c, use=nsterm+acs,
1661297049Speter
16613166124Srafannsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline),
16614166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+acs,
1661597049Speter
16616166124Srafannsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline),
16617166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+acs,
1661897049Speter
1661997049Speter# MacRoman charset
16620166124Srafannsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome),
16621166124Srafan	use=nsterm+mac,
1662297049Speter
16623166124Srafannsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline),
16624166124Srafan	use=nsterm+s, use=nsterm+mac,
1662597049Speter
16626166124Srafannsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color),
16627166124Srafan	use=nsterm+c41, use=nsterm+mac,
1662897049Speter
16629166124Srafannsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color),
16630166124Srafan	use=nsterm+c, use=nsterm+mac,
1663197049Speter
16632166124Srafannsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline),
16633166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+mac,
1663497049Speter
16635166124Srafannsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline),
16636166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+mac,
1663797049Speter
16638166124Srafan
16639166124Srafan# This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
16640166124Srafan# and D P Schreber comparing to nsterm-c-s-acs.
16641166124Srafan#
16642166124Srafan# D P Schreber notes that $TERM can be set in Terminal.app, e.g.,
16643166124Srafan#	defaults write com.apple.Terminal TermCapString nsterm-c-s-acs
16644166124Srafan# and that it is not set in Terminal's preferences dialog.
16645166124Srafannsterm-16color|AppKit Terminal.app v100.1.8 with MacOS X 10.3.9,
16646166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
16647166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
16648166124Srafan	knp=\E[6~, kpp=\E[5~, use=nsterm-c-s-acs,
16649166124Srafan
1665097049Speter# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
1665197049Speter#
1665297049Speter# On PowerPC platforms, Apple's Darwin operating system uses a
1665397049Speter# full-screen system console derived from a NetBSD framebuffer
1665497049Speter# console. It is an ANSI-style terminal, and is not really VT-100
1665597049Speter# compatible.
1665697049Speter#
1665797049Speter# Under Mac OS X, this is the system console driver used while in
1665897049Speter# single-user mode [reachable by holding down Command-S during the
1665997049Speter# boot process] and when logged in using console mode [reachable by
1666097049Speter# typing ">console" at the graphical login prompt.]
1666197049Speter#
1666297049Speter# If you're looking for a description of the Terminal.app terminal
1666397049Speter# emulator which runs under the Mac OS X Quartz windowing system (and
1666497049Speter# other AppKit-supported windowing systems,) see the "nsterm"
1666597049Speter# entry instead.
1666697049Speter#
1666797049Speter# NOTE: Under Mac OS X version 10.1, the default login window does not
1666897049Speter# prompt for user name, instead requiring an icon to be selected from
1666997049Speter# a list of known users. Since the special ">console" login is not in
1667097049Speter# this list, you must make one of two changes in the Login Window
1667197049Speter# panel of the Login section of System Prefs to make the special
1667297049Speter# ">console" login accessible. The first option is to enable 'Show
1667397049Speter# "Other User" in list for network users', which will add a special
1667497049Speter# "Other..." icon to the graphical login panel. Selecting "Other..."
1667597049Speter# will present the regular graphical login prompt. The second option
1667697049Speter# is to change the 'Display Login Window as:' setting to 'Name and
1667797049Speter# password entry fields', which replaces the login panel with a
1667897049Speter# graphical login prompt.
1667997049Speter#
1668097049Speter# There are no function keys, at least not in Darwin 1.3.
1668197049Speter#
1668297049Speter# It has no mouse support.
1668397049Speter#
1668497049Speter# It has full ANSI color support, and color combines correctly with
1668597049Speter# all three supported attributes: bold, inverse-video and underline.
1668697049Speter# However, bold colored text is almost unreadable (bolding is
1668797049Speter# accomplished using shifting and or-ing, and looks smeared) so bold
1668897049Speter# has been excluded from the list of color-compatible attributes
1668997049Speter# [using (ncv)]. The monochrome entry (-m) is useful if you use a
1669097049Speter# monochrome monitor.
1669197049Speter#
1669297049Speter# There is one serious bug with this terminal emulation's color
1669397049Speter# support: repositioning the cursor onto a cell with non-matching
1669497049Speter# colors obliterates that cell's contents, replacing it with a blank
1669597049Speter# and displaying a colored cursor in the "current" colors. There is
1669697049Speter# no complete workaround at present [other than using the monochrome
1669797049Speter# (-m) entries,] but removing the (msgr) capability seemed to help.
1669897049Speter#
1669997049Speter# The "standout" chosen was simple reverse-video, although a colorful
1670097049Speter# standout might be more aesthetically pleasing. Similarly, the bold
1670197049Speter# chosen is the terminal's own smeared bold, although a simple
1670297049Speter# color-change might be more readable. The color-bold (-b) entries
1670397049Speter# uses magenta colored text for bolding instead. The fancy color (-f
1670497049Speter# and -f2) entries use color for bold, standout and underlined text
1670597049Speter# (underlined text is still underlined, though.)
1670697049Speter#
1670797049Speter# Apparently the terminal emulator does support a VT-100-style
1670897049Speter# alternate character set, but all the alternate character set
1670997049Speter# positions have been left blank in the font. For this reason, no
1671097049Speter# alternate character set capabilities have been included in this
1671197049Speter# description. The console driver appears to be ASCII-only, so (enacs)
1671297049Speter# has been excluded [although the VT-100 sequence does work.]
1671397049Speter#
1671497049Speter# The default Mac OS X and Darwin installation reports "vt100" as the
1671597049Speter# terminal type, and exports no helpful environment variables. To fix
1671697049Speter# this, change the "console" entry in /etc/ttys from "vt100" to
1671797049Speter# "xnuppc-WxH", where W and H are the character dimensions of your
1671897049Speter# console (see below.)
1671997049Speter#
1672097049Speter# The font used by the terminal emulator is apparently one originally
1672197049Speter# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
1672297049Speter# file includes descriptions for the following geometries:
1672397049Speter#
1672497049Speter#     Pixels        Characters   Entry Name (append -m for monochrome)
1672597049Speter#    -------------------------------------------------------------------
1672697049Speter#     640x400       80x25        xnuppc-80x25
1672797049Speter#     640x480       80x30        xnuppc-80x30
1672897049Speter#     720x480       90x30        xnuppc-90x30
1672997049Speter#     800x600       100x37       xnuppc-100x37
1673097049Speter#     896x600       112x37       xnuppc-112x37
1673197049Speter#     1024x640      128x40       xnuppc-128x40
1673297049Speter#     1024x768      128x48       xnuppc-128x48
1673397049Speter#     1152x768      144x48       xnuppc-144x48
1673497049Speter#     1280x1024     160x64       xnuppc-160x64
1673597049Speter#     1600x1024     200x64       xnuppc-200x64
1673697049Speter#     1600x1200     200x75       xnuppc-200x75
1673797049Speter#     2048x1536     256x96       xnuppc-256x96
1673897049Speter#
1673997049Speter# The basic "xnuppc" entry includes no size information, and the
1674097049Speter# emulator includes no reporting capability, so you'll be at the mercy
1674197049Speter# of the TTY device (which reports incorrectly on my hardware.) The
1674297049Speter# color-bold entries do not include size information.
1674397049Speter
1674497049Speter# The '+' entries are building blocks
16745166124Srafanxnuppc+basic|Darwin PowerPC Console basic capabilities,
16746166124Srafan	am, bce, mir, xenl,
16747166124Srafan	it#8,
16748166124Srafan	bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
16749166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16750166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16751166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K,
16752166124Srafan	el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177,
16753166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
16754166124Srafan	rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m,
16755166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
16756166124Srafan	sc=\E7,
16757166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16758166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16759166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+keypad,
1676097049Speter
16761166124Srafanxnuppc+c|Darwin PowerPC Console ANSI color support,
16762166124Srafan	colors#8, ncv#32, pairs#64,
16763166124Srafan	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1676476726Speter
16765166124Srafanxnuppc+b|Darwin PowerPC Console color-bold support,
16766166124Srafan	ncv#32,
16767166124Srafan	bold=\E[35m,
16768166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16769166124Srafan	use=xnuppc+basic,
1677076726Speter
16771166124Srafanxnuppc+f|Darwin PowerPC Console fancy color support,
16772166124Srafan	ncv#35,
16773166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%?%p3%t;7%;m,
16774166124Srafan	smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b,
1677576726Speter
16776166124Srafanxnuppc+f2|Darwin PowerPC Console alternate fancy color support,
16777166124Srafan	ncv#35,
16778166124Srafan	bold=\E[33m,
16779166124Srafan	sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%?%p3%t;7%;m,
16780166124Srafan	smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic,
1678197049Speter
1678297049Speter# Building blocks for specific screen sizes
16783166124Srafanxnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels),
16784166124Srafan	cols#80, lines#25,
1678597049Speter
16786166124Srafanxnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels),
16787166124Srafan	cols#80, lines#30,
1678897049Speter
16789166124Srafanxnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels),
16790166124Srafan	cols#90, lines#30,
1679197049Speter
16792166124Srafanxnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels),
16793166124Srafan	cols#100, lines#37,
1679497049Speter
16795166124Srafanxnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels),
16796166124Srafan	cols#112, lines#37,
1679797049Speter
16798166124Srafanxnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels),
16799166124Srafan	cols#128, lines#40,
1680097049Speter
16801166124Srafanxnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels),
16802166124Srafan	cols#128, lines#48,
1680397049Speter
16804166124Srafanxnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels),
16805166124Srafan	cols#144, lines#48,
1680697049Speter
16807166124Srafanxnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels),
16808166124Srafan	cols#160, lines#64,
1680997049Speter
16810166124Srafanxnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels),
16811166124Srafan	cols#200, lines#64,
1681297049Speter
16813166124Srafanxnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels),
16814166124Srafan	cols#200, lines#75,
1681597049Speter
16816166124Srafanxnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels),
16817166124Srafan	cols#256, lines#96,
1681897049Speter
1681997049Speter# These are different combinations of the building blocks
1682097049Speter
16821166124Srafanxnuppc-m|darwin-m|Darwin PowerPC Console (monochrome),
16822166124Srafan	use=xnuppc+basic,
1682397049Speter
16824166124Srafanxnuppc|darwin|Darwin PowerPC Console (color),
16825166124Srafan	use=xnuppc+c, use=xnuppc+basic,
1682697049Speter
16827166124Srafanxnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold),
16828166124Srafan	use=xnuppc+b,
1682997049Speter
16830166124Srafanxnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold),
16831166124Srafan	use=xnuppc+b, use=xnuppc+c,
1683297049Speter
16833166124Srafanxnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome),
16834166124Srafan	use=xnuppc+f,
1683597049Speter
16836166124Srafanxnuppc-f|darwin-f|Darwin PowerPC Console (fancy color),
16837166124Srafan	use=xnuppc+f, use=xnuppc+c,
1683897049Speter
16839166124Srafanxnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome),
16840166124Srafan	use=xnuppc+f2,
1684197049Speter
16842166124Srafanxnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color),
16843166124Srafan	use=xnuppc+f2, use=xnuppc+c,
1684497049Speter
1684597049Speter# Combinations for specific screen sizes
16846166124Srafanxnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25,
16847166124Srafan	use=xnuppc+80x25, use=xnuppc+basic,
1684897049Speter
16849166124Srafanxnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25,
16850166124Srafan	use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic,
1685197049Speter
16852166124Srafanxnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30,
16853166124Srafan	use=xnuppc+80x30, use=xnuppc+basic,
1685497049Speter
16855166124Srafanxnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30,
16856166124Srafan	use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic,
1685797049Speter
16858166124Srafanxnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30,
16859166124Srafan	use=xnuppc+90x30, use=xnuppc+basic,
1686097049Speter
16861166124Srafanxnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30,
16862166124Srafan	use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic,
1686397049Speter
16864166124Srafanxnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37,
16865166124Srafan	use=xnuppc+100x37, use=xnuppc+basic,
1686697049Speter
16867166124Srafanxnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37,
16868166124Srafan	use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic,
1686997049Speter
16870166124Srafanxnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37,
16871166124Srafan	use=xnuppc+112x37, use=xnuppc+basic,
1687297049Speter
16873166124Srafanxnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37,
16874166124Srafan	use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic,
1687597049Speter
16876166124Srafanxnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40,
16877166124Srafan	use=xnuppc+128x40, use=xnuppc+basic,
1687897049Speter
16879166124Srafanxnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40,
16880166124Srafan	use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic,
1688197049Speter
16882166124Srafanxnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48,
16883166124Srafan	use=xnuppc+128x48, use=xnuppc+basic,
1688497049Speter
16885166124Srafanxnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48,
16886166124Srafan	use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic,
1688797049Speter
16888166124Srafanxnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48,
16889166124Srafan	use=xnuppc+144x48, use=xnuppc+basic,
1689097049Speter
16891166124Srafanxnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48,
16892166124Srafan	use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic,
1689397049Speter
16894166124Srafanxnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64,
16895166124Srafan	use=xnuppc+160x64, use=xnuppc+basic,
1689697049Speter
16897166124Srafanxnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64,
16898166124Srafan	use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic,
1689997049Speter
16900166124Srafanxnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64,
16901166124Srafan	use=xnuppc+200x64, use=xnuppc+basic,
1690297049Speter
16903166124Srafanxnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64,
16904166124Srafan	use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic,
1690597049Speter
16906166124Srafanxnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75,
16907166124Srafan	use=xnuppc+200x75, use=xnuppc+basic,
1690897049Speter
16909166124Srafanxnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75,
16910166124Srafan	use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic,
1691197049Speter
16912166124Srafanxnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96,
16913166124Srafan	use=xnuppc+256x96, use=xnuppc+basic,
1691497049Speter
16915166124Srafanxnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96,
16916166124Srafan	use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic,
1691797049Speter
1691850276Speter#### Radio Shack/Tandy
1691950276Speter#
1692050276Speter
1692150276Speter# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
1692250276Speter# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
1692350276Speter# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
16924166124Srafancoco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
16925166124Srafan	OTbs, am,
16926166124Srafan	cols#80, it#8, lines#24,
16927166124Srafan	bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
16928166124Srafan	clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
16929166124Srafan	cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
16930166124Srafan	dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
16931166124Srafan	kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
16932166124Srafan	sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
1693350276Speter# (trs2: removed obsolete ":nl=^_:" -- esr)
16934166124Srafantrs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
16935166124Srafan	OTbs, am, msgr,
16936166124Srafan	cols#80, it#8, lines#24,
16937166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
16938166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
16939166124Srafan	el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
16940166124Srafan	kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
1694150276Speter# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1694250276Speter# (This had extension capabilities
1694350276Speter#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
1694450276Speter#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1694550276Speter# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
16946166124Srafantrs16|trs-80 model 16 console,
16947166124Srafan	OTbs, am,
16948166124Srafan	cols#80, it#8, lines#24,
16949166124Srafan	acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
16950166124Srafan	cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
16951166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
16952166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
16953166124Srafan	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
16954166124Srafan	kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
16955166124Srafan	khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
16956166124Srafan	lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
16957166124Srafan	smacs=\ERG, smso=\ERD,
1695850276Speter
1695950276Speter#### Atari ST
1696050276Speter#
1696150276Speter
1696250276Speter# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
16963166124Srafanatari|atari st,
16964166124Srafan	OTbs, am,
16965166124Srafan	cols#80, it#8, lines#25,
16966166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
16967166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
16968166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
16969166124Srafan	kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
1697050276Speter# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
1697150276Speter# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
16972166124Srafanuniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
16973166124Srafan	lines#49,
16974166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H,
16975166124Srafan	use=vt220,
1697650276Speter# MiNT VT52 emulation. 80 columns, 25 rows.
1697750276Speter# MiNT is Now TOS, the operating system which comes with all Ataris now
1697850276Speter# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
1697950276Speter# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1698050276Speter# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
16981166124Srafanst52|Atari ST with VT52 emulation,
16982166124Srafan	am, km,
16983166124Srafan	cols#80, lines#25,
16984166124Srafan	bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
16985166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16986166124Srafan	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
16987166124Srafan	ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
16988166124Srafan	kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
16989166124Srafan	kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
16990166124Srafan	kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
16991166124Srafan	kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
16992166124Srafan	ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
16993166124Srafan	smcup=\Ee, smso=\Ep,
16994166124Srafan
1699550276Speter#### Commodore Business Machines
1699650276Speter#
1699750276Speter# Formerly located in West Chester, PA; went spectacularly bust in 1994
1699850276Speter# after years of shaky engineering and egregious mismanagement.  Made one
1699950276Speter# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
1700050276Speter# C-128, VIC-20).  The C-64 is said to have been the most popular machine
1700150276Speter# ever (most units sold); they can still be found gathering dust in closets
1700250276Speter# everywhere.
1700350276Speter#
1700450276Speter
1700550276Speter# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
1700650276Speter# Added a few more entries, converted caret-type control sequence (^x) entries
1700750276Speter# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
1700862449Speter# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
1700950276Speter#
1701050276Speter# :as:, :ae:			Support for alternate character sets.
1701150276Speter# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
1701250276Speter# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
1701350276Speter#     This one appears to fix a problem I always had with a line ending
1701450276Speter#     at 'width+1' (I think) followed by a blank line in vi. The blank
1701550276Speter#     line tended to disappear and reappear depending on how the screen
1701650276Speter#     was refreshed. Note that this is probably needed only if you use
1701750276Speter#     something like a Dnet Fterm with the window sized to some peculiar
1701850276Speter#     dimension larger than 80 columns.
1701950276Speter# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1702050276Speter# (amiga: removed obsolete :kn#10:,
1702150276Speter# also added empty <acsc> to suppress a warning --esr)
17022166124Srafanamiga|Amiga ANSI,
17023166124Srafan	OTbs, am, bw, xenl,
17024166124Srafan	cols#80, lines#24,
17025166124Srafan	acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
17026166124Srafan	civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
17027166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
17028166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
17029166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17030166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
17031166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
17032166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H,
17033166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~,
17034166124Srafan	kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~,
17035166124Srafan	kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m,
17036166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m,
17037166124Srafan	rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
1703850276Speter
1703950276Speter# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1704050276Speter# (amiga: added empty <acsc> to suppress a warning.
1704150276Speter# I'm told this entry screws up badly with AS225, the Amiga
1704250276Speter# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
17043166124Srafanamiga-h|Hans Verkuil's Amiga ANSI,
17044166124Srafan	OTbs, bw, msgr,
17045166124Srafan	cols#80, lines#24,
17046166124Srafan	acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
17047166124Srafan	civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
17048166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
17049166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
17050166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
17051166124Srafan	dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
17052166124Srafan	home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
17053166124Srafan	indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
17054166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17055166124Srafan	kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
17056166124Srafan	kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
17057166124Srafan	kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
17058166124Srafan	rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
17059166124Srafan	rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
17060166124Srafan	smso=\2337m, smul=\2334m,
1706150276Speter
1706256639Speter# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
17063166124Srafan#
17064166124Srafan# Pavel Fedin added
17065166124Srafan#	Home    Shift+Left
17066166124Srafan#	End     Shift+Right
17067166124Srafan#	PgUp    Shift+Up
17068166124Srafan#	PgDn    Shift+Down
17069166124Srafanamiga-8bit|Amiga ANSI using 8-bit controls,
17070166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17071166124Srafan	ind=\204, indn@, kend=\233 @, khome=\233 A, knp=\233S,
17072166124Srafan	kpp=\233T, ri=\215, rin@, use=amiga-h,
1707356639Speter
1707466963Speter# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
1707566963Speter# requires use of appropriate preferences settings.
17076166124Srafanamiga-vnc|Amiga using VNC console (black on light gray),
17077166124Srafan	am, da, db, msgr, ndscr,
17078166124Srafan	btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256,
17079166124Srafan	bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p,
17080166124Srafan	clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M,
17081166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17082166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17083166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17084166124Srafan	cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17085166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G,
17086166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
17087166124Srafan	indn=\E[%p1%dS, invis=\E8m,
17088166124Srafan	is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17089166124Srafan	kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17090166124Srafan	kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~,
17091166124Srafan	kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~,
17092166124Srafan	kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~,
17093166124Srafan	kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m,
17094166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J,
17095166124Srafan	rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec,
17096166124Srafan	rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17097166124Srafan	setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m,
17098166124Srafan	setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m,
17099166124Srafan	sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,
17100166124Srafan	smso=\E[1m, smul=\E[4m,
1710166963Speter
17102166124Srafan# MorphOS on Genesi Pegasos
17103166124Srafan# By Pavel Fedin <sonic_amiga@rambler.ru>
17104166124Srafanmorphos,
17105166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17106166124Srafan	ind=\204, indn@, kend=\23345~, kf11=\23320~, kf12=\23321~,
17107166124Srafan	khome=\23344~, kich1=\23340~, knp=\23342~, kpp=\23341~,
17108166124Srafan	ri=\215, rin@, use=amiga-h,
17109166124Srafan
1711050276Speter# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
1711150276Speter# 	I'm trying to write a termcap for a commodore b-128, and I'm
1711250276Speter# having a little trouble. I've had to map most of my control characters
1711350276Speter# to something that unix will accept (my delete-char is a ctrl-t, etc),
1711450276Speter# and create some functions (like cm), but thats life.
1711550276Speter# 	The problem is with the arrow keys - right, and up work fine, but
1711650276Speter# left deletes the previous character and down I just can't figure out.
1711750276Speter# Jove knows what I want, but I don't know what it's sending to me (it
1711850276Speter# isn't thats bound to next-line in jove).
1711950276Speter# 	Anybody got any ideas? Here's my termcap.
1712050276Speter# DAG -- I changed his "^n" entries to "\n"; see if that works.
1712150276Speter#
17122166124Srafancommodore|b-128|Commodore B-128 micro,
17123166124Srafan	am, bw,
17124166124Srafan	OTdN#20, cols#80, lines#24, pb#150,
17125166124Srafan	OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
17126166124Srafan	cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
17127166124Srafan	dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
17128166124Srafan	home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
17129166124Srafan	kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
17130166124Srafan	smir=,
1713150276Speter
1713250276Speter#### North Star
1713350276Speter#
1713450276Speter# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
17135166124Srafannorthstar|North Star Advantage,
17136166124Srafan	OTbs,
17137166124Srafan	cols#80, lines#24,
17138166124Srafan	clear=\004$<200/>,
17139166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
17140166124Srafan	el=\016$<200/>, home=\034\032$<200/>,
1714150276Speter
1714250276Speter#### Osborne
1714350276Speter#
1714450276Speter# Thu Jul  7 03:55:16 1983
17145166124Srafan#
17146166124Srafan# As an aside, be careful; it may sound like an anomaly on the
17147166124Srafan# Osborne, but with the 80-column upgrade, it's too easy to
1714850276Speter# enter lines >80 columns!
17149166124Srafan#
1715050276Speter# I've already had several comments...
17151166124Srafan# The Osborne-1 with the 80-col option is capable of being
17152166124Srafan# 52, 80, or 104 characters wide; default to 80 for compatibility
1715350276Speter# with most systems.
17154166124Srafan#
1715550276Speter# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
17156166124Srafanosborne-w|osborne1-w|osborne I in 104-column mode,
17157166124Srafan	msgr, ul, xt,
17158166124Srafan	cols#104, lines#24,
17159166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17160166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17161166124Srafan	dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
17162166124Srafan	kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
1716350276Speter# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
17164166124Srafanosborne|osborne1|osborne I in 80-column mode,
17165166124Srafan	OTbs, am, mir, msgr, ul, xhp,
17166166124Srafan	OTdB#4, cols#80, lines#24,
17167166124Srafan	clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
17168166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
17169166124Srafan	dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
17170166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
17171166124Srafan	rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1717250276Speter#
1717350276Speter# Osborne Executive definition from BRL
1717450276Speter# Similar to tvi920
1717550276Speter# Added by David Milligan and Tom Smith (SMU)
17176166124Srafanosexec|Osborne executive,
17177166124Srafan	OTbs, am,
17178166124Srafan	OTug#1, cols#80, lines#24, xmc#1,
17179166124Srafan	OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17180166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17181166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
17182166124Srafan	is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
17183166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
17184166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
17185166124Srafan	kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
17186166124Srafan	smul=\El, tbc=\E3,
1718750276Speter
1718850276Speter#### Console types for obsolete UNIX clones
1718950276Speter#
1719050276Speter# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
1719150276Speter# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1719250276Speter# were commercial, Minix an educational tool sold in conjunction with a book.
1719350276Speter# Memory-segmentation limits and a strong tendency to look like V7 long after
1719450276Speter# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
1719550276Speter# and Minix were ported to 32-bit Intel boxes, only to be run over by a
17196166124Srafan# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1719750276Speter# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
1719850276Speter# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
1719950276Speter# even as single processes under SunOS and the Macintosh OS.
1720050276Speter#
1720150276Speter
1720250276Speter# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
17203166124Srafanminix|minix console (v1.7),
17204166124Srafan	am, xenl,
17205166124Srafan	cols#80, it#8, lines#25,
17206166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17207166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17208166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17209166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17210166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17211166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17212166124Srafan	is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17213166124Srafan	kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
17214166124Srafan	kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
17215166124Srafan	lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
17216166124Srafan	rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1721750276Speter# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
17218166124Srafanminix-old|minix console (v1.5),
17219166124Srafan	xon,
17220166124Srafan	cols#80, it#8, lines#25,
17221166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17222166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17223166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17224166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17225166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17226166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17227166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
17228166124Srafan	kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
17229166124Srafan	khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
17230166124Srafan	rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1723150276Speter# The linewrap option can be specified by editing /usr/include/minix/config.h
1723250276Speter# before recompiling the minix 1.5 kernel.
17233166124Srafanminix-old-am|minix console with linewrap,
17234166124Srafan	am, use=minix-old,
1723550276Speter
17236166124Srafanpc-minix|minix console on an Intel box,
17237166124Srafan	use=klone+acs, use=minix,
1723850276Speter
1723950276Speter# According to the Coherent 2.3 manual, the PC console is similar
1724050276Speter# to a z19. The differences seem to be (1) 25 lines, (2) no status
1724150276Speter# line, (3) standout is broken, (4) ins/del line is broken, (5)
1724250276Speter# has blinking and bold.
17243166124Srafanpc-coherent|pcz19|coherent|IBM PC console running Coherent,
17244166124Srafan	am, mir,
17245166124Srafan	cols#80, it#8, lines#25,
17246166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
17247166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
17248166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
17249166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
17250166124Srafan	rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1725150276Speter
1725250276Speter# According to the Venix 1.1 manual, the PC console is similar
17253166124Srafan# to a DEC vt52.  Differences seem to be (1) arrow keys send
1725450276Speter# different strings, (2) enhanced standout, (3) added insert/delete line.
1725550276Speter# Note in particular that it doesn't have automatic margins.
1725650276Speter# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
1725750276Speter# not described here because this derives from an old termcap entry.
17258166124Srafanpc-venix|venix|IBM PC console running Venix,
17259166124Srafan	cols#80, it#8, lines#25,
17260166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
17261166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
17262166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
17263166124Srafan	kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1726450276Speter
1726550276Speter#### Miscellaneous microcomputer consoles
1726650276Speter#
1726750276Speter# If you know anything more about any of these, please tell me.
1726850276Speter#
1726950276Speter
1727050276Speter# The MAI Basic Four computer was obsolete at the end of the 1980s.
17271166124Srafan# It may be used as a terminal by putting it in "line" mode as seen on
1727250276Speter# one of the status lines.
17273166124Srafan# Initialization is similar to CIT80. <is2> will set ANSI mode for you.
1727450276Speter# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
17275166124Srafan# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
1727650276Speter# used \ED instead.
1727750276Speter# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
17278166124Srafanmai|basic4|MAI Basic Four in ansi mode,
17279166124Srafan	am, da, db, mir, msgr,
17280166124Srafan	cols#82, it#8, lines#25,
17281166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
17282166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
17283166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
17284166124Srafan	dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
17285166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED,
17286166124Srafan	is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
17287166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
17288166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
17289166124Srafan	kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
17290166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
17291166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m,
1729250276Speter# basis from Peter Harrison, Computer Graphics Lab, San Francisco
1729350276Speter#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
1729462449Speter#
1729562449Speter# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
1729662449Speter# The Basis 108 was a Apple II clone, manufactured by the "Basis
17297166124Srafan# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
1729862449Speter# about 1,5 km from where I live, but doesn't build own computers any
1729962449Speter# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
1730062449Speter# equipped with one or two 5.25" disk drives, had a monochrome and colour
1730162449Speter# video output for a TV set or a dedicated monitor and several slots for
1730262449Speter# Apple II cards. Basis 108 were quite popular at german schools before
1730362449Speter# the advent of the IBM PC. They run, for example, the UCSD Pascal
1730462449Speter# development system (which I used even in 1993 to program the steering
1730562449Speter# and data recording for our school's experimental solar panel :), Apple DOS
1730662449Speter# or CP/M.
1730750276Speter# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
17308166124Srafanbasis|BASIS108 computer with terminal translation table active,
17309166124Srafan	clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
17310166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
17311166124Srafan	smso=\E(, use=adm3a,
1731250276Speter# luna's BMC terminal emulator
17313166124Srafanluna|luna68k|LUNA68K Bitmap console,
17314166124Srafan	cols#88, lines#46, use=ansi-mini,
17315166124Srafanmegatek|pegasus workstation terminal emulator,
17316166124Srafan	am, os,
17317166124Srafan	cols#83, lines#60,
17318166124Srafan# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
1731950276Speter# interface (pre-Macintosh by several years) that went nowhere.
17320166124Srafanxerox820|x820|Xerox 820,
17321166124Srafan	am,
17322166124Srafan	cols#80, lines#24,
17323166124Srafan	bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17324166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
17325166124Srafan	home=^^, ind=^J,
1732650276Speter
1732750276Speter#### Videotex and teletext
1732850276Speter#
1732950276Speter
1733050276Speter# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
1733150276Speter# \E[?3l	80 columns
1733250276Speter# \E[?4l	scrolling on
1733350276Speter# \E[12h	local echo off
1733450276Speter# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
1733550276Speter# \E)0		G1 DEC set (line graphics)
1733650276Speter#
1733750276Speter# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
17338166124Srafanm2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
17339166124Srafan	OTbs, eslok, hs, xenl,
17340166124Srafan	cols#80, it#8, lines#24, wsl#72, xmc#0,
17341166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
17342166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
17343166124Srafan	cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17344166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
17345166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17346166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17347166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
17348166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>,
17349166124Srafan	is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
17350166124Srafan	is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
17351166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
17352166124Srafan	kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
17353166124Srafan	kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
17354166124Srafan	kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
17355166124Srafan	mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
17356166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
17357166124Srafan	rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
17358166124Srafan	smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
17359166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n,
1736050276Speter
1736150276Speter# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
1736250276Speter#
17363166124Srafanminitel1|minitel 1,
17364166124Srafan	am, bw, eslok, hs, hz, msgr,
17365166124Srafan	colors#8, cols#40, lines#24, pairs#8,
17366166124Srafan	acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
17367166124Srafan	cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
17368166124Srafan	cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
17369166124Srafan	enacs=^Y, fsl=^J, home=^^, ind=^J,
17370166124Srafan	is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
17371166124Srafan	rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
17372166124Srafan	setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
17373166124Srafan	sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
17374166124Srafan	sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
1737550276Speter# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
17376166124Srafanminitel1b|minitel 1-bistandard (in 40cols mode),
17377166124Srafan	mir,
17378166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
17379166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
17380166124Srafan	dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
17381166124Srafan	is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
17382166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17383166124Srafan	kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
17384166124Srafan	smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1,
1738550276Speter# <rmkx> posait des problemes (logout en sortant de vi).
17386166124Srafanminitel1b-80|minitel 1-bistandard (standard teleinformatique),
17387166124Srafan	am@, bw@, hz@,
17388166124Srafan	colors@, cols#80, it#8, pairs@,
17389166124Srafan	blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
17390166124Srafan	clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
17391166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
17392166124Srafan	ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
17393166124Srafan	kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
17394166124Srafan	kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
17395166124Srafan	ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
17396166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
17397166124Srafan	sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b,
1739850276Speter
1739950276Speter######## OBSOLETE VDT TYPES
1740050276Speter#
1740150276Speter# These terminals are *long* dead -- these entries are retained for
1740250276Speter# historical interest only.
1740350276Speter
1740450276Speter#### Amtek Business Machines
1740550276Speter#
1740650276Speter
1740750276Speter# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
1740850276Speter# but these caps were commented out in 8.3; also, removed overridden
1740950276Speter# ":do=^J:" -- esr)
17410166124Srafanabm80|amtek business machines 80,
17411166124Srafan	OTbs, am, bw,
17412166124Srafan	cols#80, lines#24,
17413166124Srafan	cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
17414166124Srafan	cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
17415166124Srafan	dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1741650276Speter
1741750276Speter#### Bell Labs blit terminals
1741850276Speter#
17419166124Srafan# These were AT&T's official entries.  The 5620 FAQ maintained by
1742050276Speter# David Breneman <daveb@dgtl.com> has this to say:
1742150276Speter#
1742250276Speter#  Actually, in the beginning was the Jerq, and the Jerq was white with a
1742350276Speter#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
1742450276Speter#  was good.  But lo, upon the horizon loomed a mighty management-type person
1742550276Speter#  (known now only by the initials VP) who said, the mighty Jerq must stay
1742650276Speter#  alone, and could not go forth into the world. So Locanthi and Pike put the
1742750276Speter#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
1742850276Speter#  world. And the Jerq lived the rest of its days in research, but never
1742950276Speter#  strayed from those paths.
1743050276Speter#
1743150276Speter#  In all seriousness, the Blit was originally known as the Jerq, but when
1743250276Speter#  it started to be shown outside of the halls of the Bell Labs Research
1743350276Speter#  organization, the management powers that be decided that the name could
1743450276Speter#  not remain. So it was renamed to be Blit. This was in late 1981.
1743550276Speter#
1743650276Speter# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
1743750276Speter# 730, and 730+.)
1743850276Speter#
1743950276Speter
17440166124Srafanblit|jerq|blit running teletype rom,
17441166124Srafan	am, eo, ul, xon,
17442166124Srafan	cols#87, it#8, lines#72,
17443166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17444166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
17445166124Srafan	dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
17446166124Srafan	dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
17447166124Srafan	il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
17448166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
1744950276Speter
1745050276Speter# (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
17451166124Srafancbblit|fixterm|blit running columbus code,
17452166124Srafan	cols#88,
17453166124Srafan	ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
17454166124Srafan	rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
17455166124Srafan	smul=\EU", use=blit,
1745650276Speter
17457166124Srafanoblit|ojerq|first version of blit rom,
17458166124Srafan	am, da, db, eo, mir, ul, xon,
17459166124Srafan	cols#88, it#8, lines#72,
17460166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17461166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
17462166124Srafan	dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
17463166124Srafan	ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
17464166124Srafan	smir=\EQ,
1746550276Speter
1746650276Speter#### Bolt, Beranek & Newman (bbn)
1746750276Speter#
1746850276Speter# The BitGraph was a product of the now-defunct BBN Computer Corporation.
1746950276Speter# The parent company, best known as the architects of the Internet, is
1747050276Speter# still around.
1747150276Speter#
1747250276Speter# Jeff DelPapa <dp@world.std.com> writes:
1747350276Speter# The bitgraph was a large white box that contained a monochrome bitmap
1747450276Speter# display, and a 68000 to run it.  You could download code and run it on
1747550276Speter# the cpu, it had 128kb (I think) of memory.  I used one in the late
1747650276Speter# 70's, sure beat a vt100.  It had one strange feature tho -- it used
1747750276Speter# the cpu to bitblt pixels to scroll, it took longer than the refresh
1747850276Speter# rate, and looked like a rubber sheet stretching, then snapping
1747950276Speter# upwards.  It had everything the early mac had, except a floppy drive a
1748050276Speter# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
1748150276Speter# Beranek and Neuman) sold at most a few hundred of them to the real
1748250276Speter# world.  DOD may have bought more...
17483166124Srafan#
1748450276Speter
17485166124Srafan# Entries for the BitGraph terminals.  The problem
17486166124Srafan# with scrolling in vi can only be fixed by getting BBN to put
17487166124Srafan# smarter scroll logic in the terminal or changing vi or padding
1748850276Speter# scrolls with about 500 ms delay.
17489166124Srafan#
17490166124Srafan# I always thought the problem was related to the terminal
17491166124Srafan# counting newlines in its input buffer before scrolling and
17492166124Srafan# then moving the screen that much. Then vi comes along and
17493166124Srafan# paints lines in on the bottom line of the screen, so you get
1749450276Speter# this big white gap.
1749550276Speter
17496166124Srafanbitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
17497166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17498166124Srafan	use=bg2.0,
17499166124Srafanbg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
17500166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17501166124Srafan	use=bg2.0,
17502166124Srafanbg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
17503166124Srafan	OTbs, xenl,
17504166124Srafan	cols#85, lines#64,
17505166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M,
17506166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
17507166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
17508166124Srafan	ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
17509166124Srafan	ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17510166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
17511166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
17512166124Srafan	sgr0=\E[m, smkx=\E=, smso=\E[7m,
1751350276Speter
17514166124Srafanbg1.25rv|bbn bitgraph 1.25 (reverse video),
17515166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17516166124Srafan	use=bg1.25,
17517166124Srafanbg1.25nv|bbn bitgraph 1.25 (normal video),
17518166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17519166124Srafan	use=bg1.25,
1752050276Speter# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
17521166124Srafanbg1.25|bbn bitgraph 1.25,
17522166124Srafan	cols#85, lines#64,
17523166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
17524166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
17525166124Srafan	dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
17526166124Srafan	il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
17527166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
17528166124Srafan	lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
17529166124Srafan	rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
17530166124Srafan	smso=\E[7m,
1753150276Speter
1753262449Speter#### Bull (bq, dku, vip)
1753362449Speter#
1753462449Speter# (Adapted for terminfo; AIX extension capabilities translated -- esr)
1753562449Speter
1753662449Speter#============================================#
1753762449Speter# BULL QUESTAR 210 `SDP' terminals emulation #
1753862449Speter#============================================#
1753962449Speter#
1754062449Speter# Description written by R.K.Saunders (Bull Transac)
1754162449Speter#
1754262449Speter# Modifications written by F. Girard (Bull MTS)
1754362449Speter#		19-05-87 V02.00.01
1754462449Speter#		17-12-87 V02.00.02
1754562449Speter#		15-09-89 V02.00.05
1754662449Speter#
1754762449Speter#	Typical technical selections F1 (modes SDP/ROLL):
1754862449Speter# -------------------------------------------------------
1754962449Speter# |   01   02   03   04   05   06   07   08   09   10   |
1755062449Speter# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
1755162449Speter# |                                                     |
1755262449Speter# |   11   12   13   14   15   16   17   18   19   20   |
1755362449Speter# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
1755462449Speter# |                                                     |
1755562449Speter# |   21   22   23   24   25   26   27   28   29   30   |
1755662449Speter# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
1755762449Speter# |                                                     |
1755862449Speter# |   31   32   33   34   35   36   37   38   39   40   |
1755962449Speter# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
1756062449Speter# -------------------------------------------------------
1756162449Speter#	Typical firmware identification F5 "etat 6":
1756262449Speter#  P287.02.04b	(AZERTY)
1756362449Speter#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
1756462449Speter#  P298.03.03	(monochrome)	or P374.03.02	(colour)
1756562449Speter#
1756662449Speter#	SM SDP mode (VIP command):	^[[?=h
1756762449Speter#	RIS (erases screen):		^[c
1756862449Speter#	DMI disable keyboard:		^[`
1756962449Speter#	SM double rendition mode:	^[[?>h
1757062449Speter#	RM solicited status mode:	^[[5l
1757162449Speter#	RM character mode:		^[[>l
1757262449Speter#	RM echoplex mode:		^[[12l
1757362449Speter#	RM column tab mode:		^[[18l
1757462449Speter#	RM forbid SS2 keyboard mode:	^[[?<l
1757562449Speter#	SM scroll mode:			^[[=h
1757662449Speter#	FCF enable XON/XOFF:		^[P1s^[\
1757762449Speter#	MTL select end msg character:	^[[^Wp
1757862449Speter#	EMI enable keyboard:		^[b
1757962449Speter#	RIS retour etat initial:	^[c
1758062449Speter#	enable FC keypad:		^[[?<h,
1758162449Speter#	MPW map status line window:	^[PY99:98^[\
1758262449Speter#	SCP select status line:		^[[0;98v
1758362449Speter#	ED erase entire partition:	^[[2J
1758462449Speter#	SCP select main partition:	^[[v
1758562449Speter#	SM character insertion mode:	^[[4h
1758662449Speter#	RM character replacement mode:	^[[4l
1758762449Speter#	COO cursor on:			^[[r
1758862449Speter#	COO cursor off:			^[[1r
1758962449Speter#	SGR dim (turquoise) rev attr:	^[[2;7m
1759062449Speter#	SGR Data normal attr:		^[[m
1759162449Speter#	SO Line-graphic mode ON:	^N
1759262449Speter#	SI Line-graphic mode OFF:	^O
1759362449Speter#	MC start routing to printer:	^[[5i
1759462449Speter#	MC stop routing to printer:	^M^[[4i
1759562449Speter#
1759662449Speter
1759762449Speter# This entry covers the following terminals:
1759862449Speter# dku7102, tws2102, and tws models 2105 to 2112
17599166124Srafantws-generic|dku7102|Bull Questar tws terminals,
17600166124Srafan	am, eslok, hs, mir, msgr, xenl, xhp@, xon,
17601166124Srafan	cols#80, it#8, lines#24, wsl#80,
17602166124Srafan	acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~,
17603166124Srafan	bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J,
17604166124Srafan	cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
17605166124Srafan	cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
17606166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17607166124Srafan	dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M,
17608166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K,
17609166124Srafan	fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL,
17610166124Srafan	il1=\E[L, ind=^J, invis=\E[0;8m,
17611166124Srafan	is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\,
17612166124Srafan	is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p,
17613166124Srafan	is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D,
17614166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17615166124Srafan	ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027,
17616166124Srafan	kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027,
17617166124Srafan	kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H,
17618166124Srafan	khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i,
17619166124Srafan	mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O,
17620166124Srafan	rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m,
17621166124Srafan	rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
17622166124Srafan	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%;,
17623166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
17624166124Srafan	smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g,
17625166124Srafan	tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
17626166124Srafantws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
17627166124Srafan	dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
17628166124Srafan	use=tws-generic,
17629166124Srafantws2103|xdku|BULL Questar tws2103,
17630166124Srafan	ht=^I, use=tws-generic,
17631166124Srafantws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA,
17632166124Srafan	ht=^I, use=tws2102-sna,
17633166124Srafandku7102-old|BULL Questar 200 DKU7102 (microcode version < 6),
17634166124Srafan	clear=\E[2J\E[H, cup@, dl@, dl1@,
17635166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m,
17636166124Srafan	il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m,
17637166124Srafan	use=tws-generic,
17638166124Srafandku7202|BULL Questar 200 DKU7202 (colour/character attributes),
17639166124Srafan	blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
17640166124Srafan	smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
1764162449Speter
1764262449Speter#=========================================================#
1764362449Speter# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
1764462449Speter#=========================================================#
1764562449Speter#
1764662449Speter# Description written by J. Staerck (BULL SA)
1764762449Speter#       Copyright (c) 1989 BULL SA
1764862449Speter#---------------------------------------------------------------------------
1764962449Speter#  This entry is used for terminals with vt320 emulation mode
17650166124Srafan#  and following set-up :
1765162449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17652166124Srafan#    7 bit Control Characters,
17653166124Srafan#    80 columns screen.
1765462449Speter#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
1765562449Speter#  They are used in string capabilities with vt220-320 emulation mode.
1765662449Speter#  In the following DEC definitions, two kinds of terminfo databases are
1765762449Speter#    provided :
17658166124Srafan#    1. the first with Command Sequence Introducer starting with escape
1765962449Speter#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
17660166124Srafan#    2. the second with Command Sequence Introducer starting with escape
1766162449Speter#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
1766262449Speter#	Soft Terminal Reset		esc [ ! p
1766362449Speter#	RIS (erases screen):		esc c
1766462449Speter#	DECKPNM numeric keypad mode:	esc >
1766562449Speter#	DECKPAM applic. keypad mode:	esc =
1766662449Speter#	DECSTBM Scrolling region:	esc [ r
1766762449Speter#	SCS select G0 = US:		esc ( B
1766862449Speter#	SCS select G1 = line-graphic:	esc ) 0
1766962449Speter#	Select 7-bit C1 controls:	esc sp F
1767062449Speter#	Select 8-bit C1 controls:	esc sp G
1767162449Speter#	Select cursor home:		esc [  H
1767262449Speter#	Select erase screen:		esc [  J
1767362449Speter#	SM KAM lock keyboard:		esc [ 2 h
1767462449Speter#	RM KAM unlock keyboard:		esc [ 2 l
1767562449Speter#	SM SRM local echo off:		esc [ 1 2 h
1767662449Speter#	RM SRM local echo on:		esc [ 1 2 l
1767762449Speter#	SM LNM New line :		esc [ 2 0 h
1767862449Speter#	RM LNM return = CR only:	esc [ 2 0 l
1767962449Speter#	SM DECCKM cursor keys mode:	esc [ ? 1 h
1768062449Speter#	RM DECCKM appli. keys mode:	esc [ ? 1 l
1768162449Speter#	SM DECANM ANSI mode on:		esc [ ? 2 h
1768262449Speter#	RM DECANM ANSI mode off:	esc [ ? 2 l
1768362449Speter#	SM DECCOLM 132-column screen:	esc [ ? 3 h
1768462449Speter#	RM DECCOLM 80-column screen:	esc [ ? 3 l
1768562449Speter#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
1768662449Speter#	RM DECSCLM Jump scroll:		esc [ ? 4 l
1768762449Speter#	SM DECSCNM screen light backgr.	esc [ ? 5 h
1768862449Speter#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
1768962449Speter#	SM DECOM move within margins:	esc [ ? 6 h
1769062449Speter#	RM DECOM move outside margins:	esc [ ? 6 l
1769162449Speter#	SM DECAWM auto right margin:	esc [ ? 7 h
1769262449Speter#	RM DECAWM auto right margin:	esc [ ? 7 l
1769362449Speter#	SM DECARM auto repeat:		esc [ ? 8 h
1769462449Speter#	RM DECARM auto repeat:		esc [ ? 8 l
17695166124Srafan#	DECSASD Select active main:	esc [ 0 $ }
17696166124Srafan#	DECSASD Select active status:	esc [ 1 $ }
17697166124Srafan#	DECSSDT Select status none:	esc [ 0 $ ~
17698166124Srafan#	DECSSDT Select status indic.:	esc [ 1 $ ~
17699166124Srafan#	DECSSDT Select status host-wr:	esc [ 2 $ ~
1770062449Speter#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
1770162449Speter#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
1770262449Speter#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
1770362449Speter#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
1770462449Speter#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
1770562449Speter#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
1770662449Speter#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
1770762449Speter#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
1770862449Speter#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
1770962449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
1771062449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
1771162449Speter#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
1771262449Speter#	Char. and Line attributes:	esc [ Ps ... Ps m
1771362449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1771462449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1771562449Speter#
1771662449Speter
1771762449Speter# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
17718166124Srafanbq300|Bull vt320 ISO Latin 1 80 columns terminal,
17719166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17720166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17721166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17722166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
17723166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
17724166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17725166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17726166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17727166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
17728166124Srafan	dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, ed=\E[J,
17729166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
17730166124Srafan	flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
17731166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
17732166124Srafan	is1=\E[63;1"p\E[2h,
17733166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17734166124Srafan	is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy,
17735166124Srafan	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
17736166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
17737166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
17738166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
17739166124Srafan	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
17740166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
17741166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17742166124Srafan	krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
17743166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
17744166124Srafan	ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
17745166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
17746166124Srafan	rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17747166124Srafan	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%;,
17748166124Srafan	sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
17749166124Srafan	smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
17750166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
17751166124Srafanbq300-rv|Bull vt320 reverse 80 columns,
17752166124Srafan	flash=\E[?5l$<50>\E[?5h,
17753166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17754166124Srafan	use=bq300,
17755166124Srafanbq300-w|Bull vt320 132 columns,
17756166124Srafan	cols#132, wsl#132,
17757166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17758166124Srafan	rs2=\E[?3h, use=bq300,
17759166124Srafanbq300-w-rv|Bull vt320 reverse mode 132 columns,
17760166124Srafan	cols#132, wsl#132,
17761166124Srafan	flash=\E[?5l$<50>\E[?5h,
17762166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17763166124Srafan	rs2=\E[?3h, use=bq300,
1776462449Speter
1776562449Speter#  This entry is used for terminals with vt320 emulation mode
17766166124Srafan#  and following set-up :
1776762449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
1776862449Speter#    8 bit Control Characters, (CSI coded as x9B for ESC [)
17769166124Srafan#    80 columns screen.
1777062449Speter#	Soft Terminal Reset		csi ! p
1777162449Speter#	RIS (erases screen):		esc c
1777262449Speter#	DECKPNM numeric keypad mode:	esc >
1777362449Speter#	DECKPAM applic. keypad mode:	esc =
1777462449Speter#	DECSTBM Scrolling region:	esc [ r
1777562449Speter#	SCS select G0 = US:		esc ( B
1777662449Speter#	SCS select G1 = line-graphic:	esc ) 0
1777762449Speter#	Select 7-bit C1 controls:	esc sp F
1777862449Speter#	Select 8-bit C1 controls:	esc sp G
1777962449Speter#	Select cursor home:		csi H
1778062449Speter#	Select erase screen:		csi J
1778162449Speter#	SM KAM lock keyboard:		csi 2 h
1778262449Speter#	RM KAM unlock keyboard:		csi 2 l
1778362449Speter#	SM SRM local echo off:		csi 1 2 h
1778462449Speter#	RM SRM local echo on:		csi 1 2 l
1778562449Speter#	SM LNM New line :		csi 2 0 h
1778662449Speter#	RM LNM return = CR only:	csi 2 0 l
1778762449Speter#	SM DECCKM cursor keys mode:	csi ? 1 h
1778862449Speter#	RM DECCKM appli. keys mode:	csi ? 1 l
1778962449Speter#	SM DECANM ANSI mode on:		csi ? 2 h
1779062449Speter#	RM DECANM ANSI mode off:	csi ? 2 l
1779162449Speter#	SM DECCOLM 132-column screen:	csi ? 3 h
1779262449Speter#	RM DECCOLM 80-column screen:	csi ? 3 l
1779362449Speter#	SM DECSCLM Smooth scroll:	csi ? 4 h
1779462449Speter#	RM DECSCLM Jump scroll:		csi ? 4 l
1779562449Speter#	SM DECSCNM screen light backgr.	csi ? 5 h
1779662449Speter#	RM DECSCNM screen dark backgr.	csi ? 5 l
1779762449Speter#	SM DECOM move within margins:	csi ? 6 h
1779862449Speter#	RM DECOM move outside margins:	csi ? 6 l
1779962449Speter#	SM DECAWM auto right margin:	csi ? 7 h
1780062449Speter#	RM DECAWM auto right margin:	csi ? 7 l
1780162449Speter#	SM DECARM auto repeat:		csi ? 8 h
1780262449Speter#	RM DECARM auto repeat:		csi ? 8 l
17803166124Srafan#	DECSASD Select active main:	csi 0 $ }
17804166124Srafan#	DECSASD Select active status:	csi 1 $ }
17805166124Srafan#	DECSSDT Select status none:	csi 0 $ ~
17806166124Srafan#	DECSSDT Select status indic.:	csi 1 $ ~
17807166124Srafan#	DECSSDT Select status host-wr:	csi 2 $ ~
1780862449Speter#	SM DECTCEM Visible cursor:	csi ? 2 5 h
1780962449Speter#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
1781062449Speter#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
1781162449Speter#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
1781262449Speter#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
1781362449Speter# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
1781462449Speter#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
1781562449Speter#	Char. and Line attributes:	csi Ps ... Ps m
1781662449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1781762449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1781862449Speter# (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
17819166124Srafanbq300-8|Bull vt320 full 8 bits 80 columns,
17820166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17821166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17822166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17823166124Srafan	bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l,
17824166124Srafan	clear=\233H\233J, cnorm=\233?25h, cr=^M,
17825166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,
17826166124Srafan	cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,
17827166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM,
17828166124Srafan	dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
17829166124Srafan	el=\233K, el1=\2331K, enacs=\E(B\E)0,
17830166124Srafan	flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
17831166124Srafan	ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, ind=\ED,
17832166124Srafan	is1=\E[63;2"p\E[2h,
17833166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17834166124Srafan	is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
17835166124Srafan	ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
17836166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17837166124Srafan	kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~,
17838166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
17839166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
17840166124Srafan	kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~,
17841166124Srafan	kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~,
17842166124Srafan	khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
17843166124Srafan	krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
17844166124Srafan	lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
17845166124Srafan	rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h,
17846166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
17847166124Srafan	rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17848166124Srafan	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%;,
17849166124Srafan	sgr0=\2330m\E(B, smacs=^N, smam=\233?7h,
17850166124Srafan	smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
17851166124Srafan	smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
17852166124Srafanbq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
17853166124Srafan	flash=\233?5l$<50>\233?5h,
17854166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17855166124Srafan	use=bq300-8,
17856166124Srafanbq300-8w|Bull vt320 8-bit 132 columns,
17857166124Srafan	cols#132, wsl#132,
17858166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17859166124Srafan	rs2=\233?3h, use=bq300-8,
17860166124Srafanbq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns,
17861166124Srafan	cols#132, wsl#132,
17862166124Srafan	flash=\233?5l$<50>\233?5h,
17863166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17864166124Srafan	rs2=\233?3h, use=bq300-8,
1786562449Speter
1786662449Speter#  This entry is used for terminals with vt320 emulation mode
17867166124Srafan#  a 102 keys keyboard (PC scancode !) and following set-up :
1786862449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17869166124Srafan#    7 bit Control Characters,
17870166124Srafan#    80 columns screen.
17871166124Srafanbq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
17872166124Srafan	kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
17873166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@,
17874166124Srafan	kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~,
17875166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
17876166124Srafan	kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17877166124Srafan	krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300,
17878166124Srafanbq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
17879166124Srafan	flash=\E[?5l$<50>\E[?5h,
17880166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17881166124Srafan	use=bq300-pc,
17882166124Srafanbq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
17883166124Srafan	cols#132, wsl#132,
17884166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17885166124Srafan	rs2=\E[?3h, use=bq300-pc,
17886166124Srafanbq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns,
17887166124Srafan	cols#132, wsl#132,
17888166124Srafan	flash=\E[?5l$<50>\E[?5h,
17889166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17890166124Srafan	rs2=\E[?3h, use=bq300-pc,
1789162449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17892166124Srafan#    8 bit Control Characters,
17893166124Srafan#    80 columns screen.
17894166124Srafanbq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
17895166124Srafan	kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~,
17896166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@,
17897166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@,
17898166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
17899166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@,
17900166124Srafan	khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@,
17901166124Srafan	kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8,
17902166124Srafanbq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
17903166124Srafan	flash=\E[?5l$<50>\E[?5h,
17904166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17905166124Srafan	use=bq300-8-pc,
17906166124Srafanbq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
17907166124Srafan	cols#132, wsl#132,
17908166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17909166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
17910166124Srafanbq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
17911166124Srafan	cols#132, wsl#132,
17912166124Srafan	flash=\E[?5l$<50>\E[?5h,
17913166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17914166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
1791562449Speter
1791662449Speter#======================================================#
1791762449Speter# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
1791862449Speter#======================================================#
1791962449Speter
1792062449Speter# normal mode, 8 bits, 80 columns terminal.
1792162449Speter#	RES reset :			^[e
1792262449Speter#	RIS reset initial state:	^[c
1792362449Speter#	BLE bell enable			^[h
1792462449Speter#	BLD bell disable		^[g
1792562449Speter#	CAMS char. attr. mode set	^[[D
1792662449Speter#	CAMR char. attr. mode reset	^[[G
1792762449Speter#	CLR clear			^[`
1792862449Speter#	KBU keyboard unlock (set)	^[[W
1792962449Speter#	KBL keyboard lock (reset)	^[[X
1793062449Speter#	CM  character mode (async.) 	^[k
1793162449Speter#	NEP non echoplex mode (by host)	^[l
1793262449Speter#	EP  echoplex mode (by host) 	^[m
1793362449Speter#	IM  insert mode set		^[[I
1793462449Speter#	IM  insert mode reset 		^[[J
1793562449Speter#	RMS roll mode set 		^[r
1793662449Speter#	RMR roll mode reset 		^[q
1793762449Speter#	SM78 set mode vip7800	 	^[[1q
1793862449Speter#	SD  scroll up  	(72 lines) 	^[[0s
1793962449Speter#	SD  scroll down	(72 lines) 	^[[1s
1794062449Speter#	RBM block mode reset		^[[E
1794162449Speter#	SLS status line set 		^[w
1794262449Speter#	SLR status line reset 		^[v
1794362449Speter#	SLL status line lock 		^[O
1794462449Speter#	LGS Line-graphic mode set 	^[G
1794562449Speter#	LGR Line-graphic mode reset 	^[F
1794662449Speter#	TBC tab clear (at cursor pos.)	^[[g
1794762449Speter#	TBI tab initialize 		^[[N
1794862449Speter#	TBS tab set (at cursor pos.)	^[p
1794962449Speter#	PDS  print data space		^[[0p
1795062449Speter#	PHD  print host data 		^[[3p
1795162449Speter#	PDT  print data terminator	^[[<p
1795262449Speter#	PRES print adapter reset	^[[2p
1795362449Speter#	SSPR multi-part. reset		^[[<>u
1795462449Speter#	SSP0 partition 0 set		^[[00u
1795562449Speter#	SSP1 partition n format 1 	^[[PnPnSTRINGu
1795662449Speter#	SSP2 partition n format 2 	^[[PnPnSTRINGu
1795762449Speter#	SSP3 partition n format 3 	^[[PnPnu
1795862449Speter#	ATR attribute (visual)
1795962449Speter#	    blink :			^[sB
1796062449Speter#	    dim :			^[sL
1796162449Speter#	    hide (blank) :		^[sH
1796262449Speter#	    restore :			^[sR
1796362449Speter#	    inverse video :		^[sI
1796462449Speter#	    prot. :			^[sP
1796562449Speter#	    underline :			^[s_
1796662449Speter#	    reset :			^{
1796762449Speter#
1796862449Speter# This covers the vip7800 and BQ3155-vip7800
17969166124Srafanvip|Bull Questar 3155-7800,
17970166124Srafan	am, eslok, hs, km, mc5i, msgr, xenl, xon,
17971166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17972166124Srafan	acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB,
17973166124Srafan	cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
17974166124Srafan	cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL,
17975166124Srafan	dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK,
17976166124Srafan	flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I,
17977166124Srafan	hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH,
17978166124Srafan	is2=\E[00u\E[<>001001024080024080u\E[01u,
17979166124Srafan	is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H,
17980166124Srafan	kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB,
17981166124Srafan	kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ,
17982166124Srafan	kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@,
17983166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1,
17984166124Srafan	kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?,
17985166124Srafan	kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_,
17986166124Srafan	kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER,
17987166124Srafan	khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s,
17988166124Srafan	kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1,
17989166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p,
17990166124Srafan	mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI,
17991166124Srafan	ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR,
17992166124Srafan	rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG,
17993166124Srafan	sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI,
17994166124Srafan	smul=\Es_, tbc=\E[N, tsl=\Ew,
1799562449Speter# normal screen, 8 bits, 132 columns terminal.
17996166124Srafanvip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide,
17997166124Srafan	cols#132, wsl#132,
17998166124Srafan	is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip,
17999166124Srafanvip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines,
18000166124Srafan	lines#72,
18001166124Srafan	is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip,
18002166124Srafanvip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines,
18003166124Srafan	cols#132, lines#72, wsl#132,
18004166124Srafan	is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip,
1800562449Speter
1800650276Speter#### Chromatics
1800750276Speter#
1800850276Speter
18009166124Srafan# I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
18010166124Srafan# that is smaller than the screen, and puts up a warning message
18011166124Srafan# outside the window. Te erases the warning message, puts the
1801250276Speter# window back to be the whole screen, and puts the cursor at just
18013166124Srafan# below the small window. I defined <cnorm> and <civis> to really turn
18014166124Srafan# the cursor on and off, but I have taken this out since I don't
18015166124Srafan# like the cursor being turned off when vi exits.
18016166124Srafancg7900|chromatics|chromatics 7900,
18017166124Srafan	am,
18018166124Srafan	cols#80, lines#40,
18019166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
18020166124Srafan	cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
18021166124Srafan	ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
18022166124Srafan	rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
18023166124Srafan	rmso=\001C1\,\001c2\,,
18024166124Srafan	smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
18025166124Srafan	smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
1802650276Speter
1802750276Speter#### Computer Automation
1802850276Speter#
1802950276Speter
18030166124Srafanca22851|computer automation 22851,
18031166124Srafan	am,
18032166124Srafan	cols#80, lines#24,
18033166124Srafan	bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
18034166124Srafan	cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
18035166124Srafan	kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
1803650276Speter
1803750276Speter#### Cybernex
1803850276Speter#
1803950276Speter
1804050276Speter# This entry has correct padding and the undocumented "ri" capability
18041166124Srafancyb83|xl83|cybernex xl-83,
18042166124Srafan	OTbs, am,
18043166124Srafan	cols#80, lines#24,
18044166124Srafan	bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
18045166124Srafan	cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
18046166124Srafan	ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
18047166124Srafan	kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
1804850276Speter# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
18049166124Srafancyb110|mdl110|cybernex mdl-110,
18050166124Srafan	OTbs, am,
18051166124Srafan	cols#80, lines#24,
18052166124Srafan	bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
18053166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
18054166124Srafan	dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
18055166124Srafan	ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
18056166124Srafan	ht=\011$<43>, ich1=\016A\035$<3.5>,
18057166124Srafan	il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1805850276Speter
1805950276Speter#### Datapoint
1806050276Speter#
1806150276Speter# Datapoint is gone.  They used to be headquartered in Texas.
1806250276Speter# They created ARCnet, an Ethernet competitor that flourished for a while
1806350276Speter# in the early 1980s before 3COM got wise and cut its prices.  The service
1806450276Speter# side of Datapoint still lives (1995) in the form of Intelogic Trace.
1806550276Speter#
1806650276Speter
18067166124Srafandp3360|datapoint|datapoint 3360,
18068166124Srafan	OTbs, am,
18069166124Srafan	cols#82, lines#25,
18070166124Srafan	bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
18071166124Srafan	ed=^_, el=^^, home=^], ind=^J,
1807250276Speter
1807350276Speter# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
18074166124Srafan# The Datapoint 8242 Workstation was sold at least between 1985
18075166124Srafan# and 1989. To make the terminal work with this entry, press
18076166124Srafan# CONTROL-INT-INT to take the terminal off-line, and type (opt).
18077166124Srafan# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
18078166124Srafan# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
1807950276Speter# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
1808050276Speter# fact unusable because the strings sent by the terminal conflict
1808150276Speter# with other keys).
1808250276Speter# The terminal is capable of displaying "box draw" characters.
18083166124Srafan# For each graphic character you must send 2 ESC's (\E\E) followed
18084166124Srafan# by a control character as follows:
1808550276Speter#         character        meaning
1808650276Speter#         =========        =======
1808750276Speter#         ctrl-E           top tee
1808850276Speter#         ctrl-F           right tee
1808950276Speter#         ctrl-G           bottom tee
1809050276Speter#         ctrl-H           left tee
1809150276Speter#         ctrl-I           cross
1809250276Speter#         ctrl-J           top left corner
1809350276Speter#         ctrl-K           top right corner
1809450276Speter#         ctrl-L           bottom left corner
1809550276Speter#         ctrl-M           bottom right corner
1809650276Speter#         ctrl-N           horizontal line
1809750276Speter#         ctrl-O           vertical line
18098166124Srafan# Unfortunately this cannot be fitted into the termcap/terminfo
18099166124Srafan# description scheme.
18100166124Srafandp8242|datapoint 8242,
18101166124Srafan	msgr,
18102166124Srafan	cols#80, lines#25,
18103166124Srafan	bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
18104166124Srafan	cr=^M, cub1=^H, cud1=^J,
18105166124Srafan	cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
18106166124Srafan	home=^U, ht=^I, il1=\E^T, ind=^C,
18107166124Srafan	is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18108166124Srafan	kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
18109166124Srafan	kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
18110166124Srafan	kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
18111166124Srafan	rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
18112166124Srafan	rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18113166124Srafan	smso=\E^E, smul=\E^F,
18114166124Srafan	wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1811550276Speter
1811650276Speter#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
1811750276Speter#
1811850276Speter# These entries are DEC's official terminfos for its older terminals.
1811950276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
18120166124Srafan# Engineering for more information.  Updated terminfos and termcaps
1812150276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1812250276Speter#
1812350276Speter
18124166124Srafangt40|dec gt40,
18125166124Srafan	OTbs, os,
18126166124Srafan	cols#72, lines#30,
18127166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18128166124Srafangt42|dec gt42,
18129166124Srafan	OTbs, os,
18130166124Srafan	cols#72, lines#40,
18131166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18132166124Srafanvt50|dec vt50,
18133166124Srafan	OTbs,
18134166124Srafan	cols#80, lines#12,
18135166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18136166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
18137166124Srafanvt50h|dec vt50h,
18138166124Srafan	OTbs,
18139166124Srafan	cols#80, lines#12,
18140166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18141166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18142166124Srafan	el=\EK, ht=^I, ind=^J, ri=\EI,
1814350276Speter# (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
18144166124Srafanvt61|vt-61|vt61.5|dec vt61,
18145166124Srafan	cols#80, lines#24,
18146166124Srafan	bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
18147166124Srafan	cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
18148166124Srafan	cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
18149166124Srafan	ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
18150166124Srafan	ri=\E$<20>I,
1815150276Speter
1815250276Speter# The gigi does standout with red!
1815350276Speter# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
18154166124Srafangigi|vk100|dec gigi graphics terminal,
18155166124Srafan	OTbs, am, xenl,
18156166124Srafan	cols#84, lines#24,
18157166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
18158166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18159166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
18160166124Srafan	el=\E[K, ht=^I, ind=^J,
18161166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
18162166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
18163166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
18164166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18165166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
18166166124Srafan	smul=\E[4m,
1816750276Speter
1816850276Speter# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
1816950276Speter# a PC differentiated from the IBM clones.  It was a total, ludicrous,
1817050276Speter# grossly-overpriced failure (among other things, DEC's OS didn't include
1817150276Speter# a format program, so you had to buy pre-formatted floppies from DEC at
1817250276Speter# a hefty premium!).
18173166124Srafanpro350|decpro|dec pro console,
18174166124Srafan	OTbs,
18175166124Srafan	cols#80, it#8, lines#24,
18176166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18177166124Srafan	clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
18178166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18179166124Srafan	el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18180166124Srafan	kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
18181166124Srafan	kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
18182166124Srafan	rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1818350276Speter
18184166124Srafandw1|decwriter I,
18185166124Srafan	OTbs, hc, os,
18186166124Srafan	cols#72,
18187166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
18188166124Srafandw2|decwriter|dw|decwriter II,
18189166124Srafan	OTbs, hc, os,
18190166124Srafan	cols#132,
18191166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1819250276Speter# \E(B		Use U.S. character set (otherwise # => british pound !)
1819350276Speter# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
1819450276Speter# \E[w   	10 char/in pitch
1819550276Speter# \E[1;132	full width horizontal margins
1819650276Speter# \E[2g		clear all tab stops
1819750276Speter# \E[z		6 lines/in
1819850276Speter# \E[66t	66 lines/page (for \f)
1819950276Speter# \E[1;66r	full vertical page can be printed
1820050276Speter# \E[4g		clear vertical tab stops
1820150276Speter# \E>		disable alternate keypad mode (so it transmits numbers!)
1820250276Speter# \E[%i%p1%du	set tab stop at column %d (origin == 1)
18203166124Srafan#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
1820450276Speter#		a tab stop)
1820550276Speter#
1820650276Speter#       The dw3 does standout with wide characters.
1820750276Speter#
18208166124Srafandw3|la120|decwriter III,
18209166124Srafan	OTbs, hc, os,
18210166124Srafan	cols#132,
18211166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
18212166124Srafan	is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
18213166124Srafan	is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
18214166124Srafan	kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
18215166124Srafandw4|decwriter IV,
18216166124Srafan	OTbs, am, hc, os,
18217166124Srafan	cols#132,
18218166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
18219166124Srafan	kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1822050276Speter
1822150276Speter# These aren't official
18222166124Srafanln03|dec ln03 laser printer,
18223166124Srafan	hc,
18224166124Srafan	cols#80, lines#66,
18225166124Srafan	bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
18226166124Srafan	rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
18227166124Srafan	smul=\E[4m,
18228166124Srafanln03-w|dec ln03 laser printer 132 cols,
18229166124Srafan	cols#132,
18230166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
18231166124Srafan	kcud1=^J, nel=^M^J, use=ln03,
1823250276Speter
1823350276Speter#### Delta Data (dd)
1823450276Speter#
1823550276Speter
1823650276Speter# Untested. The cup sequence is hairy enough that it probably needs work.
1823750276Speter# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
1823850276Speter# There are BSD-derived termcap entries floating around for this puppy
1823950276Speter# that are *certainly* wrong.
18240166124Srafandelta|dd5000|delta data 5000,
18241166124Srafan	OTbs, am,
18242166124Srafan	cols#80, lines#27,
18243166124Srafan	bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
18244166124Srafan	cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
18245166124Srafan	cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
1824650276Speter
1824750276Speter#### Digital Data Research (ddr)
1824850276Speter#
1824950276Speter
1825050276Speter# (ddr: I added <rmam>/<smam> based on the init string -- esr)
18251166124Srafanddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
18252166124Srafan	OTbs, am, xenl,
18253166124Srafan	cols#80, it#8, lines#24, vt#3,
18254166124Srafan	blink=\E[5m$<2/>, bold=\E[1m$<2/>,
18255166124Srafan	clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
18256166124Srafan	cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
18257166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
18258166124Srafan	ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
18259166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
18260166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
18261166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
18262166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
18263166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
18264166124Srafan	sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
18265166124Srafan	smul=\E[4m$<2/>,
1826650276Speter
1826750276Speter#### Evans & Sutherland
1826850276Speter#
1826950276Speter
1827050276Speter# Jon Leech <leech@cs.unc.edu> tells us:
1827150276Speter# The ps300 was the Evans & Sutherland Picture System 300, a high
1827250276Speter# performance 3D vector graphics system with a bunch of specialized hardware.
1827350276Speter# Approximate date of release was 1982 (early 80s, anyway), and it had several
1827450276Speter# evolutions including (limited) color versions such as the PS330C. PS300s
1827550276Speter# were effectively obsolete by the late 80s, replaced by raster graphics
1827650276Speter# systems, although specialized applications like molecular modelling
1827750276Speter# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
1827850276Speter# are out of production, though of course E&S is very much alive (in 1996).
1827950276Speter# (ps300: changed ":pt@:" to "it@" -- esr)
1828050276Speter#
18281166124Srafanps300|Picture System 300,
18282166124Srafan	xt,
18283166124Srafan	it@,
18284166124Srafan	rmso@, rmul@, smso@, smul@, use=vt100,
1828550276Speter
1828650276Speter#### General Electric (ge)
1828750276Speter#
1828850276Speter
18289166124Srafanterminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
18290166124Srafan	OTbs, hc, os,
18291166124Srafan	cols#120,
18292166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1829350276Speter
1829450276Speter#### Heathkit/Zenith
1829550276Speter#
1829650276Speter
1829750276Speter# Here is a description of the H19 DIP switches:
1829850276Speter#
1829950276Speter# S401
1830050276Speter# 0-3 = baud rate as follows:
18301166124Srafan#
1830250276Speter#         3       2       1       0
18303166124Srafan#	---	---	---	---
1830450276Speter#         0       0       1       1       300 baud
1830550276Speter#         0       1       0       1       1200 baud
1830650276Speter#         1       0       0       0       2400 baud
1830750276Speter#         1       0       1       0       4800 baud
1830850276Speter#         1       1       0       0       9600 baud
1830950276Speter#         1       1       0       1       19.2K baud
18310166124Srafan#
1831150276Speter# 4 = parity (0 = no parity)
1831250276Speter# 5 = even parity (0 = odd parity)
1831350276Speter# 6 = stick parity (0 = normal parity)
1831450276Speter# 7 = full duplex (0 = half duplex)
18315166124Srafan#
18316166124Srafan# S402
1831750276Speter# 0 = block cursor (0 = underscore cursor)
1831850276Speter# 1 = no key click (0 = keyclick)
1831950276Speter# 2 = wrap at end of line (0 = no wrap)
1832050276Speter# 3 = auto LF on CR (0 = no LF on CR)
1832150276Speter# 4 = auto CR on LF (0 = no CR on LF)
1832250276Speter# 5 = ANSI mode (0 = VT52 mode)
1832350276Speter# 6 = keypad shifted (0 = keypad unshifted)
1832450276Speter# 7 = 50Hz refresh (1 = 60Hz refresh)
18325166124Srafan#
1832650276Speter# Factory Default settings are as follows:
1832750276Speter#          7 6 5 4 3 2 1 0
1832850276Speter# S401     1 0 0 0 1 1 0 0
1832950276Speter# S402     0 0 0 0 0 0 0 0
1833050276Speter# (h19: I added <rmam>/<smam> based on the init string;
1833150276Speter# also added empty <acsc> to suppress a tic warning -- esr)
18332166124Srafanh19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
18333166124Srafan	OTbs, am, mir, msgr,
18334166124Srafan	cols#80, it#8, lines#24,
18335166124Srafan	acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
18336166124Srafan	cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
18337166124Srafan	cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
18338166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
18339166124Srafan	is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
18340166124Srafan	kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
18341166124Srafan	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
18342166124Srafan	kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
18343166124Srafan	ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
18344166124Srafan	smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
18345166124Srafanh19-bs|heathkit w/keypad shifted,
18346166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-b,
18347166124Srafanh19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
18348166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-u,
1834950276Speter# (h19: merged in <ip> from BSDI hp19-e entry>;
1835050276Speter# also added empty <acsc> to suppress a tic warning --esr)
18351166124Srafan# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
1835250276Speter# Tim tells us that:
1835350276Speter# I have an old Zenith-19 terminal at home that still gets a lot of use.
1835450276Speter# This terminal suffers from the same famous insert-mode padding lossage
1835550276Speter# that has been acknowledged for the Z29 terminal.  Emacs is nearly
1835650276Speter# unusable on this box, since even a half-scroll up or down the window
1835750276Speter# causes flaming terminal death.
18358166124Srafan#
1835950276Speter# On the Z19, the only way I have found around this problem is to remove
1836050276Speter# the :al: and :dl: entries entirely.  No amount of extra padding will
1836150276Speter# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
1836250276Speter# makes Emacs a little slower, but it remains in the land of the living.
1836350276Speter# Big win.
18364166124Srafanh19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
18365166124Srafan	OTbs, am, eslok, hs, mir, msgr,
18366166124Srafan	cols#80, it#8, lines#24,
18367174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{, bel=^G,
18368174993Srafan	clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18369174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
18370174993Srafan	dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
18371174993Srafan	ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18372174993Srafan	kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
18373174993Srafan	kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
18374174993Srafan	lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18375174993Srafan	smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
18376166124Srafanh19-u|heathkit with underscore cursor,
18377166124Srafan	cnorm@, cvvis@, use=h19-b,
18378166124Srafanh19-g|h19g|heathkit w/block cursor,
18379174993Srafan	cnorm=\Ex4, cvvis@, use=h19-b,
18380166124Srafanalto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
18381166124Srafan	lines#60,
18382166124Srafan	dl1=\EM, il1=\EL, use=h19,
1838350276Speter
1838450276Speter# The major problem with the Z29 is that it requires more padding than the Z19.
1838550276Speter#
1838650276Speter# The problem with declaring an H19 to be synonymous with a Z29 is that
1838750276Speter# it needs more padding. It especially loses if a program attempts
1838850276Speter# to put the Z29 into insert mode and insert text at 9600 baud. It
1838950276Speter# even loses worse if the program attempts to insert tabs at 9600
18390166124Srafan# baud. Adding padding to text that is inserted loses because in
1839150276Speter# order to make the Z29 not die, one must add so much padding that
18392166124Srafan# whenever the program tries to use insert mode, the effective
1839350276Speter# rate is about 110 baud.
18394166124Srafan#
18395166124Srafan# What program would want to put the terminal into insert mode
18396166124Srafan# and shove stuff at it at 9600 baud you ask?
18397166124Srafan#
18398166124Srafan# Emacs. Emacs seems to want to do the mathematically optimal
1839950276Speter# thing in doing a redisplay rather than the practical thing.
18400166124Srafan# When it is about to output a line on top of a line that is
18401166124Srafan# already on the screen, instead of just killing to the end of
18402166124Srafan# the line and outputting the new line, it compares the old line
18403166124Srafan# and the new line and if there are any similarities, it
18404166124Srafan# constructs the new line by deleting the text on the old line
1840550276Speter# on the terminal that is already there and then inserting new
18406166124Srafan# text into the line to transform it into the new line that is
1840750276Speter# to be displayed. The Z29 does not react kindly to this.
18408166124Srafan#
1840950276Speter# But don't cry for too long.... There is a solution. You can make
1841050276Speter# a termcap entry for the Z29 that says the Z29 has no insert mode.
18411166124Srafan# Then Emacs cannot use it. "Oh, no, but now inserting into a
1841250276Speter# line will be really slow", you say. Well there is a sort of a
18413166124Srafan# solution to that too. There is an insert character option on
18414166124Srafan# the Z29 that will insert one character. Unfortunately, it
18415166124Srafan# involves putting the terminal into ansi mode, inserting the
18416166124Srafan# character, and changing it back to H19 mode. All this takes 12
18417166124Srafan# characters. Pretty expensive to insert one character, but it
18418166124Srafan# works. Either Emacs doesn't try to use its inserting hack when
18419166124Srafan# it's only given an insert character ability or the Z29 doesn't
18420166124Srafan# require padding with this (the former is probably more likely,
1842150276Speter# but I haven't checked it out).
1842250276Speter# (z29: added empty <acsc> to suppress a tic warning, merged in
1842350276Speter# status line capabilities from BRL entry --esr)
18424166124Srafanz29|zenith29|z29b|zenith z29b,
18425166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18426166124Srafan	OTkn#10, cols#80, lines#24,
18427166124Srafan	OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
18428166124Srafan	cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18429166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
18430166124Srafan	cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
18431166124Srafan	ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
18432166124Srafan	ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
18433166124Srafan	is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18434166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
18435166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
18436166124Srafan	lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
18437166124Srafan	rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
18438166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1843950276Speter# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
1844050276Speter# the world is stable. <rs1> causes the terminal to be reset to the state
1844150276Speter# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
1844250276Speter# cursor, bc -> block cursor.
1844350276Speter# From: Mike Meyers
1844450276Speter# (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
1844550276Speter# looks vt100-compatible -- esr)
18446166124Srafanz29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
18447166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18448166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18449166124Srafan	OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
18450166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18451166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18452166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18453166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18454166124Srafan	dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
18455166124Srafan	ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
18456166124Srafan	ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
18457166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
18458166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18459166124Srafan	kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
18460166124Srafan	nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
18461166124Srafan	rmso=\E[m, rmul=\E[m,
18462166124Srafan	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,
18463166124Srafan	sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
18464166124Srafan	tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
18465166124Srafanz29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
18466166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
18467166124Srafan	use=z29a,
18468166124Srafanz29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
18469166124Srafan	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,
18470166124Srafan	use=z29a,
18471166124Srafanz29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
18472166124Srafan	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,
18473166124Srafan	use=z29a,
1847450276Speter# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
18475166124Srafanz39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
18476166124Srafan	am, eslok, hs, mc5i, mir, msgr, xon,
18477166124Srafan	cols#80, lines#24,
18478166124Srafan	acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
18479166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
18480166124Srafan	clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
18481166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18482166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
18483166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18484166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18485166124Srafan	dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
18486166124Srafan	fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
18487166124Srafan	ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
18488166124Srafan	ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
18489166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
18490166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18491166124Srafan	kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
18492166124Srafan	mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
18493166124Srafan	rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
18494166124Srafan	rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
18495166124Srafan	smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
18496166124Srafan	tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1849750276Speter
1849850276Speter# From: Brad Brahms <Brahms@USC-ECLC>
18499166124Srafanz100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
18500166124Srafan	cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
1850150276Speter# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
18502166124Srafanz100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
18503166124Srafan	OTbs, OTpt, mir, msgr,
18504166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18505174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{,
18506174993Srafan	clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
18507174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
18508174993Srafan	cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
18509174993Srafan	home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
18510174993Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, kf3=\EU,
18511174993Srafan	kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EOI,
18512174993Srafan	khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18513174993Srafan	smir=\E@, smso=\Ep,
18514166124Srafanp19|h19-b with il1/dl1,
18515166124Srafan	dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
1851650276Speter# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1851750276Speter# (ztx: removed duplicate :sr: -- esr)
18518166124Srafanztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
18519166124Srafan	OTbs, am, eslok, hs,
18520166124Srafan	cols#80, it#8, lines#24,
18521166124Srafan	clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
18522166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
18523166124Srafan	dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
18524166124Srafan	il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
18525166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
18526166124Srafan	kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
18527166124Srafan	ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
18528166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1852950276Speter
1853050276Speter#### IMS International (ims)
1853150276Speter#
18532166124Srafan# There was a company called IMS International located in Carson City,
1853350276Speter# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
18534166124Srafan# bus/Z80 hardware and a line of terminals called Ultimas.
1853550276Speter#
1853650276Speter
1853750276Speter# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
18538166124Srafanims950-b|bare ims950 no init string,
18539166124Srafan	is2@, use=ims950,
1854050276Speter# (ims950: removed obsolete ":ko@:" -- esr)
18541166124Srafanims950|ims televideo 950 emulation,
18542166124Srafan	xenl@,
18543166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18544166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950,
1854550276Speter# (ims950-rv: removed obsolete ":ko@:" -- esr)
18546166124Srafanims950-rv|ims tvi950 rev video,
18547166124Srafan	xenl@,
18548166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18549166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv,
18550166124Srafanims-ansi|ultima2|ultimaII|IMS Ultima II,
18551166124Srafan	OTbs, am,
18552166124Srafan	cols#80, it#8, lines#24,
18553166124Srafan	clear=\E[H\E[2J, cub1=^H, cud1=\ED,
18554166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
18555166124Srafan	ht=^I, if=/usr/share/tabset/vt100,
18556166124Srafan	is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
18557166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
18558166124Srafan	rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
18559166124Srafan	smul=\E[4m,
1856050276Speter
1856150276Speter#### Intertec Data Systems
1856250276Speter#
1856350276Speter# I think this company is long dead as of 1995.  They made an early CP/M
1856450276Speter# micro called the "Intertec Superbrain" that was moderately popular,
1856550276Speter# then sank out of sight.
1856650276Speter#
1856750276Speter
18568166124Srafansuperbrain|intertec superbrain,
18569166124Srafan	OTbs, am, bw,
18570166124Srafan	cols#80, lines#24,
18571166124Srafan	OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
18572166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
18573166124Srafan	ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
18574166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
18575166124Srafan# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
1857650276Speter# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
1857750276Speter# and the reverse is actually true.  Try it. -- esr)
18578166124Srafanintertube|intertec|Intertec InterTube,
18579166124Srafan	OTbs, am,
18580166124Srafan	cols#80, lines#25,
18581166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
18582166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
18583166124Srafan	ind=^J, rmso=\E0@, smso=\E0P,
1858450276Speter# The intertube 2 has the "full duplex" problem like the tek 4025: if you
1858550276Speter# are typing and a command comes in, the keystrokes you type get interspersed
1858650276Speter# with the command and it messes up
18587166124Srafanintertube2|intertec data systems intertube 2,
18588166124Srafan	OTbs,
18589166124Srafan	cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
18590166124Srafan	el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
18591166124Srafan	ll=^K^X\r, vpa=\013%p1%c, use=intertube,
1859250276Speter
1859350276Speter#### Ithaca Intersystems
1859450276Speter#
1859550276Speter# This company made S100-bus personal computers long ago in the pre-IBM-PC
1859650276Speter# past.  They used to be reachable at:
1859750276Speter#
1859850276Speter#	Ithaca Intersystems
1859950276Speter#	1650 Hanshaw Road
1860050276Speter#	Ithaca, New York 14850
1860150276Speter#
1860250276Speter# However, the outfit went bankrupt years ago.
1860350276Speter#
1860450276Speter
1860550276Speter# The Graphos III was a color graphics terminal from Ithaca Intersystems.
18606166124Srafan# These entries were written (originally in termcap syntax) by Brian Yandell
18607166124Srafan# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
1860850276Speter# University of Wisconsin.
1860950276Speter
18610166124Srafan# (graphos: removed obsolete and syntactically incorrect :kn=4:,
18611166124Srafan# removed <if=/usr/share/tabset/init.graphos> and
1861250276Speter# <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
18613166124Srafangraphos|graphos III,
18614166124Srafan	am, mir,
18615166124Srafan	cols#80, it#8, lines#24,
18616166124Srafan	clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
18617166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
18618166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18619166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A,
18620166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
18621166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
18622166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18623166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
18624166124Srafan	kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
18625166124Srafan	rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
18626166124Srafan	smir=\E[4h, smso=\E[7m,
18627166124Srafangraphos-30|graphos III with 30 lines,
18628166124Srafan	lines#30,
18629166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1863050276Speter
1863150276Speter#### Modgraph
1863250276Speter#
1863350276Speter# These people used to be reachable at:
1863450276Speter#
1863550276Speter#	Modgraph, Inc
1863650276Speter#	1393 Main Street,
1863750276Speter#	Waltham, MA 02154
1863850276Speter#	Vox: (617)-890-5796.
1863950276Speter#
1864050276Speter# However, if you call that number today you'll get an insurance company.
18641166124Srafan# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
1864250276Speter# 26 Feb 1997 that says:
1864350276Speter#
1864450276Speter# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
1864550276Speter# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
1864650276Speter# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
1864750276Speter# panel-mount etc).  I can be emailed at sonfour@aol.com
1864850276Speter#
1864950276Speter# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
1865050276Speter# dated 1984.  According to the manual, it featured Tek 4010/4014
1865150276Speter# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1865250276Speter#
1865350276Speter
18654166124Srafanmodgraph|mod24|modgraph terminal emulating vt100,
18655166124Srafan	xenl@,
18656166124Srafan	cols#80, lines#24,
18657166124Srafan	cvvis=\E\^9;0s\E\^7;1s,
18658166124Srafan	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,
18659166124Srafan	rf@, ri=\EM\E[K$<5/>, use=vt100,
1866050276Speter# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
18661166124Srafanmodgraph2|modgraph gx-1000 80x24 with keypad not enabled,
18662166124Srafan	am, da, db,
18663166124Srafan	cols#80, it#8, lines#24,
18664166124Srafan	clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
18665166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
18666166124Srafan	ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
18667166124Srafan	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,
18668166124Srafan	ri=\EI$<5/>,
1866950276Speter#
1867050276Speter# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
1867150276Speter# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
1867250276Speter# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
1867350276Speter# mark and using delete-to-killbuffer work correctly.  However, we would
1867450276Speter# like normal mode of operation to be using a Modgraph with 48 line setting.
1867550276Speter# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
1867650276Speter# the setting mark and delete-to-killbuffer results in the deletion of only
1867750276Speter# the line the mark is set on.
1867850276Speter# We've discovered that the delete-to-killbuffer works correctly
1867950276Speter# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
1868050276Speter# the first line disappears but a ctrl-l shows that it did work
1868150276Speter# correctly.
18682166124Srafanmodgraph48|mod|Modgraph w/48 lines,
18683166124Srafan	OTbs, OTpt, am, xenl,
18684166124Srafan	cols#80, it#8, lines#48, vt#3,
18685166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
18686166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
18687166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
18688166124Srafan	flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
18689166124Srafan	home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
18690166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
18691166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
18692166124Srafan	ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18693166124Srafan	rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
18694166124Srafan	smso=\E[7m, smul=\E[4m,
1869550276Speter
1869650276Speter#### Morrow Designs
18697166124Srafan#
1869850276Speter# This was George Morrow's company.  They started in the late 1970s making
1869950276Speter# S100-bus machines.  They used to be reachable at:
1870050276Speter#
1870150276Speter#        Morrow
1870250276Speter#        600 McCormick St.
1870350276Speter#        San Leandro, CA 94577
1870450276Speter#
1870550276Speter# but they're long gone now (1995).
1870650276Speter#
1870750276Speter
18708166124Srafan# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
1870950276Speter# Jeff's specimen was dated June 1984.
1871050276Speter# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
18711166124Srafanmt70|mt-70|Morrow MD-70; native Morrow mode,
18712166124Srafan	am, mir, msgr, xon,
18713166124Srafan	cols#80, it#8, lines#24,
18714166124Srafan	acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
18715166124Srafan	cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
18716166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
18717166124Srafan	cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
18718166124Srafan	flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
18719166124Srafan	ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
18720166124Srafan	kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
18721166124Srafan	kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
18722166124Srafan	kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
18723166124Srafan	kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
18724166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18725166124Srafan	kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
18726166124Srafan	rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E],
18727166124Srafan	smul=\EG1, tbc=\E0, use=adm+sgr,
1872850276Speter
1872950276Speter#### Motorola
1873050276Speter#
1873150276Speter
1873250276Speter# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
1873350276Speter# (Seth H Zirin)
18734166124Srafanex155|Motorola Exorterm 155,
18735166124Srafan	OTbs, am, bw,
18736166124Srafan	OTkn#5, OTug#1, cols#80, lines#24,
18737166124Srafan	cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
18738166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
18739166124Srafan	home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
18740166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
18741166124Srafan	rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
1874250276Speter
1874350276Speter#### Omron
1874450276Speter#
1874550276Speter# This company is still around in 1995, manufacturing point-of-sale systems.
1874650276Speter
18747166124Srafanomron|Omron 8025AG,
18748166124Srafan	OTbs, am, da, db,
18749166124Srafan	cols#80, lines#24,
18750166124Srafan	bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
18751166124Srafan	cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
18752166124Srafan	il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
1875350276Speter
1875450276Speter#### Ramtek
1875550276Speter#
1875650276Speter# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
1875750276Speter# were competition for things like the Tektronics 4025.
1875850276Speter#
1875950276Speter
1876050276Speter# Ramtek 6221 from BRL, probably by Doug Gwyn
1876150276Speter# The following SET-UP modes are assumed for normal operation:
1876250276Speter#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
1876350276Speter#	NEWLINE_OFF		80_COLUMNS
1876450276Speter# Other SET-UP modes may be set for operator convenience or communication
1876550276Speter# requirements; I recommend
1876650276Speter#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
1876750276Speter# Hardware tabs are assumed to be every 8 columns; they can be set up by the
1876850276Speter# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
1876950276Speter# Note that the Control-E key is useless on this brain-damaged terminal.  No
1877050276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
18771166124Srafanrt6221|Ramtek 6221 80x24,
18772166124Srafan	OTbs, OTpt, msgr, xon,
18773166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
18774166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
18775166124Srafan	clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
18776166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18777166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
18778166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
18779166124Srafan	cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
18780166124Srafan	hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18781166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
18782166124Srafan	kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
18783166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
18784166124Srafan	rmso=\E[m, rmul=\E[m,
18785166124Srafan	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>,
18786166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
18787166124Srafan	smul=\E[4m, tbc=\E[3g,
1878850276Speter# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
18789166124Srafanrt6221-w|Ramtek 6221 160x48,
18790166124Srafan	cols#160, lines#48,
18791166124Srafan	ll=\E[48;1H, use=rt6221,
1879250276Speter
1879350276Speter#### RCA
1879450276Speter#
1879550276Speter
1879650276Speter# RCA VP3301 or VP3501
18797166124Srafanrca|rca vp3301/vp3501,
18798166124Srafan	OTbs,
18799166124Srafan	cols#40, lines#24,
18800166124Srafan	clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
18801166124Srafan	cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1880250276Speter
1880350276Speter
1880450276Speter#### Selanar
1880550276Speter#
1880650276Speter
1880750276Speter# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
1880850276Speter# The following SET-UP modes are assumed for normal operation:
1880950276Speter#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
1881050276Speter#	ONLINE			ANSI			CURSOR_VISIBLE
1881150276Speter#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
1881250276Speter#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
1881350276Speter#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
1881450276Speter# For use with graphics software, all graphics modes should be set to factory
1881550276Speter# default.  Other SET-UP modes may be set for operator convenience or
1881650276Speter# communication requirements.  No delays are specified; use "stty ixon -ixany"
1881750276Speter# to enable DC3/DC1 flow control!
1881850276Speter# I commented out the scrolling capabilities since they are too slow.
18819166124Srafanhirez100|Selanar HiREZ-100,
18820166124Srafan	OTbs, OTpt, mir, msgr, xon,
18821166124Srafan	OTkn#4, cols#80, it#8, lines#48, vt#3,
18822166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
18823166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
18824166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18825166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
18826166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
18827166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
18828166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
18829166124Srafan	kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
18830166124Srafan	lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
18831166124Srafan	mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
18832166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18833166124Srafan	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>,
18834166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
18835166124Srafan	smul=\E[4m, tbc=\E[3g,
18836166124Srafanhirez100-w|Selanar HiREZ-100 in 132-column mode,
18837166124Srafan	cols#132, use=hirez100,
1883850276Speter
1883950276Speter#### Signetics
1884050276Speter#
1884150276Speter
1884250276Speter# From University of Wisconsin
18843166124Srafanvsc|Signetics Vsc Video driver by RMC,
18844166124Srafan	am, msgr,
18845166124Srafan	cols#80, it#8, lines#26,
18846166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
18847166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
18848166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
18849166124Srafan	rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1885050276Speter
1885150276Speter#### Soroc
1885250276Speter#
1885350276Speter# Alan Frisbie <frisbie@flying-disk.com> writes:
1885450276Speter#
1885550276Speter# As you may recall, the Soroc logo consisted of their name,
1885650276Speter# with the letter "S" superimposed over an odd design.   This
1885750276Speter# consisted of a circle with a slightly smaller 15 degree (approx.)
1885850276Speter# wedge with rounded corners inside it.   The color was sort of
1885950276Speter# a metallic gold/yellow.
18860166124Srafan#
1886150276Speter# If I had been more of a beer drinker it might have been obvious
1886250276Speter# to me, but it took a clue from their service department to make
1886350276Speter# me exclaim, "Of course!"   The circular object was the top of
1886450276Speter# a beer can (the old removable pop-top style) and "Soroc" was an
1886550276Speter# anagram for "Coors".
18866166124Srafan#
1886750276Speter# I can just imagine the founders of the company sitting around
1886850276Speter# one evening, tossing back a few and trying to decide what to
1886950276Speter# call their new company and what to use for a logo.
18870166124Srafan#
1887150276Speter
1887250276Speter# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
18873166124Srafansoroc120|iq120|soroc|soroc iq120,
18874166124Srafan	clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
18875166124Srafan	kcuf1=^L, kcuu1=^K, use=adm3a,
18876166124Srafansoroc140|iq140|soroc iq140,
18877166124Srafan	OTbs, am, mir,
18878166124Srafan	cols#80, lines#24,
18879166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
18880166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
18881166124Srafan	dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
18882166124Srafan	kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
18883166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18884166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
18885166124Srafan	rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1888650276Speter
1888750276Speter#### Southwest Technical Products
1888850276Speter#
18889166124Srafan# These guys made an early personal micro called the M6800.
1889050276Speter# The ct82 was probably its console terminal.
1889150276Speter#
1889250276Speter
1889350276Speter# (swtp: removed obsolete ":bc=^D:" -- esr)
18894166124Srafanswtp|ct82|southwest technical products ct82,
18895166124Srafan	am,
18896166124Srafan	cols#82, lines#20,
18897166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
18898166124Srafan	cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
18899166124Srafan	home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
18900166124Srafan	is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
18901166124Srafan	ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1890250276Speter
1890350276Speter#### Synertek
1890450276Speter#
1890550276Speter# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1890650276Speter#
1890750276Speter# Synertek used to make ICs, various 6502-based single-board process
1890850276Speter# control and hobbyist computers, and assorted peripherals including a
1890950276Speter# series of small inexpensive terminals (I think they were one of the
1891050276Speter# first to have a "terminal-on-a-keyboard", where the terminal itself
1891150276Speter# was only slightly larger than the keyboard).
1891250276Speter#
1891350276Speter# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
1891450276Speter# was a 40x24 terminal that could connect to a standard TV through a
1891550276Speter# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
1891650276Speter# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
1891750276Speter# I have a KTM-2/80 still in working order.  The KTM-2s had fully
1891850276Speter# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
1891950276Speter# ROM and 2 ROMs as character generators. They were incredibly simple,
1892050276Speter# and I've never had any problems with mine (witness the fact that mine
1892150276Speter# was made in 1981 and is still working great... I've blown the video
1892250276Speter# output transistor a couple of times, but it's a 2N2222 :-)
1892350276Speter#
1892450276Speter# The KTM-3 (which is what is listed in the terminfo file) was their
1892550276Speter# attempt at putting a KTM-2 in a box (and some models came with a
1892650276Speter# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
1892750276Speter# control and escape sequences are very different. The KTM-3 was always
1892850276Speter# real broken, at least according to the folks I've talked to about it.
18929166124Srafan#
1893050276Speter# The padding in the entry is probably off--these terminals were very
1893150276Speter# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
1893250276Speter# anyone with any sanity replaced the ROMs with something that provided
1893350276Speter# a reasonable subset of VT100 functionality, since the usual ROMs were
1893450276Speter# obviously very primitive... oh, you could get an upgraded ROM from
1893550276Speter# Synertek for some incredible amount of money, but what hacker with an
1893650276Speter# EPROM burner would do that? :)
18937166124Srafan#
1893850276Speter# Sorry I don't have any contact info; I believe they were located in
1893950276Speter# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
1894050276Speter# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
1894150276Speter# business these days.
1894250276Speter#
1894350276Speter
1894450276Speter# Tested, seems to work fine with vi.
18945166124Srafansynertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
18946166124Srafan	am,
18947166124Srafan	cols#80, lines#24,
18948166124Srafan	clear=^Z, cub1=^H, cuf1=^L,
18949166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
1895050276Speter
1895150276Speter#### Tab Office Products
1895250276Speter#
1895350276Speter#	TAB Products Co. - Palo Alto, California
1895450276Speter#	Electronic Office Products,
1895550276Speter#	1451 California Avenue 94304
1895650276Speter#
1895750276Speter# I think they're out of business.
1895850276Speter#
1895950276Speter
1896050276Speter# The tab 132 uses xon/xoff, so no padding needed.
1896150276Speter# <smkx>/<rmkx> have nothing to do with arrow keys.
1896250276Speter# <is2> sets 80 col mode, normal video, autowrap on (for <am>).
1896350276Speter# Seems to be no way to get rid of status line.
1896450276Speter# The manual for this puppy was dated June 1981.  It claims to be VT52-
1896550276Speter# compatible but looks more vt100-like.
18966166124Srafantab132|tab|tab132-15|tab 132/15,
18967166124Srafan	da, db,
18968166124Srafan	OTdN@, cols#80, lines#24, lm#96,
18969166124Srafan	cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
18970166124Srafan	il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
18971166124Srafan	kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100,
18972166124Srafantab132-w|tab132 in wide mode,
18973166124Srafan	cols#132,
18974166124Srafan	is2=\E[?7h\E[?3h\E[?5l, use=tab132,
18975166124Srafantab132-rv|tab132 in reverse-video mode,
18976166124Srafan	is2=\E[?7h\E[?3l\E[?5h, use=tab132,
18977166124Srafantab132-w-rv|tab132 in reverse-video/wide mode,
18978166124Srafan	is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
1897950276Speter
1898050276Speter
1898150276Speter#### Teleray
1898250276Speter#
1898350276Speter#	Research Incorporated
1898450276Speter#	6425 Flying Cloud Drive
1898550276Speter#	Eden Prairie, MN 55344
1898650276Speter#	Vox: (612)-941-3300
1898750276Speter#
1898850276Speter# The Teleray terminals were all discontinued in 1992-93.  RI still services
1898950276Speter# and repairs these beasts, but no longer manufactures them.  The Teleray
1899050276Speter# people believe that all the types listed below are very rare now (1995).
1899150276Speter# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
1899250276Speter# Model 100) that were ANSI-compatible.
1899350276Speter#
1899450276Speter# Note two things called "teleray".  Reorder should move the common one
1899550276Speter# to the front if you have either.  A dumb teleray with the cursor stuck
1899650276Speter# on the bottom and no obvious model number is probably a 3700.
1899750276Speter#
1899850276Speter
18999166124Srafant3700|dumb teleray 3700,
19000166124Srafan	OTbs,
19001166124Srafan	cols#80, lines#24,
19002166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
19003166124Srafant3800|teleray 3800 series,
19004166124Srafan	OTbs,
19005166124Srafan	cols#80, it#8, lines#24,
19006166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19007166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
19008166124Srafan	home=\EH, ht=^I, ind=^J, ll=\EY7\s,
19009166124Srafant1061|teleray|teleray 1061,
19010166124Srafan	OTbs, am, km, xhp, xt,
19011166124Srafan	cols#80, it#8, lines#24, xmc#1,
19012166124Srafan	bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19013166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19014166124Srafan	dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
19015166124Srafan	ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
19016166124Srafan	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,
19017166124Srafan	kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
19018166124Srafan	kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
19019166124Srafan	tbc=\EG,
19020166124Srafant1061f|teleray 1061 with fast PROMs,
19021166124Srafan	dl1=\EM, il1=\EL, ip@, use=t1061,
1902250276Speter# "Teleray Arpa Special", officially designated as
1902350276Speter# "Teleray Arpa network model 10" with "Special feature 720".
1902450276Speter# This is the new (1981) fast microcode updating the older "arpa" proms
1902550276Speter# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1902650276Speter# converts the keypad to programmable function keys, and has other goodies.
1902750276Speter# Standout mode is still broken (magic cookie, etc) so is suppressed as no
1902850276Speter# programs handle such lossage properly.
1902950276Speter# Note: this is NOT the old termcap's "t1061f with fast proms."
1903050276Speter# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1903150276Speter# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
19032166124Srafant10|teleray 10 special,
19033166124Srafan	OTbs, km, xhp, xt,
19034166124Srafan	cols#80, it#8, lines#24, xmc#2,
19035166124Srafan	clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
19036166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19037166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
19038166124Srafan	ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
19039166124Srafan	smul=\ERH,
1904050276Speter# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
1904150276Speter# back/forth words. Put the function keys (f1-f10) where they can be
1904250276Speter# found, and turn off the other magic keys along the top row, except
1904350276Speter# for line/local. Do the magic appropriate to make the page shifts work.
1904450276Speter# Also toggle ^S/^Q for those of us who use Emacs.
19045166124Srafant16|teleray 16,
19046166124Srafan	am, da, db, mir, xhp, xt,
19047166124Srafan	cols#80, lines#24,
19048166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
19049166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
19050166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
19051166124Srafan	ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
19052166124Srafan	kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
19053166124Srafan	rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
19054166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
19055166124Srafan	smso=\E[7m, smul=\E[4m,
1905650276Speter
1905750276Speter#### Texas Instruments (ti)
1905850276Speter#
1905950276Speter
1906050276Speter# The Silent 700 was so called because it was built around a quiet thermal
1906150276Speter# printer.  It was portable, equipped with an acoustic coupler, and pretty
1906250276Speter# neat for its day.
19063166124Srafanti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
19064166124Srafan	OTbs, hc, os,
19065166124Srafan	cols#80,
19066166124Srafan	bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
1906750276Speter
1906850276Speter#
1906950276Speter# Texas Instruments 916 VDT 7 bit control mode
1907050276Speter#
19071166124Srafanti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
19072166124Srafan	da, db, in, msgr,
19073166124Srafan	cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
19074166124Srafan	cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
19075166124Srafan	cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
19076166124Srafan	dch=\E[%p1%dP$<250>, dch1=\E[P, dl=\E[%p1%dM,
19077166124Srafan	ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, el1=\E[1K,
19078166124Srafan	enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
19079166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
19080166124Srafan	il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
19081166124Srafan	kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
19082166124Srafan	kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
19083166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
19084166124Srafan	kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
19085166124Srafan	kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, sgr@,
19086166124Srafan	smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
19087166124Srafan	use=vt220,
1908850276Speter#
1908950276Speter# Texas Instruments 916 VDT 8 bit control mode
1909050276Speter#
19091166124Srafanti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
19092166124Srafan	kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
19093166124Srafan	kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
19094166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
19095166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
19096166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
19097166124Srafan	kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916,
1909850276Speter#
1909950276Speter# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1910050276Speter#
19101166124Srafanti916-132|Texas Instruments 916 VDT vt220 132 column,
19102166124Srafan	cols#132, use=ti916,
1910350276Speter#
1910450276Speter# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1910550276Speter#
19106166124Srafanti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
19107166124Srafan	cols#132, use=ti916-8,
19108166124Srafanti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
19109166124Srafan	OTbs, am, xon,
19110166124Srafan	cols#80, it#8, lines#24,
19111166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19112166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19113166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19114166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19115166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19116166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19117166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
19118166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
19119166124Srafan	kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
19120166124Srafan	ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19121166124Srafan	smul=\E[4m, tbc=\E[3g,
19122166124Srafanti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
19123166124Srafan	am, xon,
19124166124Srafan	cols#80, it#8, lines#24,
19125166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19126166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19127166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19128166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19129166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19130166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19131166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
19132166124Srafan	kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
19133166124Srafan	kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
19134166124Srafan	kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
19135166124Srafan	rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19136166124Srafan	smul=\E[4m, tbc=\E[3g,
19137166124Srafanti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
19138166124Srafan	cols#132, use=ti924,
19139166124Srafanti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
19140166124Srafan	cols#132, use=ti924-8,
19141166124Srafanti931|Texas Instruments 931 VDT,
19142166124Srafan	OTbs, am, xon,
19143166124Srafan	cols#80, lines#24,
19144166124Srafan	bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
19145166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
19146166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
19147166124Srafan	ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
19148166124Srafan	is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19149166124Srafan	kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
19150166124Srafan	kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
19151166124Srafan	kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
19152166124Srafan	sgr0=\E4@, smso=\E4A, smul=\E4D,
19153166124Srafanti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
19154166124Srafan	csr@, ind=\E[1S, ri=\E[1T, use=ti924,
1915550276Speter# (ti926-8: I corrected this from the broken SCO entry -- esr)
19156166124Srafanti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
19157166124Srafan	csr@, ind=\2331S, ri=\2331T, use=ti924-8,
19158166124Srafanti_ansi|basic entry for ti928,
19159166124Srafan	am, bce, eo, xenl, xon,
19160166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
19161166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
19162166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
19163166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
19164166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
19165166124Srafan	il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19166166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
19167166124Srafan	kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
19168166124Srafan	kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
19169166124Srafan	op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
19170166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
19171166124Srafan	smso=\E[7m, smul=\E[4m,
1917250276Speter#
1917350276Speter#       928 VDT 7 bit control mode
1917450276Speter#
19175166124Srafanti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
19176166124Srafan	kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
19177166124Srafan	kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
19178166124Srafan	kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
19179166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
19180166124Srafan	kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi,
1918150276Speter#
1918250276Speter#       928 VDT 8 bit control mode
1918350276Speter#
19184166124Srafanti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
19185166124Srafan	kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
19186166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
19187166124Srafan	kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
19188166124Srafan	kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
19189166124Srafan	kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
19190166124Srafan	kpp=\233T, kprt=\23335~, use=ti_ansi,
1919150276Speter
1919250276Speter#### Zentec (zen)
1919350276Speter#
1919450276Speter
1919550276Speter# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
19196166124Srafan# had just <smso>=\EG6 which I think means standout was supposed to be
1919750276Speter# dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
1919850276Speter# <invis> might work-- esr)
19199166124Srafanzen30|z30|zentec 30,
19200166124Srafan	OTbs, am, mir, ul,
19201166124Srafan	cols#80, lines#24,
19202166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19203166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
19204166124Srafan	dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
19205166124Srafan	il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
19206166124Srafan	smul@, use=adm+sgr,
1920750276Speter# (zen50: this had extension capabilities
1920850276Speter#	:BS=^U:CL=^V:CR=^B:
1920950276Speter# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
1921050276Speter# which were also in the original entry -- esr)
1921150276Speter# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
19212166124Srafanzen50|z50|zentec zephyr,
19213166124Srafan	OTbs, am,
19214166124Srafan	cols#80, lines#24, xmc#1,
19215166124Srafan	clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
19216166124Srafan	cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
19217166124Srafan	invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
19218166124Srafan	rmul@, smul@, use=adm+sgr,
1921950276Speter
1922050276Speter# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
19221166124Srafancci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
19222166124Srafan	OTbs, am, bw,
19223166124Srafan	cols#80, lines#24,
19224166124Srafan	blink=\EM", clear=\EH\EJ, cnorm=\EP,
19225166124Srafan	csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
19226166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
19227166124Srafan	cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
19228166124Srafan	invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
19229166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
19230166124Srafan	rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
19231166124Srafan	smso=\EM$, smul=\EM0,
1923250276Speter
1923350276Speter######## OBSOLETE UNIX CONSOLES
1923450276Speter#
1923550276Speter
1923650276Speter#### Apollo consoles
1923750276Speter#
19238166124Srafan# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
1923950276Speter# labeled HP700s now.
1924050276Speter#
1924150276Speter
1924250276Speter# From: Gary Darland <goodmanc@garnet.berkeley.edu>
19243166124Srafanapollo|apollo console,
19244166124Srafan	OTbs, am, mir,
19245166124Srafan	cols#88, lines#53,
19246166124Srafan	clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
19247166124Srafan	cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
19248166124Srafan	ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
19249166124Srafan	rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
19250166124Srafan	smso=\ES, smul=\EU, vpa=\EO+\s,
1925150276Speter
1925250276Speter# We don't know whether or not the apollo guys replicated DEC's firmware bug
1925350276Speter# in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
1925450276Speter# both these capabilities.
19255166124Srafanapollo_15P|apollo 15 inch display,
19256166124Srafan	rmir@, smir@, use=vt132,
19257166124Srafanapollo_19L|apollo 19 inch display,
19258166124Srafan	rmir@, smir@, use=vt132,
19259166124Srafanapollo_color|apollo color display,
19260166124Srafan	rmir@, smir@, use=vt132,
1926150276Speter
1926250276Speter#### Convergent Technology
1926350276Speter#
1926450276Speter# Burroughs bought Convergent shortly before it merged with Univac.
1926550276Speter# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
1926650276Speter# from 1991 or earlier).
1926750276Speter#
1926850276Speter
1926950276Speter# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
1927050276Speter# (aws: removed unknown :dn=^K: -- esr)
19271166124Srafanaws|Convergent Technologies AWS workstation under UTX and Xenix,
19272166124Srafan	am,
19273166124Srafan	OTug#0, cols#80, lines#28, xmc#0,
19274166124Srafan	OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
19275166124Srafan	clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
19276166124Srafan	dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
19277166124Srafan	ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
19278166124Srafan	kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
19279166124Srafan	rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
19280166124Srafan	vpa=\EV%p1%c,
19281166124Srafanawsc|Convergent Technologies AWS workstation under CTOS,
19282166124Srafan	am,
19283166124Srafan	OTug#0, cols#80, lines#24, xmc#0,
19284166124Srafan	OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
19285166124Srafan	cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
19286166124Srafan	el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
19287166124Srafan	rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
19288166124Srafan	smul=\EAC,
1928950276Speter
1929050276Speter#### DEC consoles
1929150276Speter#
1929250276Speter
1929350276Speter# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
1929450276Speter# The digital uVax II's had a graphic display called a qdss.  It was
1929550276Speter# supposed to be a high performance graphic accelerator, but it was
1929650276Speter# late to market and barely appeared before faster dumb frame buffers
1929750276Speter# appeared.  I have only used this display while running X11.  However,
1929850276Speter# during bootup, it was in text mode, and probably had a terminal emulator
1929950276Speter# within it.  And that is what your termcap entry is for.  In graphics
1930050276Speter# mode the screen size is 1024x864 pixels.
19301166124Srafanqdss|qdcons|qdss glass tty,
19302166124Srafan	OTbs, am,
19303166124Srafan	cols#128, lines#57,
19304166124Srafan	clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
19305166124Srafan	cup=\E=%p1%c%p2%c, cuu1=^K,
1930650276Speter
1930750276Speter#### Fortune Systems consoles
1930850276Speter#
1930950276Speter# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
1931050276Speter# in their day; I (esr) used one myself for a year or so around 1984.
1931150276Speter# They had no graphics, though, and couldn't compete against Suns and
1931250276Speter# the like.  R.I.P.
1931350276Speter#
1931450276Speter
1931550276Speter# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
1931650276Speter# (This had extension capabilities
1931750276Speter#	:rv=\EH:re=\EI:rg=0:GG=0:\
1931850276Speter#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
1931950276Speter#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
1932050276Speter#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
1932150276Speter# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
1932250276Speter# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
1932350276Speter# to force both magic cookie glitches off.  Once upon a time, I
1932450276Speter# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
1932550276Speter# function keys; thus the "Al" value for HM was certainly an error.  I renamed
19326166124Srafan# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
1932750276Speter# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
1932850276Speter# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
1932950276Speter# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
19330166124Srafanfos|fortune|Fortune system,
19331166124Srafan	OTbs, am, bw,
19332166124Srafan	cols#80, lines#25,
19333166124Srafan	acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
19334166124Srafan	clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
19335166124Srafan	cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
19336166124Srafan	cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
19337166124Srafan	ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
19338166124Srafan	ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
19339166124Srafan	kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
19340166124Srafan	kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
19341166124Srafan	kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
19342166124Srafan	khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
19343166124Srafan	rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
19344166124Srafan	smso=^\H`, smul=^\HP,
1934550276Speter
1934650276Speter#### Masscomp consoles
1934750276Speter#
1934850276Speter# Masscomp has gone out of business.  Their product line was purchased by
1934950276Speter# comany in Georgia (US) called "XS International", parts and service may
1935050276Speter# still be available through them.
1935150276Speter#
1935250276Speter
1935350276Speter# (masscomp: ":MT:" changed to ":km:";  -- esr)
19354166124Srafanmasscomp|masscomp workstation console,
19355166124Srafan	OTbs, km, mir,
19356166124Srafan	cols#80, it#8, lines#24,
19357166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
19358166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19359166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
19360166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
19361166124Srafan	rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
19362166124Srafanmasscomp1|masscomp large screen version 1,
19363166124Srafan	cols#104, lines#36, use=masscomp,
19364166124Srafanmasscomp2|masscomp large screen version 2,
19365166124Srafan	cols#64, lines#21, use=masscomp,
1936650276Speter
1936750276Speter######## OTHER OBSOLETE TYPES
1936850276Speter#
1936950276Speter# These terminals are *long* dead -- these entries are retained for
1937050276Speter# historical interest only.
1937150276Speter#
1937250276Speter
1937350276Speter#### Obsolete non-ANSI software emulations
1937450276Speter#
1937550276Speter
1937650276Speter# CTRM terminal emulator
19377166124Srafan# 1. underlining is not allowed with colors: first, is is simulated by
1937850276Speter# black on white, second, it disables background color manipulations.
1937950276Speter# 2. BLINKING, REVERSE and BOLD are allowed with colors,
1938050276Speter# so we have to save their status in the static registers A, B and H
1938150276Speter# respectively, to be able to restore them when color changes
1938250276Speter# (because any color change turns off ALL attributes)
1938350276Speter# 3. <bold> and <rev> sequences alternate modes,
19384166124Srafan# rather than simply  entering them.  Thus we have to check the
19385166124Srafan# static register B and H to determine the status, before sending the
1938650276Speter# escape sequence.
1938750276Speter# 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
1938850276Speter# and then reset colors
1938950276Speter# 5. implementation of the protect mode would badly penalize the performance.
1939050276Speter# we would have to use \E&bn sequence to turn off colors (as well as all
1939150276Speter# other attributes), and keep the status of protect mode in yet another
1939250276Speter# static variable.  If someone really needs this mode, they would have to
1939350276Speter# create another terminfo entry.
1939450276Speter# 6. original color-pair is white on black.
1939550276Speter# store the information about colors into static registers
1939650276Speter# 7. set foreground color.  it performs the following steps.
1939750276Speter#   1) turn off all attributes
1939850276Speter#   2) turn on the background and video attributes that have been turned
1939950276Speter#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
1940050276Speter#   3) turn on foreground attributes
1940150276Speter#   4) store information about foreground into U,V,W static registers
1940250276Speter# 8. turn on background: similar to turn on foreground above
19403166124Srafanctrm|C terminal emulator,
19404166124Srafan	am, bce, xon,
19405166124Srafan	colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
19406166124Srafan	pairs#63, pb#19200, vt#6,
19407166124Srafan	bel=^G, blink=\E&dA%{1}%PA,
19408166124Srafan	bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
19409166124Srafan	clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19410166124Srafan	cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
19411166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
19412166124Srafan	il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
19413166124Srafan	kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
19414166124Srafan	kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
19415166124Srafan	kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
19416166124Srafan	op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
19417166124Srafan	rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
19418166124Srafan	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,
19419166124Srafan	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,
19420166124Srafan	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%;,
19421166124Srafan	sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
19422166124Srafan	smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
1942350276Speter
1942450276Speter# gs6300 - can't use blue foreground, it clashes with underline;
1942550276Speter# it's simulated with cyan
1942650276Speter# Bug: The <op> capability probably resets attributes.
1942750276Speter# (gs6300: commented out <rmln> (no <smln>) --esr)
19428166124Srafangs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
19429166124Srafan	am, bce, msgr, xon,
19430166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#63,
19431166124Srafan	acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19432166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
19433166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
19434166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
19435166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
19436166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
19437166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
19438166124Srafan	is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
19439166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
19440166124Srafan	kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
19441166124Srafan	khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
19442166124Srafan	ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
19443166124Srafan	setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
19444166124Srafan	sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
1944550276Speter
1944650276Speter# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
1944750276Speter# MS-Kermit with Heath-19 emulation mode enabled
1944850276Speter# (h19k: changed ":pt@:" to ":it@"
19449166124Srafanh19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
19450166124Srafan	am@, da, db, xt,
19451166124Srafan	it@,
19452166124Srafan	ht@, use=h19-u,
1945350276Speter
1945450276Speter# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
1945550276Speter# Software (formerly Peripherals Computers & Supplies, Inc) of
1945650276Speter# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
1945750276Speter# also be reached at support@synergy.com.
19458166124Srafanversaterm|versaterm vt100 emulator for the macintosh,
19459166124Srafan	am, xenl,
19460166124Srafan	cols#80, it#8, lines#24,
19461166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
19462166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
19463166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
19464166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
19465166124Srafan	dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
19466166124Srafan	el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
19467166124Srafan	il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
19468166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
19469166124Srafan	kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
19470166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
19471166124Srafan	rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
19472166124Srafan	sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
19473166124Srafan	smul=\E[4m$<2/>,
1947450276Speter
1947550276Speter# From: Rick Thomas <ihnp4!btlunix!rbt>
1947650276Speter# (xtalk: I added <rmam>/<smam> based on the init string.
19477166124Srafanxtalk|IBM PC with xtalk communication program (versions up to 3.4),
19478166124Srafan	am, mir, msgr, xon,
19479166124Srafan	cols#80, it#8, lines#24, vt#3, xmc#1,
19480166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19481166124Srafan	bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
19482166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
19483166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
19484166124Srafan	cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
19485166124Srafan	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
19486166124Srafan	il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB,
19487166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
19488166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m\s,
19489166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
19490166124Srafan	smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
19491166124Srafan	tbc=\E[3g, use=vt100+fnkeys,
1949250276Speter
1949350276Speter# The official PC terminal emulator program of the AT&T Product Centers.
1949450276Speter# Note - insert mode commented out - doesn't seem to work on AT&T PC.
19495166124Srafansimterm|attpc running simterm,
19496166124Srafan	am,
19497166124Srafan	cols#80, lines#24,
19498166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
19499166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
19500166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
19501166124Srafan	rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
1950250276Speter
1950350276Speter#### Daisy wheel printers
1950450276Speter#
1950550276Speter# This section collects Diablo, DTC, Xerox, Qume, and other daisy
1950650276Speter# wheel terminals.  These are now largely obsolete.
1950750276Speter#
1950850276Speter
1950950276Speter# (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
19510166124Srafandiablo1620|diablo1720|diablo450|ipsi|diablo 1620,
19511166124Srafan	hc, os,
19512166124Srafan	cols#132, it#8,
19513166124Srafan	cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
19514166124Srafan	ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
19515166124Srafandiablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
19516166124Srafan	cols#124,
19517166124Srafan	is2=\r        \E9, use=diablo1620,
1951850276Speter# (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
19519166124Srafandiablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
19520166124Srafan	bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
19521166124Srafan	use=diablo1620,
19522166124Srafan# (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
1952350276Speter# file -- esr)
19524166124Srafandiablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
19525166124Srafan	cols#124,
19526166124Srafan	rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
19527166124Srafandiablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
19528166124Srafan	use=diablo1640-lm,
1952950276Speter# DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
1953050276Speter# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
19531166124Srafan# The terminal has tabs, but I'm getting tired of fighting the braindamage.
1953250276Speter# If no tab is set or the terminal's in a bad mood, it glitches the screen
1953350276Speter# around all of memory.  Note that return puts a blank ("a return character")
1953450276Speter# in the space the cursor was at, so we use ^P return (and thus ^P newline for
1953550276Speter# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
1953650276Speter# curses won't work (some old BSD versions) because it doesn't clear this bit,
1953750276Speter# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
1953850276Speter# I have been unable to get tabs set in all 96 lines - it always leaves at
1953950276Speter# least one line with no tabs in it, and once you tab through that line,
1954050276Speter# it completely weirds out.
1954150276Speter# (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
19542166124Srafandtc382|DTC 382,
19543166124Srafan	am, da, db, xhp,
19544166124Srafan	cols#80, lines#24, lm#96,
19545166124Srafan	bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
19546166124Srafan	cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
19547166124Srafan	dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
19548166124Srafan	home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
19549166124Srafan	rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
19550166124Srafandtc300s|DTC 300s,
19551166124Srafan	hc, os,
19552166124Srafan	cols#132,
19553166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19554166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
19555166124Srafangsi|mystery gsi terminal,
19556166124Srafan	hc, os,
19557166124Srafan	cols#132,
19558166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
19559166124Srafan	ind=^J,
19560166124Srafanaj830|aj832|aj|anderson jacobson,
19561166124Srafan	hc, os,
19562166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
19563166124Srafan	ind=^J,
1956450276Speter# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
19565166124Srafanaj510|Anderson-Jacobson model 510,
19566166124Srafan	am, mir,
19567166124Srafan	cols#80, lines#24,
19568166124Srafan	clear=^L, cub1=^H, cuf1=\EX,
19569166124Srafan	cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
19570166124Srafan	dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
19571166124Srafan	il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
19572166124Srafan	kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
19573166124Srafan	rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
19574166124Srafan	smul=\E"U,
1957550276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1957650276Speter# This is incomplete, but it's a start.
19577166124Srafannec5520|nec|spinwriter|nec 5520,
19578166124Srafan	hc, os,
19579166124Srafan	cols#132, it#8,
19580166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
19581166124Srafan	hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
19582166124Srafan	kbs=^H, tbc=\E3,
19583166124Srafanqume5|qume|Qume Sprint 5,
19584166124Srafan	hc, os,
19585166124Srafan	cols#80, it#8,
19586166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19587166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
1958850276Speter# I suspect the xerox 1720 is the same as the diablo 1620.
19589166124Srafanxerox1720|x1720|x1750|xerox 1720,
19590166124Srafan	hc, os,
19591166124Srafan	cols#132, it#8,
19592166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
19593166124Srafan	tbc=\E2,
1959450276Speter
1959550276Speter#### Miscellaneous obsolete terminals, manufacturers unknown
1959650276Speter#
19597166124Srafan# If you have any information about these (like, a manufacturer's name,
1959850276Speter# and a date on the serial-number plate) please send it!
1959950276Speter
19600166124Srafancad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
19601166124Srafan	OTbs, am,
19602166124Srafan	cols#73, lines#36,
19603166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
19604166124Srafancad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
19605166124Srafan	OTbs, am,
19606166124Srafan	cols#85, lines#39,
19607166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
19608166124Srafan	kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
19609166124Srafan	kf4=\E8, rmso=\Em^C, smso=\Em^L,
19610166124Srafancops10|cops|cops-10|cops 10,
19611166124Srafan	am, bw,
19612166124Srafan	cols#80, lines#24,
19613166124Srafan	bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19614166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
19615166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
19616166124Srafan	khome=^Y,
1961750276Speter# (d132: removed duplicate :ic=\E5:,
1961850276Speter# merged in capabilities from a BRL entry -- esr)
19619166124Srafand132|datagraphix|datagraphix 132a,
19620166124Srafan	da, db, in,
19621166124Srafan	cols#80, lines#30,
19622166124Srafan	bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
19623166124Srafan	cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
19624166124Srafan	dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
19625166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1962650276Speter# The d800 was an early portable terminal from c.1984-85 that looked a lot
1962750276Speter# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
1962850276Speter# mode (which is what this entry looks like) and several other lesser-known
1962950276Speter# emulations.
19630166124Srafand800|Direct 800/A,
19631166124Srafan	OTbs, am, da, db, msgr, xhp,
19632166124Srafan	cols#80, it#8, lines#24,
19633166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
19634166124Srafan	bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
19635166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
19636166124Srafan	cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
19637166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
19638166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
19639166124Srafan	ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19640166124Srafan	smacs=\E[1m, smso=\E[7m, smul=\E[4m,
19641166124Srafandigilog|digilog 333,
19642166124Srafan	OTbs,
19643166124Srafan	cols#80, lines#16,
19644166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
19645166124Srafan	home=^N, ind=^J,
1964650276Speter# The DWK was a terminal manufactured in the Soviet Union c.1986
19647166124Srafandwk|dwk-vt|dwk terminal,
19648166124Srafan	am,
19649166124Srafan	cols#80, it#8, lines#24,
19650166124Srafan	acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
19651166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19652166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
19653166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
19654166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
19655166124Srafan	kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
19656166124Srafan	kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
19657166124Srafan	kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
19658166124Srafan	sgr0=\EX, smacs=\EF, smso=\ET,
19659166124Srafanenv230|envision230|envision 230 graphics terminal,
19660166124Srafan	xenl@,
19661166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
19662166124Srafan	sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
19663166124Srafan	use=vt100,
1966450276Speter# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
1966550276Speter# coupler attached, the whole rig fitting in a suitcase and more or less
1966650276Speter# portable.  Hot stuff for c.1977 :-) -- esr
19667166124Srafanep48|ep4080|execuport 4080,
19668166124Srafan	OTbs, am, os,
19669166124Srafan	cols#80,
19670166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
19671166124Srafanep40|ep4000|execuport 4000,
19672166124Srafan	cols#136, use=ep4080,
1967362449Speter# Adam Thompson <athompso@pangea.ca> tells us:
1967450276Speter# Informer series - these are all portable units, resembling older
1967550276Speter# automatic bread-baking machines.  The terminal looks like a `clamshell'
1967650276Speter# design, but isn't.  The structure is similar to the Direct terminals,
1967750276Speter# but only half the width.  The entire unit is only about 10" wide.
1967850276Speter# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
1967950276Speter# keyboard.  All the keys are crammed together, much like some laptop
1968050276Speter# PCs today, but perhaps less well organized...all these units have a
1968150276Speter# bewildering array of plugs on the back, including a built-in modem.
1968250276Speter# The 305 was a color version of the 304; the 306 and 307 were mono and
1968350276Speter# color terminals built for IBM bisync protocols.
1968450276Speter# From: Paul Leondis <unllab@amber.berkeley.edu>
19685166124Srafanifmr|Informer D304,
19686166124Srafan	OTbs, am,
19687166124Srafan	cols#80, lines#24,
19688166124Srafan	clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
19689166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
19690166124Srafan	ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
19691166124Srafan	smso=\EJ,
1969250276Speter# Entry largely based on wy60 and has the features of wy60ak.
19693166124Srafanopus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
19694166124Srafan	am, bw, hs, km, mir, msgr, ul, xon,
19695166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
19696166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
19697166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
19698166124Srafan	cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
19699166124Srafan	dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
19700166124Srafan	ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
19701166124Srafan	hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
19702166124Srafan	ip=$<3>,
19703166124Srafan	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,
19704166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
19705166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
19706166124Srafan	kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
19707166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
19708166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
19709166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
19710166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
19711166124Srafan	mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
19712166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
19713166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
19714166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
19715166124Srafan	rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
19716166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
19717166124Srafan	rs3=\EwG\Ee($<150>,
19718166124Srafan	sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c,
19719166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
19720166124Srafan	smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
19721166124Srafan	smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
19722166124Srafan	uc=\EG8\EG0, use=adm+sgr,
19723166124Srafanteletec|Teletec Datascreen,
19724166124Srafan	OTbs, am,
19725166124Srafan	cols#80, lines#24,
19726166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
19727166124Srafan	home=^^, ind=^J,
1972850276Speter# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
1972950276Speter# This description is for the LANPAR Technologies VISION 3220
1973050276Speter# terminal from 1984/85.  The function key definitions k0-k5 represent the
1973150276Speter# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
1973250276Speter# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1973362449Speter#
1973462449Speter# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
1973562449Speter# I had a couple of scopes (3221) like this once where I used to work, around
19736166124Srafan# the 1987 time frame if memory serves me correctly.  These scopes were made
1973762449Speter# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
1973862449Speter# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
1973962449Speter# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
1974062449Speter# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
1974162449Speter# (3221) cost about $1500 each, and one was always broken -- had to be sent
1974262449Speter# back to the shop for repairs.
1974362449Speter# The only real advantage these scopes had over the VT-240's were:
1974462449Speter# 1) They were faster in the Regis display, or at least the ones I did
1974562449Speter# 2) They had a handy debugging feature where you could split-screen the
1974662449Speter# scope, the graphics would appear on the top, and the REGIS commands would
1974762449Speter# appear on the bottom.  I don't remember the VT-240s being able to do that.
1974862449Speter# I would swear that LANPAR Technologies was in MA someplace, but since I
1974962449Speter# don't work at the same place anymore, and those terminals and manuals were
1975062449Speter# long since junked, I cannot be any more sure than that.
1975162449Speter#
1975250276Speter# (v3220: removed obsolete ":kn#10:",
1975350276Speter# I added <rmam>/<smam> based on the init string -- esr)
19754166124Srafanv3220|LANPAR Vision II model 3220/3221/3222,
19755166124Srafan	OTbs, am, mir, xenl,
19756166124Srafan	cols#80, it#8, lines#24,
19757166124Srafan	clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
19758166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19759166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
19760166124Srafan	is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
19761166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
19762166124Srafan	kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
19763166124Srafan	kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
19764166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19765166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1976650276Speter######## ICH/ICH1 VERSUS RMIR/SMIR
1976750276Speter#
1976850276Speter# Some non-curses applications get confused if both ich/ich1 and rmir/smir
1976950276Speter# are present; the symptom is doubled characters in an update using insert.
1977050276Speter# These applications are technically correct; in both 4.3BSD termcap and
1977150276Speter# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
1977250276Speter# unless the terminal needs both.  To my knowledge, no terminal still in this
1977350276Speter# file requires both other than the very obsolete dm2500.
1977450276Speter#
1977550276Speter# For ncurses-based applications this is not a problem, as ncurses uses
1977650276Speter# one or the other as appropriate but never mixes the two.  Therefore we
1977750276Speter# have not corrected entries like `linux' and `xterm' that specify both.
1977850276Speter# If you see doubled characters from these, use the linux-nic and xterm-nic
1977950276Speter# entries that suppress ich/ich1.  And upgrade to ncurses!
1978050276Speter#
1978150276Speter
1978250276Speter######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1978350276Speter#
1978450276Speter# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
1978550276Speter# ECMA-48 standards are said to be almost identical, but are not the same
1978650276Speter# as X3.64 (though for practical purposes they are close supersets of it).
1978750276Speter#
1978850276Speter# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
1978950276Speter# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
1979050276Speter# Coded Character Sets"), include your snail-mail address, and you should
1979150276Speter# receive the document in due course.  Don't expect an email acknowledgement.
1979250276Speter#
1979350276Speter# Related standards include "X3.4-1977: American National Standard Code for
19794166124Srafan# Information Interchange" (the ASCII standard) and "X3.41.1974:
1979550276Speter# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1979650276Speter# American National Standard for Information Interchange."  I believe (but
1979750276Speter# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
19798166124Srafan# respectively.
1979950276Speter#
1980050276Speter
1980150276Speter#### VT100/ANSI/ECMA-48
1980250276Speter#
1980350276Speter# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1980450276Speter# and ECMA-48 Control Functions for Coded Character Sets.
19805166124Srafan#
1980650276Speter# Much of the content of this comment is adapted from a table prepared by
1980750276Speter# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
1980850276Speter# discussion of some terminfo-related issues, and updates to capture ECMA-48
1980950276Speter# have been added.  Control functions described in ECMA-48 only are tagged
1981050276Speter# with * after their names.
1981150276Speter#
1981250276Speter# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
1981350276Speter# sequences.  In the main table, \E stands for an escape (\033) character,
1981450276Speter# SPC for space.  Pn stands for a single numeric parameter to be inserted
1981550276Speter# in decimal ASCII.  Ps stands for a list of such parameters separated by
1981650276Speter# semicolons.  Parameter meanings for most parametrized sequences are
1981750276Speter# decribed in the notes.
1981850276Speter#
1981950276Speter# Sequence     Sequence                             Parameter   or
1982050276Speter# Mnemonic     Name              Sequence           Value      Mode   terminfo
1982150276Speter# -----------------------------------------------------------------------------
1982250276Speter# APC  Applicatn Program Command \E _                -         Delim  -
1982350276Speter# BEL  Bell *                    ^G                  -         -      bel
1982450276Speter# BPH  Break Permitted Here *    \E B                -         *      -
1982550276Speter# BS   Backpace *                ^H                  -         EF     -
1982650276Speter# CAN  Cancel *                  ^X                  -         -      -   (A)
1982750276Speter# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
1982850276Speter# CCH  Cancel Previous Character \E T                -         -      -
1982950276Speter# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
1983050276Speter# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
1983150276Speter# CMD  Coding Method Delimiter * \E
1983250276Speter# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1983350276Speter# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1983450276Speter# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1983550276Speter# CSI  Control Sequence Intro    \E [                -         Intro  -
1983650276Speter# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1983750276Speter# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
1983850276Speter# CUD  Cursor Down               \E [ Pn B           1         eF     cud
1983950276Speter# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1984050276Speter# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1984150276Speter# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1984250276Speter# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1984350276Speter# DA   Device Attributes         \E [ Pn c           0         -      -
1984450276Speter# DAQ  Define Area Qualification \E [ Ps o           0         -      -
1984550276Speter# DCH  Delete Character          \E [ Pn P           1         eF     dch
1984650276Speter# DCS  Device Control String     \E P                -         Delim  -
1984750276Speter# DL   Delete Line               \E [ Pn M           1         eF     dl
1984850276Speter# DLE  Data Link Escape *        ^P                  -         -      -
1984950276Speter# DMI  Disable Manual Input      \E \                -         Fs     -
1985050276Speter# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
1985150276Speter# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
1985250276Speter# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1985350276Speter# ECH  Erase Character           \E [ Pn X           1         eF     ech
1985450276Speter# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1985550276Speter# EF   Erase in Field            \E [ Ps N           0         eF     -
1985650276Speter# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1985750276Speter# EM   End of Medium *           ^Y                  -         -      -
1985850276Speter# EMI  Enable Manual Input       \E b                          Fs     -
1985950276Speter# ENQ  Enquire                   ^E                  -         -      -
1986050276Speter# EOT  End Of Transmission       ^D                  -         *      -
1986150276Speter# EPA  End of Protected Area     \E W                -         -      -   (K)
1986250276Speter# ESA  End of Selected Area      \E G                -         -      -
1986350276Speter# ESC  Escape                    ^[                  -         -      -
1986450276Speter# ETB  End Transmission Block    ^W                  -         -      -
1986550276Speter# ETX  End of Text               ^C                  -         -      -
1986650276Speter# FF   Form Feed                 ^L                  -         -      -
1986750276Speter# FNK  Function Key *            \E [ Pn SPC W       -         -      -
1986850276Speter# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1986950276Speter# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1987050276Speter# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1987150276Speter# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1987250276Speter# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
1987350276Speter# HPB  Char Position Backward    \E [ j              1         FE     -
1987450276Speter# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
1987550276Speter# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
1987650276Speter# HTJ  Horz Tab w/Justification  \E I                -         FE     -
1987750276Speter# HTS  Horizontal Tab Set        \E H                -         FE     hts
1987850276Speter# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1987950276Speter# ICH  Insert Character          \E [ Pn @           1         eF     ich
1988050276Speter# IDCS ID Device Control String  \E [ SPC O          -         *      -
1988150276Speter# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1988250276Speter# IL   Insert Line               \E [ Pn L           1         eF     il
1988350276Speter# IND  Index                     \E D                -         FE     -
1988450276Speter# INT  Interrupt                 \E a                -         Fs     -
1988550276Speter# JFY  Justify                   \E [ Ps SPC F       0         FE     -
1988650276Speter# IS1  Info Separator #1 *       ^_                  -         *      -
1988750276Speter# IS2  Info Separator #1 *       ^^                  -         *      -
1988850276Speter# IS3  Info Separator #1 *       ^]                  -         *      -
1988950276Speter# IS4  Info Separator #1 *       ^\                  -         *      -
1989050276Speter# LF   Line Feed                 ^J                  -         -      -
1989150276Speter# LS1R Locking Shift Right 1 *   \E ~                -         -      -
1989250276Speter# LS2  Locking Shift 2 *         \E n                -         -      -
1989350276Speter# LS2R Locking Shift Right 2 *   \E }                -         -      -
1989450276Speter# LS3  Locking Shift 3 *         \E o                -         -      -
1989550276Speter# LS3R Locking Shift Right 3 *   \E |                -         -      -
1989650276Speter# MC   Media Copy                \E [ Ps i           0         -      -   (S)
1989750276Speter# MW   Message Waiting           \E U                -         -      -
1989850276Speter# NAK  Negative Acknowledge *    ^U                  -         *      -
1989950276Speter# NBH  No Break Here *           \E C                -         -      -
1990050276Speter# NEL  Next Line                 \E E                -         FE     nel (D)
1990150276Speter# NP   Next Page                 \E [ Pn U           1         eF     -
1990250276Speter# NUL  Null *                    ^@                  -         -      -
1990350276Speter# OSC  Operating System Command  \E ]                -         Delim  -
1990450276Speter# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
1990550276Speter# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
1990650276Speter# PLD  Partial Line Down         \E K                -         FE     -   (T)
1990750276Speter# PLU  Partial Line Up           \E L                -         FE     -   (U)
1990850276Speter# PM   Privacy Message           \E ^                -         Delim  -
1990950276Speter# PP   Preceding Page            \E [ Pn V           1         eF     -
1991050276Speter# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
1991150276Speter# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
1991250276Speter# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
1991350276Speter# PTX  Parallel Texts *          \E [ \              -         -      -
1991450276Speter# PU1  Private Use 1             \E Q                -         -      -
1991550276Speter# PU2  Private Use 2             \E R                -         -      -
1991650276Speter# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
1991750276Speter# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1991850276Speter# RI   Reverse Index             \E M                -         FE     -   (V)
1991950276Speter# RIS  Reset to Initial State    \E c                -         Fs     -
1992050276Speter# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
1992150276Speter# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
1992250276Speter# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
1992350276Speter# SCI  Single-Char Introducer    \E Z                -         -      -
1992450276Speter# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
1992550276Speter# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1992650276Speter# SD   Scroll Down               \E [ Pn T           1         eF     rin
1992750276Speter# SDS  Start Directed String *   \E [ Pn ]           1         -      -
1992850276Speter# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
1992950276Speter# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1993050276Speter# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1993150276Speter# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1993250276Speter# SI   Shift In                  ^O                  -         -      -   (P)
1993350276Speter# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1993450276Speter# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1993550276Speter# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
1993650276Speter# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
1993750276Speter# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
1993850276Speter# SM   Select Mode               \E [ Ps h           none      -      -   (W)
1993950276Speter# SO   Shift Out                 ^N                  -         -      -   (Q)
1994050276Speter# SOH  Start Of Heading *        ^A                  -         -      -
1994150276Speter# SOS  Start of String *         \E X                -         -      -
1994250276Speter# SPA  Start of Protected Area   \E V                -         -      -   (Z)
1994350276Speter# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
1994450276Speter# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1994550276Speter# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1994650276Speter# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
1994750276Speter# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1994850276Speter# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1994950276Speter# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
1995050276Speter# SRS  Start Reversed String *   \E [ Ps [           0         -      -
1995150276Speter# SSA  Start of Selected Area    \E F                -         -      -
1995250276Speter# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
1995350276Speter# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1995450276Speter# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
1995550276Speter# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
1995650276Speter# ST   String Terminator         \E \                -         Delim  -
1995750276Speter# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1995850276Speter# STS  Set Transmit State        \E S                -         -      -
1995950276Speter# STX  Start pf Text *           ^B                  -         -      -
1996050276Speter# SU   Scroll Up                 \E [ Pn S           1         eF     indn
1996150276Speter# SUB  Substitute *              ^Z                  -         -      -
1996250276Speter# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
1996350276Speter# SYN  Synchronous Idle *        ^F                  -         -      -
1996450276Speter# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
1996550276Speter# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
1996650276Speter# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1996750276Speter# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1996850276Speter# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
1996950276Speter# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1997050276Speter# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1997150276Speter# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
1997250276Speter# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
1997350276Speter# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
1997450276Speter# VT   Vertical Tabulation *     ^K                  -         FE     -
1997550276Speter# VTS  Vertical Tabulation Set   \E J                -         FE     -
19976166124Srafan#
1997750276Speter# ---------------------------------------------------------------------------
1997850276Speter#
1997950276Speter# Notes:
1998050276Speter#
19981166124Srafan# Some control characters are listed in the ECMA-48 standard without
19982166124Srafan# being assigned functions relevant to terminal control there (they
1998350276Speter# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
1998450276Speter# here anyway for completeness.
1998550276Speter#
1998650276Speter# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1998750276Speter#
1998850276Speter# (B) There seems to be some confusion abroad between CHA and HPA.  Most
1998950276Speter# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
1999050276Speter# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
1999150276Speter# preserved the CHA abbreviation.
1999250276Speter#
1999350276Speter# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
1999450276Speter# Occasionally (as on, for example, certain HP terminals) this has the HTJ
1999550276Speter# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
1999650276Speter# CHT abbreviation.
1999750276Speter#
1999850276Speter# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
1999950276Speter#
20000166124Srafan# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
2000150276Speter# abbreviation.
20002166124Srafan#
2000350276Speter# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
20004166124Srafan# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
2000550276Speter# 5 = clear all char tabs, 6 = clear all line tabs.
2000650276Speter#
2000750276Speter# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
2000850276Speter# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
2000950276Speter# Position Absolute" but retains the HVP abbreviation.
2001050276Speter#
2001150276Speter# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
2001250276Speter# abbreviation.
2001350276Speter#
2001450276Speter# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
2001550276Speter# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
2001650276Speter# DSR, 6 = request CPR response.
2001750276Speter#
2001850276Speter# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
2001950276Speter# 1 = clear from beginning, 2 = clear.
20020166124Srafan#
2002150276Speter# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
2002250276Speter#
2002350276Speter# (L) The GSM parameters are vertical and horizontal parameters to scale by.
2002450276Speter#
2002550276Speter# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
2002650276Speter# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
2002750276Speter# Position Relative" but retains the HPR abbreviation.
2002850276Speter#
2002950276Speter# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
2003050276Speter# abbreviation.
2003150276Speter#
2003250276Speter# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
2003350276Speter# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
2003450276Speter# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
2003550276Speter# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
2003650276Speter# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
2003750276Speter# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
2003850276Speter# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
2003950276Speter# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
2004050276Speter# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
2004150276Speter# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
2004250276Speter# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
2004350276Speter# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
2004450276Speter# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
2004550276Speter# 61-65 = variable highlights for ideograms.
2004650276Speter#
2004750276Speter# (P) SI is also called LSO, Locking Shift Zero.
2004850276Speter#
2004950276Speter# (Q) SI is also called LS1, Locking Shift One.
2005050276Speter#
2005150276Speter# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
2005250276Speter# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
2005350276Speter# Absolute' but retains the VPA abbreviation.
2005450276Speter#
2005550276Speter# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
2005650276Speter# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
20057166124Srafan# from secondary aux device, 4 = stop relay to primary aux device, 5 =
2005850276Speter# start relay to primary aux device, 6 = stop relay to secondary aux device,
2005950276Speter# 7 = start relay to secondary aux device.
2006050276Speter#
2006150276Speter# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
2006250276Speter# abbreviation.
2006350276Speter#
20064166124Srafan# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
2006550276Speter# abbreviation.
2006650276Speter#
2006750276Speter# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
2006850276Speter#
20069166124Srafan# (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
20070166124Srafan# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
2007150276Speter# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
2007250276Speter# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
20073166124Srafan# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
2007450276Speter# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
20075166124Srafan# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
2007650276Speter# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
2007750276Speter# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
2007850276Speter# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
2007950276Speter# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
2008050276Speter# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
2008150276Speter# from ECMA-48's 5th edition but are listed here for reference.
2008250276Speter#
2008350276Speter# (X) Select Alternate Presentation Variants is used only for non-Latin
2008450276Speter# alphabets.
2008550276Speter#
2008650276Speter# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
2008750276Speter#
2008850276Speter# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
2008950276Speter# abbreviation.
2009050276Speter#
2009150276Speter# ---------------------------------------------------------------------------
20092166124Srafan#
2009350276Speter# Abbreviations:
2009450276Speter#
2009550276Speter# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
2009650276Speter#        X3.64 Control Sequence Introducer is the two characters "Escape ["
20097166124Srafan#
2009850276Speter# Delim  a Delimiter
20099166124Srafan#
2010050276Speter# x/y    identifies a character by position in the ASCII table (column/row)
20101166124Srafan#
2010250276Speter# eF     editor function (see explanation)
20103166124Srafan#
2010450276Speter# FE     format effector (see explanation)
2010550276Speter#
2010650276Speter# F      is a Final character in
2010750276Speter#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
2010850276Speter#             a control sequence (F from 4/0 to 7/14)
20109166124Srafan#
2011050276Speter# Gs     is a graphic character appearing in strings (Gs ranges from
2011150276Speter#        2/0 to 7/14) in the ASCII table
20112166124Srafan#
2011350276Speter# Ce     is a control represented as a single bit combination in the C1 set
2011450276Speter#        of controls in an 8-bit character set
20115166124Srafan#
2011650276Speter# C0     the familiar set of 7-bit ASCII control characters
20117166124Srafan#
2011850276Speter# C1     roughly, the set of control chars available only in 8-bit systems.
2011950276Speter#        This is too complicated to explain fully here, so read Jim Fleming's
2012050276Speter#        article in the February 1983 BYTE, especially pages 214 through 224.
20121166124Srafan#
2012250276Speter# Fe     is a Final character of a 2-character Escape sequence that has an
2012350276Speter#        equivalent representation in an 8-bit environment as a Ce-type
2012450276Speter#        (Fe ranges from 4/0 to 5/15)
20125166124Srafan#
2012650276Speter# Fs     is a Final character of a 2-character Escape sequence that is
2012750276Speter#        standardized internationally with identical representation in 7-bit
2012850276Speter#        and 8-bit environments and is independent of the currently
2012950276Speter#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
20130166124Srafan#
2013150276Speter# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
2013250276Speter#        ASCII table
20133166124Srafan#
2013450276Speter# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
2013550276Speter#        table
20136166124Srafan#
2013750276Speter# Pn     is a numeric parameter in a control sequence, a string of zero or
2013850276Speter#        more characters ranging from 3/0 to 3/9 in the ASCII table
20139166124Srafan#
2014050276Speter# Ps     is a variable number of selective parameters in a control sequence
2014150276Speter#        with each selective parameter separated from the other by the code
2014250276Speter#        3/11 (which usually represents a semicolon); Ps ranges from
2014350276Speter#        3/0 to 3/9 and includes 3/11
2014450276Speter#
2014550276Speter# *      Not relevant to terminal control, listed for completeness only.
20146166124Srafan#
2014750276Speter# Format Effectors versus Editor Functions
20148166124Srafan#
2014950276Speter# A format effector specifies how following output is to be displayed.
2015050276Speter# An editor function allows you to modify the display.  Informally
2015150276Speter# format effectors may be destructive; format effectors should not be.
20152166124Srafan#
20153166124Srafan# For instance, a format effector that moves the "active position" (the
2015450276Speter# cursor or equivalent) one space to the left would be useful when you want to
2015550276Speter# create an overstrike, a compound character made of two standard characters
2015650276Speter# overlaid. Control-H, the Backspace character, is actually supposed to be a
2015750276Speter# format effector, so you can do this. But many systems use it in a
2015850276Speter# nonstandard fashion, as an editor function, deleting the character to the
2015950276Speter# left of the cursor and moving the cursor left. When Control-H is assumed to
2016050276Speter# be an editor function, you cannot predict whether its use will create an
2016150276Speter# overstrike unless you also know whether the output device is in an "insert
2016250276Speter# mode" or an "overwrite mode". When Control-H is used as a format effector,
2016350276Speter# its effect can always be predicted. The familiar characters carriage
2016450276Speter# return, linefeed, formfeed, etc., are defined as format effectors.
2016550276Speter#
2016650276Speter# NOTES ON THE DEC VT100 IMPLEMENTATION
20167166124Srafan#
2016850276Speter# Control sequences implemented in the VT100 are as follows:
20169166124Srafan#
2017050276Speter#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
2017150276Speter#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
20172166124Srafan#
2017350276Speter# plus several private DEC commands.
20174166124Srafan#
2017550276Speter# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
20176166124Srafan#
2017750276Speter#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
2017850276Speter#      Erase from beginning of line to cursor     Esc [ 1 K
2017950276Speter#      Erase line containing cursor               Esc [ 2 K
2018050276Speter#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
2018150276Speter#      Erase from beginning of screen to cursor   Esc [ 1 J
2018250276Speter#      Erase entire screen                        Esc [ 2 J
2018350276Speter#
2018450276Speter# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
2018550276Speter# Esc [ 2 J, but this is wrong; the default is 0.
20186166124Srafan#
2018750276Speter# The VT100 responds to receiving the DA (Device Attributes) control
20188166124Srafan#
2018950276Speter#      Esc [ c    (or Esc [ 0 c)
20190166124Srafan#
2019150276Speter# by transmitting the sequence
20192166124Srafan#
2019350276Speter#      Esc [ ? l ; Ps c
20194166124Srafan#
2019550276Speter# where Ps is a character that describes installed options.
20196166124Srafan#
2019750276Speter# The VT100's cursor location can be read with the DSR (Device Status
2019850276Speter# Report) control
20199166124Srafan#
2020050276Speter#      Esc [ 6 n
20201166124Srafan#
2020250276Speter# The VT100 reports by transmitting the CPR sequence
20203166124Srafan#
2020450276Speter#      Esc [ Pl ; Pc R
20205166124Srafan#
2020650276Speter# where Pl is the line number and Pc is the column number (in decimal).
20207166124Srafan#
2020850276Speter# The specification for the DEC VT100 is document EK-VT100-UG-003.
2020950276Speter
2021050276Speter#### ANSI.SYS
20211166124Srafan#
2021250276Speter# Here is a description of the color and attribute controls supported in the
2021350276Speter# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
2021450276Speter# terminal emulators for Intel boxes obey these.  They are a proper subset
2021550276Speter# of the ECMA-48 escapes.
2021650276Speter#
2021750276Speter# 0	all attributes off
2021850276Speter# 1	foreground bright
2021950276Speter# 4	underscore on
2022050276Speter# 5	blink on/background bright (not reliable with brown)
2022150276Speter# 7	reverse-video
2022250276Speter# 8	set blank (non-display)
2022350276Speter# 10	set primary font
2022450276Speter# 11	set first alternate font (on PCs, display ROM characters 1-31)
2022550276Speter# 12	set second alternate font (on PCs, display IBM high-half chars)
2022650276Speter#
2022750276Speter#			Color attribute sets
2022850276Speter# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
2022950276Speter# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
2023050276Speter# Bright black becomes gray.  Bright brown becomes yellow,
2023150276Speter# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
2023250276Speter#
2023350276Speter# * If the 5 attribute is on and you set a background color (40-47) it is
2023450276Speter#   supposed to enable bright background.
2023550276Speter#
2023650276Speter# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
2023750276Speter#   when you try to set a "bright brown" (yellow) background with attribute
2023850276Speter#   5 (you get a blinking yellow foreground instead).  A few displays
2023950276Speter#   (including the System V console) support an attribute 6 that undoes this
2024050276Speter#   braindamage (this is required by iBCS2).
2024150276Speter#
2024250276Speter# * Some older versions of ANSI.SYS have a bug that causes thems to require
2024350276Speter#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
2024450276Speter#   compatible.)
2024550276Speter
2024650276Speter#### Intel Binary Compatibility Standard
2024750276Speter#
20248166124Srafan# For comparison, here are the capabilities implied by the Intel Binary
2024950276Speter# Compatibility Standard for UNIX systems (Intel order number 468366-001).
2025050276Speter# These recommendations are optional.  IBCS2 allows the leading escape to
2025150276Speter# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
2025250276Speter# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
2025350276Speter# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
2025450276Speter# terminfo entry are followed with the corresponding capability in parens:
2025550276Speter#
2025650276Speter#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
2025750276Speter#	CSI 2h   		lock keyboard
2025850276Speter#	CSI 2i  		send screen as input
2025950276Speter#	CSI 2l  		unlock keyboard
2026050276Speter#	CSI 6m  		enable background color intensity
2026150276Speter#	CSI <0-2>c		reserved
2026250276Speter#	CSI <0-59>m		select graphic rendition
2026350276Speter#	CSI <n>;<m>H	(cup)	cursor to line n and column m
2026450276Speter#	CSI <n>;<m>f		cursor to line n and column m
2026550276Speter#	CSI <n>@	(ich)	insert characters
2026650276Speter#	CSI <n>A	(cuu)	cursor up n lines
2026750276Speter#	CSI <n>B	(cud)	cursor down n lines
2026850276Speter#	CSI <n>C	(cuu)	cursor right n characters
2026950276Speter#	CSI <n>D	(cud)	cursor left n characters
2027050276Speter#	CSI <n>E		cursor down n lines and in first column
2027150276Speter#	CSI <n>F		cursor up n lines and in first column
2027250276Speter#	CSI <n>G	(hpa)	position cursor at column n-1
2027350276Speter#	CSI <n>J	(ed)	erase in display
2027450276Speter#	CSI <n>K	(el)	erase in line
2027550276Speter#	CSI <n>L	(il)	insert line(s)
2027650276Speter#	CSI <n>P	(dch)	delete characters
2027750276Speter#	CSI <n>S	(indn)	scroll up n lines
2027850276Speter#	CSI <n>T	(rin)	scroll down n lines
2027950276Speter#	CSI <n>X	(ech)	erase characters
2028050276Speter#	CSI <n>Z	(cbt)	back up n tab stops
2028150276Speter#	CSI <n>`		cursor to column n on line
2028250276Speter#	CSI <n>a	(cuu)	cursor right n characters
2028350276Speter#	CSI <n>d	(vpa)	cursor to line n
2028450276Speter#	CSI <n>e		cursor down n lines and in first column
2028550276Speter#	CSI <n>g	(cbt)	clear all tabs
2028650276Speter#	CSI <n>z		make virtual terminal n active
2028750276Speter#	CSI ?7h 	(smam)	turn automargin on
2028850276Speter#	CSI ?7l 	(rmam)	turn automargin off
2028950276Speter#	CSI s     		save cursor position
2029050276Speter#	CSI u   		restore cursor position to saved value
2029150276Speter#	CSI =<c>A		set overscan color
2029250276Speter#	CSI =<c>F		set normal foreground color
2029350276Speter#	CSI =<c>G		set normal background color
2029450276Speter#	CSI =<c>H		set reverse foreground color
2029550276Speter#	CSI =<c>I		set reverse foreground color
2029650276Speter#	CSI =<c>J		set graphic foreground color
2029750276Speter#	CSI =<c>K		set graphic foreground color
2029850276Speter#	CSI =<n>g	(dispc) display n from alternate graphics character set
2029950276Speter#	CSI =<p>;<d>B		set bell parameters
2030050276Speter#	CSI =<s>;<e>C		set cursor parameters
2030150276Speter#	CSI =<x>D		enable/disable intensity of background color
2030250276Speter#	CSI =<x>E		set/clear blink vs. bold background
2030350276Speter#	CSI 7     	(sc)	(sc) save cursor position
2030450276Speter#	CSI 8   	(rc)	(rc) restore cursor position to saved value
2030550276Speter#	CSI H		(hts)	(hts) set tab stop
2030650276Speter#	CSI Q<n><string>	define function key string
2030750276Speter#				(string must begin and end with delimiter char)
2030850276Speter#	CSI c   	(clear) clear screen
2030950276Speter#
2031050276Speter# The lack of any specification for attributes in SGR (among other things)
20311166124Srafan# makes this a wretchedly weak standard. The table above is literally
2031250276Speter# everything iBSC2 has to say about terminal escape sequences; there is
2031350276Speter# no further discussion of their meaning or how to set the parameters
2031450276Speter# in these sequences at all.
2031550276Speter#
2031650276Speter
2031750276Speter######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
2031850276Speter#
2031950276Speter# The historical termcap file entries were written primarily in 4.4BSD termcap.
2032050276Speter# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
2032150276Speter# with the extension names chosen for compatibility with the termcap names
2032250276Speter# assigned in System V terminfo.  There are some variant extension sets out
2032350276Speter# there.  We try to describe them here.
2032450276Speter#
2032550276Speter# XENIX extensions:
2032650276Speter#
2032750276Speter# The XENIX extensions include a set of function-key capabilities as follows:
2032850276Speter#
2032950276Speter#       code	XENIX variable name	terminfo name	name clashes?
2033050276Speter#	----	-------------------	-------------	-----------------------
2033150276Speter#	CL	key_char_left
2033250276Speter#	CR	key_char_right
2033350276Speter#	CW	key_change_window			create_window
2033450276Speter#	EN	key_end          	kend
2033550276Speter#	HM	key_home		khome
2033650276Speter#	HP	??
2033750276Speter#	LD	key_delete_line  	kdl1
2033850276Speter#	LF	key_linefeed     			label_off
2033950276Speter#	NU	key_next_unlocked_cell
2034050276Speter#	PD	key_page_down   	knp
2034150276Speter#	PL	??
2034250276Speter#	PN	start_print		mc5
2034350276Speter#	PR	??
2034450276Speter#	PS	stop_print		mc4
2034550276Speter#	PU	key_page_up     	kpp		pulse
2034650276Speter#	RC	key_recalc				remove_clock
2034750276Speter#	RF	key_toggle_ref				req_for_input
2034850276Speter#	RT	key_return      	kent
2034950276Speter#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
2035050276Speter#	WL	key_word_left
2035150276Speter#	WR	key_word_right
2035250276Speter#
2035350276Speter# The XENIX extensions also include the following character-set and highlight
2035450276Speter# capabilities:
2035550276Speter#
2035650276Speter#	XENIX	terminfo	function
2035750276Speter#	-----	--------	------------------------------
2035850276Speter#	GS	smacs		start alternate character set
2035950276Speter#	GE	rmacs		end alternate character set
2036050276Speter#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
2036150276Speter#	bo	blink		begin blink (not used in /etc/termcap)
2036250276Speter#	be			end blink (not used in /etc/termcap)
2036350276Speter#	bb			blink glitch  (not used in /etc/termcap)
2036450276Speter#	it	dim		begin dim (not used in /etc/termcap)
2036550276Speter#	ie			end dim (not used in /etc/termcap)
2036650276Speter#	ig			dim glitch  (not used in /etc/termcap)
2036750276Speter#
2036850276Speter# Finally, XENIX also used the following forms-drawing capabilities:
2036950276Speter#
20370166124Srafan#	single	double  type             ASCII approximation
2037150276Speter#	------	------	-------------    -------------------
2037250276Speter#	GV	Gv	vertical line             |
2037350276Speter#	GH	Gv	horizontal line       -   _
2037450276Speter#	G1	G5	top right corner       _   |
20375166124Srafan#	G2	G6	top left corner       |
2037650276Speter#	G3	G7	bottom left corner         |_
2037750276Speter#	G4	G8	bottom right corner   _|
2037850276Speter#	GD	Gd	down-tick character        T
2037950276Speter#	GL	Gl	left-tick character   -|
2038050276Speter#	GR	Gr	right-tick character       |-
2038150276Speter#	GC	Gc	middle intersection   -|-
2038250276Speter#	GU	Gu	up-tick character          _|_
2038350276Speter#
2038450276Speter# These were invented to take advantage of the IBM PC ROM character set.  One
2038550276Speter# can compose an acsc string from the single-width characters as follows
2038650276Speter#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
2038750276Speter# When translating a termcap file, ncurses tic will do this automatically.
2038850276Speter# The double forms characters don't fit the SVr4 terminfo model.
2038950276Speter#
2039050276Speter# AT&T Extensions:
2039150276Speter#
2039250276Speter# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
2039350276Speter# nonstandard capabilities.  Its signature is the KM capability, used to name
2039450276Speter# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
2039550276Speter# set.  Comments in the original, and a little cross-checking with other AT&T
2039650276Speter# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
2039750276Speter# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
2039850276Speter# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
2039950276Speter# cursor invisible), and CV=:ve: (make cursor normal).
2040050276Speter#
2040150276Speter# HP Extensions
2040250276Speter#
2040350276Speter# The HP library (as of mid-1995, their term.h file version 70.1) appears to
2040450276Speter# have the System V capabilities up to SVr1 level.  After that, it supports
2040550276Speter# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
2040650276Speter# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
2040750276Speter# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
2040850276Speter# HP binary format incompatible with SVr4's.
2040950276Speter#
2041050276Speter# IBM Extensions
2041150276Speter#
2041250276Speter# There is a set of nonstandard terminfos used by IBM's AIX operating system.
2041350276Speter# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
2041450276Speter# capabilities following prtr_non with the following special capabilties:
2041550276Speter# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
2041650276Speter# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
2041750276Speter# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
2041850276Speter# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
2041950276Speter# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
2042050276Speter# renamed (to kcbt and kslt).  The places in the box[12] capabilities
2042150276Speter# correspond to acsc chars, here is the mapping:
2042250276Speter#
2042350276Speter#	box1[0]  = ACS_ULCORNER
20424166124Srafan#	box1[1]  = ACS_HLINE
2042550276Speter#	box1[2]  = ACS_URCORNER
2042650276Speter#	box1[3]  = ACS_VLINE
2042750276Speter#	box1[4]  = ACS_LRCORNER
2042850276Speter#	box1[5]  = ACS_LLCORNER
2042950276Speter#	box1[6]  = ACS_TTEE
2043050276Speter#	box1[7]  = ACS_RTEE
2043150276Speter#	box1[8]  = ACS_BTEE
2043250276Speter#	box1[9]  = ACS_LTEE
2043350276Speter#	box1[10] = ACS_PLUS
2043450276Speter#
2043550276Speter# The box2 characters are the double-line versions of these forms graphics.
2043650276Speter# The AIX binary terminfo format is incompatible with SVr4's.
2043750276Speter#
2043850276Speter# Iris console extensions:
2043950276Speter#
2044050276Speter# HS is half-intensity start; HE is half-intensity end
2044150276Speter# CT is color terminal type (for Curses & rogue)
2044250276Speter# CP is color change escape sequence
2044350276Speter# CZ are color names (for Curses & rogue)
2044450276Speter#
2044550276Speter# The ncurses tic utility recognizes HS as an alias for mh <dim>.
2044650276Speter#
2044750276Speter# TC Extensions:
2044850276Speter#
2044950276Speter# There is a set of extended termcaps associated with something
2045050276Speter# called the "Terminal Control" or TC package created by MainStream Systems,
2045150276Speter# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
2045250276Speter# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
2045350276Speter# that flags color terminals.
2045450276Speter#
2045550276Speter######## CHANGE HISTORY
2045650276Speter#
2045750276Speter# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
2045850276Speter# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
2045950276Speter# project.
2046050276Speter#
2046150276Speter# This file contains all the capability information present in John Kunze's
20462166124Srafan# last version of the termcap master file, except as noted in the change
2046350276Speter# comments at end of file.  Some information about very ancient obsolete
2046450276Speter# capabilities has been moved to comments.  Some all-numeric names of older
2046550276Speter# terminals have been retired.
2046650276Speter#
2046750276Speter# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
2046850276Speter# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
2046950276Speter# used by BSD curses.
2047050276Speter#
2047150276Speter# The 9.1.0 version of this file was translated from my lightly-edited copy of
2047250276Speter# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
2047350276Speter# the purpose.  Unless the ncurses tic implementation and the Lisp code were
2047450276Speter# making perfectly synchronized mistakes which I then failed to catch by
2047550276Speter# eyeball, the translation was correct and perfectly information-preserving.
2047650276Speter#
2047750276Speter# Major version number bumps correspond to major version changes in ncurses.
2047850276Speter#
2047950276Speter# Here is a log of the changes since then:
2048050276Speter#
2048150276Speter# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
2048250276Speter#	* First terminfo master translated from 8.3.
2048350276Speter# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
2048450276Speter#	* Replaced Wyse entries with updated entries supplied by vendor.
2048550276Speter#
2048650276Speter# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
2048750276Speter#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
2048850276Speter# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
2048950276Speter#	* Better XENIX keycap translation.  Describe TC termcaps.
2049050276Speter#	* Contact and history info supplied by Qume.
2049150276Speter# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
2049250276Speter#	* Raided the Shuford FTP site for recent termcaps/terminfos.
2049350276Speter#	* Added information on X3.64 and VT100 standard escape sequences.
2049450276Speter# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
2049550276Speter#	* Added a correct X11R6 xterm entry.
2049650276Speter#	* Fixed terminfo translations of padding.
2049750276Speter# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
2049850276Speter#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
2049950276Speter#	* Added u6/u7/u8/u9 capabilities.
2050050276Speter#	* Added PCVT entry.
2050150276Speter# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
2050250276Speter#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
2050350276Speter#	  to use reverse-video standout so Emacs will look right.
2050450276Speter#	* Added el1 capability to ansi.
2050550276Speter#	* Added smacs/rmacs to ansi.sys.
2050650276Speter#
2050750276Speter# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
2050850276Speter#	* New mt70 entry.
2050950276Speter#	* Added COPYRIGHTS AND OTHER DELUSIONS.
2051050276Speter#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
2051150276Speter#	  smartvid & smarterm, ampex 175 & 219 & 232,
2051250276Speter#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
2051350276Speter#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
2051450276Speter#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
2051550276Speter#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
2051650276Speter#	* Replaced the Perkin-Elmer entries with vendor's official ones.
2051750276Speter#	* Restored the old minimal-ansi entry, luna needs it.
2051850276Speter#	* Fixed some incorrect ip and proportional-padding translations.
2051950276Speter# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
2052050276Speter#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
2052150276Speter#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
2052250276Speter#	  to force a particular height.
2052350276Speter#	* Added beehive4 and reorganized other Harris entries.
2052450276Speter# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
2052550276Speter#	* Merged in DEC's official entries for its terminals.  The only old
2052650276Speter#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
2052750276Speter#	* Replaced the translated BBN Bitgraph entries with purpose-built
2052850276Speter#	  ones from AT&T's SVr3.
2052950276Speter#	* Replaced the AT&T entries with AT&T's official terminfos.
20530166124Srafan#	* Added teleray 16, vc415, cops10.
2053150276Speter#	* Merged in many individual capabilities from SCO terminfo files.
2053250276Speter# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
2053350276Speter#	* Typo fixes.
2053450276Speter#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
2053550276Speter# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
2053650276Speter#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
2053750276Speter#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
2053850276Speter#	  simterm, citoh and variants.
2053950276Speter#	* Replaced sol entry with sol1 and sol2.
2054050276Speter#	* Replaced Qume QVT and Freedom-series entries with purpose-built
2054150276Speter#	  terminfo entries.
2054250276Speter#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
2054350276Speter#	  and dg200 entries using caps from from SCO.
2054450276Speter#	* Added the usual set of function-key mappings to ANSI entry.
2054550276Speter#	* Corrected xterm's function-key capabilities.
2054650276Speter# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
2054750276Speter#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
2054850276Speter# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
2054950276Speter#	* Fix in xterm entry, get the arrow keys right.
2055050276Speter#	* Change some \0 escapes to \200.
2055150276Speter# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
2055250276Speter#	* Added apple (Videx card), adm1a, oadm31.
2055350276Speter#	* Fixed malformed ampex csr.
20554166124Srafan#	* Fixed act4, cyb110; they had old-style prefix padding left in.
2055550276Speter#	* Changed mandatory to advisory padding in many entries.
2055650276Speter#	* Replaced HP entries up to hpsub with purpose-built ones.
2055750276Speter#	* Blank rmir/smir/rmdc/smdc capabilities removed.
2055850276Speter#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
2055950276Speter# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
2056050276Speter#	* Replaced the Ann Arbor entries with SCO's, the init strings are
2056150276Speter#	  more efficient (but the entries otherwise identical).
2056250276Speter#	* Added dg211 from Shuford archive.
2056350276Speter#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
2056450276Speter#	  adm42-nl, pc52, gs6300, xerox820, uts30.
2056550276Speter#	* Pull SCO's padding into vi200 entry.
2056650276Speter#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
2056750276Speter#	  entries merged in from SCO's descriptions.
2056850276Speter#	* Fixed old-style prefix padding on zen50, h1500.
2056950276Speter#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
2057050276Speter#	  entry from SCO's description.
2057150276Speter#	* Reorganized the special entries.
2057250276Speter#	* Added lm#0 to cbunix and virtual entries.
2057350276Speter#
2057450276Speter# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
2057550276Speter#	* Restored cdc456tst.
2057650276Speter#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
2057750276Speter#	* Added megatek, beacon, microkit.
2057850276Speter#	* Freeze for ncurses-1.9 release.
2057950276Speter# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
2058050276Speter#	* Added historical data for TAB.
2058150276Speter#	* Comment fixes from David MacKenzie.
2058250276Speter#	* Added the new BSDI pc3 entry.
2058350276Speter# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
20584166124Srafan#	* A change in the tic -C logic now ensures that all entries in
2058550276Speter#	  the termcap translation will fit in < 1024 bytes.
2058650276Speter#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
2058750276Speter#	  from GNU termcap file.  This merges in all their local information.
2058850276Speter# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
2058950276Speter#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
2059050276Speter#	* Added warnings about entries with long translations (restoring
2059150276Speter#	  all the GNU termcaps pushes a few over the edge).
2059250276Speter# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
2059350276Speter#	* Yet another tic change, and a couple of entry tweaks, to reduce the
2059450276Speter#	  number of long (> 1024) termcap translations back to 0.
2059550276Speter#
2059650276Speter# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
2059750276Speter#	* Added kf13-kf20 to Linux entry.
2059850276Speter#	* Regularize Prime terminal names.
2059950276Speter#	* Historical data on Synertek.
2060050276Speter#	* Freeze for ncurses-1.9.1.
2060150276Speter# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
2060250276Speter#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
2060350276Speter#	* Eliminate whitespace in short name fields, this tanks some scripts.
2060450276Speter#	* Name field changes to shorten some long entries.
2060550276Speter#	* Termcap translation now automatically generates empty rmir/smir
2060650276Speter#	  when ich1/ich is present (copes with an ancient vi bug).
2060750276Speter#	* Added `screen' entries from FSF's screen-3.6.2.
2060850276Speter#	* Added linux-nic and xterm-nic entries.
2060950276Speter# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
2061050276Speter#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
2061150276Speter#	  eliminating some special-case code in ncurses.
2061250276Speter#
2061350276Speter# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
2061450276Speter#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
2061550276Speter#	  that captures everything unique from it.
2061650276Speter#	* Added reorder script generator.
2061750276Speter#	* Freeze for ncurses 1.9.2 release.
2061850276Speter# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
2061950276Speter#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
2062050276Speter#	* Added Olaf Siebert's corrections for adm12.
2062150276Speter#	* ansi-pc-color now includes the colors and pairs caps, so that
2062250276Speter#	  entries which use it will inherit them automatically.
2062350276Speter#	* The linux entry can now recognize the center (keypad 5) key.
2062450276Speter#	* Removed some junk that found its way into Linux acsc.
2062550276Speter#
2062650276Speter# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
2062750276Speter#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
2062850276Speter#	* xterm doesn't try to use application keypad mode any more.
2062950276Speter#	* Freeze for ncurses-1.9.3 release.
2063050276Speter# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
2063150276Speter#	* Added corrected sun entry from vendor.
2063250276Speter#	* Added csr capability to linux entry.
2063350276Speter#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
2063450276Speter#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
20635166124Srafan#	* Some commented-out caps in long entries come back in, my code
2063650276Speter#	  for computing string-table lengths had a bug in it.
2063750276Speter#	* pcansi series modified to fit comm-program reality better.
2063850276Speter# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
2063950276Speter#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
2064050276Speter#	* Correct some bad aliases in the pcansi series
2064150276Speter#	* Added entry for QNX console.
2064250276Speter#	* Clean up duplicate long names for use with 4.4 library.
2064350276Speter#	* Change vt100 standout to be normal reverse vide, not bright reverse;
2064450276Speter#	  this makes the Emacs status line look better.
2064550276Speter# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
2064650276Speter#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
2064750276Speter#	* Minor surgery, mostly on name strings, to shorten termcap version.
2064850276Speter#
2064950276Speter# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
2065050276Speter#	* Added dec-vt100 for use with the EWAN emulator.
2065150276Speter#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
2065250276Speter#	* Freeze for 1.9.5 alpha release.
2065350276Speter# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
2065450276Speter#	* Changed xterm lines to 24, the X11R6 default.
2065550276Speter# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
2065650276Speter#	* Added 7 newly discovered, undocumented acsc characters to linux
2065750276Speter#	  entry (the pryz{|} characters).
2065850276Speter#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
2065950276Speter#	* Correct two typos in the xterm entries introduced in 9.9.1.
2066050276Speter#	* I finally figured out how to translate ko capabilities.  Done.
2066150276Speter#	* Added tvi921 entries from Tim Theisen.
2066250276Speter#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
2066350276Speter#	* Removed mystery tec entry, it was neither interesting nor useful.
2066450276Speter#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
2066550276Speter#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
2066650276Speter#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
2066750276Speter#	  by making them relative to use capabilities
2066850276Speter#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
2066950276Speter#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
2067050276Speter#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
2067150276Speter#	  ampex80,
20672166124Srafan#	* Translate all home=\E[;H capabilities to home=\E[H, they're
2067350276Speter#	  equivalent.
2067450276Speter#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
2067550276Speter#	  vt100 and ANSI-like terminals.
2067650276Speter# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
2067750276Speter#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
2067850276Speter#	  does this now, too.
2067950276Speter#	* fviewpoint is gone, it duplicated screwpoint.
2068050276Speter#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
20681166124Srafan#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
2068250276Speter#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
2068350276Speter#	  The UW vi50 replaces the old one, which becomes vi50adm,
2068450276Speter#	* No more embedded commas in name fields.
2068550276Speter#
2068650276Speter# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
2068750276Speter#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
2068850276Speter#	* Introduced klone+* entries for describing Intel-console behavior.
2068950276Speter#	* Linux kbs is default-mapped to delete for some brain-dead reason.
2069050276Speter#	* -nsl -> -ns.  The -pp syntax is obsolete.
2069150276Speter#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
2069250276Speter#	* Make xterm entry do application-keypad mode again.  I got complaints
2069350276Speter#	  that it was messing up someone's 3270 emulator.
2069450276Speter#	* Added some longname fields in order to avoid warning messages from
2069550276Speter#	  older tic implementations.
2069650276Speter#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
2069750276Speter#	  it! (This gives us pi, greater than, less than, and a few more.)
2069850276Speter#	* Freeze for ncurses-1.9.6 release.
2069950276Speter# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
2070050276Speter#	* Add xon to a number of console entries, they're memory-mapped and
2070150276Speter#	  don't need padding.
2070250276Speter#	* Correct the use dependencies in the ansi series.
2070350276Speter#	* Hand-translate more XENIX capabilities.
2070450276Speter#	* Added hpterm entry for HP's X terminal emulator.
2070550276Speter#	* Added aixterm entries.
20706166124Srafan#	* Shortened four names so everything fits in 14 chars.
2070750276Speter#
2070850276Speter# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
2070950276Speter#	* Added ibcs2 entry and info on iBCS2 standard.
2071050276Speter#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
2071150276Speter#	* We can handle the HP meml/memu capability now.
2071250276Speter#	* Added smacs to klone entries, just as documentation.
2071350276Speter#	* Carrected ansi.sys and cit-500 entries.
2071450276Speter#	* Added z39, vt320-k311, v220c, and avatar entries.
2071550276Speter#	* Make pcansi use the ansi.sys invis capability.
2071650276Speter#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
2071750276Speter#	  tvi925, tvi950, dt80, ncr7900i, h19.
2071850276Speter#	* X3.64 has been withdrawn, change some references.
2071950276Speter#	* Removed function keys from ansi-m entry.
2072050276Speter#	* Corrected ansi.sys entry.
2072150276Speter#	* Freeze for ncurses-1.9.7 release.
2072250276Speter# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
2072350276Speter#	* Added rmam/smam capabilities to many entries based on init strings.
2072450276Speter#	* Added correct hpa/vpa to linux.
2072550276Speter#	* Reduced several entries relative to vt52.
2072650276Speter# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
2072750276Speter#	* Exiled some utterly unidentifiable custom and homebrew types to the
2072850276Speter#	  UFO file; also, obsolete small-screen hardware; also, entries which
2072950276Speter#	  look flat-out incorrect, garbled, or redundant.  These include the
20730166124Srafan#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
2073150276Speter#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
2073250276Speter#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
20733166124Srafan#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
20734166124Srafan#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
20735166124Srafan#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
20736166124Srafan#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
20737166124Srafan#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
20738166124Srafan#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
20739166124Srafan#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
20740166124Srafan#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
20741166124Srafan#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
2074250276Speter#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
2074350276Speter#	* Corrected pcvt25h as suggested by Brian C. Grayson
2074450276Speter#	  <bgrayson@pine.ece.utexas.edu>.
2074550276Speter# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
20746166124Srafan#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
2074750276Speter#	* Added kent=\EOM to xterm entry.
2074850276Speter#
2074950276Speter# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
2075050276Speter#	* Corrected gigi entry.
2075150276Speter#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
2075250276Speter#	  bad hpa/vpa capabilities.
2075350276Speter#	* Corrected flash strings to have a uniform delay of .2 sec.  No
2075450276Speter#	  more speed-dependent NUL-padding!
2075550276Speter#	* terminfo capabilities in comments bracketed with <>.
2075650276Speter# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
2075750276Speter#	* Replaced pcvt with the 3.31 pcvt entries.
2075850276Speter#	* Freeze for 1.9.7a.
2075950276Speter# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
2076050276Speter#	* Added emu entry from the X11R6 contrib tape sources.
2076150276Speter#
2076250276Speter# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
2076350276Speter#	* Improved iris-ansi and sun entries.
2076450276Speter#	* More flash string improvements.
2076550276Speter#	* Corrected wy160 & wy160 as suggested by Robert Dunn
20766166124Srafan#	* Added dim to at386.
2076750276Speter#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
2076850276Speter#	  he's ready to start using the termcap generated from this one.
2076950276Speter#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
2077050276Speter#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
2077150276Speter#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
20772166124Srafan#	  att610, att620, att630,
2077350276Speter#	* Changed hazeltine name prefix from h to hz.
2077450276Speter#	* Sent t500 to the UFI file.
2077550276Speter#	* I think we've sucked all the juice out of BSDI's termcap file now.
2077650276Speter#	* Freeze for ncurses 1.9.8 release
2077750276Speter# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
2077850276Speter#	* Unfreeze, linux kbs needed to be fixed.
2077950276Speter#	* Tim Theisen pinned down a bug in the DMD firmware.
2078050276Speter# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
2078150276Speter#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
2078250276Speter#	  (The broken ones had been shadowed by sgr.)
2078350276Speter# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
2078450276Speter#	* Added documentation on ECMA-48 standard.
2078550276Speter#	* New Amiga entry.
2078650276Speter# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
2078750276Speter#	* More ECMA-48 stuff
2078850276Speter#	* Corrected typo in minix entry, added pc-minix.
2078950276Speter#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
2079050276Speter#	* Added rxvt entry.
2079150276Speter#	* Added 1.3.x color-change capabilities to linux entry.
2079250276Speter# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
2079350276Speter#	* Corrected rxvt entry khome/kend.
2079450276Speter#	* Corrected linux color change capabilities.
2079550276Speter#	* NeXT entries from Dave Wetzel.
2079650276Speter#	* Cleaned up if and rf file names (all in /usr/share now).
2079750276Speter#	* Changed linux op capability to avoid screwing up a background color
2079850276Speter#	  pair set by setterm.
2079950276Speter# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
2080050276Speter#	* Added xterm-sun.
2080150276Speter# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
2080250276Speter#	* Added visa50.
2080350276Speter#
2080450276Speter# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
2080550276Speter#	* Another sweep through the Shuford archive looking for new info.
2080650276Speter#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
2080750276Speter# 	* Added st52 from Per Persson.
2080850276Speter#	* Added eterm from the GNU Emacs 19.30 distribution.
2080950276Speter#	* Freeze for 1.9.9.
2081050276Speter# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
2081150276Speter#	* FreeBSD console entries from Andrew Chernov.
2081250276Speter#	* Removed duplicate Atari st52 name.
2081350276Speter# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
2081450276Speter#	* xterm doesn't actually have ACS_BLOCK.
2081550276Speter#	* Change klone+color setf/setb to simpler forms that can be
2081650276Speter#	  translated into termcap.
2081750276Speter#	* Added xterm1.
2081850276Speter#	* Removed mechanically-generated junk capabilities from cons* entries.
2081950276Speter#	* Added color support to bsdos.
2082050276Speter# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
2082150276Speter#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
2082250276Speter#	* Created ecma+color, linux can use it.  Also added ech to linux.
2082350276Speter#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
2082450276Speter#	* Add descriptions to FreeBSD console entries.  Also shorten
2082550276Speter#	  some aliases to <= 14 chars for portability.
2082650276Speter#	* Added x68k console
2082750276Speter#	* Added OTbs to several VT-series entries.
2082850276Speter# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
20829166124Srafan#	* screen entry update for 3.7.1 from Michael Alan Dorman.
2083050276Speter# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
2083150276Speter#	* kterm correction due to Kenji Rikitake.
2083250276Speter#	* ACS correction in vt320-kll due to Phillippe De Muyter.
2083350276Speter# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
2083450276Speter#	* Sun console entry correction from J.T. Conklin.
2083550276Speter#	* Changed all DEC VT300 and up terminals to use VT300 tab set
2083650276Speter# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
20837166124Srafan#	* Added smul to linux entry (we never noticed it was missing
2083850276Speter#	  because of sgr!).
2083950276Speter#	* Added rmln to hp+labels (deduced from other HP entries).
2084050276Speter#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
2084150276Speter#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
2084250276Speter#	* Corrected vt220 acsc.
2084350276Speter#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
2084450276Speter#	  this corresponds to reality and helps prevent some tic warnings.
2084550276Speter#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
2084650276Speter#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
2084750276Speter#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
2084850276Speter#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
2084950276Speter#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
20850166124Srafan#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
2085150276Speter#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
2085250276Speter#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
2085350276Speter#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
2085450276Speter#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
2085550276Speter#	  ifmr, v3220, wy100q, tandem653, ibmaed.
2085650276Speter#	* Added DWK terminal description.
2085750276Speter# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
2085850276Speter#	* Many entries now have highlights inherited from adm+sgr.
2085950276Speter#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
2086050276Speter#	* xtitle and xtitle-twm enable access to the X status line.
2086150276Speter#	* Added linux-1.3.6 color palette caps in conventional format.
2086250276Speter#	* Added adm1178 terminal.
2086350276Speter#	* Move fos and apollo terminals to obsolete category.
2086450276Speter#	* Aha! The BRL terminals file told us what the Iris extensions mean.
2086550276Speter#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
2086650276Speter#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
20867166124Srafan#	  cit500, adm11.
2086850276Speter# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
2086950276Speter#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
2087050276Speter#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
2087150276Speter#	* Corrected, from BRL termcap file: vi50.
2087250276Speter#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
2087350276Speter# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
2087450276Speter#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
2087550276Speter#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
2087650276Speter#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
2087750276Speter#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
2087850276Speter#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
2087950276Speter#	* Paired-attribute fixes to various terminals.
2088050276Speter#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
2088150276Speter#	* xterm entry corrections from Thomas Dickey.
2088250276Speter# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
2088350276Speter#	* Added t916 entry, translated from a termcap in SCO's support area.
2088450276Speter#	* New qnx entry from Michael Hunter.
2088550276Speter# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
2088650276Speter#	* Added hpex2 from Ville Sulko.
2088750276Speter#	* Fixed a bug that ran the qnx and pcvtXX together.
2088850276Speter# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
2088950276Speter#	* Added dtterm entry from Solaris CDE.
2089050276Speter# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
2089150276Speter#	* corrected pairs#8 typo in dtterm entry.
2089250276Speter#	* added tvi9065.
2089350276Speter# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
20894166124Srafan#	* updated xterm entry to cover 3.1.2E's new features.
2089550276Speter# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
2089650276Speter#	* Added new minix entry
2089750276Speter#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
2089850276Speter#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
2089950276Speter# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
2090050276Speter#	* Added Prism entries and kt7ix.
2090150276Speter#	* Caution notes about EWAN and tabset files.
2090250276Speter#	* Changed /usr/lib/tabset -> /usr/share/tabset.
2090350276Speter#	* Added acsc/rmacs/smacs to vt52.
2090450276Speter# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
2090550276Speter#	* Merged in Thomas Dickey's reorganization of the xterm entries;
2090650276Speter#	  added technical corrections to avoid warning messages.
2090750276Speter# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
2090850276Speter#	* Added rmso=\E[27m in Linux entry.
2090950276Speter#	* Added koi8-r support for Linux console.
2091050276Speter#	* Replace xterm entries with canonical ones from XFree86 3.2.
2091150276Speter# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
2091250276Speter#	* Added color_xterm from Jacob Mandelson
2091350276Speter# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
2091450276Speter#	* Back off the xterm entry to use r6 as a base.
2091550276Speter# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
2091650276Speter#	* Added dec-vt220 at Adrian Garside's request.
20917174993Srafan#
20918174993Srafan#-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
20919174993Srafan#
20920174993Srafan# 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
20921174993Srafan#	* Minor corrections to xterm entries.
20922174993Srafan#	* Replaced EWAN telnet entry.
20923174993Srafan#	* Dropped the reorder script generator.  It was a fossil.
2092450276Speter# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
2092550276Speter#	* Replaced minitel-2 entry.
2092650276Speter#	* Added MGR, ansi-nt.
20927174993Srafan# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
20928174993Srafan#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
20929174993Srafan#	  the 4.4BSD Lite2 file.
20930174993Srafan#
20931174993Srafan# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
20932174993Srafan#	* Use setaf/setab consistently with SVr4.
20933174993Srafan#	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
20934174993Srafan# 10.1.2 (Sat May 24 21:10:57 EDT 1997)
20935174993Srafan#	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
20936174993Srafan#	* add xterm-16color, for XFree86 3.3
20937174993Srafan# 10.1.3 (Sat May 31 12:21:05 EDT 1997)
20938174993Srafan#	* correct typo in emu
20939174993Srafan#	* correct typo in vt102-w (Robert Wuest)
20940174993Srafan#	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
20941174993Srafan# 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
20942174993Srafan#	* remove ech capability from rxvt (it does the wrong thing)
20943174993Srafan# 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
20944174993Srafan#	* remove spurious newlines from several entries (hp+color, wy50,
20945174993Srafan#	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
20946174993Srafan#	  gs6300)
20947174993Srafan# 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
20948174993Srafan#	* correct rmso capability of wy50-mc
20949174993Srafan# 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
20950174993Srafan#	* add cbt to xterm-xf86-v32
20951174993Srafan#	* disentangle some entries from 'xterm', preferring xterm-r6 in case
20952174993Srafan#	  'xterm' is derived from xterm-xf86-v32, which implements ech and
20953174993Srafan#	  other capabilities not in xterm-r6.
20954174993Srafan#	* remove alternate character set from kterm entry.
20955174993Srafan# 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
20956174993Srafan#	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
20957174993Srafan# 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
20958174993Srafan#	* add xterm-8bit entry.
20959174993Srafan# 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
20960174993Srafan#	* repair several places where early version of tic replaced \, with \\\,
20961174993Srafan#	* make acsc entries canonical form (sorted, uniq).
20962174993Srafan#	* modify acsc entries for linux, linux-koi8
20963174993Srafan#	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
20964174993Srafan#	* add color, mouse support to kterm.
20965174993Srafan# 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
20966174993Srafan#	* correct wy120 smxon/tbc capabilities which were stuck together.
20967174993Srafan# 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
20968174993Srafan#	* add entry for xterm-xf86-v39t
20969174993Srafan# 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
20970174993Srafan#	* add u8,u9 to sun-il description
20971174993Srafan# 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
20972174993Srafan#	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
20973174993Srafan#	  version.
20974174993Srafan#	* add hds200 description (Walter Skorski)
20975174993Srafan#	* add EMX 0.9b descriptions
20976174993Srafan#	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
20977174993Srafan#	* rename xhpterm back to hpterm.
20978174993Srafan# 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
20979174993Srafan#	* change initc in linux-c-nc to use 0..1000 range.
20980174993Srafan# 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
20981174993Srafan#	* remove hpa/vpa from rxvt, which implements them incorrectly.
20982174993Srafan#	* add sgr0 for rxvt.
20983174993Srafan#	* remove bogus smacs/rmacs from EMX descriptions.
20984174993Srafan# 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
20985174993Srafan#	* revised entry for att7300
20986174993Srafan# 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
20987174993Srafan#	* use \0 rather than \200.
20988174993Srafan#	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
20989174993Srafan# 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
20990174993Srafan#	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
20991174993Srafan#	* rename xterm-xf86-v39t to xterm-xf86-v40
20992174993Srafan#	* remove bold/underline from sun console entries since they're not
20993174993Srafan#	  implemented.
20994174993Srafan# 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
20995174993Srafan#	* add beterm entry (Fred Fish)
20996174993Srafan#	* add irix-color/xwsh entry.
20997174993Srafan#	* turn ncv off for linux.
20998174993Srafan# 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
20999174993Srafan#	* set ncv for FreeBSD console (treat colors with reverse specially).
21000174993Srafan#	* remove sgr string from qnx based on report by Xiaodan Tang
21001174993Srafan# 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
21002174993Srafan#	* remove spurious commas from descriptions
21003174993Srafan#	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
21004174993Srafan# 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
21005174993Srafan#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
21006174993Srafan#	  apparently based on cp-866).
21007174993Srafan#
21008174993Srafan#-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
21009174993Srafan#
21010174993Srafan# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
21011174993Srafan#	* Replaced minitel-2 entry.
21012174993Srafan#	* Added MGR, ansi-nt.
2101350276Speter#	* Minor corrections to xterm entries.
2101450276Speter#	* Replaced EWAN telnet entry.
2101550276Speter#	* Dropped the reorder script generator.  It was a fossil.
2101650276Speter# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
2101750276Speter#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
2101850276Speter#	  the 4.4BSD Lite2 file.
2101950276Speter# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
2102050276Speter#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
2102150276Speter#	* Updated iris-ansi; corrected vt102-w.
2102250276Speter#	* Switch base xterm entry to 3.3 level.
2102350276Speter# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
2102450276Speter#	* Added basic4.
2102550276Speter#	* Removed rmir/smir from tv92B.
2102650276Speter#
2102750276Speter# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
2102850276Speter#	* add hds200 description (Walter Skorski)
2102950276Speter#	* add beterm entry (Fred Fish)
2103050276Speter#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
2103150276Speter#	  iris-color entries.
2103250276Speter#	* add emx entries.
2103350276Speter#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
2103450276Speter#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
2103550276Speter#	  versions.
2103650276Speter#	* remove sgr string from qnx based on report by Xiaodan Tang
2103750276Speter#	* Added u8/u9, removed rmul/smul from sun-il.
2103850276Speter#	* 4.2 tic displays \0 rather than \200.
2103950276Speter#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
2104050276Speter#	  apparently based on cp-866).
2104150276Speter#	* Merged in Pavel Roskin's acsc for linux-koi8
2104250276Speter#	* Corrected some erroneous \\'s to \.
2104350276Speter#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
2104450276Speter#	* II -> ii in pcvtXX, screen, xterm.
2104550276Speter#	* Removed \n chars following ANSI escapes in sgr & friends.
2104650276Speter#	* Updated Wyse entries.
2104750276Speter#	* h19 corrections from Tim Pierce.
2104850276Speter#	* Noted that the dm2500 has both ich and smir.
2104950276Speter#	* added pccons for the Alpha under OSF/1.
2105050276Speter#	* Added Sony NEWS workstation entries and cit101e-rv.
2105150276Speter#	* Reverted `amiga'; to Kent Polk's version, as I'm told
2105250276Speter#	  the Verkuil entry messes up with Amiga Telnet.
2105350276Speter# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
2105450276Speter#	* Corrected attributions in 10.2.0 release notes.
2105550276Speter#	* Scanned the Shuford archive for new terminfos and information.
2105650276Speter#	* Removed sgr from qnx entry (Thomas Dickey).
2105750276Speter#	* Added entries for ICL and Kokusai Data Systems terminals.
2105850276Speter#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
2105950276Speter#	* Incorporated att700 from the Boundless Technology FTP site.
2106050276Speter#	* Miscellaneous contact-address and Web-page updates.
2106150276Speter#
21062174993Srafan#-(changelog-beginning-ncurses-4.2)---------------------------------------------
21063174993Srafan#
2106450276Speter# 1998/5/9
2106550276Speter#	* add nxterm and xterm-color terminfo description (request by Cristian
2106650276Speter#	  Gafton <gafton@redhat.com>).
2106750276Speter#	* modify rxvt terminfo description to clear alternate screen before
2106850276Speter#	  switching back to normal screen, for compatibility with applications
2106950276Speter#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
2107050276Speter#	* modify linux terminfo description to reset color palette (reported
2107150276Speter#	  by Telford Tendys <telford@eng.uts.edu.au>).
2107250276Speter#
2107350276Speter# 1998/7/4
2107450276Speter#	* merge changes from current XFree86 xterm terminfo descriptions.
2107550276Speter#
2107650276Speter# 1998/7/25
2107750276Speter#	* Added minitel1 entries from Alexander Montaron.
2107850276Speter#	* Added qnxt2 from Federico Bianchi.
2107950276Speter#	* Added arm100 terminfo entries from Dave Millen.
2108050276Speter#
2108150276Speter# 1998/8/6
2108250276Speter#	* Added ncsa telnet entries from Francesco Potorti
2108350276Speter#
2108450276Speter# 1998/8/15
2108550276Speter#	* modify ncsa telnet entry to reflect color, other capabilities based on
2108650276Speter#	  examination of the source code - T.Dickey.
2108750276Speter#
2108850276Speter# 1998/8/22
2108950276Speter#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
2109050276Speter#
2109150276Speter# 1998/8/29
2109250276Speter#	* Added Francesco Potorti's tuned Wyse 99 entries.
2109350276Speter#	* dtterm enacs correction from Alexander V. Lukyanov.
2109450276Speter#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
2109550276Speter#	* correct a typo in icl6404 entry.
2109650276Speter#	* add xtermm and xtermc
2109750276Speter#
2109850276Speter# 1998/9/26
2109950276Speter#	* format most %'char' sequences to %{number}
2110050276Speter#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
2110150276Speter#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
2110250276Speter#
2110350276Speter# 1998/10/10
2110450276Speter#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
2110550276Speter#	* correct initialization string in xterm-r5, add misc other features
2110650276Speter#	  to correspond with xterm patch 84 - TD
2110750276Speter#
2110850276Speter# 1998/12/19
2110950276Speter#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
2111050276Speter#	* add Mathew Vernon's mach console entries
2111150276Speter#	* corrections for ncsa function-keys (report by Larry Virden)
2111250276Speter#
2111350276Speter# 1998/12/19
2111450276Speter#	* change linux to use ncv#2, since underline does not work with color - TD
2111550276Speter#
2111650276Speter# 1999/1/9
2111750276Speter#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
2111850276Speter#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
2111950276Speter#	  application modes, change kent to use the correct keypad code - TD
2112050276Speter#
2112150276Speter# 1999/1/10
2112250276Speter#	* add entry for Tera Term - TD
2112350276Speter#
2112450276Speter# 1999/1/23
2112550276Speter#	* minor improvements for teraterm entry - TD
2112650276Speter#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
2112750276Speter#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
2112850276Speter#
2112950276Speter# 1999/2/20
2113050276Speter#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
2113150276Speter#	  xterm and ncsa entries by removing the unneeded ones.  Note that
2113250276Speter#	  some entries will return kend & khome versus kslt and kfnd, for
2113350276Speter#	  PC-style keyboards versus strict vt220 compatiblity - TD
2113450276Speter#
2113550276Speter# 1999/3/13
2113650276Speter#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
2113750276Speter#	  tables - TD
2113850276Speter#	* add 'crt' entry - TD
2113950276Speter#	* correct typos in 'linux-c' entry - TD
2114050276Speter#
2114150276Speter# 1999/3/14
2114250276Speter#	* update entries for BSD/OS console to use klone+sgr and klone+color
2114350276Speter#	  (Jeffrey C Honig)
2114450276Speter#
2114550276Speter# 1999/3/27
2114650276Speter#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
2114750276Speter#
2114850276Speter# 1999/4/10
2114950276Speter#	* add linux-lat, from RedHat patches to ncurses 4.2
2115050276Speter#
2115150276Speter# 1999/4/17
2115250276Speter#	* add complete set of default function-key definitions for scoansi - TD.
2115350276Speter#
2115450276Speter# 1999/7/3
2115550276Speter#	* add cnorm, cvvis for Linux 2.2 kernels
2115650276Speter#
2115750276Speter# 1999/7/24
2115850276Speter#	* add kmous to xterm-r5 -TD
2115950276Speter#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
2116050276Speter#	  parent "use" clause -TD
2116150276Speter#
2116250276Speter# 1999/7/31
2116350276Speter#	* corrected cnorm, added el1 in 'screen' description -TD
2116450276Speter#
2116550276Speter# 1999/8/14
2116650276Speter#	* add ms-vt100 -TD
2116750276Speter#
2116850276Speter# 1999/8/21
2116950276Speter#	* corrections to beterm entry -TD
2117050276Speter#
2117156639Speter# 1999/8/28
2117256639Speter#	* add cygwin entry -TD
2117356639Speter#
2117456639Speter# 1999/9/4
2117556639Speter#	* minor corrections for beterm entry -TD
2117656639Speter#
2117756639Speter# 1999/9/18
2117856639Speter#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
2117956639Speter#
2118056639Speter# 1999/9/25
2118156639Speter#	* add amiga-8bit entry
2118256639Speter#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
2118356639Speter#	  rcons-color, based on
2118456639Speter#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
2118556639Speter#	* add alias for iris-ansi-net
2118656639Speter#
2118756639Speter# 1999/10/2
2118856639Speter#	* corrected scoansi entry's acsc, some function keys, add color -TD
2118956639Speter#
2119056639Speter# 1999/10/23
2119156639Speter#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
2119256639Speter#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
2119356639Speter#	  key mapping, leaving Potorti's entries more like he named them -TD
2119456639Speter#	* remove enter/exit am-mode from cygwin -TD
2119556639Speter#
2119662449Speter# 1999/10/30
2119762449Speter#	* correct typos in several entries (missing '[' from CSI):
2119862449Speter#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
2119962449Speter#	  strings for avt-ns -TD
2120062449Speter#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
2120162449Speter#
2120262449Speter# 1999/11/27
2120362449Speter#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
2120462449Speter#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
2120562449Speter#	* add xterm-88color and xterm-256color -TD
2120662449Speter#
2120762449Speter# 1999/12/4
2120862449Speter#	* add "obsolete" termcap strings -TD
2120962449Speter#	* add kvt and gnome entries -TD
2121062449Speter#
2121162449Speter# 1999/12/11
2121262449Speter#	* correct cup string for regent100 -TD
2121362449Speter#
2121462449Speter# 2000/1/1
2121562449Speter#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
2121662449Speter#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
2121762449Speter#	* change OTrs capabilities to rs2 -TD
2121862449Speter#	* add obsolete and extended capabilities to 'screen' -TD
2121962449Speter#
2122062449Speter# 2000/1/5
2122162449Speter#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
2122262449Speter#	  with kf10 -TD
2122362449Speter#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
2122462449Speter#	  and adding kcbt -TD
2122562449Speter#
2122662449Speter# 2000/1/12
2122762449Speter#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
2122862449Speter#	  nonstandard resource settings -TD
2122962449Speter#
2123062449Speter# 2000/2/26
2123162449Speter#	* minor fixes for xterm-*, based on Debian #58530 -TD
2123262449Speter#
2123362449Speter# 2000/3/4
2123462449Speter#	* add several terminal types from esr's "11.0", as well as comments.
2123562449Speter#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
2123662449Speter#	  vt220-8bit, vt220-old, wy85-8bit
2123762449Speter#
2123862449Speter# 2000/3/18
2123962449Speter#	* add several terminal types from esr's "11.0.1" (ansi-*).
2124062449Speter#	* update OTxx capabilities for changes on 2000/3/4.
2124162449Speter#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
2124262449Speter#
2124362449Speter# 2000/3/26
2124462449Speter#	* move screen's AX extension to ecma+color, modify several entries to
2124562449Speter#	  use that, adjusting ncv as needed -TD
2124662449Speter#
2124762449Speter# 2000/4/8
2124862449Speter#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
2124962449Speter#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
2125062449Speter#	  in esr's version.
2125162449Speter#
2125262449Speter# 2000/4/15
2125362449Speter#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
2125462449Speter#	* correct color definition for ibm3164, make minor changes to other
2125562449Speter#	  IBM terminal definitions based on recent terminfo descriptions -TD
2125662449Speter#
2125762449Speter# 2000/4/22
2125862449Speter#	* add mgterm, from NetBSD -TD
2125962449Speter#	* add alias sun-cgsix for sun-ss5 as per NetBSD
2126062449Speter#	* change cons25w to use rs2 for reset rather than rs1 -TD
2126162449Speter#	* add rc/sc to aixterm based on manpage -TD
2126262449Speter#
2126362449Speter# 2000/5/13
21264166124Srafan#	* remove ncv from xterm-16color, xterm-256color
2126562449Speter#
2126662449Speter# 2000/6/10
2126762449Speter#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
2126862449Speter#
2126962449Speter# 2000/7/1
2127062449Speter#	* add Eterm (Michael Jennings)
2127162449Speter#
2127266963Speter# 2000-07-18
2127366963Speter#       * add amiga-vnc entry.
2127466963Speter#
2127566963Speter# 2000-08-12
2127666963Speter#	* correct description of Top Gun Telnet.
2127766963Speter#	* add kterm-color
2127866963Speter#
2127966963Speter# 2000-08-26
2128066963Speter#	* add qansi* entries from QNX ftp site.
2128166963Speter#
2128266963Speter# 2000-09-16
2128366963Speter#	* add Matrix Orbital entries by Eric Z. Ayers).
2128466963Speter#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
2128566963Speter#	  4.0.1c -TD
2128666963Speter#
2128766963Speter# 2000-09-17
2128866963Speter#	* add S0, E0 extensions to screen's entry -TD
2128966963Speter#
2129066963Speter# 2000-09-23
2129166963Speter#	* several corrections based on tic's new parameter-checking code -TD
2129266963Speter#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
2129366963Speter#	  bracketing sequences that reset video attributes (\E8 would restore
2129466963Speter#	  them) -TD
2129566963Speter#
2129676726Speter# 2000-11-11
2129776726Speter#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
2129876726Speter#
2129976726Speter# 2000-12-16
2130076726Speter#	* improved scoansi, based on SCO man-page, and testing console,
2130176726Speter#	  scoterm with tack -TD
2130276726Speter#
2130376726Speter# 2001-01-27
2130476726Speter#	* modify kterm to use acsc via SCS controls.
2130576726Speter#
2130676726Speter# 2001-02-10
2130776726Speter#	* screen 3.9.8 allows xterm mouse controls to pass-through
2130876726Speter#
2130976726Speter# 2001-03-11
2131076726Speter#	* remove spurious "%|" from some xterm entries.
2131176726Speter#
2131276726Speter# 2001-03-31
2131376726Speter#	* modify 'screen' khome/kend to match screen 3.09.08
2131476726Speter#	* add examples of 'screen' customization (screen.xterm-xfree86,
2131576726Speter#	  screen.xterm-r6, screen.teraterm) -TD
2131676726Speter#
2131776726Speter# 2001-04-14
2131876726Speter#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
2131976726Speter#	* add "Apple_Terminal" entries -Benjamin Sittler
2132076726Speter#	* remove time-delays from "Apple_Terminal" entries -TD
2132176726Speter#	* make sgr entries time-delays consistent with individual caps -TD
2132276726Speter#
2132376726Speter# 2001-05-05
2132476726Speter#	* corrected/updated screen.xterm-xfree86
2132576726Speter#
2132697049Speter# 2001-05-19
2132797049Speter#	* ELKS descriptions, from Federico Bianchi
2132897049Speter#	* add u6 (CSR) to Eterm (Michael Jennings).
2132997049Speter#
2133097049Speter# 2001-07-21
2133197049Speter#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
2133297049Speter#	  tic which handles names no longer than 14 characters.  Add
2133397049Speter#	  corresponding descriptions for the Darwin PowerPC console named
2133497049Speter#	  "xnuppc" -Benjamin Sittler
2133597049Speter#
2133697049Speter# 2001-09-01
2133797049Speter#	* change kbs in mach entries to ^? (Marcus Brinkmann).
2133897049Speter#
2133997049Speter# 2001-11-17
2134097049Speter#	* add "putty" entry -TD
2134197049Speter#	* updated "Apple_Terminal" entries -Benjamin Sittler
2134297049Speter#
2134397049Speter# 2001-11-24
2134497049Speter#	* add ms-vt100-color entry -TD
2134597049Speter#	* add "konsole" entries -TD
2134697049Speter#
2134797049Speter# 2001-12-08
2134897049Speter#	* update gnome entry to Redhat 7.2 -TD
2134997049Speter#
2135098503Speter# 2002-05-25
2135198503Speter#	* add kf13-kf48 strings to cons25w -TD
2135298503Speter#	* add pcvt25-color entry -TD
2135398503Speter#	* changed a few /usr/lib/tabset -> /usr/share/tabset.
2135498503Speter#	* improve some features of scoansi entry based on SCO's version -TD
2135598503Speter#	* add scoansi-new entry corresponding to OpenServer 5.0.6
2135698503Speter#
2135798503Speter# 2002-06-15
2135898503Speter#	* add kcbt to screen entry -TD
2135998503Speter#
21360166124Srafan# 2002-06-22
21361166124Srafan#	* add rxvt-16color, ibm+16color, mvterm entries -TD
21362166124Srafan#
21363166124Srafan# 2002-09-28
21364166124Srafan#	* split out linux-basic entry, making linux-c inherit from that, and
21365166124Srafan#	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
21366166124Srafan#	  the history of this console type -TD
21367166124Srafan#	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
21368166124Srafan#	  r/g/b parameters of initc are in the range 0 to 1000 -TD
21369166124Srafan#
21370166124Srafan# 2002-10-05
21371166124Srafan#	* minor fix for scale-factor of linux-c and linux-c-nc -TD
21372166124Srafan#
21373166124Srafan# 2002-11-09
21374166124Srafan#	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
21375166124Srafan#	  in the latter -TD
21376166124Srafan#
21377166124Srafan# 2002-11-16
21378166124Srafan#	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
21379166124Srafan#	* ncr260wy350pp has only 16 color pairs -TD
21380166124Srafan#	* add sun-type4 from NetBSD -TD
21381166124Srafan#	* update xterm-xfree86 to current (patch 170) -TD
21382166124Srafan#	* add screen-bce, screen-s entries -TD
21383166124Srafan#	* add xterm-1002, xterm-1003 entries -TD
21384166124Srafan#
21385166124Srafan# 2003-01-11
21386166124Srafan#	* update homepage for Top Gun Telnet/SSH
21387166124Srafan#
21388166124Srafan# 2003-01-25
21389166124Srafan#	* reduce duplication in emx entries, added emx-base -TD
21390166124Srafan#
21391166124Srafan# 2003-05-24
21392166124Srafan#	* corrected acs for screen.teraterm -TD
21393166124Srafan#	* add tkterm entry -TD
21394166124Srafan#
21395166124Srafan# 2003-07-15
21396166124Srafan#	* cygwin changes from Charles Wilson:
21397166124Srafan#	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
21398166124Srafan#	  primary instead of nxterm, to match XFree86's xterm.terminfo
21399166124Srafan#	  usage and to prevent circular links.
21400166124Srafan#	  (rxvt): add additional codes from rxvt.org.
21401166124Srafan#	  (rxvt-color): new alias
21402166124Srafan#	  (rxvt-xpm): new alias
21403166124Srafan#	  (rxvt-cygwin): like rxvt, but with special acsc codes.
21404166124Srafan#	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
21405166124Srafan#	  with a "native" MSWin GUI.  Each takes different acsc codes,
21406166124Srafan#	  which are both different from the "normal" rxvt's acsc.
21407166124Srafan#	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
21408166124Srafan#	  (cygwinDBG): ditto.
21409166124Srafan#
21410166124Srafan# 2003-09-27
21411166124Srafan#	* update gnome terminal entries -TD
21412166124Srafan#
21413166124Srafan# 2003-10-04
21414166124Srafan#	* add entries for djgpp 2.03 and 2.04 -TD
21415166124Srafan#
21416166124Srafan# 2003-10-25
21417166124Srafan#	* add alias for vtnt -TD
21418166124Srafan#	* update xterm-xfree86 for XFree86 4.4 -TD
21419166124Srafan#
21420166124Srafan# 2003-11-22
21421166124Srafan#	* add linux-vt (Andrey V Lukyanov)
21422166124Srafan#
21423166124Srafan# 2003-12-20
21424166124Srafan#	* add screen.linux -TD
21425166124Srafan#
21426166124Srafan# 2004-01-10
21427166124Srafan#	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
21428166124Srafan#
21429166124Srafan# 2004-01-17
21430166124Srafan#	* add OpenNT/Interix/SFU entries (Federico Bianchi)
21431166124Srafan#	* add vt100+ and vt-utf8 entries -TD
21432166124Srafan#	* add uwin entry -TD
21433166124Srafan#
21434166124Srafan# 2004-03-27
21435166124Srafan#	* add sgr strings to several common entries lacking them, e.g.,
21436166124Srafan#	  screen, to make the entries more portable -TD
21437166124Srafan#	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
21438166124Srafan#	* similar fixups for cvvis/cnorm various entries -TD
21439166124Srafan#
21440166124Srafan# 2004-05-22
21441166124Srafan#	* remove 'ncv' from xterm-256color (patch 188) -TD
21442166124Srafan#
21443166124Srafan# 2004-06-26
21444166124Srafan#	* add mlterm -TD
21445166124Srafan#	* add xterm-xf86-v44 -TD
21446166124Srafan#	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
21447166124Srafan#	  on G1 being used via an ISO-2022 escape sequence (report by
21448166124Srafan#	  Juliusz Chroboczek) -TD
21449166124Srafan#	* add 'hurd' entry -TD
21450166124Srafan#
21451166124Srafan# 2004-07-03
21452166124Srafan#	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
21453166124Srafan#	  xterm-basic -TD
21454166124Srafan#	* align with xterm #192's use of xterm-new -TD
21455166124Srafan#	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
21456166124Srafan#	* make xterm-new the default "xterm" -TD
21457166124Srafan#
21458166124Srafan# 2004-07-10
21459166124Srafan#	* minor fixes for emu -TD
21460166124Srafan#	* add emu-220
21461166124Srafan#	* add rmam/smam to linux (Trevor Van Bremen)
21462166124Srafan#	* change wyse acsc strings to use 'i' map rather than 'I' -TD
21463166124Srafan#	* fixes for avatar0 -TD
21464166124Srafan#	* fixes for vp3a+ -TD
21465166124Srafan#
21466166124Srafan# 2004-07-17
21467166124Srafan#	* add xterm-pc-fkeys -TD
21468166124Srafan#	* review/update gnome and gnome-rh90 entries (prompted by
21469166124Srafan#	  Redhat Bugzilla #122815) -TD
21470166124Srafan#	* review/update konsole entries -TD
21471166124Srafan#	* add sgr, correct sgr0 for kterm and mlterm -TD
21472166124Srafan#	* correct tsl string in kterm -TD
21473166124Srafan#
21474166124Srafan# 2004-07-24
21475166124Srafan#	* make ncsa-m rmacs/smacs consistent with sgr -TD
21476166124Srafan#	* add sgr, rc/sc and ech to syscons entries -TD
21477166124Srafan#	* add function-keys to decansi -TD
21478166124Srafan#	* add sgr to mterm-ansi -TD
21479166124Srafan#	* add sgr, civis, cnorm to emu -TD
21480166124Srafan#	* correct/simplify cup in addrinfo -TD
21481166124Srafan#	* corrections for gnome and konsole entries
21482166124Srafan#	  (Redhat Bugzilla #122815) -Hans de Goede
21483166124Srafan#	* modify DEC entries (vt220, etc), to add sgr string, and to use
21484166124Srafan#	  ISO-2022 strings for rmacs/smacs -TD
21485166124Srafan#
21486166124Srafan# 2004-07-31
21487166124Srafan#	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
21488166124Srafan#
21489166124Srafan# 2004-08-07
21490166124Srafan#	* improved putty entry -Robert de Bath
21491166124Srafan#
21492166124Srafan# 2004-08-14
21493166124Srafan#	* remove dch/dch1 from rxvt because they are implemented inconsistently
21494166124Srafan#	  with the common usage of bce/ech -TD
21495166124Srafan#	* remove khome from vt220 (vt220's have no home key) -TD
21496166124Srafan#	* add rxvt+pcfkeys -TD
21497166124Srafan#
21498166124Srafan# 2004-08-21
21499166124Srafan#	* modify several entries to ensure xterm mouse and cursor visibility
21500166124Srafan#	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
21501166124Srafan#	  Eterm, screen.  (The xterm entries are left alone - old ones for
21502166124Srafan#	  compatibility, and the new ones do not require this change) -TD
21503166124Srafan#
21504166124Srafan# 2004-08-28
21505166124Srafan#	* add morphos entry -Pavel Fedin
21506166124Srafan#	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
21507166124Srafan#	* corrected \E[5?l to \E[?5l in vt320 entries -TD
21508166124Srafan#
21509166124Srafan# 2004-11-20
21510166124Srafan#	* update wsvt25 entry -TD
21511166124Srafan#
21512166124Srafan# 2005-01-29
21513166124Srafan#	* update pairs for xterm-88color and xterm-256color to reflect the
21514166124Srafan#	  ncurses extended-color support -TD
21515166124Srafan#
21516166124Srafan# 2005-02-26
21517166124Srafan#	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
21518166124Srafan#	* add aixterm-16color to demonstrate 16-color capability -TD
21519166124Srafan#
21520166124Srafan# 2005-04-23
21521166124Srafan#	* add media-copy to vt100 -TD
21522166124Srafan#	* corrected acsc string for vt52 -TD
21523166124Srafan#
21524166124Srafan# 2005-04-30
21525166124Srafan#	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
21526166124Srafan#	  xterm-new -TD
21527166124Srafan#	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
21528166124Srafan#
21529166124Srafan# 2005-05-07
21530166124Srafan#	* re-corrected acsc string for vt52 -TD
21531166124Srafan#
21532166124Srafan# 2005-05-28
21533166124Srafan#	* corrected sun-il sgr string which referred to bold and underline -TD
21534166124Srafan#	* add sun-color entry -TD
21535166124Srafan#
21536166124Srafan# 2005-07-23
21537166124Srafan#	* modify sgr0 in several entries to reset alternate-charset as in the
21538166124Srafan#	  sgr string -TD
21539166124Srafan#	* modify sgr string of prism9 to better match the individual
21540166124Srafan#	  attributes -TD
21541166124Srafan#
21542166124Srafan# 2005-10-15
21543166124Srafan#	* correct order of use= in rxvt-basic -TD
21544166124Srafan#
21545166124Srafan# 2005-10-26
21546166124Srafan#	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
21547166124Srafan#
21548166124Srafan# 2005-11-12
21549166124Srafan#	* other minor fixes to cygwin based on tack -TD
21550166124Srafan#	* correct smacs in cygwin (report by Baurzhan Ismagulov).
21551166124Srafan#
21552166124Srafan# 2006-02-18
21553166124Srafan#	* add nsterm-16color entry -TD
21554166124Srafan#	* remove ncv flag from xterm-16color -TD
21555166124Srafan#	* remove setf/setb from xterm-256color to match xterm #209 -TD
21556166124Srafan#	* update mlterm entry to 2.9.2 -TD
21557166124Srafan#
21558166124Srafan# 2006-02-25
21559166124Srafan#	* fixes to make nsterm-16color match report
21560166124Srafan#	  by Christian Ebert -Alain Bench
21561166124Srafan#
21562166124Srafan# 2006-04-22
21563166124Srafan#	* add xterm+256color building block -TD
21564166124Srafan#	* add gnome-256color, putty-256color, rxvt-256color -TD
21565166124Srafan#
21566166124Srafan# 2006-05-06
21567166124Srafan#	* add hpterm-color -TD
21568166124Srafan#
21569166124Srafan# 2006-06-24
21570166124Srafan#	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
21571166124Srafan#	* add gnome-fc5 (prompted by GenToo #122566) -TD
21572166124Srafan#	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
21573166124Srafan#	* improve xterm-256color by combining the ibm+16color setaf/setab
21574166124Srafan#	  strings with SGR 48.  The setf/setb strings also are cancelled here
21575166124Srafan#	  rather than omitted so derived entries will cancel those also -Alain
21576166124Srafan#	  Bench
21577166124Srafan#
21578166124Srafan# 2006-07-01
21579166124Srafan#	* add some notes regarding copyright to terminfo.src -TD
21580166124Srafan#	* use rxvt+pcfkeys in Eterm -TD
21581166124Srafan#	* remove km and flash from gnome, Eterm and rxvt since they do not work
21582166124Srafan#	  as one would expect (km sends ESC rather than setting the 8th bit
21583166124Srafan#	  of the key) -TD
21584166124Srafan#	* add/use ansi+enq, vt100+enq and vt102+enq -TD
21585166124Srafan#	* add konsole-solaris -TD
21586166124Srafan#
21587166124Srafan# 2006-07-22
21588166124Srafan#	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
21589166124Srafan#	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
21590166124Srafan#	* modify xterm-24 to inherit from "xterm" -TD
21591166124Srafan#	* add xiterm entry -TD
21592166124Srafan#	* add putty-vt100 entry -TD
21593166124Srafan#	* corrected spelling of Michael A Dorman's name, prompted by
21594166124Srafan#	  http://www.advogato.org/person/mdorman/diary.html -TD
21595166124Srafan#
21596166124Srafan# 2006-08-05
21597166124Srafan#	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
21598166124Srafan#	* update xterm+pcfkeys to match xterm #216 -TD
21599166124Srafan#
21600166124Srafan# 2006-08-17
21601166124Srafan#	* make descriptions of xterm entries consistent with its terminfo -TD
21602166124Srafan#
21603166124Srafan# 2006-08-26
21604166124Srafan#	* add xfce, mgt -TD
21605166124Srafan#
21606166124Srafan# 2006-09-02
21607166124Srafan#	* correct acsc string in kterm -TD
21608166124Srafan#
21609166124Srafan# 2006-09-09
21610166124Srafan#	* add kon entry -TD
21611166124Srafan#	* remove invis from linux and related entries, add klone+sgr8 for those
21612166124Srafan#	  that implement the feature (or have not been shown to lack it) -TD
21613166124Srafan#
21614166124Srafan# 2006-09-23
21615166124Srafan#	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
21616166124Srafan#	* minor improvements to rxvt+pcfkeys -TD
21617166124Srafan#
21618166124Srafan# 2006-09-30
21619166124Srafan#	* fix a few typos in if/then/else expressions -TD
21620166124Srafan#
21621166124Srafan# 2006-10-07
21622166124Srafan#	* add several GNU Screen variations with 16- and 256-colors, and
21623166124Srafan#	  status line (Alain Bench).
21624166124Srafan#
21625174993Srafan# 2007-03-03
21626174993Srafan#	* add Newbury Data entries (Jean-Charles Billaud).
21627174993Srafan#
21628174993Srafan# 2007-06-10
21629174993Srafan#	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
21630174993Srafan#
21631174993Srafan# 2007-07-14
21632174993Srafan#	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
21633174993Srafan#	* add konsole-256color entry -TD
21634174993Srafan#
21635174993Srafan# 2007-08-18
21636174993Srafan#	* add 9term entry (request by Juhapekka Tolvanen) -TD
21637174993Srafan#
21638174993Srafan# 2007-10-13
21639174993Srafan#	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
21640174993Srafan#	* add shift-control- and control-modified keys for rxvt editing
21641174993Srafan#	  keypad -TD
21642174993Srafan#	* update mlterm entry to 2.9.3 -TD
21643174993Srafan#	* add mlterm+pcfkeys -TD
21644174993Srafan#
21645174993Srafan# 2007-10-20
21646174993Srafan#	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
21647174993Srafan#	  xterm+pcc0, etc., to make the corresponding building blocks reflect
21648174993Srafan#	  xterm's capabilities -TD
21649174993Srafan#	* add mrxvt entry -TD
21650174993Srafan#	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
21651174993Srafan#
21652174993Srafan# 2007-11-03
21653174993Srafan#	* correct acsc strings for h19 and z100 (Benjamin Sittler)
21654174993Srafan#
21655176187Srafan# 2007-11-11
21656176187Srafan#	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
21657176187Srafan#	  xterm starting with patch #216 -TD
21658176187Srafan#	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
21659176187Srafan#	  to match xterm #230 -TD
21660176187Srafan#	* extend xterm+pccX entries to match xterm #230 -TD
21661176187Srafan#	* add xterm+app, xterm+noapp, from xterm #230 -TD
21662176187Srafan#	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
21663176187Srafan#
2166450276Speter# The following sets edit modes for GNU EMACS.
2166550276Speter# Local Variables:
2166650276Speter# fill-prefix:"\t"
2166750276Speter# fill-column:75
2166850276Speter# comment-column:0
2166950276Speter# comment-start-skip:"^#+"
2167050276Speter# comment-start:"# "
2167150276Speter# compile-command:"tic -c terminfo.master"
2167250276Speter# End:
2167350276Speter######## SHANTIH!  SHANTIH!  SHANTIH!
21674