terminfo.src revision 178866
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#
9178866Srafan#	$Revision: 1.328 $
10178866Srafan#	$Date: 2008/04/29 00:49:41 $
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#
4362178866Srafan# Notwithstanding the manpage, screen uses its own notion of the termcap
4363178866Srafan# and some keys from "screen.<term>" are ignored.  Here is an entry which
4364178866Srafan# covers those (tested with screen 4.00.02) -TD
4365178866Srafanscreen+fkeys|function-keys according to screen,
4366178866Srafan	kend=\E[4~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kfnd@,
4367178866Srafan	khome=\E[1~, kslt@,
4368178866Srafan#
436976726Speter# Here are a few customized entries which are useful -TD
437076726Speter#
437176726Speter# Notes:
437276726Speter# (a)	screen does not support invis.
437376726Speter# (b)	screen's implementation of bw is incorrect according to tack.
437476726Speter# (c)	screen appears to hardcode the strings for khome/kend, making it
4375178866Srafan#	necessary to override the "use=" clause's values (screen+fkeys).
437676726Speter# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
437776726Speter#	which is NOT the same as the terminfo screen.<term>.
437876726Speter# (e)	when screen finds one of these customized entries, it sets $TERM to
437976726Speter#	match.  Hence, no "screen.xterm" entry is provided, since that would
438076726Speter#	create heartburn for people running remote xterm's.
438176726Speter#
438276726Speter#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
438376726Speter#	since the default translations override the built-in keycode
438476726Speter#	translation.  They are suppressed here to show what is tested by tack.
4385166124Srafanscreen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
4386166124Srafan	bce@, bw,
4387178866Srafan	invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
4388166124Srafan	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
4389178866Srafan	use=screen+fkeys, use=xterm-new,
439076726Speter# xterm-r6 does not really support khome/kend unless it is propped up by
439176726Speter# the translations resource.
4392166124Srafanscreen.xterm-r6|screen customized for X11R6 xterm,
4393178866Srafan	bw, use=screen+fkeys, use=xterm-r6,
439476726Speter# Color applications running in screen and TeraTerm do not play well together
4395166124Srafan# on Solaris because Sun's curses implementation gets confused.
4396166124Srafanscreen.teraterm|disable ncv in teraterm,
4397166124Srafan	ncv#127,
4398166124Srafan	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,
4399178866Srafan	use=screen+fkeys, use=screen,
4400178866Srafan# Other terminals
4401178866Srafanscreen.rxvt|screen in rxvt,
4402178866Srafan	bw,
4403178866Srafan	cvvis@, flash@, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
4404178866Srafan	kcuu1=\EOA, use=screen+fkeys, use=vt100+enq,
4405178866Srafan	use=rxvt+pcfkeys, use=vt220+keypad, use=screen,
4406166124Srafan# fix the backspace key
4407166124Srafanscreen.linux|screen in linux console,
4408166124Srafan	bw,
4409178866Srafan	kbs=\177, kcbt@, use=screen+fkeys, use=screen,
441076726Speter
4411166124Srafanscreen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
4412166124Srafan	cols#132, use=screen,
441350276Speter
4414166124Srafanscreen2|old VT 100/ANSI X3.64 virtual terminal,
4415166124Srafan	cols#80, it#8, lines#24,
4416166124Srafan	cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
4417166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
4418166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4419166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4420166124Srafan	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
4421166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
4422166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
4423166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
4424166124Srafan	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
4425166124Srafan	rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
4426166124Srafan	smso=\E[3m, smul=\E[4m, tbc=\E[3g,
442750276Speter# (screen3: removed unknown ":xv:LP:G0:" -- esr)
4428166124Srafanscreen3|older VT 100/ANSI X3.64 virtual terminal,
4429166124Srafan	km, mir, msgr,
4430166124Srafan	cols#80, it#8, lines#24,
4431166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
4432166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4433166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4434166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
4435166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4436166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4437166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
4438166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
4439166124Srafan	kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
4440166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
4441166124Srafan	sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
4442166124Srafan	smul=\E[4m, tbc=\E[3g,
444350276Speter
444450276Speter# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
444550276Speter# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
444650276Speter# been maintained until recently by the National Center for Supercomputer
444750276Speter# Applications, and it is feature rich, stable and free.  It can be downloaded
444850276Speter# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
444950276Speter# xterm+sl, and the docs at NCSA.  It works well.
445050276Speter#
445150276Speter# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
445250276Speter# The terminal options should be set as follows:
445350276Speter#         Xterm sequences ON
445450276Speter#         use VT wrap mode ON
445550276Speter#         use Emacs arrow keys OFF
445650276Speter#         CTRL-COMND is Emacs meta ON
445750276Speter#         8 bit mode ON
445850276Speter#         answerback string: "ncsa-vt220-8"
445950276Speter#         setup keys: all disabled
446050276Speter#
446156639Speter# Application mode is not used.
446250276Speter#
446350276Speter# Other special mappings:
446450276Speter#	Apple		VT220
446550276Speter#	HELP 		Find
446650276Speter#	HOME		Insert here
446750276Speter#	PAGEUP		Remove
446850276Speter#	DEL		Select
446950276Speter#	END		Prev Screen
447050276Speter#	PAGEDOWN	Next Screen
447150276Speter#
447250276Speter# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
447350276Speter# text.
447450276Speter#
447550276Speter# The status-line manipulation is a mapping of the xterm-compatible control
447650276Speter# sequences for setting the window-title.  So you must use tsl and fsl in
447750276Speter# pairs, since the latter ends the string that is loaded to the window-title.
4478166124Srafanncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4479166124Srafan	am, hs, km, mir, msgr, xenl,
4480166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4481166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4482166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
4483166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4484166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4485166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4486166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4487166124Srafan	dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
4488166124Srafan	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
4489166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
4490166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
4491166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
4492166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4493166124Srafan	kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
4494166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
4495166124Srafan	kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
4496166124Srafan	kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
4497166124Srafan	khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
4498166124Srafan	rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
4499166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
4500166124Srafan	rmso=\E[27m, rmul=\E[24m,
4501166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
4502166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
4503166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
4504166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
4505166124Srafan	u8=\E[?62;1;6c, use=ansi+enq,
4506166124Srafanncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4507166124Srafan	use=ncsa-m, use=klone+color,
4508166124Srafanncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4509166124Srafan	hs@,
4510166124Srafan	dsl@, fsl@, tsl@, use=ncsa,
4511166124Srafanncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4512166124Srafan	hs@,
4513166124Srafan	dsl@, fsl@, tsl@, use=ncsa-m,
451456639Speter# alternate -TD:
451556639Speter# The documented function-key mapping refers to the Apple Extended Keyboard
451656639Speter# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
451756639Speter# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
451856639Speter# some keyboards and many applications require these as F1-F4.
451956639Speter#
4520166124Srafanncsa-vt220|NCSA Telnet using vt220-compatible function keys,
4521166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
4522166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
4523166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
4524166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
4525166124Srafan	kf8=\E[19~, kf9=\E[20~, use=ncsa,
452650276Speter
452750276Speter#### Pilot Pro Palm-Top
452850276Speter#
452966963Speter# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4530166124Srafan# http://www.ai/~iang/TGssh/
4531166124Srafanpilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
4532166124Srafan	OTbs, am, xenl,
4533166124Srafan	cols#39, lines#16,
4534166124Srafan	bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
4535166124Srafan	cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
4536166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
4537166124Srafan	rmso=\EB, smso=\Eb,
453850276Speter
453997049Speter# From: Federico Bianchi <bianchi@www.arte.unipi.it>
454097049Speter# These entries are for the Embeddable Linux Kernel System (ELKS)
454197049Speter# project - an heavily stripped down Linux to be run on 16 bit
454297049Speter# boxes or, eventually, to be used in embedded systems - and have been
454397049Speter# adapted from the stock ELKS termcap. The project itself looks stalled,
454497049Speter# and the latest improvements I know of date back to March 2000.
454597049Speter#
454697049Speter# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
454797049Speter# as an added bonus, this deals with all the capabilities common to
454897049Speter# both VT52 and ANSI (or, eventually, "special") modes.
454997049Speter
4550166124Srafanelks-glasstty|ELKS glass-TTY capabilities,
4551166124Srafan	OTbs, am,
4552166124Srafan	cols#80, it#8, lines#25,
4553166124Srafan	bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
4554166124Srafan	nel=^M^J,
455597049Speter
4556166124Srafanelks-vt52|ELKS vt52 console,
4557166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
4558166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK,
4559166124Srafan	home=\EH, use=elks-glasstty,
456097049Speter
4561166124Srafanelks-ansi|ELKS ANSI console,
4562166124Srafan	clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
4563166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4564166124Srafan	rmso=\E[m, smso=\E[7m, use=elks-glasstty,
456597049Speter
456697049Speter# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
456797049Speter# instead of VT52, but the "elks" entry still refers to the latter.
456897049Speter
4569166124Srafanelks|default ELKS console,
4570166124Srafan	use=elks-vt52,
457197049Speter
457297049Speter# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
457397049Speter# one but in screen size
457497049Speter
4575166124Srafansibo|ELKS SIBO console,
4576166124Srafan	cols#61, it#8, lines#20, use=elks-vt52,
457797049Speter
457850276Speter######## COMMERCIAL WORKSTATION CONSOLES
457950276Speter#
458050276Speter
458150276Speter#### Alpha consoles
458250276Speter#
458350276Speter
458450276Speter# This is from the OSF/1 Release 1.0 termcap file
4585166124Srafanpccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
4586166124Srafan	am, xon,
4587166124Srafan	cols#80, lines#25,
4588166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4589166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
4590166124Srafan	el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
4591166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
4592166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
459350276Speter
459450276Speter#### Sun consoles
459550276Speter#
459650276Speter
459750276Speter# :is1: resets scrolling region in case a previous user had used "tset vt100"
4598166124Srafanoldsun|Sun Microsystems Workstation console,
4599166124Srafan	OTbs, am, km, mir, msgr,
4600166124Srafan	cols#80, it#8, lines#34,
4601166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
4602166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4603166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4604166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4605166124Srafan	is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4606166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
4607166124Srafan	rmso=\E[m, sgr0=\E[m, smso=\E[7m,
460850276Speter# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
460950276Speter# <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
461050276Speter# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
4611166124Srafansun-il|Sun Microsystems console with working insert-line,
4612166124Srafan	am, km, msgr,
4613166124Srafan	cols#80, lines#34,
4614166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4615166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4616166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4617166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4618166124Srafan	kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4619166124Srafan	kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
4620166124Srafan	kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
4621166124Srafan	kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
4622166124Srafan	kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
4623166124Srafan	knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
4624166124Srafan	kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
4625166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m, smso=\E[7m,
4626166124Srafan	u8=\E[1t, u9=\E[11t,
462762449Speter# On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
462862449Speter# flake out on the last line.  Unfortunately, without them the terminal has no
462962449Speter# way to scroll.
4630166124Srafansun-cgsix|sun-ss5|Sun SparcStation 5 console,
4631166124Srafan	il@, il1@, use=sun-il,
463250276Speter# If you are using an SS5, change the sun definition to use sun-ss5.
4633166124Srafansun|sun1|sun2|Sun Microsystems Inc. workstation console,
4634166124Srafan	use=sun-il,
463550276Speter
463650276Speter# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
4637166124Srafansun-s|Sun Microsystems Workstation window with status line,
4638166124Srafan	hs,
4639166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
4640166124Srafansun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
4641166124Srafan	hs,
4642166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
4643166124Srafansun-48|Sun 48-line window,
4644166124Srafan	cols#80, lines#48, use=sun,
4645166124Srafansun-34|Sun 34-line window,
4646166124Srafan	cols#80, lines#34, use=sun,
4647166124Srafansun-24|Sun 24-line window,
4648166124Srafan	cols#80, lines#24, use=sun,
4649166124Srafansun-17|Sun 17-line window,
4650166124Srafan	cols#80, lines#17, use=sun,
4651166124Srafansun-12|Sun 12-line window,
4652166124Srafan	cols#80, lines#12, use=sun,
4653166124Srafansun-1|Sun 1-line window for sysline,
4654166124Srafan	eslok, hs,
4655166124Srafan	cols#80, lines#1,
4656166124Srafan	dsl=^L, fsl=\E[K, tsl=^M, use=sun,
4657166124Srafansun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
4658166124Srafan	ich1@, rmir@, smir@, use=sun,
4659166124Srafansun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
4660166124Srafan	lines#35,
4661166124Srafan	rmcup=\E[>4h, smcup=\E[>4l, use=sun,
4662166124Srafansun-type4|Sun Workstation console with type 4 keyboard,
4663166124Srafan	kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z,
4664166124Srafan	kcuu1=\E[215z, use=sun-il,
466550276Speter
4666166124Srafan# Most of the current references to sun-color are from users wondering why this
4667166124Srafan# is the default on install.  Details from reading the wscons manpage, adding
4668166124Srafan# cub, etc., here (rather than in the base sun-il entry) since it is not clear
4669166124Srafan# when those were added -TD
4670166124Srafansun-color|Sun Microsystems Workstation console with color support (IA systems),
4671166124Srafan	colors#8, pairs#64,
4672166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
4673166124Srafan	cuu=\E[%p1%dA, home=\E[H, op=\E[m\E[p, setab=\E[4%p1%dm,
4674166124Srafan	setaf=\E[3%p1%dm,
4675166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4676166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4677166124Srafan	use=sun,
4678166124Srafan
467950276Speter#### Iris consoles
468050276Speter#
468150276Speter
468250276Speter# (wsiris: this had extension capabilities
468350276Speter#	:HS=\E7F2:HE=\E7F7:\
468450276Speter#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
4685166124Srafan# See the note on Iris extensions near the end of this file.
4686166124Srafan# Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
468750276Speter# <flash> from BRL -- esr)
4688166124Srafanwsiris|iris40|iris emulating a 40 line visual 50 (approximately),
4689166124Srafan	OTbs, OTnc, OTpt, am,
4690166124Srafan	OTkn#3, cols#80, it#8, lines#40,
4691166124Srafan	OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
4692166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
4693166124Srafan	cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
4694166124Srafan	flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
4695166124Srafan	ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
4696166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
4697166124Srafan	kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
4698166124Srafan	rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
4699166124Srafan	smul=\E7R2\E9P,
470050276Speter
470150276Speter#### NeWS consoles
470250276Speter#
470350276Speter# Console terminal windows under the NeWS (Sun's Display Postscript windowing
470450276Speter# environment).   Note: these have nothing to do with Sony's News workstation
470550276Speter# line.
470650276Speter#
470750276Speter
470850276Speter# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
470950276Speter# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
4710166124Srafanpsterm|psterm-basic|NeWS psterm-80x34,
4711166124Srafan	OTbs, am, hs, km, ul,
4712166124Srafan	cols#80, it#8, lines#34,
4713166124Srafan	blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
4714166124Srafan	cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
4715166124Srafan	dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
4716166124Srafan	home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
4717166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
4718166124Srafan	ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
4719166124Srafan	sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
4720166124Srafan	tsl=\EOl,
4721166124Srafanpsterm-96x48|NeWS psterm 96x48,
4722166124Srafan	cols#96, lines#48, use=psterm,
4723166124Srafanpsterm-90x28|NeWS psterm 90x28,
4724166124Srafan	cols#90, lines#28, use=psterm,
4725166124Srafanpsterm-80x24|NeWS psterm 80x24,
4726166124Srafan	cols#80, lines#24, use=psterm,
472750276Speter# This is a faster termcap for psterm.  Warning:  if you use this termcap,
472850276Speter# some control characters you type will do strange things to the screen.
472950276Speter# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
4730166124Srafanpsterm-fast|NeWS psterm fast version (flaky ctrl chars),
4731166124Srafan	OTbs, am, hs, km, ul,
4732166124Srafan	cols#80, it#8, lines#34,
4733166124Srafan	blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
4734166124Srafan	cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
4735166124Srafan	dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
4736166124Srafan	il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4737166124Srafan	kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
4738166124Srafan	rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
4739166124Srafan	smso=^Oo, smul=^Ou, tsl=^Ol,
474050276Speter
474150276Speter#### NeXT consoles
474250276Speter#
474350276Speter# Use `glasstty' for the Workspace application
474450276Speter#
474550276Speter
474650276Speter# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
4747166124Srafannext|NeXT console,
4748166124Srafan	am, xt,
4749166124Srafan	cols#80, it#8, lines#24,
4750166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4751166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4752166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
4753166124Srafan	rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
4754166124Srafannextshell|NeXT Shell application,
4755166124Srafan	am,
4756166124Srafan	cols#80,
4757166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
4758166124Srafan	kcud1=^J, nel=^M^J,
475950276Speter
476050276Speter#### Sony NEWS workstations
476150276Speter#
476250276Speter
476350276Speter# (news-unk: this had :KB=news: -- esr)
4764166124Srafannews-unk|SONY NEWS vt100 emulator common entry,
4765166124Srafan	OTbs, OTpt, am, xenl,
4766166124Srafan	cols#80,
4767166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
4768166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4769166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
4770166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I,
4771166124Srafan	if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
4772166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
4773166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
4774166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
4775166124Srafan	kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
4776166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4777166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
4778166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
477950276Speter#
478050276Speter# (news-29: this had :TY=ascii: --esr)
4781166124Srafannews-29,
4782166124Srafan	lines#29, use=news-unk,
478350276Speter# (news-29-euc: this had :TY=euc: --esr)
4784166124Srafannews-29-euc,
4785166124Srafan	use=news-29,
478650276Speter# (news-29-sjis: this had :TY=sjis: --esr)
4787166124Srafannews-29-sjis,
4788166124Srafan	use=news-29,
478950276Speter#
479050276Speter# (news-33: this had :TY=ascii: --esr)
4791166124Srafannews-33,
4792166124Srafan	lines#33, use=news-unk,
479350276Speter# (news-33-euc: this had :TY=euc: --esr)
4794166124Srafannews-33-euc,
4795166124Srafan	use=news-33,
479650276Speter# (news-33-sjis: this had :TY=sjis: --esr)
4797166124Srafannews-33-sjis,
4798166124Srafan	use=news-33,
479950276Speter#
480050276Speter# (news-42: this had :TY=ascii: --esr)
4801166124Srafannews-42,
4802166124Srafan	lines#42, use=news-unk,
480350276Speter# (news-42-euc: this had :TY=euc: --esr)
4804166124Srafannews-42-euc,
4805166124Srafan	use=news-42,
480650276Speter# (news-42-sjis: this had :TY=sjis: --esr)
4807166124Srafannews-42-sjis,
4808166124Srafan	use=news-42,
480950276Speter#
4810166124Srafan#	NEWS-OS old termcap entry
481150276Speter#
481250276Speter# (news-old-unk: this had :KB=news:TY=sjis: --esr)
4813166124Srafannews-old-unk|SONY NEWS vt100 emulator common entry,
4814166124Srafan	OTbs, OTpt, am, xenl,
4815166124Srafan	cols#80, vt#3,
4816166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
4817166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4818166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
4819166124Srafan	home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H,
4820166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
4821166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
4822166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4823166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
4824166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
482550276Speter#
482650276Speter# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
4827166124Srafannwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
4828166124Srafan	OTbs,
4829166124Srafan	lines#40,
4830166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4831166124Srafan	use=news-old-unk,
483250276Speter#
483350276Speter# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4834166124Srafannwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
4835166124Srafan	lines#42,
4836166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8,
4837166124Srafan	use=news-old-unk,
483850276Speter#
483950276Speter# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
4840166124Srafannwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
4841166124Srafan	OTbs,
4842166124Srafan	lines#40,
4843166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4844166124Srafan	use=news-old-unk,
484550276Speter#
484650276Speter# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4847166124Srafannwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
4848166124Srafan	OTbs,
4849166124Srafan	lines#31,
4850166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4851166124Srafan	use=news-old-unk,
485250276Speter#
485350276Speter# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
485450276Speter# also the alias vt100-bm.
4855166124Srafannwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines,
4856166124Srafan	OTbs,
4857166124Srafan	lines#33,
4858166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8,
4859166124Srafan	use=news-old-unk,
486050276Speter#
486150276Speter# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
4862166124Srafannwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
4863166124Srafan	OTbs,
4864166124Srafan	lines#31,
4865166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4866166124Srafan	use=news-old-unk,
486750276Speter#
486850276Speter# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
4869166124Srafannews28|sony vt100 emulator 28 lines,
4870166124Srafan	OTbs,
4871166124Srafan	lines#28,
4872166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8,
4873166124Srafan	use=news-old-unk,
487450276Speter#
487550276Speter# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
4876166124Srafannews29|news28-a|sony vt100 emulator 29 lines,
4877166124Srafan	lines#29,
4878166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8,
4879166124Srafan	use=news-old-unk,
488050276Speter#
488150276Speter# (news511: this had :TY=sjis: --esr)
4882166124Srafannwp511|nwp-511|nwp-511 vt100,
4883166124Srafan	OTbs, OTpt, am, xenl,
4884166124Srafan	cols#80, lines#24,
4885166124Srafan	clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
4886166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
4887166124Srafan	ed=\E[J$<30/>, el=\E[K$<3/>,
4888166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
4889166124Srafan	il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
4890166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
4891166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
4892166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
4893166124Srafan	rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
4894166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
489550276Speter# (news517: this had :TY=sjis:. --esr)
4896166124Srafannwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
4897166124Srafan	eslok, hs,
4898166124Srafan	cols#80, lines#30,
4899166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
4900166124Srafan	is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
4901166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
490250276Speter# (news517-w: this had :TY=sjis:. --esr)
4903166124Srafannwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
4904166124Srafan	eslok, hs,
4905166124Srafan	cols#132, lines#50,
4906166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
4907166124Srafan	is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
4908166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
4909166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
491050276Speter
491150276Speter#### Common Desktop Environment
491250276Speter#
491350276Speter
491450276Speter# This ships with Sun's CDE in Solaris 2.5
491550276Speter# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
4916166124Srafandtterm|CDE desktop terminal,
4917166124Srafan	am, mir, msgr, xenl, xon,
4918166124Srafan	cols#80, it#8, lines#24, lm#0, ncv@,
4919166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4920166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4921166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
4922166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4923166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4924166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4925166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
4926166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
4927166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
4928166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
4929166124Srafan	ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
4930166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4931166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
4932166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
4933166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
4934166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
4935166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4936166124Srafan	kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
4937166124Srafan	kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4938166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m,
4939166124Srafan	sc=\E7,
4940166124Srafan	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%;,
4941166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
4942166124Srafan	smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color,
494350276Speter
494450276Speter#### Non-Unix Consoles
494550276Speter#
494650276Speter
4947166124Srafan### EMX termcap.dat compatibility modes
4948166124Srafan#
4949166124Srafan# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
4950166124Srafan#		ka1,kh		kcuu1		kpp,ka3
4951166124Srafan#
4952166124Srafan#		Left=\0K	5=\0L		Right=\0M
4953166124Srafan#		kcub1		kb2		kcuf1
4954166124Srafan#
4955166124Srafan#		End=\0O		Down=\0P	NxPag=\0Q
4956166124Srafan#		kc1,kend	kcud1		kc3,knp
4957166124Srafan#
4958166124Srafan#		Ins=\0R		Del=\0S
4959166124Srafan#		kich1		kdch1
4960166124Srafan#
4961166124Srafan# On keyboard with 12 function keys,
4962166124Srafan#	shifted f-keys: F13-F24
4963166124Srafan#	control f-keys: F25-F36
4964166124Srafan#	alt f-keys:     F37-F48
4965166124Srafan# The shift/control/alt keys do not modify each other, but alt overrides both,
4966166124Srafan# and control overrides shift.
4967166124Srafan#
4968166124Srafan# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
4969166124Srafan# no_color_video to inform the application that standout(1), underline(2)
4970166124Srafan# reverse(4) and invisible(64) don't work with color.
4971166124Srafanemx-base|DOS special keys,
4972166124Srafan	bce, bw,
4973166124Srafan	it#8, ncv#71,
4974166124Srafan	bel=^G, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q,
4975166124Srafan	kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
4976166124Srafan	kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205,
4977166124Srafan	kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W,
4978166124Srafan	kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\,
4979166124Srafan	kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_,
4980166124Srafan	kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d,
4981166124Srafan	kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212,
4982166124Srafan	kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l,
4983166124Srafan	kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
4984166124Srafan	kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
4985166124Srafan	kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
4986166124Srafan	use=ansi.sys,
4987166124Srafan
498850276Speter# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
498950276Speter# a Unix-style environment used on OS/2.  (Note that the suffix makes some
499050276Speter# names longer than 14 characters, the nominal maximum).
499150276Speter#
499250276Speter# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
4993166124Srafanansi-emx|ANSI.SYS color,
4994166124Srafan	am, bce, eo, mir, msgr, xon,
4995166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
4996166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4997166124Srafan	clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
4998166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
4999166124Srafan	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
5000166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
5001166124Srafan	kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
5002166124Srafan	rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
5003166124Srafan	rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
5004166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5005166124Srafan	sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
5006166124Srafan	smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
5007166124Srafan	u9=\E[c, use=emx-base,
5008166124Srafan# nice colors for Emacs (white on blue, mode line white on cyan)
5009166124Srafanansi-color-2-emx|ANSI.SYS color 2,
5010166124Srafan	clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
5011166124Srafan	rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec,
5012166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m,
5013166124Srafan	smul=\E[1;36;44m, use=ansi-emx,
5014166124Srafan# nice colors for Emacs (white on black, mode line black on cyan)
5015166124Srafanansi-color-3-emx|ANSI.SYS color 3,
5016166124Srafan	clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m,
5017166124Srafan	rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec,
5018166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m,
5019166124Srafan	smul=\E[0;36;40m, use=ansi-emx,
5020166124Srafanmono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
5021166124Srafan	am,
5022166124Srafan	cols#80, it#8, lines#24,
5023166124Srafan	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
5024166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
5025166124Srafan	ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
5026166124Srafan	kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
5027166124Srafan	kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
5028166124Srafan	kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
5029166124Srafan	sgr0=\E[0m,
503050276Speter
503156639Speter# Use this for cygwin32 (tested with beta 19.1)
503256639Speter# underline is colored bright magenta
503356639Speter# shifted kf1-kf12 are kf11-kf22
5034166124SrafancygwinB19|ansi emulation for cygwin32,
5035166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5036166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5037166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5038166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5039166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5040166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5041166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
5042166124Srafan	use=ansi.sys,
504356639Speter
504476726Speter# Use this for cygwin (tested with version 1.1.0).
504576726Speter# I've combined pcansi and linux.  Some values of course were different and
504676726Speter# I've indicated which of these were and which I used.
504776726Speter# Cheers, earnie_boyd@yahoo.com
504876726Speter# several changes based on running with tack and comparing with older entry -TD
5049166124Srafan# more changes from csw:
5050166124Srafan#   add    cbt   [backtab]
5051166124Srafan#   remove eo    [erase overstrike with blank]
5052166124Srafan#   change clear was \E[H\E[J  now \E[2J  (faster?)
5053166124Srafan#   remove cols
5054166124Srafan#   remove lines
5055166124Srafan#   remove ncv#3 [colors collide with highlights, bitmask] not applicable
5056166124Srafan#                to MSDOS box?
5057166124Srafan#   add    cub   [cursor back param]
5058166124Srafan#   add    cuf   [cursor forward param]
5059166124Srafan#   add    cuu   [cursor up param]
5060166124Srafan#   add    cud   [cursor down param]
5061166124Srafan#   add    hs    [has status line]
5062166124Srafan#   add    fsl   [return from status line]
5063166124Srafan#   add    tsl   [go to status line]
5064166124Srafan#   add    smacs [Start alt charset] (not sure if this works)
5065166124Srafan#   add    rmacs [End alt charset]   (ditto)
5066166124Srafan#   add    smcup [enter_ca_mode] (save console; thanks Corinna)
5067166124Srafan#   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
5068166124Srafan#   add    kb2   [center of keypad]
5069166124Srafan#   add    u8    [user string 8] \E[?6c
5070166124Srafan#   add    el    [clear to end of line] \E[K
5071166124Srafan# Notes:
5072166124Srafan#   cnorm [make cursor normal] not implemented
5073166124Srafan#   flash [flash] not implemented
5074166124Srafan#   blink [blink] not implemented very usefully in cygwin? \E[5m
5075166124Srafan#   dim   [dim] not implemented very usefully in cygwin? \E[2m
5076166124Srafan#   cub1  [cursor back 1] typically \E[D, but ^H is faster?
5077166124Srafan#   kNXT  [shifted next key] not implemented
5078166124Srafan#   kPRV  [shifted prev key] not implemented
5079166124Srafan#   khome [home key] really is \E[1~ NOT \E[H
5080166124Srafan#   tbc   [clear tab stops] not implemented
5081166124Srafan#   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
5082166124Srafan#   smpch [Start PC charset] is \E[11m, same as smacs
5083166124Srafan#   rmpch [End PC charset] is \E[10m, same as rmacs
5084166124Srafan#   mir   [move in insert mode] fails in tack?
5085166124Srafan#   bce   [back color erase] causes problems with change background color?
5086166124Srafan#   cvvis [make cursor very visible] causes a stackdump when testing with
5087166124Srafan#         testcurs using the output option? \E[?25h\E[?8c
5088166124Srafan#   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
5089166124Srafan#   ech   [erase characters param] broken \E[%p1%dX
5090166124Srafan#   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
5091166124Srafan#
5092166124Srafan# 2005/11/12 -TD
5093166124Srafan#	Remove cbt since it does not work in current cygwin
5094166124Srafan#	Add 'mir' and 'in' flags based on tack
5095166124Srafancygwin|ansi emulation for Cygwin,
5096166124Srafan	am, hs, mir, msgr, xon,
5097166124Srafan	colors#8, it#8, pairs#64,
5098166124Srafan	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,
5099166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD,
5100166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5101166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5102166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5103166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, home=\E[H,
5104166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
5105166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
5106166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5107166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5108166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5109166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5110166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5111166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5112166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
5113166124Srafan	nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
5114166124Srafan	rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
5115166124Srafan	rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
5116166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5117166124Srafan	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,
5118166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h,
5119166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
5120166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq,
512176726Speter
5122166124Srafan# I've supplied this so that you can help test new values and add other
5123166124Srafan# features.  Cheers, earnie_boyd@yahoo.com.
5124166124Srafan#
5125166124Srafan# Some features are from pcansi.  The op value is from linux.  Function-keys
5126166124Srafan# are from linux.  These have been tested not to cause problems.  xenl was in
5127166124Srafan# this list, but DOES cause problems so it has been removed
5128166124SrafancygwinDBG|Debug Version for Cygwin,
5129166124Srafan	am, eo, mir, msgr, xon,
5130166124Srafan	colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
5131166124Srafan	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,
5132166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
5133166124Srafan	cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
5134166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5135166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5136166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
5137166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
5138166124Srafan	flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
5139166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5140166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
5141166124Srafan	kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5142166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
5143166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
5144166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
5145166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
5146166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5147166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5148166124Srafan	knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
5149166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
5150166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5151166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5152166124Srafan	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,
5153166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
5154166124Srafan	smul=\E[4m, tbc=\E[2g, vpa=\E[%i%p1%dd, use=vt102+enq,
5155166124Srafan
5156166124Srafan# Key definitions:
5157166124Srafan# The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
5158166124Srafan# encodings used by other x86 environments.  All others are invented for DJGPP.
5159166124Srafan# Oddly enough, while several combinations of modifiers are tabulated, there is
5160166124Srafan# none for shifted cursor keys.
5161166124Srafan#
5162166124Srafan#	F1			\E[[A
5163166124Srafan#	F2			\E[[B
5164166124Srafan#	F3			\E[[C
5165166124Srafan#	F4			\E[[D
5166166124Srafan#	F5			\E[[E
5167166124Srafan#	F6			\E[17~
5168166124Srafan#	F7			\E[18~
5169166124Srafan#	F8			\E[19~
5170166124Srafan#	F9			\E[20~
5171166124Srafan#	F10			\E[21~
5172166124Srafan#	F11			\E[23~
5173166124Srafan#	F12			\E[24~
5174166124Srafan#
5175166124Srafan#	Delete			\E[3~
5176166124Srafan#	Down Arrow		\E[B
5177166124Srafan#	End			\E[4~
5178166124Srafan#	Home			\E[1~
5179166124Srafan#	Insert			\E[2~
5180166124Srafan#	Left Arrow		\E[D
5181166124Srafan#	Page Down		\E[6~
5182166124Srafan#	Page Up			\E[5~
5183166124Srafan#	Right Arrow		\E[C
5184166124Srafan#	Up Arrow		\E[A
5185166124Srafan#
5186166124Srafan#	Shift-F1		\E[25~
5187166124Srafan#	Shift-F2		\E[26~
5188166124Srafan#	Shift-F3		\E[27~
5189166124Srafan#	Shift-F4		\E[28~
5190166124Srafan#	Shift-F5		\E[29~
5191166124Srafan#	Shift-F6		\E[30~
5192166124Srafan#	Shift-F7		\E[31~
5193166124Srafan#	Shift-F8		\E[32~
5194166124Srafan#	Shift-F9		\E[33~
5195166124Srafan#	Shift-F10		\E[34~
5196166124Srafan#	Shift-F11		\E[35~
5197166124Srafan#	Shift-F12		\E[36~
5198166124Srafan#
5199166124Srafan#	Ctrl-F1			\E[47~
5200166124Srafan#	Ctrl-F2			\E[48~
5201166124Srafan#	Ctrl-F3			\E[49~
5202166124Srafan#	Ctrl-F4			\E[50~
5203166124Srafan#	Ctrl-F5			\E[51~
5204166124Srafan#	Ctrl-F6			\E[52~
5205166124Srafan#	Ctrl-F7			\E[53~
5206166124Srafan#	Ctrl-F8			\E[54~
5207166124Srafan#	Ctrl-F9			\E[55~
5208166124Srafan#	Ctrl-F10		\E[56~
5209166124Srafan#	Ctrl-F11		\E[57~
5210166124Srafan#	Ctrl-F12		\E[58~
5211166124Srafan#
5212166124Srafan#	Ctrl-Delete		\E[43~
5213166124Srafan#	Ctrl-Down Arrow		\E[38~
5214166124Srafan#	Ctrl-End		\E[44~
5215166124Srafan#	Ctrl-Home		\E[41~
5216166124Srafan#	Ctrl-Insert		\E[42~
5217166124Srafan#	Ctrl-Left Arrow		\E[39~
5218166124Srafan#	Ctrl-Page Down		\E[46~
5219166124Srafan#	Ctrl-Page Up		\E[45~
5220166124Srafan#	Ctrl-Right Arrow	\E[40~
5221166124Srafan#	Ctrl-Up Arrow		\E[37~
5222166124Srafan#
5223166124Srafan#	Alt-F1			\E[59~
5224166124Srafan#	Alt-F2			\E[60~
5225166124Srafan#	Alt-F3			\E[61~
5226166124Srafan#	Alt-F4			\E[62~
5227166124Srafan#	Alt-F5			\E[63~
5228166124Srafan#	Alt-F6			\E[64~
5229166124Srafan#	Alt-F7			\E[65~
5230166124Srafan#	Alt-F8			\E[66~
5231166124Srafan#	Alt-F9			\E[67~
5232166124Srafan#	Alt-F10			\E[68~
5233166124Srafan#	Alt-F11			\E[79~
5234166124Srafan#	Alt-F12			\E[80~
5235166124Srafan#
5236166124Srafan#	Alt-Delete		\E[65~
5237166124Srafan#	Alt-Down Arrow		\E[60~
5238166124Srafan#	Alt-End			\E[66~
5239166124Srafan#	Alt-Home		\E[41~
5240166124Srafan#	Alt-Insert		\E[64~
5241166124Srafan#	Alt-Left Arrow		\E[61~
5242166124Srafan#	Alt-Page Down		\E[68~
5243166124Srafan#	Alt-Page Up		\E[67~
5244166124Srafan#	Alt-Right Arrow		\E[62~
5245166124Srafan#	Alt-Up Arrow		\E[59~
5246166124Srafan#
5247166124Srafan# Also:
5248166124Srafan#	Alt-A			\E[82~
5249166124Srafan#	Alt-B			\E[82~
5250166124Srafan#	Alt-C			\E[83~
5251166124Srafan#	Alt-D			\E[84~
5252166124Srafan#	Alt-E			\E[85~
5253166124Srafan#	Alt-F			\E[86~
5254166124Srafan#	Alt-G			\E[87~
5255166124Srafan#	Alt-H			\E[88~
5256166124Srafan#	Alt-I			\E[89~
5257166124Srafan#	Alt-J			\E[90~
5258166124Srafan#	Alt-K			\E[91~
5259166124Srafan#	Alt-L			\E[92~
5260166124Srafan#	Alt-M			\E[93~
5261166124Srafan#	Alt-N			\E[94~
5262166124Srafan#	Alt-O			\E[95~
5263166124Srafan#	Alt-P			\E[96~
5264166124Srafan#	Alt-Q			\E[97~
5265166124Srafan#	Alt-R			\E[98~
5266166124Srafan#	Alt-S			\E[99~
5267166124Srafan#	Alt-T			\E[100~
5268166124Srafan#	Alt-U			\E[101~
5269166124Srafan#	Alt-V			\E[102~
5270166124Srafan#	Alt-W			\E[103~
5271166124Srafan#	Alt-X			\E[104~
5272166124Srafan#	Alt-Y			\E[105~
5273166124Srafan#	Alt-Z			\E[106~
5274166124Srafandjgpp|ansi emulation for DJGPP alpha,
5275166124Srafan	am, bce, msgr, xhp, xon, xt,
5276166124Srafan	colors#8, it#8, pairs#64,
5277166124Srafan	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,
5278166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5279166124Srafan	clear=\E[H\E[J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, cub1=^H,
5280166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5281166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5282166124Srafan	cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5283166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
5284166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
5285166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5286166124Srafan	indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D,
5287166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
5288166124Srafan	kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
5289166124Srafan	kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
5290166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5291166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J,
5292166124Srafan	op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m,
5293166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5294166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m,
5295166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
5296166124Srafan
5297166124Srafandjgpp203|Entry for DJGPP 2.03,
5298166124Srafan	OTbs, am,
5299166124Srafan	cols#80, it#8, lines#25,
5300166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
5301166124Srafan	kcud1=^J, nel=^M^J,
5302166124Srafan
5303166124Srafandjgpp204|Entry for DJGPP 2.04,
5304166124Srafan	OTbs, am, AX,
5305166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,
5306166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5307166124Srafan	clear=\E[H\E[2J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD,
5308166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5309166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5310166124Srafan	cuu1=\E[A, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P,
5311166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
5312166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5313166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H,
5314166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5315166124Srafan	kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, kf2=\E[[B,
5316166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5317166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5318166124Srafan	kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m,
5319166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm,
5320166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
5321166124Srafan
5322166124Srafan# This is tested using U/Win's telnet.  Scrolling is omitted because it is
5323166124Srafan# buggy.  Another odd bug appears when displaying "~" in alternate character
5324166124Srafan# set (the emulator spits out error messages).  Compare with att6386 -TD
5325166124Srafanuwin|U/Win 3.2 console,
5326166124Srafan	am, eo, in, msgr, xenl, xon,
5327166124Srafan	colors#8, it#8, ncv#58, pairs#64,
5328166124Srafan	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,
5329166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5330166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J,
5331166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
5332166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
5333166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
5334166124Srafan	ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B,
5335166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[Y, kf1=\EOP,
5336166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR,
5337166124Srafan	kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX,
5338166124Srafan	khome=\E[H, kich1=\E[@, nel=^M^J, op=\E[39;49m, rc=\E8,
5339166124Srafan	rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m,
5340166124Srafan	rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5341166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
5342166124Srafan	smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,
5343166124Srafan	smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
5344166124Srafan
534550276Speter# This entry fits the Windows NT console when the _POSIX_TERM environment
534650276Speter# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
534750276Speter# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
534850276Speter# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
534950276Speter# systems is not, and (surprise!) they match very well.
535050276Speter#
535150276Speter# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
535250276Speter# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
535350276Speter# are the installation instructions a pile of mind-numbing bureaucratese,
535450276Speter# but the termcap entry is actually broken and unusable as given; the :do:
535550276Speter# capability is misspelled "d".
535650276Speter#
5357166124Srafan# To use this, you need to a bunch of environment variables:
535850276Speter#
535950276Speter# SET _POSIX_TERM=on
536050276Speter# SET TERM=ansi
536150276Speter# SET TERMCAP=location of termcap file in POSIX file format
536250276Speter# which is case-sensitive.
536350276Speter# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
536450276Speter# SET TMP=//C/TEMP
536550276Speter#
536650276Speter# Important note: setting the TMP environment variable in POSIX style renders
536750276Speter# it incompatible with a lot of other applications, including Visual C++. So
536850276Speter# you should have a separate command window just for vi. All the other
5369166124Srafan# variables may be permanently set in the Control Panel\System applet.
537050276Speter#
537150276Speter# You can find out more about the restrictions of this facility at
537250276Speter# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
537350276Speter#
537450276Speter# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
5375166124Srafanansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
5376166124Srafan	am, bw, msgr,
5377166124Srafan	cols#80, it#8, lines#25,
5378166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
5379166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
5380166124Srafan	home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
5381166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
5382166124Srafan	ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
538362449Speter# From: jew@venus.sunquest.com
538462449Speter# Date: 19 Feb 93 23:41:07 GMT
538562449Speter# Here's  a  combination of  ansi and  vt100 termcap
538662449Speter# entries   that  works  nearly   perfectly  for  me
538762449Speter# (Gateway 2000 Handbook and Microsoft Works 3.0):
5388166124Srafanpcmw|PC running Microsoft Works,
5389166124Srafan	am, xenl,
5390166124Srafan	cols#80, it#8, lines#24, vt#3,
5391166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
5392166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
5393166124Srafan	cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
5394166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
5395166124Srafan	ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
5396166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
5397166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
5398166124Srafan	rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100,
5399166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
5400166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
5401166124Srafan	sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
5402166124Srafan	tbc=\E[3g$<2/>,
540350276Speter
5404166124Srafan# From: Federico Bianchi
5405166124Srafan# This is the entry for the OpenNT terminal.
5406166124Srafan# The ntconsole name is for backward compatability.
5407166124Srafan# This is for OpenNT 2.0 and later.
5408166124Srafan# Later OpenNT was renamed to Interix.
5409166124Srafan#
5410166124Srafan# Presently it is distributed by Microsoft as Services For Unix (SFU).
5411166124Srafan# The 3.5 beta contains ncurses 4.2 (that is header files and executables,
5412166124Srafan# the documentation dates from 1.9.9e) -TD
5413166124Srafan
5414166124Srafaninterix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
5415166124Srafan	am, bw, msgr,
5416166124Srafan	colors#8, cols#80, lines#25, ncv#3, pairs#64,
5417166124Srafan	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,
5418166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD,
5419166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
5420166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5421166124Srafan	cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
5422166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5423166124Srafan	indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5424166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA,
5425166124Srafan	kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD,
5426166124Srafan	kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI,
5427166124Srafan	kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM,
5428166124Srafan	kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR,
5429166124Srafan	kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV,
5430166124Srafan	kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa,
5431166124Srafan	kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe,
5432166124Srafan	kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj,
5433166124Srafan	kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5,
5434166124Srafan	kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt,
5435166124Srafan	kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy,
5436166124Srafan	kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-,
5437166124Srafan	kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9,
5438166124Srafan	kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J,
5439166124Srafan	op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
5440166124Srafan	rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec,
5441166124Srafan	sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5442166124Srafan	setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm,
5443166124Srafan	sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[1m, smul=\E[4m,
5444166124Srafan
5445166124Srafanopennt-35|ntconsole-35|OpenNT-term35 compatible with color,
5446166124Srafan	lines#35, use=opennt,
5447166124Srafan
5448166124Srafanopennt-50|ntconsole-50|OpenNT-term50 compatible with color,
5449166124Srafan	lines#50, use=opennt,
5450166124Srafan
5451166124Srafanopennt-60|ntconsole-60|OpenNT-term60 compatible with color,
5452166124Srafan	lines#60, use=opennt,
5453166124Srafan
5454166124Srafanopennt-100|ntconsole-100|OpenNT-term100 compatible with color,
5455166124Srafan	lines#100, use=opennt,
5456166124Srafan
5457166124Srafan# OpenNT wide terminals
5458166124Srafanopennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color,
5459166124Srafan	cols#125, use=opennt,
5460166124Srafan
5461166124Srafanopennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color,
5462166124Srafan	lines#35, use=opennt-w,
5463166124Srafan
5464166124Srafanopennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color,
5465166124Srafan	lines#50, use=opennt-w,
5466166124Srafan
5467166124Srafanopennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color,
5468166124Srafan	lines#60, use=opennt-w,
5469166124Srafan
5470166124Srafanopennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color,
5471166124Srafan	cols#132, use=opennt,
5472166124Srafan
5473166124Srafan# OpenNT terminals with no smcup/rmcup (names match termcap entries)
5474166124Srafaninterix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color,
5475166124Srafan	rmcup@, smcup@, use=opennt,
5476166124Srafan
5477166124Srafanopennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color,
5478166124Srafan	lines#35, use=opennt-nti,
5479166124Srafan
5480166124Srafanopennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color,
5481166124Srafan	lines#50, use=opennt-nti,
5482166124Srafan
5483166124Srafanopennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color,
5484166124Srafan	lines#60, use=opennt-nti,
5485166124Srafan
5486166124Srafanopennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color,
5487166124Srafan	lines#100, use=opennt-nti,
5488166124Srafan
548950276Speter######## COMMON TERMINAL TYPES
549050276Speter#
549150276Speter# This section describes terminal classes and maker brands that are still
549250276Speter# quite common, but have proprietary command sets not blessed by ANSI.
549350276Speter#
549450276Speter
549550276Speter#### Altos
549650276Speter#
549750276Speter# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
549850276Speter# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
549950276Speter# Acer has a web site at http://www.acer.com.
550050276Speter#
550150276Speter# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
550250276Speter# His comments suggest they were shipped with the system.
550350276Speter#
550450276Speter
550550276Speter# (altos2: had extension capabilities
550650276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
550750276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
550850276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
550950276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
551050276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
551150276Speter#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
551250276Speter#	:HL=^AP\r:SP=\E[i:\
551350276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
551450276Speter#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
551550276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
551650276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
551750276Speter# :sr: was given as a boolean-- esr)
5518166124Srafanaltos2|alt2|altos-2|altos II,
5519166124Srafan	cols#80, it#8, lines#24, xmc#0,
5520166124Srafan	clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
5521166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M,
5522166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
5523166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
5524166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
5525166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
5526166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
5527166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5528166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5529166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5530166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5531166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
5532166124Srafan	nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
5533166124Srafan	smam=\E[?7h, smso=\E[7m, smul=\E[4m,
553450276Speter# (altos3: had extension capabilities
553550276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
553650276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
553750276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
553850276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
553950276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
554050276Speter#	:HL=^AP\r:SP=\E[i:\
554150276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
5542166124Srafanaltos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
5543166124Srafan	blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
5544166124Srafanaltos4|alt4|altos-4|altos IV,
5545166124Srafan	use=wy50,
554650276Speter# (altos7: had extension capabilities:
554750276Speter#	:GG#0:GI=\EH8:GF=\EH7:\
554850276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
554950276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
555050276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
555150276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
555250276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
555350276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
555450276Speter# also made this entry relative to adm12 in order to give it an <sgr>. The
555550276Speter# <invis> imported by use=adm+sgr may work, let me know. -- esr)
5556166124Srafanaltos7|alt7|altos VII,
5557166124Srafan	am, mir,
5558166124Srafan	cols#80, lines#24, xmc#0,
5559166124Srafan	acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
5560166124Srafan	clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
5561166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
5562166124Srafan	dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
5563166124Srafan	ind=^J, invis=\EG1,
5564166124Srafan	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
5565166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
5566166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
5567166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5568166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5569166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5570166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5571166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
5572166124Srafan	knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
5573166124Srafan	rmir=\Er, smir=\Eq, use=adm+sgr,
5574166124Srafanaltos7pc|alt7pc|altos PC VII,
5575166124Srafan	kend=\ET, use=altos7,
557650276Speter
557750276Speter#### Hewlett-Packard (hp)
557850276Speter#
557950276Speter#	Hewlett-Packard
5580166124Srafan#	8000 Foothills Blvd
558150276Speter#	Roseville, CA 95747
558250276Speter#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
558350276Speter#	     1-(800)-633-3600	(General customer support)
558450276Speter#
558562449Speter#
558662449Speter# As of March 1998, HP no longer has any terminals in production.
5587166124Srafan# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
558862449Speter# supported (they still have parts). So are the 2392a and 2394a.
558962449Speter# See the WORKSTATION CONSOLES section for the 700s.
559062449Speter#
559150276Speter
559250276Speter# Generic HP terminal - this should (hopefully) work on any HP terminal.
5593166124Srafanhpgeneric|hp|hewlett-packard generic terminal,
5594166124Srafan	OTbs, OTpt, am, da, db, mir, xhp,
5595166124Srafan	cols#80, lines#24, lm#0, vt#6,
5596166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5597166124Srafan	cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
5598166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
5599166124Srafan	ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
5600166124Srafan	sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
5601166124Srafan	vpa=\E&a%p1%dY,
560250276Speter
5603166124Srafanhp110|hewlett-packard model 110 portable,
5604166124Srafan	lines#16, use=hpgeneric,
560550276Speter
5606166124Srafanhp+pfk+cr|hp function keys with CR,
5607166124Srafan	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
5608166124Srafan	kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
560950276Speter
5610166124Srafanhp+pfk-cr|hp function keys w/o CR,
5611166124Srafan	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
5612166124Srafan	kf8=\Ew,
561350276Speter
5614166124Srafan# The hp2621s use the same keys for the arrows and function keys,
5615166124Srafan# but not separate escape sequences. These definitions allow the
5616166124Srafan# user to use those keys as arrow keys rather than as function
561750276Speter# keys.
5618166124Srafanhp+pfk+arrows|hp alternate arrow definitions,
5619166124Srafan	kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
5620166124Srafan	kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
5621166124Srafan	kll=\Eq\r, kri=\Es\r,
562250276Speter
5623166124Srafanhp+arrows|hp arrow definitions,
5624166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
5625166124Srafan	kind=\ES, kll=\EF, kri=\ET,
562650276Speter
562750276Speter# Generic stuff from the HP 262x series
562850276Speter#
5629166124Srafanhp262x|HP 262x terminals,
5630166124Srafan	xhp,
5631166124Srafan	blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
5632166124Srafan	invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5633166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5634166124Srafan	kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
5635166124Srafan	krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
5636166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
5637166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
563850276Speter
563950276Speter# Note: no <home> on HPs since that homes to top of memory, not screen.
564050276Speter# Due to severe 2621 braindamage, the only way to get the arrow keys to
564150276Speter# transmit anything at all is to turn on the function key labels
564250276Speter# with <smkx>, and even then the user has to hold down shift!
5643166124Srafan# The default 2621 turns off the labels except when it has to to
5644166124Srafan# enable the function keys. If your installation prefers labels
5645166124Srafan# on all the time, or off all the time (at the "expense" of the
564650276Speter# function keys), use 2621-nl or 2621-wl.
5647166124Srafan#
5648166124Srafan# Note: there are newer ROMs for 2621's that allow you to set
5649166124Srafan# strap A so the regular arrow keys xmit \EA, etc, as with the
5650166124Srafan# 2645. However, even with this strap set, the terminal stops
565150276Speter# xmitting if you reset it, until you unset and reset the strap!
5652166124Srafan# Since there is no way to set/unset the strap with an escape
565350276Speter# sequence, we don't use it in the default.
565450276Speter# If you like, you can use 2621-ba (brain-damaged arrow keys).
5655166124Srafanhp2621-ba|2621 w/new rom and strap A set,
5656166124Srafan	rmkx@, smkx@, use=hp+arrows, use=hp2621,
565750276Speter
565850276Speter# hp2621 with function labels. Most of the time they are off,
565950276Speter# but inside vi, the function key labels appear. You have to
566050276Speter# hold down shift to get them to xmit.
5661166124Srafanhp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
5662166124Srafan	is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
5663166124Srafanhp2621-fl|hp 2621,
5664166124Srafan	xhp@, xon,
5665166124Srafan	pb#19200,
5666166124Srafan	cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
5667166124Srafan	ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
5668166124Srafan	sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
5669166124Srafan	use=hp+pfk+cr, use=hpgeneric,
567050276Speter
567150276Speter# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
5672166124Srafanhp2621p|hp 2621 with printer,
5673166124Srafan	mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
567450276Speter
5675166124Srafanhp2621p-a|hp2621p with fn as arrows,
5676166124Srafan	use=hp+pfk+arrows, use=hp2621p,
567750276Speter
567850276Speter# hp2621 with k45 keyboard
5679166124Srafanhp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
5680166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
5681166124Srafan	khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
568250276Speter
5683166124Srafan# 2621 using all 48 lines of memory, only 24 visible at any time.
5684166124Srafanhp2621-48|48 line 2621,
5685166124Srafan	lines#48,
5686166124Srafan	cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR,
5687166124Srafan	use=hp2621,
568850276Speter
568950276Speter# 2621 with no labels ever. Also prevents vi delays on escape.
5690166124Srafanhp2621-nl|hp 2621 with no labels,
5691166124Srafan	kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@,
5692166124Srafan	use=hp2621-fl,
569350276Speter
5694166124Srafan# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
569550276Speter# (wrong).
569650276Speter#
5697166124Srafanhp2621-nt|hp 2621 w/no tabs,
5698166124Srafan	ht@, use=hp2621,
569950276Speter
570050276Speter# Hp 2624 B with 4 or 10 pages of memory.
5701166124Srafan#
5702166124Srafan# Some assumptions are made with this entry. These settings are
570350276Speter# NOT set up by the initialization strings.
5704166124Srafan#
570550276Speter# Port Configuration
570650276Speter# 	RecvPace=Xon/Xoff
570750276Speter# 	XmitPace=Xon/Xoff
570850276Speter# 	StripNulDel=Yes
5709166124Srafan#
571050276Speter# Terminal Configuration
571150276Speter# 	InhHndShk=Yes
571250276Speter# 	InhDC2=Yes
571350276Speter# 	XmitFnctn(A)=No
571450276Speter# 	InhEolWrp=No
5715166124Srafan#
571650276Speter# Note: the 2624 DOES have a true <home>, believe it or not!
5717166124Srafan#
5718166124Srafan# The 2624 has an "error line" to which messages can be sent.
571950276Speter# This is CLOSE to what is expected for a "status line". However,
5720166124Srafan# after a message is sent to the "error line", the next carriage
5721166124Srafan# return is EATEN and the "error line" is turned back off again!
572250276Speter# So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
5723166124Srafan#
5724166124Srafan# This entry supports emacs (and any other program that uses raw
5725166124Srafan# mode) at 4800 baud and less. I couldn't get the padding right
572650276Speter# for 9600.
572750276Speter#
572850276Speter# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
5729166124Srafanhp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
5730166124Srafan	da, db,
5731166124Srafan	lm#96,
5732166124Srafan	flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
5733166124Srafan	use=hp+labels, use=scrhp,
573450276Speter
5735166124Srafan# This hp2626 entry does not use any of the fancy windowing stuff
573650276Speter# of the 2626.
5737166124Srafan#
5738166124Srafan# Indeed, terminfo does not yet handle such stuff. Since changing
5739166124Srafan# any window clears memory, it is probably not possible to use
574050276Speter# this for screen opt.
5741166124Srafan#
5742166124Srafan# ed is incredibly slow most of the time - I am guessing at the
5743166124Srafan# exact padding. Since the terminal uses xoff/xon this is intended
5744166124Srafan# only for cost computation, so that the terminal will prefer el
574550276Speter# or even dl1 which is probably faster!
5746166124Srafan#
5747166124Srafan# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
5748166124Srafan# extra slow on the last line of the window.
5749166124Srafan#
575050276Speter# The padding probably should be changed.
575150276Speter#
5752166124Srafanhp2626|hp2626a|hp2626p|hp 2626,
5753166124Srafan	da, db,
5754166124Srafan	lm#0, pb#19200,
5755166124Srafan	ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
5756166124Srafan	is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,
5757166124Srafan	use=hp+labels, use=scrhp,
575850276Speter
5759166124Srafan# This entry is for sysline. It allocates a 23 line window with
5760166124Srafan# a 115 line workspace for regular use, and a 1 line window for
576150276Speter# the status line.
5762166124Srafan#
576350276Speter# This assumes port 2 is being used.
576450276Speter# Turn off horizontal line, Create ws #1 with 115 lines,
576550276Speter# Create ws #2 with 1 line, Create window #1 lines 1-23,
576650276Speter# Create window #2 lines 24-24, Attach cursor to workspace #1.
576750276Speter# Note that this clears the tabs so it must be done by tset before
576850276Speter# it sets the tabs.
576950276Speter#
5770166124Srafanhp2626-s|hp 2626 using only 23 lines,
5771166124Srafan	eslok, hs,
5772166124Srafan	lines#23,
5773166124Srafan	fsl=\E&d@\E&w7f2p1I\E&w4f1I,
5774166124Srafan	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
5775166124Srafan	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
577650276Speter# Force terminal back to 24 lines after being 23.
5777166124Srafanhp2626-ns|hp 2626 using all 24 lines,
5778166124Srafan	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
5779166124Srafan	use=hp2626,
578050276Speter# Various entries useful for small windows on 2626.
5781166124Srafanhp2626-12|hewlett-packard 2626 12 lines,
5782166124Srafan	lines#12, use=hp2626,
5783166124Srafanhp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
5784166124Srafan	cols#40, lines#12, use=hp2626,
5785166124Srafanhp2626-x40|hewlett-packard 2626 40 columns,
5786166124Srafan	cols#40, use=hp2626,
5787166124Srafanhp2626-12-s|hewlett-packard 2626 11 lines plus status,
5788166124Srafan	lines#11, use=hp2626-s,
578950276Speter
579050276Speter#
579150276Speter# hp2627 color tubes from University of Wisconsin
579250276Speter#
5793166124Srafanhp2627a-rev|hp 2627 with reverse video colors,
5794166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5795166124Srafan	is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
5796166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
5797166124Srafan	smul=\E&dD\E&v1S, use=hp2621-nl,
5798166124Srafanhp2627a|hp 2627 color terminal with no labels,
5799166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5800166124Srafan	is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
5801166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
5802166124Srafan	rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
5803166124Srafan	use=hp2621-nl,
5804166124Srafanhp2627c|hp 2627 color (cyan) terminal with no labels,
5805166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5806166124Srafan	is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
5807166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
580850276Speter
5809166124Srafan# hp2640a doesn't have the Y cursor addressing feature, and C is
581050276Speter# memory relative instead of screen relative, as we need.
581150276Speter#
5812166124Srafanhp2640a|hp 2640a,
5813166124Srafan	cup@, rmkx@, smkx@, use=hp2645,
581450276Speter
5815166124Srafanhp2640b|hp2644a|hp 264x series,
5816166124Srafan	rmkx@, smkx@, use=hp2645,
581750276Speter
581850276Speter# (hp2641a: removed unknown :gu: -- esr)
5819166124Srafanhp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
5820166124Srafan	am, da, db, mir, xhp,
5821166124Srafan	cols#80, lines#24,
5822166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5823166124Srafan	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
5824166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
5825166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J,
5826166124Srafan	is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
5827166124Srafan	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
5828166124Srafan	vpa=\E&a%p1%2dY,
582950276Speter
583050276Speter# This terminal should be used at 4800 baud or less. It needs padding for
583150276Speter# plain characters at 9600, I guessed at an appropriate cr delay.  It really
583250276Speter# wants ^E/^F handshaking, but that doesn't work well even if you write
583350276Speter# software to support it.
5834166124Srafanhp2645|hp45|HP 2645 series,
5835166124Srafan	pb#9600,
5836166124Srafan	blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
5837166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
5838166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
5839166124Srafan	kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
5840166124Srafan	rmkx=\E&s0A,
5841166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
5842166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
584350276Speter# You should use this terminal at 4800 baud or less.
5844166124Srafanhp2648|hp2648a|HP 2648a graphics terminal,
5845166124Srafan	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
5846166124Srafan	dch1=\EP$<7>, ip=$<5>, use=hp2645,
584750276Speter
5848166124Srafan# The HP 150 terminal is a fairly vanilla HP terminal, with the
5849166124Srafan# clreol standout problem. It also has graphics capabilities and
585050276Speter# a touch screen, which we don't describe here.
5851166124Srafanhp150|hewlett packard Model 150,
5852166124Srafan	OTbs, use=hp2622,
585350276Speter
5854166124Srafan# HP 2382a terminals, "the little ones." They don't have any
5855166124Srafan# alternate character set support and sending out ^N/^O will
585650276Speter# leave the screen blank.
5857166124Srafanhp2382a|hp2382|hewlett packard 2382a,
5858166124Srafan	da, db,
5859166124Srafan	lh#1, lm#48,
5860166124Srafan	acsc@,
5861166124Srafan	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
5862166124Srafan	rmacs@,
5863166124Srafan	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,
5864166124Srafan	sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp,
586550276Speter
5866166124Srafanhp2621-a|hp2621a-a|hp2621 with fn as arrows,
5867166124Srafan	use=hp+pfk+arrows, use=hp2621-fl,
586850276Speter
586950276Speter# newer hewlett packard terminals
587050276Speter
5871166124Srafannewhpkeyboard|generic entry for HP extended keyboard,
5872166124Srafan	kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5873166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5874166124Srafan	kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
5875166124Srafan	kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
5876166124Srafan	use=hp+pfk-cr,
587750276Speter
5878166124Srafannewhp|generic entry for new hewlett packard terminals,
5879166124Srafan	am, bw, mir, xhp, xon,
5880166124Srafan	cols#80, lines#24, pb#4800,
5881166124Srafan	acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
5882166124Srafan	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
5883166124Srafan	cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
5884166124Srafan	dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
5885166124Srafan	invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
5886166124Srafan	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
5887166124Srafan	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
5888166124Srafan	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
5889166124Srafan	rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
5890166124Srafan	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%;,
5891166124Srafan	sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
5892166124Srafan	tbc=\E3, use=newhpkeyboard,
589350276Speter
5894166124Srafanmemhp|memory relative addressing for new HP ttys,
5895166124Srafan	vt#6,
5896166124Srafan	clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
5897166124Srafan	cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
5898166124Srafan	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
5899166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
590050276Speter
5901166124Srafanscrhp|screen relative addressing for new HP ttys,
5902166124Srafan	clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
5903166124Srafan	cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
5904166124Srafan	cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
5905166124Srafan	home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
5906166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
590750276Speter
590850276Speter# (hp+labels: added label values from a BRL termcap -- esr)
5909166124Srafanhp+labels|"standard" label info for new HP ttys,
5910166124Srafan	lh#2, lw#8, nlab#8,
5911166124Srafan	lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
5912166124Srafan	pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
5913166124Srafan	rmln=\E&j@, smln=\E&jB,
591450276Speter
5915166124Srafanhp+printer|"standard" printer info for HP ttys,
5916166124Srafan	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
591750276Speter
591850276Speter
591950276Speter# The new hp2621b is kind of a cross between the old 2621 and the
5920166124Srafan# new 262x series of machines. It has dip-switched options.
5921166124Srafan# The firmware has a bug in it such that if you give it a null
592250276Speter# length label, the following character is eaten!
5923166124Srafanhp2621b|hp 2621b with old style keyboard,
5924166124Srafan	lh#1, lm#48, lw#8, nlab#8,
5925166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
5926166124Srafan	kind=\ET, kll=\EF, kri=\ES,
5927166124Srafan	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,
5928166124Srafan	smln=\E&jB, use=hp2621,
592950276Speter
5930166124Srafanhp2621b-p|hp 2621b with printer,
5931166124Srafan	use=hp+printer, use=hp2621b,
593250276Speter
593350276Speter# hp2621b - new 2621b with new extended keyboard
593450276Speter# these are closer to the new 26xx series than the other 2621b
5935166124Srafanhp2621b-kx|hp 2621b with extended keyboard,
5936166124Srafan	use=newhpkeyboard, use=hp2621b,
593750276Speter
5938166124Srafanhp2621b-kx-p|hp 2621b with new keyboard & printer,
5939166124Srafan	use=hp+printer, use=hp2621b-kx,
594050276Speter
594150276Speter# Some assumptions are made in the following entries.
594250276Speter# These settings are NOT set up by the initialization strings.
5943166124Srafan#
594450276Speter#    Port Configuration
594550276Speter# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
5946166124Srafan#
594750276Speter#    Terminal Configuration
594850276Speter# InhHndShk(G)=Yes	InhDC2(H)=Yes
594950276Speter# XmitFnctn(A)=No		InhEolWrp=No
595050276Speter#
5951166124Srafan#
595250276Speter# Hp 2622a & hp2623a display and graphics terminals
595350276Speter#
5954166124Srafanhp2622|hp2622a|hp 2622,
5955166124Srafan	da, db,
5956166124Srafan	lm#0, pb#19200,
5957166124Srafan	is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
595850276Speter
595950276Speter# The 2623 is a 2622 with extra graphics hardware.
5960166124Srafanhp2623|hp2623a|hp 2623,
5961166124Srafan	use=hp2622,
596250276Speter
5963166124Srafanhp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
5964166124Srafan	use=hp+printer, use=hp2624,
596550276Speter
596650276Speter# The hewlett packard B can have an optional extra 6 pages of memory.
5967166124Srafanhp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
5968166124Srafan	lm#240, use=hp2624,
596950276Speter
5970166124Srafanhp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
5971166124Srafan	lm#240, use=hp2624b-p,
597250276Speter
597350276Speter# Color manipulations for HP terminals
5974166124Srafanhp+color|hp with colors,
5975166124Srafan	ccc,
5976166124Srafan	colors#16, ncv#17, pairs#7,
5977166124Srafan	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,
5978166124Srafan	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
5979166124Srafan	op=\E&v0S, scp=\E&v%p1%dS,
598050276Speter
598150276Speter# <is2> sets the screen to be 80 columns wide
5982166124Srafanhp2397a|hp2397|hewlett packard 2397A color terminal,
5983166124Srafan	is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color,
598450276Speter
5985166124Srafan#  HP 700/44 Setup parameters:
598650276Speter# Terminal Mode		HP-PCterm
598750276Speter# Inhibit Auto Wrap	NO
598850276Speter# Status Line		Host Writable
598950276Speter# PC Character Set	YES
599050276Speter# Twenty-Five Line Mode	YES
599150276Speter# XON/XOFF		@128 or 64 (sc)
599250276Speter# Keycode Mode 		NO   or YES (sc)
599350276Speter# Backspace Key		BS or BS/DEL
599450276Speter#
5995166124Srafan# <is2> 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
599650276Speter# \E\\? does not turn off keycode mode
599750276Speter# <smsc>	sets alternate start/stop; keycode on
5998166124Srafanhpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
5999166124Srafan	am, eo, xenl, xon,
6000166124Srafan	cols#80, lines#25,
6001166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
6002166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
6003166124Srafan	cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
6004166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
6005166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
6006166124Srafan	ind=^J,
6007166124Srafan	is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
6008166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
6009166124Srafan	kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
6010166124Srafan	kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
6011166124Srafan	kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
6012166124Srafan	kpp=\E[5~, rmam=\E[?7l,
6013166124Srafan	rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
6014166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
6015166124Srafan	smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
6016166124Srafan	smul=\E[4m, xoffc=g, xonc=e,
601750276Speter#
601850276Speter# (hp2392: copied <rmir> here from hpex -- esr)
6019166124Srafanhp2392|239x series,
6020166124Srafan	cols#80,
6021166124Srafan	cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
6022166124Srafan	kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
6023166124Srafan	kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
6024166124Srafan	rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
6025166124Srafan	use=hpsub,
602650276Speter
6027166124Srafanhpsub|hp terminals -- capability subset,
6028166124Srafan	am, da, db, mir, xhp, xon,
6029166124Srafan	lines#24,
6030166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6031166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
6032166124Srafan	ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
6033166124Srafan	is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
6034166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
6035166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
603650276Speter
603750276Speter# hpex:
603850276Speter#	May be used for most 24 x 80 hp terminals,
6039166124Srafan# but has no padding added, so may allow runover in some terminals at high
6040166124Srafan# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
6041166124Srafan# hp98x5 terminal emulators or hp98x6 consoles.
6042166124Srafan# 	Adds xy-cursor addressing, vertical cursor addressing, home,
604350276Speter# last line, and underline capabilities.
604450276Speter#
604550276Speter# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
604650276Speter# moved <rmir> here from hpsub -- esr)
6047166124Srafanhpex|hp extended capabilites,
6048166124Srafan	cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
6049166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
6050166124Srafan	smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
605150276Speter
605250276Speter# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
6053166124Srafanhp2|hpex2|hewlett-packard extended capabilities newer version,
6054166124Srafan	am, da, db, mir, xhp,
6055166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
6056166124Srafan	bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
6057166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6058166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6059166124Srafan	il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6060166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6061166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6062166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6063166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6064166124Srafan	krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
6065166124Srafan	pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
6066166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
6067166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
6068166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
6069166124Srafan	rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6070166124Srafan	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%;,
6071166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
6072166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
607350276Speter
607450276Speter# HP 236 console
607550276Speter# From: <ddavis@ic.berkeley.edu>
6076166124Srafanhp236|hp236 internal terminal emulator,
6077166124Srafan	OTbs, am,
6078166124Srafan	cols#80, lines#24,
6079166124Srafan	clear=\EF, cnorm=\EDE, cub1=^H,
6080166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
6081166124Srafan	dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
6082166124Srafan	sgr0=\ECI, smso=\EBI,
608350276Speter
608450276Speter# This works on a hp300 console running Utah 4.3 BSD
608550276Speter# From: Craig Leres <leres@okeeffe.berkeley.edu>
6086166124Srafanhp300h|HP Catseye console,
6087166124Srafan	OTbs, am, da, db, mir, xhp,
6088166124Srafan	cols#128, lines#51, lm#0, xmc#0,
6089166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 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,
6092166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
6093166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
6094166124Srafan	rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
6095166124Srafan	smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
6096166124Srafan	vpa=\E&a%p1%dY,
609750276Speter# From: Greg Couch <gregc@ernie.berkeley.edu>
6098166124Srafanhp9837|hp98720|hp98721|HP 9000/300 workstations,
6099166124Srafan	OTbs, am, da, db, mir, xhp,
6100166124Srafan	cols#128, it#8, lines#46, lm#0,
6101166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
6102166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6103166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6104166124Srafan	il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
6105166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6106166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
6107166124Srafan	kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
6108166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
6109166124Srafan	tbc=\E3, vpa=\E&a%p1%dY,
611050276Speter# HP 9845 desktop computer from BRL
611150276Speter# (hp9845: removed unknown capability :gu: -- esr)
6112166124Srafanhp9845|HP 9845,
6113166124Srafan	OTbs, am, da, db, eo, mir, xhp,
6114166124Srafan	cols#80, lines#21,
6115166124Srafan	OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY,
6116166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
6117166124Srafan	if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
6118166124Srafan	smir=\EQ, smso=\E&dB,
611950276Speter# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
612050276Speter# (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
612150276Speter# added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
6122166124Srafanhp98550|hp98550a|HP 9000 Series 300 color console,
6123166124Srafan	OTbs, am, da, db, mir, xhp,
6124166124Srafan	cols#128, it#8, lines#49, lm#0,
6125166124Srafan	acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
6126166124Srafan	clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
6127166124Srafan	cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
6128166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6129166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
6130166124Srafan	kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
6131166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
6132166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
6133166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
6134166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
6135166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
6136166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
6137166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
613850276Speter# From: Victor Duchovni <vic@fine.princeton.edu>
613950276Speter# (hp700-wy: removed obsolete ":nl=^J:";
614050276Speter# replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
6141166124Srafanhp700-wy|HP700/41 emulating wyse30,
6142166124Srafan	OTbs, am, bw, mir, msgr,
6143166124Srafan	cols#80, it#8, lines#24, xmc#1,
6144166124Srafan	cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
6145166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6146166124Srafan	dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
6147166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
6148166124Srafan	is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
6149166124Srafan	kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
6150166124Srafan	kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
6151166124Srafan	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
6152166124Srafan	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
6153166124Srafan	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
6154166124Srafanhp70092|hp70092a|hp70092A|HP 700/92,
6155166124Srafan	am, da, db, xhp,
6156166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
6157166124Srafan	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
6158166124Srafan	bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
6159166124Srafan	cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
6160166124Srafan	dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
6161166124Srafan	hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6162166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6163166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6164166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6165166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6166166124Srafan	krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
6167166124Srafan	rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6168166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
6169166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
617050276Speter
6171166124Srafanbobcat|sbobcat|HP 9000 model 300 console,
6172166124Srafan	am, da, db, mir, xhp,
6173166124Srafan	cols#128, it#8, lines#47, xmc#0,
6174166124Srafan	cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6175166124Srafan	cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP,
6176166124Srafan	dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I,
6177166124Srafan	il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
6178166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER,
6179166124Srafan	rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
6180166124Srafan	smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>,
6181166124Srafangator-t|HP 9000 model 237 emulating extra-tall AAA,
6182166124Srafan	lines#94, use=gator,
6183166124Srafangator|HP 9000 model 237 emulating AAA,
6184166124Srafan	bw, km, mir, ul,
6185166124Srafan	cols#128, it#8, lines#47,
6186166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
6187166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
6188166124Srafan	dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
6189166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
6190166124Srafan	ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
6191166124Srafan	il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
6192166124Srafan	rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
6193166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6194166124Srafangator-52|HP 9000 model 237 emulating VT52,
6195166124Srafan	cols#128, lines#47, use=vt52,
6196166124Srafangator-52t|HP 9000 model 237 emulating extra-tall VT52,
6197166124Srafan	lines#94, use=gator-52,
619850276Speter
619950276Speter#### Honeywell-Bull
620050276Speter#
620150276Speter# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
620250276Speter#
620350276Speter
620450276Speter# Honeywell Bull terminal.  Its cursor and function keys send single
620550276Speter# control characters and it has standout/underline glitch.  Most programs
620650276Speter# do not like these features/bugs.  Visual bell is realized by flashing the
620750276Speter# "keyboard locked" LED.
6208166124Srafandku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
6209166124Srafan	cols#80, lines#25,
6210166124Srafan	clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
6211166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
6212166124Srafan	flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
6213166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
6214166124Srafandku7003|Honeywell Bull DKU 7003 all features described,
6215166124Srafan	msgr,
6216166124Srafan	xmc#1,
6217166124Srafan	blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
6218166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6219166124Srafan	use=dku7003-dumb,
622050276Speter
622150276Speter#### Lear-Siegler (adm)
622250276Speter#
622350276Speter# These guys are long since out of the terminals business, but
622450276Speter# in 1995 many current terminals still have an adm type as one of their
622550276Speter# emulations (usually their stupidest, and usually labeled adm3, though
622650276Speter# these `adm3' emulations normally have adm3a+ capabilities).
622750276Speter#
6228166124Srafan# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
622950276Speter# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
623050276Speter# was being held to ground would trigger a send of the top line on the screen.
623150276Speter# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
623250276Speter# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
623350276Speter# for clearing up this point.)
623450276Speter
6235166124Srafanadm1a|adm1|lsi adm1a,
6236166124Srafan	am,
6237166124Srafan	cols#80, lines#24,
6238166124Srafan	bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6239166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
6240166124Srafan	ind=^J,
6241166124Srafanadm2|lsi adm2,
6242166124Srafan	OTbs, am,
6243166124Srafan	cols#80, lines#24,
6244166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6245166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6246166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
6247166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
624850276Speter# (adm3: removed obsolete ":ma=^K^P:" -- esr)
6249166124Srafanadm3|lsi adm3,
6250166124Srafan	OTbs, am,
6251166124Srafan	cols#80, lines#24,
6252166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
625350276Speter# The following ADM-3A switch settings are assumed for normal operation:
625450276Speter#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
625550276Speter#	CUR_CTL		LC_EN		AUTO_NL		FDX
625650276Speter# Other switches may be set for operator convenience or communication
625750276Speter# requirements.  I recommend
625850276Speter#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
625950276Speter#	ETX_OFF		EOT_OFF
626050276Speter# Most of these terminals required an option ROM to support lower case display.
626150276Speter# Open the case and look at the motherboard; if you see an open 24-pin DIP
626250276Speter# socket, you may be out of luck.
626350276Speter#
626450276Speter# (adm3a: some capabilities merged in from BRl entry -- esr)
6265166124Srafanadm3a|lsi adm3a,
6266166124Srafan	OTbs, am,
6267166124Srafan	cols#80, lines#24,
6268166124Srafan	OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
6269166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6270166124Srafan	cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
6271166124Srafan	kcuu1=^K, rs2=^N,
6272166124Srafanadm3a+|adm3a plus,
6273166124Srafan	kbs=^H, use=adm3a,
627450276Speter# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
6275166124Srafanadm5|lsi adm5,
6276166124Srafan	xmc#1,
6277166124Srafan	bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
6278166124Srafan	rmso=\EG, smso=\EG, use=adm3a+,
627950276Speter# A lot of terminals other than adm11s use these.  Wherever you see
628050276Speter# use=adm+sgr with some of its capabilities disabled, try the
628150276Speter# disabled ones.  They may well work but not have been documented or
628250276Speter# expressed in the using entry.  We'd like to cook up an <sgr> but the
628350276Speter# <rmacs>/<smacs> sequences of the using entries vary too much.
6284166124Srafanadm+sgr|adm style highlight capabilities,
6285166124Srafan	invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
6286166124Srafan	smso=\EG4, smul=\EG8,
628750276Speter# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
628850276Speter# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
628950276Speter# <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
629050276Speter# be ^Z, according to his entry.
629150276Speter# (adm11: <smul>=\EG4 was obviously erroneous because it also said
629250276Speter# <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
6293166124Srafanadm11|LSI ADM-11,
6294166124Srafan	OTbs, am, hs,
6295166124Srafan	OTkn#8, cols#80, lines#24,
6296166124Srafan	OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
6297166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6298166124Srafan	cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
6299166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6300166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6301166124Srafan	kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
6302166124Srafan	use=adm+sgr,
630350276Speter# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
630450276Speter# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
630550276Speter# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
630650276Speter# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
630750276Speter# <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
6308166124Srafan# via BRL.  That entry asserted <xmc#1>, but I've left that out because
630950276Speter# neither earlier nor later ADMSs have it -- esr)
631050276Speter#
631150276Speter# You will need to get into the supervisor setup before you can set
631250276Speter# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
631350276Speter# see a lot more setup options.
6314166124Srafan#
631550276Speter# While in supervisor setup you can also use following codes:
6316166124Srafan#
631750276Speter# Ctrl-P Personality character selections (configure for example what
631850276Speter#        arrow keys send, if I recall correctly)
631950276Speter# Ctrl-T tabs 1-80   use left&right to move and up to set and
632050276Speter# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
632150276Speter# Ctrl-B Binary setup (probably not needed. I think that everything can
632250276Speter#        be set using normal setup)
632350276Speter# Ctrl-A Answerback mode (enter answerback message)
632450276Speter# Ctrl-U User friendly mode (normal setup)
632550276Speter# Ctrl-D Defaults entire setup and function keys from EPROM tables
632650276Speter# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
632750276Speter# Ctrl-R Reads both setup and functions keys from NVM.
632850276Speter# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
6329166124Srafan#
633050276Speter# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
633150276Speter# RTS/CTS used nowadays with virtually every modem and computer. 19200
633250276Speter# bps works fine with hardware flow control.
6333166124Srafan#
633450276Speter# The following null-modem cable should fix this and enable you to use
633550276Speter# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
633650276Speter# set ADM-12+ for DTR handshaking from supervisor setup.
6337166124Srafan#
633850276Speter# PC Serial   ADM-12+
633950276Speter#  --------   -------
634050276Speter#         2 - 3
634150276Speter#         3 - 2
634250276Speter#         4 - 5
634350276Speter#         5 - 20
634450276Speter#       6,8 - 4
634550276Speter#         7 - 7
634650276Speter#        20 - 6,8
634750276Speter#
6348166124Srafanadm12|lsi adm12,
6349166124Srafan	OTbs, OTpt, am, mir,
6350166124Srafan	OTug#1, cols#80, it#8, lines#24,
6351166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6352166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6353166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
6354166124Srafan	is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
6355166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6356166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6357166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
6358166124Srafan	use=adm+sgr,
635950276Speter# (adm20: removed obsolete ":kn#7:" -- esr)
6360166124Srafanadm20|lear siegler adm20,
6361166124Srafan	OTbs, am,
6362166124Srafan	cols#80, it#8, lines#24,
6363166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
6364166124Srafan	cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
6365166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
6366166124Srafan	kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
6367166124Srafan	sgr0=\E(, smso=\E),
6368166124Srafanadm21|lear siegler adm21,
6369166124Srafan	xmc#1,
6370166124Srafan	bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
6371166124Srafan	ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
6372166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr,
6373166124Srafan	use=adm3a,
637450276Speter# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
637550276Speter# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
637650276Speter# removed bogus-looking \200 from before <cup>. -- esr)
6377166124Srafanadm22|lsi adm22,
6378166124Srafan	OTbs, am,
6379166124Srafan	cols#80, lines#24,
6380166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6381166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6382166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
6383166124Srafan	is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
6384166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6385166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6386166124Srafan	kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
6387166124Srafan	lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
638850276Speter# ADM 31 DIP Switches
638950276Speter#
639050276Speter# This information comes from two versions of the manual for the
639150276Speter# Lear-Siegler ADM 31.
639250276Speter#
639350276Speter# Main board:
639450276Speter#                  rear of case
639550276Speter#   +-||||-------------------------------------+
639650276Speter#   + S1S2                              ||S    +
639750276Speter#   +                                   ||3    +
639850276Speter#   +                                          +
639950276Speter#   +                                ||S       +
640050276Speter#   +                                ||4       +
640150276Speter#   +                                          +
640250276Speter#   +                                          +
640350276Speter#   +                                          +
640450276Speter#   +                                          +
640550276Speter#   +                                          +
640650276Speter# +-+                                          +-+
640750276Speter# +                                              +
6408166124Srafan# +                               S5 S6 S7       +
640950276Speter# +                               == == ==       +
641050276Speter# +----------------------------------------------+
641150276Speter#            front of case (keyboard)
641250276Speter#
641350276Speter#  S1 - Data Rate - Modem
641450276Speter#  S2 - Data Rate - Printer
641550276Speter# ------------------------
641650276Speter# Data Rate   Setting
641750276Speter# -------------------
641850276Speter# 50          0 0 0 0
641950276Speter# 75          1 0 0 0
642050276Speter# 110         0 1 0 0
642150276Speter# 134.5       1 1 0 0
642250276Speter# 150         0 0 1 0
642350276Speter# 300         1 0 1 0
642450276Speter# 600         0 1 1 0
642550276Speter# 1200        1 1 1 0
642650276Speter# 1800        0 0 0 1
642750276Speter# 2000        1 0 0 1
642850276Speter# 2400        0 1 0 1
642950276Speter# 3600        1 1 0 1
643050276Speter# 4800        0 0 1 1
643150276Speter# 7200        1 0 1 1
643250276Speter# 9600        0 1 1 1
643350276Speter# x           1 1 1 1
643450276Speter#
643550276Speter# S3 - Interface/Printer/Attributes
643650276Speter# ---------------------------------
643750276Speter# Printer Busy Control
643850276Speter# sw1   sw2   sw3
643950276Speter# ---------------
644050276Speter# off   off   off   Busy not active, CD disabled
644150276Speter# off   off   on    Busy not active, CD enabled
644250276Speter# off   on    off   Busy active on J5-20, CD disabled
644350276Speter# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
644450276Speter# on    off   on    Busy active on J5-19, CD enabled
644550276Speter#
644650276Speter# sw4   Used in conjuction with S4 for comm interface control - Fact 0
644750276Speter#
644850276Speter# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
644950276Speter#
645050276Speter# sw6   ON enables printer BUSY active LOW - Factory Setting
645150276Speter#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
645250276Speter#
645350276Speter# sw7   ON - steady cursor - Factory Setting
645450276Speter#       OFF - blinking cursor
645550276Speter#
645650276Speter# sw8   ON causes selected attribute character to be displayed
645750276Speter#       OFF causes SPACE to be displayed instead - Factory Setting
645850276Speter#
645950276Speter# S4 - Interface
646050276Speter# --------------
646150276Speter# Modem Interface
646250276Speter# S3    S4    S4    S4    S4
646350276Speter# sw4   sw1   sw2   sw3   sw4
646450276Speter# ---------------------------
646550276Speter# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
646650276Speter#                               Current Loop disabled - Factory Setting
646750276Speter# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
646850276Speter#                               disabled
646950276Speter# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
647050276Speter#                               Current Loop Disabled
647150276Speter#
647250276Speter# sw5   ON disables dot stretching mode - Factory Setting
647350276Speter#       OFF enables dot stretching mode
647450276Speter# sw6   ON enables blanking function
647550276Speter#       OFF enables underline function - Factory Setting
647650276Speter# sw7   ON causes NULLS to be displayed as NULLS
647750276Speter#       OFF causes NULLS to be displayed as SPACES - Factory Setting
647850276Speter#
647950276Speter# S5 - Word Structure
648050276Speter# -------------------
648150276Speter# sw1   ON enables BREAK key - Factory Setting
648250276Speter#       OFF disables BREAK key
648350276Speter# sw2   ON selects 50Hz monitor refresh rate
648450276Speter#       OFF selects 60Hz monitor refresh rate - Factory Setting
648550276Speter#
648650276Speter# Modem Port Selection
648750276Speter# sw3   sw4   sw5
648850276Speter# ---------------
648950276Speter# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
649050276Speter# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
649150276Speter# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
649250276Speter# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
649350276Speter# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
649450276Speter# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
649550276Speter# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
649650276Speter# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
649750276Speter#
649850276Speter# sw6   ON  sends bit 8 a 1 (mark)
649950276Speter#       OFF sends bit 8 as 0 (space) - Factory Setting
650050276Speter# sw7   ON  selects Block Mode
650150276Speter#       OFF selects Conversation Mode - Factory Setting
650250276Speter# sw8   ON  selects Full Duplex operation
650350276Speter#       OFF selects Half Duplex operation - Factory Setting
650450276Speter#
650550276Speter# S6 - Printer
650650276Speter# ------------
650750276Speter# sw1, sw2, sw6, sw7   Reserved - Factory 0
650850276Speter#
650950276Speter# Printer Port Selection
651050276Speter# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
651150276Speter#
651250276Speter# sw8   ON   enables Printer Port
651350276Speter#       OFF disables Printer Port - Factory Setting
651450276Speter#
651550276Speter# S7 - Polling Address
651650276Speter# --------------------
651750276Speter# sw1-7 Establish ASCII character which designates terminal polling address
651850276Speter#       ON  = logic 0
651950276Speter#       OFF = logic 1 - Factory Setting
652050276Speter# sw8   ON   enables Polling Option
652150276Speter#       OFF disables Polling Option - Factory Setting
652250276Speter#
652350276Speter#
652450276Speter# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
652550276Speter#
652650276Speter# This adm31 entry uses underline as the standout mode.
652750276Speter# If the adm31 gives you trouble with standout mode, check the DIP switch in
652850276Speter# position 6, bank @c11, 25% from back end of the circuit board.  Should be
652950276Speter# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
653050276Speter# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
6531166124Srafanadm31|lsi adm31 with sw6 set for underline mode,
6532166124Srafan	OTbs, am, mir,
6533166124Srafan	cols#80, lines#24,
6534166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6535166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6536166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
6537166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6538166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6539166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
6540166124Srafan	rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
6541166124Srafanadm31-old|o31|old adm31,
6542166124Srafan	rmul@, smso=\EG4, smul@, use=adm31,
654350276Speter# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
6544166124Srafanadm36|LSI ADM36,
6545166124Srafan	OTbs, OTpt,
6546166124Srafan	OTkn#4,
6547166124Srafan	if=/usr/share/tabset/vt100,
6548166124Srafan	is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
6549166124Srafan	use=vt100,
655050276Speter# (adm42: removed obsolete ":ma=^K^P:" -- esr)
6551166124Srafanadm42|lsi adm42,
6552166124Srafan	OTbs, am,
6553166124Srafan	cols#80, lines#24,
6554166124Srafan	bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6555166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6556166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
6557166124Srafan	il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
6558166124Srafan	kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
6559166124Srafan	smir=\Eq, smul@, use=adm+sgr,
6560166124Srafan# The following termcap for the Lear Siegler ADM-42 leaves the
6561166124Srafan# "system line" at the bottom of the screen blank (for those who
656250276Speter# find it distracting otherwise)
6563166124Srafanadm42-ns|lsi adm-42 with no system line,
6564166124Srafan	cbt=\EI\EF \011, clear=\E;\EF \011,
6565166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
6566166124Srafan	dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
6567166124Srafan	el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
6568166124Srafan	smir=\Eq\EF \011, use=adm42,
656950276Speter# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
657050276Speter# The insert mode of this terminal is commented out because it's broken for our
657150276Speter# purposes in that it will shift the position of every character on the page,
657250276Speter# not just the cursor line!
657350276Speter# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
6574166124Srafanadm1178|1178|lsi adm1178,
6575166124Srafan	am,
6576166124Srafan	cols#80, lines#24, xmc#1,
6577166124Srafan	bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
6578166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6579166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
6580166124Srafan	home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
6581166124Srafan	kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
6582166124Srafan	sgr0=\E), smso=\EG4, smul=\EG1,
658350276Speter
658450276Speter#### Prime
658550276Speter#
658650276Speter# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
658750276Speter# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
658850276Speter# Prime merged with ComputerVision in the late 1980s; you can reach them at:
658950276Speter#
659050276Speter#	ComputerVision Services
659150276Speter#	500 Old Connecticut Path
659250276Speter#	Framingham, Mass.
659350276Speter#
659450276Speter
659550276Speter# Standout mode is dim reverse-video.
6596166124Srafanpt100|pt200|wren|fenix|prime pt100/pt200,
6597166124Srafan	am, bw, mir, msgr,
6598166124Srafan	cols#80, it#8, lines#24,
6599166124Srafan	cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
6600166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
6601166124Srafan	cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
6602166124Srafan	cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M,
6603166124Srafan	ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
6604166124Srafan	home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
6605166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
6606166124Srafan	rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
6607166124Srafan	sgr0=\E[m,
6608166124Srafan	smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
6609166124Srafan	smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
6610166124Srafanpt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
6611166124Srafan	cols#132,
6612166124Srafan	cup=\E[%i%p1%d;%p2%dH, use=pt100,
6613166124Srafanpt250|Prime PT250,
6614166124Srafan	rmso@, smso@, use=pt100,
6615166124Srafanpt250w|Prime PT250 in 132-column mode,
6616166124Srafan	rmso@, smso@, use=pt100w,
661750276Speter
661850276Speter#### Qume (qvt)
661950276Speter#
662050276Speter#	Qume, Inc.
662150276Speter#	3475-A North 1st Street
662250276Speter#	San Jose CA 95134
662350276Speter#	Vox: (800)-457-4447
662450276Speter#	Fax: (408)-473-1510
662550276Speter#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
662650276Speter#
662750276Speter# Qume was bought by Wyse, but still (as of early 1995) has its own support
662850276Speter# group and production division.
662950276Speter#
663050276Speter# Discontinued Qume models:
663150276Speter#
663250276Speter# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
663350276Speter# built to replace them, and a qvt119+ which was a 101+ with available wide
663450276Speter# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
663550276Speter# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
663650276Speter# ANSI-compatible terminals with the qvt323 and qvt61.
663750276Speter#
663850276Speter# Current Qume models (as of February 1995):
663950276Speter#
664050276Speter# All current Qume terminals have ANSI-compatible operation modes.
664150276Speter# Qume is still producing the qvt62, which features emulations for other
664250276Speter# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
664350276Speter# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
664450276Speter# with many emulations including Wyse370, Wyse 325, etc.  Their newest
664550276Speter# model is the qvt520, which is vt420-compatible.
664650276Speter#
664750276Speter# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
664850276Speter#
664950276Speter# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
665050276Speter# setup mode.  Shift-s should be a configuration save to NVRAM.
665150276Speter
6652166124Srafanqvt101|qvt108|qume qvt 101 and QVT 108,
6653166124Srafan	xmc#1, use=qvt101+,
665450276Speter
665550276Speter# This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
6656166124Srafan# file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
665750276Speter# both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
665850276Speter# What seems to be going on here is that this entry was designed so that
665950276Speter# the normal highlight is bold and standout is dim plus something else
6660166124Srafan# (reverse-video maybe?  But then, are there two <rev> sequences?)
6661166124Srafanqvt101+|qvt101p|qume qvt 101 PLUS product,
6662166124Srafan	am, bw, hs, ul,
6663166124Srafan	cols#80, lines#24, xmc#0,
6664166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
6665166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6666166124Srafan	dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
6667166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
6668166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
6669166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
6670166124Srafan	kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
6671166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
6672166124Srafan	khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
6673166124Srafan	smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6674166124Srafanqvt102|qume qvt 102,
6675166124Srafan	cnorm=\E., use=qvt101,
667650276Speter# (qvt103: added <rmam>/<smam> based on init string -- esr)
6677166124Srafanqvt103|qume qvt 103,
6678166124Srafan	am, xenl, xon,
6679166124Srafan	cols#80, it#8, lines#24, vt#3,
6680166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
6681166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
6682166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
6683166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
6684166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
6685166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
6686166124Srafan	hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
6687166124Srafan	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
6688166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
6689166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>,
6690166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
6691166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
6692166124Srafan	sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
6693166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
6694166124Srafanqvt103-w|qume qvt103 132 cols,
6695166124Srafan	cols#132, lines#24,
6696166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
6697166124Srafanqvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
6698166124Srafan	am, hs, mir, msgr,
6699166124Srafan	cols#80, lines#24, xmc#0,
6700166124Srafan	bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
6701166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6702166124Srafan	cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
6703166124Srafan	el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
6704166124Srafan	hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
6705166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
6706166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
6707166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6708166124Srafan	mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
6709166124Srafan	tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6710166124Srafanqvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
6711166124Srafan	lines#25, use=qvt119+,
6712166124Srafanqvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
6713166124Srafan	cols#132,
6714166124Srafan	is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
6715166124Srafanqvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
6716166124Srafan	lines#25, use=qvt119+,
6717166124Srafanqvt203|qvt203+|qume qvt 203 Plus,
6718166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
6719166124Srafan	ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
6720166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
6721166124Srafan	kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103,
6722166124Srafanqvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
6723166124Srafan	cols#132, lines#24,
6724166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
672550276Speter#
672650276Speter#	Since a command is present for enabling 25 data lines,
672750276Speter#	a specific terminfo entry may be generated for the 203.
672850276Speter#	If one is desired for the QVT 119 PLUS then 25 lines must
672950276Speter#	be selected in the status line (setup line 9).
673050276Speter#
6731166124Srafanqvt203-25|QVT 203 PLUS with 25 by 80 column mode,
6732166124Srafan	cols#80, lines#25,
6733166124Srafan	is2=\E[=40h\E[?3l, use=qvt203,
6734166124Srafanqvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
6735166124Srafan	cols#132, lines#25,
6736166124Srafan	rs2=\E[?3h\E[=40h, use=qvt203,
673750276Speter
673850276Speter#### Televideo (tvi)
673950276Speter#
674050276Speter#	TeleVideo
674150276Speter#	550 East Brokaw Road
674250276Speter#	PO Box 49048    95161
674350276Speter#	San Jose CA 95112
674450276Speter#	Vox: (408)-954-8333
674550276Speter#	Fax: (408)-954-0623
674650276Speter#
674750276Speter#
6748166124Srafan# These require incredible amounts of padding.
674950276Speter#
675050276Speter# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
675150276Speter# Televideo terminals are ANSI and PC-ANSI compatible.
675250276Speter
6753166124Srafantvi803|televideo 803,
6754166124Srafan	clear=\E*$<10>, use=tvi950,
675550276Speter
675650276Speter# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
675750276Speter# Switch settings are:
6758166124Srafan#
675950276Speter# S1  1 2 3 4
676050276Speter#     D D D D  9600
676150276Speter#     D D D U    50
676250276Speter#     D D U D    75
676350276Speter#     D D U U   110
676450276Speter#     D U D D   135
676550276Speter#     D U D U   150
676650276Speter#     D U U D   300
676750276Speter#     D U U U   600
676850276Speter#     U D D D  1200
676950276Speter#     U D D U  1800
677050276Speter#     U D U D  2400
677150276Speter#     U D U U  3600
677250276Speter#     U U D D  4800
677350276Speter#     U U D U  7200
677450276Speter#     U U U D  9600
677550276Speter#     U U U U 19200
6776166124Srafan#
677750276Speter# S1  5 6 7 8
677850276Speter#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
677950276Speter#     U D X U  7N2
678050276Speter#     U U D D  7O1
678150276Speter#     U U D U  7O2
678250276Speter#     U U U D  7E1
678350276Speter#     U U U U  7E2
678450276Speter#     D D X D  8N1
678550276Speter#     D D X U  8N2
678650276Speter#     D U D D  8O1
678750276Speter#     D U U U  8E2
6788166124Srafan#
678950276Speter# S1  9  Autowrap
679050276Speter#     U  on
679150276Speter#     D  off
6792166124Srafan#
679350276Speter# S1 10  CR/LF
679450276Speter#     U  do CR/LF when CR received
679550276Speter#     D  do CR when CR received
6796166124Srafan#
679750276Speter# S2  1  Mode
679850276Speter#     U  block
679950276Speter#     D  conversational
6800166124Srafan#
680150276Speter# S2  2  Duplex
680250276Speter#     U  half
680350276Speter#     D  full
6804166124Srafan#
680550276Speter# S2  3  Hertz
680650276Speter#     U  50
680750276Speter#     D  60
6808166124Srafan#
680950276Speter# S2  4  Edit mode
681050276Speter#     U  local
681150276Speter#     D  duplex
6812166124Srafan#
681350276Speter# S2  5  Cursor type
681450276Speter#     U  underline
681550276Speter#     D  block
6816166124Srafan#
681750276Speter# S2  6  Cursor down key
681850276Speter#     U  send ^J
681950276Speter#     D  send ^V
6820166124Srafan#
682150276Speter# S2  7  Screen colour
682250276Speter#     U  green on black
682350276Speter#     D  black on green
6824166124Srafan#
682550276Speter# S2  8  DSR status (pin 6)
682650276Speter#     U  disconnected
682750276Speter#     D  connected
6828166124Srafan#
682950276Speter# S2  9  DCD status (pin 8)
683050276Speter#     U  disconnected
683150276Speter#     D  duplex
6832166124Srafan#
683350276Speter# S2 10  DTR status (pin 20)
683450276Speter#     U  disconnected
683550276Speter#     D  duplex
683650276Speter# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
683750276Speter# <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
6838166124Srafantvi910|televideo model 910,
6839166124Srafan	OTbs, am, msgr,
6840166124Srafan	cols#80, it#8, lines#24, xmc#1,
6841166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6842166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
6843166124Srafan	home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
6844166124Srafan	if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
6845166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
6846166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6847166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6848166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
684950276Speter# From: Alan R. Rogers <rogers%albany@csnet-relay>
685050276Speter# as subsequently hacked over by someone at SCO
685150276Speter# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
685250276Speter#
685350276Speter# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
685450276Speter#
685550276Speter# S1  1 2 3 4:
685650276Speter#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
685750276Speter#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
685850276Speter#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
685950276Speter#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
686050276Speter#
686150276Speter# S1  5 6 7 8:
686250276Speter#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
686350276Speter#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
686450276Speter#     D U D D  8O1     D U U U  8E2
6865166124Srafan#
686650276Speter# S1  9  Autowrap            (U = on, D = off)
686750276Speter# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
686850276Speter# S2  1  Mode                (U = block, D = conversational)
686950276Speter# S2  2  Duplex              (U =  half, D = full)
687050276Speter# S2  3  Hertz               (U = 50, D = 60)
687150276Speter# S2  4  Edit mode           (U = local, D = duplex)
687250276Speter# S2  5  Cursor type         (U = underline, D = block)
687350276Speter# S2  6  Cursor down key     (U = send ^J, D = send ^V)
687450276Speter# S2  7  Screen colour       (U = green on black, D = black on green)
687550276Speter# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
687650276Speter# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
687750276Speter# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
687850276Speter#
6879166124Srafantvi910+|televideo 910+,
6880166124Srafan	dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
6881166124Srafan	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
6882166124Srafan	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
6883166124Srafan	ll=\E=7\s, use=tvi910,
688450276Speter
688550276Speter# (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
688650276Speter# <khome> from BRL entry -- esr)
6887166124Srafantvi912|tvi914|tvi920|old televideo 912/914/920,
6888166124Srafan	OTbs, OTpt, am, msgr,
6889166124Srafan	cols#80, it#8, lines#24, xmc#1,
6890166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6891166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6892166124Srafan	dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
6893166124Srafan	ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
6894166124Srafan	il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
6895166124Srafan	kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
6896166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
6897166124Srafan	kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
6898166124Srafan	tbc=\E3,
6899166124Srafan# We got some new tvi912c terminals that act really weird on the regular
6900166124Srafan# termcap, so one of our gurus worked this up. Seems that cursor
690150276Speter# addressing is broken.
6902166124Srafantvi912cc|tvi912 at cowell college,
6903166124Srafan	cup@, use=tvi912c,
690450276Speter
6905166124Srafan# tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
6906166124Srafan# From: Benjamin C. W. Sittler
690750276Speter#
6908166124Srafan# Someone has put a scanned copy of the manual online at:
6909166124Srafan#     http://vt100.net/televideo/912b-om/
6910166124Srafan#
6911166124Srafan# These terminals were produced ca. 1979, and had a 12" monochrome
6912166124Srafan# screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
6913166124Srafan# ASCII, and were generally similar to adm3a but with attributes
6914166124Srafan# (including some with magic cookies), fancy half-duplex mode, and
6915166124Srafan# different bugs.
6916166124Srafan#
6917166124Srafan# Some operations reqire truly incredible amounts of padding. The
6918166124Srafan# insert_line (<il1>) and delete_line (<dl1>) operations in particular
6919166124Srafan# are so slow as to be nearly unusable.
6920166124Srafan#
6921166124Srafan# There may or may not have been a separate, earlier series of 912/920
6922166124Srafan# terminals (without the "B" and "C" suffix); I have never seen one,
6923166124Srafan# and the manual only describes the "B" and "C" series. The 912 and 920
6924166124Srafan# are quite distinct from the 914 and 924, which were much nicer non-
6925166124Srafan# magic-cookie terminals similar to the 950.
6926166124Srafan#
6927166124Srafan# This is a new description for the following TeleVideo terminals,
6928166124Srafan# distinguished chiefly by their keyboards:
6929166124Srafan#
6930166124Srafan#   TVI-912B - very odd layout, no function keys (84 keys)
6931166124Srafan#   TVI-920B - typewriter layout, no function keys (103 keys)
6932166124Srafan#   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
6933166124Srafan#   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
6934166124Srafan#
6935166124Srafan# To choose a setting for the TERM variable, start with the model:
6936166124Srafan#
6937166124Srafan#    Model  || base name
6938166124Srafan# ----------||-----------
6939166124Srafan#  TVI-912B || tvi912b
6940166124Srafan#  TVI-912C || tvi912c
6941166124Srafan#  TVI-920B || tvi920b
6942166124Srafan#  TVI-920C || tvi920c
6943166124Srafan#
6944166124Srafan# Then add a suffix from the following table describing installed options
6945166124Srafan# and how you'd like to use the terminal:
6946166124Srafan#
6947166124Srafan#   Use Video | Second | Visual |  Magic  |  Page || feature
6948166124Srafan#  Attributes |  Page  |  Bell  | Cookies | Print || suffix
6949166124Srafan# ------------|--------|--------|---------|-------||---------
6950166124Srafan#      No     |   No   |  N/A   |   N/A   |   No  || -unk
6951166124Srafan#      No     |   No   |  N/A   |   N/A   |  Yes  || -p
6952166124Srafan#      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
6953166124Srafan#      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
6954166124Srafan#      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
6955166124Srafan#      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
6956166124Srafan#     Yes     |   No   |  N/A   |    No   |  N/A  ||
6957166124Srafan#     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
6958166124Srafan#     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
6959166124Srafan#     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
6960166124Srafan#     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
6961166124Srafan#     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
6962166124Srafan#
6963166124Srafan# So e.g. a model 920 C with second page memory option, visual bell
6964166124Srafan# and no magic cookies would be tvi920c-vb; a model 912 B without the
6965166124Srafan# second page memory option and using magic cookies would be
6966166124Srafan# tvi912b-mc
6967166124Srafan#
6968166124Srafan# PADDING
6969166124Srafan#
6970166124Srafan# At 9600 baud, the terminal is prone to overflow its input buffer
6971166124Srafan# during complex operations (insert/delete
6972166124Srafan# character/line/screen/page), and it does not signal this over the
6973166124Srafan# RS232 cable. The typical symptom of an overrun is that the terminal
6974166124Srafan# starts beeping, and output becomes garbled.
6975166124Srafan#
6976166124Srafan# The padding delays in this terminfo were derived using tack(1)
6977166124Srafan# running on a Linux box connected to a TVI-920C with a later-model
6978166124Srafan# (A49C1-style) ROM running at 9600 baud, so your mileage may
6979166124Srafan# vary. The numbers below seem to give the terminal enough time so
6980166124Srafan# that it doesn't overflow its input buffer and start losing
6981166124Srafan# characters.
6982166124Srafan#
6983166124Srafan# KEYS
6984166124Srafan#
6985166124Srafan# If you want to use the FUNCT key on a tvi912[bc], use the
6986166124Srafan# corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
6987166124Srafan# the following table (these also work on the 920 series):
6988166124Srafan#
6989166124Srafan# Unshifted Function Keys:
6990166124Srafan#
6991166124Srafan#  Key | capname|| Equivalent
6992166124Srafan# -----|--------||------------
6993166124Srafan#   F1 |  <kf1> || FUNCT + @
6994166124Srafan#   F2 |  <kf2> || FUNCT + A
6995166124Srafan#   F3 |  <kf3> || FUNCT + B
6996166124Srafan#   F4 |  <kf4> || FUNCT + C
6997166124Srafan#   F5 |  <kf5> || FUNCT + D
6998166124Srafan#   F6 |  <kf6> || FUNCT + E
6999166124Srafan#   F7 |  <kf7> || FUNCT + F
7000166124Srafan#   F8 |  <kf8> || FUNCT + G
7001166124Srafan#   F9 |  <kf9> || FUNCT + H
7002166124Srafan#  F10 | <kf10> || FUNCT + I
7003166124Srafan#  F11 | <kf11> || FUNCT + J
7004166124Srafan#
7005166124Srafan# Shifted Function Keys:
7006166124Srafan#
7007166124Srafan#  SHIFT + Key | capname|| Equivalent
7008166124Srafan# -------------|--------||------------
7009166124Srafan#   SHIFT + F1 | <kf12> || FUNCT + `
7010166124Srafan#   SHIFT + F2 | <kf13> || FUNCT + a
7011166124Srafan#   SHIFT + F3 | <kf14> || FUNCT + b
7012166124Srafan#   SHIFT + F4 | <kf15> || FUNCT + c
7013166124Srafan#   SHIFT + F5 | <kf16> || FUNCT + d
7014166124Srafan#   SHIFT + F6 | <kf17> || FUNCT + e
7015166124Srafan#   SHIFT + F7 | <kf18> || FUNCT + f
7016166124Srafan#   SHIFT + F8 | <kf19> || FUNCT + g
7017166124Srafan#   SHIFT + F9 | <kf20> || FUNCT + h
7018166124Srafan#  SHIFT + F10 | <kf21> || FUNCT + i
7019166124Srafan#  SHIFT + F11 | <kf22> || FUNCT + j
7020166124Srafan#
7021166124Srafan# PORTS AND SWITCH SETTINGS
7022166124Srafan#
7023166124Srafan# Here are the switch settings for the TVI-912B/TVI-920B and
7024166124Srafan# TVI-912C/TVI-920C:
7025166124Srafan#
702650276Speter# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
702750276Speter# 2: 9600	3: 4800		4: 2400		5: 1200
702850276Speter# 6:  600	7:  300		8:  150		9:   75
702950276Speter# 10: 110
703050276Speter#
703150276Speter# S2 UART/Terminal options:
703250276Speter# 		Up			Down
703350276Speter# 1:		Not used		Not allowed
703450276Speter# 2:	Alternate character set	  Standard character set
703550276Speter# 3:	    Full duplex		    Half duplex
703650276Speter# 4:	    50 Hz refresh	    60 Hz refresh
703750276Speter# 5:	      No parity		     Send parity
703850276Speter# 6:	     2 stop bits	     1 stop bit
703950276Speter# 7:	     8 data bits	     7 data bits
704050276Speter# 8:		Not used		Not allowed on Rev E or lower
704150276Speter# 9:	     Even parity	     Odd parity
704250276Speter# 10:	    Steady cursor	    Blinking cursor
704350276Speter# 	(On Rev E or lower, use W25 instead of switch 10.)
7044166124Srafan#
704550276Speter# S5 UART/Terminal options:
704650276Speter# 		Open			Closed
704750276Speter# 1:	P3-6 Not connected	DSR received on P3-6
704850276Speter# 2:	P3-8 Not connected	DCD received on P3-8
704950276Speter#
705050276Speter# 3 Open, 4 Open:		P3-20 Not connected
705150276Speter# 3 Open, 4 Closed:	DTR on when terminal is on
705250276Speter# 3 Closed, 4 Open:	DTR is connected to RTS
705350276Speter# 3 Closed, 4 Closed:	Not allowed
705450276Speter#
705550276Speter# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
705650276Speter# 		all data transmitted out of the modem port (P3) will also be
705750276Speter# 		transmitted out of the printer port (P4).
705850276Speter#
705950276Speter# 6 Open, 7 Open:		Not allowed
706050276Speter# 6 Open, 7 Closed:	20ma current loop input
706150276Speter# 6 Closed, 7 Open:	RS232 input
706250276Speter# 6 Closed, 7 Closed:	Not allowed
706350276Speter#
706450276Speter# Jumper options:
706550276Speter# If the jumper is installed, the effect will occur (the next time the terminal
706650276Speter# is switched on).
706750276Speter#
706850276Speter# S4/W31:	Enables automatic LF upon receipt of CR from
706950276Speter# 		remote or keyboard.
7070166124Srafan# S4/W32:	Enables transmission of EOT at the end of Send.  If not
707150276Speter# 		installed, a carriage return is sent.
707250276Speter# S4/W33:	Disables automatic carriage return in column 80.
7073166124Srafan# S4/W34:	Selects Page Print Mode as initial condition.  If not
707450276Speter# 		installed, Extension Mode is selected.
707550276Speter#
7076166124Srafan# NON-STANDARD CAPABILITIES
7077166124Srafan#
7078166124Srafan# Sending <u9> or <u7> returns a cursor position report in the format
7079166124Srafan# YX\r, where Y and X are as in <cup>. This format is described in
7080166124Srafan# <u8> and <u6>, but it's not clear how one should write an
7081166124Srafan# appropriate scanf string, since we need to subtract %' ' from the
7082166124Srafan# character after reading it. The <u9> capability is used by tack(1)
7083166124Srafan# to synchronize during padding tests, and seems to work for that
7084166124Srafan# purpose.
7085166124Srafan#
7086166124Srafan# This description also includes the obsolete termcap capabilities
7087166124Srafan# has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
7088166124Srafan#
7089166124Srafan# FEATURES NOT YET DESCRIBED IN THIS TERMINFO
7090166124Srafan#
7091166124Srafan# The FUNCT modifier actually works with every normal key by sending
7092166124Srafan# ^AX\r, where X is the sequence normally sent by that key. This is a
7093166124Srafan# sort of meta key not currently describable in terminfo.
7094166124Srafan#
7095166124Srafan# There are quite a few other keys (especially on the 920 models,) but
7096166124Srafan# they are for the most part only useful in block mode.
7097166124Srafan#
7098166124Srafan# These terminals have lots of forms manipulation features, mainly
7099166124Srafan# useful in block mode, including "clear X to nulls" (vs. "clear X to
7100166124Srafan# spaces"; nulls are sentinels for "send X" operations); "send X"
7101166124Srafan# operations for uploading all or part of the screen; and block-mode
7102166124Srafan# editing keys (they don't send escape sequences, but manipulate video
7103166124Srafan# memory directly). Block mode is used for local editing, and protect
7104166124Srafan# mode (in conjunction with the "write protect" attribute,
7105166124Srafan# a.k.a. half-intensity outside of protect mode) is used to control
7106166124Srafan# which parts of the screen are edited/sent/printed (by <mc0>).
7107166124Srafan#
7108166124Srafan# There are at least two major families of ROM, "early" and
7109166124Srafan# A49B1/A49C1; the major difference seems to be that the latter ROMs
7110166124Srafan# support a few extra escape sequences for manipulating the off-screen
7111166124Srafan# memory page, and for sending whole pages back to the host (mainly
7112166124Srafan# useful in block mode.) The descriptions in this file don't use any
7113166124Srafan# of those sequences: set cursor position including page (\E-PYX,
7114166124Srafan# where P is \s for page 0 and ! for page 1 [actually only the LSB of
7115166124Srafan# P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
7116166124Srafan# as in <cup>); read cursor position (\E/), which is analogous to <u9>
7117166124Srafan# and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
7118166124Srafan# are as in <cup>, and some "send page" features mainly useful for
7119166124Srafan# forms manipulation.
7120166124Srafan#
7121166124Srafan# The keyboard enable (\E") and disable (\E#) sequences are unused,
7122166124Srafan# except that a terminal reset (<is2>) enables the keyboard.
7123166124Srafan#
7124166124Srafan# Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
7125166124Srafan# enabled in <is2>, but auto-flip is very jarring so we don't use it.
7126166124Srafan#
7127166124Srafan# BUGS
7128166124Srafan#
7129166124Srafan# At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
7130166124Srafan# sequences (I infer that in some TeleVideo terminal they may invert
7131166124Srafan# and uninvert the display) so the <flash> sequence given here is a
7132166124Srafan# cheesy page-flip instead.
7133166124Srafan#
7134166124Srafan# The back_tab (<cbt>) sequence (\EI) doesn't work according to
7135166124Srafan# tack(1), so it is not included in the descriptions below.
7136166124Srafan#
7137166124Srafan# It's not clear whether auto_left_margin (<bw>) flag should be set
7138166124Srafan# for these terminals; tack says yes, so it is set here, but this
7139166124Srafan# differs from other descriptions I've seen.
7140166124Srafan#
7141166124Srafan# Extension print mode (<mc5>) echoes all characters to the printer
7142166124Srafan# port [in addition to displaying them] except for the page print mode
7143166124Srafan# sequence (<mc4>); this is a slight violation of the terminfo
7144166124Srafan# definition for <mc5> but I don't expect it to cause problems.  We
7145166124Srafan# reset to page print mode in <rs1> since it may have been enabled
7146166124Srafan# accidentally.
7147166124Srafan#
7148166124Srafan# The descriptions with plus signs (+) are building blocks.
714950276Speter
7150166124Srafantvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes),
7151166124Srafan	OTbs, OTpt, am, bw,
7152166124Srafan	cols#80, it#8, lines#24,
7153166124Srafan	bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7154166124Srafan	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>,
7155166124Srafan	dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>,
7156166124Srafan	home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>,
7157166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>,
7158166124Srafan	ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J,
7159166124Srafan	kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA,
7160166124Srafan	mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r,
7161166124Srafan	u7=\E?, u8=%c%c\r, u9=\E?,
7162166124Srafan
7163166124Srafan# This isn't included in the basic capabilities because it is
7164166124Srafan# typically unusable in combination with the full range of video
7165166124Srafan# attributes, since the magic cookie attributes turn into ASCII
7166166124Srafan# control characters, and the half-intensity ("protected") attribute
7167166124Srafan# converts all affected characters to spaces.
7168166124Srafan
7169166124Srafantvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support,
7170166124Srafan	mc0=\EP,
7171166124Srafan
7172166124Srafan# This uses half-intensity mode (<dim>) for standout (<smso>), and
7173166124Srafan# exposes no other attributes (half-intensity is the only attribute
7174166124Srafan# that does not generate a magic cookie.)
7175166124Srafan
7176166124Srafantvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support,
7177166124Srafan	msgr,
7178166124Srafan	dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(,
7179166124Srafan	smso=\E),
7180166124Srafan
7181166124Srafan# Full magic-cookie attribute support, with half-intensity reverse
7182166124Srafan# video for standout. Note that we add a space in the <dim> sequence
7183166124Srafan# to give a consistent magic-cookie count. Also note that <sgr> uses
7184166124Srafan# backspacing (in the TVI-supported order) to apply all requested
7185166124Srafan# attributes with only a single magic cookie.
7186166124Srafan
7187166124Srafantvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support,
7188166124Srafan	xmc#1,
7189166124Srafan	blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek,
7190166124Srafan	rmul=\Em,
7191166124Srafan	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%;%;,
7192166124Srafan	sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El,
7193166124Srafan
7194166124Srafan# This uses the second page memory option to save & restore screen
7195166124Srafan# contents. If your terminal is missing the option, this description
7196166124Srafan# should still work, but that has not been tested.
7197166124Srafan
7198166124Srafantvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support,
7199166124Srafan	flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s,
7200166124Srafan	smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>,
7201166124Srafan
7202166124Srafan# This simulates flashing by briefly toggling to the other page
7203166124Srafan# (kludge!)
7204166124Srafan
7205166124Srafantvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support,
7206166124Srafan	bel=\EK$<100>\EK, use=tvi912b+2p,
7207166124Srafan
7208166124Srafan# Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
7209166124Srafan
7210166124Srafantvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support,
7211166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r,
7212166124Srafan	kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r,
7213166124Srafan	kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r,
7214166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
7215166124Srafan	kf8=^AG\r, kf9=^AH\r,
7216166124Srafan
7217166124Srafan# Combinations of the basic building blocks
7218166124Srafan
7219166124Srafantvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes),
7220166124Srafan	use=tvi912b+2p, use=tvi912b-unk,
7221166124Srafan
7222166124Srafantvi912b-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),
7223166124Srafan	use=tvi912b+vb, use=tvi912b-unk,
7224166124Srafan
7225166124Srafantvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print),
7226166124Srafan	use=tvi912b+printer, use=tvi912b-unk,
7227166124Srafan
7228166124Srafantvi912b-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),
7229166124Srafan	use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk,
7230166124Srafan
7231166124Srafantvi912b-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),
7232166124Srafan	use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk,
7233166124Srafan
7234166124Srafantvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute),
7235166124Srafan	use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk,
7236166124Srafan
7237166124Srafantvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies),
7238166124Srafan	use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk,
7239166124Srafan
7240166124Srafantvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute),
7241166124Srafan	use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk,
7242166124Srafan
7243166124Srafantvi912b-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),
7244166124Srafan	use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk,
7245166124Srafan
7246166124Srafantvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute),
7247166124Srafan	use=tvi912b+dim, use=tvi912b-unk,
7248166124Srafan
7249166124Srafantvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies),
7250166124Srafan	use=tvi912b+mc, use=tvi912b-unk,
7251166124Srafan
7252166124Srafantvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes),
7253166124Srafan	use=tvi920b+fn, use=tvi912b-unk,
7254166124Srafan
7255166124Srafantvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes),
7256166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk,
7257166124Srafan
7258166124Srafantvi920b-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),
7259166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk,
7260166124Srafan
7261166124Srafantvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print),
7262166124Srafan	use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk,
7263166124Srafan
7264166124Srafantvi920b-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),
7265166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer,
7266166124Srafan	use=tvi912b-unk,
7267166124Srafan
7268166124Srafantvi920b-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),
7269166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer,
7270166124Srafan	use=tvi912b-unk,
7271166124Srafan
7272166124Srafantvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute),
7273166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim,
7274166124Srafan	use=tvi912b-unk,
7275166124Srafan
7276166124Srafantvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies),
7277166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc,
7278166124Srafan	use=tvi912b-unk,
7279166124Srafan
7280166124Srafantvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute),
7281166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim,
7282166124Srafan	use=tvi912b-unk,
7283166124Srafan
7284166124Srafantvi920b-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),
7285166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc,
7286166124Srafan	use=tvi912b-unk,
7287166124Srafan
7288166124Srafantvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute),
7289166124Srafan	use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk,
7290166124Srafan
7291166124Srafantvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies),
7292166124Srafan	use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk,
7293166124Srafan
729450276Speter# Televideo 921 and variants
729550276Speter# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
729650276Speter# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
729750276Speter# also added empty <acsc> to suppress tic warning -- esr)
7298166124Srafantvi921|televideo model 921 with sysline same as page & real vi function,
7299166124Srafan	OTbs, OTpt, am, hs, xenl, xhp,
7300166124Srafan	cols#80, lines#24, xmc#0,
7301166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7302166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7303166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7304166124Srafan	el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
7305166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
7306166124Srafan	is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
7307166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
7308166124Srafan	ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%,
7309166124Srafan	rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr,
731050276Speter# without the beeper
731150276Speter# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
731250276Speter# also added empty <acsc> to suppress tic warning -- esr)
7313166124Srafantvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
7314166124Srafan	am, hs, xenl, xhp,
7315166124Srafan	cols#80, lines#24, xmc#0,
7316166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7317166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7318166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7319166124Srafan	el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
7320166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7321166124Srafan	invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
7322166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
7323166124Srafan	kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
7324166124Srafan	nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr,
732550276Speter# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
7326166124Srafantvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
7327166124Srafan	dl1=\ER$<2*/>, il1=\EE$<2*/>,
7328166124Srafan	is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
7329166124Srafan	kil1=\EE$<2*/>, use=tvi92B,
733050276Speter
733150276Speter# (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
733250276Speter# in from a BSD termcap file because it looks like they do something the
733350276Speter# old ones skip -- esr)
7334166124Srafantvi924|televideo tvi924,
7335166124Srafan	am, bw, hs, in, mir, msgr, xenl, xon,
7336166124Srafan	cols#80, it#8, lines#24, wsl#80, xmc#0,
7337166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
7338166124Srafan	cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
7339166124Srafan	cub1=^H, cud1=^V, cuf1=^L,
7340166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
7341166124Srafan	dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
7342166124Srafan	flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
7343166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7344166124Srafan	invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
7345166124Srafan	kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7346166124Srafan	kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
7347166124Srafan	kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
7348166124Srafan	kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
7349166124Srafan	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
7350166124Srafan	kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
7351166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
7352166124Srafan	pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef,
7353166124Srafan	use=adm+sgr,
735450276Speter
735550276Speter# TVI925 DIP switches.  In each of these, D = Down and U = Up,
735650276Speter#
735750276Speter# Here are the settings for the external (baud) switches (S1):
735850276Speter#
735950276Speter#             Position		Baud
736050276Speter# 7	8	9	10		[Printer]
736150276Speter# 1	2	3	4		[Main RS232]
736250276Speter# -----------------------------------------------------
736350276Speter# D	D	D	D	9600
736450276Speter# D	D	D	U	  50
736550276Speter# D	D	U	D	  75
736650276Speter# D	D	U	U	 110
736750276Speter# D	U	D	D	 135
736850276Speter# D	U	D	U	 150
736950276Speter# D	U	U	D	 300
737050276Speter# D	U	U	U	 600
737150276Speter# U	D	D	D	1200
737250276Speter# U	D	D	U	1800
737350276Speter# U	D	U	D	2400
737450276Speter# U	D	U	U	3600
737550276Speter# U	U	D	D	4800
737650276Speter# U	U	D	U	7200
737750276Speter# U	U	U	D	9600
737850276Speter# U	U	U	U	19200
7379166124Srafan#
7380166124Srafan#
738150276Speter# Settings for word length and stop-bits (S1)
738250276Speter#
738350276Speter#  Position	Description
7384166124Srafan# 5	6
738550276Speter# ---------------------------
738650276Speter# U	-	7-bit word
738750276Speter# D	-	8-bit word
738850276Speter# -	U	2 stop bits
738950276Speter# -	D	1 stop bit
7390166124Srafan#
7391166124Srafan#
739250276Speter# S2 (external) settings
739350276Speter#
739450276Speter# Position	Up	Dn	Description
739550276Speter# --------------------------------------------
739650276Speter# 1		X		Local edit
739750276Speter# 			X	Duplex edit (transmit editing keys)
739850276Speter# --------------------------------------------
739950276Speter# 2		X		912/920 emulation
740050276Speter# 			X	925
740150276Speter# --------------------------------------------
740250276Speter# 3			X
740350276Speter# 4			X	No parity
7404166124Srafan# 5			X
740550276Speter# --------------------------------------------
740650276Speter# 3			X
740750276Speter# 4			X	Odd parity
7408166124Srafan# 5		X
740950276Speter# --------------------------------------------
741050276Speter# 3			X
741150276Speter# 4		X		Even parity
7412166124Srafan# 5		X
741350276Speter# --------------------------------------------
7414166124Srafan# 3		X
741550276Speter# 4			X	Mark parity
7416166124Srafan# 5		X
741750276Speter# --------------------------------------------
741850276Speter# 3		X
741950276Speter# 4		X		Space parity
742050276Speter# 5		X
742150276Speter# --------------------------------------------
742250276Speter# 6		X		White on black display
742350276Speter# 			X	Black on white display
742450276Speter# --------------------------------------------
742550276Speter# 7			X	Half Duplex
742650276Speter# 8			X
742750276Speter# --------------------------------------------
742850276Speter# 7		X		Full Duplex
7429166124Srafan# 8			X
743050276Speter# --------------------------------------------
743150276Speter# 7			X	Block mode
7432166124Srafan# 8		X
743350276Speter# --------------------------------------------
743450276Speter# 9			X	50 Hz
743550276Speter# 		X		60 Hz
743650276Speter# --------------------------------------------
743750276Speter# 10		X		CR/LF (Auto LF)
743850276Speter# 			X	CR only
7439166124Srafan#
744050276Speter# S3 (internal switch) settings:
7441166124Srafan#
744250276Speter# Position	Up	Dn	Description
744350276Speter# --------------------------------------------
7444166124Srafan# 1		X		Keyclick off
744550276Speter# 			X	Keyclick on
744650276Speter# --------------------------------------------
744750276Speter# 2			X	English
7448166124Srafan# 3			X
744950276Speter# --------------------------------------------
745050276Speter# 2			X	German
7451166124Srafan# 3		X
745250276Speter# --------------------------------------------
745350276Speter# 2		X		French
7454166124Srafan# 3			X
745550276Speter# --------------------------------------------
745650276Speter# 2		X		Spanish
7457166124Srafan# 3		X
745850276Speter# --------------------------------------------
745950276Speter# 4			X	Blinking block cursor
7460166124Srafan# 5			X
746150276Speter# --------------------------------------------
746250276Speter# 4			X	Blinking underline cursor
7463166124Srafan# 5		X
746450276Speter# --------------------------------------------
746550276Speter# 4		X		Steady block cursor
7466166124Srafan# 5			X
746750276Speter# --------------------------------------------
746850276Speter# 4		X		Steady underline cursor
7469166124Srafan# 5		X
747050276Speter# --------------------------------------------
747150276Speter# 6		X		Screen blanking timer (ON)
747250276Speter# 			X	Screen blanking timer (OFF)
747350276Speter# --------------------------------------------
747450276Speter# 7		X		Page attributes
747550276Speter# 			X	Line attributes
747650276Speter# --------------------------------------------
747750276Speter# 8		X		DCD disconnected
747850276Speter# 			X	DCD connected
747950276Speter# --------------------------------------------
748050276Speter# 9		X		DSR disconnected
748150276Speter# 			X	DSR connected
748250276Speter# --------------------------------------------
748350276Speter# 10		X		DTR Disconnected
748450276Speter# 			X	DTR connected
748550276Speter# --------------------------------------------
748650276Speter#
748750276Speter# (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
7488166124Srafantvi925|televideo 925,
7489166124Srafan	OTbs, am, bw, hs, ul,
7490166124Srafan	cols#80, lines#24, xmc#1,
7491166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
7492166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7493166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
7494166124Srafan	flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
7495166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
7496166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
7497166124Srafan	ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
7498166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
7499166124Srafan	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
7500166124Srafan	tsl=\Eh\Ef, use=adm+sgr,
750150276Speter# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
750250276Speter# to avoid "magic cookie" standout glitch:
7503166124Srafantvi925-hi|TeleVideo Model 925 with half intensity standout mode,
7504166124Srafan	xmc@,
7505166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
750650276Speter
750750276Speter# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
750850276Speter# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
7509166124Srafan# for additional capabilities,
751050276Speter# The following tvi descriptions from B:pjphar and virus!mike
751150276Speter# is for all 950s.  It sets the following attributes:
751250276Speter# full duplex (\EDF)		write protect off (\E()
751350276Speter# conversation mode (\EC)	graphics mode off (\E%)
751450276Speter# white on black (\Ed)		auto page flip off (\Ew)
751550276Speter# turn off status line (\Eg)	clear status line (\Ef\r)
751650276Speter# normal video (\E0)		monitor mode off (\EX or \Eu)
751750276Speter# edit mode (\Er)		load blank char to space (\Ee\040)
751850276Speter# line edit mode (\EO)		enable buffer control (^O)
751950276Speter# protect mode off (\E\047)	duplex edit keys (\El)
752050276Speter# program unshifted send key to send line all (\E016)
752150276Speter# program shifted send key to send line unprotected (\E004)
752250276Speter# set the following to nulls:
752350276Speter#	field delimiter (\Ex0\200\200)
752450276Speter#	line delimiter (\Ex1\200\200)
752550276Speter#	start-protected field delimiter (\Ex2\200\200)
752650276Speter#	end-protected field delimiter (\Ex3\200\200)
752750276Speter# set end of text delimiter to carriage return/null (\Ex4\r\200)
7528166124Srafan#
752950276Speter#                     TVI 950 Switch Setting Reference Charts
7530166124Srafan#
753150276Speter#                                     TABLE 1:
7532166124Srafan#
753350276Speter#      S1     1     2     3     4     5     6     7     8     9    10
753450276Speter#          +-----------------------+-----+-----+-----------------------+
753550276Speter#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
753650276Speter#          |                       |Bits |Bits |                       |
753750276Speter#   +------+-----------------------+-----+-----+-----------------------+
753850276Speter#   |  Up  |        See            |  7  |  2  |        See            |
753950276Speter#   +------+-----------------------+-----+-----+-----------------------+
754050276Speter#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
754150276Speter#   +------+-----------------------+-----+-----+-----------------------+
7542166124Srafan#
7543166124Srafan#
754450276Speter#      S2     1     2     3     4     5     6     7     8     9    10
754550276Speter#          +-----+-----+-----------------+-----+-----------+-----+-----+
754650276Speter#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
754750276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
754850276Speter#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
754950276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
755050276Speter#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
755150276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7552166124Srafan#
755350276Speter#                                    TABLE 2:
7554166124Srafan#
755550276Speter#             +-----------+-----+-----+-----+-----+-----------+
755650276Speter#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
755750276Speter#             +-----------+-----+-----+-----+-----+           |
755850276Speter#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
755950276Speter#             +-----------+-----+-----+-----+-----+-----------+
756050276Speter#                         |  D  |  D  |  D  |  D  |   9600    |
756150276Speter#                         |  U  |  D  |  D  |  D  |     50    |
756250276Speter#                         |  D  |  U  |  D  |  D  |     75    |
756350276Speter#                         |  U  |  U  |  D  |  D  |    110    |
756450276Speter#                         |  D  |  D  |  U  |  D  |    135    |
756550276Speter#                         |  U  |  D  |  U  |  D  |    150    |
756650276Speter#                         |  D  |  U  |  U  |  D  |    300    |
756750276Speter#                         |  U  |  U  |  U  |  D  |    600    |
756850276Speter#                         |  D  |  D  |  D  |  U  |   1200    |
756950276Speter#                         |  U  |  D  |  D  |  U  |   1800    |
757050276Speter#                         |  D  |  U  |  D  |  U  |   2400    |
757150276Speter#                         |  U  |  U  |  D  |  U  |   3600    |
757250276Speter#                         |  D  |  D  |  U  |  U  |   4800    |
757350276Speter#                         |  U  |  D  |  U  |  U  |   7200    |
757450276Speter#                         |  D  |  U  |  U  |  U  |   9600    |
757550276Speter#                         |  U  |  U  |  U  |  U  |  19200    |
757650276Speter#                         +-----+-----+-----+-----+-----------+
7577166124Srafan#
757850276Speter#                                    TABLE 3:
757950276Speter#                         +-----+-----+-----+-----------+
758050276Speter#                         |  3  |  4  |  5  |   Parity  |
758150276Speter#                         +-----+-----+-----+-----------+
758250276Speter#                         |  X  |  X  |  D  |    None   |
758350276Speter#                         |  D  |  D  |  U  |     Odd   |
758450276Speter#                         |  D  |  U  |  U  |    Even   |
758550276Speter#                         |  U  |  D  |  U  |    Mark   |
758650276Speter#                         |  U  |  U  |  U  |   Space   |
758750276Speter#                         +-----+-----+-----+-----------+
758850276Speter#                                 X = don't care
7589166124Srafan#
759050276Speter#                                     CHART:
759150276Speter#                         +-----+-----+-----------------+
759250276Speter#                         |  7  |  8  | Communication   |
759350276Speter#                         +-----+-----+-----------------+
759450276Speter#                         |  D  |  D  |  Half Duplex    |
759550276Speter#                         |  D  |  U  |  Full Duplex    |
759650276Speter#                         |  U  |  D  |     Block       |
759750276Speter#                         |  U  |  U  |     Local       |
759850276Speter#                         +-----+-----+-----------------+
7599166124Srafan#
7600166124Srafan# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
7601166124Srafan# I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
760250276Speter# should be present and all tvi native modes use the same string for this.
7603166124Srafan# Finally, note that BSD has cud1=^V. -- esr)
7604166124Srafantvi950|televideo 950,
7605166124Srafan	OTbs, am, hs, mir, msgr, xenl, xon,
7606166124Srafan	cols#80, it#8, lines#24, xmc#1,
7607166124Srafan	acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
7608166124Srafan	cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7609166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7610166124Srafan	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
7611166124Srafan	fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
7612166124Srafan	invis@,
7613166124Srafan	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,
7614166124Srafan	kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
7615166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
7616166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7617166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
7618166124Srafan	kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
7619166124Srafan	rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
7620166124Srafan	use=adm+sgr,
762150276Speter#
762250276Speter# is for 950 with two pages adds the following:
762350276Speter#	set 48 line page (\E\\2)
762450276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
762550276Speter#	set local (no send) edit keys (\Ek)
762650276Speter#
762750276Speter# two page 950 adds the following:
762850276Speter#	when entering ex, set 24 line page (\E\\1)
762950276Speter#	when exiting ex, reset 48 line page (\E\\2)
763050276Speter#			 place cursor at 0,24,1 (\E-07 )
763150276Speter#	set duplex (send) edit keys (\El) when entering vi
763250276Speter#	set local (no send) edit keys (\Ek) when exiting vi
763350276Speter#
7634166124Srafantvi950-2p|televideo950 w/2 pages,
7635166124Srafan	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,
7636166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7637166124Srafan	smkx=\El, use=tvi950,
763850276Speter#
763950276Speter# is for 950 with four pages adds the following:
764050276Speter#	set 96 line page (\E\\3)
764150276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
764250276Speter#
764350276Speter# four page 950 adds the following:
764450276Speter#	when entering ex, set 24 line page (\E\\1)
764550276Speter#	when exiting ex, reset 96 line page (\E\\3)
764650276Speter#			 place cursor at 0,24,1 (\E-07 )
764750276Speter#
7648166124Srafantvi950-4p|televideo950 w/4 pages,
7649166124Srafan	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,
7650166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7651166124Srafan	smkx=\El, use=tvi950,
765250276Speter#
765350276Speter# <is2> for reverse video 950 changes the following:
765450276Speter#	set reverse video (\Ed)
765550276Speter#
765650276Speter# set vb accordingly (\Ed ...delay... \Eb)
765750276Speter#
7658166124Srafantvi950-rv|televideo950 rev video,
7659166124Srafan	flash=\Ed$<200/>\Eb,
7660166124Srafan	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,
7661166124Srafan	use=tvi950,
766250276Speter
766350276Speter# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
7664166124Srafantvi950-rv-2p|televideo950 rev video w/2 pages,
7665166124Srafan	flash=\Ed$<200/>\Eb,
7666166124Srafan	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,
7667166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7668166124Srafan	smkx=\El, use=tvi950,
766950276Speter
767050276Speter# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
7671166124Srafantvi950-rv-4p|televideo950 rev video w/4 pages,
7672166124Srafan	flash=\Ed$<200/>\Eb,
7673166124Srafan	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,
7674166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7675166124Srafan	smkx=\El, use=tvi950,
767650276Speter# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
767750276Speter# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
767850276Speter# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
767950276Speter# the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
768050276Speter# the :ko: string had :cl: in it, which means that one of the original
768150276Speter# <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
768250276Speter# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
768350276Speter# ko implies -- esr)
768450276Speter# If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
768550276Speter# also work.
7686166124Srafantvi955|televideo 955,
7687166124Srafan	OTbs, mc5i, msgr@,
7688166124Srafan	it#8, xmc@,
7689166124Srafan	acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
7690166124Srafan	civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
7691166124Srafan	cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
7692166124Srafan	is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
7693166124Srafan	knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%,
7694166124Srafan	rmam=\E[=7l, rmxon=^N,
7695166124Srafan	rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
7696166124Srafan	sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
7697166124Srafan	use=tvi950,
7698166124Srafantvi955-w|955-w|televideo955 w/132 cols,
7699166124Srafan	cols#132,
7700166124Srafan	is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
770150276Speter# use half-intensity as normal mode, full intensity as <bold>
7702166124Srafantvi955-hb|955-hb|televideo955 half-bright,
7703166124Srafan	bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
7704166124Srafan	sgr0=\EG0\E[=5h, use=tvi955,
770550276Speter# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
770650276Speter# (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
770750276Speter# added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
770850276Speter# According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
770950276Speter# it does to the function keys.  I deduced <rmam>/<smam>.
771050276Speter# also added empty <acsc> to suppress tic warning,  -- esr)
7711166124Srafantvi970|televideo 970,
7712166124Srafan	OTbs, OTpt, am, da, db, mir, msgr,
7713166124Srafan	cols#80, it#8, lines#24,
7714166124Srafan	acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
7715166124Srafan	cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
7716166124Srafan	cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
7717166124Srafan	ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
7718166124Srafan	hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
7719166124Srafan	is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
7720166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7721166124Srafan	kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
7722166124Srafan	kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
7723166124Srafan	rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
7724166124Srafan	sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
7725166124Srafan	smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
7726166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd,
7727166124Srafantvi970-vb|televideo 970 with visual bell,
7728166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
7729166124Srafan	use=tvi970,
7730166124Srafantvi970-2p|televideo 970 with using 2 pages of memory,
7731166124Srafan	rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
7732166124Srafan	use=tvi970,
773350276Speter# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
773450276Speter# per line (rather than 40), Esc K chooses the normal character set.  Not sure
7735166124Srafan# padding is needed, but adapted from the tvi920c termcap.  The <smso> and
773650276Speter# <smul> strings are klutzy, but at least use no screen space.
773750276Speter# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
773850276Speter# its absence means <smam>=\Ev isn't safe to use. -- esr)
7739166124Srafan# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
774050276Speter# The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
774150276Speter# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
7742166124Srafantvipt|televideo personal terminal,
7743166124Srafan	OTbs, am,
7744166124Srafan	cols#80, lines#24,
7745166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
7746166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
7747166124Srafan	ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
7748166124Srafan	il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
7749166124Srafan	kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
7750166124Srafan	rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
775150276Speter# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
7752166124Srafantvi9065|televideo 9065,
7753166124Srafan	am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
7754166124Srafan	cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
7755166124Srafan	wnum#0, wsl#30,
7756166124Srafan	acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
7757166124Srafan	blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
7758166124Srafan	cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
7759166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
7760166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
7761166124Srafan	cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
7762166124Srafan	dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
7763166124Srafan	el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
7764166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
7765166124Srafan	il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
7766166124Srafan	ip=$<3>,
7767166124Srafan	is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
7768166124Srafan	is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
7769166124Srafan	kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7770166124Srafan	kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
7771166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
7772166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
7773166124Srafan	mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
7774166124Srafan	pfkey=\E|%p1%{48}%+%c3%p2%s\031,
7775166124Srafan	pfloc=\E|%p1%{48}%+%c2%p2%s\031,
7776166124Srafan	pfx=\E|%p1%{48}%+%c1%p2%s\031,
7777166124Srafan	pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
7778166124Srafan	rep=\E[%p2%db%p1%c, rev=\EG4,
7779166124Srafan	rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
7780166124Srafan	rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
7781166124Srafan	rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
7782166124Srafan	rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
7783166124Srafan	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,
7784166124Srafan	rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
7785166124Srafan	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%%%;,
7786166124Srafan	sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
7787166124Srafan	smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
7788166124Srafan	tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
778950276Speter
779050276Speter#### Visual (vi)
779150276Speter#
779250276Speter# In September 1993, Visual Technology of Westboro, Massachusetts,
779350276Speter# merged with White Pine Software of Nashua, New Hampshire.
779450276Speter#
779550276Speter# White Pine Software may be contacted at +1 603/886-9050.
779650276Speter# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
779750276Speter#
779850276Speter
779950276Speter# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
780050276Speter# Recently I hacked together the following termcap for Visual
780150276Speter# Technology's Visual 50 terminal. It's a slight modification of
7802166124Srafan# the vt52 termcap.
780350276Speter# It's intended to run when the Visual 50 is in vt52 emulation mode
780450276Speter# (I know what you're thinking; if it's emulating a vt52, then why
780550276Speter# another termcap? Well, it turns out that the Visual 50 can handle
780650276Speter# <dl1> and db(?) among other things, which the vt52 can't)
780750276Speter# The termcap works OK for the most part. The only problem is on
780850276Speter# character inserts. The whole line gets painfully redrawn for each
780950276Speter# character typed. Any suggestions?
781050276Speter# Beau's entry is combined with the vi50 entry from University of Wisconsin.
781150276Speter# Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
781250276Speter# disguise; <kf7>-<kf9> are really l1-l3.
7813166124Srafanvi50|visual 50,
7814166124Srafan	OTbs, OTpt, am, da, db, msgr,
7815166124Srafan	cols#80, it#8, lines#24,
7816166124Srafan	OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
7817166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7818166124Srafan	cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
7819166124Srafan	ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
7820166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
7821166124Srafan	kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
7822166124Srafan	nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
782350276Speter# this one was BSD & SCO's vi50
7824166124Srafanvi50adm|visual 50 in adm3a mode,
7825166124Srafan	am, msgr,
7826166124Srafan	cols#80, it#8, lines#24,
7827166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7828166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
7829166124Srafan	ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
7830166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
7831166124Srafan	rmso=\ET, smso=\EU,
783262449Speter# From: Jeff Siegal <jbs@quiotix.com>
7833166124Srafanvi55|Visual 55,
7834166124Srafan	OTbs, am, mir, msgr,
7835166124Srafan	cols#80, it#8, lines#24,
7836166124Srafan	clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
7837166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7838166124Srafan	cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
7839166124Srafan	il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
7840166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
7841166124Srafan	smir=\Ea, smso=\EU,
784250276Speter
784350276Speter# Visual 200 from BRL
784450276Speter# The following switch settings are assumed for normal operation:
784550276Speter#	FULL_DUPLEX		SCROLL			CR
784650276Speter#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
784750276Speter# Other switches may be set for operator convenience or communication
784850276Speter# requirements.
784950276Speter# Character insertion is kludged in order to get around the "beep" misfeature.
785050276Speter# (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
785150276Speter# Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
785250276Speter# and <dl1> strings, but we seem to get along fine without them.
7853166124Srafanvi200|visual 200,
7854166124Srafan	OTbs, OTpt, am, mir, msgr,
7855166124Srafan	OTkn#10, cols#80, it#8, lines#24,
7856166124Srafan	acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
7857166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7858166124Srafan	cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
7859166124Srafan	el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
7860166124Srafan	kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
7861166124Srafan	kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
7862166124Srafan	kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
7863166124Srafan	kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
7864166124Srafan	kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
7865166124Srafan	rmacs=\EG, rmkx=\E>, rmso=\E3,
7866166124Srafan	rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
7867166124Srafan	smkx=\E=, smso=\E4, tbc=\Eg,
786850276Speter# The older Visuals didn't come with function keys. This entry uses
786950276Speter# <smkx> and <rmkx> so that the keypad keys can be used as function keys.
787050276Speter# If your version of vi doesn't support function keys you may want
787150276Speter# to use vi200-f.
7872166124Srafanvi200-f|visual 200 no function keys,
7873166124Srafan	is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
7874166124Srafan	kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
7875166124Srafan	kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
7876166124Srafan	use=vi200,
7877166124Srafanvi200-rv|visual 200 reverse video,
7878166124Srafan	cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
787950276Speter
788050276Speter# the function keys are programmable but we don't reprogram them to their
788150276Speter# default values with <is2> because programming them is very verbose. maybe
788250276Speter# an initialization file should be made for the 300 and they could be stuck
788350276Speter# in it.
788450276Speter# (vi300: added <rmam>/<smam> based on init string -- esr)
7885166124Srafanvi300|visual 300 ansi x3.64,
7886166124Srafan	am, bw, mir, xenl,
7887166124Srafan	cols#80, lines#24,
7888166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
7889166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
7890166124Srafan	dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
7891166124Srafan	il1=\E[L, ind=^J,
7892166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
7893166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7894166124Srafan	kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
7895166124Srafan	kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
7896166124Srafan	kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
7897166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
7898166124Srafan	smso=\E[1m, smul=\E[4m,
789950276Speter# some of the vi300s have older firmware that has the command
790050276Speter# sequence for setting editing extent reversed.
7901166124Srafanvi300-old|visual 300 with old firmware (set edit extent reversed),
7902166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
7903166124Srafan	use=vi300,
790450276Speter
790550276Speter# Visual 500 prototype entry from University of Wisconsin.
790650276Speter# The best place to look for the escape sequences is page A1-1 of the
790750276Speter# Visual 500 manual.  The initialization sequence given here may be
790850276Speter# overkill, but it does leave out some of the initializations which can
790950276Speter# be done with the menus in set-up mode.
791050276Speter# The :xp: line below is so that emacs can understand the padding requirements
791150276Speter# of this slow terminal.  :xp: is 10 time the padding factor.
791250276Speter# (vi500: removed unknown :xp#4: termcap;
791350276Speter# also added empty <acsc> to suppress tic warning -- esr)
7914166124Srafanvi500|visual 500,
7915166124Srafan	am, mir, msgr,
7916166124Srafan	cols#80, it#8, lines#33,
7917166124Srafan	acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
7918166124Srafan	csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
7919166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
7920166124Srafan	dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
7921166124Srafan	el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
7922166124Srafan	ind=^J,
7923166124Srafan	is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
7924166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
7925166124Srafan	khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
7926166124Srafan	rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
792750276Speter
792850276Speter# The visual 550 is a visual 300 with tektronix graphics,
792950276Speter# and with 33 lines. clear screen is modified here to
793050276Speter# also clear the graphics.
7931166124Srafanvi550|visual 550 ansi x3.64,
7932166124Srafan	lines#33,
7933166124Srafan	clear=\030\E[H\E[2J, use=vi300,
793450276Speter
7935166124Srafanvi603|visual603|visual 603,
7936166124Srafan	hs, mir,
7937166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
7938166124Srafan	csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
7939166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
7940166124Srafan	dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
7941166124Srafan	ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
7942166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
7943166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
7944166124Srafan	use=vt100,
794550276Speter
794650276Speter#### Wyse (wy)
794750276Speter#
794850276Speter#	Wyse Technology
794950276Speter#	3471 North First Street
795050276Speter#	San Jose, CA 95134
795150276Speter#	Vox: (408)-473-1200
795250276Speter#	Fax: (408) 473-1222
795350276Speter#	Web: http://www.wyse.com
795450276Speter#
795550276Speter# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
795650276Speter# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
795750276Speter# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
795850276Speter# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
795950276Speter#
796050276Speter# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
796150276Speter# They now own the Qume and Amdek brands, too.  So these are the people to
796250276Speter# talk with about all Link, Qume, and Amdek terminals.
796350276Speter#
796450276Speter# These entries include a few small fixes.
796550276Speter# I canceled the bel capacities in the vb entries.
796650276Speter# I made two trivial syntax fixes in the wyse30 entry.
796750276Speter# I made some entries relative to adm+sgr.
796850276Speter#
796950276Speter#
797050276Speter# Note: The wyse75, wyse85, and wyse99 have been discontinued.
797150276Speter
797250276Speter#	   Although the Wyse 30 can support more than one attribute
797350276Speter#	it requires magic cookies to do so.  Many applications do not
797450276Speter#	function well with magic cookies.  The following terminfo uses
797550276Speter#	the protect mode to support one attribute (dim) without cookies.
797650276Speter#	If more than one attribute is needed then the wy30-mc terminfo
797750276Speter#	should be used.
797850276Speter#
7979166124Srafanwy30|wyse30|Wyse 30,
7980166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
7981166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
7982166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
7983166124Srafan	civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
7984166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
7985166124Srafan	cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
7986166124Srafan	dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
7987166124Srafan	fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
7988166124Srafan	ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
7989166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
7990166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
7991166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7992166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
7993166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
7994166124Srafan	mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
7995166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
7996166124Srafan	rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
7997166124Srafan	sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
7998166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
7999166124Srafan	smso=\E`7\E), tbc=\E0, tsl=\EF,
800050276Speter#
800150276Speter#	This terminal description uses the non-hidden attribute mode
800250276Speter#	(with magic cookie).
800350276Speter#
800450276Speter# (wy30-mc: added <smcup> to suppress tic warning --esr)
8005166124Srafanwy30-mc|wyse30-mc|wyse 30 with magic cookies,
8006166124Srafan	msgr@,
8007166124Srafan	ma@, xmc#1,
8008166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
8009166124Srafan	rmcup=\EG0, rmso=\EG0,
8010166124Srafan	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%;,
8011166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8012166124Srafan	smso=\EG4, use=wy30, use=adm+sgr,
801350276Speter#	The mandatory pause used by <flash> does not work with
801450276Speter#	older versions of terminfo.  If you see this effect then
801550276Speter#	unset xon and delete the / from the delay.
801650276Speter#	i.e. change $<100/> to $<100>
8017166124Srafanwy30-vb|wyse30-vb|wyse 30 visible bell,
8018166124Srafan	bel@, use=wy30,
801950276Speter#
802050276Speter#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
802150276Speter#	Normal) without magic cookies by using the protect mode.
802250276Speter#	The following description uses this feature, but when more
802350276Speter#	than one attribute is put on the screen at once, all attributes
802450276Speter#	will be changed to be the same as the last attribute given.
802550276Speter#	   The Wyse 50 can support more attributes when used with magic
802650276Speter#	cookies.  The wy50-mc terminal description uses magic cookies
802750276Speter#	to correctly handle multiple attributes on a screen.
802850276Speter#
8029166124Srafanwy50|wyse50|Wyse 50,
8030166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
8031166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
8032166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
8033166124Srafan	civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
8034166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
8035166124Srafan	cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
8036166124Srafan	ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8037166124Srafan	home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
8038166124Srafan	is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
8039166124Srafan	kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
8040166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8041166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8042166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8043166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8044166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8045166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
8046166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8047166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
8048166124Srafan	ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
8049166124Srafan	sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
8050166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
8051166124Srafan	smso=\E`6\E), tbc=\E0, tsl=\EF,
805250276Speter#
805350276Speter#	This terminal description uses the non-hidden attribute mode
805450276Speter#	(with magic cookie).
805550276Speter#
805650276Speter#	The mandatory pause used by flash does not work with some
805750276Speter#	older versions of terminfo.  If you see this effect then
805850276Speter#	unset <xon> and delete the / from the delay.
805950276Speter#	i.e. change $<100/> to $<100>
806050276Speter# (wy50-mc: added <smcup> to suppress tic warning --esr)
8061166124Srafanwy50-mc|wyse50-mc|wyse 50 with magic cookies,
8062166124Srafan	msgr@,
8063166124Srafan	ma@, xmc#1,
8064166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
8065166124Srafan	rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
8066166124Srafan	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%;,
8067166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8068166124Srafan	smso=\EGt, use=wy50, use=adm+sgr,
8069166124Srafanwy50-vb|wyse50-vb|wyse 50 visible bell,
8070166124Srafan	bel@, use=wy50,
8071166124Srafanwy50-w|wyse50-w|wyse 50 132-column,
8072166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8073166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8074166124Srafan	use=wy50,
8075166124Srafanwy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
8076166124Srafan	bel@, use=wy50-w,
807750276Speter
807850276Speter#
807950276Speter#	The Wyse 350 is a Wyse 50 with color.
808050276Speter#	Unfortunately this means that it has magic cookies.
808150276Speter#	The color attributes are designed to overlap the reverse, dim and
808250276Speter#	underline attributes.  This is nice for monochrome applications
808350276Speter#	because you can make underline stuff green (or any other color)
808450276Speter#	but for true color applications it's not so hot because you cannot
808550276Speter#	mix color with reverse, dim or underline.
808650276Speter#	    To further complicate things one of the attributes must be
808750276Speter#	black (either the foreground or the background).  In reverse video
808850276Speter#	the background changes color with black letters.  In normal video
8089166124Srafan#	the foreground changes colors on a black background.
809050276Speter#	    This terminfo uses some of the more advanced features of curses
809150276Speter#	to display both color and blink.  In the final analysis I am not
809250276Speter#	sure that the wy350 runs better with this terminfo than it does
809350276Speter#	with the wy50 terminfo (with user adjusted colors).
809450276Speter#
809550276Speter#	The mandatory pause used by flash does not work with
809650276Speter#	older versions of terminfo.  If you see this effect then
809750276Speter#	unset xon and delete the / from the delay.
809850276Speter#	i.e. change $<100/> to $<100>
809950276Speter#
810050276Speter# Bug: The <op> capability resets attributes.
8101166124Srafanwy350|wyse350|Wyse 350,
8102166124Srafan	am, bw, hs, mc5i, mir, xon,
8103166124Srafan	colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
8104166124Srafan	wsl#45, xmc#1,
8105166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
8106166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
8107166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
8108166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
8109166124Srafan	dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
8110166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8111166124Srafan	il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
8112166124Srafan	is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
8113166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
8114166124Srafan	ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8115166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8116166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8117166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8118166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8119166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
8120166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8121166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
8122166124Srafan	rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
8123166124Srafan	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,
8124166124Srafan	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%;,
8125166124Srafan	sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
8126166124Srafan	smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr,
8127166124Srafanwy350-vb|wyse350-vb|wyse 350 visible bell,
8128166124Srafan	bel@, use=wy350,
8129166124Srafanwy350-w|wyse350-w|wyse 350 132-column,
8130166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8131166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8132166124Srafan	use=wy350,
8133166124Srafanwy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
8134166124Srafan	bel@, use=wy350-w,
813550276Speter#
813650276Speter#	This terminfo description is untested.
813750276Speter#	The wyse100 emulates an adm31, so the adm31 entry should work.
813850276Speter#
8139166124Srafanwy100|wyse 100,
8140166124Srafan	hs, mir,
8141166124Srafan	cols#80, lines#24, xmc#1,
8142166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8143166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
8144166124Srafan	dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
8145166124Srafan	invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
8146166124Srafan	kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
8147166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
8148166124Srafan	rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr,
814950276Speter#
815050276Speter#	The Wyse 120/150 has most of the features of the Wyse 60.
815150276Speter#	This terminal does not need padding up to 9600 baud!
815250276Speter#	<msgr> should be set but the clear screen fails when in
815350276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
815450276Speter#	then set <msgr>.
815550276Speter#
8156166124Srafanwy120|wyse120|wy150|wyse150|Wyse 120/150,
8157166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8158166124Srafan	cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8159166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8160166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8161166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8162166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8163166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8164166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
8165166124Srafan	hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8166166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8167166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8168166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8169166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8170166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8171166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8172166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8173166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8174166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8175166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8176166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8177166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8178166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
8179166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8180166124Srafan	rs3=\EwG\Ee($<100>,
8181166124Srafan	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,
8182166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8183166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8184166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
818550276Speter#
8186166124Srafanwy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
8187166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8188166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8189166124Srafan	rs2=\E`;$<70>, use=wy120,
819050276Speter#
8191166124Srafanwy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
8192166124Srafan	lh@, lines#25, lw@, nlab@,
8193166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120,
819450276Speter#
8195166124Srafanwy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
8196166124Srafan	lh@, lines#25, lw@, nlab@,
8197166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
819850276Speter#
8199166124Srafanwy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
8200166124Srafan	bel@, use=wy120,
820150276Speter#
8202166124Srafanwy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
8203166124Srafan	bel@, use=wy120-w,
820450276Speter#
820550276Speter#	The Wyse 60 is like the Wyse 50 but with more padding.
820650276Speter#	The reset strings are slow and the pad times very depending
820750276Speter#	on other parameters such as font loading.  I have tried
820850276Speter#	to follow the following outline:
820950276Speter#
821050276Speter#		<rs1> -> set personality
821150276Speter#		<rs2> -> set number of columns
821250276Speter#		<rs3> -> set number of lines
821350276Speter#		<is1> -> select the proper font
821450276Speter#		<is2> -> do the initialization
821550276Speter#		<is3> -> set up display memory (2 pages)
821650276Speter#
821750276Speter#	The Wyse 60's that have vt100 emulation are slower than the
821850276Speter#	older Wyse 60's.  This change happened mid-1987.
821950276Speter#	The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
822050276Speter#
822150276Speter#	The meta key is only half right.  This terminal will return the
822250276Speter#	high order bit set when you hit CTRL-function_key
822350276Speter#
822450276Speter#	It may be useful to assign two function keys with the
822550276Speter#	values  \E=(\s  look at old data in page 1
822650276Speter#	        \E=W,   look at bottom of page 1
822750276Speter#	where \s is a space ( ).
822850276Speter#
822950276Speter#	Note:
823050276Speter#	   The Wyse 60 runs faster when the XON/XOFF
823150276Speter#	   handshake is turned off.
823250276Speter#
823350276Speter# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
823450276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8235166124Srafanwy60|wyse60|Wyse 60,
8236166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8237166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
8238166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8239166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
8240166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8241166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8242166124Srafan	dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
8243166124Srafan	ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8244166124Srafan	home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
8245166124Srafan	ip=$<3>, is1=\EcB0\EcC1,
8246166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8247166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8248166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8249166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8250166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8251166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8252166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8253166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8254166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8255166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8256166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8257166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
8258166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
8259166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
8260166124Srafan	rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
8261166124Srafan	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,
8262166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8263166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8264166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
826550276Speter#
8266166124Srafanwy60-w|wyse60-w|wyse 60 132-column,
8267166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8268166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
8269166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy60,
827050276Speter#
8271166124Srafanwy60-25|wyse60-25|wyse 60 80-column 25-lines,
8272166124Srafan	lh@, lines#25, lw@, nlab@,
8273166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60,
8274166124Srafanwy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
8275166124Srafan	lh@, lines#25, lw@, nlab@,
8276166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
827750276Speter#
8278166124Srafanwy60-42|wyse60-42|wyse 60 80-column 42-lines,
8279166124Srafan	lines#42,
8280166124Srafan	clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
8281166124Srafan	dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
8282166124Srafan	ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
8283166124Srafan	ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
8284166124Srafanwy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
8285166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8286166124Srafan	clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8287166124Srafan	dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
8288166124Srafan	nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
828950276Speter#
8290166124Srafanwy60-43|wyse60-43|wyse 60 80-column 43-lines,
8291166124Srafan	lh@, lines#43, lw@, nlab@,
8292166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42,
8293166124Srafanwy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
8294166124Srafan	lh@, lines#43, lw@, nlab@,
8295166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42-w,
829650276Speter#
8297166124Srafanwy60-vb|wyse60-vb|Wyse 60 visible bell,
8298166124Srafan	bel@, use=wy60,
8299166124Srafanwy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
8300166124Srafan	bel@, use=wy60-w,
830150276Speter
830250276Speter#	The Wyse-99GT looks at lot like the Wyse 60 except that it
830350276Speter#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
830450276Speter#	setup parameter controls the number of lines on the screen.
830550276Speter#	For the Wyse 99GT the "lines" setup parameter controls the
830650276Speter#	number of lines in a page.  The screen can display 25 lines max.
830750276Speter#	    The Wyse-99GT also has personalities for the VT220 and
830850276Speter#	Tektronix 4014.  But this has no bearing on the native mode.
830950276Speter#
831050276Speter#	(msgr) should be set but the clear screen fails when in
831150276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
831250276Speter#	then set msgr, else use msgr@.
831350276Speter#
831450276Speter#	u0 -> enter Tektronix mode
831550276Speter#	u1 -> exit Tektronix mode
831650276Speter#
8317166124Srafanwy99gt|wyse99gt|Wyse 99gt,
8318166124Srafan	msgr@,
8319166124Srafan	clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
8320166124Srafan	el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
8321166124Srafan	il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
8322166124Srafan	ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
8323166124Srafan	u0=\E~>\E8, u1=\E[42h, use=wy60,
832450276Speter#
8325166124Srafanwy99gt-w|wyse99gt-w|wyse 99gt 132-column,
8326166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8327166124Srafan	clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8328166124Srafan	dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
8329166124Srafan	use=wy99gt,
833050276Speter#
8331166124Srafanwy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
8332166124Srafan	lh@, lines#25, lw@, nlab@,
8333166124Srafan	pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
833450276Speter#
8335166124Srafanwy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
8336166124Srafan	lh@, lines#25, lw@, nlab@,
8337166124Srafan	pln@, rs2=\E`;$<150>, use=wy99gt-w,
833850276Speter#
8339166124Srafanwy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
8340166124Srafan	bel@, use=wy99gt,
834150276Speter#
8342166124Srafanwy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
8343166124Srafan	bel@, use=wy99gt-w,
834450276Speter
834550276Speter# Can't set tabs! Other bugs (ANSI mode only):
834650276Speter# - can't redefine function keys (anyway, key redefinition in ANSI mode
834750276Speter#   is too much complex to be described);
834850276Speter# - meta key can't be described (the terminal forgets it when reset);
834950276Speter# The xon-xoff handshaking can't be disabled while in ansi personality, so
835050276Speter# emacs can't work at speed greater than 9600 baud.  No padding is needed at
835150276Speter# this speed.
835250276Speter#   dch1 has been commented out because it causes annoying glittering when
835350276Speter# vi deletes one character at the beginning of a line with tabs in it.
835450276Speter#   dch makes sysgen(1M) have a horrible behaviour when deleting
835550276Speter# a screen and makes screen(1) behave badly, so it is disabled too. The nice
835650276Speter# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
835750276Speter# not, so smir and rmir are commented out as well.
835850276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8359166124Srafanwy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
8360166124Srafan	am, km, mc5i, mir, msgr, xenl,
8361166124Srafan	cols#80, it#8, lines#25, vt#3,
8362166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
8363166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8364166124Srafan	clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
8365166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
8366166124Srafan	cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
8367166124Srafan	cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
8368166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
8369166124Srafan	cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
8370166124Srafan	ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
8371166124Srafan	enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
8372166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
8373166124Srafan	il1=\E[L, ind=\n$<1>, invis=\E[8m,
8374166124Srafan	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,
8375166124Srafan	kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
8376166124Srafan	kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
8377166124Srafan	kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
8378166124Srafan	kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
8379166124Srafan	kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
8380166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
8381166124Srafan	mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
8382166124Srafan	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
8383166124Srafan	rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
8384166124Srafan	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,
8385166124Srafan	sc=\E7,
8386166124Srafan	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%;,
8387166124Srafan	sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
8388166124Srafan	smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
838950276Speter
839050276Speter#   This is the american terminal. Here tabs work fine.
839150276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8392166124Srafanwy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
8393166124Srafan	hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi,
839450276Speter
839550276Speter# This terminal (firmware version 02) has a lot of bugs:
839650276Speter# - can't set tabs;
839750276Speter# - other bugs in ANSI modes (see above).
839850276Speter# This description disables handshaking when using cup. This is because
839950276Speter# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
840050276Speter# cannot be used at speeds greater than 9600 baud, because at greater
840150276Speter# speeds handshaking is needed even for character sending. If you use
840250276Speter# DTR handshaking, you can use even greater speeds.
840350276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8404166124Srafanwy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
8405166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8406166124Srafan	cols#80, it#8, lines#25, wsl#46,
8407166124Srafan	acsc='x+y.wi~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
8408166124Srafan	blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
8409166124Srafan	cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
8410166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8411166124Srafan	cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
8412166124Srafan	ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
8413166124Srafan	flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
8414166124Srafan	ind=^J, invis=\EG3,
8415166124Srafan	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,
8416166124Srafan	ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
8417166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
8418166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
8419166124Srafan	kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
8420166124Srafan	kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
8421166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
8422166124Srafan	kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
8423166124Srafan	nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
8424166124Srafan	rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
8425166124Srafan	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,
8426166124Srafan	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%;,
8427166124Srafan	sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
8428166124Srafan	smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
842950276Speter
843050276Speter# This is the american terminal. Here tabs work.
843150276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8432166124Srafanwy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
8433166124Srafan	hts=\E1, tbc=\E0, use=wy99f,
843450276Speter
843550276Speter#
843650276Speter#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
843750276Speter#	The reset strings are slow and the pad times very depending
843850276Speter#	on other parameters such as font loading.  I have tried
843950276Speter#	to follow the following outline:
844050276Speter#
844150276Speter#		<rs1> -> set personality
844250276Speter#		<rs2> -> set number of columns
844350276Speter#		<rs3> -> set number of lines
844450276Speter#		<is1> -> select the proper font
844550276Speter#		<is2> -> do the initialization
844650276Speter#		<is3> -> set up display memory (2 pages)
844750276Speter#
844850276Speter#	The display memory may be used for either text or graphics.
844950276Speter#	When "Display Memory = Shared" the terminal will have more pages
845050276Speter#	but garbage may be left on the screen when you switch from
845150276Speter#	graphics to text.  If "Display Memory = Unshared" then the
845250276Speter#	text area will be only one page long.
845350276Speter#
845450276Speter# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
845550276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8456166124Srafanwy160|wyse160|Wyse 160,
8457166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8458166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
8459166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8460166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
8461166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8462166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
8463166124Srafan	dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
8464166124Srafan	el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
8465166124Srafan	hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
8466166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8467166124Srafan	is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8468166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8469166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8470166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8471166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8472166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8473166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8474166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
8475166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8476166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8477166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
8478166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
8479166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
8480166124Srafan	rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
8481166124Srafan	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,
8482166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8483166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8484166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
848550276Speter#
8486166124Srafanwy160-w|wyse160-w|wyse 160 132-column,
8487166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8488166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
8489166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160,
849050276Speter#
8491166124Srafanwy160-25|wyse160-25|wyse 160 80-column 25-lines,
8492166124Srafan	lh@, lines#25, lw@, nlab@,
8493166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160,
8494166124Srafanwy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
8495166124Srafan	lh@, lines#25, lw@, nlab@,
8496166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
849750276Speter#
8498166124Srafanwy160-42|wyse160-42|wyse 160 80-column 42-lines,
8499166124Srafan	lines#42,
8500166124Srafan	clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
8501166124Srafan	ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
8502166124Srafan	rs3=\Ee*$<150>, use=wy160,
8503166124Srafanwy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
8504166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8505166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
8506166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
850750276Speter#
8508166124Srafanwy160-43|wyse160-43|wyse 160 80-column 43-lines,
8509166124Srafan	lh@, lines#43, lw@, nlab@,
8510166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42,
8511166124Srafanwy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
8512166124Srafan	lh@, lines#43, lw@, nlab@,
8513166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42-w,
851450276Speter#
8515166124Srafanwy160-vb|wyse160-vb|Wyse 160 visible bell,
8516166124Srafan	bel@, use=wy160,
8517166124Srafanwy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
8518166124Srafan	bel@, use=wy160-w,
851950276Speter#
852050276Speter#	The Wyse 75 is a vt100 lookalike without advanced video.
852150276Speter#
852250276Speter#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
852350276Speter#	Underline) without magic cookies.  The following description
852450276Speter#	uses this capability, but when more than one attribute is
852550276Speter#	put on the screen at once, all attributes will be changed
852650276Speter#	to be the same as the last attribute given.
852750276Speter#	   The Wyse 75 can support more attributes when used with magic
852850276Speter#	cookies.  The wy75-mc terminal description uses magic cookies
852950276Speter#	to correctly handle multiple attributes on a screen.
853050276Speter#
8531166124Srafanwy75|wyse75|wyse 75,
8532166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8533166124Srafan	cols#80, lines#24, ma#1, pb#1201, wsl#78,
8534166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8535166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
8536166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
8537166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
8538166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
8539166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
8540166124Srafan	dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
8541166124Srafan	dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
8542166124Srafan	ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
8543166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
8544166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
8545166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8546166124Srafan	ind=\n$<2>, ip=$<1>,
8547166124Srafan	is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
8548166124Srafan	is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D,
8549166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K,
8550166124Srafan	kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
8551166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
8552166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
8553166124Srafan	kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
8554166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
8555166124Srafan	khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
8556166124Srafan	kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
8557166124Srafan	mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
8558166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
8559166124Srafan	rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
8560166124Srafan	sc=\E7,
8561166124Srafan	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%;,
8562166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8563166124Srafan	smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
8564166124Srafan	tbc=\E[3g, tsl=\E[>\,\001, use=vt220+keypad,
856550276Speter#
856650276Speter#	This terminal description uses the non-hidden attribute mode
856750276Speter#	(with magic cookie).
856850276Speter#
8569166124Srafanwy75-mc|wyse75-mc|wyse 75 with magic cookies,
8570166124Srafan	msgr@,
8571166124Srafan	ma@, xmc#1,
8572166124Srafan	blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
8573166124Srafan	rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
8574166124Srafan	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%;,
8575166124Srafan	sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
8576166124Srafan	use=wy75,
8577166124Srafanwy75-vb|wyse75-vb|wyse 75 with visible bell,
8578166124Srafan	pb@,
8579166124Srafan	bel@, use=wy75,
8580166124Srafanwy75-w|wyse75-w|wyse 75 in 132 column mode,
8581166124Srafan	cols#132, wsl#130,
8582166124Srafan	rs2=\E[35h\E[?3h$<80>, use=wy75,
8583166124Srafanwy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
8584166124Srafan	pb@,
8585166124Srafan	bel@, use=wy75-w,
858650276Speter#
858750276Speter#	Wyse 85 emulating a vt220 7 bit mode.
858850276Speter#		24 line screen with status line.
858950276Speter#
859050276Speter#	The vt220 mode permits more function keys but it wipes out
859150276Speter#	the escape key.  I strongly recommend that <f11> be set to
859250276Speter#	escape (esc).
859350276Speter#	The terminal may have to be set for 8 data bits and 2 stop
859450276Speter#	bits for the arrow keys to work.
859550276Speter#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
859650276Speter#	<dch> and <ich> work best when XON/XOFF is set.  <ich> and
859750276Speter#	<dch> leave trash on the screen when used without XON/XOFF.
859850276Speter#
8599166124Srafanwy85|wyse85|wyse 85,
8600166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8601166124Srafan	cols#80, it#8, lines#24, wsl#80,
8602166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8603166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8604166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8605166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8606166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8607166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8608166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8609166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8610166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8611166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8612166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8613166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8614166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8615166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8616166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
8617166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~,
8618166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
8619166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
8620166124Srafan	kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~,
8621166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
8622166124Srafan	khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
8623166124Srafan	kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8624166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8625166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8626166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8627166124Srafan	rs3=\E[?5l, sc=\E7,
8628166124Srafan	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%;,
8629166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8630166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8631166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad,
863250276Speter#
863350276Speter#	Wyse 85 with visual bell.
8634166124Srafanwy85-vb|wyse85-vb|wyse 85 with visible bell,
8635166124Srafan	bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
863650276Speter#
863750276Speter#	Wyse 85 in 132-column mode.
8638166124Srafanwy85-w|wyse85-w|wyse 85 in 132-column mode,
8639166124Srafan	cols#132, wsl#132,
8640166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy85,
864150276Speter#
864250276Speter#	Wyse 85 in 132-column mode with visual bell.
8643166124Srafanwy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
8644166124Srafan	bel@, use=wy85-w,
864562449Speter
864662449Speter# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
864762449Speter# This copes with an apparent firmware bug in the wy85.  He writes:
864862449Speter# "What I did was change leave the terminal cursor keys set to Normal
864962449Speter# (instead of application), and change \E[ to \233 for all the keys in
865062449Speter# terminfo. At one point, I found some reference indicating that this
865162449Speter# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
8652166124Srafan# me), but I can't find that and the server under my bookmark to "Wyse
865362449Speter# Technical" isn't responding.  So there's the question of wether the wy85
865462449Speter# terminfo should reflect the manufactuer's intended behaviour of the terminal
865562449Speter# or the actual."
8656166124Srafanwy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
8657166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8658166124Srafan	cols#80, it#8, lines#24, wsl#80,
8659166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8660166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8661166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8662166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8663166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8664166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8665166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8666166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8667166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8668166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8669166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8670166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8671166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8672166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8673166124Srafan	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
8674166124Srafan	kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B,
8675166124Srafan	kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM,
8676166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
8677166124Srafan	kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~,
8678166124Srafan	kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ,
8679166124Srafan	kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~,
8680166124Srafan	kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~,
8681166124Srafan	khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~,
8682166124Srafan	kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8683166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8684166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8685166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8686166124Srafan	rs3=\E[?5l, sc=\E7,
8687166124Srafan	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%;,
8688166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8689166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8690166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH,
869150276Speter#
869250276Speter#	Wyse 185 emulating a vt320 7 bit mode.
869350276Speter#
869450276Speter#	This terminal always displays 25 lines.  These lines may be used
869550276Speter#	as 24 data lines and a terminal status line (top or bottom) or
869650276Speter#	25 data lines.  The 48 and 50 line modes change the page size
869750276Speter#	and not the number of lines on the screen.
869850276Speter#
869950276Speter#	The Compose Character key can be used as a meta key if changed
870050276Speter#	by set-up.
870150276Speter#
8702166124Srafanwy185|wyse185|wyse 185,
8703166124Srafan	am, hs, km, mc5i, mir, msgr, xenl, xon,
8704166124Srafan	cols#80, it#8, lines#24, wsl#80,
8705166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8706166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8707166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8708166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
8709166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8710166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
8711166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
8712166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8713166124Srafan	dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
8714166124Srafan	el=\E[K, el1=\E[1K, enacs=\E)0,
8715166124Srafan	flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
8716166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
8717166124Srafan	ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
8718166124Srafan	ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
8719166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
8720166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
8721166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
8722166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
8723166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
8724166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
8725166124Srafan	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
8726166124Srafan	kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
8727166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
8728166124Srafan	lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
8729166124Srafan	ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
8730166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
8731166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
8732166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
8733166124Srafan	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%;,
8734166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
8735166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
8736166124Srafan	tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
8737166124Srafan	use=vt220+keypad,
873850276Speter#
873950276Speter#	Wyse 185 with 24 data lines and top status (terminal status)
8740166124Srafanwy185-24|wyse185-24|wyse 185 with 24 data lines,
8741166124Srafan	hs@,
8742166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
8743166124Srafan	use=wy185,
874450276Speter#
874550276Speter#	Wyse 185 with visual bell.
8746166124Srafanwy185-vb|wyse185-vb|wyse 185+flash,
8747166124Srafan	bel@, use=wy185,
874850276Speter#
874950276Speter#	Wyse 185 in 132-column mode.
8750166124Srafanwy185-w|wyse185-w|wyse 185 in 132-column mode,
8751166124Srafan	cols#132, wsl#132,
8752166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
8753166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
875450276Speter#
875550276Speter#	Wyse 185 in 132-column mode with visual bell.
8756166124Srafanwy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
8757166124Srafan	bel@, use=wy185-w,
875850276Speter
875950276Speter# wy325 terminfo entries
876050276Speter# Done by Joe H. Davis        3-9-92
876150276Speter
876250276Speter# lines 25  columns 80
876350276Speter#
8764166124Srafanwy325|wyse325|Wyse epc,
8765166124Srafan	am, bw, hs, mc5i, mir,
8766166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8767166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8768166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8769166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8770166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8771166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8772166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8773166124Srafan	il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8774166124Srafan	is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8775166124Srafan	is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8776166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8777166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8778166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8779166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8780166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
8781166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8782166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#,
8783166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8784166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8785166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8786166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
8787166124Srafan	rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8788166124Srafan	rs3=\EwG\Ee($<100>,
8789166124Srafan	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,
8790166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8791166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
8792166124Srafan	tsl=\EF, use=adm+sgr,
879350276Speter
879450276Speter#
8795166124Srafan# lines 24  columns 80  vb
879650276Speter#
8797166124Srafanwy325-vb|wyse325-vb|wyse-325 with visual bell,
8798166124Srafan	bel@, use=wy325,
879950276Speter
880050276Speter#
880150276Speter# lines 24  columns 132
880250276Speter#
8803166124Srafanwy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
8804166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8805166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8806166124Srafan	rs2=\E`;$<70>, use=wy325,
880750276Speter#
880850276Speter# lines 25  columns 80
880950276Speter#
8810166124Srafanwy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
8811166124Srafan	lh@, lines#25, lw@, nlab@,
8812166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
881350276Speter#
881450276Speter# lines 25  columns 132
881550276Speter#
8816166124Srafanwy325-25w|wyse325-25w|wy325 132 columns,
8817166124Srafan	lh@, lines#25, lw@, nlab@,
8818166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
881950276Speter#
8820166124Srafan# lines 25  columns 132  vb
882150276Speter#
8822166124Srafanwy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
8823166124Srafan	bel@, use=wy325-w,
882450276Speter
882550276Speter#
882650276Speter# lines 42  columns 80
882750276Speter#
8828166124Srafanwy325-42|wyse325-42|wyse-325 42 lines,
8829166124Srafan	lh@, lines#42, lw@, nlab@,
8830166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
883150276Speter#
883250276Speter# lines 42  columns 132
883350276Speter#
8834166124Srafanwy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
8835166124Srafan	lh@, lines#42, lw@, nlab@,
8836166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
883750276Speter#
8838166124Srafan# lines 42  columns 132  vb
883950276Speter#
8840166124Srafanwy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
8841166124Srafan	bel@, use=wy325-w,
884250276Speter#
884350276Speter# lines 43  columns 80
884450276Speter#
8845166124Srafanwy325-43|wyse325-43|wyse-325 43 lines,
8846166124Srafan	lh@, lines#43, lw@, nlab@,
8847166124Srafan	pln@, use=wy325,
884850276Speter#
884950276Speter# lines 43  columns 132
885050276Speter#
8851166124Srafanwy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
8852166124Srafan	lh@, lines#43, lw@, nlab@,
8853166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
885450276Speter#
8855166124Srafan# lines 43  columns 132  vb
885650276Speter#
8857166124Srafanwy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
8858166124Srafan	bel@, use=wy325-w,
885950276Speter
886050276Speter#	Wyse 370 -- 24 line screen with status line.
886150276Speter#
886250276Speter#	The terminal may have to be set for 8 data bits and 2 stop
886350276Speter#	bits for the arrow keys to work.
886450276Speter#
886550276Speter#	If you change keyboards the terminal will send different
886650276Speter#	escape sequences.
886750276Speter#	The following definition is for the basic terminal without
886850276Speter#	function keys.
886950276Speter#
887050276Speter#	<u0> -> enter Tektronix 4010/4014 mode
887150276Speter#	<u1> -> exit  Tektronix 4010/4014 mode
887250276Speter#	<u2> -> enter ASCII mode (from any ANSI mode)
887350276Speter#	<u3> -> exit  ASCII mode (goto native ANSI mode)
887450276Speter#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
887550276Speter#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
887650276Speter#
887750276Speter# Bug: The <op> capability resets attributes.
8878166124Srafanwy370-nk|wyse 370 without function keys,
8879166124Srafan	am, ccc, hs, mc5i, mir, msgr, xenl, xon,
8880166124Srafan	colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
8881166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8882166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8883166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8884166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8885166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8886166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8887166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
8888166124Srafan	dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8889166124Srafan	dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
8890166124Srafan	el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
8891166124Srafan	flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
8892166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
8893166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8894166124Srafan	ind=\n$<2>,
8895166124Srafan	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,
8896166124Srafan	invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
8897166124Srafan	is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
8898166124Srafan	is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
8899166124Srafan	mc5=\E[5i,
8900166124Srafan	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,
8901166124Srafan	op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
8902166124Srafan	rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
8903166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
8904166124Srafan	rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
8905166124Srafan	rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
8906166124Srafan	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%;,
8907166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
8908166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
8909166124Srafan	tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
8910166124Srafan	u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
8911166124Srafan	u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
891250276Speter#
891350276Speter#	Function key set for the ASCII (wy-50 compatible) keyboard
891450276Speter#	This is the default 370.
891550276Speter#
8916166124Srafanwy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
8917166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
8918166124Srafan	kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
8919166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
8920166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
8921166124Srafan	kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
8922166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
8923166124Srafan	knp=\E[U, kpp=\E[V, use=wy370-nk,
892450276Speter#
892550276Speter#	Function key set for the VT-320 (and wy85) compatible keyboard
892650276Speter#
8927166124Srafanwy370-105k|Wyse 370 with 105 key keyboard,
8928166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
8929166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
8930166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
8931166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
8932166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
8933166124Srafan	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
8934166124Srafan	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
8935166124Srafan	use=wy370-nk, use=vt220+keypad,
893650276Speter#
893750276Speter#	Function key set for the PC compatible keyboard
893850276Speter#
8939166124Srafanwy370-EPC|Wyse 370 with 102 key keyboard,
8940166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
8941166124Srafan	kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
8942166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
8943166124Srafan	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
8944166124Srafan	khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
894550276Speter#
894650276Speter#	Wyse 370 with visual bell.
8947166124Srafanwy370-vb|Wyse 370 with visible bell,
8948166124Srafan	bel@, use=wy370,
894950276Speter#
895050276Speter#	Wyse 370 in 132-column mode.
8951166124Srafanwy370-w|Wyse 370 in 132-column mode,
8952166124Srafan	cols#132, wsl#132,
8953166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy370,
895450276Speter#
895550276Speter#	Wyse 370 in 132-column mode with visual bell.
8956166124Srafanwy370-wvb|Wyse 370 with visible bell 132-columns,
8957166124Srafan	flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
8958166124Srafanwy370-rv|Wyse 370 reverse video,
8959166124Srafan	rs3=\E[32h\E[?5h, use=wy370,
896050276Speter#
896150276Speter#	Wyse 99gt Tektronix 4010/4014 emulator,
896250276Speter#
8963166124Srafanwy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
8964166124Srafan	am, os,
8965166124Srafan	cols#74, lines#35,
8966166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
8967166124Srafan	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,
8968166124Srafan	cuu1=^K, ff=^L,
8969166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
8970166124Srafan	home=^]7`x @\037,
8971166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
8972166124Srafan	is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
897350276Speter#
897450276Speter#	Wyse 160 Tektronix 4010/4014 emulator,
897550276Speter#
8976166124Srafanwy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
8977166124Srafan	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,
8978166124Srafan	home=^]8`g @\037, use=wy99gt-tek,
897950276Speter#
898050276Speter#	Wyse 370 Tektronix 4010/4014 emulator,
898150276Speter#
8982166124Srafanwy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
8983166124Srafan	am, os,
8984166124Srafan	cols#80, lines#36,
8985166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
8986166124Srafan	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,
8987166124Srafan	cuu1=^K, ff=^L,
8988166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
8989166124Srafan	home=^]8g @\037,
8990166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
8991166124Srafan	is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
8992166124Srafan	nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
899350276Speter
899450276Speter# Vendor-supplied Wyse entries end here.
899550276Speter
899650276Speter#
899750276Speter#TITLE:  TERMINFO ENTRY WY520
899850276Speter#DATE:   8/5/93
8999166124Srafan# The WY520 terminfo is based on the WY285 entry published on the WYSE
900050276Speter# BBS with the addition of more function keys and special keys.
900150276Speter#
900250276Speter#               rs1 -> set personality
900350276Speter#               rs2 -> set number of columns
900450276Speter#               rs3 -> set number of lines
900550276Speter#               is1 -> select the proper font
900650276Speter#               is2 -> do the initialization
900750276Speter#               is3 -> If this string is empty then rs3 gets sent.
900850276Speter#
900950276Speter#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
901050276Speter#       - The BS key is programmed to generate BS in smcup since
901150276Speter#         is2 doesn't seem to work.
901250276Speter#       - Remove and shift/Remove: delete a character
901350276Speter#       - Insert : enter insert mode
901450276Speter#       - Find   : delete to end of file
901550276Speter#       - Select : clear a line
901650276Speter#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
901750276Speter#       - F14 : Home key
901850276Speter#       - Bottom status line (host writable line) is used.
901950276Speter#       - smkx,rmkx are removed because this would put the numeric
902050276Speter#         keypad in Dec application mode which doesn't seem to work
902150276Speter#         with SCO applications.
902250276Speter#
9023166124Srafanwy520|wyse520|wyse 520,
9024166124Srafan	am, hs, km, mc5i, mir, xenl, xon,
9025166124Srafan	cols#80, it#8, lines#24, wsl#80,
9026166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9027166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9028166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
9029166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
9030166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9031166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9032166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
9033166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
9034166124Srafan	ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
9035166124Srafan	enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
9036166124Srafan	hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
9037166124Srafan	il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
9038166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
9039166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
9040166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
9041166124Srafan	kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~,
9042166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
9043166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
9044166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
9045166124Srafan	kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~,
9046166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1,
9047166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9048166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l,
9049166124Srafan	rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m,
9050166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
9051166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
9052166124Srafan	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%;,
9053166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
9054166124Srafan	smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
9055166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
9056166124Srafan	vpa=\E[%i%p1%dd, use=vt220+keypad,
905750276Speter#
905850276Speter#       Wyse 520 with 24 data lines and status (terminal status)
9059166124Srafanwy520-24|wyse520-24|wyse 520 with 24 data lines,
9060166124Srafan	hs@,
9061166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9062166124Srafan	use=wy520,
906350276Speter#
906450276Speter#       Wyse 520 with visual bell.
9065166124Srafanwy520-vb|wyse520-vb|wyse 520 with visible bell,
9066166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520,
906750276Speter#
906850276Speter#       Wyse 520 in 132-column mode.
9069166124Srafanwy520-w|wyse520-w|wyse 520 in 132-column mode,
9070166124Srafan	cols#132, wsl#132,
9071166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9072166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520,
907350276Speter#
907450276Speter#       Wyse 520 in 132-column mode with visual bell.
9075166124Srafanwy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
9076166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
907750276Speter#
907850276Speter#
907950276Speter#       Wyse 520 emulating a vt420 7 bit mode.
908050276Speter#       The DEL key is programmed to generate BS in is2.
908150276Speter#       With EPC keyboard.
908250276Speter#       - 'End' key will clear till end of line on EPC keyboard
908350276Speter#       - Shift/End : ignored.
908450276Speter#       - Insert : enter insert mode.
908550276Speter#       - Delete : delete a character (have to change interrupt character
908650276Speter#                  to CTRL-C: stty intr '^c') for it to work since the
908750276Speter#                  Delete key sends 7FH.
9088166124Srafanwy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
9089166124Srafan	kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
9090166124Srafan	kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
9091166124Srafan	use=wy520,
909250276Speter#
909350276Speter#       Wyse 520 with 24 data lines and status (terminal status)
909450276Speter#       with EPC keyboard.
9095166124Srafanwy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
9096166124Srafan	hs@,
9097166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9098166124Srafan	use=wy520-epc,
909950276Speter#
910050276Speter#       Wyse 520 with visual bell.
9101166124Srafanwy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
9102166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
910350276Speter#
910450276Speter#       Wyse 520 in 132-column mode.
9105166124Srafanwy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
9106166124Srafan	cols#132, wsl#132,
9107166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9108166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc,
910950276Speter#
911050276Speter#       Wyse 520 in 132-column mode with visual bell.
9111166124Srafanwy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard,
9112166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
911350276Speter#
911450276Speter#       Wyse 520 in 80-column, 36 lines
9115166124Srafanwy520-36|wyse520-36|wyse 520 with 36 data lines,
9116166124Srafan	hs@,
9117166124Srafan	lines#36,
9118166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9119166124Srafan	use=wy520,
912050276Speter#
912150276Speter#       Wyse 520 in 80-column, 48 lines
9122166124Srafanwy520-48|wyse520-48|wyse 520 with 48 data lines,
9123166124Srafan	hs@,
9124166124Srafan	lines#48,
9125166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9126166124Srafan	use=wy520,
912750276Speter#
912850276Speter#       Wyse 520 in 132-column, 36 lines
9129166124Srafanwy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
9130166124Srafan	cols#132, wsl#132,
9131166124Srafan	rs2=\E[?3h,
9132166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9133166124Srafan	use=wy520-36,
913450276Speter#
913550276Speter#       Wyse 520 in 132-column, 48 lines
9136166124Srafanwy520-48w|wyse520-48w|wyse 520 with 48 data lines,
9137166124Srafan	cols#132, wsl#132,
9138166124Srafan	rs2=\E[?3h,
9139166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9140166124Srafan	use=wy520-48,
914150276Speter#
914250276Speter#
914350276Speter#       Wyse 520 in 80-column, 36 lines with EPC keyboard
9144166124Srafanwy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
9145166124Srafan	hs@,
9146166124Srafan	lines#36,
9147166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9148166124Srafan	use=wy520-epc,
914950276Speter#
915050276Speter#       Wyse 520 in 80-column, 48 lines with EPC keyboard
9151166124Srafanwy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
9152166124Srafan	hs@,
9153166124Srafan	lines#48,
9154166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9155166124Srafan	use=wy520-epc,
915650276Speter#
915750276Speter#       Wyse 520 in 132-column, 36 lines with EPC keyboard
9158166124Srafanwy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
9159166124Srafan	cols#132, wsl#132,
9160166124Srafan	rs2=\E[?3h,
9161166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9162166124Srafan	use=wy520-36pc,
916350276Speter#
916450276Speter#       Wyse 520 in 132-column, 48 lines with EPC keyboard
9165166124Srafanwy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard,
9166166124Srafan	cols#132, wsl#132,
9167166124Srafan	rs2=\E[?3h,
9168166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9169166124Srafan	use=wy520-48pc,
917050276Speter
917150276Speter# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
917250276Speter# (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
917350276Speter# file and we don't know what <hts> is -- esr)
9174166124Srafanwyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
9175166124Srafan	OTbs, am,
9176166124Srafan	cols#80, it#8, lines#24,
9177166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
9178166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
9179166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
9180166124Srafan	is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
9181166124Srafan	kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
9182166124Srafan	rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
9183166124Srafan	smul=^N,
918450276Speter
9185166124Srafanwy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
9186166124Srafan	is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
9187166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9188166124Srafan	khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
9189166124Srafan	use=wy75,
919050276Speter
919150276Speter# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
9192166124Srafanwy100q|Wyse 100 for Quotron,
9193166124Srafan	OTbs,
9194166124Srafan	cols#80, lines#24, xmc#1,
9195166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
9196166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
9197166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
9198166124Srafan	is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
9199166124Srafan	kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr,
920050276Speter
920150276Speter#### Kermit terminal emulations
920250276Speter#
920350276Speter# Obsolete Kermit versions may be listed in the section describing obsolete
920450276Speter# non-ANSI terminal emulators later in the file.
920550276Speter#
920650276Speter
920750276Speter# KERMIT standard all versions.
920850276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
920950276Speter# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
921050276Speter# From: greg small <gts@populi.berkeley.edu> 9-25-84
9211166124Srafankermit|standard kermit,
9212166124Srafan	OTbs,
9213166124Srafan	cols#80, lines#24,
9214166124Srafan	clear=\EE, cub1=^H, cuf1=\EC,
9215166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
9216166124Srafan	el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
9217166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
9218166124Srafankermit-am|standard kermit plus auto-margin,
9219166124Srafan	am,
9220166124Srafan	is2=K1 Standard Kermit plus Automatic Margins\n,
9221166124Srafan	use=kermit,
922250276Speter# IBMPC Kermit 1.2.
922350276Speter# Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
922450276Speter# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
922550276Speter# line).
922650276Speter# From: greg small <gts@populi.berkeley.edu> 8-30-84
9227166124Srafanpckermit|pckermit12|UCB IBMPC Kermit 1.2,
9228166124Srafan	am,
9229166124Srafan	lines#25,
9230166124Srafan	clear=\EH\EJ, ed@, el@,
9231166124Srafan	is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
923250276Speter# IBMPC Kermit 1.20
923350276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
923450276Speter# Initialization must escape from that region by cursor position to line 24.
923550276Speter# Cannot use character insert because 1.20 goes crazy if insert at col 80.
923650276Speter# Does not use :am: because autowrap is lost when kermit dropped and restarted.
923750276Speter# From: greg small <gts@populi.berkeley.edu> 12-19-84
9238166124Srafanpckermit120|UCB IBMPC Kermit 1.20,
9239166124Srafan	it#8, lines#24,
9240166124Srafan	cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
9241166124Srafan	il1=\EL,
9242166124Srafan	is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
9243166124Srafan	rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
924450276Speter# MS-DOS Kermit 2.27 for the IBMPC
924550276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
924650276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
924750276Speter# Initialization must escape from that region by cursor position to line 24.
924850276Speter# Does not use am: because autowrap is lost when kermit dropped and restarted.
924950276Speter# Reverse video for standout like H19.
925050276Speter# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
925150276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9252166124Srafanmsk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
9253166124Srafan	OTbs, am@,
9254166124Srafan	cols#80, it#8, lines#24,
9255166124Srafan	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
9256166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
9257166124Srafan	cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
9258166124Srafan	home=\EH, ht=^I, il1=\EL,
9259166124Srafan	is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
9260166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
9261166124Srafan	rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
926250276Speter# MS-DOS Kermit 2.27 with automatic margins
926350276Speter# From:	greg small <gts@populi.berkeley.edu> 3-17-85
9264166124Srafanmsk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
9265166124Srafan	am,
9266166124Srafan	cvvis=\EO\Eq\EG\EvK5,
9267166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
9268166124Srafan	use=msk227,
926950276Speter# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
927050276Speter# Automatic margins now default.  Use ansi <sgr> for highlights.
927150276Speter# Define function keys.
927250276Speter# (msk22714: removed obsolete ":kn#10:" -- esr)
927350276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9274166124Srafanmsk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
9275166124Srafan	am,
9276166124Srafan	bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
9277166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
9278166124Srafan	kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
9279166124Srafan	kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
9280166124Srafan	sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227,
928150276Speter# This was designed for a VT320 emulator, but it is probably a good start
928250276Speter# at support for the VT320 itself.
928350276Speter# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
928450276Speter# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
9285166124Srafanvt320-k3|MS-Kermit 3.00's vt320 emulation,
9286166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
9287166124Srafan	cols#80, it#8, lines#49, pb#9600, vt#3,
9288166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9289166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9290166124Srafan	clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
9291166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9292166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9293166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9294166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9295166124Srafan	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
9296166124Srafan	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
9297166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
9298166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
9299166124Srafan	is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
9300166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
9301166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9302166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
9303166124Srafan	kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
9304166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
9305166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
9306166124Srafan	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$~,
9307166124Srafan	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
9308166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9309166124Srafan	tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
931050276Speter# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
931150276Speter# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
931250276Speter# (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
9313166124Srafanvt320-k311|dec vt320 series as defined by kermit 3.11,
9314166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
9315166124Srafan	cols#80, it#8, lines#24, vt#3,
9316166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9317166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9318166124Srafan	clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
9319166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9320166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9321166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9322166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9323166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
9324166124Srafan	flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
9325166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
9326166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
9327166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9328166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9329166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
9330166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
9331166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
9332166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
9333166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
9334166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
9335166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
933650276Speter
933750276Speter######## NON-ANSI TERMINAL EMULATIONS
933850276Speter#
933950276Speter
934050276Speter#### Avatar
934150276Speter#
934250276Speter# These entries attempt to describe Avatar, a terminal emulation used with
934350276Speter# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
934450276Speter# capabilities, but with cheaper (shorter) control sequences.  Messy design,
934550276Speter# excessively dependent on PC idiosyncracies, but apparently rather popular
934650276Speter# in the BBS world.
934750276Speter#
934850276Speter# No color support.  Avatar doesn't fit either of the Tektronix or HP color
934950276Speter# models that terminfo knows about.  An Avatar color attribute is the
935050276Speter# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
935150276Speter#
935250276Speter# I wrote these entries while looking at the Avatar spec.  I don't have
935350276Speter# the facilities to test them.  Let me know if they work, or don't.
935450276Speter#
935550276Speter# Avatar escapes not used by these entries (because maybe you're smarter
935650276Speter# and more motivated than I am and can figure out how to wrap terminfo
935750276Speter# around some of them, and because they are weird enough to be funny):
935850276Speter#				level 0:
935950276Speter# ^L		-- clear window/reset current attribute to default
936050276Speter# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
9361166124Srafan#
936250276Speter#      bit:         6   5   4   3   2   1   0
936350276Speter#                   |       |   |   |       |
936450276Speter#                   +---+---+   |   +---+---+
936550276Speter#                       |       |       |
936650276Speter#                       |       |  foreground color
936750276Speter#                       |  foreground intensity
936850276Speter#                  background color
936950276Speter#				level 0+:
937050276Speter# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
937150276Speter# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
9372166124Srafan# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
9373166124Srafan# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
937450276Speter# (^V^L and ^V^M set the current attribute as a side-effect.)
937550276Speter# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
937650276Speter#			   in the pattern, <c> the number of times the pattern
937750276Speter#		  	   should be repeated. If either value is 0, no-op.
937850276Speter#			   The pattern can contain Avatar console codes,
937950276Speter#			   including other ^V ^Y patterns.
938050276Speter#				level 1:
938150276Speter# ^V^O		-- clockwise mode on; turn print direction right each time you
938250276Speter#		   hit a window edge (yes, really).  Turned off by CR
938350276Speter# ^V^P		-- no-op
938450276Speter# ^V^Q%c	-- query the driver
938550276Speter# ^V^R		-- driver reset
938650276Speter# ^V^S		-- Sound tone (PC-specific)
938750276Speter# ^V^T			-- change highlight at current cursor poition to %c
938850276Speter# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
938950276Speter# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
9390166124Srafan#			-- define window
939150276Speter#
939250276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
939350276Speter# (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
939450276Speter# tell ncurses that the corresponding highlights exist; it should use <sgr>,
939550276Speter# which is the only method that will actually work for multiple highlights.)
9396166124Srafan#
9397166124Srafan# Update by TD - 2004: half of this was inconsistent.  Found documentation
9398166124Srafan# and repaired most of the damage.  sgr0 is probably incorrect, but the
9399166124Srafan# available documentation gives no clues for a workable string.
9400166124Srafanavatar0|avatar terminal emulator level 0,
9401166124Srafan	am, bce, msgr,
9402166124Srafan	cols#80, it#8, lines#25,
9403166124Srafan	blink=^V^B, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
9404166124Srafan	cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
9405166124Srafan	ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%c, rev=^V^Ap,
9406166124Srafan	rmacs@, rs2=^L,
9407166124Srafan	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%;,
9408166124Srafan	sgr0=^V^A^G, smacs@, smso=^V^Ap, smul=^V^A^A,
9409166124Srafan	use=klone+acs,
941050276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9411166124Srafanavatar0+|avatar terminal emulator level 0+,
9412166124Srafan	dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
941350276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9414166124Srafanavatar|avatar1|avatar terminal emulator level 1,
9415166124Srafan	civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
9416166124Srafan	rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
941750276Speter
941850276Speter#### RBcomm
941950276Speter#
942050276Speter# RBComm is a lean and mean terminal emulator written by the Interrupt List
942150276Speter# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
942250276Speter# '90s), especially in the BBS world, and still has some loyal users due to
942350276Speter# its very small memory footprint and to a cute macro language.
9424166124Srafanrbcomm|IBM PC with RBcomm and EMACS keybindings,
9425166124Srafan	am, bw, mir, msgr, xenl,
9426166124Srafan	cols#80, it#8, lines#25,
9427166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9428166124Srafan	clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9429166124Srafan	cub1=^H, cud1=^C, cuf1=^B,
9430166124Srafan	cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, dch1=^W,
9431166124Srafan	dl=\E[%p1%dM, dl1=^Z, ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
9432166124Srafan	il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
9433166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
9434166124Srafan	kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
9435166124Srafan	rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
9436166124Srafan	rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
9437166124Srafan	rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
9438166124Srafan	smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
9439166124Srafanrbcomm-nam|IBM PC with RBcomm without autowrap,
9440166124Srafan	am@,
9441166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9442166124Srafan	is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
9443166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
9444166124Srafanrbcomm-w|IBM PC with RBcomm in 132 column mode,
9445166124Srafan	cols#132,
9446166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9447166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
9448166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
944950276Speter
945066963Speter######## LCD DISPLAYS
945166963Speter#
945266963Speter
945366963Speter#### Matrix Orbital
945466963Speter# from: Eric Z. Ayers  (eric@ale.org)
945566963Speter#
945666963Speter# Matrix Orbital 20x4 LCD display
945766963Speter# Command Character is 0xFE (decimal 254, octal 376)
945866963Speter#
945966963Speter# On this device, cursor addressability isn't possible.  The LCD expects:
9460166124Srafan#      0xfe G <col> <row>
946166963Speter#      for cup: %p1 == row and %p2 is column
946266963Speter#
946366963Speter# This line:
946466963Speter#	cup=\376G%p2%c%p1%c
9465166124Srafan# LOOKS like it will work, but sometimes only one of the two numbers is sent.
946666963Speter# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
9467166124Srafan#
946866963Speter# Alas, there is no cursor upline capability on this display.
946966963Speter#
947066963Speter# These entries add some 'sanity stuff' to the clear function.  That is, it
947166963Speter# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
947266963Speter# and turns off the cursor blinking and stuff like that.
947366963Speter#
947466963Speter# NOTE: calling 'beep' turns on the backlight (bell)
947566963Speter# NOTE: calling 'flash' turns it on and back off (visual bell)
947666963Speter#
9477166124SrafanMtxOrb|Generic Matrix Orbital LCD display,
9478166124Srafan	bel=\376B^A, clear=\376X\376C\376R\376K\376T,
9479166124Srafan	cnorm=\376K\376T, cub1=\376L, cuf1=\376M,
9480166124Srafan	flash=\376B\001$<200>\376F, home=\376H,
9481166124SrafanMtxOrb204|20x4 Matrix Orbital LCD display,
9482166124Srafan	cols#20, lines#4, use=MtxOrb,
9483166124SrafanMtxOrb162|16x2 Matrix Orbital LCD display,
9484166124Srafan	cols#16, lines#2, use=MtxOrb,
948566963Speter# The end
948666963Speter
948750276Speter######## OLDER TERMINAL TYPES
948850276Speter#
948950276Speter# This section is devoted to older commercial terminal brands that are now
949050276Speter# discontinued, but known to be still in use or represented by emulations.
949150276Speter#
949250276Speter
949350276Speter#### AT&T (att, tty)
949450276Speter#
949550276Speter# This section also includes Teletype-branded VDTs.
949650276Speter#
949750276Speter# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
949850276Speter# Boundless Technologies); for details, see the header comment on the ADDS
949950276Speter# section.
950050276Speter#
950150276Speter# These are AT&T's official terminfo entries.  All-caps aliases have been
950250276Speter# removed.
950350276Speter#
9504166124Srafanatt2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
9505166124Srafan	am, eo, mir, msgr, xon,
9506166124Srafan	cols#80, it#8, lines#24,
9507166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
9508166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9509166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9510166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
9511166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
9512166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9513166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9514166124Srafan	kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
9515166124Srafan	kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
9516166124Srafan	kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
9517166124Srafan	kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
9518166124Srafan	kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9519166124Srafan	rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
9520166124Srafan	smso=\E[7m,
9521166124Srafanatt2350|AT&T 2350 Video Information Terminal 80 column mode,
9522166124Srafan	mc0@, mc4@, mc5@, use=att2300,
952350276Speter
952450276Speter# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
952550276Speter# Seems upward compatible with vt100, plus ins/del line/char.
952650276Speter# On sgr, the protection parameter is ignored.
952750276Speter# No check is made to make sure that only 3 parameters are output.
952850276Speter# 	standout= reverse + half-intensity = 3 | 5.
952950276Speter# 	bold= reverse + underline = 2 | 3.
953050276Speter# note that half-bright blinking doesn't look different from normal blinking.
953150276Speter# NOTE:you must program the function keys first, label second!
9532166124Srafan# (att4410: a BSD entry has been seen with the following capabilities:
953350276Speter# <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
953450276Speter# <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
9535166124Srafanatt5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
9536166124Srafan	am, hs, mir, msgr, xon,
9537166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
9538166124Srafan	acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9539166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
9540166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
9541166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
9542166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
9543166124Srafan	ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
9544166124Srafan	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,
9545166124Srafan	kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9546166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
9547166124Srafan	kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
9548166124Srafan	ll=\E[24H, nel=^M^J,
9549166124Srafan	pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
9550166124Srafan	pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
9551166124Srafan	rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9552166124Srafan	sc=\E7,
9553166124Srafan	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%;,
9554166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9555166124Srafan	tsl=\E7\E[25;%p1%{1}%+%dH,
955650276Speter
9557166124Srafanatt4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
9558166124Srafan	cols#132, wsl#132,
9559166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
956050276Speter
9561166124Srafanatt4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
9562166124Srafan	OTbs,
9563166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
9564166124Srafan	use=att5410v1,
956550276Speter
9566166124Srafanatt5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
9567166124Srafan	cols#132, wsl#132,
9568166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
956950276Speter
957050276Speter# 5410 in terms of a vt100
957150276Speter# (v5410: added <rmam>/<smam> based on init string -- esr)
9572166124Srafanv5410|att5410 in terms of a vt100,
9573166124Srafan	am, mir, msgr, xon,
9574166124Srafan	cols#80, it#8, lines#24, vt#3,
9575166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9576166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
9577166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9578166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2>,
9579166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
9580166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
9581166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
9582166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
9583166124Srafan	kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
9584166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
9585166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
9586166124Srafan	sc=\E7,
9587166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
9588166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
9589166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
9590166124Srafan	use=vt100+fnkeys,
959150276Speter
9592166124Srafan#
959350276Speter# Teletype Model 5420 -- A souped up 5410, with multiple windows,
959450276Speter# even! the 5420 has three modes: scroll, window or page mode
959550276Speter# this terminfo should work in scroll or window mode, but doesn't
959650276Speter# take advantage of any of the differences between them.
959750276Speter#
959850276Speter# Has memory below (2 lines!)
959950276Speter# 3 pages of memory (plus some spare)
960050276Speter# The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
960150276Speter# <hpa>, <hts> would work for these, but these work in both scroll and window
960250276Speter# mode... Unset insert character so insert mode works
960350276Speter# <is1> sets 80 column mode,
960450276Speter# <is2> escape sequence:
960550276Speter# 1) turn off all fonts
960650276Speter# 2) function keys off, keyboard lock off, control display off,
960750276Speter#    insert mode off, erasure mode off,
960850276Speter# 3) full duplex, monitor mode off, send graphics off, nl on lf off
960950276Speter# 4) reset origin mode
961050276Speter# 5) set line wraparound
961150276Speter# 6) exit erasure mode, positional attribute mode, and erasure extent mode
961250276Speter# 7) clear margins
961350276Speter# 8) program ENTER to transmit ^J,
961450276Speter# We use \212 to program the ^J because a bare ^J will get translated by
961550276Speter# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
961650276Speter#     1      2            3              4     5     6    7  8
961750276Speter# <is3> set screen color to black,
961850276Speter# No representation in terminfo for the delete word key: kdw1=\Ed
961950276Speter# Key capabilities assume the power-up send sequence...
9620166124Srafan# This <rmcup> is not strictly necessary, but it helps maximize
962150276Speter# memory usefulness: <rmcup=\Ez>,
962250276Speter# Alternate sgr0:	<sgr0=\E[m\EW^O>,
962350276Speter# 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%;>,
962450276Speter# smkx programs the SYS PF keys to send a set sequence.
962550276Speter# It also sets up labels f1, f2, ..., f8, and sends edit keys.
962650276Speter# This string causes them to send the strings <kf1>-<kf8>
962750276Speter# when pressed in SYS PF mode.
962850276Speter# (att4415: I added <rmam>/<smam> based on the init string -- esr)
9629166124Srafanatt4415|tty5420|att5420|AT&T 4415/5420 80 cols,
9630166124Srafan	OTbs, db, mir, xon,
9631166124Srafan	lh#2, lm#78, lw#8, nlab#8, wsl#55,
9632166124Srafan	cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
9633166124Srafan	cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
9634166124Srafan	cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
9635166124Srafan	dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
9636166124Srafan	flash=\E[?5h$<200>\E[?5l, home=\E[x,
9637166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
9638166124Srafan	il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
9639166124Srafan	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,
9640166124Srafan	is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
9641166124Srafan	kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
9642166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
9643166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9644166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9645166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
9646166124Srafan	mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
9647166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
9648166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
9649166124Srafan	rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
9650166124Srafan	rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
9651166124Srafan	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%;,
9652166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
9653166124Srafan	smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
9654166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9655166124Srafan	use=att4410,
965650276Speter
9657166124Srafanatt4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
9658166124Srafan	cols#132, lm#54, wsl#97,
9659166124Srafan	is1=\E[?3h$<100>, use=att4415,
966050276Speter
9661166124Srafanatt4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
9662166124Srafan	flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
966350276Speter
9664166124Srafanatt4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
9665166124Srafan	cols#132, lm#54, wsl#97,
9666166124Srafan	flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h,
9667166124Srafan	use=att4415,
966850276Speter
966950276Speter# Note that this mode permits programming USER PF KEYS and labels
967050276Speter# However, when you program user pf labels you have to reselect
9671166124Srafan# user pf keys to make them appear!
9672166124Srafanatt4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
9673166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
9674166124Srafan	pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
9675166124Srafan	pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
967650276Speter
9677166124Srafanatt4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
9678166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9679166124Srafan	use=att4415,
968050276Speter
9681166124Srafanatt4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
9682166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9683166124Srafan	use=att4415-rv,
968450276Speter
9685166124Srafanatt4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
9686166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9687166124Srafan	use=att4415-w,
968850276Speter
9689166124Srafanatt4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
9690166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9691166124Srafan	use=att4415-w-rv,
969250276Speter
9693166124Srafanatt5420_2|AT&T 5420 model 2 80 cols,
9694166124Srafan	am, db, hs, mir, msgr, xon,
9695166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9696166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9697166124Srafan	blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
9698166124Srafan	cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9699166124Srafan	cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
9700166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
9701166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
9702166124Srafan	dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
9703166124Srafan	el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9704166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9705166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9706166124Srafan	invis=\E[8m,
9707166124Srafan	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,
9708166124Srafan	kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
9709166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
9710166124Srafan	kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
9711166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
9712166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9713166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9714166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
9715166124Srafan	mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
9716166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
9717166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
9718166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
9719166124Srafan	rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9720166124Srafan	sc=\E7,
9721166124Srafan	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%;,
9722166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
9723166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9724166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9725166124Srafanatt5420_2-w|AT&T 5420 model 2 in 132 column mode,
9726166124Srafan	cols#132,
9727166124Srafan	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,
9728166124Srafan	use=att5420_2,
972950276Speter
9730166124Srafanatt4418|att5418|AT&T 5418 80 cols,
9731166124Srafan	am, xon,
9732166124Srafan	cols#80, lines#24,
9733166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9734166124Srafan	bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
9735166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
9736166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
9737166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
9738166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
9739166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
9740166124Srafan	is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@,
9741166124Srafan	kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
9742166124Srafan	kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
9743166124Srafan	kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
9744166124Srafan	kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
9745166124Srafan	kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
9746166124Srafan	rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
9747166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9748166124Srafanatt4418-w|att5418-w|AT&T 5418 132 cols,
9749166124Srafan	cols#132,
9750166124Srafan	is1=\E[?3h, use=att5418,
975150276Speter
9752166124Srafanatt4420|tty4420|teletype 4420,
9753166124Srafan	OTbs, da, db, eo, msgr, ul, xon,
9754166124Srafan	cols#80, lines#24, lm#72,
9755166124Srafan	bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
9756166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
9757166124Srafan	dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
9758166124Srafan	kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
9759166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
9760166124Srafan	kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
9761166124Srafan	lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
9762166124Srafan	rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
976350276Speter
976450276Speter#  The following is a terminfo entry for the Teletype 4424
976550276Speter#  asynchronous keyboard-display terminal.  It supports
976650276Speter#  the vi editor.  The terminal must be set up as follows,
9767166124Srafan#
976850276Speter# 	HIGHLIGHT DEFINITION	3-TONE
976950276Speter# 	DISPLAY FUNCTION	GROUP III
9770166124Srafan#
977150276Speter#  The second entry below provides limited (a la adm3a)
977250276Speter#  operation under GROUP II.
9773166124Srafan#
977450276Speter#  This must be used with DISPLAY FUNCTION GROUP I or III
977550276Speter# 	and HIGHLIGHT DEFINITION 3-TONE
977650276Speter# The terminal has either bold or blink, depending on options
977750276Speter#
977850276Speter# (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
9779166124Srafanatt4424|tty4424|teletype 4424,
9780166124Srafan	OTbs, am, xon,
9781166124Srafan	cols#80, lines#24,
9782166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9783166124Srafan	bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
9784166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9785166124Srafan	cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
9786166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
9787166124Srafan	dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
9788166124Srafan	ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
9789166124Srafan	ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
9790166124Srafan	kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9791166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
9792166124Srafan	khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
9793166124Srafan	rmul=\EZ,
9794166124Srafan	sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
9795166124Srafan	sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
9796166124Srafan	tbc=\EF,
979750276Speter
9798166124Srafanatt4424-1|tty4424-1|teletype 4424 in display function group I,
9799166124Srafan	kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
9800166124Srafan	use=att4424,
980150276Speter
980250276Speter# This entry is not one of AT&T's official ones, it was translated from the
980350276Speter# 4.4BSD termcap file.  The highlight strings are different from att4424.
980450276Speter# I have no idea why this is -- older firmware version, maybe?
980550276Speter# The following two lines are the comment originally attached to the entry:
980650276Speter# This entry appears to avoid the top line - I have no idea why.
980750276Speter# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
9808166124Srafanatt4424m|tty4424m|teletype 4424M,
9809166124Srafan	am, da, db, mir,
9810166124Srafan	cols#80, it#8, lines#23,
9811166124Srafan	bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
9812166124Srafan	cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
9813166124Srafan	dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
9814166124Srafan	is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
9815166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
9816166124Srafan	kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
9817166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
981850276Speter
9819166124Srafan# The Teletype 5425 is really version 2 of the Teletype 5420. It
9820166124Srafan# is quite similar, except for some minor differences. No page
9821166124Srafan# mode, for example, so all of the <cup> sequences used above have
9822166124Srafan# to change back to what's being used for the 5410. Many of the
982350276Speter# option settings have changed their numbering as well.
9824166124Srafan#
982550276Speter# This has been tested on a preliminary model.
982650276Speter#
982750276Speter# (att5425: added <rmam>/<smam> based on the init string -- esr)
9828166124Srafanatt5425|tty5425|att4425|AT&T 4425/5425,
9829166124Srafan	am, da, db, hs, mir, msgr, xenl, xon,
9830166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9831166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9832166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9833166124Srafan	clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
9834166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9835166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9836166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9837166124Srafan	cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
9838166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
9839166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
9840166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9841166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9842166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9843166124Srafan	invis=\E[8m, is1=\E<\E[?3l$<100>,
9844166124Srafan	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,
9845166124Srafan	is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9846166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9847166124Srafan	kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
9848166124Srafan	kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
9849166124Srafan	kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
9850166124Srafan	kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
9851166124Srafan	nel=^M^J,
9852166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
9853166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
9854166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
9855166124Srafan	rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
9856166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
9857166124Srafan	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%;,
9858166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9859166124Srafan	smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
9860166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
9861166124Srafan	vpa=\E[%p1%{1}%+%dd,
986250276Speter
9863166124Srafanatt5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
9864166124Srafan	smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
986550276Speter
9866166124Srafanatt5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
9867166124Srafan	cols#132, lm#54, wsl#97,
9868166124Srafan	is1=\E[?3h$<100>, use=tty5425,
986950276Speter
9870166124Srafan# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
987150276Speter# I also added <rmam>/<smam> -- esr)
9872166124Srafanatt4426|tty4426|teletype 4426S,
9873166124Srafan	am, da, db, xon,
9874166124Srafan	cols#80, lines#24, lm#48,
9875166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9876166124Srafan	bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
9877166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
9878166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9879166124Srafan	cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
9880166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
9881166124Srafan	hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
9882166124Srafan	il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
9883166124Srafan	is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
9884166124Srafan	kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
9885166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
9886166124Srafan	kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
9887166124Srafan	nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
9888166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
9889166124Srafan	rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
9890166124Srafan	smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
9891166124Srafan	vpa=\E[%p1%dd,
989250276Speter
989350276Speter# Terminfo entry for the AT&T 510 A Personal Terminal
9894166124Srafan# Function keys 9 - 16 are available only after the
989550276Speter# screen labeled (soft keys/action blocks) are labeled.  Function key
989650276Speter# 9 corresponds to the leftmost touch target on the screen,
989750276Speter# function key 16 corresponds to the rightmost.
989850276Speter#
989950276Speter# This entry is based on one done by Ernie Rice at Summit, NJ and
990050276Speter# changed by Anne Gallup, Skokie, IL, ttrdc!anne
9901166124Srafanatt510a|bct510a|AT&T 510A Personal Terminal,
9902166124Srafan	am, mir, msgr, xenl, xon,
9903166124Srafan	cols#80, lh#2, lines#24, lw#7, nlab#8,
9904166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9905166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9906166124Srafan	civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
9907166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
9908166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9909166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
9910166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
9911166124Srafan	el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
9912166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
9913166124Srafan	is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
9914166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
9915166124Srafan	kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
9916166124Srafan	kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
9917166124Srafan	kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
9918166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
9919166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
9920166124Srafan	rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
9921166124Srafan	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
9922166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
9923166124Srafan	smul=\E[4m, tbc=\E[3g,
992450276Speter
992550276Speter# Terminfo entry for the AT&T 510 D Personal Terminal
992650276Speter# Function keys 9 through 16 are accessed by bringing up the
992750276Speter# system blocks.
992850276Speter# Function key 9 corresponds to the leftmost touch target on the screen,
992950276Speter# function key 16 corresponds to the rightmost.
993050276Speter#
9931166124Srafan# There are problems with soft key labeling.  These are due to
993250276Speter# strangenesses in the native terminal that are impossible to
9933166124Srafan# describe in a terminfo.
9934166124Srafanatt510d|bct510d|AT&T 510D Personal Terminal,
9935166124Srafan	am, da, db, mir, msgr, xenl, xon,
9936166124Srafan	cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
9937166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9938166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9939166124Srafan	clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
9940166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
9941166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
9942166124Srafan	cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
9943166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
9944166124Srafan	el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
9945166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9946166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
9947166124Srafan	invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
9948166124Srafan	kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
9949166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
9950166124Srafan	kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
9951166124Srafan	kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
9952166124Srafan	kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
9953166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
9954166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
9955166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
9956166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
9957166124Srafan	rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
9958166124Srafan	rs2=\E[5;0|, sc=\E7,
9959166124Srafan	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%;,
9960166124Srafan	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
9961166124Srafan	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
9962166124Srafan	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
996350276Speter
996450276Speter# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
9965166124Srafanatt500|att513|AT&T 513 using page mode,
9966166124Srafan	am, chts, mir, msgr, xenl, xon,
9967166124Srafan	cols#80, lh#2, lines#24, lw#8, nlab#8,
9968166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
9969166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9970166124Srafan	clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
9971166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9972166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9973166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9974166124Srafan	cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
9975166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
9976166124Srafan	enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
9977166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
9978166124Srafan	indn=\E[%p1%dE, invis=\E[8m,
9979166124Srafan	is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
9980166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
9981166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
9982166124Srafan	kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
9983166124Srafan	kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
9984166124Srafan	kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
9985166124Srafan	kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
9986166124Srafan	kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
9987166124Srafan	kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
9988166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
9989166124Srafan	kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
9990166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
9991166124Srafan	khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
9992166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
9993166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
9994166124Srafan	kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
9995166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
9996166124Srafan	mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
9997166124Srafan	nel=\EE,
9998166124Srafan	pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
9999166124Srafan	pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
10000166124Srafan	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
10001166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
10002166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
10003166124Srafan	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
10004166124Srafan	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
10005166124Srafan	rmul=\E[m,
10006166124Srafan	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,
10007166124Srafan	rs2=\E[5;0|, sc=\E7,
10008166124Srafan	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%;,
10009166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h,
10010166124Srafan	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
10011166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1001250276Speter
1001350276Speter# 01-07-88
1001450276Speter# printer must be set to EMUL ANSI to accept ESC codes
1001550276Speter# <cuu1> stops at top margin
1001650276Speter# <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1001750276Speter#	and alt font ascii,wrap on,tabs cleared
1001850276Speter# <is2> disables newline on LF,Emphasized off
1001950276Speter# The <u0> capability sets form length
10020166124Srafanatt5310|att5320|AT&T Model 53210 or 5320 matrix printer,
10021166124Srafan	xhpa, xvpa,
10022166124Srafan	bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
10023166124Srafan	orhi#100, orl#12, orvi#72,
10024166124Srafan	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%;,
10025166124Srafan	cr=^M,
10026166124Srafan	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%;,
10027166124Srafan	cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
10028166124Srafan	ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
10029166124Srafan	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%;,
10030166124Srafan	rshm=\E[m,
10031166124Srafan	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(}%;,
10032166124Srafan	smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
10033166124Srafan	smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
10034166124Srafan	u0=\E[%p1%dt, vpa=\E[%p1%dd,
1003550276Speter
1003650276Speter# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
1003750276Speter# The following SET-UP modes are assumed for normal operation:
1003850276Speter#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
1003950276Speter# Other SET-UP modes may be set for operator convenience or communication
1004050276Speter# requirements.  This termcap description is for the Resident Terminal Mode.
1004150276Speter# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1004250276Speter# The BRL entry also said: UNSAFE :ll=\E[70H:
10043166124Srafanatt5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
10044166124Srafan	am, xon,
10045166124Srafan	cols#88, it#8, lines#70, vt#3,
10046166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
10047166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10048166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10049166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
10050166124Srafan	il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
10051166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10052166124Srafan	kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
10053166124Srafan	rs1=\Ec, sc=\E7,
1005450276Speter
1005550276Speter# 5620 terminfo  (2.0 or later ROMS with char attributes)
1005650276Speter# The following SET-UP modes are assumed for normal operation:
1005750276Speter#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
1005850276Speter# Other SET-UP modes may be set for operator convenience or communication
1005950276Speter# requirements.  This termcap description is for Resident Terminal Mode.  No
1006050276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1006150276Speter# assumptions: <ind> (scroll forward one line) is only done at screen bottom
1006250276Speter# Be aware that older versions of the dmd have a firmware bug that affects
1006350276Speter# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1006450276Speter# <msgr> is from an otherwise inferior BRL for this terminal.  That entry
1006550276Speter# also has <ll>=\E[70H commented out and marked unsafe.
1006650276Speter# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
10067166124Srafanatt5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
10068166124Srafan	OTbs, am, msgr, npc, xon,
10069166124Srafan	cols#88, it#8, lines#70,
10070166124Srafan	bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
10071166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
10072166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
10073166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
10074166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
10075166124Srafan	indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10076166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
10077166124Srafan	pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
10078166124Srafan	rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
10079166124Srafan	sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
10080166124Srafanatt5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
10081166124Srafan	lines#24, use=att5620,
10082166124Srafanatt5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
10083166124Srafan	lines#34, use=att5620,
1008450276Speter# 5620 layer running the "S" system's downloaded graphics handler:
10085166124Srafanatt5620-s|tty5620-s|layer|vitty|5620 S layer,
10086166124Srafan	OTbs, OTpt, am,
10087166124Srafan	cols#80, it#8, lines#72,
10088166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
10089166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
10090166124Srafan	el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
10091166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10092166124Srafan	kll=\E[70;1H,
1009350276Speter
1009450276Speter# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1009550276Speter#
1009650276Speter# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1009750276Speter# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
10098166124Srafanatt605|AT&T 605 80 column 102key keyboard,
10099166124Srafan	am, eo, xon,
10100166124Srafan	cols#80, lines#24, lw#8, nlab#8, wsl#80,
10101166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10102166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
10103166124Srafan	cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
10104166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10105166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10106166124Srafan	el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10107166124Srafan	il1=\E[L, ind=^J, invis=\E[8m,
10108166124Srafan	is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
10109166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
10110166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10111166124Srafan	kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
10112166124Srafan	kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
10113166124Srafan	kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
10114166124Srafan	kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
10115166124Srafan	kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
10116166124Srafan	kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
10117166124Srafan	kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
10118166124Srafan	kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
10119166124Srafan	kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
10120166124Srafan	kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
10121166124Srafan	kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
10122166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10123166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10124166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10125166124Srafan	rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10126166124Srafan	rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
10127166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10128166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10129166124Srafanatt605-pc|ATT 605 in pc term mode,
10130166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
10131166124Srafan	cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
10132166124Srafan	dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z,
10133166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10134166124Srafan	kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
10135166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
10136166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
10137166124Srafan	rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
10138166124Srafan	xonc=e, use=att605,
10139166124Srafanatt605-w|AT&T 605-w 132 column 102 key keyboard,
10140166124Srafan	cols#132, wsl#132,
10141166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
10142166124Srafan	use=att605,
1014350276Speter# (att610: I added <rmam>/<smam> based on the init string.  I also
1014450276Speter# added <indn> and <rin> because the BSD file says the att615s have them,
1014550276Speter# and the 615 is like a 610 with a big keyboard, and most of their other
1014650276Speter# smart terminals support the same sequence -- esr)
10147166124Srafanatt610|AT&T 610; 80 column; 98key keyboard,
10148166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10149166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10150166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10151166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10152166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10153166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10154166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10155166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10156166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10157166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10158166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10159166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10160166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10161166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
10162166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10163166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10164166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10165166124Srafan	kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
10166166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10167166124Srafan	kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
10168166124Srafan	nel=\EE,
10169166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10170166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10171166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
10172166124Srafan	rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
10173166124Srafan	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%;,
10174166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10175166124Srafan	smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
10176166124Srafanatt610-w|AT&T 610; 132 column; 98key keyboard,
10177166124Srafan	cols#132, wsl#132,
10178166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10179166124Srafan	use=att610,
1018050276Speter
10181166124Srafanatt610-103k|AT&T 610; 80 column; 103key keyboard,
10182166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10183166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10184166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10185166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10186166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10187166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10188166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10189166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
10190166124Srafan	khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
10191166124Srafan	knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
10192166124Srafan	kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
10193166124Srafan	krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
10194166124Srafan	kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
10195166124Srafanatt610-103k-w|AT&T 610; 132 column; 103key keyboard,
10196166124Srafan	cols#132, wsl#132,
10197166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10198166124Srafan	use=att610-103k,
10199166124Srafanatt615|AT&T 615; 80 column; 98key keyboard,
10200166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10201166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10202166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10203166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10204166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10205166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10206166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610,
10207166124Srafanatt615-w|AT&T 615; 132 column; 98key keyboard,
10208166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10209166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10210166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10211166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10212166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10213166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10214166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w,
10215166124Srafanatt615-103k|AT&T 615; 80 column; 103key keyboard,
10216166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
10217166124Srafanatt615-103k-w|AT&T 615; 132 column; 103key keyboard,
10218166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
1021950276Speter# (att620: I added <rmam>/<smam> based on the init string and
1022050276Speter# <rin>/<indn> from a BSD termcap -- esr)
10221166124Srafanatt620|AT&T 620; 80 column; 98key keyboard,
10222166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10223166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10224166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10225166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10226166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10227166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10228166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10229166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10230166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10231166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10232166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10233166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10234166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10235166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
10236166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
10237166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10238166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10239166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10240166124Srafan	kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
10241166124Srafan	kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
10242166124Srafan	kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
10243166124Srafan	kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
10244166124Srafan	kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
10245166124Srafan	kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
10246166124Srafan	kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
10247166124Srafan	kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
10248166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10249166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10250166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10251166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
10252166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10253166124Srafan	rs2=\Ec\E[?3l, sc=\E7,
10254166124Srafan	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%;,
10255166124Srafan	sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
10256166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10257166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10258166124Srafanatt620-w|AT&T 620; 132 column; 98key keyboard,
10259166124Srafan	cols#132, wsl#132,
10260166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10261166124Srafan	use=att620,
10262166124Srafanatt620-103k|AT&T 620; 80 column; 103key keyboard,
10263166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10264166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10265166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10266166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10267166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10268166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10269166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10270166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
10271166124Srafan	kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
10272166124Srafan	kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
10273166124Srafan	kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
10274166124Srafan	kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
10275166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
10276166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
10277166124Srafan	kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
10278166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620,
1027950276Speter
10280166124Srafanatt620-103k-w|AT&T 620; 132 column; 103key keyboard,
10281166124Srafan	cols#132, wsl#132,
10282166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10283166124Srafan	use=att620-103k,
1028450276Speter
1028550276Speter# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
1028650276Speter# The following SETUP modes are assumed for normal operation:
1028750276Speter#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
1028850276Speter#	Font_Size=Large		Non-Layers_Window_Cols=80
1028950276Speter#				Non-Layers_Window_Rows=60
1029050276Speter# Other SETUP modes may be set for operator convenience or communication
1029150276Speter# requirements.  Some capabilities assume a printer attached to the Aux EIA
1029250276Speter# port.  This termcap description is for the Fixed Non-Layers Window.  No
1029350276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1029450276Speter# (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
10295166124Srafanatt630|AT&T 630 windowing terminal,
10296166124Srafan	OTbs, am, da, db, mir, msgr, npc, xon,
10297166124Srafan	cols#80, it#8, lines#60, lm#0,
10298166124Srafan	bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
10299166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
10300166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
10301166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
10302166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10303166124Srafan	el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10304166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
10305166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10306166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
10307166124Srafan	kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
10308166124Srafan	kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
10309166124Srafan	kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
10310166124Srafan	kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
10311166124Srafan	mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
10312166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
10313166124Srafan	rmul=\E[m, rs2=\Ec, sc=\E7,
10314166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
10315166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
10316166124Srafanatt630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
10317166124Srafan	lines#24, use=att630,
1031850276Speter
1031950276Speter# This is the att700 entry for 700 native emulation of the AT&T 700
1032050276Speter# terminal.  Comments are relative to changes from the 605V2 entry and
1032150276Speter# att730 on which the entry is based.  Comments show the terminfo
1032250276Speter# capability name, termcap name, and description.
1032350276Speter#
1032450276Speter# Here is what's going onm in the init string:
1032550276Speter#	ESC [ 50;4|	set 700 native mode (really is 605)
1032650276Speter# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
1032750276Speter#	ESC [ 53;0|	set GenFlow to Xon/Xoff
10328166124Srafan#	ESC [ 8 ;0|	set CR on NL
1032950276Speter# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
10330166124Srafan#	ESC [ ? 4 l	jump scroll
1033150276Speter#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
1033250276Speter#	ESC [ ?13 l	Labels on
1033350276Speter#	ESC [ ?15 l	parity check = no
1033450276Speter#	ESC [ 13 l	monitor mode off
1033550276Speter#	ESC [ 20 l	LF on NL (not CRLF on NL)
1033650276Speter#	ESC [ ? 7 h	autowrap on
1033750276Speter#	ESC [ 12 h	local echo off
1033850276Speter#	ESC ( B		GO = ASCII
1033950276Speter#	ESC ) 0		G1 = Special Char & Line Drawing
1034050276Speter#	ESC [ ? 31 l	Set 7 bit controls
1034150276Speter#
1034250276Speter# Note: Most terminals, especially the 600 family use Reverse Video for
1034350276Speter# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
1034450276Speter# Assume we should stay with reverse video for 70..  However, the 605V2 exits
1034550276Speter# standout mode with \E[m (all normal attributes).  The 730 entry simply
1034650276Speter# exits reverse video which would leave other current attributes intact.  It
1034750276Speter# was assumed the 730 entry to be more correct so rmso has changed.  The
1034850276Speter# 605V2 has no sequences to turn individual attributes off, thus its setting
1034950276Speter# and the rmso/smso settings from the 730.
1035050276Speter#
1035150276Speter# Note: For the same reason as above in rmso I changed exit under-score mode
10352166124Srafan# to specifically turn off underscore, rather than return to all normal
1035350276Speter# attributes
1035450276Speter#
1035550276Speter# Note: The following pkey_xmit is taken from the 605V2 which contained the
1035650276Speter# capability as pfxl.  It was changed here to pfx since pfxl
1035750276Speter# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
1035850276Speter# allows strings to be parameters and label values must be programmed as
1035950276Speter# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
1036050276Speter# and strings to be parameters.  The 605V2 pfx entry should be examined later
1036150276Speter# in this regard. For reference the 730 pfxl entry is shown here for comparison
1036250276Speter# 730 pfx entry:
1036350276Speter#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
1036450276Speter# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
1036550276Speter#
1036650276Speter# (for 4.0 tic)
1036750276Speter#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1036850276Speter#
1036950276Speter# (for <4.0 tic)
1037050276Speter#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1037150276Speter#
1037250276Speter# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
1037350276Speter#
1037450276Speter# Port1 Interface
1037550276Speter#
1037650276Speter# modular 10 pin Connector
1037750276Speter# Left side       Right side
1037850276Speter# Pin 1 2 3 4 5 6 7 8 9 10
1037950276Speter#
1038050276Speter#        Key (notch) at bottom
1038150276Speter#
1038250276Speter# Pin    1 DSR
1038350276Speter#        3 DCD
1038450276Speter#        4 DTR
1038550276Speter#        5 Sig Ground
1038650276Speter#        6 RD
1038750276Speter#        7 SD
1038850276Speter#        8 CTS
1038950276Speter#        9 RTS
1039050276Speter#        10 Frame Ground
1039150276Speter#
1039250276Speter# The manual is 189 pages and is loaded with details about the escape codes,
1039350276Speter# etc..... Available from AT&T CIC 800-432-6600...
1039450276Speter# ask for Document number 999-300-660..
1039550276Speter#
10396166124Srafanatt700|AT&T 700 24x80 column display w/102key keyboard,
10397166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10398166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10399166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10400166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10401166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10402166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10403166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10404166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10405166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10406166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10407166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
10408166124Srafan	fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
10409166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
10410166124Srafan	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,
10411166124Srafan	is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
10412166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10413166124Srafan	kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
10414166124Srafan	kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
10415166124Srafan	kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
10416166124Srafan	kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
10417166124Srafan	kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
10418166124Srafan	kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
10419166124Srafan	kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
10420166124Srafan	kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10421166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
10422166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10423166124Srafan	kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
10424166124Srafan	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10425166124Srafan	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
10426166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10427166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10428166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
10429166124Srafan	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
10430166124Srafan	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%;,
10431166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
10432166124Srafan	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
10433166124Srafan	tsl=\E7\E[99;%i%p1%dx,
1043450276Speter
1043550276Speter# This entry was modified 3/13/90 by JWE.
1043650276Speter# fixes include additions of <enacs>, correcting <rep>, and modification
1043750276Speter# of <kHOM>.  (See comments below)
1043850276Speter# att730 has status line of 80 chars
1043950276Speter# These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
1044050276Speter# the <kf25> and up keys are used for shifted system Fkeys
10441166124Srafan# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1044250276Speter# currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
1044350276Speter# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1044450276Speter# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1044550276Speter# 102, 102+1, or 122 key keyboards
1044650276Speter#       kHOM=\E[2J,
1044750276Speter# (att730: I added <rmam>/<smam> based on the init string -- esr)
10448166124Srafanatt730|AT&T 730 windowing terminal,
10449166124Srafan	am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
10450166124Srafan	cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
10451166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10452166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10453166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10454166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10455166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10456166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10457166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10458166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10459166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
10460166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
10461166124Srafan	ind=\ED, invis=\E[8m,
10462166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
10463166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10464166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10465166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10466166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
10467166124Srafan	kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
10468166124Srafan	kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
10469166124Srafan	kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
10470166124Srafan	kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
10471166124Srafan	kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
10472166124Srafan	kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
10473166124Srafan	kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
10474166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10475166124Srafan	kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
10476166124Srafan	mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10477166124Srafan	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,
10478166124Srafan	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
10479166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10480166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10481166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
10482166124Srafan	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
10483166124Srafan	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%;,
10484166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10485166124Srafan	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
10486166124Srafan	swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
10487166124Srafanatt730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
10488166124Srafan	lines#41, use=att730,
10489166124Srafanatt730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
10490166124Srafan	lines#24, use=att730,
10491166124Srafanatt730r|730MTGr|AT&T 730 rev video windowing terminal Version,
10492166124Srafan	flash=\E[?5l$<200>\E[?5h,
10493166124Srafan	is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
10494166124Srafan	use=att730,
10495166124Srafanatt730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
10496166124Srafan	lines#41, use=att730r,
10497166124Srafanatt730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
10498166124Srafan	lines#24, use=att730r,
1049950276Speter
1050050276Speter# The following represents the screen layout along with the associated
1050150276Speter# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
1050250276Speter# not appear on the screen but are shown to reference the bezel buttons.
1050350276Speter# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
1050450276Speter# position relative to the screen.
1050550276Speter#
1050650276Speter#
1050750276Speter#
1050850276Speter#      +----------------------------------------------------------------+
1050950276Speter#      |                                                                |
1051050276Speter# XXXX | kf0                                                       kf24 | XXXX
1051150276Speter#      |                                                                |
1051250276Speter#      |                                                                |
1051350276Speter# XXXX | kf1                                                       kf23 | XXXX
1051450276Speter#      |                                                                |
1051550276Speter#      |                                                                |
1051650276Speter# XXXX | kf2                                                       kf22 | XXXX
1051750276Speter#      |                                                                |
1051850276Speter#      |                                                                |
1051950276Speter# XXXX | kf3                                                       kf21 | XXXX
1052050276Speter#      |                                                                |
1052150276Speter#      |                                                                |
1052250276Speter# XXXX | kf4                                                       kf20 | XXXX
1052350276Speter#      |                                                                |
1052450276Speter#      |                                                                |
1052550276Speter# XXXX | kf5                                                       kf19 | XXXX
1052650276Speter#      |                                                                |
1052750276Speter#      |                                                                |
1052850276Speter# XXXX | kf6                                                       kf18 | XXXX
1052950276Speter#      |                                                                |
1053050276Speter#      |                                                                |
1053150276Speter# XXXX |                                                                | XXXX
1053250276Speter#      |                                                                |
1053350276Speter#      |                                                                |
1053450276Speter#      +----------------------------------------------------------------+
1053550276Speter#
1053650276Speter#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
1053750276Speter#
1053850276Speter# Note: XXXX represents the screen buttons
1053950276Speter#                                                          CMD   REDRAW
1054050276Speter#
1054150276Speter#                                                          MAIL
1054250276Speter#
10543166124Srafan# version 1 note:
1054450276Speter#	The character string sent by key 'kf26' may be user programmable
1054550276Speter#       to send either \E[16s, or \E[26s.
1054650276Speter#       The character string sent by key 'krfr' may be user programmable
1054750276Speter#       to send either \E[17s, or \E[27s.
1054850276Speter#
1054950276Speter# Depression of the "CMD" key sends    \E!    (kcmd)
1055050276Speter# Depression of the "MAIL" key sends   \E[26s (kf26)
1055150276Speter# "REDRAW" same as "REFRESH" (krfr)
1055250276Speter#
1055350276Speter# "kf" functions adds carriage return to output string if terminal is in
1055450276Speter# 'new line' mode.
1055550276Speter#
1055650276Speter# The following are functions not covered in the table above:
1055750276Speter#
1055850276Speter#       Set keyboard character (SKC): \EPn1;Pn2w
1055950276Speter#                       Pn1= 0 Back Space key
1056050276Speter#                       Pn1= 1 Break key
1056150276Speter#                       Pn2=   Program char (hex)
1056250276Speter#
1056350276Speter#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
1056450276Speter#                       Pn1=     Window number (1-39)
1056550276Speter#                       Pn2-Pn5= Y;X;Y;X coordinates
1056650276Speter#
1056750276Speter#       Screen Selection (SSL): \E[Pnu
1056850276Speter#                       Pn= Window number
1056950276Speter#
1057050276Speter#       Set Terminal Modes (SM): \E[Pnh
1057150276Speter#                       Pn= 3 Graphics mode
1057250276Speter#                       Pn= > Cursor blink
1057350276Speter#                       Pn= < Enter new line mode
1057450276Speter#                       Pn= = Enter reverse insert/replace mode
1057550276Speter#                       Pn= ? Enter no scroll mode
1057650276Speter#
1057750276Speter#       Reset Terminal Mode (RM): \E[Pnl
1057850276Speter#                       Pn= 3 Exit graphics mode
1057950276Speter#                       Pn= > Exit cursor blink
1058050276Speter#                       Pn= < Exit new line mode
1058150276Speter#                       Pn= = Exit reverse insert/replace mode
1058250276Speter#                       Pn= ? Exit no scroll mode
1058350276Speter#
1058450276Speter#       Screen Status Report (SSR): \E[Pnp
1058550276Speter#                       Pn= 0 Request current window number
1058650276Speter#                       Pn= 1 Request current window dimensions
1058750276Speter#
1058850276Speter#       Device Status Report (DSR): \E[6n    Request cursor position
1058950276Speter#
1059050276Speter#       Call Status Report (CSR): \E[Pnv
1059150276Speter#                       Pn= 0 Call failed
1059250276Speter#                       Pn= 1 Call successful
1059350276Speter#
1059450276Speter#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
1059550276Speter#                       Pn1= Button number to be loaded
1059650276Speter#                       Pn2= Character count of "string"
1059750276Speter#                       Pn3= Key mode being loaded:
1059850276Speter#                               0= Unshifted
1059950276Speter#                               1= Shifted
1060050276Speter#                               2= Control
1060150276Speter#                       String= Text string (15 chars max)
1060250276Speter#
1060350276Speter#       Screen Number Report (SNR): \E[Pnp
1060450276Speter#                       Pn= Screen number
1060550276Speter#
1060650276Speter#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
1060750276Speter#                       Pn1= Number of rows available in window
1060850276Speter#                       Pn2= Number of columns available in window
1060950276Speter#
1061050276Speter#       Cursor Position Report (CPR): \E[Pn1;Pn2R
1061150276Speter#                       Pn1= "Y" Position of cursor
1061250276Speter#                       Pn2= "X" Position of cursor
1061350276Speter#
1061450276Speter#       Request Answer Back (RAB): \E[c
1061550276Speter#
1061650276Speter#       Answer Back Response (ABR): \E[?;*;30;VSV
1061750276Speter#                       *=  0 No printer available
1061850276Speter#                       *=  2 Printer available
1061950276Speter#                       V=  Software version number
1062050276Speter#                       SV= Software sub version number
1062150276Speter#	(printer-available field not documented in v1)
1062250276Speter#
1062350276Speter#       Screen Alignment Aid: \En
1062450276Speter#
1062550276Speter#       Bell (lower pitch): \E[x
1062650276Speter#
1062750276Speter#       Dial Phone Number: \EPdstring\
1062850276Speter#                       string= Phone number to be dialed
1062950276Speter#
1063050276Speter#       Set Phone Labels: \EPpstring\
1063150276Speter#                       string= Label for phone buttons
1063250276Speter#
1063350276Speter#       Set Clock: \EPchour;minute;second\
1063450276Speter#
1063550276Speter#       Position Clock: \EPsY;X\
1063650276Speter#                       Y= "Y" coordinate
1063750276Speter#                       X= "X" coordinate
1063850276Speter#
1063950276Speter#       Delete Clock: \Epr\
1064050276Speter#
1064150276Speter#       Programming The Function Buttons: \EPfPn;string\
1064250276Speter#                       Pn= Button number (00-06, 18-24)
1064350276Speter#                                         (kf00-kf06, kf18-kf24)
1064450276Speter#                       string= Text to sent on button depression
1064550276Speter#
1064650276Speter# The following in version 2 only:
1064750276Speter#
1064850276Speter#       Request For Local Directory Data: \EPp12;\
1064950276Speter#
1065050276Speter#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1065150276Speter#
1065250276Speter#	Request for Local Directory Data in print format: \EPp13;\
1065350276Speter#
1065450276Speter#	Enable 'Prt on Line' mode: \022 (DC2)
1065550276Speter#
1065650276Speter#	Disable 'Prt on Line' mode: \024 (DC4)
1065750276Speter#
1065850276Speter
1065950276Speter# 05-Aug-86:
1066050276Speter# The following Terminfo entry describes functions which are supported by
1066150276Speter# the AT&T 5430/pt505 terminal software version 2 and later.
10662166124Srafanatt505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
10663166124Srafan	am, xon,
10664166124Srafan	cols#80, it#8, lines#24,
10665166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10666166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
10667166124Srafan	cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
10668166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10669166124Srafan	cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10670166124Srafan	cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
10671166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
10672166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J,
10673166124Srafan	is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
10674166124Srafan	kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10675166124Srafan	kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
10676166124Srafan	kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
10677166124Srafan	kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
10678166124Srafan	kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
10679166124Srafan	krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
10680166124Srafan	rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
10681166124Srafan	rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
10682166124Srafan	smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1068350276Speter
1068450276Speter# The following Terminfo entry describes functions which are supported by
1068550276Speter# the AT&T 5430/pt505 terminal software version 1.
10686166124Srafanatt505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
10687166124Srafan	lines#24,
10688166124Srafan	mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
10689166124Srafantt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
10690166124Srafan	lines#22, use=att505,
1069150276Speter#
1069250276Speter#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
1069350276Speter# This cut mark helps make life less painful for people running ncurses tic
1069450276Speter# on machines with relatively little RAM.  The file can be broken in half here
1069550276Speter# cleanly and compiled in sections -- no `use' references cross this cut
1069650276Speter# going forward.
1069750276Speter#
1069850276Speter
1069950276Speter#### Ampex (Dialogue)
1070050276Speter#
1070150276Speter# Yes, these are the same people who are better-known for making audio- and
1070250276Speter# videotape.  I'm told they are located in Redwood City, CA.
1070350276Speter#
1070450276Speter
1070550276Speter# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1070650276Speter# (ampex80: some capabilities merged in from SCO's entry -- esr)
10707166124Srafanampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
10708166124Srafan	OTbs, am, bw, ul,
10709166124Srafan	cols#80, it#8, lines#24,
10710166124Srafan	bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
10711166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10712166124Srafan	dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
10713166124Srafan	ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
10714166124Srafan	smso=\Ej, smul=\El, tbc=\E3,
1071550276Speter# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
10716166124Srafanampex175|ampex d175,
10717166124Srafan	am,
10718166124Srafan	cols#80, lines#24,
10719166124Srafan	bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
10720166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10721166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
10722166124Srafan	is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
10723166124Srafan	kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
10724166124Srafan	rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1072550276Speter# No backspace key in the main QWERTY cluster. Fortunately, it has a
1072650276Speter# NEWLINE/PAGE key just above RETURN that sends a strange single-character
1072750276Speter# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
1072850276Speter# mode), this key can be used as the erase key; I find I like this. Because
1072950276Speter# some people and some systems may not, there is another termcap ("ampex175")
1073050276Speter# that suppresses this little eccentricity by omitting the relevant capability.
10731166124Srafanampex175-b|ampex d175 using left arrow for erase,
10732166124Srafan	kbs=^_, use=ampex175,
1073350276Speter# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1073450276Speter# (ampex210: removed obsolete ":kn#10:" -- esr)
10735166124Srafanampex210|a210|ampex a210,
10736166124Srafan	OTbs, am, hs, xenl,
10737166124Srafan	cols#80, it#8, lines#24, xmc#1,
10738166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
10739166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10740166124Srafan	dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
10741166124Srafan	fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
10742166124Srafan	if=/usr/share/tabset/std, il1=\EE, invis@,
10743166124Srafan	is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
10744166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
10745166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
10746166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
10747166124Srafan	tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1074850276Speter# (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
1074950276Speter# from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
1075050276Speter# and moved the padding to be *after* the caps -- esr)
10751166124Srafanampex219|ampex-219|amp219|Ampex with Automargins,
10752166124Srafan	hs, xenl,
10753166124Srafan	cols#80, it#8, lines#24,
10754166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
10755166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
10756166124Srafan	csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
10757166124Srafan	cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
10758166124Srafan	cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
10759166124Srafan	el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
10760166124Srafan	is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
10761166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
10762166124Srafan	kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
10763166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
10764166124Srafan	rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
10765166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
10766166124Srafan	smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
10767166124Srafanampex219w|ampex-219w|amp219w|Ampex 132 cols,
10768166124Srafan	cols#132, lines#24,
10769166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
10770166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
10771166124Srafan# (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
10772166124Srafanampex232|ampex-232|Ampex Model 232,
10773166124Srafan	am,
10774166124Srafan	cols#80, lines#24, xmc#1,
10775166124Srafan	cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
10776166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10777166124Srafan	dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
10778166124Srafan	flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
10779166124Srafan	invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
10780166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
10781166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
10782166124Srafan	kf9=^AI\r, khome=^^, use=adm+sgr,
10783166124Srafan# (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
10784166124Srafanampex232w|Ampex Model 232 / 132 columns,
10785166124Srafan	cols#132, lines#24,
10786166124Srafan	is2=\E\034Eg\El, use=ampex232,
1078750276Speter
1078850276Speter#### Ann Arbor (aa)
1078950276Speter#
1079050276Speter# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
1079150276Speter# numbers of function keys.  At least some used monitors in portrait mode,
1079250276Speter# allowing up to 76-character screen heights!  They were reachable at:
1079350276Speter#
1079450276Speter#	Ann Arbor Terminals
1079550276Speter#	6175 Jackson Road
1079650276Speter#	Ann Arbor, MI 48103
1079750276Speter#	(313)-663-8000
1079850276Speter#
1079950276Speter# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
1080050276Speter# can't be found on the Web; I fear they're long dead.  R.I.P.
1080150276Speter#
1080250276Speter
1080350276Speter
1080450276Speter# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1080550276Speter# Highly modified 6/22 by Mike O'Brien.
1080650276Speter# split out into several for the various screen sizes by dave-yost@rand
1080750276Speter# Modifications made 3/82 by Mark Horton
1080850276Speter# Modified by Tom Quarles at UCB for greater efficiency and more diversity
1080950276Speter# status line moved to top of screen, <flash> removed 5/82
1081050276Speter# Some unknown person at SCO then hacked the init strings to make them more
1081150276Speter# efficient.
1081250276Speter#
1081350276Speter# assumes the following setup:
1081450276Speter#   A menu: 0000 1010  0001 0000
1081550276Speter#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1081650276Speter#   C menu: 56   66   0    0    9600  0110 1100
1081750276Speter#   D menu: 0110 1001   1   0
1081850276Speter#
1081950276Speter#	Briefly, the settings are for the following modes:
1082050276Speter#	   (values are for bit set/clear with * indicating our preference
1082150276Speter#	    and the value used to test these termcaps)
1082250276Speter#	Note that many of these settings are irrelevent to the terminfo
1082350276Speter#	and are just set to the default mode of the terminal as shipped
1082450276Speter#	by the factory.
1082550276Speter#
1082650276Speter# A menu: 0000 1010  0001 0000
1082750276Speter#	Block/underline cursor*
1082850276Speter#	blinking/nonblinking cursor*
1082950276Speter#	key click/no key click*
1083050276Speter#	bell/no bell at column 72*
1083150276Speter#
1083250276Speter#	key pad is cursor control*/key pad is numeric
1083350276Speter#	return and line feed/return for <cr> key *
1083450276Speter#	repeat after .5 sec*/no repeat
1083550276Speter#	repeat at 25/15 chars per sec. *
1083650276Speter#
1083750276Speter#	hold data until pause pressed/process data unless pause pressed*
1083850276Speter#	slow scroll/no slow scroll*
1083950276Speter#	Hold in area/don't hold in area*
1084050276Speter#	functions keys have default*/function keys disabled on powerup
1084150276Speter#
1084250276Speter#	show/don't show position of cursor during page transmit*
1084350276Speter#	unused
1084450276Speter#	unused
1084550276Speter#	unused
1084650276Speter#
1084750276Speter# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1084850276Speter#	Baud rate (9600*)
1084950276Speter#
1085050276Speter#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
1085150276Speter#	1 stop bit*/2 stop bits
1085250276Speter#	parity error detection off*/on
1085350276Speter#
1085450276Speter#	keyboard local/on line*
1085550276Speter#	half/full duplex*
1085650276Speter#	disable/do not disable keyboard after data transmission*
1085750276Speter#
1085850276Speter#	transmit entire page/stop transmission at cursor*
1085950276Speter#	transfer/do not transfer protected characters*
1086050276Speter#	transmit all characters/transmit only selected characters*
1086150276Speter#	transmit all selected areas/transmit only 1 selected area*
1086250276Speter#
1086350276Speter#	transmit/do not transmit line separators to host*
1086450276Speter#	transmit/do not transmit page tab stops tabs to host*
1086550276Speter#	transmit/do not transmit column tab stop tabs to host*
1086650276Speter#	transmit/do not transmit graphics control (underline,inverse..)*
1086750276Speter#
1086850276Speter#	enable*/disable auto XON/XOFF control
1086950276Speter#	require/do not require receipt of a DC1 from host after each LF*
1087050276Speter#	pause key acts as a meta key/pause key is pause*
1087150276Speter#	unused
1087250276Speter#
1087350276Speter#	unused
1087450276Speter#	unused
1087550276Speter#	unused
1087650276Speter#	unused
1087750276Speter#
1087850276Speter#	XON character (17*)
1087950276Speter#	XOFF character (19*)
1088050276Speter#
1088150276Speter# C menu: 56   66   0    0    9600  0110 1100
1088250276Speter#	number of lines to print data on (printer) (56*)
1088350276Speter#
1088450276Speter#	number of lines on a sheet of paper (printer) (66*)
1088550276Speter#
1088650276Speter#	left margin (printer) (0*)
1088750276Speter#
1088850276Speter#	number of pad chars on new line to printer (0*)
1088950276Speter#
1089050276Speter#	printer baud rate (9600*)
1089150276Speter#
1089250276Speter#	printer parity: 00=odd,01=even*,10=space,11=mark
1089350276Speter#	printer stop bits: 2*/1
1089450276Speter#	print/do not print guarded areas*
1089550276Speter#
1089650276Speter#	new line is: 01=LF,10=CR,11=CRLF*
1089750276Speter#	unused
1089850276Speter#	unused
1089950276Speter#
1090050276Speter# D menu: 0110 1001   1   0
1090150276Speter#	LF is newline/LF is down one line, same column*
1090250276Speter#	wrap to preceding line if move left from col 1*/don't wrap
1090350276Speter#	wrap to next line if move right from col 80*/don't wrap
1090450276Speter#	backspace is/is not destructive*
1090550276Speter#
1090650276Speter#	display*/ignore DEL character
1090750276Speter#	display will not/will scroll*
1090850276Speter#	page/column tab stops*
1090950276Speter#	erase everything*/erase unprotected only
1091050276Speter#
1091150276Speter#	editing extent: 0=display,1=line*,2=field,3=area
1091250276Speter#
1091350276Speter#	unused
1091450276Speter#
1091550276Speter
10916166124Srafanannarbor4080|aa4080|ann arbor 4080,
10917166124Srafan	OTbs, am,
10918166124Srafan	cols#80, lines#40,
10919166124Srafan	bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
10920166124Srafan	cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
10921166124Srafan	cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
10922166124Srafan	kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1092350276Speter
1092450276Speter# Strange Ann Arbor terminal from BRL
10925166124Srafanaas1901|Ann Arbor K4080 w/S1901 mod,
10926166124Srafan	am,
10927166124Srafan	cols#80, lines#40,
10928166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
10929166124Srafan	home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
10930166124Srafan	nel=^M^J,
1093150276Speter
1093250276Speter# If you're using the GNU termcap library, add
1093350276Speter#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1093450276Speter# to these capabilities.  This is the nonstandard GNU termcap scrolling
1093550276Speter# capability, arguments are:
1093650276Speter#   1. Total number of lines on the screen.
1093750276Speter#   2. Number of lines above desired scroll region.
1093850276Speter#   3. Number of lines below (outside of) desired scroll region.
1093950276Speter#   4. Total number of lines on the screen, the same as the first parameter.
1094050276Speter# The generic Ann Arbor entry is the only one that uses this.
10941166124Srafanaaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
10942166124Srafan	OTbs, am, km, mc5i, mir, xon,
10943166124Srafan	cols#80, it#8,
10944166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
10945166124Srafan	clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
10946166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
10947166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10948166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10949166124Srafan	el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
10950166124Srafan	hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
10951166124Srafan	il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
10952166124Srafan	is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
10953166124Srafan	kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10954166124Srafan	kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
10955166124Srafan	kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
10956166124Srafan	kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
10957166124Srafan	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
10958166124Srafan	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
10959166124Srafan	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
10960166124Srafan	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
10961166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
10962166124Srafan	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
10963166124Srafan	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
10964166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
10965166124Srafan	sgr0=\E[m,
10966166124Srafan	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
10967166124Srafan	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
10968166124Srafan	vpa=\E[%p1%{1}%+%dd,
1096950276Speter
10970166124Srafanaaa+rv|ann arbor ambassador in reverse video,
10971166124Srafan	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
10972166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
10973166124Srafan	rs1=\E[H\E[7m\E[J$<156>,
10974166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
10975166124Srafan	sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1097650276Speter# Ambassador with the DEC option, for partial vt100 compatibility.
10977166124Srafanaaa+dec|ann arbor ambassador in dec vt100 mode,
10978166124Srafan	acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
10979166124Srafan	csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
10980166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
10981166124Srafan	smacs=^O,
10982166124Srafanaaa-18|ann arbor ambassador/18 lines,
10983166124Srafan	lines#18,
10984166124Srafan	is2=\E7\E[60;0;0;18p\E8,
10985166124Srafan	rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
10986166124Srafan	use=aaa+unk,
10987166124Srafanaaa-18-rv|ann arbor ambassador/18 lines+reverse video,
10988166124Srafan	use=aaa+rv, use=aaa-18,
10989166124Srafanaaa-20|ann arbor ambassador/20 lines,
10990166124Srafan	lines#20,
10991166124Srafan	is2=\E7\E[60;0;0;20p\E8,
10992166124Srafan	rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
10993166124Srafan	use=aaa+unk,
10994166124Srafanaaa-22|ann arbor ambassador/22 lines,
10995166124Srafan	lines#22,
10996166124Srafan	is2=\E7\E[60;0;0;22p\E8,
10997166124Srafan	rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
10998166124Srafan	use=aaa+unk,
10999166124Srafanaaa-24|ann arbor ambassador/24 lines,
11000166124Srafan	lines#24,
11001166124Srafan	is2=\E7\E[60;0;0;24p\E8,
11002166124Srafan	rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
11003166124Srafan	use=aaa+unk,
11004166124Srafanaaa-24-rv|ann arbor ambassador/24 lines+reverse video,
11005166124Srafan	use=aaa+rv, use=aaa-24,
11006166124Srafanaaa-26|ann arbor ambassador/26 lines,
11007166124Srafan	lines#26,
11008166124Srafan	is2=\E7\E[60;0;0;26p\E8,
11009166124Srafan	rmcup=\E[60;0;0;26p\E[26;1H\E[K,
11010166124Srafan	smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
11011166124Srafanaaa-28|ann arbor ambassador/28 lines,
11012166124Srafan	lines#28,
11013166124Srafan	is2=\E7\E[60;0;0;28p\E8,
11014166124Srafan	rmcup=\E[60;0;0;28p\E[28;1H\E[K,
11015166124Srafan	smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
11016166124Srafanaaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
11017166124Srafan	eslok, hs,
11018166124Srafan	lines#29,
11019166124Srafan	dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11020166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
11021166124Srafan	rmcup=\E[60;1;0;30p\E[29;1H\E[K,
11022166124Srafan	smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
11023166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11024166124Srafanaaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
11025166124Srafan	use=aaa+rv, use=aaa-30-s,
11026166124Srafanaaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
11027166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11028166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
11029166124Srafanaaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
11030166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11031166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
11032166124Srafanaaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
11033166124Srafan	lines#30,
11034166124Srafan	is2=\E7\E[60;0;0;30p\E8,
11035166124Srafan	rmcup=\E[60;0;0;30p\E[30;1H\E[K,
11036166124Srafan	smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
11037166124Srafanaaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
11038166124Srafan	use=aaa+rv, use=aaa-30,
11039166124Srafanaaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
11040166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11041166124Srafan	use=aaa-30,
11042166124Srafanaaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
11043166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11044166124Srafan	use=aaa+rv, use=aaa-30,
11045166124Srafanaaa-36|ann arbor ambassador/36 lines,
11046166124Srafan	lines#36,
11047166124Srafan	is2=\E7\E[60;0;0;36p\E8,
11048166124Srafan	rmcup=\E[60;0;0;36p\E[36;1H\E[K,
11049166124Srafan	smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
11050166124Srafanaaa-36-rv|ann arbor ambassador/36 lines+reverse video,
11051166124Srafan	use=aaa+rv, use=aaa-36,
11052166124Srafanaaa-40|ann arbor ambassador/40 lines,
11053166124Srafan	lines#40,
11054166124Srafan	is2=\E7\E[60;0;0;40p\E8,
11055166124Srafan	rmcup=\E[60;0;0;40p\E[40;1H\E[K,
11056166124Srafan	smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
11057166124Srafanaaa-40-rv|ann arbor ambassador/40 lines+reverse video,
11058166124Srafan	use=aaa+rv, use=aaa-40,
11059166124Srafanaaa-48|ann arbor ambassador/48 lines,
11060166124Srafan	lines#48,
11061166124Srafan	is2=\E7\E[60;0;0;48p\E8,
11062166124Srafan	rmcup=\E[60;0;0;48p\E[48;1H\E[K,
11063166124Srafan	smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
11064166124Srafanaaa-48-rv|ann arbor ambassador/48 lines+reverse video,
11065166124Srafan	use=aaa+rv, use=aaa-48,
11066166124Srafanaaa-60-s|ann arbor ambassador/59 lines+status,
11067166124Srafan	eslok, hs,
11068166124Srafan	lines#59,
11069166124Srafan	dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11070166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
11071166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11072166124Srafanaaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
11073166124Srafan	use=aaa+rv, use=aaa-60-s,
11074166124Srafanaaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
11075166124Srafan	use=aaa+dec, use=aaa+rv, use=aaa-60-s,
11076166124Srafanaaa-60|ann arbor ambassador/60 lines,
11077166124Srafan	lines#60,
11078166124Srafan	is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
11079166124Srafan	use=aaa+unk,
11080166124Srafanaaa-60-rv|ann arbor ambassador/60 lines+reverse video,
11081166124Srafan	use=aaa+rv, use=aaa-60,
11082166124Srafanaaa-db|ann arbor ambassador 30/destructive backspace,
11083166124Srafan	OTbs@,
11084166124Srafan	cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
1108550276Speter
11086166124Srafanguru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
11087166124Srafan	lines#33,
11088166124Srafan	flash=\E[>59h$<100>\E[>59l,
11089166124Srafan	is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
11090166124Srafan	rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
11091166124Srafanguru+rv|guru changes for reverse video,
11092166124Srafan	flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
11093166124Srafanguru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
11094166124Srafan	use=guru+rv, use=guru-33,
11095166124Srafanguru+s|guru status line,
11096166124Srafan	eslok, hs,
11097166124Srafan	dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
11098166124Srafan	rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
11099166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K,
11100166124Srafanguru-nctxt|guru with no saved context,
11101166124Srafan	smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
11102166124Srafanguru-s|guru-33-s|ann arbor guru/33 lines+status,
11103166124Srafan	lines#32,
11104166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
11105166124Srafan	smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11106166124Srafanguru-24|ann arbor guru 24 lines,
11107166124Srafan	cols#80, lines#24,
11108166124Srafan	is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
11109166124Srafan	use=guru+unk,
11110166124Srafanguru-44|ann arbor guru 44 lines,
11111166124Srafan	cols#97, lines#44,
11112166124Srafan	is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
11113166124Srafan	use=guru+unk,
11114166124Srafanguru-44-s|ann arbor guru/44 lines+status,
11115166124Srafan	lines#43,
11116166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
11117166124Srafan	smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11118166124Srafanguru-76|guru with 76 lines by 89 cols,
11119166124Srafan	cols#89, lines#76,
11120166124Srafan	is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
11121166124Srafan	use=guru+unk,
11122166124Srafanguru-76-s|ann arbor guru/76 lines+status,
11123166124Srafan	cols#89, lines#75,
11124166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
11125166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11126166124Srafanguru-76-lp|guru-lp|guru with page bigger than line printer,
11127166124Srafan	cols#134, lines#76,
11128166124Srafan	is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
11129166124Srafan	use=guru+unk,
11130166124Srafanguru-76-w|guru 76 lines by 178 cols,
11131166124Srafan	cols#178, lines#76,
11132166124Srafan	is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
11133166124Srafan	use=guru+unk,
11134166124Srafanguru-76-w-s|ann arbor guru/76 lines+status+wide,
11135166124Srafan	cols#178, lines#75,
11136166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
11137166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11138166124Srafanguru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
11139166124Srafan	cols#178, lines#76,
11140166124Srafan	is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
11141166124Srafan	use=guru+unk,
11142166124Srafanaaa-rv-unk|ann arbor unknown type,
11143166124Srafan	lh#0, lw#0, nlab#0,
11144166124Srafan	blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
11145166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
11146166124Srafan	rs1=\E[H\E[7m\E[J,
11147166124Srafan	sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
11148166124Srafan	sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1114950276Speter
1115050276Speter#### Applied Digital Data Systems (adds)
1115150276Speter#
1115250276Speter# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
1115350276Speter# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
1115450276Speter# terminals was merged again.  Then AT&T sold the terminal business to
1115550276Speter# SunRiver, which later changed its  name to Boundless Technologies.  The
1115650276Speter# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
1115750276Speter# as of early 1995) are at:
1115850276Speter#
1115950276Speter#	Boundless Technologies
1116050276Speter#	100 Marcus Boulevard
1116150276Speter#	Hauppauge, NY 11788-3762
1116250276Speter#	Vox: (800)-231-5445
1116350276Speter#	Fax: (516)-342-7378
1116450276Speter#	Web: http://boundless.com
1116550276Speter#
11166166124Srafan# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
11167166124Srafan# In 1995 Boundless acquired DEC's terminals business.
1116850276Speter#
1116950276Speter
1117050276Speter# Regent: lowest common denominator, works on all regents.
1117150276Speter# (regent: renamed ":bc:" to ":le:" -- esr)
11172166124Srafanregent|Adds Regent Series,
11173166124Srafan	OTbs, am,
11174166124Srafan	cols#80, lines#24,
11175166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
11176166124Srafan	home=\EY\s\s, ind=^J, ll=^A,
1117750276Speter# Regent 100 has a bug where if computer sends escape when user is holding
1117850276Speter# down shift key it gets confused, so we avoid escape.
11179166124Srafanregent100|Adds Regent 100,
11180166124Srafan	xmc#1,
11181166124Srafan	bel=^G,
11182166124Srafan	cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
11183166124Srafan	kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
11184166124Srafan	kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
11185166124Srafan	lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
11186166124Srafan	sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
11187166124Srafanregent20|Adds Regent 20,
11188166124Srafan	bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
11189166124Srafan	use=regent,
11190166124Srafanregent25|Adds Regent 25,
11191166124Srafan	bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
11192166124Srafan	use=regent20,
11193166124Srafanregent40|Adds Regent 40,
11194166124Srafan	xmc#1,
11195166124Srafan	bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
11196166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11197166124Srafan	kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
11198166124Srafan	lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
11199166124Srafan	smul=\E0`, use=regent25,
11200166124Srafanregent40+|Adds Regent 40+,
11201166124Srafan	is2=\EB, use=regent40,
11202166124Srafanregent60|regent200|Adds Regent 60,
11203166124Srafan	dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
11204166124Srafan	rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
11205166124Srafan	use=regent40+,
1120650276Speter# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1120750276Speter# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
11208166124Srafanviewpoint|addsviewpoint|adds viewpoint,
11209166124Srafan	OTbs, am,
11210166124Srafan	cols#80, lines#24,
11211166124Srafan	bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
11212166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
11213166124Srafan	cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
11214166124Srafan	ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
11215166124Srafan	kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
11216166124Srafan	rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
1121750276Speter# Some viewpoints have bad ROMs that foo up on ^O
11218166124Srafanscrewpoint|adds viewpoint with ^O bug,
11219166124Srafan	cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1122050276Speter
1122150276Speter# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
11222166124Srafan# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1122350276Speter# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1122450276Speter# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
1122550276Speter# invis=01000100 and %c is the logical or of desired attributes.
1122650276Speter# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
1122750276Speter#
11228166124Srafan# Update by TD - 2004:
11229166124Srafan# Adapted from
11230166124Srafan#	http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
11231166124Srafan#
11232166124Srafan# COMMANDS                        ASCII CODE
11233166124Srafan#
11234166124Srafan# Address, Absolute               ESC,=,row,column
11235166124Srafan# Beep                            BEL
11236166124Srafan# Aux Port Enable                 ESC,@
11237166124Srafan# Aux Port Disable                ESC,A
11238166124Srafan# Backspace                       BS
11239166124Srafan# Cursor back                     BS
11240166124Srafan# Cursor down                     LF
11241166124Srafan# Cursor forward                  FF
11242166124Srafan# Cursor home                     RS
11243166124Srafan# Cursor up                       VT
11244166124Srafan# Cursor supress                  ETB
11245166124Srafan# Cursor enable                   CAN
11246166124Srafan# Erase to end of line            ESC,T
11247166124Srafan# Erase to end of page            ESC,Y
11248166124Srafan# Erase screen                    SUB
11249166124Srafan# Keyboard lock                   SI
11250166124Srafan# Keyboard unlock                 SO
11251166124Srafan# Read current cursor position    ESC,?
11252166124Srafan# Set Attribute                   ESC,0,x  (see below for values of x)
11253166124Srafan# Tag bit reset                   ESC,(
11254166124Srafan# Tag bit set                     ESC,)
11255166124Srafan# Transparent Print on            ESC,3
11256166124Srafan# Transparent Print off           ESC,4
11257166124Srafan#
11258166124Srafan#
11259166124Srafan# ATTRIBUTES
11260166124Srafan#
11261166124Srafan# Normal                          @	0100
11262166124Srafan# Half Intensity                  A	0101
11263166124Srafan# Blinking                        B	0102
11264166124Srafan# Half Intensity Blinking         C	0103
11265166124Srafan# Reverse Video                   P	0120
11266166124Srafan# Reverse Video Half Intensity    Q	0121
11267166124Srafan# Reverse Video Blinking          R	0122
11268166124Srafan# Reverse Video Half Intensity
11269166124Srafan#    Blinking                     S	0123
11270166124Srafan# Underlined                      `	0140
11271166124Srafan# Underlined Half Intensity       a	0141
11272166124Srafan# Underlined Blinking             b	0142
11273166124Srafan# Underlined Half Intensity
11274166124Srafan#    Blinking                     c	0143
11275166124Srafan# Video suppress                  D	0104
11276166124Srafanvp3a+|viewpoint3a+|adds viewpoint 3a+,
11277166124Srafan	am, bw,
11278166124Srafan	cols#80, it#8, lines#24,
11279166124Srafan	blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
11280166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
11281166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
11282166124Srafan	ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
11283166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
11284166124Srafan	nel=^M^J, rev=\E0P\E), rmso=\E(,
11285166124Srafan	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(%;,
11286166124Srafan	sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
11287166124Srafanvp60|viewpoint60|addsvp60|adds viewpoint60,
11288166124Srafan	use=regent40,
11289166124Srafan#
1129050276Speter# adds viewpoint 90 - from cornell
1129150276Speter# Note:  emacs sends ei occasionally to insure the terminal is out of
1129250276Speter#        insert mode. This unfortunately puts the viewpoint90 IN insert
1129350276Speter#        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
1129450276Speter#   -    :ei=:im=: must be present in the termcap translation.)
1129550276Speter#   -    <xhp> indicates glitch that attributes stick to location
1129650276Speter#   -    <msgr> means it's safe to move in standout mode
1129750276Speter#   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
1129850276Speter#               the status line
1129950276Speter# Function key and label capabilities merged in from SCO.
11300166124Srafanvp90|viewpoint90|adds viewpoint 90,
11301166124Srafan	OTbs, bw, msgr, xhp,
11302166124Srafan	cols#80, lines#24,
11303166124Srafan	clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
11304166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
11305166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
11306166124Srafan	ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
11307166124Srafan	kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
11308166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11309166124Srafan	kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
11310166124Srafan	lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
11311166124Srafan	lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
11312166124Srafan	sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1131350276Speter# Note: if return acts weird on a980, check internal switch #2
1131450276Speter# on the top chip on the CONTROL pc board.
11315166124Srafanadds980|a980|adds consul 980,
11316166124Srafan	OTbs, am,
11317166124Srafan	cols#80, lines#24,
11318166124Srafan	bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
11319166124Srafan	cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
11320166124Srafan	dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
11321166124Srafan	kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
11322166124Srafan	kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1132350276Speter
1132450276Speter#### C. Itoh Electronics
1132550276Speter#
1132650276Speter# As of 1995 these people no longer make terminals (they're still in the
1132750276Speter# printer business).  Their terminals were all clones of the DEC VT series.
1132850276Speter# They're located in Orange County, CA.
1132950276Speter#
1133050276Speter
1133150276Speter# CIT 80  - vt-52 emulator, the termcap has been modified to remove
1133250276Speter#           the delay times and do an auto tab set rather than the indirect
1133350276Speter#           file used in vt100.
11334166124Srafancit80|cit-80|citoh 80,
11335166124Srafan	OTbs, am,
11336166124Srafan	cols#80, lines#24,
11337166124Srafan	clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
11338166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
11339166124Srafan	ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
11340166124Srafan	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1134150276Speter# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1134250276Speter# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
11343166124Srafancit101|citc|C.itoh fast vt100,
11344166124Srafan	OTbs, am, xenl,
11345166124Srafan	cols#80, lines#24,
11346166124Srafan	bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
11347166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
11348166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
11349166124Srafan	flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
11350166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
11351166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
11352166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
11353166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
11354166124Srafan	smul=\E[4m,
1135550276Speter# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
1135650276Speter# The following termcap entry was created from the Callan cd100 entry.  The
1135750276Speter# last two lines (with the capabilities in caps) are used by RM-cobol to allow
1135850276Speter# full selection of combinations of reverse video, underline, and blink.
1135950276Speter# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
1136050276Speter# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
1136150276Speter# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
11362166124Srafancit101e|C. Itoh CIT-101e,
11363166124Srafan	OTbs, OTpt, am, mir, msgr,
11364166124Srafan	cols#80, it#8, lines#24,
11365166124Srafan	acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
11366166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
11367166124Srafan	cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
11368166124Srafan	el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
11369166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
11370166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
11371166124Srafan	kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
11372166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
11373166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
1137450276Speter# From: David S. Lawyer, June 1997:
1137550276Speter# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
1137650276Speter# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
1137750276Speter# late 1980's CIT Terminals went out of business.
1137850276Speter# There is no need to use the initialization string is=... (by invoking
1137950276Speter# tset or setterm etc.) provided that the terminal has been manually set
1138050276Speter# up (and the setup saved with ^S) to be compatible with this termcap.  To be
1138150276Speter# compatible it should be in ANSI mode (not VT52).   A set-up that
1138250276Speter# works is to set all the manually setable stuff to factory defaults
1138350276Speter# by pressing ^D in set-up mode.  Then increse the brighness with the
1138450276Speter# up-arrow key since the factory default will likely be dim on an old
1138550276Speter# terminal.  Then change any options you want (provided that they are
1138650276Speter# compatible with the termcap).  For my terminal I set: Screen
1138750276Speter# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
11388166124Srafan# on.  I also set up mine for parity (but you may not need it).  Then
1138950276Speter# save the setup with ^S.
1139050276Speter# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
11391166124Srafancit101e-rv|Citoh CIT-101e (sets reverse video),
11392166124Srafan	am, eo, mir, msgr, xenl, xon,
11393166124Srafan	cols#80, it#8, lines#24,
11394166124Srafan	OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11395166124Srafan	civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
11396166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11397166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11398166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11399166124Srafan	cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
11400166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
11401166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
11402166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
11403166124Srafan	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,
11404166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11405166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
11406166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
11407166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
11408166124Srafan	sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
11409166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
11410166124Srafan	u7=\E[6n, u8=\E[?6c, u9=\E[c,
11411166124Srafancit101e-n|CIT-101e w/o am,
11412166124Srafan	am@,
11413166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11414166124Srafan	use=cit101e,
11415166124Srafancit101e-132|CIT-101e with 132 cols,
11416166124Srafan	cols#132,
11417166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
11418166124Srafancit101e-n132|CIT-101e with 132 cols w/o am,
11419166124Srafan	am@,
11420166124Srafan	cols#132,
11421166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11422166124Srafan	use=cit101e,
1142350276Speter# CIE Terminals CIT-500 from BRL
1142450276Speter# The following SET-UP modes are assumed for normal operation:
1142550276Speter#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
1142650276Speter#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
1142750276Speter#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
1142850276Speter# Other SET-UP modes may be set for operator convenience or communication
1142950276Speter# requirements.
1143050276Speter# Hardware tabs are assumed to be set every 8 columns; they can be set up
1143150276Speter# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
1143250276Speter# "stty ixon -ixany" to enable DC3/DC1 flow control!
1143350276Speter# (cit500: I added <rmam>/<smam> based on the init string -- esr)
11434166124Srafancit500|CIE Terminals CIT-500,
11435166124Srafan	OTbs, OTpt, mir, msgr, xon,
11436166124Srafan	OTkn#10, cols#80, it#8, lines#64, vt#3,
11437166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11438166124Srafan	clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
11439166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
11440166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11441166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
11442166124Srafan	ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
11443166124Srafan	il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
11444166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
11445166124Srafan	ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
11446166124Srafan	kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
11447166124Srafan	khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
11448166124Srafan	lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
11449166124Srafan	lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
11450166124Srafan	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
11451166124Srafan	rmso=\E[m, rmul=\E[m,
11452166124Srafan	rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
11453166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
11454166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1145550276Speter
1145650276Speter# C. Itoh printers begin here
11457166124Srafancitoh|ci8510|8510|c.itoh 8510a,
11458166124Srafan	cols#80, it#8,
11459166124Srafan	bold=\E!, cub1@,
11460166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
11461166124Srafan	rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
11462166124Srafan	smul=\EX, use=lpr,
11463166124Srafancitoh-pica|citoh in pica,
11464166124Srafan	is1=\EN, use=citoh,
11465166124Srafancitoh-elite|citoh in elite,
11466166124Srafan	cols#96,
11467166124Srafan	is1=\EE,
11468166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
11469166124Srafan	use=citoh,
11470166124Srafancitoh-comp|citoh in compressed,
11471166124Srafan	cols#136,
11472166124Srafan	is1=\EQ,
11473166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129.,
11474166124Srafan	use=citoh,
1147550276Speter# citoh has infinite cols because we don't want lp ever inserting \n\t**.
11476166124Srafancitoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
11477166124Srafan	cols#32767,
11478166124Srafan	is1=\EP, use=citoh,
11479166124Srafancitoh-6lpi|citoh in 6 lines per inch mode,
11480166124Srafan	is3=\EA, use=citoh,
11481166124Srafancitoh-8lpi|citoh in 8 lines per inch mode,
11482166124Srafan	lines#88,
11483166124Srafan	is3=\EB, use=citoh,
1148450276Speter
1148550276Speter#### Control Data (cdc)
1148650276Speter#
1148750276Speter
11488166124Srafancdc456|cdc 456 terminal,
11489166124Srafan	OTbs, am,
11490166124Srafan	cols#80, lines#24,
11491166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
11492166124Srafan	cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
11493166124Srafan	el=^V, home=^Y, il1=\EL, ind=^J,
1149450276Speter
1149550276Speter# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
11496166124Srafancdc721|CDC Viking,
11497166124Srafan	OTbs, am,
11498166124Srafan	cols#80, lines#24,
11499166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11500166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11501166124Srafan	kcuu1=^W, khome=^Y,
11502166124Srafancdc721ll|CDC Vikingll,
11503166124Srafan	OTbs, am,
11504166124Srafan	cols#132, lines#24,
11505166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11506166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11507166124Srafan	kcuu1=^W, khome=^Y,
1150850276Speter# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
11509166124Srafancdc752|CDC 752,
11510166124Srafan	OTbs, am, bw, xhp,
11511166124Srafan	cols#80, lines#24,
11512166124Srafan	bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11513166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
11514166124Srafan	home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1151550276Speter# CDC 756
1151650276Speter# The following switch/key settings are assumed for normal operation:
1151750276Speter#	96 chars	SCROLL		FULL duplex	not BLOCK
1151850276Speter# Other switches may be set according to communication requirements.
1151950276Speter# Insert/delete-character cannot be used, as the whole display is affected.
1152050276Speter# "so" & "se" are commented out until jove handles "sg" correctly.
11521166124Srafancdc756|CDC 756,
11522166124Srafan	OTbs, am, bw,
11523166124Srafan	OTkn#10, cols#80, lines#24,
11524166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11525166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
11526166124Srafan	dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
11527166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
11528166124Srafan	kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
11529166124Srafan	kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
11530166124Srafan	khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
11531166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
11532166124Srafan	rs1=\031\030\002\003\017,
1153350276Speter#
1153450276Speter# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1153550276Speter#
1153650276Speter# Part of the long initialization string defines the "DOWN" key to the left
11537166124Srafan# of the tab key to send an ESC.  The real ESC key is positioned way out
1153850276Speter# in right field.
1153950276Speter#
1154050276Speter# The termcap won't work in 132 column mode due to the way it it moves the
1154150276Speter# cursor.  Termcap doesn't have the capability (as far as I could tell) to
1154250276Speter# handle the 721 in 132 column mode.
1154350276Speter#
1154450276Speter# (cdc721: changed :ri: to :sr: -- esr)
11545166124Srafancdc721-esc|Control Data 721,
11546166124Srafan	OTbs, OTpt, am, bw, msgr, xon,
11547166124Srafan	OTkn#10, cols#80, it#8, lines#30,
11548166124Srafan	bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
11549166124Srafan	cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
11550166124Srafan	dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
11551166124Srafan	ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
11552166124Srafan	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,
11553166124Srafan	kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
11554166124Srafan	kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
11555166124Srafan	kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
11556166124Srafan	ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
11557166124Srafan	sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
11558166124Srafan	smso=^^D, smul=^\, tbc=^^^RY,
1155950276Speter
1156050276Speter#### Getronics
1156150276Speter#
11562166124Srafan# Getronics is a Dutch electronics company that at one time was called
1156350276Speter# `Geveke' and made async terminals; but (according to the company itself!)
1156450276Speter# they've lost all their documentation on the command set.  The hardware
1156550276Speter# documentation suggests the terminals were actually manufactured by a
1156650276Speter# Taiwanese electronics company named Cal-Comp.  There are known
1156750276Speter# to have been at least two models, the 33 and the 50.
1156850276Speter#
1156950276Speter
1157050276Speter# The 50 seems to be a top end vt220 clone, with the addition of a higher
1157150276Speter# screen resolution, a larger screen, at least 1 page of memory above and
1157250276Speter# below the screen, apparently pages of memory right and left of the screen
1157350276Speter# which can be panned, and about 75 function keys (15 function keys x normal,
1157450276Speter# shift, control, func A, func B). It also has more setup possibilities than
1157550276Speter# the vt220. The monitor case is dated November 1978 and the keyboard case is
1157650276Speter# May 1982.
1157750276Speter#
1157850276Speter# The vt100 emulation works as is.  The entry below describes the rather
1157950276Speter# non-conformant (but more featureful) ANSI mode.
1158050276Speter#
1158150276Speter# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
11582166124Srafanvisa50|geveke visa 50 terminal in ansi 80 character mode,
11583166124Srafan	bw, mir, msgr,
11584166124Srafan	cols#80, lines#25,
11585166124Srafan	acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
11586166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
11587166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
11588166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11589166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11590166124Srafan	dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
11591166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
11592166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
11593166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
11594166124Srafan	is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
11595166124Srafan	ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
11596166124Srafan	kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
11597166124Srafan	kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
11598166124Srafan	kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
11599166124Srafan	kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
11600166124Srafan	lf3=A insert line, lf4=A delete line, lf5=A clear,
11601166124Srafan	lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
11602166124Srafan	lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
11603166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
11604166124Srafan	rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
11605166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
11606166124Srafan	vpa=\E[%i%p1%dd,
1160750276Speter
1160850276Speter#### Human Designed Systems (Concept)
1160950276Speter#
1161050276Speter#	Human Designed Systems
1161150276Speter#	400 Fehley Drive
1161250276Speter#	King of Prussia, PA 19406
1161350276Speter#	Vox: (610)-277-8300
1161450276Speter#	Fax: (610)-275-5739
1161550276Speter#	Net: support@hds.com
11616166124Srafan#
1161750276Speter# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
1161850276Speter# the character-terminal business now (1995) and making X terminals.  In
1161950276Speter# particular, the whole `Concept' line described here was discontinued long
1162050276Speter# ago.
1162150276Speter#
1162250276Speter
1162350276Speter# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
1162450276Speter# Extensive changes to c108 by arpavax:eric Feb 1982
1162550276Speter# Some unknown person at SCO then translated it to terminfo.
1162650276Speter#
1162750276Speter# There seem to be a number of different versions of the C108 PROMS
1162850276Speter# (with bug fixes in its Z-80 program).
11629166124Srafan#
1163050276Speter# The first one that we had would lock out the keyboard of you
1163150276Speter# sent lots of short lines (like /usr/dict/words) at 9600 baud.
1163250276Speter# Try that on your C108 and see if it sends a ^S when you type it.
1163350276Speter# If so, you have an old version of the PROMs.
11634166124Srafan#
1163550276Speter# You should configure the C108 to send ^S/^Q before running this.
1163650276Speter# It is much faster (at 9600 baud) than the c100 because the delays
1163750276Speter# are not fixed.
1163850276Speter# new status line display entries for c108-8p:
11639166124Srafan# <is3> - init str #3 - setup term for status display -
11640166124Srafan# set programmer mode, select window 2, define window at last
1164150276Speter# line of memory, set bkgnd stat mesg there, select window 0.
11642166124Srafan#
11643166124Srafan# <tsl> - to status line - select window 2, home cursor, erase to
1164450276Speter# end-of-window, 1/2 bright on, goto(line#0, col#?)
11645166124Srafan#
1164650276Speter# <fsl> - from status line - 1/2 bright off, select window 0
11647166124Srafan#
11648166124Srafan# <dsl> - disable status display - set bkgnd status mesg with
1164950276Speter# illegal window #
11650166124Srafan#
11651166124Srafan# There are probably more function keys that should be added but
1165250276Speter# I don't know what they are.
1165350276Speter#
1165450276Speter# No delays needed on c108 because of ^S/^Q handshaking
1165550276Speter#
11656166124Srafanc108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
11657166124Srafan	is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
11658166124Srafan	rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
11659166124Srafanc108-4p|concept108-4p|concept 108 w/4 pages,
11660166124Srafan	OTbs, eslok, hs, xon,
11661166124Srafan	pb@,
11662166124Srafan	acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
11663166124Srafan	cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
11664166124Srafan	cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
11665166124Srafan	ind=^J, is1=\EK\E!\E F,
11666166124Srafan	is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
11667166124Srafan	rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
11668166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025,
11669166124Srafan	tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
11670166124Srafanc108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
11671166124Srafan	rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
11672166124Srafan	use=c108-rv-4p,
11673166124Srafanc108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
11674166124Srafan	flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
11675166124Srafan	use=c108-4p,
11676166124Srafanc108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
11677166124Srafan	cols#132,
11678166124Srafan	is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
11679166124Srafan	smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1168050276Speter
1168150276Speter# Concept 100:
11682166124Srafan# These have only window relative cursor addressing, not screen
11683166124Srafan# relative. To get it to work right here, smcup/rmcup (which
11684166124Srafan# were invented for the concept) lock you into a one page
1168550276Speter# window for screen style programs.
11686166124Srafan#
1168750276Speter# To get out of the one page window, we use a clever trick:
11688166124Srafan# we set the window size to zero ("\Ev    " in rmcup) which the
11689166124Srafan# terminal recognizes as an error and resets the window to all
1169050276Speter# of memory.
11691166124Srafan#
1169250276Speter# This trick works on c100 but does not on c108, sigh.
11693166124Srafan#
11694166124Srafan# Some tty drivers use cr3 for concept, others use nl3, hence
11695166124Srafan# the delays on cr and ind below. This padding is only needed at
11696166124Srafan# 9600 baud and up.  One or the other is commented out depending on
1169750276Speter# local conventions.
11698166124Srafan#
11699166124Srafan# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
1170050276Speter# less than 6 but more than 2 will work.
11701166124Srafan#
11702166124Srafan# Note: can't use function keys f7-f10 because they are
11703166124Srafan# indistinguishable from arrow keys (!), also, del char and
1170450276Speter# clear eol use xon/xoff so they probably won't work very well.
11705166124Srafan#
11706166124Srafan# Also note that we don't define insrt/del char/delline/eop/send
11707166124Srafan# because they don't transmit unless we reset them - I figured
1170850276Speter# it was a bad idea to clobber their definitions.
11709166124Srafan#
11710166124Srafan# The <mc5> sequence changes the escape character to ^^ so that
11711166124Srafan# escapes will be passed through to the printer. Only trouble
11712166124Srafan# is that ^^ won't be - ^^ was chosen to be unlikely.
11713166124Srafan# Unfortunately, if you're sending raster bits through to be
1171450276Speter# plotted, any character you choose will be likely, so we lose.
1171550276Speter#
11716166124Srafan# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
11717166124Srafan# cannot be # in is2 because it will hang a c100 with no printer
1171850276Speter# if sent twice.
11719166124Srafanc100|concept100|concept|c104|c100-4p|hds concept 100,
11720166124Srafan	OTbs, am, eo, mir, ul, xenl,
11721166124Srafan	cols#80, lines#24, pb#9600, vt#8,
11722166124Srafan	bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
11723166124Srafan	cub1=^H, cud1=^J, cuf1=\E=,
11724166124Srafan	cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
11725166124Srafan	dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
11726166124Srafan	ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
11727166124Srafan	ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
11728166124Srafan	is1=\EK,
11729166124Srafan	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,
11730166124Srafan	is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
11731166124Srafan	kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
11732166124Srafan	kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
11733166124Srafan	kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
11734166124Srafan	khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
11735166124Srafan	kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
11736166124Srafan	mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
11737166124Srafan	rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
11738166124Srafan	rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
11739166124Srafan	rmso=\Ed, rmul=\Eg, sgr0=\EN@,
11740166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
11741166124Srafan	smso=\ED, smul=\EG,
11742166124Srafanc100-rv|c100-rv-4p|concept100-rv|c100 rev video,
11743166124Srafan	cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
11744166124Srafan	smso=\EE, use=c100,
11745166124Srafanoc100|oconcept|c100-1p|old 1 page concept 100,
11746166124Srafan	in,
11747166124Srafan	is3@, use=c100,
1174850276Speter
1174950276Speter# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
1175050276Speter# Lots of notes, originally inline, but ncurses doesn't grok that.
1175150276Speter#
1175250276Speter# am: 	not available in power on mode, but turned on with \E[=107;207h in
1175350276Speter#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
1175450276Speter#	to specify xenl:, but that would have rendered the last space on the
1175550276Speter#	last line useless.
1175650276Speter# bw:	Not available in power on mode, but turned on with \E[=107;207h in
1175750276Speter#	is2=.
1175850276Speter# clear: Could be done with \E[2J alone, except that vi (and probably most
1175950276Speter#	other programs) assume that this also homes the cursor.
1176050276Speter# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
1176150276Speter#	scroll the window, and go back to window 1.
1176250276Speter# is2:	the string may cause a warning to be issued by tic that it
1176350276Speter#	found a very long line and that it suspects that a comma is missing
1176450276Speter#	somewhere.  This warning can be ignored (unless it comes up more than
1176550276Speter#	once).  The initialization string contains the following commands:
1176650276Speter#
1176750276Speter#	 [Setup mode items changed from factory defaults:]
1176850276Speter#		\E)0			set alternate character set to
1176950276Speter#						graphics
1177050276Speter#		^O			set character set to default
1177150276Speter#	 [In case it wasn't]
1177250276Speter#		\E[m			turn off all attributes
1177350276Speter#	 [In case they weren't off]
1177450276Speter#		\E[=107;		cursor wrap and
1177550276Speter#			207h			character wrap on
1177650276Speter#		\E[90;3u		set Fkey definitions to "transmit"
1177750276Speter#						defaults
1177850276Speter#		\E[92;3u		set cursor key definitions to
1177950276Speter#						"transmit" defaults
1178050276Speter#		\E[43;1u		set shift F13 to transmit...
1178150276Speter#		\177\E$P\177
1178250276Speter#		\E[44;1u		set shift F14 to transmit...
1178350276Speter#			\177\E$Q\177
1178450276Speter#		\E[45;1u		set shift F15 to transmit...
1178550276Speter#			\177\E$R\177
1178650276Speter#		\E[46;1u		set shift F16 to transmit...
1178750276Speter#			\177\E$S\177
1178850276Speter#		\E[200;1u		set shift up to transmit...
1178950276Speter#			\177\E$A\177
1179050276Speter#		\E[201;1u		set shift down to transmit...
1179150276Speter#			\177\E$B\177
1179250276Speter#		\E[202;1u		set shift right to transmit...
1179350276Speter#			\177\E$C\177
1179450276Speter#		\E[203;1u		set shift left to transmit...
1179550276Speter#			\177\E$D\177
1179650276Speter#		\E[204;1u		set shift home to transmit...
1179750276Speter#			\177\E$H\177
1179850276Speter#		\E[212;1u		set backtab to transmit...
1179950276Speter#			\177\E$I\177
1180050276Speter#		\E[213;1u		set shift backspace to transmit...
1180150276Speter#			\177\E$^H\177
1180250276Speter#		\E[214;1u		set shift del to transmit...
1180350276Speter#			"\E$\177"
1180450276Speter#	 [Necessary items not mentioned in setup mode:]
1180550276Speter#		\E[2!w			move to window 2
1180650276Speter#		\E[25;25w		define window as line 25 of memory
1180750276Speter#		\E[!w			move to window 1
1180850276Speter#		\E[2*w			show current line of window 2 as
1180950276Speter#						status line
1181050276Speter#		\E[2+x			set meta key to use high bit
1181150276Speter#		\E[;3+}			move underline to bottom of character
1181250276Speter#
1181350276Speter#	All Fkeys are set to their default transmit definitions with \E[90;3u
1181450276Speter#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
1181550276Speter#	setting MUST be redefined or deactivated, because the default is
1181650276Speter#	contained in almost all of this terminal's Fkey strings!  If for some
1181750276Speter#	reason "quit" cannot be altered, the Fkeys can, but it would be
1181850276Speter#	necessary to change ^| to ^] in all of these definitions, and add
1181950276Speter#	\E[2;029!t to is2.
1182050276Speter# lines: is set to 24 because this terminal refuses to treat the 25th
1182150276Speter#	line normally.
1182250276Speter# ll:	Not available in power on mode, but turned on with \E[=107;207h in
1182350276Speter#	is2=.
1182450276Speter# lm:	Pointless, given that this definition locks a single screen of
1182550276Speter#	memory into view, but what the hey...
1182650276Speter# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
1182750276Speter#	other attributes alone), but some programs expect this to turn off
1182850276Speter#	everything.
1182950276Speter# rmul: Could use \E[4!{ to turn off only underline (leaving any other
1183050276Speter#	attributes alone), but some programs expect this to turn off
1183150276Speter#	everything.
1183250276Speter# sgr:	Attributes are set on this terminal with the string \E[ followed by
1183350276Speter#	a list of attribute code numbers (in decimal, separated by
1183450276Speter#	semicolons), followed by the character m.  The attribute code
1183550276Speter#	numbers are:
1183650276Speter#		  1 for bold;
1183750276Speter#		  2 for dim (which is ignored in power on mode);
1183850276Speter#		  4 for underline;
1183950276Speter#		  5 for blinking;
1184050276Speter#		  7 for inverse;
1184150276Speter#		  8 for not displayable; and
1184250276Speter#		=99 for protected (except that there are strange side
1184350276Speter#		effects to protected characters which make them inadvisable).
1184450276Speter#	 The mapping of terminfo parameters to attributes is as follows:
1184550276Speter#		%p1 (standout) = bold and inverse together;
1184650276Speter#		%p2 (underline) = underline;
1184750276Speter#		%p3 (reverse) = inverse;
1184850276Speter#		%p4 (blink) = blinking;
1184950276Speter#		%p5 (dim) is ignored;
1185050276Speter#		%p6 (bold) = bold;
1185150276Speter#		%p7 (invisible) = not displayable;
1185250276Speter#		%p8 (protected) is ignored; and
1185350276Speter#		%p9 (alt char set) = alt char set.
1185450276Speter#	 The code to do this is:
1185550276Speter#		\E[0		OUTPUT	\E[0
1185650276Speter#		%?%p1%p6%O	IF	(standout; bold) OR
1185750276Speter#		%t;1		THEN	OUTPUT	;1
1185850276Speter#		%;		ENDIF
1185950276Speter#		%?%p2		IF	underline
1186050276Speter#		%t;4		THEN	OUTPUT	;4
1186150276Speter#		%;		ENDIF
1186250276Speter#		%?%p4		IF	blink
1186350276Speter#		%t;5		THEN	OUTPUT	;5
1186450276Speter#		%;		ENDIF
1186550276Speter#		%?%p1%p3%O	IF	(standout; reverse) OR
1186650276Speter#		%t;7		THEN	OUTPUT	;7
1186750276Speter#		%;		ENDIF
1186850276Speter#		%?%p7		IF	invisible
1186950276Speter#		%t;8		THEN	OUTPUT	;8
1187050276Speter#		%;		ENDIF
1187150276Speter#		m		OUTPUT	m
1187250276Speter#		%?%p9		IF	altcharset
1187350276Speter#		%t^N		THEN	OUTPUT	^N
1187450276Speter#		%e^O		ELSE	OUTPUT	^O
1187550276Speter#		%;		ENDIF
1187650276Speter# sgr0: Everything is turned off (including alternate character set), since
1187750276Speter#	there is no way of knowing what it is that the program wants turned
1187850276Speter#	off.
1187950276Speter# smul: The "underline" attribute is reconfigurable to an overline or
1188050276Speter#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
1188150276Speter#	bottom of the character cell.  This was done to allow for more readable
1188250276Speter#	underlined characters, and to be able to distinguish between an
1188350276Speter#	underlined space, an underscore, and an underlined underscore.
1188450276Speter# xenl: Terminal can be configured to not need this, but this "glitch"
1188550276Speter#	behavior is actually preferable with autowrap terminals.
1188650276Speter#
1188750276Speter# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
1188850276Speter# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
1188950276Speter# string modifies the 'O' in kf43 to kf46 to a '$'.
1189050276Speter#
1189150276Speter# kcbt was originally ^I but redefined in is2=.
1189250276Speter# kHOM was \E[H originally but redefined in is2=, as were a number of
1189350276Speter# other keys.
1189450276Speter# kDC was originally \177 but redefined in is2=.
1189550276Speter#
1189650276Speter# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
1189750276Speter# tsl:	Go to window 2, then do an hpa=.
1189850276Speter#
1189950276Speter#------- flash=\E[8;3!}^G\E[3;3!}
1190050276Speter#------- flash=\E[?5h$<100>\E[?5l
11901166124Srafan# There are two ways to flash the screen, both of which have their drawbacks.
1190250276Speter# The first is to set the bell mode to video, transmit a bell character, and
1190350276Speter# set the bell mode back - but to what?  There is no way of knowing what the
1190450276Speter# user's old bell setting was before we messed with it.  Worse, the command to
1190550276Speter# set the bell mode also sets the key click volume, and there is no way to say
1190650276Speter# "leave that alone", or to know what it's set to, either.
1190750276Speter# The second way to do a flash is to set the screen to inverse video, pad for a
1190850276Speter# tenth of a second, and set it back - but like before, there's no way to know
1190950276Speter# that the screen wasn't ALREADY in inverse video, or that the user may prefer
1191050276Speter# it that way.  The point is moot anyway, since vi (and probably other
1191150276Speter# programs) assume that by defining flash=, you want the computer to use it
1191250276Speter# INSTEAD of bel=, rather than as a secondary type of signal.
1191350276Speter#
1191450276Speter#------- cvvis=\E[+{
1191550276Speter# The is the power on setting, which is also as visible as the cursor
1191650276Speter# gets.
1191750276Speter#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
1191850276Speter# Windowing is possible, but not defined here because it is also used to
1191950276Speter# emulate status line functions.  Allowing a program to set a window could
1192050276Speter# clobber the status line or render it unusable.  There is additional memory,
1192150276Speter# but screen scroll functions are destructive and do not make use of it.
1192250276Speter#
1192350276Speter#-------   dim=			Not available in power on mode.
1192450276Speter# You have a choice of defining low intensity characters as "half bright" and
11925166124Srafan# high intensity as "normal", or defining low as "normal" and high as "bold".
1192650276Speter# No matter which you choose, only one of either "half bright" or "bold" is
1192750276Speter# available at any time, so taking the time to override the default is
1192850276Speter# pointless.
1192950276Speter#
1193050276Speter#-------  prot=\E[=0;99m
1193150276Speter# Not defined, because it appears to have some strange side effects.
1193250276Speter#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1193350276Speter#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1193450276Speter#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
1193550276Speter#	 Available, but making them available to programs is inadvisable.
1193650276Speter#	 The code to do this is:
1193750276Speter#		%?%p1%{24}%<	IF	((key; 24) <;
1193850276Speter#		%p1%{30}%>		 ((key; 30) >;
1193950276Speter#		%p1%{54}%<		  (key; 54) <
1194050276Speter#		%A			 ) AND
1194150276Speter#		%O		  	) OR
1194250276Speter#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
1194350276Speter#		%t\E[		THEN	OUTPUT	\E[
1194450276Speter#		%p1%d			OUTPUT	(key) as decimal
1194550276Speter#	 [next line applies to pfx only]
1194650276Speter#		;1			OUTPUT	;1
1194750276Speter#		u			OUTPUT	u
1194850276Speter#		\177			OUTPUT	\177
1194950276Speter#		%p2%s			OUTPUT	(string) as string
1195050276Speter#		\177			OUTPUT	\177
1195150276Speter#	 [DEL chosen as delimiter, but could be any character]
1195250276Speter#	 [implied:		ELSE	do nothing]
1195350276Speter#		%;		ENDIF
11954166124Srafan#
1195550276Speter#-------   rs2=
1195650276Speter# Not defined since anything it might do could be done faster and easier with
1195750276Speter# either Meta-Shift-Reset or the main power switch.
1195850276Speter#
1195950276Speter#-------  smkx=\E[1!z
1196050276Speter#-------  rmkx=\E[!z
1196150276Speter# These sequences apply to the cursor and setup keys only, not to the
1196250276Speter# numeric keypad.  But it doesn't matter anyway, since making these
1196350276Speter# available to programs is inadvisable.
1196450276Speter# For the key definitions below, all sequences beginning with \E$ are
1196550276Speter# custom and programmed into the terminal via is2.  \E$ also has no
1196650276Speter# meaning to any other terminal.
1196750276Speter#
1196850276Speter#------- cmdch=\E[;%p1%d!t
1196950276Speter# Available, but making it available to programs is inadvisable.
1197050276Speter#------- smxon=\E[1*q
1197150276Speter# Available, but making it available to programs is inadvisable.
1197250276Speter# Terminal will send XON/XOFF on buffer overflow.
1197350276Speter#------- rmxon=\E[*q
1197450276Speter# Available, but making it available to programs is inadvisable.
1197550276Speter# Terminal will not notify on buffer overflow.
1197650276Speter#-------   smm=\E[2+x
1197750276Speter#-------   rmm=\E[+x
1197850276Speter# Available, but making them available to programs is inadvisable.
1197950276Speter#
1198050276Speter# Printing:
1198150276Speter#	 It's not made clear in the manuals, but based on other ansi/vt type
1198250276Speter#	 terminals, it's a good guess that this terminal is capable of both
1198350276Speter#	 "transparent print" (which doesn't copy data to the screen, and
1198450276Speter#	 therefore needs mc5i: specified to say so) and "auxilliary print"
1198550276Speter#	 (which does duplicate printed data on the screen, in which case mc4=
1198650276Speter#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
1198750276Speter
11988166124Srafanhds200|Human Designed Systems HDS200,
11989166124Srafan	am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
11990166124Srafan	cols#80, it#8, lines#24, lm#0,
11991166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
11992166124Srafan	blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
11993166124Srafan	clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
11994166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
11995166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11996166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11997166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
11998166124Srafan	dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
11999166124Srafan	fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
12000166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
12001166124Srafan	invis=\E[0;8m,
12002166124Srafan	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+},
12003166124Srafan	kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
12004166124Srafan	kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12005166124Srafan	kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
12006166124Srafan	kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
12007166124Srafan	kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
12008166124Srafan	kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
12009166124Srafan	kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
12010166124Srafan	kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
12011166124Srafan	kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
12012166124Srafan	kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
12013166124Srafan	kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
12014166124Srafan	kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
12015166124Srafan	kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
12016166124Srafan	kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
12017166124Srafan	kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
12018166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
12019166124Srafan	rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
12020166124Srafan	rmul=\E[m\017, sc=\E7,
12021166124Srafan	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%;,
12022166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
12023166124Srafan	smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
12024166124Srafan	vpa=\E[%i%p1%dd,
1202550276Speter
1202650276Speter# <ht> through <el> included to specify padding needed in raw mode.
1202750276Speter# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
12028166124Srafanavt-ns|concept avt no status line,
12029166124Srafan	OTbs, am, eo, mir, ul, xenl, xon,
12030166124Srafan	cols#80, it#8, lines#24, lm#192,
12031166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12032166124Srafan	clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
12033166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
12034166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
12035166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12036166124Srafan	cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
12037166124Srafan	dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
12038166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
12039166124Srafan	ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
12040166124Srafan	invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
12041166124Srafan	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,
12042166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12043166124Srafan	kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
12044166124Srafan	kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
12045166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
12046166124Srafan	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
12047166124Srafan	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
12048166124Srafan	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
12049166124Srafan	rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
12050166124Srafan	sc=\E7,
12051166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
12052166124Srafan	sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
12053166124Srafan	smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
12054166124Srafan	tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
12055166124Srafanavt-rv-ns|concept avt in reverse video mode/no status line,
12056166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12057166124Srafan	use=avt-ns,
12058166124Srafanavt-w-ns|concept avt in 132 column mode/no status line,
12059166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12060166124Srafan	use=avt-ns,
12061166124Srafanavt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
12062166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12063166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt-ns,
1206450276Speter
1206550276Speter# Concept AVT with status line. We get the status line using the
1206650276Speter# "Background status line" feature of the terminal. We swipe the
1206750276Speter# first line of memory in window 2 for the status line, keeping
1206850276Speter# 191 lines of memory and 24 screen lines for regular use.
1206950276Speter# The first line is used instead of the last so that this works
1207050276Speter# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
1207150276Speter# assumes an 8 page AVT but lm isn't currently used anywhere.)
1207250276Speter#
12073166124Srafanavt+s|concept avt status line changes,
12074166124Srafan	eslok, hs,
12075166124Srafan	lm#191,
12076166124Srafan	dsl=\E[0*w, fsl=\E[1;1!w,
12077166124Srafan	is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
12078166124Srafan	rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
12079166124Srafan	tsl=\E[2;1!w\E[;%p1%dH\E[2K,
12080166124Srafanavt|avt-s|concept-avt|avt w/80 columns,
12081166124Srafan	use=avt+s, use=avt-ns,
12082166124Srafanavt-rv|avt-rv-s|avt reverse video w/sl,
12083166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12084166124Srafan	use=avt+s, use=avt-ns,
12085166124Srafanavt-w|avt-w-s|concept avt 132 cols+status,
12086166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12087166124Srafan	use=avt+s, use=avt-ns,
12088166124Srafanavt-w-rv|avt-w-rv-s|avt wide+status+rv,
12089166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12090166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
1209150276Speter
12092166124Srafan#### Contel Business Systems.
1209350276Speter#
1209450276Speter
12095166124Srafan# Contel c300 and c320 terminals.
12096166124Srafancontel300|contel320|c300|Contel Business Systems C-300 or C-320,
12097166124Srafan	am, in, xon,
12098166124Srafan	cols#80, lines#24, xmc#1,
12099166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12100166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
12101166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
12102166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
12103166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
12104166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
12105166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
12106166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1210750276Speter# Contel c301 and c321 terminals.
12108166124Srafancontel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
12109166124Srafan	flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
12110166124Srafan	use=contel300,
1211150276Speter
1211250276Speter#### Data General (dg)
1211350276Speter#
1211450276Speter# According to James Carlson <carlson@xylogics.com> writing in January 1995,
1211550276Speter# the terminals group at Data General was shut down in 1991; all these
1211650276Speter# terminals have thus been discontinued.
1211750276Speter#
1211850276Speter# DG terminals have function keys that respond to the SHIFT and CTRL keys,
1211950276Speter# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
12120166124Srafan# sequentially, first the unmodified key codes are listed as F1 through F15.
1212150276Speter# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
1212250276Speter# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
1212350276Speter# F46 through F60.  This is done in the private "includes" below whose names
1212450276Speter# start with "dgkeys+".
1212550276Speter#
1212650276Speter# DG terminals generally support 8 bit characters.  For each of these terminals
1212750276Speter# two descriptions are supplied:
1212850276Speter#	1) A default description for 8 bits/character communications, which
1212950276Speter#	   uses the default DG international character set and keyboard codes.
1213050276Speter#	2) A description with suffix "-7b" for 7 bits/character communications.
1213150276Speter#	   This description must use the NON-DEFAULT native keyboard language.
1213250276Speter
1213350276Speter# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
1213450276Speter# Ctrl/Shift fdkeys (kf34-kf44).
1213550276Speter
12136166124Srafandgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
12137166124Srafan	ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
12138166124Srafan	kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
12139166124Srafan	kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
12140166124Srafan	kf11=\233011z, kf12=\233012z, kf13=\233013z,
12141166124Srafan	kf14=\233014z, kf15=\233000z, kf16=\233101z,
12142166124Srafan	kf17=\233102z, kf18=\233103z, kf19=\233104z,
12143166124Srafan	kf2=\233002z, kf20=\233105z, kf21=\233106z,
12144166124Srafan	kf22=\233107z, kf23=\233108z, kf24=\233109z,
12145166124Srafan	kf25=\233110z, kf26=\233111z, kf27=\233112z,
12146166124Srafan	kf28=\233113z, kf29=\233114z, kf3=\233003z,
12147166124Srafan	kf30=\233100z, kf31=\233201z, kf32=\233202z,
12148166124Srafan	kf33=\233203z, kf34=\233204z, kf35=\233205z,
12149166124Srafan	kf36=\233206z, kf37=\233207z, kf38=\233208z,
12150166124Srafan	kf39=\233209z, kf4=\233004z, kf40=\233210z,
12151166124Srafan	kf41=\233211z, kf42=\233212z, kf43=\233213z,
12152166124Srafan	kf44=\233214z, kf45=\233200z, kf46=\233301z,
12153166124Srafan	kf47=\233302z, kf48=\233303z, kf49=\233304z,
12154166124Srafan	kf5=\233005z, kf50=\233305z, kf51=\233306z,
12155166124Srafan	kf52=\233307z, kf53=\233308z, kf54=\233309z,
12156166124Srafan	kf55=\233310z, kf56=\233311z, kf57=\233312z,
12157166124Srafan	kf58=\233313z, kf59=\233314z, kf6=\233006z,
12158166124Srafan	kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
12159166124Srafan	khome=\233H, kprt=\233i,
1216050276Speter
12161166124Srafandgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
12162166124Srafan	ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
12163166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12164166124Srafan	kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
12165166124Srafan	kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
12166166124Srafan	kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
12167166124Srafan	kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
12168166124Srafan	kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
12169166124Srafan	kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
12170166124Srafan	kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
12171166124Srafan	kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
12172166124Srafan	kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
12173166124Srafan	kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
12174166124Srafan	kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
12175166124Srafan	kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
12176166124Srafan	kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
12177166124Srafan	kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
12178166124Srafan	kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
12179166124Srafan	kf9=\E[009z, khome=\E[H, kprt=\E[i,
1218050276Speter
12181166124Srafandgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
12182166124Srafan	kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
12183166124Srafan	kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
12184166124Srafan	kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
12185166124Srafan	kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
12186166124Srafan	kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
12187166124Srafan	kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
12188166124Srafan	kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
12189166124Srafan	kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
12190166124Srafan	kf8=^^x, kf9=^^y, khome=^H,
1219150276Speter
12192166124Srafandgkeys+15|Private entry describing 15 DG mode special keys,
12193166124Srafan	kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
12194166124Srafan	kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
12195166124Srafan	kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
12196166124Srafan	kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
12197166124Srafan	kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
12198166124Srafan	kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
12199166124Srafan	kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
12200166124Srafan	kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
12201166124Srafan	kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&,
12202166124Srafan	kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
12203166124Srafan	kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
12204166124Srafan	kf9=^^y,
1220550276Speter
1220650276Speter# Data General color terminals use the "Tektronix" color model.  The total
1220750276Speter# number of colors varies with the terminal model, as does support for
1220850276Speter# attributes used in conjunction with color.
1220950276Speter
1221050276Speter# Removed u7, u8 definitions since they conflict with tack:
1221150276Speter#		Preserve user-defined colors in at least some cases.
1221250276Speter#	u7=^^Fh,
1221350276Speter#		Default is ACM mode.
1221450276Speter#	u8=^^F}20^^Fi^^F}21,
1221550276Speter#
12216166124Srafandgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
12217166124Srafan	bce,
12218166124Srafan	colors#16, ncv#53, pairs#256,
12219166124Srafan	op=\036Ad\036Bd,
12220166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12221166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12222166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1222350276Speter
12224166124Srafandg+fixed|Fixed color info for DG D430C terminals in DG mode,
12225166124Srafan	use=dgunix+fixed,
1222650276Speter
1222750276Speter# Video attributes are coordinated using static variables set by "sgr", then
12228166124Srafan# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
1222950276Speter# (D=dim, U=underline, B=blink, R=reverse.)
12230166124Srafandg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
12231166124Srafan	bce,
12232166124Srafan	colors#8, ncv#16, pairs#64,
12233166124Srafan	op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
12234166124Srafan	setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12235166124Srafan	setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12236166124Srafan	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,
12237166124Srafan	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,
1223850276Speter
12239166124Srafandg+color|Color info for Data General D470C terminals in ANSI mode,
12240166124Srafan	colors#16, ncv#53, pairs#256,
12241166124Srafan	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,
12242166124Srafan	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,
12243166124Srafan	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,
12244166124Srafan	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,
12245166124Srafan	use=dg+color8,
1224650276Speter
12247166124Srafandgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
12248166124Srafan	bce,
12249166124Srafan	colors#8, ncv#16, pairs#64,
12250166124Srafan	op=\036Ad\036Bd,
12251166124Srafan	setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12252166124Srafan	setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12253166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1225450276Speter
12255166124Srafandgmode+color|Color info for Data General D470C terminals in DG mode,
12256166124Srafan	colors#16, pairs#256,
12257166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12258166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12259166124Srafan	use=dgmode+color8,
1226050276Speter
12261166124Srafandgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
12262166124Srafan	bce, ccc,
12263166124Srafan	colors#52, ncv#53, pairs#26,
12264166124Srafan	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,
12265166124Srafan	oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
12266166124Srafan	op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
12267166124Srafan	scp=\036RG2%p1%02X,
1226850276Speter
1226950276Speter# Colors are in the order:  normal, reverse, dim, dim + reverse.
12270166124Srafandg+ccc|Configurable color info for DG D430C terminals in DG mode,
12271166124Srafan	bce, ccc,
12272166124Srafan	colors#52, ncv#53, pairs#26,
12273166124Srafan	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,
12274166124Srafan	oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
12275166124Srafan	op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
12276166124Srafan	scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
1227750276Speter
1227850276Speter# The generic DG terminal type (an 8-bit-clean subset of the 6053)
1227950276Speter# Initialization string 1 sets:
1228050276Speter#	^R		- vertical scrolling enabled
1228150276Speter#	^C		- blinking enabled
12282166124Srafandg-generic|Generic Data General terminal in DG mode,
12283166124Srafan	am, bw, msgr, xon,
12284166124Srafan	cols#80, lines#24,
12285166124Srafan	bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12286166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
12287166124Srafan	mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
12288166124Srafan	smul=^T, use=dgkeys+11,
1228950276Speter
1229050276Speter# According to the 4.4BSD termcap file, the dg200 <cup> should be the
1229150276Speter# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
1229250276Speter# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
1229350276Speter# maybe they were originally nuls (which would fit).
1229450276Speter
12295166124Srafandg200|data general dasher 200,
12296166124Srafan	OTbs, am, bw,
12297166124Srafan	cols#80, lines#24,
12298166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12299166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
12300166124Srafan	kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
12301166124Srafan	kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
12302166124Srafan	kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
12303166124Srafan	smso=^^D, smul=^T,
1230450276Speter
1230550276Speter# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
12306166124Srafandg210|dg-ansi|Data General 210/211,
12307166124Srafan	am,
12308166124Srafan	cols#80, lines#24,
12309166124Srafan	OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
12310166124Srafan	cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D,
12311166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
12312166124Srafan	nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m,
12313166124Srafan	smul=\E[4;m,
1231450276Speter# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
1231550276Speter# courtesy of Carlos Rucalde of Vantage Software, Inc.
1231650276Speter# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
1231750276Speter# I suspect the d200 function keys actually work on the dg211, check it out.)
12318166124Srafandg211|Data General d211,
12319166124Srafan	cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
12320166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
12321166124Srafan	rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
1232262449Speter
1232362449Speter# dg450 from Cornell (not official)
12324166124Srafandg450|dg6134|data general 6134,
12325166124Srafan	cub1@, cuf1=^X, use=dg200,
1232662449Speter
1232762449Speter# Not official...
1232850276Speter# Note: lesser Dasher terminals will not work with vi because vi insists upon
1232950276Speter# having a command to move straight down from any position on the bottom line
1233050276Speter# and scroll the screen up, or a direct vertical scroll command.  The 460 and
1233150276Speter# above have both, the D210/211, for instance, has neither.  We must use ANSI
1233250276Speter# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
1233350276Speter# backspace on all terminals.  This is not so in DG mode.
1233450276Speter# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1233550276Speter# grounds that there is no matching ":ml:"
1233650276Speter# fixed garbled ":k9=\E[00\:z:" capability -- esr)
12337166124Srafandg460-ansi|Data General Dasher 460 in ANSI-mode,
12338166124Srafan	OTbs, am, msgr, ul,
12339166124Srafan	cols#80, it#8, lines#24,
12340166124Srafan	OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
12341166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
12342166124Srafan	dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
12343166124Srafan	ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
12344166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12345166124Srafan	kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
12346166124Srafan	kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
12347166124Srafan	kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3,
12348166124Srafan	lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
12349166124Srafan	ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m,
12350166124Srafan	smul=\E[4m,
1235162449Speter# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
12352166124Srafan# Data General 605x
1235350276Speter# Ought to work for a Model 6242, Type D210 as well as a 605x.
1235450276Speter# Note that the cursor-down key transmits ^Z.  Job control users, beware!
1235550276Speter# This also matches a posted description of something called a `Dasher 100'
12356166124Srafan# so there's a dg100 alias here.
12357166124Srafan# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
12358166124Srafandg6053-old|dg100|data general 6053,
12359166124Srafan	OTbs, am, bw, ul,
12360166124Srafan	cols#80, lines#24,
12361166124Srafan	OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
12362166124Srafan	cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
12363166124Srafan	home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
12364166124Srafan	kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
12365166124Srafan	kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
12366166124Srafan	rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
12367166124Srafan	smul=^T,
1236850276Speter
1236950276Speter# (Some performance can be gained over the generic DG terminal type)
12370166124Srafandg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
12371166124Srafan	xon@,
12372166124Srafan	home=^P\0\0, ll=^P\0^W, use=dg-generic,
1237350276Speter
1237450276Speter# Like 6053, but adds reverse video and more keypad and function keys.
12375166124Srafand200|d200-dg|Data General DASHER D200,
12376166124Srafan	bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
12377166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
12378166124Srafan	sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
12379166124Srafan	use=dg6053,
1238050276Speter
1238150276Speter# DASHER D210 series terminals in ANSI mode.
1238250276Speter#	Reverse video, no insert/delete character/line, 7 bits/character only.
1238350276Speter#
1238450276Speter# Initialization string 1 sets:
1238550276Speter#	<0		- scrolling enabled
1238650276Speter#	<1		- blink enabled
1238750276Speter#	<4		- print characters regardless of attributes
12388166124Srafand210|d214|Data General DASHER D210 series,
12389166124Srafan	am, bw, msgr, xon,
12390166124Srafan	cols#80, lines#24,
12391166124Srafan	bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
12392166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
12393166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
12394166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
12395166124Srafan	el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
12396166124Srafan	ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
12397166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
12398166124Srafan	sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
1239950276Speter
1240050276Speter# DASHER D210 series terminals in DG mode.
1240150276Speter# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
12402166124Srafand210-dg|d214-dg|Data General DASHER D210 series in DG mode,
12403166124Srafan	xon,
12404166124Srafan	ed=^^FF, use=d200-dg,
1240550276Speter
1240650276Speter# DASHER D211 series terminals in ANSI mode.
1240750276Speter# Like the D210, but with 8-bit characters and local printer support.
1240850276Speter#
1240950276Speter# Initialization string 2 sets:
1241050276Speter#	\E[2;1;1;1v
1241150276Speter#		2;1	- 8 bit operations
1241250276Speter#		1;1	- 8 bit (international) keyboard language
1241350276Speter#	\E(B		- default primary character set (U.S. ASCII)
1241450276Speter#	\E)4		- default secondary character set (international)
1241550276Speter#	^O		- primary character set
1241650276Speter#
12417166124Srafand211|d215|Data General DASHER D211 series,
12418166124Srafan	km,
12419166124Srafan	is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
12420166124Srafan	use=d210,
1242150276Speter
1242250276Speter# Initialization string 2 sets:
1242350276Speter#	\E[2;0;1;0v
1242450276Speter#		2;0	- 7 bit operations
1242550276Speter#		1;0	- 7 bit (native) keyboard language
1242650276Speter#	\E(0		- default character set (the keyboard native language)
1242750276Speter#	^O		- primary character set
12428166124Srafand211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
12429166124Srafan	km@,
12430166124Srafan	is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
1243150276Speter
1243250276Speter# Like the D210 series, but adds support for 8-bit characters.
1243350276Speter#
1243450276Speter# Reset string 2 sets:
1243550276Speter#	^^N	- secondary character set
1243650276Speter#	^^FS0>	- 8 bit international character set
1243750276Speter#	^^O	- primary character set
1243850276Speter#	^^FS00	- default character set (matching the native keyboard language)
1243950276Speter#
12440166124Srafand211-dg|d215-dg|Data General DASHER D211 series in DG mode,
12441166124Srafan	km,
12442166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
1244350276Speter
12444166124Srafand216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
12445166124Srafan	use=d211-dg,
1244650276Speter
1244750276Speter# Enhanced DG mode with changes to be more UNIX compatible.
12448166124Srafand216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
12449166124Srafan	mc5i,
12450166124Srafan	it#8,
12451166124Srafan	acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
12452166124Srafan	clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
12453166124Srafan	el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
12454166124Srafan	is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
12455166124Srafan	kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
12456166124Srafan	kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
12457166124Srafan	mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
12458166124Srafan	rs2=\036N\036FS0E\036O\036FS00,
12459166124Srafan	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%;,
12460166124Srafan	sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
12461166124Srafan	vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
12462166124Srafand216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
12463166124Srafan	lines#25,
12464166124Srafan	is3=\036Fz2, use=d216+,
1246550276Speter
12466166124Srafand217-unix|Data General DASHER D217 in DG-UNIX mode,
12467166124Srafan	use=d216-unix,
12468166124Srafand217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
12469166124Srafan	use=d216-unix-25,
1247050276Speter
1247150276Speter# DASHER D220 color terminal in ANSI mode.
1247250276Speter# Like the D470C but with fewer colors and screen editing features.
1247350276Speter#
1247450276Speter# Initialization string 1 sets:
1247550276Speter#	\E[<0;<1;<4l
1247650276Speter#		<0	- scrolling enabled
1247750276Speter#		<1	- blink enabled
1247850276Speter#		<4	- print characters regardless of attributes
1247950276Speter#	\E[m		- all attributes off
1248050276Speter# Reset string 1 sets:
1248150276Speter#	\Ec		- initial mode defaults (RIS)
1248250276Speter#
12483166124Srafand220|Data General DASHER D220,
12484166124Srafan	mc5i@,
12485166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12486166124Srafan	use=dg+color8, use=d470c,
1248750276Speter
12488166124Srafand220-7b|Data General DASHER D220 in 7 bit mode,
12489166124Srafan	mc5i@,
12490166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12491166124Srafan	use=dg+color8, use=d470c-7b,
1249250276Speter
1249350276Speter# Initialization string 3 sets:
1249450276Speter#	- default cursor (solid rectangle)
1249550276Speter# Reset string 2 sets:
1249650276Speter#	^^N     - secondary character set
1249750276Speter#	^^FS0>  - 8 bit international character set
1249850276Speter#	^^O     - primary character set
1249950276Speter#       ^^FS00  - default character set (matching the native keyboard language)
1250050276Speter#
12501166124Srafand220-dg|Data General DASHER D220 color terminal in DG mode,
12502166124Srafan	mc5i@,
12503166124Srafan	dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
12504166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
12505166124Srafan	use=d470c-dg,
1250650276Speter
1250750276Speter# DASHER D230C color terminal in ANSI mode.
1250850276Speter# Like the D220 but with minor ANSI compatibility improvements.
1250950276Speter#
12510166124Srafand230c|d230|Data General DASHER D230C,
12511166124Srafan	blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
12512166124Srafan	rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
12513166124Srafan	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%;,
12514166124Srafan	sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
12515166124Srafan	smul=\E[4;50m, use=dgkeys+7b, use=d220,
1251650276Speter
12517166124Srafand230c-dg|d230-dg|Data General DASHER D230C in DG mode,
12518166124Srafan	use=d220-dg,
1251950276Speter
1252050276Speter# DASHER D400/D450 series terminals.
1252150276Speter# These add intelligent features like insert/delete to the D200 series.
1252250276Speter#
1252350276Speter# Initialization string 2 sets:
1252450276Speter#	^^FQ2		- default cursor (solid rectangle)
1252550276Speter#	^^FW		- character protection disabled
1252650276Speter#	^^FJ		- normal (80 column) mode
1252750276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1252850276Speter#	^^FX004?	- margins at columns 0 and 79
1252950276Speter#	^^F]		- horizontal scrolling disabled
1253050276Speter#	^^O		- primary character set
1253150276Speter#	^^FS00		- default character set (the keyboard native language)
1253250276Speter#	- (should reset scrolling regions, but that glitches the screen)
1253350276Speter# Reset string 1 sets:
1253450276Speter#	^^FA		- all terminal defaults except scroll rate
1253550276Speter# Reset string 2 sets:
1253650276Speter#	^^F]		- horizontal scrolling disabled
1253750276Speter#	^^FT0		- jump scrolling
1253850276Speter#
12539166124Srafand400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
12540166124Srafan	mc5i,
12541166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
12542166124Srafan	cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
12543166124Srafan	enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
12544166124Srafan	ich1=^^J, il1=^^FH,
12545166124Srafan	is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
12546166124Srafan	ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
12547166124Srafan	rs1=^^FA, rs2=\036F]\036FT0,
12548166124Srafan	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%;,
12549166124Srafan	sgr0=\017\025\035\036E\036O, smacs=^^N,
12550166124Srafan	vpa=\020\177%p1%c, use=d210-dg,
1255150276Speter
1255250276Speter# DASHER D410/D460 series terminals in ANSI mode.
1255350276Speter# These add a large number of intelligent terminal features.
1255450276Speter#
1255550276Speter# Initialization string 1 sets:
1255650276Speter#	\E[<0;<1;<2;<4l
1255750276Speter#		<0	- scrolling enabled
1255850276Speter#		<1	- blink enabled
1255950276Speter#		<2	- horizontal scrolling enabled (for alignment)
1256050276Speter#		<4	- print characters regardless of attributes
1256150276Speter#	\E[5;0v		- normal (80 column) mode
1256250276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1256350276Speter#	\E[1;6;<2h
1256450276Speter#		1	- print all characters even if protected
1256550276Speter#		6	- character protection disabled
1256650276Speter#		<2	- horizontal scrolling disabled
1256750276Speter#	- (should reset scrolling regions, but that glitches the screen)
1256850276Speter#
1256950276Speter# Initialization string 2 sets:
1257050276Speter#	\E[3;2;2;1;1;1v
1257150276Speter#		3;2	- default cursor (solid rectangle)
1257250276Speter#		2;1	- 8 bit operations
1257350276Speter#		1;1	- international keyboard language
1257450276Speter#	\E(B		- default primary character set (U.S. ASCII)
1257550276Speter#	\E)4		- default secondary character set (international)
1257650276Speter#	^O		- primary character set
1257750276Speter#
1257850276Speter#	Reset string 1 sets:
1257950276Speter#	\Ec		- initial mode defaults (RIS)
1258050276Speter#	\E[<2h		- horizontal scrolling disabled
1258150276Speter#
1258250276Speter# Reset string 2 sets:
1258350276Speter#	\E[4;0;2;1;1;1v
1258450276Speter#		4;0	- jump scrolling
1258550276Speter#		2;1	- 8 bit operations
1258650276Speter#		1;1	- 8 bit (international) keyboard language
1258750276Speter#	\E(B		- default primary character set (U.S. ASCII)
1258850276Speter#	\E)4		- default secondary character set (international)
1258950276Speter#
12590166124Srafand410|d411|d460|d461|Data General DASHER D410/D460 series,
12591166124Srafan	mc5i,
12592166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
12593166124Srafan	cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
12594166124Srafan	dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
12595166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
12596166124Srafan	is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
12597166124Srafan	ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
12598166124Srafan	rs2=\E[4;0;2;1;1;1v\E(B\E)4,
12599166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
12600166124Srafan	sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
1260150276Speter
1260250276Speter# Initialization string 2 sets:
1260350276Speter#	\E[3;2;2;0;1;0v
1260450276Speter#		3;2	- default cursor (solid rectangle)
1260550276Speter#		2;0	- 7 bit operations
1260650276Speter#		1;0	- 7 bit (native) keyboard language
1260750276Speter#	\E(0		- default character set (the keyboard native language)
1260850276Speter#	^O		- primary character set
1260950276Speter#
1261050276Speter# Reset string 2 sets:
1261150276Speter#	\E[4;0;2;0;1;0v
1261250276Speter#		4;0	- jump scrolling
1261350276Speter#		2;0	- 7 bit operations
1261450276Speter#		1;0	- 7 bit (native) keyboard language
1261550276Speter#	\E(0		- default character set (the keyboard native language)
1261650276Speter#
12617166124Srafand410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
12618166124Srafan	km@,
12619166124Srafan	enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
12620166124Srafan	rs2=\E[4;0;2;0;1;0v\E(0,
12621166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
12622166124Srafan	sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
1262350276Speter
12624166124Srafand410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
12625166124Srafan	km,
12626166124Srafan	enacs@, rmacs=\036FS00,
12627166124Srafan	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%;,
12628166124Srafan	sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
12629166124Srafan	use=d400-dg,
1263050276Speter
1263150276Speter# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
1263250276Speter#
1263350276Speter# Initialization string 1 sets:
1263450276Speter#	\E[<0;<1;<2;<4l
1263550276Speter#		<0	- scrolling enabled
1263650276Speter#		<1	- blink enabled
1263750276Speter#		<2	- horizontal scrolling enabled (for alignment)
1263850276Speter#		<4	- print characters regardless of attributes
1263950276Speter#	\E[5;1v		- compressed (135 column) mode
1264050276Speter#	\E[1;1;126	- margins at columns 1 and 126
1264150276Speter#	\E[1;6;<2h
1264250276Speter#		1	- print all characters even if protected
1264350276Speter#		6	- character protection disabled
1264450276Speter#		<2	- horizontal scrolling disabled
1264550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1264650276Speter#
1264750276Speter# Reset string 1 sets:
1264850276Speter#	\Ec		- initial mode defaults (RIS)
1264950276Speter#	\E[5;1v		- compressed (135 column) mode
1265050276Speter#	\E[1;1;126w	- margins at columns 1 and 126
1265150276Speter#	\E[<2h		- horizontal scrolling disabled
1265250276Speter#
12653166124Srafand410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
12654166124Srafan	cols#126,
12655166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12656166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
1265750276Speter
12658166124Srafand410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
12659166124Srafan	cols#126,
12660166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12661166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
1266250276Speter
12663166124Srafand412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
12664166124Srafan	use=d410-dg,
1266550276Speter
1266650276Speter# These add intelligent features like scrolling regions.
12667166124Srafand412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
12668166124Srafan	civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
12669166124Srafan	cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
12670166124Srafan	home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
12671166124Srafan	is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
12672166124Srafan	ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
12673166124Srafan	rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
12674166124Srafan	vpa=\036FPFF%p1%2.2X,
12675166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12676166124Srafan	use=d216+,
12677166124Srafand412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
12678166124Srafan	cols#132,
12679166124Srafan	is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
12680166124Srafan	rs2=\036P@1\036FK\036FX0083,
12681166124Srafan	wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X,
12682166124Srafan	use=d412-unix,
12683166124Srafand412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
12684166124Srafan	lines#25,
12685166124Srafan	is3=\036Fz2,
12686166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12687166124Srafan	use=d462+,
12688166124Srafand412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
12689166124Srafan	eslok, hs,
12690166124Srafan	clear=\036FG\036PH, fsl=\036F}01\022,
12691166124Srafan	is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
12692166124Srafan	tsl=\036F}00\036FP%p1%2.2X18\036PG,
12693166124Srafan	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,
12694166124Srafan	use=d462+,
1269550276Speter
1269650276Speter#	Relative cursor motions are confined to the current window,
1269750276Speter#	which is not what the scrolling region specification expects.
1269850276Speter#	Thus, relative vertical cursor positioning must be deleted.
12699166124Srafand412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
12700166124Srafan	csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
12701166124Srafan	cud1@, cuu1@, ll@, use=d462+,
1270250276Speter
12703166124Srafand413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
12704166124Srafan	use=d412-unix,
12705166124Srafand413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
12706166124Srafan	use=d412-unix-w,
12707166124Srafand413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
12708166124Srafan	use=d412-unix-25,
12709166124Srafand413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
12710166124Srafan	use=d412-unix-s,
12711166124Srafand413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
12712166124Srafan	use=d412-unix-sr,
1271350276Speter
12714166124Srafand414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
12715166124Srafan	use=d413-unix,
12716166124Srafand414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
12717166124Srafan	use=d413-unix-w,
12718166124Srafand414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
12719166124Srafan	use=d413-unix-25,
12720166124Srafand414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
12721166124Srafan	use=d413-unix-s,
12722166124Srafand414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
12723166124Srafan	use=d413-unix-sr,
1272450276Speter
12725166124Srafand430c-dg|d430-dg|Data General D430C in DG mode,
12726166124Srafan	use=d413-dg, use=dg+fixed,
12727166124Srafand430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
12728166124Srafan	use=d413-dg, use=dg+ccc,
1272950276Speter
12730166124Srafand430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
12731166124Srafan	use=d413-unix, use=dgunix+fixed,
12732166124Srafand430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
12733166124Srafan	use=d413-unix-w, use=dgunix+fixed,
12734166124Srafand430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
12735166124Srafan	use=d413-unix-25, use=dgunix+fixed,
12736166124Srafand430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
12737166124Srafan	use=d413-unix-s, use=dgunix+fixed,
12738166124Srafand430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
12739166124Srafan	use=d413-unix-sr, use=dgunix+fixed,
12740166124Srafand430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
12741166124Srafan	use=d413-unix, use=dgunix+ccc,
12742166124Srafand430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
12743166124Srafan	use=d413-unix-w, use=dgunix+ccc,
12744166124Srafand430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
12745166124Srafan	use=d413-unix-25, use=dgunix+ccc,
12746166124Srafand430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
12747166124Srafan	use=d413-unix-s, use=dgunix+ccc,
12748166124Srafand430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
12749166124Srafan	use=d413-unix-sr, use=dgunix+ccc,
1275050276Speter
1275150276Speter# DASHER D470C color terminal in ANSI mode.
1275250276Speter# Like the D460 but with 16 colors and without a compressed mode.
1275350276Speter#
1275450276Speter# Initialization string 1 sets:
1275550276Speter#	\E[<0;<1;<2;<4l
1275650276Speter#		<0	- scrolling enabled
1275750276Speter#		<1	- blink enabled
1275850276Speter#		<2	- horizontal scrolling enabled (for alignment)
1275950276Speter#		<4	- print characters regardless of attributes
1276050276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1276150276Speter#	\E[1;6;<2h
1276250276Speter#		1	- print all characters even if protected
1276350276Speter#		6	- character protection disabled
1276450276Speter#		<2	- horizontal scrolling disabled
1276550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1276650276Speter#
12767166124Srafand470c|d470|Data General DASHER D470C,
12768166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12769166124Srafan	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%;,
12770166124Srafan	use=dg+color, use=d460,
1277150276Speter
12772166124Srafand470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
12773166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12774166124Srafan	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%;,
12775166124Srafan	use=dg+color, use=d460-7b,
1277650276Speter
1277750276Speter# Initialization string 2 sets:
1277850276Speter#	^^FQ2		- default cursor (solid rectangle)
1277950276Speter#	^^FW		- character protection disabled
1278050276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1278150276Speter#	^^FX004?	- margins at columns 0 and 79
1278250276Speter#	^^F]		- horizontal scrolling disabled
1278350276Speter#	^^O		- primary character set
1278450276Speter#	^^FS00		- default character set (the keyboard native language)
1278550276Speter#	- (should reset scrolling regions, but that glitches the screen)
1278650276Speter#
12787166124Srafand470c-dg|d470-dg|Data General DASHER D470C in DG mode,
12788166124Srafan	is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
12789166124Srafan	use=dgmode+color, use=d460-dg,
1279050276Speter
1279150276Speter# DASHER D555 terminal in ANSI mode.
1279250276Speter# Like a D411, but has an integrated phone.
12793166124Srafand555|Data General DASHER D555,
12794166124Srafan	use=d411,
12795166124Srafand555-7b|Data General DASHER D555 in 7-bit mode,
12796166124Srafan	use=d411-7b,
12797166124Srafand555-w|Data General DASHER D555 in wide mode,
12798166124Srafan	use=d411-w,
12799166124Srafand555-7b-w|Data General DASHER D555 in wide 7-bit mode,
12800166124Srafan	use=d411-7b-w,
12801166124Srafand555-dg|Data General DASHER D555 series in DG mode,
12802166124Srafan	use=d411-dg,
1280350276Speter
1280450276Speter# DASHER D577 terminal in ANSI mode.
1280550276Speter# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
12806166124Srafand577|Data General DASHER D577,
12807166124Srafan	use=d411,
12808166124Srafand577-7b|Data General DASHER D577 in 7-bit mode,
12809166124Srafan	use=d411-7b,
12810166124Srafand577-w|Data General DASHER D577 in wide mode,
12811166124Srafan	use=d411-w,
12812166124Srafand577-7b-w|Data General DASHER D577 in wide 7-bit mode,
12813166124Srafan	use=d411-7b-w,
1281450276Speter
12815166124Srafand577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
12816166124Srafan	use=d411-dg,
1281750276Speter
1281850276Speter# DASHER D578 terminal.
1281950276Speter# Like a D577, but without compressed mode; like a D470C in this respect.
1282050276Speter#
1282150276Speter# Initialization string 1 sets:
1282250276Speter#	\E[<0;<1;<2;<4l
1282350276Speter#		<0	- scrolling enabled
1282450276Speter#		<1	- blink enabled
1282550276Speter#		<2	- horizontal scrolling enabled (for alignment)
1282650276Speter#		<4	- print characters regardless of attributes
1282750276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1282850276Speter#	\E[1;6;<2h
1282950276Speter#		1	- print all characters even if protected
1283050276Speter#		6	- character protection disabled
1283150276Speter#		<2	- horizontal scrolling disabled
1283250276Speter#	- (should reset scrolling regions, but that glitches the screen)
1283350276Speter#
12834166124Srafand578|Data General DASHER D578,
12835166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
12836166124Srafand578-7b|Data General DASHER D578 in 7-bit mode,
12837166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b,
1283850276Speter
1283950276Speter#### Datamedia (dm)
1284050276Speter#
12841166124Srafan# Datamedia was headquartered in Nashua, New Hampshire until it went
1284262449Speter# out of business in 1993, but the ID plates on the terminals referred
1284362449Speter# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
1284462449Speter# manufacturer which threw out all information about the terminals.
1284550276Speter#
1284650276Speter
12847166124Srafancs10|colorscan|Datamedia Color Scan 10,
12848166124Srafan	msgr,
12849166124Srafan	cols#80, lines#24,
12850166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
12851166124Srafan	cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
12852166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12853166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
12854166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
12855166124Srafancs10-w|Datamedia Color Scan 10 with 132 columns,
12856166124Srafan	cols#132,
12857166124Srafan	cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1285850276Speter
1285950276Speter# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
12860166124Srafandm1520|dm1521|datamedia 1520,
12861166124Srafan	OTbs, am, xenl,
12862166124Srafan	cols#80, it#8, lines#24,
12863166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
12864166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
12865166124Srafan	home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
12866166124Srafan	khome=^Y,
12867166124Srafan# dm2500: this terminal has both <ich> and <smir>. Applications using
1286850276Speter# termcap/terminfo directly (rather than through ncurses) might be confused.
12869166124Srafandm2500|datamedia2500|datamedia 2500,
12870166124Srafan	OTbs, OTnc,
12871166124Srafan	cols#80, lines#24,
12872166124Srafan	bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
12873166124Srafan	cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
12874166124Srafan	dch1=\020\010\030\035$<10*>,
12875166124Srafan	dl1=\020\032\030\035$<10*>, el=^W, home=^B,
12876166124Srafan	ich1=\020\034\030\035$<10*>,
12877166124Srafan	il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
12878166124Srafan	rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
12879166124Srafan	smdc=^P, smir=^P, smso=^N,
1288050276Speter# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1288150276Speter# also, has a meta-key.
1288250276Speter# From: <goldberger@su-csli.arpa>
1288350276Speter# (dmchat: ":MT:" changed to ":km:" -- esr)
12884166124Srafandmchat|dmchat version of datamedia 2500,
12885166124Srafan	km,
12886166124Srafan	dl1=\020\032\030\035$<2/>,
12887166124Srafan	il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1288850276Speter# (dm3025: ":MT:" changed to ":km:" -- esr)
12889166124Srafandm3025|datamedia 3025a,
12890166124Srafan	OTbs, km,
12891166124Srafan	cols#80, it#8, lines#24,
12892166124Srafan	bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12893166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
12894166124Srafan	dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
12895166124Srafan	home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
12896166124Srafan	is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
12897166124Srafan	smir=\EP, smso=\EO1,
12898166124Srafandm3045|datamedia 3045a,
12899166124Srafan	OTbs, am, eo, km@, ul, xenl,
12900166124Srafan	dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
12901166124Srafan	kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
12902166124Srafan	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
12903166124Srafan	khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
12904166124Srafan	use=dm3025,
1290550276Speter# Datamedia DT80 soft switches:
1290650276Speter# 1	0=Jump  1=Smooth
1290750276Speter# 	Autorepeat 	0=off  1=on
1290850276Speter# 	Screen		0=Dark 1=light
1290950276Speter# 	Cursor		0=u/l  1=block
12910166124Srafan#
1291150276Speter# 2	Margin Bell	0=off  1=on
1291250276Speter# 	Keyclick	0=off  1=on
1291350276Speter# 	Ansi/VT52	0=VT52 1=Ansi
1291450276Speter# 	Xon/Xoff	0=Off  1=On
12915166124Srafan#
1291650276Speter# 3	Shift3		0=Hash 1=UK Pound
1291750276Speter# 	Wrap		0=Off  1=On
1291850276Speter# 	Newline		0=Off  1=On
1291950276Speter# 	Interlace	0=Off  1=On
12920166124Srafan#
1292150276Speter# 4	Parity		0=Odd  1=Even
1292250276Speter# 	Parity		0=Off  1=On
1292350276Speter# 	Bits/Char	0=7    1=8
1292450276Speter# 	Power		0=60Hz 1=50Hz
12925166124Srafan#
1292650276Speter# 5	Line Interface  0=EIA  1=Loop
1292750276Speter# 	Aux Interface   0=EIA  1=Loop
12928166124Srafan# 	Local Copy    	0=Off  1=On
1292950276Speter# 	Spare
12930166124Srafan#
1293150276Speter# 6	Aux Parity	0=Odd  1=Even
1293250276Speter# 	Aux Parity	0=Off  1=On
1293350276Speter# 	Aux Bits/Char   0=7    1=8
1293450276Speter# 	CRT Saver	0=Off  1=On
1293550276Speter# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
12936166124Srafandm80|dmdt80|dt80|datamedia dt80/1,
12937166124Srafan	clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
12938166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
12939166124Srafan	home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
12940166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
12941166124Srafan	use=vt100,
1294250276Speter# except in 132 column mode, where it needs a little padding.
1294350276Speter# This is still less padding than the vt100, and you can always turn on
1294450276Speter# the ^S/^Q handshaking, so you can use vt100 flavors for things like
1294550276Speter# reverse video.
12946166124Srafandm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
12947166124Srafan	cols#132,
12948166124Srafan	clear=\E[H\E[2J$<50/>, cud1=^J,
12949166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
12950166124Srafan	ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1295162449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
12952166124Srafandt80-sas|Datamedia DT803/DTX for SAS usage,
12953166124Srafan	am, bw,
12954166124Srafan	cols#80, lines#24,
12955166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
12956166124Srafan	bel=^G, clear=^L, cr=^M,
12957166124Srafan	csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
12958166124Srafan	cub1=^H, cud1=\EB, cuf1=^\,
12959166124Srafan	cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
12960166124Srafan	el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
12961166124Srafan	is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
12962166124Srafan	kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
12963166124Srafan	rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
12964166124Srafan	smso=\E$2\004, tbc=\E'0,
1296550276Speter
1296650276Speter# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
1296750276Speter# These aren't end-all Excel termcaps; but do insert/delete char/line
1296850276Speter# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
1296950276Speter# The naming convention has been bent somewhat, with the use of E? (where
1297050276Speter# E is for 'Excel') as # a name.  This was done to distinguish the entries
1297150276Speter# from the other Datamedias in use here, and yet to associate a model of
1297250276Speter# the Excel terminals with the regular datamedia terminals that share
1297350276Speter# major characteristics.
12974166124Srafanexcel62|excel64|datamedia Excel 62,
12975166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
12976166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
12977166124Srafan	use=dt80,
12978166124Srafanexcel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
12979166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
12980166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
12981166124Srafan	use=dt80w,
12982166124Srafanexcel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
12983166124Srafan	dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
12984166124Srafan	kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
12985166124Srafan	smir=\E[4h, use=dt80,
1298650276Speter
1298750276Speter#### Falco
1298850276Speter#
1298950276Speter#	Falco Data Products
1299050276Speter#	440 Potrero Avenue
1299150276Speter#	Sunnyvale, CA 940864-196
1299250276Speter#	Vox: (800)-325-2648
1299350276Speter#	Fax: (408)-745-7860
1299450276Speter#	Net: techsup@charm.sys.falco.com
1299550276Speter#
1299650276Speter# Current Falco models as of 1995 are generally ANSI-compatible and support
1299750276Speter# emulations of DEC VT-series, Wyse, and Televideo types.
1299850276Speter#
1299950276Speter
1300050276Speter# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1300150276Speter# This terminal was released around 1983 and was discontinued long ago.
1300250276Speter# The standout and underline highlights are the same.
13003166124Srafanfalco|ts1|ts-1|falco ts-1,
13004166124Srafan	OTbs, am,
13005166124Srafan	cols#80, it#8, lines#24,
13006166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
13007166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
13008166124Srafan	dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
13009166124Srafan	ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
13010166124Srafan	kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
13011166124Srafan	smir=\Eq, smso=\Eg1, smul=\Eg1,
13012166124Srafanfalco-p|ts1p|ts-1p|falco ts-1 with paging option,
13013166124Srafan	OTbs, am, da, db, mir, msgr, ul,
13014166124Srafan	cols#80, it#8, lines#24,
13015166124Srafan	bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
13016166124Srafan	cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
13017166124Srafan	dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
13018166124Srafan	il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
13019166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
13020166124Srafan	rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
13021166124Srafan	smso=\Eg4, smul=\Eg1,
1302250276Speter# (ts100: I added <rmam>/<smam> based on the init string -- esr)
13023166124Srafants100|ts100-sp|falco ts100-sp,
13024166124Srafan	am, mir, msgr, xenl, xon,
13025166124Srafan	cols#80, it#8, lines#24, vt#3,
13026166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
13027166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
13028166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13029166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13030166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
13031166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
13032166124Srafan	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
13033166124Srafan	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
13034166124Srafan	ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
13035166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
13036166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
13037166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
13038166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13039166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
13040166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
13041166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
13042166124Srafan	use=vt100+fnkeys,
13043166124Srafants100-ctxt|falco ts-100 saving context,
13044166124Srafan	rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1304550276Speter
1304650276Speter#### Florida Computer Graphics
1304750276Speter#
1304850276Speter
1304950276Speter# Florida Computer Graphics Beacon System, using terminal emulator program
1305050276Speter# "host.com", as provided by FCG.  This description is for an early release
1305150276Speter# of the "host" program.  Known bug: <ed> clears the whole screen, so it's
1305250276Speter# commented out.
1305350276Speter
1305450276Speter# From: David Bryant <cbosg!djb> 1/7/83
13055166124Srafanbeacon|FCG Beacon System,
13056166124Srafan	am, da, db,
13057166124Srafan	cols#80, lines#32,
13058166124Srafan	bel=\ESTART\r\E37\r\EEND\r$<1>,
13059166124Srafan	blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
13060166124Srafan	cub1=^H, cud1=^J, cuf1=\EV,
13061166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
13062166124Srafan	dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
13063166124Srafan	ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
13064166124Srafan	rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
13065166124Srafan	rmul=\ESTART\r\E60\,0\r\EEND\r,
13066166124Srafan	sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
13067166124Srafan	smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
13068166124Srafan	smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
13069166124Srafan	smul=\ESTART\r\E60\,1\r\EEND\r,
1307050276Speter
1307150276Speter#### Fluke
1307250276Speter#
1307350276Speter
13074166124Srafan# The f1720a differences from ANSI: no auto margin, destructive
1307550276Speter# tabs, # of lines, funny highlighting and underlining
13076166124Srafanf1720|f1720a|fluke 1720A,
13077166124Srafan	xt,
13078166124Srafan	cols#80, lines#16, xmc#1,
13079166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
13080166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
13081166124Srafan	el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
13082166124Srafan	kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
13083166124Srafan	smso=\E[7m, smul=\E[4m,
1308450276Speter
1308550276Speter#### Liberty Electronics (Freedom)
1308650276Speter#
1308750276Speter#	Liberty Electronics
1308850276Speter#	48089 Fremont Blvd
1308950276Speter#	Fremont CA 94538
1309050276Speter#	Vox: (510)-623-6000
1309150276Speter#	Fax: (510)-623-7021
1309250276Speter
1309350276Speter# From: <faletti@berkeley.edu>
1309450276Speter# (f100: added empty <acsc> to suppress a tic warning;
1309550276Speter# made this relative to adm+sgr -- note that <invis> isn't
1309650276Speter# known to work for f100 but does on the f110. --esr)
13097166124Srafanf100|freedom|freedom100|freedom model 100,
13098166124Srafan	OTbs, am, bw, hs, mir, msgr, xon,
13099166124Srafan	cols#80, lines#24,
13100166124Srafan	acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
13101166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13102166124Srafan	dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
13103166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
13104166124Srafan	ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
13105166124Srafan	is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
13106166124Srafan	kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
13107166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13108166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
13109166124Srafan	smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
13110166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13111166124Srafanf100-rv|freedom-rv|freedom 100 in reverse video,
13112166124Srafan	flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1311350276Speter# The f110 and f200 have problems with vi(1).  They use the ^V
1311450276Speter# code for the down cursor key. When kcud1 is defined in terminfo
1311550276Speter# as ^V, the Control Character Quoting capability (^V in insert mode)
1311650276Speter# is lost! It cannot be remapped in vi because it is necessary to enter
1311750276Speter# a ^V to to quote the ^V that is being remapped!!!
13118166124Srafan#
1311950276Speter# f110/f200 users will have to decide whether
1312050276Speter# to lose the down cursor key or the quoting capability. We will opt
1312150276Speter# initially for leaving the quoting capability out, since use of VI
1312250276Speter# is not generally applicable to most interactive applications
1312350276Speter# (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
13124166124Srafanf110|freedom110|Liberty Freedom 110,
13125166124Srafan	bw@, eslok,
13126166124Srafan	it#8, wsl#80,
13127166124Srafan	blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
13128166124Srafan	dim=\EG@, dl1=\ER, dsl=\Ef\r, flash=\Eb$<200/>\Ed, il1=\EE,
13129166124Srafan	ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET,
13130166124Srafan	kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13131166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
13132166124Srafan	smso=\EG<, tsl=\Ef, use=f100,
13133166124Srafanf110-14|Liberty Freedom 110 14inch,
13134166124Srafan	dch1@, use=f110,
13135166124Srafanf110-w|Liberty Freedom 110 - 132 cols,
13136166124Srafan	cols#132, use=f110,
13137166124Srafanf110-14w|Liberty Freedom 110 14in/132 cols,
13138166124Srafan	cols#132,
13139166124Srafan	dch1@, use=f110,
1314050276Speter# (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13141166124Srafanf200|freedom200|Liberty Freedom 200,
13142166124Srafan	OTbs, am, eslok, hs, mir, msgr, xon,
13143166124Srafan	cols#80, it#8, lines#24, wsl#80,
13144166124Srafan	acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
13145166124Srafan	clear=^Z, cnorm=\E.1, cr=^M,
13146166124Srafan	csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
13147166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13148166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET,
13149166124Srafan	flash=\Eo$<200/>\En, fsl=^M, home=^^,
13150166124Srafan	hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
13151166124Srafan	kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
13152166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
13153166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13154166124Srafan	kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13155166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
13156166124Srafan	tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13157166124Srafanf200-w|Liberty Freedom 200 - 132 cols,
13158166124Srafan	cols#132, use=f200,
1315950276Speter# The f200 has the ability to reprogram the down cursor key. The key is
1316050276Speter# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
1316150276Speter# so powering the terminal off and on will not cause the change to be lost.
13162166124Srafanf200vi|Liberty Freedom 200 for vi,
13163166124Srafan	flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
13164166124Srafanf200vi-w|Liberty Freedom 200 - 132 cols for vi,
13165166124Srafan	cols#132, use=f200vi,
1316650276Speter
1316750276Speter#### GraphOn (go)
1316850276Speter#
1316950276Speter#	Graphon Corporation
1317050276Speter#	544 Division Street
1317150276Speter#	Campbell, CA 95008
1317250276Speter#	Vox: (408)-370-4080
1317350276Speter#	Fax: (408)-370-5047
1317450276Speter#	Net: troy@graphon.com (Troy Morrison)
1317550276Speter#
1317650276Speter#
1317750276Speter# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
1317850276Speter# including one odd hybrid that starts out life on power-up as a character
1317950276Speter# terminal, than can be switched to X graphics mode (driven over the serial
1318050276Speter# line) by an escape sequence.  No info on this beast yet.
1318150276Speter# (go140: I added <rmam>/<smam> based on the init string -- esr)
13182166124Srafango140|graphon go-140,
13183166124Srafan	OTbs,
13184166124Srafan	cols#80, it#8, lines#24,
13185166124Srafan	clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
13186166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13187166124Srafan	ed=\E[J$<10/>, el=\E[K, ht=^I,
13188166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L,
13189166124Srafan	is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13190166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
13191166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
13192166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
13193166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
13194166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
13195166124Srafango140w|graphon go-140 in 132 column mode,
13196166124Srafan	am,
13197166124Srafan	cols#132,
13198166124Srafan	is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13199166124Srafan	use=go140,
1320050276Speter# Hacked up vt200 termcap to handle GO-225/VT220
1320150276Speter# From: <edm@nwnexus.WA.COM>
1320250276Speter# (go225: I added <rmam>/<smam> based on the init string -- esr)
13203166124Srafango225|go-225|Graphon 225,
13204166124Srafan	OTbs, am, mir, xenl,
13205166124Srafan	cols#80, it#8, lines#25, vt#3,
13206166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
13207166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
13208166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13209166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
13210166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
13211166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
13212166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
13213166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
13214166124Srafan	rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
13215166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
13216166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
13217166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1321850276Speter
1321950276Speter#### Harris (Beehive)
1322050276Speter#
1322150276Speter# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
1322250276Speter# Their terminal group is ancient history now (1995) though the parent
1322350276Speter# company is still in business.
1322450276Speter#
1322550276Speter
1322650276Speter# Beehive documentation is undated and marked Preliminary and has no figures
1322750276Speter# so we must have early Superbee2 (Model 600, according to phone conversation
1322850276Speter# with mfr.). It has proved reliable except for some missing padding
1322950276Speter# (notably after \EK and <nl> at bottom of screen).
13230166124Srafan#
13231166124Srafan# The key idea is that AEP mode is poison for <cup> & that US's in
13232166124Srafan# the local memory should be avoided like the plague. That means
13233166124Srafan# that the 2048 character local buffer is used as 25 lines of 80
13234166124Srafan# characters, period. No scrolling local memory, folks. It also
1323550276Speter# appears that we cannot use naked INS LINE feature since it uses
13236166124Srafan# US. The sbi fakes <il1> with an 80-space insert that may be too
13237166124Srafan# slow at low speeds; also spaces get converted to \040 which is
1323850276Speter# too long for some programs (not vi).  DEL LINE is ok but slow.
13239166124Srafan#
13240166124Srafan# The <nl> string is designed for last line of screen ONLY; cup to
1324150276Speter# 25th line corrects the motion inherent in scrolling to Page 1.
13242166124Srafan#
1324350276Speter# There is one understood bug. It is that the screen appears to
13244166124Srafan# pop to a new (blank) page after a <nel>, or leave a half-line
13245166124Srafan# ellipsis to a quad that is the extra 48 memory locations. The
13246166124Srafan# data received is dumped into memory but not displayed.  Not to
13247166124Srafan# worry if <cup> is being used; the lines not displayed will be,
13248166124Srafan# whenever the cursor is moved up there. Since <cup> is addressed
13249166124Srafan# relative to MEMORY of window, nothing is lost; but beware of
1325050276Speter# relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
1325150276Speter# therefore, is setenv MORE -c .
13252166124Srafan#
1325350276Speter# WARNING: Not all features tested.
13254166124Srafan#
13255166124Srafan# Timings are assembled from 3 sources. Some timings may reflect
1325650276Speter# SB2/Model 300 that were used if more conservative.
1325750276Speter# Tested on a Model 600 at 1200 and 9600 bd.
13258166124Srafan#
13259166124Srafan# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
13260166124Srafan# placed on the keyboard and useless because of AEP, is made
1326150276Speter# into a backspace key. In use ESC must be pressed twice (to send)
13262166124Srafan# and sending ^C must be prefixed by ESC to avoid that weird
1326350276Speter# transmit mode associated with ENTER key.
13264166124Srafan#
13265166124Srafan# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
13266166124Srafan# the screen, then it has dropped into ENTER mode; hit
1326750276Speter# RESET--ONLINE--!tset.
13268166124Srafan#
13269166124Srafan# As delivered this machine has a FATAL feature that will throw
13270166124Srafan# it into that strange transmit state (SPOW) if the space bar is
13271166124Srafan# hit after a CR is received, but before receiving a LF (or a
1327250276Speter# few others).
13273166124Srafan#
13274166124Srafan# The circuits MUST be modified to eliminate the SPOW latch.
13275166124Srafan# This is done by strapping on chip A46 of the I/O board; cut
13276166124Srafan# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
1327750276Speter# chip. This mod has been checked out on a Mod 600 of Superbee II.
13278166124Srafan# With this modification absurdly high timings on cr are
1327950276Speter# unnecessary.
13280166124Srafan#
13281166124Srafan# NOTE WELL that the rear panel switch should be set to CR/LF,
1328250276Speter# not AEP!
1328350276Speter#
13284166124Srafansb1|beehive superbee,
13285166124Srafan	OTbs, am, bw, da, db, mir, ul, xsb,
13286166124Srafan	cols#80, lines#25, xmc#1,
13287166124Srafan	bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
13288166124Srafan	cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
13289166124Srafan	cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
13290166124Srafan	el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
13291166124Srafan	il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
13292166124Srafan	ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
13293166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
13294166124Srafan	kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
13295166124Srafan	kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
13296166124Srafan	krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
13297166124Srafan	rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
13298166124Srafan	smso=\E_1, smul=\E_0, tbc=\E3,
13299166124Srafansbi|superbee|beehive superbee at Indiana U.,
13300166124Srafan	xsb,
13301166124Srafan	cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
13302166124Srafan	use=sb1,
1330350276Speter# Alternate (older) description of Superbee - f1=escape, f2=^C.
1330450276Speter# Note: there are at least 3 kinds of superbees in the world.  The sb1
1330550276Speter# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
1330650276Speter# The sb3 puts garbage on the bottom of the screen when you scroll with
1330750276Speter# the switch in the back set to CRLF instead of AEP.  This description
1330850276Speter# is tested on the sb2 but should work on all with either switch setting.
1330950276Speter# The f1/f2 business is for the sb1 and the <xsb> can be taken out for
1331050276Speter# the other two if you want to try to hit that tiny escape key.
1331150276Speter# This description is tricky: being able to use cup depends on there being
1331250276Speter# 2048 bytes of memory and the hairy <nl> string.
13313166124Srafansuperbee-xsb|beehive super bee,
13314166124Srafan	am, da, db, xsb,
13315166124Srafan	cols#80, it#8, lines#25,
13316166124Srafan	clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
13317166124Srafan	cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
13318166124Srafan	dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
13319166124Srafan	home=\EH, ht=^I, hts=\E1,
13320166124Srafan	ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
13321166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
13322166124Srafan	kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
13323166124Srafan	khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
1332450276Speter# This loses on lines > 80 chars long, use at your own risk
13325166124Srafansuperbeeic|super bee with insert char,
13326166124Srafan	ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
13327166124Srafansb2|sb3|fixed superbee,
13328166124Srafan	xsb@, use=superbee,
1332950276Speter
1333062449Speter####  Beehive Medical Electronics
1333162449Speter#
1333262449Speter# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
1333362449Speter# Regarding your question though; Beehive terminals weren't made by Harris.
1333462449Speter# They were made by Beehive Medical Electronics in Utah. They went out of
1333562449Speter# business in the early '80s.
1333662449Speter#
1333762449Speter# (OK, then, I don't know why a couple of these say "harris beehive".)
1333862449Speter#
1333962449Speter
1334050276Speter# Reports are that most of these Beehive entries (except superbee) have not
1334150276Speter# been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
1334250276Speter
1334350276Speter# (bee: <ich1> was empty, which is obviously bogus -- esr)
13344166124Srafanbeehive|bee|harris beehive,
13345166124Srafan	OTbs, am, mir,
13346166124Srafan	cols#80, lines#24,
13347166124Srafan	cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
13348166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
13349166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
13350166124Srafan	kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13351166124Srafan	kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
13352166124Srafan	krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
13353166124Srafan	smir=\EQ, smso=\EdP, smul=\Ed`,
1335450276Speter# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1335550276Speter# good grief - does this entry make :sg:/:ug: when it doesn't have to?
1335650276Speter# look at those spaces in <rmso>/<smso>.  Seems strange to me...
1335750276Speter# (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
1335850276Speter# really care, cook up one using ^F -- esr)
13359166124Srafanbeehive3|bh3m|beehiveIIIm|harris beehive 3m,
13360166124Srafan	OTbs, am,
13361166124Srafan	cols#80, it#8, lines#20,
13362166124Srafan	bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
13363166124Srafan	dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
13364166124Srafan	il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
13365166124Srafanbeehive4|bh4|beehive 4,
13366166124Srafan	am,
13367166124Srafan	cols#80, lines#24,
13368166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
13369166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
1337062449Speter# There was an early Australian kit-built computer called a "Microbee".
1337162449Speter# It's not clear whether this is for one of those or for a relative
1337262449Speter# of the Beehive.
13373166124Srafanmicrob|microbee|micro bee series,
13374166124Srafan	OTbs, am,
13375166124Srafan	cols#80, it#8, lines#24,
13376166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13377166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13378166124Srafan	el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
13379166124Srafan	kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
13380166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
13381166124Srafan	rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
1338250276Speter
1338350276Speter# 8675, 8686, and bee from Cyrus Rahman
1338450276Speter# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
13385166124Srafanha8675|harris 8675,
13386166124Srafan	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
13387166124Srafan	kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
13388166124Srafan	kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
13389166124Srafan	kf8=\177, kf9=\Ee, use=bee,
1339050276Speter# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
1339150276Speter# in :is: -- esr)
13392166124Srafanha8686|harris 8686,
13393166124Srafan	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#,
13394166124Srafan	kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
13395166124Srafan	kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
13396166124Srafan	kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
13397166124Srafan	kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
13398166124Srafan	use=bee,
1339950276Speter
1340050276Speter#### Hazeltine
1340150276Speter#
1340250276Speter# Hazeltine appears to be out of the terminal business as of 1995.  These
1340350276Speter# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
1340450276Speter# Harris. They have a hazeltine.com domain (but no web page there ) and can
1340550276Speter# be reached at:
1340650276Speter#
1340750276Speter#	Hazeltine
1340850276Speter#	450 East Pulaski Road
1340950276Speter#	Greenlawn, New York 11740
1341050276Speter#
1341150276Speter# As late as 1993, manuals for the terminal product line could still be
1341250276Speter# purchased from:
1341350276Speter#
1341450276Speter#	TRW Customer Service Division
1341550276Speter#	15 Law Drive
1341650276Speter#	P.O. Box 2076
1341750276Speter#	Fairfield, NJ 07007-2078
1341850276Speter#
1341950276Speter# They're now (1998) a subsidiary of General Electric, operating under the
1342050276Speter# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
1342150276Speter# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1342250276Speter#
1342350276Speter
1342450276Speter# Since <cuf1> is blank, when you want to erase something you
1342550276Speter# are out of luck.  You will have to do ^L's a lot to
1342650276Speter# redraw the screen.  h1000 is untested.  It doesn't work in
1342750276Speter# vi - this terminal is too dumb for even vi.  (The code is
1342850276Speter# there but it isn't debugged for this case.)
13429166124Srafanhz1000|hazeltine 1000,
13430166124Srafan	OTbs,
13431166124Srafan	cols#80, lines#12,
13432166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
13433166124Srafan	ind=^J,
1343450276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
13435166124Srafanhz1420|hazeltine 1420,
13436166124Srafan	OTbs, am,
13437166124Srafan	cols#80, lines#24,
13438166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
13439166124Srafan	cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
13440166124Srafan	ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
13441166124Srafan	smso=\E^_,
1344250276Speter# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
1344350276Speter# freakout with out-of-range args and tn3270.  No hz since it needs to
1344450276Speter# receive tildes.
13445166124Srafanhz1500|hazeltine 1500,
13446166124Srafan	OTbs, am, hz,
13447166124Srafan	cols#80, lines#24,
13448166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13449166124Srafan	cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
13450166124Srafan	cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
13451166124Srafan	il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
13452166124Srafan	kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1345350276Speter# h1510 assumed to be in sane escape mode.  Else use h1500.
13454166124Srafan# (h1510: early versions of this entry apparently had "<rmso=\E^_>,
1345550276Speter# <smso=\E^Y>, but these caps were commented out in 8.3; also,
1345650276Speter# removed incorrect and overridden ":do=^J:" -- esr)
13457166124Srafanhz1510|hazeltine 1510,
13458166124Srafan	OTbs, am,
13459166124Srafan	cols#80, lines#24,
13460166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
13461166124Srafan	cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
13462166124Srafan	el=\E^O, il1=\E^Z, ind=^J,
1346350276Speter# Hazeltine 1520
1346450276Speter# The following switch settings are assumed for normal operation:
1346550276Speter#	FULL		CR		U/L_CASE	ESCAPE
1346650276Speter#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
1346750276Speter# Other switches may be set for operator convenience or communication
1346850276Speter# requirements.
13469166124Srafanhz1520|Hazeltine 1520,
13470166124Srafan	OTbs, am, bw, msgr,
13471166124Srafan	cols#80, lines#24,
13472166124Srafan	bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
13473166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13474166124Srafan	ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
13475166124Srafan	kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
13476166124Srafan	kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
13477166124Srafan	rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
1347850276Speter# This version works with the escape switch off
1347950276Speter# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
13480166124Srafanhz1520-noesc|hazeltine 1520,
13481166124Srafan	am, hz,
13482166124Srafan	cols#80, lines#24,
13483166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13484166124Srafan	cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
13485166124Srafan	home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1348650276Speter# Note: the h1552 appears to be the first Hazeltine terminal which
1348750276Speter# is not braindamaged.  It has tildes and backprimes and everything!
1348850276Speter# Be sure the auto lf/cr switch is set to cr.
13489166124Srafanhz1552|hazeltine 1552,
13490166124Srafan	OTbs,
13491166124Srafan	cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
13492166124Srafan	lf2=red, lf3=green, use=vt52,
13493166124Srafanhz1552-rv|hazeltine 1552 reverse video,
13494166124Srafan	cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1349550276Speter# Note: h2000 won't work well because of a clash between upper case and ~'s.
13496166124Srafanhz2000|hazeltine 2000,
13497166124Srafan	OTbs, OTnc, am,
13498166124Srafan	cols#74, lines#27,
13499166124Srafan	bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
13500166124Srafan	cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
13501166124Srafan	il1=~\032$<6>, ind=^J, pad=\177,
1350250276Speter# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
1350350276Speter# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
1350450276Speter# to work ok. There is one problem though if one types a lot of garbage
1350550276Speter# characters very fast vi seems not able to keep up and hangs while trying
1350650276Speter# to insert. That's in insert mode while trying to insert in the middle of
1350750276Speter# a line. It might be because the Esprit doesn't have insert char and delete
13508166124Srafan# char as a built in function. Vi has to delete to end of line and then
1350950276Speter# redraw the rest of the line.
13510166124Srafanesprit|Hazeltine Esprit I,
13511166124Srafan	OTbs, am, bw,
13512166124Srafan	cols#80, lines#24,
13513166124Srafan	bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
13514166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13515166124Srafan	ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
13516166124Srafan	kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
13517166124Srafan	kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
13518166124Srafan	kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
13519166124Srafan	lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
13520166124Srafan	rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
13521166124Srafanesprit-am|hazeltine esprit auto-margin,
13522166124Srafan	am, use=esprit,
1352350276Speter# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
1352450276Speter# Vi it seems always wants to send a control J for "do" and it turned out
1352550276Speter# that the terminal would work somewhat if the auto LF/CR was turned off.
1352650276Speter# (hmod1: removed :dn=~^K: -- esr)
13527166124Srafanhmod1|Hazeltine Modular 1,
13528166124Srafan	OTbs, am, hz,
13529166124Srafan	cols#80, lines#24,
13530166124Srafan	bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13531166124Srafan	cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
13532166124Srafan	ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
13533166124Srafan	rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1353450276Speter#
1353550276Speter# Hazeltine Executive 80 Model 30 (1554?)
1353650276Speter#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
1353750276Speter# Like VT100, except for different "am" behavior.
13538166124Srafanhazel|exec80|h80|he80|Hazeltine Executive 80,
13539166124Srafan	OTbs, OTpt, am,
13540166124Srafan	cols#80, it#8, lines#24, vt#3,
13541166124Srafan	OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
13542166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13543166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
13544166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
13545166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
13546166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
13547166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
13548166124Srafan	kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
13549166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
13550166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
13551166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13552166124Srafan	sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
13553166124Srafan	smul=\E[4m$<2/>,
1355450276Speter
1355550276Speter#### IBM
1355650276Speter#
1355750276Speter
13558166124Srafanibm327x|line mode IBM 3270 style,
13559166124Srafan	gn,
13560166124Srafan	clear=^M^J, el=^M, home=^M,
1356150276Speter
13562166124Srafanibm3101|i3101|IBM 3101-10,
13563166124Srafan	OTbs, am, xon,
13564166124Srafan	cols#80, lines#24,
13565166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13566166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13567166124Srafan	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
13568166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
13569166124Srafanibm3151|IBM 3151 display,
13570166124Srafan	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
13571166124Srafan	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%;,
13572166124Srafan	sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
13573166124Srafan# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1357462449Speter# removed kend, knp, kpp -TD
13575166124Srafanibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
13576166124Srafan	OTbs, am, mir, msgr,
13577166124Srafan	cols#80, it#8, lines#24,
13578166124Srafan	acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
13579166124Srafan	bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
13580166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
13581166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
13582166124Srafan	invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
13583166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
13584166124Srafan	kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
13585166124Srafan	kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
13586166124Srafan	kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
13587166124Srafan	kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
13588166124Srafan	kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
13589166124Srafan	kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
13590166124Srafan	kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
13591166124Srafan	ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A,
13592166124Srafan	rmso=\E4@, rmul=\E4@,
13593166124Srafan	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<@%;,
13594166124Srafan	sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
1359550276Speter
13596166124Srafanibm3161-C|IBM 3161-C NLS terminal using cartridge,
13597166124Srafan	rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161,
13598166124Srafanibm3162|IBM 3162 display,
13599166124Srafan	blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
13600166124Srafan	rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
13601166124Srafan	use=ibm3161-C,
1360250276Speter
1360362449Speter# This really should not use setab/setaf, but it is clear that the
1360462449Speter# original terminfo does not toggle red/blue colors as in setb/setf.
13605166124Srafanibm3164|i3164|IBM 3164,
13606166124Srafan	msgr,
13607166124Srafan	colors#8, pairs#64,
13608166124Srafan	op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
13609166124Srafan	setab=\E4  %p1%{64}%+%c,
13610166124Srafan	setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
13611166124Srafan	smcup=\E!9/N\E>B, use=ibm3161,
1361250276Speter
13613166124Srafanibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
13614166124Srafan	am, bw, msgr, xon,
13615166124Srafan	cols#80, it#8, lines#25,
13616166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13617166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13618166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13619166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13620166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
13621166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
13622166124Srafan	hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
13623166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
13624166124Srafan	kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
13625166124Srafan	kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
13626166124Srafan	kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
13627166124Srafan	kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
13628166124Srafan	kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
13629166124Srafan	kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
13630166124Srafan	kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
13631166124Srafan	kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
13632166124Srafan	kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
13633166124Srafan	kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
13634166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13635166124Srafan	kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
13636166124Srafan	kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
13637166124Srafan	krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
13638166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec,
13639166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
13640166124Srafan	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1364150276Speter
13642166124Srafanibmaed|IBM Experimental display,
13643166124Srafan	OTbs, am, eo, msgr,
13644166124Srafan	cols#80, it#8, lines#52,
13645166124Srafan	clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
13646166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
13647166124Srafan	dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
13648166124Srafan	il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13649166124Srafan	rmso=\E0, sgr0=\E0, smso=\E0,
13650166124Srafanibm-apl|apl|IBM apl terminal simulator,
13651166124Srafan	lines#25, use=dm1520,
13652166124Srafan# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
1365350276Speter# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
13654166124Srafanibmmono|IBM workstation monochrome,
13655166124Srafan	eslok, hs,
13656166124Srafan	bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
13657166124Srafan	invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
13658166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
13659166124Srafan	khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
13660166124Srafan	lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
13661166124Srafan	sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
13662166124Srafan	use=ibm3101,
13663166124Srafanibmega|IBM Enhanced Color Display,
13664166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13665166124Srafan	nel=^M^J, use=ibmmono,
1366662449Speter# This color scheme is assumed in some recent IBM terminal descriptions
1366762449Speter# (green on black, emulated on a 16-color terminal).
13668166124Srafanibm+color|IBM color definitions,
13669166124Srafan	colors#8, ncv#3, pairs#64,
13670166124Srafan	op=\E[32m\E[40m,
13671166124Srafan	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%;,
13672166124Srafan	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%;,
13673166124Srafanibm+16color|IBM aixterm color definitions,
13674166124Srafan	colors#16, pairs#256,
13675166124Srafan	setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
13676166124Srafan	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
13677166124Srafan	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,
13678166124Srafan	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,
13679166124Srafanibm5154|IBM 5154 Color display,
13680166124Srafan	colors#8, ncv@, pairs#64,
13681166124Srafan	bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13682166124Srafan	use=ibm+color,
13683166124Srafanibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
13684166124Srafan	rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
13685166124Srafan	use=ibmmono,
13686166124Srafanibmvga-c|IBM VGA display color termcap,
13687166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13688166124Srafan	nel=^M^J, use=ibmega-c,
13689166124Srafanibmvga|IBM VGA display,
13690166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13691166124Srafan	nel=^M^J, use=ibmega,
1369250276Speter# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
13693166124Srafanrtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
13694166124Srafan	lines#32,
13695166124Srafan	dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
13696166124Srafanibm6155|IBM 6155 Black & White display,
13697166124Srafan	blink@, bold@, use=ibm5151,
1369850276Speter# Advanced Monochrome (6153) and Color (6154) Graphics Display:
13699166124Srafanibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
13700166124Srafan	lines#31,
13701166124Srafan	dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
13702166124Srafanibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
13703166124Srafan	lines#31,
13704166124Srafan	dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
13705166124Srafan	use=ibmega-c,
13706166124Srafanibm6154|IBM 6154 Color displays,
13707166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13708166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13709166124Srafan	sgr0=\E[0;10m, use=ibm5154,
13710166124Srafanibm6153|IBM 6153 Black & White display,
13711166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13712166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13713166124Srafan	sgr0=\E[0;10m, use=ibm5151,
13714166124Srafanibm6153-90|IBM 6153 Black & White display,
13715166124Srafan	cols#90, lines#36,
13716166124Srafan	blink@, bold@, use=ibm5151,
13717166124Srafanibm6153-40|IBM 6153 Black & White display,
13718166124Srafan	cols#40, lines#12, use=ibm6153-90,
13719166124Srafanibm8512|ibm8513|IBM color VGA Terminal,
13720166124Srafan	am, mir, msgr,
13721166124Srafan	cols#80, it#8, lines#25,
13722166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
13723166124Srafan	clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
13724166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
13725166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
13726166124Srafan	il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
13727166124Srafan	kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
13728166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13729166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
13730166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
13731166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m,
13732166124Srafan	rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
13733166124Srafan	smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
13734166124Srafan	smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13735166124Srafan	use=ibm8503,
13736166124Srafanhft-c|HFT with Color,
13737166124Srafan	colors#8, pairs#64,
13738166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
13739166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
13740166124Srafan	use=ibm5151, use=ibm+color,
13741166124Srafanhft-c-old|HFT with Color PC850,
13742166124Srafan	colors#8, pairs#64,
13743166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13744166124Srafan	use=ibm+color,
13745166124Srafanhft-old|AIWS High Function Terminal,
13746166124Srafan	am, xon,
13747166124Srafan	cols#80, lines#25,
13748166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13749166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13750166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
13751166124Srafan	ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
13752166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13753166124Srafan	kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
13754166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13755166124Srafan	kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
13756166124Srafan	ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
13757166124Srafan	sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
13758166124Srafanibm-system1|system1|ibm system/1 computer,
13759166124Srafan	am, xt,
13760166124Srafan	cols#80, lines#24,
13761166124Srafan	bel=^G, clear=^Z, cub1=^H, cuf1=^\,
13762166124Srafan	cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
13763166124Srafan	ind=^J,
1376462449Speter#       lft-pc850 : IBM Low Function Terminal Device
1376562449Speter#    lft "supports" underline, bold, and blink in the sense that the lft code
1376662449Speter#    sets all the right bits.  HOWEVER, depending upon the adapter, these
1376762449Speter#    attributes may or may not be supported by the device driver.
13768166124Srafanlft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
13769166124Srafan	am, bw, msgr, xon,
13770166124Srafan	cols#80, it#8, lines#25,
13771166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13772166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
13773166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13774166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13775166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
13776166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
13777166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
13778166124Srafan	il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
13779166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
13780166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
13781166124Srafan	kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
13782166124Srafan	kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
13783166124Srafan	kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
13784166124Srafan	kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
13785166124Srafan	kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
13786166124Srafan	kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
13787166124Srafan	kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
13788166124Srafan	kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
13789166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13790166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
13791166124Srafan	kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
13792166124Srafan	kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
13793166124Srafan	rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
13794166124Srafan	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%;,
13795166124Srafan	sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13796166124Srafan	tbc=\E[3g,
13797166124Srafanibm5081|hft|IBM Megapel Color display,
13798166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
13799166124Srafan	s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
13800166124Srafanibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
13801166124Srafan	eslok, hs,
13802166124Srafan	lines#33,
13803166124Srafan	dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
13804166124Srafan	use=ibmega-c,
13805166124Srafanibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
13806166124Srafan	use=hft-c,
13807166124Srafanibm8514|IBM 8514/a color VGA display,
13808166124Srafan	eslok, hs,
13809166124Srafan	dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
13810166124Srafanibm8514-c|IBM 8514 color display with standout and underline,
13811166124Srafan	eslok, hs,
13812166124Srafan	lines#41,
13813166124Srafan	cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
13814166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
13815166124Srafan	use=ibmega-c,
1381650276Speter
1381750276Speter#
13818166124Srafan# AIX entries.  IBM ships these with AIX 3.2.5.
1381962449Speter# -- added rc, sc based on manpage -TD
13820166124Srafan# Note that we could use ibm+16color, but that is not how IBM defines this one.
13821166124Srafanaixterm|IBM Aixterm Terminal Emulator,
13822166124Srafan	eslok, hs,
13823166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13824166124Srafan	fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
13825166124Srafan	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%;,
13826166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
13827166124Srafanaixterm-m|IBM AIXterm Monochrome Terminal Emulator,
13828166124Srafan	eslok, hs,
13829166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13830166124Srafan	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
13831166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13832166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
13833166124Srafanaixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
13834166124Srafan	eslok, hs,
13835166124Srafan	bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
13836166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13837166124Srafan	tsl=\E[?%p1%dT, use=ibm6153,
13838166124Srafanjaixterm|IBM Kanji Aixterm Terminal Eemulator,
13839166124Srafan	acsc@, use=aixterm,
13840166124Srafanjaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
13841166124Srafan	acsc@, use=aixterm-m,
1384250276Speter
13843166124Srafan# This flavor is adapted from xterm, in turn from aixterm documentation -TD
13844166124Srafanaixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
13845166124Srafan	use=ibm+16color, use=aixterm,
13846166124Srafan
1384750276Speter#### Infoton/General Terminal Corp.
1384850276Speter#
1384950276Speter
1385050276Speter# gt100 sounds like something DEC would come out with.  Let's hope they don't.
13851166124Srafani100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
13852166124Srafan	OTbs, am,
13853166124Srafan	cols#80, lines#24,
13854166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13855166124Srafan	cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
13856166124Srafan	ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
13857166124Srafan	ind=^J, rmso=\Ea, smso=\Eb,
13858166124Srafani400|infoton 400,
13859166124Srafan	OTbs, am,
13860166124Srafan	cols#80, lines#25,
13861166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
13862166124Srafan	cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
13863166124Srafan	dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
13864166124Srafan	il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
1386550276Speter# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
13866166124Srafanaddrinfo,
13867166124Srafan	am,
13868166124Srafan	cols#80, lines#24,
13869166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
13870166124Srafan	cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
1387150276Speter# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
13872166124Srafaninfoton,
13873166124Srafan	am,
13874166124Srafan	cols#80, lines#24,
13875166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
13876166124Srafan	ed=^K, ind=^J, ll=^H^\,
1387750276Speter
1387850276Speter# The ICL6402 was actually the Kokusai Display System 6402.
1387950276Speter# The 6404 was the KDS7372 (color version of the 6402).
13880166124Srafan#
1388150276Speter# ICL6404 control codes follow:
1388250276Speter#
1388350276Speter#code            function
1388450276Speter#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1388550276Speter#ctrl-A          set SOM position at cursor position
1388650276Speter#ctrl-G          Bell
1388750276Speter#ctrl-H          Backspace
1388850276Speter#ctrl-I          Horiz tab
1388950276Speter#ctrl-J          Linefeed
1389050276Speter#ctrl-K          Cursor up
1389150276Speter#ctrl-L          Cursor right
1389250276Speter#ctrl-M          Carriage return
1389350276Speter#ctrl-N          Disable xon/xoff to host
1389450276Speter#ctrl-O          Enable xon/xoff to host
1389550276Speter#ctrl-R          Enable bidirectional mode
1389650276Speter#ctrl-T          Disable bidirectional mode
1389750276Speter#ctrl-V          Cursor down
1389850276Speter#ctrl-Z          Clear unprotected data to insert char
1389950276Speter#ctrl-^          Cursor home
1390050276Speter#ctrl-_          Newline
1390150276Speter#
1390250276Speter#ESC             lead-in char for multiple character command
1390350276Speter#
1390450276Speter#ESC space R     execute power on sequence
1390550276Speter#ESC ! p1 p2     define scroll region:
1390650276Speter#                p1 = scroll top    line:  20h - 37h
1390750276Speter#                p1 = scroll bottom line:  20h - 37h
1390850276Speter#ESC "           unlock keyboard
1390950276Speter#ESC #           lock keyboard
1391050276Speter#ESC $           Semi-graphics mode on
1391150276Speter#ESC %           Semi-graphics mode off
1391250276Speter#ESC &           protect mode on
1391350276Speter#ESC '           protect mode off
1391450276Speter#ESC (           write protect mode off (full intensity)
1391550276Speter#ESC )           write protect mode on (half intensity)
1391650276Speter#
1391750276Speter#ESC *           clear screen
1391850276Speter#ESC +           clear unprotected data to insert char
1391950276Speter#ESC ,           clear unprotected data to half intensity spaces
1392050276Speter#ESC - p1 p2 p3 p4     address cursor to page, row, column:
1392150276Speter#                      p1 = page number  0 - 3
1392250276Speter#                      p2 = row          20h - 7fh
1392350276Speter#                      p3 = column (lo)  20h - 7fh
1392450276Speter#                      p4 = column (hi)  20h - 21h (only 132 col)
1392550276Speter#ESC . p1        set cursor style:
1392650276Speter#                p1 = 0  invisible cursor
1392750276Speter#                p1 = 1  block blinking cursor
1392850276Speter#                p1 = 2  block steady cursor
1392950276Speter#                p1 = 3  underline blinking cursor
1393050276Speter#                p1 = 4  underline steady cursor
1393150276Speter#ESC /           transmit cursor location (page, row, column)
1393250276Speter#ESC 0 p1 p2 p3 p4     program edit key:
1393350276Speter#                      p1 = edit key code: '@'-'S', '`'-'s'
1393450276Speter#                      p2 p3 p4 = program data (3 bytes)
1393550276Speter#
1393650276Speter#ESC 1           set tab
1393750276Speter#ESC 2           clear tab at cursor
1393850276Speter#ESC 3           clear all tabs
1393950276Speter#ESC 4           send unprotect line to cursor
1394050276Speter#ESC 5           send unprotect page to cursor
1394150276Speter#ESC 6           send line to cursor
1394250276Speter#ESC 7           send page to cursor
1394350276Speter#ESC 8 n         set scroll mode:
1394450276Speter#                n = 0   set jump scroll
1394550276Speter#                n = 1   set smooth scroll
1394650276Speter#ESC 9 n         control display:
1394750276Speter#                n = 0   display off
1394850276Speter#                n = 1   display on
1394950276Speter#ESC :           clear unprotected data to null
1395050276Speter#ESC ;           clear unprotected data to insert char
1395150276Speter#
1395250276Speter#ESC <           keyclick on
1395350276Speter#ESC = p1 p2     address cursor to row, column
1395450276Speter#                p1 = row          20h - 7fh
1395550276Speter#                p2 = column (lo)  20h - 7fh
1395650276Speter#                p3 = column (hi)  20h - 21h (only 132 col)
1395750276Speter#ESC >           keyclick off
1395850276Speter#ESC ?           transmit cursor location (row, column)
1395950276Speter#
1396050276Speter#ESC @           copy print mode on
1396150276Speter#ESC A           copy print mode off
1396250276Speter#ESC B           block mode on
1396350276Speter#ESC C           block mode off (conversation mode)
1396450276Speter#ESC D F         set full duplex
1396550276Speter#ESC D H         set half duplex
1396650276Speter#ESC E           line insert
1396750276Speter#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
1396850276Speter#                0 = black, 1 = red,     2 = green, 3 = yellow
1396950276Speter#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
1397050276Speter#ESC G n         set serial field attribute (n = 30h - 3Fh)
1397150276Speter#ESC H n         full graphics mode:
1397250276Speter#                n = 0  exit full graphics mode
1397350276Speter#                n = 1  enter full graphics mode
1397450276Speter#ESC I           back tab
1397550276Speter#ESC J           back page
1397650276Speter#ESC K           forward page
1397750276Speter#
1397850276Speter#ESC L           unformatted page print
1397950276Speter#ESC M L         move window left  (132 col mode only)
1398050276Speter#ESC M R         move window right (132 col mode only)
1398150276Speter#ESC N           set page edit (clear line edit)
1398250276Speter#ESC O           set line edit (clear page edit)
1398350276Speter#ESC P           formatted page print
1398450276Speter#ESC Q           character insert
1398550276Speter#ESC R           line delete
1398650276Speter#ESC S           send message unprotected only
1398750276Speter#ESC T           erase line to insert char
1398850276Speter#ESC U           set monitor mode   (see ESC X, ESC u)
1398950276Speter#
1399050276Speter#ESC V n         select video attribute mode:
1399150276Speter#                n = 0   serial field attribute mode
1399250276Speter#                n = 1   parallel character attribute mode
1399350276Speter#ESC V 2 n       define line attribute:
1399450276Speter#                n = 0   single width single height
1399550276Speter#                n = 1   single width double height
1399650276Speter#                n = 2   double width single height
1399750276Speter#                n = 3   double width double height
1399850276Speter#ESC V 3 n       select character font:
1399950276Speter#                n = 0   system font
1400050276Speter#                n = 1   user defined font
1400150276Speter#ESC V 4 n       select screen mode:
1400250276Speter#                n = 0   page screen mode
1400350276Speter#                n = 1   virtual screen mode
1400450276Speter#ESC V 5 n       control mouse mode:
1400550276Speter#                n = 0   disable mouse
1400650276Speter#                n = 1   enable sample mode
1400750276Speter#                n = 2   send mouse information
1400850276Speter#                n = 3   enable request mode
1400950276Speter#ESC W           character delete
1401050276Speter#ESC X           clear monitor mode (see ESC U, ESC u)
1401150276Speter#ESC Y           erase page to insert char
1401250276Speter#
1401350276Speter#ESC Z n         send user/status line:
1401450276Speter#                n = 0   send user line
1401550276Speter#                n = 1   send status line
1401650276Speter#                n = 2   send terminal ID
1401750276Speter#ESC [ p1 p2 p3  set character attribute (parallel char mode):
1401850276Speter#                p1: 0 = normal
1401950276Speter#                    1 = blank
1402050276Speter#                    2 = blink
1402150276Speter#                    3 = blink blank (= blank)
1402250276Speter#                    4 = reverse
1402350276Speter#                    5 = reverse blank
1402450276Speter#                    6 = reverse blink
1402550276Speter#                    7 = reverse blink blank (= reverse blank)
1402650276Speter#                    8 = underline
1402750276Speter#                    9 = underline blank
1402850276Speter#                    : = underline blink
1402950276Speter#                    ; = underline blink blank
1403050276Speter#                    < = reverse underline
1403150276Speter#                    = = reverse underline blank
1403250276Speter#                    > = reverse underline blink
1403350276Speter#                    ? = reverse underline blink blank
1403450276Speter#                p2, p3: f/grnd, b/grnd colour
1403550276Speter#                (see ESC F for colours)
1403650276Speter#                use ZZ for mono, eg.
1403750276Speter#                    ESC [ 0 Z Z for normal
1403850276Speter#                    ESC [ 4 Z Z for inverse etc.
1403950276Speter#
1404050276Speter#ESC \ n         set page size:
1404150276Speter#                n = 1   24 lines/page
1404250276Speter#                n = 2   48 lines/page
1404350276Speter#                n = 3   72 lines/page
1404450276Speter#                n = 4   96 lines/page
1404550276Speter#ESC ] n         set Wordstar mode:
1404650276Speter#                n = 0   normal (KDS7372) mode
1404750276Speter#                n = 1   Wordstar mode
1404850276Speter#
1404950276Speter#ESC b           set foreground colour screen
1405050276Speter#
1405150276Speter#ESC c n         enter self-test mode:
1405250276Speter#                n = 0   exit self test mode
1405350276Speter#                n = 1   ROM test
1405450276Speter#                n = 2   RAM test
1405550276Speter#                n = 3   NVRAM test
1405650276Speter#                n = 4   screen display test
1405750276Speter#                n = 5   main/printer port test
1405850276Speter#                n = 6   mouse port test
1405950276Speter#                n = 7   graphics board test
1406050276Speter#                n = 8   graphics memory test
1406150276Speter#                n = 9   display all 'E'
1406250276Speter#                n = :   display all 'H'
1406350276Speter#ESC d           set background colour screen
1406450276Speter#
1406550276Speter#ESC e n         program insert char (n = insert char)
1406650276Speter#ESC f text CR   load user status line with 'text'
1406750276Speter#
1406850276Speter#ESC g           display user status line on 25th line
1406950276Speter#ESC h           display system status line on 25th line
1407050276Speter#ESC i           tab
1407150276Speter#ESC j           reverse linefeed
1407250276Speter#ESC k n         duplex/local edit mode:
1407350276Speter#                n = 0   duplex edit mode
1407450276Speter#                n = 1   local edit mode
1407550276Speter#ESC l n         select virtual screen:
1407650276Speter#                n = 0   screen 1
1407750276Speter#                n = 1   screen 2
1407850276Speter#ESC m           save current config to NVRAM
1407950276Speter#ESC n p1        select display screen:
1408050276Speter#                p1 = 0  screen 1
1408150276Speter#                p1 = 1  screen 2
1408250276Speter#                p1 = 2  screen 3
1408350276Speter#                p1 = 3  screen 4
1408450276Speter#ESC o p1 p2     set characters/line and attribute:
1408550276Speter#                p1 = 0  80 chars/line
1408650276Speter#
1408750276Speter#ESC o p1 p2     set characters/line and attribute:
1408850276Speter#                p1 = 0  80 chars/line
1408950276Speter#                p1 = 1  132 chars/line
1409050276Speter#                p2 = 0  single width single height
1409150276Speter#                p2 = 1  single width double height
1409250276Speter#                p2 = 2  double width single height
1409350276Speter#                p2 = 3  double width double height
1409450276Speter#
1409550276Speter#ESC q           insert mode on
1409650276Speter#ESC r           edit mode on
1409750276Speter#ESC s           send message all
1409850276Speter#ESC t           erase line to null
1409950276Speter#ESC u           clear monitor mode (see ESC U, ESC X)
1410050276Speter#ESC v           autopage mode on
1410150276Speter#ESC w           autopage mode off
1410250276Speter#ESC x p1 p2 p3  define delimiter code...
1410350276Speter#ESC y           erase page to null
1410450276Speter#
1410550276Speter#ESC z 2 p1 p2 p3 p4   draw quadrangle:
1410650276Speter#                      p1 = starting row
1410750276Speter#                      p2 = starting column
1410850276Speter#                      p3 = end row
1410950276Speter#                      p4 = end column
1411050276Speter#
1411150276Speter#ESC { p1 p2 p3 p4     configure main port
1411250276Speter#                      (baud, stop bits, parity, word length)
1411350276Speter#
1411450276Speter#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
1411550276Speter#                        p1 = function key code:
1411650276Speter#                             '1' - ';'  normal f1- f11
1411750276Speter#                             '<' - 'F'  shifted f1 - f11
1411850276Speter#                        p2 = program mode:
1411950276Speter#                             1 = FDX
1412050276Speter#                             2 = LOC
1412150276Speter#                             3 = HDX
1412250276Speter#                        Ctrl-Y = terminator
1412350276Speter#                        (use Ctrl-P to escape ^P, ^Y )
1412450276Speter#
1412550276Speter#ESC } p1 p2 p3 p4     configure printer port
1412650276Speter#                      (baud, stop bits, parity, word length)
1412750276Speter#ESC ~           send system status
1412850276Speter#
1412950276Speter# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
1413050276Speter#
1413150276Speter# Entry is by esr going solely on above information and is UNTESTED.
1413250276Speter# This actually looks a lot like a Televideo 9xx.
1413350276Speter# This entry uses page 0 and is monochrome; I'm not brave enough to try
1413450276Speter# to make color work without a test terminal.  The <am> capability is a guess.
1413550276Speter# The initialization string sets conversation mode, blinking underline cursor,
1413650276Speter# full duplex, parallel attribute mode, display user status line, white
1413750276Speter# foreground, black background, normal highlight.
1413850276Speter#
14139166124Srafanicl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
14140166124Srafan	OTbs, am, hs,
14141166124Srafan	cols#80, lines#24,
14142166124Srafan	bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
14143166124Srafan	cnorm=\E.3, cr=^M,
14144166124Srafan	csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
14145166124Srafan	cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
14146166124Srafan	cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I,
14147166124Srafan	hts=\E1, il1=\EE, invis=\E[1ZZ,
14148166124Srafan	is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
14149166124Srafan	rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
14150166124Srafan	rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
14151166124Srafan	sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
14152166124Srafan	sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
14153166124Srafanicl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
14154166124Srafan	rs2=\Eo1, use=icl6404,
1415550276Speter
1415650276Speter#### Interactive Systems Corp
1415750276Speter#
1415850276Speter# ISC used to sell OEMed and customized hardware to support ISC UNIX.
1415950276Speter# ISC UNIX still exists in 1995, but ISC itself is no more; they got
1416050276Speter# bought out by Sun.
1416150276Speter#
1416250276Speter
1416350276Speter# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1416450276Speter# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1416550276Speter# ":le=^_:" later overridden -- esr)
14166166124Srafanintext|Interactive Systems Corporation modified owl 1200,
14167166124Srafan	OTbs, am,
14168166124Srafan	cols#80, it#8, lines#24, xmc#1,
14169166124Srafan	bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
14170166124Srafan	cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
14171166124Srafan	dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
14172166124Srafan	el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
14173166124Srafan	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
14174166124Srafan	kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
14175166124Srafan	kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
14176166124Srafan	rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%,
14177166124Srafan	smso=^V$\,,
14178166124Srafanintext2|intextii|INTERACTIVE modified owl 1251,
14179166124Srafan	am, bw, ul,
14180166124Srafan	cols#80, lines#24, xmc#0,
14181166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
14182166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
14183166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K,
14184166124Srafan	flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
14185166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
14186166124Srafan	kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
14187166124Srafan	kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
14188166124Srafan	kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
14189166124Srafan	khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
14190166124Srafan	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
14191166124Srafan	lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
14192166124Srafan	smul=\E[18 D,
1419350276Speter
1419450276Speter#### Kimtron (abm, kt)
1419550276Speter#
14196166124Srafan# Kimtron seems to be history, but as March 1998 these people are still
1419750276Speter# offering repair services for Kimtron equipment:
1419850276Speter#
1419950276Speter#    Com/Pair Monitor Service
1420050276Speter#    1105 N. Cliff Ave.
1420150276Speter#    Sioux Falls, South Dakota 57103
14202166124Srafan#
1420350276Speter#    WATS voice:  1-800/398-4946
1420450276Speter#    POTS   fax: +1 605/338-8709
1420550276Speter#    POTS voice: +1 605/338-9650
1420650276Speter#         Email: <compair@sd.cybernex.net>
1420750276Speter#  Internet/Web: <http://www.com-pair.com>
1420850276Speter#
1420950276Speter# Kimtron entries include (undocumented) codes for: enter dim mode,
1421050276Speter# enter bold mode, enter reverse mode, turn off all attributes.
1421150276Speter#
1421250276Speter
1421350276Speter# Kimtron ABM 85 added by Dual Systems
1421450276Speter# (abm85: removed duplicated ":kd=^J:" -- esr)
14215166124Srafanabm85|Kimtron ABM 85,
14216166124Srafan	OTbs, am, bw, msgr,
14217166124Srafan	cols#80, it#8, lines#24, xmc#1,
14218166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
14219166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14220166124Srafan	dl1=\ER, ed=\Ey, el=\Et, ht=^I,
14221166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE,
14222166124Srafan	is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
14223166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
14224166124Srafan	rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1422550276Speter# Kimtron ABM 85H added by Dual Systems.
1422650276Speter# Some notes about the abm85h entries:
1422750276Speter# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1422850276Speter#    firmware revs prior to SP51
1422950276Speter# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
1423050276Speter#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
1423150276Speter#    in some places and NOT software settable i.e., <is2> can't fix it)
1423250276Speter# 3) In 85h mode, the arrow keys and special functions transmit when
1423350276Speter#    the terminal is in dup-edit, and work only locally in local-edit.
1423450276Speter#    Vi won't swallow `del char' for instance, but <smcup> turns on
1423550276Speter#    dup-edit anyway so that the arrow keys will work right. If the
1423650276Speter#    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
1423750276Speter#    <is2>.  Note that 920E mode does not have software commands to toggle
1423850276Speter#    between dup and local edit, so you get whatever was set last on the
1423950276Speter#    terminal.
1424050276Speter# 4) <flash> attribute is nice, but seems too slow to work correctly
1424150276Speter#    (\Eb<pad>\Ed)
1424250276Speter# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1424350276Speter#    are selected, the <xmc@> entry should be removed.
1424450276Speter# 6) auto new-line should be on (selectable from setup mode only)
1424550276Speter#
1424650276Speter# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
14247166124Srafanabm85h|Kimtron ABM 85H native mode,
14248166124Srafan	hs,
14249166124Srafan	xmc@,
14250166124Srafan	bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
14251166124Srafan	fsl=^M, invis@,
14252166124Srafan	is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
14253166124Srafan	kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr,
14254166124Srafan	use=abm85,
14255166124Srafanabm85e|Kimtron ABM 85H in 920E mode,
14256166124Srafan	xmc@,
14257166124Srafan	bel=^G, dim=\E), flash@,
14258166124Srafan	is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
14259166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
14260166124Srafanabm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
14261166124Srafan	xmc@,
14262166124Srafan	bel=^G, dim=\E),
14263166124Srafan	is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
14264166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1426550276Speter# From: <malman@bbn-vax.arpa>
1426650276Speter# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
14267166124Srafankt7|kimtron model kt-7,
14268166124Srafan	OTbs, am,
14269166124Srafan	cols#80, it#8, lines#24,
14270166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
14271166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14272166124Srafan	dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
14273166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
14274166124Srafan	kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
14275166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
14276166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
14277166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
14278166124Srafan	kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr,
1427950276Speter# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
1428050276Speter# other kt7 entry and the adjacent key capabilities).  Removed EE which is
1428150276Speter# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
1428250276Speter# but we can't figure out what.
14283166124Srafankt7ix|kimtron model kt-7 or 70 in IX mode,
14284166124Srafan	am, bw,
14285166124Srafan	cols#80, it#8, lines#25,
14286166124Srafan	acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
14287166124Srafan	civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
14288166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14289166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
14290166124Srafan	home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
14291166124Srafan	is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
14292166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
14293166124Srafan	ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
14294166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14295166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
14296166124Srafan	nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0,
14297166124Srafan	sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
1429850276Speter
1429950276Speter#### Microdata/MDIS
1430050276Speter#
1430150276Speter# This was a line of terminals made by McDonnell-Douglas Information Systems.
1430250276Speter# These entries come direct from MDIS documentation.  I have edited them only
1430350276Speter# to move primary names of the form p[0-9] * to aliases, and to comment out
14304166124Srafan# <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
1430550276Speter# also removed the change history; the last version indicates this is
1430650276Speter# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
1430750276Speter#
1430850276Speter
1430950276Speter# McDonnell Information Systems Terminal Family History
1431050276Speter# =========================================
1431150276Speter#
1431250276Speter# Prism-1, Prism-2 and P99:
1431350276Speter#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
1431450276Speter#
1431550276Speter# Prism-4 and Prism-5:
1431650276Speter#       Slightly less ancient range of Microdata terminals. Follow-on from
1431750276Speter#       Prism-2, but with many enhancements. P5 has eight display pages.
1431850276Speter#
1431950276Speter# Prism-6:
1432050276Speter#       A special terminal for use with library systems, primarily in Germany.
1432150276Speter#       Limited numbers. Similar functionality to P5 (except attributes?).
1432250276Speter#
1432350276Speter# Prism-7, Prism-8 and Prism-9:
1432450276Speter#       More recent range of MDIS terminals, in which P7 and P8
1432550276Speter#       replace the P4 & P5, with added functionality, and P9 is the flagship.
1432650276Speter#       The P9 has two emulation modes - P8 and ANSI - and includes a
1432750276Speter#       large number of the DEC VT220 control sequences. Both
1432850276Speter#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
1432950276Speter#
1433050276Speter# Prism-12 and Prism-14:
1433150276Speter#       Latest range, functionally very similar to the P9.  The P14 has a
1433250276Speter#       black-on-white overscanning screen.
1433350276Speter#
1433450276Speter# The terminfo definitions given here are:
1433550276Speter#
1433650276Speter# p2      - Prism-2 (or Prism-1 or P99).
1433750276Speter#
1433850276Speter# p4      - Prism-4 (and older P7s & P8s).
1433950276Speter# p5      - Prism-5 (or Prism-6).
1434050276Speter#
1434150276Speter# p7      - Prism-7.
1434250276Speter# p8      - Prism-8 (in national or multinational mode).
1434350276Speter# p8-w    - 132 column version of p8.
1434450276Speter# p9      - Prism-9 in ANSI mode.
1434550276Speter# p9-w    - 132 column version of p9.
1434650276Speter# p9-8    - Prism-9 in Prism-8 emulation mode.
1434750276Speter# p9-8-w  - As p9-8, but with 132 columns.
1434850276Speter#
1434950276Speter# p12     - Prism-12 in ANSI mode.
1435050276Speter# p12-w   - 132 column version of p12.
1435150276Speter# p12-m   - Prism-12 in MDC emulation mode.
1435250276Speter# p12-m-w - As p12-m, but with 132 columns.
1435350276Speter# p14     - Prism-14 in ANSI mode.
1435450276Speter# p14-w   - 132 column version of p14.
1435550276Speter# p14-m   - Prism-14 in MDC emulation mode.
1435650276Speter# p14-m-w - As p14-m, but with 132 columns.
1435750276Speter#
1435850276Speter# p2: Prism-2
1435950276Speter# -----------
1436050276Speter#
1436150276Speter# Includes Prism-1 and basic P99 without SP or MP loaded.
1436250276Speter# The simplest form of Prism-type terminal.
1436350276Speter# Basic cursor movement and clearing operations only.
1436450276Speter# No video attributes.
1436550276Speter# Notes:
1436650276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1436750276Speter#  value up, followed by backspace.
1436850276Speter#
14369166124Srafanprism2|MDC Prism-2,
14370166124Srafan	am, bw, msgr,
14371166124Srafan	cols#80, lines#24,
14372166124Srafan	bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14373166124Srafan	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,
14374166124Srafan	cuu1=^Z, ed=\EJ, el=\EK, home=^A,
14375166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14376166124Srafan	ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1437750276Speter
1437850276Speter# p4: Prism-4
1437950276Speter# -----------
1438050276Speter#
1438150276Speter# Includes early versions of P7 & P8.
1438250276Speter# Basic family definition for most Prisms (except P2 and P9 ANSI).
1438350276Speter# Notes:
1438450276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1438550276Speter#  value up, followed by backspace.
1438650276Speter#  Cursor key definitions removed because they interfere with vi and csh keys.
1438750276Speter#
14388166124Srafanprism4|p4|P4|MDC Prism-4,
14389166124Srafan	am, bw, hs, mc5i, msgr,
14390166124Srafan	cols#80, lines#24, wsl#72, xmc#1,
14391166124Srafan	bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
14392166124Srafan	cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14393166124Srafan	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,
14394166124Srafan	cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
14395166124Srafan	fsl=^]\345, home=^A,
14396166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14397166124Srafan	ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
14398166124Srafan	rev=^CD, rmso=^C\s, rmul=^C\s,
14399166124Srafan	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%;,
14400166124Srafan	sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
14401166124Srafan	vpa=\013%p1%{32}%+%c,
1440250276Speter
1440350276Speter# p5: Prism-5
1440450276Speter# -----------
1440550276Speter#
1440650276Speter# Same definition as p4. Includes Prism-6 (not tested!).
1440750276Speter# Does not use any multi-page features.
1440850276Speter#
14409166124Srafanprism5|p5|P5|MDC Prism-5,
14410166124Srafan	use=p4,
1441150276Speter
1441250276Speter# p7: Prism-7
1441350276Speter# -----------
1441450276Speter#
1441550276Speter# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
1441650276Speter# Notes:
1441750276Speter#  Use p4 for very early models of P7.
1441850276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1441950276Speter#
14420166124Srafanprism7|p7|P7|MDC Prism-7,
14421166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1442250276Speter
1442350276Speter# p8: Prism-8
1442450276Speter# -----------
1442550276Speter#
1442650276Speter# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
1442750276Speter# Supports national and multinational character sets.
1442850276Speter# Notes:
1442950276Speter#  Alternate char set operations only work in multinational mode.
1443050276Speter#  Use p4 for very early models of P8.
1443150276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1443250276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1443350276Speter#
14434166124Srafanprism8|p8|P8|MDC Prism-8,
14435166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
14436166124Srafan	vpa=\E[%i%p1%dd, use=p4,
1443750276Speter
1443850276Speter# p8-w: Prism-8 in 132 column mode
1443950276Speter# --------------------------------
1444050276Speter#
1444150276Speter# 'Wide' version of p8.
1444250276Speter# Notes:
1444350276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1444450276Speter#
14445166124Srafanprism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
14446166124Srafan	cols#132,
14447166124Srafan	is2=\E[<12h\E[<14h, use=p8,
1444850276Speter
1444950276Speter# p9: Prism-9 in ANSI mode
1445050276Speter# -------------------------
1445150276Speter#
1445250276Speter# The "flagship" model of this generation of terminals.
1445350276Speter# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
1445450276Speter# Notes:
1445550276Speter#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
1445650276Speter#  Fixes to deal with terminal firmware bugs:
1445750276Speter#  . 'ri' uses insert-line since rev index doesn't always
1445850276Speter#  . 'sgr0' has extra '0' since esc[m fails
1445950276Speter#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
1446050276Speter#  Not covered in the current definition:
1446150276Speter#  . Labels
1446250276Speter#  . Programming Fn keys
1446350276Speter#  . Graphic characters (defaults correctly to vt100)
1446450276Speter#  . Padding values (sets xon)
1446550276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1446650276Speter#
14467166124Srafanprism9|p9|P9|MDC Prism-9 in ANSII mode,
14468166124Srafan	am, bw, hs, mc5i, msgr, xenl, xon,
14469166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#72,
14470166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
14471166124Srafan	clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
14472166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
14473166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
14474166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
14475166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
14476166124Srafan	ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
14477166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
14478166124Srafan	is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
14479166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
14480166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
14481166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
14482166124Srafan	kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
14483166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
14484166124Srafan	khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
14485166124Srafan	prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
14486166124Srafan	ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
14487166124Srafan	rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
14488166124Srafan	sc=\E[%y,
14489166124Srafan	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%;,
14490166124Srafan	sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
14491166124Srafan	tbc=\E[2g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
1449250276Speter
1449350276Speter# p9-w: Prism-9 in 132 column mode
1449450276Speter# --------------------------------
1449550276Speter#
1449650276Speter# 'Wide' version of p9.
1449750276Speter#
14498166124Srafanprism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
14499166124Srafan	cols#132,
14500166124Srafan	is2=\E[&p\E[<12l\E F\E[<14h,
14501166124Srafan	rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1450250276Speter
1450350276Speter# p9-8: Prism-9 in P8 mode
1450450276Speter# ------------------------
1450550276Speter#
1450650276Speter# P9 terminal in P8 emulation mode.
1450750276Speter# Similar to p8 definition.
1450850276Speter# Insertion and deletion operations possible.
1450950276Speter#
14510166124Srafanprism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
14511166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14512166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1451350276Speter
1451450276Speter# p9-8-w: Prism-9 in P8 and 132 column modes
1451550276Speter# ------------------------------------------
1451650276Speter#
1451750276Speter# P9 terminal in P8 emulation mode and 132 column mode.
1451850276Speter#
14519166124Srafanprism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
14520166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14521166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1452250276Speter
1452350276Speter# p12: Prism-12 in ANSI mode
1452450276Speter# ---------------------------
1452550276Speter#
1452650276Speter# See p9 definition.
1452750276Speter#
14528166124Srafanprism12|p12|P12|MDC Prism-12 in ANSI mode,
14529166124Srafan	use=p9,
1453050276Speter
1453150276Speter# p12-w: Prism-12 in 132 column mode
1453250276Speter# ----------------------------------
1453350276Speter#
1453450276Speter# 'Wide' version of p12.
1453550276Speter#
14536166124Srafanprism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
14537166124Srafan	use=p9-w,
1453850276Speter
1453950276Speter# p12-m: Prism-12 in MDC emulation mode
1454050276Speter# -------------------------------------
1454150276Speter#
1454250276Speter# P12 terminal in MDC emulation mode.
1454350276Speter# Similar to p8 definition.
1454450276Speter# Insertion and deletion operations possible.
1454550276Speter#
14546166124Srafanprism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
14547166124Srafan	use=p9-8,
1454850276Speter
1454950276Speter# p12-m-w: Prism-12 in MDC emulation and 132 column modes
1455050276Speter# -------------------------------------------------------
1455150276Speter#
1455250276Speter# P12 terminal in MDC emulation mode and 132 column mode.
1455350276Speter#
14554166124Srafanprism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
14555166124Srafan	use=p9-8-w,
1455650276Speter
1455750276Speter# p14: Prism-14 in ANSII mode
1455850276Speter# ---------------------------
1455950276Speter#
1456050276Speter# See p9 definition.
1456150276Speter#
14562166124Srafanprism14|p14|P14|MDC Prism-14 in ANSII mode,
14563166124Srafan	use=p9,
1456450276Speter
1456550276Speter# p14-w: Prism-14 in 132 column mode
1456650276Speter# ----------------------------------
1456750276Speter#
1456850276Speter# 'Wide' version of p14.
1456950276Speter#
14570166124Srafanprism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
14571166124Srafan	use=p9-w,
1457250276Speter
1457350276Speter# p14-m: Prism-14 in MDC emulation mode
1457450276Speter# -------------------------------------
1457550276Speter#
1457650276Speter# P14 terminal in MDC emulation mode.
1457750276Speter# Similar to p8 definition.
1457850276Speter# Insertion and deletion operations possible.
1457950276Speter#
14580166124Srafanprism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
14581166124Srafan	use=p9-8,
1458250276Speter
1458350276Speter# p14-m-w: Prism-14 in MDC emulation and 132 column modes
1458450276Speter# -------------------------------------------------------
1458550276Speter#
1458650276Speter# P14 terminal in MDC emulation mode and 132 column mode.
1458750276Speter#
14588166124Srafanprism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
14589166124Srafan	use=p9-8-w,
1459050276Speter
1459150276Speter# End of McDonnell Information Systems Prism definitions
1459250276Speter
1459350276Speter# These things were popular in the Pick database community at one time
1459450276Speter# From: George Land <georgeland@aol.com> 24 Sep 1996
14595166124Srafanp8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
14596166124Srafan	am, bw, hs, mir,
14597166124Srafan	cols#80, lines#24, ma#1, wsl#78, xmc#1,
14598166124Srafan	bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
14599166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
14600166124Srafan	ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
14601166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
14602166124Srafan	kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
14603166124Srafan	kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
14604166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14605166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
14606166124Srafan	lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
14607166124Srafan	pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
14608166124Srafan	smul=^C0,
1460950276Speter
1461050276Speter#### Microterm (act, mime)
1461150276Speter#
1461250276Speter# The mime1 entries refer to the Microterm Mime I or Mime II.
1461350276Speter# The default mime is assumed to be in enhanced act iv mode.
1461450276Speter#
1461550276Speter
1461650276Speter# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1461750276Speter# freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
1461850276Speter# <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
1461950276Speter# since Sytek insists ^S means xoff.
1462050276Speter# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
14621166124Srafanact4|microterm|microterm act iv,
14622166124Srafan	OTbs, am,
14623166124Srafan	cols#80, lines#24,
14624166124Srafan	bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
14625166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
14626166124Srafan	cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
14627166124Srafan	ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
14628166124Srafan	il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
14629166124Srafan	kcuu1=^Z,
1463050276Speter# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
1463150276Speter# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
1463250276Speter# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
14633166124Srafanact5|microterm5|microterm act v,
14634166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA,
14635166124Srafan	use=act4,
1463650276Speter# Mimes using brightness for standout.  Half bright is really dim unless
1463750276Speter# you turn up the brightness so far that lines show up on the screen.
14638166124Srafanmime-fb|full bright mime1,
14639166124Srafan	is2=^S\E, rmso=^S, smso=^Y, use=mime,
14640166124Srafanmime-hb|half bright mime1,
14641166124Srafan	is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1464250276Speter# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1464350276Speter# the more plausible ":do=^J:" -- esr)
1464450276Speter# uc was at one time disabled to get around a curses bug, be wary of it
14645166124Srafanmime|mime1|mime2|mimei|mimeii|microterm mime1,
14646166124Srafan	OTbs, am,
14647166124Srafan	cols#80, it#8, lines#24, vt#9,
14648166124Srafan	bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
14649166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
14650166124Srafan	cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
14651166124Srafan	il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
14652166124Srafan	kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1465350276Speter# These termcaps (for mime2a) put the terminal in low intensity mode
1465450276Speter# since high intensity mode is so obnoxious.
14655166124Srafanmime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
14656166124Srafan	OTbs, am,
14657166124Srafan	cols#80, lines#24,
14658166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14659166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
14660166124Srafan	dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
14661166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
14662166124Srafan	kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
14663166124Srafan	smir=\EE, smso=\E\:, smul=\E6,
1466450276Speter# This is the preferred mode (but ^X can't be used as a kill character)
14665166124Srafanmime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
14666166124Srafan	OTbs,
14667166124Srafan	cols#80, it#8, lines#24,
14668166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14669166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
14670166124Srafan	dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
14671166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
14672166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
14673166124Srafan	rmul=\E5, smir=^O, smso=\E8, smul=\E4,
1467450276Speter# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
14675166124Srafanmime3a|mime1 emulating 3a,
14676166124Srafan	am@,
14677166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
14678166124Srafanmime3ax|mime-3ax|mime1 emulating enhanced 3a,
14679166124Srafan	it#8,
14680166124Srafan	dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>,
14681166124Srafan	use=mime3a,
1468250276Speter# Wed Mar  9 18:53:21 1983
1468350276Speter# We run our terminals at 2400 baud, so there might be some timing problems at
14684166124Srafan# higher speeds. The major improvements in this model are the terminal now
1468550276Speter# scrolls down and insert mode works without redrawing the rest of the line
1468650276Speter# to the right of the cursor. This is done with a bit of a kludge using the
1468750276Speter# exit graphics mode to get out of insert, but it does not appear to hurt
1468850276Speter# anything when using vi at least. If you have some users using act4s with
1468950276Speter# programs that use curses and graphics mode this could be a problem.
14690166124Srafanmime314|mm314|mime 314,
14691166124Srafan	am,
14692166124Srafan	cols#80, lines#24,
14693166124Srafan	clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
14694166124Srafan	dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
14695166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1469650276Speter# Microterm mime 340 from University of Wisconsin
14697166124Srafanmm340|mime340|mime 340,
14698166124Srafan	cols#80, lines#24,
14699166124Srafan	clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14700166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14701166124Srafan	dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
14702166124Srafan	el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
14703166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1470450276Speter# This came from University of Wisconsin marked "astro termcap for jooss".
1470550276Speter# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
1470650276Speter# also added <rmam>/<smam> based  on the init string -- esr)
14707166124Srafanmt4520-rv|micro-term 4520 reverse video,
14708166124Srafan	am, hs, msgr, xenl, xon,
14709166124Srafan	cols#80, it#8, lines#24, wsl#80,
14710166124Srafan	bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
14711166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
14712166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
14713166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
14714166124Srafan	cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
14715166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
14716166124Srafan	fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
14717166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
14718166124Srafan	is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
14719166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
14720166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
14721166124Srafan	ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
14722166124Srafan	ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
14723166124Srafan	rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
14724166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
14725166124Srafan	tbc=\E[g, tsl=\E[25;1H,
1472650276Speter
1472750276Speter# Fri Aug  5 08:11:57 1983
1472850276Speter# This entry works for the ergo 4000 with the following setups:
1472950276Speter# ansi,wraparound,newline disabled, xon/xoff disabled in both
1473050276Speter# setup a & c.
14731166124Srafan#
1473250276Speter# WARNING!!! There are multiple versions of ERGO 4000 microcode
14733166124Srafan# Be advised that very early versions DO NOT WORK RIGHT !!
1473450276Speter# Microterm does have a ROM exchange program- use it or lose big
1473550276Speter# (ergo400: added <rmam>/<smam> based on the init string -- esr)
14736166124Srafanergo4000|microterm ergo 4000,
14737166124Srafan	da, db, msgr,
14738166124Srafan	cols#80, lines#66,
14739166124Srafan	bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
14740166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
14741166124Srafan	dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
14742166124Srafan	el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>,
14743166124Srafan	is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
14744166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
14745166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
14746166124Srafan	lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
14747166124Srafan	rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
14748166124Srafan	smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
14749166124Srafan	smso=\E[7m$<20>,
1475050276Speter
14751166124Srafan#### NCR
1475250276Speter#
1475350276Speter# NCR's terminal group was merged with AT&T's when AT&T bought the company.
1475450276Speter# For what happened to that group, see the ADDS section.
1475550276Speter#
1475650276Speter# There is an NCR4103 terminal that's just a re-badged Wyse-50.
1475750276Speter#
1475850276Speter
1475950276Speter# The following vendor-supplied termcaps were captured from the Boundless
1476050276Speter# Technologies site, 8 March 1998.  I removed all-upper-case names that were
1476150276Speter# identical, except for case, to lower-case ones.  I also uncommented the acsc
1476250276Speter# capabilities.X
1476350276Speter#
1476462449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1476550276Speter# DEC vt200/300 with color capabilities added.
14766166124Srafanncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14767166124Srafan	colors#8, pairs#64,
14768166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14769166124Srafan	use=ncr260vt300an,
1477062449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1477150276Speter# DEC vt200/300 with color capabilities added.
14772166124Srafanncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14773166124Srafan	colors#8, pairs#64,
14774166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14775166124Srafan	use=ncr260vt300wan,
1477662449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1477762449Speter# DEC vt200/300 with color capabilities added.
14778166124Srafanncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
14779166124Srafan	colors#8, pairs#64,
14780166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14781166124Srafan	use=ncr260vt300pp,
1478250276Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1478350276Speter# DEC vt200/300 with color capabilities added.
14784166124Srafanncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
14785166124Srafan	colors#8, pairs#64,
14786166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14787166124Srafan	use=ncr260vt300wpp,
1478850276Speter# This definition for ViewPoint supports several attributes.  This means
1478950276Speter# that it has magic cookies (extra spaces where the attributes begin).
1479050276Speter# Some applications do not function well with magic cookies.  The System
14791166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1479250276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
14793166124Srafan# attributes can be removed.
14794166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1479550276Speter# restored if needed.
14796166124Srafanncr260vppp|NCR 2900_260 viewpoint,
14797166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
14798166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
14799166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
14800166124Srafan	cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
14801166124Srafan	cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
14802166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
14803166124Srafan	dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, ed=\Ek$<2>,
14804166124Srafan	el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, hts=\E1,
14805166124Srafan	il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
14806166124Srafan	is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14807166124Srafan	kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
14808166124Srafan	kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
14809166124Srafan	kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
14810166124Srafan	kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
14811166124Srafan	kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
14812166124Srafan	kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
14813166124Srafan	kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
14814166124Srafan	kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
14815166124Srafan	kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
14816166124Srafan	kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
14817166124Srafan	kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
14818166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
14819166124Srafan	nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
14820166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
14821166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14822166124Srafan	sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
14823166124Srafan	smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
14824166124Srafanncr260vpwpp|NCR 2900_260 viewpoint wide mode,
14825166124Srafan	cols#132,
14826166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
14827166124Srafan	is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14828166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14829166124Srafan	use=ncr260vppp,
14830166124Srafanncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
14831166124Srafan	am, hs, mir, msgr, xenl, xon,
14832166124Srafan	cols#80, lines#24, nlab#32,
14833166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14834166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14835166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14836166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
14837166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14838166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14839166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14840166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14841166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14842166124Srafan	ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
14843166124Srafan	fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
14844166124Srafan	hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
14845166124Srafan	il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
14846166124Srafan	invis=\E[8m,
14847166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14848166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14849166124Srafan	kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
14850166124Srafan	knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>,
14851166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
14852166124Srafan	rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
14853166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14854166124Srafan	sc=\E7,
14855166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14856166124Srafan	sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
14857166124Srafan	smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
14858166124Srafan	tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
14859166124Srafanncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
14860166124Srafan	cols#132,
14861166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14862166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14863166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14864166124Srafan	use=ncr260vt100an,
14865166124Srafanncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
14866166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14867166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14868166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14869166124Srafan	kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
14870166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
14871166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14872166124Srafan	smkx=\E=, use=ncr260vt100an,
14873166124Srafanncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
14874166124Srafan	cols#132,
14875166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14876166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14877166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14878166124Srafan	use=ncr260vt100pp,
14879166124Srafanncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
14880166124Srafan	am, hs, mir, msgr, xenl, xon,
14881166124Srafan	cols#80, lines#24, nlab#32,
14882166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14883166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14884166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14885166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
14886166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14887166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14888166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14889166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14890166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14891166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
14892166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
14893166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
14894166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
14895166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14896166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14897166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
14898166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
14899166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
14900166124Srafan	kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~,
14901166124Srafan	kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~,
14902166124Srafan	kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~,
14903166124Srafan	kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
14904166124Srafan	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
14905166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
14906166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
14907166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
14908166124Srafan	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
14909166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
14910166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14911166124Srafan	sc=\E7,
14912166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14913166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
14914166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
14915166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
14916166124Srafan	use=vt220+keypad,
14917166124Srafanncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
14918166124Srafan	cols#132,
14919166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14920166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
14921166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
14922166124Srafan	use=ncr260vt200an,
14923166124Srafanncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
14924166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14925166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14926166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14927166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
14928166124Srafan	use=ncr260vt200an,
14929166124Srafanncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
14930166124Srafan	cols#132,
14931166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14932166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14933166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14934166124Srafan	use=ncr260vt200pp,
14935166124Srafanncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
14936166124Srafan	am, hs, mir, msgr, xenl, xon,
14937166124Srafan	cols#80, lines#24, nlab#32,
14938166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14939166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14940166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14941166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
14942166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14943166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14944166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14945166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14946166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14947166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
14948166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
14949166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
14950166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
14951166124Srafan	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>,
14952166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14953166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
14954166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
14955166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
14956166124Srafan	kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~,
14957166124Srafan	kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~,
14958166124Srafan	kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~,
14959166124Srafan	kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~,
14960166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
14961166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14962166124Srafan	krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
14963166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>,
14964166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
14965166124Srafan	rmul=\E[24m,
14966166124Srafan	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>,
14967166124Srafan	sc=\E7,
14968166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14969166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
14970166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
14971166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
14972166124Srafan	use=vt220+keypad,
14973166124Srafanncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
14974166124Srafan	cols#132,
14975166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14976166124Srafan	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>,
14977166124Srafan	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>,
14978166124Srafan	use=ncr260vt300an,
14979166124Srafanncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
14980166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14981166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14982166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
14983166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
14984166124Srafan	use=ncr260vt300an,
14985166124SrafanNCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
14986166124Srafan	cols#132,
14987166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14988166124Srafan	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>,
14989166124Srafan	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>,
14990166124Srafan	use=ncr260vt300pp,
14991166124Srafan# This terminfo file contains color capabilities for the Wyse325 emulation of
1499250276Speter# the NCR 2900/260C color terminal.  Because of the structure of the command
1499350276Speter# (escape sequence) used to set color attributes, one of the fore/background
1499450276Speter# colors must be preset to a given value. I have set the background color to
1499550276Speter# black.  The user can change this setup by altering the last section of the
14996166124Srafan# 'setf' definition.  The escape sequence to set color attributes is
14997166124Srafan#		ESC d y <foreground_color> <background_color> 1
1499850276Speter# In addition, the background color can be changed through the desk accessories.
14999166124Srafan# The capablitiy 'op' sets colors to green on black (default combination).
1500050276Speter#
1500150276Speter# NOTE:  The NCR Unix System Administrator's Shell will not function properly
1500250276Speter# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
15003166124Srafan#	    capability and recompile if you wish to have it included.
1500450276Speter#
15005166124Srafanncr260wy325pp|NCR 2900_260 wyse 325,
15006166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15007166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32,
15008166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15009166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
15010166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15011166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15012166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15013166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
15014166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15015166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15016166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15017166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
15018166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
15019166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
15020166124Srafan	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
15021166124Srafan	kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
15022166124Srafan	kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
15023166124Srafan	kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
15024166124Srafan	kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
15025166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
15026166124Srafan	kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15027166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15028166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15029166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15030166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15031166124Srafan	setb=\s,
15032166124Srafan	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>,
15033166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
15034166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15035166124Srafan	tsl=\EF,
15036166124Srafanncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
15037166124Srafan	cols#132,
15038166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15039166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15040166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15041166124Srafan	use=ncr260wy325pp,
1504250276Speter# This definition for Wyse 350 supports several attributes.  This means
1504350276Speter# that it has magic cookies (extra spaces where the attributes begin).
1504450276Speter# Some applications do not function well with magic cookies.  The System
15045166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1504650276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15047166124Srafan# attributes can be removed.
15048166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1504950276Speter# restored if needed.
1505050276Speter# In addition, color capabilities have been added to this file.  The drawback,
1505150276Speter# however, is that the background color has to be black.  The foreground colors
15052166124Srafan# are numbered 0 through 15.
1505350276Speter#
1505450276Speter# NOTE:  The NCR Unix System Administrator's Shell does not function properly
1505550276Speter# 	    with the 'pairs' capability defined as below.  If you wish to
15056166124Srafan#	    have it included, Un-comment it and recompile (using 'tic').
1505750276Speter#
15058166124Srafanncr260wy350pp|NCR 2900_260 wyse 350,
15059166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15060166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1,
15061166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15062166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15063166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15064166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
15065166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15066166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
15067166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15068166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15069166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15070166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15071166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15072166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15073166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15074166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15075166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15076166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15077166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15078166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15079166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15080166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
15081166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15082166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15083166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15084166124Srafan	setb=\s,
15085166124Srafan	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>,
15086166124Srafan	sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
15087166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15088166124Srafan	tsl=\EF,
15089166124Srafanncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
15090166124Srafan	cols#132,
15091166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15092166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15093166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15094166124Srafan	use=ncr260wy350pp,
1509550276Speter# This definition for Wyse 50+ supports several attributes.  This means
1509650276Speter# that it has magic cookies (extra spaces where the attributes begin).
1509750276Speter# Some applications do not function well with magic cookies.  The System
15098166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1509950276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15100166124Srafan# attributes can be removed.
15101166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1510250276Speter# restored if needed.
15103166124Srafan# (ncr260wy50+pp: originally contained commented-out
1510450276Speter# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
15105166124Srafanncr260wy50+pp|NCR 2900_260 wyse 50+,
15106166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15107166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
15108166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
15109166124Srafan	cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15110166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15111166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
15112166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15113166124Srafan	ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
15114166124Srafan	ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
15115166124Srafan	invis=\EG1,
15116166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15117166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15118166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15119166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15120166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15121166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15122166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15123166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15124166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15125166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15126166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15127166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15128166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15129166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15130166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15131166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15132166124Srafan	sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
15133166124Srafan	smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
15134166124Srafanncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
15135166124Srafan	cols#132,
15136166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15137166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15138166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15139166124Srafan	use=ncr260wy50+pp,
15140166124Srafanncr260wy60pp|NCR 2900_260 wyse 60,
15141166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15142166124Srafan	cols#80, lines#24, nlab#32,
15143166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15144166124Srafan	cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
15145166124Srafan	cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15146166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15147166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15148166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
15149166124Srafan	ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
15150166124Srafan	invis=\EG1,
15151166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15152166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15153166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
15154166124Srafan	kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
15155166124Srafan	kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15156166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
15157166124Srafan	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
15158166124Srafan	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
15159166124Srafan	kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
15160166124Srafan	kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
15161166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15162166124Srafan	kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15163166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
15164166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15165166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15166166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15167166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
15168166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
15169166124Srafan	tsl=\EF,
15170166124Srafanncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
15171166124Srafan	cols#132,
15172166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15173166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15174166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15175166124Srafan	use=ncr260wy60pp,
15176166124Srafanncr160vppp|NCR 2900_160 viewpoint,
15177166124Srafan	use=ncr260vppp,
15178166124Srafanncr160vpwpp|NCR 2900_160 viewpoint wide mode,
15179166124Srafan	use=ncr260vpwpp,
15180166124Srafanncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
15181166124Srafan	use=ncr260vt100an,
15182166124Srafanncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
15183166124Srafan	use=ncr260vt100pp,
15184166124Srafanncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
15185166124Srafan	use=ncr260vt100wan,
15186166124Srafanncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
15187166124Srafan	use=ncr260vt100wpp,
15188166124Srafanncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
15189166124Srafan	use=ncr260vt200an,
15190166124Srafanncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
15191166124Srafan	use=ncr260vt200pp,
15192166124Srafanncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
15193166124Srafan	use=ncr260vt200wan,
15194166124Srafanncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
15195166124Srafan	use=ncr260vt200wpp,
15196166124Srafanncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
15197166124Srafan	use=ncr260vt300an,
15198166124Srafanncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
15199166124Srafan	use=ncr260vt300pp,
15200166124Srafanncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
15201166124Srafan	use=ncr260vt300wan,
15202166124Srafanncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
15203166124Srafan	use=ncr260vt300wpp,
15204166124Srafanncr160wy50+pp|NCR 2900_160 wyse 50+,
15205166124Srafan	use=ncr260wy50+pp,
15206166124Srafanncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
15207166124Srafan	use=ncr260wy50+wpp,
15208166124Srafanncr160wy60pp|NCR 2900_160 wyse 60,
15209166124Srafan	use=ncr260wy60pp,
15210166124Srafanncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
15211166124Srafan	use=ncr260wy60wpp,
15212166124Srafanncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
15213166124Srafan	am, hs, mc5i, mir, msgr, xon,
15214166124Srafan	cols#80, it#8, lines#24, nlab#32,
15215166124Srafan	acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
15216166124Srafan	bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
15217166124Srafan	clear=\E[2J\E[1;1H$<300>, cr=^M,
15218166124Srafan	csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
15219166124Srafan	cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
15220166124Srafan	cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
15221166124Srafan	cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
15222166124Srafan	cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
15223166124Srafan	dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
15224166124Srafan	ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
15225166124Srafan	enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
15226166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
15227166124Srafan	ind=\ED,
15228166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
15229166124Srafan	kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
15230166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
15231166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
15232166124Srafan	rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
15233166124Srafan	rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
15234166124Srafan	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>,
15235166124Srafan	sc=\E7,
15236166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
15237166124Srafan	sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
15238166124Srafan	smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
15239166124Srafan	tsl=\E[>+1$<70>,
15240166124Srafanncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
15241166124Srafan	cols#132,
15242166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
15243166124Srafan	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>,
15244166124Srafan	use=ncrvt100an,
1524550276Speter#
1524650276Speter# Vendor-supplied NCR termcaps end here
1524750276Speter
1524850276Speter# NCR7900 DIP switches:
1524950276Speter#
1525050276Speter# Switch A:
1525150276Speter# 1-4 - Baud Rate
1525250276Speter# 5   - Parity (Odd/Even)
1525350276Speter# 6   - Don't Send or Do Send Spaces
1525450276Speter# 7   - Parity Enable
1525550276Speter# 8   - Stop Bits (One/Two)
15256166124Srafan#
1525750276Speter# Switch B:
1525850276Speter# 1   - Upper/Lower Shift
1525950276Speter# 2   - Typewriter Shift
1526050276Speter# 3   - Half Duplex / Full Duplex
1526150276Speter# 4   - Light/Dark Background
1526250276Speter# 5-6 - Carriage Return Without / With Line Feed
1526350276Speter# 7   - Extended Mode
1526450276Speter# 8   - Suppress Keyboard Display
15265166124Srafan#
1526650276Speter# Switch C:
1526750276Speter# 1   - End of line entry disabled/enabled
1526850276Speter# 2   - Conversational mode / (Local?) Mode
1526950276Speter# 3   - Control characters displayed / not displayed
1527050276Speter# 4   - (2-wire?) / 4-wire communications
1527150276Speter# 5   - RTS on and off for each character
1527250276Speter# 6   - (50Hz?) / 60 Hz
1527350276Speter# 7   - Exit after level zero diagnostics
1527450276Speter# 8   - RS-232 interface
15275166124Srafan#
1527650276Speter# Switch D:
1527750276Speter# 1   - Reverse Channel (yes / no)
1527850276Speter# 2   - Manual answer (no / yes)
1527950276Speter# 3-4 - Cursor appearance
1528050276Speter# 5   - Communication Rate
1528150276Speter# 6   - Enable / Disable EXT turnoff
1528250276Speter# 7   - Enable / Disable CR turnoff
1528350276Speter# 8   - Enable / Disable backspace
1528450276Speter#
1528562449Speter# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
1528662449Speter# reverse, blink, dim, and underline) the appropriate number of bits (by
1528762449Speter# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
1528862449Speter# '@' is (effectively) "or"ed with each attribute to generate the proper third
1528962449Speter# character in the <ESC>0 sequence.  The <sgr> string implements the following
1529062449Speter# equation:
1529162449Speter#
1529262449Speter# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
1529362449Speter# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
1529462449Speter#
1529562449Speter#	Where:  P1 <==> Standout attribute parameter
1529662449Speter#		P2 <==> Underline attribute parameter
1529762449Speter#		P3 <==> Reverse attribute parameter
1529862449Speter#		P4 <==> Blink attribute parameter
1529962449Speter#		P5 <==> Dim attribute parameter
1530050276Speter# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
15301166124Srafanncr7900i|ncr7900|ncr 7900 model 1,
15302166124Srafan	am, bw, ul,
15303166124Srafan	cols#80, lines#24, xmc#1,
15304166124Srafan	bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
15305166124Srafan	cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
15306166124Srafan	is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
15307166124Srafan	kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
15308166124Srafan	rmul=\E0@,
15309166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
15310166124Srafan	sgr0=\E0@, smso=\E0Q, smul=\E0`,
15311166124Srafanncr7900iv|ncr 7900 model 4,
15312166124Srafan	am, bw, eslok, hs,
15313166124Srafan	cols#80, lines#24,
15314166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
15315166124Srafan	cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
15316166124Srafan	fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
15317166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
15318166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
15319166124Srafan	khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
15320166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1532162449Speter# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
1532262449Speter#	   The user can enter a CTRL-B to get out of this locked state.
1532362449Speter# In <hpa>, we want to output the character given by the formula:
1532462449Speter#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
15325166124Srafanncr7901|ncr 7901 model,
15326166124Srafan	am, bw, ul,
15327166124Srafan	cols#80, lines#24,
15328166124Srafan	bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
15329166124Srafan	cub1=^H, cud1=^J, cuf1=^F,
15330166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
15331166124Srafan	ed=\Ek, el=\EK,
15332166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
15333166124Srafan	is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
15334166124Srafan	khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
15335166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
15336166124Srafan	sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
15337166124Srafan	vpa=\013%p1%{64}%+%c,
1533850276Speter
15339174993Srafan# Newbury Data Recording Limited (Newbury Data)
15340174993Srafan#
15341174993Srafan# Have been manufacturing and reselling  various peripherals for a long time
15342174993Srafan# They don't make terminals anymore, but are still in business (in 2007).
15343174993Srafan# Their e-mail address is at ndsales@newburydata.co.uk
15344174993Srafan# and their post address is:
15345174993Srafan#
15346174993Srafan# Newbury Data Recording Ltd,
15347174993Srafan# Premier Park, Road One,
15348174993Srafan# Winsford, Cheshire, CW7 3PT
15349174993Srafan#
15350174993Srafan# Their technical support is still good, they sent me for free a printed copy
15351174993Srafan# of the 9500 user manual and I got it just 1 week after I first contacted them
15352174993Srafan# (in 2005)!
15353174993Srafan
15354174993Srafan# NDR 9500
15355174993Srafan# Manufactured in the early/mid eighties, behaves almost the same as a
15356174993Srafan# Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
15357174993Srafan# keep the same keyboard layout), add an optional 25-line mode, replace the DIP
15358174993Srafan# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC ! 
15359174993Srafan# 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
15360174993Srafan# recognized:  if you type in "ESC !", the next (third) character is not
15361174993Srafan# echoed, showing that the terminal was actually waiting for a parameter!
15362174993Srafanndr9500|nd9500|Newbury Data 9500,
15363174993Srafan	am, bw, hs, mc5i, mir, msgr, ul, xon,
15364174993Srafan	cols#80, lines#24, wsl#79,
15365174993Srafan	acsc=qKnImAjDwNuLtMvOlBkCxJ, bel=^G, cbt=\EI, civis=\E.0,
15366174993Srafan	clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
15367174993Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
15368174993Srafan	dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
15369174993Srafan	flash=\Eb$<50/>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
15370174993Srafan	ich1=\EQ, il1=\EE, ind=^J, is2=\Ew\E'\EDF\El\Er\EO,
15371174993Srafan	kDC=\Er, kDL=\EO, kEOL=\Et, kIC=\Eq, kcbt=\EI, kclr=^Z,
15372174993Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
15373174993Srafan	ked=\EY, kel=\ET, kent=^M, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15374174993Srafan	kf12=^A`\r, kf13=^Aa\r, kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r,
15375174993Srafan	kf17=^Ae\r, kf18=^Af\r, kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r,
15376174993Srafan	kf21=^Ai\r, kf22=^Aj\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
15377174993Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15378174993Srafan	kich1=\EQ, kil1=\EE, kprt=\EP, mc4=\Ea, mc5=\E`, nel=^_,
15379174993Srafan	pfloc=\E|%{48}%p1%+%c2%p2\031,
15380174993Srafan	pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
15381174993Srafan	rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
15382174993Srafan	sgr=\E%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
15383174993Srafan	sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
15384174993Srafan	tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
15385174993Srafan
15386174993Srafanndr9500-nl|NDR 9500 with no status line,
15387174993Srafan	hs@,
15388174993Srafan	wsl@,
15389174993Srafan	dsl@, fsl@, tsl@, use=ndr9500,
15390174993Srafan
15391174993Srafanndr9500-25|NDR 9500 with 25th line enabled,
15392174993Srafan	lines#25, use=ndr9500,
15393174993Srafan
15394174993Srafanndr9500-25-nl|NDR 9500 with 25 lines and no status line,
15395174993Srafan	lines#25, use=ndr9500-nl,
15396174993Srafan
15397174993Srafanndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink),
15398174993Srafan	msgr@,
15399174993Srafan	xmc#1,
15400174993Srafan	blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
15401174993Srafan	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,
15402174993Srafan	sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
15403174993Srafan
15404174993Srafanndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
15405174993Srafan	lines#25, use=ndr9500-mc,
15406174993Srafan
15407174993Srafanndr9500-mc-nl|NDR 9500 with magic cookies and no status line,
15408174993Srafan	hs@,
15409174993Srafan	wsl@,
15410174993Srafan	dsl@, fsl@, tsl@, use=ndr9500-mc,
15411174993Srafan
15412174993Srafanndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line,
15413174993Srafan	lines#25, use=ndr9500-mc-nl,
15414174993Srafan
1541550276Speter#### Perkin-Elmer (Owl)
1541650276Speter#
1541750276Speter# These are official terminfo entries from within Perkin-Elmer.
1541850276Speter#
1541950276Speter
15420166124Srafanbantam|pe550|pe6100|perkin elmer 550,
15421166124Srafan	OTbs,
15422166124Srafan	cols#80, lines#24,
15423166124Srafan	bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
15424166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15425166124Srafan	el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
15426166124Srafanfox|pe1100|perkin elmer 1100,
15427166124Srafan	OTbs, am,
15428166124Srafan	cols#80, lines#24,
15429166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15430166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15431166124Srafan	ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
15432166124Srafan	home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
15433166124Srafanowl|pe1200|perkin elmer 1200,
15434166124Srafan	OTbs, am, in,
15435166124Srafan	cols#80, lines#24,
15436166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15437166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15438166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
15439166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
15440166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
15441166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
15442166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
15443166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
15444166124Srafanpe1251|pe6300|pe6312|perkin elmer 1251,
15445166124Srafan	am,
15446166124Srafan	cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
15447166124Srafan	bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
15448166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15449166124Srafan	ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
15450166124Srafan	kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
15451166124Srafan	kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1545250276Speter# (pe7000m: this had
15453166124Srafan# 	rmul=\E!\0, smul=\E!\040,
1545450276Speter# which is probably wrong, it collides with kf0
15455166124Srafanpe7000m|perkin elmer 7000 series monochrome monitor,
15456166124Srafan	am,
15457166124Srafan	cols#80, lines#24,
15458166124Srafan	bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
15459166124Srafan	cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
15460166124Srafan	ed=\EJ, el=\EI, home=\EH, ind=^J,
15461166124Srafan	is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
15462166124Srafan	kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
15463166124Srafan	kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
15464166124Srafan	kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
15465166124Srafan	ll=\ES7\s, ri=\ER,
15466166124Srafanpe7000c|perkin elmer 7000 series colour monitor,
15467166124Srafan	is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
15468166124Srafan	rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m,
1546950276Speter
1547050276Speter#### Sperry Univac
1547150276Speter#
1547250276Speter# Sperry Univac has merged with Burroughs to form Unisys.
1547350276Speter#
1547450276Speter
15475166124Srafan# This entry is for the Sperry UTS30 terminal running the TTY
15476166124Srafan# utility under control of CP/M Plus 1R1. The functionality
1547750276Speter# provided is comparable to the DEC vt100.
1547850276Speter# (uts30: I added <rmam>/<smam> based on the init string -- esr)
15479166124Srafanuts30|sperry uts30 with cp/m@1R1,
15480166124Srafan	am, bw, hs,
15481166124Srafan	cols#80, lines#24, wsl#40,
15482166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15483166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
15484166124Srafan	cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
15485166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
15486166124Srafan	cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
15487166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
15488166124Srafan	dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
15489166124Srafan	ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
15490166124Srafan	ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
15491166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
15492166124Srafan	rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
15493166124Srafan	rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
15494166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
15495166124Srafan	sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
15496166124Srafan	smul=\E[4m, tsl=\E], uc=\EPB,
1549750276Speter
1549850276Speter#### Tandem
1549950276Speter#
1550050276Speter# Tandem builds these things for use with its line of fault-tolerant
1550150276Speter# transaction-processing computers.  They aren't generally available
1550250276Speter# on the merchant market, and so are fairly uncommon.
1550350276Speter#
1550450276Speter
15505166124Srafantandem6510|adm3a repackaged by Tandem,
15506166124Srafan	use=adm3a,
1550750276Speter
1550850276Speter# A funny series of terminal that TANDEM uses.  The actual model numbers
1550950276Speter# have a fourth digit after 653 that designates minor variants.  These are
1551050276Speter# natively block-mode and rather ugly, but they have a character mode which
1551150276Speter# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1551250276Speter# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
1551350276Speter# removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
15514166124Srafantandem653|t653x|Tandem 653x multipage terminal,
15515166124Srafan	OTbs, am, da, db, hs,
15516166124Srafan	cols#80, lines#24, wsl#64, xmc#1,
15517166124Srafan	clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
15518166124Srafan	cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
15519166124Srafan	ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
15520166124Srafan	rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1552150276Speter
1552250276Speter#### Tandy/Radio Shack
1552350276Speter#
1552450276Speter# Tandy has a line of VDTs distinct from its microcomputers.
1552550276Speter#
1552650276Speter
15527166124Srafandmterm|deskmate terminal,
15528166124Srafan	am, bw,
15529166124Srafan	cols#80, lines#24,
15530166124Srafan	bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
15531166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
15532166124Srafan	cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
15533166124Srafan	ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
15534166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
15535166124Srafan	kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
15536166124Srafan	khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
15537166124Srafan	lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
15538166124Srafan	use=adm+sgr,
15539166124Srafandt100|dt-100|Tandy DT-100 terminal,
15540166124Srafan	xon,
15541166124Srafan	cols#80, lines#24, xmc#1,
15542166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15543166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15544166124Srafan	csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
15545166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
15546166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
15547166124Srafan	il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
15548166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
15549166124Srafan	kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
15550166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
15551166124Srafan	knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
15552166124Srafan	lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
15553166124Srafan	sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
15554166124Srafandt100w|dt-100w|Tandy DT-100 terminal (wide mode),
15555166124Srafan	cols#132, use=dt100,
15556166124Srafandt110|Tandy DT-110 emulating ansi,
15557166124Srafan	xon,
15558166124Srafan	cols#80, lines#24,
15559166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15560166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15561166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
15562166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
15563166124Srafan	dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
15564166124Srafan	ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
15565166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
15566166124Srafan	kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
15567166124Srafan	kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
15568166124Srafan	khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
15569166124Srafan	lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
15570166124Srafan	lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
15571166124Srafan	smacs=^N, smso=\E[7m, smul=\E[4m,
15572166124Srafanpt210|TRS-80 PT-210 printing terminal,
15573166124Srafan	hc, os,
15574166124Srafan	cols#80,
15575166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1557650276Speter
1557750276Speter#### Tektronix (tek)
1557850276Speter#
15579166124Srafan# Tektronix tubes are graphics terminals.  Most of them use modified
1558050276Speter# oscilloscope technology incorporating a long-persistence green phosphor,
1558150276Speter# and support vector graphics on a main screen with an attached "dialogue
1558250276Speter# area" for interactive text.
1558350276Speter#
1558450276Speter
15585166124Srafantek|tek4012|tektronix 4012,
15586166124Srafan	OTbs, os,
15587166124Srafan	cols#75, lines#35,
15588166124Srafan	bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
15589166124Srafan	ff=\014$<1000>, is2=\E^O,
1559050276Speter# (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15591166124Srafantek4013|tektronix 4013,
15592166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
15593166124Srafantek4014|tektronix 4014,
15594166124Srafan	cols#81, lines#38,
15595166124Srafan	is2=\E\017\E9, use=tek4012,
1559650276Speter# (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15597166124Srafantek4015|tektronix 4015,
15598166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
15599166124Srafantek4014-sm|tektronix 4014 in small font,
15600166124Srafan	cols#121, lines#58,
15601166124Srafan	is2=\E\017\E\:, use=tek4014,
1560250276Speter# (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15603166124Srafantek4015-sm|tektronix 4015 in small font,
15604166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1560550276Speter# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
1560650276Speter#
1560750276Speter# You need to have "stty nl2" in effect.  Some versions of tset(1) know
1560850276Speter# how to set it for you.
1560950276Speter#
1561050276Speter# It's got the Magic Cookie problem around stand-out mode.  If you can't
1561150276Speter# live with Magic Cookie, remove the :so: and :se: fields and do without
1561250276Speter# reverse video.  If you like reverse video stand-out mode but don't want
1561350276Speter# it to flash, change the letter 'H' to 'P' in the :so: field.
15614166124Srafantek4023|tektronix 4023,
15615166124Srafan	OTbs, am,
15616166124Srafan	OTdN#4, cols#80, lines#24, vt#4, xmc#1,
15617166124Srafan	OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
15618166124Srafan	cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
15619166124Srafan	rmso=^_@, smso=^_P,
1562050276Speter# It is recommended that you run the 4025 at 4800 baud or less;
1562150276Speter# various bugs in the terminal appear at 9600.  It wedges at the
1562250276Speter# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
1562350276Speter# on keyboard don't work.  You have to hit BREAK twice to get
1562450276Speter# one break at any speed - this is a documented feature.
15625166124Srafan# Can't use cursor motion because it's memory relative, and
15626166124Srafan# because it only works in the workspace, not the monitor.
1562750276Speter# Same for home. Likewise, standout only works in the workspace.
15628166124Srafan#
15629166124Srafan# <el> was commented out since vi and rogue seem to work better
1563050276Speter# simulating it with lots of spaces!
15631166124Srafan#
15632166124Srafan# <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
1563350276Speter# and didn't seem necessary.
1563450276Speter#
15635166124Srafantek4024|tek4025|tek4027|tektronix 4024/4025/4027,
15636166124Srafan	OTbs, am, da, db,
15637166124Srafan	cols#80, it#8, lines#34, lm#0,
15638166124Srafan	bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
15639166124Srafan	cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
15640166124Srafan	cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
15641166124Srafan	cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
15642166124Srafan	dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
15643166124Srafan	ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
15644166124Srafan	il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
15645166124Srafan	ind=^F^J,
15646166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15647166124Srafan	rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
15648166124Srafan	smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
15649166124Srafantek4025-17|tek 4025 17 line window,
15650166124Srafan	lines#17, use=tek4025,
15651166124Srafantek4025-17-ws|tek 4025 17 line window in workspace,
15652166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
15653166124Srafan	rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
15654166124Srafan	smso=\037att e\r, use=tek4025-17,
15655166124Srafantek4025-ex|tek4027-ex|tek 4025/4027 w/!,
15656166124Srafan	is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
15657166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1565850276Speter# Tektronix 4025a
1565950276Speter# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
1566050276Speter# The following status modes are assumed for normal operation (replace the
1566150276Speter# initial "!" by whatever the current command character is):
1566250276Speter#	!COM 29			# NOTE: changes command character to GS (^])
1566350276Speter#	^]DUP
1566450276Speter#	^]ECH R
1566550276Speter#	^]EOL
1566650276Speter#	^]RSS T
1566750276Speter#	^]SNO N
1566850276Speter#	^]STO 9 17 25 33 41 49 57 65 73
1566950276Speter# Other modes may be set according to communication requirements.
1567050276Speter# If the command character is inadvertently changed, termcap can't restore it.
1567150276Speter# Insert-character cannot be made to work on both top and bottom rows.
1567250276Speter# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1567350276Speter# There also seems to be a problem with vertical motion, perhaps involving
1567450276Speter# delete/insert-line, following a typed carriage return.  This terminal sucks.
1567550276Speter# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1567650276Speter# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
1567750276Speter# work any more. -- esr)
15678166124Srafantek4025a|Tektronix 4025A,
15679166124Srafan	OTbs, OTpt, am, bw, da, db, xon,
15680166124Srafan	cols#80, it#8, lines#34,
15681166124Srafan	bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
15682166124Srafan	cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
15683166124Srafan	cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
15684166124Srafan	cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
15685166124Srafan	dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
15686166124Srafan	el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
15687166124Srafan	il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
15688166124Srafan	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;,
15689166124Srafan	tbc=\035sto;,
1569050276Speter# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1569150276Speter# Here's the command file that I use to get rogue to work on the 4025.
1569250276Speter# It should work with any program using the old curses (e.g. it better
1569350276Speter# not try to scroll, or cursor addressing won't work.  Also, you can't
1569450276Speter# see the cursor.)
1569550276Speter# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
15696166124Srafantek4025-cr|tek 4025 for curses and rogue,
15697166124Srafan	OTbs, am,
15698166124Srafan	cols#80, it#8, lines#33,
15699166124Srafan	clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
15700166124Srafan	cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
15701166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15702166124Srafan	rmcup=\037wor 0, smcup=\037wor 33h,
1570350276Speter# next two lines commented out since curses only allows 128 chars, sigh.
1570450276Speter#	: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:\
1570550276Speter#	: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:
15706166124Srafantek4025ex|4025ex|4027ex|tek 4025 w/!,
15707166124Srafan	is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
15708166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
15709166124Srafantek4105|tektronix 4105,
15710166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15711166124Srafan	cols#79, it#8, lines#29,
15712166124Srafan	acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
15713166124Srafan	clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
15714166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
15715166124Srafan	dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
15716166124Srafan	il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
15717166124Srafan	is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
15718166124Srafan	kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
15719166124Srafan	rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
15720166124Srafan	rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
15721166124Srafan	smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
15722166124Srafan	smul=\E[=5;<2m, tbc=\E[1g,
1572350276Speter
1572450276Speter# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
15725166124Srafantek4105-30|4015 emulating 30 line vt100,
15726166124Srafan	am, mir, msgr, xenl, xon,
15727166124Srafan	cols#80, it#8, lines#30, vt#3,
15728166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15729166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
15730166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15731166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15732166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
15733166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
15734166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
15735166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
15736166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
15737166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
15738166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
15739166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
15740166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
15741166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
15742166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
15743166124Srafan	use=vt100+fnkeys,
1574450276Speter
1574550276Speter# Tektronix 4105 from BRL
1574650276Speter# The following setup modes are assumed for normal operation:
1574750276Speter#	CODE ansi		CRLF no			DABUFFER 141
1574850276Speter#	DAENABLE yes		DALINES 30		DAMODE replace
1574950276Speter#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
1575050276Speter#	FLAGGING input		INSERTREPLACE replace	LFCR no
1575150276Speter#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
1575250276Speter#	SELECTCHARSET G1 0	TABS -2
1575350276Speter# Other setup modes may be set for operator convenience or communication
1575450276Speter# requirements; I recommend
1575550276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1575650276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1575750276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1575850276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
1575950276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1576050276Speter#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
1576150276Speter#	XMTDELAY 0
1576250276Speter# and factory color maps.  After setting these modes, save them with NVSAVE. No
1576350276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1576450276Speter# "IC" cannot be used in combination with "im" & "ei".
1576550276Speter# "tek4105a" is just a guess:
15766166124Srafantek4105a|Tektronix 4105,
15767166124Srafan	OTbs, OTpt, msgr, xon,
15768166124Srafan	OTkn#8, cols#80, it#8, lines#30, vt#3,
15769166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15770166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15771166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15772166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15773166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15774166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15775166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15776166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15777166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15778166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15779166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15780166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15781166124Srafan	lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15782166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15783166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15784166124Srafan	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>,
15785166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15786166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1578750276Speter
1578850276Speter#
1578950276Speter# Tektronix 4106/4107/4109 from BRL
1579050276Speter# The following setup modes are assumed for normal operation:
1579150276Speter#	CODE ansi		COLUMNMODE 80		CRLF no
1579250276Speter#	DABUFFER 141		DAENABLE yes		DALINES 32
1579350276Speter#	DAMODE replace		DAVISIBILITY yes	ECHO no
1579450276Speter#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
1579550276Speter#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
1579650276Speter#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
1579750276Speter#	TABS -2
1579850276Speter# Other setup modes may be set for operator convenience or communication
1579950276Speter# requirements; I recommend
1580050276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1580150276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1580250276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1580350276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
1580450276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1580550276Speter#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
1580650276Speter#	XMTDELAY 0
1580750276Speter# and factory color maps.  After setting these modes, save them with NVSAVE.  No
1580850276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1580950276Speter# "IC" cannot be used in combination with "im" & "ei".
15810166124Srafantek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
15811166124Srafan	msgr, xon,
15812166124Srafan	cols#80, it#8, lines#32, vt#3,
15813166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15814166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15815166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15816166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15817166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15818166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15819166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15820166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15821166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15822166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15823166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15824166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15825166124Srafan	lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15826166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15827166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15828166124Srafan	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>,
15829166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15830166124Srafan	smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
1583150276Speter
15832166124Srafantek4107|tek4109|tektronix terminals 4107 4109,
15833166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15834166124Srafan	cols#79, it#8, lines#29,
15835166124Srafan	bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
15836166124Srafan	bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
15837166124Srafan	cub1=^H, cud1=^J, cuf1=\EC,
15838166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
15839166124Srafan	dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
15840166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
15841166124Srafan	rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
15842166124Srafan	rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
15843166124Srafan	sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0,
15844166124Srafan	sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
15845166124Srafan	smul=\E%!1\E[4m$<2>\E%!0,
1584650276Speter# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
1584750276Speter# see the note attached to tek4207.
15848166124Srafantek4207-s|Tektronix 4207 with sysline but no memory,
15849166124Srafan	eslok, hs,
15850166124Srafan	dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
15851166124Srafan	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,
15852166124Srafan	is2=\E7\E[?6l\E[2K\E[?6h\E8,
15853166124Srafan	tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1585450276Speter
1585550276Speter# The 4110 series may be a wonderful graphics series, but they make the 4025
1585650276Speter# look good for screen editing.  In the dialog area, you can't move the cursor
1585750276Speter# off the bottom line.  Out of the dialog area, ^K moves it up, but there
1585850276Speter# is no way to scroll.
15859166124Srafan#
15860166124Srafan# Note that there is a floppy for free from Tek that makes the
1586150276Speter# 4112 emulate the vt52 (use the vt52 termcap). There is also
1586250276Speter# an expected enhancement that will use ANSI standard sequences.
15863166124Srafan#
15864166124Srafan# 4112 in non-dialog area pretending to scroll. It really wraps
1586550276Speter# but vi is said to work (more or less) in this mode.
15866166124Srafan#
1586750276Speter# 'vi' works reasonably well with this entry.
1586850276Speter#
15869166124Srafanotek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
15870166124Srafan	am,
15871166124Srafan	cols#80, lines#34,
15872166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
15873166124Srafan	rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1587450276Speter# The 4112 with the ANSI compatibility enhancement
15875166124Srafantek4112|tek4114|tektronix 4110 series,
15876166124Srafan	OTbs, am, db,
15877166124Srafan	cols#80, lines#34,
15878166124Srafan	cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
15879166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
15880166124Srafan	ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
15881166124Srafan	ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
15882166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
15883166124Srafantek4112-nd|4112 not in dialog area,
15884166124Srafan	OTns,
15885166124Srafan	cuu1=^K, use=tek4112,
15886166124Srafantek4112-5|4112 in 5 line dialog area,
15887166124Srafan	lines#5, use=tek4112,
1588850276Speter# (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
1588950276Speter# removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
1589050276Speter# Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
1589150276Speter# previously \0410 and \0411 sequences...I don't *think* they were supposed
1589250276Speter# to be 4-digit octal -- esr)
15893166124Srafantek4113|tektronix 4113 color graphics with 5 line dialog area,
15894166124Srafan	OTbs, am, da, eo,
15895166124Srafan	cols#80, lines#5,
15896166124Srafan	clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
15897166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
15898166124Srafan	is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
15899166124Srafantek4113-34|tektronix 4113 color graphics with 34 line dialog area,
15900166124Srafan	lines#34,
15901166124Srafan	is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
15902166124Srafan# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
1590350276Speter# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
1590450276Speter# :vb: needs enough delay to let you see the background color being toggled.
15905166124Srafantek4113-nd|tektronix 4113 color graphics with no dialog area,
15906166124Srafan	OTbs, am, eo,
15907166124Srafan	cols#80, it#8, lines#34,
15908166124Srafan	clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
15909166124Srafan	cvvis=\ELZ\EKA0,
15910166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
15911166124Srafan	home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
15912166124Srafan	ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1591350276Speter# This entry is from Tek. Inc.  (Brian Biehl)
1591450276Speter# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
15915166124Srafanotek4115|Tektronix 4115,
15916166124Srafan	OTbs, am, da, db, eo,
15917166124Srafan	cols#80, it#8, lines#34,
15918166124Srafan	cbt=\E[Z, clear=\E[H\E[2J,
15919166124Srafan	cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
15920166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
15921166124Srafan	cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
15922166124Srafan	el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
15923166124Srafan	il1=\E[L,
15924166124Srafan	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,
15925166124Srafan	kbs=^H, ri=\EM, rmam=\E[?7l,
15926166124Srafan	rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
15927166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
15928166124Srafan	smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
15929166124Srafan	smul=\E[4m,
15930166124Srafantek4115|newer tektronix 4115 entry with more ANSI capabilities,
15931166124Srafan	am, xon,
15932166124Srafan	cols#80, lines#34,
15933166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
15934166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15935166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15936166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
15937166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
15938166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
15939166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
15940166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
15941166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
15942166124Srafan	rmso=\E[m, rmul=\E[m,
15943166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
15944166124Srafan	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
15945166124Srafan	vpa=\E[%p1%{1}%+%dd,
1594650276Speter# The tek4125 emulates a vt100 incorrectly - the scrolling region
1594750276Speter# command is ignored.  The following entry replaces <csr> with the needed
1594850276Speter# <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
1594950276Speter# chokes on; and adds a lot of initialization for the tek dialog area.
1595050276Speter# Note that this entry uses all 34 lines and sets the cursor color to green.
1595150276Speter# Steve Jacobson 8/85
1595250276Speter# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
1595350276Speter# commented out, <smir>=\E1 because there's no <rmir>  -- esr)
15954166124Srafantek4125|tektronix 4125,
15955166124Srafan	lines#34,
15956166124Srafan	csr@, dl1=\E[1M, il1=\E[1L,
15957166124Srafan	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,
15958166124Srafan	rc@, sc@, smkx=\E=, use=vt100,
1595950276Speter
1596050276Speter# From: <jcoker@ucbic>
1596150276Speter# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
1596250276Speter# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1596350276Speter# note that if jcoker wasn't confused you may be able to use this one.
1596450276Speter# I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
15965166124Srafantek4207|Tektronix 4207 graphics terminal with memory,
15966166124Srafan	am, bw, mir, msgr, ul, xenl,
15967166124Srafan	cols#80, it#8, lines#32,
15968166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
15969166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15970166124Srafan	cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
15971166124Srafan	el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
15972166124Srafan	il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
15973166124Srafan	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,
15974166124Srafan	kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
15975166124Srafan	rev=\E[7m, ri=\E[T,
15976166124Srafan	rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
15977166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
15978166124Srafan	smul=\E[4m, tbc=\E[1g,
1597950276Speter
1598050276Speter# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1598150276Speter# (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
1598250276Speter# Tab had been given as \E2I,that must be the tab-set capability -- esr)
15983166124Srafantek4404|tektronix 4404,
15984166124Srafan	OTbs,
15985166124Srafan	cols#80, it#8, lines#32,
15986166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
15987166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
15988166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
15989166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
15990166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
15991166124Srafan	rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
15992166124Srafan	rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
15993166124Srafan	smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
15994166124Srafan	smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1599550276Speter# Some unknown person wrote:
15996166124Srafan# I added the is string - straight Unix has ESC ; in the login
15997166124Srafan# string which sets a ct8500 into monitor mode (aka 4025 snoopy
15998166124Srafan# mode). The is string here cleans up a few things (but not
1599950276Speter# everything).
16000166124Srafanct8500|tektronix ct8500,
16001166124Srafan	am, bw, da, db,
16002166124Srafan	cols#80, lines#25,
16003166124Srafan	bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
16004166124Srafan	cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
16005166124Srafan	dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
16006166124Srafan	il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
16007166124Srafan	rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1600850276Speter
1600950276Speter# Tektronix 4205 terminal.
1601050276Speter#
1601150276Speter# am is not defined because the wrap around occurs not when the char.
1601250276Speter# is placed in the 80'th column, but when we are attempting to type
1601350276Speter# the 81'st character on the line.  (esr: hmm, this is like the vt100
1601450276Speter# version of xenl, perhaps am + xenl would work!)
1601550276Speter#
1601650276Speter# Bold, dim, and standout are simulated by colors and thus not allowed
1601750276Speter# with colors.  The tektronix color table is mapped into the RGB color
1601850276Speter# table by setf/setb. All colors are reset to factory specifications by oc.
16019166124Srafan# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1602050276Speter# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
1602150276Speter# interval then maps into pre-defined value.
16022166124Srafantek4205|tektronix 4205,
16023166124Srafan	ccc, mir, msgr,
16024166124Srafan	colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
16025166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16026166124Srafan	bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
16027166124Srafan	clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
16028166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
16029166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16030166124Srafan	dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
16031166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
16032166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
16033166124Srafan	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,
16034166124Srafan	invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
16035166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
16036166124Srafan	kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
16037166124Srafan	kf7=\ES,
16038166124Srafan	oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
16039166124Srafan	op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
16040166124Srafan	rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
16041166124Srafan	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%;,
16042166124Srafan	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%;,
16043166124Srafan	sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
16044166124Srafan	smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
16045166124Srafan	smul=\E[4m, tbc=\E[1g,
1604650276Speter
1604750276Speter#### Teletype (tty)
1604850276Speter#
1604950276Speter# These are the hardcopy Teletypes from before AT&T bought the company,
1605050276Speter# clattering electromechanical dinosaurs in Bakelite cases that printed on
1605150276Speter# pulpy yellow roll paper.  If you remember these you go back a ways.
1605250276Speter# Teletype-branded VDTs are listed in the AT&T section.
1605350276Speter#
1605450276Speter# The earliest UNIXes were designed to use these clunkers; nroff and a few
1605550276Speter# other programs still default to emitting codes for the Model 37.
1605650276Speter#
1605750276Speter
16058166124Srafantty33|tty35|model 33 or 35 teletype,
16059166124Srafan	hc, os, xon,
16060166124Srafan	cols#72,
16061166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
16062166124Srafantty37|model 37 teletype,
16063166124Srafan	OTbs, hc, os, xon,
16064166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
16065166124Srafan	ind=^J,
1606650276Speter
1606750276Speter# There are known to be at least three flavors of the tty40, all seem more
1606850276Speter# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
1606950276Speter# awful braindamage, such as printing a visible newline indicator after each
1607050276Speter# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
1607150276Speter# braindamaged but has hope and is described here.  The 40-4 is a 3270
1607250276Speter# lookalike and beyond hope.  The terminal has visible bell but I don't know
1607350276Speter# it - it's null here to prevent it from showing the BL character.
1607450276Speter# There is an \EG in <nl> because of a bug in old vi (if stty says you have
1607550276Speter# a "newline" style terminal (-crmode) vi figures all it needs is nl
1607650276Speter# to get crlf, even if <cr> is not ^M.)
1607750276Speter# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
16078166124Srafantty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
16079166124Srafan	OTbs, xon,
16080166124Srafan	cols#80, lines#24,
16081166124Srafan	clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
16082166124Srafan	cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
16083166124Srafan	ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
16084166124Srafan	ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
16085166124Srafan	kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
16086166124Srafan	rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
16087166124Srafantty43|model 43 teletype,
16088166124Srafan	OTbs, am, hc, os, xon,
16089166124Srafan	cols#132,
16090166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1609150276Speter
1609250276Speter#### Tymshare
1609350276Speter#
1609450276Speter
1609550276Speter# You can add <is2=\E<> to put this 40-column mode, though I can't
1609650276Speter# for the life of me think why anyone would want to.
16097166124Srafanscanset|sc410|sc415|Tymshare Scan Set,
16098166124Srafan	am, bw, msgr,
16099166124Srafan	cols#80, lines#24,
16100166124Srafan	acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
16101166124Srafan	cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16102166124Srafan	cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
16103166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
16104166124Srafan	mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
1610550276Speter
1610650276Speter#### Volker-Craig (vc)
1610750276Speter#
1610850276Speter# If you saw a Byte Magazine cover with a terminal on it during the early
1610950276Speter# 1980s, it was probably one of these.  Carl Helmers liked them because
1611050276Speter# they could crank 19.2 and were cheap (that is, he liked them until he tried
1611150276Speter# to program one...)
1611250276Speter#
1611350276Speter
1611450276Speter# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
1611550276Speter# every other linefeed.
16116166124Srafanvc303|vc103|vc203|volker-craig 303,
16117166124Srafan	OTbs, OTns, am,
16118166124Srafan	cols#80, lines#24,
16119166124Srafan	bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
16120166124Srafan	cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
16121166124Srafan	kcuu1=^N, ll=\017$<1>W,
16122166124Srafanvc303a|vc403a|volker-craig 303a,
16123166124Srafan	clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
16124166124Srafan	home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
1612550276Speter# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
16126166124Srafanvc404|volker-craig 404,
16127166124Srafan	OTbs, am,
16128166124Srafan	cols#80, lines#24,
16129166124Srafan	bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16130166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
16131166124Srafan	ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
16132166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
16133166124Srafanvc404-s|volker-craig 404 w/standout mode,
16134166124Srafan	cud1=^J, rmso=^O, smso=^N, use=vc404,
1613550276Speter# From: <wolfgang@cs.sfu.ca>
1613650276Speter# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
16137166124Srafanvc414|vc414h|Volker-Craig 414H in sane escape mode.,
16138166124Srafan	OTbs, am,
16139166124Srafan	cols#80, lines#24,
16140166124Srafan	clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
16141166124Srafan	cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
16142166124Srafan	dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
16143166124Srafan	ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
16144166124Srafan	kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
16145166124Srafan	kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
16146166124Srafan	lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
16147166124Srafan	rmso=\E^_, smso=\E^Y,
16148166124Srafanvc415|volker-craig 415,
16149166124Srafan	clear=^L, use=vc404,
1615050276Speter
1615150276Speter######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1615250276Speter#
1615350276Speter
1615450276Speter#### IBM PC and clones
1615550276Speter#
1615650276Speter
1615750276Speter# The pcplot IBM-PC terminal emulation program is really messed up. It is
1615850276Speter# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
1615950276Speter# doesn't support scrolling regions, ignores add line commands, and ignores
1616050276Speter# delete line commands. Consequently, the resulting behavior looks like a
1616150276Speter# crude adm3a-type terminal.
1616250276Speter# Steve Jacobson 8/85
16163166124Srafanpcplot|pc-plot terminal emulation program,
16164166124Srafan	xenl@,
16165166124Srafan	csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
1616650276Speter# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
1616750276Speter# I've found that my KayPro II, running MDM730, continues to emulate an
1616850276Speter# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
1616950276Speter# system the following termcap entry works well:
1617050276Speter# I have noticed a couple of minor glitches, but nothing I can't work
1617150276Speter# around. (I added two capabilities from the BRL entry -- esr)
16172166124Srafankaypro|kaypro2|kaypro II,
16173166124Srafan	OTbs, am,
16174166124Srafan	cols#80, lines#24,
16175166124Srafan	bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
16176166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
16177166124Srafan	el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
1617850276Speter
1617950276Speter# From IBM, Thu May  5 19:35:27 1983
1618062449Speter# (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
16181166124Srafanibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
16182166124Srafan	OTbs, am,
16183166124Srafan	cols#80, lines#24,
16184166124Srafan	bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
16185166124Srafan	cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
1618650276Speter
16187166124Srafanibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
16188166124Srafan	OTbs, am, bw, eo, hs, km, msgr, ul,
16189166124Srafan	cols#80, it#8, lines#24,
16190166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
16191166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
16192166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16193166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16194166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
16195166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
16196166124Srafan	indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
16197166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
16198166124Srafan	kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
16199166124Srafan	kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
16200166124Srafan	kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
16201166124Srafan	ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
16202166124Srafan	rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
16203166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
16204166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1620550276Speter
1620650276Speter#### Apple II
1620750276Speter#
16208166124Srafan# Apple II firmware console first, then various 80-column cards and
1620950276Speter# terminal emulators.  For two cents I'd toss all these in the UFO file
1621050276Speter# along with the 40-column apple entries.
1621150276Speter#
1621250276Speter
1621350276Speter# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
1621450276Speter#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
1621550276Speter#		function of TIC, not the firmware.
16216166124Srafan#	The clear key on a IIgs will do something like clear-screen,
1621750276Speter#		depending on what you're in.
16218166124SrafanappleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
16219166124Srafan	OTbs, am, bw, eo, msgr,
16220166124Srafan	cols#80, it#8, lines#24,
16221166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
16222166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16223166124Srafan	home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
16224166124Srafan	kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
16225166124Srafan	smso=^O,
1622650276Speter# Apple //e with 80-column card, entry from BRL
1622750276Speter# The modem interface is permitted to discard LF (maybe DC1), otherwise
1622850276Speter# passing characters to the 80-column firmware via COUT (PR#3 assumed).
1622950276Speter# Auto-wrap does not work right due to newline scrolling delay, which also
1623050276Speter# requires that you set "stty cr2".
1623150276Speter# Note: Cursor addressing is only available via the Pascal V1.1 entry,
1623250276Speter# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
1623350276Speter# using a terminal emulation program instead of the built-in firmware.
16234166124Srafanapple2e|Apple //e,
16235166124Srafan	bw, msgr,
16236166124Srafan	cols#80, lines#24,
16237166124Srafan	bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
16238166124Srafan	ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
16239166124Srafan	is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
16240166124Srafan	nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16241166124Srafan	smso=^O,
1624250276Speter# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
1624350276Speter# 4.20, with incoming and outgoing terminals both on 0, emulation On.
16244166124Srafanapple2e-p|Apple //e via Pascal,
16245166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
16246166124Srafan	kcud1=^J, use=apple2e,
1624750276Speter# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
1624850276Speter# Enable DC3/DC1 flow control with "stty ixon -ixany".
16249166124Srafanapple-ae|ASCII Express,
16250166124Srafan	OTbs, am, bw, msgr, nxon, xon,
16251166124Srafan	cols#80, it#8, lines#24,
16252166124Srafan	bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16253166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16254166124Srafan	home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
16255166124Srafan	kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16256166124Srafan	smso=^O,
16257166124SrafanappleII|apple ii plus,
16258166124Srafan	OTbs, am,
16259166124Srafan	cols#80, it#8, lines#24,
16260166124Srafan	clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
16261166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
16262166124Srafan	ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
16263166124Srafan	is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
16264166124Srafan	smso=^O,
1626550276Speter# Originally by Gary Ford 21NOV83
1626650276Speter# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
16267166124Srafanapple-80|apple II with smarterm 80 col,
16268166124Srafan	OTbs, am, bw,
16269166124Srafan	cols#80, lines#24,
16270166124Srafan	cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
16271166124Srafan	cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
16272166124Srafan	ed=\013$<10*/>, el=\035$<10/>, home=^Y,
16273166124Srafanapple-soroc|apple emulating soroc 120,
16274166124Srafan	am,
16275166124Srafan	cols#80, lines#24,
16276166124Srafan	bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
16277166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
16278166124Srafan	home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1627950276Speter# From Peter Harrison, Computer Graphics Lab, San Francisco
1628050276Speter#   ucbvax!ucsfmis!harrison  .....uucp
1628150276Speter#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
1628250276Speter# "These two work.  If you don't have the inverse video chip for the
1628350276Speter# Apple with videx then remove the :so: and :se: fields."
1628450276Speter# (apple-videx: this used to be called DaleApple -- esr)
16285166124Srafanapple-videx|Apple with videx videoterm 80 column board with inverse video,
16286166124Srafan	OTbs, am, xenl,
16287166124Srafan	cols#80, it#8, lines#24,
16288166124Srafan	clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
16289166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16290166124Srafan	home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
16291166124Srafan	rmso=^Z2, sgr0=^Z2, smso=^Z3,
1629250276Speter# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
1629350276Speter#			      Apple Cat ][ 212 modem, + more all
1629450276Speter#			      controlled by ASCII Express: Pro.
1629550276Speter# From Dave Shaver <isucs1!shaver>
16296166124Srafanapple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
16297166124Srafan	OTbs, am, eo, xt,
16298166124Srafan	cols#80, lines#24,
16299166124Srafan	acsc=, clear=^L, cuf1=^\,
16300166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16301166124Srafan	flash=^W35^W06, home=^Y,
16302166124Srafan	is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
16303166124Srafan	rmso=^N, smso=^O,
16304166124Srafanapple-uterm|Ultraterm for Apple micros,
16305166124Srafan	OTbs, am, eo, xt,
16306166124Srafan	cols#80, lines#24,
16307166124Srafan	acsc=, clear=^L, cuf1=^\,
16308166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16309166124Srafan	home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
1631050276Speter# from trwrba!bwong (Bradley W. Wong):
1631150276Speter#
1631250276Speter# This entry assumes that you are using an apple with the UCSD Pascal
1631350276Speter# language card.  SYSTEM.MISCINFO is assumed to be the same as that
1631450276Speter# supplied with the standard apple except that screenwidth should be set
1631550276Speter# using SETUP to 80 columns.  Note that the right arrow in not mapped in
1631650276Speter# this termcap entry.  This is because that key, on the Apple, transmits
1631750276Speter# a ^U and would thus preempt the more useful "up" function of vi.
1631850276Speter#
1631950276Speter# HMH 2/23/81
16320166124Srafanapple80p|80-column apple with Pascal card,
16321166124Srafan	am, bw,
16322166124Srafan	cols#80, lines#24,
16323166124Srafan	clear=^Y^L, cuf1=^\\:,
16324166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16325166124Srafan	home=^Y, kcub1=^H,
1632650276Speter#
1632750276Speter# Apple II+ equipped with Videx 80 column card
1632850276Speter#
1632950276Speter# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
1633050276Speter# manually converted by D A Gwyn
1633150276Speter#
1633250276Speter# DO NOT use any terminal emulation with this data base, it works directly
1633350276Speter# with the Videx card.  This has been tested with vi 1200 baud and works fine.
1633450276Speter#
1633550276Speter# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
1633650276Speter# 1 screen, while in R2 ^U doesn't.
1633750276Speter# For inverse alternate character set add:
1633850276Speter#	<smacs>=^O:<rmacs>=^N:
1633950276Speter# (apple-v: added it#8 -- esr)
16340166124Srafanapple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
16341166124Srafan	am, xenl,
16342166124Srafan	cols#80, it#8, lines#24,
16343166124Srafan	bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
16344166124Srafan	cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
16345166124Srafan	cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
16346166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
16347166124Srafan	khome=^Y, rmso=^Z2, smso=^Z3,
16348166124Srafanapple-videx3|vapple|Apple II with 80 col card,
16349166124Srafan	OTbs, am,
16350166124Srafan	cols#80, lines#24,
16351166124Srafan	clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16352166124Srafan	cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
16353166124Srafan	kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
16354166124Srafan	kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH,
1635550276Speter#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
16356166124Srafanaepro|Apple II+ running ASCII Express Pro--vt52,
16357166124Srafan	OTbs,
16358166124Srafan	cols#80, lines#24,
16359166124Srafan	clear=\014$<300/>, cuf1=\EC,
16360166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
16361166124Srafan	el=\EK, home=\EH,
1636250276Speter# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
16363166124Srafanapple-vm80|ap-vm80|apple with viewmax-80,
16364166124Srafan	OTbs,
16365166124Srafan	cols#80, lines#24,
16366166124Srafan	clear=\014$<300/>, cuf1=^\\:,
16367166124Srafan	cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
16368166124Srafan	ed=\013$<300/>, el=^], home=\031$<200/>,
1636950276Speter
1637050276Speter#### Apple Lisa & Macintosh
1637150276Speter#
1637250276Speter
1637350276Speter# (lisa: changed <cvvis> to <cnorm> -- esr)
16374166124Srafanlisa|apple lisa console display (black on white),
16375166124Srafan	OTbs, am, eo, msgr,
16376166124Srafan	cols#88, it#8, lines#32,
16377166124Srafan	acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
16378166124Srafan	cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
16379166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
16380166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
16381166124Srafan	is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
16382166124Srafan	kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
16383166124Srafan	sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
16384166124Srafanliswb|apple lisa console display (white on black),
16385166124Srafan	is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
16386166124Srafan	smso=\E[m, smul=\E[4m, use=lisa,
1638750276Speter
1638850276Speter# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
1638950276Speter# <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
1639050276Speter#
1639150276Speter# These entries assume that the 'Auto Wraparound' is enabled.
1639250276Speter# Xon-Xoff flow control should also be enabled.
1639350276Speter#
1639450276Speter# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
1639550276Speter# settings are in non-volatile memory and don't need to be reset upon login.
1639650276Speter# Also setting the number of columns glitches the screen annoyingly.
1639750276Speter# You can type "reset" to get them set.
1639850276Speter#
16399166124Srafanlisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
16400166124Srafan	OTbs, OTpt, am, xenl, xon,
16401166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
16402166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
16403166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16404166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16405166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
16406166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
16407166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
16408166124Srafan	kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
16409166124Srafan	rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16410166124Srafan	rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
16411166124Srafan	sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
16412166124Srafan	tbc=\E[3g,
1641350276Speter# Lisaterm in 132 column ("wide") mode.
16414166124Srafanlisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
16415166124Srafan	cols#132,
16416166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
1641750276Speter# Although MacTerminal has insert/delete line, it is commented out here
1641850276Speter# since it is much faster and cleaner to use the "lock scrolling region"
1641950276Speter# method of inserting and deleting lines due to the MacTerminal implementation.
1642050276Speter# Also, the "Insert/delete ch" strings have an extra character appended to them
1642150276Speter# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
1642250276Speter# supported by MacTerminal.
16423166124Srafanmac|macintosh|Macintosh with MacTerminal,
16424166124Srafan	xenl,
16425166124Srafan	OTdN#30,
16426166124Srafan	blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
1642750276Speter# Lisaterm in 132 column ("wide") mode.
16428166124Srafanmac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
16429166124Srafan	cols#132, use=mac,
1643050276Speter
1643197049Speter# The AppKit Terminal.app descriptions all have names beginning with
1643297049Speter# "nsterm". Note that the statusline (-s) versions use the window
1643397049Speter# titlebar as a phony status line, and may produce warnings during
1643497049Speter# compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
1643597049Speter# these warnings, or even ignore these entries entirely. Apps which
1643697049Speter# need to position the cursor or do other fancy stuff inside the status
1643797049Speter# line won't work with these entries. They're primarily useful for
1643897049Speter# programs like Pine which provide simple notifications in the status
1643997049Speter# line. Please note that non-ASCII characters don't work right in the
1644097049Speter# status line, since Terminal.app incorrectly interprets their Unicode
1644197049Speter# codepoints as MacRoman codepoints.
16442166124Srafan#
1644397049Speter# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
1644497049Speter#   "nsterm" to comply with the name length and case conventions and
1644597049Speter#   limitations of various software packages [notably Solaris terminfo
1644697049Speter#   and UNIX.] A single Apple_Terminal alias is retained for
1644797049Speter#   backwards-compatbility.
16448166124Srafan#
1644997049Speter# * Added function key support (F1-F4). These only work in Terminal.app
1645097049Speter#   version 51, hopefully the capabilities won't cause problems for people
1645197049Speter#   using version 41.
16452166124Srafan#
1645397049Speter# * Added "full color" (-c) entries which support the 16-color mode in
1645497049Speter#   version 51.
16455166124Srafan#
1645697049Speter# * By default, version 51 uses UTF-8 encoding with broken altcharset
1645797049Speter#   support, so "ASCII" (-7) entries without altcharset support were
1645897049Speter#   added.
1645997049Speter
1646097049Speter# nsterm - AppKit Terminal.app
1646176726Speter#
1646297049Speter# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
1646397049Speter# Terminal.app. It is a partial VT100 emulation with some xterm-like
1646497049Speter# extensions. This terminfo was written to describe versions 41
1646597049Speter# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
1646697049Speter# version 10.1) of Terminal.app.
1646776726Speter#
1646897049Speter# Terminal.app runs under the Mac OS X Quartz windowing system (and
1646997049Speter# other AppKit-supported windowing systems.)  On the Mac OS X machine I
1647097049Speter# use, the executable for Terminal.app is:
1647197049Speter# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
1647276726Speter#
1647397049Speter# If you're looking for a description of the full-screen system
1647497049Speter# console which runs under Apple's Darwin operating system on PowerPC
1647597049Speter# platforms, see the "xnuppc" entry instead.
1647676726Speter#
1647797049Speter# There were no function keys in version 41. In version 51, there are
1647897049Speter# four working function keys (F1, F2, F3 and F4.) The function keys
1647997049Speter# are included in all of these entries.
1648097049Speter#
1648197049Speter# It does not support mouse pointer position reporting. Under some
1648297049Speter# circumstances the cursor can be positioned using option-click; this
1648397049Speter# works by comparing the cursor position and the selected position,
1648497049Speter# and simulating enough cursor-key presses to move the cursor to the
1648597049Speter# selected position. This technique fails in all but the simplest
1648697049Speter# applications.
1648797049Speter#
1648897049Speter# It provides partial ANSI color support (background colors interacted
1648997049Speter# badly with bold in version 41, though, as reflected in :ncv:.) The
1649097049Speter# monochrome (-m) entries are useful if you've disabled color support
1649197049Speter# or use a monochrome monitor. The full color (-c) entries are useful
1649297049Speter# in version 51, which doesn't exhibit the background color bug. They
1649397049Speter# also enable an xterm-compatible 16-color mode.
1649497049Speter#
1649576726Speter# The configurable titlebar is set using xterm-compatible sequences;
1649697049Speter# it is used as a status bar in the statusline (-s) entries. Its width
1649797049Speter# depends on font sizes and window sizes, but 50 characters seems to
1649897049Speter# be the default for an 80x24 window.
1649976726Speter#
1650076726Speter# The MacRoman character encoding is used for some of the alternate
1650197049Speter# characters in the "MacRoman" entries; the "ASCII" (-7) entries
1650297049Speter# disable alternate character set support entirely, and the "VT100"
1650397049Speter# (-acs) entries rely instead on Terminal.app's own buggy VT100
1650497049Speter# graphics emulation, which seems to think the character encoding is
1650597049Speter# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
1650697049Speter# are useful in Terminal.app version 51, which supports UTF-8 and
1650797049Speter# other ASCII-compatible character encodings but does not correctly
1650897049Speter# implement VT100 graphics; once VT100 graphics are correctly
1650997049Speter# implemented in Terminal.app, the "VT100" (-acs) entries should be
1651097049Speter# usable in any ASCII-compatible character encoding [except perhaps
1651197049Speter# in UTF-8, where some experts argue for disallowing alternate
1651297049Speter# characters entirely.]
1651376726Speter#
1651476726Speter# Terminal.app reports "vt100" as the terminal type, but exports
1651576726Speter# several environment variables which may aid detection in a shell
1651697049Speter# profile (i.e. .profile or .login):
1651776726Speter#
1651876726Speter# TERM=vt100
1651976726Speter# TERM_PROGRAM=Apple_Terminal
1652097049Speter# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
1652197049Speter# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
1652297049Speter#
1652397049Speter# For example, the following Bourne shell script would detect the
1652497049Speter# correct terminal type:
1652597049Speter#
1652697049Speter# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
1652797049Speter# then
1652897049Speter#     export TERM
1652997049Speter#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
1653097049Speter#     then
1653197049Speter#         TERM="nsterm"
1653297049Speter#     else
1653397049Speter#         TERM="nsterm-c-7"
1653497049Speter#     fi
1653597049Speter# fi
1653697049Speter#
1653797049Speter# In a C shell derivative, this would be accomplished by:
1653897049Speter#
1653997049Speter# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
1654097049Speter#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
1654197049Speter#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
1654297049Speter#              setenv TERM "nsterm"
1654397049Speter#          else
1654497049Speter#              setenv TERM "nsterm-c-7"
1654597049Speter#          endif
1654697049Speter#     endif
1654797049Speter# endif
1654876726Speter
1654997049Speter# The '+' entries are building blocks
16550166124Srafannsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset,
16551166124Srafan	am, bw, msgr, xenl, xon,
16552166124Srafan	cols#80, it#8, lines#24,
16553166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
16554166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16555166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16556166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16557166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
16558166124Srafan	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
16559166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16560166124Srafan	kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
16561166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16562166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
16563166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
16564166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16565166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq, use=vt100+pfkeys,
1656676726Speter
16567166124Srafannsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset,
16568166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16569166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16570166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16571166124Srafan	smacs=^N, use=nsterm+7,
1657297049Speter
16573166124Srafannsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
16574166124Srafan	acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,
16575166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16576166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16577166124Srafan	smacs=^N, use=nsterm+7,
1657897049Speter
16579166124Srafannsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
16580166124Srafan	hs,
16581166124Srafan	wsl#50,
16582166124Srafan	dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
1658397049Speter
16584166124Srafannsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
16585166124Srafan	op=\E[0m, use=ibm+16color,
1658697049Speter
16587166124Srafannsterm+c41|AppKit Terminal.app v41 color support,
16588166124Srafan	colors#8, ncv#37, pairs#64,
16589166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1659097049Speter
1659197049Speter# These are different combinations of the building blocks
1659297049Speter
1659397049Speter# ASCII charset (-7)
16594166124Srafannsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome),
16595166124Srafan	use=nsterm+7,
1659697049Speter
16597166124Srafannsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline),
16598166124Srafan	use=nsterm+s, use=nsterm+7,
1659997049Speter
16600166124Srafannsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color),
16601166124Srafan	use=nsterm+c41, use=nsterm+7,
1660297049Speter
16603166124Srafannsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color),
16604166124Srafan	use=nsterm+c, use=nsterm+7,
1660597049Speter
16606166124Srafannsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline),
16607166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+7,
1660897049Speter
16609166124Srafannsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline),
16610166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+7,
1661197049Speter
1661297049Speter# VT100 alternate-charset (-acs)
16613166124Srafannsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome),
16614166124Srafan	use=nsterm+acs,
1661597049Speter
16616166124Srafannsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline),
16617166124Srafan	use=nsterm+s, use=nsterm+acs,
1661897049Speter
16619166124Srafannsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color),
16620166124Srafan	use=nsterm+c41, use=nsterm+acs,
1662197049Speter
16622166124Srafannsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color),
16623166124Srafan	use=nsterm+c, use=nsterm+acs,
1662497049Speter
16625166124Srafannsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline),
16626166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+acs,
1662797049Speter
16628166124Srafannsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline),
16629166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+acs,
1663097049Speter
1663197049Speter# MacRoman charset
16632166124Srafannsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome),
16633166124Srafan	use=nsterm+mac,
1663497049Speter
16635166124Srafannsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline),
16636166124Srafan	use=nsterm+s, use=nsterm+mac,
1663797049Speter
16638166124Srafannsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color),
16639166124Srafan	use=nsterm+c41, use=nsterm+mac,
1664097049Speter
16641166124Srafannsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color),
16642166124Srafan	use=nsterm+c, use=nsterm+mac,
1664397049Speter
16644166124Srafannsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline),
16645166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+mac,
1664697049Speter
16647166124Srafannsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline),
16648166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+mac,
1664997049Speter
16650166124Srafan
16651166124Srafan# This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
16652166124Srafan# and D P Schreber comparing to nsterm-c-s-acs.
16653166124Srafan#
16654166124Srafan# D P Schreber notes that $TERM can be set in Terminal.app, e.g.,
16655166124Srafan#	defaults write com.apple.Terminal TermCapString nsterm-c-s-acs
16656166124Srafan# and that it is not set in Terminal's preferences dialog.
16657166124Srafannsterm-16color|AppKit Terminal.app v100.1.8 with MacOS X 10.3.9,
16658166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
16659166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
16660166124Srafan	knp=\E[6~, kpp=\E[5~, use=nsterm-c-s-acs,
16661166124Srafan
1666297049Speter# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
1666397049Speter#
1666497049Speter# On PowerPC platforms, Apple's Darwin operating system uses a
1666597049Speter# full-screen system console derived from a NetBSD framebuffer
1666697049Speter# console. It is an ANSI-style terminal, and is not really VT-100
1666797049Speter# compatible.
1666897049Speter#
1666997049Speter# Under Mac OS X, this is the system console driver used while in
1667097049Speter# single-user mode [reachable by holding down Command-S during the
1667197049Speter# boot process] and when logged in using console mode [reachable by
1667297049Speter# typing ">console" at the graphical login prompt.]
1667397049Speter#
1667497049Speter# If you're looking for a description of the Terminal.app terminal
1667597049Speter# emulator which runs under the Mac OS X Quartz windowing system (and
1667697049Speter# other AppKit-supported windowing systems,) see the "nsterm"
1667797049Speter# entry instead.
1667897049Speter#
1667997049Speter# NOTE: Under Mac OS X version 10.1, the default login window does not
1668097049Speter# prompt for user name, instead requiring an icon to be selected from
1668197049Speter# a list of known users. Since the special ">console" login is not in
1668297049Speter# this list, you must make one of two changes in the Login Window
1668397049Speter# panel of the Login section of System Prefs to make the special
1668497049Speter# ">console" login accessible. The first option is to enable 'Show
1668597049Speter# "Other User" in list for network users', which will add a special
1668697049Speter# "Other..." icon to the graphical login panel. Selecting "Other..."
1668797049Speter# will present the regular graphical login prompt. The second option
1668897049Speter# is to change the 'Display Login Window as:' setting to 'Name and
1668997049Speter# password entry fields', which replaces the login panel with a
1669097049Speter# graphical login prompt.
1669197049Speter#
1669297049Speter# There are no function keys, at least not in Darwin 1.3.
1669397049Speter#
1669497049Speter# It has no mouse support.
1669597049Speter#
1669697049Speter# It has full ANSI color support, and color combines correctly with
1669797049Speter# all three supported attributes: bold, inverse-video and underline.
1669897049Speter# However, bold colored text is almost unreadable (bolding is
1669997049Speter# accomplished using shifting and or-ing, and looks smeared) so bold
1670097049Speter# has been excluded from the list of color-compatible attributes
1670197049Speter# [using (ncv)]. The monochrome entry (-m) is useful if you use a
1670297049Speter# monochrome monitor.
1670397049Speter#
1670497049Speter# There is one serious bug with this terminal emulation's color
1670597049Speter# support: repositioning the cursor onto a cell with non-matching
1670697049Speter# colors obliterates that cell's contents, replacing it with a blank
1670797049Speter# and displaying a colored cursor in the "current" colors. There is
1670897049Speter# no complete workaround at present [other than using the monochrome
1670997049Speter# (-m) entries,] but removing the (msgr) capability seemed to help.
1671097049Speter#
1671197049Speter# The "standout" chosen was simple reverse-video, although a colorful
1671297049Speter# standout might be more aesthetically pleasing. Similarly, the bold
1671397049Speter# chosen is the terminal's own smeared bold, although a simple
1671497049Speter# color-change might be more readable. The color-bold (-b) entries
1671597049Speter# uses magenta colored text for bolding instead. The fancy color (-f
1671697049Speter# and -f2) entries use color for bold, standout and underlined text
1671797049Speter# (underlined text is still underlined, though.)
1671897049Speter#
1671997049Speter# Apparently the terminal emulator does support a VT-100-style
1672097049Speter# alternate character set, but all the alternate character set
1672197049Speter# positions have been left blank in the font. For this reason, no
1672297049Speter# alternate character set capabilities have been included in this
1672397049Speter# description. The console driver appears to be ASCII-only, so (enacs)
1672497049Speter# has been excluded [although the VT-100 sequence does work.]
1672597049Speter#
1672697049Speter# The default Mac OS X and Darwin installation reports "vt100" as the
1672797049Speter# terminal type, and exports no helpful environment variables. To fix
1672897049Speter# this, change the "console" entry in /etc/ttys from "vt100" to
1672997049Speter# "xnuppc-WxH", where W and H are the character dimensions of your
1673097049Speter# console (see below.)
1673197049Speter#
1673297049Speter# The font used by the terminal emulator is apparently one originally
1673397049Speter# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
1673497049Speter# file includes descriptions for the following geometries:
1673597049Speter#
1673697049Speter#     Pixels        Characters   Entry Name (append -m for monochrome)
1673797049Speter#    -------------------------------------------------------------------
1673897049Speter#     640x400       80x25        xnuppc-80x25
1673997049Speter#     640x480       80x30        xnuppc-80x30
1674097049Speter#     720x480       90x30        xnuppc-90x30
1674197049Speter#     800x600       100x37       xnuppc-100x37
1674297049Speter#     896x600       112x37       xnuppc-112x37
1674397049Speter#     1024x640      128x40       xnuppc-128x40
1674497049Speter#     1024x768      128x48       xnuppc-128x48
1674597049Speter#     1152x768      144x48       xnuppc-144x48
1674697049Speter#     1280x1024     160x64       xnuppc-160x64
1674797049Speter#     1600x1024     200x64       xnuppc-200x64
1674897049Speter#     1600x1200     200x75       xnuppc-200x75
1674997049Speter#     2048x1536     256x96       xnuppc-256x96
1675097049Speter#
1675197049Speter# The basic "xnuppc" entry includes no size information, and the
1675297049Speter# emulator includes no reporting capability, so you'll be at the mercy
1675397049Speter# of the TTY device (which reports incorrectly on my hardware.) The
1675497049Speter# color-bold entries do not include size information.
1675597049Speter
1675697049Speter# The '+' entries are building blocks
16757166124Srafanxnuppc+basic|Darwin PowerPC Console basic capabilities,
16758166124Srafan	am, bce, mir, xenl,
16759166124Srafan	it#8,
16760166124Srafan	bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
16761166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16762166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16763166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K,
16764166124Srafan	el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177,
16765166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
16766166124Srafan	rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m,
16767166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
16768166124Srafan	sc=\E7,
16769166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16770166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16771166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+keypad,
1677297049Speter
16773166124Srafanxnuppc+c|Darwin PowerPC Console ANSI color support,
16774166124Srafan	colors#8, ncv#32, pairs#64,
16775166124Srafan	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1677676726Speter
16777166124Srafanxnuppc+b|Darwin PowerPC Console color-bold support,
16778166124Srafan	ncv#32,
16779166124Srafan	bold=\E[35m,
16780166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16781166124Srafan	use=xnuppc+basic,
1678276726Speter
16783166124Srafanxnuppc+f|Darwin PowerPC Console fancy color support,
16784166124Srafan	ncv#35,
16785166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%?%p3%t;7%;m,
16786166124Srafan	smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b,
1678776726Speter
16788166124Srafanxnuppc+f2|Darwin PowerPC Console alternate fancy color support,
16789166124Srafan	ncv#35,
16790166124Srafan	bold=\E[33m,
16791166124Srafan	sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%?%p3%t;7%;m,
16792166124Srafan	smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic,
1679397049Speter
1679497049Speter# Building blocks for specific screen sizes
16795166124Srafanxnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels),
16796166124Srafan	cols#80, lines#25,
1679797049Speter
16798166124Srafanxnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels),
16799166124Srafan	cols#80, lines#30,
1680097049Speter
16801166124Srafanxnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels),
16802166124Srafan	cols#90, lines#30,
1680397049Speter
16804166124Srafanxnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels),
16805166124Srafan	cols#100, lines#37,
1680697049Speter
16807166124Srafanxnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels),
16808166124Srafan	cols#112, lines#37,
1680997049Speter
16810166124Srafanxnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels),
16811166124Srafan	cols#128, lines#40,
1681297049Speter
16813166124Srafanxnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels),
16814166124Srafan	cols#128, lines#48,
1681597049Speter
16816166124Srafanxnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels),
16817166124Srafan	cols#144, lines#48,
1681897049Speter
16819166124Srafanxnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels),
16820166124Srafan	cols#160, lines#64,
1682197049Speter
16822166124Srafanxnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels),
16823166124Srafan	cols#200, lines#64,
1682497049Speter
16825166124Srafanxnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels),
16826166124Srafan	cols#200, lines#75,
1682797049Speter
16828166124Srafanxnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels),
16829166124Srafan	cols#256, lines#96,
1683097049Speter
1683197049Speter# These are different combinations of the building blocks
1683297049Speter
16833166124Srafanxnuppc-m|darwin-m|Darwin PowerPC Console (monochrome),
16834166124Srafan	use=xnuppc+basic,
1683597049Speter
16836166124Srafanxnuppc|darwin|Darwin PowerPC Console (color),
16837166124Srafan	use=xnuppc+c, use=xnuppc+basic,
1683897049Speter
16839166124Srafanxnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold),
16840166124Srafan	use=xnuppc+b,
1684197049Speter
16842166124Srafanxnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold),
16843166124Srafan	use=xnuppc+b, use=xnuppc+c,
1684497049Speter
16845166124Srafanxnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome),
16846166124Srafan	use=xnuppc+f,
1684797049Speter
16848166124Srafanxnuppc-f|darwin-f|Darwin PowerPC Console (fancy color),
16849166124Srafan	use=xnuppc+f, use=xnuppc+c,
1685097049Speter
16851166124Srafanxnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome),
16852166124Srafan	use=xnuppc+f2,
1685397049Speter
16854166124Srafanxnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color),
16855166124Srafan	use=xnuppc+f2, use=xnuppc+c,
1685697049Speter
1685797049Speter# Combinations for specific screen sizes
16858166124Srafanxnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25,
16859166124Srafan	use=xnuppc+80x25, use=xnuppc+basic,
1686097049Speter
16861166124Srafanxnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25,
16862166124Srafan	use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic,
1686397049Speter
16864166124Srafanxnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30,
16865166124Srafan	use=xnuppc+80x30, use=xnuppc+basic,
1686697049Speter
16867166124Srafanxnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30,
16868166124Srafan	use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic,
1686997049Speter
16870166124Srafanxnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30,
16871166124Srafan	use=xnuppc+90x30, use=xnuppc+basic,
1687297049Speter
16873166124Srafanxnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30,
16874166124Srafan	use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic,
1687597049Speter
16876166124Srafanxnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37,
16877166124Srafan	use=xnuppc+100x37, use=xnuppc+basic,
1687897049Speter
16879166124Srafanxnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37,
16880166124Srafan	use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic,
1688197049Speter
16882166124Srafanxnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37,
16883166124Srafan	use=xnuppc+112x37, use=xnuppc+basic,
1688497049Speter
16885166124Srafanxnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37,
16886166124Srafan	use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic,
1688797049Speter
16888166124Srafanxnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40,
16889166124Srafan	use=xnuppc+128x40, use=xnuppc+basic,
1689097049Speter
16891166124Srafanxnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40,
16892166124Srafan	use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic,
1689397049Speter
16894166124Srafanxnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48,
16895166124Srafan	use=xnuppc+128x48, use=xnuppc+basic,
1689697049Speter
16897166124Srafanxnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48,
16898166124Srafan	use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic,
1689997049Speter
16900166124Srafanxnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48,
16901166124Srafan	use=xnuppc+144x48, use=xnuppc+basic,
1690297049Speter
16903166124Srafanxnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48,
16904166124Srafan	use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic,
1690597049Speter
16906166124Srafanxnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64,
16907166124Srafan	use=xnuppc+160x64, use=xnuppc+basic,
1690897049Speter
16909166124Srafanxnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64,
16910166124Srafan	use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic,
1691197049Speter
16912166124Srafanxnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64,
16913166124Srafan	use=xnuppc+200x64, use=xnuppc+basic,
1691497049Speter
16915166124Srafanxnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64,
16916166124Srafan	use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic,
1691797049Speter
16918166124Srafanxnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75,
16919166124Srafan	use=xnuppc+200x75, use=xnuppc+basic,
1692097049Speter
16921166124Srafanxnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75,
16922166124Srafan	use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic,
1692397049Speter
16924166124Srafanxnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96,
16925166124Srafan	use=xnuppc+256x96, use=xnuppc+basic,
1692697049Speter
16927166124Srafanxnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96,
16928166124Srafan	use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic,
1692997049Speter
1693050276Speter#### Radio Shack/Tandy
1693150276Speter#
1693250276Speter
1693350276Speter# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
1693450276Speter# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
1693550276Speter# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
16936166124Srafancoco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
16937166124Srafan	OTbs, am,
16938166124Srafan	cols#80, it#8, lines#24,
16939166124Srafan	bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
16940166124Srafan	clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
16941166124Srafan	cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
16942166124Srafan	dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
16943166124Srafan	kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
16944166124Srafan	sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
1694550276Speter# (trs2: removed obsolete ":nl=^_:" -- esr)
16946166124Srafantrs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
16947166124Srafan	OTbs, am, msgr,
16948166124Srafan	cols#80, it#8, lines#24,
16949166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
16950166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
16951166124Srafan	el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
16952166124Srafan	kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
1695350276Speter# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1695450276Speter# (This had extension capabilities
1695550276Speter#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
1695650276Speter#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1695750276Speter# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
16958166124Srafantrs16|trs-80 model 16 console,
16959166124Srafan	OTbs, am,
16960166124Srafan	cols#80, it#8, lines#24,
16961166124Srafan	acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
16962166124Srafan	cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
16963166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
16964166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
16965166124Srafan	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
16966166124Srafan	kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
16967166124Srafan	khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
16968166124Srafan	lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
16969166124Srafan	smacs=\ERG, smso=\ERD,
1697050276Speter
1697150276Speter#### Atari ST
1697250276Speter#
1697350276Speter
1697450276Speter# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
16975166124Srafanatari|atari st,
16976166124Srafan	OTbs, am,
16977166124Srafan	cols#80, it#8, lines#25,
16978166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
16979166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
16980166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
16981166124Srafan	kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
1698250276Speter# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
1698350276Speter# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
16984166124Srafanuniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
16985166124Srafan	lines#49,
16986166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H,
16987166124Srafan	use=vt220,
1698850276Speter# MiNT VT52 emulation. 80 columns, 25 rows.
1698950276Speter# MiNT is Now TOS, the operating system which comes with all Ataris now
1699050276Speter# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
1699150276Speter# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1699250276Speter# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
16993166124Srafanst52|Atari ST with VT52 emulation,
16994166124Srafan	am, km,
16995166124Srafan	cols#80, lines#25,
16996166124Srafan	bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
16997166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16998166124Srafan	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
16999166124Srafan	ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
17000166124Srafan	kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
17001166124Srafan	kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
17002166124Srafan	kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
17003166124Srafan	kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
17004166124Srafan	ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
17005166124Srafan	smcup=\Ee, smso=\Ep,
17006166124Srafan
1700750276Speter#### Commodore Business Machines
1700850276Speter#
1700950276Speter# Formerly located in West Chester, PA; went spectacularly bust in 1994
1701050276Speter# after years of shaky engineering and egregious mismanagement.  Made one
1701150276Speter# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
1701250276Speter# C-128, VIC-20).  The C-64 is said to have been the most popular machine
1701350276Speter# ever (most units sold); they can still be found gathering dust in closets
1701450276Speter# everywhere.
1701550276Speter#
1701650276Speter
1701750276Speter# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
1701850276Speter# Added a few more entries, converted caret-type control sequence (^x) entries
1701950276Speter# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
1702062449Speter# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
1702150276Speter#
1702250276Speter# :as:, :ae:			Support for alternate character sets.
1702350276Speter# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
1702450276Speter# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
1702550276Speter#     This one appears to fix a problem I always had with a line ending
1702650276Speter#     at 'width+1' (I think) followed by a blank line in vi. The blank
1702750276Speter#     line tended to disappear and reappear depending on how the screen
1702850276Speter#     was refreshed. Note that this is probably needed only if you use
1702950276Speter#     something like a Dnet Fterm with the window sized to some peculiar
1703050276Speter#     dimension larger than 80 columns.
1703150276Speter# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1703250276Speter# (amiga: removed obsolete :kn#10:,
1703350276Speter# also added empty <acsc> to suppress a warning --esr)
17034166124Srafanamiga|Amiga ANSI,
17035166124Srafan	OTbs, am, bw, xenl,
17036166124Srafan	cols#80, lines#24,
17037166124Srafan	acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
17038166124Srafan	civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
17039166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
17040166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
17041166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17042166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
17043166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
17044166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H,
17045166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~,
17046166124Srafan	kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~,
17047166124Srafan	kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m,
17048166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m,
17049166124Srafan	rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
1705050276Speter
1705150276Speter# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1705250276Speter# (amiga: added empty <acsc> to suppress a warning.
1705350276Speter# I'm told this entry screws up badly with AS225, the Amiga
1705450276Speter# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
17055166124Srafanamiga-h|Hans Verkuil's Amiga ANSI,
17056166124Srafan	OTbs, bw, msgr,
17057166124Srafan	cols#80, lines#24,
17058166124Srafan	acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
17059166124Srafan	civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
17060166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
17061166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
17062166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
17063166124Srafan	dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
17064166124Srafan	home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
17065166124Srafan	indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
17066166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17067166124Srafan	kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
17068166124Srafan	kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
17069166124Srafan	kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
17070166124Srafan	rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
17071166124Srafan	rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
17072166124Srafan	smso=\2337m, smul=\2334m,
1707350276Speter
1707456639Speter# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
17075166124Srafan#
17076166124Srafan# Pavel Fedin added
17077166124Srafan#	Home    Shift+Left
17078166124Srafan#	End     Shift+Right
17079166124Srafan#	PgUp    Shift+Up
17080166124Srafan#	PgDn    Shift+Down
17081166124Srafanamiga-8bit|Amiga ANSI using 8-bit controls,
17082166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17083166124Srafan	ind=\204, indn@, kend=\233 @, khome=\233 A, knp=\233S,
17084166124Srafan	kpp=\233T, ri=\215, rin@, use=amiga-h,
1708556639Speter
1708666963Speter# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
1708766963Speter# requires use of appropriate preferences settings.
17088166124Srafanamiga-vnc|Amiga using VNC console (black on light gray),
17089166124Srafan	am, da, db, msgr, ndscr,
17090166124Srafan	btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256,
17091166124Srafan	bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p,
17092166124Srafan	clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M,
17093166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17094166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17095166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17096166124Srafan	cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17097166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G,
17098166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
17099166124Srafan	indn=\E[%p1%dS, invis=\E8m,
17100166124Srafan	is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17101166124Srafan	kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17102166124Srafan	kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~,
17103166124Srafan	kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~,
17104166124Srafan	kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~,
17105166124Srafan	kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m,
17106166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J,
17107166124Srafan	rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec,
17108166124Srafan	rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17109166124Srafan	setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m,
17110166124Srafan	setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m,
17111166124Srafan	sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,
17112166124Srafan	smso=\E[1m, smul=\E[4m,
1711366963Speter
17114166124Srafan# MorphOS on Genesi Pegasos
17115166124Srafan# By Pavel Fedin <sonic_amiga@rambler.ru>
17116166124Srafanmorphos,
17117166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17118166124Srafan	ind=\204, indn@, kend=\23345~, kf11=\23320~, kf12=\23321~,
17119166124Srafan	khome=\23344~, kich1=\23340~, knp=\23342~, kpp=\23341~,
17120166124Srafan	ri=\215, rin@, use=amiga-h,
17121166124Srafan
1712250276Speter# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
1712350276Speter# 	I'm trying to write a termcap for a commodore b-128, and I'm
1712450276Speter# having a little trouble. I've had to map most of my control characters
1712550276Speter# to something that unix will accept (my delete-char is a ctrl-t, etc),
1712650276Speter# and create some functions (like cm), but thats life.
1712750276Speter# 	The problem is with the arrow keys - right, and up work fine, but
1712850276Speter# left deletes the previous character and down I just can't figure out.
1712950276Speter# Jove knows what I want, but I don't know what it's sending to me (it
1713050276Speter# isn't thats bound to next-line in jove).
1713150276Speter# 	Anybody got any ideas? Here's my termcap.
1713250276Speter# DAG -- I changed his "^n" entries to "\n"; see if that works.
1713350276Speter#
17134166124Srafancommodore|b-128|Commodore B-128 micro,
17135166124Srafan	am, bw,
17136166124Srafan	OTdN#20, cols#80, lines#24, pb#150,
17137166124Srafan	OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
17138166124Srafan	cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
17139166124Srafan	dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
17140166124Srafan	home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
17141166124Srafan	kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
17142166124Srafan	smir=,
1714350276Speter
1714450276Speter#### North Star
1714550276Speter#
1714650276Speter# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
17147166124Srafannorthstar|North Star Advantage,
17148166124Srafan	OTbs,
17149166124Srafan	cols#80, lines#24,
17150166124Srafan	clear=\004$<200/>,
17151166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
17152166124Srafan	el=\016$<200/>, home=\034\032$<200/>,
1715350276Speter
1715450276Speter#### Osborne
1715550276Speter#
1715650276Speter# Thu Jul  7 03:55:16 1983
17157166124Srafan#
17158166124Srafan# As an aside, be careful; it may sound like an anomaly on the
17159166124Srafan# Osborne, but with the 80-column upgrade, it's too easy to
1716050276Speter# enter lines >80 columns!
17161166124Srafan#
1716250276Speter# I've already had several comments...
17163166124Srafan# The Osborne-1 with the 80-col option is capable of being
17164166124Srafan# 52, 80, or 104 characters wide; default to 80 for compatibility
1716550276Speter# with most systems.
17166166124Srafan#
1716750276Speter# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
17168166124Srafanosborne-w|osborne1-w|osborne I in 104-column mode,
17169166124Srafan	msgr, ul, xt,
17170166124Srafan	cols#104, lines#24,
17171166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17172166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17173166124Srafan	dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
17174166124Srafan	kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
1717550276Speter# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
17176166124Srafanosborne|osborne1|osborne I in 80-column mode,
17177166124Srafan	OTbs, am, mir, msgr, ul, xhp,
17178166124Srafan	OTdB#4, cols#80, lines#24,
17179166124Srafan	clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
17180166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
17181166124Srafan	dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
17182166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
17183166124Srafan	rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1718450276Speter#
1718550276Speter# Osborne Executive definition from BRL
1718650276Speter# Similar to tvi920
1718750276Speter# Added by David Milligan and Tom Smith (SMU)
17188166124Srafanosexec|Osborne executive,
17189166124Srafan	OTbs, am,
17190166124Srafan	OTug#1, cols#80, lines#24, xmc#1,
17191166124Srafan	OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17192166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17193166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
17194166124Srafan	is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
17195166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
17196166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
17197166124Srafan	kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
17198166124Srafan	smul=\El, tbc=\E3,
1719950276Speter
1720050276Speter#### Console types for obsolete UNIX clones
1720150276Speter#
1720250276Speter# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
1720350276Speter# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1720450276Speter# were commercial, Minix an educational tool sold in conjunction with a book.
1720550276Speter# Memory-segmentation limits and a strong tendency to look like V7 long after
1720650276Speter# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
1720750276Speter# and Minix were ported to 32-bit Intel boxes, only to be run over by a
17208166124Srafan# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1720950276Speter# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
1721050276Speter# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
1721150276Speter# even as single processes under SunOS and the Macintosh OS.
1721250276Speter#
1721350276Speter
1721450276Speter# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
17215166124Srafanminix|minix console (v1.7),
17216166124Srafan	am, xenl,
17217166124Srafan	cols#80, it#8, lines#25,
17218166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17219166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17220166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17221166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17222166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17223166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17224166124Srafan	is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17225166124Srafan	kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
17226166124Srafan	kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
17227166124Srafan	lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
17228166124Srafan	rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1722950276Speter# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
17230166124Srafanminix-old|minix console (v1.5),
17231166124Srafan	xon,
17232166124Srafan	cols#80, it#8, lines#25,
17233166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17234166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17235166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17236166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17237166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17238166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17239166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
17240166124Srafan	kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
17241166124Srafan	khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
17242166124Srafan	rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1724350276Speter# The linewrap option can be specified by editing /usr/include/minix/config.h
1724450276Speter# before recompiling the minix 1.5 kernel.
17245166124Srafanminix-old-am|minix console with linewrap,
17246166124Srafan	am, use=minix-old,
1724750276Speter
17248166124Srafanpc-minix|minix console on an Intel box,
17249166124Srafan	use=klone+acs, use=minix,
1725050276Speter
1725150276Speter# According to the Coherent 2.3 manual, the PC console is similar
1725250276Speter# to a z19. The differences seem to be (1) 25 lines, (2) no status
1725350276Speter# line, (3) standout is broken, (4) ins/del line is broken, (5)
1725450276Speter# has blinking and bold.
17255166124Srafanpc-coherent|pcz19|coherent|IBM PC console running Coherent,
17256166124Srafan	am, mir,
17257166124Srafan	cols#80, it#8, lines#25,
17258166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
17259166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
17260166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
17261166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
17262166124Srafan	rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1726350276Speter
1726450276Speter# According to the Venix 1.1 manual, the PC console is similar
17265166124Srafan# to a DEC vt52.  Differences seem to be (1) arrow keys send
1726650276Speter# different strings, (2) enhanced standout, (3) added insert/delete line.
1726750276Speter# Note in particular that it doesn't have automatic margins.
1726850276Speter# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
1726950276Speter# not described here because this derives from an old termcap entry.
17270166124Srafanpc-venix|venix|IBM PC console running Venix,
17271166124Srafan	cols#80, it#8, lines#25,
17272166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
17273166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
17274166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
17275166124Srafan	kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1727650276Speter
1727750276Speter#### Miscellaneous microcomputer consoles
1727850276Speter#
1727950276Speter# If you know anything more about any of these, please tell me.
1728050276Speter#
1728150276Speter
1728250276Speter# The MAI Basic Four computer was obsolete at the end of the 1980s.
17283166124Srafan# It may be used as a terminal by putting it in "line" mode as seen on
1728450276Speter# one of the status lines.
17285166124Srafan# Initialization is similar to CIT80. <is2> will set ANSI mode for you.
1728650276Speter# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
17287166124Srafan# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
1728850276Speter# used \ED instead.
1728950276Speter# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
17290166124Srafanmai|basic4|MAI Basic Four in ansi mode,
17291166124Srafan	am, da, db, mir, msgr,
17292166124Srafan	cols#82, it#8, lines#25,
17293166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
17294166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
17295166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
17296166124Srafan	dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
17297166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED,
17298166124Srafan	is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
17299166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
17300166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
17301166124Srafan	kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
17302166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
17303166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m,
1730450276Speter# basis from Peter Harrison, Computer Graphics Lab, San Francisco
1730550276Speter#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
1730662449Speter#
1730762449Speter# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
1730862449Speter# The Basis 108 was a Apple II clone, manufactured by the "Basis
17309166124Srafan# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
1731062449Speter# about 1,5 km from where I live, but doesn't build own computers any
1731162449Speter# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
1731262449Speter# equipped with one or two 5.25" disk drives, had a monochrome and colour
1731362449Speter# video output for a TV set or a dedicated monitor and several slots for
1731462449Speter# Apple II cards. Basis 108 were quite popular at german schools before
1731562449Speter# the advent of the IBM PC. They run, for example, the UCSD Pascal
1731662449Speter# development system (which I used even in 1993 to program the steering
1731762449Speter# and data recording for our school's experimental solar panel :), Apple DOS
1731862449Speter# or CP/M.
1731950276Speter# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
17320166124Srafanbasis|BASIS108 computer with terminal translation table active,
17321166124Srafan	clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
17322166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
17323166124Srafan	smso=\E(, use=adm3a,
1732450276Speter# luna's BMC terminal emulator
17325166124Srafanluna|luna68k|LUNA68K Bitmap console,
17326166124Srafan	cols#88, lines#46, use=ansi-mini,
17327166124Srafanmegatek|pegasus workstation terminal emulator,
17328166124Srafan	am, os,
17329166124Srafan	cols#83, lines#60,
17330166124Srafan# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
1733150276Speter# interface (pre-Macintosh by several years) that went nowhere.
17332166124Srafanxerox820|x820|Xerox 820,
17333166124Srafan	am,
17334166124Srafan	cols#80, lines#24,
17335166124Srafan	bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17336166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
17337166124Srafan	home=^^, ind=^J,
1733850276Speter
1733950276Speter#### Videotex and teletext
1734050276Speter#
1734150276Speter
1734250276Speter# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
1734350276Speter# \E[?3l	80 columns
1734450276Speter# \E[?4l	scrolling on
1734550276Speter# \E[12h	local echo off
1734650276Speter# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
1734750276Speter# \E)0		G1 DEC set (line graphics)
1734850276Speter#
1734950276Speter# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
17350166124Srafanm2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
17351166124Srafan	OTbs, eslok, hs, xenl,
17352166124Srafan	cols#80, it#8, lines#24, wsl#72, xmc#0,
17353166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
17354166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
17355166124Srafan	cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17356166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
17357166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17358166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17359166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
17360166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>,
17361166124Srafan	is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
17362166124Srafan	is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
17363166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
17364166124Srafan	kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
17365166124Srafan	kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
17366166124Srafan	kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
17367166124Srafan	mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
17368166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
17369166124Srafan	rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
17370166124Srafan	smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
17371166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n,
1737250276Speter
1737350276Speter# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
1737450276Speter#
17375166124Srafanminitel1|minitel 1,
17376166124Srafan	am, bw, eslok, hs, hz, msgr,
17377166124Srafan	colors#8, cols#40, lines#24, pairs#8,
17378166124Srafan	acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
17379166124Srafan	cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
17380166124Srafan	cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
17381166124Srafan	enacs=^Y, fsl=^J, home=^^, ind=^J,
17382166124Srafan	is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
17383166124Srafan	rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
17384166124Srafan	setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
17385166124Srafan	sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
17386166124Srafan	sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
1738750276Speter# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
17388166124Srafanminitel1b|minitel 1-bistandard (in 40cols mode),
17389166124Srafan	mir,
17390166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
17391166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
17392166124Srafan	dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
17393166124Srafan	is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
17394166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17395166124Srafan	kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
17396166124Srafan	smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1,
1739750276Speter# <rmkx> posait des problemes (logout en sortant de vi).
17398166124Srafanminitel1b-80|minitel 1-bistandard (standard teleinformatique),
17399166124Srafan	am@, bw@, hz@,
17400166124Srafan	colors@, cols#80, it#8, pairs@,
17401166124Srafan	blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
17402166124Srafan	clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
17403166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
17404166124Srafan	ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
17405166124Srafan	kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
17406166124Srafan	kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
17407166124Srafan	ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
17408166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
17409166124Srafan	sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b,
1741050276Speter
1741150276Speter######## OBSOLETE VDT TYPES
1741250276Speter#
1741350276Speter# These terminals are *long* dead -- these entries are retained for
1741450276Speter# historical interest only.
1741550276Speter
1741650276Speter#### Amtek Business Machines
1741750276Speter#
1741850276Speter
1741950276Speter# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
1742050276Speter# but these caps were commented out in 8.3; also, removed overridden
1742150276Speter# ":do=^J:" -- esr)
17422166124Srafanabm80|amtek business machines 80,
17423166124Srafan	OTbs, am, bw,
17424166124Srafan	cols#80, lines#24,
17425166124Srafan	cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
17426166124Srafan	cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
17427166124Srafan	dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1742850276Speter
1742950276Speter#### Bell Labs blit terminals
1743050276Speter#
17431166124Srafan# These were AT&T's official entries.  The 5620 FAQ maintained by
1743250276Speter# David Breneman <daveb@dgtl.com> has this to say:
1743350276Speter#
1743450276Speter#  Actually, in the beginning was the Jerq, and the Jerq was white with a
1743550276Speter#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
1743650276Speter#  was good.  But lo, upon the horizon loomed a mighty management-type person
1743750276Speter#  (known now only by the initials VP) who said, the mighty Jerq must stay
1743850276Speter#  alone, and could not go forth into the world. So Locanthi and Pike put the
1743950276Speter#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
1744050276Speter#  world. And the Jerq lived the rest of its days in research, but never
1744150276Speter#  strayed from those paths.
1744250276Speter#
1744350276Speter#  In all seriousness, the Blit was originally known as the Jerq, but when
1744450276Speter#  it started to be shown outside of the halls of the Bell Labs Research
1744550276Speter#  organization, the management powers that be decided that the name could
1744650276Speter#  not remain. So it was renamed to be Blit. This was in late 1981.
1744750276Speter#
1744850276Speter# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
1744950276Speter# 730, and 730+.)
1745050276Speter#
1745150276Speter
17452166124Srafanblit|jerq|blit running teletype rom,
17453166124Srafan	am, eo, ul, xon,
17454166124Srafan	cols#87, it#8, lines#72,
17455166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17456166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
17457166124Srafan	dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
17458166124Srafan	dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
17459166124Srafan	il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
17460166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
1746150276Speter
1746250276Speter# (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
17463166124Srafancbblit|fixterm|blit running columbus code,
17464166124Srafan	cols#88,
17465166124Srafan	ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
17466166124Srafan	rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
17467166124Srafan	smul=\EU", use=blit,
1746850276Speter
17469166124Srafanoblit|ojerq|first version of blit rom,
17470166124Srafan	am, da, db, eo, mir, ul, xon,
17471166124Srafan	cols#88, it#8, lines#72,
17472166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17473166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
17474166124Srafan	dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
17475166124Srafan	ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
17476166124Srafan	smir=\EQ,
1747750276Speter
1747850276Speter#### Bolt, Beranek & Newman (bbn)
1747950276Speter#
1748050276Speter# The BitGraph was a product of the now-defunct BBN Computer Corporation.
1748150276Speter# The parent company, best known as the architects of the Internet, is
1748250276Speter# still around.
1748350276Speter#
1748450276Speter# Jeff DelPapa <dp@world.std.com> writes:
1748550276Speter# The bitgraph was a large white box that contained a monochrome bitmap
1748650276Speter# display, and a 68000 to run it.  You could download code and run it on
1748750276Speter# the cpu, it had 128kb (I think) of memory.  I used one in the late
1748850276Speter# 70's, sure beat a vt100.  It had one strange feature tho -- it used
1748950276Speter# the cpu to bitblt pixels to scroll, it took longer than the refresh
1749050276Speter# rate, and looked like a rubber sheet stretching, then snapping
1749150276Speter# upwards.  It had everything the early mac had, except a floppy drive a
1749250276Speter# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
1749350276Speter# Beranek and Neuman) sold at most a few hundred of them to the real
1749450276Speter# world.  DOD may have bought more...
17495166124Srafan#
1749650276Speter
17497166124Srafan# Entries for the BitGraph terminals.  The problem
17498166124Srafan# with scrolling in vi can only be fixed by getting BBN to put
17499166124Srafan# smarter scroll logic in the terminal or changing vi or padding
1750050276Speter# scrolls with about 500 ms delay.
17501166124Srafan#
17502166124Srafan# I always thought the problem was related to the terminal
17503166124Srafan# counting newlines in its input buffer before scrolling and
17504166124Srafan# then moving the screen that much. Then vi comes along and
17505166124Srafan# paints lines in on the bottom line of the screen, so you get
1750650276Speter# this big white gap.
1750750276Speter
17508166124Srafanbitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
17509166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17510166124Srafan	use=bg2.0,
17511166124Srafanbg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
17512166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17513166124Srafan	use=bg2.0,
17514166124Srafanbg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
17515166124Srafan	OTbs, xenl,
17516166124Srafan	cols#85, lines#64,
17517166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M,
17518166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
17519166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
17520166124Srafan	ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
17521166124Srafan	ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17522166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
17523166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
17524166124Srafan	sgr0=\E[m, smkx=\E=, smso=\E[7m,
1752550276Speter
17526166124Srafanbg1.25rv|bbn bitgraph 1.25 (reverse video),
17527166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17528166124Srafan	use=bg1.25,
17529166124Srafanbg1.25nv|bbn bitgraph 1.25 (normal video),
17530166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17531166124Srafan	use=bg1.25,
1753250276Speter# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
17533166124Srafanbg1.25|bbn bitgraph 1.25,
17534166124Srafan	cols#85, lines#64,
17535166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
17536166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
17537166124Srafan	dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
17538166124Srafan	il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
17539166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
17540166124Srafan	lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
17541166124Srafan	rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
17542166124Srafan	smso=\E[7m,
1754350276Speter
1754462449Speter#### Bull (bq, dku, vip)
1754562449Speter#
1754662449Speter# (Adapted for terminfo; AIX extension capabilities translated -- esr)
1754762449Speter
1754862449Speter#============================================#
1754962449Speter# BULL QUESTAR 210 `SDP' terminals emulation #
1755062449Speter#============================================#
1755162449Speter#
1755262449Speter# Description written by R.K.Saunders (Bull Transac)
1755362449Speter#
1755462449Speter# Modifications written by F. Girard (Bull MTS)
1755562449Speter#		19-05-87 V02.00.01
1755662449Speter#		17-12-87 V02.00.02
1755762449Speter#		15-09-89 V02.00.05
1755862449Speter#
1755962449Speter#	Typical technical selections F1 (modes SDP/ROLL):
1756062449Speter# -------------------------------------------------------
1756162449Speter# |   01   02   03   04   05   06   07   08   09   10   |
1756262449Speter# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
1756362449Speter# |                                                     |
1756462449Speter# |   11   12   13   14   15   16   17   18   19   20   |
1756562449Speter# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
1756662449Speter# |                                                     |
1756762449Speter# |   21   22   23   24   25   26   27   28   29   30   |
1756862449Speter# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
1756962449Speter# |                                                     |
1757062449Speter# |   31   32   33   34   35   36   37   38   39   40   |
1757162449Speter# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
1757262449Speter# -------------------------------------------------------
1757362449Speter#	Typical firmware identification F5 "etat 6":
1757462449Speter#  P287.02.04b	(AZERTY)
1757562449Speter#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
1757662449Speter#  P298.03.03	(monochrome)	or P374.03.02	(colour)
1757762449Speter#
1757862449Speter#	SM SDP mode (VIP command):	^[[?=h
1757962449Speter#	RIS (erases screen):		^[c
1758062449Speter#	DMI disable keyboard:		^[`
1758162449Speter#	SM double rendition mode:	^[[?>h
1758262449Speter#	RM solicited status mode:	^[[5l
1758362449Speter#	RM character mode:		^[[>l
1758462449Speter#	RM echoplex mode:		^[[12l
1758562449Speter#	RM column tab mode:		^[[18l
1758662449Speter#	RM forbid SS2 keyboard mode:	^[[?<l
1758762449Speter#	SM scroll mode:			^[[=h
1758862449Speter#	FCF enable XON/XOFF:		^[P1s^[\
1758962449Speter#	MTL select end msg character:	^[[^Wp
1759062449Speter#	EMI enable keyboard:		^[b
1759162449Speter#	RIS retour etat initial:	^[c
1759262449Speter#	enable FC keypad:		^[[?<h,
1759362449Speter#	MPW map status line window:	^[PY99:98^[\
1759462449Speter#	SCP select status line:		^[[0;98v
1759562449Speter#	ED erase entire partition:	^[[2J
1759662449Speter#	SCP select main partition:	^[[v
1759762449Speter#	SM character insertion mode:	^[[4h
1759862449Speter#	RM character replacement mode:	^[[4l
1759962449Speter#	COO cursor on:			^[[r
1760062449Speter#	COO cursor off:			^[[1r
1760162449Speter#	SGR dim (turquoise) rev attr:	^[[2;7m
1760262449Speter#	SGR Data normal attr:		^[[m
1760362449Speter#	SO Line-graphic mode ON:	^N
1760462449Speter#	SI Line-graphic mode OFF:	^O
1760562449Speter#	MC start routing to printer:	^[[5i
1760662449Speter#	MC stop routing to printer:	^M^[[4i
1760762449Speter#
1760862449Speter
1760962449Speter# This entry covers the following terminals:
1761062449Speter# dku7102, tws2102, and tws models 2105 to 2112
17611166124Srafantws-generic|dku7102|Bull Questar tws terminals,
17612166124Srafan	am, eslok, hs, mir, msgr, xenl, xhp@, xon,
17613166124Srafan	cols#80, it#8, lines#24, wsl#80,
17614166124Srafan	acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~,
17615166124Srafan	bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J,
17616166124Srafan	cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
17617166124Srafan	cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
17618166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17619166124Srafan	dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M,
17620166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K,
17621166124Srafan	fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL,
17622166124Srafan	il1=\E[L, ind=^J, invis=\E[0;8m,
17623166124Srafan	is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\,
17624166124Srafan	is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p,
17625166124Srafan	is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D,
17626166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17627166124Srafan	ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027,
17628166124Srafan	kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027,
17629166124Srafan	kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H,
17630166124Srafan	khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i,
17631166124Srafan	mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O,
17632166124Srafan	rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m,
17633166124Srafan	rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
17634166124Srafan	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%;,
17635166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
17636166124Srafan	smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g,
17637166124Srafan	tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
17638166124Srafantws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
17639166124Srafan	dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
17640166124Srafan	use=tws-generic,
17641166124Srafantws2103|xdku|BULL Questar tws2103,
17642166124Srafan	ht=^I, use=tws-generic,
17643166124Srafantws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA,
17644166124Srafan	ht=^I, use=tws2102-sna,
17645166124Srafandku7102-old|BULL Questar 200 DKU7102 (microcode version < 6),
17646166124Srafan	clear=\E[2J\E[H, cup@, dl@, dl1@,
17647166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m,
17648166124Srafan	il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m,
17649166124Srafan	use=tws-generic,
17650166124Srafandku7202|BULL Questar 200 DKU7202 (colour/character attributes),
17651166124Srafan	blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
17652166124Srafan	smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
1765362449Speter
1765462449Speter#=========================================================#
1765562449Speter# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
1765662449Speter#=========================================================#
1765762449Speter#
1765862449Speter# Description written by J. Staerck (BULL SA)
1765962449Speter#       Copyright (c) 1989 BULL SA
1766062449Speter#---------------------------------------------------------------------------
1766162449Speter#  This entry is used for terminals with vt320 emulation mode
17662166124Srafan#  and following set-up :
1766362449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17664166124Srafan#    7 bit Control Characters,
17665166124Srafan#    80 columns screen.
1766662449Speter#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
1766762449Speter#  They are used in string capabilities with vt220-320 emulation mode.
1766862449Speter#  In the following DEC definitions, two kinds of terminfo databases are
1766962449Speter#    provided :
17670166124Srafan#    1. the first with Command Sequence Introducer starting with escape
1767162449Speter#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
17672166124Srafan#    2. the second with Command Sequence Introducer starting with escape
1767362449Speter#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
1767462449Speter#	Soft Terminal Reset		esc [ ! p
1767562449Speter#	RIS (erases screen):		esc c
1767662449Speter#	DECKPNM numeric keypad mode:	esc >
1767762449Speter#	DECKPAM applic. keypad mode:	esc =
1767862449Speter#	DECSTBM Scrolling region:	esc [ r
1767962449Speter#	SCS select G0 = US:		esc ( B
1768062449Speter#	SCS select G1 = line-graphic:	esc ) 0
1768162449Speter#	Select 7-bit C1 controls:	esc sp F
1768262449Speter#	Select 8-bit C1 controls:	esc sp G
1768362449Speter#	Select cursor home:		esc [  H
1768462449Speter#	Select erase screen:		esc [  J
1768562449Speter#	SM KAM lock keyboard:		esc [ 2 h
1768662449Speter#	RM KAM unlock keyboard:		esc [ 2 l
1768762449Speter#	SM SRM local echo off:		esc [ 1 2 h
1768862449Speter#	RM SRM local echo on:		esc [ 1 2 l
1768962449Speter#	SM LNM New line :		esc [ 2 0 h
1769062449Speter#	RM LNM return = CR only:	esc [ 2 0 l
1769162449Speter#	SM DECCKM cursor keys mode:	esc [ ? 1 h
1769262449Speter#	RM DECCKM appli. keys mode:	esc [ ? 1 l
1769362449Speter#	SM DECANM ANSI mode on:		esc [ ? 2 h
1769462449Speter#	RM DECANM ANSI mode off:	esc [ ? 2 l
1769562449Speter#	SM DECCOLM 132-column screen:	esc [ ? 3 h
1769662449Speter#	RM DECCOLM 80-column screen:	esc [ ? 3 l
1769762449Speter#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
1769862449Speter#	RM DECSCLM Jump scroll:		esc [ ? 4 l
1769962449Speter#	SM DECSCNM screen light backgr.	esc [ ? 5 h
1770062449Speter#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
1770162449Speter#	SM DECOM move within margins:	esc [ ? 6 h
1770262449Speter#	RM DECOM move outside margins:	esc [ ? 6 l
1770362449Speter#	SM DECAWM auto right margin:	esc [ ? 7 h
1770462449Speter#	RM DECAWM auto right margin:	esc [ ? 7 l
1770562449Speter#	SM DECARM auto repeat:		esc [ ? 8 h
1770662449Speter#	RM DECARM auto repeat:		esc [ ? 8 l
17707166124Srafan#	DECSASD Select active main:	esc [ 0 $ }
17708166124Srafan#	DECSASD Select active status:	esc [ 1 $ }
17709166124Srafan#	DECSSDT Select status none:	esc [ 0 $ ~
17710166124Srafan#	DECSSDT Select status indic.:	esc [ 1 $ ~
17711166124Srafan#	DECSSDT Select status host-wr:	esc [ 2 $ ~
1771262449Speter#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
1771362449Speter#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
1771462449Speter#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
1771562449Speter#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
1771662449Speter#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
1771762449Speter#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
1771862449Speter#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
1771962449Speter#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
1772062449Speter#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
1772162449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
1772262449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
1772362449Speter#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
1772462449Speter#	Char. and Line attributes:	esc [ Ps ... Ps m
1772562449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1772662449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1772762449Speter#
1772862449Speter
1772962449Speter# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
17730166124Srafanbq300|Bull vt320 ISO Latin 1 80 columns terminal,
17731166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17732166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17733166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17734166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
17735166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
17736166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17737166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17738166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17739166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
17740166124Srafan	dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, ed=\E[J,
17741166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
17742166124Srafan	flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
17743166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
17744166124Srafan	is1=\E[63;1"p\E[2h,
17745166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17746166124Srafan	is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy,
17747166124Srafan	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
17748166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
17749166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
17750166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
17751166124Srafan	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
17752166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
17753166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17754166124Srafan	krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
17755166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
17756166124Srafan	ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
17757166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
17758166124Srafan	rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17759166124Srafan	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%;,
17760166124Srafan	sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
17761166124Srafan	smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
17762166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
17763166124Srafanbq300-rv|Bull vt320 reverse 80 columns,
17764166124Srafan	flash=\E[?5l$<50>\E[?5h,
17765166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17766166124Srafan	use=bq300,
17767166124Srafanbq300-w|Bull vt320 132 columns,
17768166124Srafan	cols#132, wsl#132,
17769166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17770166124Srafan	rs2=\E[?3h, use=bq300,
17771166124Srafanbq300-w-rv|Bull vt320 reverse mode 132 columns,
17772166124Srafan	cols#132, wsl#132,
17773166124Srafan	flash=\E[?5l$<50>\E[?5h,
17774166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17775166124Srafan	rs2=\E[?3h, use=bq300,
1777662449Speter
1777762449Speter#  This entry is used for terminals with vt320 emulation mode
17778166124Srafan#  and following set-up :
1777962449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
1778062449Speter#    8 bit Control Characters, (CSI coded as x9B for ESC [)
17781166124Srafan#    80 columns screen.
1778262449Speter#	Soft Terminal Reset		csi ! p
1778362449Speter#	RIS (erases screen):		esc c
1778462449Speter#	DECKPNM numeric keypad mode:	esc >
1778562449Speter#	DECKPAM applic. keypad mode:	esc =
1778662449Speter#	DECSTBM Scrolling region:	esc [ r
1778762449Speter#	SCS select G0 = US:		esc ( B
1778862449Speter#	SCS select G1 = line-graphic:	esc ) 0
1778962449Speter#	Select 7-bit C1 controls:	esc sp F
1779062449Speter#	Select 8-bit C1 controls:	esc sp G
1779162449Speter#	Select cursor home:		csi H
1779262449Speter#	Select erase screen:		csi J
1779362449Speter#	SM KAM lock keyboard:		csi 2 h
1779462449Speter#	RM KAM unlock keyboard:		csi 2 l
1779562449Speter#	SM SRM local echo off:		csi 1 2 h
1779662449Speter#	RM SRM local echo on:		csi 1 2 l
1779762449Speter#	SM LNM New line :		csi 2 0 h
1779862449Speter#	RM LNM return = CR only:	csi 2 0 l
1779962449Speter#	SM DECCKM cursor keys mode:	csi ? 1 h
1780062449Speter#	RM DECCKM appli. keys mode:	csi ? 1 l
1780162449Speter#	SM DECANM ANSI mode on:		csi ? 2 h
1780262449Speter#	RM DECANM ANSI mode off:	csi ? 2 l
1780362449Speter#	SM DECCOLM 132-column screen:	csi ? 3 h
1780462449Speter#	RM DECCOLM 80-column screen:	csi ? 3 l
1780562449Speter#	SM DECSCLM Smooth scroll:	csi ? 4 h
1780662449Speter#	RM DECSCLM Jump scroll:		csi ? 4 l
1780762449Speter#	SM DECSCNM screen light backgr.	csi ? 5 h
1780862449Speter#	RM DECSCNM screen dark backgr.	csi ? 5 l
1780962449Speter#	SM DECOM move within margins:	csi ? 6 h
1781062449Speter#	RM DECOM move outside margins:	csi ? 6 l
1781162449Speter#	SM DECAWM auto right margin:	csi ? 7 h
1781262449Speter#	RM DECAWM auto right margin:	csi ? 7 l
1781362449Speter#	SM DECARM auto repeat:		csi ? 8 h
1781462449Speter#	RM DECARM auto repeat:		csi ? 8 l
17815166124Srafan#	DECSASD Select active main:	csi 0 $ }
17816166124Srafan#	DECSASD Select active status:	csi 1 $ }
17817166124Srafan#	DECSSDT Select status none:	csi 0 $ ~
17818166124Srafan#	DECSSDT Select status indic.:	csi 1 $ ~
17819166124Srafan#	DECSSDT Select status host-wr:	csi 2 $ ~
1782062449Speter#	SM DECTCEM Visible cursor:	csi ? 2 5 h
1782162449Speter#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
1782262449Speter#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
1782362449Speter#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
1782462449Speter#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
1782562449Speter# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
1782662449Speter#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
1782762449Speter#	Char. and Line attributes:	csi Ps ... Ps m
1782862449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1782962449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1783062449Speter# (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
17831166124Srafanbq300-8|Bull vt320 full 8 bits 80 columns,
17832166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17833166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17834166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17835166124Srafan	bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l,
17836166124Srafan	clear=\233H\233J, cnorm=\233?25h, cr=^M,
17837166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,
17838166124Srafan	cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,
17839166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM,
17840166124Srafan	dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
17841166124Srafan	el=\233K, el1=\2331K, enacs=\E(B\E)0,
17842166124Srafan	flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
17843166124Srafan	ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, ind=\ED,
17844166124Srafan	is1=\E[63;2"p\E[2h,
17845166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17846166124Srafan	is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
17847166124Srafan	ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
17848166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17849166124Srafan	kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~,
17850166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
17851166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
17852166124Srafan	kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~,
17853166124Srafan	kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~,
17854166124Srafan	khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
17855166124Srafan	krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
17856166124Srafan	lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
17857166124Srafan	rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h,
17858166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
17859166124Srafan	rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17860166124Srafan	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%;,
17861166124Srafan	sgr0=\2330m\E(B, smacs=^N, smam=\233?7h,
17862166124Srafan	smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
17863166124Srafan	smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
17864166124Srafanbq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
17865166124Srafan	flash=\233?5l$<50>\233?5h,
17866166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17867166124Srafan	use=bq300-8,
17868166124Srafanbq300-8w|Bull vt320 8-bit 132 columns,
17869166124Srafan	cols#132, wsl#132,
17870166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17871166124Srafan	rs2=\233?3h, use=bq300-8,
17872166124Srafanbq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns,
17873166124Srafan	cols#132, wsl#132,
17874166124Srafan	flash=\233?5l$<50>\233?5h,
17875166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17876166124Srafan	rs2=\233?3h, use=bq300-8,
1787762449Speter
1787862449Speter#  This entry is used for terminals with vt320 emulation mode
17879166124Srafan#  a 102 keys keyboard (PC scancode !) and following set-up :
1788062449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17881166124Srafan#    7 bit Control Characters,
17882166124Srafan#    80 columns screen.
17883166124Srafanbq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
17884166124Srafan	kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
17885166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@,
17886166124Srafan	kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~,
17887166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
17888166124Srafan	kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17889166124Srafan	krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300,
17890166124Srafanbq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
17891166124Srafan	flash=\E[?5l$<50>\E[?5h,
17892166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17893166124Srafan	use=bq300-pc,
17894166124Srafanbq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
17895166124Srafan	cols#132, wsl#132,
17896166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17897166124Srafan	rs2=\E[?3h, use=bq300-pc,
17898166124Srafanbq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns,
17899166124Srafan	cols#132, wsl#132,
17900166124Srafan	flash=\E[?5l$<50>\E[?5h,
17901166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17902166124Srafan	rs2=\E[?3h, use=bq300-pc,
1790362449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17904166124Srafan#    8 bit Control Characters,
17905166124Srafan#    80 columns screen.
17906166124Srafanbq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
17907166124Srafan	kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~,
17908166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@,
17909166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@,
17910166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
17911166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@,
17912166124Srafan	khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@,
17913166124Srafan	kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8,
17914166124Srafanbq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
17915166124Srafan	flash=\E[?5l$<50>\E[?5h,
17916166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17917166124Srafan	use=bq300-8-pc,
17918166124Srafanbq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
17919166124Srafan	cols#132, wsl#132,
17920166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17921166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
17922166124Srafanbq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
17923166124Srafan	cols#132, wsl#132,
17924166124Srafan	flash=\E[?5l$<50>\E[?5h,
17925166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17926166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
1792762449Speter
1792862449Speter#======================================================#
1792962449Speter# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
1793062449Speter#======================================================#
1793162449Speter
1793262449Speter# normal mode, 8 bits, 80 columns terminal.
1793362449Speter#	RES reset :			^[e
1793462449Speter#	RIS reset initial state:	^[c
1793562449Speter#	BLE bell enable			^[h
1793662449Speter#	BLD bell disable		^[g
1793762449Speter#	CAMS char. attr. mode set	^[[D
1793862449Speter#	CAMR char. attr. mode reset	^[[G
1793962449Speter#	CLR clear			^[`
1794062449Speter#	KBU keyboard unlock (set)	^[[W
1794162449Speter#	KBL keyboard lock (reset)	^[[X
1794262449Speter#	CM  character mode (async.) 	^[k
1794362449Speter#	NEP non echoplex mode (by host)	^[l
1794462449Speter#	EP  echoplex mode (by host) 	^[m
1794562449Speter#	IM  insert mode set		^[[I
1794662449Speter#	IM  insert mode reset 		^[[J
1794762449Speter#	RMS roll mode set 		^[r
1794862449Speter#	RMR roll mode reset 		^[q
1794962449Speter#	SM78 set mode vip7800	 	^[[1q
1795062449Speter#	SD  scroll up  	(72 lines) 	^[[0s
1795162449Speter#	SD  scroll down	(72 lines) 	^[[1s
1795262449Speter#	RBM block mode reset		^[[E
1795362449Speter#	SLS status line set 		^[w
1795462449Speter#	SLR status line reset 		^[v
1795562449Speter#	SLL status line lock 		^[O
1795662449Speter#	LGS Line-graphic mode set 	^[G
1795762449Speter#	LGR Line-graphic mode reset 	^[F
1795862449Speter#	TBC tab clear (at cursor pos.)	^[[g
1795962449Speter#	TBI tab initialize 		^[[N
1796062449Speter#	TBS tab set (at cursor pos.)	^[p
1796162449Speter#	PDS  print data space		^[[0p
1796262449Speter#	PHD  print host data 		^[[3p
1796362449Speter#	PDT  print data terminator	^[[<p
1796462449Speter#	PRES print adapter reset	^[[2p
1796562449Speter#	SSPR multi-part. reset		^[[<>u
1796662449Speter#	SSP0 partition 0 set		^[[00u
1796762449Speter#	SSP1 partition n format 1 	^[[PnPnSTRINGu
1796862449Speter#	SSP2 partition n format 2 	^[[PnPnSTRINGu
1796962449Speter#	SSP3 partition n format 3 	^[[PnPnu
1797062449Speter#	ATR attribute (visual)
1797162449Speter#	    blink :			^[sB
1797262449Speter#	    dim :			^[sL
1797362449Speter#	    hide (blank) :		^[sH
1797462449Speter#	    restore :			^[sR
1797562449Speter#	    inverse video :		^[sI
1797662449Speter#	    prot. :			^[sP
1797762449Speter#	    underline :			^[s_
1797862449Speter#	    reset :			^{
1797962449Speter#
1798062449Speter# This covers the vip7800 and BQ3155-vip7800
17981166124Srafanvip|Bull Questar 3155-7800,
17982166124Srafan	am, eslok, hs, km, mc5i, msgr, xenl, xon,
17983166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17984166124Srafan	acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB,
17985166124Srafan	cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
17986166124Srafan	cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL,
17987166124Srafan	dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK,
17988166124Srafan	flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I,
17989166124Srafan	hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH,
17990166124Srafan	is2=\E[00u\E[<>001001024080024080u\E[01u,
17991166124Srafan	is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H,
17992166124Srafan	kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB,
17993166124Srafan	kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ,
17994166124Srafan	kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@,
17995166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1,
17996166124Srafan	kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?,
17997166124Srafan	kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_,
17998166124Srafan	kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER,
17999166124Srafan	khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s,
18000166124Srafan	kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1,
18001166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p,
18002166124Srafan	mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI,
18003166124Srafan	ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR,
18004166124Srafan	rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG,
18005166124Srafan	sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI,
18006166124Srafan	smul=\Es_, tbc=\E[N, tsl=\Ew,
1800762449Speter# normal screen, 8 bits, 132 columns terminal.
18008166124Srafanvip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide,
18009166124Srafan	cols#132, wsl#132,
18010166124Srafan	is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip,
18011166124Srafanvip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines,
18012166124Srafan	lines#72,
18013166124Srafan	is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip,
18014166124Srafanvip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines,
18015166124Srafan	cols#132, lines#72, wsl#132,
18016166124Srafan	is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip,
1801762449Speter
1801850276Speter#### Chromatics
1801950276Speter#
1802050276Speter
18021166124Srafan# I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
18022166124Srafan# that is smaller than the screen, and puts up a warning message
18023166124Srafan# outside the window. Te erases the warning message, puts the
1802450276Speter# window back to be the whole screen, and puts the cursor at just
18025166124Srafan# below the small window. I defined <cnorm> and <civis> to really turn
18026166124Srafan# the cursor on and off, but I have taken this out since I don't
18027166124Srafan# like the cursor being turned off when vi exits.
18028166124Srafancg7900|chromatics|chromatics 7900,
18029166124Srafan	am,
18030166124Srafan	cols#80, lines#40,
18031166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
18032166124Srafan	cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
18033166124Srafan	ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
18034166124Srafan	rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
18035166124Srafan	rmso=\001C1\,\001c2\,,
18036166124Srafan	smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
18037166124Srafan	smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
1803850276Speter
1803950276Speter#### Computer Automation
1804050276Speter#
1804150276Speter
18042166124Srafanca22851|computer automation 22851,
18043166124Srafan	am,
18044166124Srafan	cols#80, lines#24,
18045166124Srafan	bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
18046166124Srafan	cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
18047166124Srafan	kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
1804850276Speter
1804950276Speter#### Cybernex
1805050276Speter#
1805150276Speter
1805250276Speter# This entry has correct padding and the undocumented "ri" capability
18053166124Srafancyb83|xl83|cybernex xl-83,
18054166124Srafan	OTbs, am,
18055166124Srafan	cols#80, lines#24,
18056166124Srafan	bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
18057166124Srafan	cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
18058166124Srafan	ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
18059166124Srafan	kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
1806050276Speter# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
18061166124Srafancyb110|mdl110|cybernex mdl-110,
18062166124Srafan	OTbs, am,
18063166124Srafan	cols#80, lines#24,
18064166124Srafan	bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
18065166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
18066166124Srafan	dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
18067166124Srafan	ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
18068166124Srafan	ht=\011$<43>, ich1=\016A\035$<3.5>,
18069166124Srafan	il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1807050276Speter
1807150276Speter#### Datapoint
1807250276Speter#
1807350276Speter# Datapoint is gone.  They used to be headquartered in Texas.
1807450276Speter# They created ARCnet, an Ethernet competitor that flourished for a while
1807550276Speter# in the early 1980s before 3COM got wise and cut its prices.  The service
1807650276Speter# side of Datapoint still lives (1995) in the form of Intelogic Trace.
1807750276Speter#
1807850276Speter
18079166124Srafandp3360|datapoint|datapoint 3360,
18080166124Srafan	OTbs, am,
18081166124Srafan	cols#82, lines#25,
18082166124Srafan	bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
18083166124Srafan	ed=^_, el=^^, home=^], ind=^J,
1808450276Speter
1808550276Speter# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
18086166124Srafan# The Datapoint 8242 Workstation was sold at least between 1985
18087166124Srafan# and 1989. To make the terminal work with this entry, press
18088166124Srafan# CONTROL-INT-INT to take the terminal off-line, and type (opt).
18089166124Srafan# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
18090166124Srafan# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
1809150276Speter# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
1809250276Speter# fact unusable because the strings sent by the terminal conflict
1809350276Speter# with other keys).
1809450276Speter# The terminal is capable of displaying "box draw" characters.
18095166124Srafan# For each graphic character you must send 2 ESC's (\E\E) followed
18096166124Srafan# by a control character as follows:
1809750276Speter#         character        meaning
1809850276Speter#         =========        =======
1809950276Speter#         ctrl-E           top tee
1810050276Speter#         ctrl-F           right tee
1810150276Speter#         ctrl-G           bottom tee
1810250276Speter#         ctrl-H           left tee
1810350276Speter#         ctrl-I           cross
1810450276Speter#         ctrl-J           top left corner
1810550276Speter#         ctrl-K           top right corner
1810650276Speter#         ctrl-L           bottom left corner
1810750276Speter#         ctrl-M           bottom right corner
1810850276Speter#         ctrl-N           horizontal line
1810950276Speter#         ctrl-O           vertical line
18110166124Srafan# Unfortunately this cannot be fitted into the termcap/terminfo
18111166124Srafan# description scheme.
18112166124Srafandp8242|datapoint 8242,
18113166124Srafan	msgr,
18114166124Srafan	cols#80, lines#25,
18115166124Srafan	bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
18116166124Srafan	cr=^M, cub1=^H, cud1=^J,
18117166124Srafan	cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
18118166124Srafan	home=^U, ht=^I, il1=\E^T, ind=^C,
18119166124Srafan	is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18120166124Srafan	kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
18121166124Srafan	kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
18122166124Srafan	kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
18123166124Srafan	rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
18124166124Srafan	rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18125166124Srafan	smso=\E^E, smul=\E^F,
18126166124Srafan	wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1812750276Speter
1812850276Speter#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
1812950276Speter#
1813050276Speter# These entries are DEC's official terminfos for its older terminals.
1813150276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
18132166124Srafan# Engineering for more information.  Updated terminfos and termcaps
1813350276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1813450276Speter#
1813550276Speter
18136166124Srafangt40|dec gt40,
18137166124Srafan	OTbs, os,
18138166124Srafan	cols#72, lines#30,
18139166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18140166124Srafangt42|dec gt42,
18141166124Srafan	OTbs, os,
18142166124Srafan	cols#72, lines#40,
18143166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18144166124Srafanvt50|dec vt50,
18145166124Srafan	OTbs,
18146166124Srafan	cols#80, lines#12,
18147166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18148166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
18149166124Srafanvt50h|dec vt50h,
18150166124Srafan	OTbs,
18151166124Srafan	cols#80, lines#12,
18152166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18153166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18154166124Srafan	el=\EK, ht=^I, ind=^J, ri=\EI,
1815550276Speter# (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
18156166124Srafanvt61|vt-61|vt61.5|dec vt61,
18157166124Srafan	cols#80, lines#24,
18158166124Srafan	bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
18159166124Srafan	cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
18160166124Srafan	cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
18161166124Srafan	ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
18162166124Srafan	ri=\E$<20>I,
1816350276Speter
1816450276Speter# The gigi does standout with red!
1816550276Speter# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
18166166124Srafangigi|vk100|dec gigi graphics terminal,
18167166124Srafan	OTbs, am, xenl,
18168166124Srafan	cols#84, lines#24,
18169166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
18170166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18171166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
18172166124Srafan	el=\E[K, ht=^I, ind=^J,
18173166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
18174166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
18175166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
18176166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18177166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
18178166124Srafan	smul=\E[4m,
1817950276Speter
1818050276Speter# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
1818150276Speter# a PC differentiated from the IBM clones.  It was a total, ludicrous,
1818250276Speter# grossly-overpriced failure (among other things, DEC's OS didn't include
1818350276Speter# a format program, so you had to buy pre-formatted floppies from DEC at
1818450276Speter# a hefty premium!).
18185166124Srafanpro350|decpro|dec pro console,
18186166124Srafan	OTbs,
18187166124Srafan	cols#80, it#8, lines#24,
18188166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18189166124Srafan	clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
18190166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18191166124Srafan	el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18192166124Srafan	kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
18193166124Srafan	kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
18194166124Srafan	rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1819550276Speter
18196166124Srafandw1|decwriter I,
18197166124Srafan	OTbs, hc, os,
18198166124Srafan	cols#72,
18199166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
18200166124Srafandw2|decwriter|dw|decwriter II,
18201166124Srafan	OTbs, hc, os,
18202166124Srafan	cols#132,
18203166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1820450276Speter# \E(B		Use U.S. character set (otherwise # => british pound !)
1820550276Speter# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
1820650276Speter# \E[w   	10 char/in pitch
1820750276Speter# \E[1;132	full width horizontal margins
1820850276Speter# \E[2g		clear all tab stops
1820950276Speter# \E[z		6 lines/in
1821050276Speter# \E[66t	66 lines/page (for \f)
1821150276Speter# \E[1;66r	full vertical page can be printed
1821250276Speter# \E[4g		clear vertical tab stops
1821350276Speter# \E>		disable alternate keypad mode (so it transmits numbers!)
1821450276Speter# \E[%i%p1%du	set tab stop at column %d (origin == 1)
18215166124Srafan#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
1821650276Speter#		a tab stop)
1821750276Speter#
1821850276Speter#       The dw3 does standout with wide characters.
1821950276Speter#
18220166124Srafandw3|la120|decwriter III,
18221166124Srafan	OTbs, hc, os,
18222166124Srafan	cols#132,
18223166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
18224166124Srafan	is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
18225166124Srafan	is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
18226166124Srafan	kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
18227166124Srafandw4|decwriter IV,
18228166124Srafan	OTbs, am, hc, os,
18229166124Srafan	cols#132,
18230166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
18231166124Srafan	kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1823250276Speter
1823350276Speter# These aren't official
18234166124Srafanln03|dec ln03 laser printer,
18235166124Srafan	hc,
18236166124Srafan	cols#80, lines#66,
18237166124Srafan	bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
18238166124Srafan	rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
18239166124Srafan	smul=\E[4m,
18240166124Srafanln03-w|dec ln03 laser printer 132 cols,
18241166124Srafan	cols#132,
18242166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
18243166124Srafan	kcud1=^J, nel=^M^J, use=ln03,
1824450276Speter
1824550276Speter#### Delta Data (dd)
1824650276Speter#
1824750276Speter
1824850276Speter# Untested. The cup sequence is hairy enough that it probably needs work.
1824950276Speter# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
1825050276Speter# There are BSD-derived termcap entries floating around for this puppy
1825150276Speter# that are *certainly* wrong.
18252166124Srafandelta|dd5000|delta data 5000,
18253166124Srafan	OTbs, am,
18254166124Srafan	cols#80, lines#27,
18255166124Srafan	bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
18256166124Srafan	cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
18257166124Srafan	cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
1825850276Speter
1825950276Speter#### Digital Data Research (ddr)
1826050276Speter#
1826150276Speter
1826250276Speter# (ddr: I added <rmam>/<smam> based on the init string -- esr)
18263166124Srafanddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
18264166124Srafan	OTbs, am, xenl,
18265166124Srafan	cols#80, it#8, lines#24, vt#3,
18266166124Srafan	blink=\E[5m$<2/>, bold=\E[1m$<2/>,
18267166124Srafan	clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
18268166124Srafan	cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
18269166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
18270166124Srafan	ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
18271166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
18272166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
18273166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
18274166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
18275166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
18276166124Srafan	sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
18277166124Srafan	smul=\E[4m$<2/>,
1827850276Speter
1827950276Speter#### Evans & Sutherland
1828050276Speter#
1828150276Speter
1828250276Speter# Jon Leech <leech@cs.unc.edu> tells us:
1828350276Speter# The ps300 was the Evans & Sutherland Picture System 300, a high
1828450276Speter# performance 3D vector graphics system with a bunch of specialized hardware.
1828550276Speter# Approximate date of release was 1982 (early 80s, anyway), and it had several
1828650276Speter# evolutions including (limited) color versions such as the PS330C. PS300s
1828750276Speter# were effectively obsolete by the late 80s, replaced by raster graphics
1828850276Speter# systems, although specialized applications like molecular modelling
1828950276Speter# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
1829050276Speter# are out of production, though of course E&S is very much alive (in 1996).
1829150276Speter# (ps300: changed ":pt@:" to "it@" -- esr)
1829250276Speter#
18293166124Srafanps300|Picture System 300,
18294166124Srafan	xt,
18295166124Srafan	it@,
18296166124Srafan	rmso@, rmul@, smso@, smul@, use=vt100,
1829750276Speter
1829850276Speter#### General Electric (ge)
1829950276Speter#
1830050276Speter
18301166124Srafanterminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
18302166124Srafan	OTbs, hc, os,
18303166124Srafan	cols#120,
18304166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1830550276Speter
1830650276Speter#### Heathkit/Zenith
1830750276Speter#
1830850276Speter
1830950276Speter# Here is a description of the H19 DIP switches:
1831050276Speter#
1831150276Speter# S401
1831250276Speter# 0-3 = baud rate as follows:
18313166124Srafan#
1831450276Speter#         3       2       1       0
18315166124Srafan#	---	---	---	---
1831650276Speter#         0       0       1       1       300 baud
1831750276Speter#         0       1       0       1       1200 baud
1831850276Speter#         1       0       0       0       2400 baud
1831950276Speter#         1       0       1       0       4800 baud
1832050276Speter#         1       1       0       0       9600 baud
1832150276Speter#         1       1       0       1       19.2K baud
18322166124Srafan#
1832350276Speter# 4 = parity (0 = no parity)
1832450276Speter# 5 = even parity (0 = odd parity)
1832550276Speter# 6 = stick parity (0 = normal parity)
1832650276Speter# 7 = full duplex (0 = half duplex)
18327166124Srafan#
18328166124Srafan# S402
1832950276Speter# 0 = block cursor (0 = underscore cursor)
1833050276Speter# 1 = no key click (0 = keyclick)
1833150276Speter# 2 = wrap at end of line (0 = no wrap)
1833250276Speter# 3 = auto LF on CR (0 = no LF on CR)
1833350276Speter# 4 = auto CR on LF (0 = no CR on LF)
1833450276Speter# 5 = ANSI mode (0 = VT52 mode)
1833550276Speter# 6 = keypad shifted (0 = keypad unshifted)
1833650276Speter# 7 = 50Hz refresh (1 = 60Hz refresh)
18337166124Srafan#
1833850276Speter# Factory Default settings are as follows:
1833950276Speter#          7 6 5 4 3 2 1 0
1834050276Speter# S401     1 0 0 0 1 1 0 0
1834150276Speter# S402     0 0 0 0 0 0 0 0
1834250276Speter# (h19: I added <rmam>/<smam> based on the init string;
1834350276Speter# also added empty <acsc> to suppress a tic warning -- esr)
18344166124Srafanh19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
18345166124Srafan	OTbs, am, mir, msgr,
18346166124Srafan	cols#80, it#8, lines#24,
18347166124Srafan	acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
18348166124Srafan	cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
18349166124Srafan	cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
18350166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
18351166124Srafan	is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
18352166124Srafan	kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
18353166124Srafan	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
18354166124Srafan	kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
18355166124Srafan	ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
18356166124Srafan	smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
18357166124Srafanh19-bs|heathkit w/keypad shifted,
18358166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-b,
18359166124Srafanh19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
18360166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-u,
1836150276Speter# (h19: merged in <ip> from BSDI hp19-e entry>;
1836250276Speter# also added empty <acsc> to suppress a tic warning --esr)
18363166124Srafan# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
1836450276Speter# Tim tells us that:
1836550276Speter# I have an old Zenith-19 terminal at home that still gets a lot of use.
1836650276Speter# This terminal suffers from the same famous insert-mode padding lossage
1836750276Speter# that has been acknowledged for the Z29 terminal.  Emacs is nearly
1836850276Speter# unusable on this box, since even a half-scroll up or down the window
1836950276Speter# causes flaming terminal death.
18370166124Srafan#
1837150276Speter# On the Z19, the only way I have found around this problem is to remove
1837250276Speter# the :al: and :dl: entries entirely.  No amount of extra padding will
1837350276Speter# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
1837450276Speter# makes Emacs a little slower, but it remains in the land of the living.
1837550276Speter# Big win.
18376166124Srafanh19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
18377166124Srafan	OTbs, am, eslok, hs, mir, msgr,
18378166124Srafan	cols#80, it#8, lines#24,
18379174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{, bel=^G,
18380174993Srafan	clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18381174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
18382174993Srafan	dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
18383174993Srafan	ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18384174993Srafan	kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
18385174993Srafan	kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
18386174993Srafan	lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18387174993Srafan	smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
18388166124Srafanh19-u|heathkit with underscore cursor,
18389166124Srafan	cnorm@, cvvis@, use=h19-b,
18390166124Srafanh19-g|h19g|heathkit w/block cursor,
18391174993Srafan	cnorm=\Ex4, cvvis@, use=h19-b,
18392166124Srafanalto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
18393166124Srafan	lines#60,
18394166124Srafan	dl1=\EM, il1=\EL, use=h19,
1839550276Speter
1839650276Speter# The major problem with the Z29 is that it requires more padding than the Z19.
1839750276Speter#
1839850276Speter# The problem with declaring an H19 to be synonymous with a Z29 is that
1839950276Speter# it needs more padding. It especially loses if a program attempts
1840050276Speter# to put the Z29 into insert mode and insert text at 9600 baud. It
1840150276Speter# even loses worse if the program attempts to insert tabs at 9600
18402166124Srafan# baud. Adding padding to text that is inserted loses because in
1840350276Speter# order to make the Z29 not die, one must add so much padding that
18404166124Srafan# whenever the program tries to use insert mode, the effective
1840550276Speter# rate is about 110 baud.
18406166124Srafan#
18407166124Srafan# What program would want to put the terminal into insert mode
18408166124Srafan# and shove stuff at it at 9600 baud you ask?
18409166124Srafan#
18410166124Srafan# Emacs. Emacs seems to want to do the mathematically optimal
1841150276Speter# thing in doing a redisplay rather than the practical thing.
18412166124Srafan# When it is about to output a line on top of a line that is
18413166124Srafan# already on the screen, instead of just killing to the end of
18414166124Srafan# the line and outputting the new line, it compares the old line
18415166124Srafan# and the new line and if there are any similarities, it
18416166124Srafan# constructs the new line by deleting the text on the old line
1841750276Speter# on the terminal that is already there and then inserting new
18418166124Srafan# text into the line to transform it into the new line that is
1841950276Speter# to be displayed. The Z29 does not react kindly to this.
18420166124Srafan#
1842150276Speter# But don't cry for too long.... There is a solution. You can make
1842250276Speter# a termcap entry for the Z29 that says the Z29 has no insert mode.
18423166124Srafan# Then Emacs cannot use it. "Oh, no, but now inserting into a
1842450276Speter# line will be really slow", you say. Well there is a sort of a
18425166124Srafan# solution to that too. There is an insert character option on
18426166124Srafan# the Z29 that will insert one character. Unfortunately, it
18427166124Srafan# involves putting the terminal into ansi mode, inserting the
18428166124Srafan# character, and changing it back to H19 mode. All this takes 12
18429166124Srafan# characters. Pretty expensive to insert one character, but it
18430166124Srafan# works. Either Emacs doesn't try to use its inserting hack when
18431166124Srafan# it's only given an insert character ability or the Z29 doesn't
18432166124Srafan# require padding with this (the former is probably more likely,
1843350276Speter# but I haven't checked it out).
1843450276Speter# (z29: added empty <acsc> to suppress a tic warning, merged in
1843550276Speter# status line capabilities from BRL entry --esr)
18436166124Srafanz29|zenith29|z29b|zenith z29b,
18437166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18438166124Srafan	OTkn#10, cols#80, lines#24,
18439166124Srafan	OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
18440166124Srafan	cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18441166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
18442166124Srafan	cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
18443166124Srafan	ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
18444166124Srafan	ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
18445166124Srafan	is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18446166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
18447166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
18448166124Srafan	lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
18449166124Srafan	rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
18450166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1845150276Speter# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
1845250276Speter# the world is stable. <rs1> causes the terminal to be reset to the state
1845350276Speter# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
1845450276Speter# cursor, bc -> block cursor.
1845550276Speter# From: Mike Meyers
1845650276Speter# (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
1845750276Speter# looks vt100-compatible -- esr)
18458166124Srafanz29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
18459166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18460166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18461166124Srafan	OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
18462166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18463166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18464166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18465166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18466166124Srafan	dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
18467166124Srafan	ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
18468166124Srafan	ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
18469166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
18470166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18471166124Srafan	kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
18472166124Srafan	nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
18473166124Srafan	rmso=\E[m, rmul=\E[m,
18474166124Srafan	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,
18475166124Srafan	sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
18476166124Srafan	tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
18477166124Srafanz29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
18478166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
18479166124Srafan	use=z29a,
18480166124Srafanz29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
18481166124Srafan	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,
18482166124Srafan	use=z29a,
18483166124Srafanz29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
18484166124Srafan	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,
18485166124Srafan	use=z29a,
1848650276Speter# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
18487166124Srafanz39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
18488166124Srafan	am, eslok, hs, mc5i, mir, msgr, xon,
18489166124Srafan	cols#80, lines#24,
18490166124Srafan	acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
18491166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
18492166124Srafan	clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
18493166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18494166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
18495166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18496166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18497166124Srafan	dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
18498166124Srafan	fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
18499166124Srafan	ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
18500166124Srafan	ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
18501166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
18502166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18503166124Srafan	kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
18504166124Srafan	mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
18505166124Srafan	rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
18506166124Srafan	rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
18507166124Srafan	smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
18508166124Srafan	tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1850950276Speter
1851050276Speter# From: Brad Brahms <Brahms@USC-ECLC>
18511166124Srafanz100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
18512166124Srafan	cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
1851350276Speter# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
18514166124Srafanz100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
18515166124Srafan	OTbs, OTpt, mir, msgr,
18516166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18517174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{,
18518174993Srafan	clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
18519174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
18520174993Srafan	cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
18521174993Srafan	home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
18522174993Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, kf3=\EU,
18523174993Srafan	kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EOI,
18524174993Srafan	khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18525174993Srafan	smir=\E@, smso=\Ep,
18526166124Srafanp19|h19-b with il1/dl1,
18527166124Srafan	dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
1852850276Speter# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1852950276Speter# (ztx: removed duplicate :sr: -- esr)
18530166124Srafanztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
18531166124Srafan	OTbs, am, eslok, hs,
18532166124Srafan	cols#80, it#8, lines#24,
18533166124Srafan	clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
18534166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
18535166124Srafan	dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
18536166124Srafan	il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
18537166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
18538166124Srafan	kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
18539166124Srafan	ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
18540166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1854150276Speter
1854250276Speter#### IMS International (ims)
1854350276Speter#
18544166124Srafan# There was a company called IMS International located in Carson City,
1854550276Speter# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
18546166124Srafan# bus/Z80 hardware and a line of terminals called Ultimas.
1854750276Speter#
1854850276Speter
1854950276Speter# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
18550166124Srafanims950-b|bare ims950 no init string,
18551166124Srafan	is2@, use=ims950,
1855250276Speter# (ims950: removed obsolete ":ko@:" -- esr)
18553166124Srafanims950|ims televideo 950 emulation,
18554166124Srafan	xenl@,
18555166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18556166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950,
1855750276Speter# (ims950-rv: removed obsolete ":ko@:" -- esr)
18558166124Srafanims950-rv|ims tvi950 rev video,
18559166124Srafan	xenl@,
18560166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18561166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv,
18562166124Srafanims-ansi|ultima2|ultimaII|IMS Ultima II,
18563166124Srafan	OTbs, am,
18564166124Srafan	cols#80, it#8, lines#24,
18565166124Srafan	clear=\E[H\E[2J, cub1=^H, cud1=\ED,
18566166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
18567166124Srafan	ht=^I, if=/usr/share/tabset/vt100,
18568166124Srafan	is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
18569166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
18570166124Srafan	rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
18571166124Srafan	smul=\E[4m,
1857250276Speter
1857350276Speter#### Intertec Data Systems
1857450276Speter#
1857550276Speter# I think this company is long dead as of 1995.  They made an early CP/M
1857650276Speter# micro called the "Intertec Superbrain" that was moderately popular,
1857750276Speter# then sank out of sight.
1857850276Speter#
1857950276Speter
18580166124Srafansuperbrain|intertec superbrain,
18581166124Srafan	OTbs, am, bw,
18582166124Srafan	cols#80, lines#24,
18583166124Srafan	OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
18584166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
18585166124Srafan	ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
18586166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
18587166124Srafan# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
1858850276Speter# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
1858950276Speter# and the reverse is actually true.  Try it. -- esr)
18590166124Srafanintertube|intertec|Intertec InterTube,
18591166124Srafan	OTbs, am,
18592166124Srafan	cols#80, lines#25,
18593166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
18594166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
18595166124Srafan	ind=^J, rmso=\E0@, smso=\E0P,
1859650276Speter# The intertube 2 has the "full duplex" problem like the tek 4025: if you
1859750276Speter# are typing and a command comes in, the keystrokes you type get interspersed
1859850276Speter# with the command and it messes up
18599166124Srafanintertube2|intertec data systems intertube 2,
18600166124Srafan	OTbs,
18601166124Srafan	cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
18602166124Srafan	el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
18603166124Srafan	ll=^K^X\r, vpa=\013%p1%c, use=intertube,
1860450276Speter
1860550276Speter#### Ithaca Intersystems
1860650276Speter#
1860750276Speter# This company made S100-bus personal computers long ago in the pre-IBM-PC
1860850276Speter# past.  They used to be reachable at:
1860950276Speter#
1861050276Speter#	Ithaca Intersystems
1861150276Speter#	1650 Hanshaw Road
1861250276Speter#	Ithaca, New York 14850
1861350276Speter#
1861450276Speter# However, the outfit went bankrupt years ago.
1861550276Speter#
1861650276Speter
1861750276Speter# The Graphos III was a color graphics terminal from Ithaca Intersystems.
18618166124Srafan# These entries were written (originally in termcap syntax) by Brian Yandell
18619166124Srafan# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
1862050276Speter# University of Wisconsin.
1862150276Speter
18622166124Srafan# (graphos: removed obsolete and syntactically incorrect :kn=4:,
18623166124Srafan# removed <if=/usr/share/tabset/init.graphos> and
1862450276Speter# <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
18625166124Srafangraphos|graphos III,
18626166124Srafan	am, mir,
18627166124Srafan	cols#80, it#8, lines#24,
18628166124Srafan	clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
18629166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
18630166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18631166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A,
18632166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
18633166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
18634166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18635166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
18636166124Srafan	kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
18637166124Srafan	rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
18638166124Srafan	smir=\E[4h, smso=\E[7m,
18639166124Srafangraphos-30|graphos III with 30 lines,
18640166124Srafan	lines#30,
18641166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1864250276Speter
1864350276Speter#### Modgraph
1864450276Speter#
1864550276Speter# These people used to be reachable at:
1864650276Speter#
1864750276Speter#	Modgraph, Inc
1864850276Speter#	1393 Main Street,
1864950276Speter#	Waltham, MA 02154
1865050276Speter#	Vox: (617)-890-5796.
1865150276Speter#
1865250276Speter# However, if you call that number today you'll get an insurance company.
18653166124Srafan# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
1865450276Speter# 26 Feb 1997 that says:
1865550276Speter#
1865650276Speter# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
1865750276Speter# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
1865850276Speter# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
1865950276Speter# panel-mount etc).  I can be emailed at sonfour@aol.com
1866050276Speter#
1866150276Speter# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
1866250276Speter# dated 1984.  According to the manual, it featured Tek 4010/4014
1866350276Speter# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1866450276Speter#
1866550276Speter
18666166124Srafanmodgraph|mod24|modgraph terminal emulating vt100,
18667166124Srafan	xenl@,
18668166124Srafan	cols#80, lines#24,
18669166124Srafan	cvvis=\E\^9;0s\E\^7;1s,
18670166124Srafan	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,
18671166124Srafan	rf@, ri=\EM\E[K$<5/>, use=vt100,
1867250276Speter# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
18673166124Srafanmodgraph2|modgraph gx-1000 80x24 with keypad not enabled,
18674166124Srafan	am, da, db,
18675166124Srafan	cols#80, it#8, lines#24,
18676166124Srafan	clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
18677166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
18678166124Srafan	ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
18679166124Srafan	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,
18680166124Srafan	ri=\EI$<5/>,
1868150276Speter#
1868250276Speter# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
1868350276Speter# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
1868450276Speter# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
1868550276Speter# mark and using delete-to-killbuffer work correctly.  However, we would
1868650276Speter# like normal mode of operation to be using a Modgraph with 48 line setting.
1868750276Speter# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
1868850276Speter# the setting mark and delete-to-killbuffer results in the deletion of only
1868950276Speter# the line the mark is set on.
1869050276Speter# We've discovered that the delete-to-killbuffer works correctly
1869150276Speter# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
1869250276Speter# the first line disappears but a ctrl-l shows that it did work
1869350276Speter# correctly.
18694166124Srafanmodgraph48|mod|Modgraph w/48 lines,
18695166124Srafan	OTbs, OTpt, am, xenl,
18696166124Srafan	cols#80, it#8, lines#48, vt#3,
18697166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
18698166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
18699166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
18700166124Srafan	flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
18701166124Srafan	home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
18702166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
18703166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
18704166124Srafan	ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18705166124Srafan	rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
18706166124Srafan	smso=\E[7m, smul=\E[4m,
1870750276Speter
1870850276Speter#### Morrow Designs
18709166124Srafan#
1871050276Speter# This was George Morrow's company.  They started in the late 1970s making
1871150276Speter# S100-bus machines.  They used to be reachable at:
1871250276Speter#
1871350276Speter#        Morrow
1871450276Speter#        600 McCormick St.
1871550276Speter#        San Leandro, CA 94577
1871650276Speter#
1871750276Speter# but they're long gone now (1995).
1871850276Speter#
1871950276Speter
18720166124Srafan# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
1872150276Speter# Jeff's specimen was dated June 1984.
1872250276Speter# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
18723166124Srafanmt70|mt-70|Morrow MD-70; native Morrow mode,
18724166124Srafan	am, mir, msgr, xon,
18725166124Srafan	cols#80, it#8, lines#24,
18726166124Srafan	acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
18727166124Srafan	cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
18728166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
18729166124Srafan	cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
18730166124Srafan	flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
18731166124Srafan	ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
18732166124Srafan	kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
18733166124Srafan	kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
18734166124Srafan	kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
18735166124Srafan	kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
18736166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18737166124Srafan	kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
18738166124Srafan	rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E],
18739166124Srafan	smul=\EG1, tbc=\E0, use=adm+sgr,
1874050276Speter
1874150276Speter#### Motorola
1874250276Speter#
1874350276Speter
1874450276Speter# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
1874550276Speter# (Seth H Zirin)
18746166124Srafanex155|Motorola Exorterm 155,
18747166124Srafan	OTbs, am, bw,
18748166124Srafan	OTkn#5, OTug#1, cols#80, lines#24,
18749166124Srafan	cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
18750166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
18751166124Srafan	home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
18752166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
18753166124Srafan	rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
1875450276Speter
1875550276Speter#### Omron
1875650276Speter#
1875750276Speter# This company is still around in 1995, manufacturing point-of-sale systems.
1875850276Speter
18759166124Srafanomron|Omron 8025AG,
18760166124Srafan	OTbs, am, da, db,
18761166124Srafan	cols#80, lines#24,
18762166124Srafan	bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
18763166124Srafan	cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
18764166124Srafan	il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
1876550276Speter
1876650276Speter#### Ramtek
1876750276Speter#
1876850276Speter# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
1876950276Speter# were competition for things like the Tektronics 4025.
1877050276Speter#
1877150276Speter
1877250276Speter# Ramtek 6221 from BRL, probably by Doug Gwyn
1877350276Speter# The following SET-UP modes are assumed for normal operation:
1877450276Speter#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
1877550276Speter#	NEWLINE_OFF		80_COLUMNS
1877650276Speter# Other SET-UP modes may be set for operator convenience or communication
1877750276Speter# requirements; I recommend
1877850276Speter#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
1877950276Speter# Hardware tabs are assumed to be every 8 columns; they can be set up by the
1878050276Speter# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
1878150276Speter# Note that the Control-E key is useless on this brain-damaged terminal.  No
1878250276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
18783166124Srafanrt6221|Ramtek 6221 80x24,
18784166124Srafan	OTbs, OTpt, msgr, xon,
18785166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
18786166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
18787166124Srafan	clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
18788166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18789166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
18790166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
18791166124Srafan	cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
18792166124Srafan	hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18793166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
18794166124Srafan	kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
18795166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
18796166124Srafan	rmso=\E[m, rmul=\E[m,
18797166124Srafan	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>,
18798166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
18799166124Srafan	smul=\E[4m, tbc=\E[3g,
1880050276Speter# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
18801166124Srafanrt6221-w|Ramtek 6221 160x48,
18802166124Srafan	cols#160, lines#48,
18803166124Srafan	ll=\E[48;1H, use=rt6221,
1880450276Speter
1880550276Speter#### RCA
1880650276Speter#
1880750276Speter
1880850276Speter# RCA VP3301 or VP3501
18809166124Srafanrca|rca vp3301/vp3501,
18810166124Srafan	OTbs,
18811166124Srafan	cols#40, lines#24,
18812166124Srafan	clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
18813166124Srafan	cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1881450276Speter
1881550276Speter
1881650276Speter#### Selanar
1881750276Speter#
1881850276Speter
1881950276Speter# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
1882050276Speter# The following SET-UP modes are assumed for normal operation:
1882150276Speter#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
1882250276Speter#	ONLINE			ANSI			CURSOR_VISIBLE
1882350276Speter#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
1882450276Speter#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
1882550276Speter#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
1882650276Speter# For use with graphics software, all graphics modes should be set to factory
1882750276Speter# default.  Other SET-UP modes may be set for operator convenience or
1882850276Speter# communication requirements.  No delays are specified; use "stty ixon -ixany"
1882950276Speter# to enable DC3/DC1 flow control!
1883050276Speter# I commented out the scrolling capabilities since they are too slow.
18831166124Srafanhirez100|Selanar HiREZ-100,
18832166124Srafan	OTbs, OTpt, mir, msgr, xon,
18833166124Srafan	OTkn#4, cols#80, it#8, lines#48, vt#3,
18834166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
18835166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
18836166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18837166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
18838166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
18839166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
18840166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
18841166124Srafan	kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
18842166124Srafan	lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
18843166124Srafan	mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
18844166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18845166124Srafan	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>,
18846166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
18847166124Srafan	smul=\E[4m, tbc=\E[3g,
18848166124Srafanhirez100-w|Selanar HiREZ-100 in 132-column mode,
18849166124Srafan	cols#132, use=hirez100,
1885050276Speter
1885150276Speter#### Signetics
1885250276Speter#
1885350276Speter
1885450276Speter# From University of Wisconsin
18855166124Srafanvsc|Signetics Vsc Video driver by RMC,
18856166124Srafan	am, msgr,
18857166124Srafan	cols#80, it#8, lines#26,
18858166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
18859166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
18860166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
18861166124Srafan	rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1886250276Speter
1886350276Speter#### Soroc
1886450276Speter#
1886550276Speter# Alan Frisbie <frisbie@flying-disk.com> writes:
1886650276Speter#
1886750276Speter# As you may recall, the Soroc logo consisted of their name,
1886850276Speter# with the letter "S" superimposed over an odd design.   This
1886950276Speter# consisted of a circle with a slightly smaller 15 degree (approx.)
1887050276Speter# wedge with rounded corners inside it.   The color was sort of
1887150276Speter# a metallic gold/yellow.
18872166124Srafan#
1887350276Speter# If I had been more of a beer drinker it might have been obvious
1887450276Speter# to me, but it took a clue from their service department to make
1887550276Speter# me exclaim, "Of course!"   The circular object was the top of
1887650276Speter# a beer can (the old removable pop-top style) and "Soroc" was an
1887750276Speter# anagram for "Coors".
18878166124Srafan#
1887950276Speter# I can just imagine the founders of the company sitting around
1888050276Speter# one evening, tossing back a few and trying to decide what to
1888150276Speter# call their new company and what to use for a logo.
18882166124Srafan#
1888350276Speter
1888450276Speter# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
18885166124Srafansoroc120|iq120|soroc|soroc iq120,
18886166124Srafan	clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
18887166124Srafan	kcuf1=^L, kcuu1=^K, use=adm3a,
18888166124Srafansoroc140|iq140|soroc iq140,
18889166124Srafan	OTbs, am, mir,
18890166124Srafan	cols#80, lines#24,
18891166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
18892166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
18893166124Srafan	dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
18894166124Srafan	kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
18895166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18896166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
18897166124Srafan	rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1889850276Speter
1889950276Speter#### Southwest Technical Products
1890050276Speter#
18901166124Srafan# These guys made an early personal micro called the M6800.
1890250276Speter# The ct82 was probably its console terminal.
1890350276Speter#
1890450276Speter
1890550276Speter# (swtp: removed obsolete ":bc=^D:" -- esr)
18906166124Srafanswtp|ct82|southwest technical products ct82,
18907166124Srafan	am,
18908166124Srafan	cols#82, lines#20,
18909166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
18910166124Srafan	cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
18911166124Srafan	home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
18912166124Srafan	is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
18913166124Srafan	ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1891450276Speter
1891550276Speter#### Synertek
1891650276Speter#
1891750276Speter# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1891850276Speter#
1891950276Speter# Synertek used to make ICs, various 6502-based single-board process
1892050276Speter# control and hobbyist computers, and assorted peripherals including a
1892150276Speter# series of small inexpensive terminals (I think they were one of the
1892250276Speter# first to have a "terminal-on-a-keyboard", where the terminal itself
1892350276Speter# was only slightly larger than the keyboard).
1892450276Speter#
1892550276Speter# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
1892650276Speter# was a 40x24 terminal that could connect to a standard TV through a
1892750276Speter# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
1892850276Speter# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
1892950276Speter# I have a KTM-2/80 still in working order.  The KTM-2s had fully
1893050276Speter# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
1893150276Speter# ROM and 2 ROMs as character generators. They were incredibly simple,
1893250276Speter# and I've never had any problems with mine (witness the fact that mine
1893350276Speter# was made in 1981 and is still working great... I've blown the video
1893450276Speter# output transistor a couple of times, but it's a 2N2222 :-)
1893550276Speter#
1893650276Speter# The KTM-3 (which is what is listed in the terminfo file) was their
1893750276Speter# attempt at putting a KTM-2 in a box (and some models came with a
1893850276Speter# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
1893950276Speter# control and escape sequences are very different. The KTM-3 was always
1894050276Speter# real broken, at least according to the folks I've talked to about it.
18941166124Srafan#
1894250276Speter# The padding in the entry is probably off--these terminals were very
1894350276Speter# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
1894450276Speter# anyone with any sanity replaced the ROMs with something that provided
1894550276Speter# a reasonable subset of VT100 functionality, since the usual ROMs were
1894650276Speter# obviously very primitive... oh, you could get an upgraded ROM from
1894750276Speter# Synertek for some incredible amount of money, but what hacker with an
1894850276Speter# EPROM burner would do that? :)
18949166124Srafan#
1895050276Speter# Sorry I don't have any contact info; I believe they were located in
1895150276Speter# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
1895250276Speter# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
1895350276Speter# business these days.
1895450276Speter#
1895550276Speter
1895650276Speter# Tested, seems to work fine with vi.
18957166124Srafansynertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
18958166124Srafan	am,
18959166124Srafan	cols#80, lines#24,
18960166124Srafan	clear=^Z, cub1=^H, cuf1=^L,
18961166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
1896250276Speter
1896350276Speter#### Tab Office Products
1896450276Speter#
1896550276Speter#	TAB Products Co. - Palo Alto, California
1896650276Speter#	Electronic Office Products,
1896750276Speter#	1451 California Avenue 94304
1896850276Speter#
1896950276Speter# I think they're out of business.
1897050276Speter#
1897150276Speter
1897250276Speter# The tab 132 uses xon/xoff, so no padding needed.
1897350276Speter# <smkx>/<rmkx> have nothing to do with arrow keys.
1897450276Speter# <is2> sets 80 col mode, normal video, autowrap on (for <am>).
1897550276Speter# Seems to be no way to get rid of status line.
1897650276Speter# The manual for this puppy was dated June 1981.  It claims to be VT52-
1897750276Speter# compatible but looks more vt100-like.
18978166124Srafantab132|tab|tab132-15|tab 132/15,
18979166124Srafan	da, db,
18980166124Srafan	OTdN@, cols#80, lines#24, lm#96,
18981166124Srafan	cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
18982166124Srafan	il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
18983166124Srafan	kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100,
18984166124Srafantab132-w|tab132 in wide mode,
18985166124Srafan	cols#132,
18986166124Srafan	is2=\E[?7h\E[?3h\E[?5l, use=tab132,
18987166124Srafantab132-rv|tab132 in reverse-video mode,
18988166124Srafan	is2=\E[?7h\E[?3l\E[?5h, use=tab132,
18989166124Srafantab132-w-rv|tab132 in reverse-video/wide mode,
18990166124Srafan	is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
1899150276Speter
1899250276Speter
1899350276Speter#### Teleray
1899450276Speter#
1899550276Speter#	Research Incorporated
1899650276Speter#	6425 Flying Cloud Drive
1899750276Speter#	Eden Prairie, MN 55344
1899850276Speter#	Vox: (612)-941-3300
1899950276Speter#
1900050276Speter# The Teleray terminals were all discontinued in 1992-93.  RI still services
1900150276Speter# and repairs these beasts, but no longer manufactures them.  The Teleray
1900250276Speter# people believe that all the types listed below are very rare now (1995).
1900350276Speter# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
1900450276Speter# Model 100) that were ANSI-compatible.
1900550276Speter#
1900650276Speter# Note two things called "teleray".  Reorder should move the common one
1900750276Speter# to the front if you have either.  A dumb teleray with the cursor stuck
1900850276Speter# on the bottom and no obvious model number is probably a 3700.
1900950276Speter#
1901050276Speter
19011166124Srafant3700|dumb teleray 3700,
19012166124Srafan	OTbs,
19013166124Srafan	cols#80, lines#24,
19014166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
19015166124Srafant3800|teleray 3800 series,
19016166124Srafan	OTbs,
19017166124Srafan	cols#80, it#8, lines#24,
19018166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19019166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
19020166124Srafan	home=\EH, ht=^I, ind=^J, ll=\EY7\s,
19021166124Srafant1061|teleray|teleray 1061,
19022166124Srafan	OTbs, am, km, xhp, xt,
19023166124Srafan	cols#80, it#8, lines#24, xmc#1,
19024166124Srafan	bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19025166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19026166124Srafan	dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
19027166124Srafan	ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
19028166124Srafan	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,
19029166124Srafan	kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
19030166124Srafan	kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
19031166124Srafan	tbc=\EG,
19032166124Srafant1061f|teleray 1061 with fast PROMs,
19033166124Srafan	dl1=\EM, il1=\EL, ip@, use=t1061,
1903450276Speter# "Teleray Arpa Special", officially designated as
1903550276Speter# "Teleray Arpa network model 10" with "Special feature 720".
1903650276Speter# This is the new (1981) fast microcode updating the older "arpa" proms
1903750276Speter# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1903850276Speter# converts the keypad to programmable function keys, and has other goodies.
1903950276Speter# Standout mode is still broken (magic cookie, etc) so is suppressed as no
1904050276Speter# programs handle such lossage properly.
1904150276Speter# Note: this is NOT the old termcap's "t1061f with fast proms."
1904250276Speter# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1904350276Speter# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
19044166124Srafant10|teleray 10 special,
19045166124Srafan	OTbs, km, xhp, xt,
19046166124Srafan	cols#80, it#8, lines#24, xmc#2,
19047166124Srafan	clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
19048166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19049166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
19050166124Srafan	ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
19051166124Srafan	smul=\ERH,
1905250276Speter# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
1905350276Speter# back/forth words. Put the function keys (f1-f10) where they can be
1905450276Speter# found, and turn off the other magic keys along the top row, except
1905550276Speter# for line/local. Do the magic appropriate to make the page shifts work.
1905650276Speter# Also toggle ^S/^Q for those of us who use Emacs.
19057166124Srafant16|teleray 16,
19058166124Srafan	am, da, db, mir, xhp, xt,
19059166124Srafan	cols#80, lines#24,
19060166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
19061166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
19062166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
19063166124Srafan	ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
19064166124Srafan	kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
19065166124Srafan	rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
19066166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
19067166124Srafan	smso=\E[7m, smul=\E[4m,
1906850276Speter
1906950276Speter#### Texas Instruments (ti)
1907050276Speter#
1907150276Speter
1907250276Speter# The Silent 700 was so called because it was built around a quiet thermal
1907350276Speter# printer.  It was portable, equipped with an acoustic coupler, and pretty
1907450276Speter# neat for its day.
19075166124Srafanti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
19076166124Srafan	OTbs, hc, os,
19077166124Srafan	cols#80,
19078166124Srafan	bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
1907950276Speter
1908050276Speter#
1908150276Speter# Texas Instruments 916 VDT 7 bit control mode
1908250276Speter#
19083166124Srafanti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
19084166124Srafan	da, db, in, msgr,
19085166124Srafan	cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
19086166124Srafan	cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
19087166124Srafan	cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
19088166124Srafan	dch=\E[%p1%dP$<250>, dch1=\E[P, dl=\E[%p1%dM,
19089166124Srafan	ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, el1=\E[1K,
19090166124Srafan	enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
19091166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
19092166124Srafan	il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
19093166124Srafan	kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
19094166124Srafan	kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
19095166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
19096166124Srafan	kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
19097166124Srafan	kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, sgr@,
19098166124Srafan	smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
19099166124Srafan	use=vt220,
1910050276Speter#
1910150276Speter# Texas Instruments 916 VDT 8 bit control mode
1910250276Speter#
19103166124Srafanti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
19104166124Srafan	kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
19105166124Srafan	kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
19106166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
19107166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
19108166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
19109166124Srafan	kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916,
1911050276Speter#
1911150276Speter# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1911250276Speter#
19113166124Srafanti916-132|Texas Instruments 916 VDT vt220 132 column,
19114166124Srafan	cols#132, use=ti916,
1911550276Speter#
1911650276Speter# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1911750276Speter#
19118166124Srafanti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
19119166124Srafan	cols#132, use=ti916-8,
19120166124Srafanti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
19121166124Srafan	OTbs, am, xon,
19122166124Srafan	cols#80, it#8, lines#24,
19123166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19124166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19125166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19126166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19127166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19128166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19129166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
19130166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
19131166124Srafan	kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
19132166124Srafan	ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19133166124Srafan	smul=\E[4m, tbc=\E[3g,
19134166124Srafanti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
19135166124Srafan	am, xon,
19136166124Srafan	cols#80, it#8, lines#24,
19137166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19138166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19139166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19140166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19141166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19142166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19143166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
19144166124Srafan	kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
19145166124Srafan	kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
19146166124Srafan	kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
19147166124Srafan	rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19148166124Srafan	smul=\E[4m, tbc=\E[3g,
19149166124Srafanti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
19150166124Srafan	cols#132, use=ti924,
19151166124Srafanti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
19152166124Srafan	cols#132, use=ti924-8,
19153166124Srafanti931|Texas Instruments 931 VDT,
19154166124Srafan	OTbs, am, xon,
19155166124Srafan	cols#80, lines#24,
19156166124Srafan	bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
19157166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
19158166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
19159166124Srafan	ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
19160166124Srafan	is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19161166124Srafan	kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
19162166124Srafan	kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
19163166124Srafan	kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
19164166124Srafan	sgr0=\E4@, smso=\E4A, smul=\E4D,
19165166124Srafanti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
19166166124Srafan	csr@, ind=\E[1S, ri=\E[1T, use=ti924,
1916750276Speter# (ti926-8: I corrected this from the broken SCO entry -- esr)
19168166124Srafanti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
19169166124Srafan	csr@, ind=\2331S, ri=\2331T, use=ti924-8,
19170166124Srafanti_ansi|basic entry for ti928,
19171166124Srafan	am, bce, eo, xenl, xon,
19172166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
19173166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
19174166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
19175166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
19176166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
19177166124Srafan	il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19178166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
19179166124Srafan	kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
19180166124Srafan	kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
19181166124Srafan	op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
19182166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
19183166124Srafan	smso=\E[7m, smul=\E[4m,
1918450276Speter#
1918550276Speter#       928 VDT 7 bit control mode
1918650276Speter#
19187166124Srafanti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
19188166124Srafan	kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
19189166124Srafan	kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
19190166124Srafan	kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
19191166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
19192166124Srafan	kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi,
1919350276Speter#
1919450276Speter#       928 VDT 8 bit control mode
1919550276Speter#
19196166124Srafanti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
19197166124Srafan	kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
19198166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
19199166124Srafan	kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
19200166124Srafan	kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
19201166124Srafan	kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
19202166124Srafan	kpp=\233T, kprt=\23335~, use=ti_ansi,
1920350276Speter
1920450276Speter#### Zentec (zen)
1920550276Speter#
1920650276Speter
1920750276Speter# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
19208166124Srafan# had just <smso>=\EG6 which I think means standout was supposed to be
1920950276Speter# dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
1921050276Speter# <invis> might work-- esr)
19211166124Srafanzen30|z30|zentec 30,
19212166124Srafan	OTbs, am, mir, ul,
19213166124Srafan	cols#80, lines#24,
19214166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19215166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
19216166124Srafan	dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
19217166124Srafan	il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
19218166124Srafan	smul@, use=adm+sgr,
1921950276Speter# (zen50: this had extension capabilities
1922050276Speter#	:BS=^U:CL=^V:CR=^B:
1922150276Speter# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
1922250276Speter# which were also in the original entry -- esr)
1922350276Speter# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
19224166124Srafanzen50|z50|zentec zephyr,
19225166124Srafan	OTbs, am,
19226166124Srafan	cols#80, lines#24, xmc#1,
19227166124Srafan	clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
19228166124Srafan	cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
19229166124Srafan	invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
19230166124Srafan	rmul@, smul@, use=adm+sgr,
1923150276Speter
1923250276Speter# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
19233166124Srafancci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
19234166124Srafan	OTbs, am, bw,
19235166124Srafan	cols#80, lines#24,
19236166124Srafan	blink=\EM", clear=\EH\EJ, cnorm=\EP,
19237166124Srafan	csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
19238166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
19239166124Srafan	cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
19240166124Srafan	invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
19241166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
19242166124Srafan	rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
19243166124Srafan	smso=\EM$, smul=\EM0,
1924450276Speter
1924550276Speter######## OBSOLETE UNIX CONSOLES
1924650276Speter#
1924750276Speter
1924850276Speter#### Apollo consoles
1924950276Speter#
19250166124Srafan# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
1925150276Speter# labeled HP700s now.
1925250276Speter#
1925350276Speter
1925450276Speter# From: Gary Darland <goodmanc@garnet.berkeley.edu>
19255166124Srafanapollo|apollo console,
19256166124Srafan	OTbs, am, mir,
19257166124Srafan	cols#88, lines#53,
19258166124Srafan	clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
19259166124Srafan	cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
19260166124Srafan	ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
19261166124Srafan	rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
19262166124Srafan	smso=\ES, smul=\EU, vpa=\EO+\s,
1926350276Speter
1926450276Speter# We don't know whether or not the apollo guys replicated DEC's firmware bug
1926550276Speter# in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
1926650276Speter# both these capabilities.
19267166124Srafanapollo_15P|apollo 15 inch display,
19268166124Srafan	rmir@, smir@, use=vt132,
19269166124Srafanapollo_19L|apollo 19 inch display,
19270166124Srafan	rmir@, smir@, use=vt132,
19271166124Srafanapollo_color|apollo color display,
19272166124Srafan	rmir@, smir@, use=vt132,
1927350276Speter
1927450276Speter#### Convergent Technology
1927550276Speter#
1927650276Speter# Burroughs bought Convergent shortly before it merged with Univac.
1927750276Speter# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
1927850276Speter# from 1991 or earlier).
1927950276Speter#
1928050276Speter
1928150276Speter# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
1928250276Speter# (aws: removed unknown :dn=^K: -- esr)
19283166124Srafanaws|Convergent Technologies AWS workstation under UTX and Xenix,
19284166124Srafan	am,
19285166124Srafan	OTug#0, cols#80, lines#28, xmc#0,
19286166124Srafan	OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
19287166124Srafan	clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
19288166124Srafan	dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
19289166124Srafan	ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
19290166124Srafan	kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
19291166124Srafan	rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
19292166124Srafan	vpa=\EV%p1%c,
19293166124Srafanawsc|Convergent Technologies AWS workstation under CTOS,
19294166124Srafan	am,
19295166124Srafan	OTug#0, cols#80, lines#24, xmc#0,
19296166124Srafan	OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
19297166124Srafan	cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
19298166124Srafan	el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
19299166124Srafan	rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
19300166124Srafan	smul=\EAC,
1930150276Speter
1930250276Speter#### DEC consoles
1930350276Speter#
1930450276Speter
1930550276Speter# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
1930650276Speter# The digital uVax II's had a graphic display called a qdss.  It was
1930750276Speter# supposed to be a high performance graphic accelerator, but it was
1930850276Speter# late to market and barely appeared before faster dumb frame buffers
1930950276Speter# appeared.  I have only used this display while running X11.  However,
1931050276Speter# during bootup, it was in text mode, and probably had a terminal emulator
1931150276Speter# within it.  And that is what your termcap entry is for.  In graphics
1931250276Speter# mode the screen size is 1024x864 pixels.
19313166124Srafanqdss|qdcons|qdss glass tty,
19314166124Srafan	OTbs, am,
19315166124Srafan	cols#128, lines#57,
19316166124Srafan	clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
19317166124Srafan	cup=\E=%p1%c%p2%c, cuu1=^K,
1931850276Speter
1931950276Speter#### Fortune Systems consoles
1932050276Speter#
1932150276Speter# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
1932250276Speter# in their day; I (esr) used one myself for a year or so around 1984.
1932350276Speter# They had no graphics, though, and couldn't compete against Suns and
1932450276Speter# the like.  R.I.P.
1932550276Speter#
1932650276Speter
1932750276Speter# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
1932850276Speter# (This had extension capabilities
1932950276Speter#	:rv=\EH:re=\EI:rg=0:GG=0:\
1933050276Speter#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
1933150276Speter#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
1933250276Speter#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
1933350276Speter# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
1933450276Speter# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
1933550276Speter# to force both magic cookie glitches off.  Once upon a time, I
1933650276Speter# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
1933750276Speter# function keys; thus the "Al" value for HM was certainly an error.  I renamed
19338166124Srafan# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
1933950276Speter# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
1934050276Speter# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
1934150276Speter# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
19342166124Srafanfos|fortune|Fortune system,
19343166124Srafan	OTbs, am, bw,
19344166124Srafan	cols#80, lines#25,
19345166124Srafan	acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
19346166124Srafan	clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
19347166124Srafan	cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
19348166124Srafan	cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
19349166124Srafan	ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
19350166124Srafan	ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
19351166124Srafan	kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
19352166124Srafan	kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
19353166124Srafan	kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
19354166124Srafan	khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
19355166124Srafan	rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
19356166124Srafan	smso=^\H`, smul=^\HP,
1935750276Speter
1935850276Speter#### Masscomp consoles
1935950276Speter#
1936050276Speter# Masscomp has gone out of business.  Their product line was purchased by
1936150276Speter# comany in Georgia (US) called "XS International", parts and service may
1936250276Speter# still be available through them.
1936350276Speter#
1936450276Speter
1936550276Speter# (masscomp: ":MT:" changed to ":km:";  -- esr)
19366166124Srafanmasscomp|masscomp workstation console,
19367166124Srafan	OTbs, km, mir,
19368166124Srafan	cols#80, it#8, lines#24,
19369166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
19370166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19371166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
19372166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
19373166124Srafan	rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
19374166124Srafanmasscomp1|masscomp large screen version 1,
19375166124Srafan	cols#104, lines#36, use=masscomp,
19376166124Srafanmasscomp2|masscomp large screen version 2,
19377166124Srafan	cols#64, lines#21, use=masscomp,
1937850276Speter
1937950276Speter######## OTHER OBSOLETE TYPES
1938050276Speter#
1938150276Speter# These terminals are *long* dead -- these entries are retained for
1938250276Speter# historical interest only.
1938350276Speter#
1938450276Speter
1938550276Speter#### Obsolete non-ANSI software emulations
1938650276Speter#
1938750276Speter
1938850276Speter# CTRM terminal emulator
19389166124Srafan# 1. underlining is not allowed with colors: first, is is simulated by
1939050276Speter# black on white, second, it disables background color manipulations.
1939150276Speter# 2. BLINKING, REVERSE and BOLD are allowed with colors,
1939250276Speter# so we have to save their status in the static registers A, B and H
1939350276Speter# respectively, to be able to restore them when color changes
1939450276Speter# (because any color change turns off ALL attributes)
1939550276Speter# 3. <bold> and <rev> sequences alternate modes,
19396166124Srafan# rather than simply  entering them.  Thus we have to check the
19397166124Srafan# static register B and H to determine the status, before sending the
1939850276Speter# escape sequence.
1939950276Speter# 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
1940050276Speter# and then reset colors
1940150276Speter# 5. implementation of the protect mode would badly penalize the performance.
1940250276Speter# we would have to use \E&bn sequence to turn off colors (as well as all
1940350276Speter# other attributes), and keep the status of protect mode in yet another
1940450276Speter# static variable.  If someone really needs this mode, they would have to
1940550276Speter# create another terminfo entry.
1940650276Speter# 6. original color-pair is white on black.
1940750276Speter# store the information about colors into static registers
1940850276Speter# 7. set foreground color.  it performs the following steps.
1940950276Speter#   1) turn off all attributes
1941050276Speter#   2) turn on the background and video attributes that have been turned
1941150276Speter#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
1941250276Speter#   3) turn on foreground attributes
1941350276Speter#   4) store information about foreground into U,V,W static registers
1941450276Speter# 8. turn on background: similar to turn on foreground above
19415166124Srafanctrm|C terminal emulator,
19416166124Srafan	am, bce, xon,
19417166124Srafan	colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
19418166124Srafan	pairs#63, pb#19200, vt#6,
19419166124Srafan	bel=^G, blink=\E&dA%{1}%PA,
19420166124Srafan	bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
19421166124Srafan	clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19422166124Srafan	cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
19423166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
19424166124Srafan	il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
19425166124Srafan	kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
19426166124Srafan	kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
19427166124Srafan	kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
19428166124Srafan	op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
19429166124Srafan	rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
19430166124Srafan	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,
19431166124Srafan	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,
19432166124Srafan	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%;,
19433166124Srafan	sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
19434166124Srafan	smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
1943550276Speter
1943650276Speter# gs6300 - can't use blue foreground, it clashes with underline;
1943750276Speter# it's simulated with cyan
1943850276Speter# Bug: The <op> capability probably resets attributes.
1943950276Speter# (gs6300: commented out <rmln> (no <smln>) --esr)
19440166124Srafangs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
19441166124Srafan	am, bce, msgr, xon,
19442166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#63,
19443166124Srafan	acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19444166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
19445166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
19446166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
19447166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
19448166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
19449166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
19450166124Srafan	is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
19451166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
19452166124Srafan	kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
19453166124Srafan	khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
19454166124Srafan	ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
19455166124Srafan	setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
19456166124Srafan	sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
1945750276Speter
1945850276Speter# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
1945950276Speter# MS-Kermit with Heath-19 emulation mode enabled
1946050276Speter# (h19k: changed ":pt@:" to ":it@"
19461166124Srafanh19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
19462166124Srafan	am@, da, db, xt,
19463166124Srafan	it@,
19464166124Srafan	ht@, use=h19-u,
1946550276Speter
1946650276Speter# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
1946750276Speter# Software (formerly Peripherals Computers & Supplies, Inc) of
1946850276Speter# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
1946950276Speter# also be reached at support@synergy.com.
19470166124Srafanversaterm|versaterm vt100 emulator for the macintosh,
19471166124Srafan	am, xenl,
19472166124Srafan	cols#80, it#8, lines#24,
19473166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
19474166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
19475166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
19476166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
19477166124Srafan	dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
19478166124Srafan	el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
19479166124Srafan	il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
19480166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
19481166124Srafan	kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
19482166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
19483166124Srafan	rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
19484166124Srafan	sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
19485166124Srafan	smul=\E[4m$<2/>,
1948650276Speter
1948750276Speter# From: Rick Thomas <ihnp4!btlunix!rbt>
1948850276Speter# (xtalk: I added <rmam>/<smam> based on the init string.
19489166124Srafanxtalk|IBM PC with xtalk communication program (versions up to 3.4),
19490166124Srafan	am, mir, msgr, xon,
19491166124Srafan	cols#80, it#8, lines#24, vt#3, xmc#1,
19492166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19493166124Srafan	bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
19494166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
19495166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
19496166124Srafan	cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
19497166124Srafan	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
19498166124Srafan	il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB,
19499166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
19500166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m\s,
19501166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
19502166124Srafan	smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
19503166124Srafan	tbc=\E[3g, use=vt100+fnkeys,
1950450276Speter
1950550276Speter# The official PC terminal emulator program of the AT&T Product Centers.
1950650276Speter# Note - insert mode commented out - doesn't seem to work on AT&T PC.
19507166124Srafansimterm|attpc running simterm,
19508166124Srafan	am,
19509166124Srafan	cols#80, lines#24,
19510166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
19511166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
19512166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
19513166124Srafan	rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
1951450276Speter
1951550276Speter#### Daisy wheel printers
1951650276Speter#
1951750276Speter# This section collects Diablo, DTC, Xerox, Qume, and other daisy
1951850276Speter# wheel terminals.  These are now largely obsolete.
1951950276Speter#
1952050276Speter
1952150276Speter# (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
19522166124Srafandiablo1620|diablo1720|diablo450|ipsi|diablo 1620,
19523166124Srafan	hc, os,
19524166124Srafan	cols#132, it#8,
19525166124Srafan	cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
19526166124Srafan	ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
19527166124Srafandiablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
19528166124Srafan	cols#124,
19529166124Srafan	is2=\r        \E9, use=diablo1620,
1953050276Speter# (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
19531166124Srafandiablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
19532166124Srafan	bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
19533166124Srafan	use=diablo1620,
19534166124Srafan# (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
1953550276Speter# file -- esr)
19536166124Srafandiablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
19537166124Srafan	cols#124,
19538166124Srafan	rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
19539166124Srafandiablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
19540166124Srafan	use=diablo1640-lm,
1954150276Speter# DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
1954250276Speter# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
19543166124Srafan# The terminal has tabs, but I'm getting tired of fighting the braindamage.
1954450276Speter# If no tab is set or the terminal's in a bad mood, it glitches the screen
1954550276Speter# around all of memory.  Note that return puts a blank ("a return character")
1954650276Speter# in the space the cursor was at, so we use ^P return (and thus ^P newline for
1954750276Speter# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
1954850276Speter# curses won't work (some old BSD versions) because it doesn't clear this bit,
1954950276Speter# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
1955050276Speter# I have been unable to get tabs set in all 96 lines - it always leaves at
1955150276Speter# least one line with no tabs in it, and once you tab through that line,
1955250276Speter# it completely weirds out.
1955350276Speter# (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
19554166124Srafandtc382|DTC 382,
19555166124Srafan	am, da, db, xhp,
19556166124Srafan	cols#80, lines#24, lm#96,
19557166124Srafan	bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
19558166124Srafan	cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
19559166124Srafan	dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
19560166124Srafan	home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
19561166124Srafan	rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
19562166124Srafandtc300s|DTC 300s,
19563166124Srafan	hc, os,
19564166124Srafan	cols#132,
19565166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19566166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
19567166124Srafangsi|mystery gsi terminal,
19568166124Srafan	hc, os,
19569166124Srafan	cols#132,
19570166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
19571166124Srafan	ind=^J,
19572166124Srafanaj830|aj832|aj|anderson jacobson,
19573166124Srafan	hc, os,
19574166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
19575166124Srafan	ind=^J,
1957650276Speter# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
19577166124Srafanaj510|Anderson-Jacobson model 510,
19578166124Srafan	am, mir,
19579166124Srafan	cols#80, lines#24,
19580166124Srafan	clear=^L, cub1=^H, cuf1=\EX,
19581166124Srafan	cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
19582166124Srafan	dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
19583166124Srafan	il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
19584166124Srafan	kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
19585166124Srafan	rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
19586166124Srafan	smul=\E"U,
1958750276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1958850276Speter# This is incomplete, but it's a start.
19589166124Srafannec5520|nec|spinwriter|nec 5520,
19590166124Srafan	hc, os,
19591166124Srafan	cols#132, it#8,
19592166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
19593166124Srafan	hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
19594166124Srafan	kbs=^H, tbc=\E3,
19595166124Srafanqume5|qume|Qume Sprint 5,
19596166124Srafan	hc, os,
19597166124Srafan	cols#80, it#8,
19598166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19599166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
1960050276Speter# I suspect the xerox 1720 is the same as the diablo 1620.
19601166124Srafanxerox1720|x1720|x1750|xerox 1720,
19602166124Srafan	hc, os,
19603166124Srafan	cols#132, it#8,
19604166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
19605166124Srafan	tbc=\E2,
1960650276Speter
1960750276Speter#### Miscellaneous obsolete terminals, manufacturers unknown
1960850276Speter#
19609166124Srafan# If you have any information about these (like, a manufacturer's name,
1961050276Speter# and a date on the serial-number plate) please send it!
1961150276Speter
19612166124Srafancad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
19613166124Srafan	OTbs, am,
19614166124Srafan	cols#73, lines#36,
19615166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
19616166124Srafancad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
19617166124Srafan	OTbs, am,
19618166124Srafan	cols#85, lines#39,
19619166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
19620166124Srafan	kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
19621166124Srafan	kf4=\E8, rmso=\Em^C, smso=\Em^L,
19622166124Srafancops10|cops|cops-10|cops 10,
19623166124Srafan	am, bw,
19624166124Srafan	cols#80, lines#24,
19625166124Srafan	bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19626166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
19627166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
19628166124Srafan	khome=^Y,
1962950276Speter# (d132: removed duplicate :ic=\E5:,
1963050276Speter# merged in capabilities from a BRL entry -- esr)
19631166124Srafand132|datagraphix|datagraphix 132a,
19632166124Srafan	da, db, in,
19633166124Srafan	cols#80, lines#30,
19634166124Srafan	bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
19635166124Srafan	cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
19636166124Srafan	dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
19637166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1963850276Speter# The d800 was an early portable terminal from c.1984-85 that looked a lot
1963950276Speter# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
1964050276Speter# mode (which is what this entry looks like) and several other lesser-known
1964150276Speter# emulations.
19642166124Srafand800|Direct 800/A,
19643166124Srafan	OTbs, am, da, db, msgr, xhp,
19644166124Srafan	cols#80, it#8, lines#24,
19645166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
19646166124Srafan	bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
19647166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
19648166124Srafan	cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
19649166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
19650166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
19651166124Srafan	ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19652166124Srafan	smacs=\E[1m, smso=\E[7m, smul=\E[4m,
19653166124Srafandigilog|digilog 333,
19654166124Srafan	OTbs,
19655166124Srafan	cols#80, lines#16,
19656166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
19657166124Srafan	home=^N, ind=^J,
1965850276Speter# The DWK was a terminal manufactured in the Soviet Union c.1986
19659166124Srafandwk|dwk-vt|dwk terminal,
19660166124Srafan	am,
19661166124Srafan	cols#80, it#8, lines#24,
19662166124Srafan	acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
19663166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19664166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
19665166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
19666166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
19667166124Srafan	kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
19668166124Srafan	kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
19669166124Srafan	kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
19670166124Srafan	sgr0=\EX, smacs=\EF, smso=\ET,
19671166124Srafanenv230|envision230|envision 230 graphics terminal,
19672166124Srafan	xenl@,
19673166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
19674166124Srafan	sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
19675166124Srafan	use=vt100,
1967650276Speter# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
1967750276Speter# coupler attached, the whole rig fitting in a suitcase and more or less
1967850276Speter# portable.  Hot stuff for c.1977 :-) -- esr
19679166124Srafanep48|ep4080|execuport 4080,
19680166124Srafan	OTbs, am, os,
19681166124Srafan	cols#80,
19682166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
19683166124Srafanep40|ep4000|execuport 4000,
19684166124Srafan	cols#136, use=ep4080,
1968562449Speter# Adam Thompson <athompso@pangea.ca> tells us:
1968650276Speter# Informer series - these are all portable units, resembling older
1968750276Speter# automatic bread-baking machines.  The terminal looks like a `clamshell'
1968850276Speter# design, but isn't.  The structure is similar to the Direct terminals,
1968950276Speter# but only half the width.  The entire unit is only about 10" wide.
1969050276Speter# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
1969150276Speter# keyboard.  All the keys are crammed together, much like some laptop
1969250276Speter# PCs today, but perhaps less well organized...all these units have a
1969350276Speter# bewildering array of plugs on the back, including a built-in modem.
1969450276Speter# The 305 was a color version of the 304; the 306 and 307 were mono and
1969550276Speter# color terminals built for IBM bisync protocols.
1969650276Speter# From: Paul Leondis <unllab@amber.berkeley.edu>
19697166124Srafanifmr|Informer D304,
19698166124Srafan	OTbs, am,
19699166124Srafan	cols#80, lines#24,
19700166124Srafan	clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
19701166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
19702166124Srafan	ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
19703166124Srafan	smso=\EJ,
1970450276Speter# Entry largely based on wy60 and has the features of wy60ak.
19705166124Srafanopus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
19706166124Srafan	am, bw, hs, km, mir, msgr, ul, xon,
19707166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
19708166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
19709166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
19710166124Srafan	cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
19711166124Srafan	dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
19712166124Srafan	ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
19713166124Srafan	hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
19714166124Srafan	ip=$<3>,
19715166124Srafan	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,
19716166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
19717166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
19718166124Srafan	kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
19719166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
19720166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
19721166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
19722166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
19723166124Srafan	mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
19724166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
19725166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
19726166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
19727166124Srafan	rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
19728166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
19729166124Srafan	rs3=\EwG\Ee($<150>,
19730166124Srafan	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,
19731166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
19732166124Srafan	smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
19733166124Srafan	smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
19734166124Srafan	uc=\EG8\EG0, use=adm+sgr,
19735166124Srafanteletec|Teletec Datascreen,
19736166124Srafan	OTbs, am,
19737166124Srafan	cols#80, lines#24,
19738166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
19739166124Srafan	home=^^, ind=^J,
1974050276Speter# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
1974150276Speter# This description is for the LANPAR Technologies VISION 3220
1974250276Speter# terminal from 1984/85.  The function key definitions k0-k5 represent the
1974350276Speter# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
1974450276Speter# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1974562449Speter#
1974662449Speter# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
1974762449Speter# I had a couple of scopes (3221) like this once where I used to work, around
19748166124Srafan# the 1987 time frame if memory serves me correctly.  These scopes were made
1974962449Speter# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
1975062449Speter# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
1975162449Speter# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
1975262449Speter# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
1975362449Speter# (3221) cost about $1500 each, and one was always broken -- had to be sent
1975462449Speter# back to the shop for repairs.
1975562449Speter# The only real advantage these scopes had over the VT-240's were:
1975662449Speter# 1) They were faster in the Regis display, or at least the ones I did
1975762449Speter# 2) They had a handy debugging feature where you could split-screen the
1975862449Speter# scope, the graphics would appear on the top, and the REGIS commands would
1975962449Speter# appear on the bottom.  I don't remember the VT-240s being able to do that.
1976062449Speter# I would swear that LANPAR Technologies was in MA someplace, but since I
1976162449Speter# don't work at the same place anymore, and those terminals and manuals were
1976262449Speter# long since junked, I cannot be any more sure than that.
1976362449Speter#
1976450276Speter# (v3220: removed obsolete ":kn#10:",
1976550276Speter# I added <rmam>/<smam> based on the init string -- esr)
19766166124Srafanv3220|LANPAR Vision II model 3220/3221/3222,
19767166124Srafan	OTbs, am, mir, xenl,
19768166124Srafan	cols#80, it#8, lines#24,
19769166124Srafan	clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
19770166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19771166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
19772166124Srafan	is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
19773166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
19774166124Srafan	kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
19775166124Srafan	kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
19776166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19777166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1977850276Speter######## ICH/ICH1 VERSUS RMIR/SMIR
1977950276Speter#
1978050276Speter# Some non-curses applications get confused if both ich/ich1 and rmir/smir
1978150276Speter# are present; the symptom is doubled characters in an update using insert.
1978250276Speter# These applications are technically correct; in both 4.3BSD termcap and
1978350276Speter# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
1978450276Speter# unless the terminal needs both.  To my knowledge, no terminal still in this
1978550276Speter# file requires both other than the very obsolete dm2500.
1978650276Speter#
1978750276Speter# For ncurses-based applications this is not a problem, as ncurses uses
1978850276Speter# one or the other as appropriate but never mixes the two.  Therefore we
1978950276Speter# have not corrected entries like `linux' and `xterm' that specify both.
1979050276Speter# If you see doubled characters from these, use the linux-nic and xterm-nic
1979150276Speter# entries that suppress ich/ich1.  And upgrade to ncurses!
1979250276Speter#
1979350276Speter
1979450276Speter######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1979550276Speter#
1979650276Speter# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
1979750276Speter# ECMA-48 standards are said to be almost identical, but are not the same
1979850276Speter# as X3.64 (though for practical purposes they are close supersets of it).
1979950276Speter#
1980050276Speter# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
1980150276Speter# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
1980250276Speter# Coded Character Sets"), include your snail-mail address, and you should
1980350276Speter# receive the document in due course.  Don't expect an email acknowledgement.
1980450276Speter#
1980550276Speter# Related standards include "X3.4-1977: American National Standard Code for
19806166124Srafan# Information Interchange" (the ASCII standard) and "X3.41.1974:
1980750276Speter# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1980850276Speter# American National Standard for Information Interchange."  I believe (but
1980950276Speter# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
19810166124Srafan# respectively.
1981150276Speter#
1981250276Speter
1981350276Speter#### VT100/ANSI/ECMA-48
1981450276Speter#
1981550276Speter# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1981650276Speter# and ECMA-48 Control Functions for Coded Character Sets.
19817166124Srafan#
1981850276Speter# Much of the content of this comment is adapted from a table prepared by
1981950276Speter# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
1982050276Speter# discussion of some terminfo-related issues, and updates to capture ECMA-48
1982150276Speter# have been added.  Control functions described in ECMA-48 only are tagged
1982250276Speter# with * after their names.
1982350276Speter#
1982450276Speter# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
1982550276Speter# sequences.  In the main table, \E stands for an escape (\033) character,
1982650276Speter# SPC for space.  Pn stands for a single numeric parameter to be inserted
1982750276Speter# in decimal ASCII.  Ps stands for a list of such parameters separated by
1982850276Speter# semicolons.  Parameter meanings for most parametrized sequences are
1982950276Speter# decribed in the notes.
1983050276Speter#
1983150276Speter# Sequence     Sequence                             Parameter   or
1983250276Speter# Mnemonic     Name              Sequence           Value      Mode   terminfo
1983350276Speter# -----------------------------------------------------------------------------
1983450276Speter# APC  Applicatn Program Command \E _                -         Delim  -
1983550276Speter# BEL  Bell *                    ^G                  -         -      bel
1983650276Speter# BPH  Break Permitted Here *    \E B                -         *      -
1983750276Speter# BS   Backpace *                ^H                  -         EF     -
1983850276Speter# CAN  Cancel *                  ^X                  -         -      -   (A)
1983950276Speter# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
1984050276Speter# CCH  Cancel Previous Character \E T                -         -      -
1984150276Speter# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
1984250276Speter# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
1984350276Speter# CMD  Coding Method Delimiter * \E
1984450276Speter# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1984550276Speter# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1984650276Speter# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1984750276Speter# CSI  Control Sequence Intro    \E [                -         Intro  -
1984850276Speter# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1984950276Speter# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
1985050276Speter# CUD  Cursor Down               \E [ Pn B           1         eF     cud
1985150276Speter# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1985250276Speter# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1985350276Speter# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1985450276Speter# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1985550276Speter# DA   Device Attributes         \E [ Pn c           0         -      -
1985650276Speter# DAQ  Define Area Qualification \E [ Ps o           0         -      -
1985750276Speter# DCH  Delete Character          \E [ Pn P           1         eF     dch
1985850276Speter# DCS  Device Control String     \E P                -         Delim  -
1985950276Speter# DL   Delete Line               \E [ Pn M           1         eF     dl
1986050276Speter# DLE  Data Link Escape *        ^P                  -         -      -
1986150276Speter# DMI  Disable Manual Input      \E \                -         Fs     -
1986250276Speter# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
1986350276Speter# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
1986450276Speter# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1986550276Speter# ECH  Erase Character           \E [ Pn X           1         eF     ech
1986650276Speter# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1986750276Speter# EF   Erase in Field            \E [ Ps N           0         eF     -
1986850276Speter# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1986950276Speter# EM   End of Medium *           ^Y                  -         -      -
1987050276Speter# EMI  Enable Manual Input       \E b                          Fs     -
1987150276Speter# ENQ  Enquire                   ^E                  -         -      -
1987250276Speter# EOT  End Of Transmission       ^D                  -         *      -
1987350276Speter# EPA  End of Protected Area     \E W                -         -      -   (K)
1987450276Speter# ESA  End of Selected Area      \E G                -         -      -
1987550276Speter# ESC  Escape                    ^[                  -         -      -
1987650276Speter# ETB  End Transmission Block    ^W                  -         -      -
1987750276Speter# ETX  End of Text               ^C                  -         -      -
1987850276Speter# FF   Form Feed                 ^L                  -         -      -
1987950276Speter# FNK  Function Key *            \E [ Pn SPC W       -         -      -
1988050276Speter# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1988150276Speter# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1988250276Speter# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1988350276Speter# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1988450276Speter# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
1988550276Speter# HPB  Char Position Backward    \E [ j              1         FE     -
1988650276Speter# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
1988750276Speter# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
1988850276Speter# HTJ  Horz Tab w/Justification  \E I                -         FE     -
1988950276Speter# HTS  Horizontal Tab Set        \E H                -         FE     hts
1989050276Speter# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1989150276Speter# ICH  Insert Character          \E [ Pn @           1         eF     ich
1989250276Speter# IDCS ID Device Control String  \E [ SPC O          -         *      -
1989350276Speter# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1989450276Speter# IL   Insert Line               \E [ Pn L           1         eF     il
1989550276Speter# IND  Index                     \E D                -         FE     -
1989650276Speter# INT  Interrupt                 \E a                -         Fs     -
1989750276Speter# JFY  Justify                   \E [ Ps SPC F       0         FE     -
1989850276Speter# IS1  Info Separator #1 *       ^_                  -         *      -
1989950276Speter# IS2  Info Separator #1 *       ^^                  -         *      -
1990050276Speter# IS3  Info Separator #1 *       ^]                  -         *      -
1990150276Speter# IS4  Info Separator #1 *       ^\                  -         *      -
1990250276Speter# LF   Line Feed                 ^J                  -         -      -
1990350276Speter# LS1R Locking Shift Right 1 *   \E ~                -         -      -
1990450276Speter# LS2  Locking Shift 2 *         \E n                -         -      -
1990550276Speter# LS2R Locking Shift Right 2 *   \E }                -         -      -
1990650276Speter# LS3  Locking Shift 3 *         \E o                -         -      -
1990750276Speter# LS3R Locking Shift Right 3 *   \E |                -         -      -
1990850276Speter# MC   Media Copy                \E [ Ps i           0         -      -   (S)
1990950276Speter# MW   Message Waiting           \E U                -         -      -
1991050276Speter# NAK  Negative Acknowledge *    ^U                  -         *      -
1991150276Speter# NBH  No Break Here *           \E C                -         -      -
1991250276Speter# NEL  Next Line                 \E E                -         FE     nel (D)
1991350276Speter# NP   Next Page                 \E [ Pn U           1         eF     -
1991450276Speter# NUL  Null *                    ^@                  -         -      -
1991550276Speter# OSC  Operating System Command  \E ]                -         Delim  -
1991650276Speter# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
1991750276Speter# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
1991850276Speter# PLD  Partial Line Down         \E K                -         FE     -   (T)
1991950276Speter# PLU  Partial Line Up           \E L                -         FE     -   (U)
1992050276Speter# PM   Privacy Message           \E ^                -         Delim  -
1992150276Speter# PP   Preceding Page            \E [ Pn V           1         eF     -
1992250276Speter# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
1992350276Speter# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
1992450276Speter# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
1992550276Speter# PTX  Parallel Texts *          \E [ \              -         -      -
1992650276Speter# PU1  Private Use 1             \E Q                -         -      -
1992750276Speter# PU2  Private Use 2             \E R                -         -      -
1992850276Speter# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
1992950276Speter# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
1993050276Speter# RI   Reverse Index             \E M                -         FE     -   (V)
1993150276Speter# RIS  Reset to Initial State    \E c                -         Fs     -
1993250276Speter# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
1993350276Speter# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
1993450276Speter# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
1993550276Speter# SCI  Single-Char Introducer    \E Z                -         -      -
1993650276Speter# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
1993750276Speter# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
1993850276Speter# SD   Scroll Down               \E [ Pn T           1         eF     rin
1993950276Speter# SDS  Start Directed String *   \E [ Pn ]           1         -      -
1994050276Speter# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
1994150276Speter# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
1994250276Speter# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
1994350276Speter# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
1994450276Speter# SI   Shift In                  ^O                  -         -      -   (P)
1994550276Speter# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
1994650276Speter# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
1994750276Speter# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
1994850276Speter# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
1994950276Speter# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
1995050276Speter# SM   Select Mode               \E [ Ps h           none      -      -   (W)
1995150276Speter# SO   Shift Out                 ^N                  -         -      -   (Q)
1995250276Speter# SOH  Start Of Heading *        ^A                  -         -      -
1995350276Speter# SOS  Start of String *         \E X                -         -      -
1995450276Speter# SPA  Start of Protected Area   \E V                -         -      -   (Z)
1995550276Speter# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
1995650276Speter# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
1995750276Speter# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
1995850276Speter# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
1995950276Speter# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
1996050276Speter# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
1996150276Speter# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
1996250276Speter# SRS  Start Reversed String *   \E [ Ps [           0         -      -
1996350276Speter# SSA  Start of Selected Area    \E F                -         -      -
1996450276Speter# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
1996550276Speter# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
1996650276Speter# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
1996750276Speter# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
1996850276Speter# ST   String Terminator         \E \                -         Delim  -
1996950276Speter# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
1997050276Speter# STS  Set Transmit State        \E S                -         -      -
1997150276Speter# STX  Start pf Text *           ^B                  -         -      -
1997250276Speter# SU   Scroll Up                 \E [ Pn S           1         eF     indn
1997350276Speter# SUB  Substitute *              ^Z                  -         -      -
1997450276Speter# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
1997550276Speter# SYN  Synchronous Idle *        ^F                  -         -      -
1997650276Speter# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
1997750276Speter# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
1997850276Speter# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
1997950276Speter# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
1998050276Speter# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
1998150276Speter# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
1998250276Speter# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
1998350276Speter# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
1998450276Speter# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
1998550276Speter# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
1998650276Speter# VT   Vertical Tabulation *     ^K                  -         FE     -
1998750276Speter# VTS  Vertical Tabulation Set   \E J                -         FE     -
19988166124Srafan#
1998950276Speter# ---------------------------------------------------------------------------
1999050276Speter#
1999150276Speter# Notes:
1999250276Speter#
19993166124Srafan# Some control characters are listed in the ECMA-48 standard without
19994166124Srafan# being assigned functions relevant to terminal control there (they
1999550276Speter# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
1999650276Speter# here anyway for completeness.
1999750276Speter#
1999850276Speter# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
1999950276Speter#
2000050276Speter# (B) There seems to be some confusion abroad between CHA and HPA.  Most
2000150276Speter# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
2000250276Speter# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
2000350276Speter# preserved the CHA abbreviation.
2000450276Speter#
2000550276Speter# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
2000650276Speter# Occasionally (as on, for example, certain HP terminals) this has the HTJ
2000750276Speter# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
2000850276Speter# CHT abbreviation.
2000950276Speter#
2001050276Speter# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
2001150276Speter#
20012166124Srafan# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
2001350276Speter# abbreviation.
20014166124Srafan#
2001550276Speter# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
20016166124Srafan# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
2001750276Speter# 5 = clear all char tabs, 6 = clear all line tabs.
2001850276Speter#
2001950276Speter# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
2002050276Speter# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
2002150276Speter# Position Absolute" but retains the HVP abbreviation.
2002250276Speter#
2002350276Speter# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
2002450276Speter# abbreviation.
2002550276Speter#
2002650276Speter# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
2002750276Speter# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
2002850276Speter# DSR, 6 = request CPR response.
2002950276Speter#
2003050276Speter# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
2003150276Speter# 1 = clear from beginning, 2 = clear.
20032166124Srafan#
2003350276Speter# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
2003450276Speter#
2003550276Speter# (L) The GSM parameters are vertical and horizontal parameters to scale by.
2003650276Speter#
2003750276Speter# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
2003850276Speter# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
2003950276Speter# Position Relative" but retains the HPR abbreviation.
2004050276Speter#
2004150276Speter# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
2004250276Speter# abbreviation.
2004350276Speter#
2004450276Speter# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
2004550276Speter# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
2004650276Speter# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
2004750276Speter# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
2004850276Speter# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
2004950276Speter# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
2005050276Speter# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
2005150276Speter# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
2005250276Speter# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
2005350276Speter# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
2005450276Speter# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
2005550276Speter# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
2005650276Speter# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
2005750276Speter# 61-65 = variable highlights for ideograms.
2005850276Speter#
2005950276Speter# (P) SI is also called LSO, Locking Shift Zero.
2006050276Speter#
2006150276Speter# (Q) SI is also called LS1, Locking Shift One.
2006250276Speter#
2006350276Speter# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
2006450276Speter# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
2006550276Speter# Absolute' but retains the VPA abbreviation.
2006650276Speter#
2006750276Speter# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
2006850276Speter# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
20069166124Srafan# from secondary aux device, 4 = stop relay to primary aux device, 5 =
2007050276Speter# start relay to primary aux device, 6 = stop relay to secondary aux device,
2007150276Speter# 7 = start relay to secondary aux device.
2007250276Speter#
2007350276Speter# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
2007450276Speter# abbreviation.
2007550276Speter#
20076166124Srafan# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
2007750276Speter# abbreviation.
2007850276Speter#
2007950276Speter# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
2008050276Speter#
20081166124Srafan# (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
20082166124Srafan# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
2008350276Speter# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
2008450276Speter# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
20085166124Srafan# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
2008650276Speter# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
20087166124Srafan# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
2008850276Speter# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
2008950276Speter# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
2009050276Speter# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
2009150276Speter# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
2009250276Speter# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
2009350276Speter# from ECMA-48's 5th edition but are listed here for reference.
2009450276Speter#
2009550276Speter# (X) Select Alternate Presentation Variants is used only for non-Latin
2009650276Speter# alphabets.
2009750276Speter#
2009850276Speter# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
2009950276Speter#
2010050276Speter# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
2010150276Speter# abbreviation.
2010250276Speter#
2010350276Speter# ---------------------------------------------------------------------------
20104166124Srafan#
2010550276Speter# Abbreviations:
2010650276Speter#
2010750276Speter# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
2010850276Speter#        X3.64 Control Sequence Introducer is the two characters "Escape ["
20109166124Srafan#
2011050276Speter# Delim  a Delimiter
20111166124Srafan#
2011250276Speter# x/y    identifies a character by position in the ASCII table (column/row)
20113166124Srafan#
2011450276Speter# eF     editor function (see explanation)
20115166124Srafan#
2011650276Speter# FE     format effector (see explanation)
2011750276Speter#
2011850276Speter# F      is a Final character in
2011950276Speter#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
2012050276Speter#             a control sequence (F from 4/0 to 7/14)
20121166124Srafan#
2012250276Speter# Gs     is a graphic character appearing in strings (Gs ranges from
2012350276Speter#        2/0 to 7/14) in the ASCII table
20124166124Srafan#
2012550276Speter# Ce     is a control represented as a single bit combination in the C1 set
2012650276Speter#        of controls in an 8-bit character set
20127166124Srafan#
2012850276Speter# C0     the familiar set of 7-bit ASCII control characters
20129166124Srafan#
2013050276Speter# C1     roughly, the set of control chars available only in 8-bit systems.
2013150276Speter#        This is too complicated to explain fully here, so read Jim Fleming's
2013250276Speter#        article in the February 1983 BYTE, especially pages 214 through 224.
20133166124Srafan#
2013450276Speter# Fe     is a Final character of a 2-character Escape sequence that has an
2013550276Speter#        equivalent representation in an 8-bit environment as a Ce-type
2013650276Speter#        (Fe ranges from 4/0 to 5/15)
20137166124Srafan#
2013850276Speter# Fs     is a Final character of a 2-character Escape sequence that is
2013950276Speter#        standardized internationally with identical representation in 7-bit
2014050276Speter#        and 8-bit environments and is independent of the currently
2014150276Speter#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
20142166124Srafan#
2014350276Speter# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
2014450276Speter#        ASCII table
20145166124Srafan#
2014650276Speter# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
2014750276Speter#        table
20148166124Srafan#
2014950276Speter# Pn     is a numeric parameter in a control sequence, a string of zero or
2015050276Speter#        more characters ranging from 3/0 to 3/9 in the ASCII table
20151166124Srafan#
2015250276Speter# Ps     is a variable number of selective parameters in a control sequence
2015350276Speter#        with each selective parameter separated from the other by the code
2015450276Speter#        3/11 (which usually represents a semicolon); Ps ranges from
2015550276Speter#        3/0 to 3/9 and includes 3/11
2015650276Speter#
2015750276Speter# *      Not relevant to terminal control, listed for completeness only.
20158166124Srafan#
2015950276Speter# Format Effectors versus Editor Functions
20160166124Srafan#
2016150276Speter# A format effector specifies how following output is to be displayed.
2016250276Speter# An editor function allows you to modify the display.  Informally
2016350276Speter# format effectors may be destructive; format effectors should not be.
20164166124Srafan#
20165166124Srafan# For instance, a format effector that moves the "active position" (the
2016650276Speter# cursor or equivalent) one space to the left would be useful when you want to
2016750276Speter# create an overstrike, a compound character made of two standard characters
2016850276Speter# overlaid. Control-H, the Backspace character, is actually supposed to be a
2016950276Speter# format effector, so you can do this. But many systems use it in a
2017050276Speter# nonstandard fashion, as an editor function, deleting the character to the
2017150276Speter# left of the cursor and moving the cursor left. When Control-H is assumed to
2017250276Speter# be an editor function, you cannot predict whether its use will create an
2017350276Speter# overstrike unless you also know whether the output device is in an "insert
2017450276Speter# mode" or an "overwrite mode". When Control-H is used as a format effector,
2017550276Speter# its effect can always be predicted. The familiar characters carriage
2017650276Speter# return, linefeed, formfeed, etc., are defined as format effectors.
2017750276Speter#
2017850276Speter# NOTES ON THE DEC VT100 IMPLEMENTATION
20179166124Srafan#
2018050276Speter# Control sequences implemented in the VT100 are as follows:
20181166124Srafan#
2018250276Speter#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
2018350276Speter#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
20184166124Srafan#
2018550276Speter# plus several private DEC commands.
20186166124Srafan#
2018750276Speter# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
20188166124Srafan#
2018950276Speter#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
2019050276Speter#      Erase from beginning of line to cursor     Esc [ 1 K
2019150276Speter#      Erase line containing cursor               Esc [ 2 K
2019250276Speter#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
2019350276Speter#      Erase from beginning of screen to cursor   Esc [ 1 J
2019450276Speter#      Erase entire screen                        Esc [ 2 J
2019550276Speter#
2019650276Speter# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
2019750276Speter# Esc [ 2 J, but this is wrong; the default is 0.
20198166124Srafan#
2019950276Speter# The VT100 responds to receiving the DA (Device Attributes) control
20200166124Srafan#
2020150276Speter#      Esc [ c    (or Esc [ 0 c)
20202166124Srafan#
2020350276Speter# by transmitting the sequence
20204166124Srafan#
2020550276Speter#      Esc [ ? l ; Ps c
20206166124Srafan#
2020750276Speter# where Ps is a character that describes installed options.
20208166124Srafan#
2020950276Speter# The VT100's cursor location can be read with the DSR (Device Status
2021050276Speter# Report) control
20211166124Srafan#
2021250276Speter#      Esc [ 6 n
20213166124Srafan#
2021450276Speter# The VT100 reports by transmitting the CPR sequence
20215166124Srafan#
2021650276Speter#      Esc [ Pl ; Pc R
20217166124Srafan#
2021850276Speter# where Pl is the line number and Pc is the column number (in decimal).
20219166124Srafan#
2022050276Speter# The specification for the DEC VT100 is document EK-VT100-UG-003.
2022150276Speter
2022250276Speter#### ANSI.SYS
20223166124Srafan#
2022450276Speter# Here is a description of the color and attribute controls supported in the
2022550276Speter# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
2022650276Speter# terminal emulators for Intel boxes obey these.  They are a proper subset
2022750276Speter# of the ECMA-48 escapes.
2022850276Speter#
2022950276Speter# 0	all attributes off
2023050276Speter# 1	foreground bright
2023150276Speter# 4	underscore on
2023250276Speter# 5	blink on/background bright (not reliable with brown)
2023350276Speter# 7	reverse-video
2023450276Speter# 8	set blank (non-display)
2023550276Speter# 10	set primary font
2023650276Speter# 11	set first alternate font (on PCs, display ROM characters 1-31)
2023750276Speter# 12	set second alternate font (on PCs, display IBM high-half chars)
2023850276Speter#
2023950276Speter#			Color attribute sets
2024050276Speter# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
2024150276Speter# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
2024250276Speter# Bright black becomes gray.  Bright brown becomes yellow,
2024350276Speter# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
2024450276Speter#
2024550276Speter# * If the 5 attribute is on and you set a background color (40-47) it is
2024650276Speter#   supposed to enable bright background.
2024750276Speter#
2024850276Speter# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
2024950276Speter#   when you try to set a "bright brown" (yellow) background with attribute
2025050276Speter#   5 (you get a blinking yellow foreground instead).  A few displays
2025150276Speter#   (including the System V console) support an attribute 6 that undoes this
2025250276Speter#   braindamage (this is required by iBCS2).
2025350276Speter#
2025450276Speter# * Some older versions of ANSI.SYS have a bug that causes thems to require
2025550276Speter#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
2025650276Speter#   compatible.)
2025750276Speter
2025850276Speter#### Intel Binary Compatibility Standard
2025950276Speter#
20260166124Srafan# For comparison, here are the capabilities implied by the Intel Binary
2026150276Speter# Compatibility Standard for UNIX systems (Intel order number 468366-001).
2026250276Speter# These recommendations are optional.  IBCS2 allows the leading escape to
2026350276Speter# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
2026450276Speter# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
2026550276Speter# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
2026650276Speter# terminfo entry are followed with the corresponding capability in parens:
2026750276Speter#
2026850276Speter#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
2026950276Speter#	CSI 2h   		lock keyboard
2027050276Speter#	CSI 2i  		send screen as input
2027150276Speter#	CSI 2l  		unlock keyboard
2027250276Speter#	CSI 6m  		enable background color intensity
2027350276Speter#	CSI <0-2>c		reserved
2027450276Speter#	CSI <0-59>m		select graphic rendition
2027550276Speter#	CSI <n>;<m>H	(cup)	cursor to line n and column m
2027650276Speter#	CSI <n>;<m>f		cursor to line n and column m
2027750276Speter#	CSI <n>@	(ich)	insert characters
2027850276Speter#	CSI <n>A	(cuu)	cursor up n lines
2027950276Speter#	CSI <n>B	(cud)	cursor down n lines
2028050276Speter#	CSI <n>C	(cuu)	cursor right n characters
2028150276Speter#	CSI <n>D	(cud)	cursor left n characters
2028250276Speter#	CSI <n>E		cursor down n lines and in first column
2028350276Speter#	CSI <n>F		cursor up n lines and in first column
2028450276Speter#	CSI <n>G	(hpa)	position cursor at column n-1
2028550276Speter#	CSI <n>J	(ed)	erase in display
2028650276Speter#	CSI <n>K	(el)	erase in line
2028750276Speter#	CSI <n>L	(il)	insert line(s)
2028850276Speter#	CSI <n>P	(dch)	delete characters
2028950276Speter#	CSI <n>S	(indn)	scroll up n lines
2029050276Speter#	CSI <n>T	(rin)	scroll down n lines
2029150276Speter#	CSI <n>X	(ech)	erase characters
2029250276Speter#	CSI <n>Z	(cbt)	back up n tab stops
2029350276Speter#	CSI <n>`		cursor to column n on line
2029450276Speter#	CSI <n>a	(cuu)	cursor right n characters
2029550276Speter#	CSI <n>d	(vpa)	cursor to line n
2029650276Speter#	CSI <n>e		cursor down n lines and in first column
2029750276Speter#	CSI <n>g	(cbt)	clear all tabs
2029850276Speter#	CSI <n>z		make virtual terminal n active
2029950276Speter#	CSI ?7h 	(smam)	turn automargin on
2030050276Speter#	CSI ?7l 	(rmam)	turn automargin off
2030150276Speter#	CSI s     		save cursor position
2030250276Speter#	CSI u   		restore cursor position to saved value
2030350276Speter#	CSI =<c>A		set overscan color
2030450276Speter#	CSI =<c>F		set normal foreground color
2030550276Speter#	CSI =<c>G		set normal background color
2030650276Speter#	CSI =<c>H		set reverse foreground color
2030750276Speter#	CSI =<c>I		set reverse foreground color
2030850276Speter#	CSI =<c>J		set graphic foreground color
2030950276Speter#	CSI =<c>K		set graphic foreground color
2031050276Speter#	CSI =<n>g	(dispc) display n from alternate graphics character set
2031150276Speter#	CSI =<p>;<d>B		set bell parameters
2031250276Speter#	CSI =<s>;<e>C		set cursor parameters
2031350276Speter#	CSI =<x>D		enable/disable intensity of background color
2031450276Speter#	CSI =<x>E		set/clear blink vs. bold background
2031550276Speter#	CSI 7     	(sc)	(sc) save cursor position
2031650276Speter#	CSI 8   	(rc)	(rc) restore cursor position to saved value
2031750276Speter#	CSI H		(hts)	(hts) set tab stop
2031850276Speter#	CSI Q<n><string>	define function key string
2031950276Speter#				(string must begin and end with delimiter char)
2032050276Speter#	CSI c   	(clear) clear screen
2032150276Speter#
2032250276Speter# The lack of any specification for attributes in SGR (among other things)
20323166124Srafan# makes this a wretchedly weak standard. The table above is literally
2032450276Speter# everything iBSC2 has to say about terminal escape sequences; there is
2032550276Speter# no further discussion of their meaning or how to set the parameters
2032650276Speter# in these sequences at all.
2032750276Speter#
2032850276Speter
2032950276Speter######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
2033050276Speter#
2033150276Speter# The historical termcap file entries were written primarily in 4.4BSD termcap.
2033250276Speter# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
2033350276Speter# with the extension names chosen for compatibility with the termcap names
2033450276Speter# assigned in System V terminfo.  There are some variant extension sets out
2033550276Speter# there.  We try to describe them here.
2033650276Speter#
2033750276Speter# XENIX extensions:
2033850276Speter#
2033950276Speter# The XENIX extensions include a set of function-key capabilities as follows:
2034050276Speter#
2034150276Speter#       code	XENIX variable name	terminfo name	name clashes?
2034250276Speter#	----	-------------------	-------------	-----------------------
2034350276Speter#	CL	key_char_left
2034450276Speter#	CR	key_char_right
2034550276Speter#	CW	key_change_window			create_window
2034650276Speter#	EN	key_end          	kend
2034750276Speter#	HM	key_home		khome
2034850276Speter#	HP	??
2034950276Speter#	LD	key_delete_line  	kdl1
2035050276Speter#	LF	key_linefeed     			label_off
2035150276Speter#	NU	key_next_unlocked_cell
2035250276Speter#	PD	key_page_down   	knp
2035350276Speter#	PL	??
2035450276Speter#	PN	start_print		mc5
2035550276Speter#	PR	??
2035650276Speter#	PS	stop_print		mc4
2035750276Speter#	PU	key_page_up     	kpp		pulse
2035850276Speter#	RC	key_recalc				remove_clock
2035950276Speter#	RF	key_toggle_ref				req_for_input
2036050276Speter#	RT	key_return      	kent
2036150276Speter#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
2036250276Speter#	WL	key_word_left
2036350276Speter#	WR	key_word_right
2036450276Speter#
2036550276Speter# The XENIX extensions also include the following character-set and highlight
2036650276Speter# capabilities:
2036750276Speter#
2036850276Speter#	XENIX	terminfo	function
2036950276Speter#	-----	--------	------------------------------
2037050276Speter#	GS	smacs		start alternate character set
2037150276Speter#	GE	rmacs		end alternate character set
2037250276Speter#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
2037350276Speter#	bo	blink		begin blink (not used in /etc/termcap)
2037450276Speter#	be			end blink (not used in /etc/termcap)
2037550276Speter#	bb			blink glitch  (not used in /etc/termcap)
2037650276Speter#	it	dim		begin dim (not used in /etc/termcap)
2037750276Speter#	ie			end dim (not used in /etc/termcap)
2037850276Speter#	ig			dim glitch  (not used in /etc/termcap)
2037950276Speter#
2038050276Speter# Finally, XENIX also used the following forms-drawing capabilities:
2038150276Speter#
20382166124Srafan#	single	double  type             ASCII approximation
2038350276Speter#	------	------	-------------    -------------------
2038450276Speter#	GV	Gv	vertical line             |
2038550276Speter#	GH	Gv	horizontal line       -   _
2038650276Speter#	G1	G5	top right corner       _   |
20387166124Srafan#	G2	G6	top left corner       |
2038850276Speter#	G3	G7	bottom left corner         |_
2038950276Speter#	G4	G8	bottom right corner   _|
2039050276Speter#	GD	Gd	down-tick character        T
2039150276Speter#	GL	Gl	left-tick character   -|
2039250276Speter#	GR	Gr	right-tick character       |-
2039350276Speter#	GC	Gc	middle intersection   -|-
2039450276Speter#	GU	Gu	up-tick character          _|_
2039550276Speter#
2039650276Speter# These were invented to take advantage of the IBM PC ROM character set.  One
2039750276Speter# can compose an acsc string from the single-width characters as follows
2039850276Speter#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
2039950276Speter# When translating a termcap file, ncurses tic will do this automatically.
2040050276Speter# The double forms characters don't fit the SVr4 terminfo model.
2040150276Speter#
2040250276Speter# AT&T Extensions:
2040350276Speter#
2040450276Speter# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
2040550276Speter# nonstandard capabilities.  Its signature is the KM capability, used to name
2040650276Speter# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
2040750276Speter# set.  Comments in the original, and a little cross-checking with other AT&T
2040850276Speter# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
2040950276Speter# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
2041050276Speter# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
2041150276Speter# cursor invisible), and CV=:ve: (make cursor normal).
2041250276Speter#
2041350276Speter# HP Extensions
2041450276Speter#
2041550276Speter# The HP library (as of mid-1995, their term.h file version 70.1) appears to
2041650276Speter# have the System V capabilities up to SVr1 level.  After that, it supports
2041750276Speter# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
2041850276Speter# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
2041950276Speter# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
2042050276Speter# HP binary format incompatible with SVr4's.
2042150276Speter#
2042250276Speter# IBM Extensions
2042350276Speter#
2042450276Speter# There is a set of nonstandard terminfos used by IBM's AIX operating system.
2042550276Speter# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
2042650276Speter# capabilities following prtr_non with the following special capabilties:
2042750276Speter# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
2042850276Speter# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
2042950276Speter# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
2043050276Speter# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
2043150276Speter# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
2043250276Speter# renamed (to kcbt and kslt).  The places in the box[12] capabilities
2043350276Speter# correspond to acsc chars, here is the mapping:
2043450276Speter#
2043550276Speter#	box1[0]  = ACS_ULCORNER
20436166124Srafan#	box1[1]  = ACS_HLINE
2043750276Speter#	box1[2]  = ACS_URCORNER
2043850276Speter#	box1[3]  = ACS_VLINE
2043950276Speter#	box1[4]  = ACS_LRCORNER
2044050276Speter#	box1[5]  = ACS_LLCORNER
2044150276Speter#	box1[6]  = ACS_TTEE
2044250276Speter#	box1[7]  = ACS_RTEE
2044350276Speter#	box1[8]  = ACS_BTEE
2044450276Speter#	box1[9]  = ACS_LTEE
2044550276Speter#	box1[10] = ACS_PLUS
2044650276Speter#
2044750276Speter# The box2 characters are the double-line versions of these forms graphics.
2044850276Speter# The AIX binary terminfo format is incompatible with SVr4's.
2044950276Speter#
2045050276Speter# Iris console extensions:
2045150276Speter#
2045250276Speter# HS is half-intensity start; HE is half-intensity end
2045350276Speter# CT is color terminal type (for Curses & rogue)
2045450276Speter# CP is color change escape sequence
2045550276Speter# CZ are color names (for Curses & rogue)
2045650276Speter#
2045750276Speter# The ncurses tic utility recognizes HS as an alias for mh <dim>.
2045850276Speter#
2045950276Speter# TC Extensions:
2046050276Speter#
2046150276Speter# There is a set of extended termcaps associated with something
2046250276Speter# called the "Terminal Control" or TC package created by MainStream Systems,
2046350276Speter# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
2046450276Speter# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
2046550276Speter# that flags color terminals.
2046650276Speter#
2046750276Speter######## CHANGE HISTORY
2046850276Speter#
2046950276Speter# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
2047050276Speter# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
2047150276Speter# project.
2047250276Speter#
2047350276Speter# This file contains all the capability information present in John Kunze's
20474166124Srafan# last version of the termcap master file, except as noted in the change
2047550276Speter# comments at end of file.  Some information about very ancient obsolete
2047650276Speter# capabilities has been moved to comments.  Some all-numeric names of older
2047750276Speter# terminals have been retired.
2047850276Speter#
2047950276Speter# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
2048050276Speter# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
2048150276Speter# used by BSD curses.
2048250276Speter#
2048350276Speter# The 9.1.0 version of this file was translated from my lightly-edited copy of
2048450276Speter# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
2048550276Speter# the purpose.  Unless the ncurses tic implementation and the Lisp code were
2048650276Speter# making perfectly synchronized mistakes which I then failed to catch by
2048750276Speter# eyeball, the translation was correct and perfectly information-preserving.
2048850276Speter#
2048950276Speter# Major version number bumps correspond to major version changes in ncurses.
2049050276Speter#
2049150276Speter# Here is a log of the changes since then:
2049250276Speter#
2049350276Speter# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
2049450276Speter#	* First terminfo master translated from 8.3.
2049550276Speter# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
2049650276Speter#	* Replaced Wyse entries with updated entries supplied by vendor.
2049750276Speter#
2049850276Speter# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
2049950276Speter#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
2050050276Speter# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
2050150276Speter#	* Better XENIX keycap translation.  Describe TC termcaps.
2050250276Speter#	* Contact and history info supplied by Qume.
2050350276Speter# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
2050450276Speter#	* Raided the Shuford FTP site for recent termcaps/terminfos.
2050550276Speter#	* Added information on X3.64 and VT100 standard escape sequences.
2050650276Speter# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
2050750276Speter#	* Added a correct X11R6 xterm entry.
2050850276Speter#	* Fixed terminfo translations of padding.
2050950276Speter# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
2051050276Speter#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
2051150276Speter#	* Added u6/u7/u8/u9 capabilities.
2051250276Speter#	* Added PCVT entry.
2051350276Speter# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
2051450276Speter#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
2051550276Speter#	  to use reverse-video standout so Emacs will look right.
2051650276Speter#	* Added el1 capability to ansi.
2051750276Speter#	* Added smacs/rmacs to ansi.sys.
2051850276Speter#
2051950276Speter# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
2052050276Speter#	* New mt70 entry.
2052150276Speter#	* Added COPYRIGHTS AND OTHER DELUSIONS.
2052250276Speter#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
2052350276Speter#	  smartvid & smarterm, ampex 175 & 219 & 232,
2052450276Speter#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
2052550276Speter#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
2052650276Speter#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
2052750276Speter#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
2052850276Speter#	* Replaced the Perkin-Elmer entries with vendor's official ones.
2052950276Speter#	* Restored the old minimal-ansi entry, luna needs it.
2053050276Speter#	* Fixed some incorrect ip and proportional-padding translations.
2053150276Speter# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
2053250276Speter#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
2053350276Speter#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
2053450276Speter#	  to force a particular height.
2053550276Speter#	* Added beehive4 and reorganized other Harris entries.
2053650276Speter# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
2053750276Speter#	* Merged in DEC's official entries for its terminals.  The only old
2053850276Speter#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
2053950276Speter#	* Replaced the translated BBN Bitgraph entries with purpose-built
2054050276Speter#	  ones from AT&T's SVr3.
2054150276Speter#	* Replaced the AT&T entries with AT&T's official terminfos.
20542166124Srafan#	* Added teleray 16, vc415, cops10.
2054350276Speter#	* Merged in many individual capabilities from SCO terminfo files.
2054450276Speter# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
2054550276Speter#	* Typo fixes.
2054650276Speter#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
2054750276Speter# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
2054850276Speter#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
2054950276Speter#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
2055050276Speter#	  simterm, citoh and variants.
2055150276Speter#	* Replaced sol entry with sol1 and sol2.
2055250276Speter#	* Replaced Qume QVT and Freedom-series entries with purpose-built
2055350276Speter#	  terminfo entries.
2055450276Speter#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
2055550276Speter#	  and dg200 entries using caps from from SCO.
2055650276Speter#	* Added the usual set of function-key mappings to ANSI entry.
2055750276Speter#	* Corrected xterm's function-key capabilities.
2055850276Speter# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
2055950276Speter#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
2056050276Speter# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
2056150276Speter#	* Fix in xterm entry, get the arrow keys right.
2056250276Speter#	* Change some \0 escapes to \200.
2056350276Speter# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
2056450276Speter#	* Added apple (Videx card), adm1a, oadm31.
2056550276Speter#	* Fixed malformed ampex csr.
20566166124Srafan#	* Fixed act4, cyb110; they had old-style prefix padding left in.
2056750276Speter#	* Changed mandatory to advisory padding in many entries.
2056850276Speter#	* Replaced HP entries up to hpsub with purpose-built ones.
2056950276Speter#	* Blank rmir/smir/rmdc/smdc capabilities removed.
2057050276Speter#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
2057150276Speter# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
2057250276Speter#	* Replaced the Ann Arbor entries with SCO's, the init strings are
2057350276Speter#	  more efficient (but the entries otherwise identical).
2057450276Speter#	* Added dg211 from Shuford archive.
2057550276Speter#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
2057650276Speter#	  adm42-nl, pc52, gs6300, xerox820, uts30.
2057750276Speter#	* Pull SCO's padding into vi200 entry.
2057850276Speter#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
2057950276Speter#	  entries merged in from SCO's descriptions.
2058050276Speter#	* Fixed old-style prefix padding on zen50, h1500.
2058150276Speter#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
2058250276Speter#	  entry from SCO's description.
2058350276Speter#	* Reorganized the special entries.
2058450276Speter#	* Added lm#0 to cbunix and virtual entries.
2058550276Speter#
2058650276Speter# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
2058750276Speter#	* Restored cdc456tst.
2058850276Speter#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
2058950276Speter#	* Added megatek, beacon, microkit.
2059050276Speter#	* Freeze for ncurses-1.9 release.
2059150276Speter# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
2059250276Speter#	* Added historical data for TAB.
2059350276Speter#	* Comment fixes from David MacKenzie.
2059450276Speter#	* Added the new BSDI pc3 entry.
2059550276Speter# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
20596166124Srafan#	* A change in the tic -C logic now ensures that all entries in
2059750276Speter#	  the termcap translation will fit in < 1024 bytes.
2059850276Speter#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
2059950276Speter#	  from GNU termcap file.  This merges in all their local information.
2060050276Speter# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
2060150276Speter#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
2060250276Speter#	* Added warnings about entries with long translations (restoring
2060350276Speter#	  all the GNU termcaps pushes a few over the edge).
2060450276Speter# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
2060550276Speter#	* Yet another tic change, and a couple of entry tweaks, to reduce the
2060650276Speter#	  number of long (> 1024) termcap translations back to 0.
2060750276Speter#
2060850276Speter# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
2060950276Speter#	* Added kf13-kf20 to Linux entry.
2061050276Speter#	* Regularize Prime terminal names.
2061150276Speter#	* Historical data on Synertek.
2061250276Speter#	* Freeze for ncurses-1.9.1.
2061350276Speter# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
2061450276Speter#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
2061550276Speter#	* Eliminate whitespace in short name fields, this tanks some scripts.
2061650276Speter#	* Name field changes to shorten some long entries.
2061750276Speter#	* Termcap translation now automatically generates empty rmir/smir
2061850276Speter#	  when ich1/ich is present (copes with an ancient vi bug).
2061950276Speter#	* Added `screen' entries from FSF's screen-3.6.2.
2062050276Speter#	* Added linux-nic and xterm-nic entries.
2062150276Speter# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
2062250276Speter#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
2062350276Speter#	  eliminating some special-case code in ncurses.
2062450276Speter#
2062550276Speter# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
2062650276Speter#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
2062750276Speter#	  that captures everything unique from it.
2062850276Speter#	* Added reorder script generator.
2062950276Speter#	* Freeze for ncurses 1.9.2 release.
2063050276Speter# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
2063150276Speter#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
2063250276Speter#	* Added Olaf Siebert's corrections for adm12.
2063350276Speter#	* ansi-pc-color now includes the colors and pairs caps, so that
2063450276Speter#	  entries which use it will inherit them automatically.
2063550276Speter#	* The linux entry can now recognize the center (keypad 5) key.
2063650276Speter#	* Removed some junk that found its way into Linux acsc.
2063750276Speter#
2063850276Speter# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
2063950276Speter#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
2064050276Speter#	* xterm doesn't try to use application keypad mode any more.
2064150276Speter#	* Freeze for ncurses-1.9.3 release.
2064250276Speter# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
2064350276Speter#	* Added corrected sun entry from vendor.
2064450276Speter#	* Added csr capability to linux entry.
2064550276Speter#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
2064650276Speter#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
20647166124Srafan#	* Some commented-out caps in long entries come back in, my code
2064850276Speter#	  for computing string-table lengths had a bug in it.
2064950276Speter#	* pcansi series modified to fit comm-program reality better.
2065050276Speter# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
2065150276Speter#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
2065250276Speter#	* Correct some bad aliases in the pcansi series
2065350276Speter#	* Added entry for QNX console.
2065450276Speter#	* Clean up duplicate long names for use with 4.4 library.
2065550276Speter#	* Change vt100 standout to be normal reverse vide, not bright reverse;
2065650276Speter#	  this makes the Emacs status line look better.
2065750276Speter# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
2065850276Speter#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
2065950276Speter#	* Minor surgery, mostly on name strings, to shorten termcap version.
2066050276Speter#
2066150276Speter# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
2066250276Speter#	* Added dec-vt100 for use with the EWAN emulator.
2066350276Speter#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
2066450276Speter#	* Freeze for 1.9.5 alpha release.
2066550276Speter# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
2066650276Speter#	* Changed xterm lines to 24, the X11R6 default.
2066750276Speter# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
2066850276Speter#	* Added 7 newly discovered, undocumented acsc characters to linux
2066950276Speter#	  entry (the pryz{|} characters).
2067050276Speter#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
2067150276Speter#	* Correct two typos in the xterm entries introduced in 9.9.1.
2067250276Speter#	* I finally figured out how to translate ko capabilities.  Done.
2067350276Speter#	* Added tvi921 entries from Tim Theisen.
2067450276Speter#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
2067550276Speter#	* Removed mystery tec entry, it was neither interesting nor useful.
2067650276Speter#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
2067750276Speter#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
2067850276Speter#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
2067950276Speter#	  by making them relative to use capabilities
2068050276Speter#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
2068150276Speter#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
2068250276Speter#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
2068350276Speter#	  ampex80,
20684166124Srafan#	* Translate all home=\E[;H capabilities to home=\E[H, they're
2068550276Speter#	  equivalent.
2068650276Speter#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
2068750276Speter#	  vt100 and ANSI-like terminals.
2068850276Speter# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
2068950276Speter#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
2069050276Speter#	  does this now, too.
2069150276Speter#	* fviewpoint is gone, it duplicated screwpoint.
2069250276Speter#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
20693166124Srafan#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
2069450276Speter#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
2069550276Speter#	  The UW vi50 replaces the old one, which becomes vi50adm,
2069650276Speter#	* No more embedded commas in name fields.
2069750276Speter#
2069850276Speter# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
2069950276Speter#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
2070050276Speter#	* Introduced klone+* entries for describing Intel-console behavior.
2070150276Speter#	* Linux kbs is default-mapped to delete for some brain-dead reason.
2070250276Speter#	* -nsl -> -ns.  The -pp syntax is obsolete.
2070350276Speter#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
2070450276Speter#	* Make xterm entry do application-keypad mode again.  I got complaints
2070550276Speter#	  that it was messing up someone's 3270 emulator.
2070650276Speter#	* Added some longname fields in order to avoid warning messages from
2070750276Speter#	  older tic implementations.
2070850276Speter#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
2070950276Speter#	  it! (This gives us pi, greater than, less than, and a few more.)
2071050276Speter#	* Freeze for ncurses-1.9.6 release.
2071150276Speter# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
2071250276Speter#	* Add xon to a number of console entries, they're memory-mapped and
2071350276Speter#	  don't need padding.
2071450276Speter#	* Correct the use dependencies in the ansi series.
2071550276Speter#	* Hand-translate more XENIX capabilities.
2071650276Speter#	* Added hpterm entry for HP's X terminal emulator.
2071750276Speter#	* Added aixterm entries.
20718166124Srafan#	* Shortened four names so everything fits in 14 chars.
2071950276Speter#
2072050276Speter# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
2072150276Speter#	* Added ibcs2 entry and info on iBCS2 standard.
2072250276Speter#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
2072350276Speter#	* We can handle the HP meml/memu capability now.
2072450276Speter#	* Added smacs to klone entries, just as documentation.
2072550276Speter#	* Carrected ansi.sys and cit-500 entries.
2072650276Speter#	* Added z39, vt320-k311, v220c, and avatar entries.
2072750276Speter#	* Make pcansi use the ansi.sys invis capability.
2072850276Speter#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
2072950276Speter#	  tvi925, tvi950, dt80, ncr7900i, h19.
2073050276Speter#	* X3.64 has been withdrawn, change some references.
2073150276Speter#	* Removed function keys from ansi-m entry.
2073250276Speter#	* Corrected ansi.sys entry.
2073350276Speter#	* Freeze for ncurses-1.9.7 release.
2073450276Speter# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
2073550276Speter#	* Added rmam/smam capabilities to many entries based on init strings.
2073650276Speter#	* Added correct hpa/vpa to linux.
2073750276Speter#	* Reduced several entries relative to vt52.
2073850276Speter# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
2073950276Speter#	* Exiled some utterly unidentifiable custom and homebrew types to the
2074050276Speter#	  UFO file; also, obsolete small-screen hardware; also, entries which
2074150276Speter#	  look flat-out incorrect, garbled, or redundant.  These include the
20742166124Srafan#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
2074350276Speter#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
2074450276Speter#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
20745166124Srafan#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
20746166124Srafan#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
20747166124Srafan#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
20748166124Srafan#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
20749166124Srafan#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
20750166124Srafan#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
20751166124Srafan#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
20752166124Srafan#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
20753166124Srafan#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
2075450276Speter#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
2075550276Speter#	* Corrected pcvt25h as suggested by Brian C. Grayson
2075650276Speter#	  <bgrayson@pine.ece.utexas.edu>.
2075750276Speter# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
20758166124Srafan#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
2075950276Speter#	* Added kent=\EOM to xterm entry.
2076050276Speter#
2076150276Speter# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
2076250276Speter#	* Corrected gigi entry.
2076350276Speter#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
2076450276Speter#	  bad hpa/vpa capabilities.
2076550276Speter#	* Corrected flash strings to have a uniform delay of .2 sec.  No
2076650276Speter#	  more speed-dependent NUL-padding!
2076750276Speter#	* terminfo capabilities in comments bracketed with <>.
2076850276Speter# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
2076950276Speter#	* Replaced pcvt with the 3.31 pcvt entries.
2077050276Speter#	* Freeze for 1.9.7a.
2077150276Speter# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
2077250276Speter#	* Added emu entry from the X11R6 contrib tape sources.
2077350276Speter#
2077450276Speter# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
2077550276Speter#	* Improved iris-ansi and sun entries.
2077650276Speter#	* More flash string improvements.
2077750276Speter#	* Corrected wy160 & wy160 as suggested by Robert Dunn
20778166124Srafan#	* Added dim to at386.
2077950276Speter#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
2078050276Speter#	  he's ready to start using the termcap generated from this one.
2078150276Speter#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
2078250276Speter#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
2078350276Speter#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
20784166124Srafan#	  att610, att620, att630,
2078550276Speter#	* Changed hazeltine name prefix from h to hz.
2078650276Speter#	* Sent t500 to the UFI file.
2078750276Speter#	* I think we've sucked all the juice out of BSDI's termcap file now.
2078850276Speter#	* Freeze for ncurses 1.9.8 release
2078950276Speter# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
2079050276Speter#	* Unfreeze, linux kbs needed to be fixed.
2079150276Speter#	* Tim Theisen pinned down a bug in the DMD firmware.
2079250276Speter# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
2079350276Speter#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
2079450276Speter#	  (The broken ones had been shadowed by sgr.)
2079550276Speter# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
2079650276Speter#	* Added documentation on ECMA-48 standard.
2079750276Speter#	* New Amiga entry.
2079850276Speter# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
2079950276Speter#	* More ECMA-48 stuff
2080050276Speter#	* Corrected typo in minix entry, added pc-minix.
2080150276Speter#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
2080250276Speter#	* Added rxvt entry.
2080350276Speter#	* Added 1.3.x color-change capabilities to linux entry.
2080450276Speter# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
2080550276Speter#	* Corrected rxvt entry khome/kend.
2080650276Speter#	* Corrected linux color change capabilities.
2080750276Speter#	* NeXT entries from Dave Wetzel.
2080850276Speter#	* Cleaned up if and rf file names (all in /usr/share now).
2080950276Speter#	* Changed linux op capability to avoid screwing up a background color
2081050276Speter#	  pair set by setterm.
2081150276Speter# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
2081250276Speter#	* Added xterm-sun.
2081350276Speter# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
2081450276Speter#	* Added visa50.
2081550276Speter#
2081650276Speter# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
2081750276Speter#	* Another sweep through the Shuford archive looking for new info.
2081850276Speter#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
2081950276Speter# 	* Added st52 from Per Persson.
2082050276Speter#	* Added eterm from the GNU Emacs 19.30 distribution.
2082150276Speter#	* Freeze for 1.9.9.
2082250276Speter# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
2082350276Speter#	* FreeBSD console entries from Andrew Chernov.
2082450276Speter#	* Removed duplicate Atari st52 name.
2082550276Speter# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
2082650276Speter#	* xterm doesn't actually have ACS_BLOCK.
2082750276Speter#	* Change klone+color setf/setb to simpler forms that can be
2082850276Speter#	  translated into termcap.
2082950276Speter#	* Added xterm1.
2083050276Speter#	* Removed mechanically-generated junk capabilities from cons* entries.
2083150276Speter#	* Added color support to bsdos.
2083250276Speter# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
2083350276Speter#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
2083450276Speter#	* Created ecma+color, linux can use it.  Also added ech to linux.
2083550276Speter#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
2083650276Speter#	* Add descriptions to FreeBSD console entries.  Also shorten
2083750276Speter#	  some aliases to <= 14 chars for portability.
2083850276Speter#	* Added x68k console
2083950276Speter#	* Added OTbs to several VT-series entries.
2084050276Speter# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
20841166124Srafan#	* screen entry update for 3.7.1 from Michael Alan Dorman.
2084250276Speter# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
2084350276Speter#	* kterm correction due to Kenji Rikitake.
2084450276Speter#	* ACS correction in vt320-kll due to Phillippe De Muyter.
2084550276Speter# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
2084650276Speter#	* Sun console entry correction from J.T. Conklin.
2084750276Speter#	* Changed all DEC VT300 and up terminals to use VT300 tab set
2084850276Speter# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
20849166124Srafan#	* Added smul to linux entry (we never noticed it was missing
2085050276Speter#	  because of sgr!).
2085150276Speter#	* Added rmln to hp+labels (deduced from other HP entries).
2085250276Speter#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
2085350276Speter#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
2085450276Speter#	* Corrected vt220 acsc.
2085550276Speter#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
2085650276Speter#	  this corresponds to reality and helps prevent some tic warnings.
2085750276Speter#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
2085850276Speter#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
2085950276Speter#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
2086050276Speter#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
2086150276Speter#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
20862166124Srafan#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
2086350276Speter#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
2086450276Speter#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
2086550276Speter#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
2086650276Speter#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
2086750276Speter#	  ifmr, v3220, wy100q, tandem653, ibmaed.
2086850276Speter#	* Added DWK terminal description.
2086950276Speter# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
2087050276Speter#	* Many entries now have highlights inherited from adm+sgr.
2087150276Speter#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
2087250276Speter#	* xtitle and xtitle-twm enable access to the X status line.
2087350276Speter#	* Added linux-1.3.6 color palette caps in conventional format.
2087450276Speter#	* Added adm1178 terminal.
2087550276Speter#	* Move fos and apollo terminals to obsolete category.
2087650276Speter#	* Aha! The BRL terminals file told us what the Iris extensions mean.
2087750276Speter#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
2087850276Speter#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
20879166124Srafan#	  cit500, adm11.
2088050276Speter# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
2088150276Speter#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
2088250276Speter#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
2088350276Speter#	* Corrected, from BRL termcap file: vi50.
2088450276Speter#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
2088550276Speter# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
2088650276Speter#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
2088750276Speter#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
2088850276Speter#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
2088950276Speter#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
2089050276Speter#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
2089150276Speter#	* Paired-attribute fixes to various terminals.
2089250276Speter#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
2089350276Speter#	* xterm entry corrections from Thomas Dickey.
2089450276Speter# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
2089550276Speter#	* Added t916 entry, translated from a termcap in SCO's support area.
2089650276Speter#	* New qnx entry from Michael Hunter.
2089750276Speter# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
2089850276Speter#	* Added hpex2 from Ville Sulko.
2089950276Speter#	* Fixed a bug that ran the qnx and pcvtXX together.
2090050276Speter# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
2090150276Speter#	* Added dtterm entry from Solaris CDE.
2090250276Speter# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
2090350276Speter#	* corrected pairs#8 typo in dtterm entry.
2090450276Speter#	* added tvi9065.
2090550276Speter# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
20906166124Srafan#	* updated xterm entry to cover 3.1.2E's new features.
2090750276Speter# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
2090850276Speter#	* Added new minix entry
2090950276Speter#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
2091050276Speter#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
2091150276Speter# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
2091250276Speter#	* Added Prism entries and kt7ix.
2091350276Speter#	* Caution notes about EWAN and tabset files.
2091450276Speter#	* Changed /usr/lib/tabset -> /usr/share/tabset.
2091550276Speter#	* Added acsc/rmacs/smacs to vt52.
2091650276Speter# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
2091750276Speter#	* Merged in Thomas Dickey's reorganization of the xterm entries;
2091850276Speter#	  added technical corrections to avoid warning messages.
2091950276Speter# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
2092050276Speter#	* Added rmso=\E[27m in Linux entry.
2092150276Speter#	* Added koi8-r support for Linux console.
2092250276Speter#	* Replace xterm entries with canonical ones from XFree86 3.2.
2092350276Speter# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
2092450276Speter#	* Added color_xterm from Jacob Mandelson
2092550276Speter# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
2092650276Speter#	* Back off the xterm entry to use r6 as a base.
2092750276Speter# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
2092850276Speter#	* Added dec-vt220 at Adrian Garside's request.
20929174993Srafan#
20930174993Srafan#-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
20931174993Srafan#
20932174993Srafan# 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
20933174993Srafan#	* Minor corrections to xterm entries.
20934174993Srafan#	* Replaced EWAN telnet entry.
20935174993Srafan#	* Dropped the reorder script generator.  It was a fossil.
2093650276Speter# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
2093750276Speter#	* Replaced minitel-2 entry.
2093850276Speter#	* Added MGR, ansi-nt.
20939174993Srafan# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
20940174993Srafan#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
20941174993Srafan#	  the 4.4BSD Lite2 file.
20942174993Srafan#
20943174993Srafan# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
20944174993Srafan#	* Use setaf/setab consistently with SVr4.
20945174993Srafan#	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
20946174993Srafan# 10.1.2 (Sat May 24 21:10:57 EDT 1997)
20947174993Srafan#	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
20948174993Srafan#	* add xterm-16color, for XFree86 3.3
20949174993Srafan# 10.1.3 (Sat May 31 12:21:05 EDT 1997)
20950174993Srafan#	* correct typo in emu
20951174993Srafan#	* correct typo in vt102-w (Robert Wuest)
20952174993Srafan#	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
20953174993Srafan# 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
20954174993Srafan#	* remove ech capability from rxvt (it does the wrong thing)
20955174993Srafan# 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
20956174993Srafan#	* remove spurious newlines from several entries (hp+color, wy50,
20957174993Srafan#	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
20958174993Srafan#	  gs6300)
20959174993Srafan# 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
20960174993Srafan#	* correct rmso capability of wy50-mc
20961174993Srafan# 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
20962174993Srafan#	* add cbt to xterm-xf86-v32
20963174993Srafan#	* disentangle some entries from 'xterm', preferring xterm-r6 in case
20964174993Srafan#	  'xterm' is derived from xterm-xf86-v32, which implements ech and
20965174993Srafan#	  other capabilities not in xterm-r6.
20966174993Srafan#	* remove alternate character set from kterm entry.
20967174993Srafan# 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
20968174993Srafan#	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
20969174993Srafan# 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
20970174993Srafan#	* add xterm-8bit entry.
20971174993Srafan# 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
20972174993Srafan#	* repair several places where early version of tic replaced \, with \\\,
20973174993Srafan#	* make acsc entries canonical form (sorted, uniq).
20974174993Srafan#	* modify acsc entries for linux, linux-koi8
20975174993Srafan#	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
20976174993Srafan#	* add color, mouse support to kterm.
20977174993Srafan# 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
20978174993Srafan#	* correct wy120 smxon/tbc capabilities which were stuck together.
20979174993Srafan# 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
20980174993Srafan#	* add entry for xterm-xf86-v39t
20981174993Srafan# 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
20982174993Srafan#	* add u8,u9 to sun-il description
20983174993Srafan# 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
20984174993Srafan#	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
20985174993Srafan#	  version.
20986174993Srafan#	* add hds200 description (Walter Skorski)
20987174993Srafan#	* add EMX 0.9b descriptions
20988174993Srafan#	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
20989174993Srafan#	* rename xhpterm back to hpterm.
20990174993Srafan# 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
20991174993Srafan#	* change initc in linux-c-nc to use 0..1000 range.
20992174993Srafan# 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
20993174993Srafan#	* remove hpa/vpa from rxvt, which implements them incorrectly.
20994174993Srafan#	* add sgr0 for rxvt.
20995174993Srafan#	* remove bogus smacs/rmacs from EMX descriptions.
20996174993Srafan# 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
20997174993Srafan#	* revised entry for att7300
20998174993Srafan# 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
20999174993Srafan#	* use \0 rather than \200.
21000174993Srafan#	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
21001174993Srafan# 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
21002174993Srafan#	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
21003174993Srafan#	* rename xterm-xf86-v39t to xterm-xf86-v40
21004174993Srafan#	* remove bold/underline from sun console entries since they're not
21005174993Srafan#	  implemented.
21006174993Srafan# 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
21007174993Srafan#	* add beterm entry (Fred Fish)
21008174993Srafan#	* add irix-color/xwsh entry.
21009174993Srafan#	* turn ncv off for linux.
21010174993Srafan# 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
21011174993Srafan#	* set ncv for FreeBSD console (treat colors with reverse specially).
21012174993Srafan#	* remove sgr string from qnx based on report by Xiaodan Tang
21013174993Srafan# 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
21014174993Srafan#	* remove spurious commas from descriptions
21015174993Srafan#	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
21016174993Srafan# 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
21017174993Srafan#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
21018174993Srafan#	  apparently based on cp-866).
21019174993Srafan#
21020174993Srafan#-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
21021174993Srafan#
21022174993Srafan# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
21023174993Srafan#	* Replaced minitel-2 entry.
21024174993Srafan#	* Added MGR, ansi-nt.
2102550276Speter#	* Minor corrections to xterm entries.
2102650276Speter#	* Replaced EWAN telnet entry.
2102750276Speter#	* Dropped the reorder script generator.  It was a fossil.
2102850276Speter# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
2102950276Speter#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
2103050276Speter#	  the 4.4BSD Lite2 file.
2103150276Speter# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
2103250276Speter#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
2103350276Speter#	* Updated iris-ansi; corrected vt102-w.
2103450276Speter#	* Switch base xterm entry to 3.3 level.
2103550276Speter# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
2103650276Speter#	* Added basic4.
2103750276Speter#	* Removed rmir/smir from tv92B.
2103850276Speter#
2103950276Speter# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
2104050276Speter#	* add hds200 description (Walter Skorski)
2104150276Speter#	* add beterm entry (Fred Fish)
2104250276Speter#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
2104350276Speter#	  iris-color entries.
2104450276Speter#	* add emx entries.
2104550276Speter#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
2104650276Speter#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
2104750276Speter#	  versions.
2104850276Speter#	* remove sgr string from qnx based on report by Xiaodan Tang
2104950276Speter#	* Added u8/u9, removed rmul/smul from sun-il.
2105050276Speter#	* 4.2 tic displays \0 rather than \200.
2105150276Speter#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
2105250276Speter#	  apparently based on cp-866).
2105350276Speter#	* Merged in Pavel Roskin's acsc for linux-koi8
2105450276Speter#	* Corrected some erroneous \\'s to \.
2105550276Speter#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
2105650276Speter#	* II -> ii in pcvtXX, screen, xterm.
2105750276Speter#	* Removed \n chars following ANSI escapes in sgr & friends.
2105850276Speter#	* Updated Wyse entries.
2105950276Speter#	* h19 corrections from Tim Pierce.
2106050276Speter#	* Noted that the dm2500 has both ich and smir.
2106150276Speter#	* added pccons for the Alpha under OSF/1.
2106250276Speter#	* Added Sony NEWS workstation entries and cit101e-rv.
2106350276Speter#	* Reverted `amiga'; to Kent Polk's version, as I'm told
2106450276Speter#	  the Verkuil entry messes up with Amiga Telnet.
2106550276Speter# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
2106650276Speter#	* Corrected attributions in 10.2.0 release notes.
2106750276Speter#	* Scanned the Shuford archive for new terminfos and information.
2106850276Speter#	* Removed sgr from qnx entry (Thomas Dickey).
2106950276Speter#	* Added entries for ICL and Kokusai Data Systems terminals.
2107050276Speter#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
2107150276Speter#	* Incorporated att700 from the Boundless Technology FTP site.
2107250276Speter#	* Miscellaneous contact-address and Web-page updates.
2107350276Speter#
21074174993Srafan#-(changelog-beginning-ncurses-4.2)---------------------------------------------
21075174993Srafan#
2107650276Speter# 1998/5/9
2107750276Speter#	* add nxterm and xterm-color terminfo description (request by Cristian
2107850276Speter#	  Gafton <gafton@redhat.com>).
2107950276Speter#	* modify rxvt terminfo description to clear alternate screen before
2108050276Speter#	  switching back to normal screen, for compatibility with applications
2108150276Speter#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
2108250276Speter#	* modify linux terminfo description to reset color palette (reported
2108350276Speter#	  by Telford Tendys <telford@eng.uts.edu.au>).
2108450276Speter#
2108550276Speter# 1998/7/4
2108650276Speter#	* merge changes from current XFree86 xterm terminfo descriptions.
2108750276Speter#
2108850276Speter# 1998/7/25
2108950276Speter#	* Added minitel1 entries from Alexander Montaron.
2109050276Speter#	* Added qnxt2 from Federico Bianchi.
2109150276Speter#	* Added arm100 terminfo entries from Dave Millen.
2109250276Speter#
2109350276Speter# 1998/8/6
2109450276Speter#	* Added ncsa telnet entries from Francesco Potorti
2109550276Speter#
2109650276Speter# 1998/8/15
2109750276Speter#	* modify ncsa telnet entry to reflect color, other capabilities based on
2109850276Speter#	  examination of the source code - T.Dickey.
2109950276Speter#
2110050276Speter# 1998/8/22
2110150276Speter#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
2110250276Speter#
2110350276Speter# 1998/8/29
2110450276Speter#	* Added Francesco Potorti's tuned Wyse 99 entries.
2110550276Speter#	* dtterm enacs correction from Alexander V. Lukyanov.
2110650276Speter#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
2110750276Speter#	* correct a typo in icl6404 entry.
2110850276Speter#	* add xtermm and xtermc
2110950276Speter#
2111050276Speter# 1998/9/26
2111150276Speter#	* format most %'char' sequences to %{number}
2111250276Speter#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
2111350276Speter#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
2111450276Speter#
2111550276Speter# 1998/10/10
2111650276Speter#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
2111750276Speter#	* correct initialization string in xterm-r5, add misc other features
2111850276Speter#	  to correspond with xterm patch 84 - TD
2111950276Speter#
2112050276Speter# 1998/12/19
2112150276Speter#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
2112250276Speter#	* add Mathew Vernon's mach console entries
2112350276Speter#	* corrections for ncsa function-keys (report by Larry Virden)
2112450276Speter#
2112550276Speter# 1998/12/19
2112650276Speter#	* change linux to use ncv#2, since underline does not work with color - TD
2112750276Speter#
2112850276Speter# 1999/1/9
2112950276Speter#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
2113050276Speter#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
2113150276Speter#	  application modes, change kent to use the correct keypad code - TD
2113250276Speter#
2113350276Speter# 1999/1/10
2113450276Speter#	* add entry for Tera Term - TD
2113550276Speter#
2113650276Speter# 1999/1/23
2113750276Speter#	* minor improvements for teraterm entry - TD
2113850276Speter#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
2113950276Speter#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
2114050276Speter#
2114150276Speter# 1999/2/20
2114250276Speter#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
2114350276Speter#	  xterm and ncsa entries by removing the unneeded ones.  Note that
2114450276Speter#	  some entries will return kend & khome versus kslt and kfnd, for
2114550276Speter#	  PC-style keyboards versus strict vt220 compatiblity - TD
2114650276Speter#
2114750276Speter# 1999/3/13
2114850276Speter#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
2114950276Speter#	  tables - TD
2115050276Speter#	* add 'crt' entry - TD
2115150276Speter#	* correct typos in 'linux-c' entry - TD
2115250276Speter#
2115350276Speter# 1999/3/14
2115450276Speter#	* update entries for BSD/OS console to use klone+sgr and klone+color
2115550276Speter#	  (Jeffrey C Honig)
2115650276Speter#
2115750276Speter# 1999/3/27
2115850276Speter#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
2115950276Speter#
2116050276Speter# 1999/4/10
2116150276Speter#	* add linux-lat, from RedHat patches to ncurses 4.2
2116250276Speter#
2116350276Speter# 1999/4/17
2116450276Speter#	* add complete set of default function-key definitions for scoansi - TD.
2116550276Speter#
2116650276Speter# 1999/7/3
2116750276Speter#	* add cnorm, cvvis for Linux 2.2 kernels
2116850276Speter#
2116950276Speter# 1999/7/24
2117050276Speter#	* add kmous to xterm-r5 -TD
2117150276Speter#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
2117250276Speter#	  parent "use" clause -TD
2117350276Speter#
2117450276Speter# 1999/7/31
2117550276Speter#	* corrected cnorm, added el1 in 'screen' description -TD
2117650276Speter#
2117750276Speter# 1999/8/14
2117850276Speter#	* add ms-vt100 -TD
2117950276Speter#
2118050276Speter# 1999/8/21
2118150276Speter#	* corrections to beterm entry -TD
2118250276Speter#
2118356639Speter# 1999/8/28
2118456639Speter#	* add cygwin entry -TD
2118556639Speter#
2118656639Speter# 1999/9/4
2118756639Speter#	* minor corrections for beterm entry -TD
2118856639Speter#
2118956639Speter# 1999/9/18
2119056639Speter#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
2119156639Speter#
2119256639Speter# 1999/9/25
2119356639Speter#	* add amiga-8bit entry
2119456639Speter#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
2119556639Speter#	  rcons-color, based on
2119656639Speter#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
2119756639Speter#	* add alias for iris-ansi-net
2119856639Speter#
2119956639Speter# 1999/10/2
2120056639Speter#	* corrected scoansi entry's acsc, some function keys, add color -TD
2120156639Speter#
2120256639Speter# 1999/10/23
2120356639Speter#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
2120456639Speter#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
2120556639Speter#	  key mapping, leaving Potorti's entries more like he named them -TD
2120656639Speter#	* remove enter/exit am-mode from cygwin -TD
2120756639Speter#
2120862449Speter# 1999/10/30
2120962449Speter#	* correct typos in several entries (missing '[' from CSI):
2121062449Speter#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
2121162449Speter#	  strings for avt-ns -TD
2121262449Speter#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
2121362449Speter#
2121462449Speter# 1999/11/27
2121562449Speter#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
2121662449Speter#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
2121762449Speter#	* add xterm-88color and xterm-256color -TD
2121862449Speter#
2121962449Speter# 1999/12/4
2122062449Speter#	* add "obsolete" termcap strings -TD
2122162449Speter#	* add kvt and gnome entries -TD
2122262449Speter#
2122362449Speter# 1999/12/11
2122462449Speter#	* correct cup string for regent100 -TD
2122562449Speter#
2122662449Speter# 2000/1/1
2122762449Speter#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
2122862449Speter#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
2122962449Speter#	* change OTrs capabilities to rs2 -TD
2123062449Speter#	* add obsolete and extended capabilities to 'screen' -TD
2123162449Speter#
2123262449Speter# 2000/1/5
2123362449Speter#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
2123462449Speter#	  with kf10 -TD
2123562449Speter#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
2123662449Speter#	  and adding kcbt -TD
2123762449Speter#
2123862449Speter# 2000/1/12
2123962449Speter#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
2124062449Speter#	  nonstandard resource settings -TD
2124162449Speter#
2124262449Speter# 2000/2/26
2124362449Speter#	* minor fixes for xterm-*, based on Debian #58530 -TD
2124462449Speter#
2124562449Speter# 2000/3/4
2124662449Speter#	* add several terminal types from esr's "11.0", as well as comments.
2124762449Speter#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
2124862449Speter#	  vt220-8bit, vt220-old, wy85-8bit
2124962449Speter#
2125062449Speter# 2000/3/18
2125162449Speter#	* add several terminal types from esr's "11.0.1" (ansi-*).
2125262449Speter#	* update OTxx capabilities for changes on 2000/3/4.
2125362449Speter#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
2125462449Speter#
2125562449Speter# 2000/3/26
2125662449Speter#	* move screen's AX extension to ecma+color, modify several entries to
2125762449Speter#	  use that, adjusting ncv as needed -TD
2125862449Speter#
2125962449Speter# 2000/4/8
2126062449Speter#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
2126162449Speter#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
2126262449Speter#	  in esr's version.
2126362449Speter#
2126462449Speter# 2000/4/15
2126562449Speter#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
2126662449Speter#	* correct color definition for ibm3164, make minor changes to other
2126762449Speter#	  IBM terminal definitions based on recent terminfo descriptions -TD
2126862449Speter#
2126962449Speter# 2000/4/22
2127062449Speter#	* add mgterm, from NetBSD -TD
2127162449Speter#	* add alias sun-cgsix for sun-ss5 as per NetBSD
2127262449Speter#	* change cons25w to use rs2 for reset rather than rs1 -TD
2127362449Speter#	* add rc/sc to aixterm based on manpage -TD
2127462449Speter#
2127562449Speter# 2000/5/13
21276166124Srafan#	* remove ncv from xterm-16color, xterm-256color
2127762449Speter#
2127862449Speter# 2000/6/10
2127962449Speter#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
2128062449Speter#
2128162449Speter# 2000/7/1
2128262449Speter#	* add Eterm (Michael Jennings)
2128362449Speter#
2128466963Speter# 2000-07-18
2128566963Speter#       * add amiga-vnc entry.
2128666963Speter#
2128766963Speter# 2000-08-12
2128866963Speter#	* correct description of Top Gun Telnet.
2128966963Speter#	* add kterm-color
2129066963Speter#
2129166963Speter# 2000-08-26
2129266963Speter#	* add qansi* entries from QNX ftp site.
2129366963Speter#
2129466963Speter# 2000-09-16
2129566963Speter#	* add Matrix Orbital entries by Eric Z. Ayers).
2129666963Speter#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
2129766963Speter#	  4.0.1c -TD
2129866963Speter#
2129966963Speter# 2000-09-17
2130066963Speter#	* add S0, E0 extensions to screen's entry -TD
2130166963Speter#
2130266963Speter# 2000-09-23
2130366963Speter#	* several corrections based on tic's new parameter-checking code -TD
2130466963Speter#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
2130566963Speter#	  bracketing sequences that reset video attributes (\E8 would restore
2130666963Speter#	  them) -TD
2130766963Speter#
2130876726Speter# 2000-11-11
2130976726Speter#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
2131076726Speter#
2131176726Speter# 2000-12-16
2131276726Speter#	* improved scoansi, based on SCO man-page, and testing console,
2131376726Speter#	  scoterm with tack -TD
2131476726Speter#
2131576726Speter# 2001-01-27
2131676726Speter#	* modify kterm to use acsc via SCS controls.
2131776726Speter#
2131876726Speter# 2001-02-10
2131976726Speter#	* screen 3.9.8 allows xterm mouse controls to pass-through
2132076726Speter#
2132176726Speter# 2001-03-11
2132276726Speter#	* remove spurious "%|" from some xterm entries.
2132376726Speter#
2132476726Speter# 2001-03-31
2132576726Speter#	* modify 'screen' khome/kend to match screen 3.09.08
2132676726Speter#	* add examples of 'screen' customization (screen.xterm-xfree86,
2132776726Speter#	  screen.xterm-r6, screen.teraterm) -TD
2132876726Speter#
2132976726Speter# 2001-04-14
2133076726Speter#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
2133176726Speter#	* add "Apple_Terminal" entries -Benjamin Sittler
2133276726Speter#	* remove time-delays from "Apple_Terminal" entries -TD
2133376726Speter#	* make sgr entries time-delays consistent with individual caps -TD
2133476726Speter#
2133576726Speter# 2001-05-05
2133676726Speter#	* corrected/updated screen.xterm-xfree86
2133776726Speter#
2133897049Speter# 2001-05-19
2133997049Speter#	* ELKS descriptions, from Federico Bianchi
2134097049Speter#	* add u6 (CSR) to Eterm (Michael Jennings).
2134197049Speter#
2134297049Speter# 2001-07-21
2134397049Speter#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
2134497049Speter#	  tic which handles names no longer than 14 characters.  Add
2134597049Speter#	  corresponding descriptions for the Darwin PowerPC console named
2134697049Speter#	  "xnuppc" -Benjamin Sittler
2134797049Speter#
2134897049Speter# 2001-09-01
2134997049Speter#	* change kbs in mach entries to ^? (Marcus Brinkmann).
2135097049Speter#
2135197049Speter# 2001-11-17
2135297049Speter#	* add "putty" entry -TD
2135397049Speter#	* updated "Apple_Terminal" entries -Benjamin Sittler
2135497049Speter#
2135597049Speter# 2001-11-24
2135697049Speter#	* add ms-vt100-color entry -TD
2135797049Speter#	* add "konsole" entries -TD
2135897049Speter#
2135997049Speter# 2001-12-08
2136097049Speter#	* update gnome entry to Redhat 7.2 -TD
2136197049Speter#
2136298503Speter# 2002-05-25
2136398503Speter#	* add kf13-kf48 strings to cons25w -TD
2136498503Speter#	* add pcvt25-color entry -TD
2136598503Speter#	* changed a few /usr/lib/tabset -> /usr/share/tabset.
2136698503Speter#	* improve some features of scoansi entry based on SCO's version -TD
2136798503Speter#	* add scoansi-new entry corresponding to OpenServer 5.0.6
2136898503Speter#
2136998503Speter# 2002-06-15
2137098503Speter#	* add kcbt to screen entry -TD
2137198503Speter#
21372166124Srafan# 2002-06-22
21373166124Srafan#	* add rxvt-16color, ibm+16color, mvterm entries -TD
21374166124Srafan#
21375166124Srafan# 2002-09-28
21376166124Srafan#	* split out linux-basic entry, making linux-c inherit from that, and
21377166124Srafan#	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
21378166124Srafan#	  the history of this console type -TD
21379166124Srafan#	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
21380166124Srafan#	  r/g/b parameters of initc are in the range 0 to 1000 -TD
21381166124Srafan#
21382166124Srafan# 2002-10-05
21383166124Srafan#	* minor fix for scale-factor of linux-c and linux-c-nc -TD
21384166124Srafan#
21385166124Srafan# 2002-11-09
21386166124Srafan#	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
21387166124Srafan#	  in the latter -TD
21388166124Srafan#
21389166124Srafan# 2002-11-16
21390166124Srafan#	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
21391166124Srafan#	* ncr260wy350pp has only 16 color pairs -TD
21392166124Srafan#	* add sun-type4 from NetBSD -TD
21393166124Srafan#	* update xterm-xfree86 to current (patch 170) -TD
21394166124Srafan#	* add screen-bce, screen-s entries -TD
21395166124Srafan#	* add xterm-1002, xterm-1003 entries -TD
21396166124Srafan#
21397166124Srafan# 2003-01-11
21398166124Srafan#	* update homepage for Top Gun Telnet/SSH
21399166124Srafan#
21400166124Srafan# 2003-01-25
21401166124Srafan#	* reduce duplication in emx entries, added emx-base -TD
21402166124Srafan#
21403166124Srafan# 2003-05-24
21404166124Srafan#	* corrected acs for screen.teraterm -TD
21405166124Srafan#	* add tkterm entry -TD
21406166124Srafan#
21407166124Srafan# 2003-07-15
21408166124Srafan#	* cygwin changes from Charles Wilson:
21409166124Srafan#	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
21410166124Srafan#	  primary instead of nxterm, to match XFree86's xterm.terminfo
21411166124Srafan#	  usage and to prevent circular links.
21412166124Srafan#	  (rxvt): add additional codes from rxvt.org.
21413166124Srafan#	  (rxvt-color): new alias
21414166124Srafan#	  (rxvt-xpm): new alias
21415166124Srafan#	  (rxvt-cygwin): like rxvt, but with special acsc codes.
21416166124Srafan#	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
21417166124Srafan#	  with a "native" MSWin GUI.  Each takes different acsc codes,
21418166124Srafan#	  which are both different from the "normal" rxvt's acsc.
21419166124Srafan#	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
21420166124Srafan#	  (cygwinDBG): ditto.
21421166124Srafan#
21422166124Srafan# 2003-09-27
21423166124Srafan#	* update gnome terminal entries -TD
21424166124Srafan#
21425166124Srafan# 2003-10-04
21426166124Srafan#	* add entries for djgpp 2.03 and 2.04 -TD
21427166124Srafan#
21428166124Srafan# 2003-10-25
21429166124Srafan#	* add alias for vtnt -TD
21430166124Srafan#	* update xterm-xfree86 for XFree86 4.4 -TD
21431166124Srafan#
21432166124Srafan# 2003-11-22
21433166124Srafan#	* add linux-vt (Andrey V Lukyanov)
21434166124Srafan#
21435166124Srafan# 2003-12-20
21436166124Srafan#	* add screen.linux -TD
21437166124Srafan#
21438166124Srafan# 2004-01-10
21439166124Srafan#	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
21440166124Srafan#
21441166124Srafan# 2004-01-17
21442166124Srafan#	* add OpenNT/Interix/SFU entries (Federico Bianchi)
21443166124Srafan#	* add vt100+ and vt-utf8 entries -TD
21444166124Srafan#	* add uwin entry -TD
21445166124Srafan#
21446166124Srafan# 2004-03-27
21447166124Srafan#	* add sgr strings to several common entries lacking them, e.g.,
21448166124Srafan#	  screen, to make the entries more portable -TD
21449166124Srafan#	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
21450166124Srafan#	* similar fixups for cvvis/cnorm various entries -TD
21451166124Srafan#
21452166124Srafan# 2004-05-22
21453166124Srafan#	* remove 'ncv' from xterm-256color (patch 188) -TD
21454166124Srafan#
21455166124Srafan# 2004-06-26
21456166124Srafan#	* add mlterm -TD
21457166124Srafan#	* add xterm-xf86-v44 -TD
21458166124Srafan#	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
21459166124Srafan#	  on G1 being used via an ISO-2022 escape sequence (report by
21460166124Srafan#	  Juliusz Chroboczek) -TD
21461166124Srafan#	* add 'hurd' entry -TD
21462166124Srafan#
21463166124Srafan# 2004-07-03
21464166124Srafan#	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
21465166124Srafan#	  xterm-basic -TD
21466166124Srafan#	* align with xterm #192's use of xterm-new -TD
21467166124Srafan#	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
21468166124Srafan#	* make xterm-new the default "xterm" -TD
21469166124Srafan#
21470166124Srafan# 2004-07-10
21471166124Srafan#	* minor fixes for emu -TD
21472166124Srafan#	* add emu-220
21473166124Srafan#	* add rmam/smam to linux (Trevor Van Bremen)
21474166124Srafan#	* change wyse acsc strings to use 'i' map rather than 'I' -TD
21475166124Srafan#	* fixes for avatar0 -TD
21476166124Srafan#	* fixes for vp3a+ -TD
21477166124Srafan#
21478166124Srafan# 2004-07-17
21479166124Srafan#	* add xterm-pc-fkeys -TD
21480166124Srafan#	* review/update gnome and gnome-rh90 entries (prompted by
21481166124Srafan#	  Redhat Bugzilla #122815) -TD
21482166124Srafan#	* review/update konsole entries -TD
21483166124Srafan#	* add sgr, correct sgr0 for kterm and mlterm -TD
21484166124Srafan#	* correct tsl string in kterm -TD
21485166124Srafan#
21486166124Srafan# 2004-07-24
21487166124Srafan#	* make ncsa-m rmacs/smacs consistent with sgr -TD
21488166124Srafan#	* add sgr, rc/sc and ech to syscons entries -TD
21489166124Srafan#	* add function-keys to decansi -TD
21490166124Srafan#	* add sgr to mterm-ansi -TD
21491166124Srafan#	* add sgr, civis, cnorm to emu -TD
21492166124Srafan#	* correct/simplify cup in addrinfo -TD
21493166124Srafan#	* corrections for gnome and konsole entries
21494166124Srafan#	  (Redhat Bugzilla #122815) -Hans de Goede
21495166124Srafan#	* modify DEC entries (vt220, etc), to add sgr string, and to use
21496166124Srafan#	  ISO-2022 strings for rmacs/smacs -TD
21497166124Srafan#
21498166124Srafan# 2004-07-31
21499166124Srafan#	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
21500166124Srafan#
21501166124Srafan# 2004-08-07
21502166124Srafan#	* improved putty entry -Robert de Bath
21503166124Srafan#
21504166124Srafan# 2004-08-14
21505166124Srafan#	* remove dch/dch1 from rxvt because they are implemented inconsistently
21506166124Srafan#	  with the common usage of bce/ech -TD
21507166124Srafan#	* remove khome from vt220 (vt220's have no home key) -TD
21508166124Srafan#	* add rxvt+pcfkeys -TD
21509166124Srafan#
21510166124Srafan# 2004-08-21
21511166124Srafan#	* modify several entries to ensure xterm mouse and cursor visibility
21512166124Srafan#	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
21513166124Srafan#	  Eterm, screen.  (The xterm entries are left alone - old ones for
21514166124Srafan#	  compatibility, and the new ones do not require this change) -TD
21515166124Srafan#
21516166124Srafan# 2004-08-28
21517166124Srafan#	* add morphos entry -Pavel Fedin
21518166124Srafan#	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
21519166124Srafan#	* corrected \E[5?l to \E[?5l in vt320 entries -TD
21520166124Srafan#
21521166124Srafan# 2004-11-20
21522166124Srafan#	* update wsvt25 entry -TD
21523166124Srafan#
21524166124Srafan# 2005-01-29
21525166124Srafan#	* update pairs for xterm-88color and xterm-256color to reflect the
21526166124Srafan#	  ncurses extended-color support -TD
21527166124Srafan#
21528166124Srafan# 2005-02-26
21529166124Srafan#	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
21530166124Srafan#	* add aixterm-16color to demonstrate 16-color capability -TD
21531166124Srafan#
21532166124Srafan# 2005-04-23
21533166124Srafan#	* add media-copy to vt100 -TD
21534166124Srafan#	* corrected acsc string for vt52 -TD
21535166124Srafan#
21536166124Srafan# 2005-04-30
21537166124Srafan#	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
21538166124Srafan#	  xterm-new -TD
21539166124Srafan#	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
21540166124Srafan#
21541166124Srafan# 2005-05-07
21542166124Srafan#	* re-corrected acsc string for vt52 -TD
21543166124Srafan#
21544166124Srafan# 2005-05-28
21545166124Srafan#	* corrected sun-il sgr string which referred to bold and underline -TD
21546166124Srafan#	* add sun-color entry -TD
21547166124Srafan#
21548166124Srafan# 2005-07-23
21549166124Srafan#	* modify sgr0 in several entries to reset alternate-charset as in the
21550166124Srafan#	  sgr string -TD
21551166124Srafan#	* modify sgr string of prism9 to better match the individual
21552166124Srafan#	  attributes -TD
21553166124Srafan#
21554166124Srafan# 2005-10-15
21555166124Srafan#	* correct order of use= in rxvt-basic -TD
21556166124Srafan#
21557166124Srafan# 2005-10-26
21558166124Srafan#	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
21559166124Srafan#
21560166124Srafan# 2005-11-12
21561166124Srafan#	* other minor fixes to cygwin based on tack -TD
21562166124Srafan#	* correct smacs in cygwin (report by Baurzhan Ismagulov).
21563166124Srafan#
21564166124Srafan# 2006-02-18
21565166124Srafan#	* add nsterm-16color entry -TD
21566166124Srafan#	* remove ncv flag from xterm-16color -TD
21567166124Srafan#	* remove setf/setb from xterm-256color to match xterm #209 -TD
21568166124Srafan#	* update mlterm entry to 2.9.2 -TD
21569166124Srafan#
21570166124Srafan# 2006-02-25
21571166124Srafan#	* fixes to make nsterm-16color match report
21572166124Srafan#	  by Christian Ebert -Alain Bench
21573166124Srafan#
21574166124Srafan# 2006-04-22
21575166124Srafan#	* add xterm+256color building block -TD
21576166124Srafan#	* add gnome-256color, putty-256color, rxvt-256color -TD
21577166124Srafan#
21578166124Srafan# 2006-05-06
21579166124Srafan#	* add hpterm-color -TD
21580166124Srafan#
21581166124Srafan# 2006-06-24
21582166124Srafan#	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
21583166124Srafan#	* add gnome-fc5 (prompted by GenToo #122566) -TD
21584166124Srafan#	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
21585166124Srafan#	* improve xterm-256color by combining the ibm+16color setaf/setab
21586166124Srafan#	  strings with SGR 48.  The setf/setb strings also are cancelled here
21587166124Srafan#	  rather than omitted so derived entries will cancel those also -Alain
21588166124Srafan#	  Bench
21589166124Srafan#
21590166124Srafan# 2006-07-01
21591166124Srafan#	* add some notes regarding copyright to terminfo.src -TD
21592166124Srafan#	* use rxvt+pcfkeys in Eterm -TD
21593166124Srafan#	* remove km and flash from gnome, Eterm and rxvt since they do not work
21594166124Srafan#	  as one would expect (km sends ESC rather than setting the 8th bit
21595166124Srafan#	  of the key) -TD
21596166124Srafan#	* add/use ansi+enq, vt100+enq and vt102+enq -TD
21597166124Srafan#	* add konsole-solaris -TD
21598166124Srafan#
21599166124Srafan# 2006-07-22
21600166124Srafan#	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
21601166124Srafan#	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
21602166124Srafan#	* modify xterm-24 to inherit from "xterm" -TD
21603166124Srafan#	* add xiterm entry -TD
21604166124Srafan#	* add putty-vt100 entry -TD
21605166124Srafan#	* corrected spelling of Michael A Dorman's name, prompted by
21606166124Srafan#	  http://www.advogato.org/person/mdorman/diary.html -TD
21607166124Srafan#
21608166124Srafan# 2006-08-05
21609166124Srafan#	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
21610166124Srafan#	* update xterm+pcfkeys to match xterm #216 -TD
21611166124Srafan#
21612166124Srafan# 2006-08-17
21613166124Srafan#	* make descriptions of xterm entries consistent with its terminfo -TD
21614166124Srafan#
21615166124Srafan# 2006-08-26
21616166124Srafan#	* add xfce, mgt -TD
21617166124Srafan#
21618166124Srafan# 2006-09-02
21619166124Srafan#	* correct acsc string in kterm -TD
21620166124Srafan#
21621166124Srafan# 2006-09-09
21622166124Srafan#	* add kon entry -TD
21623166124Srafan#	* remove invis from linux and related entries, add klone+sgr8 for those
21624166124Srafan#	  that implement the feature (or have not been shown to lack it) -TD
21625166124Srafan#
21626166124Srafan# 2006-09-23
21627166124Srafan#	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
21628166124Srafan#	* minor improvements to rxvt+pcfkeys -TD
21629166124Srafan#
21630166124Srafan# 2006-09-30
21631166124Srafan#	* fix a few typos in if/then/else expressions -TD
21632166124Srafan#
21633166124Srafan# 2006-10-07
21634166124Srafan#	* add several GNU Screen variations with 16- and 256-colors, and
21635166124Srafan#	  status line (Alain Bench).
21636166124Srafan#
21637174993Srafan# 2007-03-03
21638174993Srafan#	* add Newbury Data entries (Jean-Charles Billaud).
21639174993Srafan#
21640174993Srafan# 2007-06-10
21641174993Srafan#	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
21642174993Srafan#
21643174993Srafan# 2007-07-14
21644174993Srafan#	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
21645174993Srafan#	* add konsole-256color entry -TD
21646174993Srafan#
21647174993Srafan# 2007-08-18
21648174993Srafan#	* add 9term entry (request by Juhapekka Tolvanen) -TD
21649174993Srafan#
21650174993Srafan# 2007-10-13
21651174993Srafan#	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
21652174993Srafan#	* add shift-control- and control-modified keys for rxvt editing
21653174993Srafan#	  keypad -TD
21654174993Srafan#	* update mlterm entry to 2.9.3 -TD
21655174993Srafan#	* add mlterm+pcfkeys -TD
21656174993Srafan#
21657174993Srafan# 2007-10-20
21658174993Srafan#	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
21659174993Srafan#	  xterm+pcc0, etc., to make the corresponding building blocks reflect
21660174993Srafan#	  xterm's capabilities -TD
21661174993Srafan#	* add mrxvt entry -TD
21662174993Srafan#	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
21663174993Srafan#
21664174993Srafan# 2007-11-03
21665174993Srafan#	* correct acsc strings for h19 and z100 (Benjamin Sittler)
21666174993Srafan#
21667176187Srafan# 2007-11-11
21668176187Srafan#	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
21669176187Srafan#	  xterm starting with patch #216 -TD
21670176187Srafan#	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
21671176187Srafan#	  to match xterm #230 -TD
21672176187Srafan#	* extend xterm+pccX entries to match xterm #230 -TD
21673176187Srafan#	* add xterm+app, xterm+noapp, from xterm #230 -TD
21674176187Srafan#	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
21675176187Srafan#
21676178866Srafan# 2008-04-19
21677178866Srafan#	* add screen.rxvt -TD
21678178866Srafan#
21679178866Srafan# 2008-04-28
21680178866Srafan#	* add screen+fkeys (prompted by Debian # 478094) -TD
21681178866Srafan#
2168250276Speter# The following sets edit modes for GNU EMACS.
2168350276Speter# Local Variables:
2168450276Speter# fill-prefix:"\t"
2168550276Speter# fill-column:75
2168650276Speter# comment-column:0
2168750276Speter# comment-start-skip:"^#+"
2168850276Speter# comment-start:"# "
2168950276Speter# compile-command:"tic -c terminfo.master"
2169050276Speter# End:
2169150276Speter######## SHANTIH!  SHANTIH!  SHANTIH!
21692