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#
9184989Srafan#	$Revision: 1.341 $
10184989Srafan#	$Date: 2008/10/12 23:03:54 $
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
764184989Srafan# Subject: linux 2.6.26 vt back_color_erase
765184989Srafan# Changes to the Linux console driver broke bce model as reported in
766184989Srafan#	https://bugzilla.novell.com/show_bug.cgi?id=418613
767184989Srafan# apparently from
768184989Srafan#	http://lkml.org/lkml/2008/4/26/305
769184989Srafan#	http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e
770184989Srafanlinux2.6.26|linux console w/o bce,
771184989Srafan	bce@, use=linux,
772184989Srafan
77350276Speter# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
774166124Srafanlinux-nic|linux with ich/ich1 suppressed for non-curses programs,
775166124Srafan	ich@, ich1@, use=linux,
77650276Speter
77750276Speter# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
77850276Speter# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
779166124Srafanlinux-koi8|linux with koi8 alternate character set,
780166124Srafan	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,
781166124Srafan	use=linux, use=klone+koi8acs,
78250276Speter
78350276Speter# Another entry for KOI8-r with Qing Long's acsc.
78450276Speter# (which one better complies with the standard?)
785166124Srafanlinux-koi8r|linux with koi8-r alternate character set,
786166124Srafan	use=linux, use=klone+koi8acs,
78750276Speter
78862449Speter# Entry for the latin1 and latin2 fonts
789166124Srafanlinux-lat|linux with latin1 or latin2 alternate character set,
790166124Srafan	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,
791166124Srafan	use=linux,
79262449Speter
793166124Srafan# This uses graphics from VT codeset instead of from cp437.
794166124Srafan# reason: cp437 (aka "straight to font") is not functional under luit.
795166124Srafan# from: Andrey V Lukyanov <land@long.yar.ru>.
796166124Srafanlinux-vt|linux console using VT codes for graphics,
797166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
798166124Srafan	rmacs=\E(K, rmpch@, sgr@, sgr0=\E[0m\E(K\017, smacs=\E(0,
799166124Srafan	smpch@, use=linux,
800166124Srafan
801166124Srafan# This is based on the Linux console (relies on the console to perform some
802166124Srafan# of the functionality), but does not recognize as many control sequences.
803166124Srafan# The program comes bundled with an old (circa 1998) copy of the Linux
804166124Srafan# console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
805166124Srafan#	\E*	move cursor to home, as as \E[H
806166124Srafan#	\E,X	same as \E(X
807166124Srafan#	\EE	move cursor to beginning of row
808166124Srafan#	\E[y,xf	same as \E[y,xH
809166124Srafan#
810166124Srafan# Note: The status-line support is buggy (dsl does not work).
811166124Srafankon|kon2|jfbterm|Kanji ON Linux console,
812166124Srafan	ccc@, hs,
813166124Srafan	civis@, cnorm@, cvvis@, dsl=\E[?H, flash@, fsl=\E[?F, initc@,
814166124Srafan	initp@, kcbt@, oc@, op=\E[37;40m, rs1=\Ec, tsl=\E[?T,
815166124Srafan	use=linux,
816166124Srafan
81762449Speter#### Mach
81862449Speter#
81962449Speter
82062449Speter# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
821166124Srafanmach|Mach Console,
822166124Srafan	am, km,
823166124Srafan	cols#80, it#8, lines#25,
824166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
825166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
826166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
827166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
828166124Srafan	el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J,
829166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
830166124Srafan	kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ,
831166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
832166124Srafan	kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U,
833166124Srafan	kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m,
834166124Srafan	smso=\E[7m, smul=\E[4m,
835166124Srafanmach-bold|Mach Console with bold instead of underline,
836166124Srafan	rmul=\E[0m, smul=\E[1m, use=mach,
837166124Srafanmach-color|Mach Console with ANSI color,
838166124Srafan	colors#8, pairs#64,
839166124Srafan	dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m,
840166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach,
84150276Speter
842166124Srafan# From: Marcus Brinkmann
843166124Srafan# http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
844166124Srafan#
845166124Srafan# Comments in the original are summarized here:
846166124Srafan#
847166124Srafan# hurd uses 8-bit characters (km).
848166124Srafan#
849166124Srafan# Although it doesn't do XON/XOFF, we don't want padding characters (xon).
850166124Srafan#
851166124Srafan# Regarding compatibility to vt100:  hurd doesn't specify <xenl>, as we don't
852166124Srafan# have the eat_newline_glitch.  It doesn't support setting or removing tab
853166124Srafan# stops (hts/tbc).
854166124Srafan#
855166124Srafan# hurd uses ^H instead of \E[D for cub1, as only ^H implements <bw> and it is
856166124Srafan# one byte instead three.
857166124Srafan#
858166124Srafan# <ich1> is not included because hurd has insert mode.
859166124Srafan#
860166124Srafan# hurd doesn't use ^J for scrolling, because this could put things into the
861166124Srafan# scrollback buffer.
862166124Srafan#
863166124Srafan# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
864166124Srafan# This is a GNU extension.
865166124Srafan#
866166124Srafan# The original has commented-out ncv, but is restored here.
867166124Srafan#
868166124Srafan# Reading the source, RIS resets cnorm, but not xmous.
869166124Srafanhurd|The GNU Hurd console server,
870166124Srafan	am, bce, bw, eo, km, mir, msgr, xon,
871166124Srafan	colors#8, it#8, ncv#18, pairs#64,
872166124Srafan	acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
873166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
874166124Srafan	clear=\Ec, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
875166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
876166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
877166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[34l, dch=\E[%p1%dP,
878166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
879166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\Eg,
880166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
881166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
882166124Srafan	invis=\E[8m, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\EOD,
883166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
884166124Srafan	kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
885166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
886166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
887166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
888166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
889166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
890166124Srafan	kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\E[T,
891166124Srafan	rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E[10m, rmir=\E[4l,
892166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\EM\E[?1000l, sc=\E7,
893166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
894166124Srafan	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,
895166124Srafan	sgr0=\E[0m, sitm=\E[3m, smacs=\E[11m, smir=\E[4h,
896166124Srafan	smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, grbom=\E[>1l,
897166124Srafan	gsbom=\E[>1h,
898166124Srafan
89962449Speter#### OSF Unix
90062449Speter#
90150276Speter
90262449Speter# OSF/1 1.1 Snapshot 2
903166124Srafanpmcons|pmconsole|PMAX console,
904166124Srafan	am,
905166124Srafan	cols#128, lines#57,
906166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I,
907166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
908166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
90962449Speter
91050276Speter# SCO console and SOS-Syscons console for 386bsd
91150276Speter# (scoansi: had unknown capabilities
91250276Speter#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
91350276Speter#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
91450276Speter#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
91550276Speter#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
91650276Speter#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
91750276Speter# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
91850276Speter# on the <smacs>=\E[12m  -- esr)
91950276Speter#
92056639Speter# klone+sgr-dumb is an error since the acsc does not match -TD
92156639Speter#
92298503Speter# In this description based on SCO's keyboard(HW) manpage list of default
92398503Speter# function key values:
92450276Speter#	F13-F24 are shifted F1-F12
92550276Speter#	F25-F36 are control F1-F12
92650276Speter#	F37-F48 are shift+control F1-F12
92776726Speter#
92876726Speter# hpa/vpa work in the console, but not in scoterm:
92976726Speter#	hpa=\E[%p1%dG,
93076726Speter#	vpa=\E[%p1%dd,
93176726Speter#
93276726Speter# SCO's terminfo uses
93376726Speter#	kLFT=\E[d,
93476726Speter#	kRIT=\E[c,
93576726Speter# which do not work (console or scoterm).
93676726Speter#
93776726Speter# Console documents only 3 attributes can be set with SGR (so we don't use sgr).
938166124Srafanscoansi-old|SCO Extended ANSI standard crt (5.0.5),
939166124Srafan	OTbs, am, bce, eo, xon,
940166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
941166124Srafan	acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
942166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
943166124Srafan	civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C,
944166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
945166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
946166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP,
947166124Srafan	dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M,
948166124Srafan	ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I,
949166124Srafan	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
950166124Srafan	ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H,
951166124Srafan	kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
952166124Srafan	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
953166124Srafan	kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c,
954166124Srafan	kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g,
955166124Srafan	kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l,
956166124Srafan	kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p,
957166124Srafan	kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u,
958166124Srafan	kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P,
959166124Srafan	kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[],
960166124Srafan	kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q,
961166124Srafan	kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
962166124Srafan	kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8,
963166124Srafan	rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m,
964166124Srafan	rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7,
965166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
966166124Srafan	smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
967166124Srafanscoansi-new|SCO Extended ANSI standard crt (5.0.6),
968166124Srafan	km,
969166124Srafan	civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr,
970166124Srafan	cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m,
971166124Srafan	rep=\E[%p1%d;%p2%db, rmm=\E[=11L,
972166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m,
973166124Srafan	smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm,
974166124Srafan	smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m,
975166124Srafan	smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m,
976166124Srafan	smgtp=\E[=0;%i%p1%dm, smm=\E[=10L,
977166124Srafan	wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr,
978166124Srafan	use=scoansi-old,
97998503Speter# make this easy to change...
980166124Srafanscoansi|SCO Extended ANSI standard crt,
981166124Srafan	use=scoansi-old,
98250276Speter
98350276Speter# This actually describes the generic SVr4 display driver for Intel boxes.
98450276Speter# The <dim=\E[2m> isn't documented and therefore may not be reliable.
98550276Speter# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
986166124Srafanatt6386|at386|386at|AT&T WGS 6386 console,
987166124Srafan	am, bw, eo, xon,
988166124Srafan	cols#80, it#8, lines#25,
989166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
990166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C,
991166124Srafan	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD,
992166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
993166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
994166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
995166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
996166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
997166124Srafan	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
998166124Srafan	indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H,
999166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
1000166124Srafan	kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ,
1001166124Srafan	kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
1002166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@,
1003166124Srafan	knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m,
1004166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
1005166124Srafan	sc=\E7,
1006166124Srafan	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,
1007166124Srafan	sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m,
1008166124Srafan	tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color,
100950276Speter# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
1010166124Srafanpc6300plus|AT&T 6300 plus,
1011166124Srafan	OTbs, am, xon,
1012166124Srafan	cols#80, lines#24,
1013166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C,
1014166124Srafan	clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B,
1015166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
1016166124Srafan	dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K,
1017166124Srafan	home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J,
1018166124Srafan	invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1019166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe,
1020166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk,
1021166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
1022166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
102350276Speter
102450276Speter# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
102550276Speter#
102650276Speter# I have a UNIX PC which I use as a terminal attached to my Linux PC.
102750276Speter# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
102850276Speter# is broken. All the special key sequences are broken, making it unusable
102950276Speter# with Emacs. The problem stems from the following:
1030166124Srafan#
103150276Speter# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
103250276Speter# keypad!), loadable fonts, and strange highlighting modes ("dithered"
103350276Speter# half-intensity, "smeared" bold, and real strike-out, for example.) It also
103450276Speter# uses resizable terminal windows, but the bundled terminal program always
103550276Speter# uses an 80x24 window (and doesn't support seem to support a 132-column
1036166124Srafan# mode.)
1037166124Srafan#
103850276Speter# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
103950276Speter# library which was a superset of SVr3.5 curses (called tam, for "terminal
104050276Speter# access method".) tam includes support for real, overlapping windows,
104150276Speter# onscreen function key labels, and bitmap graphics. But since the primary
104250276Speter# user interface on the UNIX PC was a GUI program (ua, for "user
104350276Speter# assistant",) and remote administration was considered important for the
104450276Speter# machine, tam also supported VT100-compatible terminals attached to the
104550276Speter# serial port or used across the StarLan network. To simulate the extra keys
104650276Speter# not present on a VT100, users could press ESC and a two-letter sequence,
104750276Speter# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
104850276Speter# however, were not the same as those sent by the actual Undo key. The
104950276Speter# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
105050276Speter# (If you're interested in adding some of the tam calls to ncurses, btw, I
105150276Speter# have the full documentation and several programs which use tam. It also
105250276Speter# used an extended terminfo format to describe key sequences, special
1053166124Srafan# highlighting modes, etc.)
1054166124Srafan#
105550276Speter# KEYS: This means that ncurses would quite painful on the UNIX PC, since
105650276Speter# there are two sequences for every key-modifier combination (local keyboard
105750276Speter# sequence and remote "VT100" sequence.) But I doubt many people are trying
105850276Speter# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
1059166124Srafan# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
1060166124Srafan# seem to have been built from the manual describing the VT100 sequences.
1061166124Srafan# This means it doesn't work for a real live UNIX PC.
1062166124Srafan#
106350276Speter# FONTS: The UNIX PC also has a strange interpretation of "alternate
106450276Speter# character set". Rather than the VT100 graphics you might expect, it allows
106550276Speter# up to 8 custom fonts to be loaded at any given time. This means that
106650276Speter# programs expecting VT100 graphics will usually be disappointed. For this
106750276Speter# reason I have disabled the smacs/rmacs sequences, but they could easily be
1068166124Srafan# re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
1069166124Srafan# manpage), should you wish to do so:
1070166124Srafan#
107150276Speter# SGR10 - Select font 0 - ESC [ 10 m or SO
107250276Speter# SGR11 - Select font 1 - ESC [ 11 m or SI
107350276Speter# SGR12 - Select font 2 - ESC [ 12 m
107450276Speter# ... (etc.)
107550276Speter# SGR17 - Select font 7 - ESC [ 17 m
1076166124Srafan#
107750276Speter# Graphics for line drawing are not reliably found at *any* character
107850276Speter# location because the UNIX PC has dynamically reloadable fonts. I use font
107950276Speter# 0 for regular text and font 1 for italics, but this is by no means
108050276Speter# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
1081166124Srafan#
108250276Speter# MISC: The cursor visible/cursor invisible sequences were swapped in the
108350276Speter# distributed terminfo.
1084166124Srafan#
108550276Speter# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
108650276Speter# the UNIX PC terminfo entry. The modified version works great with Lynx,
108750276Speter# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
108850276Speter# attached by serial cable. In Emacs, even the Undo key works, and many
1089166124Srafan# applications can now use the F1-F8 keys.
1090166124Srafan#
109150276Speter# esr's notes:
109250276Speter#	Terminfo entry for the AT&T Unix PC 7300
109350276Speter#	from escape(7) in Unix PC 7300 Manual.
109450276Speter#	Somewhat similar to a vt100-am (but different enough
109550276Speter#	to redo this from scratch.)
109650276Speter#
109750276Speter#	/***************************************************************
109850276Speter#	*
109950276Speter#	*           FONT LOADING PROGRAM FOR THE UNIX PC
110050276Speter#	*
110150276Speter#	*     This routine loads a font defined in the file ALTFONT
110250276Speter#	*     into font memory slot #1.  Once the font has been loaded,
110350276Speter#	*     it can be used as an alternative character set.
110450276Speter#	*
1105166124Srafan#	*     The call to ioctl with the argument WIOCLFONT is the key
1106166124Srafan#	*     to this routine.  For more information, see window(7) in
110750276Speter#	*     the PC 7300 documentation.
110850276Speter#	***************************************************************/
110950276Speter#	#include <string.h>		/* needed for strcpy call */
111050276Speter#	#include <sys/window.h>         /* needed for ioctl call */
111150276Speter#	#define FNSIZE	60		/* font name size */
111250276Speter#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
111350276Speter#	/*
111450276Speter#	*     The file /usr/lib/wfont/special.8.ft comes with the
111550276Speter#	*     standard PC software.  It defines a graphics character set
111650276Speter#	*     similar to that of the Teletype 5425 terminal.  To view
111750276Speter#	*     this or other fonts in /usr/lib/wfont, use the command
111850276Speter#	*     cfont <filename>.  For further information on fonts see
111950276Speter#	*     cfont(1) in the PC 7300 documentation.
112050276Speter#	*/
1121166124Srafan#
112250276Speter#	struct altfdata 	/* structure for alt font data */
112350276Speter#	{
112450276Speter#	short	altf_slot;		/* memory slot number */
112550276Speter#	char	altf_name[FNSIZE];	/* font name (file name) */
112650276Speter#	};
112750276Speter#	ldfont()
112850276Speter#	{
112950276Speter#		int wd;		/* window in which altfont will be */
113050276Speter#		struct altfdata altf;
113150276Speter#		altf.altf_slot=1;
113250276Speter#		strcpy(altf.altf_name,ALTFONT);
113350276Speter#		for (wd =1; wd < 12; wd++) {
113450276Speter#		     ioctl(wd, WIOCLFONT,&altf);
113550276Speter#	        }
113650276Speter#	}
113750276Speter#
113850276Speter# (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
113950276Speter# they're confirmed by the man page for the System V display---esr)
114050276Speter#
1141166124Srafanatt7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300,
1142166124Srafan	am, xon,
1143166124Srafan	cols#80, it#8, lines#24,
1144166124Srafan	bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C,
1145166124Srafan	clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD,
1146166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
1147166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1148166124Srafan	cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
1149166124Srafan	ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL,
1150166124Srafan	il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB,
1151166124Srafan	kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE,
1152166124Srafan	kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM,
1153166124Srafan	kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR,
1154166124Srafan	kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO,
1155166124Srafan	kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z,
1156166124Srafan	kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
1157166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf,
1158166124Srafan	ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd,
1159166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
1160166124Srafan	kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B,
1161166124Srafan	kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv,
1162166124Srafan	kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt,
1163166124Srafan	kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB,
1164166124Srafan	ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM,
1165166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m,
1166166124Srafan	smul=\E[4m,
116750276Speter
116850276Speter# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
116950276Speter# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
117050276Speter# for the application keypad mode.  We have added iris-ansi-ap rather than
117150276Speter# change the original to keypad mode.
117250276Speter#
117350276Speter# (iris-ansi: added rmam/smam based on init string -- esr)
117450276Speter#
117550276Speter# This entry, and those derived from it, is used in xwsh (also known as
117650276Speter# winterm).  Some capabilities that do not fit into the terminfo model
117750276Speter# include the shift- and control-functionkeys:
117850276Speter#
117950276Speter# F1-F12 generate different codes when shift or control modifiers are used.
118050276Speter# For example:
118150276Speter#	F1      	\E[001q
118250276Speter#	shift F1	\E[013q
118350276Speter#	control-F1	\E[025q
118450276Speter#
118550276Speter# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
118650276Speter# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
118750276Speter#
118850276Speter# The cursor keys also have different codes:
118950276Speter#	control-up	\E[162q
119050276Speter#	control-down	\E[165q
119150276Speter#	control-left	\E[159q
119250276Speter#	control-right	\E[168q
119350276Speter#
119450276Speter#	shift-up	\E[161q
119550276Speter#	shift-down	\E[164q
119650276Speter#	shift-left	\E[158q
119750276Speter#	shift-right	\E[167q
119850276Speter#
119950276Speter#	control-tab	\[072q
120050276Speter#
1201166124Srafaniris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100),
1202166124Srafan	am,
1203166124Srafan	cols#80, it#8, lines#40,
1204166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J,
1205166124Srafan	cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD,
1206166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
1207166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
1208166124Srafan	cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h,
1209166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
1210166124Srafan	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED,
1211166124Srafan	is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P,
1212166124Srafan	kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q,
1213166124Srafan	kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1214166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
1215166124Srafan	kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q,
1216166124Srafan	kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q,
1217166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
1218166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
1219166124Srafan	knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q,
1220166124Srafan	kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\,
1221166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
1222166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m,
1223166124Srafan	tbc=\E[3g,
1224166124Srafaniris-ansi-ap|IRIS ANSI in application-keypad mode,
1225166124Srafan	is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q,
1226166124Srafan	kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi,
122750276Speter
122850276Speter# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
122950276Speter# (T.Dickey 98/1/24)
1230166124Srafaniris-color|xwsh|IRIX ANSI with color,
1231166124Srafan	ncv#33,
1232166124Srafan	csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m,
1233166124Srafan	ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m,
1234166124Srafan	rmul=\E[24m, rs1=\Ec,
1235166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1236166124Srafan	sitm=\E[3m, use=vt100+enq, use=klone+color,
1237166124Srafan	use=iris-ansi-ap,
123850276Speter
123950276Speter# The following is a version of the ibm-pc entry distributed with PC/IX,
124050276Speter# (Interactive Systems' System 3 for the Big Blue), modified by Richard
124150276Speter# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
124250276Speter# (the former is untrue, and the latter failed under UCB/man); standout and
124350276Speter# underline modes have been added.  Note: this entry describes the "native"
124450276Speter# capabilities of the PC monochrome display, without ANY emulation; most
124550276Speter# communications packages (but NOT PC/IX connect) do some kind of emulation.
1246166124Srafanpcix|PC/IX console,
1247166124Srafan	am, bw, eo,
1248166124Srafan	cols#80, lines#24,
1249166124Srafan	clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1250166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1251166124Srafan	home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m,
1252166124Srafan	smul=\E[4m,
125350276Speter
125450276Speter# (ibmpcx: this entry used to be known as ibmx.
125550276Speter# It formerly included the following extension capabilities:
125650276Speter#	:GC=b:GL=v:GR=t:RT=^J:\
125750276Speter#	:GH=\E[196g:GV=\E[179g:\
125850276Speter#	:GU=\E[193g:GD=\E[194g:\
125950276Speter#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
126050276Speter#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
126150276Speter#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
126250276Speter# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
126350276Speter# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
126450276Speter# what was there before. -- esr)
1265166124Srafanibmpcx|xenix|ibmx|IBM PC xenix console display,
1266166124Srafan	OTbs, am, msgr,
1267166124Srafan	cols#80, lines#25,
1268166124Srafan	clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C,
1269166124Srafan	cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
1270166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H,
1271166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d,
1272166124Srafan	kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e,
1273166124Srafan	kpp=\E[Z, use=klone+acs, use=klone+sgr8,
127450276Speter
127562449Speter#### QNX
127662449Speter#
127750276Speter
127850276Speter# QNX 4.0 Console
127950276Speter# Michael's original version of this entry had <am@>, <smcup=\Ei>,
128050276Speter# <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
128150276Speter# right corner without triggering a scroll.  The ncurses terminfo library can
128250276Speter# handle this case with the <ich1> capability, and prefers <am> for better
128350276Speter# optimization.  Bug: The <op> capability resets attributes.
128450276Speter# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
128550276Speter# (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
1286166124Srafanqnx|qnx4|qnx console,
1287166124Srafan	daisy, km, mir, msgr, xhpa, xt,
1288166124Srafan	colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8,
1289166124Srafan	acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263,
1290166124Srafan	bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ,
1291166124Srafan	cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
1292166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2,
1293166124Srafan	dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee,
1294166124Srafan	il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263,
1295166124Srafan	kCMD=\377\267, kCPY=\377\363, kCRT=\377\364,
1296166124Srafan	kDL=\377\366, kEND=\377\301, kEOL=\377\311,
1297166124Srafan	kEXT=\377\367, kFND=\377\370, kHLP=\377\371,
1298166124Srafan	kHOM=\377\260, kIC=\377\340, kLFT=\377\264,
1299166124Srafan	kMOV=\377\306, kMSG=\377\304, kNXT=\377\272,
1300166124Srafan	kOPT=\377\372, kPRT=\377\275, kPRV=\377\262,
1301166124Srafan	kRDO=\377\315, kRES=\377\374, kRIT=\377\266,
1302166124Srafan	kRPL=\377\373, kSAV=\377\307, kSPD=\377\303,
1303166124Srafan	kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0,
1304166124Srafan	kclo=\377\343, kclr=\377\341, kcmd=\377\245,
1305166124Srafan	kcpy=\377\265, kcrt=\377\305, kctab=\377\237,
1306166124Srafan	kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246,
1307166124Srafan	kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274,
1308166124Srafan	ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320,
1309166124Srafan	kext=\377\270, kf1=\377\201, kf10=\377\212,
1310166124Srafan	kf11=\377\256, kf12=\377\257, kf13=\377\213,
1311166124Srafan	kf14=\377\214, kf15=\377\215, kf16=\377\216,
1312166124Srafan	kf17=\377\217, kf18=\377\220, kf19=\377\221,
1313166124Srafan	kf2=\377\202, kf20=\377\222, kf21=\377\223,
1314166124Srafan	kf22=\377\224, kf23=\377\333, kf24=\377\334,
1315166124Srafan	kf25=\377\225, kf26=\377\226, kf27=\377\227,
1316166124Srafan	kf28=\377\230, kf29=\377\231, kf3=\377\203,
1317166124Srafan	kf30=\377\232, kf31=\377\233, kf32=\377\234,
1318166124Srafan	kf33=\377\235, kf34=\377\236, kf35=\377\276,
1319166124Srafan	kf36=\377\277, kf37=\377\321, kf38=\377\322,
1320166124Srafan	kf39=\377\323, kf4=\377\204, kf40=\377\324,
1321166124Srafan	kf41=\377\325, kf42=\377\326, kf43=\377\327,
1322166124Srafan	kf44=\377\330, kf45=\377\331, kf46=\377\332,
1323166124Srafan	kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206,
1324166124Srafan	kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346,
1325166124Srafan	khlp=\377\350, khome=\377\240, khts=\377\342,
1326166124Srafan	kich1=\377\253, kil1=\377\273, kind=\377\261,
1327166124Srafan	kmov=\377\351, kmrk=\377\355, kmsg=\377\345,
1328166124Srafan	knp=\377\252, knxt=\377\312, kopn=\377\357,
1329166124Srafan	kopt=\377\353, kpp=\377\242, kprt=\377\255,
1330166124Srafan	kprv=\377\302, krdo=\377\336, kref=\377\354,
1331166124Srafan	kres=\377\360, krfr=\377\347, kri=\377\271,
1332166124Srafan	krmir=\377\313, krpl=\377\362, krst=\377\352,
1333166124Srafan	ksav=\377\361, kslt=\377\247, kspd=\377\335,
1334166124Srafan	ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER,
1335166124Srafan	rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER,
1336166124Srafan	rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d,
1337166124Srafan	setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei,
1338166124Srafan	smso=\E(, smul=\E[,
133966963Speter#
134066963Speter#
1341166124Srafanqnxt|qnxt4|QNX4 terminal,
1342166124Srafan	crxm, use=qnx4,
134366963Speter#
1344166124Srafanqnxm|QNX4 with mouse events,
1345166124Srafan	maddr#1,
1346166124Srafan	chr=\E/, cvr=\E", is1=\E/0t, mcub=\E/>1h, mcub1=\E/>7h,
1347166124Srafan	mcud=\E/>1h, mcud1=\E/>1l\E/>9h, mcuf=\E/>1h\E/>9l,
1348166124Srafan	mcuf1=\E/>7l, mcuu=\E/>6h, mcuu1=\E/>6l, rmicm=\E/>2l,
1349166124Srafan	smicm=\E/>2h, use=qnx4,
135066963Speter#
1351166124Srafanqnxw|QNX4 windows,
1352166124Srafan	xvpa, use=qnxm,
135366963Speter#
135466963Speter#	Monochrome QNX4 terminal or console. Setting this terminal type will
135566963Speter#	allow an application running on a color console to behave as if it
135666963Speter#	were a monochrome terminal. Output will be through stdout instead of
135766963Speter#	console writes because the term routines will recognize that the
135866963Speter#	terminal name starts with 'qnxt'.
135966963Speter#
1360166124Srafanqnxtmono|Monochrome QNX4 terminal or console,
1361166124Srafan	colors@, pairs@,
1362166124Srafan	scp@, use=qnx4,
136350276Speter
136450276Speter# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
136550276Speter# (esr: commented out <scp> and <rmcup> to avoid warnings.)
136650276Speter# (TD: derive from original qnx4 entry)
1367166124Srafanqnxt2|qnx 2.15 serial terminal,
1368166124Srafan	am,
1369166124Srafan	civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@,
1370166124Srafan	rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4,
137150276Speter
137266963Speter# QNX ANSI terminal definition
1373166124Srafanqansi-g|QNX ANSI,
1374166124Srafan	am, eslok, hs, xon,
1375166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80,
1376166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~Oa,
1377166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
1378166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M,
1379166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
1380166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1381166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A,
1382166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
1383166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, dsl=\E[r, ech=\E[%p1%dX, ed=\E[J,
1384166124Srafan	el=\E[K, el1=\E[1K\E[X, flash=\E[?5h$<200>\E[?5l,
1385166124Srafan	fsl=\E[?6h\E8, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
1386166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L,
1387166124Srafan	ind=\E[S, indn=\E[%p1%dS, invis=\E[9m,
1388166124Srafan	is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0,
1389166124Srafan	kBEG=\ENn, kCAN=\E[s, kCMD=\E[t, kCPY=\ENs, kCRT=\ENt,
1390166124Srafan	kDL=\ENv, kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h,
1391166124Srafan	kLFT=\E[d, kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c,
1392166124Srafan	kbs=^H, kcan=\E[S, kcbt=\E[Z, kclo=\ENc, kclr=\ENa,
1393166124Srafan	kcmd=\E[G, kcpy=\E[g, kctab=\E[z, kcub1=\E[D, kcud1=\E[B,
1394166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[p, kend=\E[Y,
1395166124Srafan	kext=\E[y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA,
1396166124Srafan	kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt,
1397166124Srafan	kf18=\EOu, kf19=\EOv, kf2=\EOQ, kf20=\EOw, kf21=\EOx,
1398166124Srafan	kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~,
1399166124Srafan	kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf3=\EOR, kf30=\E[6~,
1400166124Srafan	kf31=\E[7~, kf32=\E[8~, kf33=\E[9~, kf34=\E[10~,
1401166124Srafan	kf35=\E[11~, kf36=\E[12~, kf37=\E[17~, kf38=\E[18~,
1402166124Srafan	kf39=\E[19~, kf4=\EOS, kf40=\E[20~, kf41=\E[21~,
1403166124Srafan	kf42=\E[22~, kf43=\E[23~, kf44=\E[24~, kf45=\E[25~,
1404166124Srafan	kf46=\E[26~, kf47=\E[27~, kf48=\E[28~, kf5=\EOT, kf6=\EOU,
1405166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, kfnd=\ENf, khlp=\ENh,
1406166124Srafan	khome=\E[H, khts=\ENb, kich1=\E[@, kil1=\E[`, kind=\E[a,
1407166124Srafan	kmov=\ENi, kmrk=\ENm, kmsg=\ENe, knp=\E[U, kopn=\ENo,
1408166124Srafan	kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg,
1409166124Srafan	kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T,
1410166124Srafan	ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m,
1411166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T,
1412166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmso=\E[27m,
1413166124Srafan	rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
1414166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1415166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1416166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
1417166124Srafan	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%;,
1418166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m,
1419166124Srafan	smul=\E[4m, tbc=\E[2g,
1420166124Srafan	tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,
142166963Speter#
1422166124Srafanqansi|QNX ansi with console writes,
1423166124Srafan	daisy, xhpa, use=qansi-g,
142466963Speter#
1425166124Srafanqansi-t|QNX ansi without console writes,
1426166124Srafan	crxm, use=qansi,
142766963Speter#
1428166124Srafanqansi-m|QNX ansi with mouse,
1429166124Srafan	maddr#1,
1430166124Srafan	chr=\E[, cvr=\E], is1=\E[0t, mcub=\E[>1h, mcub1=\E[>7h,
1431166124Srafan	mcud=\E[>1h, mcud1=\E[>1l\E[>9h, mcuf=\E[>1h\E[>9l,
1432166124Srafan	mcuf1=\E[>7l, mcuu=\E[>6h, mcuu1=\E[>6l, rmicm=\E[>2l,
1433166124Srafan	smicm=\E[>2h, use=qansi,
143466963Speter#
1435166124Srafanqansi-w|QNX ansi for windows,
1436166124Srafan	xvpa, use=qansi-m,
143766963Speter
143850276Speter#### NetBSD consoles
143950276Speter#
144050276Speter# pcvt termcap database entries (corresponding to release 3.31)
144150276Speter# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
144250276Speter#
144350276Speter# (For the terminfo master file, I translated these into terminfo syntax.
144450276Speter# Then I dropped all the pseudo-HP entries. we don't want and can't use
144550276Speter# the :Xs: flag. Then I split :is: into a size-independent <is1> and a
144650276Speter# size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
144750276Speter
144850276Speter# NOTE: <ich1> has been taken out of this entry. for reference, it should
144950276Speter# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
145050276Speter# (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
1451166124SrafanpcvtXX|pcvt vt200 emulator (DEC VT220),
1452166124Srafan	am, km, mir, msgr, xenl,
1453166124Srafan	it#8, vt#3,
1454166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~,
1455166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
1456166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
1457166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1458166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1459166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1460166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
1461166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
1462166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS,
1463166124Srafan	is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177,
1464166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
1465166124Srafan	kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
1466166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
1467166124Srafan	khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~,
1468166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100,
1469166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l,
1470166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
1471166124Srafan	rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
1472166124Srafan	sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
1473166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
147450276Speter
147550276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
147650276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
147750276Speter#	50 lines entries; 80 columns
1478166124Srafanpcvt25|dec vt220 emulation with 25 lines,
1479166124Srafan	cols#80, lines#25,
1480166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
1481166124Srafanpcvt28|dec vt220 emulation with 28 lines,
1482166124Srafan	cols#80, lines#28,
1483166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
1484166124Srafanpcvt35|dec vt220 emulation with 35 lines,
1485166124Srafan	cols#80, lines#35,
1486166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
1487166124Srafanpcvt40|dec vt220 emulation with 40 lines,
1488166124Srafan	cols#80, lines#40,
1489166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
1490166124Srafanpcvt43|dec vt220 emulation with 43 lines,
1491166124Srafan	cols#80, lines#43,
1492166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
1493166124Srafanpcvt50|dec vt220 emulation with 50 lines,
1494166124Srafan	cols#80, lines#50,
1495166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
149650276Speter
149750276Speter#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
149850276Speter#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
149950276Speter#	50 lines entries; 132 columns
1500166124Srafanpcvt25w|dec vt220 emulation with 25 lines and 132 cols,
1501166124Srafan	cols#132, lines#25,
1502166124Srafan	is2=\E[1;25r\E[25;1H, use=pcvtXX,
1503166124Srafanpcvt28w|dec vt220 emulation with 28 lines and 132 cols,
1504166124Srafan	cols#132, lines#28,
1505166124Srafan	is2=\E[1;28r\E[28;1H, use=pcvtXX,
1506166124Srafanpcvt35w|dec vt220 emulation with 35 lines and 132 cols,
1507166124Srafan	cols#132, lines#35,
1508166124Srafan	is2=\E[1;35r\E[35;1H, use=pcvtXX,
1509166124Srafanpcvt40w|dec vt220 emulation with 40 lines and 132 cols,
1510166124Srafan	cols#132, lines#40,
1511166124Srafan	is2=\E[1;40r\E[40;1H, use=pcvtXX,
1512166124Srafanpcvt43w|dec vt220 emulation with 43 lines and 132 cols,
1513166124Srafan	cols#132, lines#43,
1514166124Srafan	is2=\E[1;43r\E[43;1H, use=pcvtXX,
1515166124Srafanpcvt50w|dec vt220 emulation with 50 lines and 132 cols,
1516166124Srafan	cols#132, lines#50,
1517166124Srafan	is2=\E[1;50r\E[50;1H, use=pcvtXX,
151850276Speter
151998503Speter#	OpenBSD implements a color variation
1520166124Srafanpcvt25-color|dec vt220 emulation with 25 lines and color,
1521166124Srafan	cols#80, lines#25,
1522166124Srafan	is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, kf11=\E[23~,
1523166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
1524166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
1525166124Srafan	kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
1526166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX,
1527166124Srafan	use=ecma+color,
152898503Speter
152950276Speter# Terminfo entries to enable the use of the ncurses library in colour on a
153050276Speter# NetBSD-arm32 console (only tested on a RiscPC).
153150276Speter# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
153250276Speter# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
153350276Speter# typo in invis - TD
1534166124Srafanarm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480),
1535166124Srafan	am, bce, msgr, xenl, xon,
1536166124Srafan	cols#80, it#8, lines#30,
1537166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
1538166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
1539166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
1540166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
1541166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
1542166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
1543166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
1544166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J,
1545166124Srafan	invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H,
1546166124Srafan	kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1547166124Srafan	kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x,
1548166124Srafan	kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v,
1549166124Srafan	kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>,
1550166124Srafan	rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
1551166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
1552166124Srafan	sc=\E7,
1553166124Srafan	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>,
1554166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
1555166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr,
1556166124Srafan	use=klone+color,
155750276Speter
1558166124Srafanarm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768),
1559166124Srafan	cols#132, lines#50, use=arm100,
156050276Speter
156150276Speter# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
156250276Speter# manufactured by Sharp for the Japenese market.
156350276Speter# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1564166124Srafanx68k|x68k-ite|NetBSD/x68k ITE,
1565166124Srafan	cols#96, lines#32,
1566166124Srafan	kclr=\E[9~, khlp=\E[28~, use=vt220,
156750276Speter
156856639Speter# <tv@pobox.com>:
156956639Speter# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
157056639Speter#
157156639Speter# (still unfinished, but good enough so far.)
1572166124Srafanofcons|DNARD OpenFirmware console,
1573166124Srafan	bw,
1574166124Srafan	cols#80, lines#30,
1575166124Srafan	bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M,
1576166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
1577166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
1578166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
1579166124Srafan	dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K,
1580166124Srafan	flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL,
1581166124Srafan	il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D,
1582166124Srafan	kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P,
1583166124Srafan	kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W,
1584166124Srafan	kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r,
1585166124Srafan	kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m,
1586166124Srafan	rmso=\2330m, rmul=\2330m,
1587166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
1588166124Srafan	sgr0=\2330m,
158956639Speter
1590166124Srafan# NetBSD "wscons" emulator in vt220 mode.
1591166124Srafan# This entry is based on the NetBSD termcap entry, correcting the ncv value.
1592166124Srafan# The emulator renders underlined text in red.  Colors are otherwise usable.
1593166124Srafan#
1594166124Srafan# Testing the emulator and reading the source code (NetBSD 2.0), it appears
1595166124Srafan# that "vt220" is inaccurate.  There are a few vt220-features, but most of the
1596166124Srafan# vt220 screens in vttest do not work with this emulator.  For instance, it
1597166124Srafan# identifies itself (primary DA response) as a vt220 with selective erase.  But
1598166124Srafan# the selective erase feature does not work.  The secondary response is copied
1599166124Srafan# from Kermit's emulation of vt220, does not correspond to actual vt220.  At
1600166124Srafan# the level of detail in a termcap, it is a passable emulator, since ECH does
1601166124Srafan# work.  Don't use it on a VMS system -TD
1602166124Srafanwsvt25|NetBSD wscons in 25 line DEC VT220 mode,
1603166124Srafan	bce, msgr,
1604166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#2, pairs#64,
1605166124Srafan	is2=\E[r\E[25;1H, kend=\E[8~, kf1=\E[11~, kf10=\E[21~,
1606166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~,
1607166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
1608166124Srafan	kf9=\E[20~, khome=\E[7~, op=\E[m, setab=\E[4%p1%dm,
1609166124Srafan	setaf=\E[3%p1%dm, use=vt220,
161056639Speter
1611166124Srafanwsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta,
1612166124Srafan	km, use=wsvt25,
161356639Speter
1614166124Srafan# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
161556639Speter# DECstation/pmax.
1616166124Srafanrcons|BSD rasterconsole,
1617166124Srafan	use=sun-il,
1618166124Srafan# Color version of above. Color currently only provided by NetBSD.
1619166124Srafanrcons-color|BSD rasterconsole with ANSI color,
1620166124Srafan	bce,
1621166124Srafan	colors#8, pairs#64,
1622166124Srafan	op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=rcons,
162356639Speter
162462449Speter# mgterm -- MGL/MGL2, MobileGear Graphic Library
162562449Speter# for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
162662449Speter# -- the setf/setb are probably incorrect, more likely setaf/setab -TD
162762449Speter# -- compare with cons25w
1628166124Srafanmgterm,
1629166124Srafan	OTbs, OTpt, am, bce, bw, eo, km, msgr, npc,
1630166124Srafan	colors#8, cols#80, it#8, lines#18, pairs#64,
1631166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1632166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
1633166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1634166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1635166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM,
1636166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
1637166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
1638166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
1639166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1640166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
1641166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N,
1642166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
1643166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I,
1644166124Srafan	nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
1645166124Srafan	rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm,
1646166124Srafan	setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
164762449Speter
164850276Speter#### FreeBSD console entries
164950276Speter#
165050276Speter# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
165150276Speter# Andrey Chernov maintains the FreeBSD termcap distributions.
165250276Speter#
165350276Speter# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
165450276Speter# or comment out the :cb: capability in the console entry.
165550276Speter#
165650276Speter# Alexander Lukyanov reports:
165750276Speter# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
165850276Speter# Now el1 clears not only to the line beginning, but also a large chunk
165950276Speter# of previous line. But there is another bug - ech does not work at all.
166050276Speter#
166150276Speter
166250276Speter# for syscons
166350276Speter# common entry without semigraphics
166450276Speter# Bug: The <op> capability resets attributes.
166550276Speter# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
166650276Speter# instance el1 does if the cursor is moved to the right margin first.  Removed
166750276Speter# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
166850276Speter#
166950276Speter# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
167050276Speter# Note that this disables standout with color.
167198503Speter#
167298503Speter# The emulator sends difference strings based on shift- and control-keys,
167398503Speter# like scoansi:
167498503Speter#	F13-F24 are shifted F1-F12
167598503Speter#	F25-F36 are control F1-F12
167698503Speter#	F37-F48 are shift+control F1-F12
1677166124Srafancons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode),
1678166124Srafan	am, bce, bw, eo, msgr, npc,
1679166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64,
1680166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
1681166124Srafan	cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
1682166124Srafan	cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
1683166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1684166124Srafan	cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
1685166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
1686166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@,
1687166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
1688166124Srafan	indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
1689166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F,
1690166124Srafan	kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y,
1691166124Srafan	kf14=\E[Z, kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d,
1692166124Srafan	kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h,
1693166124Srafan	kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m,
1694166124Srafan	kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q,
1695166124Srafan	kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, kf36=\E[v,
1696166124Srafan	kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, kf40=\E[z,
1697166124Srafan	kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], kf45=\E[\^,
1698166124Srafan	kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, kf6=\E[R,
1699166124Srafan	kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L,
1700166124Srafan	knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m,
1701166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7,
1702166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1703166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
1704166124Srafan	sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd,
1705166124Srafancons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
1706166124Srafan	acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
1707166124Srafan	use=cons25w,
1708166124Srafancons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
1709166124Srafan	colors@, pairs@,
1710166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
1711166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
1712166124Srafan	smul=\E[4m, use=cons25,
1713166124Srafancons30|ansi80x30|freebsd console (30-line ansi mode),
1714166124Srafan	lines#30, use=cons25,
1715166124Srafancons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode),
1716166124Srafan	lines#30, use=cons25-m,
1717166124Srafancons43|ansi80x43|freebsd console (43-line ansi mode),
1718166124Srafan	lines#43, use=cons25,
1719166124Srafancons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode),
1720166124Srafan	lines#43, use=cons25-m,
1721166124Srafancons50|ansil|ansi80x50|freebsd console (50-line ansi mode),
1722166124Srafan	lines#50, use=cons25,
1723166124Srafancons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode),
1724166124Srafan	lines#50, use=cons25-m,
1725166124Srafancons60|ansi80x60|freebsd console (60-line ansi mode),
1726166124Srafan	lines#60, use=cons25,
1727166124Srafancons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode),
1728166124Srafan	lines#60, use=cons25-m,
1729166124Srafancons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic,
1730166124Srafan	acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225,
1731166124Srafan	use=cons25w,
1732166124Srafancons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono),
1733166124Srafan	colors@, pairs@,
1734166124Srafan	op@, rmul=\E[m, setab@, setaf@,
1735166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;30;1%;%?%p6%t;1%;m,
1736166124Srafan	smul=\E[4m, use=cons25r,
1737166124Srafancons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines),
1738166124Srafan	lines#50, use=cons25r,
1739166124Srafancons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono),
1740166124Srafan	lines#50, use=cons25r-m,
1741166124Srafancons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines),
1742166124Srafan	lines#60, use=cons25r,
1743166124Srafancons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono),
1744166124Srafan	lines#60, use=cons25r-m,
174550276Speter# ISO 8859-1 FreeBSD console
1746166124Srafancons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars,
1747166124Srafan	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,
1748166124Srafan	use=cons25w,
1749166124Srafancons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono),
1750166124Srafan	colors@, pairs@,
1751166124Srafan	bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
1752166124Srafan	sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m,
1753166124Srafan	smul=\E[4m, use=cons25l1,
1754166124Srafancons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines),
1755166124Srafan	lines#50, use=cons25l1,
1756166124Srafancons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono),
1757166124Srafan	lines#50, use=cons25l1-m,
1758166124Srafancons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines),
1759166124Srafan	lines#60, use=cons25l1,
1760166124Srafancons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono),
1761166124Srafan	lines#60, use=cons25l1-m,
176250276Speter
176350276Speter#### 386BSD and BSD/OS Consoles
176450276Speter#
176550276Speter
1766166124Srafan# This was the original 386BSD console entry (I think).
176750276Speter# Some places it's named oldpc3|oldibmpc3.
176850276Speter# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1769166124Srafanorigpc3|origibmpc3|IBM PC 386BSD Console,
1770166124Srafan	OTbs, am, bw, eo, xon,
1771166124Srafan	cols#80, lines#25,
1772166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
1773166124Srafan	bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C,
1774166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K,
1775166124Srafan	home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
1776166124Srafan	kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x,
1777166124Srafan	rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x,
1778166124Srafan	smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x,
177950276Speter
178050276Speter# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1781166124Srafanoldpc3|oldibmpc3|old IBM PC BSD/386 Console,
1782166124Srafan	OTbs, km,
1783166124Srafan	lines#25,
1784166124Srafan	bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M,
1785166124Srafan	ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
1786166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F,
1787166124Srafan	knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R,
178850276Speter
178950276Speter# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
179050276Speter# Note, the emulator supports many of the additional console features
179150276Speter# listed in the iBCS2 (e.g. character-set selection) though not all
179250276Speter# are described here.  This entry really ought to be upgraded.
179350276Speter# Also note, the console will also work with fewer lines after doing
179450276Speter# "stty rows NN", e.g. to use 24 lines.
1795166124Srafan# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
179650276Speter# Bug: The <op> capability resets attributes.
1797166124Srafanbsdos-pc|IBM PC BSD/OS Console,
1798166124Srafan	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,
1799166124Srafan	use=bsdos-pc-nobold,
180062449Speter
1801166124Srafanbsdos-pc-nobold|BSD/OS PC console w/o bold,
1802166124Srafan	use=klone+color, use=bsdos-pc-m,
180362449Speter
1804166124Srafanbsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono,
1805166124Srafan	OTbs, am, eo, km, xon,
1806166124Srafan	cols#80, it#8, lines#25,
1807166124Srafan	bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H,
1808166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
1809166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
1810166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
1811166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D,
1812166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L,
1813166124Srafan	kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7,
1814166124Srafan	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%;,
1815166124Srafan	use=klone+sgr8,
181650276Speter
1817166124Srafan# Old names for BSD/OS PC console used in releases before 4.1.
1818166124Srafanpc3|BSD/OS on the PC Console,
1819166124Srafan	use=bsdos-pc-nobold,
1820166124Srafanibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline,
1821166124Srafan	use=bsdos-pc,
182250276Speter
1823166124Srafan# BSD/OS on the SPARC
1824166124Srafanbsdos-sparc|Sun SPARC BSD/OS Console,
1825166124Srafan	use=sun,
1826166124Srafan
1827166124Srafan# BSD/OS on the PowerPC
1828166124Srafanbsdos-ppc|PowerPC BSD/OS Console,
1829166124Srafan	use=bsdos-pc,
1830166124Srafan
183162449Speter#### DEC VT52
183262449Speter# (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
1833166124Srafan#
1834166124Srafan# Actually (TD pointed this out at the time the acsc string was added):
1835166124Srafan# vt52 shouldn't define full acsc since most of the cells don't match.
1836166124Srafan# see vt100 manual page A-31.  This is the list that does match:
1837166124Srafan#	f degree
1838166124Srafan#	g plus/minus
1839166124Srafan#	h right-arrow
1840166124Srafan#	k down-arrow
1841166124Srafan#	m scan-1
1842166124Srafan#	o scan-3
1843166124Srafan#	q scan-5
1844166124Srafan#	s scan-7
1845166124Srafan# The line-drawing happens to work in several terminal emulators, but should
1846166124Srafan# not be used as a guide to the capabilities of the vt52.  Note in particular
1847166124Srafan# that vt52 does not support line-drawing characters (the scan-X values refer
1848166124Srafan# to a crude plotting feature) -TD
1849166124Srafanvt52|dec vt52,
1850166124Srafan	OTbs,
1851166124Srafan	cols#80, it#8, lines#24,
1852166124Srafan	acsc=ffgghhompoqqss.k, bel=^G, clear=\EH\EJ, cr=^M,
1853166124Srafan	cub1=\ED, cud1=\EB, cuf1=\EC,
1854166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
1855166124Srafan	el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
1856166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
185762449Speter
185850276Speter#### DEC VT100 and compatibles
185950276Speter#
186062449Speter# DEC terminals from the vt100 forward are collected here. Older DEC terminals
186162449Speter# and micro consoles can be found in the `obsolete' section.  More details on
186250276Speter# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
186350276Speter# found near the end of this file.
186450276Speter#
186550276Speter# Except where noted, these entries are DEC's official terminfos.
186650276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1867166124Srafan# Engineering for more information.  Updated terminfos and termcaps
186850276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
186950276Speter#
187050276Speter# In October 1995 DEC sold its terminals business, including the VT and Dorio
187150276Speter# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
187250276Speter# its name to Boundless Technologies; see http://www.boundless.com.
187350276Speter#
187450276Speter
187550276Speter# NOTE:  Any VT100 emulation, whether in hardware or software, almost
187650276Speter# certainly includes what DEC called the `Level 1 editing extension' codes;
187750276Speter# only the very oldest VT100s lacked these and there probably aren't any of
187850276Speter# those left alive.  To capture these, use one of the VT102 entries.
187950276Speter#
188050276Speter# Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
188150276Speter# since the cursor is left in a different position while in the
188250276Speter# weird state (concept at beginning of next line, vt100 at end
188350276Speter# of this line) so all versions of vi before 3.7 don't handle
188450276Speter# <xenl> right on vt100. The correct way to handle <xenl> is when
188550276Speter# you output the char in column 80, immediately output CR LF
188650276Speter# and then assume you are in column 1 of the next line. If <xenl>
188750276Speter# is on, am should be on too.
1888166124Srafan#
188950276Speter# I assume you have smooth scroll off or are at a slow enough baud
189050276Speter# rate that it doesn't matter (1200? or less). Also this assumes
1891166124Srafan# that you set auto-nl to "on", if you set it off use vt100-nam
189250276Speter# below.
1893166124Srafan#
189450276Speter# The padding requirements listed here are guesses. It is strongly
189550276Speter# recommended that xon/xoff be enabled, as this is assumed here.
1896166124Srafan#
1897166124Srafan# The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the
1898166124Srafan# tab settings are in non-volatile memory and don't need to be
1899166124Srafan# reset upon login. Also setting the number of columns glitches
190050276Speter# the screen annoyingly. You can type "reset" to get them set.
190150276Speter#
190262449Speter# The VT100 series terminals have cursor ("arrows") keys which can operate
190362449Speter# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
190462449Speter# is the reset state, and is assumed to be the normal state.  Application
190562449Speter# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
190662449Speter# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
190762449Speter# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
190862449Speter# was provided primarily as an aid to the porting of VT52 applications.  It is
190962449Speter# assumed that the cursor keys are normally in Cursor Mode, and expected that
191062449Speter# applications such as vi will always transmit the <smkx> string.  Therefore,
191162449Speter# the definitions for the cursor keys are made to match what the terminal
191262449Speter# transmits after the <smkx> string is transmitted.  If the <smkx> string
191362449Speter# is a null string or is not defined, then cursor keys are assumed to be in
191462449Speter# "Cursor Mode", and the cursor keys definitions should match that assumption,
191562449Speter# else the application may fail.  It is also expected that applications will
191662449Speter# always transmit the <rmkx> string to the terminal before they exit.
191762449Speter#
191862449Speter# The VT100 series terminals have an auxiliary keypad, commonly referred to as
191962449Speter# the "Numeric Keypad", because it is a cluster of numeric and function keys.
192062449Speter# The Numeric Keypad which can operate in two different modes: Numeric Mode and
192162449Speter# Application Mode.  Numeric Mode is the reset state, and is assumed to be
192262449Speter# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1923166124Srafan# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
192462449Speter# Enter key transmits the same as the Return key (Note: the Return key
192562449Speter# can be configured to send either LF (\015) or CR LF).  In Application Mode,
192662449Speter# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
192762449Speter# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
192862449Speter# is normally in Numeric Mode.  If an application requires that the keypad be
192962449Speter# in Application Mode then it is expected that the user, or the application,
193062449Speter# will set the TERM environment variable to point to a terminfo entry which has
193162449Speter# defined the <smkx> string to include the codes that switch the keypad into
193262449Speter# Application Mode, and the terminfo entry will also define function key
193362449Speter# fields to match the Application Mode control codes.  If the <smkx> string
193462449Speter# is a null string or is not defined, then the keypad is assumed to be in
193562449Speter# Numeric Mode.  If the <smkx> string switches the keypad into Application
193662449Speter# Mode, it is expected that the <rmkx> string will contain the control codes
193762449Speter# necessary to reset the keypad to "Normal" mode, and it is also expected that
193862449Speter# applications which transmit the <smkx> string will also always transmit the
193962449Speter# <rmkx> string to the terminal before they exit.
194062449Speter#
194150276Speter# Here's a diagram of the VT100 keypad keys with their bindings.
194250276Speter# The top line is the name of the key (some DEC keyboards have the keys
194350276Speter# labelled somewhat differently, like GOLD instead of PF1, but this is
194450276Speter# the most "official" name).  The second line is the escape sequence it
194550276Speter# generates in Application Keypad mode (where "$" means the ESC
194650276Speter# character).  The third line contains two items, first the mapping of
194750276Speter# the key in terminfo, and then in termcap.
194850276Speter#   _______________________________________
194950276Speter#  |   PF1   |   PF2   |   PF3   |   PF4   |
195050276Speter#  |   $OP   |   $OQ   |   $OR   |   $OS   |
195150276Speter#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
195250276Speter#  |    7         8         9         -    |
195350276Speter#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
195450276Speter#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
195550276Speter#  |    4    |    5    |    6    |    ,    |
195650276Speter#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
195750276Speter#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
195850276Speter#  |    1    |    2    |    3    |         |
195950276Speter#  |   $Oq   |   $Or   |   $Os   |  enter  |
196050276Speter#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
196150276Speter#  |         0         |   .     |         |
196250276Speter#  |        $Op        |  $On    |         |
196350276Speter#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
196450276Speter#
1965166124Srafan# Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
1966166124Srafan# terminfo guidelines.  That is a compromise used to assign the remaining
1967166124Srafan# keys on the keypad to kf5-kf0, used on older systems with legacy termcap
1968166124Srafan# support:
1969166124Srafanvt100+keypad|dec vt100 numeric keypad no fkeys,
1970166124Srafan	ka1=\EOq, ka3=\EOs, kb2=\EOr, kc1=\EOp, kc3=\EOn,
1971166124Srafanvt100+pfkeys|dec vt100 numeric keypad,
1972166124Srafan	kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
1973166124Srafan	use=vt100+keypad,
1974166124Srafanvt100+fnkeys|dec vt100 numeric keypad,
1975166124Srafan	kf0=\EOy, kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
1976166124Srafan	kf9=\EOw, use=vt100+pfkeys,
1977166124Srafan#
1978166124Srafan# A better adaptation to modern keyboards such as the PC's, which have a dozen
1979166124Srafan# function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
1980166124Srafan# use the 5-key arrangement to model the arrow keys as suggested in the
1981166124Srafan# terminfo guidelines:
1982166124Srafan#   _______________________________________
1983166124Srafan#  |   PF1   |   PF2   |   PF3   |   PF4   |
1984166124Srafan#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1985166124Srafan#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1986166124Srafan#  |    7         8         9         -    |
1987166124Srafan#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1988166124Srafan#  |_ka1__K1_|_________|_ka3__K3_|_________|
1989166124Srafan#  |    4    |    5    |    6    |    ,    |
1990166124Srafan#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1991166124Srafan#  |_________|_kb2__K2_|_________|_________|
1992166124Srafan#  |    1    |    2    |    3    |         |
1993166124Srafan#  |   $Oq   |   $Or   |   $Os   |  enter  |
1994166124Srafan#  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
1995166124Srafan#  |         0         |   .     |         |
1996166124Srafan#  |        $Op        |  $On    |         |
1997166124Srafan#  |___________________|_________|_kent_@8_|
1998166124Srafan#
1999166124Srafanvt220+keypad|dec vt220 numeric keypad,
2000166124Srafan	ka1=\EOw, ka3=\EOy, kb2=\EOu, kc1=\EOq, kc3=\EOs, kent=\EOM,
2001166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ka2=\EOx, kb1=\EOt,
2002166124Srafan	kb3=\EOv, kc2=\EOr,
2003166124Srafan#
2004166124Srafanvt100+enq|ncurses extension for vt100-style ENQ,
2005166124Srafan	u8=\E[?1;2c, use=ansi+enq,
2006166124Srafanvt102+enq|ncurses extension for vt102-style ENQ,
2007166124Srafan	u8=\E[?6c, use=ansi+enq,
2008166124Srafan#
200950276Speter# And here, for those of you with orphaned VT100s lacking documentation, is
201050276Speter# a description of the soft switches invoked when you do `Set Up'.
2011166124Srafan#
201250276Speter#  Scroll 0-Jump               Shifted 3   0-#
201350276Speter#  |      1-Smooth             |           1-British pound sign
201450276Speter#  | Autorepeat 0-Off          | Wrap Around 0-Off
201550276Speter#  | |          1-On           | |           1-On
201650276Speter#  | | Screen 0-Dark Bkg       | | New Line 0-Off
201750276Speter#  | | |      1-Light Bkg      | | |        1-On
201850276Speter#  | | | Cursor 0-Underline    | | | Interlace 0-Off
201950276Speter#  | | | |      1-Block        | | | |         1-On
202050276Speter#  | | | |                     | | | |
202150276Speter#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
202250276Speter#                | | | |                     | | | |
202350276Speter#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
202450276Speter#                | | |               1-On    | | |       1-50 Hz
202550276Speter#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
202650276Speter#                | |           1-ANSI        | |                1-8 Bits
202750276Speter#                | Keyclick 0-Off            | Parity 0-Off
202850276Speter#                |          1-On             |        1-On
202950276Speter#                Margin Bell 0-Off           Parity Sense 0-Odd
203050276Speter#                            1-On                         1-Even
203150276Speter#
203250276Speter# The following SET-UP modes are assumed for normal operation:
203350276Speter#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
203450276Speter#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
203550276Speter# Other SET-UP modes may be set for operator convenience or communication
203650276Speter# requirements; I recommend
203750276Speter#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
203850276Speter# Unless you have a graphics add-on such as Digital Engineering's VT640
203950276Speter# (and even then, whenever it can be arranged!) you should set
204050276Speter#	INTERLACE_OFF
204150276Speter#
204250276Speter# (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
2043166124Srafanvt100|vt100-am|dec vt100 (w/advanced video),
2044166124Srafan	OTbs, am, mc5i, msgr, xenl, xon,
2045166124Srafan	cols#80, it#8, lines#24, vt#3,
2046166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2047166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2048166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2049166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2050166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
2051166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
2052166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
2053166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
2054166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, lf1=pf1,
2055166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
2056166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
2057166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
2058166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2059166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
2060166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
2061166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
2062166124Srafan	use=vt100+fnkeys,
2063166124Srafanvt100nam|vt100-nam|vt100 no automargins,
2064166124Srafan	am@, xenl@, use=vt100-am,
2065166124Srafanvt100-vb|dec vt100 (w/advanced video) & no beep,
2066166124Srafan	bel@, flash=\E[?5h\E[?5l, use=vt100,
206750276Speter
206850276Speter# Ordinary vt100 in 132 column ("wide") mode.
2069166124Srafanvt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video),
2070166124Srafan	cols#132, lines#24,
2071166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am,
2072166124Srafanvt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin),
2073166124Srafan	cols#132, lines#14, vt@,
2074166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam,
207550276Speter
207650276Speter# vt100 with no advanced video.
2077166124Srafanvt100-nav|vt100 without advanced video option,
2078166124Srafan	xmc#1,
2079166124Srafan	blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m,
2080166124Srafan	smul@, use=vt100,
2081166124Srafanvt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option),
2082166124Srafan	cols#132, lines#14, use=vt100-nav,
208350276Speter
208450276Speter# vt100 with one of the 24 lines used as a status line.
208550276Speter# We put the status line on the top.
2086166124Srafanvt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline,
2087166124Srafan	eslok, hs,
2088166124Srafan	lines#23,
2089166124Srafan	clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr,
2090166124Srafan	cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8,
2091166124Srafan	fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8,
2092166124Srafan	tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am,
209350276Speter
2094166124Srafan# Status line at bottom.
209550276Speter# Clearing the screen will clobber status line.
2096166124Srafanvt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline,
2097166124Srafan	eslok, hs,
2098166124Srafan	lines#23,
2099166124Srafan	dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H,
2100166124Srafan	tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am,
210150276Speter
210250276Speter# Most of the `vt100' emulators out there actually emulate a vt102
210350276Speter# This entry (or vt102-nsgr) is probably the right thing to use for
2104166124Srafan# these.
2105166124Srafanvt102|dec vt102,
2106166124Srafan	dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h,
2107166124Srafan	use=vt100,
2108166124Srafanvt102-w|dec vt102 in wide mode,
2109166124Srafan	cols#132,
2110166124Srafan	rs3=\E[?3h, use=vt102,
211150276Speter
211250276Speter# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
211350276Speter# fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
211450276Speter# string in the canonical vt100 entry above leaves the screen littered
211550276Speter# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
211650276Speter# after highlight turnoffs.  This entry should fix that, and even leave
2117166124Srafan# ACS support working, at the cost of making multiple-highlight changes
211850276Speter# slightly more expensive.
211950276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
2120166124Srafanvt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes),
2121166124Srafan	sgr@, sgr0=\E[m, use=vt102,
212250276Speter
212350276Speter# VT125 Graphics CRT.  Clear screen also erases graphics
2124166124Srafan# Some vt125's came configured with vt102 support.
2125166124Srafanvt125|vt125 graphics terminal,
2126166124Srafan	mir,
2127166124Srafan	clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100,
212850276Speter
212950276Speter# This isn't a DEC entry, it came from University of Wisconsin.
213050276Speter# (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
2131166124Srafanvt131|dec vt131,
2132166124Srafan	OTbs, am, xenl,
2133166124Srafan	cols#80, it#8, lines#24, vt#3,
2134166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
2135166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2136166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
2137166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
2138166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
2139166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
2140166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
2141166124Srafan	kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>,
2142166124Srafan	rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>,
2143166124Srafan	rmul=\E[m$<2/>,
2144166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2145166124Srafan	sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=,
2146166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
214750276Speter
214850276Speter# vt132 - like vt100 but slower and has ins/del line and such.
214950276Speter# I'm told that <smir>/<rmir> are backwards in the terminal from the
2150166124Srafan# manual and from the ANSI standard, this describes the actual
2151166124Srafan# terminal. I've never actually used a vt132 myself, so this
215250276Speter# is untested.
215350276Speter#
2154166124Srafanvt132|DEC vt132,
2155166124Srafan	xenl,
2156166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
2157166124Srafan	ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100,
215850276Speter
215950276Speter# This vt220 description maps F5--F9 to the second block of function keys
216050276Speter# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
216150276Speter# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
216250276Speter# PF1--PF4 are used as F1--F4.
216350276Speter#
2164166124Srafanvt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
2165166124Srafan	OTbs, OTpt, am, mir, xenl, xon,
2166166124Srafan	cols#80, lines#24, vt#3,
2167166124Srafan	OTnl=^J,
2168166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2169166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
2170166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
2171166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
2172166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2173166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2174166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
2175166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
2176166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP,
2177166124Srafan	kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~,
2178166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~,
2179166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8,
2180166124Srafan	rev=\E[7m$<2>, rf=/usr/share/tabset/vt100,
2181166124Srafan	ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2182166124Srafan	rmso=\E[27m, rmul=\E[24m,
2183166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
2184166124Srafan	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>,
2185166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2186166124Srafan	smso=\E[7m, smul=\E[4m,
218750276Speter
218862449Speter# A much better description of the VT200/220; used to be vt220-8
218962449Speter# changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
219062449Speter# designation to accommodate bug in pcvt -TD
2191166124Srafanvt220|vt200|dec vt220,
2192166124Srafan	OTbs, am, mc5i, mir, msgr, xenl, xon,
2193166124Srafan	cols#80, it#8, lines#24, vt#3,
2194166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2195166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
2196166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2197166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2198166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2199166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2200166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
2201166124Srafan	flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH,
2202166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
2203166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
2204166124Srafan	is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D,
2205166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~,
2206166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2207166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
2208166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
2209166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
2210166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
2211166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, mc4=\E[4i,
2212166124Srafan	mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
2213166124Srafan	rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m,
2214166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7,
2215166124Srafan	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>,
2216166124Srafan	sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2217166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2218166124Srafanvt220-w|vt200-w|DEC vt220 in wide mode,
2219166124Srafan	cols#132,
2220166124Srafan	rs3=\E[?3h, use=vt220,
2221166124Srafanvt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode,
2222166124Srafan	OTbs, am, mc5i, mir, msgr, xenl, xon,
2223166124Srafan	cols#80, it#8, lines#24, vt#3,
2224166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2225166124Srafan	bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M,
2226166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H,
2227166124Srafan	cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C,
2228166124Srafan	cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A,
2229166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
2230166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0,
2231166124Srafan	flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH,
2232166124Srafan	ich=\233%p1%d@, if=/usr/share/tabset/vt100,
2233166124Srafan	il=\233%p1%dL, il1=\233L, ind=\ED,
2234166124Srafan	is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H,
2235166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
2236166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
2237166124Srafan	kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~,
2238166124Srafan	kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS,
2239166124Srafan	kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~,
2240166124Srafan	kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~,
2241166124Srafan	knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1,
2242166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i,
2243166124Srafan	nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=\E(B,
2244166124Srafan	rmam=\233?7l, rmir=\2334l, rmso=\23327m, rmul=\23324m,
2245166124Srafan	rs1=\233?3l, sc=\E7,
2246166124Srafan	sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>,
2247166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h, smir=\2334h,
2248166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g,
224950276Speter
225062449Speter# vt220d:
225162449Speter# This vt220 description regards F6--F10 as the second block of function keys
225262449Speter# at the top of the keyboard.  This mapping follows the description given
225362449Speter# in the VT220 Programmer Reference Manual and agrees with the labeling
225462449Speter# on some terminals that emulate the vt220.  There is no support for an F5.
2255166124Srafan# See vt220 for an alternate mapping.
225662449Speter#
2257166124Srafanvt220d|DEC VT220 in vt100 mode with DEC function key labeling,
2258166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
2259166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
2260166124Srafan	kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~,
2261166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old,
226262449Speter
2263166124Srafanvt220-nam|v200-nam|VT220 in vt100 mode with no auto margins,
2264166124Srafan	am@,
2265166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
226662449Speter
226750276Speter# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
226850276Speter# (not an official DEC entry!)
226950276Speter# The problem with real vt220 terminals is they don't send escapes when in
227050276Speter# in vt220 mode.  This can be gotten around two ways.  1> don't send
227150276Speter# escapes or 2> put the vt220 into vt100 mode and use all the nifty
227250276Speter# features of vt100 advanced video which it then has.
227350276Speter#
227450276Speter# This entry takes the view of putting a vt220 into vt100 mode so
227550276Speter# you can use the escape key in emacs and everything else which needs it.
227650276Speter#
227750276Speter# You probably don't want to use this on a VMS machine since VMS will think
227850276Speter# it has a vt220 and will get fouled up coming out of emacs
227950276Speter#
228050276Speter# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
228162449Speter# (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
2282166124Srafanvt200-js|vt220-js|dec vt200 series with jump scroll,
2283166124Srafan	am,
2284166124Srafan	cols#80,
2285166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2286166124Srafan	cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
2287166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
2288166124Srafan	il1=\E[L, ind=\ED,
2289166124Srafan	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,
2290166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2291166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8,
2292166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l,
2293166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m,
2294166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=,
2295166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m,
2296166124Srafan
2297166124Srafan# This was DEC's vt320.  Use the purpose-built one below instead
229850276Speter#vt320|DEC VT320 in vt100 emulation mode,
229950276Speter#	use=vt220,
230050276Speter
230150276Speter# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
230250276Speter#
2303166124Srafanvt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode,
2304166124Srafan	am@,
2305166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220,
230650276Speter
2307166124Srafan# These entries are not DEC's official ones, they were purpose-built for the
230850276Speter# VT320.  Here are the designer's notes:
2309166124Srafan# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
231050276Speter# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
231150276Speter# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
231250276Speter# Things that use <knxt> usually use tab anyways... and things that don't use
231350276Speter# tab usually use <knxt> instead...
231450276Speter# kprv is same as tab - Backtab is useless...
231550276Speter# I left out <sgr> because of its RIDICULOUS complexity,
231650276Speter# and the resulting fact that it causes the termcap translation of the entry
231750276Speter# to SMASH the 1k-barrier...
231862449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2319166124Srafan# (vt320: uncommented <fsl> --esr)
2320166124Srafanvt320|vt300|dec vt320 7 bit terminal,
2321166124Srafan	am, eslok, hs, mir, msgr, xenl,
2322166124Srafan	cols#80, lines#24, wsl#80,
2323166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2324166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2325166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2326166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2327166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2328166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2329166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2330166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
2331166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
2332166124Srafan	il1=\E[L, ind=\ED,
2333166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2334166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2335166124Srafan	kdch1=\E[3~, kel=\E[4~, kf10=\E[21~, kf11=\E[23~,
2336166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2337166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2338166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2339166124Srafan	kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I,
2340166124Srafan	kpp=\E[5~, kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i,
2341166124Srafan	mc5=\E[?5i, nel=\EE, rc=\E8, rev=\E[7m,
2342166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2343166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
2344166124Srafan	rmul=\E[m,
2345166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2346166124Srafan	sc=\E7,
2347166124Srafan	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>,
2348166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2349166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2350166124Srafan	tsl=\E[1$}\E[H\E[K, use=vt220+keypad,
2351166124Srafanvt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy,
2352166124Srafan	am@,
2353166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2354166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2355166124Srafan	use=vt320,
235650276Speter# We have to init 132-col mode, not 80-col mode.
2357166124Srafanvt320-w|vt300-w|dec vt320 wide 7 bit terminal,
2358166124Srafan	cols#132, wsl#132,
2359166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2360166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2361166124Srafan	use=vt320,
2362166124Srafanvt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am,
2363166124Srafan	am@,
2364166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2365166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H,
2366166124Srafan	use=vt320-w,
236750276Speter
236850276Speter# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
236950276Speter#   which are pretty much a superset of the VT320.  They have the
237050276Speter#   host writable status line, yet another different DRCS matrix size,
237150276Speter#   and such, but they add the DEC Technical character set, Multiple text
237250276Speter#   pages, selectable length pages, and the like.  The difference between
237350276Speter#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
237450276Speter#   monitor, the former has 4 planes and a color monitor.  These terminals
237550276Speter#   support VT131 and ANSI block mode, but as with much of these things,
237650276Speter#   termcap/terminfo doesn't deal with these features.
237750276Speter#
237850276Speter# Note that this entry is are set up in what was the standard way for GNU
237950276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
238050276Speter# keys were switched into application mode at the same time the numeric pad
238150276Speter# is switched into application mode.  This changes the definitions of the
2382166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
238350276Speter# your termcap or terminfo entry,
238450276Speter#
238550276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
238650276Speter# (vt340: string capability "sb=\E[M" corrected to "sr";
238750276Speter# also, added <rmam>/<smam> based on the init string -- esr)
2388166124Srafanvt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page,
2389166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
2390166124Srafan	cols#80, it#8, lines#24, vt#3,
2391166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2392166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
2393166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2394166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
2395166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2396166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
2397166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$},
2398166124Srafan	ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
2399166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
2400166124Srafan	il1=\E[L, ind=\ED,
2401166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2402166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2403166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
2404166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
2405166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
2406166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2407166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
2408166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7,
2409166124Srafan	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>,
2410166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2411166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2412166124Srafan	tsl=\E[2$~\E[1$}\E[1;%dH,
241350276Speter
241450276Speter# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
241550276Speter# (originally written with vt420 as its primary name, and usable for it).
2416166124Srafan#
2417166124Srafan# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
241850276Speter#    text pages and long text pages with selectable length of the vt340, along
241950276Speter#    with left and right margins, rectangular area text copy, fill, and erase
242050276Speter#    operations, selected region character attribute change operations,
242150276Speter#    page memory and rectangle checksums, insert/delete column, reception
242250276Speter#    macros, and other features too numerous to remember right now.  TERMCAP
242350276Speter#    can only take advantage of a few of these added features.
242450276Speter#
242550276Speter# Note that this entry is are set up in what was the standard way for GNU
242650276Speter# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
242750276Speter# keys were switched into application mode at the same time the numeric pad
242850276Speter# is switched into application mode.  This changes the definitions of the
2429166124Srafan# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
243050276Speter# your termcap entry,
243150276Speter#
243250276Speter# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
243350276Speter# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
243450276Speter# also, added <rmam>/<smam> based on the init string -- esr)
2435166124Srafanvt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap,
2436166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
2437166124Srafan	cols#80, it#8, lines#24, vt#3,
2438166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2439166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
2440166124Srafan	clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M,
2441166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2442166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2443166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2444166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2445166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>,
2446166124Srafan	el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$},
2447166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2448166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED,
2449166124Srafan	is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
2450166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2451166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
2452166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
2453166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
2454166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B,
2455166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
2456166124Srafan	rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7,
2457166124Srafan	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>,
2458166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
2459166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2460166124Srafan	tsl=\E[2$~\E[1$}\E[1;%dH,
246150276Speter
246250276Speter# (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
246350276Speter# a missing <sc> -- esr)
2464166124Srafanvt420|DEC VT420,
2465166124Srafan	am, mir, xenl, xon,
2466166124Srafan	cols#80, lines#24, vt#3,
2467166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2468166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2469166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2470166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2471166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2472166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2473166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2474166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2475166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2476166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2477166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2478166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2479166124Srafan	kslt=\E[4~, rc=\E8, rev=\E[7m$<2>,
2480166124Srafan	rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>,
2481166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
2482166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2483166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2484166124Srafan	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>,
2485166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2486166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
248750276Speter
248850276Speter# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
248950276Speter# takes two parameters, the key and the string.  Translating the key is
249050276Speter# straightforward (keys 1-5 are not defined on real terminals, though some
249150276Speter# emulators define these):
249250276Speter#
249350276Speter#               if (key < 16) then  value = key;
2494166124Srafan#               else if (key < 21) then value = key + 1;
249550276Speter#               else if (key < 25) then value = key + 2;
249650276Speter#               else if (key < 27) then value = key + 3;
249750276Speter#               else if (key < 30) then value = key + 4;
249850276Speter#               else value = key + 5;
249950276Speter#
2500166124Srafan# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
250150276Speter# There's no provision in terminfo for emitting a string in this format, so the
250250276Speter# application has to know it.
250350276Speter#
2504166124Srafanvt420pc|DEC VT420 w/PC keyboard,
2505166124Srafan	kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
2506166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~,
2507166124Srafan	kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~,
2508166124Srafan	kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~,
2509166124Srafan	kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~,
2510166124Srafan	kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~,
2511166124Srafan	kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~,
2512166124Srafan	kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~,
2513166124Srafan	kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~,
2514166124Srafan	kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~,
2515166124Srafan	kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~,
2516166124Srafan	kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~,
2517166124Srafan	kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2518166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H,
2519166124Srafan	pctrm=USR_TERM\:vt420pcdos\:,
2520166124Srafan	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\\,
2521166124Srafan	use=vt420,
252250276Speter
2523166124Srafanvt420pcdos|DEC VT420 w/PC for DOS Merge,
2524166124Srafan	lines#25,
2525166124Srafan	dispc=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;,
2526166124Srafan	pctrm@,
2527166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@,
2528166124Srafan	sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc,
252950276Speter
2530166124Srafanvt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys,
2531166124Srafan	kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2532166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2533166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2534166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2535166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2536166124Srafan	khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS,
2537166124Srafan	use=vt420,
253850276Speter
2539166124Srafanvt510|DEC VT510,
2540166124Srafan	use=vt420,
2541166124Srafanvt510pc|DEC VT510 w/PC keyboard,
2542166124Srafan	use=vt420pc,
2543166124Srafanvt510pcdos|DEC VT510 w/PC for DOS Merge,
2544166124Srafan	use=vt420pcdos,
254550276Speter
254650276Speter# VT520/VT525
254750276Speter#
254850276Speter# The VT520 is a monochrome text terminal capable of managing up to
254950276Speter# four independent sessions in the terminal.  It has multiple ANSI
255050276Speter# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
255150276Speter# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
255250276Speter# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
255350276Speter#
255450276Speter# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
255550276Speter# [Alt]/[Print Screen] depending upon which keyboard and which
255650276Speter# terminal mode is being used.  If Set-Up has been disabled or
255750276Speter# assigned to an unknown key, Set-Up may be entered by pressing
255850276Speter# [F3] as the first key after power up, regardless of keyboard type.
255950276Speter# (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
2560166124Srafanvt520|DEC VT520,
2561166124Srafan	am, mir, xenl, xon,
2562166124Srafan	cols#80, lines#24, vt#3,
2563166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2564166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2565166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2566166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2567166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2568166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2569166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2570166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2571166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2572166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2573166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2574166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2575166124Srafan	kslt=\E[4~,
2576166124Srafan	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\\,
2577166124Srafan	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2578166124Srafan	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2579166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2580166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2581166124Srafan	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>,
2582166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2583166124Srafan	smso=\E[7m, smul=\E[4m,
258450276Speter
258550276Speter# (vt525: I added <rmam>/<smam> based on the init string;
258650276Speter# removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
2587166124Srafanvt525|DEC VT525,
2588166124Srafan	am, mir, xenl, xon,
2589166124Srafan	cols#80, lines#24, vt#3,
2590166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2591166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
2592166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
2593166124Srafan	cub1=^H, cud1=\E[B, cuf1=\E[C,
2594166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P,
2595166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
2596166124Srafan	if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED,
2597166124Srafan	is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H,
2598166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
2599166124Srafan	kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR,
2600166124Srafan	kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~,
2601166124Srafan	kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
2602166124Srafan	kslt=\E[4~,
2603166124Srafan	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\\,
2604166124Srafan	rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300,
2605166124Srafan	ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l,
2606166124Srafan	rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
2607166124Srafan	rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7,
2608166124Srafan	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>,
2609166124Srafan	sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h,
2610166124Srafan	smso=\E[7m, smul=\E[4m,
261150276Speter
261250276Speter#### VT100 emulations
261350276Speter#
261450276Speter
261550276Speter# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
261650276Speter# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
261750276Speter# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
261850276Speter# that this works best with a stock vt100 entry.
2619166124Srafandec-vt100|EWAN telnet's vt100 emulation,
2620166124Srafan	use=vt100,
262150276Speter
262250276Speter# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2623166124Srafandec-vt220|DOS tnvt200 terminal emulator,
2624166124Srafan	am@, use=vt220,
262550276Speter
262650276Speter# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
262750276Speter# anyone who needs PC VT340 emulation. (or anything below that level, for
262850276Speter# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
262950276Speter# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
263050276Speter# I can send the address if requested.
263150276Speter# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
263262449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2633166124Srafanz340|zstem vt340 terminal emulator 132col 42line,
2634166124Srafan	lines#42,
2635166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2636166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H,
2637166124Srafan	use=vt320-w,
2638166124Srafanz340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins),
2639166124Srafan	am@,
2640166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2641166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H,
2642166124Srafan	use=z340,
264350276Speter
264450276Speter# CRT is shareware.  It implements some xterm features, including mouse.
2645166124Srafancrt|crt-vt220|CRT 2.3 emulating VT220,
2646166124Srafan	bce, msgr,
2647166124Srafan	ncv@,
2648166124Srafan	hts=\EH, use=vt100+enq, use=vt220, use=ecma+color,
264950276Speter
2650166124Srafan# PuTTY 0.55 (released 3 August 2004)
265197049Speter# http://www.chiark.greenend.org.uk/~sgtatham/putty/
265297049Speter#
2653166124Srafan# Comparing with 0.51, vttest is much better (only a few problems with the
2654166124Srafan# cursor position reports and wrapping).
2655166124Srafan#
2656166124Srafan# PuTTY 0.51 (released 14 December 2000)
2657166124Srafan#
265897049Speter# This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
265997049Speter# well as SCO and Atari, color palettes from Linux console).  Reading the code,
2660166124Srafan# it is intended to be VT102 plus selected features.  By default, it sets $TERM
266197049Speter# to xterm, which is incorrect, since several features are misimplemented:
266297049Speter#
266397049Speter#	Alt+key always sends ESC+key, so 'km' capability is removed.
266497049Speter#
266597049Speter#	Control responses, wrapping and tabs are buggy, failing a couple of
266697049Speter#	screens in vttest.
266797049Speter#
266897049Speter#	xterm mouse support is not implemented (unrelease version may).
266997049Speter#
267097049Speter# Several features such as backspace/delete are optional; this entry documents
267197049Speter# the default behavior -TD
267297049Speter
2673166124Srafanputty|PuTTY terminal emulator,
2674166124Srafan	am, bce, bw, ccc, hs, mir, msgr, xenl, xon,
2675166124Srafan	colors#8, it#8, ncv#22, pairs#64,
2676166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2677166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2678166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
2679166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2680166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
2681166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
2682166124Srafan	dch=\E[%p1%dP, dch1=\E[P,
2683166124Srafan	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%;,
2684166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E]0;\007, ech=\E[%p1%dX,
2685166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2686166124Srafan	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, hpa=\E[%i%p1%dG,
2687166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
2688166124Srafan	indn=\E[%p1%dS,
2689166124Srafan	initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x,
2690166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R,
2691166124Srafan	kb2=\E[G, kbs=\177, kcan=^C, kcbt=\E[Z, kcub1=\E[D,
2692166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
2693166124Srafan	kend=\E[4~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2694166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2695166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2696166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2697166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2698166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
2699166124Srafan	kspd=^Z, nel=^M^J, oc=\E]R, op=\E[39;49m, rc=\E8, rev=\E[7m,
2700166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l,
2701166124Srafan	rmcup=\E[2J\E[?47l, rmir=\E[4l, rmpch=\E[10m,
2702166124Srafan	rmso=\E[27m, rmul=\E[24m,
2703166124Srafan	rs2=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l,
2704166124Srafan	s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, sc=\E7,
2705166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
2706166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2707166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?47h,
2708166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m,
2709166124Srafan	tbc=\E[3g, tsl=\E]0;, vpa=\E[%i%p1%dd, use=vt102+enq,
2710166124Srafanvt100-putty|Reset PuTTY to pure vt100,
2711166124Srafan	rs2=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p,
2712166124Srafan	use=vt100,
2713174993Srafan# palette is hardcoded...
2714166124Srafanputty-256color|PuTTY 0.58 with xterm 256-colors,
2715174993Srafan	initc@, use=xterm+256color, use=putty,
2716166124Srafan
2717166124Srafan# One of the keyboard selections is "VT100+".
2718166124Srafan# pterm (the X11 port) uses shifted F1-F10 as F11-F20
2719166124Srafanputty-vt100|VT100+ keyboard layout,
2720166124Srafan	kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EO[, kf2=\EOQ,
2721166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
2722166124Srafan	kf9=\EOX, use=putty,
2723166124Srafan
272450276Speter# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
272550276Speter# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
272650276Speter# (communication program) which supports:
272750276Speter#
272850276Speter#	- Serial port connections.
272950276Speter#	- TCP/IP (telnet) connections.
273050276Speter#	- VT100 emulation, and selected VT200/300 emulation.
273150276Speter#	- TEK4010 emulation.
273250276Speter#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
273350276Speter#	  Quick-VAN).
273450276Speter#	- Scripts using the "Tera Term Language".
273550276Speter#	- Japanese and Russian character sets.
273650276Speter#
273750276Speter# The program does not come with terminfo or termcap entries.  However, the
273850276Speter# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
273950276Speter# vt52 or doublesize character support; blinking is done with color).  Besides
274050276Speter# the HPA, VPA extensions it also implements CPL and CNL.
274150276Speter#
274250276Speter# All of the function keys can be remapped.  This description shows the default
274350276Speter# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
274450276Speter# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
274550276Speter# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
274650276Speter#	kfnd	Insert
274750276Speter#	kslt	Delete
274850276Speter#	kich1	Home
274950276Speter#	kdch1	PageUp
275050276Speter#	kpp	End
275150276Speter#	knp	PageDown
275250276Speter#
275350276Speter# ANSI colors are implemented, but cannot be combined with video attributes
275450276Speter# except for reverse.
275550276Speter#
275650276Speter# No fonts are supplied with the program, so the acsc string is chosen to
275750276Speter# correspond with the default Microsoft terminal font.
275850276Speter#
275950276Speter# Tera Term recognizes some xterm sequences, including those for setting and
276050276Speter# retrieving the window title, and for setting the window size (i.e., using
276150276Speter# "resize -s"), though it does not pass SIGWINCH to the application if the
276250276Speter# user resizes the window with the mouse.
2763184989Srafanteraterm2.3|Tera Term Pro,
2764166124Srafan	km, xon@,
2765166124Srafan	ncv#43, vt@,
2766166124Srafan	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,
2767166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
2768166124Srafan	cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2769166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2770166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
2771166124Srafan	flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
2772166124Srafan	il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
2773166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
2774166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
2775166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
2776166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2777166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
2778166124Srafan	kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM,
2779166124Srafan	rmso=\E[27m, rmul=\E[24m, sgr0=\E[0m\017, smso=\E[7m,
2780166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd, use=vt100+enq,
2781166124Srafan	use=klone+color, use=vt100,
278250276Speter
2783184989Srafan# Version 4.59 has regular vt100 line-drawing (so it is no longer necessary
2784184989Srafan# to choose a Windows OEM font).
2785184989Srafan#
2786184989Srafan# Testing with tack:
2787184989Srafan#	- it does not have xenl (suppress that)
2788184989Srafan#	- underline seems to work with color (modify ncv).
2789184989Srafan# Testing with vttest:
2790184989Srafan#	- wrapping differs from vt100 (menu 1).
2791184989Srafan#	- it recognizes xterm's X10 and normal mouse tracking, but none of the
2792184989Srafan#	  other flavors.
2793184989Srafan#	- it recognizes the dtterm window controls for reporting size in
2794184989Srafan#	  characters and pixels.
2795184989Srafan#	- it passes SIGWINCH.
2796184989Srafanteraterm4.59|Tera Term Pro,
2797184989Srafan	bce, xenl@,
2798184989Srafan	ncv#41,
2799184989Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2800184989Srafan	kmous=\E[M, use=teraterm2.3,
2801184989Srafan
2802184989Srafanteraterm|Tera Term,
2803184989Srafan	use=teraterm4.59,
2804184989Srafan
280550276Speter# Tested with WinNT 4.0, the telnet application assumes the screensize is
280650276Speter# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
280797049Speter#
280897049Speter# Other notes:
280997049Speter# a) Fails tack's cup (cursor-addressing) test, though cup works well enough
281097049Speter#    for casual (occasional) use.  Also fails several of the vttest screens,
281197049Speter#    but that is not unusual for vt100 "emulators".
281297049Speter# b) Does not implement vt100 keypad
281397049Speter# c) Recognizes a subset of vt52 controls.
2814166124Srafanms-vt100|MS telnet imitating dec vt100,
2815166124Srafan	lines#25,
2816166124Srafan	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,
2817166124Srafan	ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@,
2818166124Srafan	kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, use=vt102+enq, use=vt100,
281950276Speter
282097049Speter# Tested with Windows 2000, the telnet application runs in a console window,
282197049Speter# also using 'Terminal' font.
282297049Speter#
282397049Speter# Other notes:
282497049Speter# a) This version has no function keys or numeric keypad.  Unlike the older
282597049Speter#    version, the numeric keypad is entirely ignored.
282697049Speter# b) The program sets $TERM to "ansi", which of course is inaccurate.
2827166124Srafanms-vt100-color|vtnt|windows 2000 ansi (sic),
2828166124Srafan	bce,
2829166124Srafan	dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color,
2830166124Srafan	use=ms-vt100,
283197049Speter
2832166124Srafan# Based on comments from Federico Bianchi:
2833166124Srafan#
2834166124Srafan#	vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
2835166124Srafan#	scheme for PF keys.
2836166124Srafan#
2837166124Srafan# and PuTTY wishlist:
2838166124Srafan#
2839166124Srafan#	The modifiers are represented as the codes listed above, prefixed to
2840166124Srafan#	the normal sequences.  If the modifier is pressed alone, its sequence
2841166124Srafan#	is transmitted twice in succession.  If multiple modifiers apply,
2842166124Srafan#	they're transmitted in the order shift, control, alt.
2843166124Srafan#
2844166124Srafan#	Shift	\E^S
2845166124Srafan#	Alt	\E^A,
2846166124Srafan#	Ctrl	\E^C,
2847166124Srafanms-vt100+|vt100+|windows XP vt100+ (sic),
2848166124Srafan	kdch1=\E-, kend=\Ek, kf1=\E1, kf10=\E0, kf11=\E!, kf12=\E@,
2849166124Srafan	kf13=\E\023\E1, kf14=\E\023\E2, kf15=\E\023\E3,
2850166124Srafan	kf16=\E\023\E4, kf17=\E\023\E5, kf18=\E\023\E6,
2851166124Srafan	kf19=\E\023\E7, kf2=\E2, kf20=\E\023\E8, kf21=\E\023\E9,
2852166124Srafan	kf22=\E\023\E0, kf23=\E\023\E!, kf24=\E\023\E@,
2853166124Srafan	kf25=\E\003\E1, kf26=\E\003\E2, kf27=\E\003\E3,
2854166124Srafan	kf28=\E\003\E4, kf29=\E\003\E5, kf3=\E3, kf30=\E\003\E6,
2855166124Srafan	kf31=\E\003\E7, kf32=\E\003\E8, kf33=\E\003\E9,
2856166124Srafan	kf34=\E\003\E0, kf35=\E\003\E!, kf36=\E\003\E@,
2857166124Srafan	kf37=\E\001\E1, kf38=\E\001\E2, kf39=\E\001\E3, kf4=\E4,
2858166124Srafan	kf40=\E\001\E4, kf41=\E\001\E5, kf42=\E\001\E6,
2859166124Srafan	kf43=\E\001\E7, kf44=\E\001\E8, kf45=\E\001\E9,
2860166124Srafan	kf46=\E\001\E0, kf47=\E\001\E!, kf48=\E\001\E@, kf5=\E5,
2861166124Srafan	kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, khome=\Eh, kich1=\E+,
2862166124Srafan	knp=\E/, kpp=\E?, use=ms-vt100-color,
2863166124Srafan
2864166124Srafanms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+,
2865166124Srafan	use=ms-vt100+,
2866166124Srafan
2867166124Srafan# a minimal subset of a vt100 (compare with "news-unk).
2868166124Srafantt|tkterm|Don Libes' tk text widget terminal emulator,
2869166124Srafan	clear=\E[H\E[J, cr=^M, cuf1=\E[C, cup=\E[%p1%d;%p2%dH,
2870166124Srafan	cuu1=\E[A, ind=^J, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
2871166124Srafan	kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, rmso=\E[m,
2872166124Srafan	smso=\E[7m,
2873166124Srafan
287450276Speter#### X terminal emulators
287550276Speter#
287650276Speter# You can add the following line to your .Xdefaults to change the terminal type
287750276Speter# set by the xterms you start up to my-xterm:
287850276Speter#
287950276Speter# *termName:  my-xterm
288050276Speter#
288150276Speter# System administrators can change the default entry for xterm instances
288250276Speter# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
288350276Speter# case, xterm will detect and reject an invalid terminal type, falling back
288450276Speter# to the default of xterm.
288550276Speter#
288650276Speter
288750276Speter# X10/6.6	11/7/86, minus alternate screen, plus (csr)
288850276Speter# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
288950276Speter# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
289050276Speter# as these seem not to work -- esr)
2891166124Srafanx10term|vs100-x10|xterm terminal emulator (X10 window system),
2892166124Srafan	OTbs, am, km, mir, msgr, xenl, xon,
2893166124Srafan	cols#80, it#8, lines#65,
2894166124Srafan	bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
2895166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
2896166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
2897166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
2898166124Srafan	il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H,
2899166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
2900166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l,
2901166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
2902166124Srafan	sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=,
2903166124Srafan	smso=\E[7m, smul=\E[4m,
2904166124Srafan# Compatible with the R5 xterm
290550276Speter# (from the XFree86 3.2 distribution, <blink=@> removed)
290662449Speter# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
290750276Speter# corrected typos in rs2 string - TD
290862449Speter# added u6-u9 -TD
2909166124Srafanxterm-r5|xterm R5 version,
2910166124Srafan	OTbs, am, km, msgr, xenl,
2911166124Srafan	cols#80, it#8, lines#24,
2912166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2913166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2914166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2915166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2916166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2917166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
2918166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
2919166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~,
2920166124Srafan	kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~,
2921166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
2922166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
2923166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
2924166124Srafan	kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8,
2925166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
2926166124Srafan	rmul=\E[m,
2927166124Srafan	rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
2928166124Srafan	sc=\E7,
2929166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
2930166124Srafan	sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
2931166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq,
293250276Speter# Compatible with the R6 xterm
293350276Speter# (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
293462449Speter# added khome/kend, hts based on the R6 xterm code - TD
293562449Speter# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
293662449Speter# for compatibility with other emulators).
2937166124Srafanxterm-r6|xterm-old|xterm X11R6 version,
2938166124Srafan	OTbs, am, km, mir, msgr, xenl,
2939166124Srafan	cols#80, it#8, lines#24,
2940166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2941166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
2942166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2943166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2944166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2945166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
2946166124Srafan	el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
2947166124Srafan	il1=\E[L, ind=^J,
2948166124Srafan	is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, kbs=^H,
2949166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
2950166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
2951166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
2952166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
2953166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
2954166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
2955166124Srafan	kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
2956166124Srafan	kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM,
2957166124Srafan	rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
2958166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
2959166124Srafan	rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8, sc=\E7,
2960166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
2961166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
2962166124Srafan	use=vt100+enq,
296350276Speter# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
296450276Speter# The name has been changed and some aliases have been removed.
2965166124Srafanxterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
2966166124Srafan	OTbs, am, bce, km, mir, msgr, xenl,
2967166124Srafan	cols#80, it#8, lines#24, ncv@,
2968166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
2969166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
2970166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
2971166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
2972166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
2973166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
2974166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
2975166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
2976166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
2977166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
2978166124Srafan	il1=\E[L, ind=^J,
2979166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
2980166124Srafan	kbeg=\EOE, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
2981166124Srafan	kcuu1=\EOA, kdch1=\177, kend=\EOF, kf1=\E[11~, kf10=\E[21~,
2982166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
2983166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
2984166124Srafan	kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
2985166124Srafan	kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
2986166124Srafan	kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~,
2987166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El,
2988166124Srafan	memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
2989166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
2990166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=^O,
2991166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7,
2992166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2993166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
2994166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
2995166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
2996166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
2997166124Srafan	tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
2998166124Srafan	use=ecma+color, use=vt220+keypad,
299950276Speter
300050276Speter# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
300150276Speter# codes for F1-F4 except while in VT220 mode.
3002166124Srafanxterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System),
3003166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32,
300450276Speter
300550276Speter# This version was released in XFree86 3.3.3 (November 1998).
300650276Speter# Besides providing printer support, it exploits a new feature that allows
300750276Speter# xterm to use terminfo-based descriptions with the titeInhibit resource.
300862449Speter# -- the distribution contained incorrect khome/kend values -TD
3009166124Srafanxterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System),
3010166124Srafan	mc5i,
3011166124Srafan	blink=\E[5m, ich1@, invis=\E[8m,
3012166124Srafan	is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@,
3013166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l,
3014166124Srafan	rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
3015166124Srafan	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%;,
3016166124Srafan	smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33,
301750276Speter
301866963Speter# This version was released in XFree86 4.0.
3019166124Srafanxterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System),
3020166124Srafan	npc,
3021166124Srafan	kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~,
3022166124Srafan	kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@,
3023166124Srafan	ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF,
3024166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
3025166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
3026166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3027166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
3028166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~,
3029166124Srafan	kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~,
3030166124Srafan	kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P,
3031166124Srafan	kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~,
3032166124Srafan	kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
3033166124Srafan	kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
3034166124Srafan	kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l,
3035166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3036166124Srafan	smcup=\E[?1049h, use=xterm-xf86-v333,
303750276Speter
3038166124Srafan# This version was released in XFree86 4.3.
3039166124Srafanxterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System),
3040166124Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
3041166124Srafan	kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
3042166124Srafan	kbeg@,
3043166124Srafan	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%;,
3044166124Srafan	use=xterm-xf86-v40,
3045166124Srafan
3046166124Srafan# This version was released in XFree86 4.4.
3047166124Srafanxterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
3048166124Srafan	cnorm=\E[?12l\E[?25h, cvvis=\E[?12;25h, indn=\E[%p1%dS,
3049166124Srafan	rin=\E[%p1%dT, use=xterm-xf86-v43,
3050166124Srafan
3051166124Srafanxterm-xfree86|xterm terminal emulator (XFree86),
3052176187Srafan	use=xterm-xf86-v44,
3053166124Srafan
3054166124Srafan# This version reflects the current xterm features.
3055166124Srafanxterm-new|modern xterm terminal emulator,
3056166124Srafan	npc,
3057166124Srafan	indn=\E[%p1%dS, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
3058174993Srafan	kIC=\E[2;2~, kNXT=\E[6;2~, kPRV=\E[5;2~, kb2=\EOE,
3059174993Srafan	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3060174993Srafan	kend=\EOF, kent=\EOM, khome=\EOH, kich1=\E[2~, kmous=\E[M,
3061174993Srafan	knp=\E[6~, kpp=\E[5~, rin=\E[%p1%dT, use=xterm+pcfkeys,
3062166124Srafan	use=xterm-basic,
306366963Speter#
3064166124Srafan# This fragment describes as much of XFree86 xterm's "pc-style" function
3065166124Srafan# keys as will fit into terminfo's 60 function keys.
3066166124Srafan# From ctlseqs.ms:
3067166124Srafan#    Code     Modifiers
3068166124Srafan#  ---------------------------------
3069166124Srafan#     2       Shift
3070166124Srafan#     3       Alt
3071166124Srafan#     4       Shift + Alt
3072166124Srafan#     5       Control
3073166124Srafan#     6       Shift + Control
3074166124Srafan#     7       Alt + Control
3075166124Srafan#     8       Shift + Alt + Control
3076166124Srafan#  ---------------------------------
3077166124Srafan# The meta key may also be used as a modifier in this scheme, adding another
3078166124Srafan# bit to the parameter.
3079166124Srafanxterm+pcfkeys|fragment for PC-style fkeys,
3080176187Srafan	use=xterm+app, use=xterm+pcf2, use=xterm+pcc2,
3081176187Srafan	use=xterm+pce2,
3082166124Srafan#
3083176187Srafanxterm+noapp|fragment with cursor keys in normal mode,
3084176187Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F,
3085176187Srafan	khome=\E[H,
3086176187Srafan
3087176187Srafanxterm+app|fragment with cursor keys in application mode,
3088176187Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\EOF,
3089176187Srafan	khome=\EOH,
3090176187Srafan#
3091166124Srafan# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
3092166124Srafan# and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
3093166124Srafan# the earlier scheme, as noted in the "use=" clauses in this file.
3094166124Srafan#
3095166124Srafan# The original assignments from patch #94 for cursor-keys had some technical
3096166124Srafan# issues:
3097166124Srafan#
3098166124Srafan#	A parameter for a function-key to represent a modifier is just more
3099166124Srafan#	bits.  But for a cursor-key it may change the behavior of the
3100166124Srafan#	application.  For instance, emacs decodes the first parameter of a
3101166124Srafan#	cursor-key as a repeat count.
3102166124Srafan#
3103166124Srafan#	A parameterized string should (really) not begin with SS3 (\EO).
3104166124Srafan#	Rather, CSI (\E[) should be used.
3105166124Srafan#
3106166124Srafan# For these reasons, the original assignments were deprecated.  For
3107166124Srafan# compatibility reasons, they are still available as a setting of xterm's
3108166124Srafan# modifyCursorKeys resource.  These fragments list the modified cursor-keys
3109166124Srafan# that might apply to xterm+pcfkeys with different values of that resource.
3110166124Srafanxterm+pcc3|fragment with modifyCursorKeys:3,
3111174993Srafan	kLFT=\E[>1;2D, kRIT=\E[>1;2C, kind=\E[>1;2B,
3112176187Srafan	kri=\E[>1;2A, kDN=\E[>1;2B, kDN3=\E[>1;3B, kDN4=\E[>1;4B,
3113176187Srafan	kDN5=\E[>1;5B, kDN6=\E[>1;6B, kDN7=\E[>1;7B,
3114176187Srafan	kLFT3=\E[>1;3D, kLFT4=\E[>1;4D, kLFT5=\E[>1;5D,
3115176187Srafan	kLFT6=\E[>1;6D, kLFT7=\E[>1;7D, kRIT3=\E[>1;3C,
3116176187Srafan	kRIT4=\E[>1;4C, kRIT5=\E[>1;5C, kRIT6=\E[>1;6C,
3117176187Srafan	kRIT7=\E[>1;7C, kUP=\E[>1;2A, kUP3=\E[>1;3A,
3118176187Srafan	kUP4=\E[>1;4A, kUP5=\E[>1;5A, kUP6=\E[>1;6A,
3119176187Srafan	kUP7=\E[>1;7A,
3120166124Srafan
3121166124Srafanxterm+pcc2|fragment with modifyCursorKeys:2,
3122174993Srafan	kLFT=\E[1;2D, kRIT=\E[1;2C, kind=\E[1;2B, kri=\E[1;2A,
3123176187Srafan	kDN=\E[1;2B, kDN3=\E[1;3B, kDN4=\E[1;4B, kDN5=\E[1;5B,
3124176187Srafan	kDN6=\E[1;6B, kDN7=\E[1;7B, kLFT3=\E[1;3D, kLFT4=\E[1;4D,
3125176187Srafan	kLFT5=\E[1;5D, kLFT6=\E[1;6D, kLFT7=\E[1;7D,
3126176187Srafan	kRIT3=\E[1;3C, kRIT4=\E[1;4C, kRIT5=\E[1;5C,
3127176187Srafan	kRIT6=\E[1;6C, kRIT7=\E[1;7C, kUP=\E[1;2A, kUP3=\E[1;3A,
3128176187Srafan	kUP4=\E[1;4A, kUP5=\E[1;5A, kUP6=\E[1;6A, kUP7=\E[1;7A,
3129166124Srafan
3130166124Srafanxterm+pcc1|fragment with modifyCursorKeys:1,
3131174993Srafan	kLFT=\E[2D, kRIT=\E[2C, kind=\E[2B, kri=\E[2A, kDN=\E[2B,
3132176187Srafan	kDN3=\E[3B, kDN4=\E[4B, kDN5=\E[5B, kDN6=\E[6B, kDN7=\E[7B,
3133176187Srafan	kLFT3=\E[3D, kLFT4=\E[4D, kLFT5=\E[5D, kLFT6=\E[6D,
3134176187Srafan	kLFT7=\E[7D, kRIT3=\E[3C, kRIT4=\E[4C, kRIT5=\E[5C,
3135176187Srafan	kRIT6=\E[6C, kRIT7=\E[7C, kUP=\E[2A, kUP3=\E[3A,
3136176187Srafan	kUP4=\E[4A, kUP5=\E[5A, kUP6=\E[6A, kUP7=\E[7A,
3137166124Srafan
3138166124Srafanxterm+pcc0|fragment with modifyCursorKeys:0,
3139174993Srafan	kLFT=\EO2D, kRIT=\EO2C, kind=\EO2B, kri=\EO2A, kDN=\EO2B,
3140176187Srafan	kDN3=\EO3B, kDN4=\EO4B, kDN5=\EO5B, kDN6=\EO6B, kDN7=\EO7B,
3141176187Srafan	kLFT3=\EO3D, kLFT4=\EO4D, kLFT5=\EO5D, kLFT6=\EO6D,
3142176187Srafan	kLFT7=\EO7D, kRIT3=\EO3C, kRIT4=\EO4C, kRIT5=\EO5C,
3143176187Srafan	kRIT6=\EO6C, kRIT7=\EO7C, kUP=\EO2A, kUP3=\EO3A,
3144176187Srafan	kUP4=\EO4A, kUP5=\EO5A, kUP6=\EO6A, kUP7=\EO7A,
3145174993Srafan
3146166124Srafan#
3147166124Srafan# Here are corresponding fragments from xterm patch #216:
3148166124Srafan#
3149166124Srafanxterm+pcf0|fragment with modifyFunctionKeys:0,
3150166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3151166124Srafan	kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S,
3152166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
3153166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3154166124Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q,
3155166124Srafan	kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf3=\EOR,
3156166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
3157166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
3158166124Srafan	kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R,
3159166124Srafan	kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~,
3160166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
3161166124Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf49=\EO3P,
3162166124Srafan	kf5=\E[15~, kf50=\EO3Q, kf51=\EO3R, kf52=\EO3S,
3163166124Srafan	kf53=\E[15;3~, kf54=\E[17;3~, kf55=\E[18;3~,
3164166124Srafan	kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
3165166124Srafan	kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\EO4P,
3166166124Srafan	kf62=\EO4Q, kf63=\EO4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3167166124Srafan#
3168174993Srafanxterm+pcf2|fragment with modifyFunctionKeys:2,
3169166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3170174993Srafan	kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
3171166124Srafan	kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
3172166124Srafan	kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
3173174993Srafan	kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
3174174993Srafan	kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
3175166124Srafan	kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
3176166124Srafan	kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
3177174993Srafan	kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
3178174993Srafan	kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
3179166124Srafan	kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
3180174993Srafan	kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
3181174993Srafan	kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
3182174993Srafan	kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
3183174993Srafan	kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
3184174993Srafan	kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
3185174993Srafan	kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
3186174993Srafan	kf8=\E[19~, kf9=\E[20~,
3187166124Srafan#
3188176187Srafan# Chunks from xterm #230:
3189176187Srafanxterm+pce2|fragment with modifyCursorKeys:2,
3190176187Srafan	kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
3191176187Srafan	kNXT=\E[6;2~, kPRV=\E[5;2~, kich1=\E[2~, knp=\E[6~,
3192176187Srafan	kpp=\E[5~, kDC3=\E[3;3~, kDC4=\E[3;4~, kDC5=\E[3;5~,
3193176187Srafan	kDC6=\E[3;6~, kDC7=\E[3;7~, kEND3=\E[1;3F, kEND4=\E[1;4F,
3194176187Srafan	kEND5=\E[1;5F, kEND6=\E[1;6F, kEND7=\E[1;7F,
3195176187Srafan	kHOM3=\E[1;3H, kHOM4=\E[1;4H, kHOM5=\E[1;5H,
3196176187Srafan	kHOM6=\E[1;6H, kHOM7=\E[1;7H, kIC3=\E[2;3~, kIC4=\E[2;4~,
3197176187Srafan	kIC5=\E[2;5~, kIC6=\E[2;6~, kIC7=\E[2;7~, kNXT3=\E[6;3~,
3198176187Srafan	kNXT4=\E[6;4~, kNXT5=\E[6;5~, kNXT6=\E[6;6~,
3199176187Srafan	kNXT7=\E[6;7~, kPRV3=\E[5;3~, kPRV4=\E[5;4~,
3200176187Srafan	kPRV5=\E[5;5~, kPRV6=\E[5;6~, kPRV7=\E[5;7~,
3201176187Srafan	use=xterm+edit,
3202176187Srafan
3203176187Srafanxterm+edit|fragment for 6-key editing-keypad,
3204176187Srafan	kdch1=\E[3~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3205176187Srafan	use=xterm+pc+edit,
3206176187Srafan
3207176187Srafanxterm+pc+edit|fragment for pc-style editing keypad,
3208176187Srafan	kend=\E[4~, khome=\E[1~,
3209176187Srafan
3210176187Srafanxterm+vt+edit|fragment for vt220-style editing keypad,
3211176187Srafan	kfnd=\E[1~, kslt=\E[4~,
3212176187Srafan
3213176187Srafan#
3214174993Srafan# Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
3215174993Srafan# Alternatively, the same scheme with old-style function keys as in xterm-r6
3216174993Srafan# is shown here (because that is used in mrxvt and mlterm):
3217174993Srafanxterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys:2,
3218174993Srafan	kf1=\E[11~, kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~,
3219174993Srafan	kf16=\E[14;2~, kf2=\E[12~, kf25=\E[11;5~, kf26=\E[12;5~,
3220174993Srafan	kf27=\E[13;5~, kf28=\E[14;5~, kf3=\E[13~, kf37=\E[11;6~,
3221174993Srafan	kf38=\E[12;6~, kf39=\E[13;6~, kf4=\E[14~, kf40=\E[14;6~,
3222174993Srafan	kf49=\E[11;3~, kf50=\E[12;3~, kf51=\E[13;3~,
3223174993Srafan	kf52=\E[14;3~, kf61=\E[11;4~, kf62=\E[12;4~,
3224174993Srafan	kf63=\E[13;4~, use=xterm+pcf2,
3225174993Srafan#
322666963Speter# This chunk is used for building the VT220/Sun/PC keyboard variants.
3227166124Srafanxterm-basic|modern xterm terminal emulator - common,
3228166124Srafan	OTbs, am, bce, km, mc5i, mir, msgr, xenl, AX,
3229166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3230166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3231166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3232166124Srafan	clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
3233166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3234166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3235166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3236166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
3237166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
3238166124Srafan	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
3239166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
3240166124Srafan	ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H,
3241176187Srafan	kmous=\E[M, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
3242176187Srafan	memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
3243166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l,
3244166124Srafan	rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m,
3245166124Srafan	rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
3246166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3247166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3248166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3249166124Srafan	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,
3250166124Srafan	sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
3251166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
3252166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%i%p1%dd, use=vt100+enq,
325350276Speter
325450276Speter# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
3255166124Srafan# In retrospect, something like xterm-r6 was intended here -TD
3256166124Srafanxterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1,
3257166124Srafan	rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33,
325850276Speter
325950276Speter# This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
3260166124Srafanxterm-16color|xterm with 16 colors like aixterm,
3261166124Srafan	use=ibm+16color, use=xterm-new,
326250276Speter
3263174993Srafan# This is a compile-time feature of XFree86 xterm beginning with
3264174993Srafan# patch #111 (1999/7/10) -TD
3265166124Srafanxterm+256color|xterm 256-color feature,
3266166124Srafan	ccc,
3267166124Srafan	colors#256, pairs#32767,
3268166124Srafan	initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
3269166124Srafan	setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
3270166124Srafan	setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
3271166124Srafan	setb@, setf@,
3272166124Srafan
3273174993Srafan# This is a compile-time feature of XFree86 xterm beginning with
3274174993Srafan# patch #115 (1999/9/18) -TD
3275174993Srafan#
3276174993Srafan# Note that the escape sequences used are the same as for 256-colors - xterm
3277174993Srafan# has a different table of default color resource values.  If built for
3278174993Srafan# 256-colors, it can still handle an 88-color palette by using the initc
3279174993Srafan# capability.
3280174993Srafan#
3281174993Srafan# At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
3282174993Srafan# which support the xterm+256color feature support the associated initc
3283174993Srafan# capability.  So it is cancelled in the entries which use this and/or the
3284174993Srafan# xterm+256color block.
3285184989Srafan#
3286184989Srafan# The default color palette for the 256- and 88-colors are different.  A
3287184989Srafan# given executable will have one palette (perhaps compiled-in).  If the program
3288184989Srafan# supports xterm's control sequence, it can be programmed using initc.
3289166124Srafanxterm+88color|xterm 88-color feature,
3290166124Srafan	colors#88, pairs#7744, use=xterm+256color,
3291166124Srafan
329262449Speter# These variants of XFree86 3.9.16 xterm are built as a configure option.
3293166124Srafanxterm-256color|xterm with 256 colors,
3294166124Srafan	use=xterm+256color, use=xterm-new,
3295166124Srafanxterm-88color|xterm with 88 colors,
3296166124Srafan	use=xterm+88color, use=xterm-256color,
329762449Speter
3298166124Srafan# These two are used to demonstrate the any-event mouse support, i.e., by
3299166124Srafan# using an extended name "XM" which tells ncurses to put the terminal into
3300166124Srafan# a special mode when initializing the xterm mouse.
3301166124Srafanxterm-1002|testing xterm-mouse,
3302166124Srafan	XM=\E[?1002%?%p1%{1}%=%th%el%;, use=xterm-new,
3303166124Srafanxterm-1003|testing xterm-mouse,
3304166124Srafan	XM=\E[?1003%?%p1%{1}%=%th%el%;, use=xterm-new,
3305166124Srafan
330650276Speter# This is another variant, for XFree86 4.0 xterm (T.Dickey)
330750276Speter# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
330850276Speter# To use it, your decTerminalID resource must be set to 200 or above.
330950276Speter#
331050276Speter#	HTS	\E H	\210
331150276Speter#	RI	\E M	\215
331250276Speter#	SS3	\E O	\217
331350276Speter#	CSI	\E [	\233
331450276Speter#
3315166124Srafanxterm-8bit|xterm terminal emulator 8-bit controls (X Window System),
3316166124Srafan	OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
3317166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3318166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3319166124Srafan	bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z,
3320166124Srafan	civis=\233?25l, clear=\233H\2332J,
3321166124Srafan	cnorm=\233?25l\233?25h, cr=^M, csr=\233%i%p1%d;%p2%dr,
3322166124Srafan	cub=\233%p1%dD, cub1=^H, cud=\233%p1%dB, cud1=^J,
3323166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
3324166124Srafan	cuu=\233%p1%dA, cuu1=\233A, cvvis=\233?12;25h,
3325166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M,
3326166124Srafan	ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K,
3327166124Srafan	flash=\233?5h$<100/>\233?5l, home=\233H,
3328166124Srafan	hpa=\233%i%p1%dG, ht=^I, hts=\210, ich=\233%p1%d@,
3329166124Srafan	il=\233%p1%dL, il1=\233L, ind=^J, invis=\2338m,
3330166124Srafan	is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
3331166124Srafan	ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H,
3332166124Srafan	kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B,
3333166124Srafan	kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~,
3334166124Srafan	kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~,
3335166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
3336166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
3337166124Srafan	kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~,
3338166124Srafan	kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~,
3339166124Srafan	kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M,
3340166124Srafan	knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i,
3341166124Srafan	meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m,
3342166124Srafan	ri=\215, rmacs=\E(B, rmam=\233?7l, rmcup=\233?1049l,
3343166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
3344166124Srafan	rs1=\Ec,
3345166124Srafan	rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
3346166124Srafan	sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm,
3347166124Srafan	setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3348166124Srafan	setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
3349166124Srafan	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%;,
3350166124Srafan	sgr0=\2330m\E(B, smacs=\E(0, smam=\233?7h,
3351166124Srafan	smcup=\233?1049h, smir=\2334h, smkx=\233?1h\E=,
3352166124Srafan	smso=\2337m, smul=\2334m, tbc=\2333g, u6=\233[%i%d;%dR,
3353166124Srafan	u7=\E[6n, u8=\233[?1;2c, u9=\E[c, vpa=\233%i%p1%dd,
335450276Speter
3355166124Srafanxterm-hp|xterm with hpterm function keys,
3356166124Srafan	kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
3357166124Srafan	kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es,
3358166124Srafan	kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ,
3359166124Srafan	knp=\ES, kpp=\ET, use=xterm-basic,
336062449Speter
3361166124Srafanxterm-sco|xterm with SCO function keys,
3362166124Srafan	kbeg=\E[E, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
3363166124Srafan	kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W,
3364166124Srafan	kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, kf16=\E[b,
3365166124Srafan	kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f,
3366166124Srafan	kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k,
3367166124Srafan	kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O,
3368166124Srafan	kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t,
3369166124Srafan	kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y,
3370166124Srafan	kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\,
3371166124Srafan	kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{,
3372166124Srafan	kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H,
3373166124Srafan	kich1=\E[L, kmous=\E[>M, knp=\E[G, kpp=\E[I,
3374166124Srafan	use=xterm-basic,
337566963Speter
3376166124Srafan# The xterm-new description has all of the features, but is not completely
337766963Speter# compatible with vt220.  If you are using a Sun or PC keyboard, set the
337866963Speter# sunKeyboard resource to true:
337966963Speter#	+ maps the editing keypad
338066963Speter#	+ interprets control-function-key as a second array of keys, so a
338166963Speter#	  12-fkey keyboard can support vt220's 20-fkeys.
338266963Speter#	+ maps numeric keypad "+" to ",".
338366963Speter#	+ uses DEC-style control sequences for the application keypad.
3384166124Srafan#
3385166124Srafanxterm-vt220|xterm emulating vt220,
3386166124Srafan	kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
3387166124Srafan	kend=\E[4~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
3388166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
3389166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
3390166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3391166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
3392176187Srafan	use=xterm+app, use=xterm+edit, use=xterm-basic,
3393176187Srafan	use=vt220+keypad,
339462449Speter
3395166124Srafanxterm-vt52|xterm emulating dec vt52,
3396166124Srafan	cols#80, it#8, lines#24,
3397166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3398166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
3399166124Srafan	cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK,
3400166124Srafan	home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
3401166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF,
340262449Speter
3403166124Srafanxterm-noapp|xterm with cursor keys in normal mode,
3404176187Srafan	rmcup@, rmkx=\E>, smcup@, smkx=\E=, use=xterm+noapp,
3405176187Srafan	use=xterm,
340662449Speter
3407166124Srafanxterm-24|vs100|xterms|xterm terminal emulator (X Window System),
3408176187Srafan	lines#24, use=xterm-old,
340950276Speter
341050276Speter# This is xterm for ncurses.
3411166124Srafanxterm|xterm terminal emulator (X Window System),
3412166124Srafan	use=xterm-new,
341350276Speter
3414166124Srafan# These entries allow access to the X titlebar and icon name as a status line.
3415166124Srafan# Note that twm (and possibly window managers descended from it such as tvtwm,
341650276Speter# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
341750276Speter# with it.
3418166124Srafanxterm+sl|access X title line and icon name,
3419166124Srafan	hs,
3420166124Srafan	wsl#40,
3421166124Srafan	dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm,
3422166124Srafanxterm+sl-twm|access X title line (pacify twm-descended window managers),
3423166124Srafan	hs,
3424166124Srafan	wsl#40,
3425166124Srafan	dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm,
342650276Speter
342750276Speter#
342850276Speter# The following xterm variants don't depend on your base version
342950276Speter#
343050276Speter# xterm with bold instead of underline
3431166124Srafanxterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold,
3432176187Srafan	smso=\E[7m, smul=\E[1m, use=xterm-old,
343350276Speter# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
343450276Speter# (kterm should not invoke DEC Graphics as the alternate character set
343550276Speter#  -- Kenji Rikitake)
343676726Speter# (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
343776726Speter#  -- MATSUMOTO Shoji)
3438166124Srafan# kterm implements acsc via built-in table of X Drawable's
3439166124Srafankterm|kterm kanji terminal emulator (X window system),
3440166124Srafan	eslok, hs,
3441166124Srafan	ncv@,
3442166124Srafan	acsc=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~,
3443166124Srafan	csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F,
3444166124Srafan	kmous=\E[M, rc=\E8, rmacs=\E(B, rmam=\E[?7l, sc=\E7,
3445166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
3446166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h,
3447166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=xterm-r6, use=ecma+color,
3448166124Srafankterm-color|kterm-co|kterm with ANSI colors,
3449166124Srafan	ncv@, use=kterm, use=ecma+color,
345050276Speter# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
3451166124Srafanxterm-nic|xterm with ich/ich1 suppressed for non-curses programs,
3452166124Srafan	ich@, ich1@, use=xterm,
3453166124Srafan# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
3454166124Srafanxterm1|xterm terminal emulator ignoring the alternate screen buffer,
3455166124Srafan	rmcup@, smcup@, use=xterm,
345650276Speter
345750276Speter# This describes the capabilities of color_xterm, an xterm variant from
345850276Speter# before ECMA-64 color support was folded into the main-line xterm release.
345950276Speter# This entry is straight from color_xterm's maintainer.
346050276Speter# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
346150276Speter# The README's with the distribution also say that it supports SGR 21, 24, 25
346250276Speter# and 27, but they are not present in the terminfo or termcap.
3463166124Srafancolor_xterm|cx|cx100|color_xterm color terminal emulator for X,
3464166124Srafan	OTbs, am, km, mir, msgr, xenl,
3465166124Srafan	cols#80, it#8, lines#65, ncv@,
3466166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3467166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
3468166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3469166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3470166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3471166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
3472166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I,
3473166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
3474166124Srafan	is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, kbs=^H, kcub1=\EOD,
3475166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kf1=\E[11~,
3476166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~,
3477166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
3478166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~,
3479166124Srafan	kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM,
3480166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l,
3481166124Srafan	rmso=\E[27m, rmul=\E[24m,
3482166124Srafan	rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<,
3483166124Srafan	sc=\E7,
3484166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3485166124Srafan	sgr0=\E[0m\017, smacs=^N, smam=\E[?7h,
3486166124Srafan	smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m,
3487166124Srafan	smul=\E[4m, use=ecma+color, use=vt220+keypad,
348850276Speter
348962449Speter# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
349050276Speter# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
349150276Speter# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
349250276Speter# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
349350276Speter# that each of those implements the home, end, delete keys differently.
349462449Speter#
349562449Speter# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
349662449Speter# colors; note that this is not compatible with the 5.2 version.
3497166124Srafan# csw (2002-05-15): make xterm-color primary instead of nxterm, to
3498166124Srafan#   match XFree86's xterm.terminfo usage and prevent circular links
3499166124Srafanxterm-color|nxterm|generic color xterm,
3500166124Srafan	ncv@,
3501166124Srafan	op=\E[m, use=xterm-r6, use=klone+color,
350250276Speter
350362449Speter# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
3504166124Srafangnome-rh62|Gnome terminal,
3505166124Srafan	bce,
3506166124Srafan	kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
3507166124Srafan	use=xterm-color,
350862449Speter
350997049Speter# GNOME Terminal 1.4.0.4 (Redhat 7.2)
351097049Speter#
351197049Speter# This implements a subset of vt102 with a random selection of features from
351297049Speter# other terminals such as color and function-keys.
351397049Speter#
351497049Speter# shift-f1 to shift-f10 are f11 to f20
351597049Speter#
351697049Speter# NumLock changes the application keypad to approximate vt100 keypad, except
351797049Speter# that there is no escape sequence matching comma (,).
351897049Speter#
351997049Speter# Other defects observed:
352097049Speter#	vt100 LNM mode is not implemented.
352197049Speter#	vt100 80/132 column mode is not implemented.
352297049Speter#	vt100 DECALN is not implemented.
352397049Speter#	vt100 DECSCNM mode is not implemented, so flash does not work.
352497049Speter#	vt100 TBC (tab reset) is not implemented.
352597049Speter#	xterm alternate screen controls do not restore cursor position properly
352697049Speter#	it hangs in tack after running function-keys test.
3527166124Srafangnome-rh72|GNOME Terminal,
3528166124Srafan	bce, km@,
3529166124Srafan	civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP,
3530166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l,
3531166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;,
3532166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, tbc@, use=xterm-color,
353397049Speter
3534166124Srafan# GNOME Terminal 2.0.1 (Redhat 8.0)
3535166124Srafan#
3536166124Srafan# Documentation now claims it implements vt220 (which is demonstrably false).
3537166124Srafan# However, it does implement ECH, which is a vt220 feature.  And there are
3538166124Srafan# workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
3539166124Srafan# more of its bugs using vttest.
3540166124Srafan#
3541166124Srafan# However, note that bce and msgr are broken in this release.  Tabs (tbc and
3542166124Srafan# hts) are broken as well.  Sometimes flash (as in xterm-new) works.
3543166124Srafan#
3544166124Srafan# kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
3545166124Srafan# operations.  Shift-tab generates a distinct sequence so it can be argued
3546166124Srafan# that it implements kcbt.
3547166124Srafangnome-rh80|GNOME Terminal,
3548166124Srafan	bce@, msgr@,
3549166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, kbs=\177,
3550166124Srafan	kcbt=\E^I, op=\E[39;49m, use=gnome-rh72,
355197049Speter
3552166124Srafan# GNOME Terminal 2.2.1 (Redhat 9.0)
3553166124Srafan#
3554166124Srafan# bce and msgr are repaired.
3555166124Srafangnome-rh90|GNOME Terminal,
3556166124Srafan	bce, msgr,
3557166124Srafan	hpa=\E[%i%p1%dG, kDC=\E[3;2~, kLFT=\EO2D, kRIT=\EO2C,
3558166124Srafan	kb2=\E[E, kcbt=\E[Z, kend=\EOF, khome=\EOH, tbc=\E[3g,
3559166124Srafan	vpa=\E[%i%p1%dd, use=xterm+pcf0, use=xterm+pcfkeys,
3560166124Srafan	use=gnome-rh80,
3561166124Srafan
3562166124Srafan# GNOME Terminal 2.14.2 (Fedora Core 5)
3563166124Srafan# Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
3564166124Srafangnome-fc5|GNOME Terminal,
3565166124Srafan	rs1=\Ec,
3566166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3567166124Srafan	use=ansi+enq, use=xterm+pcc0, use=gnome-rh90,
3568166124Srafan
3569174993Srafan# GNOME Terminal 2.18.1 (2007 snapshot)
3570174993Srafan#
3571174993Srafan# For any "recent" version of gnome-terminal, it is futile to attempt to
3572174993Srafan# support modifiers on cursor- and keypad keys because the program usually
3573174993Srafan# is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
3574174993Srafan# of the keys (which more/less correspond to the termcap values), and will
3575174993Srafan# interpret those according to the $TERM value, but others not in the
3576174993Srafan# terminfo according to some constantly changing set of hacker guidelines -TD
3577174993Srafangnome-2007|GNOME Terminal snapshot 2.18.1,
3578174993Srafan	use=xterm+pcc2, use=gnome-fc5,
3579174993Srafan
3580184989Srafan# GNOME Terminal 2.22.3 (2008 snapshot)
3581184989Srafan#
3582184989Srafan# In vttest, it claims to be a vt220 with national replacement character-sets,
3583184989Srafan# but aside from the identifier string, implements only a small fraction of
3584184989Srafan# vt220's behavior, which will make it less usable on a VMS system (unclear
3585184989Srafan# what the intent of the developer is, since the NRC feature exposed in vttest
3586184989Srafan# by this change does not work).
3587184989Srafangnome-2008|GNOME Terminal snapshot 2.22.3,
3588184989Srafan	use=gnome+pcfkeys, use=gnome-2007,
3589184989Srafan
3590184989Srafan# GNOME terminal may automatically use the contents of the "xterm" terminfo to
3591184989Srafan# supply key information which is not built into the program.  With 2.22.3,
3592184989Srafan# this list is built into the program (which addresses the inadvertant use of
3593184989Srafan# random terminfo data, though using a set of values which does not correspond
3594184989Srafan# to any that xterm produces - still not solving the problem that GNOME
3595184989Srafan# terminal hardcodes the $TERM variable as "xterm").
3596184989Srafan#
3597184989Srafan#	terminfo	modifier	code	keys
3598184989Srafan#	kf13-kf24	shift		2	F1 to F12
3599184989Srafan#	kf25-kf36	control		5	F1 to F12
3600184989Srafan#	kf37-kf48	shift/control	6	F1 to F12
3601184989Srafan#	kf49-kf60	alt		3	F1 to F12
3602184989Srafan#	kf61-kf63	shift-alt	4	F1 to F3
3603184989Srafan#
3604184989Srafan# The parameters with \EO (SS3) are technically an error, since SS3 should have
3605184989Srafan# no parameters.  This appears to be rote copying based on xterm+pcc0.
3606184989Srafangnome+pcfkeys|gnome variation on xterm+pcfkeys,
3607184989Srafan	kf1=\EOP, kf13=\EO1;2P, kf14=\EO1;2Q, kf15=\EO1;2R,
3608184989Srafan	kf16=\EO1;2S, kf2=\EOQ, kf25=\EO1;5P, kf26=\EO1;5Q,
3609184989Srafan	kf27=\EO1;5R, kf28=\EO1;5S, kf3=\EOR, kf37=\EO1;6P,
3610184989Srafan	kf38=\EO1;6Q, kf39=\EO1;6R, kf4=\EOS, kf40=\EO1;6S,
3611184989Srafan	kf49=\EO1;3P, kf50=\EO1;3Q, kf51=\EO1;3R, kf52=\EO1;3S,
3612184989Srafan	kf61=\EO1;4P, kf62=\EO1;4Q, kf63=\EO1;4R,
3613184989Srafan	use=xterm+pcfkeys,
3614184989Srafan
3615166124Srafangnome|GNOME Terminal,
3616184989Srafan	use=gnome-2008,
3617166124Srafan
3618174993Srafan# palette is hardcoded...
3619166124Srafangnome-256color|GNOME Terminal with xterm 256-colors,
3620174993Srafan	initc@, use=xterm+256color, use=gnome,
3621166124Srafan
3622166124Srafan# XFCE Terminal 0.2.5.4beta2
3623166124Srafan#
3624166124Srafan# This is based on some of the same source code, e.g., the VTE library, as
3625166124Srafan# gnome-terminal, but has fewer features, fails more screens in vttest.
3626166124Srafan# Since most of the terminfo-related behavior is due to the VTE library,
3627166124Srafan# the terminfo is the same as gnome-terminal.
3628166124Srafanxfce|Xfce Terminal,
3629166124Srafan	use=gnome,
3630166124Srafan
3631166124Srafan# Multi-Gnome-Terminal 1.6.2
3632166124Srafan#
3633166124Srafan# This does not use VTE, and does have different behavior (compare xfce and
3634166124Srafan# gnome).
3635166124Srafanmgt|Multi GNOME Terminal,
3636166124Srafan	indn=\E[%p1%dS, rin=\E[%p1%dT, use=xterm-xf86-v333,
3637166124Srafan
363862449Speter# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
363962449Speter# or not is debatable).
3640166124Srafankvt|KDE terminal,
3641166124Srafan	bce, km@,
3642166124Srafan	kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color,
364362449Speter
364497049Speter# Konsole 1.0.1
364597049Speter# (formerly known as kvt)
364697049Speter#
364797049Speter# This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
364897049Speter# simplify this entry (and point out why konsole isn't xterm), we base this on
364997049Speter# xterm-r6.  The default keyboard appears to be 'linux'.
365097049Speter#
365197049Speter# Notes:
365297049Speter# a) konsole implements several features from XFree86 xterm, though none of
365397049Speter#    that is documented - except of course in its source code - apparently
365497049Speter#    because its implementors are unaccustomed to reading documentation - as
365597049Speter#    evidenced by the sparse and poorly edited documentation distributed with
365697049Speter#    konsole.  Some features such as the 1049 private mode are recognized but
365797049Speter#    incorrectly implemented as a duplicate of the 47 private mode.
365897049Speter# b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
365997049Speter#    sends PC-style escapes rather than vt100.
366097049Speter# c) fails vttest menu 3 (Test of character sets) because it does not properly
366197049Speter#    parse some control sequences.  Also fails vttest Primary Device Attributes
366297049Speter#    by sending a bogus code (in the source it says it's supposed to be a
366397049Speter#    vt220, which is doubly incorrect because it does not implement vt220
366497049Speter#    control sequences except for a few special cases).  Treat it as a
366597049Speter#    mildly-broken vt102.
3666166124Srafan#
3667166124Srafan# Update for konsole 1.3.2:
3668166124Srafan#    The 1049 private mode works (but see the other xterm screens in vttest).
3669166124Srafan#    Primary Device Attributes now returns the code for a vt100 with advanced
3670166124Srafan#    video option.  Perhaps that's intended to be a "mildly-broken vt102".
3671166124Srafan#
3672166124Srafan# Updated for konsole 1.6.4:
3673166124Srafan#    add konsole-solaris
3674184989Srafan#
3675184989Srafan# Updated for konsole 1.6.6:
3676184989Srafan#    add control-key modifiers for function-keys, etc.
3677184989Srafan#
3678184989Srafan# vttest menu 1 shows that both konsole and gnome terminal do wrapping
3679184989Srafan# different from xterm (and vt100's).  They have the same behavior in this
3680184989Srafan# detail, but it is unclear which copies the other.
3681166124Srafankonsole-base|KDE console window,
3682166124Srafan	bce, km@, npc,
3683166124Srafan	bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h,
3684166124Srafan	ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l,
3685166124Srafan	hpa=\E[%i%p1%dG, indn=\E[%p1%dS, kbs=\177, kdch1@,
3686166124Srafan	kend=\E[4~, kf1@, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@,
3687166124Srafan	kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
3688166124Srafan	kf9@, kfnd@, khome=\E[1~, kslt@, rin=\E[%p1%dT, rmam=\E[?7l,
3689166124Srafan	rmso=\E[27m, rmul=\E[24m,
3690166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3691166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3692166124Srafan	sgr0=\E[0m\017, smam=\E[?7h, vpa=\E[%i%p1%dd,
3693166124Srafan	use=ecma+color, use=xterm-r6,
3694166124Srafankonsole-linux|KDE console window with linux keyboard,
3695166124Srafan	kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
3696166124Srafan	kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@,
3697166124Srafan	kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
3698166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3699166124Srafan	use=konsole-base,
3700166124Srafankonsole-solaris|KDE console window with Solaris keyboard,
3701166124Srafan	kbs=^H, kend=\E[4~, khome=\E[1~, use=konsole-vt100,
370297049Speter# KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
370397049Speter# than testing the code.
3704166124Srafankonsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
3705166124Srafan	kend=\E[4~, khome=\E[1~, use=konsole-vt100,
370697049Speter# The value for kbs reflects local customization rather than the settings used
370797049Speter# for XFree86 xterm.
3708166124Srafankonsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
3709184989Srafan	kend=\EOF, khome=\EOH, use=konsole+pcfkeys,
3710184989Srafan	use=konsole-vt100,
3711184989Srafan# Konsole does not implement shifted cursor-keys.
3712184989Srafankonsole+pcfkeys|konsole subset of xterm+pcfkeys,
3713184989Srafan	kLFT@, kRIT@, kcbt=\E[Z, kind@, kri@, kDN@, kUP@, use=xterm+pcc2,
3714184989Srafan	use=xterm+pcf0,
371597049Speter# KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
371697049Speter# it is still useful for deriving the other entries.
3717166124Srafankonsole-vt100|KDE console window with vt100 (sic) keyboard,
3718166124Srafan	kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~,
3719166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@,
3720166124Srafan	kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~,
3721166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3722166124Srafan	khome=\E[H, use=konsole-base,
3723166124Srafankonsole-vt420pc|KDE console window with vt420 pc keyboard,
3724166124Srafan	kbs=^H, kdch1=\177, use=konsole-vt100,
3725166124Srafankonsole-16color|klone of xterm-16color,
3726166124Srafan	ncv#32, use=ibm+16color, use=konsole,
372797049Speter# make a default entry for konsole
3728166124Srafankonsole|KDE console window,
3729166124Srafan	use=konsole-xf4x,
373097049Speter
3731174993Srafan# palette is hardcoded...
3732174993Srafankonsole-256color|KDE console window with xterm 256-colors,
3733174993Srafan	initc@, use=xterm+256color, use=konsole,
3734174993Srafan
3735174993Srafan# This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
3736166124Srafan#
3737174993Srafan# It is nominally a vt102 emulator, with features borrowed from rxvt and
3738166124Srafan# xterm.
3739166124Srafan#
3740174993Srafan# The function keys are numbered based on shift/control/alt modifiers, except
3741174993Srafan# that the control-modifier itself is used to spawn a new copy of mlterm (the
3742174993Srafan# "-P" option).  So control/F1 to control/F12 may not be usable, depending on
3743174993Srafan# how it is configured.
3744174993Srafan#
3745174993Srafan#				kf1 to kf12	\E[11~   to \E[24~
3746174993Srafan#	shift			kf1 to kf12	\E[11;2~ to \E[24;2~
3747174993Srafan#	alt			kf1 to kf12	\E[11;3~ to \E[24;3~
3748174993Srafan#	shift/alt		kf1 to kf12	\E[11;4~ to \E[24;4~
3749174993Srafan#	control			kf1 to kf12	\E[11;5~ to \E[24;5~ (maybe)
3750174993Srafan#	control/shift		kf1 to kf12	\E[11;6~ to \E[24;6~
3751174993Srafan#	control/alt		kf1 to kf12	\E[11;7~ to \E[24;7~
3752184989Srafan#	control/shift/alt	kf1 to kf12	\E[11;8~ to \E[24;8~
3753174993Srafan#
3754166124Srafanmlterm|multi lingual terminal emulator,
3755166124Srafan	am, eslok, km, mc5i, mir, msgr, npc, xenl,
3756166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
3757166124Srafan	acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3758166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
3759166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3760166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3761166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3762166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3763166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3764166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=,
3765166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
3766166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
3767166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
3768184989Srafan	kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
3769184989Srafan	kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM, kfnd=\E[1~,
3770184989Srafan	khome=\EOH, kich1=\E[2~, kind=\EO1;2B, kmous=\E[M,
3771184989Srafan	knp=\E[6~, kpp=\E[5~, kri=\EO1;2A, kslt=\E[4~, mc0=\E[i,
3772184989Srafan	nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
3773174993Srafan	rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
3774174993Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
3775166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l,
3776166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
3777166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
3778174993Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
3779166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
3780174993Srafan	tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
3781174993Srafan	vpa=\E[%i%p1%dd, use=mlterm+pcfkeys, use=xterm+r6f2,
3782166124Srafan
3783174993Srafan# The insert/delete/home/end keys do not respond to modifiers because mlterm
3784174993Srafan# looks in its termcap to decide which string to send.  If it used terminfo
3785174993Srafan# (when available), it could use the extended names introduced for xterm.
3786174993Srafanmlterm+pcfkeys|fragment for PC-style fkeys,
3787174993Srafan	kLFT=\EO1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO1;2C,
3788184989Srafan	kDN=\EO1;2B, kDN3=\EO1;3B, kDN4=\EO1;4B, kDN5=\EO1;5B,
3789184989Srafan	kDN6=\EO1;6B, kDN7=\EO1;7B, kIC5=\E[2;5~, kIC6=\E[2;6~,
3790184989Srafan	kLFT3=\EO1;3D, kLFT4=\EO1;4D, kLFT5=\EO1;5D,
3791184989Srafan	kLFT6=\EO1;6D, kLFT7=\EO1;7D, kNXT5=\E[6;5~,
3792184989Srafan	kNXT6=\E[6;6~, kPRV5=\E[5;5~, kPRV6=\E[5;6~,
3793184989Srafan	kRIT3=\EO1;3C, kRIT4=\EO1;4C, kRIT5=\EO1;5C,
3794184989Srafan	kRIT6=\EO1;6C, kRIT7=\EO1;7C, kUP=\EO1;2A, kUP3=\EO1;3A,
3795184989Srafan	kUP4=\EO1;4A, kUP5=\EO1;5A, kUP6=\EO1;6A, kUP7=\EO1;7A,
3796174993Srafan
379750276Speter# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
379850276Speter# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
379950276Speter# Notes:
380050276Speter# rxvt 2.21b uses
380150276Speter#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
380250276Speter# but some applications don't work with that.
380350276Speter# It also has an AIX extension
380450276Speter#	box2=lqkxjmwuvtn,
380550276Speter# and
380650276Speter#	ech=\E[%p1%dX,
380750276Speter# but the latter does not work correctly.
380850276Speter#
380950276Speter# The distributed terminfo says it implements hpa and vpa, but they are not
381050276Speter# implemented correctly, using relative rather than absolute positioning.
381150276Speter#
381250276Speter# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
381350276Speter# Since rxvt is not really compatible with xterm, it should be configured as
3814174993Srafan# "rxvt" or "rxvt-color".
3815166124Srafan#
3816166124Srafan# removed dch/dch1 because they are inconsistent with bce/ech -TD
3817166124Srafan# remove km as per tack test -TD
3818166124Srafanrxvt-basic|rxvt terminal base (X Window System),
3819166124Srafan	OTbs, am, bce, eo, mir, msgr, xenl, xon,
3820166124Srafan	cols#80, it#8, lines#24,
3821166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3822166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3823166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3824166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3825166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
3826166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3827166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
3828166124Srafan	enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
3829166124Srafan	hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
3830166124Srafan	ind=^J, is1=\E[?47l\E=\E[?1l,
3831166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
3832166124Srafan	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
3833166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
3834166124Srafan	rmul=\E[24m,
3835166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
3836166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
3837166124Srafan	s0ds=\E(B, s1ds=\E(0, sc=\E7,
3838166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
3839166124Srafan	sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
3840166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
3841166124Srafan	use=rxvt+pcfkeys, use=vt220+keypad,
3842166124Srafan# Key Codes from rxvt reference:
3843166124Srafan#
3844166124Srafan# Note: Shift + F1-F10 generates F11-F20
3845166124Srafan#
3846166124Srafan# For the keypad, use Shift to temporarily override Application-Keypad
3847166124Srafan# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
3848166124Srafan# is off, escape sequences toggle Application-Keypad setting.
3849166124Srafan# Also note that values of Home, End, Delete may have been compiled
3850166124Srafan# differently on your system.
3851166124Srafan#
3852166124Srafan#                   Normal       Shift        Control      Ctrl+Shift
3853166124Srafan#  Tab              ^I           ESC [ Z      ^I           ESC [ Z
3854166124Srafan#  BackSpace        ^H           ^?           ^?           ^?
3855166124Srafan#  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
3856166124Srafan#  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
3857166124Srafan#  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3858166124Srafan#  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
3859166124Srafan#  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
3860166124Srafan#  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
3861166124Srafan#  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
3862166124Srafan#  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
3863166124Srafan#  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3864166124Srafan#  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
3865166124Srafan#  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
3866166124Srafan#  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
3867166124Srafan#  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
3868166124Srafan#  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
3869166124Srafan#  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
3870166124Srafan#  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
3871166124Srafan#  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
3872166124Srafan#  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
3873166124Srafan#  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
3874166124Srafan#  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
3875166124Srafan#  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
3876166124Srafan#  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
3877166124Srafan#  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
3878166124Srafan#  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
3879166124Srafan#  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
3880166124Srafan#  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
3881166124Srafan#  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
3882166124Srafan#  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
3883166124Srafan#  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
3884174993Srafan#
3885166124Srafan#                                                          Application
3886166124Srafan#  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
3887166124Srafan#  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
3888166124Srafan#  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
3889166124Srafan#  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
3890166124Srafan#  KP_Enter         ^M                                     ESC O M
3891166124Srafan#  KP_F1            ESC O P                                ESC O P
3892166124Srafan#  KP_F2            ESC O Q                                ESC O Q
3893166124Srafan#  KP_F3            ESC O R                                ESC O R
3894166124Srafan#  KP_F4            ESC O S                                ESC O S
3895166124Srafan#  XK_KP_Multiply   *                                      ESC O j
3896166124Srafan#  XK_KP_Add        +                                      ESC O k
3897166124Srafan#  XK_KP_Separator  ,                                      ESC O l
3898166124Srafan#  XK_KP_Subtract   -                                      ESC O m
3899166124Srafan#  XK_KP_Decimal    .                                      ESC O n
3900166124Srafan#  XK_KP_Divide     /                                      ESC O o
3901166124Srafan#  XK_KP_0          0                                      ESC O p
3902166124Srafan#  XK_KP_1          1                                      ESC O q
3903166124Srafan#  XK_KP_2          2                                      ESC O r
3904166124Srafan#  XK_KP_3          3                                      ESC O s
3905166124Srafan#  XK_KP_4          4                                      ESC O t
3906166124Srafan#  XK_KP_5          5                                      ESC O u
3907166124Srafan#  XK_KP_6          6                                      ESC O v
3908166124Srafan#  XK_KP_7          7                                      ESC O w
3909166124Srafan#  XK_KP_8          8                                      ESC O x
3910166124Srafan#  XK_KP_9          9                                      ESC O y
3911166124Srafan#
3912174993Srafan# The source-code for rxvt actually defines mappings for F21-F35, using
3913174993Srafan# "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
3914174993Srafan# are rare, so this entry uses the shift- and control-modifiers as in
3915174993Srafan# xterm+pcfkeys to define keys past F12.
3916174993Srafan#
3917174993Srafan# kIC is normally not used, since rxvt performs a paste for that (shifted
3918174993Srafan# insert), unless private mode 35 is set.
3919174993Srafan#
3920166124Srafan# kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
3921166124Srafan# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
3922166124Srafanrxvt+pcfkeys|fragment for PC-style fkeys,
3923174993Srafan	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
3924166124Srafan	kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B,
3925166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
3926166124Srafan	kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
3927166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
3928166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
3929166124Srafan	kf2=\E[12~, kf20=\E[34~, kf21=\E[23$, kf22=\E[24$,
3930166124Srafan	kf23=\E[11\^, kf24=\E[12\^, kf25=\E[13\^, kf26=\E[14\^,
3931166124Srafan	kf27=\E[15\^, kf28=\E[17\^, kf29=\E[18\^, kf3=\E[13~,
3932166124Srafan	kf30=\E[19\^, kf31=\E[20\^, kf32=\E[21\^, kf33=\E[23\^,
3933166124Srafan	kf34=\E[24\^, kf35=\E[25\^, kf36=\E[26\^, kf37=\E[28\^,
3934166124Srafan	kf38=\E[29\^, kf39=\E[31\^, kf4=\E[14~, kf40=\E[32\^,
3935166124Srafan	kf41=\E[33\^, kf42=\E[34\^, kf43=\E[23@, kf44=\E[24@,
3936166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
3937166124Srafan	kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
3938174993Srafan	kslt=\E[4~, kDC5=\E[3\^, kDC6=\E[3@, kDN=\E[b, kDN5=\EOb,
3939174993Srafan	kEND5=\E[8\^, kEND6=\E[8@, kHOM5=\E[7\^, kHOM6=\E[7@,
3940174993Srafan	kIC5=\E[2\^, kIC6=\E[2@, kLFT5=\EOd, kNXT5=\E[6\^,
3941174993Srafan	kNXT6=\E[6@, kPRV5=\E[5\^, kPRV6=\E[5@, kRIT5=\EOc,
3942166124Srafan	kUP=\E[a, kUP5=\EOa,
394350276Speter
3944166124Srafanrxvt|rxvt terminal emulator (X Window System),
3945166124Srafan	ncv@,
3946166124Srafan	hpa=\E[%i%p1%dG, kf0=\E[21~, sgr0=\E[m\017,
3947166124Srafan	vpa=\E[%i%p1%dd, use=rxvt-basic, use=ecma+color,
3948166124Srafanrxvt-color|rxvt terminal emulator (X Window System),
3949166124Srafan	use=rxvt,
3950166124Srafanrxvt-256color|rxvt 2.7.9 with xterm 256-colors,
3951166124Srafan	use=xterm+256color, use=rxvt,
3952184989Srafanrxvt-88color|rxvt 2.7.9 with xterm 88-colors,
3953184989Srafan	use=xterm+88color, use=rxvt,
3954166124Srafanrxvt-xpm|rxvt terminal emulator (X Window System),
3955166124Srafan	use=rxvt,
3956166124Srafanrxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
3957166124Srafan	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,
3958166124Srafan	use=rxvt,
3959166124Srafanrxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
3960166124Srafan	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,
3961166124Srafan	use=rxvt-cygwin,
3962166124Srafan
3963166124Srafan# This variant is supposed to work with rxvt 2.7.7 when compiled with
3964166124Srafan# NO_BRIGHTCOLOR defined.  rxvt needs more work...
3965166124Srafanrxvt-16color|xterm with 16 colors like aixterm,
3966166124Srafan	ncv#32, use=ibm+16color, use=rxvt,
3967166124Srafan
3968174993Srafan# mrxvt 0.5.3
3969174993Srafan#
3970174993Srafan# mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
3971174993Srafan# makes its function-keys different from other flavors of rxvt -TD
3972174993Srafanmrxvt|multitabbed rxvt,
3973174993Srafan	use=xterm+pcc2, use=xterm+r6f2, use=rxvt,
3974174993Srafan
397562449Speter# From: Michael Jennings <mej@valinux.com>
3976166124Srafan#
3977166124Srafan# Eterm 0.9.3
3978166124Srafan#
397962449Speter# removed kf0 which conflicts with kf10 -TD
398062449Speter# remove cvvis which conflicts with cnorm -TD
3981166124Srafan# Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
3982166124Srafan# but does otherwise follow the rxvt+pcfkeys model -TD
3983166124Srafan# remove nonworking flash -TD
3984166124Srafan# remove km as per tack test -TD
3985166124SrafanEterm|Eterm-color|Eterm with xterm-style color support (X Window System),
3986166124Srafan	am, bce, bw, eo, mc5i, mir, msgr, xenl, xon,
3987166124Srafan	btns#5, cols#80, it#8, lines#24, lm#0, ncv@,
3988166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
3989166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
3990166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
3991166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
3992166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
3993166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
3994166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
3995166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
3996166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
3997166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
3998166124Srafan	is1=\E[?47l\E>\E[?1l,
3999166124Srafan	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
4000166124Srafan	kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
4001166124Srafan	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
4002166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4003166124Srafan	rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
4004166124Srafan	rmso=\E[27m, rmul=\E[24m,
4005166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
4006166124Srafan	rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
4007166124Srafan	sc=\E7,
4008166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4009166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
4010166124Srafan	smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
4011166124Srafan	vpa=\E[%i%p1%dd, use=vt100+enq, use=rxvt+pcfkeys,
4012166124Srafan	use=ecma+color,
401362449Speter
4014184989SrafanEterm-256color|Eterm with xterm 256-colors,
4015184989Srafan	use=xterm+256color, use=Eterm,
4016184989Srafan
4017184989SrafanEterm-88color|Eterm with 88 colors,
4018184989Srafan	use=xterm+88color, use=Eterm,
4019184989Srafan
4020184989Srafan# Based on rxvt 2.4.8, it has a few differences in key bindings
4021184989Srafanaterm|AfterStep terminal,
4022184989Srafan	kbs=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=rxvt,
4023184989Srafan
4024166124Srafan# xiterm  0.5-5.2
4025166124Srafan# This is not based on xterm's source...
4026166124Srafan# vttest shows several problems with keyboard, cursor-movements.
4027166124Srafan# see also http://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
4028166124Srafanxiterm|internationalized terminal emulator for X,
4029166124Srafan	km@,
4030166124Srafan	kbs=\177, kdch1=\E[3~, use=klone+color, use=xterm-r6,
4031166124Srafan
403250276Speter# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
403350276Speter# variant of xterm which is apparently no longer supported, but are interesting
403450276Speter# because they illustrate SVr4 curses mouse controls - T.Dickey
4035166124Srafanxtermm|xterm terminal emulator (monocrome),
4036166124Srafan	OTbs, am, km, mir, msgr, xenl,
4037166124Srafan	btns#3, cols#80, it#8, lines#24,
4038166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4039166124Srafan	bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
4040166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
4041166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4042166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4043166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4044166124Srafan	el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY,
4045166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
4046166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD,
4047166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kf0=\EOy,
4048166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf5=\EOT, kf6=\EOU,
4049166124Srafan	kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kmous=\E[^_,
4050166124Srafan	knp=\E[U, kpp=\E[V, rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM,
4051166124Srafan	rmacs=^O, rmcup=\E@0\E[?4r, rmso=\E[m,
4052166124Srafan	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
4053166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
4054166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4055166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1,
4056166124Srafan	smso=\E[7m, tbc=\E[3g, use=vt100+fnkeys,
405750276Speter
4058166124Srafanxtermc|xterm terminal emulator (color),
4059166124Srafan	colors#8, ncv#7, pairs#64,
4060166124Srafan	op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4061166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4062166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4063166124Srafan	use=xtermm,
406450276Speter
406550276Speter# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
406650276Speter# Here's a termcap entry I've been using for xterm_color, which comes
406750276Speter# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
406850276Speter# color stuff, I also have a status line defined as the window manager
406950276Speter# title bar. [I have translated it to terminfo -- ESR]
4070166124Srafanxterm-pcolor|xterm with color used for highlights and status line,
4071166124Srafan	bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m,
4072166124Srafan	smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6,
407350276Speter
4074166124Srafan# HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
4075166124Srafan# from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
4076166124Srafan# chars look like --esr)
4077166124Srafanhpterm|X-hpterm|hp X11 terminal emulator,
4078166124Srafan	am, da, db, mir, xhp,
4079166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0,
4080166124Srafan	acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M,
4081166124Srafan	cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC,
4082166124Srafan	cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK,
4083166124Srafan	hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H,
4084166124Srafan	kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
4085166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
4086166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
4087166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
4088166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El,
4089166124Srafan	memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
4090166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
4091166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
4092166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET,
4093166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@,
4094166124Srafan	rmul=\E&d@,
4095166124Srafan	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%;,
4096166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
4097166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
4098166124Srafan# HPUX 11 provides a color version.
4099166124Srafanhpterm-color|HP X11 terminal emulator with color,
4100166124Srafan	ccc,
4101166124Srafan	colors#64, pairs#8,
4102166124Srafan	home=\E&a0y0C,
4103166124Srafan	initp=\E&v%p2%da%p3%db%p4%dc%p5%dx%p6%dy%p7%dz%p1%dI,
4104166124Srafan	op=\E&v0S, scp=\E&v%p1%dS, use=hpterm,
410550276Speter
410650276Speter# This entry describes an xterm with Sun-style function keys enabled
410750276Speter# via the X resource setting "xterm*sunFunctionKeys:true"
410850276Speter# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
410950276Speter# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
4110166124Srafan# because we want it to be seen as <kcpy>.
411150276Speter# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
411250276Speter# with their Sun keyboard labels instead.
411350276Speter# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
4114166124Srafanxterm-sun|xterm with sunFunctionKeys true,
4115166124Srafan	kb2=\E[218z, kcpy=\E[197z, kcub1=\EOD, kcud1=\EOB,
4116166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3z, kend=\E[220z,
4117166124Srafan	kent=\EOM, kf1=\E[224z, kf10=\E[233z, kf11=\E[192z,
4118166124Srafan	kf12=\E[193z, kf13=\E[194z, kf14=\E[195z, kf15=\E[196z,
4119166124Srafan	kf17=\E[198z, kf18=\E[199z, kf19=\E[200z, kf2=\E[225z,
4120166124Srafan	kf20=\E[201z, kf3=\E[226z, kf31=\E[208z, kf32=\E[209z,
4121166124Srafan	kf33=\E[210z, kf34=\E[211z, kf35=\E[212z, kf36=\E[213z,
4122166124Srafan	kf38=\E[215z, kf4=\E[227z, kf40=\E[217z, kf42=\E[219z,
4123166124Srafan	kf44=\E[221z, kf45=\E[222z, kf46=\E[234z, kf47=\E[235z,
4124166124Srafan	kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z,
4125166124Srafan	kf9=\E[232z, kfnd=\E[200z, khlp=\E[196z, khome=\E[214z,
4126166124Srafan	kich1=\E[2z, knp=\E[222z, kpp=\E[216z, kund=\E[195z,
4127166124Srafan	use=xterm-basic,
4128166124Srafanxterms-sun|small (80x24) xterm with sunFunctionKeys true,
4129166124Srafan	cols#80, lines#24, use=xterm-sun,
413050276Speter
413150276Speter# This is for the extensible terminal emulator on the X11R6 contrib tape.
4132166124Srafan# It corresponds to emu's internal emulation:
4133166124Srafan#	emu -term emu
4134166124Srafan# emu's default sets TERM to "xterm", but that doesn't work well -TD
4135166124Srafan# fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
4136166124Srafan# fixes: add civis, cnorm, sgr -TD
4137166124Srafanemu|emu native mode,
4138166124Srafan	am, bce, mir, msgr, xon,
4139166124Srafan	colors#15, cols#80, it#8, lines#24, pairs#64, vt#200,
4140166124Srafan	acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244,
4141166124Srafan	bel=^G, blink=\EW, bold=\EU, civis=\EZ, clear=\EP\EE0;0;,
4142166124Srafan	cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, cub=\Eq-%p1%d;,
4143166124Srafan	cub1=^H, cud=\Ep%p1%d;, cud1=\EB, cuf=\Eq%p1%d;, cuf1=\ED,
4144166124Srafan	cup=\EE%p1%d;%p2%d;, cuu=\Ep-%p1%d;, cuu1=\EA,
4145166124Srafan	dch=\EI%p1%d;, dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;,
4146166124Srafan	ech=\Ej%p1%d;, ed=\EN, el=\EK, el1=\EL, home=\EE0;0;, ht=^I,
4147166124Srafan	hts=\Eh, il=\EQ%p1%d;, il1=\EQ1;, ind=\EG,
4148166124Srafan	is2=\ES\Er0;\Es0;, kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED,
4149166124Srafan	kcuu1=\EA, kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01,
4150166124Srafan	kf10=\EF10, kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14,
4151166124Srafan	kf15=\EF15, kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19,
4152166124Srafan	kf2=\EF02, kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05,
4153166124Srafan	kf6=\EF06, kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind,
4154166124Srafan	kich1=\Eins, knp=\Enext, kpp=\Eprior, kslt=\Esel,
4155166124Srafan	op=\Es0;\Er0;, rev=\ET, ri=\EF, rmir=\EX, rmso=\ES, rmul=\ES,
4156166124Srafan	rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;,
4157166124Srafan	setaf=\Er%i%p1%d;,
4158166124Srafan	sgr=\ES%?%p1%t\ET%;%?%p2%t\EV%;%?%p3%t\ET%;%?%p4%t\EW%;%?%p6%t\EU%;,
4159166124Srafan	sgr0=\ES, smir=\EY, smso=\ET, smul=\EV, tbc=\Ej,
416050276Speter
4161166124Srafan# vt220 Terminfo entry for the Emu emulation, corresponds to
4162166124Srafan#	emu -term vt220
4163166124Srafan# with NumLock set (to make the keypad transmit kf0-kf9).
4164166124Srafan# fixes: add am, xenl, corrected sgr0 -TD
4165166124Srafanemu-220|Emu-220 (vt200-7bit mode),
4166166124Srafan	am, xenl, xon,
4167166124Srafan	cols#80, it#8, lines#24, vt#200,
4168166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
4169166124Srafan	blink=\E[0;5m, bold=\E[0;1m, civis=\E[?25l,
4170166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
4171166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D,
4172166124Srafan	cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
4173166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[1A,
4174166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dl=\E[%p1%dM, dl1=\E[1M,
4175166124Srafan	ed=\E[0J, el=\E[0K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
4176166124Srafan	hts=\EH, if=/usr/share/tabset/vt300, il=\E[%p1%dL,
4177166124Srafan	il1=\E[1L, ind=\ED, is2=\E>\E[?1l\E[?3l\E[4l\E[?7h,
4178166124Srafan	kbs=^H, kcmd=\E[29~, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4179166124Srafan	kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf0=\EOp, kf1=\EOq,
4180166124Srafan	kf10=\EOl, kf11=\EOm, kf12=\EOn, kf13=\EOP, kf14=\EOQ,
4181166124Srafan	kf15=\EOR, kf16=\EOS, kf2=\EOr, kf26=\E[17~, kf27=\E[18~,
4182166124Srafan	kf28=\E[19~, kf29=\E[20~, kf3=\EOs, kf30=\E[21~,
4183166124Srafan	kf34=\E[26~, kf37=\E[31~, kf38=\E[32~, kf39=\E[33~,
4184166124Srafan	kf4=\EOt, kf40=\E[34~, kf5=\EOu, kf6=\EOv, kf7=\EOw,
4185166124Srafan	kf8=\EOx, kf9=\EOy, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
4186166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, rev=\E[0;7m,
4187166124Srafan	ri=\EM, rmacs=^O, rmcup=\E>, rmkx=\E>, rmso=\E[m, rmul=\E[m,
4188166124Srafan	rs2=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h, sc=\E7,
4189166124Srafan	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%;,
4190166124Srafan	sgr0=\E[m, smacs=^N, smcup=\E[?1l\E=, smkx=\E=,
4191166124Srafan	smso=\E[0;7m, smul=\E[0;4m, tbc=\E[3g,
4192166124Srafan# A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
4193166124Srafan# print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
4194166124Srafan# indicate that it emulates more than one terminal, but incompletely.
4195166124Srafan#
4196166124Srafan# This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
4197166124Srafan# It is based on vt102's entry, with some subtle differences, but also
4198166124Srafan#	has status line
4199166124Srafan#	supports ANSI colors (except for 'op' string)
4200166124Srafan#	apparently implements alternate screen like xterm
4201166124Srafan#	does not use padding, of course.
4202166124Srafanmvterm|vv100|SwitchTerm aka mvTERM,
4203166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
4204166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4205166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4206166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
4207166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4208166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4209166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4210166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4211166124Srafan	dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
4212166124Srafan	fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4213166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H,
4214166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOy,
4215166124Srafan	kf10=\EOx, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw,
4216166124Srafan	op=\E[100m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4217166124Srafan	rmcup=\E[2J\E[?47l\E8, rmkx=\E[?1l\E>, rmso=\E[m,
4218166124Srafan	rmul=\E[m,
4219166124Srafan	rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H,
4220166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4221166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4222166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h,
4223166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
4224166124Srafan	tsl=\E[?E\E[?%i%p1%dT, use=vt100+fnkeys,
4225166124Srafan
4226166124Srafan### MTERM
4227166124Srafan#
4228166124Srafan# This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
4229166124Srafan#
4230166124Srafan# "mterm -type ansi" sets $TERM to "ansi"
4231166124Srafanmterm-ansi|ANSI emulation,
4232166124Srafan	am, bw, mir, msgr,
4233166124Srafan	it#8,
4234166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4235166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
4236166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
4237166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
4238166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
4239166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J,
4240166124Srafan	el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=,
4241166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS,
4242166124Srafan	invis=\E[8m, is2=\E)0\017, kbs=^H, nel=\EE, rev=\E[7m,
4243166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmso=\E[27m,
4244166124Srafan	rmul=\E[24m,
4245166124Srafan	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%;,
4246166124Srafan	sgr0=\E[m, smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m,
4247166124Srafan	vpa=\E[%i%p1%dd,
4248166124Srafan# mterm normally sets $TERM to "mterm"
4249166124Srafanmterm|mouse-sun|Der Mouse term,
4250166124Srafan	am, bw, mir,
4251166124Srafan	it#8,
4252166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^N, cuf1=^S,
4253166124Srafan	cup=\006%p1%d.%p2%d., cuu1=^X, dch1=^Y, dl1=^K, ed=^B, el=^C,
4254166124Srafan	home=^P, ht=^I, il1=^A, ind=^U, kbs=^H, ll=^R, nel=^M^U, ri=^W,
4255166124Srafan	rmir=^O, rmso=^T, smir=^Q, smso=^V,
4256166124Srafan# "mterm -type decansi" sets $TERM to "decansi"
4257166124Srafan#
4258166124Srafan# note: kdch1, kfnd, kslt are in the source code, but do not work -TD
4259166124Srafandecansi|ANSI emulation with DEC compatibility hacks,
4260166124Srafan	am, mir, msgr, xenl,
4261166124Srafan	colors#8, it#8, pairs#64,
4262166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4263166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4264166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
4265166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
4266166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
4267166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4268166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
4269166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E(B\E)0,
4270166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich1=, il=\E[%p1%dL,
4271166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m,
4272166124Srafan	is2=\E)0\E[r\017, kbs=^H, kcub1=\EOD, kcud1=\EOB,
4273166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~,
4274166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
4275166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
4276166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
4277166124Srafan	kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~,
4278166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~,
4279166124Srafan	kpp=\E[5~, kslt=\E[4~, nel=\EE, op=\E[0m, rc=\E8, rev=\E[7m,
4280166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
4281166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, sc=\E7,
4282166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
4283166124Srafan	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%;,
4284166124Srafan	sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
4285166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR,
4286166124Srafan	u7=\E[6n, vpa=\E[%i%p1%dd,
4287166124Srafan
428850276Speter#### MGR
428950276Speter#
429050276Speter# MGR is a Bell Labs window system lighter-weight than X.
4291166124Srafan# These entries describe MGR's xterm-equivalent.
4292166124Srafan# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
429350276Speter#
429450276Speter
4295166124Srafanmgr|Bellcore MGR (non X) window system terminal emulation,
4296166124Srafan	am, km,
4297166124Srafan	bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M,
4298166124Srafan	csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er,
4299166124Srafan	cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h,
4300166124Srafan	dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>,
4301166124Srafan	dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u,
4302166124Srafan	ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>,
4303166124Srafan	il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B,
4304166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S,
4305166124Srafan	rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n,
4306166124Srafan	smul=\E4n,
4307166124Srafanmgr-sun|Mgr window with Sun keyboard,
4308166124Srafan	ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z,
4309166124Srafan	kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z,
4310166124Srafan	kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z,
4311166124Srafan	kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z,
4312166124Srafan	kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z,
4313166124Srafan	kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z,
4314166124Srafan	kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr,
4315166124Srafanmgr-linux|Mgr window with Linux keyboard,
4316166124Srafan	ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~,
4317166124Srafan	kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~,
4318166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D,
4319166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4320166124Srafan	khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr,
432150276Speter
432250276Speter######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
432350276Speter#
432450276Speter
4325166124Srafan# Columbus UNIX virtual terminal. This terminal also appears in
4326166124Srafan# UNIX 4.0 and successors as line discipline 1 (?), but is
432750276Speter# undocumented and does not really work quite right.
4328166124Srafancbunix|cb unix virtual terminal,
4329166124Srafan	OTbs, am, da, db,
4330166124Srafan	cols#80, lines#24, lm#0,
4331166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
4332166124Srafan	cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL,
4333166124Srafan	el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB,
4334166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A,
4335166124Srafan	smso=\Ea^D, smul=\Ea^A,
433650276Speter# (vremote: removed obsolete ":nl@:" -- esr)
4337166124Srafanvremote|virtual remote terminal,
4338166124Srafan	am@,
4339166124Srafan	cols#79, use=cbunix,
434050276Speter
4341166124Srafanpty|4bsd pseudo teletype,
4342166124Srafan	cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!,
4343166124Srafan	smso=\Ea$, smul=\Ea!, use=cbunix,
434450276Speter
4345166124Srafan# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
4346166124Srafaneterm|gnu emacs term.el terminal emulation,
4347166124Srafan	am, mir, xenl,
4348166124Srafan	cols#80, lines#24,
4349166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
4350166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4351166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4352166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4353166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4354166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
4355166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m,
4356166124Srafan	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
4357166124Srafan	sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
4358166124Srafan	smul=\E[4m,
435950276Speter
4360166124Srafan# Entries for use by the `screen' program by Juergen Weigert,
436162449Speter# Michael Schroeder, Oliver Laumann.  The screen and
436250276Speter# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
436350276Speter# come from University of Wisconsin and may be older.
436450276Speter# (screen: added <cnorm> on ANSI model -- esr)
436562449Speter#
436662449Speter# 'screen' defines extensions to termcap.  Some are used in its terminal
436762449Speter# description:
436862449Speter#      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
436962449Speter#      AX   (bool)  Does  understand ANSI set default fg/bg color
437062449Speter#                   (\E[39m / \E[49m).
437166963Speter#      S0   (str)   Switch charset 'G0' to the specified charset.
437266963Speter#      E0   (str)   Switch charset 'G0' back to standard charset.
437376726Speter#
437476726Speter# tested with screen 3.09.08
4375166124Srafanscreen|VT 100/ANSI X3.64 virtual terminal,
4376166124Srafan	OTbs, OTpt, am, km, mir, msgr, xenl, G0,
4377166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#64,
4378166124Srafan	acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4379166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
4380166124Srafan	clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M,
4381166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4382166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4383166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
4384166124Srafan	cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
4385166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
4386166124Srafan	flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4387166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z,
4388166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
4389166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
4390166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
4391166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
4392166124Srafan	khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
4393166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
4394166124Srafan	rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[23m,
4395166124Srafan	rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7,
4396166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
4397166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h,
4398166124Srafan	smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, E0=\E(B,
4399166124Srafan	S0=\E(%p1%c, use=ecma+color,
4400166124Srafan# The bce and status-line entries are from screen 3.9.13 (and require some
4401166124Srafan# changes to .screenrc).
4402166124Srafanscreen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
4403166124Srafan	bce, use=screen,
4404166124Srafanscreen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
4405166124Srafan	dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,
440650276Speter
4407166124Srafan# ======================================================================
4408166124Srafan# Entries for GNU Screen with 16 colors.
4409166124Srafan# Those variations permit to benefit from 16 colors palette, and from
4410166124Srafan# bold font and blink attribute separated from bright colors. But they
4411166124Srafan# are less portable than the generic "screen" 8 color entries: Their
4412166124Srafan# usage makes real sense only if the terminals you attach and reattach
4413166124Srafan# do all support 16 color palette.
4414166124Srafan
4415166124Srafanscreen-16color|GNU Screen with 16 colors,
4416166124Srafan	use=ibm+16color, use=screen,
4417166124Srafan
4418166124Srafanscreen-16color-s|GNU Screen with 16 colors and status line,
4419166124Srafan	use=ibm+16color, use=screen-s,
4420166124Srafan
4421166124Srafanscreen-16color-bce|GNU Screen with 16 colors and BCE,
4422166124Srafan	use=ibm+16color, use=screen-bce,
4423166124Srafan
4424166124Srafanscreen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line,
4425166124Srafan	bce, use=ibm+16color, use=screen-s,
4426166124Srafan
4427166124Srafan# ======================================================================
4428166124Srafan# Entries for GNU Screen 4.02 with --enable-colors256.
4429166124Srafan
4430166124Srafanscreen-256color|GNU Screen with 256 colors,
4431166124Srafan	ccc@,
4432166124Srafan	initc@, use=xterm+256color, use=screen,
4433166124Srafan
4434166124Srafanscreen-256color-s|GNU Screen with 256 colors and status line,
4435166124Srafan	ccc@,
4436166124Srafan	initc@, use=xterm+256color, use=screen-s,
4437166124Srafan
4438166124Srafanscreen-256color-bce|GNU Screen with 256 colors and BCE,
4439166124Srafan	ccc@,
4440166124Srafan	initc@, use=xterm+256color, use=screen-bce,
4441166124Srafan
4442166124Srafanscreen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line,
4443166124Srafan	bce, ccc@,
4444166124Srafan	initc@, use=xterm+256color, use=screen-s,
4445166124Srafan
4446166124Srafan# ======================================================================
4447166124Srafan
444876726Speter# Read the fine manpage:
444976726Speter#       When  screen  tries  to  figure  out  a  terminal name for
445076726Speter#       itself, it first looks for an entry named "screen.<term>",
445176726Speter#       where  <term>  is the contents of your $TERM variable.  If
445276726Speter#       no such entry exists, screen tries "screen" (or "screen-w"
445376726Speter#       if the terminal is wide (132 cols or more)).  If even this
445476726Speter#       entry cannot be found, "vt100" is used as a substitute.
445576726Speter#
4456178866Srafan# Notwithstanding the manpage, screen uses its own notion of the termcap
4457178866Srafan# and some keys from "screen.<term>" are ignored.  Here is an entry which
4458178866Srafan# covers those (tested with screen 4.00.02) -TD
4459178866Srafanscreen+fkeys|function-keys according to screen,
4460178866Srafan	kend=\E[4~, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kfnd@,
4461178866Srafan	khome=\E[1~, kslt@,
4462178866Srafan#
446376726Speter# Here are a few customized entries which are useful -TD
446476726Speter#
446576726Speter# Notes:
446676726Speter# (a)	screen does not support invis.
446776726Speter# (b)	screen's implementation of bw is incorrect according to tack.
446876726Speter# (c)	screen appears to hardcode the strings for khome/kend, making it
4469178866Srafan#	necessary to override the "use=" clause's values (screen+fkeys).
447076726Speter# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
447176726Speter#	which is NOT the same as the terminfo screen.<term>.
447276726Speter# (e)	when screen finds one of these customized entries, it sets $TERM to
447376726Speter#	match.  Hence, no "screen.xterm" entry is provided, since that would
447476726Speter#	create heartburn for people running remote xterm's.
447576726Speter#
447676726Speter#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
447776726Speter#	since the default translations override the built-in keycode
447876726Speter#	translation.  They are suppressed here to show what is tested by tack.
4479166124Srafanscreen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm,
4480166124Srafan	bce@, bw,
4481178866Srafan	invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
4482166124Srafan	sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
4483178866Srafan	use=screen+fkeys, use=xterm-new,
448476726Speter# xterm-r6 does not really support khome/kend unless it is propped up by
448576726Speter# the translations resource.
4486166124Srafanscreen.xterm-r6|screen customized for X11R6 xterm,
4487178866Srafan	bw, use=screen+fkeys, use=xterm-r6,
448876726Speter# Color applications running in screen and TeraTerm do not play well together
4489166124Srafan# on Solaris because Sun's curses implementation gets confused.
4490166124Srafanscreen.teraterm|disable ncv in teraterm,
4491166124Srafan	ncv#127,
4492166124Srafan	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,
4493178866Srafan	use=screen+fkeys, use=screen,
4494178866Srafan# Other terminals
4495178866Srafanscreen.rxvt|screen in rxvt,
4496178866Srafan	bw,
4497178866Srafan	cvvis@, flash@, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
4498178866Srafan	kcuu1=\EOA, use=screen+fkeys, use=vt100+enq,
4499178866Srafan	use=rxvt+pcfkeys, use=vt220+keypad, use=screen,
4500166124Srafan# fix the backspace key
4501166124Srafanscreen.linux|screen in linux console,
4502166124Srafan	bw,
4503178866Srafan	kbs=\177, kcbt@, use=screen+fkeys, use=screen,
4504184989Srafanscreen.mlterm|screen in mlterm,
4505184989Srafan	use=screen+fkeys, use=mlterm,
450676726Speter
4507166124Srafanscreen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
4508166124Srafan	cols#132, use=screen,
450950276Speter
4510166124Srafanscreen2|old VT 100/ANSI X3.64 virtual terminal,
4511166124Srafan	cols#80, it#8, lines#24,
4512166124Srafan	cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H,
4513166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
4514166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4515166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4516166124Srafan	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
4517166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
4518166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
4519166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
4520166124Srafan	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
4521166124Srafan	rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h,
4522166124Srafan	smso=\E[3m, smul=\E[4m, tbc=\E[3g,
452350276Speter# (screen3: removed unknown ":xv:LP:G0:" -- esr)
4524166124Srafanscreen3|older VT 100/ANSI X3.64 virtual terminal,
4525166124Srafan	km, mir, msgr,
4526166124Srafan	cols#80, it#8, lines#24,
4527166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
4528166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4529166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4530166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
4531166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
4532166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
4533166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD,
4534166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
4535166124Srafan	kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
4536166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec,
4537166124Srafan	sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m,
4538166124Srafan	smul=\E[4m, tbc=\E[3g,
453950276Speter
454050276Speter# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
454150276Speter# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
454250276Speter# been maintained until recently by the National Center for Supercomputer
454350276Speter# Applications, and it is feature rich, stable and free.  It can be downloaded
454450276Speter# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
454550276Speter# xterm+sl, and the docs at NCSA.  It works well.
454650276Speter#
454750276Speter# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
454850276Speter# The terminal options should be set as follows:
454950276Speter#         Xterm sequences ON
455050276Speter#         use VT wrap mode ON
455150276Speter#         use Emacs arrow keys OFF
455250276Speter#         CTRL-COMND is Emacs meta ON
455350276Speter#         8 bit mode ON
455450276Speter#         answerback string: "ncsa-vt220-8"
455550276Speter#         setup keys: all disabled
455650276Speter#
455756639Speter# Application mode is not used.
455850276Speter#
455950276Speter# Other special mappings:
456050276Speter#	Apple		VT220
456150276Speter#	HELP 		Find
456250276Speter#	HOME		Insert here
456350276Speter#	PAGEUP		Remove
456450276Speter#	DEL		Select
456550276Speter#	END		Prev Screen
456650276Speter#	PAGEDOWN	Next Screen
456750276Speter#
456850276Speter# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
456950276Speter# text.
457050276Speter#
457150276Speter# The status-line manipulation is a mapping of the xterm-compatible control
457250276Speter# sequences for setting the window-title.  So you must use tsl and fsl in
457350276Speter# pairs, since the latter ends the string that is loaded to the window-title.
4574166124Srafanncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4575166124Srafan	am, hs, km, mir, msgr, xenl,
4576166124Srafan	acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
4577166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
4578166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
4579166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
4580166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
4581166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
4582166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
4583166124Srafan	dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0,
4584166124Srafan	flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH,
4585166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/vt100,
4586166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>,
4587166124Srafan	is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H,
4588166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4589166124Srafan	kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~,
4590166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~,
4591166124Srafan	kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~,
4592166124Srafan	kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~,
4593166124Srafan	khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i,
4594166124Srafan	rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM,
4595166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l,
4596166124Srafan	rmso=\E[27m, rmul=\E[24m,
4597166124Srafan	rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7,
4598166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;,
4599166124Srafan	sgr0=\E[m\E(B, smacs=\E(0, smam=\E[?7h, smcup=\E7,
4600166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;,
4601166124Srafan	u8=\E[?62;1;6c, use=ansi+enq,
4602166124Srafanncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4603166124Srafan	use=ncsa-m, use=klone+color,
4604166124Srafanncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode,
4605166124Srafan	hs@,
4606166124Srafan	dsl@, fsl@, tsl@, use=ncsa,
4607166124Srafanncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode,
4608166124Srafan	hs@,
4609166124Srafan	dsl@, fsl@, tsl@, use=ncsa-m,
461056639Speter# alternate -TD:
461156639Speter# The documented function-key mapping refers to the Apple Extended Keyboard
461256639Speter# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
461356639Speter# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
461456639Speter# some keyboards and many applications require these as F1-F4.
461556639Speter#
4616166124Srafanncsa-vt220|NCSA Telnet using vt220-compatible function keys,
4617166124Srafan	kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
4618166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
4619166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ,
4620166124Srafan	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~,
4621166124Srafan	kf8=\E[19~, kf9=\E[20~, use=ncsa,
462250276Speter
462350276Speter#### Pilot Pro Palm-Top
462450276Speter#
462566963Speter# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4626166124Srafan# http://www.ai/~iang/TGssh/
4627166124Srafanpilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional,
4628166124Srafan	OTbs, am, xenl,
4629166124Srafan	cols#39, lines#16,
4630166124Srafan	bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J,
4631166124Srafan	cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I,
4632166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s,
4633166124Srafan	rmso=\EB, smso=\Eb,
463450276Speter
463597049Speter# From: Federico Bianchi <bianchi@www.arte.unipi.it>
463697049Speter# These entries are for the Embeddable Linux Kernel System (ELKS)
463797049Speter# project - an heavily stripped down Linux to be run on 16 bit
463897049Speter# boxes or, eventually, to be used in embedded systems - and have been
463997049Speter# adapted from the stock ELKS termcap. The project itself looks stalled,
464097049Speter# and the latest improvements I know of date back to March 2000.
464197049Speter#
464297049Speter# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
464397049Speter# as an added bonus, this deals with all the capabilities common to
464497049Speter# both VT52 and ANSI (or, eventually, "special") modes.
464597049Speter
4646166124Srafanelks-glasstty|ELKS glass-TTY capabilities,
4647166124Srafan	OTbs, am,
4648166124Srafan	cols#80, it#8, lines#25,
4649166124Srafan	bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
4650166124Srafan	nel=^M^J,
465197049Speter
4652166124Srafanelks-vt52|ELKS vt52 console,
4653166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
4654166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK,
4655166124Srafan	home=\EH, use=elks-glasstty,
465697049Speter
4657166124Srafanelks-ansi|ELKS ANSI console,
4658166124Srafan	clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
4659166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4660166124Srafan	rmso=\E[m, smso=\E[7m, use=elks-glasstty,
466197049Speter
466297049Speter# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
466397049Speter# instead of VT52, but the "elks" entry still refers to the latter.
466497049Speter
4665166124Srafanelks|default ELKS console,
4666166124Srafan	use=elks-vt52,
466797049Speter
466897049Speter# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
466997049Speter# one but in screen size
467097049Speter
4671166124Srafansibo|ELKS SIBO console,
4672166124Srafan	cols#61, it#8, lines#20, use=elks-vt52,
467397049Speter
467450276Speter######## COMMERCIAL WORKSTATION CONSOLES
467550276Speter#
467650276Speter
467750276Speter#### Alpha consoles
467850276Speter#
467950276Speter
468050276Speter# This is from the OSF/1 Release 1.0 termcap file
4681166124Srafanpccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation,
4682166124Srafan	am, xon,
4683166124Srafan	cols#80, lines#25,
4684166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4685166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
4686166124Srafan	el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H,
4687166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
4688166124Srafan	nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m,
468950276Speter
469050276Speter#### Sun consoles
469150276Speter#
469250276Speter
469350276Speter# :is1: resets scrolling region in case a previous user had used "tset vt100"
4694166124Srafanoldsun|Sun Microsystems Workstation console,
4695166124Srafan	OTbs, am, km, mir, msgr,
4696166124Srafan	cols#80, it#8, lines#34,
4697166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
4698166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4699166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4700166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4701166124Srafan	is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
4702166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
4703166124Srafan	rmso=\E[m, sgr0=\E[m, smso=\E[7m,
470450276Speter# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
470550276Speter# <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
470650276Speter# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
4707166124Srafansun-il|Sun Microsystems console with working insert-line,
4708166124Srafan	am, km, msgr,
4709166124Srafan	cols#80, lines#34,
4710166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4711166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
4712166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I,
4713166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
4714166124Srafan	kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4715166124Srafan	kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z,
4716166124Srafan	kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z,
4717166124Srafan	kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z,
4718166124Srafan	kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z,
4719166124Srafan	knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z,
4720166124Srafan	kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s,
4721166124Srafan	sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m, smso=\E[7m,
4722166124Srafan	u8=\E[1t, u9=\E[11t,
472362449Speter# On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
472462449Speter# flake out on the last line.  Unfortunately, without them the terminal has no
472562449Speter# way to scroll.
4726166124Srafansun-cgsix|sun-ss5|Sun SparcStation 5 console,
4727166124Srafan	il@, il1@, use=sun-il,
472850276Speter# If you are using an SS5, change the sun definition to use sun-ss5.
4729166124Srafansun|sun1|sun2|Sun Microsystems Inc. workstation console,
4730166124Srafan	use=sun-il,
473150276Speter
473250276Speter# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
4733166124Srafansun-s|Sun Microsystems Workstation window with status line,
4734166124Srafan	hs,
4735166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun,
4736166124Srafansun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs,
4737166124Srafan	hs,
4738166124Srafan	dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e,
4739166124Srafansun-48|Sun 48-line window,
4740166124Srafan	cols#80, lines#48, use=sun,
4741166124Srafansun-34|Sun 34-line window,
4742166124Srafan	cols#80, lines#34, use=sun,
4743166124Srafansun-24|Sun 24-line window,
4744166124Srafan	cols#80, lines#24, use=sun,
4745166124Srafansun-17|Sun 17-line window,
4746166124Srafan	cols#80, lines#17, use=sun,
4747166124Srafansun-12|Sun 12-line window,
4748166124Srafan	cols#80, lines#12, use=sun,
4749166124Srafansun-1|Sun 1-line window for sysline,
4750166124Srafan	eslok, hs,
4751166124Srafan	cols#80, lines#1,
4752166124Srafan	dsl=^L, fsl=\E[K, tsl=^M, use=sun,
4753166124Srafansun-e|sun-nic|sune|Sun Microsystems Workstation without insert character,
4754166124Srafan	ich1@, rmir@, smir@, use=sun,
4755166124Srafansun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history,
4756166124Srafan	lines#35,
4757166124Srafan	rmcup=\E[>4h, smcup=\E[>4l, use=sun,
4758166124Srafansun-type4|Sun Workstation console with type 4 keyboard,
4759166124Srafan	kcub1=\E[217z, kcud1=\E[221z, kcuf1=\E[219z,
4760166124Srafan	kcuu1=\E[215z, use=sun-il,
476150276Speter
4762166124Srafan# Most of the current references to sun-color are from users wondering why this
4763166124Srafan# is the default on install.  Details from reading the wscons manpage, adding
4764166124Srafan# cub, etc., here (rather than in the base sun-il entry) since it is not clear
4765166124Srafan# when those were added -TD
4766166124Srafansun-color|Sun Microsystems Workstation console with color support (IA systems),
4767166124Srafan	colors#8, pairs#64,
4768166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
4769166124Srafan	cuu=\E[%p1%dA, home=\E[H, op=\E[m\E[p, setab=\E[4%p1%dm,
4770166124Srafan	setaf=\E[3%p1%dm,
4771166124Srafan	setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4772166124Srafan	setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
4773166124Srafan	use=sun,
4774166124Srafan
477550276Speter#### Iris consoles
477650276Speter#
477750276Speter
477850276Speter# (wsiris: this had extension capabilities
477950276Speter#	:HS=\E7F2:HE=\E7F7:\
478050276Speter#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
4781166124Srafan# See the note on Iris extensions near the end of this file.
4782166124Srafan# Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> &
478350276Speter# <flash> from BRL -- esr)
4784166124Srafanwsiris|iris40|iris emulating a 40 line visual 50 (approximately),
4785166124Srafan	OTbs, OTnc, OTpt, am,
4786166124Srafan	OTkn#3, cols#80, it#8, lines#40,
4787166124Srafan	OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB,
4788166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
4789166124Srafan	cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK,
4790166124Srafan	flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL,
4791166124Srafan	ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB,
4792166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3,
4793166124Srafan	kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI,
4794166124Srafan	rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P,
4795166124Srafan	smul=\E7R2\E9P,
479650276Speter
479750276Speter#### NeWS consoles
479850276Speter#
479950276Speter# Console terminal windows under the NeWS (Sun's Display Postscript windowing
480050276Speter# environment).   Note: these have nothing to do with Sony's News workstation
480150276Speter# line.
480250276Speter#
480350276Speter
480450276Speter# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
480550276Speter# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
4806166124Srafanpsterm|psterm-basic|NeWS psterm-80x34,
4807166124Srafan	OTbs, am, hs, km, ul,
4808166124Srafan	cols#80, it#8, lines#34,
4809166124Srafan	blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;,
4810166124Srafan	cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY,
4811166124Srafan	dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl,
4812166124Srafan	home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D,
4813166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr,
4814166124Srafan	ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^],
4815166124Srafan	sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu,
4816166124Srafan	tsl=\EOl,
4817166124Srafanpsterm-96x48|NeWS psterm 96x48,
4818166124Srafan	cols#96, lines#48, use=psterm,
4819166124Srafanpsterm-90x28|NeWS psterm 90x28,
4820166124Srafan	cols#90, lines#28, use=psterm,
4821166124Srafanpsterm-80x24|NeWS psterm 80x24,
4822166124Srafan	cols#80, lines#24, use=psterm,
482350276Speter# This is a faster termcap for psterm.  Warning:  if you use this termcap,
482450276Speter# some control characters you type will do strange things to the screen.
482550276Speter# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
4826166124Srafanpsterm-fast|NeWS psterm fast version (flaky ctrl chars),
4827166124Srafan	OTbs, am, hs, km, ul,
4828166124Srafan	cols#80, it#8, lines#34,
4829166124Srafan	blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;,
4830166124Srafan	cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y,
4831166124Srafan	dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I,
4832166124Srafan	il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
4833166124Srafan	kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni,
4834166124Srafan	rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi,
4835166124Srafan	smso=^Oo, smul=^Ou, tsl=^Ol,
483650276Speter
483750276Speter#### NeXT consoles
483850276Speter#
483950276Speter# Use `glasstty' for the Workspace application
484050276Speter#
484150276Speter
484250276Speter# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
4843166124Srafannext|NeXT console,
4844166124Srafan	am, xt,
4845166124Srafan	cols#80, it#8, lines#24,
4846166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
4847166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
4848166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
4849166124Srafan	rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m,
4850166124Srafannextshell|NeXT Shell application,
4851166124Srafan	am,
4852166124Srafan	cols#80,
4853166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H,
4854166124Srafan	kcud1=^J, nel=^M^J,
485550276Speter
485650276Speter#### Sony NEWS workstations
485750276Speter#
485850276Speter
485950276Speter# (news-unk: this had :KB=news: -- esr)
4860166124Srafannews-unk|SONY NEWS vt100 emulator common entry,
4861166124Srafan	OTbs, OTpt, am, xenl,
4862166124Srafan	cols#80,
4863166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
4864166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4865166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
4866166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I,
4867166124Srafan	if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L,
4868166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD,
4869166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP,
4870166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
4871166124Srafan	kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM,
4872166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4873166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7,
4874166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
487550276Speter#
487650276Speter# (news-29: this had :TY=ascii: --esr)
4877166124Srafannews-29,
4878166124Srafan	lines#29, use=news-unk,
487950276Speter# (news-29-euc: this had :TY=euc: --esr)
4880166124Srafannews-29-euc,
4881166124Srafan	use=news-29,
488250276Speter# (news-29-sjis: this had :TY=sjis: --esr)
4883166124Srafannews-29-sjis,
4884166124Srafan	use=news-29,
488550276Speter#
488650276Speter# (news-33: this had :TY=ascii: --esr)
4887166124Srafannews-33,
4888166124Srafan	lines#33, use=news-unk,
488950276Speter# (news-33-euc: this had :TY=euc: --esr)
4890166124Srafannews-33-euc,
4891166124Srafan	use=news-33,
489250276Speter# (news-33-sjis: this had :TY=sjis: --esr)
4893166124Srafannews-33-sjis,
4894166124Srafan	use=news-33,
489550276Speter#
489650276Speter# (news-42: this had :TY=ascii: --esr)
4897166124Srafannews-42,
4898166124Srafan	lines#42, use=news-unk,
489950276Speter# (news-42-euc: this had :TY=euc: --esr)
4900166124Srafannews-42-euc,
4901166124Srafan	use=news-42,
490250276Speter# (news-42-sjis: this had :TY=sjis: --esr)
4903166124Srafannews-42-sjis,
4904166124Srafan	use=news-42,
490550276Speter#
4906166124Srafan#	NEWS-OS old termcap entry
490750276Speter#
490850276Speter# (news-old-unk: this had :KB=news:TY=sjis: --esr)
4909166124Srafannews-old-unk|SONY NEWS vt100 emulator common entry,
4910166124Srafan	OTbs, OTpt, am, xenl,
4911166124Srafan	cols#80, vt#3,
4912166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
4913166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
4914166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
4915166124Srafan	home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H,
4916166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
4917166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM,
4918166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
4919166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
4920166124Srafan	sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
492150276Speter#
492250276Speter# (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
4923166124Srafannwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
4924166124Srafan	OTbs,
4925166124Srafan	lines#40,
4926166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4927166124Srafan	use=news-old-unk,
492850276Speter#
492950276Speter# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4930166124Srafannwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line,
4931166124Srafan	lines#42,
4932166124Srafan	is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8,
4933166124Srafan	use=news-old-unk,
493450276Speter#
493550276Speter# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
4936166124Srafannwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
4937166124Srafan	OTbs,
4938166124Srafan	lines#40,
4939166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8,
4940166124Srafan	use=news-old-unk,
494150276Speter#
494250276Speter# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4943166124Srafannwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines,
4944166124Srafan	OTbs,
4945166124Srafan	lines#31,
4946166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4947166124Srafan	use=news-old-unk,
494850276Speter#
494950276Speter# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
495050276Speter# also the alias vt100-bm.
4951166124Srafannwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines,
4952166124Srafan	OTbs,
4953166124Srafan	lines#33,
4954166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8,
4955166124Srafan	use=news-old-unk,
495650276Speter#
495750276Speter# (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
4958166124Srafannwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines,
4959166124Srafan	OTbs,
4960166124Srafan	lines#31,
4961166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8,
4962166124Srafan	use=news-old-unk,
496350276Speter#
496450276Speter# (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
4965166124Srafannews28|sony vt100 emulator 28 lines,
4966166124Srafan	OTbs,
4967166124Srafan	lines#28,
4968166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8,
4969166124Srafan	use=news-old-unk,
497050276Speter#
497150276Speter# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
4972166124Srafannews29|news28-a|sony vt100 emulator 29 lines,
4973166124Srafan	lines#29,
4974166124Srafan	is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8,
4975166124Srafan	use=news-old-unk,
497650276Speter#
497750276Speter# (news511: this had :TY=sjis: --esr)
4978166124Srafannwp511|nwp-511|nwp-511 vt100,
4979166124Srafan	OTbs, OTpt, am, xenl,
4980166124Srafan	cols#80, lines#24,
4981166124Srafan	clear=\E[;H\E[2J$<20/>, cuf1=\E[C,
4982166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M,
4983166124Srafan	ed=\E[J$<30/>, el=\E[K$<3/>,
4984166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
4985166124Srafan	il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D,
4986166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
4987166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H,
4988166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
4989166124Srafan	rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h,
4990166124Srafan	smso=\E[7m$<2/>, smul=\E[4m$<2/>,
499150276Speter# (news517: this had :TY=sjis:. --esr)
4992166124Srafannwp517|nwp-517|nwp-517 vt200 80 cols 30 rows,
4993166124Srafan	eslok, hs,
4994166124Srafan	cols#80, lines#30,
4995166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
4996166124Srafan	is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
4997166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
499850276Speter# (news517-w: this had :TY=sjis:. --esr)
4999166124Srafannwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows,
5000166124Srafan	eslok, hs,
5001166124Srafan	cols#132, lines#50,
5002166124Srafan	OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$},
5003166124Srafan	is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
5004166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h,
5005166124Srafan	tsl=\E[1$}\E[;%df, use=vt200,
500650276Speter
500750276Speter#### Common Desktop Environment
500850276Speter#
500950276Speter
501050276Speter# This ships with Sun's CDE in Solaris 2.5
501150276Speter# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
5012166124Srafandtterm|CDE desktop terminal,
5013166124Srafan	am, mir, msgr, xenl, xon,
5014166124Srafan	cols#80, it#8, lines#24, lm#0, ncv@,
5015166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
5016166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5017166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
5018166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
5019166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
5020166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5021166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
5022166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
5023166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H,
5024166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
5025166124Srafan	ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l,
5026166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5027166124Srafan	kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
5028166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
5029166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
5030166124Srafan	kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~,
5031166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5032166124Srafan	kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
5033166124Srafan	kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
5034166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m,
5035166124Srafan	sc=\E7,
5036166124Srafan	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%;,
5037166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
5038166124Srafan	smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color,
503950276Speter
504050276Speter#### Non-Unix Consoles
504150276Speter#
504250276Speter
5043166124Srafan### EMX termcap.dat compatibility modes
5044166124Srafan#
5045166124Srafan# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
5046166124Srafan#		ka1,kh		kcuu1		kpp,ka3
5047166124Srafan#
5048166124Srafan#		Left=\0K	5=\0L		Right=\0M
5049166124Srafan#		kcub1		kb2		kcuf1
5050166124Srafan#
5051166124Srafan#		End=\0O		Down=\0P	NxPag=\0Q
5052166124Srafan#		kc1,kend	kcud1		kc3,knp
5053166124Srafan#
5054166124Srafan#		Ins=\0R		Del=\0S
5055166124Srafan#		kich1		kdch1
5056166124Srafan#
5057166124Srafan# On keyboard with 12 function keys,
5058166124Srafan#	shifted f-keys: F13-F24
5059166124Srafan#	control f-keys: F25-F36
5060166124Srafan#	alt f-keys:     F37-F48
5061166124Srafan# The shift/control/alt keys do not modify each other, but alt overrides both,
5062166124Srafan# and control overrides shift.
5063166124Srafan#
5064166124Srafan# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
5065166124Srafan# no_color_video to inform the application that standout(1), underline(2)
5066166124Srafan# reverse(4) and invisible(64) don't work with color.
5067166124Srafanemx-base|DOS special keys,
5068166124Srafan	bce, bw,
5069166124Srafan	it#8, ncv#71,
5070166124Srafan	bel=^G, ka1=\0G, ka3=\0I, kb2=\0L, kbs=^H, kc1=\0O, kc3=\0Q,
5071166124Srafan	kcbt=\0^O, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H,
5072166124Srafan	kdch1=\0S, kend=\0O, kf1=\0;, kf10=\0D, kf11=\0\205,
5073166124Srafan	kf12=\0\206, kf13=\0T, kf14=\0U, kf15=\0V, kf16=\0W,
5074166124Srafan	kf17=\0X, kf18=\0Y, kf19=\0Z, kf2=\0<, kf20=\0[, kf21=\0\\,
5075166124Srafan	kf22=\0], kf23=\0\207, kf24=\0\210, kf25=\0\^, kf26=\0_,
5076166124Srafan	kf27=\0`, kf28=\0a, kf29=\0b, kf3=\0=, kf30=\0c, kf31=\0d,
5077166124Srafan	kf32=\0e, kf33=\0f, kf34=\0g, kf35=\0\211, kf36=\0\212,
5078166124Srafan	kf37=\0h, kf38=\0i, kf39=\0j, kf4=\0>, kf40=\0k, kf41=\0l,
5079166124Srafan	kf42=\0m, kf43=\0n, kf44=\0o, kf45=\0p, kf46=\0q,
5080166124Srafan	kf47=\0\213, kf48=\0\214, kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B,
5081166124Srafan	kf9=\0C, khome=\0G, kich1=\0R, knp=\0Q, kpp=\0I,
5082166124Srafan	use=ansi.sys,
5083166124Srafan
508450276Speter# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
508550276Speter# a Unix-style environment used on OS/2.  (Note that the suffix makes some
508650276Speter# names longer than 14 characters, the nominal maximum).
508750276Speter#
508850276Speter# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
5089166124Srafanansi-emx|ANSI.SYS color,
5090166124Srafan	am, bce, eo, mir, msgr, xon,
5091166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
5092166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5093166124Srafan	clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H,
5094166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
5095166124Srafan	dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l,
5096166124Srafan	home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J,
5097166124Srafan	kb2=\E[G, kbs=^H, kf0=\0D, kll=\0O, kspd=^Z, nel=^M^J,
5098166124Srafan	rev=\E[5;37;41m, rmir=\E[4l, rmpch=\E[10m,
5099166124Srafan	rmso=\E[0;44m\E[1;33m, rmul=\E[0;44m\E[1;33m, rs1=\Ec,
5100166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5101166124Srafan	sgr0=\E[0m\E[1;33;44m, smir=\E[4h, smpch=\E[11m,
5102166124Srafan	smso=\E[0;31;47m, smul=\E[1;31;44m, tbc=\E[3g, u8=\E[?6c,
5103166124Srafan	u9=\E[c, use=emx-base,
5104166124Srafan# nice colors for Emacs (white on blue, mode line white on cyan)
5105166124Srafanansi-color-2-emx|ANSI.SYS color 2,
5106166124Srafan	clear=\E[0;37;44m\E[H\E[J, rev=\E[1;37;46m,
5107166124Srafan	rmso=\E[0;37;44m, rmul=\E[0;37;44m, rs1=\Ec,
5108166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smso=\E[1;37;46m,
5109166124Srafan	smul=\E[1;36;44m, use=ansi-emx,
5110166124Srafan# nice colors for Emacs (white on black, mode line black on cyan)
5111166124Srafanansi-color-3-emx|ANSI.SYS color 3,
5112166124Srafan	clear=\E[0;37;40m\E[H\E[J, rev=\E[1;37;46m,
5113166124Srafan	rmso=\E[0;37;40m, rmul=\E[0;37;40m, rs1=\Ec,
5114166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[0;10m, smso=\E[1;37;46m,
5115166124Srafan	smul=\E[0;36;40m, use=ansi-emx,
5116166124Srafanmono-emx|stupid monochrome ansi terminal with only one kind of emphasis,
5117166124Srafan	am,
5118166124Srafan	cols#80, it#8, lines#24,
5119166124Srafan	clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
5120166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
5121166124Srafan	ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M,
5122166124Srafan	kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>,
5123166124Srafan	kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G,
5124166124Srafan	kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m,
5125166124Srafan	sgr0=\E[0m,
512650276Speter
512756639Speter# Use this for cygwin32 (tested with beta 19.1)
512856639Speter# underline is colored bright magenta
512956639Speter# shifted kf1-kf12 are kf11-kf22
5130166124SrafancygwinB19|ansi emulation for cygwin32,
5131166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5132166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5133166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5134166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5135166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5136166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5137166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@,
5138166124Srafan	use=ansi.sys,
513956639Speter
514076726Speter# Use this for cygwin (tested with version 1.1.0).
514176726Speter# I've combined pcansi and linux.  Some values of course were different and
514276726Speter# I've indicated which of these were and which I used.
514376726Speter# Cheers, earnie_boyd@yahoo.com
514476726Speter# several changes based on running with tack and comparing with older entry -TD
5145166124Srafan# more changes from csw:
5146166124Srafan#   add    cbt   [backtab]
5147166124Srafan#   remove eo    [erase overstrike with blank]
5148166124Srafan#   change clear was \E[H\E[J  now \E[2J  (faster?)
5149166124Srafan#   remove cols
5150166124Srafan#   remove lines
5151166124Srafan#   remove ncv#3 [colors collide with highlights, bitmask] not applicable
5152166124Srafan#                to MSDOS box?
5153166124Srafan#   add    cub   [cursor back param]
5154166124Srafan#   add    cuf   [cursor forward param]
5155166124Srafan#   add    cuu   [cursor up param]
5156166124Srafan#   add    cud   [cursor down param]
5157166124Srafan#   add    hs    [has status line]
5158166124Srafan#   add    fsl   [return from status line]
5159166124Srafan#   add    tsl   [go to status line]
5160166124Srafan#   add    smacs [Start alt charset] (not sure if this works)
5161166124Srafan#   add    rmacs [End alt charset]   (ditto)
5162166124Srafan#   add    smcup [enter_ca_mode] (save console; thanks Corinna)
5163166124Srafan#   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
5164166124Srafan#   add    kb2   [center of keypad]
5165166124Srafan#   add    u8    [user string 8] \E[?6c
5166166124Srafan#   add    el    [clear to end of line] \E[K
5167166124Srafan# Notes:
5168166124Srafan#   cnorm [make cursor normal] not implemented
5169166124Srafan#   flash [flash] not implemented
5170166124Srafan#   blink [blink] not implemented very usefully in cygwin? \E[5m
5171166124Srafan#   dim   [dim] not implemented very usefully in cygwin? \E[2m
5172166124Srafan#   cub1  [cursor back 1] typically \E[D, but ^H is faster?
5173166124Srafan#   kNXT  [shifted next key] not implemented
5174166124Srafan#   kPRV  [shifted prev key] not implemented
5175166124Srafan#   khome [home key] really is \E[1~ NOT \E[H
5176166124Srafan#   tbc   [clear tab stops] not implemented
5177166124Srafan#   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
5178166124Srafan#   smpch [Start PC charset] is \E[11m, same as smacs
5179166124Srafan#   rmpch [End PC charset] is \E[10m, same as rmacs
5180166124Srafan#   mir   [move in insert mode] fails in tack?
5181166124Srafan#   bce   [back color erase] causes problems with change background color?
5182166124Srafan#   cvvis [make cursor very visible] causes a stackdump when testing with
5183166124Srafan#         testcurs using the output option? \E[?25h\E[?8c
5184166124Srafan#   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
5185166124Srafan#   ech   [erase characters param] broken \E[%p1%dX
5186166124Srafan#   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
5187166124Srafan#
5188166124Srafan# 2005/11/12 -TD
5189166124Srafan#	Remove cbt since it does not work in current cygwin
5190166124Srafan#	Add 'mir' and 'in' flags based on tack
5191166124Srafancygwin|ansi emulation for Cygwin,
5192166124Srafan	am, hs, mir, msgr, xon,
5193166124Srafan	colors#8, it#8, pairs#64,
5194166124Srafan	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,
5195166124Srafan	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD,
5196166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5197166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5198166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5199166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, fsl=^G, home=\E[H,
5200166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
5201166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G,
5202166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5203166124Srafan	kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
5204166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
5205166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
5206166124Srafan	kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D,
5207166124Srafan	kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5208166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z,
5209166124Srafan	nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
5210166124Srafan	rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l,
5211166124Srafan	rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
5212166124Srafan	sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5213166124Srafan	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,
5214166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h,
5215166124Srafan	smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];,
5216166124Srafan	vpa=\E[%i%p1%dd, use=vt102+enq,
521776726Speter
5218166124Srafan# I've supplied this so that you can help test new values and add other
5219166124Srafan# features.  Cheers, earnie_boyd@yahoo.com.
5220166124Srafan#
5221166124Srafan# Some features are from pcansi.  The op value is from linux.  Function-keys
5222166124Srafan# are from linux.  These have been tested not to cause problems.  xenl was in
5223166124Srafan# this list, but DOES cause problems so it has been removed
5224166124SrafancygwinDBG|Debug Version for Cygwin,
5225166124Srafan	am, eo, mir, msgr, xon,
5226166124Srafan	colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
5227166124Srafan	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,
5228166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
5229166124Srafan	cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
5230166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5231166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5232166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
5233166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
5234166124Srafan	flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
5235166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5236166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
5237166124Srafan	kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5238166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
5239166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
5240166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
5241166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
5242166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5243166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5244166124Srafan	knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
5245166124Srafan	rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
5246166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5247166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5248166124Srafan	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,
5249166124Srafan	sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
5250166124Srafan	smul=\E[4m, tbc=\E[2g, vpa=\E[%i%p1%dd, use=vt102+enq,
5251166124Srafan
5252166124Srafan# Key definitions:
5253166124Srafan# The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
5254166124Srafan# encodings used by other x86 environments.  All others are invented for DJGPP.
5255166124Srafan# Oddly enough, while several combinations of modifiers are tabulated, there is
5256166124Srafan# none for shifted cursor keys.
5257166124Srafan#
5258166124Srafan#	F1			\E[[A
5259166124Srafan#	F2			\E[[B
5260166124Srafan#	F3			\E[[C
5261166124Srafan#	F4			\E[[D
5262166124Srafan#	F5			\E[[E
5263166124Srafan#	F6			\E[17~
5264166124Srafan#	F7			\E[18~
5265166124Srafan#	F8			\E[19~
5266166124Srafan#	F9			\E[20~
5267166124Srafan#	F10			\E[21~
5268166124Srafan#	F11			\E[23~
5269166124Srafan#	F12			\E[24~
5270166124Srafan#
5271166124Srafan#	Delete			\E[3~
5272166124Srafan#	Down Arrow		\E[B
5273166124Srafan#	End			\E[4~
5274166124Srafan#	Home			\E[1~
5275166124Srafan#	Insert			\E[2~
5276166124Srafan#	Left Arrow		\E[D
5277166124Srafan#	Page Down		\E[6~
5278166124Srafan#	Page Up			\E[5~
5279166124Srafan#	Right Arrow		\E[C
5280166124Srafan#	Up Arrow		\E[A
5281166124Srafan#
5282166124Srafan#	Shift-F1		\E[25~
5283166124Srafan#	Shift-F2		\E[26~
5284166124Srafan#	Shift-F3		\E[27~
5285166124Srafan#	Shift-F4		\E[28~
5286166124Srafan#	Shift-F5		\E[29~
5287166124Srafan#	Shift-F6		\E[30~
5288166124Srafan#	Shift-F7		\E[31~
5289166124Srafan#	Shift-F8		\E[32~
5290166124Srafan#	Shift-F9		\E[33~
5291166124Srafan#	Shift-F10		\E[34~
5292166124Srafan#	Shift-F11		\E[35~
5293166124Srafan#	Shift-F12		\E[36~
5294166124Srafan#
5295166124Srafan#	Ctrl-F1			\E[47~
5296166124Srafan#	Ctrl-F2			\E[48~
5297166124Srafan#	Ctrl-F3			\E[49~
5298166124Srafan#	Ctrl-F4			\E[50~
5299166124Srafan#	Ctrl-F5			\E[51~
5300166124Srafan#	Ctrl-F6			\E[52~
5301166124Srafan#	Ctrl-F7			\E[53~
5302166124Srafan#	Ctrl-F8			\E[54~
5303166124Srafan#	Ctrl-F9			\E[55~
5304166124Srafan#	Ctrl-F10		\E[56~
5305166124Srafan#	Ctrl-F11		\E[57~
5306166124Srafan#	Ctrl-F12		\E[58~
5307166124Srafan#
5308166124Srafan#	Ctrl-Delete		\E[43~
5309166124Srafan#	Ctrl-Down Arrow		\E[38~
5310166124Srafan#	Ctrl-End		\E[44~
5311166124Srafan#	Ctrl-Home		\E[41~
5312166124Srafan#	Ctrl-Insert		\E[42~
5313166124Srafan#	Ctrl-Left Arrow		\E[39~
5314166124Srafan#	Ctrl-Page Down		\E[46~
5315166124Srafan#	Ctrl-Page Up		\E[45~
5316166124Srafan#	Ctrl-Right Arrow	\E[40~
5317166124Srafan#	Ctrl-Up Arrow		\E[37~
5318166124Srafan#
5319166124Srafan#	Alt-F1			\E[59~
5320166124Srafan#	Alt-F2			\E[60~
5321166124Srafan#	Alt-F3			\E[61~
5322166124Srafan#	Alt-F4			\E[62~
5323166124Srafan#	Alt-F5			\E[63~
5324166124Srafan#	Alt-F6			\E[64~
5325166124Srafan#	Alt-F7			\E[65~
5326166124Srafan#	Alt-F8			\E[66~
5327166124Srafan#	Alt-F9			\E[67~
5328166124Srafan#	Alt-F10			\E[68~
5329166124Srafan#	Alt-F11			\E[79~
5330166124Srafan#	Alt-F12			\E[80~
5331166124Srafan#
5332166124Srafan#	Alt-Delete		\E[65~
5333166124Srafan#	Alt-Down Arrow		\E[60~
5334166124Srafan#	Alt-End			\E[66~
5335166124Srafan#	Alt-Home		\E[41~
5336166124Srafan#	Alt-Insert		\E[64~
5337166124Srafan#	Alt-Left Arrow		\E[61~
5338166124Srafan#	Alt-Page Down		\E[68~
5339166124Srafan#	Alt-Page Up		\E[67~
5340166124Srafan#	Alt-Right Arrow		\E[62~
5341166124Srafan#	Alt-Up Arrow		\E[59~
5342166124Srafan#
5343166124Srafan# Also:
5344166124Srafan#	Alt-A			\E[82~
5345166124Srafan#	Alt-B			\E[82~
5346166124Srafan#	Alt-C			\E[83~
5347166124Srafan#	Alt-D			\E[84~
5348166124Srafan#	Alt-E			\E[85~
5349166124Srafan#	Alt-F			\E[86~
5350166124Srafan#	Alt-G			\E[87~
5351166124Srafan#	Alt-H			\E[88~
5352166124Srafan#	Alt-I			\E[89~
5353166124Srafan#	Alt-J			\E[90~
5354166124Srafan#	Alt-K			\E[91~
5355166124Srafan#	Alt-L			\E[92~
5356166124Srafan#	Alt-M			\E[93~
5357166124Srafan#	Alt-N			\E[94~
5358166124Srafan#	Alt-O			\E[95~
5359166124Srafan#	Alt-P			\E[96~
5360166124Srafan#	Alt-Q			\E[97~
5361166124Srafan#	Alt-R			\E[98~
5362166124Srafan#	Alt-S			\E[99~
5363166124Srafan#	Alt-T			\E[100~
5364166124Srafan#	Alt-U			\E[101~
5365166124Srafan#	Alt-V			\E[102~
5366166124Srafan#	Alt-W			\E[103~
5367166124Srafan#	Alt-X			\E[104~
5368166124Srafan#	Alt-Y			\E[105~
5369166124Srafan#	Alt-Z			\E[106~
5370166124Srafandjgpp|ansi emulation for DJGPP alpha,
5371166124Srafan	am, bce, msgr, xhp, xon, xt,
5372166124Srafan	colors#8, it#8, pairs#64,
5373166124Srafan	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,
5374166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5375166124Srafan	clear=\E[H\E[J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD, cub1=^H,
5376166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
5377166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
5378166124Srafan	cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
5379166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
5380166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@,
5381166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5382166124Srafan	indn=\E[%p1%dS, invis=\E[8m, kbs=^H, kcub1=\E[D,
5383166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~,
5384166124Srafan	kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~,
5385166124Srafan	kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
5386166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
5387166124Srafan	khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=^M^J,
5388166124Srafan	op=\E[37;40m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m,
5389166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5390166124Srafan	sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%e;25%;%?%p6%t;1%;%?%p7%t;8%;m,
5391166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
5392166124Srafan
5393166124Srafandjgpp203|Entry for DJGPP 2.03,
5394166124Srafan	OTbs, am,
5395166124Srafan	cols#80, it#8, lines#25,
5396166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
5397166124Srafan	kcud1=^J, nel=^M^J,
5398166124Srafan
5399166124Srafandjgpp204|Entry for DJGPP 2.04,
5400166124Srafan	OTbs, am, AX,
5401166124Srafan	colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64,
5402166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v,
5403166124Srafan	clear=\E[H\E[2J, cnorm=\E[v, cr=^M, cub=\E[%p1%dD,
5404166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
5405166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5406166124Srafan	cuu1=\E[A, cvvis=\E[2v, dch=\E[%p1%dP, dch1=\E[P,
5407166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
5408166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
5409166124Srafan	il1=\E[L, ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbs=^H,
5410166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
5411166124Srafan	kdch1=\E[3~, kf0=\E[21~, kf1=\E[[A, kf10=\E[21~, kf2=\E[[B,
5412166124Srafan	kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
5413166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
5414166124Srafan	kll=\E[4~, knp=\E[6~, kpp=\E[5~, nel=^M^J, rev=\E[7m,
5415166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, setab=\E[4%p1%dm,
5416166124Srafan	setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
5417166124Srafan
5418166124Srafan# This is tested using U/Win's telnet.  Scrolling is omitted because it is
5419166124Srafan# buggy.  Another odd bug appears when displaying "~" in alternate character
5420166124Srafan# set (the emulator spits out error messages).  Compare with att6386 -TD
5421166124Srafanuwin|U/Win 3.2 console,
5422166124Srafan	am, eo, in, msgr, xenl, xon,
5423166124Srafan	colors#8, it#8, ncv#58, pairs#64,
5424166124Srafan	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,
5425166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
5426166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, cud1=^J,
5427166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
5428166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, ech=\E[%p1%dX,
5429166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH,
5430166124Srafan	ich=\E[%p1%d@, ich1=\E[@, kbs=^H, kcub1=\E[D, kcud1=\E[B,
5431166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[Y, kf1=\EOP,
5432166124Srafan	kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR,
5433166124Srafan	kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX,
5434166124Srafan	khome=\E[H, kich1=\E[@, nel=^M^J, op=\E[39;49m, rc=\E8,
5435166124Srafan	rev=\E[7m, rmacs=\E[10m, rmir=\E[4l, rmpch=\E[10m,
5436166124Srafan	rmso=\E[27m, rmul=\E[m, rs1=\Ec\E]R, sc=\E7,
5437166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m,
5438166124Srafan	smacs=\E[11m, smir=\E[4h, smpch=\E[11m, smso=\E[7m,
5439166124Srafan	smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
5440166124Srafan
544150276Speter# This entry fits the Windows NT console when the _POSIX_TERM environment
544250276Speter# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
544350276Speter# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
544450276Speter# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
544550276Speter# systems is not, and (surprise!) they match very well.
544650276Speter#
544750276Speter# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
544850276Speter# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
544950276Speter# are the installation instructions a pile of mind-numbing bureaucratese,
545050276Speter# but the termcap entry is actually broken and unusable as given; the :do:
545150276Speter# capability is misspelled "d".
545250276Speter#
5453166124Srafan# To use this, you need to a bunch of environment variables:
545450276Speter#
545550276Speter# SET _POSIX_TERM=on
545650276Speter# SET TERM=ansi
545750276Speter# SET TERMCAP=location of termcap file in POSIX file format
545850276Speter# which is case-sensitive.
545950276Speter# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
546050276Speter# SET TMP=//C/TEMP
546150276Speter#
546250276Speter# Important note: setting the TMP environment variable in POSIX style renders
546350276Speter# it incompatible with a lot of other applications, including Visual C++. So
546450276Speter# you should have a separate command window just for vi. All the other
5465166124Srafan# variables may be permanently set in the Control Panel\System applet.
546650276Speter#
546750276Speter# You can find out more about the restrictions of this facility at
546850276Speter# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
546950276Speter#
547050276Speter# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
5471166124Srafanansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode,
5472166124Srafan	am, bw, msgr,
5473166124Srafan	cols#80, it#8, lines#25,
5474166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
5475166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
5476166124Srafan	home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V,
5477166124Srafan	kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m,
5478166124Srafan	ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m,
547962449Speter# From: jew@venus.sunquest.com
548062449Speter# Date: 19 Feb 93 23:41:07 GMT
548162449Speter# Here's  a  combination of  ansi and  vt100 termcap
548262449Speter# entries   that  works  nearly   perfectly  for  me
548362449Speter# (Gateway 2000 Handbook and Microsoft Works 3.0):
5484166124Srafanpcmw|PC running Microsoft Works,
5485166124Srafan	am, xenl,
5486166124Srafan	cols#80, it#8, lines#24, vt#3,
5487166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
5488166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J,
5489166124Srafan	cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
5490166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
5491166124Srafan	ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H,
5492166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
5493166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>,
5494166124Srafan	rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100,
5495166124Srafan	ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
5496166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
5497166124Srafan	sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>,
5498166124Srafan	tbc=\E[3g$<2/>,
549950276Speter
5500166124Srafan# From: Federico Bianchi
5501166124Srafan# This is the entry for the OpenNT terminal.
5502166124Srafan# The ntconsole name is for backward compatability.
5503166124Srafan# This is for OpenNT 2.0 and later.
5504166124Srafan# Later OpenNT was renamed to Interix.
5505166124Srafan#
5506166124Srafan# Presently it is distributed by Microsoft as Services For Unix (SFU).
5507166124Srafan# The 3.5 beta contains ncurses 4.2 (that is header files and executables,
5508166124Srafan# the documentation dates from 1.9.9e) -TD
5509166124Srafan
5510166124Srafaninterix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
5511166124Srafan	am, bw, msgr,
5512166124Srafan	colors#8, cols#80, lines#25, ncv#3, pairs#64,
5513166124Srafan	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,
5514166124Srafan	bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD,
5515166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
5516166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
5517166124Srafan	cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
5518166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
5519166124Srafan	indn=\E[%p1%dS, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
5520166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[M, kend=\E[U, kf0=\EFA,
5521166124Srafan	kf1=\EF1, kf10=\EFA, kf11=\EFB, kf12=\EFC, kf13=\EFD,
5522166124Srafan	kf14=\EFE, kf15=\EFF, kf16=\EFG, kf17=\EFH, kf18=\EFI,
5523166124Srafan	kf19=\EFJ, kf2=\EF2, kf20=\EFK, kf21=\EFL, kf22=\EFM,
5524166124Srafan	kf23=\EFN, kf24=\EFO, kf25=\EFP, kf26=\EFQ, kf27=\EFR,
5525166124Srafan	kf28=\EFS, kf29=\EFT, kf3=\EF3, kf30=\EFU, kf31=\EFV,
5526166124Srafan	kf32=\EFW, kf33=\EFX, kf34=\EFY, kf35=\EFZ, kf36=\EFa,
5527166124Srafan	kf37=\EFb, kf38=\EFc, kf39=\EFd, kf4=\EF4, kf40=\EFe,
5528166124Srafan	kf41=\EFf, kf42=\EFg, kf43=\EFh, kf44=\EFi, kf45=\EFj,
5529166124Srafan	kf46=\EFk, kf47=\EFm, kf48=\EFn, kf49=\EFo, kf5=\EF5,
5530166124Srafan	kf50=\EFp, kf51=\EFq, kf52=\EFr, kf53=\EFs, kf54=\EFt,
5531166124Srafan	kf55=\EFu, kf56=\EFv, kf57=\EFw, kf58=\EFx, kf59=\EFy,
5532166124Srafan	kf6=\EF6, kf60=\EFz, kf61=\EF+, kf62=\EF-,
5533166124Srafan	kf63=\EF\014 kf64=\EF$, kf7=\EF7, kf8=\EF8, kf9=\EF9,
5534166124Srafan	kich1=\E[L, kll=\E[U, knp=\E[T, kpp=\E[S, ll=\E[U, nel=^M^J,
5535166124Srafan	op=\E[m, rc=\E[u, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT,
5536166124Srafan	rmcup=\E[2b\E[u\r\E[K, rmso=\E[m, rmul=\E[m, rs1=\Ec,
5537166124Srafan	sc=\E[s, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
5538166124Srafan	setb=\E[%p1%{40}%+%dm, setf=\E[%p1%{30}%+%dm,
5539166124Srafan	sgr0=\E[0m, smcup=\E[s\E[1b, smso=\E[1m, smul=\E[4m,
5540166124Srafan
5541166124Srafanopennt-35|ntconsole-35|OpenNT-term35 compatible with color,
5542166124Srafan	lines#35, use=opennt,
5543166124Srafan
5544166124Srafanopennt-50|ntconsole-50|OpenNT-term50 compatible with color,
5545166124Srafan	lines#50, use=opennt,
5546166124Srafan
5547166124Srafanopennt-60|ntconsole-60|OpenNT-term60 compatible with color,
5548166124Srafan	lines#60, use=opennt,
5549166124Srafan
5550166124Srafanopennt-100|ntconsole-100|OpenNT-term100 compatible with color,
5551166124Srafan	lines#100, use=opennt,
5552166124Srafan
5553166124Srafan# OpenNT wide terminals
5554166124Srafanopennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color,
5555166124Srafan	cols#125, use=opennt,
5556166124Srafan
5557166124Srafanopennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color,
5558166124Srafan	lines#35, use=opennt-w,
5559166124Srafan
5560166124Srafanopennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color,
5561166124Srafan	lines#50, use=opennt-w,
5562166124Srafan
5563166124Srafanopennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color,
5564166124Srafan	lines#60, use=opennt-w,
5565166124Srafan
5566166124Srafanopennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color,
5567166124Srafan	cols#132, use=opennt,
5568166124Srafan
5569166124Srafan# OpenNT terminals with no smcup/rmcup (names match termcap entries)
5570166124Srafaninterix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color,
5571166124Srafan	rmcup@, smcup@, use=opennt,
5572166124Srafan
5573166124Srafanopennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color,
5574166124Srafan	lines#35, use=opennt-nti,
5575166124Srafan
5576166124Srafanopennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color,
5577166124Srafan	lines#50, use=opennt-nti,
5578166124Srafan
5579166124Srafanopennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color,
5580166124Srafan	lines#60, use=opennt-nti,
5581166124Srafan
5582166124Srafanopennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color,
5583166124Srafan	lines#100, use=opennt-nti,
5584166124Srafan
558550276Speter######## COMMON TERMINAL TYPES
558650276Speter#
558750276Speter# This section describes terminal classes and maker brands that are still
558850276Speter# quite common, but have proprietary command sets not blessed by ANSI.
558950276Speter#
559050276Speter
559150276Speter#### Altos
559250276Speter#
559350276Speter# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
559450276Speter# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
559550276Speter# Acer has a web site at http://www.acer.com.
559650276Speter#
559750276Speter# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
559850276Speter# His comments suggest they were shipped with the system.
559950276Speter#
560050276Speter
560150276Speter# (altos2: had extension capabilities
560250276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
560350276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
560450276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
560550276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
560650276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
560750276Speter#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
560850276Speter#	:HL=^AP\r:SP=\E[i:\
560950276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
561050276Speter#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
561150276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
561250276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
561350276Speter# :sr: was given as a boolean-- esr)
5614166124Srafanaltos2|alt2|altos-2|altos II,
5615166124Srafan	cols#80, it#8, lines#24, xmc#0,
5616166124Srafan	clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C,
5617166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M,
5618166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
5619166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=^J,
5620166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r,
5621166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D,
5622166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r,
5623166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5624166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5625166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5626166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5627166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r,
5628166124Srafan	nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
5629166124Srafan	smam=\E[?7h, smso=\E[7m, smul=\E[4m,
563050276Speter# (altos3: had extension capabilities
563150276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
563250276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
563350276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
563450276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
563550276Speter#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
563650276Speter#	:HL=^AP\r:SP=\E[i:\
563750276Speter#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
5638166124Srafanaltos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V,
5639166124Srafan	blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2,
5640166124Srafanaltos4|alt4|altos-4|altos IV,
5641166124Srafan	use=wy50,
564250276Speter# (altos7: had extension capabilities:
564350276Speter#	:GG#0:GI=\EH8:GF=\EH7:\
564450276Speter#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
564550276Speter#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
564650276Speter#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
564750276Speter#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
564850276Speter# Comparison with the k* capabilities makes it obvious that the c* things are
564950276Speter# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
565050276Speter# also made this entry relative to adm12 in order to give it an <sgr>. The
565150276Speter# <invis> imported by use=adm+sgr may work, let me know. -- esr)
5652166124Srafanaltos7|alt7|altos VII,
5653166124Srafan	am, mir,
5654166124Srafan	cols#80, lines#24, xmc#0,
5655166124Srafan	acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt,
5656166124Srafan	clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
5657166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
5658166124Srafan	dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE,
5659166124Srafan	ind=^J, invis=\EG1,
5660166124Srafan	is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r,
5661166124Srafan	kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H,
5662166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r,
5663166124Srafan	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r,
5664166124Srafan	kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r,
5665166124Srafan	kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r,
5666166124Srafan	kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
5667166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r,
5668166124Srafan	knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej,
5669166124Srafan	rmir=\Er, smir=\Eq, use=adm+sgr,
5670166124Srafanaltos7pc|alt7pc|altos PC VII,
5671166124Srafan	kend=\ET, use=altos7,
567250276Speter
567350276Speter#### Hewlett-Packard (hp)
567450276Speter#
567550276Speter#	Hewlett-Packard
5676166124Srafan#	8000 Foothills Blvd
567750276Speter#	Roseville, CA 95747
567850276Speter#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
567950276Speter#	     1-(800)-633-3600	(General customer support)
568050276Speter#
568162449Speter#
568262449Speter# As of March 1998, HP no longer has any terminals in production.
5683166124Srafan# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
568462449Speter# supported (they still have parts). So are the 2392a and 2394a.
568562449Speter# See the WORKSTATION CONSOLES section for the 700s.
568662449Speter#
568750276Speter
568850276Speter# Generic HP terminal - this should (hopefully) work on any HP terminal.
5689166124Srafanhpgeneric|hp|hewlett-packard generic terminal,
5690166124Srafan	OTbs, OTpt, am, da, db, mir, xhp,
5691166124Srafan	cols#80, lines#24, lm#0, vt#6,
5692166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5693166124Srafan	cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM,
5694166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL,
5695166124Srafan	ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@,
5696166124Srafan	sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3,
5697166124Srafan	vpa=\E&a%p1%dY,
569850276Speter
5699166124Srafanhp110|hewlett-packard model 110 portable,
5700166124Srafan	lines#16, use=hpgeneric,
570150276Speter
5702166124Srafanhp+pfk+cr|hp function keys with CR,
5703166124Srafan	kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r,
5704166124Srafan	kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r,
570550276Speter
5706166124Srafanhp+pfk-cr|hp function keys w/o CR,
5707166124Srafan	kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev,
5708166124Srafan	kf8=\Ew,
570950276Speter
5710166124Srafan# The hp2621s use the same keys for the arrows and function keys,
5711166124Srafan# but not separate escape sequences. These definitions allow the
5712166124Srafan# user to use those keys as arrow keys rather than as function
571350276Speter# keys.
5714166124Srafanhp+pfk+arrows|hp alternate arrow definitions,
5715166124Srafan	kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@,
5716166124Srafan	kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r,
5717166124Srafan	kll=\Eq\r, kri=\Es\r,
571850276Speter
5719166124Srafanhp+arrows|hp arrow definitions,
5720166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
5721166124Srafan	kind=\ES, kll=\EF, kri=\ET,
572250276Speter
572350276Speter# Generic stuff from the HP 262x series
572450276Speter#
5725166124Srafanhp262x|HP 262x terminals,
5726166124Srafan	xhp,
5727166124Srafan	blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES,
5728166124Srafan	invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5729166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5730166124Srafan	kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET,
5731166124Srafan	krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
5732166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c,
5733166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD,
573450276Speter
573550276Speter# Note: no <home> on HPs since that homes to top of memory, not screen.
573650276Speter# Due to severe 2621 braindamage, the only way to get the arrow keys to
573750276Speter# transmit anything at all is to turn on the function key labels
573850276Speter# with <smkx>, and even then the user has to hold down shift!
5739166124Srafan# The default 2621 turns off the labels except when it has to to
5740166124Srafan# enable the function keys. If your installation prefers labels
5741166124Srafan# on all the time, or off all the time (at the "expense" of the
574250276Speter# function keys), use 2621-nl or 2621-wl.
5743166124Srafan#
5744166124Srafan# Note: there are newer ROMs for 2621's that allow you to set
5745166124Srafan# strap A so the regular arrow keys xmit \EA, etc, as with the
5746166124Srafan# 2645. However, even with this strap set, the terminal stops
574750276Speter# xmitting if you reset it, until you unset and reset the strap!
5748166124Srafan# Since there is no way to set/unset the strap with an escape
574950276Speter# sequence, we don't use it in the default.
575050276Speter# If you like, you can use 2621-ba (brain-damaged arrow keys).
5751166124Srafanhp2621-ba|2621 w/new rom and strap A set,
5752166124Srafan	rmkx@, smkx@, use=hp+arrows, use=hp2621,
575350276Speter
575450276Speter# hp2621 with function labels. Most of the time they are off,
575550276Speter# but inside vi, the function key labels appear. You have to
575650276Speter# hold down shift to get them to xmit.
5757166124Srafanhp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels,
5758166124Srafan	is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl,
5759166124Srafanhp2621-fl|hp 2621,
5760166124Srafan	xhp@, xon,
5761166124Srafan	pb#19200,
5762166124Srafan	cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>,
5763166124Srafan	ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@,
5764166124Srafan	sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD,
5765166124Srafan	use=hp+pfk+cr, use=hpgeneric,
576650276Speter
576750276Speter# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
5768166124Srafanhp2621p|hp 2621 with printer,
5769166124Srafan	mc4=\E&p13C, mc5=\E&p11C, use=hp2621,
577050276Speter
5771166124Srafanhp2621p-a|hp2621p with fn as arrows,
5772166124Srafan	use=hp+pfk+arrows, use=hp2621p,
577350276Speter
577450276Speter# hp2621 with k45 keyboard
5775166124Srafanhp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard,
5776166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
5777166124Srafan	khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621,
577850276Speter
5779166124Srafan# 2621 using all 48 lines of memory, only 24 visible at any time.
5780166124Srafanhp2621-48|48 line 2621,
5781166124Srafan	lines#48,
5782166124Srafan	cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR,
5783166124Srafan	use=hp2621,
578450276Speter
578550276Speter# 2621 with no labels ever. Also prevents vi delays on escape.
5786166124Srafanhp2621-nl|hp 2621 with no labels,
5787166124Srafan	kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@,
5788166124Srafan	use=hp2621-fl,
578950276Speter
5790166124Srafan# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
579150276Speter# (wrong).
579250276Speter#
5793166124Srafanhp2621-nt|hp 2621 w/no tabs,
5794166124Srafan	ht@, use=hp2621,
579550276Speter
579650276Speter# Hp 2624 B with 4 or 10 pages of memory.
5797166124Srafan#
5798166124Srafan# Some assumptions are made with this entry. These settings are
579950276Speter# NOT set up by the initialization strings.
5800166124Srafan#
580150276Speter# Port Configuration
580250276Speter# 	RecvPace=Xon/Xoff
580350276Speter# 	XmitPace=Xon/Xoff
580450276Speter# 	StripNulDel=Yes
5805166124Srafan#
580650276Speter# Terminal Configuration
580750276Speter# 	InhHndShk=Yes
580850276Speter# 	InhDC2=Yes
580950276Speter# 	XmitFnctn(A)=No
581050276Speter# 	InhEolWrp=No
5811166124Srafan#
581250276Speter# Note: the 2624 DOES have a true <home>, believe it or not!
5813166124Srafan#
5814166124Srafan# The 2624 has an "error line" to which messages can be sent.
581550276Speter# This is CLOSE to what is expected for a "status line". However,
5816166124Srafan# after a message is sent to the "error line", the next carriage
5817166124Srafan# return is EATEN and the "error line" is turned back off again!
581850276Speter# So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
5819166124Srafan#
5820166124Srafan# This entry supports emacs (and any other program that uses raw
5821166124Srafan# mode) at 4800 baud and less. I couldn't get the padding right
582250276Speter# for 9600.
582350276Speter#
582450276Speter# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
5825166124Srafanhp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B,
5826166124Srafan	da, db,
5827166124Srafan	lm#96,
5828166124Srafan	flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F,
5829166124Srafan	use=hp+labels, use=scrhp,
583050276Speter
5831166124Srafan# This hp2626 entry does not use any of the fancy windowing stuff
583250276Speter# of the 2626.
5833166124Srafan#
5834166124Srafan# Indeed, terminfo does not yet handle such stuff. Since changing
5835166124Srafan# any window clears memory, it is probably not possible to use
583650276Speter# this for screen opt.
5837166124Srafan#
5838166124Srafan# ed is incredibly slow most of the time - I am guessing at the
5839166124Srafan# exact padding. Since the terminal uses xoff/xon this is intended
5840166124Srafan# only for cost computation, so that the terminal will prefer el
584150276Speter# or even dl1 which is probably faster!
5842166124Srafan#
5843166124Srafan# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
5844166124Srafan# extra slow on the last line of the window.
5845166124Srafan#
584650276Speter# The padding probably should be changed.
584750276Speter#
5848166124Srafanhp2626|hp2626a|hp2626p|hp 2626,
5849166124Srafan	da, db,
5850166124Srafan	lm#0, pb#19200,
5851166124Srafan	ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>,
5852166124Srafan	is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr,
5853166124Srafan	use=hp+labels, use=scrhp,
585450276Speter
5855166124Srafan# This entry is for sysline. It allocates a 23 line window with
5856166124Srafan# a 115 line workspace for regular use, and a 1 line window for
585750276Speter# the status line.
5858166124Srafan#
585950276Speter# This assumes port 2 is being used.
586050276Speter# Turn off horizontal line, Create ws #1 with 115 lines,
586150276Speter# Create ws #2 with 1 line, Create window #1 lines 1-23,
586250276Speter# Create window #2 lines 24-24, Attach cursor to workspace #1.
586350276Speter# Note that this clears the tabs so it must be done by tset before
586450276Speter# it sets the tabs.
586550276Speter#
5866166124Srafanhp2626-s|hp 2626 using only 23 lines,
5867166124Srafan	eslok, hs,
5868166124Srafan	lines#23,
5869166124Srafan	fsl=\E&d@\E&w7f2p1I\E&w4f1I,
5870166124Srafan	is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r,
5871166124Srafan	tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626,
587250276Speter# Force terminal back to 24 lines after being 23.
5873166124Srafanhp2626-ns|hp 2626 using all 24 lines,
5874166124Srafan	is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r,
5875166124Srafan	use=hp2626,
587650276Speter# Various entries useful for small windows on 2626.
5877166124Srafanhp2626-12|hewlett-packard 2626 12 lines,
5878166124Srafan	lines#12, use=hp2626,
5879166124Srafanhp2626-12x40|hewlett-packard 2626 12 lines 40 columns,
5880166124Srafan	cols#40, lines#12, use=hp2626,
5881166124Srafanhp2626-x40|hewlett-packard 2626 40 columns,
5882166124Srafan	cols#40, use=hp2626,
5883166124Srafanhp2626-12-s|hewlett-packard 2626 11 lines plus status,
5884166124Srafan	lines#11, use=hp2626-s,
588550276Speter
588650276Speter#
588750276Speter# hp2627 color tubes from University of Wisconsin
588850276Speter#
5889166124Srafanhp2627a-rev|hp 2627 with reverse video colors,
5890166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5891166124Srafan	is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r,
5892166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@,
5893166124Srafan	smul=\E&dD\E&v1S, use=hp2621-nl,
5894166124Srafanhp2627a|hp 2627 color terminal with no labels,
5895166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5896166124Srafan	is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r,
5897166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S,
5898166124Srafan	rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S,
5899166124Srafan	use=hp2621-nl,
5900166124Srafanhp2627c|hp 2627 color (cyan) terminal with no labels,
5901166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J,
5902166124Srafan	is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r,
5903166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a,
590450276Speter
5905166124Srafan# hp2640a doesn't have the Y cursor addressing feature, and C is
590650276Speter# memory relative instead of screen relative, as we need.
590750276Speter#
5908166124Srafanhp2640a|hp 2640a,
5909166124Srafan	cup@, rmkx@, smkx@, use=hp2645,
591050276Speter
5911166124Srafanhp2640b|hp2644a|hp 264x series,
5912166124Srafan	rmkx@, smkx@, use=hp2645,
591350276Speter
591450276Speter# (hp2641a: removed unknown :gu: -- esr)
5915166124Srafanhp2641a|hp2645a|hp2647a|HP 264?A series BRL entry,
5916166124Srafan	am, da, db, mir, xhp,
5917166124Srafan	cols#80, lines#24,
5918166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
5919166124Srafan	cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM,
5920166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I,
5921166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J,
5922166124Srafan	is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
5923166124Srafan	rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB,
5924166124Srafan	vpa=\E&a%p1%2dY,
592550276Speter
592650276Speter# This terminal should be used at 4800 baud or less. It needs padding for
592750276Speter# plain characters at 9600, I guessed at an appropriate cr delay.  It really
592850276Speter# wants ^E/^F handshaking, but that doesn't work well even if you write
592950276Speter# software to support it.
5930166124Srafanhp2645|hp45|HP 2645 series,
5931166124Srafan	pb#9600,
5932166124Srafan	blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED,
5933166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
5934166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL,
5935166124Srafan	kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB,
5936166124Srafan	rmkx=\E&s0A,
5937166124Srafan	sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c,
5938166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric,
593950276Speter# You should use this terminal at 4800 baud or less.
5940166124Srafanhp2648|hp2648a|HP 2648a graphics terminal,
5941166124Srafan	clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>,
5942166124Srafan	dch1=\EP$<7>, ip=$<5>, use=hp2645,
594350276Speter
5944166124Srafan# The HP 150 terminal is a fairly vanilla HP terminal, with the
5945166124Srafan# clreol standout problem. It also has graphics capabilities and
594650276Speter# a touch screen, which we don't describe here.
5947166124Srafanhp150|hewlett packard Model 150,
5948166124Srafan	OTbs, use=hp2622,
594950276Speter
5950166124Srafan# HP 2382a terminals, "the little ones." They don't have any
5951166124Srafan# alternate character set support and sending out ^N/^O will
595250276Speter# leave the screen blank.
5953166124Srafanhp2382a|hp2382|hewlett packard 2382a,
5954166124Srafan	da, db,
5955166124Srafan	lh#1, lm#48,
5956166124Srafan	acsc@,
5957166124Srafan	pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
5958166124Srafan	rmacs@,
5959166124Srafan	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,
5960166124Srafan	sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp,
596150276Speter
5962166124Srafanhp2621-a|hp2621a-a|hp2621 with fn as arrows,
5963166124Srafan	use=hp+pfk+arrows, use=hp2621-fl,
596450276Speter
596550276Speter# newer hewlett packard terminals
596650276Speter
5967166124Srafannewhpkeyboard|generic entry for HP extended keyboard,
5968166124Srafan	kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
5969166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh,
5970166124Srafan	kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV,
5971166124Srafan	kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A,
5972166124Srafan	use=hp+pfk-cr,
597350276Speter
5974166124Srafannewhp|generic entry for new hewlett packard terminals,
5975166124Srafan	am, bw, mir, xhp, xon,
5976166124Srafan	cols#80, lines#24, pb#4800,
5977166124Srafan	acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x.,
5978166124Srafan	bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H,
5979166124Srafan	cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH,
5980166124Srafan	dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J,
5981166124Srafan	invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J,
5982166124Srafan	pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s,
5983166124Srafan	pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s,
5984166124Srafan	pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET,
5985166124Srafan	rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg,
5986166124Srafan	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%;,
5987166124Srafan	sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD,
5988166124Srafan	tbc=\E3, use=newhpkeyboard,
598950276Speter
5990166124Srafanmemhp|memory relative addressing for new HP ttys,
5991166124Srafan	vt#6,
5992166124Srafan	clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR,
5993166124Srafan	cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR,
5994166124Srafan	home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r,
5995166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp,
599650276Speter
5997166124Srafanscrhp|screen relative addressing for new HP ttys,
5998166124Srafan	clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC,
5999166124Srafan	cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC,
6000166124Srafan	cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR,
6001166124Srafan	home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA,
6002166124Srafan	mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp,
600350276Speter
600450276Speter# (hp+labels: added label values from a BRL termcap -- esr)
6005166124Srafanhp+labels|"standard" label info for new HP ttys,
6006166124Srafan	lh#2, lw#8, nlab#8,
6007166124Srafan	lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8,
6008166124Srafan	pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s,
6009166124Srafan	rmln=\E&j@, smln=\E&jB,
601050276Speter
6011166124Srafanhp+printer|"standard" printer info for HP ttys,
6012166124Srafan	ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C,
601350276Speter
601450276Speter
601550276Speter# The new hp2621b is kind of a cross between the old 2621 and the
6016166124Srafan# new 262x series of machines. It has dip-switched options.
6017166124Srafan# The firmware has a bug in it such that if you give it a null
601850276Speter# length label, the following character is eaten!
6019166124Srafanhp2621b|hp 2621b with old style keyboard,
6020166124Srafan	lh#1, lm#48, lw#8, nlab#8,
6021166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
6022166124Srafan	kind=\ET, kll=\EF, kri=\ES,
6023166124Srafan	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,
6024166124Srafan	smln=\E&jB, use=hp2621,
602550276Speter
6026166124Srafanhp2621b-p|hp 2621b with printer,
6027166124Srafan	use=hp+printer, use=hp2621b,
602850276Speter
602950276Speter# hp2621b - new 2621b with new extended keyboard
603050276Speter# these are closer to the new 26xx series than the other 2621b
6031166124Srafanhp2621b-kx|hp 2621b with extended keyboard,
6032166124Srafan	use=newhpkeyboard, use=hp2621b,
603350276Speter
6034166124Srafanhp2621b-kx-p|hp 2621b with new keyboard & printer,
6035166124Srafan	use=hp+printer, use=hp2621b-kx,
603650276Speter
603750276Speter# Some assumptions are made in the following entries.
603850276Speter# These settings are NOT set up by the initialization strings.
6039166124Srafan#
604050276Speter#    Port Configuration
604150276Speter# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
6042166124Srafan#
604350276Speter#    Terminal Configuration
604450276Speter# InhHndShk(G)=Yes	InhDC2(H)=Yes
604550276Speter# XmitFnctn(A)=No		InhEolWrp=No
604650276Speter#
6047166124Srafan#
604850276Speter# Hp 2622a & hp2623a display and graphics terminals
604950276Speter#
6050166124Srafanhp2622|hp2622a|hp 2622,
6051166124Srafan	da, db,
6052166124Srafan	lm#0, pb#19200,
6053166124Srafan	is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp,
605450276Speter
605550276Speter# The 2623 is a 2622 with extra graphics hardware.
6056166124Srafanhp2623|hp2623a|hp 2623,
6057166124Srafan	use=hp2622,
605850276Speter
6059166124Srafanhp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer,
6060166124Srafan	use=hp+printer, use=hp2624,
606150276Speter
606250276Speter# The hewlett packard B can have an optional extra 6 pages of memory.
6063166124Srafanhp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory,
6064166124Srafan	lm#240, use=hp2624,
606550276Speter
6066166124Srafanhp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer,
6067166124Srafan	lm#240, use=hp2624b-p,
606850276Speter
606950276Speter# Color manipulations for HP terminals
6070166124Srafanhp+color|hp with colors,
6071166124Srafan	ccc,
6072166124Srafan	colors#16, ncv#17, pairs#7,
6073166124Srafan	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,
6074166124Srafan	oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
6075166124Srafan	op=\E&v0S, scp=\E&v%p1%dS,
607650276Speter
607750276Speter# <is2> sets the screen to be 80 columns wide
6078166124Srafanhp2397a|hp2397|hewlett packard 2397A color terminal,
6079166124Srafan	is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color,
608050276Speter
6081166124Srafan#  HP 700/44 Setup parameters:
608250276Speter# Terminal Mode		HP-PCterm
608350276Speter# Inhibit Auto Wrap	NO
608450276Speter# Status Line		Host Writable
608550276Speter# PC Character Set	YES
608650276Speter# Twenty-Five Line Mode	YES
608750276Speter# XON/XOFF		@128 or 64 (sc)
608850276Speter# Keycode Mode 		NO   or YES (sc)
608950276Speter# Backspace Key		BS or BS/DEL
609050276Speter#
6091166124Srafan# <is2> 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
609250276Speter# \E\\? does not turn off keycode mode
609350276Speter# <smsc>	sets alternate start/stop; keycode on
6094166124Srafanhpansi|hp700|hewlett packard 700/44 in HP-PCterm mode,
6095166124Srafan	am, eo, xenl, xon,
6096166124Srafan	cols#80, lines#25,
6097166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
6098166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H,
6099166124Srafan	cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
6100166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
6101166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
6102166124Srafan	ind=^J,
6103166124Srafan	is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\,
6104166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
6105166124Srafan	kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
6106166124Srafan	kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~,
6107166124Srafan	kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~,
6108166124Srafan	kpp=\E[5~, rmam=\E[?7l,
6109166124Srafan	rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m,
6110166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
6111166124Srafan	smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m,
6112166124Srafan	smul=\E[4m, xoffc=g, xonc=e,
611350276Speter#
611450276Speter# (hp2392: copied <rmir> here from hpex -- esr)
6115166124Srafanhp2392|239x series,
6116166124Srafan	cols#80,
6117166124Srafan	cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r,
6118166124Srafan	kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r,
6119166124Srafan	kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV,
6120166124Srafan	rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY,
6121166124Srafan	use=hpsub,
612250276Speter
6123166124Srafanhpsub|hp terminals -- capability subset,
6124166124Srafan	am, da, db, mir, xhp, xon,
6125166124Srafan	lines#24,
6126166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6127166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC,
6128166124Srafan	ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J,
6129166124Srafan	is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB,
6130166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@,
6131166124Srafan	sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB,
613250276Speter
613350276Speter# hpex:
613450276Speter#	May be used for most 24 x 80 hp terminals,
6135166124Srafan# but has no padding added, so may allow runover in some terminals at high
6136166124Srafan# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
6137166124Srafan# hp98x5 terminal emulators or hp98x6 consoles.
6138166124Srafan# 	Adds xy-cursor addressing, vertical cursor addressing, home,
613950276Speter# last line, and underline capabilities.
614050276Speter#
614150276Speter# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
614250276Speter# moved <rmir> here from hpsub -- esr)
6143166124Srafanhpex|hp extended capabilites,
6144166124Srafan	cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H,
6145166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ,
6146166124Srafan	smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub,
614750276Speter
614850276Speter# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
6149166124Srafanhp2|hpex2|hewlett-packard extended capabilities newer version,
6150166124Srafan	am, da, db, mir, xhp,
6151166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0,
6152166124Srafan	bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
6153166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6154166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6155166124Srafan	il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6156166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6157166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6158166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6159166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6160166124Srafan	krmir=\ER, ktbc=\E3, meml=\El, memu=\Em,
6161166124Srafan	pfkey=\E&f%p1%dk%p2%l%dL%p2%s,
6162166124Srafan	pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s,
6163166124Srafan	pfx=\E&f2a%p1%dk%p2%l%dL%p2%s,
6164166124Srafan	pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A,
6165166124Srafan	rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6166166124Srafan	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%;,
6167166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB,
6168166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
616950276Speter
617050276Speter# HP 236 console
617150276Speter# From: <ddavis@ic.berkeley.edu>
6172166124Srafanhp236|hp236 internal terminal emulator,
6173166124Srafan	OTbs, am,
6174166124Srafan	cols#80, lines#24,
6175166124Srafan	clear=\EF, cnorm=\EDE, cub1=^H,
6176166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB,
6177166124Srafan	dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI,
6178166124Srafan	sgr0=\ECI, smso=\EBI,
617950276Speter
618050276Speter# This works on a hp300 console running Utah 4.3 BSD
618150276Speter# From: Craig Leres <leres@okeeffe.berkeley.edu>
6182166124Srafanhp300h|HP Catseye console,
6183166124Srafan	OTbs, am, da, db, mir, xhp,
6184166124Srafan	cols#128, lines#51, lm#0, xmc#0,
6185166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB,
6186166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6187166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I,
6188166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H,
6189166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh,
6190166124Srafan	rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@,
6191166124Srafan	smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3,
6192166124Srafan	vpa=\E&a%p1%dY,
619350276Speter# From: Greg Couch <gregc@ernie.berkeley.edu>
6194166124Srafanhp9837|hp98720|hp98721|HP 9000/300 workstations,
6195166124Srafan	OTbs, am, da, db, mir, xhp,
6196166124Srafan	cols#128, it#8, lines#46, lm#0,
6197166124Srafan	bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB,
6198166124Srafan	cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP,
6199166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6200166124Srafan	il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED,
6201166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6202166124Srafan	ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU,
6203166124Srafan	kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@,
6204166124Srafan	sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD,
6205166124Srafan	tbc=\E3, vpa=\E&a%p1%dY,
620650276Speter# HP 9845 desktop computer from BRL
620750276Speter# (hp9845: removed unknown capability :gu: -- esr)
6208166124Srafanhp9845|HP 9845,
6209166124Srafan	OTbs, am, da, db, eo, mir, xhp,
6210166124Srafan	cols#80, lines#21,
6211166124Srafan	OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY,
6212166124Srafan	cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK,
6213166124Srafan	if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@,
6214166124Srafan	smir=\EQ, smso=\E&dB,
621550276Speter# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
621650276Speter# (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
621750276Speter# added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
6218166124Srafanhp98550|hp98550a|HP 9000 Series 300 color console,
6219166124Srafan	OTbs, am, da, db, mir, xhp,
6220166124Srafan	cols#128, it#8, lines#49, lm#0,
6221166124Srafan	acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR,
6222166124Srafan	clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
6223166124Srafan	cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH,
6224166124Srafan	dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1,
6225166124Srafan	if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds,
6226166124Srafan	kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
6227166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep,
6228166124Srafan	kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
6229166124Srafan	khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF,
6230166124Srafan	knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ,
6231166124Srafan	rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@,
6232166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ,
6233166124Srafan	smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
623450276Speter# From: Victor Duchovni <vic@fine.princeton.edu>
623550276Speter# (hp700-wy: removed obsolete ":nl=^J:";
623650276Speter# replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
6237166124Srafanhp700-wy|HP700/41 emulating wyse30,
6238166124Srafan	OTbs, am, bw, mir, msgr,
6239166124Srafan	cols#80, it#8, lines#24, xmc#1,
6240166124Srafan	cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
6241166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6242166124Srafan	dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1,
6243166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>,
6244166124Srafan	is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI,
6245166124Srafan	kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY,
6246166124Srafan	kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K,
6247166124Srafan	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
6248166124Srafan	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
6249166124Srafan	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
6250166124Srafanhp70092|hp70092a|hp70092A|HP 700/92,
6251166124Srafan	am, da, db, xhp,
6252166124Srafan	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
6253166124Srafan	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
6254166124Srafan	bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H,
6255166124Srafan	cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA,
6256166124Srafan	dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I,
6257166124Srafan	hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED,
6258166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM,
6259166124Srafan	ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
6260166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ,
6261166124Srafan	kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET,
6262166124Srafan	krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER,
6263166124Srafan	rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@,
6264166124Srafan	sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB,
6265166124Srafan	smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
626650276Speter
6267166124Srafanbobcat|sbobcat|HP 9000 model 300 console,
6268166124Srafan	am, da, db, mir, xhp,
6269166124Srafan	cols#128, it#8, lines#47, xmc#0,
6270166124Srafan	cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
6271166124Srafan	cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP,
6272166124Srafan	dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I,
6273166124Srafan	il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
6274166124Srafan	kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER,
6275166124Srafan	rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ,
6276166124Srafan	smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>,
6277166124Srafangator-t|HP 9000 model 237 emulating extra-tall AAA,
6278166124Srafan	lines#94, use=gator,
6279166124Srafangator|HP 9000 model 237 emulating AAA,
6280166124Srafan	bw, km, mir, ul,
6281166124Srafan	cols#128, it#8, lines#47,
6282166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J,
6283166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM,
6284166124Srafan	dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>,
6285166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`,
6286166124Srafan	ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>,
6287166124Srafan	il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J,
6288166124Srafan	rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m,
6289166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6290166124Srafangator-52|HP 9000 model 237 emulating VT52,
6291166124Srafan	cols#128, lines#47, use=vt52,
6292166124Srafangator-52t|HP 9000 model 237 emulating extra-tall VT52,
6293166124Srafan	lines#94, use=gator-52,
629450276Speter
629550276Speter#### Honeywell-Bull
629650276Speter#
629750276Speter# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
629850276Speter#
629950276Speter
630050276Speter# Honeywell Bull terminal.  Its cursor and function keys send single
630150276Speter# control characters and it has standout/underline glitch.  Most programs
630250276Speter# do not like these features/bugs.  Visual bell is realized by flashing the
630350276Speter# "keyboard locked" LED.
6304166124Srafandku7003-dumb|Honeywell Bull DKU 7003 dumb mode,
6305166124Srafan	cols#80, lines#25,
6306166124Srafan	clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X,
6307166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K,
6308166124Srafan	flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y,
6309166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J,
6310166124Srafandku7003|Honeywell Bull DKU 7003 all features described,
6311166124Srafan	msgr,
6312166124Srafan	xmc#1,
6313166124Srafan	blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m,
6314166124Srafan	rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
6315166124Srafan	use=dku7003-dumb,
631650276Speter
631750276Speter#### Lear-Siegler (adm)
631850276Speter#
631950276Speter# These guys are long since out of the terminals business, but
632050276Speter# in 1995 many current terminals still have an adm type as one of their
632150276Speter# emulations (usually their stupidest, and usually labeled adm3, though
632250276Speter# these `adm3' emulations normally have adm3a+ capabilities).
632350276Speter#
6324166124Srafan# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
632550276Speter# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
632650276Speter# was being held to ground would trigger a send of the top line on the screen.
632750276Speter# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
632850276Speter# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
632950276Speter# for clearing up this point.)
633050276Speter
6331166124Srafanadm1a|adm1|lsi adm1a,
6332166124Srafan	am,
6333166124Srafan	cols#80, lines#24,
6334166124Srafan	bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6335166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^,
6336166124Srafan	ind=^J,
6337166124Srafanadm2|lsi adm2,
6338166124Srafan	OTbs, am,
6339166124Srafan	cols#80, lines#24,
6340166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6341166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6342166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J,
6343166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
634450276Speter# (adm3: removed obsolete ":ma=^K^P:" -- esr)
6345166124Srafanadm3|lsi adm3,
6346166124Srafan	OTbs, am,
6347166124Srafan	cols#80, lines#24,
6348166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J,
634950276Speter# The following ADM-3A switch settings are assumed for normal operation:
635050276Speter#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
635150276Speter#	CUR_CTL		LC_EN		AUTO_NL		FDX
635250276Speter# Other switches may be set for operator convenience or communication
635350276Speter# requirements.  I recommend
635450276Speter#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
635550276Speter#	ETX_OFF		EOT_OFF
635650276Speter# Most of these terminals required an option ROM to support lower case display.
635750276Speter# Open the case and look at the motherboard; if you see an open 24-pin DIP
635850276Speter# socket, you may be out of luck.
635950276Speter#
636050276Speter# (adm3a: some capabilities merged in from BRl entry -- esr)
6361166124Srafanadm3a|lsi adm3a,
6362166124Srafan	OTbs, am,
6363166124Srafan	cols#80, lines#24,
6364166124Srafan	OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H,
6365166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6366166124Srafan	cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L,
6367166124Srafan	kcuu1=^K, rs2=^N,
6368166124Srafanadm3a+|adm3a plus,
6369166124Srafan	kbs=^H, use=adm3a,
637050276Speter# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
6371166124Srafanadm5|lsi adm5,
6372166124Srafan	xmc#1,
6373166124Srafan	bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^,
6374166124Srafan	rmso=\EG, smso=\EG, use=adm3a+,
637550276Speter# A lot of terminals other than adm11s use these.  Wherever you see
637650276Speter# use=adm+sgr with some of its capabilities disabled, try the
637750276Speter# disabled ones.  They may well work but not have been documented or
637850276Speter# expressed in the using entry.  We'd like to cook up an <sgr> but the
637950276Speter# <rmacs>/<smacs> sequences of the using entries vary too much.
6380166124Srafanadm+sgr|adm style highlight capabilities,
6381166124Srafan	invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0,
6382166124Srafan	smso=\EG4, smul=\EG8,
638350276Speter# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
638450276Speter# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
638550276Speter# <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
638650276Speter# be ^Z, according to his entry.
638750276Speter# (adm11: <smul>=\EG4 was obviously erroneous because it also said
638850276Speter# <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
6389166124Srafanadm11|LSI ADM-11,
6390166124Srafan	OTbs, am, hs,
6391166124Srafan	OTkn#8, cols#80, lines#24,
6392166124Srafan	OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H,
6393166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6394166124Srafan	cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I,
6395166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6396166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6397166124Srafan	kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E),
6398166124Srafan	use=adm+sgr,
639950276Speter# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
640050276Speter# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
640150276Speter# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
640250276Speter# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
640350276Speter# <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
6404166124Srafan# via BRL.  That entry asserted <xmc#1>, but I've left that out because
640550276Speter# neither earlier nor later ADMSs have it -- esr)
640650276Speter#
640750276Speter# You will need to get into the supervisor setup before you can set
640850276Speter# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
640950276Speter# see a lot more setup options.
6410166124Srafan#
641150276Speter# While in supervisor setup you can also use following codes:
6412166124Srafan#
641350276Speter# Ctrl-P Personality character selections (configure for example what
641450276Speter#        arrow keys send, if I recall correctly)
641550276Speter# Ctrl-T tabs 1-80   use left&right to move and up to set and
641650276Speter# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
641750276Speter# Ctrl-B Binary setup (probably not needed. I think that everything can
641850276Speter#        be set using normal setup)
641950276Speter# Ctrl-A Answerback mode (enter answerback message)
642050276Speter# Ctrl-U User friendly mode (normal setup)
642150276Speter# Ctrl-D Defaults entire setup and function keys from EPROM tables
642250276Speter# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
642350276Speter# Ctrl-R Reads both setup and functions keys from NVM.
642450276Speter# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
6425166124Srafan#
642650276Speter# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
642750276Speter# RTS/CTS used nowadays with virtually every modem and computer. 19200
642850276Speter# bps works fine with hardware flow control.
6429166124Srafan#
643050276Speter# The following null-modem cable should fix this and enable you to use
643150276Speter# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
643250276Speter# set ADM-12+ for DTR handshaking from supervisor setup.
6433166124Srafan#
643450276Speter# PC Serial   ADM-12+
643550276Speter#  --------   -------
643650276Speter#         2 - 3
643750276Speter#         3 - 2
643850276Speter#         4 - 5
643950276Speter#         5 - 20
644050276Speter#       6,8 - 4
644150276Speter#         7 - 7
644250276Speter#        20 - 6,8
644350276Speter#
6444166124Srafanadm12|lsi adm12,
6445166124Srafan	OTbs, OTpt, am, mir,
6446166124Srafan	OTug#1, cols#80, it#8, lines#24,
6447166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6448166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6449166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
6450166124Srafan	is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1,
6451166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6452166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6453166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0,
6454166124Srafan	use=adm+sgr,
645550276Speter# (adm20: removed obsolete ":kn#7:" -- esr)
6456166124Srafanadm20|lear siegler adm20,
6457166124Srafan	OTbs, am,
6458166124Srafan	cols#80, it#8, lines#24,
6459166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L,
6460166124Srafan	cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW,
6461166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE,
6462166124Srafan	kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(,
6463166124Srafan	sgr0=\E(, smso=\E),
6464166124Srafanadm21|lear siegler adm21,
6465166124Srafan	xmc#1,
6466166124Srafan	bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET,
6467166124Srafan	ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H,
6468166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr,
6469166124Srafan	use=adm3a,
647050276Speter# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
647150276Speter# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
647250276Speter# removed bogus-looking \200 from before <cup>. -- esr)
6473166124Srafanadm22|lsi adm22,
6474166124Srafan	OTbs, am,
6475166124Srafan	cols#80, lines#24,
6476166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6477166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6478166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE,
6479166124Srafan	is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0,
6480166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r,
6481166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6482166124Srafan	kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
6483166124Srafan	lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E),
648450276Speter# ADM 31 DIP Switches
648550276Speter#
648650276Speter# This information comes from two versions of the manual for the
648750276Speter# Lear-Siegler ADM 31.
648850276Speter#
648950276Speter# Main board:
649050276Speter#                  rear of case
649150276Speter#   +-||||-------------------------------------+
649250276Speter#   + S1S2                              ||S    +
649350276Speter#   +                                   ||3    +
649450276Speter#   +                                          +
649550276Speter#   +                                ||S       +
649650276Speter#   +                                ||4       +
649750276Speter#   +                                          +
649850276Speter#   +                                          +
649950276Speter#   +                                          +
650050276Speter#   +                                          +
650150276Speter#   +                                          +
650250276Speter# +-+                                          +-+
650350276Speter# +                                              +
6504166124Srafan# +                               S5 S6 S7       +
650550276Speter# +                               == == ==       +
650650276Speter# +----------------------------------------------+
650750276Speter#            front of case (keyboard)
650850276Speter#
650950276Speter#  S1 - Data Rate - Modem
651050276Speter#  S2 - Data Rate - Printer
651150276Speter# ------------------------
651250276Speter# Data Rate   Setting
651350276Speter# -------------------
651450276Speter# 50          0 0 0 0
651550276Speter# 75          1 0 0 0
651650276Speter# 110         0 1 0 0
651750276Speter# 134.5       1 1 0 0
651850276Speter# 150         0 0 1 0
651950276Speter# 300         1 0 1 0
652050276Speter# 600         0 1 1 0
652150276Speter# 1200        1 1 1 0
652250276Speter# 1800        0 0 0 1
652350276Speter# 2000        1 0 0 1
652450276Speter# 2400        0 1 0 1
652550276Speter# 3600        1 1 0 1
652650276Speter# 4800        0 0 1 1
652750276Speter# 7200        1 0 1 1
652850276Speter# 9600        0 1 1 1
652950276Speter# x           1 1 1 1
653050276Speter#
653150276Speter# S3 - Interface/Printer/Attributes
653250276Speter# ---------------------------------
653350276Speter# Printer Busy Control
653450276Speter# sw1   sw2   sw3
653550276Speter# ---------------
653650276Speter# off   off   off   Busy not active, CD disabled
653750276Speter# off   off   on    Busy not active, CD enabled
653850276Speter# off   on    off   Busy active on J5-20, CD disabled
653950276Speter# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
654050276Speter# on    off   on    Busy active on J5-19, CD enabled
654150276Speter#
654250276Speter# sw4   Used in conjuction with S4 for comm interface control - Fact 0
654350276Speter#
654450276Speter# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
654550276Speter#
654650276Speter# sw6   ON enables printer BUSY active LOW - Factory Setting
654750276Speter#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
654850276Speter#
654950276Speter# sw7   ON - steady cursor - Factory Setting
655050276Speter#       OFF - blinking cursor
655150276Speter#
655250276Speter# sw8   ON causes selected attribute character to be displayed
655350276Speter#       OFF causes SPACE to be displayed instead - Factory Setting
655450276Speter#
655550276Speter# S4 - Interface
655650276Speter# --------------
655750276Speter# Modem Interface
655850276Speter# S3    S4    S4    S4    S4
655950276Speter# sw4   sw1   sw2   sw3   sw4
656050276Speter# ---------------------------
656150276Speter# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
656250276Speter#                               Current Loop disabled - Factory Setting
656350276Speter# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
656450276Speter#                               disabled
656550276Speter# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
656650276Speter#                               Current Loop Disabled
656750276Speter#
656850276Speter# sw5   ON disables dot stretching mode - Factory Setting
656950276Speter#       OFF enables dot stretching mode
657050276Speter# sw6   ON enables blanking function
657150276Speter#       OFF enables underline function - Factory Setting
657250276Speter# sw7   ON causes NULLS to be displayed as NULLS
657350276Speter#       OFF causes NULLS to be displayed as SPACES - Factory Setting
657450276Speter#
657550276Speter# S5 - Word Structure
657650276Speter# -------------------
657750276Speter# sw1   ON enables BREAK key - Factory Setting
657850276Speter#       OFF disables BREAK key
657950276Speter# sw2   ON selects 50Hz monitor refresh rate
658050276Speter#       OFF selects 60Hz monitor refresh rate - Factory Setting
658150276Speter#
658250276Speter# Modem Port Selection
658350276Speter# sw3   sw4   sw5
658450276Speter# ---------------
658550276Speter# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
658650276Speter# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
658750276Speter# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
658850276Speter# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
658950276Speter# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
659050276Speter# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
659150276Speter# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
659250276Speter# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
659350276Speter#
659450276Speter# sw6   ON  sends bit 8 a 1 (mark)
659550276Speter#       OFF sends bit 8 as 0 (space) - Factory Setting
659650276Speter# sw7   ON  selects Block Mode
659750276Speter#       OFF selects Conversation Mode - Factory Setting
659850276Speter# sw8   ON  selects Full Duplex operation
659950276Speter#       OFF selects Half Duplex operation - Factory Setting
660050276Speter#
660150276Speter# S6 - Printer
660250276Speter# ------------
660350276Speter# sw1, sw2, sw6, sw7   Reserved - Factory 0
660450276Speter#
660550276Speter# Printer Port Selection
660650276Speter# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
660750276Speter#
660850276Speter# sw8   ON   enables Printer Port
660950276Speter#       OFF disables Printer Port - Factory Setting
661050276Speter#
661150276Speter# S7 - Polling Address
661250276Speter# --------------------
661350276Speter# sw1-7 Establish ASCII character which designates terminal polling address
661450276Speter#       ON  = logic 0
661550276Speter#       OFF = logic 1 - Factory Setting
661650276Speter# sw8   ON   enables Polling Option
661750276Speter#       OFF disables Polling Option - Factory Setting
661850276Speter#
661950276Speter#
662050276Speter# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
662150276Speter#
662250276Speter# This adm31 entry uses underline as the standout mode.
662350276Speter# If the adm31 gives you trouble with standout mode, check the DIP switch in
662450276Speter# position 6, bank @c11, 25% from back end of the circuit board.  Should be
662550276Speter# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
662650276Speter# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
6627166124Srafanadm31|lsi adm31 with sw6 set for underline mode,
6628166124Srafan	OTbs, am, mir,
6629166124Srafan	cols#80, lines#24,
6630166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6631166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6632166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0,
6633166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
6634166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
6635166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0,
6636166124Srafan	rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1,
6637166124Srafanadm31-old|o31|old adm31,
6638166124Srafan	rmul@, smso=\EG4, smul@, use=adm31,
663950276Speter# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
6640166124Srafanadm36|LSI ADM36,
6641166124Srafan	OTbs, OTpt,
6642166124Srafan	OTkn#4,
6643166124Srafan	if=/usr/share/tabset/vt100,
6644166124Srafan	is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l,
6645166124Srafan	use=vt100,
664650276Speter# (adm42: removed obsolete ":ma=^K^P:" -- esr)
6647166124Srafanadm42|lsi adm42,
6648166124Srafan	OTbs, am,
6649166124Srafan	cols#80, lines#24,
6650166124Srafan	bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6651166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6652166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I,
6653166124Srafan	il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J,
6654166124Srafan	kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@,
6655166124Srafan	smir=\Eq, smul@, use=adm+sgr,
6656166124Srafan# The following termcap for the Lear Siegler ADM-42 leaves the
6657166124Srafan# "system line" at the bottom of the screen blank (for those who
665850276Speter# find it distracting otherwise)
6659166124Srafanadm42-ns|lsi adm-42 with no system line,
6660166124Srafan	cbt=\EI\EF \011, clear=\E;\EF \011,
6661166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011,
6662166124Srafan	dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011,
6663166124Srafan	el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011,
6664166124Srafan	smir=\Eq\EF \011, use=adm42,
666550276Speter# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
666650276Speter# The insert mode of this terminal is commented out because it's broken for our
666750276Speter# purposes in that it will shift the position of every character on the page,
666850276Speter# not just the cursor line!
666950276Speter# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
6670166124Srafanadm1178|1178|lsi adm1178,
6671166124Srafan	am,
6672166124Srafan	cols#80, lines#24, xmc#1,
6673166124Srafan	bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J,
6674166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6675166124Srafan	cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET,
6676166124Srafan	home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H,
6677166124Srafan	kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0,
6678166124Srafan	sgr0=\E), smso=\EG4, smul=\EG1,
667950276Speter
668050276Speter#### Prime
668150276Speter#
668250276Speter# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
668350276Speter# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
668450276Speter# Prime merged with ComputerVision in the late 1980s; you can reach them at:
668550276Speter#
668650276Speter#	ComputerVision Services
668750276Speter#	500 Old Connecticut Path
668850276Speter#	Framingham, Mass.
668950276Speter#
669050276Speter
669150276Speter# Standout mode is dim reverse-video.
6692166124Srafanpt100|pt200|wren|fenix|prime pt100/pt200,
6693166124Srafan	am, bw, mir, msgr,
6694166124Srafan	cols#80, it#8, lines#24,
6695166124Srafan	cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H,
6696166124Srafan	cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C,
6697166124Srafan	cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA,
6698166124Srafan	cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M,
6699166124Srafan	ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P,
6700166124Srafan	home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D,
6701166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J,
6702166124Srafan	rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m,
6703166124Srafan	sgr0=\E[m,
6704166124Srafan	smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q,
6705166124Srafan	smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m,
6706166124Srafanpt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode,
6707166124Srafan	cols#132,
6708166124Srafan	cup=\E[%i%p1%d;%p2%dH, use=pt100,
6709166124Srafanpt250|Prime PT250,
6710166124Srafan	rmso@, smso@, use=pt100,
6711166124Srafanpt250w|Prime PT250 in 132-column mode,
6712166124Srafan	rmso@, smso@, use=pt100w,
671350276Speter
671450276Speter#### Qume (qvt)
671550276Speter#
671650276Speter#	Qume, Inc.
671750276Speter#	3475-A North 1st Street
671850276Speter#	San Jose CA 95134
671950276Speter#	Vox: (800)-457-4447
672050276Speter#	Fax: (408)-473-1510
672150276Speter#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
672250276Speter#
672350276Speter# Qume was bought by Wyse, but still (as of early 1995) has its own support
672450276Speter# group and production division.
672550276Speter#
672650276Speter# Discontinued Qume models:
672750276Speter#
672850276Speter# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
672950276Speter# built to replace them, and a qvt119+ which was a 101+ with available wide
673050276Speter# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
673150276Speter# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
673250276Speter# ANSI-compatible terminals with the qvt323 and qvt61.
673350276Speter#
673450276Speter# Current Qume models (as of February 1995):
673550276Speter#
673650276Speter# All current Qume terminals have ANSI-compatible operation modes.
673750276Speter# Qume is still producing the qvt62, which features emulations for other
673850276Speter# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
673950276Speter# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
674050276Speter# with many emulations including Wyse370, Wyse 325, etc.  Their newest
674150276Speter# model is the qvt520, which is vt420-compatible.
674250276Speter#
674350276Speter# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
674450276Speter#
674550276Speter# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
674650276Speter# setup mode.  Shift-s should be a configuration save to NVRAM.
674750276Speter
6748166124Srafanqvt101|qvt108|qume qvt 101 and QVT 108,
6749166124Srafan	xmc#1, use=qvt101+,
675050276Speter
675150276Speter# This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
6752166124Srafan# file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked
675350276Speter# both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
675450276Speter# What seems to be going on here is that this entry was designed so that
675550276Speter# the normal highlight is bold and standout is dim plus something else
6756166124Srafan# (reverse-video maybe?  But then, are there two <rev> sequences?)
6757166124Srafanqvt101+|qvt101p|qume qvt 101 PLUS product,
6758166124Srafan	am, bw, hs, ul,
6759166124Srafan	cols#80, lines#24, xmc#0,
6760166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J,
6761166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
6762166124Srafan	dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
6763166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
6764166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H,
6765166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET,
6766166124Srafan	kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
6767166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
6768166124Srafan	khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(,
6769166124Srafan	smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6770166124Srafanqvt102|qume qvt 102,
6771166124Srafan	cnorm=\E., use=qvt101,
677250276Speter# (qvt103: added <rmam>/<smam> based on init string -- esr)
6773166124Srafanqvt103|qume qvt 103,
6774166124Srafan	am, xenl, xon,
6775166124Srafan	cols#80, it#8, lines#24, vt#3,
6776166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
6777166124Srafan	clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
6778166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
6779166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
6780166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
6781166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
6782166124Srafan	hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
6783166124Srafan	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8,
6784166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>,
6785166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>,
6786166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
6787166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
6788166124Srafan	sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=,
6789166124Srafan	smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
6790166124Srafanqvt103-w|qume qvt103 132 cols,
6791166124Srafan	cols#132, lines#24,
6792166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103,
6793166124Srafanqvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals,
6794166124Srafan	am, hs, mir, msgr,
6795166124Srafan	cols#80, lines#24, xmc#0,
6796166124Srafan	bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H,
6797166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
6798166124Srafan	cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey,
6799166124Srafan	el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I,
6800166124Srafan	hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX,
6801166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r,
6802166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
6803166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6804166124Srafan	mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8,
6805166124Srafan	tbc=\E3, tsl=\Eg\Ef, use=adm+sgr,
6806166124Srafanqvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines,
6807166124Srafan	lines#25, use=qvt119+,
6808166124Srafanqvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode,
6809166124Srafan	cols#132,
6810166124Srafan	is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+,
6811166124Srafanqvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25,
6812166124Srafan	lines#25, use=qvt119+,
6813166124Srafanqvt203|qvt203+|qume qvt 203 Plus,
6814166124Srafan	dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>,
6815166124Srafan	ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~,
6816166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
6817166124Srafan	kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103,
6818166124Srafanqvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video),
6819166124Srafan	cols#132, lines#24,
6820166124Srafan	rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203,
682150276Speter#
682250276Speter#	Since a command is present for enabling 25 data lines,
682350276Speter#	a specific terminfo entry may be generated for the 203.
682450276Speter#	If one is desired for the QVT 119 PLUS then 25 lines must
682550276Speter#	be selected in the status line (setup line 9).
682650276Speter#
6827166124Srafanqvt203-25|QVT 203 PLUS with 25 by 80 column mode,
6828166124Srafan	cols#80, lines#25,
6829166124Srafan	is2=\E[=40h\E[?3l, use=qvt203,
6830166124Srafanqvt203-25-w|QVT 203 PLUS with 25 by 132 columns,
6831166124Srafan	cols#132, lines#25,
6832166124Srafan	rs2=\E[?3h\E[=40h, use=qvt203,
683350276Speter
683450276Speter#### Televideo (tvi)
683550276Speter#
683650276Speter#	TeleVideo
683750276Speter#	550 East Brokaw Road
683850276Speter#	PO Box 49048    95161
683950276Speter#	San Jose CA 95112
684050276Speter#	Vox: (408)-954-8333
684150276Speter#	Fax: (408)-954-0623
684250276Speter#
684350276Speter#
6844166124Srafan# These require incredible amounts of padding.
684550276Speter#
684650276Speter# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
684750276Speter# Televideo terminals are ANSI and PC-ANSI compatible.
684850276Speter
6849166124Srafantvi803|televideo 803,
6850166124Srafan	clear=\E*$<10>, use=tvi950,
685150276Speter
685250276Speter# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
685350276Speter# Switch settings are:
6854166124Srafan#
685550276Speter# S1  1 2 3 4
685650276Speter#     D D D D  9600
685750276Speter#     D D D U    50
685850276Speter#     D D U D    75
685950276Speter#     D D U U   110
686050276Speter#     D U D D   135
686150276Speter#     D U D U   150
686250276Speter#     D U U D   300
686350276Speter#     D U U U   600
686450276Speter#     U D D D  1200
686550276Speter#     U D D U  1800
686650276Speter#     U D U D  2400
686750276Speter#     U D U U  3600
686850276Speter#     U U D D  4800
686950276Speter#     U U D U  7200
687050276Speter#     U U U D  9600
687150276Speter#     U U U U 19200
6872166124Srafan#
687350276Speter# S1  5 6 7 8
687450276Speter#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
687550276Speter#     U D X U  7N2
687650276Speter#     U U D D  7O1
687750276Speter#     U U D U  7O2
687850276Speter#     U U U D  7E1
687950276Speter#     U U U U  7E2
688050276Speter#     D D X D  8N1
688150276Speter#     D D X U  8N2
688250276Speter#     D U D D  8O1
688350276Speter#     D U U U  8E2
6884166124Srafan#
688550276Speter# S1  9  Autowrap
688650276Speter#     U  on
688750276Speter#     D  off
6888166124Srafan#
688950276Speter# S1 10  CR/LF
689050276Speter#     U  do CR/LF when CR received
689150276Speter#     D  do CR when CR received
6892166124Srafan#
689350276Speter# S2  1  Mode
689450276Speter#     U  block
689550276Speter#     D  conversational
6896166124Srafan#
689750276Speter# S2  2  Duplex
689850276Speter#     U  half
689950276Speter#     D  full
6900166124Srafan#
690150276Speter# S2  3  Hertz
690250276Speter#     U  50
690350276Speter#     D  60
6904166124Srafan#
690550276Speter# S2  4  Edit mode
690650276Speter#     U  local
690750276Speter#     D  duplex
6908166124Srafan#
690950276Speter# S2  5  Cursor type
691050276Speter#     U  underline
691150276Speter#     D  block
6912166124Srafan#
691350276Speter# S2  6  Cursor down key
691450276Speter#     U  send ^J
691550276Speter#     D  send ^V
6916166124Srafan#
691750276Speter# S2  7  Screen colour
691850276Speter#     U  green on black
691950276Speter#     D  black on green
6920166124Srafan#
692150276Speter# S2  8  DSR status (pin 6)
692250276Speter#     U  disconnected
692350276Speter#     D  connected
6924166124Srafan#
692550276Speter# S2  9  DCD status (pin 8)
692650276Speter#     U  disconnected
692750276Speter#     D  duplex
6928166124Srafan#
692950276Speter# S2 10  DTR status (pin 20)
693050276Speter#     U  disconnected
693150276Speter#     D  duplex
693250276Speter# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
693350276Speter# <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
6934166124Srafantvi910|televideo model 910,
6935166124Srafan	OTbs, am, msgr,
6936166124Srafan	cols#80, it#8, lines#24, xmc#1,
6937166124Srafan	bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6938166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
6939166124Srafan	home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I,
6940166124Srafan	if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H,
6941166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r,
6942166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
6943166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
6944166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
694550276Speter# From: Alan R. Rogers <rogers%albany@csnet-relay>
694650276Speter# as subsequently hacked over by someone at SCO
694750276Speter# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
694850276Speter#
694950276Speter# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
695050276Speter#
695150276Speter# S1  1 2 3 4:
695250276Speter#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
695350276Speter#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
695450276Speter#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
695550276Speter#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
695650276Speter#
695750276Speter# S1  5 6 7 8:
695850276Speter#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
695950276Speter#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
696050276Speter#     D U D D  8O1     D U U U  8E2
6961166124Srafan#
696250276Speter# S1  9  Autowrap            (U = on, D = off)
696350276Speter# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
696450276Speter# S2  1  Mode                (U = block, D = conversational)
696550276Speter# S2  2  Duplex              (U =  half, D = full)
696650276Speter# S2  3  Hertz               (U = 50, D = 60)
696750276Speter# S2  4  Edit mode           (U = local, D = duplex)
696850276Speter# S2  5  Cursor type         (U = underline, D = block)
696950276Speter# S2  6  Cursor down key     (U = send ^J, D = send ^V)
697050276Speter# S2  7  Screen colour       (U = green on black, D = black on green)
697150276Speter# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
697250276Speter# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
697350276Speter# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
697450276Speter#
6975166124Srafantvi910+|televideo 910+,
6976166124Srafan	dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>,
6977166124Srafan	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
6978166124Srafan	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
6979166124Srafan	ll=\E=7\s, use=tvi910,
698050276Speter
698150276Speter# (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
698250276Speter# <khome> from BRL entry -- esr)
6983166124Srafantvi912|tvi914|tvi920|old televideo 912/914/920,
6984166124Srafan	OTbs, OTpt, am, msgr,
6985166124Srafan	cols#80, it#8, lines#24, xmc#1,
6986166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
6987166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
6988166124Srafan	dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^,
6989166124Srafan	ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt,
6990166124Srafan	il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
6991166124Srafan	kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
6992166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
6993166124Srafan	kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El,
6994166124Srafan	tbc=\E3,
6995166124Srafan# We got some new tvi912c terminals that act really weird on the regular
6996166124Srafan# termcap, so one of our gurus worked this up. Seems that cursor
699750276Speter# addressing is broken.
6998166124Srafantvi912cc|tvi912 at cowell college,
6999166124Srafan	cup@, use=tvi912c,
700050276Speter
7001166124Srafan# tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
7002166124Srafan# From: Benjamin C. W. Sittler
700350276Speter#
7004166124Srafan# Someone has put a scanned copy of the manual online at:
7005166124Srafan#     http://vt100.net/televideo/912b-om/
7006166124Srafan#
7007166124Srafan# These terminals were produced ca. 1979, and had a 12" monochrome
7008166124Srafan# screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
7009166124Srafan# ASCII, and were generally similar to adm3a but with attributes
7010166124Srafan# (including some with magic cookies), fancy half-duplex mode, and
7011166124Srafan# different bugs.
7012166124Srafan#
7013166124Srafan# Some operations reqire truly incredible amounts of padding. The
7014166124Srafan# insert_line (<il1>) and delete_line (<dl1>) operations in particular
7015166124Srafan# are so slow as to be nearly unusable.
7016166124Srafan#
7017166124Srafan# There may or may not have been a separate, earlier series of 912/920
7018166124Srafan# terminals (without the "B" and "C" suffix); I have never seen one,
7019166124Srafan# and the manual only describes the "B" and "C" series. The 912 and 920
7020166124Srafan# are quite distinct from the 914 and 924, which were much nicer non-
7021166124Srafan# magic-cookie terminals similar to the 950.
7022166124Srafan#
7023166124Srafan# This is a new description for the following TeleVideo terminals,
7024166124Srafan# distinguished chiefly by their keyboards:
7025166124Srafan#
7026166124Srafan#   TVI-912B - very odd layout, no function keys (84 keys)
7027166124Srafan#   TVI-920B - typewriter layout, no function keys (103 keys)
7028166124Srafan#   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
7029166124Srafan#   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
7030166124Srafan#
7031166124Srafan# To choose a setting for the TERM variable, start with the model:
7032166124Srafan#
7033166124Srafan#    Model  || base name
7034166124Srafan# ----------||-----------
7035166124Srafan#  TVI-912B || tvi912b
7036166124Srafan#  TVI-912C || tvi912c
7037166124Srafan#  TVI-920B || tvi920b
7038166124Srafan#  TVI-920C || tvi920c
7039166124Srafan#
7040166124Srafan# Then add a suffix from the following table describing installed options
7041166124Srafan# and how you'd like to use the terminal:
7042166124Srafan#
7043166124Srafan#   Use Video | Second | Visual |  Magic  |  Page || feature
7044166124Srafan#  Attributes |  Page  |  Bell  | Cookies | Print || suffix
7045166124Srafan# ------------|--------|--------|---------|-------||---------
7046166124Srafan#      No     |   No   |  N/A   |   N/A   |   No  || -unk
7047166124Srafan#      No     |   No   |  N/A   |   N/A   |  Yes  || -p
7048166124Srafan#      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
7049166124Srafan#      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
7050166124Srafan#      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
7051166124Srafan#      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
7052166124Srafan#     Yes     |   No   |  N/A   |    No   |  N/A  ||
7053166124Srafan#     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
7054166124Srafan#     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
7055166124Srafan#     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
7056166124Srafan#     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
7057166124Srafan#     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
7058166124Srafan#
7059166124Srafan# So e.g. a model 920 C with second page memory option, visual bell
7060166124Srafan# and no magic cookies would be tvi920c-vb; a model 912 B without the
7061166124Srafan# second page memory option and using magic cookies would be
7062166124Srafan# tvi912b-mc
7063166124Srafan#
7064166124Srafan# PADDING
7065166124Srafan#
7066166124Srafan# At 9600 baud, the terminal is prone to overflow its input buffer
7067166124Srafan# during complex operations (insert/delete
7068166124Srafan# character/line/screen/page), and it does not signal this over the
7069166124Srafan# RS232 cable. The typical symptom of an overrun is that the terminal
7070166124Srafan# starts beeping, and output becomes garbled.
7071166124Srafan#
7072166124Srafan# The padding delays in this terminfo were derived using tack(1)
7073166124Srafan# running on a Linux box connected to a TVI-920C with a later-model
7074166124Srafan# (A49C1-style) ROM running at 9600 baud, so your mileage may
7075166124Srafan# vary. The numbers below seem to give the terminal enough time so
7076166124Srafan# that it doesn't overflow its input buffer and start losing
7077166124Srafan# characters.
7078166124Srafan#
7079166124Srafan# KEYS
7080166124Srafan#
7081166124Srafan# If you want to use the FUNCT key on a tvi912[bc], use the
7082166124Srafan# corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
7083166124Srafan# the following table (these also work on the 920 series):
7084166124Srafan#
7085166124Srafan# Unshifted Function Keys:
7086166124Srafan#
7087166124Srafan#  Key | capname|| Equivalent
7088166124Srafan# -----|--------||------------
7089166124Srafan#   F1 |  <kf1> || FUNCT + @
7090166124Srafan#   F2 |  <kf2> || FUNCT + A
7091166124Srafan#   F3 |  <kf3> || FUNCT + B
7092166124Srafan#   F4 |  <kf4> || FUNCT + C
7093166124Srafan#   F5 |  <kf5> || FUNCT + D
7094166124Srafan#   F6 |  <kf6> || FUNCT + E
7095166124Srafan#   F7 |  <kf7> || FUNCT + F
7096166124Srafan#   F8 |  <kf8> || FUNCT + G
7097166124Srafan#   F9 |  <kf9> || FUNCT + H
7098166124Srafan#  F10 | <kf10> || FUNCT + I
7099166124Srafan#  F11 | <kf11> || FUNCT + J
7100166124Srafan#
7101166124Srafan# Shifted Function Keys:
7102166124Srafan#
7103166124Srafan#  SHIFT + Key | capname|| Equivalent
7104166124Srafan# -------------|--------||------------
7105166124Srafan#   SHIFT + F1 | <kf12> || FUNCT + `
7106166124Srafan#   SHIFT + F2 | <kf13> || FUNCT + a
7107166124Srafan#   SHIFT + F3 | <kf14> || FUNCT + b
7108166124Srafan#   SHIFT + F4 | <kf15> || FUNCT + c
7109166124Srafan#   SHIFT + F5 | <kf16> || FUNCT + d
7110166124Srafan#   SHIFT + F6 | <kf17> || FUNCT + e
7111166124Srafan#   SHIFT + F7 | <kf18> || FUNCT + f
7112166124Srafan#   SHIFT + F8 | <kf19> || FUNCT + g
7113166124Srafan#   SHIFT + F9 | <kf20> || FUNCT + h
7114166124Srafan#  SHIFT + F10 | <kf21> || FUNCT + i
7115166124Srafan#  SHIFT + F11 | <kf22> || FUNCT + j
7116166124Srafan#
7117166124Srafan# PORTS AND SWITCH SETTINGS
7118166124Srafan#
7119166124Srafan# Here are the switch settings for the TVI-912B/TVI-920B and
7120166124Srafan# TVI-912C/TVI-920C:
7121166124Srafan#
712250276Speter# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
712350276Speter# 2: 9600	3: 4800		4: 2400		5: 1200
712450276Speter# 6:  600	7:  300		8:  150		9:   75
712550276Speter# 10: 110
712650276Speter#
712750276Speter# S2 UART/Terminal options:
712850276Speter# 		Up			Down
712950276Speter# 1:		Not used		Not allowed
713050276Speter# 2:	Alternate character set	  Standard character set
713150276Speter# 3:	    Full duplex		    Half duplex
713250276Speter# 4:	    50 Hz refresh	    60 Hz refresh
713350276Speter# 5:	      No parity		     Send parity
713450276Speter# 6:	     2 stop bits	     1 stop bit
713550276Speter# 7:	     8 data bits	     7 data bits
713650276Speter# 8:		Not used		Not allowed on Rev E or lower
713750276Speter# 9:	     Even parity	     Odd parity
713850276Speter# 10:	    Steady cursor	    Blinking cursor
713950276Speter# 	(On Rev E or lower, use W25 instead of switch 10.)
7140166124Srafan#
714150276Speter# S5 UART/Terminal options:
714250276Speter# 		Open			Closed
714350276Speter# 1:	P3-6 Not connected	DSR received on P3-6
714450276Speter# 2:	P3-8 Not connected	DCD received on P3-8
714550276Speter#
714650276Speter# 3 Open, 4 Open:		P3-20 Not connected
714750276Speter# 3 Open, 4 Closed:	DTR on when terminal is on
714850276Speter# 3 Closed, 4 Open:	DTR is connected to RTS
714950276Speter# 3 Closed, 4 Closed:	Not allowed
715050276Speter#
715150276Speter# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
715250276Speter# 		all data transmitted out of the modem port (P3) will also be
715350276Speter# 		transmitted out of the printer port (P4).
715450276Speter#
715550276Speter# 6 Open, 7 Open:		Not allowed
715650276Speter# 6 Open, 7 Closed:	20ma current loop input
715750276Speter# 6 Closed, 7 Open:	RS232 input
715850276Speter# 6 Closed, 7 Closed:	Not allowed
715950276Speter#
716050276Speter# Jumper options:
716150276Speter# If the jumper is installed, the effect will occur (the next time the terminal
716250276Speter# is switched on).
716350276Speter#
716450276Speter# S4/W31:	Enables automatic LF upon receipt of CR from
716550276Speter# 		remote or keyboard.
7166166124Srafan# S4/W32:	Enables transmission of EOT at the end of Send.  If not
716750276Speter# 		installed, a carriage return is sent.
716850276Speter# S4/W33:	Disables automatic carriage return in column 80.
7169166124Srafan# S4/W34:	Selects Page Print Mode as initial condition.  If not
717050276Speter# 		installed, Extension Mode is selected.
717150276Speter#
7172166124Srafan# NON-STANDARD CAPABILITIES
7173166124Srafan#
7174166124Srafan# Sending <u9> or <u7> returns a cursor position report in the format
7175166124Srafan# YX\r, where Y and X are as in <cup>. This format is described in
7176166124Srafan# <u8> and <u6>, but it's not clear how one should write an
7177166124Srafan# appropriate scanf string, since we need to subtract %' ' from the
7178166124Srafan# character after reading it. The <u9> capability is used by tack(1)
7179166124Srafan# to synchronize during padding tests, and seems to work for that
7180166124Srafan# purpose.
7181166124Srafan#
7182166124Srafan# This description also includes the obsolete termcap capabilities
7183166124Srafan# has_hardware_tabs (<OTpt>) and backspaces_with_bs (<OTbs>).
7184166124Srafan#
7185166124Srafan# FEATURES NOT YET DESCRIBED IN THIS TERMINFO
7186166124Srafan#
7187166124Srafan# The FUNCT modifier actually works with every normal key by sending
7188166124Srafan# ^AX\r, where X is the sequence normally sent by that key. This is a
7189166124Srafan# sort of meta key not currently describable in terminfo.
7190166124Srafan#
7191166124Srafan# There are quite a few other keys (especially on the 920 models,) but
7192166124Srafan# they are for the most part only useful in block mode.
7193166124Srafan#
7194166124Srafan# These terminals have lots of forms manipulation features, mainly
7195166124Srafan# useful in block mode, including "clear X to nulls" (vs. "clear X to
7196166124Srafan# spaces"; nulls are sentinels for "send X" operations); "send X"
7197166124Srafan# operations for uploading all or part of the screen; and block-mode
7198166124Srafan# editing keys (they don't send escape sequences, but manipulate video
7199166124Srafan# memory directly). Block mode is used for local editing, and protect
7200166124Srafan# mode (in conjunction with the "write protect" attribute,
7201166124Srafan# a.k.a. half-intensity outside of protect mode) is used to control
7202166124Srafan# which parts of the screen are edited/sent/printed (by <mc0>).
7203166124Srafan#
7204166124Srafan# There are at least two major families of ROM, "early" and
7205166124Srafan# A49B1/A49C1; the major difference seems to be that the latter ROMs
7206166124Srafan# support a few extra escape sequences for manipulating the off-screen
7207166124Srafan# memory page, and for sending whole pages back to the host (mainly
7208166124Srafan# useful in block mode.) The descriptions in this file don't use any
7209166124Srafan# of those sequences: set cursor position including page (\E-PYX,
7210166124Srafan# where P is \s for page 0 and ! for page 1 [actually only the LSB of
7211166124Srafan# P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
7212166124Srafan# as in <cup>); read cursor position (\E/), which is analogous to <u9>
7213166124Srafan# and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
7214166124Srafan# are as in <cup>, and some "send page" features mainly useful for
7215166124Srafan# forms manipulation.
7216166124Srafan#
7217166124Srafan# The keyboard enable (\E") and disable (\E#) sequences are unused,
7218166124Srafan# except that a terminal reset (<is2>) enables the keyboard.
7219166124Srafan#
7220166124Srafan# Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
7221166124Srafan# enabled in <is2>, but auto-flip is very jarring so we don't use it.
7222166124Srafan#
7223166124Srafan# BUGS
7224166124Srafan#
7225166124Srafan# At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
7226166124Srafan# sequences (I infer that in some TeleVideo terminal they may invert
7227166124Srafan# and uninvert the display) so the <flash> sequence given here is a
7228166124Srafan# cheesy page-flip instead.
7229166124Srafan#
7230166124Srafan# The back_tab (<cbt>) sequence (\EI) doesn't work according to
7231166124Srafan# tack(1), so it is not included in the descriptions below.
7232166124Srafan#
7233166124Srafan# It's not clear whether auto_left_margin (<bw>) flag should be set
7234166124Srafan# for these terminals; tack says yes, so it is set here, but this
7235166124Srafan# differs from other descriptions I've seen.
7236166124Srafan#
7237166124Srafan# Extension print mode (<mc5>) echoes all characters to the printer
7238166124Srafan# port [in addition to displaying them] except for the page print mode
7239166124Srafan# sequence (<mc4>); this is a slight violation of the terminfo
7240166124Srafan# definition for <mc5> but I don't expect it to cause problems.  We
7241166124Srafan# reset to page print mode in <rs1> since it may have been enabled
7242166124Srafan# accidentally.
7243166124Srafan#
7244166124Srafan# The descriptions with plus signs (+) are building blocks.
724550276Speter
7246166124Srafantvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes),
7247166124Srafan	OTbs, OTpt, am, bw,
7248166124Srafan	cols#80, it#8, lines#24,
7249166124Srafan	bel=^G, clear=\032$<50>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7250166124Srafan	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<30>,
7251166124Srafan	dl1=\ER$<1*>$<100>, ed=\Ey$<2*>$<10>, el=\ET$<15>,
7252166124Srafan	home=^^, ht=^I, hts=\E1, ich1=\EQ$<30>,
7253166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE$<1*>$<100>,
7254166124Srafan	ind=\n$<10>, is2=\Ew\EA\E'\E"\E(, kcub1=^H, kcud1=^J,
7255166124Srafan	kcuf1=^L, kcuu1=^K, kdch1=\177, kent=^M, khome=^^, mc4=\EA,
7256166124Srafan	mc5=\E@, rs1=\Ek\010\Em\010\Eq\032, tbc=\E3, u6=%c%c\r,
7257166124Srafan	u7=\E?, u8=%c%c\r, u9=\E?,
7258166124Srafan
7259166124Srafan# This isn't included in the basic capabilities because it is
7260166124Srafan# typically unusable in combination with the full range of video
7261166124Srafan# attributes, since the magic cookie attributes turn into ASCII
7262166124Srafan# control characters, and the half-intensity ("protected") attribute
7263166124Srafan# converts all affected characters to spaces.
7264166124Srafan
7265166124Srafantvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support,
7266166124Srafan	mc0=\EP,
7267166124Srafan
7268166124Srafan# This uses half-intensity mode (<dim>) for standout (<smso>), and
7269166124Srafan# exposes no other attributes (half-intensity is the only attribute
7270166124Srafan# that does not generate a magic cookie.)
7271166124Srafan
7272166124Srafantvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support,
7273166124Srafan	msgr,
7274166124Srafan	dim=\E), rmso=\E(, sgr=\E%?%p1%p5%|%t)%e(%;, sgr0=\E(,
7275166124Srafan	smso=\E),
7276166124Srafan
7277166124Srafan# Full magic-cookie attribute support, with half-intensity reverse
7278166124Srafan# video for standout. Note that we add a space in the <dim> sequence
7279166124Srafan# to give a consistent magic-cookie count. Also note that <sgr> uses
7280166124Srafan# backspacing (in the TVI-supported order) to apply all requested
7281166124Srafan# attributes with only a single magic cookie.
7282166124Srafan
7283166124Srafantvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support,
7284166124Srafan	xmc#1,
7285166124Srafan	blink=\E\^, dim=\E)\s, invis=\E_, rev=\Ej, rmso=\E(\Ek,
7286166124Srafan	rmul=\Em,
7287166124Srafan	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%;%;,
7288166124Srafan	sgr0=\E(\Ek\010\Em\010\Eq, smso=\E)\Ej, smul=\El,
7289166124Srafan
7290166124Srafan# This uses the second page memory option to save & restore screen
7291166124Srafan# contents. If your terminal is missing the option, this description
7292166124Srafan# should still work, but that has not been tested.
7293166124Srafan
7294166124Srafantvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support,
7295166124Srafan	flash=\EK$<100>\EK, rmcup=\032$<50>\EK\E=7\s,
7296166124Srafan	smcup=\EK\032$<50>\E(\Ek\010\Em\010\Eq\032$<50>,
7297166124Srafan
7298166124Srafan# This simulates flashing by briefly toggling to the other page
7299166124Srafan# (kludge!)
7300166124Srafan
7301166124Srafantvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support,
7302166124Srafan	bel=\EK$<100>\EK, use=tvi912b+2p,
7303166124Srafan
7304166124Srafan# Function keys (<kf12> .. <kf22> are shifted <kf1> .. <kf11>)
7305166124Srafan
7306166124Srafantvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support,
7307166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^A`\r, kf13=^Aa\r,
7308166124Srafan	kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r, kf17=^Ae\r, kf18=^Af\r,
7309166124Srafan	kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r, kf21=^Ai\r, kf22=^Aj\r,
7310166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
7311166124Srafan	kf8=^AG\r, kf9=^AH\r,
7312166124Srafan
7313166124Srafan# Combinations of the basic building blocks
7314166124Srafan
7315166124Srafantvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes),
7316166124Srafan	use=tvi912b+2p, use=tvi912b-unk,
7317166124Srafan
7318166124Srafantvi912b-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),
7319166124Srafan	use=tvi912b+vb, use=tvi912b-unk,
7320166124Srafan
7321166124Srafantvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print),
7322166124Srafan	use=tvi912b+printer, use=tvi912b-unk,
7323166124Srafan
7324166124Srafantvi912b-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),
7325166124Srafan	use=tvi912b+2p, use=tvi912b+printer, use=tvi912b-unk,
7326166124Srafan
7327166124Srafantvi912b-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),
7328166124Srafan	use=tvi912b+vb, use=tvi912b+printer, use=tvi912b-unk,
7329166124Srafan
7330166124Srafantvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute),
7331166124Srafan	use=tvi912b+2p, use=tvi912b+dim, use=tvi912b-unk,
7332166124Srafan
7333166124Srafantvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies),
7334166124Srafan	use=tvi912b+2p, use=tvi912b+mc, use=tvi912b-unk,
7335166124Srafan
7336166124Srafantvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute),
7337166124Srafan	use=tvi912b+vb, use=tvi912b+dim, use=tvi912b-unk,
7338166124Srafan
7339166124Srafantvi912b-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),
7340166124Srafan	use=tvi912b+vb, use=tvi912b+mc, use=tvi912b-unk,
7341166124Srafan
7342166124Srafantvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute),
7343166124Srafan	use=tvi912b+dim, use=tvi912b-unk,
7344166124Srafan
7345166124Srafantvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies),
7346166124Srafan	use=tvi912b+mc, use=tvi912b-unk,
7347166124Srafan
7348166124Srafantvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes),
7349166124Srafan	use=tvi920b+fn, use=tvi912b-unk,
7350166124Srafan
7351166124Srafantvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes),
7352166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b-unk,
7353166124Srafan
7354166124Srafantvi920b-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),
7355166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b-unk,
7356166124Srafan
7357166124Srafantvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print),
7358166124Srafan	use=tvi920b+fn, use=tvi912b+printer, use=tvi912b-unk,
7359166124Srafan
7360166124Srafantvi920b-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),
7361166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+printer,
7362166124Srafan	use=tvi912b-unk,
7363166124Srafan
7364166124Srafantvi920b-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),
7365166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+printer,
7366166124Srafan	use=tvi912b-unk,
7367166124Srafan
7368166124Srafantvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute),
7369166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+dim,
7370166124Srafan	use=tvi912b-unk,
7371166124Srafan
7372166124Srafantvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies),
7373166124Srafan	use=tvi920b+fn, use=tvi912b+2p, use=tvi912b+mc,
7374166124Srafan	use=tvi912b-unk,
7375166124Srafan
7376166124Srafantvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute),
7377166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+dim,
7378166124Srafan	use=tvi912b-unk,
7379166124Srafan
7380166124Srafantvi920b-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),
7381166124Srafan	use=tvi920b+fn, use=tvi912b+vb, use=tvi912b+mc,
7382166124Srafan	use=tvi912b-unk,
7383166124Srafan
7384166124Srafantvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute),
7385166124Srafan	use=tvi920b+fn, use=tvi912b+dim, use=tvi912b-unk,
7386166124Srafan
7387166124Srafantvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies),
7388166124Srafan	use=tvi920b+fn, use=tvi912b+mc, use=tvi912b-unk,
7389166124Srafan
739050276Speter# Televideo 921 and variants
739150276Speter# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
739250276Speter# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
739350276Speter# also added empty <acsc> to suppress tic warning -- esr)
7394166124Srafantvi921|televideo model 921 with sysline same as page & real vi function,
7395166124Srafan	OTbs, OTpt, am, hs, xenl, xhp,
7396166124Srafan	cols#80, lines#24, xmc#0,
7397166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7398166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7399166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7400166124Srafan	el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
7401166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@,
7402166124Srafan	is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H,
7403166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>,
7404166124Srafan	ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%,
7405166124Srafan	rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr,
740650276Speter# without the beeper
740750276Speter# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
740850276Speter# also added empty <acsc> to suppress tic warning -- esr)
7409166124Srafantvi92B|televideo model 921 with sysline same as page & real vi function & no beeper,
7410166124Srafan	am, hs, xenl, xhp,
7411166124Srafan	cols#80, lines#24, xmc#0,
7412166124Srafan	acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
7413166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K,
7414166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY,
7415166124Srafan	el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I,
7416166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7417166124Srafan	invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z,
7418166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
7419166124Srafan	kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE,
7420166124Srafan	nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr,
742150276Speter# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
7422166124Srafantvi92D|tvi92B with DTR instead of XON/XOFF & better padding,
7423166124Srafan	dl1=\ER$<2*/>, il1=\EE$<2*/>,
7424166124Srafan	is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>,
7425166124Srafan	kil1=\EE$<2*/>, use=tvi92B,
742650276Speter
742750276Speter# (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
742850276Speter# in from a BSD termcap file because it looks like they do something the
742950276Speter# old ones skip -- esr)
7430166124Srafantvi924|televideo tvi924,
7431166124Srafan	am, bw, hs, in, mir, msgr, xenl, xon,
7432166124Srafan	cols#80, it#8, lines#24, wsl#80, xmc#0,
7433166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0,
7434166124Srafan	cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c,
7435166124Srafan	cub1=^H, cud1=^V, cuf1=^L,
7436166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1,
7437166124Srafan	dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et,
7438166124Srafan	flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1,
7439166124Srafan	ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J,
7440166124Srafan	invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0,
7441166124Srafan	kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7442166124Srafan	kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r,
7443166124Srafan	kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r,
7444166124Srafan	kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
7445166124Srafan	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
7446166124Srafan	kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4,
7447166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10,
7448166124Srafan	pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef,
7449166124Srafan	use=adm+sgr,
745050276Speter
745150276Speter# TVI925 DIP switches.  In each of these, D = Down and U = Up,
745250276Speter#
745350276Speter# Here are the settings for the external (baud) switches (S1):
745450276Speter#
745550276Speter#             Position		Baud
745650276Speter# 7	8	9	10		[Printer]
745750276Speter# 1	2	3	4		[Main RS232]
745850276Speter# -----------------------------------------------------
745950276Speter# D	D	D	D	9600
746050276Speter# D	D	D	U	  50
746150276Speter# D	D	U	D	  75
746250276Speter# D	D	U	U	 110
746350276Speter# D	U	D	D	 135
746450276Speter# D	U	D	U	 150
746550276Speter# D	U	U	D	 300
746650276Speter# D	U	U	U	 600
746750276Speter# U	D	D	D	1200
746850276Speter# U	D	D	U	1800
746950276Speter# U	D	U	D	2400
747050276Speter# U	D	U	U	3600
747150276Speter# U	U	D	D	4800
747250276Speter# U	U	D	U	7200
747350276Speter# U	U	U	D	9600
747450276Speter# U	U	U	U	19200
7475166124Srafan#
7476166124Srafan#
747750276Speter# Settings for word length and stop-bits (S1)
747850276Speter#
747950276Speter#  Position	Description
7480166124Srafan# 5	6
748150276Speter# ---------------------------
748250276Speter# U	-	7-bit word
748350276Speter# D	-	8-bit word
748450276Speter# -	U	2 stop bits
748550276Speter# -	D	1 stop bit
7486166124Srafan#
7487166124Srafan#
748850276Speter# S2 (external) settings
748950276Speter#
749050276Speter# Position	Up	Dn	Description
749150276Speter# --------------------------------------------
749250276Speter# 1		X		Local edit
749350276Speter# 			X	Duplex edit (transmit editing keys)
749450276Speter# --------------------------------------------
749550276Speter# 2		X		912/920 emulation
749650276Speter# 			X	925
749750276Speter# --------------------------------------------
749850276Speter# 3			X
749950276Speter# 4			X	No parity
7500166124Srafan# 5			X
750150276Speter# --------------------------------------------
750250276Speter# 3			X
750350276Speter# 4			X	Odd parity
7504166124Srafan# 5		X
750550276Speter# --------------------------------------------
750650276Speter# 3			X
750750276Speter# 4		X		Even parity
7508166124Srafan# 5		X
750950276Speter# --------------------------------------------
7510166124Srafan# 3		X
751150276Speter# 4			X	Mark parity
7512166124Srafan# 5		X
751350276Speter# --------------------------------------------
751450276Speter# 3		X
751550276Speter# 4		X		Space parity
751650276Speter# 5		X
751750276Speter# --------------------------------------------
751850276Speter# 6		X		White on black display
751950276Speter# 			X	Black on white display
752050276Speter# --------------------------------------------
752150276Speter# 7			X	Half Duplex
752250276Speter# 8			X
752350276Speter# --------------------------------------------
752450276Speter# 7		X		Full Duplex
7525166124Srafan# 8			X
752650276Speter# --------------------------------------------
752750276Speter# 7			X	Block mode
7528166124Srafan# 8		X
752950276Speter# --------------------------------------------
753050276Speter# 9			X	50 Hz
753150276Speter# 		X		60 Hz
753250276Speter# --------------------------------------------
753350276Speter# 10		X		CR/LF (Auto LF)
753450276Speter# 			X	CR only
7535166124Srafan#
753650276Speter# S3 (internal switch) settings:
7537166124Srafan#
753850276Speter# Position	Up	Dn	Description
753950276Speter# --------------------------------------------
7540166124Srafan# 1		X		Keyclick off
754150276Speter# 			X	Keyclick on
754250276Speter# --------------------------------------------
754350276Speter# 2			X	English
7544166124Srafan# 3			X
754550276Speter# --------------------------------------------
754650276Speter# 2			X	German
7547166124Srafan# 3		X
754850276Speter# --------------------------------------------
754950276Speter# 2		X		French
7550166124Srafan# 3			X
755150276Speter# --------------------------------------------
755250276Speter# 2		X		Spanish
7553166124Srafan# 3		X
755450276Speter# --------------------------------------------
755550276Speter# 4			X	Blinking block cursor
7556166124Srafan# 5			X
755750276Speter# --------------------------------------------
755850276Speter# 4			X	Blinking underline cursor
7559166124Srafan# 5		X
756050276Speter# --------------------------------------------
756150276Speter# 4		X		Steady block cursor
7562166124Srafan# 5			X
756350276Speter# --------------------------------------------
756450276Speter# 4		X		Steady underline cursor
7565166124Srafan# 5		X
756650276Speter# --------------------------------------------
756750276Speter# 6		X		Screen blanking timer (ON)
756850276Speter# 			X	Screen blanking timer (OFF)
756950276Speter# --------------------------------------------
757050276Speter# 7		X		Page attributes
757150276Speter# 			X	Line attributes
757250276Speter# --------------------------------------------
757350276Speter# 8		X		DCD disconnected
757450276Speter# 			X	DCD connected
757550276Speter# --------------------------------------------
757650276Speter# 9		X		DSR disconnected
757750276Speter# 			X	DSR connected
757850276Speter# --------------------------------------------
757950276Speter# 10		X		DTR Disconnected
758050276Speter# 			X	DTR connected
758150276Speter# --------------------------------------------
758250276Speter#
758350276Speter# (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
7584166124Srafantvi925|televideo 925,
7585166124Srafan	OTbs, am, bw, hs, ul,
7586166124Srafan	cols#80, lines#24, xmc#1,
7587166124Srafan	bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V,
7588166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
7589166124Srafan	cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
7590166124Srafan	flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1,
7591166124Srafan	ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z,
7592166124Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
7593166124Srafan	ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
7594166124Srafan	kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
7595166124Srafan	kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3,
7596166124Srafan	tsl=\Eh\Ef, use=adm+sgr,
759750276Speter# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
759850276Speter# to avoid "magic cookie" standout glitch:
7599166124Srafantvi925-hi|TeleVideo Model 925 with half intensity standout mode,
7600166124Srafan	xmc@,
7601166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925,
760250276Speter
760350276Speter# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
760450276Speter# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
7605166124Srafan# for additional capabilities,
760650276Speter# The following tvi descriptions from B:pjphar and virus!mike
760750276Speter# is for all 950s.  It sets the following attributes:
760850276Speter# full duplex (\EDF)		write protect off (\E()
760950276Speter# conversation mode (\EC)	graphics mode off (\E%)
761050276Speter# white on black (\Ed)		auto page flip off (\Ew)
761150276Speter# turn off status line (\Eg)	clear status line (\Ef\r)
761250276Speter# normal video (\E0)		monitor mode off (\EX or \Eu)
761350276Speter# edit mode (\Er)		load blank char to space (\Ee\040)
761450276Speter# line edit mode (\EO)		enable buffer control (^O)
761550276Speter# protect mode off (\E\047)	duplex edit keys (\El)
761650276Speter# program unshifted send key to send line all (\E016)
761750276Speter# program shifted send key to send line unprotected (\E004)
761850276Speter# set the following to nulls:
761950276Speter#	field delimiter (\Ex0\200\200)
762050276Speter#	line delimiter (\Ex1\200\200)
762150276Speter#	start-protected field delimiter (\Ex2\200\200)
762250276Speter#	end-protected field delimiter (\Ex3\200\200)
762350276Speter# set end of text delimiter to carriage return/null (\Ex4\r\200)
7624166124Srafan#
762550276Speter#                     TVI 950 Switch Setting Reference Charts
7626166124Srafan#
762750276Speter#                                     TABLE 1:
7628166124Srafan#
762950276Speter#      S1     1     2     3     4     5     6     7     8     9    10
763050276Speter#          +-----------------------+-----+-----+-----------------------+
763150276Speter#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
763250276Speter#          |                       |Bits |Bits |                       |
763350276Speter#   +------+-----------------------+-----+-----+-----------------------+
763450276Speter#   |  Up  |        See            |  7  |  2  |        See            |
763550276Speter#   +------+-----------------------+-----+-----+-----------------------+
763650276Speter#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
763750276Speter#   +------+-----------------------+-----+-----+-----------------------+
7638166124Srafan#
7639166124Srafan#
764050276Speter#      S2     1     2     3     4     5     6     7     8     9    10
764150276Speter#          +-----+-----+-----------------+-----+-----------+-----+-----+
764250276Speter#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
764350276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
764450276Speter#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
764550276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
764650276Speter#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
764750276Speter#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7648166124Srafan#
764950276Speter#                                    TABLE 2:
7650166124Srafan#
765150276Speter#             +-----------+-----+-----+-----+-----+-----------+
765250276Speter#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
765350276Speter#             +-----------+-----+-----+-----+-----+           |
765450276Speter#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
765550276Speter#             +-----------+-----+-----+-----+-----+-----------+
765650276Speter#                         |  D  |  D  |  D  |  D  |   9600    |
765750276Speter#                         |  U  |  D  |  D  |  D  |     50    |
765850276Speter#                         |  D  |  U  |  D  |  D  |     75    |
765950276Speter#                         |  U  |  U  |  D  |  D  |    110    |
766050276Speter#                         |  D  |  D  |  U  |  D  |    135    |
766150276Speter#                         |  U  |  D  |  U  |  D  |    150    |
766250276Speter#                         |  D  |  U  |  U  |  D  |    300    |
766350276Speter#                         |  U  |  U  |  U  |  D  |    600    |
766450276Speter#                         |  D  |  D  |  D  |  U  |   1200    |
766550276Speter#                         |  U  |  D  |  D  |  U  |   1800    |
766650276Speter#                         |  D  |  U  |  D  |  U  |   2400    |
766750276Speter#                         |  U  |  U  |  D  |  U  |   3600    |
766850276Speter#                         |  D  |  D  |  U  |  U  |   4800    |
766950276Speter#                         |  U  |  D  |  U  |  U  |   7200    |
767050276Speter#                         |  D  |  U  |  U  |  U  |   9600    |
767150276Speter#                         |  U  |  U  |  U  |  U  |  19200    |
767250276Speter#                         +-----+-----+-----+-----+-----------+
7673166124Srafan#
767450276Speter#                                    TABLE 3:
767550276Speter#                         +-----+-----+-----+-----------+
767650276Speter#                         |  3  |  4  |  5  |   Parity  |
767750276Speter#                         +-----+-----+-----+-----------+
767850276Speter#                         |  X  |  X  |  D  |    None   |
767950276Speter#                         |  D  |  D  |  U  |     Odd   |
768050276Speter#                         |  D  |  U  |  U  |    Even   |
768150276Speter#                         |  U  |  D  |  U  |    Mark   |
768250276Speter#                         |  U  |  U  |  U  |   Space   |
768350276Speter#                         +-----+-----+-----+-----------+
768450276Speter#                                 X = don't care
7685166124Srafan#
768650276Speter#                                     CHART:
768750276Speter#                         +-----+-----+-----------------+
768850276Speter#                         |  7  |  8  | Communication   |
768950276Speter#                         +-----+-----+-----------------+
769050276Speter#                         |  D  |  D  |  Half Duplex    |
769150276Speter#                         |  D  |  U  |  Full Duplex    |
769250276Speter#                         |  U  |  D  |     Block       |
769350276Speter#                         |  U  |  U  |     Local       |
769450276Speter#                         +-----+-----+-----------------+
7695166124Srafan#
7696166124Srafan# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
7697166124Srafan# I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich>
769850276Speter# should be present and all tvi native modes use the same string for this.
7699166124Srafan# Finally, note that BSD has cud1=^V. -- esr)
7700166124Srafantvi950|televideo 950,
7701166124Srafan	OTbs, am, hs, mir, msgr, xenl, xon,
7702166124Srafan	cols#80, it#8, lines#24, xmc#1,
7703166124Srafan	acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*,
7704166124Srafan	cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7705166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
7706166124Srafan	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed,
7707166124Srafan	fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
7708166124Srafan	invis@,
7709166124Srafan	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,
7710166124Srafan	kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L,
7711166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r,
7712166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
7713166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
7714166124Srafan	kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X,
7715166124Srafan	rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
7716166124Srafan	use=adm+sgr,
771750276Speter#
771850276Speter# is for 950 with two pages adds the following:
771950276Speter#	set 48 line page (\E\\2)
772050276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
772150276Speter#	set local (no send) edit keys (\Ek)
772250276Speter#
772350276Speter# two page 950 adds the following:
772450276Speter#	when entering ex, set 24 line page (\E\\1)
772550276Speter#	when exiting ex, reset 48 line page (\E\\2)
772650276Speter#			 place cursor at 0,24,1 (\E-07 )
772750276Speter#	set duplex (send) edit keys (\El) when entering vi
772850276Speter#	set local (no send) edit keys (\Ek) when exiting vi
772950276Speter#
7730166124Srafantvi950-2p|televideo950 w/2 pages,
7731166124Srafan	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,
7732166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7733166124Srafan	smkx=\El, use=tvi950,
773450276Speter#
773550276Speter# is for 950 with four pages adds the following:
773650276Speter#	set 96 line page (\E\\3)
773750276Speter#	place cursor at page 0, line 24, column 1 (\E-07 )
773850276Speter#
773950276Speter# four page 950 adds the following:
774050276Speter#	when entering ex, set 24 line page (\E\\1)
774150276Speter#	when exiting ex, reset 96 line page (\E\\3)
774250276Speter#			 place cursor at 0,24,1 (\E-07 )
774350276Speter#
7744166124Srafantvi950-4p|televideo950 w/4 pages,
7745166124Srafan	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,
7746166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7747166124Srafan	smkx=\El, use=tvi950,
774850276Speter#
774950276Speter# <is2> for reverse video 950 changes the following:
775050276Speter#	set reverse video (\Ed)
775150276Speter#
775250276Speter# set vb accordingly (\Ed ...delay... \Eb)
775350276Speter#
7754166124Srafantvi950-rv|televideo950 rev video,
7755166124Srafan	flash=\Ed$<200/>\Eb,
7756166124Srafan	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,
7757166124Srafan	use=tvi950,
775850276Speter
775950276Speter# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
7760166124Srafantvi950-rv-2p|televideo950 rev video w/2 pages,
7761166124Srafan	flash=\Ed$<200/>\Eb,
7762166124Srafan	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,
7763166124Srafan	rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7764166124Srafan	smkx=\El, use=tvi950,
776550276Speter
776650276Speter# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
7767166124Srafantvi950-rv-4p|televideo950 rev video w/4 pages,
7768166124Srafan	flash=\Ed$<200/>\Eb,
7769166124Srafan	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,
7770166124Srafan	rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s,
7771166124Srafan	smkx=\El, use=tvi950,
777250276Speter# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
777350276Speter# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
777450276Speter# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
777550276Speter# the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
777650276Speter# the :ko: string had :cl: in it, which means that one of the original
777750276Speter# <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
777850276Speter# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
777950276Speter# ko implies -- esr)
778050276Speter# If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
778150276Speter# also work.
7782166124Srafantvi955|televideo 955,
7783166124Srafan	OTbs, mc5i, msgr@,
7784166124Srafan	it#8, xmc@,
7785166124Srafan	acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2,
7786166124Srafan	civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH,
7787166124Srafan	cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1,
7788166124Srafan	is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1,
7789166124Srafan	knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%,
7790166124Srafan	rmam=\E[=7l, rmxon=^N,
7791166124Srafan	rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r,
7792166124Srafan	sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O,
7793166124Srafan	use=tvi950,
7794166124Srafantvi955-w|955-w|televideo955 w/132 cols,
7795166124Srafan	cols#132,
7796166124Srafan	is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955,
779750276Speter# use half-intensity as normal mode, full intensity as <bold>
7798166124Srafantvi955-hb|955-hb|televideo955 half-bright,
7799166124Srafan	bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El,
7800166124Srafan	sgr0=\EG0\E[=5h, use=tvi955,
780150276Speter# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
780250276Speter# (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
780350276Speter# added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
780450276Speter# According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
780550276Speter# it does to the function keys.  I deduced <rmam>/<smam>.
780650276Speter# also added empty <acsc> to suppress tic warning,  -- esr)
7807166124Srafantvi970|televideo 970,
7808166124Srafan	OTbs, OTpt, am, da, db, mir, msgr,
7809166124Srafan	cols#80, it#8, lines#24,
7810166124Srafan	acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr,
7811166124Srafan	cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
7812166124Srafan	cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r,
7813166124Srafan	ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H,
7814166124Srafan	hpa=\E[%i%p1%dG, ht=^I, il1=\E[L,
7815166124Srafan	is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J,
7816166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7817166124Srafan	kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f,
7818166124Srafan	kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B,
7819166124Srafan	rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
7820166124Srafan	sgr0=\E[m, smacs=\E(B, smam=\E[?7l,
7821166124Srafan	smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m,
7822166124Srafan	smul=\E[4m, vpa=\E[%i%p1%dd,
7823166124Srafantvi970-vb|televideo 970 with visual bell,
7824166124Srafan	flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l,
7825166124Srafan	use=tvi970,
7826166124Srafantvi970-2p|televideo 970 with using 2 pages of memory,
7827166124Srafan	rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q,
7828166124Srafan	use=tvi970,
782950276Speter# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
783050276Speter# per line (rather than 40), Esc K chooses the normal character set.  Not sure
7831166124Srafan# padding is needed, but adapted from the tvi920c termcap.  The <smso> and
783250276Speter# <smul> strings are klutzy, but at least use no screen space.
783350276Speter# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
783450276Speter# its absence means <smam>=\Ev isn't safe to use. -- esr)
7835166124Srafan# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
783650276Speter# The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
783750276Speter# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
7838166124Srafantvipt|televideo personal terminal,
7839166124Srafan	OTbs, am,
7840166124Srafan	cols#80, lines#24,
7841166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cuf1=^L,
7842166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>,
7843166124Srafan	ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt,
7844166124Srafan	il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J,
7845166124Srafan	kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R,
7846166124Srafan	rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH,
784750276Speter# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
7848166124Srafantvi9065|televideo 9065,
7849166124Srafan	am, bw, chts, hs, mc5i, mir, msgr, xenl, xon,
7850166124Srafan	cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0,
7851166124Srafan	wnum#0, wsl#30,
7852166124Srafan	acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G,
7853166124Srafan	blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z,
7854166124Srafan	cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD,
7855166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L,
7856166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA,
7857166124Srafan	cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp,
7858166124Srafan	dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY,
7859166124Srafan	el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
7860166124Srafan	ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt,
7861166124Srafan	il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1,
7862166124Srafan	ip=$<3>,
7863166124Srafan	is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er,
7864166124Srafan	is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s,
7865166124Srafan	kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
7866166124Srafan	kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r,
7867166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
7868166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H,
7869166124Srafan	mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J,
7870166124Srafan	pfkey=\E|%p1%{48}%+%c3%p2%s\031,
7871166124Srafan	pfloc=\E|%p1%{48}%+%c2%p2%s\031,
7872166124Srafan	pfx=\E|%p1%{48}%+%c1%p2%s\031,
7873166124Srafan	pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&,
7874166124Srafan	rep=\E[%p2%db%p1%c, rev=\EG4,
7875166124Srafan	rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT,
7876166124Srafan	rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H,
7877166124Srafan	rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0,
7878166124Srafan	rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l,
7879166124Srafan	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,
7880166124Srafan	rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0,
7881166124Srafan	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%%%;,
7882166124Srafan	sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er,
7883166124Srafan	smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O,
7884166124Srafan	tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0,
788550276Speter
788650276Speter#### Visual (vi)
788750276Speter#
788850276Speter# In September 1993, Visual Technology of Westboro, Massachusetts,
788950276Speter# merged with White Pine Software of Nashua, New Hampshire.
789050276Speter#
789150276Speter# White Pine Software may be contacted at +1 603/886-9050.
789250276Speter# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
789350276Speter#
789450276Speter
789550276Speter# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
789650276Speter# Recently I hacked together the following termcap for Visual
789750276Speter# Technology's Visual 50 terminal. It's a slight modification of
7898166124Srafan# the vt52 termcap.
789950276Speter# It's intended to run when the Visual 50 is in vt52 emulation mode
790050276Speter# (I know what you're thinking; if it's emulating a vt52, then why
790150276Speter# another termcap? Well, it turns out that the Visual 50 can handle
790250276Speter# <dl1> and db(?) among other things, which the vt52 can't)
790350276Speter# The termcap works OK for the most part. The only problem is on
790450276Speter# character inserts. The whole line gets painfully redrawn for each
790550276Speter# character typed. Any suggestions?
790650276Speter# Beau's entry is combined with the vi50 entry from University of Wisconsin.
790750276Speter# Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
790850276Speter# disguise; <kf7>-<kf9> are really l1-l3.
7909166124Srafanvi50|visual 50,
7910166124Srafan	OTbs, OTpt, am, da, db, msgr,
7911166124Srafan	cols#80, it#8, lines#24,
7912166124Srafan	OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H,
7913166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7914166124Srafan	cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH,
7915166124Srafan	ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
7916166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV,
7917166124Srafan	kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH,
7918166124Srafan	nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES,
791950276Speter# this one was BSD & SCO's vi50
7920166124Srafanvi50adm|visual 50 in adm3a mode,
7921166124Srafan	am, msgr,
7922166124Srafan	cols#80, it#8, lines#24,
7923166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
7924166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM,
7925166124Srafan	ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H,
7926166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH,
7927166124Srafan	rmso=\ET, smso=\EU,
792862449Speter# From: Jeff Siegal <jbs@quiotix.com>
7929166124Srafanvi55|Visual 55,
7930166124Srafan	OTbs, am, mir, msgr,
7931166124Srafan	cols#80, it#8, lines#24,
7932166124Srafan	clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H,
7933166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7934166124Srafan	cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I,
7935166124Srafan	il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED,
7936166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET,
7937166124Srafan	smir=\Ea, smso=\EU,
793850276Speter
793950276Speter# Visual 200 from BRL
794050276Speter# The following switch settings are assumed for normal operation:
794150276Speter#	FULL_DUPLEX		SCROLL			CR
794250276Speter#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
794350276Speter# Other switches may be set for operator convenience or communication
794450276Speter# requirements.
794550276Speter# Character insertion is kludged in order to get around the "beep" misfeature.
794650276Speter# (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
794750276Speter# Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
794850276Speter# and <dl1> strings, but we seem to get along fine without them.
7949166124Srafanvi200|visual 200,
7950166124Srafan	OTbs, OTpt, am, mir, msgr,
7951166124Srafan	OTkn#10, cols#80, it#8, lines#24,
7952166124Srafan	acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H,
7953166124Srafan	cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
7954166124Srafan	cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey,
7955166124Srafan	el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea,
7956166124Srafan	kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
7957166124Srafan	kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p,
7958166124Srafan	kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v,
7959166124Srafan	kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei,
7960166124Srafan	kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI,
7961166124Srafan	rmacs=\EG, rmkx=\E>, rmso=\E3,
7962166124Srafan	rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF,
7963166124Srafan	smkx=\E=, smso=\E4, tbc=\Eg,
796450276Speter# The older Visuals didn't come with function keys. This entry uses
796550276Speter# <smkx> and <rmkx> so that the keypad keys can be used as function keys.
796650276Speter# If your version of vi doesn't support function keys you may want
796750276Speter# to use vi200-f.
7968166124Srafanvi200-f|visual 200 no function keys,
7969166124Srafan	is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q,
7970166124Srafan	kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w,
7971166124Srafan	kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@,
7972166124Srafan	use=vi200,
7973166124Srafanvi200-rv|visual 200 reverse video,
7974166124Srafan	cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200,
797550276Speter
797650276Speter# the function keys are programmable but we don't reprogram them to their
797750276Speter# default values with <is2> because programming them is very verbose. maybe
797850276Speter# an initialization file should be made for the 300 and they could be stuck
797950276Speter# in it.
798050276Speter# (vi300: added <rmam>/<smam> based on init string -- esr)
7981166124Srafanvi300|visual 300 ansi x3.64,
7982166124Srafan	am, bw, mir, xenl,
7983166124Srafan	cols#80, lines#24,
7984166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
7985166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
7986166124Srafan	dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
7987166124Srafan	il1=\E[L, ind=^J,
7988166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s,
7989166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
7990166124Srafan	kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\,
7991166124Srafan	kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\,
7992166124Srafan	kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l,
7993166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
7994166124Srafan	smso=\E[1m, smul=\E[4m,
799550276Speter# some of the vi300s have older firmware that has the command
799650276Speter# sequence for setting editing extent reversed.
7997166124Srafanvi300-old|visual 300 with old firmware (set edit extent reversed),
7998166124Srafan	is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s,
7999166124Srafan	use=vi300,
800050276Speter
800150276Speter# Visual 500 prototype entry from University of Wisconsin.
800250276Speter# The best place to look for the escape sequences is page A1-1 of the
800350276Speter# Visual 500 manual.  The initialization sequence given here may be
800450276Speter# overkill, but it does leave out some of the initializations which can
800550276Speter# be done with the menus in set-up mode.
800650276Speter# The :xp: line below is so that emacs can understand the padding requirements
800750276Speter# of this slow terminal.  :xp: is 10 time the padding factor.
800850276Speter# (vi500: removed unknown :xp#4: termcap;
800950276Speter# also added empty <acsc> to suppress tic warning -- esr)
8010166124Srafanvi500|visual 500,
8011166124Srafan	am, mir, msgr,
8012166124Srafan	cols#80, it#8, lines#33,
8013166124Srafan	acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M,
8014166124Srafan	csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB,
8015166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
8016166124Srafan	dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>,
8017166124Srafan	el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>,
8018166124Srafan	ind=^J,
8019166124Srafan	is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\,
8020166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
8021166124Srafan	khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G,
8022166124Srafan	rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D,
802350276Speter
802450276Speter# The visual 550 is a visual 300 with tektronix graphics,
802550276Speter# and with 33 lines. clear screen is modified here to
802650276Speter# also clear the graphics.
8027166124Srafanvi550|visual 550 ansi x3.64,
8028166124Srafan	lines#33,
8029166124Srafan	clear=\030\E[H\E[2J, use=vi300,
803050276Speter
8031166124Srafanvi603|visual603|visual 603,
8032166124Srafan	hs, mir,
8033166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
8034166124Srafan	csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C,
8035166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
8036166124Srafan	dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L,
8037166124Srafan	ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r,
8038166124Srafan	rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
8039166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~,
8040166124Srafan	use=vt100,
804150276Speter
804250276Speter#### Wyse (wy)
804350276Speter#
804450276Speter#	Wyse Technology
804550276Speter#	3471 North First Street
804650276Speter#	San Jose, CA 95134
804750276Speter#	Vox: (408)-473-1200
804850276Speter#	Fax: (408) 473-1222
804950276Speter#	Web: http://www.wyse.com
805050276Speter#
805150276Speter# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
805250276Speter# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
805350276Speter# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
805450276Speter# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
805550276Speter#
805650276Speter# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
805750276Speter# They now own the Qume and Amdek brands, too.  So these are the people to
805850276Speter# talk with about all Link, Qume, and Amdek terminals.
805950276Speter#
806050276Speter# These entries include a few small fixes.
806150276Speter# I canceled the bel capacities in the vb entries.
806250276Speter# I made two trivial syntax fixes in the wyse30 entry.
806350276Speter# I made some entries relative to adm+sgr.
806450276Speter#
806550276Speter#
806650276Speter# Note: The wyse75, wyse85, and wyse99 have been discontinued.
806750276Speter
806850276Speter#	   Although the Wyse 30 can support more than one attribute
806950276Speter#	it requires magic cookies to do so.  Many applications do not
807050276Speter#	function well with magic cookies.  The following terminfo uses
807150276Speter#	the protect mode to support one attribute (dim) without cookies.
807250276Speter#	If more than one attribute is needed then the wy30-mc terminfo
807350276Speter#	should be used.
807450276Speter#
8075166124Srafanwy30|wyse30|Wyse 30,
8076166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
8077166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
8078166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
8079166124Srafan	civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H,
8080166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
8081166124Srafan	cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>,
8082166124Srafan	dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9,
8083166124Srafan	fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>,
8084166124Srafan	ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024,
8085166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
8086166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
8087166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8088166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ,
8089166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T,
8090166124Srafan	mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177,
8091166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>,
8092166124Srafan	rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
8093166124Srafan	sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
8094166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
8095166124Srafan	smso=\E`7\E), tbc=\E0, tsl=\EF,
809650276Speter#
809750276Speter#	This terminal description uses the non-hidden attribute mode
809850276Speter#	(with magic cookie).
809950276Speter#
810050276Speter# (wy30-mc: added <smcup> to suppress tic warning --esr)
8101166124Srafanwy30-mc|wyse30-mc|wyse 30 with magic cookies,
8102166124Srafan	msgr@,
8103166124Srafan	ma@, xmc#1,
8104166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003,
8105166124Srafan	rmcup=\EG0, rmso=\EG0,
8106166124Srafan	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%;,
8107166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8108166124Srafan	smso=\EG4, use=wy30, use=adm+sgr,
810950276Speter#	The mandatory pause used by <flash> does not work with
811050276Speter#	older versions of terminfo.  If you see this effect then
811150276Speter#	unset xon and delete the / from the delay.
811250276Speter#	i.e. change $<100/> to $<100>
8113166124Srafanwy30-vb|wyse30-vb|wyse 30 visible bell,
8114166124Srafan	bel@, use=wy30,
811550276Speter#
811650276Speter#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
811750276Speter#	Normal) without magic cookies by using the protect mode.
811850276Speter#	The following description uses this feature, but when more
811950276Speter#	than one attribute is put on the screen at once, all attributes
812050276Speter#	will be changed to be the same as the last attribute given.
812150276Speter#	   The Wyse 50 can support more attributes when used with magic
812250276Speter#	cookies.  The wy50-mc terminal description uses magic cookies
812350276Speter#	to correctly handle multiple attributes on a screen.
812450276Speter#
8125166124Srafanwy50|wyse50|Wyse 50,
8126166124Srafan	am, bw, hs, mc5i, mir, msgr, xon,
8127166124Srafan	cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45,
8128166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI,
8129166124Srafan	civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H,
8130166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
8131166124Srafan	cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r,
8132166124Srafan	ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8133166124Srafan	home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>,
8134166124Srafan	is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H,
8135166124Srafan	kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW,
8136166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8137166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8138166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8139166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8140166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8141166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J,
8142166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8143166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E),
8144166124Srafan	ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(,
8145166124Srafan	sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;,
8146166124Srafan	sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10,
8147166124Srafan	smso=\E`6\E), tbc=\E0, tsl=\EF,
814850276Speter#
814950276Speter#	This terminal description uses the non-hidden attribute mode
815050276Speter#	(with magic cookie).
815150276Speter#
815250276Speter#	The mandatory pause used by flash does not work with some
815350276Speter#	older versions of terminfo.  If you see this effect then
815450276Speter#	unset <xon> and delete the / from the delay.
815550276Speter#	i.e. change $<100/> to $<100>
815650276Speter# (wy50-mc: added <smcup> to suppress tic warning --esr)
8157166124Srafanwy50-mc|wyse50-mc|wyse 50 with magic cookies,
8158166124Srafan	msgr@,
8159166124Srafan	ma@, xmc#1,
8160166124Srafan	blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4,
8161166124Srafan	rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0,
8162166124Srafan	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%;,
8163166124Srafan	sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=,
8164166124Srafan	smso=\EGt, use=wy50, use=adm+sgr,
8165166124Srafanwy50-vb|wyse50-vb|wyse 50 visible bell,
8166166124Srafan	bel@, use=wy50,
8167166124Srafanwy50-w|wyse50-w|wyse 50 132-column,
8168166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8169166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8170166124Srafan	use=wy50,
8171166124Srafanwy50-wvb|wyse50-wvb|wyse 50 132-column visible bell,
8172166124Srafan	bel@, use=wy50-w,
817350276Speter
817450276Speter#
817550276Speter#	The Wyse 350 is a Wyse 50 with color.
817650276Speter#	Unfortunately this means that it has magic cookies.
817750276Speter#	The color attributes are designed to overlap the reverse, dim and
817850276Speter#	underline attributes.  This is nice for monochrome applications
817950276Speter#	because you can make underline stuff green (or any other color)
818050276Speter#	but for true color applications it's not so hot because you cannot
818150276Speter#	mix color with reverse, dim or underline.
818250276Speter#	    To further complicate things one of the attributes must be
818350276Speter#	black (either the foreground or the background).  In reverse video
818450276Speter#	the background changes color with black letters.  In normal video
8185166124Srafan#	the foreground changes colors on a black background.
818650276Speter#	    This terminfo uses some of the more advanced features of curses
818750276Speter#	to display both color and blink.  In the final analysis I am not
818850276Speter#	sure that the wy350 runs better with this terminfo than it does
818950276Speter#	with the wy50 terminfo (with user adjusted colors).
819050276Speter#
819150276Speter#	The mandatory pause used by flash does not work with
819250276Speter#	older versions of terminfo.  If you see this effect then
819350276Speter#	unset xon and delete the / from the delay.
819450276Speter#	i.e. change $<100/> to $<100>
819550276Speter#
819650276Speter# Bug: The <op> capability resets attributes.
8197166124Srafanwy350|wyse350|Wyse 350,
8198166124Srafan	am, bw, hs, mc5i, mir, xon,
8199166124Srafan	colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8,
8200166124Srafan	wsl#45, xmc#1,
8201166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
8202166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
8203166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
8204166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>,
8205166124Srafan	dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET,
8206166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8207166124Srafan	il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>,
8208166124Srafan	is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI,
8209166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
8210166124Srafan	ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r,
8211166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
8212166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
8213166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
8214166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
8215166124Srafan	ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0,
8216166124Srafan	pfx=\Ez%p1%{63}%+%c%p2%s\177,
8217166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej,
8218166124Srafan	rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=,
8219166124Srafan	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,
8220166124Srafan	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%;,
8221166124Srafan	sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002,
8222166124Srafan	smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr,
8223166124Srafanwy350-vb|wyse350-vb|wyse 350 visible bell,
8224166124Srafan	bel@, use=wy350,
8225166124Srafanwy350-w|wyse350-w|wyse 350 132-column,
8226166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8227166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>,
8228166124Srafan	use=wy350,
8229166124Srafanwy350-wvb|wyse350-wvb|wyse 350 132-column visible bell,
8230166124Srafan	bel@, use=wy350-w,
823150276Speter#
823250276Speter#	This terminfo description is untested.
823350276Speter#	The wyse100 emulates an adm31, so the adm31 entry should work.
823450276Speter#
8235166124Srafanwy100|wyse 100,
8236166124Srafan	hs, mir,
8237166124Srafan	cols#80, lines#24, xmc#1,
8238166124Srafan	bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8239166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
8240166124Srafan	dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J,
8241166124Srafan	invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
8242166124Srafan	kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
8243166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{,
8244166124Srafan	rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr,
824550276Speter#
824650276Speter#	The Wyse 120/150 has most of the features of the Wyse 60.
824750276Speter#	This terminal does not need padding up to 9600 baud!
824850276Speter#	<msgr> should be set but the clear screen fails when in
824950276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
825050276Speter#	then set <msgr>.
825150276Speter#
8252166124Srafanwy120|wyse120|wy150|wyse150|Wyse 120/150,
8253166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8254166124Srafan	cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8255166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8256166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8257166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8258166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8259166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8260166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>,
8261166124Srafan	hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8262166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8263166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8264166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8265166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8266166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8267166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8268166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8269166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8270166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8271166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8272166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8273166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8274166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11,
8275166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8276166124Srafan	rs3=\EwG\Ee($<100>,
8277166124Srafan	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,
8278166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8279166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8280166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
828150276Speter#
8282166124Srafanwy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column,
8283166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8284166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8285166124Srafan	rs2=\E`;$<70>, use=wy120,
828650276Speter#
8287166124Srafanwy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines,
8288166124Srafan	lh@, lines#25, lw@, nlab@,
8289166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120,
829050276Speter#
8291166124Srafanwy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines,
8292166124Srafan	lh@, lines#25, lw@, nlab@,
8293166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy120-w,
829450276Speter#
8295166124Srafanwy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell,
8296166124Srafan	bel@, use=wy120,
829750276Speter#
8298166124Srafanwy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell,
8299166124Srafan	bel@, use=wy120-w,
830050276Speter#
830150276Speter#	The Wyse 60 is like the Wyse 50 but with more padding.
830250276Speter#	The reset strings are slow and the pad times very depending
830350276Speter#	on other parameters such as font loading.  I have tried
830450276Speter#	to follow the following outline:
830550276Speter#
830650276Speter#		<rs1> -> set personality
830750276Speter#		<rs2> -> set number of columns
830850276Speter#		<rs3> -> set number of lines
830950276Speter#		<is1> -> select the proper font
831050276Speter#		<is2> -> do the initialization
831150276Speter#		<is3> -> set up display memory (2 pages)
831250276Speter#
831350276Speter#	The Wyse 60's that have vt100 emulation are slower than the
831450276Speter#	older Wyse 60's.  This change happened mid-1987.
831550276Speter#	The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
831650276Speter#
831750276Speter#	The meta key is only half right.  This terminal will return the
831850276Speter#	high order bit set when you hit CTRL-function_key
831950276Speter#
832050276Speter#	It may be useful to assign two function keys with the
832150276Speter#	values  \E=(\s  look at old data in page 1
832250276Speter#	        \E=W,   look at bottom of page 1
832350276Speter#	where \s is a space ( ).
832450276Speter#
832550276Speter#	Note:
832650276Speter#	   The Wyse 60 runs faster when the XON/XOFF
832750276Speter#	   handshake is turned off.
832850276Speter#
832950276Speter# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
833050276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8331166124Srafanwy60|wyse60|Wyse 60,
8332166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8333166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
8334166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8335166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
8336166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8337166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8338166124Srafan	dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r,
8339166124Srafan	ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M,
8340166124Srafan	home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>,
8341166124Srafan	ip=$<3>, is1=\EcB0\EcC1,
8342166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8343166124Srafan	is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8344166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8345166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8346166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8347166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8348166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8349166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8350166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>,
8351166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8352166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8353166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
8354166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er,
8355166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>,
8356166124Srafan	rs2=\EeG$<150>, rs3=\EwG\Ee($<200>,
8357166124Srafan	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,
8358166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8359166124Srafan	smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8360166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
836150276Speter#
8362166124Srafanwy60-w|wyse60-w|wyse 60 132-column,
8363166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8364166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
8365166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy60,
836650276Speter#
8367166124Srafanwy60-25|wyse60-25|wyse 60 80-column 25-lines,
8368166124Srafan	lh@, lines#25, lw@, nlab@,
8369166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60,
8370166124Srafanwy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
8371166124Srafan	lh@, lines#25, lw@, nlab@,
8372166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy60-w,
837350276Speter#
8374166124Srafanwy60-42|wyse60-42|wyse 60 80-column 42-lines,
8375166124Srafan	lines#42,
8376166124Srafan	clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>,
8377166124Srafan	dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>,
8378166124Srafan	ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>,
8379166124Srafan	ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60,
8380166124Srafanwy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
8381166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8382166124Srafan	clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8383166124Srafan	dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>,
8384166124Srafan	nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42,
838550276Speter#
8386166124Srafanwy60-43|wyse60-43|wyse 60 80-column 43-lines,
8387166124Srafan	lh@, lines#43, lw@, nlab@,
8388166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42,
8389166124Srafanwy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
8390166124Srafan	lh@, lines#43, lw@, nlab@,
8391166124Srafan	pln@, rs3=\Ee+$<150>, use=wy60-42-w,
839250276Speter#
8393166124Srafanwy60-vb|wyse60-vb|Wyse 60 visible bell,
8394166124Srafan	bel@, use=wy60,
8395166124Srafanwy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell,
8396166124Srafan	bel@, use=wy60-w,
839750276Speter
839850276Speter#	The Wyse-99GT looks at lot like the Wyse 60 except that it
839950276Speter#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
840050276Speter#	setup parameter controls the number of lines on the screen.
840150276Speter#	For the Wyse 99GT the "lines" setup parameter controls the
840250276Speter#	number of lines in a page.  The screen can display 25 lines max.
840350276Speter#	    The Wyse-99GT also has personalities for the VT220 and
840450276Speter#	Tektronix 4014.  But this has no bearing on the native mode.
840550276Speter#
840650276Speter#	(msgr) should be set but the clear screen fails when in
840750276Speter#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
840850276Speter#	then set msgr, else use msgr@.
840950276Speter#
841050276Speter#	u0 -> enter Tektronix mode
841150276Speter#	u1 -> exit Tektronix mode
841250276Speter#
8413166124Srafanwy99gt|wyse99gt|Wyse 99gt,
8414166124Srafan	msgr@,
8415166124Srafan	clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>,
8416166124Srafan	el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>,
8417166124Srafan	il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@,
8418166124Srafan	ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1,
8419166124Srafan	u0=\E~>\E8, u1=\E[42h, use=wy60,
842050276Speter#
8421166124Srafanwy99gt-w|wyse99gt-w|wyse 99gt 132-column,
8422166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8423166124Srafan	clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
8424166124Srafan	dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
8425166124Srafan	use=wy99gt,
842650276Speter#
8427166124Srafanwy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
8428166124Srafan	lh@, lines#25, lw@, nlab@,
8429166124Srafan	pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt,
843050276Speter#
8431166124Srafanwy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
8432166124Srafan	lh@, lines#25, lw@, nlab@,
8433166124Srafan	pln@, rs2=\E`;$<150>, use=wy99gt-w,
843450276Speter#
8435166124Srafanwy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell,
8436166124Srafan	bel@, use=wy99gt,
843750276Speter#
8438166124Srafanwy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell,
8439166124Srafan	bel@, use=wy99gt-w,
844050276Speter
844150276Speter# Can't set tabs! Other bugs (ANSI mode only):
844250276Speter# - can't redefine function keys (anyway, key redefinition in ANSI mode
844350276Speter#   is too much complex to be described);
844450276Speter# - meta key can't be described (the terminal forgets it when reset);
844550276Speter# The xon-xoff handshaking can't be disabled while in ansi personality, so
844650276Speter# emacs can't work at speed greater than 9600 baud.  No padding is needed at
844750276Speter# this speed.
844850276Speter#   dch1 has been commented out because it causes annoying glittering when
844950276Speter# vi deletes one character at the beginning of a line with tabs in it.
845050276Speter#   dch makes sysgen(1M) have a horrible behaviour when deleting
845150276Speter# a screen and makes screen(1) behave badly, so it is disabled too. The nice
845250276Speter# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
845350276Speter# not, so smir and rmir are commented out as well.
845450276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8455166124Srafanwy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard),
8456166124Srafan	am, km, mc5i, mir, msgr, xenl,
8457166124Srafan	cols#80, it#8, lines#25, vt#3,
8458166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~,
8459166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8460166124Srafan	clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M,
8461166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>,
8462166124Srafan	cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED,
8463166124Srafan	cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>,
8464166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
8465166124Srafan	cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M,
8466166124Srafan	ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>,
8467166124Srafan	enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H,
8468166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL,
8469166124Srafan	il1=\E[L, ind=\n$<1>, invis=\E[8m,
8470166124Srafan	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,
8471166124Srafan	kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
8472166124Srafan	kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~,
8473166124Srafan	kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ,
8474166124Srafan	kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~,
8475166124Srafan	kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~,
8476166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h,
8477166124Srafan	mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8,
8478166124Srafan	rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
8479166124Srafan	rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m,
8480166124Srafan	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,
8481166124Srafan	sc=\E7,
8482166124Srafan	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%;,
8483166124Srafan	sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h,
8484166124Srafan	smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd,
848550276Speter
848650276Speter#   This is the american terminal. Here tabs work fine.
848750276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8488166124Srafanwy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
8489166124Srafan	hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi,
849050276Speter
849150276Speter# This terminal (firmware version 02) has a lot of bugs:
849250276Speter# - can't set tabs;
849350276Speter# - other bugs in ANSI modes (see above).
849450276Speter# This description disables handshaking when using cup. This is because
849550276Speter# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
849650276Speter# cannot be used at speeds greater than 9600 baud, because at greater
849750276Speter# speeds handshaking is needed even for character sending. If you use
849850276Speter# DTR handshaking, you can use even greater speeds.
849950276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8500166124Srafanwy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
8501166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
8502166124Srafan	cols#80, it#8, lines#25, wsl#46,
8503166124Srafan	acsc='x+y.wi~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
8504166124Srafan	blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
8505166124Srafan	cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
8506166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
8507166124Srafan	cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r,
8508166124Srafan	ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>,
8509166124Srafan	flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE,
8510166124Srafan	ind=^J, invis=\EG3,
8511166124Srafan	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,
8512166124Srafan	ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H,
8513166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r,
8514166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r,
8515166124Srafan	kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r,
8516166124Srafan	kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r,
8517166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
8518166124Srafan	kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#,
8519166124Srafan	nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed.,
8520166124Srafan	rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30,
8521166124Srafan	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,
8522166124Srafan	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%;,
8523166124Srafan	sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30,
8524166124Srafan	smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF,
852550276Speter
852650276Speter# This is the american terminal. Here tabs work.
852750276Speter# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8528166124Srafanwy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
8529166124Srafan	hts=\E1, tbc=\E0, use=wy99f,
853050276Speter
853150276Speter#
853250276Speter#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
853350276Speter#	The reset strings are slow and the pad times very depending
853450276Speter#	on other parameters such as font loading.  I have tried
853550276Speter#	to follow the following outline:
853650276Speter#
853750276Speter#		<rs1> -> set personality
853850276Speter#		<rs2> -> set number of columns
853950276Speter#		<rs3> -> set number of lines
854050276Speter#		<is1> -> select the proper font
854150276Speter#		<is2> -> do the initialization
854250276Speter#		<is3> -> set up display memory (2 pages)
854350276Speter#
854450276Speter#	The display memory may be used for either text or graphics.
854550276Speter#	When "Display Memory = Shared" the terminal will have more pages
854650276Speter#	but garbage may be left on the screen when you switch from
854750276Speter#	graphics to text.  If "Display Memory = Unshared" then the
854850276Speter#	text area will be only one page long.
854950276Speter#
855050276Speter# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
855150276Speter# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8552166124Srafanwy160|wyse160|Wyse 160,
8553166124Srafan	am, bw, hs, km, mc5i, mir, msgr,
8554166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
8555166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8556166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
8557166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8558166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
8559166124Srafan	dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>,
8560166124Srafan	el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I,
8561166124Srafan	hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1,
8562166124Srafan	is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8563166124Srafan	is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8564166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8565166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8566166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8567166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8568166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ,
8569166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K,
8570166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>,
8571166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8572166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8573166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>,
8574166124Srafan	rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er,
8575166124Srafan	rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>,
8576166124Srafan	rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>,
8577166124Srafan	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,
8578166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8579166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21,
8580166124Srafan	tbc=\E0, tsl=\EF, use=adm+sgr,
858150276Speter#
8582166124Srafanwy160-w|wyse160-w|wyse 160 132-column,
8583166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8584166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>,
8585166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160,
858650276Speter#
8587166124Srafanwy160-25|wyse160-25|wyse 160 80-column 25-lines,
8588166124Srafan	lh@, lines#25, lw@, nlab@,
8589166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160,
8590166124Srafanwy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines,
8591166124Srafan	lh@, lines#25, lw@, nlab@,
8592166124Srafan	pln@, rs3=\EwG\Ee)$<200>, use=wy160-w,
859350276Speter#
8594166124Srafanwy160-42|wyse160-42|wyse 160 80-column 42-lines,
8595166124Srafan	lines#42,
8596166124Srafan	clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>,
8597166124Srafan	ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>,
8598166124Srafan	rs3=\Ee*$<150>, use=wy160,
8599166124Srafanwy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines,
8600166124Srafan	cols#132, lw#7, nlab#16, wsl#90,
8601166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>,
8602166124Srafan	rs2=\EeF$<150>\E`;$<150>, use=wy160-42,
860350276Speter#
8604166124Srafanwy160-43|wyse160-43|wyse 160 80-column 43-lines,
8605166124Srafan	lh@, lines#43, lw@, nlab@,
8606166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42,
8607166124Srafanwy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines,
8608166124Srafan	lh@, lines#43, lw@, nlab@,
8609166124Srafan	pln@, rs3=\Ee+$<150>, use=wy160-42-w,
861050276Speter#
8611166124Srafanwy160-vb|wyse160-vb|Wyse 160 visible bell,
8612166124Srafan	bel@, use=wy160,
8613166124Srafanwy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell,
8614166124Srafan	bel@, use=wy160-w,
861550276Speter#
861650276Speter#	The Wyse 75 is a vt100 lookalike without advanced video.
861750276Speter#
861850276Speter#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
861950276Speter#	Underline) without magic cookies.  The following description
862050276Speter#	uses this capability, but when more than one attribute is
862150276Speter#	put on the screen at once, all attributes will be changed
862250276Speter#	to be the same as the last attribute given.
862350276Speter#	   The Wyse 75 can support more attributes when used with magic
862450276Speter#	cookies.  The wy75-mc terminal description uses magic cookies
862550276Speter#	to correctly handle multiple attributes on a screen.
862650276Speter#
8627166124Srafanwy75|wyse75|wyse 75,
8628166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8629166124Srafan	cols#80, lines#24, ma#1, pb#1201, wsl#78,
8630166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8631166124Srafan	bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
8632166124Srafan	cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>,
8633166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
8634166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
8635166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
8636166124Srafan	dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>,
8637166124Srafan	dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001,
8638166124Srafan	ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>,
8639166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A,
8640166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
8641166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8642166124Srafan	ind=\n$<2>, ip=$<1>,
8643166124Srafan	is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h,
8644166124Srafan	is2=\E>\E(B\E)0\017, is3=\E[m, kbs=^H, kcub1=\E[D,
8645166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K,
8646166124Srafan	kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
8647166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
8648166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i,
8649166124Srafan	kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M,
8650166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
8651166124Srafan	khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~,
8652166124Srafan	kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i,
8653166124Srafan	mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O,
8654166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m,
8655166124Srafan	rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l,
8656166124Srafan	sc=\E7,
8657166124Srafan	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%;,
8658166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8659166124Srafan	smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m,
8660166124Srafan	tbc=\E[3g, tsl=\E[>\,\001, use=vt220+keypad,
866150276Speter#
866250276Speter#	This terminal description uses the non-hidden attribute mode
866350276Speter#	(with magic cookie).
866450276Speter#
8665166124Srafanwy75-mc|wyse75-mc|wyse 75 with magic cookies,
8666166124Srafan	msgr@,
8667166124Srafan	ma@, xmc#1,
8668166124Srafan	blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p,
8669166124Srafan	rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p,
8670166124Srafan	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%;,
8671166124Srafan	sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p,
8672166124Srafan	use=wy75,
8673166124Srafanwy75-vb|wyse75-vb|wyse 75 with visible bell,
8674166124Srafan	pb@,
8675166124Srafan	bel@, use=wy75,
8676166124Srafanwy75-w|wyse75-w|wyse 75 in 132 column mode,
8677166124Srafan	cols#132, wsl#130,
8678166124Srafan	rs2=\E[35h\E[?3h$<80>, use=wy75,
8679166124Srafanwy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
8680166124Srafan	pb@,
8681166124Srafan	bel@, use=wy75-w,
868250276Speter#
868350276Speter#	Wyse 85 emulating a vt220 7 bit mode.
868450276Speter#		24 line screen with status line.
868550276Speter#
868650276Speter#	The vt220 mode permits more function keys but it wipes out
868750276Speter#	the escape key.  I strongly recommend that <f11> be set to
868850276Speter#	escape (esc).
868950276Speter#	The terminal may have to be set for 8 data bits and 2 stop
869050276Speter#	bits for the arrow keys to work.
869150276Speter#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
869250276Speter#	<dch> and <ich> work best when XON/XOFF is set.  <ich> and
869350276Speter#	<dch> leave trash on the screen when used without XON/XOFF.
869450276Speter#
8695166124Srafanwy85|wyse85|wyse 85,
8696166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8697166124Srafan	cols#80, it#8, lines#24, wsl#80,
8698166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8699166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8700166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8701166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8702166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8703166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8704166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8705166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8706166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8707166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8708166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8709166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8710166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8711166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8712166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcub1=\E[D, kcud1=\E[B,
8713166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf10=\E[21~,
8714166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
8715166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
8716166124Srafan	kf19=\E[33~, kf20=\E[34~, kf6=\E[17~, kf7=\E[18~,
8717166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
8718166124Srafan	khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
8719166124Srafan	kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8720166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8721166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8722166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8723166124Srafan	rs3=\E[?5l, sc=\E7,
8724166124Srafan	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%;,
8725166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8726166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8727166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH, use=vt220+keypad,
872850276Speter#
872950276Speter#	Wyse 85 with visual bell.
8730166124Srafanwy85-vb|wyse85-vb|wyse 85 with visible bell,
8731166124Srafan	bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85,
873250276Speter#
873350276Speter#	Wyse 85 in 132-column mode.
8734166124Srafanwy85-w|wyse85-w|wyse 85 in 132-column mode,
8735166124Srafan	cols#132, wsl#132,
8736166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy85,
873750276Speter#
873850276Speter#	Wyse 85 in 132-column mode with visual bell.
8739166124Srafanwy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
8740166124Srafan	bel@, use=wy85-w,
874162449Speter
874262449Speter# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
874362449Speter# This copes with an apparent firmware bug in the wy85.  He writes:
874462449Speter# "What I did was change leave the terminal cursor keys set to Normal
874562449Speter# (instead of application), and change \E[ to \233 for all the keys in
874662449Speter# terminfo. At one point, I found some reference indicating that this
874762449Speter# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
8748166124Srafan# me), but I can't find that and the server under my bookmark to "Wyse
874962449Speter# Technical" isn't responding.  So there's the question of wether the wy85
875062449Speter# terminfo should reflect the manufactuer's intended behaviour of the terminal
875162449Speter# or the actual."
8752166124Srafanwy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode,
8753166124Srafan	am, hs, mc5i, mir, msgr, xenl, xon,
8754166124Srafan	cols#80, it#8, lines#24, wsl#80,
8755166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8756166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8757166124Srafan	clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M,
8758166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8759166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8760166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8761166124Srafan	dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m,
8762166124Srafan	dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l,
8763166124Srafan	ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K,
8764166124Srafan	enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>,
8765166124Srafan	fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH,
8766166124Srafan	ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
8767166124Srafan	ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W,
8768166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>,
8769166124Srafan	is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu,
8770166124Srafan	kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B,
8771166124Srafan	kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM,
8772166124Srafan	kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~,
8773166124Srafan	kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~,
8774166124Srafan	kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ,
8775166124Srafan	kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~,
8776166124Srafan	kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~,
8777166124Srafan	khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~,
8778166124Srafan	kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i,
8779166124Srafan	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>,
8780166124Srafan	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m,
8781166124Srafan	rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>,
8782166124Srafan	rs3=\E[?5l, sc=\E7,
8783166124Srafan	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%;,
8784166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
8785166124Srafan	smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
8786166124Srafan	tsl=\E[40h\E7\E[25;%i%p1%dH,
878750276Speter#
878850276Speter#	Wyse 185 emulating a vt320 7 bit mode.
878950276Speter#
879050276Speter#	This terminal always displays 25 lines.  These lines may be used
879150276Speter#	as 24 data lines and a terminal status line (top or bottom) or
879250276Speter#	25 data lines.  The 48 and 50 line modes change the page size
879350276Speter#	and not the number of lines on the screen.
879450276Speter#
879550276Speter#	The Compose Character key can be used as a meta key if changed
879650276Speter#	by set-up.
879750276Speter#
8798166124Srafanwy185|wyse185|wyse 185,
8799166124Srafan	am, hs, km, mc5i, mir, msgr, xenl, xon,
8800166124Srafan	cols#80, it#8, lines#24, wsl#80,
8801166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8802166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8803166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8804166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
8805166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8806166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
8807166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>,
8808166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8809166124Srafan	dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>,
8810166124Srafan	el=\E[K, el1=\E[1K, enacs=\E)0,
8811166124Srafan	flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8,
8812166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH,
8813166124Srafan	ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>,
8814166124Srafan	ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
8815166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h,
8816166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
8817166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP,
8818166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
8819166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
8820166124Srafan	kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR,
8821166124Srafan	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
8822166124Srafan	kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~,
8823166124Srafan	knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3,
8824166124Srafan	lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
8825166124Srafan	ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l,
8826166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
8827166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
8828166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
8829166124Srafan	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%;,
8830166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
8831166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
8832166124Srafan	tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd,
8833166124Srafan	use=vt220+keypad,
883450276Speter#
883550276Speter#	Wyse 185 with 24 data lines and top status (terminal status)
8836166124Srafanwy185-24|wyse185-24|wyse 185 with 24 data lines,
8837166124Srafan	hs@,
8838166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
8839166124Srafan	use=wy185,
884050276Speter#
884150276Speter#	Wyse 185 with visual bell.
8842166124Srafanwy185-vb|wyse185-vb|wyse 185+flash,
8843166124Srafan	bel@, use=wy185,
884450276Speter#
884550276Speter#	Wyse 185 in 132-column mode.
8846166124Srafanwy185-w|wyse185-w|wyse 185 in 132-column mode,
8847166124Srafan	cols#132, wsl#132,
8848166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
8849166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy185,
885050276Speter#
885150276Speter#	Wyse 185 in 132-column mode with visual bell.
8852166124Srafanwy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
8853166124Srafan	bel@, use=wy185-w,
885450276Speter
885550276Speter# wy325 terminfo entries
885650276Speter# Done by Joe H. Davis        3-9-92
885750276Speter
885850276Speter# lines 25  columns 80
885950276Speter#
8860166124Srafanwy325|wyse325|Wyse epc,
8861166124Srafan	am, bw, hs, mc5i, mir,
8862166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
8863166124Srafan	acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
8864166124Srafan	bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
8865166124Srafan	cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
8866166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
8867166124Srafan	dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>,
8868166124Srafan	flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1,
8869166124Srafan	il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1,
8870166124Srafan	is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El,
8871166124Srafan	is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H,
8872166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY,
8873166124Srafan	kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
8874166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
8875166124Srafan	kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r,
8876166124Srafan	kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq,
8877166124Srafan	kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K,
8878166124Srafan	mc0=\EP, mc4=^T, mc5=\Ed#,
8879166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
8880166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
8881166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>,
8882166124Srafan	rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11,
8883166124Srafan	rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>,
8884166124Srafan	rs3=\EwG\Ee($<100>,
8885166124Srafan	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,
8886166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/,
8887166124Srafan	smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0,
8888166124Srafan	tsl=\EF, use=adm+sgr,
888950276Speter
889050276Speter#
8891166124Srafan# lines 24  columns 80  vb
889250276Speter#
8893166124Srafanwy325-vb|wyse325-vb|wyse-325 with visual bell,
8894166124Srafan	bel@, use=wy325,
889550276Speter
889650276Speter#
889750276Speter# lines 24  columns 132
889850276Speter#
8899166124Srafanwy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode,
8900166124Srafan	cols#132, lw#7, nlab#16, wsl#97,
8901166124Srafan	cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>,
8902166124Srafan	rs2=\E`;$<70>, use=wy325,
890350276Speter#
890450276Speter# lines 25  columns 80
890550276Speter#
8906166124Srafanwy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines,
8907166124Srafan	lh@, lines#25, lw@, nlab@,
8908166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
890950276Speter#
891050276Speter# lines 25  columns 132
891150276Speter#
8912166124Srafanwy325-25w|wyse325-25w|wy325 132 columns,
8913166124Srafan	lh@, lines#25, lw@, nlab@,
8914166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
891550276Speter#
8916166124Srafan# lines 25  columns 132  vb
891750276Speter#
8918166124Srafanwy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video,
8919166124Srafan	bel@, use=wy325-w,
892050276Speter
892150276Speter#
892250276Speter# lines 42  columns 80
892350276Speter#
8924166124Srafanwy325-42|wyse325-42|wyse-325 42 lines,
8925166124Srafan	lh@, lines#42, lw@, nlab@,
8926166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325,
892750276Speter#
892850276Speter# lines 42  columns 132
892950276Speter#
8930166124Srafanwy325-42w|wyse325-42w|wyse-325 42 lines wide mode,
8931166124Srafan	lh@, lines#42, lw@, nlab@,
8932166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
893350276Speter#
8934166124Srafan# lines 42  columns 132  vb
893550276Speter#
8936166124Srafanwy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell,
8937166124Srafan	bel@, use=wy325-w,
893850276Speter#
893950276Speter# lines 43  columns 80
894050276Speter#
8941166124Srafanwy325-43|wyse325-43|wyse-325 43 lines,
8942166124Srafan	lh@, lines#43, lw@, nlab@,
8943166124Srafan	pln@, use=wy325,
894450276Speter#
894550276Speter# lines 43  columns 132
894650276Speter#
8947166124Srafanwy325-43w|wyse325-43w|wyse-325 43 lines wide mode,
8948166124Srafan	lh@, lines#43, lw@, nlab@,
8949166124Srafan	pln@, rs3=\EwG\Ee)$<100>, use=wy325-w,
895050276Speter#
8951166124Srafan# lines 43  columns 132  vb
895250276Speter#
8953166124Srafanwy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell,
8954166124Srafan	bel@, use=wy325-w,
895550276Speter
895650276Speter#	Wyse 370 -- 24 line screen with status line.
895750276Speter#
895850276Speter#	The terminal may have to be set for 8 data bits and 2 stop
895950276Speter#	bits for the arrow keys to work.
896050276Speter#
896150276Speter#	If you change keyboards the terminal will send different
896250276Speter#	escape sequences.
896350276Speter#	The following definition is for the basic terminal without
896450276Speter#	function keys.
896550276Speter#
896650276Speter#	<u0> -> enter Tektronix 4010/4014 mode
896750276Speter#	<u1> -> exit  Tektronix 4010/4014 mode
896850276Speter#	<u2> -> enter ASCII mode (from any ANSI mode)
896950276Speter#	<u3> -> exit  ASCII mode (goto native ANSI mode)
897050276Speter#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
897150276Speter#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
897250276Speter#
897350276Speter# Bug: The <op> capability resets attributes.
8974166124Srafanwy370-nk|wyse 370 without function keys,
8975166124Srafan	am, ccc, hs, mc5i, mir, msgr, xenl, xon,
8976166124Srafan	colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80,
8977166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
8978166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8979166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
8980166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
8981166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
8982166124Srafan	cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A,
8983166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>,
8984166124Srafan	dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>,
8985166124Srafan	dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>,
8986166124Srafan	el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0,
8987166124Srafan	flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8,
8988166124Srafan	home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH,
8989166124Srafan	ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
8990166124Srafan	ind=\n$<2>,
8991166124Srafan	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,
8992166124Srafan	invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>,
8993166124Srafan	is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h,
8994166124Srafan	is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i,
8995166124Srafan	mc5=\E[5i,
8996166124Srafan	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,
8997166124Srafan	op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O,
8998166124Srafan	rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l,
8999166124Srafan	rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
9000166124Srafan	rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>,
9001166124Srafan	rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw,
9002166124Srafan	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%;,
9003166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q,
9004166124Srafan	smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m,
9005166124Srafan	tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH,
9006166124Srafan	u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B,
9007166124Srafan	u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd,
900850276Speter#
900950276Speter#	Function key set for the ASCII (wy-50 compatible) keyboard
901050276Speter#	This is the default 370.
901150276Speter#
9012166124Srafanwy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard,
9013166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9014166124Srafan	kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i,
9015166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
9016166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i,
9017166124Srafan	kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
9018166124Srafan	kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP,
9019166124Srafan	knp=\E[U, kpp=\E[V, use=wy370-nk,
902050276Speter#
902150276Speter#	Function key set for the VT-320 (and wy85) compatible keyboard
902250276Speter#
9023166124Srafanwy370-105k|Wyse 370 with 105 key keyboard,
9024166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
9025166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
9026166124Srafan	kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
9027166124Srafan	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
9028166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
9029166124Srafan	khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~,
9030166124Srafan	kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
9031166124Srafan	use=wy370-nk, use=vt220+keypad,
903250276Speter#
903350276Speter#	Function key set for the PC compatible keyboard
903450276Speter#
9035166124Srafanwy370-EPC|Wyse 370 with 102 key keyboard,
9036166124Srafan	kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9037166124Srafan	kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~,
9038166124Srafan	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
9039166124Srafan	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
9040166124Srafan	khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk,
904150276Speter#
904250276Speter#	Wyse 370 with visual bell.
9043166124Srafanwy370-vb|Wyse 370 with visible bell,
9044166124Srafan	bel@, use=wy370,
904550276Speter#
904650276Speter#	Wyse 370 in 132-column mode.
9047166124Srafanwy370-w|Wyse 370 in 132-column mode,
9048166124Srafan	cols#132, wsl#132,
9049166124Srafan	rs2=\E[35h\E[?3h$<70>, use=wy370,
905050276Speter#
905150276Speter#	Wyse 370 in 132-column mode with visual bell.
9052166124Srafanwy370-wvb|Wyse 370 with visible bell 132-columns,
9053166124Srafan	flash=\E[30h\E\,\E[30l$<300>, use=wy370-w,
9054166124Srafanwy370-rv|Wyse 370 reverse video,
9055166124Srafan	rs3=\E[32h\E[?5h, use=wy370,
905650276Speter#
905750276Speter#	Wyse 99gt Tektronix 4010/4014 emulator,
905850276Speter#
9059166124Srafanwy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator,
9060166124Srafan	am, os,
9061166124Srafan	cols#74, lines#35,
9062166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
9063166124Srafan	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,
9064166124Srafan	cuu1=^K, ff=^L,
9065166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
9066166124Srafan	home=^]7`x @\037,
9067166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
9068166124Srafan	is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h,
906950276Speter#
907050276Speter#	Wyse 160 Tektronix 4010/4014 emulator,
907150276Speter#
9072166124Srafanwy160-tek|Wyse 160 Tektronix 4010/4014 emulator,
9073166124Srafan	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,
9074166124Srafan	home=^]8`g @\037, use=wy99gt-tek,
907550276Speter#
907650276Speter#	Wyse 370 Tektronix 4010/4014 emulator,
907750276Speter#
9078166124Srafanwy370-tek|Wyse 370 Tektronix 4010/4014 emulator,
9079166124Srafan	am, os,
9080166124Srafan	cols#80, lines#36,
9081166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s,
9082166124Srafan	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,
9083166124Srafan	cuu1=^K, ff=^L,
9084166124Srafan	hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037,
9085166124Srafan	home=^]8g @\037,
9086166124Srafan	hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037,
9087166124Srafan	is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K,
9088166124Srafan	nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0,
908950276Speter
909050276Speter# Vendor-supplied Wyse entries end here.
909150276Speter
909250276Speter#
909350276Speter#TITLE:  TERMINFO ENTRY WY520
909450276Speter#DATE:   8/5/93
9095166124Srafan# The WY520 terminfo is based on the WY285 entry published on the WYSE
909650276Speter# BBS with the addition of more function keys and special keys.
909750276Speter#
909850276Speter#               rs1 -> set personality
909950276Speter#               rs2 -> set number of columns
910050276Speter#               rs3 -> set number of lines
910150276Speter#               is1 -> select the proper font
910250276Speter#               is2 -> do the initialization
910350276Speter#               is3 -> If this string is empty then rs3 gets sent.
910450276Speter#
910550276Speter#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
910650276Speter#       - The BS key is programmed to generate BS in smcup since
910750276Speter#         is2 doesn't seem to work.
910850276Speter#       - Remove and shift/Remove: delete a character
910950276Speter#       - Insert : enter insert mode
911050276Speter#       - Find   : delete to end of file
911150276Speter#       - Select : clear a line
911250276Speter#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
911350276Speter#       - F14 : Home key
911450276Speter#       - Bottom status line (host writable line) is used.
911550276Speter#       - smkx,rmkx are removed because this would put the numeric
911650276Speter#         keypad in Dec application mode which doesn't seem to work
911750276Speter#         with SCO applications.
911850276Speter#
9119166124Srafanwy520|wyse520|wyse 520,
9120166124Srafan	am, hs, km, mc5i, mir, xenl, xon,
9121166124Srafan	cols#80, it#8, lines#24, wsl#80,
9122166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9123166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9124166124Srafan	clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M,
9125166124Srafan	csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H,
9126166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9127166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9128166124Srafan	cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>,
9129166124Srafan	dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~,
9130166124Srafan	ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K,
9131166124Srafan	enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I,
9132166124Srafan	hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>,
9133166124Srafan	il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W,
9134166124Srafan	is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h,
9135166124Srafan	is3=\E>\E(B\E)0\017\E[m, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
9136166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~,
9137166124Srafan	kel=\E[4~, kent=\EOM, kf10=\E[21~, kf11=\E[23~,
9138166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
9139166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
9140166124Srafan	kf20=\E[34~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
9141166124Srafan	kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, khome=\E[26~,
9142166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1,
9143166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9144166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, rmam=\E[?7l,
9145166124Srafan	rmcup=\E[ R, rmir=\E[4l, rmso=\E[m, rmul=\E[24m,
9146166124Srafan	rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l,
9147166124Srafan	rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7,
9148166124Srafan	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%;,
9149166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h,
9150166124Srafan	smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
9151166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`,
9152166124Srafan	vpa=\E[%i%p1%dd, use=vt220+keypad,
915350276Speter#
915450276Speter#       Wyse 520 with 24 data lines and status (terminal status)
9155166124Srafanwy520-24|wyse520-24|wyse 520 with 24 data lines,
9156166124Srafan	hs@,
9157166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9158166124Srafan	use=wy520,
915950276Speter#
916050276Speter#       Wyse 520 with visual bell.
9161166124Srafanwy520-vb|wyse520-vb|wyse 520 with visible bell,
9162166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520,
916350276Speter#
916450276Speter#       Wyse 520 in 132-column mode.
9165166124Srafanwy520-w|wyse520-w|wyse 520 in 132-column mode,
9166166124Srafan	cols#132, wsl#132,
9167166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9168166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520,
916950276Speter#
917050276Speter#       Wyse 520 in 132-column mode with visual bell.
9171166124Srafanwy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns,
9172166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-w,
917350276Speter#
917450276Speter#
917550276Speter#       Wyse 520 emulating a vt420 7 bit mode.
917650276Speter#       The DEL key is programmed to generate BS in is2.
917750276Speter#       With EPC keyboard.
917850276Speter#       - 'End' key will clear till end of line on EPC keyboard
917950276Speter#       - Shift/End : ignored.
918050276Speter#       - Insert : enter insert mode.
918150276Speter#       - Delete : delete a character (have to change interrupt character
918250276Speter#                  to CTRL-C: stty intr '^c') for it to work since the
918350276Speter#                  Delete key sends 7FH.
9184166124Srafanwy520-epc|wyse520-epc|wyse 520 with EPC keyboard,
9185166124Srafan	kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~,
9186166124Srafan	kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H,
9187166124Srafan	use=wy520,
918850276Speter#
918950276Speter#       Wyse 520 with 24 data lines and status (terminal status)
919050276Speter#       with EPC keyboard.
9191166124Srafanwy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard,
9192166124Srafan	hs@,
9193166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@,
9194166124Srafan	use=wy520-epc,
919550276Speter#
919650276Speter#       Wyse 520 with visual bell.
9197166124Srafanwy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard,
9198166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc,
919950276Speter#
920050276Speter#       Wyse 520 in 132-column mode.
9201166124Srafanwy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard,
9202166124Srafan	cols#132, wsl#132,
9203166124Srafan	dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>,
9204166124Srafan	ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc,
920550276Speter#
920650276Speter#       Wyse 520 in 132-column mode with visual bell.
9207166124Srafanwy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard,
9208166124Srafan	flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w,
920950276Speter#
921050276Speter#       Wyse 520 in 80-column, 36 lines
9211166124Srafanwy520-36|wyse520-36|wyse 520 with 36 data lines,
9212166124Srafan	hs@,
9213166124Srafan	lines#36,
9214166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9215166124Srafan	use=wy520,
921650276Speter#
921750276Speter#       Wyse 520 in 80-column, 48 lines
9218166124Srafanwy520-48|wyse520-48|wyse 520 with 48 data lines,
9219166124Srafan	hs@,
9220166124Srafan	lines#48,
9221166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9222166124Srafan	use=wy520,
922350276Speter#
922450276Speter#       Wyse 520 in 132-column, 36 lines
9225166124Srafanwy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines,
9226166124Srafan	cols#132, wsl#132,
9227166124Srafan	rs2=\E[?3h,
9228166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9229166124Srafan	use=wy520-36,
923050276Speter#
923150276Speter#       Wyse 520 in 132-column, 48 lines
9232166124Srafanwy520-48w|wyse520-48w|wyse 520 with 48 data lines,
9233166124Srafan	cols#132, wsl#132,
9234166124Srafan	rs2=\E[?3h,
9235166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9236166124Srafan	use=wy520-48,
923750276Speter#
923850276Speter#
923950276Speter#       Wyse 520 in 80-column, 36 lines with EPC keyboard
9240166124Srafanwy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard,
9241166124Srafan	hs@,
9242166124Srafan	lines#36,
9243166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@,
9244166124Srafan	use=wy520-epc,
924550276Speter#
924650276Speter#       Wyse 520 in 80-column, 48 lines with EPC keyboard
9247166124Srafanwy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard,
9248166124Srafan	hs@,
9249166124Srafan	lines#48,
9250166124Srafan	dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@,
9251166124Srafan	use=wy520-epc,
925250276Speter#
925350276Speter#       Wyse 520 in 132-column, 36 lines with EPC keyboard
9254166124Srafanwy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard,
9255166124Srafan	cols#132, wsl#132,
9256166124Srafan	rs2=\E[?3h,
9257166124Srafan	rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|,
9258166124Srafan	use=wy520-36pc,
925950276Speter#
926050276Speter#       Wyse 520 in 132-column, 48 lines with EPC keyboard
9261166124Srafanwy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard,
9262166124Srafan	cols#132, wsl#132,
9263166124Srafan	rs2=\E[?3h,
9264166124Srafan	rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|,
9265166124Srafan	use=wy520-48pc,
926650276Speter
926750276Speter# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
926850276Speter# (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
926950276Speter# file and we don't know what <hts> is -- esr)
9270166124Srafanwyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
9271166124Srafan	OTbs, am,
9272166124Srafan	cols#80, it#8, lines#24,
9273166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
9274166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW,
9275166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J,
9276166124Srafan	is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F,
9277166124Srafan	kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O,
9278166124Srafan	rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N,
9279166124Srafan	smul=^N,
928050276Speter
9281166124Srafanwy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad,
9282166124Srafan	is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=,
9283166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9284166124Srafan	khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>,
9285166124Srafan	use=wy75,
928650276Speter
928750276Speter# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
9288166124Srafanwy100q|Wyse 100 for Quotron,
9289166124Srafan	OTbs,
9290166124Srafan	cols#80, lines#24, xmc#1,
9291166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L,
9292166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
9293166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@,
9294166124Srafan	is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J,
9295166124Srafan	kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr,
929650276Speter
929750276Speter#### Kermit terminal emulations
929850276Speter#
929950276Speter# Obsolete Kermit versions may be listed in the section describing obsolete
930050276Speter# non-ANSI terminal emulators later in the file.
930150276Speter#
930250276Speter
930350276Speter# KERMIT standard all versions.
930450276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
930550276Speter# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
930650276Speter# From: greg small <gts@populi.berkeley.edu> 9-25-84
9307166124Srafankermit|standard kermit,
9308166124Srafan	OTbs,
9309166124Srafan	cols#80, lines#24,
9310166124Srafan	clear=\EE, cub1=^H, cuf1=\EC,
9311166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
9312166124Srafan	el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n,
9313166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
9314166124Srafankermit-am|standard kermit plus auto-margin,
9315166124Srafan	am,
9316166124Srafan	is2=K1 Standard Kermit plus Automatic Margins\n,
9317166124Srafan	use=kermit,
931850276Speter# IBMPC Kermit 1.2.
931950276Speter# Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
932050276Speter# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
932150276Speter# line).
932250276Speter# From: greg small <gts@populi.berkeley.edu> 8-30-84
9323166124Srafanpckermit|pckermit12|UCB IBMPC Kermit 1.2,
9324166124Srafan	am,
9325166124Srafan	lines#25,
9326166124Srafan	clear=\EH\EJ, ed@, el@,
9327166124Srafan	is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit,
932850276Speter# IBMPC Kermit 1.20
932950276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
933050276Speter# Initialization must escape from that region by cursor position to line 24.
933150276Speter# Cannot use character insert because 1.20 goes crazy if insert at col 80.
933250276Speter# Does not use :am: because autowrap is lost when kermit dropped and restarted.
933350276Speter# From: greg small <gts@populi.berkeley.edu> 12-19-84
9334166124Srafanpckermit120|UCB IBMPC Kermit 1.20,
9335166124Srafan	it#8, lines#24,
9336166124Srafan	cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I,
9337166124Srafan	il1=\EL,
9338166124Srafan	is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n,
9339166124Srafan	rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit,
934050276Speter# MS-DOS Kermit 2.27 for the IBMPC
934150276Speter# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
934250276Speter# Cannot use line 25, now acts funny like ansi special scrolling region.
934350276Speter# Initialization must escape from that region by cursor position to line 24.
934450276Speter# Does not use am: because autowrap is lost when kermit dropped and restarted.
934550276Speter# Reverse video for standout like H19.
934650276Speter# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
934750276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9348166124Srafanmsk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC,
9349166124Srafan	OTbs, am@,
9350166124Srafan	cols#80, it#8, lines#24,
9351166124Srafan	clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
9352166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
9353166124Srafan	cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK,
9354166124Srafan	home=\EH, ht=^I, il1=\EL,
9355166124Srafan	is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n,
9356166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek,
9357166124Srafan	rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep,
935850276Speter# MS-DOS Kermit 2.27 with automatic margins
935950276Speter# From:	greg small <gts@populi.berkeley.edu> 3-17-85
9360166124Srafanmsk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins,
9361166124Srafan	am,
9362166124Srafan	cvvis=\EO\Eq\EG\EvK5,
9363166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n,
9364166124Srafan	use=msk227,
936550276Speter# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
936650276Speter# Automatic margins now default.  Use ansi <sgr> for highlights.
936750276Speter# Define function keys.
936850276Speter# (msk22714: removed obsolete ":kn#10:" -- esr)
936950276Speter# From: greg small <gts@populi.berkeley.edu> 3-17-85
9370166124Srafanmsk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC,
9371166124Srafan	am,
9372166124Srafan	bold=\E[1m, cvvis=\EO\Eq\EG\EvK6,
9373166124Srafan	is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n,
9374166124Srafan	kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6,
9375166124Srafan	kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m,
9376166124Srafan	sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227,
937750276Speter# This was designed for a VT320 emulator, but it is probably a good start
937850276Speter# at support for the VT320 itself.
937950276Speter# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
938050276Speter# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
9381166124Srafanvt320-k3|MS-Kermit 3.00's vt320 emulation,
9382166124Srafan	am, eslok, hs, km, mir, msgr, xenl,
9383166124Srafan	cols#80, it#8, lines#49, pb#9600, vt#3,
9384166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9385166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9386166124Srafan	clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M,
9387166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9388166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9389166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9390166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9391166124Srafan	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
9392166124Srafan	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
9393166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
9394166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
9395166124Srafan	is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD,
9396166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~,
9397166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9398166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~,
9399166124Srafan	kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8,
9400166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l,
9401166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
9402166124Srafan	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$~,
9403166124Srafan	sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h,
9404166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9405166124Srafan	tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd,
940650276Speter# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
940750276Speter# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
940850276Speter# (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
9409166124Srafanvt320-k311|dec vt320 series as defined by kermit 3.11,
9410166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
9411166124Srafan	cols#80, it#8, lines#24, vt#3,
9412166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9413166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
9414166124Srafan	clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M,
9415166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9416166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9417166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9418166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
9419166124Srafan	dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K,
9420166124Srafan	flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH,
9421166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED,
9422166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
9423166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
9424166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~,
9425166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2,
9426166124Srafan	lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m,
9427166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O,
9428166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
9429166124Srafan	rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N,
9430166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m,
9431166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH,
943250276Speter
943350276Speter######## NON-ANSI TERMINAL EMULATIONS
943450276Speter#
943550276Speter
943650276Speter#### Avatar
943750276Speter#
943850276Speter# These entries attempt to describe Avatar, a terminal emulation used with
943950276Speter# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
944050276Speter# capabilities, but with cheaper (shorter) control sequences.  Messy design,
944150276Speter# excessively dependent on PC idiosyncracies, but apparently rather popular
944250276Speter# in the BBS world.
944350276Speter#
944450276Speter# No color support.  Avatar doesn't fit either of the Tektronix or HP color
944550276Speter# models that terminfo knows about.  An Avatar color attribute is the
944650276Speter# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
944750276Speter#
944850276Speter# I wrote these entries while looking at the Avatar spec.  I don't have
944950276Speter# the facilities to test them.  Let me know if they work, or don't.
945050276Speter#
945150276Speter# Avatar escapes not used by these entries (because maybe you're smarter
945250276Speter# and more motivated than I am and can figure out how to wrap terminfo
945350276Speter# around some of them, and because they are weird enough to be funny):
945450276Speter#				level 0:
945550276Speter# ^L		-- clear window/reset current attribute to default
945650276Speter# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
9457166124Srafan#
945850276Speter#      bit:         6   5   4   3   2   1   0
945950276Speter#                   |       |   |   |       |
946050276Speter#                   +---+---+   |   +---+---+
946150276Speter#                       |       |       |
946250276Speter#                       |       |  foreground color
946350276Speter#                       |  foreground intensity
946450276Speter#                  background color
946550276Speter#				level 0+:
946650276Speter# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
946750276Speter# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
9468166124Srafan# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
9469166124Srafan# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
947050276Speter# (^V^L and ^V^M set the current attribute as a side-effect.)
947150276Speter# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
947250276Speter#			   in the pattern, <c> the number of times the pattern
947350276Speter#		  	   should be repeated. If either value is 0, no-op.
947450276Speter#			   The pattern can contain Avatar console codes,
947550276Speter#			   including other ^V ^Y patterns.
947650276Speter#				level 1:
947750276Speter# ^V^O		-- clockwise mode on; turn print direction right each time you
947850276Speter#		   hit a window edge (yes, really).  Turned off by CR
947950276Speter# ^V^P		-- no-op
948050276Speter# ^V^Q%c	-- query the driver
948150276Speter# ^V^R		-- driver reset
948250276Speter# ^V^S		-- Sound tone (PC-specific)
948350276Speter# ^V^T			-- change highlight at current cursor poition to %c
948450276Speter# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
948550276Speter# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
9486166124Srafan#			-- define window
948750276Speter#
948850276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
948950276Speter# (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
949050276Speter# tell ncurses that the corresponding highlights exist; it should use <sgr>,
949150276Speter# which is the only method that will actually work for multiple highlights.)
9492166124Srafan#
9493166124Srafan# Update by TD - 2004: half of this was inconsistent.  Found documentation
9494166124Srafan# and repaired most of the damage.  sgr0 is probably incorrect, but the
9495166124Srafan# available documentation gives no clues for a workable string.
9496166124Srafanavatar0|avatar terminal emulator level 0,
9497166124Srafan	am, bce, msgr,
9498166124Srafan	cols#80, it#8, lines#25,
9499166124Srafan	blink=^V^B, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D,
9500166124Srafan	cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G,
9501166124Srafan	ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%c, rev=^V^Ap,
9502166124Srafan	rmacs@, rs2=^L,
9503166124Srafan	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%;,
9504166124Srafan	sgr0=^V^A^G, smacs@, smso=^V^Ap, smul=^V^A^A,
9505166124Srafan	use=klone+acs,
950650276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9507166124Srafanavatar0+|avatar terminal emulator level 0+,
9508166124Srafan	dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0,
950950276Speter# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
9510166124Srafanavatar|avatar1|avatar terminal emulator level 1,
9511166124Srafan	civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+,
9512166124Srafan	rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+,
951350276Speter
951450276Speter#### RBcomm
951550276Speter#
951650276Speter# RBComm is a lean and mean terminal emulator written by the Interrupt List
951750276Speter# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
951850276Speter# '90s), especially in the BBS world, and still has some loyal users due to
951950276Speter# its very small memory footprint and to a cute macro language.
9520166124Srafanrbcomm|IBM PC with RBcomm and EMACS keybindings,
9521166124Srafan	am, bw, mir, msgr, xenl,
9522166124Srafan	cols#80, it#8, lines#25,
9523166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
9524166124Srafan	clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9525166124Srafan	cub1=^H, cud1=^C, cuf1=^B,
9526166124Srafan	cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, dch1=^W,
9527166124Srafan	dl=\E[%p1%dM, dl1=^Z, ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I,
9528166124Srafan	il=\E[%p1%dL, il1=^K, ind=\ED, invis=\E[8m,
9529166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H,
9530166124Srafan	kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED,
9531166124Srafan	rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=,
9532166124Srafan	rmir=^], rmkx=\E>, rmso=^U, rmul=^U,
9533166124Srafan	rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m,
9534166124Srafan	smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T,
9535166124Srafanrbcomm-nam|IBM PC with RBcomm without autowrap,
9536166124Srafan	am@,
9537166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9538166124Srafan	is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H,
9539166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
9540166124Srafanrbcomm-w|IBM PC with RBcomm in 132 column mode,
9541166124Srafan	cols#132,
9542166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J,
9543166124Srafan	is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H,
9544166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm,
954550276Speter
954666963Speter######## LCD DISPLAYS
954766963Speter#
954866963Speter
954966963Speter#### Matrix Orbital
955066963Speter# from: Eric Z. Ayers  (eric@ale.org)
955166963Speter#
955266963Speter# Matrix Orbital 20x4 LCD display
955366963Speter# Command Character is 0xFE (decimal 254, octal 376)
955466963Speter#
955566963Speter# On this device, cursor addressability isn't possible.  The LCD expects:
9556166124Srafan#      0xfe G <col> <row>
955766963Speter#      for cup: %p1 == row and %p2 is column
955866963Speter#
955966963Speter# This line:
956066963Speter#	cup=\376G%p2%c%p1%c
9561166124Srafan# LOOKS like it will work, but sometimes only one of the two numbers is sent.
956266963Speter# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
9563166124Srafan#
956466963Speter# Alas, there is no cursor upline capability on this display.
956566963Speter#
956666963Speter# These entries add some 'sanity stuff' to the clear function.  That is, it
956766963Speter# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
956866963Speter# and turns off the cursor blinking and stuff like that.
956966963Speter#
957066963Speter# NOTE: calling 'beep' turns on the backlight (bell)
957166963Speter# NOTE: calling 'flash' turns it on and back off (visual bell)
957266963Speter#
9573166124SrafanMtxOrb|Generic Matrix Orbital LCD display,
9574166124Srafan	bel=\376B^A, clear=\376X\376C\376R\376K\376T,
9575166124Srafan	cnorm=\376K\376T, cub1=\376L, cuf1=\376M,
9576166124Srafan	flash=\376B\001$<200>\376F, home=\376H,
9577166124SrafanMtxOrb204|20x4 Matrix Orbital LCD display,
9578166124Srafan	cols#20, lines#4, use=MtxOrb,
9579166124SrafanMtxOrb162|16x2 Matrix Orbital LCD display,
9580166124Srafan	cols#16, lines#2, use=MtxOrb,
958166963Speter# The end
958266963Speter
958350276Speter######## OLDER TERMINAL TYPES
958450276Speter#
958550276Speter# This section is devoted to older commercial terminal brands that are now
958650276Speter# discontinued, but known to be still in use or represented by emulations.
958750276Speter#
958850276Speter
958950276Speter#### AT&T (att, tty)
959050276Speter#
959150276Speter# This section also includes Teletype-branded VDTs.
959250276Speter#
959350276Speter# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
959450276Speter# Boundless Technologies); for details, see the header comment on the ADDS
959550276Speter# section.
959650276Speter#
959750276Speter# These are AT&T's official terminfo entries.  All-caps aliases have been
959850276Speter# removed.
959950276Speter#
9600166124Srafanatt2300|sv80|AT&T 2300 Video Information Terminal 80 column mode,
9601166124Srafan	am, eo, mir, msgr, xon,
9602166124Srafan	cols#80, it#8, lines#24,
9603166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H,
9604166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9605166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9606166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
9607166124Srafan	el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@,
9608166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9609166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9610166124Srafan	kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r,
9611166124Srafan	kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r,
9612166124Srafan	kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r,
9613166124Srafan	kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H,
9614166124Srafan	kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
9615166124Srafan	rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h,
9616166124Srafan	smso=\E[7m,
9617166124Srafanatt2350|AT&T 2350 Video Information Terminal 80 column mode,
9618166124Srafan	mc0@, mc4@, mc5@, use=att2300,
961950276Speter
962050276Speter# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
962150276Speter# Seems upward compatible with vt100, plus ins/del line/char.
962250276Speter# On sgr, the protection parameter is ignored.
962350276Speter# No check is made to make sure that only 3 parameters are output.
962450276Speter# 	standout= reverse + half-intensity = 3 | 5.
962550276Speter# 	bold= reverse + underline = 2 | 3.
962650276Speter# note that half-bright blinking doesn't look different from normal blinking.
962750276Speter# NOTE:you must program the function keys first, label second!
9628166124Srafan# (att4410: a BSD entry has been seen with the following capabilities:
962950276Speter# <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
963050276Speter# <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
9631166124Srafanatt5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1,
9632166124Srafan	am, hs, mir, msgr, xon,
9633166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
9634166124Srafan	acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9635166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M,
9636166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
9637166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m,
9638166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I,
9639166124Srafan	ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0,
9640166124Srafan	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,
9641166124Srafan	kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9642166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT,
9643166124Srafan	kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H,
9644166124Srafan	ll=\E[24H, nel=^M^J,
9645166124Srafan	pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s,
9646166124Srafan	pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
9647166124Srafan	rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9648166124Srafan	sc=\E7,
9649166124Srafan	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%;,
9650166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9651166124Srafan	tsl=\E7\E[25;%p1%{1}%+%dH,
965250276Speter
9653166124Srafanatt4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1,
9654166124Srafan	cols#132, wsl#132,
9655166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1,
965650276Speter
9657166124Srafanatt4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2,
9658166124Srafan	OTbs,
9659166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s,
9660166124Srafan	use=att5410v1,
966150276Speter
9662166124Srafanatt5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode,
9663166124Srafan	cols#132, wsl#132,
9664166124Srafan	is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410,
966550276Speter
966650276Speter# 5410 in terms of a vt100
966750276Speter# (v5410: added <rmam>/<smam> based on init string -- esr)
9668166124Srafanv5410|att5410 in terms of a vt100,
9669166124Srafan	am, mir, msgr, xon,
9670166124Srafan	cols#80, it#8, lines#24, vt#3,
9671166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9672166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
9673166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
9674166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2>,
9675166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P,
9676166124Srafan	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
9677166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@,
9678166124Srafan	il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
9679166124Srafan	kcuu1=\EOA, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O,
9680166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>,
9681166124Srafan	rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
9682166124Srafan	sc=\E7,
9683166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
9684166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
9685166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
9686166124Srafan	use=vt100+fnkeys,
968750276Speter
9688166124Srafan#
968950276Speter# Teletype Model 5420 -- A souped up 5410, with multiple windows,
969050276Speter# even! the 5420 has three modes: scroll, window or page mode
969150276Speter# this terminfo should work in scroll or window mode, but doesn't
969250276Speter# take advantage of any of the differences between them.
969350276Speter#
969450276Speter# Has memory below (2 lines!)
969550276Speter# 3 pages of memory (plus some spare)
969650276Speter# The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
969750276Speter# <hpa>, <hts> would work for these, but these work in both scroll and window
969850276Speter# mode... Unset insert character so insert mode works
969950276Speter# <is1> sets 80 column mode,
970050276Speter# <is2> escape sequence:
970150276Speter# 1) turn off all fonts
970250276Speter# 2) function keys off, keyboard lock off, control display off,
970350276Speter#    insert mode off, erasure mode off,
970450276Speter# 3) full duplex, monitor mode off, send graphics off, nl on lf off
970550276Speter# 4) reset origin mode
970650276Speter# 5) set line wraparound
970750276Speter# 6) exit erasure mode, positional attribute mode, and erasure extent mode
970850276Speter# 7) clear margins
970950276Speter# 8) program ENTER to transmit ^J,
971050276Speter# We use \212 to program the ^J because a bare ^J will get translated by
971150276Speter# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
971250276Speter#     1      2            3              4     5     6    7  8
971350276Speter# <is3> set screen color to black,
971450276Speter# No representation in terminfo for the delete word key: kdw1=\Ed
971550276Speter# Key capabilities assume the power-up send sequence...
9716166124Srafan# This <rmcup> is not strictly necessary, but it helps maximize
971750276Speter# memory usefulness: <rmcup=\Ez>,
971850276Speter# Alternate sgr0:	<sgr0=\E[m\EW^O>,
971950276Speter# 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%;>,
972050276Speter# smkx programs the SYS PF keys to send a set sequence.
972150276Speter# It also sets up labels f1, f2, ..., f8, and sends edit keys.
972250276Speter# This string causes them to send the strings <kf1>-<kf8>
972350276Speter# when pressed in SYS PF mode.
972450276Speter# (att4415: I added <rmam>/<smam> based on the init string -- esr)
9725166124Srafanatt4415|tty5420|att5420|AT&T 4415/5420 80 cols,
9726166124Srafan	OTbs, db, mir, xon,
9727166124Srafan	lh#2, lm#78, lw#8, nlab#8, wsl#55,
9728166124Srafan	cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD,
9729166124Srafan	cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx,
9730166124Srafan	cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP,
9731166124Srafan	dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD,
9732166124Srafan	flash=\E[?5h$<200>\E[?5l, home=\E[x,
9733166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@,
9734166124Srafan	il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>,
9735166124Srafan	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,
9736166124Srafan	is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M,
9737166124Srafan	kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd,
9738166124Srafan	kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
9739166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9740166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9741166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i,
9742166124Srafan	mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt,
9743166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s,
9744166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV,
9745166124Srafan	rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l,
9746166124Srafan	rmkx=\E[19;0j\E[21;1j\212, rmln=\E|,
9747166124Srafan	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%;,
9748166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h,
9749166124Srafan	smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g,
9750166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9751166124Srafan	use=att4410,
975250276Speter
9753166124Srafanatt4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols,
9754166124Srafan	cols#132, lm#54, wsl#97,
9755166124Srafan	is1=\E[?3h$<100>, use=att4415,
975650276Speter
9757166124Srafanatt4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv,
9758166124Srafan	flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415,
975950276Speter
9760166124Srafanatt4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv,
9761166124Srafan	cols#132, lm#54, wsl#97,
9762166124Srafan	flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h,
9763166124Srafan	use=att4415,
976450276Speter
976550276Speter# Note that this mode permits programming USER PF KEYS and labels
976650276Speter# However, when you program user pf labels you have to reselect
9767166124Srafan# user pf keys to make them appear!
9768166124Srafanatt4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels,
9769166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@,
9770166124Srafan	pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s,
9771166124Srafan	pln=\E[%p1%d;0;0;1q%p2%:-16.16s,
977250276Speter
9773166124Srafanatt4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels,
9774166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9775166124Srafan	use=att4415,
977650276Speter
9777166124Srafanatt4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels,
9778166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9779166124Srafan	use=att4415-rv,
978050276Speter
9781166124Srafanatt4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels,
9782166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9783166124Srafan	use=att4415-w,
978450276Speter
9785166124Srafanatt4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels,
9786166124Srafan	kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl,
9787166124Srafan	use=att4415-w-rv,
978850276Speter
9789166124Srafanatt5420_2|AT&T 5420 model 2 80 cols,
9790166124Srafan	am, db, hs, mir, msgr, xon,
9791166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9792166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9793166124Srafan	blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j,
9794166124Srafan	cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9795166124Srafan	cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C,
9796166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j,
9797166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
9798166124Srafan	dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K,
9799166124Srafan	el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9800166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9801166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9802166124Srafan	invis=\E[8m,
9803166124Srafan	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,
9804166124Srafan	kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D,
9805166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
9806166124Srafan	kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe,
9807166124Srafan	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H,
9808166124Srafan	kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U,
9809166124Srafan	kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5,
9810166124Srafan	lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i,
9811166124Srafan	mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J,
9812166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~,
9813166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8,
9814166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j,
9815166124Srafan	rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y,
9816166124Srafan	sc=\E7,
9817166124Srafan	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%;,
9818166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~,
9819166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g,
9820166124Srafan	tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd,
9821166124Srafanatt5420_2-w|AT&T 5420 model 2 in 132 column mode,
9822166124Srafan	cols#132,
9823166124Srafan	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,
9824166124Srafan	use=att5420_2,
982550276Speter
9826166124Srafanatt4418|att5418|AT&T 5418 80 cols,
9827166124Srafan	am, xon,
9828166124Srafan	cols#80, lines#24,
9829166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9830166124Srafan	bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD,
9831166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
9832166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
9833166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m,
9834166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H,
9835166124Srafan	ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J,
9836166124Srafan	is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@,
9837166124Srafan	kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h,
9838166124Srafan	kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I,
9839166124Srafan	kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E,
9840166124Srafan	kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j,
9841166124Srafan	kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8,
9842166124Srafan	rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7,
9843166124Srafan	sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m,
9844166124Srafanatt4418-w|att5418-w|AT&T 5418 132 cols,
9845166124Srafan	cols#132,
9846166124Srafan	is1=\E[?3h, use=att5418,
984750276Speter
9848166124Srafanatt4420|tty4420|teletype 4420,
9849166124Srafan	OTbs, da, db, eo, msgr, ul, xon,
9850166124Srafan	cols#80, lines#24, lm#72,
9851166124Srafan	bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC,
9852166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
9853166124Srafan	dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s,
9854166124Srafan	kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC,
9855166124Srafan	kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH,
9856166124Srafan	kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET,
9857166124Srafan	lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~,
9858166124Srafan	rmul=\EZ, smdc@, smso=\E}, smul=\E\\,
985950276Speter
986050276Speter#  The following is a terminfo entry for the Teletype 4424
986150276Speter#  asynchronous keyboard-display terminal.  It supports
986250276Speter#  the vi editor.  The terminal must be set up as follows,
9863166124Srafan#
986450276Speter# 	HIGHLIGHT DEFINITION	3-TONE
986550276Speter# 	DISPLAY FUNCTION	GROUP III
9866166124Srafan#
986750276Speter#  The second entry below provides limited (a la adm3a)
986850276Speter#  operation under GROUP II.
9869166124Srafan#
987050276Speter#  This must be used with DISPLAY FUNCTION GROUP I or III
987150276Speter# 	and HIGHLIGHT DEFINITION 3-TONE
987250276Speter# The terminal has either bold or blink, depending on options
987350276Speter#
987450276Speter# (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
9875166124Srafanatt4424|tty4424|teletype 4424,
9876166124Srafan	OTbs, am, xon,
9877166124Srafan	cols#80, lines#24,
9878166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9879166124Srafan	bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M,
9880166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9881166124Srafan	cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC,
9882166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA,
9883166124Srafan	dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM,
9884166124Srafan	ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
9885166124Srafan	ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h,
9886166124Srafan	kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
9887166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
9888166124Srafan	khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~,
9889166124Srafan	rmul=\EZ,
9890166124Srafan	sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m,
9891166124Srafan	sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\,
9892166124Srafan	tbc=\EF,
989350276Speter
9894166124Srafanatt4424-1|tty4424-1|teletype 4424 in display function group I,
9895166124Srafan	kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@,
9896166124Srafan	use=att4424,
989750276Speter
989850276Speter# This entry is not one of AT&T's official ones, it was translated from the
989950276Speter# 4.4BSD termcap file.  The highlight strings are different from att4424.
990050276Speter# I have no idea why this is -- older firmware version, maybe?
990150276Speter# The following two lines are the comment originally attached to the entry:
990250276Speter# This entry appears to avoid the top line - I have no idea why.
990350276Speter# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
9904166124Srafanatt4424m|tty4424m|teletype 4424M,
9905166124Srafan	am, da, db, mir,
9906166124Srafan	cols#80, it#8, lines#23,
9907166124Srafan	bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
9908166124Srafan	cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP,
9909166124Srafan	dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>,
9910166124Srafan	is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B,
9911166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
9912166124Srafan	kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m,
9913166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
991450276Speter
9915166124Srafan# The Teletype 5425 is really version 2 of the Teletype 5420. It
9916166124Srafan# is quite similar, except for some minor differences. No page
9917166124Srafan# mode, for example, so all of the <cup> sequences used above have
9918166124Srafan# to change back to what's being used for the 5410. Many of the
991950276Speter# option settings have changed their numbering as well.
9920166124Srafan#
992150276Speter# This has been tested on a preliminary model.
992250276Speter#
992350276Speter# (att5425: added <rmam>/<smam> based on the init string -- esr)
9924166124Srafanatt5425|tty5425|att4425|AT&T 4425/5425,
9925166124Srafan	am, da, db, hs, mir, msgr, xenl, xon,
9926166124Srafan	cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55,
9927166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9928166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
9929166124Srafan	clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M,
9930166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
9931166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
9932166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
9933166124Srafan	cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
9934166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J,
9935166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
9936166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H,
9937166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
9938166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE,
9939166124Srafan	invis=\E[8m, is1=\E<\E[?3l$<100>,
9940166124Srafan	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,
9941166124Srafan	is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J,
9942166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
9943166124Srafan	kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc,
9944166124Srafan	kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi,
9945166124Srafan	kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T,
9946166124Srafan	kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i,
9947166124Srafan	nel=^M^J,
9948166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
9949166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8,
9950166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l,
9951166124Srafan	rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|,
9952166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7,
9953166124Srafan	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%;,
9954166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
9955166124Srafan	smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m,
9956166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH,
9957166124Srafan	vpa=\E[%p1%{1}%+%dd,
995850276Speter
9959166124Srafanatt5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels,
9960166124Srafan	smkx=\E[21;1j\E[25;4j\Eent, use=att4425,
996150276Speter
9962166124Srafanatt5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode,
9963166124Srafan	cols#132, lm#54, wsl#97,
9964166124Srafan	is1=\E[?3h$<100>, use=tty5425,
996550276Speter
9966166124Srafan# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
996750276Speter# I also added <rmam>/<smam> -- esr)
9968166124Srafanatt4426|tty4426|teletype 4426S,
9969166124Srafan	am, da, db, xon,
9970166124Srafan	cols#80, lines#24, lm#48,
9971166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
9972166124Srafan	bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V,
9973166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
9974166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
9975166124Srafan	cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP,
9976166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H,
9977166124Srafan	hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^,
9978166124Srafan	il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS,
9979166124Srafan	is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO,
9980166124Srafan	kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
9981166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
9982166124Srafan	kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H,
9983166124Srafan	nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT,
9984166124Srafan	rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m,
9985166124Srafan	rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0,
9986166124Srafan	smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g,
9987166124Srafan	vpa=\E[%p1%dd,
998850276Speter
998950276Speter# Terminfo entry for the AT&T 510 A Personal Terminal
9990166124Srafan# Function keys 9 - 16 are available only after the
999150276Speter# screen labeled (soft keys/action blocks) are labeled.  Function key
999250276Speter# 9 corresponds to the leftmost touch target on the screen,
999350276Speter# function key 16 corresponds to the rightmost.
999450276Speter#
999550276Speter# This entry is based on one done by Ernie Rice at Summit, NJ and
999650276Speter# changed by Anne Gallup, Skokie, IL, ttrdc!anne
9997166124Srafanatt510a|bct510a|AT&T 510A Personal Terminal,
9998166124Srafan	am, mir, msgr, xenl, xon,
9999166124Srafan	cols#80, lh#2, lines#24, lw#7, nlab#8,
10000166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
10001166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
10002166124Srafan	civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M,
10003166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B,
10004166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
10005166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP,
10006166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J,
10007166124Srafan	el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I,
10008166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l,
10009166124Srafan	is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z,
10010166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm,
10011166124Srafan	kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh,
10012166124Srafan	kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe,
10013166124Srafan	kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T,
10014166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE,
10015166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM,
10016166124Srafan	rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7,
10017166124Srafan	sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;,
10018166124Srafan	sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m,
10019166124Srafan	smul=\E[4m, tbc=\E[3g,
1002050276Speter
1002150276Speter# Terminfo entry for the AT&T 510 D Personal Terminal
1002250276Speter# Function keys 9 through 16 are accessed by bringing up the
1002350276Speter# system blocks.
1002450276Speter# Function key 9 corresponds to the leftmost touch target on the screen,
1002550276Speter# function key 16 corresponds to the rightmost.
1002650276Speter#
10027166124Srafan# There are problems with soft key labeling.  These are due to
1002850276Speter# strangenesses in the native terminal that are impossible to
10029166124Srafan# describe in a terminfo.
10030166124Srafanatt510d|bct510d|AT&T 510D Personal Terminal,
10031166124Srafan	am, da, db, mir, msgr, xenl, xon,
10032166124Srafan	cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8,
10033166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
10034166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
10035166124Srafan	clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD,
10036166124Srafan	cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC,
10037166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
10038166124Srafan	cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P,
10039166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K,
10040166124Srafan	el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H,
10041166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
10042166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
10043166124Srafan	invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212,
10044166124Srafan	kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D,
10045166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd,
10046166124Srafan	kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi,
10047166124Srafan	kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf,
10048166124Srafan	kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2,
10049166124Srafan	mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE,
10050166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
10051166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
10052166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|,
10053166124Srafan	rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|,
10054166124Srafan	rs2=\E[5;0|, sc=\E7,
10055166124Srafan	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%;,
10056166124Srafan	sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h,
10057166124Srafan	smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m,
10058166124Srafan	smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1005950276Speter
1006050276Speter# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
10061166124Srafanatt500|att513|AT&T 513 using page mode,
10062166124Srafan	am, chts, mir, msgr, xenl, xon,
10063166124Srafan	cols#80, lh#2, lines#24, lw#8, nlab#8,
10064166124Srafan	acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~,
10065166124Srafan	bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z,
10066166124Srafan	clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M,
10067166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10068166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
10069166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10070166124Srafan	cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m,
10071166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10072166124Srafan	enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
10073166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J,
10074166124Srafan	indn=\E[%p1%dE, invis=\E[8m,
10075166124Srafan	is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l,
10076166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10077166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10078166124Srafan	kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK,
10079166124Srafan	kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ,
10080166124Srafan	kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY,
10081166124Srafan	kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw,
10082166124Srafan	kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd,
10083166124Srafan	kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10084166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent,
10085166124Srafan	kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
10086166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm,
10087166124Srafan	khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi,
10088166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
10089166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
10090166124Srafan	kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB,
10091166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2,
10092166124Srafan	mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i,
10093166124Srafan	nel=\EE,
10094166124Srafan	pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s,
10095166124Srafan	pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s,
10096166124Srafan	pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s,
10097166124Srafan	pln=\E[%p1%dp%p2%:-16s, rc=\E8,
10098166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM,
10099166124Srafan	rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l,
10100166124Srafan	rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m,
10101166124Srafan	rmul=\E[m,
10102166124Srafan	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,
10103166124Srafan	rs2=\E[5;0|, sc=\E7,
10104166124Srafan	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%;,
10105166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h,
10106166124Srafan	smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m,
10107166124Srafan	smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
1010850276Speter
1010950276Speter# 01-07-88
1011050276Speter# printer must be set to EMUL ANSI to accept ESC codes
1011150276Speter# <cuu1> stops at top margin
1011250276Speter# <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
1011350276Speter#	and alt font ascii,wrap on,tabs cleared
1011450276Speter# <is2> disables newline on LF,Emphasized off
1011550276Speter# The <u0> capability sets form length
10116166124Srafanatt5310|att5320|AT&T Model 53210 or 5320 matrix printer,
10117166124Srafan	xhpa, xvpa,
10118166124Srafan	bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10,
10119166124Srafan	orhi#100, orl#12, orvi#72,
10120166124Srafan	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%;,
10121166124Srafan	cr=^M,
10122166124Srafan	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%;,
10123166124Srafan	cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM,
10124166124Srafan	ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r,
10125166124Srafan	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%;,
10126166124Srafan	rshm=\E[m,
10127166124Srafan	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(}%;,
10128166124Srafan	smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds,
10129166124Srafan	smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m,
10130166124Srafan	u0=\E[%p1%dt, vpa=\E[%p1%dd,
1013150276Speter
1013250276Speter# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
1013350276Speter# The following SET-UP modes are assumed for normal operation:
1013450276Speter#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
1013550276Speter# Other SET-UP modes may be set for operator convenience or communication
1013650276Speter# requirements.  This termcap description is for the Resident Terminal Mode.
1013750276Speter# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1013850276Speter# The BRL entry also said: UNSAFE :ll=\E[70H:
10139166124Srafanatt5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs,
10140166124Srafan	am, xon,
10141166124Srafan	cols#88, it#8, lines#70, vt#3,
10142166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
10143166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10144166124Srafan	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10145166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
10146166124Srafan	il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J,
10147166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10148166124Srafan	kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT,
10149166124Srafan	rs1=\Ec, sc=\E7,
1015050276Speter
1015150276Speter# 5620 terminfo  (2.0 or later ROMS with char attributes)
1015250276Speter# The following SET-UP modes are assumed for normal operation:
1015350276Speter#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
1015450276Speter# Other SET-UP modes may be set for operator convenience or communication
1015550276Speter# requirements.  This termcap description is for Resident Terminal Mode.  No
1015650276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1015750276Speter# assumptions: <ind> (scroll forward one line) is only done at screen bottom
1015850276Speter# Be aware that older versions of the dmd have a firmware bug that affects
1015950276Speter# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
1016050276Speter# <msgr> is from an otherwise inferior BRL for this terminal.  That entry
1016150276Speter# also has <ll>=\E[70H commented out and marked unsafe.
1016250276Speter# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
10163166124Srafanatt5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns,
10164166124Srafan	OTbs, am, msgr, npc, xon,
10165166124Srafan	cols#88, it#8, lines#70,
10166166124Srafan	bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H,
10167166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
10168166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
10169166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@,
10170166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
10171166124Srafan	indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10172166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J,
10173166124Srafan	pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T,
10174166124Srafan	rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7,
10175166124Srafan	sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
10176166124Srafanatt5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer,
10177166124Srafan	lines#24, use=att5620,
10178166124Srafanatt5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer,
10179166124Srafan	lines#34, use=att5620,
1018050276Speter# 5620 layer running the "S" system's downloaded graphics handler:
10181166124Srafanatt5620-s|tty5620-s|layer|vitty|5620 S layer,
10182166124Srafan	OTbs, OTpt, am,
10183166124Srafan	cols#80, it#8, lines#72,
10184166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
10185166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED,
10186166124Srafan	el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J,
10187166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
10188166124Srafan	kll=\E[70;1H,
1018950276Speter
1019050276Speter# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
1019150276Speter#
1019250276Speter# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
1019350276Speter# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
10194166124Srafanatt605|AT&T 605 80 column 102key keyboard,
10195166124Srafan	am, eo, xon,
10196166124Srafan	cols#80, lines#24, lw#8, nlab#8, wsl#80,
10197166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10198166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
10199166124Srafan	cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C,
10200166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP,
10201166124Srafan	dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
10202166124Srafan	el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10203166124Srafan	il1=\E[L, ind=^J, invis=\E[8m,
10204166124Srafan	is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017,
10205166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J,
10206166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10207166124Srafan	kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq,
10208166124Srafan	kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD,
10209166124Srafan	kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH,
10210166124Srafan	kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ,
10211166124Srafan	kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe,
10212166124Srafan	kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx,
10213166124Srafan	kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv,
10214166124Srafan	kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs,
10215166124Srafan	kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh,
10216166124Srafan	kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@,
10217166124Srafan	kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H,
10218166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10219166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10220166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10221166124Srafan	rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10222166124Srafan	rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016,
10223166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10224166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10225166124Srafanatt605-pc|ATT 605 in pc term mode,
10226166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
10227166124Srafan	cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A,
10228166124Srafan	dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z,
10229166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P,
10230166124Srafan	kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N,
10231166124Srafan	kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T,
10232166124Srafan	kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I,
10233166124Srafan	rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g,
10234166124Srafan	xonc=e, use=att605,
10235166124Srafanatt605-w|AT&T 605-w 132 column 102 key keyboard,
10236166124Srafan	cols#132, wsl#132,
10237166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0,
10238166124Srafan	use=att605,
1023950276Speter# (att610: I added <rmam>/<smam> based on the init string.  I also
1024050276Speter# added <indn> and <rin> because the BSD file says the att615s have them,
1024150276Speter# and the 615 is like a 610 with a big keyboard, and most of their other
1024250276Speter# smart terminals support the same sequence -- esr)
10243166124Srafanatt610|AT&T 610; 80 column; 98key keyboard,
10244166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10245166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10246166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10247166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10248166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10249166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10250166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10251166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10252166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10253166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10254166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10255166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10256166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10257166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0,
10258166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10259166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10260166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10261166124Srafan	kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg,
10262166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10263166124Srafan	kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i,
10264166124Srafan	nel=\EE,
10265166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10266166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10267166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l,
10268166124Srafan	rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7,
10269166124Srafan	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%;,
10270166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10271166124Srafan	smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx,
10272166124Srafanatt610-w|AT&T 610; 132 column; 98key keyboard,
10273166124Srafan	cols#132, wsl#132,
10274166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10275166124Srafan	use=att610,
1027650276Speter
10277166124Srafanatt610-103k|AT&T 610; 80 column; 103key keyboard,
10278166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10279166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10280166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10281166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10282166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10283166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10284166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10285166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx,
10286166124Srafan	khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl,
10287166124Srafan	knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V,
10288166124Srafan	kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq,
10289166124Srafan	krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo,
10290166124Srafan	kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610,
10291166124Srafanatt610-103k-w|AT&T 610; 132 column; 103key keyboard,
10292166124Srafan	cols#132, wsl#132,
10293166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10294166124Srafan	use=att610-103k,
10295166124Srafanatt615|AT&T 615; 80 column; 98key keyboard,
10296166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10297166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10298166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10299166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10300166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10301166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10302166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610,
10303166124Srafanatt615-w|AT&T 615; 132 column; 98key keyboard,
10304166124Srafan	kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10305166124Srafan	kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ,
10306166124Srafan	kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS,
10307166124Srafan	kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS,
10308166124Srafan	kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt,
10309166124Srafan	kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10310166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w,
10311166124Srafanatt615-103k|AT&T 615; 80 column; 103key keyboard,
10312166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k,
10313166124Srafanatt615-103k-w|AT&T 615; 132 column; 103key keyboard,
10314166124Srafan	kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w,
1031550276Speter# (att620: I added <rmam>/<smam> based on the init string and
1031650276Speter# <rin>/<indn> from a BSD termcap -- esr)
10317166124Srafanatt620|AT&T 620; 80 column; 98key keyboard,
10318166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10319166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10320166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10321166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10322166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10323166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10324166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10325166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10326166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10327166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10328166124Srafan	flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I,
10329166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
10330166124Srafan	indn=\E[%p1%dS, invis=\E[8m,
10331166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h,
10332166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H,
10333166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10334166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10335166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE,
10336166124Srafan	kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI,
10337166124Srafan	kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR,
10338166124Srafan	kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ,
10339166124Srafan	kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy,
10340166124Srafan	kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf,
10341166124Srafan	kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp,
10342166124Srafan	kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
10343166124Srafan	kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H,
10344166124Srafan	mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10345166124Srafan	pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s,
10346166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m,
10347166124Srafan	ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l,
10348166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m,
10349166124Srafan	rs2=\Ec\E[?3l, sc=\E7,
10350166124Srafan	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%;,
10351166124Srafan	sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h,
10352166124Srafan	smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m,
10353166124Srafan	tsl=\E7\E[25;%i%p1%dx,
10354166124Srafanatt620-w|AT&T 620; 132 column; 98key keyboard,
10355166124Srafan	cols#132, wsl#132,
10356166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10357166124Srafan	use=att620,
10358166124Srafanatt620-103k|AT&T 620; 80 column; 103key keyboard,
10359166124Srafan	kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON,
10360166124Srafan	kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK,
10361166124Srafan	kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH,
10362166124Srafan	kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ,
10363166124Srafan	kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9,
10364166124Srafan	kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn,
10365166124Srafan	kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M,
10366166124Srafan	kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@,
10367166124Srafan	kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@,
10368166124Srafan	kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@,
10369166124Srafan	kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@,
10370166124Srafan	kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi,
10371166124Srafan	kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr,
10372166124Srafan	kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb,
10373166124Srafan	kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB,
10374166124Srafan	ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620,
1037550276Speter
10376166124Srafanatt620-103k-w|AT&T 620; 132 column; 103key keyboard,
10377166124Srafan	cols#132, wsl#132,
10378166124Srafan	is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h,
10379166124Srafan	use=att620-103k,
1038050276Speter
1038150276Speter# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
1038250276Speter# The following SETUP modes are assumed for normal operation:
1038350276Speter#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
1038450276Speter#	Font_Size=Large		Non-Layers_Window_Cols=80
1038550276Speter#				Non-Layers_Window_Rows=60
1038650276Speter# Other SETUP modes may be set for operator convenience or communication
1038750276Speter# requirements.  Some capabilities assume a printer attached to the Aux EIA
1038850276Speter# port.  This termcap description is for the Fixed Non-Layers Window.  No
1038950276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1039050276Speter# (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
10391166124Srafanatt630|AT&T 630 windowing terminal,
10392166124Srafan	OTbs, am, da, db, mir, msgr, npc, xon,
10393166124Srafan	cols#80, it#8, lines#60, lm#0,
10394166124Srafan	bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M,
10395166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
10396166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
10397166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
10398166124Srafan	dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
10399166124Srafan	el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
10400166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m,
10401166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
10402166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M,
10403166124Srafan	kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt,
10404166124Srafan	kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy,
10405166124Srafan	kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~,
10406166124Srafan	kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i,
10407166124Srafan	mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8,
10408166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m,
10409166124Srafan	rmul=\E[m, rs2=\Ec, sc=\E7,
10410166124Srafan	sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m,
10411166124Srafan	sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
10412166124Srafanatt630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines,
10413166124Srafan	lines#24, use=att630,
1041450276Speter
1041550276Speter# This is the att700 entry for 700 native emulation of the AT&T 700
1041650276Speter# terminal.  Comments are relative to changes from the 605V2 entry and
1041750276Speter# att730 on which the entry is based.  Comments show the terminfo
1041850276Speter# capability name, termcap name, and description.
1041950276Speter#
1042050276Speter# Here is what's going onm in the init string:
1042150276Speter#	ESC [ 50;4|	set 700 native mode (really is 605)
1042250276Speter# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
1042350276Speter#	ESC [ 53;0|	set GenFlow to Xon/Xoff
10424166124Srafan#	ESC [ 8 ;0|	set CR on NL
1042550276Speter# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
10426166124Srafan#	ESC [ ? 4 l	jump scroll
1042750276Speter#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
1042850276Speter#	ESC [ ?13 l	Labels on
1042950276Speter#	ESC [ ?15 l	parity check = no
1043050276Speter#	ESC [ 13 l	monitor mode off
1043150276Speter#	ESC [ 20 l	LF on NL (not CRLF on NL)
1043250276Speter#	ESC [ ? 7 h	autowrap on
1043350276Speter#	ESC [ 12 h	local echo off
1043450276Speter#	ESC ( B		GO = ASCII
1043550276Speter#	ESC ) 0		G1 = Special Char & Line Drawing
1043650276Speter#	ESC [ ? 31 l	Set 7 bit controls
1043750276Speter#
1043850276Speter# Note: Most terminals, especially the 600 family use Reverse Video for
1043950276Speter# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
1044050276Speter# Assume we should stay with reverse video for 70..  However, the 605V2 exits
1044150276Speter# standout mode with \E[m (all normal attributes).  The 730 entry simply
1044250276Speter# exits reverse video which would leave other current attributes intact.  It
1044350276Speter# was assumed the 730 entry to be more correct so rmso has changed.  The
1044450276Speter# 605V2 has no sequences to turn individual attributes off, thus its setting
1044550276Speter# and the rmso/smso settings from the 730.
1044650276Speter#
1044750276Speter# Note: For the same reason as above in rmso I changed exit under-score mode
10448166124Srafan# to specifically turn off underscore, rather than return to all normal
1044950276Speter# attributes
1045050276Speter#
1045150276Speter# Note: The following pkey_xmit is taken from the 605V2 which contained the
1045250276Speter# capability as pfxl.  It was changed here to pfx since pfxl
1045350276Speter# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
1045450276Speter# allows strings to be parameters and label values must be programmed as
1045550276Speter# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
1045650276Speter# and strings to be parameters.  The 605V2 pfx entry should be examined later
1045750276Speter# in this regard. For reference the 730 pfxl entry is shown here for comparison
1045850276Speter# 730 pfx entry:
1045950276Speter#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
1046050276Speter# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
1046150276Speter#
1046250276Speter# (for 4.0 tic)
1046350276Speter#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1046450276Speter#
1046550276Speter# (for <4.0 tic)
1046650276Speter#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
1046750276Speter#
1046850276Speter# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
1046950276Speter#
1047050276Speter# Port1 Interface
1047150276Speter#
1047250276Speter# modular 10 pin Connector
1047350276Speter# Left side       Right side
1047450276Speter# Pin 1 2 3 4 5 6 7 8 9 10
1047550276Speter#
1047650276Speter#        Key (notch) at bottom
1047750276Speter#
1047850276Speter# Pin    1 DSR
1047950276Speter#        3 DCD
1048050276Speter#        4 DTR
1048150276Speter#        5 Sig Ground
1048250276Speter#        6 RD
1048350276Speter#        7 SD
1048450276Speter#        8 CTS
1048550276Speter#        9 RTS
1048650276Speter#        10 Frame Ground
1048750276Speter#
1048850276Speter# The manual is 189 pages and is loaded with details about the escape codes,
1048950276Speter# etc..... Available from AT&T CIC 800-432-6600...
1049050276Speter# ask for Document number 999-300-660..
1049150276Speter#
10492166124Srafanatt700|AT&T 700 24x80 column display w/102key keyboard,
10493166124Srafan	am, eslok, hs, mir, msgr, xenl, xon,
10494166124Srafan	cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80,
10495166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10496166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10497166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10498166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10499166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10500166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10501166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10502166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10503166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4,
10504166124Srafan	fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
10505166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m,
10506166124Srafan	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,
10507166124Srafan	is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z,
10508166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
10509166124Srafan	kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp,
10510166124Srafan	kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC,
10511166124Srafan	kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd,
10512166124Srafan	kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP,
10513166124Srafan	kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq,
10514166124Srafan	kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu,
10515166124Srafan	kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu,
10516166124Srafan	kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr,
10517166124Srafan	kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg,
10518166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10519166124Srafan	kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H,
10520166124Srafan	mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10521166124Srafan	pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
10522166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10523166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10524166124Srafan	rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m,
10525166124Srafan	rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7,
10526166124Srafan	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%;,
10527166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m,
10528166124Srafan	smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g,
10529166124Srafan	tsl=\E7\E[99;%i%p1%dx,
1053050276Speter
1053150276Speter# This entry was modified 3/13/90 by JWE.
1053250276Speter# fixes include additions of <enacs>, correcting <rep>, and modification
1053350276Speter# of <kHOM>.  (See comments below)
1053450276Speter# att730 has status line of 80 chars
1053550276Speter# These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
1053650276Speter# the <kf25> and up keys are used for shifted system Fkeys
10537166124Srafan# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
1053850276Speter# currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
1053950276Speter# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
1054050276Speter# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
1054150276Speter# 102, 102+1, or 122 key keyboards
1054250276Speter#       kHOM=\E[2J,
1054350276Speter# (att730: I added <rmam>/<smam> based on the init string -- esr)
10544166124Srafanatt730|AT&T 730 windowing terminal,
10545166124Srafan	am, da, db, eslok, hs, mir, msgr, npc, xenl, xon,
10546166124Srafan	cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80,
10547166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10548166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
10549166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M,
10550166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10551166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10552166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10553166124Srafan	cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
10554166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
10555166124Srafan	enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8,
10556166124Srafan	home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
10557166124Srafan	ind=\ED, invis=\E[8m,
10558166124Srafan	is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B,
10559166124Srafan	is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H,
10560166124Srafan	kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10561166124Srafan	kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr,
10562166124Srafan	kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw,
10563166124Srafan	kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{,
10564166124Srafan	kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD,
10565166124Srafan	kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH,
10566166124Srafan	kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ,
10567166124Srafan	kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf,
10568166124Srafan	kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ,
10569166124Srafan	kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg,
10570166124Srafan	kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H,
10571166124Srafan	kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T,
10572166124Srafan	mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE,
10573166124Srafan	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,
10574166124Srafan	pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s,
10575166124Srafan	pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8,
10576166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O,
10577166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m,
10578166124Srafan	rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7,
10579166124Srafan	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%;,
10580166124Srafan	sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h,
10581166124Srafan	smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h,
10582166124Srafan	swidm=\E#6, tsl=\E7\E[;%i%p1%dx,
10583166124Srafanatt730-41|730MTG-41|AT&T 730-41 windowing terminal Version,
10584166124Srafan	lines#41, use=att730,
10585166124Srafanatt730-24|730MTG-24|AT&T 730-24 windowing terminal Version,
10586166124Srafan	lines#24, use=att730,
10587166124Srafanatt730r|730MTGr|AT&T 730 rev video windowing terminal Version,
10588166124Srafan	flash=\E[?5l$<200>\E[?5h,
10589166124Srafan	is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B,
10590166124Srafan	use=att730,
10591166124Srafanatt730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version,
10592166124Srafan	lines#41, use=att730r,
10593166124Srafanatt730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version,
10594166124Srafan	lines#24, use=att730r,
1059550276Speter
1059650276Speter# The following represents the screen layout along with the associated
1059750276Speter# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
1059850276Speter# not appear on the screen but are shown to reference the bezel buttons.
1059950276Speter# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
1060050276Speter# position relative to the screen.
1060150276Speter#
1060250276Speter#
1060350276Speter#
1060450276Speter#      +----------------------------------------------------------------+
1060550276Speter#      |                                                                |
1060650276Speter# XXXX | kf0                                                       kf24 | XXXX
1060750276Speter#      |                                                                |
1060850276Speter#      |                                                                |
1060950276Speter# XXXX | kf1                                                       kf23 | XXXX
1061050276Speter#      |                                                                |
1061150276Speter#      |                                                                |
1061250276Speter# XXXX | kf2                                                       kf22 | XXXX
1061350276Speter#      |                                                                |
1061450276Speter#      |                                                                |
1061550276Speter# XXXX | kf3                                                       kf21 | XXXX
1061650276Speter#      |                                                                |
1061750276Speter#      |                                                                |
1061850276Speter# XXXX | kf4                                                       kf20 | XXXX
1061950276Speter#      |                                                                |
1062050276Speter#      |                                                                |
1062150276Speter# XXXX | kf5                                                       kf19 | XXXX
1062250276Speter#      |                                                                |
1062350276Speter#      |                                                                |
1062450276Speter# XXXX | kf6                                                       kf18 | XXXX
1062550276Speter#      |                                                                |
1062650276Speter#      |                                                                |
1062750276Speter# XXXX |                                                                | XXXX
1062850276Speter#      |                                                                |
1062950276Speter#      |                                                                |
1063050276Speter#      +----------------------------------------------------------------+
1063150276Speter#
1063250276Speter#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
1063350276Speter#
1063450276Speter# Note: XXXX represents the screen buttons
1063550276Speter#                                                          CMD   REDRAW
1063650276Speter#
1063750276Speter#                                                          MAIL
1063850276Speter#
10639166124Srafan# version 1 note:
1064050276Speter#	The character string sent by key 'kf26' may be user programmable
1064150276Speter#       to send either \E[16s, or \E[26s.
1064250276Speter#       The character string sent by key 'krfr' may be user programmable
1064350276Speter#       to send either \E[17s, or \E[27s.
1064450276Speter#
1064550276Speter# Depression of the "CMD" key sends    \E!    (kcmd)
1064650276Speter# Depression of the "MAIL" key sends   \E[26s (kf26)
1064750276Speter# "REDRAW" same as "REFRESH" (krfr)
1064850276Speter#
1064950276Speter# "kf" functions adds carriage return to output string if terminal is in
1065050276Speter# 'new line' mode.
1065150276Speter#
1065250276Speter# The following are functions not covered in the table above:
1065350276Speter#
1065450276Speter#       Set keyboard character (SKC): \EPn1;Pn2w
1065550276Speter#                       Pn1= 0 Back Space key
1065650276Speter#                       Pn1= 1 Break key
1065750276Speter#                       Pn2=   Program char (hex)
1065850276Speter#
1065950276Speter#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
1066050276Speter#                       Pn1=     Window number (1-39)
1066150276Speter#                       Pn2-Pn5= Y;X;Y;X coordinates
1066250276Speter#
1066350276Speter#       Screen Selection (SSL): \E[Pnu
1066450276Speter#                       Pn= Window number
1066550276Speter#
1066650276Speter#       Set Terminal Modes (SM): \E[Pnh
1066750276Speter#                       Pn= 3 Graphics mode
1066850276Speter#                       Pn= > Cursor blink
1066950276Speter#                       Pn= < Enter new line mode
1067050276Speter#                       Pn= = Enter reverse insert/replace mode
1067150276Speter#                       Pn= ? Enter no scroll mode
1067250276Speter#
1067350276Speter#       Reset Terminal Mode (RM): \E[Pnl
1067450276Speter#                       Pn= 3 Exit graphics mode
1067550276Speter#                       Pn= > Exit cursor blink
1067650276Speter#                       Pn= < Exit new line mode
1067750276Speter#                       Pn= = Exit reverse insert/replace mode
1067850276Speter#                       Pn= ? Exit no scroll mode
1067950276Speter#
1068050276Speter#       Screen Status Report (SSR): \E[Pnp
1068150276Speter#                       Pn= 0 Request current window number
1068250276Speter#                       Pn= 1 Request current window dimensions
1068350276Speter#
1068450276Speter#       Device Status Report (DSR): \E[6n    Request cursor position
1068550276Speter#
1068650276Speter#       Call Status Report (CSR): \E[Pnv
1068750276Speter#                       Pn= 0 Call failed
1068850276Speter#                       Pn= 1 Call successful
1068950276Speter#
1069050276Speter#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
1069150276Speter#                       Pn1= Button number to be loaded
1069250276Speter#                       Pn2= Character count of "string"
1069350276Speter#                       Pn3= Key mode being loaded:
1069450276Speter#                               0= Unshifted
1069550276Speter#                               1= Shifted
1069650276Speter#                               2= Control
1069750276Speter#                       String= Text string (15 chars max)
1069850276Speter#
1069950276Speter#       Screen Number Report (SNR): \E[Pnp
1070050276Speter#                       Pn= Screen number
1070150276Speter#
1070250276Speter#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
1070350276Speter#                       Pn1= Number of rows available in window
1070450276Speter#                       Pn2= Number of columns available in window
1070550276Speter#
1070650276Speter#       Cursor Position Report (CPR): \E[Pn1;Pn2R
1070750276Speter#                       Pn1= "Y" Position of cursor
1070850276Speter#                       Pn2= "X" Position of cursor
1070950276Speter#
1071050276Speter#       Request Answer Back (RAB): \E[c
1071150276Speter#
1071250276Speter#       Answer Back Response (ABR): \E[?;*;30;VSV
1071350276Speter#                       *=  0 No printer available
1071450276Speter#                       *=  2 Printer available
1071550276Speter#                       V=  Software version number
1071650276Speter#                       SV= Software sub version number
1071750276Speter#	(printer-available field not documented in v1)
1071850276Speter#
1071950276Speter#       Screen Alignment Aid: \En
1072050276Speter#
1072150276Speter#       Bell (lower pitch): \E[x
1072250276Speter#
1072350276Speter#       Dial Phone Number: \EPdstring\
1072450276Speter#                       string= Phone number to be dialed
1072550276Speter#
1072650276Speter#       Set Phone Labels: \EPpstring\
1072750276Speter#                       string= Label for phone buttons
1072850276Speter#
1072950276Speter#       Set Clock: \EPchour;minute;second\
1073050276Speter#
1073150276Speter#       Position Clock: \EPsY;X\
1073250276Speter#                       Y= "Y" coordinate
1073350276Speter#                       X= "X" coordinate
1073450276Speter#
1073550276Speter#       Delete Clock: \Epr\
1073650276Speter#
1073750276Speter#       Programming The Function Buttons: \EPfPn;string\
1073850276Speter#                       Pn= Button number (00-06, 18-24)
1073950276Speter#                                         (kf00-kf06, kf18-kf24)
1074050276Speter#                       string= Text to sent on button depression
1074150276Speter#
1074250276Speter# The following in version 2 only:
1074350276Speter#
1074450276Speter#       Request For Local Directory Data: \EPp12;\
1074550276Speter#
1074650276Speter#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
1074750276Speter#
1074850276Speter#	Request for Local Directory Data in print format: \EPp13;\
1074950276Speter#
1075050276Speter#	Enable 'Prt on Line' mode: \022 (DC2)
1075150276Speter#
1075250276Speter#	Disable 'Prt on Line' mode: \024 (DC4)
1075350276Speter#
1075450276Speter
1075550276Speter# 05-Aug-86:
1075650276Speter# The following Terminfo entry describes functions which are supported by
1075750276Speter# the AT&T 5430/pt505 terminal software version 2 and later.
10758166124Srafanatt505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal,
10759166124Srafan	am, xon,
10760166124Srafan	cols#80, it#8, lines#24,
10761166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
10762166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H,
10763166124Srafan	cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
10764166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
10765166124Srafan	cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
10766166124Srafan	cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
10767166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I,
10768166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J,
10769166124Srafan	is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l,
10770166124Srafan	kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
10771166124Srafan	kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s,
10772166124Srafan	kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s,
10773166124Srafan	kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s,
10774166124Srafan	kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s,
10775166124Srafan	krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m,
10776166124Srafan	rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m,
10777166124Srafan	rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m,
10778166124Srafan	smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m,
1077950276Speter
1078050276Speter# The following Terminfo entry describes functions which are supported by
1078150276Speter# the AT&T 5430/pt505 terminal software version 1.
10782166124Srafanatt505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines,
10783166124Srafan	lines#24,
10784166124Srafan	mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505,
10785166124Srafantt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines,
10786166124Srafan	lines#22, use=att505,
1078750276Speter#
1078850276Speter#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
1078950276Speter# This cut mark helps make life less painful for people running ncurses tic
1079050276Speter# on machines with relatively little RAM.  The file can be broken in half here
1079150276Speter# cleanly and compiled in sections -- no `use' references cross this cut
1079250276Speter# going forward.
1079350276Speter#
1079450276Speter
1079550276Speter#### Ampex (Dialogue)
1079650276Speter#
1079750276Speter# Yes, these are the same people who are better-known for making audio- and
1079850276Speter# videotape.  I'm told they are located in Redwood City, CA.
1079950276Speter#
1080050276Speter
1080150276Speter# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
1080250276Speter# (ampex80: some capabilities merged in from SCO's entry -- esr)
10803166124Srafanampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80,
10804166124Srafan	OTbs, am, bw, ul,
10805166124Srafan	cols#80, it#8, lines#24,
10806166124Srafan	bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J,
10807166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10808166124Srafan	dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1,
10809166124Srafan	ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em,
10810166124Srafan	smso=\Ej, smul=\El, tbc=\E3,
1081150276Speter# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
10812166124Srafanampex175|ampex d175,
10813166124Srafan	am,
10814166124Srafan	cols#80, lines#24,
10815166124Srafan	bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
10816166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10817166124Srafan	dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J,
10818166124Srafan	is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
10819166124Srafan	kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K,
10820166124Srafan	rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El,
1082150276Speter# No backspace key in the main QWERTY cluster. Fortunately, it has a
1082250276Speter# NEWLINE/PAGE key just above RETURN that sends a strange single-character
1082350276Speter# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
1082450276Speter# mode), this key can be used as the erase key; I find I like this. Because
1082550276Speter# some people and some systems may not, there is another termcap ("ampex175")
1082650276Speter# that suppresses this little eccentricity by omitting the relevant capability.
10827166124Srafanampex175-b|ampex d175 using left arrow for erase,
10828166124Srafan	kbs=^_, use=ampex175,
1082950276Speter# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
1083050276Speter# (ampex210: removed obsolete ":kn#10:" -- esr)
10831166124Srafanampex210|a210|ampex a210,
10832166124Srafan	OTbs, am, hs, xenl,
10833166124Srafan	cols#80, it#8, lines#24, xmc#1,
10834166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cuf1=^L,
10835166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
10836166124Srafan	dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX,
10837166124Srafan	fsl=\E.2, home=^^, ht=^I, ich1=\EQ,
10838166124Srafan	if=/usr/share/tabset/std, il1=\EE, invis@,
10839166124Srafan	is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H,
10840166124Srafan	kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r,
10841166124Srafan	kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r,
10842166124Srafan	kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^,
10843166124Srafan	tsl=\E.0\Eg\E}\Ef, use=adm+sgr,
1084450276Speter# (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
1084550276Speter# from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
1084650276Speter# and moved the padding to be *after* the caps -- esr)
10847166124Srafanampex219|ampex-219|amp219|Ampex with Automargins,
10848166124Srafan	hs, xenl,
10849166124Srafan	cols#80, it#8, lines#24,
10850166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z,
10851166124Srafan	clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M,
10852166124Srafan	csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B,
10853166124Srafan	cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>,
10854166124Srafan	cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>,
10855166124Srafan	el=\E[K$<3>, home=\E[H, ht=^I, ind=^J,
10856166124Srafan	is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
10857166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~,
10858166124Srafan	kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~,
10859166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H,
10860166124Srafan	rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>,
10861166124Srafan	rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h,
10862166124Srafan	smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>,
10863166124Srafanampex219w|ampex-219w|amp219w|Ampex 132 cols,
10864166124Srafan	cols#132, lines#24,
10865166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
10866166124Srafan	is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219,
10867166124Srafan# (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr)
10868166124Srafanampex232|ampex-232|Ampex Model 232,
10869166124Srafan	am,
10870166124Srafan	cols#80, lines#24, xmc#1,
10871166124Srafan	cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V,
10872166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
10873166124Srafan	dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET,
10874166124Srafan	flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>,
10875166124Srafan	invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L,
10876166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
10877166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
10878166124Srafan	kf9=^AI\r, khome=^^, use=adm+sgr,
10879166124Srafan# (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr)
10880166124Srafanampex232w|Ampex Model 232 / 132 columns,
10881166124Srafan	cols#132, lines#24,
10882166124Srafan	is2=\E\034Eg\El, use=ampex232,
1088350276Speter
1088450276Speter#### Ann Arbor (aa)
1088550276Speter#
1088650276Speter# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
1088750276Speter# numbers of function keys.  At least some used monitors in portrait mode,
1088850276Speter# allowing up to 76-character screen heights!  They were reachable at:
1088950276Speter#
1089050276Speter#	Ann Arbor Terminals
1089150276Speter#	6175 Jackson Road
1089250276Speter#	Ann Arbor, MI 48103
1089350276Speter#	(313)-663-8000
1089450276Speter#
1089550276Speter# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
1089650276Speter# can't be found on the Web; I fear they're long dead.  R.I.P.
1089750276Speter#
1089850276Speter
1089950276Speter
1090050276Speter# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
1090150276Speter# Highly modified 6/22 by Mike O'Brien.
1090250276Speter# split out into several for the various screen sizes by dave-yost@rand
1090350276Speter# Modifications made 3/82 by Mark Horton
1090450276Speter# Modified by Tom Quarles at UCB for greater efficiency and more diversity
1090550276Speter# status line moved to top of screen, <flash> removed 5/82
1090650276Speter# Some unknown person at SCO then hacked the init strings to make them more
1090750276Speter# efficient.
1090850276Speter#
1090950276Speter# assumes the following setup:
1091050276Speter#   A menu: 0000 1010  0001 0000
1091150276Speter#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1091250276Speter#   C menu: 56   66   0    0    9600  0110 1100
1091350276Speter#   D menu: 0110 1001   1   0
1091450276Speter#
1091550276Speter#	Briefly, the settings are for the following modes:
1091650276Speter#	   (values are for bit set/clear with * indicating our preference
1091750276Speter#	    and the value used to test these termcaps)
1091850276Speter#	Note that many of these settings are irrelevent to the terminfo
1091950276Speter#	and are just set to the default mode of the terminal as shipped
1092050276Speter#	by the factory.
1092150276Speter#
1092250276Speter# A menu: 0000 1010  0001 0000
1092350276Speter#	Block/underline cursor*
1092450276Speter#	blinking/nonblinking cursor*
1092550276Speter#	key click/no key click*
1092650276Speter#	bell/no bell at column 72*
1092750276Speter#
1092850276Speter#	key pad is cursor control*/key pad is numeric
1092950276Speter#	return and line feed/return for <cr> key *
1093050276Speter#	repeat after .5 sec*/no repeat
1093150276Speter#	repeat at 25/15 chars per sec. *
1093250276Speter#
1093350276Speter#	hold data until pause pressed/process data unless pause pressed*
1093450276Speter#	slow scroll/no slow scroll*
1093550276Speter#	Hold in area/don't hold in area*
1093650276Speter#	functions keys have default*/function keys disabled on powerup
1093750276Speter#
1093850276Speter#	show/don't show position of cursor during page transmit*
1093950276Speter#	unused
1094050276Speter#	unused
1094150276Speter#	unused
1094250276Speter#
1094350276Speter# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
1094450276Speter#	Baud rate (9600*)
1094550276Speter#
1094650276Speter#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
1094750276Speter#	1 stop bit*/2 stop bits
1094850276Speter#	parity error detection off*/on
1094950276Speter#
1095050276Speter#	keyboard local/on line*
1095150276Speter#	half/full duplex*
1095250276Speter#	disable/do not disable keyboard after data transmission*
1095350276Speter#
1095450276Speter#	transmit entire page/stop transmission at cursor*
1095550276Speter#	transfer/do not transfer protected characters*
1095650276Speter#	transmit all characters/transmit only selected characters*
1095750276Speter#	transmit all selected areas/transmit only 1 selected area*
1095850276Speter#
1095950276Speter#	transmit/do not transmit line separators to host*
1096050276Speter#	transmit/do not transmit page tab stops tabs to host*
1096150276Speter#	transmit/do not transmit column tab stop tabs to host*
1096250276Speter#	transmit/do not transmit graphics control (underline,inverse..)*
1096350276Speter#
1096450276Speter#	enable*/disable auto XON/XOFF control
1096550276Speter#	require/do not require receipt of a DC1 from host after each LF*
1096650276Speter#	pause key acts as a meta key/pause key is pause*
1096750276Speter#	unused
1096850276Speter#
1096950276Speter#	unused
1097050276Speter#	unused
1097150276Speter#	unused
1097250276Speter#	unused
1097350276Speter#
1097450276Speter#	XON character (17*)
1097550276Speter#	XOFF character (19*)
1097650276Speter#
1097750276Speter# C menu: 56   66   0    0    9600  0110 1100
1097850276Speter#	number of lines to print data on (printer) (56*)
1097950276Speter#
1098050276Speter#	number of lines on a sheet of paper (printer) (66*)
1098150276Speter#
1098250276Speter#	left margin (printer) (0*)
1098350276Speter#
1098450276Speter#	number of pad chars on new line to printer (0*)
1098550276Speter#
1098650276Speter#	printer baud rate (9600*)
1098750276Speter#
1098850276Speter#	printer parity: 00=odd,01=even*,10=space,11=mark
1098950276Speter#	printer stop bits: 2*/1
1099050276Speter#	print/do not print guarded areas*
1099150276Speter#
1099250276Speter#	new line is: 01=LF,10=CR,11=CRLF*
1099350276Speter#	unused
1099450276Speter#	unused
1099550276Speter#
1099650276Speter# D menu: 0110 1001   1   0
1099750276Speter#	LF is newline/LF is down one line, same column*
1099850276Speter#	wrap to preceding line if move left from col 1*/don't wrap
1099950276Speter#	wrap to next line if move right from col 80*/don't wrap
1100050276Speter#	backspace is/is not destructive*
1100150276Speter#
1100250276Speter#	display*/ignore DEL character
1100350276Speter#	display will not/will scroll*
1100450276Speter#	page/column tab stops*
1100550276Speter#	erase everything*/erase unprotected only
1100650276Speter#
1100750276Speter#	editing extent: 0=display,1=line*,2=field,3=area
1100850276Speter#
1100950276Speter#	unused
1101050276Speter#
1101150276Speter
11012166124Srafanannarbor4080|aa4080|ann arbor 4080,
11013166124Srafan	OTbs, am,
11014166124Srafan	cols#80, lines#40,
11015166124Srafan	bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_,
11016166124Srafan	cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c,
11017166124Srafan	cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H,
11018166124Srafan	kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P,
1101950276Speter
1102050276Speter# Strange Ann Arbor terminal from BRL
11021166124Srafanaas1901|Ann Arbor K4080 w/S1901 mod,
11022166124Srafan	am,
11023166124Srafan	cols#80, lines#40,
11024166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N,
11025166124Srafan	home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c,
11026166124Srafan	nel=^M^J,
1102750276Speter
1102850276Speter# If you're using the GNU termcap library, add
1102950276Speter#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
1103050276Speter# to these capabilities.  This is the nonstandard GNU termcap scrolling
1103150276Speter# capability, arguments are:
1103250276Speter#   1. Total number of lines on the screen.
1103350276Speter#   2. Number of lines above desired scroll region.
1103450276Speter#   3. Number of lines below (outside of) desired scroll region.
1103550276Speter#   4. Total number of lines on the screen, the same as the first parameter.
1103650276Speter# The generic Ann Arbor entry is the only one that uses this.
11037166124Srafanaaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly),
11038166124Srafan	OTbs, am, km, mc5i, mir, xon,
11039166124Srafan	cols#80, it#8,
11040166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11041166124Srafan	clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H,
11042166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
11043166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11044166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
11045166124Srafan	el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I,
11046166124Srafan	hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL,
11047166124Srafan	il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8,
11048166124Srafan	is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z,
11049166124Srafan	kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11050166124Srafan	kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK,
11051166124Srafan	kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP,
11052166124Srafan	kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT,
11053166124Srafan	kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC,
11054166124Srafan	kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI,
11055166124Srafan	khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i,
11056166124Srafan	mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8,
11057166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
11058166124Srafan	rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\,
11059166124Srafan	rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7,
11060166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
11061166124Srafan	sgr0=\E[m,
11062166124Srafan	smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\,
11063166124Srafan	smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
11064166124Srafan	vpa=\E[%p1%{1}%+%dd,
1106550276Speter
11066166124Srafanaaa+rv|ann arbor ambassador in reverse video,
11067166124Srafan	blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m,
11068166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
11069166124Srafan	rs1=\E[H\E[7m\E[J$<156>,
11070166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
11071166124Srafan	sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m,
1107250276Speter# Ambassador with the DEC option, for partial vt100 compatibility.
11073166124Srafanaaa+dec|ann arbor ambassador in dec vt100 mode,
11074166124Srafan	acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}},
11075166124Srafan	csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N,
11076166124Srafan	sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;,
11077166124Srafan	smacs=^O,
11078166124Srafanaaa-18|ann arbor ambassador/18 lines,
11079166124Srafan	lines#18,
11080166124Srafan	is2=\E7\E[60;0;0;18p\E8,
11081166124Srafan	rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p,
11082166124Srafan	use=aaa+unk,
11083166124Srafanaaa-18-rv|ann arbor ambassador/18 lines+reverse video,
11084166124Srafan	use=aaa+rv, use=aaa-18,
11085166124Srafanaaa-20|ann arbor ambassador/20 lines,
11086166124Srafan	lines#20,
11087166124Srafan	is2=\E7\E[60;0;0;20p\E8,
11088166124Srafan	rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p,
11089166124Srafan	use=aaa+unk,
11090166124Srafanaaa-22|ann arbor ambassador/22 lines,
11091166124Srafan	lines#22,
11092166124Srafan	is2=\E7\E[60;0;0;22p\E8,
11093166124Srafan	rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p,
11094166124Srafan	use=aaa+unk,
11095166124Srafanaaa-24|ann arbor ambassador/24 lines,
11096166124Srafan	lines#24,
11097166124Srafan	is2=\E7\E[60;0;0;24p\E8,
11098166124Srafan	rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p,
11099166124Srafan	use=aaa+unk,
11100166124Srafanaaa-24-rv|ann arbor ambassador/24 lines+reverse video,
11101166124Srafan	use=aaa+rv, use=aaa-24,
11102166124Srafanaaa-26|ann arbor ambassador/26 lines,
11103166124Srafan	lines#26,
11104166124Srafan	is2=\E7\E[60;0;0;26p\E8,
11105166124Srafan	rmcup=\E[60;0;0;26p\E[26;1H\E[K,
11106166124Srafan	smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk,
11107166124Srafanaaa-28|ann arbor ambassador/28 lines,
11108166124Srafan	lines#28,
11109166124Srafan	is2=\E7\E[60;0;0;28p\E8,
11110166124Srafan	rmcup=\E[60;0;0;28p\E[28;1H\E[K,
11111166124Srafan	smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk,
11112166124Srafanaaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status,
11113166124Srafan	eslok, hs,
11114166124Srafan	lines#29,
11115166124Srafan	dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11116166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8,
11117166124Srafan	rmcup=\E[60;1;0;30p\E[29;1H\E[K,
11118166124Srafan	smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K,
11119166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11120166124Srafanaaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video,
11121166124Srafan	use=aaa+rv, use=aaa-30-s,
11122166124Srafanaaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context,
11123166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11124166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s,
11125166124Srafanaaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video,
11126166124Srafan	rmcup=\E[60;1;0;30p\E[59;1H\E[K,
11127166124Srafan	smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv,
11128166124Srafanaaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines,
11129166124Srafan	lines#30,
11130166124Srafan	is2=\E7\E[60;0;0;30p\E8,
11131166124Srafan	rmcup=\E[60;0;0;30p\E[30;1H\E[K,
11132166124Srafan	smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk,
11133166124Srafanaaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video,
11134166124Srafan	use=aaa+rv, use=aaa-30,
11135166124Srafanaaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context,
11136166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11137166124Srafan	use=aaa-30,
11138166124Srafanaaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context,
11139166124Srafan	rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p,
11140166124Srafan	use=aaa+rv, use=aaa-30,
11141166124Srafanaaa-36|ann arbor ambassador/36 lines,
11142166124Srafan	lines#36,
11143166124Srafan	is2=\E7\E[60;0;0;36p\E8,
11144166124Srafan	rmcup=\E[60;0;0;36p\E[36;1H\E[K,
11145166124Srafan	smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk,
11146166124Srafanaaa-36-rv|ann arbor ambassador/36 lines+reverse video,
11147166124Srafan	use=aaa+rv, use=aaa-36,
11148166124Srafanaaa-40|ann arbor ambassador/40 lines,
11149166124Srafan	lines#40,
11150166124Srafan	is2=\E7\E[60;0;0;40p\E8,
11151166124Srafan	rmcup=\E[60;0;0;40p\E[40;1H\E[K,
11152166124Srafan	smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk,
11153166124Srafanaaa-40-rv|ann arbor ambassador/40 lines+reverse video,
11154166124Srafan	use=aaa+rv, use=aaa-40,
11155166124Srafanaaa-48|ann arbor ambassador/48 lines,
11156166124Srafan	lines#48,
11157166124Srafan	is2=\E7\E[60;0;0;48p\E8,
11158166124Srafan	rmcup=\E[60;0;0;48p\E[48;1H\E[K,
11159166124Srafan	smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk,
11160166124Srafanaaa-48-rv|ann arbor ambassador/48 lines+reverse video,
11161166124Srafan	use=aaa+rv, use=aaa-48,
11162166124Srafanaaa-60-s|ann arbor ambassador/59 lines+status,
11163166124Srafan	eslok, hs,
11164166124Srafan	lines#59,
11165166124Srafan	dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K,
11166166124Srafan	fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8,
11167166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk,
11168166124Srafanaaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video,
11169166124Srafan	use=aaa+rv, use=aaa-60-s,
11170166124Srafanaaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video,
11171166124Srafan	use=aaa+dec, use=aaa+rv, use=aaa-60-s,
11172166124Srafanaaa-60|ann arbor ambassador/60 lines,
11173166124Srafan	lines#60,
11174166124Srafan	is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8,
11175166124Srafan	use=aaa+unk,
11176166124Srafanaaa-60-rv|ann arbor ambassador/60 lines+reverse video,
11177166124Srafan	use=aaa+rv, use=aaa-60,
11178166124Srafanaaa-db|ann arbor ambassador 30/destructive backspace,
11179166124Srafan	OTbs@,
11180166124Srafan	cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30,
1118150276Speter
11182166124Srafanguru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols,
11183166124Srafan	lines#33,
11184166124Srafan	flash=\E[>59h$<100>\E[>59l,
11185166124Srafan	is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l,
11186166124Srafan	rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk,
11187166124Srafanguru+rv|guru changes for reverse video,
11188166124Srafan	flash=\E[>59l$<100>\E[>59h, is3=\E[>59h,
11189166124Srafanguru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video,
11190166124Srafan	use=guru+rv, use=guru-33,
11191166124Srafanguru+s|guru status line,
11192166124Srafan	eslok, hs,
11193166124Srafan	dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l,
11194166124Srafan	rmcup=\E[255;1p\E[255;1H\E[K, smcup=,
11195166124Srafan	tsl=\E[>51h\E[1;%p1%dH\E[2K,
11196166124Srafanguru-nctxt|guru with no saved context,
11197166124Srafan	smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru,
11198166124Srafanguru-s|guru-33-s|ann arbor guru/33 lines+status,
11199166124Srafan	lines#32,
11200166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J,
11201166124Srafan	smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11202166124Srafanguru-24|ann arbor guru 24 lines,
11203166124Srafan	cols#80, lines#24,
11204166124Srafan	is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p,
11205166124Srafan	use=guru+unk,
11206166124Srafanguru-44|ann arbor guru 44 lines,
11207166124Srafan	cols#97, lines#44,
11208166124Srafan	is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p,
11209166124Srafan	use=guru+unk,
11210166124Srafanguru-44-s|ann arbor guru/44 lines+status,
11211166124Srafan	lines#43,
11212166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J,
11213166124Srafan	smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11214166124Srafanguru-76|guru with 76 lines by 89 cols,
11215166124Srafan	cols#89, lines#76,
11216166124Srafan	is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p,
11217166124Srafan	use=guru+unk,
11218166124Srafanguru-76-s|ann arbor guru/76 lines+status,
11219166124Srafan	cols#89, lines#75,
11220166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J,
11221166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11222166124Srafanguru-76-lp|guru-lp|guru with page bigger than line printer,
11223166124Srafan	cols#134, lines#76,
11224166124Srafan	is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p,
11225166124Srafan	use=guru+unk,
11226166124Srafanguru-76-w|guru 76 lines by 178 cols,
11227166124Srafan	cols#178, lines#76,
11228166124Srafan	is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p,
11229166124Srafan	use=guru+unk,
11230166124Srafanguru-76-w-s|ann arbor guru/76 lines+status+wide,
11231166124Srafan	cols#178, lines#75,
11232166124Srafan	is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J,
11233166124Srafan	smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk,
11234166124Srafanguru-76-wm|guru 76 lines by 178 cols with 255 cols memory,
11235166124Srafan	cols#178, lines#76,
11236166124Srafan	is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p,
11237166124Srafan	use=guru+unk,
11238166124Srafanaaa-rv-unk|ann arbor unknown type,
11239166124Srafan	lh#0, lw#0, nlab#0,
11240166124Srafan	blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m,
11241166124Srafan	is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m,
11242166124Srafan	rs1=\E[H\E[7m\E[J,
11243166124Srafan	sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m,
11244166124Srafan	sgr0=\E[7m, smso=\E[m, smul=\E[4;7m,
1124550276Speter
1124650276Speter#### Applied Digital Data Systems (adds)
1124750276Speter#
1124850276Speter# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
1124950276Speter# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
1125050276Speter# terminals was merged again.  Then AT&T sold the terminal business to
1125150276Speter# SunRiver, which later changed its  name to Boundless Technologies.  The
1125250276Speter# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
1125350276Speter# as of early 1995) are at:
1125450276Speter#
1125550276Speter#	Boundless Technologies
1125650276Speter#	100 Marcus Boulevard
1125750276Speter#	Hauppauge, NY 11788-3762
1125850276Speter#	Vox: (800)-231-5445
1125950276Speter#	Fax: (516)-342-7378
1126050276Speter#	Web: http://boundless.com
1126150276Speter#
11262166124Srafan# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
11263166124Srafan# In 1995 Boundless acquired DEC's terminals business.
1126450276Speter#
1126550276Speter
1126650276Speter# Regent: lowest common denominator, works on all regents.
1126750276Speter# (regent: renamed ":bc:" to ":le:" -- esr)
11268166124Srafanregent|Adds Regent Series,
11269166124Srafan	OTbs, am,
11270166124Srafan	cols#80, lines#24,
11271166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z,
11272166124Srafan	home=\EY\s\s, ind=^J, ll=^A,
1127350276Speter# Regent 100 has a bug where if computer sends escape when user is holding
1127450276Speter# down shift key it gets confused, so we avoid escape.
11275166124Srafanregent100|Adds Regent 100,
11276166124Srafan	xmc#1,
11277166124Srafan	bel=^G,
11278166124Srafan	cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
11279166124Srafan	kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r,
11280166124Srafan	kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3,
11281166124Srafan	lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@,
11282166124Srafan	sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent,
11283166124Srafanregent20|Adds Regent 20,
11284166124Srafan	bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK,
11285166124Srafan	use=regent,
11286166124Srafanregent25|Adds Regent 25,
11287166124Srafan	bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A,
11288166124Srafan	use=regent20,
11289166124Srafanregent40|Adds Regent 40,
11290166124Srafan	xmc#1,
11291166124Srafan	bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r,
11292166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11293166124Srafan	kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6,
11294166124Srafan	lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P,
11295166124Srafan	smul=\E0`, use=regent25,
11296166124Srafanregent40+|Adds Regent 40+,
11297166124Srafan	is2=\EB, use=regent40,
11298166124Srafanregent60|regent200|Adds Regent 60,
11299166124Srafan	dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF,
11300166124Srafan	rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV,
11301166124Srafan	use=regent40+,
1130250276Speter# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
1130350276Speter# (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
11304166124Srafanviewpoint|addsviewpoint|adds viewpoint,
11305166124Srafan	OTbs, am,
11306166124Srafan	cols#80, lines#24,
11307166124Srafan	bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J,
11308166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
11309166124Srafan	cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>,
11310166124Srafan	ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
11311166124Srafan	kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A,
11312166124Srafan	rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N,
1131350276Speter# Some viewpoints have bad ROMs that foo up on ^O
11314166124Srafanscrewpoint|adds viewpoint with ^O bug,
11315166124Srafan	cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint,
1131650276Speter
1131750276Speter# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
11318166124Srafan# The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.
1131950276Speter# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
1132050276Speter# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
1132150276Speter# invis=01000100 and %c is the logical or of desired attributes.
1132250276Speter# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
1132350276Speter#
11324166124Srafan# Update by TD - 2004:
11325166124Srafan# Adapted from
11326166124Srafan#	http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
11327166124Srafan#
11328166124Srafan# COMMANDS                        ASCII CODE
11329166124Srafan#
11330166124Srafan# Address, Absolute               ESC,=,row,column
11331166124Srafan# Beep                            BEL
11332166124Srafan# Aux Port Enable                 ESC,@
11333166124Srafan# Aux Port Disable                ESC,A
11334166124Srafan# Backspace                       BS
11335166124Srafan# Cursor back                     BS
11336166124Srafan# Cursor down                     LF
11337166124Srafan# Cursor forward                  FF
11338166124Srafan# Cursor home                     RS
11339166124Srafan# Cursor up                       VT
11340166124Srafan# Cursor supress                  ETB
11341166124Srafan# Cursor enable                   CAN
11342166124Srafan# Erase to end of line            ESC,T
11343166124Srafan# Erase to end of page            ESC,Y
11344166124Srafan# Erase screen                    SUB
11345166124Srafan# Keyboard lock                   SI
11346166124Srafan# Keyboard unlock                 SO
11347166124Srafan# Read current cursor position    ESC,?
11348166124Srafan# Set Attribute                   ESC,0,x  (see below for values of x)
11349166124Srafan# Tag bit reset                   ESC,(
11350166124Srafan# Tag bit set                     ESC,)
11351166124Srafan# Transparent Print on            ESC,3
11352166124Srafan# Transparent Print off           ESC,4
11353166124Srafan#
11354166124Srafan#
11355166124Srafan# ATTRIBUTES
11356166124Srafan#
11357166124Srafan# Normal                          @	0100
11358166124Srafan# Half Intensity                  A	0101
11359166124Srafan# Blinking                        B	0102
11360166124Srafan# Half Intensity Blinking         C	0103
11361166124Srafan# Reverse Video                   P	0120
11362166124Srafan# Reverse Video Half Intensity    Q	0121
11363166124Srafan# Reverse Video Blinking          R	0122
11364166124Srafan# Reverse Video Half Intensity
11365166124Srafan#    Blinking                     S	0123
11366166124Srafan# Underlined                      `	0140
11367166124Srafan# Underlined Half Intensity       a	0141
11368166124Srafan# Underlined Blinking             b	0142
11369166124Srafan# Underlined Half Intensity
11370166124Srafan#    Blinking                     c	0143
11371166124Srafan# Video suppress                  D	0104
11372166124Srafanvp3a+|viewpoint3a+|adds viewpoint 3a+,
11373166124Srafan	am, bw,
11374166124Srafan	cols#80, it#8, lines#24,
11375166124Srafan	blink=\E0B\E), civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M,
11376166124Srafan	cub1=^H, cud1=^J, cuf1=^L,
11377166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dim=\E0A\E),
11378166124Srafan	ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, invis=\E0D\E),
11379166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
11380166124Srafan	nel=^M^J, rev=\E0P\E), rmso=\E(,
11381166124Srafan	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(%;,
11382166124Srafan	sgr0=\E(, smso=\E0Q\E), smul=\E0`\E),
11383166124Srafanvp60|viewpoint60|addsvp60|adds viewpoint60,
11384166124Srafan	use=regent40,
11385166124Srafan#
1138650276Speter# adds viewpoint 90 - from cornell
1138750276Speter# Note:  emacs sends ei occasionally to insure the terminal is out of
1138850276Speter#        insert mode. This unfortunately puts the viewpoint90 IN insert
1138950276Speter#        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
1139050276Speter#   -    :ei=:im=: must be present in the termcap translation.)
1139150276Speter#   -    <xhp> indicates glitch that attributes stick to location
1139250276Speter#   -    <msgr> means it's safe to move in standout mode
1139350276Speter#   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
1139450276Speter#               the status line
1139550276Speter# Function key and label capabilities merged in from SCO.
11396166124Srafanvp90|viewpoint90|adds viewpoint 90,
11397166124Srafan	OTbs, bw, msgr, xhp,
11398166124Srafan	cols#80, lines#24,
11399166124Srafan	clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F,
11400166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE,
11401166124Srafan	dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I,
11402166124Srafan	ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J,
11403166124Srafan	kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r,
11404166124Srafan	kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r,
11405166124Srafan	kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2,
11406166124Srafan	lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9,
11407166124Srafan	lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV,
11408166124Srafan	sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV,
1140950276Speter# Note: if return acts weird on a980, check internal switch #2
1141050276Speter# on the top chip on the CONTROL pc board.
11411166124Srafanadds980|a980|adds consul 980,
11412166124Srafan	OTbs, am,
11413166124Srafan	cols#80, lines#24,
11414166124Srafan	bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J,
11415166124Srafan	cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d,
11416166124Srafan	dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1,
11417166124Srafan	kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8,
11418166124Srafan	kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N,
1141950276Speter
1142050276Speter#### C. Itoh Electronics
1142150276Speter#
1142250276Speter# As of 1995 these people no longer make terminals (they're still in the
1142350276Speter# printer business).  Their terminals were all clones of the DEC VT series.
1142450276Speter# They're located in Orange County, CA.
1142550276Speter#
1142650276Speter
1142750276Speter# CIT 80  - vt-52 emulator, the termcap has been modified to remove
1142850276Speter#           the delay times and do an auto tab set rather than the indirect
1142950276Speter#           file used in vt100.
11430166124Srafancit80|cit-80|citoh 80,
11431166124Srafan	OTbs, am,
11432166124Srafan	cols#80, lines#24,
11433166124Srafan	clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C,
11434166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L,
11435166124Srafan	ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
11436166124Srafan	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=,
1143750276Speter# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
1143850276Speter# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
11439166124Srafancit101|citc|C.itoh fast vt100,
11440166124Srafan	OTbs, am, xenl,
11441166124Srafan	cols#80, lines#24,
11442166124Srafan	bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C,
11443166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U,
11444166124Srafan	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
11445166124Srafan	flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L,
11446166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g,
11447166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
11448166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
11449166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
11450166124Srafan	smul=\E[4m,
1145150276Speter# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
1145250276Speter# The following termcap entry was created from the Callan cd100 entry.  The
1145350276Speter# last two lines (with the capabilities in caps) are used by RM-cobol to allow
1145450276Speter# full selection of combinations of reverse video, underline, and blink.
1145550276Speter# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
1145650276Speter# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
1145750276Speter# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
11458166124Srafancit101e|C. Itoh CIT-101e,
11459166124Srafan	OTbs, OTpt, am, mir, msgr,
11460166124Srafan	cols#80, it#8, lines#24,
11461166124Srafan	acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr,
11462166124Srafan	cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A,
11463166124Srafan	cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J,
11464166124Srafan	el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L,
11465166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT,
11466166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl,
11467166124Srafan	kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l,
11468166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h,
11469166124Srafan	smkx=\E=, smso=\E[7m, smul=\E[4m,
1147050276Speter# From: David S. Lawyer, June 1997:
1147150276Speter# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
1147250276Speter# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
1147350276Speter# late 1980's CIT Terminals went out of business.
1147450276Speter# There is no need to use the initialization string is=... (by invoking
1147550276Speter# tset or setterm etc.) provided that the terminal has been manually set
1147650276Speter# up (and the setup saved with ^S) to be compatible with this termcap.  To be
1147750276Speter# compatible it should be in ANSI mode (not VT52).   A set-up that
1147850276Speter# works is to set all the manually setable stuff to factory defaults
1147950276Speter# by pressing ^D in set-up mode.  Then increse the brighness with the
1148050276Speter# up-arrow key since the factory default will likely be dim on an old
1148150276Speter# terminal.  Then change any options you want (provided that they are
1148250276Speter# compatible with the termcap).  For my terminal I set: Screen
1148350276Speter# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
11484166124Srafan# on.  I also set up mine for parity (but you may not need it).  Then
1148550276Speter# save the setup with ^S.
1148650276Speter# (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
11487166124Srafancit101e-rv|Citoh CIT-101e (sets reverse video),
11488166124Srafan	am, eo, mir, msgr, xenl, xon,
11489166124Srafan	cols#80, it#8, lines#24,
11490166124Srafan	OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11491166124Srafan	civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M,
11492166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
11493166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11494166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11495166124Srafan	cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
11496166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>,
11497166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
11498166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
11499166124Srafan	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,
11500166124Srafan	kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
11501166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8,
11502166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l,
11503166124Srafan	rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7,
11504166124Srafan	sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h,
11505166124Srafan	smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR,
11506166124Srafan	u7=\E[6n, u8=\E[?6c, u9=\E[c,
11507166124Srafancit101e-n|CIT-101e w/o am,
11508166124Srafan	am@,
11509166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11510166124Srafan	use=cit101e,
11511166124Srafancit101e-132|CIT-101e with 132 cols,
11512166124Srafan	cols#132,
11513166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=cit101e,
11514166124Srafancit101e-n132|CIT-101e with 132 cols w/o am,
11515166124Srafan	am@,
11516166124Srafan	cols#132,
11517166124Srafan	cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J,
11518166124Srafan	use=cit101e,
1151950276Speter# CIE Terminals CIT-500 from BRL
1152050276Speter# The following SET-UP modes are assumed for normal operation:
1152150276Speter#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
1152250276Speter#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
1152350276Speter#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
1152450276Speter# Other SET-UP modes may be set for operator convenience or communication
1152550276Speter# requirements.
1152650276Speter# Hardware tabs are assumed to be set every 8 columns; they can be set up
1152750276Speter# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
1152850276Speter# "stty ixon -ixany" to enable DC3/DC1 flow control!
1152950276Speter# (cit500: I added <rmam>/<smam> based on the init string -- esr)
11530166124Srafancit500|CIE Terminals CIT-500,
11531166124Srafan	OTbs, OTpt, mir, msgr, xon,
11532166124Srafan	OTkn#10, cols#80, it#8, lines#64, vt#3,
11533166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
11534166124Srafan	clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
11535166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
11536166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
11537166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
11538166124Srafan	ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL,
11539166124Srafan	il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD,
11540166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M,
11541166124Srafan	ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
11542166124Srafan	kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ,
11543166124Srafan	khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1,
11544166124Srafan	lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18,
11545166124Srafan	lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m,
11546166124Srafan	ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>,
11547166124Srafan	rmso=\E[m, rmul=\E[m,
11548166124Srafan	rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>,
11549166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h,
11550166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1155150276Speter
1155250276Speter# C. Itoh printers begin here
11553166124Srafancitoh|ci8510|8510|c.itoh 8510a,
11554166124Srafan	cols#80, it#8,
11555166124Srafan	bold=\E!, cub1@,
11556166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073.,
11557166124Srafan	rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY,
11558166124Srafan	smul=\EX, use=lpr,
11559166124Srafancitoh-pica|citoh in pica,
11560166124Srafan	is1=\EN, use=citoh,
11561166124Srafancitoh-elite|citoh in elite,
11562166124Srafan	cols#96,
11563166124Srafan	is1=\EE,
11564166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089.,
11565166124Srafan	use=citoh,
11566166124Srafancitoh-comp|citoh in compressed,
11567166124Srafan	cols#136,
11568166124Srafan	is1=\EQ,
11569166124Srafan	is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129.,
11570166124Srafan	use=citoh,
1157150276Speter# citoh has infinite cols because we don't want lp ever inserting \n\t**.
11572166124Srafancitoh-prop|citoh-ps|ips|citoh in proportional spacing mode,
11573166124Srafan	cols#32767,
11574166124Srafan	is1=\EP, use=citoh,
11575166124Srafancitoh-6lpi|citoh in 6 lines per inch mode,
11576166124Srafan	is3=\EA, use=citoh,
11577166124Srafancitoh-8lpi|citoh in 8 lines per inch mode,
11578166124Srafan	lines#88,
11579166124Srafan	is3=\EB, use=citoh,
1158050276Speter
1158150276Speter#### Control Data (cdc)
1158250276Speter#
1158350276Speter
11584166124Srafancdc456|cdc 456 terminal,
11585166124Srafan	OTbs, am,
11586166124Srafan	cols#80, lines#24,
11587166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
11588166124Srafan	cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X,
11589166124Srafan	el=^V, home=^Y, il1=\EL, ind=^J,
1159050276Speter
1159150276Speter# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
11592166124Srafancdc721|CDC Viking,
11593166124Srafan	OTbs, am,
11594166124Srafan	cols#80, lines#24,
11595166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11596166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11597166124Srafan	kcuu1=^W, khome=^Y,
11598166124Srafancdc721ll|CDC Vikingll,
11599166124Srafan	OTbs, am,
11600166124Srafan	cols#132, lines#24,
11601166124Srafan	clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c,
11602166124Srafan	cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I,
11603166124Srafan	kcuu1=^W, khome=^Y,
1160450276Speter# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
11605166124Srafancdc752|CDC 752,
11606166124Srafan	OTbs, am, bw, xhp,
11607166124Srafan	cols#80, lines#24,
11608166124Srafan	bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11609166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V,
11610166124Srafan	home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017,
1161150276Speter# CDC 756
1161250276Speter# The following switch/key settings are assumed for normal operation:
1161350276Speter#	96 chars	SCROLL		FULL duplex	not BLOCK
1161450276Speter# Other switches may be set according to communication requirements.
1161550276Speter# Insert/delete-character cannot be used, as the whole display is affected.
1161650276Speter# "so" & "se" are commented out until jove handles "sg" correctly.
11617166124Srafancdc756|CDC 756,
11618166124Srafan	OTbs, am, bw,
11619166124Srafan	OTkn#10, cols#80, lines#24,
11620166124Srafan	bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
11621166124Srafan	cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z,
11622166124Srafan	dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J,
11623166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI,
11624166124Srafan	kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED,
11625166124Srafan	kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y,
11626166124Srafan	khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4,
11627166124Srafan	lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z,
11628166124Srafan	rs1=\031\030\002\003\017,
1162950276Speter#
1163050276Speter# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
1163150276Speter#
1163250276Speter# Part of the long initialization string defines the "DOWN" key to the left
11633166124Srafan# of the tab key to send an ESC.  The real ESC key is positioned way out
1163450276Speter# in right field.
1163550276Speter#
1163650276Speter# The termcap won't work in 132 column mode due to the way it it moves the
1163750276Speter# cursor.  Termcap doesn't have the capability (as far as I could tell) to
1163850276Speter# handle the 721 in 132 column mode.
1163950276Speter#
1164050276Speter# (cdc721: changed :ri: to :sr: -- esr)
11641166124Srafancdc721-esc|Control Data 721,
11642166124Srafan	OTbs, OTpt, am, bw, msgr, xon,
11643166124Srafan	OTkn#10, cols#80, it#8, lines#30,
11644166124Srafan	bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z,
11645166124Srafan	cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W,
11646166124Srafan	dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW,
11647166124Srafan	ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[,
11648166124Srafan	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,
11649166124Srafan	kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q,
11650166124Srafan	kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x,
11651166124Srafan	kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D,
11652166124Srafan	ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^],
11653166124Srafan	sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk,
11654166124Srafan	smso=^^D, smul=^\, tbc=^^^RY,
1165550276Speter
1165650276Speter#### Getronics
1165750276Speter#
11658166124Srafan# Getronics is a Dutch electronics company that at one time was called
1165950276Speter# `Geveke' and made async terminals; but (according to the company itself!)
1166050276Speter# they've lost all their documentation on the command set.  The hardware
1166150276Speter# documentation suggests the terminals were actually manufactured by a
1166250276Speter# Taiwanese electronics company named Cal-Comp.  There are known
1166350276Speter# to have been at least two models, the 33 and the 50.
1166450276Speter#
1166550276Speter
1166650276Speter# The 50 seems to be a top end vt220 clone, with the addition of a higher
1166750276Speter# screen resolution, a larger screen, at least 1 page of memory above and
1166850276Speter# below the screen, apparently pages of memory right and left of the screen
1166950276Speter# which can be panned, and about 75 function keys (15 function keys x normal,
1167050276Speter# shift, control, func A, func B). It also has more setup possibilities than
1167150276Speter# the vt220. The monitor case is dated November 1978 and the keyboard case is
1167250276Speter# May 1982.
1167350276Speter#
1167450276Speter# The vt100 emulation works as is.  The entry below describes the rather
1167550276Speter# non-conformant (but more featureful) ANSI mode.
1167650276Speter#
1167750276Speter# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
11678166124Srafanvisa50|geveke visa 50 terminal in ansi 80 character mode,
11679166124Srafan	bw, mir, msgr,
11680166124Srafan	cols#80, lines#25,
11681166124Srafan	acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G,
11682166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M,
11683166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
11684166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
11685166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
11686166124Srafan	dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM,
11687166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H,
11688166124Srafan	hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@,
11689166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
11690166124Srafan	is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h,
11691166124Srafan	ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS,
11692166124Srafan	kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177,
11693166124Srafan	kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002,
11694166124Srafan	kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007,
11695166124Srafan	kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char,
11696166124Srafan	lf3=A insert line, lf4=A delete line, lf5=A clear,
11697166124Srafan	lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
11698166124Srafan	lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l,
11699166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m,
11700166124Srafan	rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h,
11701166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g,
11702166124Srafan	vpa=\E[%i%p1%dd,
1170350276Speter
1170450276Speter#### Human Designed Systems (Concept)
1170550276Speter#
1170650276Speter#	Human Designed Systems
1170750276Speter#	400 Fehley Drive
1170850276Speter#	King of Prussia, PA 19406
1170950276Speter#	Vox: (610)-277-8300
1171050276Speter#	Fax: (610)-275-5739
1171150276Speter#	Net: support@hds.com
11712166124Srafan#
1171350276Speter# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
1171450276Speter# the character-terminal business now (1995) and making X terminals.  In
1171550276Speter# particular, the whole `Concept' line described here was discontinued long
1171650276Speter# ago.
1171750276Speter#
1171850276Speter
1171950276Speter# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
1172050276Speter# Extensive changes to c108 by arpavax:eric Feb 1982
1172150276Speter# Some unknown person at SCO then translated it to terminfo.
1172250276Speter#
1172350276Speter# There seem to be a number of different versions of the C108 PROMS
1172450276Speter# (with bug fixes in its Z-80 program).
11725166124Srafan#
1172650276Speter# The first one that we had would lock out the keyboard of you
1172750276Speter# sent lots of short lines (like /usr/dict/words) at 9600 baud.
1172850276Speter# Try that on your C108 and see if it sends a ^S when you type it.
1172950276Speter# If so, you have an old version of the PROMs.
11730166124Srafan#
1173150276Speter# You should configure the C108 to send ^S/^Q before running this.
1173250276Speter# It is much faster (at 9600 baud) than the c100 because the delays
1173350276Speter# are not fixed.
1173450276Speter# new status line display entries for c108-8p:
11735166124Srafan# <is3> - init str #3 - setup term for status display -
11736166124Srafan# set programmer mode, select window 2, define window at last
1173750276Speter# line of memory, set bkgnd stat mesg there, select window 0.
11738166124Srafan#
11739166124Srafan# <tsl> - to status line - select window 2, home cursor, erase to
1174050276Speter# end-of-window, 1/2 bright on, goto(line#0, col#?)
11741166124Srafan#
1174250276Speter# <fsl> - from status line - 1/2 bright off, select window 0
11743166124Srafan#
11744166124Srafan# <dsl> - disable status display - set bkgnd status mesg with
1174550276Speter# illegal window #
11746166124Srafan#
11747166124Srafan# There are probably more function keys that should be added but
1174850276Speter# I don't know what they are.
1174950276Speter#
1175050276Speter# No delays needed on c108 because of ^S/^Q handshaking
1175150276Speter#
11752166124Srafanc108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages,
11753166124Srafan	is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n,
11754166124Srafan	rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p,
11755166124Srafanc108-4p|concept108-4p|concept 108 w/4 pages,
11756166124Srafan	OTbs, eslok, hs, xon,
11757166124Srafan	pb@,
11758166124Srafan	acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M,
11759166124Srafan	cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c,
11760166124Srafan	cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s,
11761166124Srafan	ind=^J, is1=\EK\E!\E F,
11762166124Srafan	is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n,
11763166124Srafan	rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!,
11764166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025,
11765166124Srafan	tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100,
11766166124Srafanc108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video,
11767166124Srafan	rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r,
11768166124Srafan	use=c108-rv-4p,
11769166124Srafanc108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video,
11770166124Srafan	flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE,
11771166124Srafan	use=c108-4p,
11772166124Srafanc108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode,
11773166124Srafan	cols#132,
11774166124Srafan	is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n,
11775166124Srafan	smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p,
1177650276Speter
1177750276Speter# Concept 100:
11778166124Srafan# These have only window relative cursor addressing, not screen
11779166124Srafan# relative. To get it to work right here, smcup/rmcup (which
11780166124Srafan# were invented for the concept) lock you into a one page
1178150276Speter# window for screen style programs.
11782166124Srafan#
1178350276Speter# To get out of the one page window, we use a clever trick:
11784166124Srafan# we set the window size to zero ("\Ev    " in rmcup) which the
11785166124Srafan# terminal recognizes as an error and resets the window to all
1178650276Speter# of memory.
11787166124Srafan#
1178850276Speter# This trick works on c100 but does not on c108, sigh.
11789166124Srafan#
11790166124Srafan# Some tty drivers use cr3 for concept, others use nl3, hence
11791166124Srafan# the delays on cr and ind below. This padding is only needed at
11792166124Srafan# 9600 baud and up.  One or the other is commented out depending on
1179350276Speter# local conventions.
11794166124Srafan#
11795166124Srafan# 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe
1179650276Speter# less than 6 but more than 2 will work.
11797166124Srafan#
11798166124Srafan# Note: can't use function keys f7-f10 because they are
11799166124Srafan# indistinguishable from arrow keys (!), also, del char and
1180050276Speter# clear eol use xon/xoff so they probably won't work very well.
11801166124Srafan#
11802166124Srafan# Also note that we don't define insrt/del char/delline/eop/send
11803166124Srafan# because they don't transmit unless we reset them - I figured
1180450276Speter# it was a bad idea to clobber their definitions.
11805166124Srafan#
11806166124Srafan# The <mc5> sequence changes the escape character to ^^ so that
11807166124Srafan# escapes will be passed through to the printer. Only trouble
11808166124Srafan# is that ^^ won't be - ^^ was chosen to be unlikely.
11809166124Srafan# Unfortunately, if you're sending raster bits through to be
1181050276Speter# plotted, any character you choose will be likely, so we lose.
1181150276Speter#
11812166124Srafan# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
11813166124Srafan# cannot be # in is2 because it will hang a c100 with no printer
1181450276Speter# if sent twice.
11815166124Srafanc100|concept100|concept|c104|c100-4p|hds concept 100,
11816166124Srafan	OTbs, am, eo, mir, ul, xenl,
11817166124Srafan	cols#80, lines#24, pb#9600, vt#8,
11818166124Srafan	bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r,
11819166124Srafan	cub1=^H, cud1=^J, cuf1=\E=,
11820166124Srafan	cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;,
11821166124Srafan	dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>,
11822166124Srafan	ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK,
11823166124Srafan	ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>,
11824166124Srafan	is1=\EK,
11825166124Srafan	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,
11826166124Srafan	is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_,
11827166124Srafan	kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q,
11828166124Srafan	kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7,
11829166124Srafan	kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?,
11830166124Srafan	khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E.,
11831166124Srafan	kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027,
11832166124Srafan	mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI,
11833166124Srafan	rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED,
11834166124Srafan	rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex,
11835166124Srafan	rmso=\Ed, rmul=\Eg, sgr0=\EN@,
11836166124Srafan	smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX,
11837166124Srafan	smso=\ED, smul=\EG,
11838166124Srafanc100-rv|c100-rv-4p|concept100-rv|c100 rev video,
11839166124Srafan	cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee,
11840166124Srafan	smso=\EE, use=c100,
11841166124Srafanoc100|oconcept|c100-1p|old 1 page concept 100,
11842166124Srafan	in,
11843166124Srafan	is3@, use=c100,
1184450276Speter
1184550276Speter# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
1184650276Speter# Lots of notes, originally inline, but ncurses doesn't grok that.
1184750276Speter#
1184850276Speter# am: 	not available in power on mode, but turned on with \E[=107;207h in
1184950276Speter#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
1185050276Speter#	to specify xenl:, but that would have rendered the last space on the
1185150276Speter#	last line useless.
1185250276Speter# bw:	Not available in power on mode, but turned on with \E[=107;207h in
1185350276Speter#	is2=.
1185450276Speter# clear: Could be done with \E[2J alone, except that vi (and probably most
1185550276Speter#	other programs) assume that this also homes the cursor.
1185650276Speter# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
1185750276Speter#	scroll the window, and go back to window 1.
1185850276Speter# is2:	the string may cause a warning to be issued by tic that it
1185950276Speter#	found a very long line and that it suspects that a comma is missing
1186050276Speter#	somewhere.  This warning can be ignored (unless it comes up more than
1186150276Speter#	once).  The initialization string contains the following commands:
1186250276Speter#
1186350276Speter#	 [Setup mode items changed from factory defaults:]
1186450276Speter#		\E)0			set alternate character set to
1186550276Speter#						graphics
1186650276Speter#		^O			set character set to default
1186750276Speter#	 [In case it wasn't]
1186850276Speter#		\E[m			turn off all attributes
1186950276Speter#	 [In case they weren't off]
1187050276Speter#		\E[=107;		cursor wrap and
1187150276Speter#			207h			character wrap on
1187250276Speter#		\E[90;3u		set Fkey definitions to "transmit"
1187350276Speter#						defaults
1187450276Speter#		\E[92;3u		set cursor key definitions to
1187550276Speter#						"transmit" defaults
1187650276Speter#		\E[43;1u		set shift F13 to transmit...
1187750276Speter#		\177\E$P\177
1187850276Speter#		\E[44;1u		set shift F14 to transmit...
1187950276Speter#			\177\E$Q\177
1188050276Speter#		\E[45;1u		set shift F15 to transmit...
1188150276Speter#			\177\E$R\177
1188250276Speter#		\E[46;1u		set shift F16 to transmit...
1188350276Speter#			\177\E$S\177
1188450276Speter#		\E[200;1u		set shift up to transmit...
1188550276Speter#			\177\E$A\177
1188650276Speter#		\E[201;1u		set shift down to transmit...
1188750276Speter#			\177\E$B\177
1188850276Speter#		\E[202;1u		set shift right to transmit...
1188950276Speter#			\177\E$C\177
1189050276Speter#		\E[203;1u		set shift left to transmit...
1189150276Speter#			\177\E$D\177
1189250276Speter#		\E[204;1u		set shift home to transmit...
1189350276Speter#			\177\E$H\177
1189450276Speter#		\E[212;1u		set backtab to transmit...
1189550276Speter#			\177\E$I\177
1189650276Speter#		\E[213;1u		set shift backspace to transmit...
1189750276Speter#			\177\E$^H\177
1189850276Speter#		\E[214;1u		set shift del to transmit...
1189950276Speter#			"\E$\177"
1190050276Speter#	 [Necessary items not mentioned in setup mode:]
1190150276Speter#		\E[2!w			move to window 2
1190250276Speter#		\E[25;25w		define window as line 25 of memory
1190350276Speter#		\E[!w			move to window 1
1190450276Speter#		\E[2*w			show current line of window 2 as
1190550276Speter#						status line
1190650276Speter#		\E[2+x			set meta key to use high bit
1190750276Speter#		\E[;3+}			move underline to bottom of character
1190850276Speter#
1190950276Speter#	All Fkeys are set to their default transmit definitions with \E[90;3u
1191050276Speter#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
1191150276Speter#	setting MUST be redefined or deactivated, because the default is
1191250276Speter#	contained in almost all of this terminal's Fkey strings!  If for some
1191350276Speter#	reason "quit" cannot be altered, the Fkeys can, but it would be
1191450276Speter#	necessary to change ^| to ^] in all of these definitions, and add
1191550276Speter#	\E[2;029!t to is2.
1191650276Speter# lines: is set to 24 because this terminal refuses to treat the 25th
1191750276Speter#	line normally.
1191850276Speter# ll:	Not available in power on mode, but turned on with \E[=107;207h in
1191950276Speter#	is2=.
1192050276Speter# lm:	Pointless, given that this definition locks a single screen of
1192150276Speter#	memory into view, but what the hey...
1192250276Speter# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
1192350276Speter#	other attributes alone), but some programs expect this to turn off
1192450276Speter#	everything.
1192550276Speter# rmul: Could use \E[4!{ to turn off only underline (leaving any other
1192650276Speter#	attributes alone), but some programs expect this to turn off
1192750276Speter#	everything.
1192850276Speter# sgr:	Attributes are set on this terminal with the string \E[ followed by
1192950276Speter#	a list of attribute code numbers (in decimal, separated by
1193050276Speter#	semicolons), followed by the character m.  The attribute code
1193150276Speter#	numbers are:
1193250276Speter#		  1 for bold;
1193350276Speter#		  2 for dim (which is ignored in power on mode);
1193450276Speter#		  4 for underline;
1193550276Speter#		  5 for blinking;
1193650276Speter#		  7 for inverse;
1193750276Speter#		  8 for not displayable; and
1193850276Speter#		=99 for protected (except that there are strange side
1193950276Speter#		effects to protected characters which make them inadvisable).
1194050276Speter#	 The mapping of terminfo parameters to attributes is as follows:
1194150276Speter#		%p1 (standout) = bold and inverse together;
1194250276Speter#		%p2 (underline) = underline;
1194350276Speter#		%p3 (reverse) = inverse;
1194450276Speter#		%p4 (blink) = blinking;
1194550276Speter#		%p5 (dim) is ignored;
1194650276Speter#		%p6 (bold) = bold;
1194750276Speter#		%p7 (invisible) = not displayable;
1194850276Speter#		%p8 (protected) is ignored; and
1194950276Speter#		%p9 (alt char set) = alt char set.
1195050276Speter#	 The code to do this is:
1195150276Speter#		\E[0		OUTPUT	\E[0
1195250276Speter#		%?%p1%p6%O	IF	(standout; bold) OR
1195350276Speter#		%t;1		THEN	OUTPUT	;1
1195450276Speter#		%;		ENDIF
1195550276Speter#		%?%p2		IF	underline
1195650276Speter#		%t;4		THEN	OUTPUT	;4
1195750276Speter#		%;		ENDIF
1195850276Speter#		%?%p4		IF	blink
1195950276Speter#		%t;5		THEN	OUTPUT	;5
1196050276Speter#		%;		ENDIF
1196150276Speter#		%?%p1%p3%O	IF	(standout; reverse) OR
1196250276Speter#		%t;7		THEN	OUTPUT	;7
1196350276Speter#		%;		ENDIF
1196450276Speter#		%?%p7		IF	invisible
1196550276Speter#		%t;8		THEN	OUTPUT	;8
1196650276Speter#		%;		ENDIF
1196750276Speter#		m		OUTPUT	m
1196850276Speter#		%?%p9		IF	altcharset
1196950276Speter#		%t^N		THEN	OUTPUT	^N
1197050276Speter#		%e^O		ELSE	OUTPUT	^O
1197150276Speter#		%;		ENDIF
1197250276Speter# sgr0: Everything is turned off (including alternate character set), since
1197350276Speter#	there is no way of knowing what it is that the program wants turned
1197450276Speter#	off.
1197550276Speter# smul: The "underline" attribute is reconfigurable to an overline or
1197650276Speter#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
1197750276Speter#	bottom of the character cell.  This was done to allow for more readable
1197850276Speter#	underlined characters, and to be able to distinguish between an
1197950276Speter#	underlined space, an underscore, and an underlined underscore.
1198050276Speter# xenl: Terminal can be configured to not need this, but this "glitch"
1198150276Speter#	behavior is actually preferable with autowrap terminals.
1198250276Speter#
1198350276Speter# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
1198450276Speter# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
1198550276Speter# string modifies the 'O' in kf43 to kf46 to a '$'.
1198650276Speter#
1198750276Speter# kcbt was originally ^I but redefined in is2=.
1198850276Speter# kHOM was \E[H originally but redefined in is2=, as were a number of
1198950276Speter# other keys.
1199050276Speter# kDC was originally \177 but redefined in is2=.
1199150276Speter#
1199250276Speter# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
1199350276Speter# tsl:	Go to window 2, then do an hpa=.
1199450276Speter#
1199550276Speter#------- flash=\E[8;3!}^G\E[3;3!}
1199650276Speter#------- flash=\E[?5h$<100>\E[?5l
11997166124Srafan# There are two ways to flash the screen, both of which have their drawbacks.
1199850276Speter# The first is to set the bell mode to video, transmit a bell character, and
1199950276Speter# set the bell mode back - but to what?  There is no way of knowing what the
1200050276Speter# user's old bell setting was before we messed with it.  Worse, the command to
1200150276Speter# set the bell mode also sets the key click volume, and there is no way to say
1200250276Speter# "leave that alone", or to know what it's set to, either.
1200350276Speter# The second way to do a flash is to set the screen to inverse video, pad for a
1200450276Speter# tenth of a second, and set it back - but like before, there's no way to know
1200550276Speter# that the screen wasn't ALREADY in inverse video, or that the user may prefer
1200650276Speter# it that way.  The point is moot anyway, since vi (and probably other
1200750276Speter# programs) assume that by defining flash=, you want the computer to use it
1200850276Speter# INSTEAD of bel=, rather than as a secondary type of signal.
1200950276Speter#
1201050276Speter#------- cvvis=\E[+{
1201150276Speter# The is the power on setting, which is also as visible as the cursor
1201250276Speter# gets.
1201350276Speter#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
1201450276Speter# Windowing is possible, but not defined here because it is also used to
1201550276Speter# emulate status line functions.  Allowing a program to set a window could
1201650276Speter# clobber the status line or render it unusable.  There is additional memory,
1201750276Speter# but screen scroll functions are destructive and do not make use of it.
1201850276Speter#
1201950276Speter#-------   dim=			Not available in power on mode.
1202050276Speter# You have a choice of defining low intensity characters as "half bright" and
12021166124Srafan# high intensity as "normal", or defining low as "normal" and high as "bold".
1202250276Speter# No matter which you choose, only one of either "half bright" or "bold" is
1202350276Speter# available at any time, so taking the time to override the default is
1202450276Speter# pointless.
1202550276Speter#
1202650276Speter#-------  prot=\E[=0;99m
1202750276Speter# Not defined, because it appears to have some strange side effects.
1202850276Speter#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1202950276Speter#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
1203050276Speter#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
1203150276Speter#	 Available, but making them available to programs is inadvisable.
1203250276Speter#	 The code to do this is:
1203350276Speter#		%?%p1%{24}%<	IF	((key; 24) <;
1203450276Speter#		%p1%{30}%>		 ((key; 30) >;
1203550276Speter#		%p1%{54}%<		  (key; 54) <
1203650276Speter#		%A			 ) AND
1203750276Speter#		%O		  	) OR
1203850276Speter#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
1203950276Speter#		%t\E[		THEN	OUTPUT	\E[
1204050276Speter#		%p1%d			OUTPUT	(key) as decimal
1204150276Speter#	 [next line applies to pfx only]
1204250276Speter#		;1			OUTPUT	;1
1204350276Speter#		u			OUTPUT	u
1204450276Speter#		\177			OUTPUT	\177
1204550276Speter#		%p2%s			OUTPUT	(string) as string
1204650276Speter#		\177			OUTPUT	\177
1204750276Speter#	 [DEL chosen as delimiter, but could be any character]
1204850276Speter#	 [implied:		ELSE	do nothing]
1204950276Speter#		%;		ENDIF
12050166124Srafan#
1205150276Speter#-------   rs2=
1205250276Speter# Not defined since anything it might do could be done faster and easier with
1205350276Speter# either Meta-Shift-Reset or the main power switch.
1205450276Speter#
1205550276Speter#-------  smkx=\E[1!z
1205650276Speter#-------  rmkx=\E[!z
1205750276Speter# These sequences apply to the cursor and setup keys only, not to the
1205850276Speter# numeric keypad.  But it doesn't matter anyway, since making these
1205950276Speter# available to programs is inadvisable.
1206050276Speter# For the key definitions below, all sequences beginning with \E$ are
1206150276Speter# custom and programmed into the terminal via is2.  \E$ also has no
1206250276Speter# meaning to any other terminal.
1206350276Speter#
1206450276Speter#------- cmdch=\E[;%p1%d!t
1206550276Speter# Available, but making it available to programs is inadvisable.
1206650276Speter#------- smxon=\E[1*q
1206750276Speter# Available, but making it available to programs is inadvisable.
1206850276Speter# Terminal will send XON/XOFF on buffer overflow.
1206950276Speter#------- rmxon=\E[*q
1207050276Speter# Available, but making it available to programs is inadvisable.
1207150276Speter# Terminal will not notify on buffer overflow.
1207250276Speter#-------   smm=\E[2+x
1207350276Speter#-------   rmm=\E[+x
1207450276Speter# Available, but making them available to programs is inadvisable.
1207550276Speter#
1207650276Speter# Printing:
1207750276Speter#	 It's not made clear in the manuals, but based on other ansi/vt type
1207850276Speter#	 terminals, it's a good guess that this terminal is capable of both
1207950276Speter#	 "transparent print" (which doesn't copy data to the screen, and
1208050276Speter#	 therefore needs mc5i: specified to say so) and "auxilliary print"
1208150276Speter#	 (which does duplicate printed data on the screen, in which case mc4=
1208250276Speter#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
1208350276Speter
12084166124Srafanhds200|Human Designed Systems HDS200,
12085166124Srafan	am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
12086166124Srafan	cols#80, it#8, lines#24, lm#0,
12087166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
12088166124Srafan	blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{,
12089166124Srafan	clear=\E[H\E[J, cnorm=\E[+{, cr=^M,
12090166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
12091166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
12092166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12093166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
12094166124Srafan	dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K,
12095166124Srafan	fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
12096166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
12097166124Srafan	invis=\E[0;8m,
12098166124Srafan	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+},
12099166124Srafan	kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H,
12100166124Srafan	kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12101166124Srafan	kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r,
12102166124Srafan	kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ,
12103166124Srafan	kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r,
12104166124Srafan	kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r,
12105166124Srafan	kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r,
12106166124Srafan	kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r,
12107166124Srafan	kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r,
12108166124Srafan	kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r,
12109166124Srafan	kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r,
12110166124Srafan	kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r,
12111166124Srafan	kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r,
12112166124Srafan	kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H,
12113166124Srafan	kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A,
12114166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8,
12115166124Srafan	rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017,
12116166124Srafan	rmul=\E[m\017, sc=\E7,
12117166124Srafan	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%;,
12118166124Srafan	sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m,
12119166124Srafan	smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG,
12120166124Srafan	vpa=\E[%i%p1%dd,
1212150276Speter
1212250276Speter# <ht> through <el> included to specify padding needed in raw mode.
1212350276Speter# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
12124166124Srafanavt-ns|concept avt no status line,
12125166124Srafan	OTbs, am, eo, mir, ul, xenl, xon,
12126166124Srafan	cols#80, it#8, lines#24, lm#192,
12127166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
12128166124Srafan	clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M,
12129166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
12130166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
12131166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12132166124Srafan	cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>,
12133166124Srafan	dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H,
12134166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@,
12135166124Srafan	ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>,
12136166124Srafan	invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l,
12137166124Srafan	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,
12138166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12139166124Srafan	kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
12140166124Srafan	kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H,
12141166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
12142166124Srafan	pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#,
12143166124Srafan	prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m,
12144166124Srafan	ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n,
12145166124Srafan	rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{,
12146166124Srafan	sc=\E7,
12147166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
12148166124Srafan	sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r,
12149166124Srafan	smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m,
12150166124Srafan	tbc=\E[2g, vpa=\E[%p1%{1}%+%dd,
12151166124Srafanavt-rv-ns|concept avt in reverse video mode/no status line,
12152166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12153166124Srafan	use=avt-ns,
12154166124Srafanavt-w-ns|concept avt in 132 column mode/no status line,
12155166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12156166124Srafan	use=avt-ns,
12157166124Srafanavt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video,
12158166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12159166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt-ns,
1216050276Speter
1216150276Speter# Concept AVT with status line. We get the status line using the
1216250276Speter# "Background status line" feature of the terminal. We swipe the
1216350276Speter# first line of memory in window 2 for the status line, keeping
1216450276Speter# 191 lines of memory and 24 screen lines for regular use.
1216550276Speter# The first line is used instead of the last so that this works
1216650276Speter# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
1216750276Speter# assumes an 8 page AVT but lm isn't currently used anywhere.)
1216850276Speter#
12169166124Srafanavt+s|concept avt status line changes,
12170166124Srafan	eslok, hs,
12171166124Srafan	lm#191,
12172166124Srafan	dsl=\E[0*w, fsl=\E[1;1!w,
12173166124Srafan	is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n,
12174166124Srafan	rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r,
12175166124Srafan	tsl=\E[2;1!w\E[;%p1%dH\E[2K,
12176166124Srafanavt|avt-s|concept-avt|avt w/80 columns,
12177166124Srafan	use=avt+s, use=avt-ns,
12178166124Srafanavt-rv|avt-rv-s|avt reverse video w/sl,
12179166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h,
12180166124Srafan	use=avt+s, use=avt-ns,
12181166124Srafanavt-w|avt-w-s|concept avt 132 cols+status,
12182166124Srafan	is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w,
12183166124Srafan	use=avt+s, use=avt-ns,
12184166124Srafanavt-w-rv|avt-w-rv-s|avt wide+status+rv,
12185166124Srafan	flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h,
12186166124Srafan	smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns,
1218750276Speter
12188166124Srafan#### Contel Business Systems.
1218950276Speter#
1219050276Speter
12191166124Srafan# Contel c300 and c320 terminals.
12192166124Srafancontel300|contel320|c300|Contel Business Systems C-300 or C-320,
12193166124Srafan	am, in, xon,
12194166124Srafan	cols#80, lines#24, xmc#1,
12195166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12196166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
12197166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
12198166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
12199166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
12200166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
12201166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
12202166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3,
1220350276Speter# Contel c301 and c321 terminals.
12204166124Srafancontel301|contel321|c301|c321|Contel Business Systems C-301 or C-321,
12205166124Srafan	flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>,
12206166124Srafan	use=contel300,
1220750276Speter
1220850276Speter#### Data General (dg)
1220950276Speter#
1221050276Speter# According to James Carlson <carlson@xylogics.com> writing in January 1995,
1221150276Speter# the terminals group at Data General was shut down in 1991; all these
1221250276Speter# terminals have thus been discontinued.
1221350276Speter#
1221450276Speter# DG terminals have function keys that respond to the SHIFT and CTRL keys,
1221550276Speter# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
12216166124Srafan# sequentially, first the unmodified key codes are listed as F1 through F15.
1221750276Speter# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
1221850276Speter# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
1221950276Speter# F46 through F60.  This is done in the private "includes" below whose names
1222050276Speter# start with "dgkeys+".
1222150276Speter#
1222250276Speter# DG terminals generally support 8 bit characters.  For each of these terminals
1222350276Speter# two descriptions are supplied:
1222450276Speter#	1) A default description for 8 bits/character communications, which
1222550276Speter#	   uses the default DG international character set and keyboard codes.
1222650276Speter#	2) A description with suffix "-7b" for 7 bits/character communications.
1222750276Speter#	   This description must use the NON-DEFAULT native keyboard language.
1222850276Speter
1222950276Speter# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
1223050276Speter# Ctrl/Shift fdkeys (kf34-kf44).
1223150276Speter
12232166124Srafandgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys,
12233166124Srafan	ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z,
12234166124Srafan	kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
12235166124Srafan	kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z,
12236166124Srafan	kf11=\233011z, kf12=\233012z, kf13=\233013z,
12237166124Srafan	kf14=\233014z, kf15=\233000z, kf16=\233101z,
12238166124Srafan	kf17=\233102z, kf18=\233103z, kf19=\233104z,
12239166124Srafan	kf2=\233002z, kf20=\233105z, kf21=\233106z,
12240166124Srafan	kf22=\233107z, kf23=\233108z, kf24=\233109z,
12241166124Srafan	kf25=\233110z, kf26=\233111z, kf27=\233112z,
12242166124Srafan	kf28=\233113z, kf29=\233114z, kf3=\233003z,
12243166124Srafan	kf30=\233100z, kf31=\233201z, kf32=\233202z,
12244166124Srafan	kf33=\233203z, kf34=\233204z, kf35=\233205z,
12245166124Srafan	kf36=\233206z, kf37=\233207z, kf38=\233208z,
12246166124Srafan	kf39=\233209z, kf4=\233004z, kf40=\233210z,
12247166124Srafan	kf41=\233211z, kf42=\233212z, kf43=\233213z,
12248166124Srafan	kf44=\233214z, kf45=\233200z, kf46=\233301z,
12249166124Srafan	kf47=\233302z, kf48=\233303z, kf49=\233304z,
12250166124Srafan	kf5=\233005z, kf50=\233305z, kf51=\233306z,
12251166124Srafan	kf52=\233307z, kf53=\233308z, kf54=\233309z,
12252166124Srafan	kf55=\233310z, kf56=\233311z, kf57=\233312z,
12253166124Srafan	kf58=\233313z, kf59=\233314z, kf6=\233006z,
12254166124Srafan	kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z,
12255166124Srafan	khome=\233H, kprt=\233i,
1225650276Speter
12257166124Srafandgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys,
12258166124Srafan	ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z,
12259166124Srafan	kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12260166124Srafan	kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z,
12261166124Srafan	kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z,
12262166124Srafan	kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z,
12263166124Srafan	kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z,
12264166124Srafan	kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z,
12265166124Srafan	kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z,
12266166124Srafan	kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z,
12267166124Srafan	kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z,
12268166124Srafan	kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z,
12269166124Srafan	kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z,
12270166124Srafan	kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z,
12271166124Srafan	kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z,
12272166124Srafan	kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z,
12273166124Srafan	kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z,
12274166124Srafan	kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z,
12275166124Srafan	kf9=\E[009z, khome=\E[H, kprt=\E[i,
1227650276Speter
12277166124Srafandgkeys+11|Private entry describing 11 minimal-subset DG mode special keys,
12278166124Srafan	kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K,
12279166124Srafan	kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c,
12280166124Srafan	kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r,
12281166124Srafan	kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3,
12282166124Srafan	kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8,
12283166124Srafan	kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#,
12284166124Srafan	kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(,
12285166124Srafan	kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w,
12286166124Srafan	kf8=^^x, kf9=^^y, khome=^H,
1228750276Speter
12288166124Srafandgkeys+15|Private entry describing 15 DG mode special keys,
12289166124Srafan	kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^,
12290166124Srafan	kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^},
12291166124Srafan	kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d,
12292166124Srafan	kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i,
12293166124Srafan	kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s,
12294166124Srafan	kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5,
12295166124Srafan	kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:,
12296166124Srafan	kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!,
12297166124Srafan	kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&,
12298166124Srafan	kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,,
12299166124Srafan	kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x,
12300166124Srafan	kf9=^^y,
1230150276Speter
1230250276Speter# Data General color terminals use the "Tektronix" color model.  The total
1230350276Speter# number of colors varies with the terminal model, as does support for
1230450276Speter# attributes used in conjunction with color.
1230550276Speter
1230650276Speter# Removed u7, u8 definitions since they conflict with tack:
1230750276Speter#		Preserve user-defined colors in at least some cases.
1230850276Speter#	u7=^^Fh,
1230950276Speter#		Default is ACM mode.
1231050276Speter#	u8=^^F}20^^Fi^^F}21,
1231150276Speter#
12312166124Srafandgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode,
12313166124Srafan	bce,
12314166124Srafan	colors#16, ncv#53, pairs#256,
12315166124Srafan	op=\036Ad\036Bd,
12316166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12317166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12318166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1231950276Speter
12320166124Srafandg+fixed|Fixed color info for DG D430C terminals in DG mode,
12321166124Srafan	use=dgunix+fixed,
1232250276Speter
1232350276Speter# Video attributes are coordinated using static variables set by "sgr", then
12324166124Srafan# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
1232550276Speter# (D=dim, U=underline, B=blink, R=reverse.)
12326166124Srafandg+color8|Color info for Data General D220 and D230C terminals in ANSI mode,
12327166124Srafan	bce,
12328166124Srafan	colors#8, ncv#16, pairs#64,
12329166124Srafan	op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m,
12330166124Srafan	setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12331166124Srafan	setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m,
12332166124Srafan	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,
12333166124Srafan	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,
1233450276Speter
12335166124Srafandg+color|Color info for Data General D470C terminals in ANSI mode,
12336166124Srafan	colors#16, ncv#53, pairs#256,
12337166124Srafan	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,
12338166124Srafan	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,
12339166124Srafan	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,
12340166124Srafan	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,
12341166124Srafan	use=dg+color8,
1234250276Speter
12343166124Srafandgmode+color8|Color info for Data General D220/D230C terminals in DG mode,
12344166124Srafan	bce,
12345166124Srafan	colors#8, ncv#16, pairs#64,
12346166124Srafan	op=\036Ad\036Bd,
12347166124Srafan	setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12348166124Srafan	setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c,
12349166124Srafan	setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c,
1235050276Speter
12351166124Srafandgmode+color|Color info for Data General D470C terminals in DG mode,
12352166124Srafan	colors#16, pairs#256,
12353166124Srafan	setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12354166124Srafan	setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c,
12355166124Srafan	use=dgmode+color8,
1235650276Speter
12357166124Srafandgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode,
12358166124Srafan	bce, ccc,
12359166124Srafan	colors#52, ncv#53, pairs#26,
12360166124Srafan	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,
12361166124Srafan	oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00,
12362166124Srafan	op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D,
12363166124Srafan	scp=\036RG2%p1%02X,
1236450276Speter
1236550276Speter# Colors are in the order:  normal, reverse, dim, dim + reverse.
12366166124Srafandg+ccc|Configurable color info for DG D430C terminals in DG mode,
12367166124Srafan	bce, ccc,
12368166124Srafan	colors#52, ncv#53, pairs#26,
12369166124Srafan	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,
12370166124Srafan	oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00,
12371166124Srafan	op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=,
12372166124Srafan	scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c,
1237350276Speter
1237450276Speter# The generic DG terminal type (an 8-bit-clean subset of the 6053)
1237550276Speter# Initialization string 1 sets:
1237650276Speter#	^R		- vertical scrolling enabled
1237750276Speter#	^C		- blinking enabled
12378166124Srafandg-generic|Generic Data General terminal in DG mode,
12379166124Srafan	am, bw, msgr, xon,
12380166124Srafan	cols#80, lines#24,
12381166124Srafan	bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12382166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C,
12383166124Srafan	mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\,
12384166124Srafan	smul=^T, use=dgkeys+11,
1238550276Speter
1238650276Speter# According to the 4.4BSD termcap file, the dg200 <cup> should be the
1238750276Speter# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
1238850276Speter# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
1238950276Speter# maybe they were originally nuls (which would fit).
1239050276Speter
12391166124Srafandg200|data general dasher 200,
12392166124Srafan	OTbs, am, bw,
12393166124Srafan	cols#80, lines#24,
12394166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X,
12395166124Srafan	cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J,
12396166124Srafan	kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q,
12397166124Srafan	kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x,
12398166124Srafan	kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U,
12399166124Srafan	smso=^^D, smul=^T,
1240050276Speter
1240150276Speter# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
12402166124Srafandg210|dg-ansi|Data General 210/211,
12403166124Srafan	am,
12404166124Srafan	cols#80, lines#24,
12405166124Srafan	OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH,
12406166124Srafan	cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D,
12407166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
12408166124Srafan	nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m,
12409166124Srafan	smul=\E[4;m,
1241050276Speter# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
1241150276Speter# courtesy of Carlos Rucalde of Vantage Software, Inc.
1241250276Speter# (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
1241350276Speter# I suspect the d200 function keys actually work on the dg211, check it out.)
12414166124Srafandg211|Data General d211,
12415166124Srafan	cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@,
12416166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L,
12417166124Srafan	rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200,
1241862449Speter
1241962449Speter# dg450 from Cornell (not official)
12420166124Srafandg450|dg6134|data general 6134,
12421166124Srafan	cub1@, cuf1=^X, use=dg200,
1242262449Speter
1242362449Speter# Not official...
1242450276Speter# Note: lesser Dasher terminals will not work with vi because vi insists upon
1242550276Speter# having a command to move straight down from any position on the bottom line
1242650276Speter# and scroll the screen up, or a direct vertical scroll command.  The 460 and
1242750276Speter# above have both, the D210/211, for instance, has neither.  We must use ANSI
1242850276Speter# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
1242950276Speter# backspace on all terminals.  This is not so in DG mode.
1243050276Speter# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
1243150276Speter# grounds that there is no matching ":ml:"
1243250276Speter# fixed garbled ":k9=\E[00\:z:" capability -- esr)
12433166124Srafandg460-ansi|Data General Dasher 460 in ANSI-mode,
12434166124Srafan	OTbs, am, msgr, ul,
12435166124Srafan	cols#80, it#8, lines#24,
12436166124Srafan	OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B,
12437166124Srafan	cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P,
12438166124Srafan	dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
12439166124Srafan	ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D,
12440166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12441166124Srafan	kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z,
12442166124Srafan	kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z,
12443166124Srafan	kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3,
12444166124Srafan	lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m,
12445166124Srafan	ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m,
12446166124Srafan	smul=\E[4m,
1244762449Speter# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
12448166124Srafan# Data General 605x
1244950276Speter# Ought to work for a Model 6242, Type D210 as well as a 605x.
1245050276Speter# Note that the cursor-down key transmits ^Z.  Job control users, beware!
1245150276Speter# This also matches a posted description of something called a `Dasher 100'
12452166124Srafan# so there's a dg100 alias here.
12453166124Srafan# (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr)
12454166124Srafandg6053-old|dg100|data general 6053,
12455166124Srafan	OTbs, am, bw, ul,
12456166124Srafan	cols#80, lines#24,
12457166124Srafan	OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z,
12458166124Srafan	cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K,
12459166124Srafan	home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X,
12460166124Srafan	kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v,
12461166124Srafan	kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L,
12462166124Srafan	rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D,
12463166124Srafan	smul=^T,
1246450276Speter
1246550276Speter# (Some performance can be gained over the generic DG terminal type)
12466166124Srafandg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053,
12467166124Srafan	xon@,
12468166124Srafan	home=^P\0\0, ll=^P\0^W, use=dg-generic,
1246950276Speter
1247050276Speter# Like 6053, but adds reverse video and more keypad and function keys.
12471166124Srafand200|d200-dg|Data General DASHER D200,
12472166124Srafan	bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^],
12473166124Srafan	sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;,
12474166124Srafan	sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15,
12475166124Srafan	use=dg6053,
1247650276Speter
1247750276Speter# DASHER D210 series terminals in ANSI mode.
1247850276Speter#	Reverse video, no insert/delete character/line, 7 bits/character only.
1247950276Speter#
1248050276Speter# Initialization string 1 sets:
1248150276Speter#	<0		- scrolling enabled
1248250276Speter#	<1		- blink enabled
1248350276Speter#	<4		- print characters regardless of attributes
12484166124Srafand210|d214|Data General DASHER D210 series,
12485166124Srafan	am, bw, msgr, xon,
12486166124Srafan	cols#80, lines#24,
12487166124Srafan	bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M,
12488166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
12489166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
12490166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K,
12491166124Srafan	el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l,
12492166124Srafan	ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m,
12493166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m,
12494166124Srafan	sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b,
1249550276Speter
1249650276Speter# DASHER D210 series terminals in DG mode.
1249750276Speter# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
12498166124Srafand210-dg|d214-dg|Data General DASHER D210 series in DG mode,
12499166124Srafan	xon,
12500166124Srafan	ed=^^FF, use=d200-dg,
1250150276Speter
1250250276Speter# DASHER D211 series terminals in ANSI mode.
1250350276Speter# Like the D210, but with 8-bit characters and local printer support.
1250450276Speter#
1250550276Speter# Initialization string 2 sets:
1250650276Speter#	\E[2;1;1;1v
1250750276Speter#		2;1	- 8 bit operations
1250850276Speter#		1;1	- 8 bit (international) keyboard language
1250950276Speter#	\E(B		- default primary character set (U.S. ASCII)
1251050276Speter#	\E)4		- default secondary character set (international)
1251150276Speter#	^O		- primary character set
1251250276Speter#
12513166124Srafand211|d215|Data General DASHER D211 series,
12514166124Srafan	km,
12515166124Srafan	is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b,
12516166124Srafan	use=d210,
1251750276Speter
1251850276Speter# Initialization string 2 sets:
1251950276Speter#	\E[2;0;1;0v
1252050276Speter#		2;0	- 7 bit operations
1252150276Speter#		1;0	- 7 bit (native) keyboard language
1252250276Speter#	\E(0		- default character set (the keyboard native language)
1252350276Speter#	^O		- primary character set
12524166124Srafand211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode,
12525166124Srafan	km@,
12526166124Srafan	is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211,
1252750276Speter
1252850276Speter# Like the D210 series, but adds support for 8-bit characters.
1252950276Speter#
1253050276Speter# Reset string 2 sets:
1253150276Speter#	^^N	- secondary character set
1253250276Speter#	^^FS0>	- 8 bit international character set
1253350276Speter#	^^O	- primary character set
1253450276Speter#	^^FS00	- default character set (matching the native keyboard language)
1253550276Speter#
12536166124Srafand211-dg|d215-dg|Data General DASHER D211 series in DG mode,
12537166124Srafan	km,
12538166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=d210-dg,
1253950276Speter
12540166124Srafand216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode,
12541166124Srafan	use=d211-dg,
1254250276Speter
1254350276Speter# Enhanced DG mode with changes to be more UNIX compatible.
12544166124Srafand216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode,
12545166124Srafan	mc5i,
12546166124Srafan	it#8,
12547166124Srafan	acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI,
12548166124Srafan	clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA,
12549166124Srafan	el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J,
12550166124Srafan	is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd,
12551166124Srafan	kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB,
12552166124Srafan	kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0,
12553166124Srafan	mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00,
12554166124Srafan	rs2=\036N\036FS0E\036O\036FS00,
12555166124Srafan	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%;,
12556166124Srafan	sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11,
12557166124Srafan	vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg,
12558166124Srafand216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines,
12559166124Srafan	lines#25,
12560166124Srafan	is3=\036Fz2, use=d216+,
1256150276Speter
12562166124Srafand217-unix|Data General DASHER D217 in DG-UNIX mode,
12563166124Srafan	use=d216-unix,
12564166124Srafand217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines,
12565166124Srafan	use=d216-unix-25,
1256650276Speter
1256750276Speter# DASHER D220 color terminal in ANSI mode.
1256850276Speter# Like the D470C but with fewer colors and screen editing features.
1256950276Speter#
1257050276Speter# Initialization string 1 sets:
1257150276Speter#	\E[<0;<1;<4l
1257250276Speter#		<0	- scrolling enabled
1257350276Speter#		<1	- blink enabled
1257450276Speter#		<4	- print characters regardless of attributes
1257550276Speter#	\E[m		- all attributes off
1257650276Speter# Reset string 1 sets:
1257750276Speter#	\Ec		- initial mode defaults (RIS)
1257850276Speter#
12579166124Srafand220|Data General DASHER D220,
12580166124Srafan	mc5i@,
12581166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12582166124Srafan	use=dg+color8, use=d470c,
1258350276Speter
12584166124Srafand220-7b|Data General DASHER D220 in 7 bit mode,
12585166124Srafan	mc5i@,
12586166124Srafan	dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec,
12587166124Srafan	use=dg+color8, use=d470c-7b,
1258850276Speter
1258950276Speter# Initialization string 3 sets:
1259050276Speter#	- default cursor (solid rectangle)
1259150276Speter# Reset string 2 sets:
1259250276Speter#	^^N     - secondary character set
1259350276Speter#	^^FS0>  - 8 bit international character set
1259450276Speter#	^^O     - primary character set
1259550276Speter#       ^^FS00  - default character set (matching the native keyboard language)
1259650276Speter#
12597166124Srafand220-dg|Data General DASHER D220 color terminal in DG mode,
12598166124Srafan	mc5i@,
12599166124Srafan	dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@,
12600166124Srafan	rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8,
12601166124Srafan	use=d470c-dg,
1260250276Speter
1260350276Speter# DASHER D230C color terminal in ANSI mode.
1260450276Speter# Like the D220 but with minor ANSI compatibility improvements.
1260550276Speter#
12606166124Srafand230c|d230|Data General DASHER D230C,
12607166124Srafan	blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J,
12608166124Srafan	rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m,
12609166124Srafan	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%;,
12610166124Srafan	sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m,
12611166124Srafan	smul=\E[4;50m, use=dgkeys+7b, use=d220,
1261250276Speter
12613166124Srafand230c-dg|d230-dg|Data General DASHER D230C in DG mode,
12614166124Srafan	use=d220-dg,
1261550276Speter
1261650276Speter# DASHER D400/D450 series terminals.
1261750276Speter# These add intelligent features like insert/delete to the D200 series.
1261850276Speter#
1261950276Speter# Initialization string 2 sets:
1262050276Speter#	^^FQ2		- default cursor (solid rectangle)
1262150276Speter#	^^FW		- character protection disabled
1262250276Speter#	^^FJ		- normal (80 column) mode
1262350276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1262450276Speter#	^^FX004?	- margins at columns 0 and 79
1262550276Speter#	^^F]		- horizontal scrolling disabled
1262650276Speter#	^^O		- primary character set
1262750276Speter#	^^FS00		- default character set (the keyboard native language)
1262850276Speter#	- (should reset scrolling regions, but that glitches the screen)
1262950276Speter# Reset string 1 sets:
1263050276Speter#	^^FA		- all terminal defaults except scroll rate
1263150276Speter# Reset string 2 sets:
1263250276Speter#	^^F]		- horizontal scrolling disabled
1263350276Speter#	^^FT0		- jump scrolling
1263450276Speter#
12635166124Srafand400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series,
12636166124Srafan	mc5i,
12637166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0,
12638166124Srafan	cnorm=\036FQ2, dch1=^^K, dl1=^^FI,
12639166124Srafan	enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177,
12640166124Srafan	ich1=^^J, il1=^^FH,
12641166124Srafan	is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00,
12642166124Srafan	ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O,
12643166124Srafan	rs1=^^FA, rs2=\036F]\036FT0,
12644166124Srafan	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%;,
12645166124Srafan	sgr0=\017\025\035\036E\036O, smacs=^^N,
12646166124Srafan	vpa=\020\177%p1%c, use=d210-dg,
1264750276Speter
1264850276Speter# DASHER D410/D460 series terminals in ANSI mode.
1264950276Speter# These add a large number of intelligent terminal features.
1265050276Speter#
1265150276Speter# Initialization string 1 sets:
1265250276Speter#	\E[<0;<1;<2;<4l
1265350276Speter#		<0	- scrolling enabled
1265450276Speter#		<1	- blink enabled
1265550276Speter#		<2	- horizontal scrolling enabled (for alignment)
1265650276Speter#		<4	- print characters regardless of attributes
1265750276Speter#	\E[5;0v		- normal (80 column) mode
1265850276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1265950276Speter#	\E[1;6;<2h
1266050276Speter#		1	- print all characters even if protected
1266150276Speter#		6	- character protection disabled
1266250276Speter#		<2	- horizontal scrolling disabled
1266350276Speter#	- (should reset scrolling regions, but that glitches the screen)
1266450276Speter#
1266550276Speter# Initialization string 2 sets:
1266650276Speter#	\E[3;2;2;1;1;1v
1266750276Speter#		3;2	- default cursor (solid rectangle)
1266850276Speter#		2;1	- 8 bit operations
1266950276Speter#		1;1	- international keyboard language
1267050276Speter#	\E(B		- default primary character set (U.S. ASCII)
1267150276Speter#	\E)4		- default secondary character set (international)
1267250276Speter#	^O		- primary character set
1267350276Speter#
1267450276Speter#	Reset string 1 sets:
1267550276Speter#	\Ec		- initial mode defaults (RIS)
1267650276Speter#	\E[<2h		- horizontal scrolling disabled
1267750276Speter#
1267850276Speter# Reset string 2 sets:
1267950276Speter#	\E[4;0;2;1;1;1v
1268050276Speter#		4;0	- jump scrolling
1268150276Speter#		2;1	- 8 bit operations
1268250276Speter#		1;1	- 8 bit (international) keyboard language
1268350276Speter#	\E(B		- default primary character set (U.S. ASCII)
1268450276Speter#	\E)4		- default secondary character set (international)
1268550276Speter#
12686166124Srafand410|d411|d460|d461|Data General DASHER D410/D460 series,
12687166124Srafan	mc5i,
12688166124Srafan	acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v,
12689166124Srafan	cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
12690166124Srafan	dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
12691166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h,
12692166124Srafan	is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i,
12693166124Srafan	ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h,
12694166124Srafan	rs2=\E[4;0;2;1;1;1v\E(B\E)4,
12695166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;,
12696166124Srafan	sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211,
1269750276Speter
1269850276Speter# Initialization string 2 sets:
1269950276Speter#	\E[3;2;2;0;1;0v
1270050276Speter#		3;2	- default cursor (solid rectangle)
1270150276Speter#		2;0	- 7 bit operations
1270250276Speter#		1;0	- 7 bit (native) keyboard language
1270350276Speter#	\E(0		- default character set (the keyboard native language)
1270450276Speter#	^O		- primary character set
1270550276Speter#
1270650276Speter# Reset string 2 sets:
1270750276Speter#	\E[4;0;2;0;1;0v
1270850276Speter#		4;0	- jump scrolling
1270950276Speter#		2;0	- 7 bit operations
1271050276Speter#		1;0	- 7 bit (native) keyboard language
1271150276Speter#	\E(0		- default character set (the keyboard native language)
1271250276Speter#
12713166124Srafand410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode,
12714166124Srafan	km@,
12715166124Srafan	enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O,
12716166124Srafan	rs2=\E[4;0;2;0;1;0v\E(0,
12717166124Srafan	sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;,
12718166124Srafan	sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410,
1271950276Speter
12720166124Srafand410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode,
12721166124Srafan	km,
12722166124Srafan	enacs@, rmacs=\036FS00,
12723166124Srafan	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%;,
12724166124Srafan	sgr0=\017\025\035\036E\036FS00, smacs=\036FS11,
12725166124Srafan	use=d400-dg,
1272650276Speter
1272750276Speter# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
1272850276Speter#
1272950276Speter# Initialization string 1 sets:
1273050276Speter#	\E[<0;<1;<2;<4l
1273150276Speter#		<0	- scrolling enabled
1273250276Speter#		<1	- blink enabled
1273350276Speter#		<2	- horizontal scrolling enabled (for alignment)
1273450276Speter#		<4	- print characters regardless of attributes
1273550276Speter#	\E[5;1v		- compressed (135 column) mode
1273650276Speter#	\E[1;1;126	- margins at columns 1 and 126
1273750276Speter#	\E[1;6;<2h
1273850276Speter#		1	- print all characters even if protected
1273950276Speter#		6	- character protection disabled
1274050276Speter#		<2	- horizontal scrolling disabled
1274150276Speter#	- (should reset scrolling regions, but that glitches the screen)
1274250276Speter#
1274350276Speter# Reset string 1 sets:
1274450276Speter#	\Ec		- initial mode defaults (RIS)
1274550276Speter#	\E[5;1v		- compressed (135 column) mode
1274650276Speter#	\E[1;1;126w	- margins at columns 1 and 126
1274750276Speter#	\E[<2h		- horizontal scrolling disabled
1274850276Speter#
12749166124Srafand410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode,
12750166124Srafan	cols#126,
12751166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12752166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410,
1275350276Speter
12754166124Srafand410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode,
12755166124Srafan	cols#126,
12756166124Srafan	is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h,
12757166124Srafan	rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b,
1275850276Speter
12759166124Srafand412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode,
12760166124Srafan	use=d410-dg,
1276150276Speter
1276250276Speter# These add intelligent features like scrolling regions.
12763166124Srafand412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode,
12764166124Srafan	civis=\036FQ0, clear=^^FE, cnorm=\036FQ5,
12765166124Srafan	cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI,
12766166124Srafan	home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH,
12767166124Srafan	is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00,
12768166124Srafan	ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I,
12769166124Srafan	rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10,
12770166124Srafan	vpa=\036FPFF%p1%2.2X,
12771166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12772166124Srafan	use=d216+,
12773166124Srafand412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode,
12774166124Srafan	cols#132,
12775166124Srafan	is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00,
12776166124Srafan	rs2=\036P@1\036FK\036FX0083,
12777166124Srafan	wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X,
12778166124Srafan	use=d412-unix,
12779166124Srafand412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines,
12780166124Srafan	lines#25,
12781166124Srafan	is3=\036Fz2,
12782166124Srafan	wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X,
12783166124Srafan	use=d462+,
12784166124Srafand412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line,
12785166124Srafan	eslok, hs,
12786166124Srafan	clear=\036FG\036PH, fsl=\036F}01\022,
12787166124Srafan	is3=\036Fz2\036F}00\036FB180000\036F}01, ll@,
12788166124Srafan	tsl=\036F}00\036FP%p1%2.2X18\036PG,
12789166124Srafan	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,
12790166124Srafan	use=d462+,
1279150276Speter
1279250276Speter#	Relative cursor motions are confined to the current window,
1279350276Speter#	which is not what the scrolling region specification expects.
1279450276Speter#	Thus, relative vertical cursor positioning must be deleted.
12795166124Srafand412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region,
12796166124Srafan	csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;,
12797166124Srafan	cud1@, cuu1@, ll@, use=d462+,
1279850276Speter
12799166124Srafand413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode,
12800166124Srafan	use=d412-unix,
12801166124Srafand413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode,
12802166124Srafan	use=d412-unix-w,
12803166124Srafand413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines,
12804166124Srafan	use=d412-unix-25,
12805166124Srafand413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line,
12806166124Srafan	use=d412-unix-s,
12807166124Srafand413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region,
12808166124Srafan	use=d412-unix-sr,
1280950276Speter
12810166124Srafand414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode,
12811166124Srafan	use=d413-unix,
12812166124Srafand414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode,
12813166124Srafan	use=d413-unix-w,
12814166124Srafand414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines,
12815166124Srafan	use=d413-unix-25,
12816166124Srafand414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line,
12817166124Srafan	use=d413-unix-s,
12818166124Srafand414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region,
12819166124Srafan	use=d413-unix-sr,
1282050276Speter
12821166124Srafand430c-dg|d430-dg|Data General D430C in DG mode,
12822166124Srafan	use=d413-dg, use=dg+fixed,
12823166124Srafand430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors,
12824166124Srafan	use=d413-dg, use=dg+ccc,
1282550276Speter
12826166124Srafand430c-unix|d430-unix|Data General D430C in DG-UNIX mode,
12827166124Srafan	use=d413-unix, use=dgunix+fixed,
12828166124Srafand430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode,
12829166124Srafan	use=d413-unix-w, use=dgunix+fixed,
12830166124Srafand430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines,
12831166124Srafan	use=d413-unix-25, use=dgunix+fixed,
12832166124Srafand430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line,
12833166124Srafan	use=d413-unix-s, use=dgunix+fixed,
12834166124Srafand430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region,
12835166124Srafan	use=d413-unix-sr, use=dgunix+fixed,
12836166124Srafand430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors,
12837166124Srafan	use=d413-unix, use=dgunix+ccc,
12838166124Srafand430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors,
12839166124Srafan	use=d413-unix-w, use=dgunix+ccc,
12840166124Srafand430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors,
12841166124Srafan	use=d413-unix-25, use=dgunix+ccc,
12842166124Srafand430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors,
12843166124Srafan	use=d413-unix-s, use=dgunix+ccc,
12844166124Srafand430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors,
12845166124Srafan	use=d413-unix-sr, use=dgunix+ccc,
1284650276Speter
1284750276Speter# DASHER D470C color terminal in ANSI mode.
1284850276Speter# Like the D460 but with 16 colors and without a compressed mode.
1284950276Speter#
1285050276Speter# Initialization string 1 sets:
1285150276Speter#	\E[<0;<1;<2;<4l
1285250276Speter#		<0	- scrolling enabled
1285350276Speter#		<1	- blink enabled
1285450276Speter#		<2	- horizontal scrolling enabled (for alignment)
1285550276Speter#		<4	- print characters regardless of attributes
1285650276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1285750276Speter#	\E[1;6;<2h
1285850276Speter#		1	- print all characters even if protected
1285950276Speter#		6	- character protection disabled
1286050276Speter#		<2	- horizontal scrolling disabled
1286150276Speter#	- (should reset scrolling regions, but that glitches the screen)
1286250276Speter#
12863166124Srafand470c|d470|Data General DASHER D470C,
12864166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12865166124Srafan	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%;,
12866166124Srafan	use=dg+color, use=d460,
1286750276Speter
12868166124Srafand470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode,
12869166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h,
12870166124Srafan	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%;,
12871166124Srafan	use=dg+color, use=d460-7b,
1287250276Speter
1287350276Speter# Initialization string 2 sets:
1287450276Speter#	^^FQ2		- default cursor (solid rectangle)
1287550276Speter#	^^FW		- character protection disabled
1287650276Speter#	^^F\^		- horizontal scrolling enabled (for alignment)
1287750276Speter#	^^FX004?	- margins at columns 0 and 79
1287850276Speter#	^^F]		- horizontal scrolling disabled
1287950276Speter#	^^O		- primary character set
1288050276Speter#	^^FS00		- default character set (the keyboard native language)
1288150276Speter#	- (should reset scrolling regions, but that glitches the screen)
1288250276Speter#
12883166124Srafand470c-dg|d470-dg|Data General DASHER D470C in DG mode,
12884166124Srafan	is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00,
12885166124Srafan	use=dgmode+color, use=d460-dg,
1288650276Speter
1288750276Speter# DASHER D555 terminal in ANSI mode.
1288850276Speter# Like a D411, but has an integrated phone.
12889166124Srafand555|Data General DASHER D555,
12890166124Srafan	use=d411,
12891166124Srafand555-7b|Data General DASHER D555 in 7-bit mode,
12892166124Srafan	use=d411-7b,
12893166124Srafand555-w|Data General DASHER D555 in wide mode,
12894166124Srafan	use=d411-w,
12895166124Srafand555-7b-w|Data General DASHER D555 in wide 7-bit mode,
12896166124Srafan	use=d411-7b-w,
12897166124Srafand555-dg|Data General DASHER D555 series in DG mode,
12898166124Srafan	use=d411-dg,
1289950276Speter
1290050276Speter# DASHER D577 terminal in ANSI mode.
1290150276Speter# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
12902166124Srafand577|Data General DASHER D577,
12903166124Srafan	use=d411,
12904166124Srafand577-7b|Data General DASHER D577 in 7-bit mode,
12905166124Srafan	use=d411-7b,
12906166124Srafand577-w|Data General DASHER D577 in wide mode,
12907166124Srafan	use=d411-w,
12908166124Srafand577-7b-w|Data General DASHER D577 in wide 7-bit mode,
12909166124Srafan	use=d411-7b-w,
1291050276Speter
12911166124Srafand577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode,
12912166124Srafan	use=d411-dg,
1291350276Speter
1291450276Speter# DASHER D578 terminal.
1291550276Speter# Like a D577, but without compressed mode; like a D470C in this respect.
1291650276Speter#
1291750276Speter# Initialization string 1 sets:
1291850276Speter#	\E[<0;<1;<2;<4l
1291950276Speter#		<0	- scrolling enabled
1292050276Speter#		<1	- blink enabled
1292150276Speter#		<2	- horizontal scrolling enabled (for alignment)
1292250276Speter#		<4	- print characters regardless of attributes
1292350276Speter#	\E[1;1;80w	- margins at columns 1 and 80
1292450276Speter#	\E[1;6;<2h
1292550276Speter#		1	- print all characters even if protected
1292650276Speter#		6	- character protection disabled
1292750276Speter#		<2	- horizontal scrolling disabled
1292850276Speter#	- (should reset scrolling regions, but that glitches the screen)
1292950276Speter#
12930166124Srafand578|Data General DASHER D578,
12931166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577,
12932166124Srafand578-7b|Data General DASHER D578 in 7-bit mode,
12933166124Srafan	is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b,
1293450276Speter
1293550276Speter#### Datamedia (dm)
1293650276Speter#
12937166124Srafan# Datamedia was headquartered in Nashua, New Hampshire until it went
1293862449Speter# out of business in 1993, but the ID plates on the terminals referred
1293962449Speter# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
1294062449Speter# manufacturer which threw out all information about the terminals.
1294150276Speter#
1294250276Speter
12943166124Srafancs10|colorscan|Datamedia Color Scan 10,
12944166124Srafan	msgr,
12945166124Srafan	cols#80, lines#24,
12946166124Srafan	bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
12947166124Srafan	cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K,
12948166124Srafan	ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
12949166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m,
12950166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
12951166124Srafancs10-w|Datamedia Color Scan 10 with 132 columns,
12952166124Srafan	cols#132,
12953166124Srafan	cup=\E[%i%p1%02d;%p2%03dH, use=cs10,
1295450276Speter
1295550276Speter# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
12956166124Srafandm1520|dm1521|datamedia 1520,
12957166124Srafan	OTbs, am, xenl,
12958166124Srafan	cols#80, it#8, lines#24,
12959166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
12960166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
12961166124Srafan	home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
12962166124Srafan	khome=^Y,
12963166124Srafan# dm2500: this terminal has both <ich> and <smir>. Applications using
1296450276Speter# termcap/terminfo directly (rather than through ncurses) might be confused.
12965166124Srafandm2500|datamedia2500|datamedia 2500,
12966166124Srafan	OTbs, OTnc,
12967166124Srafan	cols#80, lines#24,
12968166124Srafan	bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\,
12969166124Srafan	cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z,
12970166124Srafan	dch1=\020\010\030\035$<10*>,
12971166124Srafan	dl1=\020\032\030\035$<10*>, el=^W, home=^B,
12972166124Srafan	ich1=\020\034\030\035$<10*>,
12973166124Srafan	il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377,
12974166124Srafan	rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^],
12975166124Srafan	smdc=^P, smir=^P, smso=^N,
1297650276Speter# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
1297750276Speter# also, has a meta-key.
1297850276Speter# From: <goldberger@su-csli.arpa>
1297950276Speter# (dmchat: ":MT:" changed to ":km:" -- esr)
12980166124Srafandmchat|dmchat version of datamedia 2500,
12981166124Srafan	km,
12982166124Srafan	dl1=\020\032\030\035$<2/>,
12983166124Srafan	il1=\020\n\030\035\030\035$<1*/>, use=dm2500,
1298450276Speter# (dm3025: ":MT:" changed to ":km:" -- esr)
12985166124Srafandm3025|datamedia 3025a,
12986166124Srafan	OTbs, km,
12987166124Srafan	cols#80, it#8, lines#24,
12988166124Srafan	bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
12989166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
12990166124Srafan	dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK,
12991166124Srafan	home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>,
12992166124Srafan	is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP,
12993166124Srafan	smir=\EP, smso=\EO1,
12994166124Srafandm3045|datamedia 3045a,
12995166124Srafan	OTbs, am, eo, km@, ul, xenl,
12996166124Srafan	dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA,
12997166124Srafan	kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r,
12998166124Srafan	kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r,
12999166124Srafan	khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@,
13000166124Srafan	use=dm3025,
1300150276Speter# Datamedia DT80 soft switches:
1300250276Speter# 1	0=Jump  1=Smooth
1300350276Speter# 	Autorepeat 	0=off  1=on
1300450276Speter# 	Screen		0=Dark 1=light
1300550276Speter# 	Cursor		0=u/l  1=block
13006166124Srafan#
1300750276Speter# 2	Margin Bell	0=off  1=on
1300850276Speter# 	Keyclick	0=off  1=on
1300950276Speter# 	Ansi/VT52	0=VT52 1=Ansi
1301050276Speter# 	Xon/Xoff	0=Off  1=On
13011166124Srafan#
1301250276Speter# 3	Shift3		0=Hash 1=UK Pound
1301350276Speter# 	Wrap		0=Off  1=On
1301450276Speter# 	Newline		0=Off  1=On
1301550276Speter# 	Interlace	0=Off  1=On
13016166124Srafan#
1301750276Speter# 4	Parity		0=Odd  1=Even
1301850276Speter# 	Parity		0=Off  1=On
1301950276Speter# 	Bits/Char	0=7    1=8
1302050276Speter# 	Power		0=60Hz 1=50Hz
13021166124Srafan#
1302250276Speter# 5	Line Interface  0=EIA  1=Loop
1302350276Speter# 	Aux Interface   0=EIA  1=Loop
13024166124Srafan# 	Local Copy    	0=Off  1=On
1302550276Speter# 	Spare
13026166124Srafan#
1302750276Speter# 6	Aux Parity	0=Odd  1=Even
1302850276Speter# 	Aux Parity	0=Off  1=On
1302950276Speter# 	Aux Bits/Char   0=7    1=8
1303050276Speter# 	CRT Saver	0=Off  1=On
1303150276Speter# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
13032166124Srafandm80|dmdt80|dt80|datamedia dt80/1,
13033166124Srafan	clear=\E[2J\E[H, cud1=^J, cuf1=\E[C,
13034166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
13035166124Srafan	home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM,
13036166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
13037166124Srafan	use=vt100,
1303850276Speter# except in 132 column mode, where it needs a little padding.
1303950276Speter# This is still less padding than the vt100, and you can always turn on
1304050276Speter# the ^S/^Q handshaking, so you can use vt100 flavors for things like
1304150276Speter# reverse video.
13042166124Srafandm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode,
13043166124Srafan	cols#132,
13044166124Srafan	clear=\E[H\E[2J$<50/>, cud1=^J,
13045166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>,
13046166124Srafan	ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80,
1304762449Speter# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
13048166124Srafandt80-sas|Datamedia DT803/DTX for SAS usage,
13049166124Srafan	am, bw,
13050166124Srafan	cols#80, lines#24,
13051166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
13052166124Srafan	bel=^G, clear=^L, cr=^M,
13053166124Srafan	csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2,
13054166124Srafan	cub1=^H, cud1=\EB, cuf1=^\,
13055166124Srafan	cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K,
13056166124Srafan	el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB,
13057166124Srafan	is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J,
13058166124Srafan	kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N,
13059166124Srafan	rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF,
13060166124Srafan	smso=\E$2\004, tbc=\E'0,
1306150276Speter
1306250276Speter# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
1306350276Speter# These aren't end-all Excel termcaps; but do insert/delete char/line
1306450276Speter# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
1306550276Speter# The naming convention has been bent somewhat, with the use of E? (where
1306650276Speter# E is for 'Excel') as # a name.  This was done to distinguish the entries
1306750276Speter# from the other Datamedias in use here, and yet to associate a model of
1306850276Speter# the Excel terminals with the regular datamedia terminals that share
1306950276Speter# major characteristics.
13070166124Srafanexcel62|excel64|datamedia Excel 62,
13071166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
13072166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
13073166124Srafan	use=dt80,
13074166124Srafanexcel62-w|excel64-w|datamedia Excel 62 in 132 char mode,
13075166124Srafan	dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv,
13076166124Srafan	kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h,
13077166124Srafan	use=dt80w,
13078166124Srafanexcel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode,
13079166124Srafan	dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J,
13080166124Srafan	kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l,
13081166124Srafan	smir=\E[4h, use=dt80,
1308250276Speter
1308350276Speter#### Falco
1308450276Speter#
1308550276Speter#	Falco Data Products
1308650276Speter#	440 Potrero Avenue
1308750276Speter#	Sunnyvale, CA 940864-196
1308850276Speter#	Vox: (800)-325-2648
1308950276Speter#	Fax: (408)-745-7860
1309050276Speter#	Net: techsup@charm.sys.falco.com
1309150276Speter#
1309250276Speter# Current Falco models as of 1995 are generally ANSI-compatible and support
1309350276Speter# emulations of DEC VT-series, Wyse, and Televideo types.
1309450276Speter#
1309550276Speter
1309650276Speter# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
1309750276Speter# This terminal was released around 1983 and was discontinued long ago.
1309850276Speter# The standout and underline highlights are the same.
13099166124Srafanfalco|ts1|ts-1|falco ts-1,
13100166124Srafan	OTbs, am,
13101166124Srafan	cols#80, it#8, lines#24,
13102166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
13103166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
13104166124Srafan	dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE,
13105166124Srafan	ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
13106166124Srafan	kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0,
13107166124Srafan	smir=\Eq, smso=\Eg1, smul=\Eg1,
13108166124Srafanfalco-p|ts1p|ts-1p|falco ts-1 with paging option,
13109166124Srafan	OTbs, am, da, db, mir, msgr, ul,
13110166124Srafan	cols#80, it#8, lines#24,
13111166124Srafan	bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B,
13112166124Srafan	cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A,
13113166124Srafan	dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I,
13114166124Srafan	il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B,
13115166124Srafan	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er,
13116166124Srafan	rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq,
13117166124Srafan	smso=\Eg4, smul=\Eg1,
1311850276Speter# (ts100: I added <rmam>/<smam> based on the init string -- esr)
13119166124Srafants100|ts100-sp|falco ts100-sp,
13120166124Srafan	am, mir, msgr, xenl, xon,
13121166124Srafan	cols#80, it#8, lines#24, vt#3,
13122166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
13123166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
13124166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13125166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13126166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
13127166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
13128166124Srafan	cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>,
13129166124Srafan	el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H,
13130166124Srafan	ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea,
13131166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
13132166124Srafan	rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
13133166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
13134166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13135166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
13136166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
13137166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
13138166124Srafan	use=vt100+fnkeys,
13139166124Srafants100-ctxt|falco ts-100 saving context,
13140166124Srafan	rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100,
1314150276Speter
1314250276Speter#### Florida Computer Graphics
1314350276Speter#
1314450276Speter
1314550276Speter# Florida Computer Graphics Beacon System, using terminal emulator program
1314650276Speter# "host.com", as provided by FCG.  This description is for an early release
1314750276Speter# of the "host" program.  Known bug: <ed> clears the whole screen, so it's
1314850276Speter# commented out.
1314950276Speter
1315050276Speter# From: David Bryant <cbosg!djb> 1/7/83
13151166124Srafanbeacon|FCG Beacon System,
13152166124Srafan	am, da, db,
13153166124Srafan	cols#80, lines#32,
13154166124Srafan	bel=\ESTART\r\E37\r\EEND\r$<1>,
13155166124Srafan	blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M,
13156166124Srafan	cub1=^H, cud1=^J, cuf1=\EV,
13157166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU,
13158166124Srafan	dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE,
13159166124Srafan	ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=,
13160166124Srafan	rmso=\ESTART\r\E70\,0\r\EEND\r$<20>,
13161166124Srafan	rmul=\ESTART\r\E60\,0\r\EEND\r,
13162166124Srafan	sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>,
13163166124Srafan	smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>,
13164166124Srafan	smso=\ESTART\r\E70\,6\r\EEND\r$<20>,
13165166124Srafan	smul=\ESTART\r\E60\,1\r\EEND\r,
1316650276Speter
1316750276Speter#### Fluke
1316850276Speter#
1316950276Speter
13170166124Srafan# The f1720a differences from ANSI: no auto margin, destructive
1317150276Speter# tabs, # of lines, funny highlighting and underlining
13172166124Srafanf1720|f1720a|fluke 1720A,
13173166124Srafan	xt,
13174166124Srafan	cols#80, lines#16, xmc#1,
13175166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
13176166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J,
13177166124Srafan	el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^],
13178166124Srafan	kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
13179166124Srafan	smso=\E[7m, smul=\E[4m,
1318050276Speter
1318150276Speter#### Liberty Electronics (Freedom)
1318250276Speter#
1318350276Speter#	Liberty Electronics
1318450276Speter#	48089 Fremont Blvd
1318550276Speter#	Fremont CA 94538
1318650276Speter#	Vox: (510)-623-6000
1318750276Speter#	Fax: (510)-623-7021
1318850276Speter
1318950276Speter# From: <faletti@berkeley.edu>
1319050276Speter# (f100: added empty <acsc> to suppress a tic warning;
1319150276Speter# made this relative to adm+sgr -- note that <invis> isn't
1319250276Speter# known to work for f100 but does on the f110. --esr)
13193166124Srafanf100|freedom|freedom100|freedom model 100,
13194166124Srafan	OTbs, am, bw, hs, mir, msgr, xon,
13195166124Srafan	cols#80, lines#24,
13196166124Srafan	acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J,
13197166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13198166124Srafan	dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET,
13199166124Srafan	flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c,
13200166124Srafan	ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>,
13201166124Srafan	is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V,
13202166124Srafan	kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r,
13203166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13204166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er,
13205166124Srafan	smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef,
13206166124Srafan	vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13207166124Srafanf100-rv|freedom-rv|freedom 100 in reverse video,
13208166124Srafan	flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100,
1320950276Speter# The f110 and f200 have problems with vi(1).  They use the ^V
1321050276Speter# code for the down cursor key. When kcud1 is defined in terminfo
1321150276Speter# as ^V, the Control Character Quoting capability (^V in insert mode)
1321250276Speter# is lost! It cannot be remapped in vi because it is necessary to enter
1321350276Speter# a ^V to to quote the ^V that is being remapped!!!
13214166124Srafan#
1321550276Speter# f110/f200 users will have to decide whether
1321650276Speter# to lose the down cursor key or the quoting capability. We will opt
1321750276Speter# initially for leaving the quoting capability out, since use of VI
1321850276Speter# is not generally applicable to most interactive applications
1321950276Speter# (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
13220166124Srafanf110|freedom110|Liberty Freedom 110,
13221166124Srafan	bw@, eslok,
13222166124Srafan	it#8, wsl#80,
13223166124Srafan	blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V,
13224166124Srafan	dim=\EG@, dl1=\ER, dsl=\Ef\r, flash=\Eb$<200/>\Ed, il1=\EE,
13225166124Srafan	ip@, is2@, kclr=^^, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET,
13226166124Srafan	kf0=^AI\r, kf10@, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13227166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er\EO, smacs=\E$, smir=\EO\Eq,
13228166124Srafan	smso=\EG<, tsl=\Ef, use=f100,
13229166124Srafanf110-14|Liberty Freedom 110 14inch,
13230166124Srafan	dch1@, use=f110,
13231166124Srafanf110-w|Liberty Freedom 110 - 132 cols,
13232166124Srafan	cols#132, use=f110,
13233166124Srafanf110-14w|Liberty Freedom 110 14in/132 cols,
13234166124Srafan	cols#132,
13235166124Srafan	dch1@, use=f110,
1323650276Speter# (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
13237166124Srafanf200|freedom200|Liberty Freedom 200,
13238166124Srafan	OTbs, am, eslok, hs, mir, msgr, xon,
13239166124Srafan	cols#80, it#8, lines#24, wsl#80,
13240166124Srafan	acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0,
13241166124Srafan	clear=^Z, cnorm=\E.1, cr=^M,
13242166124Srafan	csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V,
13243166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
13244166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET,
13245166124Srafan	flash=\Eo$<200/>\En, fsl=^M, home=^^,
13246166124Srafan	hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H,
13247166124Srafan	kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW,
13248166124Srafan	kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
13249166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
13250166124Srafan	kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`,
13251166124Srafan	ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<,
13252166124Srafan	tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr,
13253166124Srafanf200-w|Liberty Freedom 200 - 132 cols,
13254166124Srafan	cols#132, use=f200,
1325550276Speter# The f200 has the ability to reprogram the down cursor key. The key is
1325650276Speter# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
1325750276Speter# so powering the terminal off and on will not cause the change to be lost.
13258166124Srafanf200vi|Liberty Freedom 200 for vi,
13259166124Srafan	flash=\Eb$<200/>\Ed, kcud1=^J, use=f200,
13260166124Srafanf200vi-w|Liberty Freedom 200 - 132 cols for vi,
13261166124Srafan	cols#132, use=f200vi,
1326250276Speter
1326350276Speter#### GraphOn (go)
1326450276Speter#
1326550276Speter#	Graphon Corporation
1326650276Speter#	544 Division Street
1326750276Speter#	Campbell, CA 95008
1326850276Speter#	Vox: (408)-370-4080
1326950276Speter#	Fax: (408)-370-5047
1327050276Speter#	Net: troy@graphon.com (Troy Morrison)
1327150276Speter#
1327250276Speter#
1327350276Speter# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
1327450276Speter# including one odd hybrid that starts out life on power-up as a character
1327550276Speter# terminal, than can be switched to X graphics mode (driven over the serial
1327650276Speter# line) by an escape sequence.  No info on this beast yet.
1327750276Speter# (go140: I added <rmam>/<smam> based on the init string -- esr)
13278166124Srafango140|graphon go-140,
13279166124Srafan	OTbs,
13280166124Srafan	cols#80, it#8, lines#24,
13281166124Srafan	clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C,
13282166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13283166124Srafan	ed=\E[J$<10/>, el=\E[K, ht=^I,
13284166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L,
13285166124Srafan	is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13286166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
13287166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
13288166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m,
13289166124Srafan	rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h,
13290166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
13291166124Srafango140w|graphon go-140 in 132 column mode,
13292166124Srafan	am,
13293166124Srafan	cols#132,
13294166124Srafan	is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q,
13295166124Srafan	use=go140,
1329650276Speter# Hacked up vt200 termcap to handle GO-225/VT220
1329750276Speter# From: <edm@nwnexus.WA.COM>
1329850276Speter# (go225: I added <rmam>/<smam> based on the init string -- esr)
13299166124Srafango225|go-225|Graphon 225,
13300166124Srafan	OTbs, am, mir, xenl,
13301166124Srafan	cols#80, it#8, lines#25, vt#3,
13302166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
13303166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
13304166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
13305166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED,
13306166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H,
13307166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
13308166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m,
13309166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l,
13310166124Srafan	rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>,
13311166124Srafan	rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w,
13312166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r,
13313166124Srafan	smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1331450276Speter
1331550276Speter#### Harris (Beehive)
1331650276Speter#
1331750276Speter# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
1331850276Speter# Their terminal group is ancient history now (1995) though the parent
1331950276Speter# company is still in business.
1332050276Speter#
1332150276Speter
1332250276Speter# Beehive documentation is undated and marked Preliminary and has no figures
1332350276Speter# so we must have early Superbee2 (Model 600, according to phone conversation
1332450276Speter# with mfr.). It has proved reliable except for some missing padding
1332550276Speter# (notably after \EK and <nl> at bottom of screen).
13326166124Srafan#
13327166124Srafan# The key idea is that AEP mode is poison for <cup> & that US's in
13328166124Srafan# the local memory should be avoided like the plague. That means
13329166124Srafan# that the 2048 character local buffer is used as 25 lines of 80
13330166124Srafan# characters, period. No scrolling local memory, folks. It also
1333150276Speter# appears that we cannot use naked INS LINE feature since it uses
13332166124Srafan# US. The sbi fakes <il1> with an 80-space insert that may be too
13333166124Srafan# slow at low speeds; also spaces get converted to \040 which is
1333450276Speter# too long for some programs (not vi).  DEL LINE is ok but slow.
13335166124Srafan#
13336166124Srafan# The <nl> string is designed for last line of screen ONLY; cup to
1333750276Speter# 25th line corrects the motion inherent in scrolling to Page 1.
13338166124Srafan#
1333950276Speter# There is one understood bug. It is that the screen appears to
13340166124Srafan# pop to a new (blank) page after a <nel>, or leave a half-line
13341166124Srafan# ellipsis to a quad that is the extra 48 memory locations. The
13342166124Srafan# data received is dumped into memory but not displayed.  Not to
13343166124Srafan# worry if <cup> is being used; the lines not displayed will be,
13344166124Srafan# whenever the cursor is moved up there. Since <cup> is addressed
13345166124Srafan# relative to MEMORY of window, nothing is lost; but beware of
1334650276Speter# relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
1334750276Speter# therefore, is setenv MORE -c .
13348166124Srafan#
1334950276Speter# WARNING: Not all features tested.
13350166124Srafan#
13351166124Srafan# Timings are assembled from 3 sources. Some timings may reflect
1335250276Speter# SB2/Model 300 that were used if more conservative.
1335350276Speter# Tested on a Model 600 at 1200 and 9600 bd.
13354166124Srafan#
13355166124Srafan# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
13356166124Srafan# placed on the keyboard and useless because of AEP, is made
1335750276Speter# into a backspace key. In use ESC must be pressed twice (to send)
13358166124Srafan# and sending ^C must be prefixed by ESC to avoid that weird
1335950276Speter# transmit mode associated with ENTER key.
13360166124Srafan#
13361166124Srafan# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
13362166124Srafan# the screen, then it has dropped into ENTER mode; hit
1336350276Speter# RESET--ONLINE--!tset.
13364166124Srafan#
13365166124Srafan# As delivered this machine has a FATAL feature that will throw
13366166124Srafan# it into that strange transmit state (SPOW) if the space bar is
13367166124Srafan# hit after a CR is received, but before receiving a LF (or a
1336850276Speter# few others).
13369166124Srafan#
13370166124Srafan# The circuits MUST be modified to eliminate the SPOW latch.
13371166124Srafan# This is done by strapping on chip A46 of the I/O board; cut
13372166124Srafan# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
1337350276Speter# chip. This mod has been checked out on a Mod 600 of Superbee II.
13374166124Srafan# With this modification absurdly high timings on cr are
1337550276Speter# unnecessary.
13376166124Srafan#
13377166124Srafan# NOTE WELL that the rear panel switch should be set to CR/LF,
1337850276Speter# not AEP!
1337950276Speter#
13380166124Srafansb1|beehive superbee,
13381166124Srafan	OTbs, am, bw, da, db, mir, ul, xsb,
13382166124Srafan	cols#80, lines#25, xmc#1,
13383166124Srafan	bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r,
13384166124Srafan	cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d,
13385166124Srafan	cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>,
13386166124Srafan	el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1,
13387166124Srafan	il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>,
13388166124Srafan	ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED,
13389166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK,
13390166124Srafan	kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu,
13391166124Srafan	kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO,
13392166124Srafan	krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER,
13393166124Srafan	rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO,
13394166124Srafan	smso=\E_1, smul=\E_0, tbc=\E3,
13395166124Srafansbi|superbee|beehive superbee at Indiana U.,
13396166124Srafan	xsb,
13397166124Srafan	cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA,
13398166124Srafan	use=sb1,
1339950276Speter# Alternate (older) description of Superbee - f1=escape, f2=^C.
1340050276Speter# Note: there are at least 3 kinds of superbees in the world.  The sb1
1340150276Speter# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
1340250276Speter# The sb3 puts garbage on the bottom of the screen when you scroll with
1340350276Speter# the switch in the back set to CRLF instead of AEP.  This description
1340450276Speter# is tested on the sb2 but should work on all with either switch setting.
1340550276Speter# The f1/f2 business is for the sb1 and the <xsb> can be taken out for
1340650276Speter# the other two if you want to try to hit that tiny escape key.
1340750276Speter# This description is tricky: being able to use cup depends on there being
1340850276Speter# 2048 bytes of memory and the hairy <nl> string.
13409166124Srafansuperbee-xsb|beehive super bee,
13410166124Srafan	am, da, db, xsb,
13411166124Srafan	cols#80, it#8, lines#25,
13412166124Srafan	clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J,
13413166124Srafan	cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>,
13414166124Srafan	dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>,
13415166124Srafan	home=\EH, ht=^I, hts=\E1,
13416166124Srafan	ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ,
13417166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq,
13418166124Srafan	kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew,
13419166124Srafan	khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3,
1342050276Speter# This loses on lines > 80 chars long, use at your own risk
13421166124Srafansuperbeeic|super bee with insert char,
13422166124Srafan	ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb,
13423166124Srafansb2|sb3|fixed superbee,
13424166124Srafan	xsb@, use=superbee,
1342550276Speter
1342662449Speter####  Beehive Medical Electronics
1342762449Speter#
1342862449Speter# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
1342962449Speter# Regarding your question though; Beehive terminals weren't made by Harris.
1343062449Speter# They were made by Beehive Medical Electronics in Utah. They went out of
1343162449Speter# business in the early '80s.
1343262449Speter#
1343362449Speter# (OK, then, I don't know why a couple of these say "harris beehive".)
1343462449Speter#
1343562449Speter
1343650276Speter# Reports are that most of these Beehive entries (except superbee) have not
1343750276Speter# been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
1343850276Speter
1343950276Speter# (bee: <ich1> was empty, which is obviously bogus -- esr)
13440166124Srafanbeehive|bee|harris beehive,
13441166124Srafan	OTbs, am, mir,
13442166124Srafan	cols#80, lines#24,
13443166124Srafan	cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC,
13444166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
13445166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>,
13446166124Srafan	kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13447166124Srafan	kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL,
13448166124Srafan	krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@,
13449166124Srafan	smir=\EQ, smso=\EdP, smul=\Ed`,
1345050276Speter# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
1345150276Speter# good grief - does this entry make :sg:/:ug: when it doesn't have to?
1345250276Speter# look at those spaces in <rmso>/<smso>.  Seems strange to me...
1345350276Speter# (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
1345450276Speter# really care, cook up one using ^F -- esr)
13455166124Srafanbeehive3|bh3m|beehiveIIIm|harris beehive 3m,
13456166124Srafan	OTbs, am,
13457166124Srafan	cols#80, it#8, lines#20,
13458166124Srafan	bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K,
13459166124Srafan	dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F,
13460166124Srafan	il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s,
13461166124Srafanbeehive4|bh4|beehive 4,
13462166124Srafan	am,
13463166124Srafan	cols#80, lines#24,
13464166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
13465166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J,
1346662449Speter# There was an early Australian kit-built computer called a "Microbee".
1346762449Speter# It's not clear whether this is for one of those or for a relative
1346862449Speter# of the Beehive.
13469166124Srafanmicrob|microbee|micro bee series,
13470166124Srafan	OTbs, am,
13471166124Srafan	cols#80, it#8, lines#24,
13472166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13473166124Srafan	cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13474166124Srafan	el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
13475166124Srafan	kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et,
13476166124Srafan	kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@,
13477166124Srafan	rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`,
1347850276Speter
1347950276Speter# 8675, 8686, and bee from Cyrus Rahman
1348050276Speter# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
13481166124Srafanha8675|harris 8675,
13482166124Srafan	is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F,
13483166124Srafan	kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei,
13484166124Srafan	kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H,
13485166124Srafan	kf8=\177, kf9=\Ee, use=bee,
1348650276Speter# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
1348750276Speter# in :is: -- esr)
13488166124Srafanha8686|harris 8686,
13489166124Srafan	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#,
13490166124Srafan	kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003,
13491166124Srafan	kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003,
13492166124Srafan	kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003,
13493166124Srafan	kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(,
13494166124Srafan	use=bee,
1349550276Speter
1349650276Speter#### Hazeltine
1349750276Speter#
1349850276Speter# Hazeltine appears to be out of the terminal business as of 1995.  These
1349950276Speter# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
1350050276Speter# Harris. They have a hazeltine.com domain (but no web page there ) and can
1350150276Speter# be reached at:
1350250276Speter#
1350350276Speter#	Hazeltine
1350450276Speter#	450 East Pulaski Road
1350550276Speter#	Greenlawn, New York 11740
1350650276Speter#
1350750276Speter# As late as 1993, manuals for the terminal product line could still be
1350850276Speter# purchased from:
1350950276Speter#
1351050276Speter#	TRW Customer Service Division
1351150276Speter#	15 Law Drive
1351250276Speter#	P.O. Box 2076
1351350276Speter#	Fairfield, NJ 07007-2078
1351450276Speter#
1351550276Speter# They're now (1998) a subsidiary of General Electric, operating under the
1351650276Speter# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
1351750276Speter# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
1351850276Speter#
1351950276Speter
1352050276Speter# Since <cuf1> is blank, when you want to erase something you
1352150276Speter# are out of luck.  You will have to do ^L's a lot to
1352250276Speter# redraw the screen.  h1000 is untested.  It doesn't work in
1352350276Speter# vi - this terminal is too dumb for even vi.  (The code is
1352450276Speter# there but it isn't debugged for this case.)
13525166124Srafanhz1000|hazeltine 1000,
13526166124Srafan	OTbs,
13527166124Srafan	cols#80, lines#12,
13528166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K,
13529166124Srafan	ind=^J,
1353050276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
13531166124Srafanhz1420|hazeltine 1420,
13532166124Srafan	OTbs, am,
13533166124Srafan	cols#80, lines#24,
13534166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P,
13535166124Srafan	cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S,
13536166124Srafan	ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y,
13537166124Srafan	smso=\E^_,
1353850276Speter# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
1353950276Speter# freakout with out-of-range args and tn3270.  No hz since it needs to
1354050276Speter# receive tildes.
13541166124Srafanhz1500|hazeltine 1500,
13542166124Srafan	OTbs, am, hz,
13543166124Srafan	cols#80, lines#24,
13544166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13545166124Srafan	cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c,
13546166124Srafan	cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R,
13547166124Srafan	il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P,
13548166124Srafan	kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_,
1354950276Speter# h1510 assumed to be in sane escape mode.  Else use h1500.
13550166124Srafan# (h1510: early versions of this entry apparently had "<rmso=\E^_>,
1355150276Speter# <smso=\E^Y>, but these caps were commented out in 8.3; also,
1355250276Speter# removed incorrect and overridden ":do=^J:" -- esr)
13553166124Srafanhz1510|hazeltine 1510,
13554166124Srafan	OTbs, am,
13555166124Srafan	cols#80, lines#24,
13556166124Srafan	bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P,
13557166124Srafan	cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X,
13558166124Srafan	el=\E^O, il1=\E^Z, ind=^J,
1355950276Speter# Hazeltine 1520
1356050276Speter# The following switch settings are assumed for normal operation:
1356150276Speter#	FULL		CR		U/L_CASE	ESCAPE
1356250276Speter#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
1356350276Speter# Other switches may be set for operator convenience or communication
1356450276Speter# requirements.
13565166124Srafanhz1520|Hazeltine 1520,
13566166124Srafan	OTbs, am, bw, msgr,
13567166124Srafan	cols#80, lines#24,
13568166124Srafan	bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J,
13569166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13570166124Srafan	ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H,
13571166124Srafan	kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L,
13572166124Srafan	kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z,
13573166124Srafan	rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_,
1357450276Speter# This version works with the escape switch off
1357550276Speter# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
13576166124Srafanhz1520-noesc|hazeltine 1520,
13577166124Srafan	am, hz,
13578166124Srafan	cols#80, lines#24,
13579166124Srafan	bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13580166124Srafan	cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O,
13581166124Srafan	home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_,
1358250276Speter# Note: the h1552 appears to be the first Hazeltine terminal which
1358350276Speter# is not braindamaged.  It has tildes and backprimes and everything!
1358450276Speter# Be sure the auto lf/cr switch is set to cr.
13585166124Srafanhz1552|hazeltine 1552,
13586166124Srafan	OTbs,
13587166124Srafan	cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue,
13588166124Srafan	lf2=red, lf3=green, use=vt52,
13589166124Srafanhz1552-rv|hazeltine 1552 reverse video,
13590166124Srafan	cud1=^J, rmso=\ET, smso=\ES, use=hz1552,
1359150276Speter# Note: h2000 won't work well because of a clash between upper case and ~'s.
13592166124Srafanhz2000|hazeltine 2000,
13593166124Srafan	OTbs, OTnc, am,
13594166124Srafan	cols#74, lines#27,
13595166124Srafan	bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J,
13596166124Srafan	cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R,
13597166124Srafan	il1=~\032$<6>, ind=^J, pad=\177,
1359850276Speter# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
1359950276Speter# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
1360050276Speter# to work ok. There is one problem though if one types a lot of garbage
1360150276Speter# characters very fast vi seems not able to keep up and hangs while trying
1360250276Speter# to insert. That's in insert mode while trying to insert in the middle of
1360350276Speter# a line. It might be because the Esprit doesn't have insert char and delete
13604166124Srafan# char as a built in function. Vi has to delete to end of line and then
1360550276Speter# redraw the rest of the line.
13606166124Srafanesprit|Hazeltine Esprit I,
13607166124Srafan	OTbs, am, bw,
13608166124Srafan	cols#80, lines#24,
13609166124Srafan	bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K,
13610166124Srafan	cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S,
13611166124Srafan	ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H,
13612166124Srafan	kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J,
13613166124Srafan	kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J,
13614166124Srafan	kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R,
13615166124Srafan	lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9,
13616166124Srafan	rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_,
13617166124Srafanesprit-am|hazeltine esprit auto-margin,
13618166124Srafan	am, use=esprit,
1361950276Speter# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
1362050276Speter# Vi it seems always wants to send a control J for "do" and it turned out
1362150276Speter# that the terminal would work somewhat if the auto LF/CR was turned off.
1362250276Speter# (hmod1: removed :dn=~^K: -- esr)
13623166124Srafanhmod1|Hazeltine Modular 1,
13624166124Srafan	OTbs, am, hz,
13625166124Srafan	cols#80, lines#24,
13626166124Srafan	bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P,
13627166124Srafan	cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z,
13628166124Srafan	ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R,
13629166124Srafan	rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_,
1363050276Speter#
1363150276Speter# Hazeltine Executive 80 Model 30 (1554?)
1363250276Speter#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
1363350276Speter# Like VT100, except for different "am" behavior.
13634166124Srafanhazel|exec80|h80|he80|Hazeltine Executive 80,
13635166124Srafan	OTbs, OTpt, am,
13636166124Srafan	cols#80, it#8, lines#24, vt#3,
13637166124Srafan	OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
13638166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
13639166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
13640166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
13641166124Srafan	ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I,
13642166124Srafan	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB,
13643166124Srafan	kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
13644166124Srafan	kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
13645166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
13646166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>,
13647166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
13648166124Srafan	sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>,
13649166124Srafan	smul=\E[4m$<2/>,
1365050276Speter
1365150276Speter#### IBM
1365250276Speter#
1365350276Speter
13654166124Srafanibm327x|line mode IBM 3270 style,
13655166124Srafan	gn,
13656166124Srafan	clear=^M^J, el=^M, home=^M,
1365750276Speter
13658166124Srafanibm3101|i3101|IBM 3101-10,
13659166124Srafan	OTbs, am, xon,
13660166124Srafan	cols#80, lines#24,
13661166124Srafan	bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13662166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
13663166124Srafan	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
13664166124Srafan	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
13665166124Srafanibm3151|IBM 3151 display,
13666166124Srafan	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
13667166124Srafan	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%;,
13668166124Srafan	sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
13669166124Srafan# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
1367062449Speter# removed kend, knp, kpp -TD
13671166124Srafanibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display,
13672166124Srafan	OTbs, am, mir, msgr,
13673166124Srafan	cols#80, it#8, lines#24,
13674166124Srafan	acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370,
13675166124Srafan	bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED,
13676166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
13677166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J,
13678166124Srafan	invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1,
13679166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ,
13680166124Srafan	kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r,
13681166124Srafan	kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r,
13682166124Srafan	kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r,
13683166124Srafan	kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r,
13684166124Srafan	kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r,
13685166124Srafan	kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r,
13686166124Srafan	kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN,
13687166124Srafan	ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A,
13688166124Srafan	rmso=\E4@, rmul=\E4@,
13689166124Srafan	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<@%;,
13690166124Srafan	sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B,
1369150276Speter
13692166124Srafanibm3161-C|IBM 3161-C NLS terminal using cartridge,
13693166124Srafan	rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161,
13694166124Srafanibm3162|IBM 3162 display,
13695166124Srafan	blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a,
13696166124Srafan	rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a,
13697166124Srafan	use=ibm3161-C,
1369850276Speter
1369962449Speter# This really should not use setab/setaf, but it is clear that the
1370062449Speter# original terminfo does not toggle red/blue colors as in setb/setf.
13701166124Srafanibm3164|i3164|IBM 3164,
13702166124Srafan	msgr,
13703166124Srafan	colors#8, pairs#64,
13704166124Srafan	op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A,
13705166124Srafan	setab=\E4  %p1%{64}%+%c,
13706166124Srafan	setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@,
13707166124Srafan	smcup=\E!9/N\E>B, use=ibm3161,
1370850276Speter
13709166124Srafanibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display,
13710166124Srafan	am, bw, msgr, xon,
13711166124Srafan	cols#80, it#8, lines#25,
13712166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13713166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13714166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13715166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13716166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
13717166124Srafan	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H,
13718166124Srafan	hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
13719166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z,
13720166124Srafan	kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
13721166124Srafan	kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q,
13722166124Srafan	kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q,
13723166124Srafan	kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q,
13724166124Srafan	kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q,
13725166124Srafan	kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q,
13726166124Srafan	kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q,
13727166124Srafan	kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q,
13728166124Srafan	kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q,
13729166124Srafan	kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q,
13730166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13731166124Srafan	kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q,
13732166124Srafan	kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q,
13733166124Srafan	krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l,
13734166124Srafan	rmso=\E[m, rmul=\E[m, rs2=\Ec,
13735166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m,
13736166124Srafan	sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m,
1373750276Speter
13738166124Srafanibmaed|IBM Experimental display,
13739166124Srafan	OTbs, am, eo, msgr,
13740166124Srafan	cols#80, it#8, lines#52,
13741166124Srafan	clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC,
13742166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
13743166124Srafan	dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP,
13744166124Srafan	il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
13745166124Srafan	rmso=\E0, sgr0=\E0, smso=\E0,
13746166124Srafanibm-apl|apl|IBM apl terminal simulator,
13747166124Srafan	lines#25, use=dm1520,
13748166124Srafan# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
1374950276Speter# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
13750166124Srafanibmmono|IBM workstation monochrome,
13751166124Srafan	eslok, hs,
13752166124Srafan	bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL,
13753166124Srafan	invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET,
13754166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY,
13755166124Srafan	khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG,
13756166124Srafan	lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew,
13757166124Srafan	sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo,
13758166124Srafan	use=ibm3101,
13759166124Srafanibmega|IBM Enhanced Color Display,
13760166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13761166124Srafan	nel=^M^J, use=ibmmono,
1376262449Speter# This color scheme is assumed in some recent IBM terminal descriptions
1376362449Speter# (green on black, emulated on a 16-color terminal).
13764166124Srafanibm+color|IBM color definitions,
13765166124Srafan	colors#8, ncv#3, pairs#64,
13766166124Srafan	op=\E[32m\E[40m,
13767166124Srafan	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%;,
13768166124Srafan	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%;,
13769166124Srafanibm+16color|IBM aixterm color definitions,
13770166124Srafan	colors#16, pairs#256,
13771166124Srafan	setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
13772166124Srafan	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
13773166124Srafan	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,
13774166124Srafan	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,
13775166124Srafanibm5154|IBM 5154 Color display,
13776166124Srafan	colors#8, ncv@, pairs#64,
13777166124Srafan	bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13778166124Srafan	use=ibm+color,
13779166124Srafanibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline,
13780166124Srafan	rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;,
13781166124Srafan	use=ibmmono,
13782166124Srafanibmvga-c|IBM VGA display color termcap,
13783166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13784166124Srafan	nel=^M^J, use=ibmega-c,
13785166124Srafanibmvga|IBM VGA display,
13786166124Srafan	cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J,
13787166124Srafan	nel=^M^J, use=ibmega,
1378850276Speter# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
13789166124Srafanrtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display,
13790166124Srafan	lines#32,
13791166124Srafan	dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono,
13792166124Srafanibm6155|IBM 6155 Black & White display,
13793166124Srafan	blink@, bold@, use=ibm5151,
1379450276Speter# Advanced Monochrome (6153) and Color (6154) Graphics Display:
13795166124Srafanibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display,
13796166124Srafan	lines#31,
13797166124Srafan	dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono,
13798166124Srafanibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display,
13799166124Srafan	lines#31,
13800166124Srafan	dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo,
13801166124Srafan	use=ibmega-c,
13802166124Srafanibm6154|IBM 6154 Color displays,
13803166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13804166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13805166124Srafan	sgr0=\E[0;10m, use=ibm5154,
13806166124Srafanibm6153|IBM 6153 Black & White display,
13807166124Srafan	blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m,
13808166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m,
13809166124Srafan	sgr0=\E[0;10m, use=ibm5151,
13810166124Srafanibm6153-90|IBM 6153 Black & White display,
13811166124Srafan	cols#90, lines#36,
13812166124Srafan	blink@, bold@, use=ibm5151,
13813166124Srafanibm6153-40|IBM 6153 Black & White display,
13814166124Srafan	cols#40, lines#12, use=ibm6153-90,
13815166124Srafanibm8512|ibm8513|IBM color VGA Terminal,
13816166124Srafan	am, mir, msgr,
13817166124Srafan	cols#80, it#8, lines#25,
13818166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m,
13819166124Srafan	clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C,
13820166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M,
13821166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL,
13822166124Srafan	il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A,
13823166124Srafan	kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q,
13824166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13825166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m,
13826166124Srafan	rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l,
13827166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m,
13828166124Srafan	rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m,
13829166124Srafan	smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb,
13830166124Srafan	smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13831166124Srafan	use=ibm8503,
13832166124Srafanhft-c|HFT with Color,
13833166124Srafan	colors#8, pairs#64,
13834166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0,
13835166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B,
13836166124Srafan	use=ibm5151, use=ibm+color,
13837166124Srafanhft-c-old|HFT with Color PC850,
13838166124Srafan	colors#8, pairs#64,
13839166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151,
13840166124Srafan	use=ibm+color,
13841166124Srafanhft-old|AIWS High Function Terminal,
13842166124Srafan	am, xon,
13843166124Srafan	cols#80, lines#25,
13844166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
13845166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13846166124Srafan	cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
13847166124Srafan	ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H,
13848166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
13849166124Srafan	kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q,
13850166124Srafan	kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q,
13851166124Srafan	kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q,
13852166124Srafan	ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m,
13853166124Srafan	sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color,
13854166124Srafanibm-system1|system1|ibm system/1 computer,
13855166124Srafan	am, xt,
13856166124Srafan	cols#80, lines#24,
13857166124Srafan	bel=^G, clear=^Z, cub1=^H, cuf1=^\,
13858166124Srafan	cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K,
13859166124Srafan	ind=^J,
1386062449Speter#       lft-pc850 : IBM Low Function Terminal Device
1386162449Speter#    lft "supports" underline, bold, and blink in the sense that the lft code
1386262449Speter#    sets all the right bits.  HOWEVER, depending upon the adapter, these
1386362449Speter#    attributes may or may not be supported by the device driver.
13864166124Srafanlft|lft-pc850|LFT-PC850|IBM LFT PC850 Device,
13865166124Srafan	am, bw, msgr, xon,
13866166124Srafan	cols#80, it#8, lines#25,
13867166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
13868166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
13869166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
13870166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
13871166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
13872166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K,
13873166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL,
13874166124Srafan	il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec,
13875166124Srafan	kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B,
13876166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q,
13877166124Srafan	kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q,
13878166124Srafan	kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q,
13879166124Srafan	kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q,
13880166124Srafan	kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q,
13881166124Srafan	kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q,
13882166124Srafan	kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q,
13883166124Srafan	kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q,
13884166124Srafan	kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q,
13885166124Srafan	kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q,
13886166124Srafan	kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q,
13887166124Srafan	kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q,
13888166124Srafan	kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT,
13889166124Srafan	rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec,
13890166124Srafan	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%;,
13891166124Srafan	sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
13892166124Srafan	tbc=\E[3g,
13893166124Srafanibm5081|hft|IBM Megapel Color display,
13894166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
13895166124Srafan	s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
13896166124Srafanibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
13897166124Srafan	eslok, hs,
13898166124Srafan	lines#33,
13899166124Srafan	dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo,
13900166124Srafan	use=ibmega-c,
13901166124Srafanibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display,
13902166124Srafan	use=hft-c,
13903166124Srafanibm8514|IBM 8514/a color VGA display,
13904166124Srafan	eslok, hs,
13905166124Srafan	dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft,
13906166124Srafanibm8514-c|IBM 8514 color display with standout and underline,
13907166124Srafan	eslok, hs,
13908166124Srafan	lines#41,
13909166124Srafan	cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J,
13910166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo,
13911166124Srafan	use=ibmega-c,
1391250276Speter
1391350276Speter#
13914166124Srafan# AIX entries.  IBM ships these with AIX 3.2.5.
1391562449Speter# -- added rc, sc based on manpage -TD
13916166124Srafan# Note that we could use ibm+16color, but that is not how IBM defines this one.
13917166124Srafanaixterm|IBM Aixterm Terminal Emulator,
13918166124Srafan	eslok, hs,
13919166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13920166124Srafan	fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7,
13921166124Srafan	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%;,
13922166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154,
13923166124Srafanaixterm-m|IBM AIXterm Monochrome Terminal Emulator,
13924166124Srafan	eslok, hs,
13925166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E,
13926166124Srafan	fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0,
13927166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13928166124Srafan	sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153,
13929166124Srafanaixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator,
13930166124Srafan	eslok, hs,
13931166124Srafan	bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@,
13932166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
13933166124Srafan	tsl=\E[?%p1%dT, use=ibm6153,
13934166124Srafanjaixterm|IBM Kanji Aixterm Terminal Eemulator,
13935166124Srafan	acsc@, use=aixterm,
13936166124Srafanjaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator,
13937166124Srafan	acsc@, use=aixterm-m,
1393850276Speter
13939166124Srafan# This flavor is adapted from xterm, in turn from aixterm documentation -TD
13940166124Srafanaixterm-16color|IBM Aixterm Terminal Emulator with 16 colors,
13941166124Srafan	use=ibm+16color, use=aixterm,
13942166124Srafan
1394350276Speter#### Infoton/General Terminal Corp.
1394450276Speter#
1394550276Speter
1394650276Speter# gt100 sounds like something DEC would come out with.  Let's hope they don't.
13947166124Srafani100|gt100|gt100a|General Terminal 100A (formerly Infoton 100),
13948166124Srafan	OTbs, am,
13949166124Srafan	cols#80, lines#24,
13950166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
13951166124Srafan	cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM,
13952166124Srafan	ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL,
13953166124Srafan	ind=^J, rmso=\Ea, smso=\Eb,
13954166124Srafani400|infoton 400,
13955166124Srafan	OTbs, am,
13956166124Srafan	cols#80, lines#25,
13957166124Srafan	bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
13958166124Srafan	cup=\E[%i%p1%3d;%p2%3dH, cuu1=\E[A,
13959166124Srafan	dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N,
13960166124Srafan	il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q,
1396150276Speter# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
13962166124Srafanaddrinfo,
13963166124Srafan	am,
13964166124Srafan	cols#80, lines#24,
13965166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y,
13966166124Srafan	cup=\037%p1%c%p2%c, cuu1=^\, ed=^K, home=^H, ind=^J, ll=^H^\,
1396750276Speter# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
13968166124Srafaninfoton,
13969166124Srafan	am,
13970166124Srafan	cols#80, lines#24,
13971166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\,
13972166124Srafan	ed=^K, ind=^J, ll=^H^\,
1397350276Speter
1397450276Speter# The ICL6402 was actually the Kokusai Display System 6402.
1397550276Speter# The 6404 was the KDS7372 (color version of the 6402).
13976166124Srafan#
1397750276Speter# ICL6404 control codes follow:
1397850276Speter#
1397950276Speter#code            function
1398050276Speter#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1398150276Speter#ctrl-A          set SOM position at cursor position
1398250276Speter#ctrl-G          Bell
1398350276Speter#ctrl-H          Backspace
1398450276Speter#ctrl-I          Horiz tab
1398550276Speter#ctrl-J          Linefeed
1398650276Speter#ctrl-K          Cursor up
1398750276Speter#ctrl-L          Cursor right
1398850276Speter#ctrl-M          Carriage return
1398950276Speter#ctrl-N          Disable xon/xoff to host
1399050276Speter#ctrl-O          Enable xon/xoff to host
1399150276Speter#ctrl-R          Enable bidirectional mode
1399250276Speter#ctrl-T          Disable bidirectional mode
1399350276Speter#ctrl-V          Cursor down
1399450276Speter#ctrl-Z          Clear unprotected data to insert char
1399550276Speter#ctrl-^          Cursor home
1399650276Speter#ctrl-_          Newline
1399750276Speter#
1399850276Speter#ESC             lead-in char for multiple character command
1399950276Speter#
1400050276Speter#ESC space R     execute power on sequence
1400150276Speter#ESC ! p1 p2     define scroll region:
1400250276Speter#                p1 = scroll top    line:  20h - 37h
1400350276Speter#                p1 = scroll bottom line:  20h - 37h
1400450276Speter#ESC "           unlock keyboard
1400550276Speter#ESC #           lock keyboard
1400650276Speter#ESC $           Semi-graphics mode on
1400750276Speter#ESC %           Semi-graphics mode off
1400850276Speter#ESC &           protect mode on
1400950276Speter#ESC '           protect mode off
1401050276Speter#ESC (           write protect mode off (full intensity)
1401150276Speter#ESC )           write protect mode on (half intensity)
1401250276Speter#
1401350276Speter#ESC *           clear screen
1401450276Speter#ESC +           clear unprotected data to insert char
1401550276Speter#ESC ,           clear unprotected data to half intensity spaces
1401650276Speter#ESC - p1 p2 p3 p4     address cursor to page, row, column:
1401750276Speter#                      p1 = page number  0 - 3
1401850276Speter#                      p2 = row          20h - 7fh
1401950276Speter#                      p3 = column (lo)  20h - 7fh
1402050276Speter#                      p4 = column (hi)  20h - 21h (only 132 col)
1402150276Speter#ESC . p1        set cursor style:
1402250276Speter#                p1 = 0  invisible cursor
1402350276Speter#                p1 = 1  block blinking cursor
1402450276Speter#                p1 = 2  block steady cursor
1402550276Speter#                p1 = 3  underline blinking cursor
1402650276Speter#                p1 = 4  underline steady cursor
1402750276Speter#ESC /           transmit cursor location (page, row, column)
1402850276Speter#ESC 0 p1 p2 p3 p4     program edit key:
1402950276Speter#                      p1 = edit key code: '@'-'S', '`'-'s'
1403050276Speter#                      p2 p3 p4 = program data (3 bytes)
1403150276Speter#
1403250276Speter#ESC 1           set tab
1403350276Speter#ESC 2           clear tab at cursor
1403450276Speter#ESC 3           clear all tabs
1403550276Speter#ESC 4           send unprotect line to cursor
1403650276Speter#ESC 5           send unprotect page to cursor
1403750276Speter#ESC 6           send line to cursor
1403850276Speter#ESC 7           send page to cursor
1403950276Speter#ESC 8 n         set scroll mode:
1404050276Speter#                n = 0   set jump scroll
1404150276Speter#                n = 1   set smooth scroll
1404250276Speter#ESC 9 n         control display:
1404350276Speter#                n = 0   display off
1404450276Speter#                n = 1   display on
1404550276Speter#ESC :           clear unprotected data to null
1404650276Speter#ESC ;           clear unprotected data to insert char
1404750276Speter#
1404850276Speter#ESC <           keyclick on
1404950276Speter#ESC = p1 p2     address cursor to row, column
1405050276Speter#                p1 = row          20h - 7fh
1405150276Speter#                p2 = column (lo)  20h - 7fh
1405250276Speter#                p3 = column (hi)  20h - 21h (only 132 col)
1405350276Speter#ESC >           keyclick off
1405450276Speter#ESC ?           transmit cursor location (row, column)
1405550276Speter#
1405650276Speter#ESC @           copy print mode on
1405750276Speter#ESC A           copy print mode off
1405850276Speter#ESC B           block mode on
1405950276Speter#ESC C           block mode off (conversation mode)
1406050276Speter#ESC D F         set full duplex
1406150276Speter#ESC D H         set half duplex
1406250276Speter#ESC E           line insert
1406350276Speter#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
1406450276Speter#                0 = black, 1 = red,     2 = green, 3 = yellow
1406550276Speter#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
1406650276Speter#ESC G n         set serial field attribute (n = 30h - 3Fh)
1406750276Speter#ESC H n         full graphics mode:
1406850276Speter#                n = 0  exit full graphics mode
1406950276Speter#                n = 1  enter full graphics mode
1407050276Speter#ESC I           back tab
1407150276Speter#ESC J           back page
1407250276Speter#ESC K           forward page
1407350276Speter#
1407450276Speter#ESC L           unformatted page print
1407550276Speter#ESC M L         move window left  (132 col mode only)
1407650276Speter#ESC M R         move window right (132 col mode only)
1407750276Speter#ESC N           set page edit (clear line edit)
1407850276Speter#ESC O           set line edit (clear page edit)
1407950276Speter#ESC P           formatted page print
1408050276Speter#ESC Q           character insert
1408150276Speter#ESC R           line delete
1408250276Speter#ESC S           send message unprotected only
1408350276Speter#ESC T           erase line to insert char
1408450276Speter#ESC U           set monitor mode   (see ESC X, ESC u)
1408550276Speter#
1408650276Speter#ESC V n         select video attribute mode:
1408750276Speter#                n = 0   serial field attribute mode
1408850276Speter#                n = 1   parallel character attribute mode
1408950276Speter#ESC V 2 n       define line attribute:
1409050276Speter#                n = 0   single width single height
1409150276Speter#                n = 1   single width double height
1409250276Speter#                n = 2   double width single height
1409350276Speter#                n = 3   double width double height
1409450276Speter#ESC V 3 n       select character font:
1409550276Speter#                n = 0   system font
1409650276Speter#                n = 1   user defined font
1409750276Speter#ESC V 4 n       select screen mode:
1409850276Speter#                n = 0   page screen mode
1409950276Speter#                n = 1   virtual screen mode
1410050276Speter#ESC V 5 n       control mouse mode:
1410150276Speter#                n = 0   disable mouse
1410250276Speter#                n = 1   enable sample mode
1410350276Speter#                n = 2   send mouse information
1410450276Speter#                n = 3   enable request mode
1410550276Speter#ESC W           character delete
1410650276Speter#ESC X           clear monitor mode (see ESC U, ESC u)
1410750276Speter#ESC Y           erase page to insert char
1410850276Speter#
1410950276Speter#ESC Z n         send user/status line:
1411050276Speter#                n = 0   send user line
1411150276Speter#                n = 1   send status line
1411250276Speter#                n = 2   send terminal ID
1411350276Speter#ESC [ p1 p2 p3  set character attribute (parallel char mode):
1411450276Speter#                p1: 0 = normal
1411550276Speter#                    1 = blank
1411650276Speter#                    2 = blink
1411750276Speter#                    3 = blink blank (= blank)
1411850276Speter#                    4 = reverse
1411950276Speter#                    5 = reverse blank
1412050276Speter#                    6 = reverse blink
1412150276Speter#                    7 = reverse blink blank (= reverse blank)
1412250276Speter#                    8 = underline
1412350276Speter#                    9 = underline blank
1412450276Speter#                    : = underline blink
1412550276Speter#                    ; = underline blink blank
1412650276Speter#                    < = reverse underline
1412750276Speter#                    = = reverse underline blank
1412850276Speter#                    > = reverse underline blink
1412950276Speter#                    ? = reverse underline blink blank
1413050276Speter#                p2, p3: f/grnd, b/grnd colour
1413150276Speter#                (see ESC F for colours)
1413250276Speter#                use ZZ for mono, eg.
1413350276Speter#                    ESC [ 0 Z Z for normal
1413450276Speter#                    ESC [ 4 Z Z for inverse etc.
1413550276Speter#
1413650276Speter#ESC \ n         set page size:
1413750276Speter#                n = 1   24 lines/page
1413850276Speter#                n = 2   48 lines/page
1413950276Speter#                n = 3   72 lines/page
1414050276Speter#                n = 4   96 lines/page
1414150276Speter#ESC ] n         set Wordstar mode:
1414250276Speter#                n = 0   normal (KDS7372) mode
1414350276Speter#                n = 1   Wordstar mode
1414450276Speter#
1414550276Speter#ESC b           set foreground colour screen
1414650276Speter#
1414750276Speter#ESC c n         enter self-test mode:
1414850276Speter#                n = 0   exit self test mode
1414950276Speter#                n = 1   ROM test
1415050276Speter#                n = 2   RAM test
1415150276Speter#                n = 3   NVRAM test
1415250276Speter#                n = 4   screen display test
1415350276Speter#                n = 5   main/printer port test
1415450276Speter#                n = 6   mouse port test
1415550276Speter#                n = 7   graphics board test
1415650276Speter#                n = 8   graphics memory test
1415750276Speter#                n = 9   display all 'E'
1415850276Speter#                n = :   display all 'H'
1415950276Speter#ESC d           set background colour screen
1416050276Speter#
1416150276Speter#ESC e n         program insert char (n = insert char)
1416250276Speter#ESC f text CR   load user status line with 'text'
1416350276Speter#
1416450276Speter#ESC g           display user status line on 25th line
1416550276Speter#ESC h           display system status line on 25th line
1416650276Speter#ESC i           tab
1416750276Speter#ESC j           reverse linefeed
1416850276Speter#ESC k n         duplex/local edit mode:
1416950276Speter#                n = 0   duplex edit mode
1417050276Speter#                n = 1   local edit mode
1417150276Speter#ESC l n         select virtual screen:
1417250276Speter#                n = 0   screen 1
1417350276Speter#                n = 1   screen 2
1417450276Speter#ESC m           save current config to NVRAM
1417550276Speter#ESC n p1        select display screen:
1417650276Speter#                p1 = 0  screen 1
1417750276Speter#                p1 = 1  screen 2
1417850276Speter#                p1 = 2  screen 3
1417950276Speter#                p1 = 3  screen 4
1418050276Speter#ESC o p1 p2     set characters/line and attribute:
1418150276Speter#                p1 = 0  80 chars/line
1418250276Speter#
1418350276Speter#ESC o p1 p2     set characters/line and attribute:
1418450276Speter#                p1 = 0  80 chars/line
1418550276Speter#                p1 = 1  132 chars/line
1418650276Speter#                p2 = 0  single width single height
1418750276Speter#                p2 = 1  single width double height
1418850276Speter#                p2 = 2  double width single height
1418950276Speter#                p2 = 3  double width double height
1419050276Speter#
1419150276Speter#ESC q           insert mode on
1419250276Speter#ESC r           edit mode on
1419350276Speter#ESC s           send message all
1419450276Speter#ESC t           erase line to null
1419550276Speter#ESC u           clear monitor mode (see ESC U, ESC X)
1419650276Speter#ESC v           autopage mode on
1419750276Speter#ESC w           autopage mode off
1419850276Speter#ESC x p1 p2 p3  define delimiter code...
1419950276Speter#ESC y           erase page to null
1420050276Speter#
1420150276Speter#ESC z 2 p1 p2 p3 p4   draw quadrangle:
1420250276Speter#                      p1 = starting row
1420350276Speter#                      p2 = starting column
1420450276Speter#                      p3 = end row
1420550276Speter#                      p4 = end column
1420650276Speter#
1420750276Speter#ESC { p1 p2 p3 p4     configure main port
1420850276Speter#                      (baud, stop bits, parity, word length)
1420950276Speter#
1421050276Speter#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
1421150276Speter#                        p1 = function key code:
1421250276Speter#                             '1' - ';'  normal f1- f11
1421350276Speter#                             '<' - 'F'  shifted f1 - f11
1421450276Speter#                        p2 = program mode:
1421550276Speter#                             1 = FDX
1421650276Speter#                             2 = LOC
1421750276Speter#                             3 = HDX
1421850276Speter#                        Ctrl-Y = terminator
1421950276Speter#                        (use Ctrl-P to escape ^P, ^Y )
1422050276Speter#
1422150276Speter#ESC } p1 p2 p3 p4     configure printer port
1422250276Speter#                      (baud, stop bits, parity, word length)
1422350276Speter#ESC ~           send system status
1422450276Speter#
1422550276Speter# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
1422650276Speter#
1422750276Speter# Entry is by esr going solely on above information and is UNTESTED.
1422850276Speter# This actually looks a lot like a Televideo 9xx.
1422950276Speter# This entry uses page 0 and is monochrome; I'm not brave enough to try
1423050276Speter# to make color work without a test terminal.  The <am> capability is a guess.
1423150276Speter# The initialization string sets conversation mode, blinking underline cursor,
1423250276Speter# full duplex, parallel attribute mode, display user status line, white
1423350276Speter# foreground, black background, normal highlight.
1423450276Speter#
14235166124Srafanicl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372,
14236166124Srafan	OTbs, am, hs,
14237166124Srafan	cols#80, lines#24,
14238166124Srafan	bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*,
14239166124Srafan	cnorm=\E.3, cr=^M,
14240166124Srafan	csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L,
14241166124Srafan	cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c,
14242166124Srafan	cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I,
14243166124Srafan	hts=\E1, il1=\EE, invis=\E[1ZZ,
14244166124Srafan	is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ,
14245166124Srafan	rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ,
14246166124Srafan	rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1,
14247166124Srafan	sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ,
14248166124Srafan	sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3,
14249166124Srafanicl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols,
14250166124Srafan	rs2=\Eo1, use=icl6404,
1425150276Speter
1425250276Speter#### Interactive Systems Corp
1425350276Speter#
1425450276Speter# ISC used to sell OEMed and customized hardware to support ISC UNIX.
1425550276Speter# ISC UNIX still exists in 1995, but ISC itself is no more; they got
1425650276Speter# bought out by Sun.
1425750276Speter#
1425850276Speter
1425950276Speter# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
1426050276Speter# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
1426150276Speter# ":le=^_:" later overridden -- esr)
14262166124Srafanintext|Interactive Systems Corporation modified owl 1200,
14263166124Srafan	OTbs, am,
14264166124Srafan	cols#80, it#8, lines#24, xmc#1,
14265166124Srafan	bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J,
14266166124Srafan	cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\,
14267166124Srafan	dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>,
14268166124Srafan	el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H,
14269166124Srafan	kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r,
14270166124Srafan	kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r,
14271166124Srafan	kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<,
14272166124Srafan	rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%,
14273166124Srafan	smso=^V$\,,
14274166124Srafanintext2|intextii|INTERACTIVE modified owl 1251,
14275166124Srafan	am, bw, ul,
14276166124Srafan	cols#80, lines#24, xmc#0,
14277166124Srafan	bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B,
14278166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
14279166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K,
14280166124Srafan	flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u,
14281166124Srafan	hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S,
14282166124Srafan	kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r,
14283166124Srafan	kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r,
14284166124Srafan	kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r,
14285166124Srafan	khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO,
14286166124Srafan	lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT,
14287166124Srafan	lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D,
14288166124Srafan	smul=\E[18 D,
1428950276Speter
1429050276Speter#### Kimtron (abm, kt)
1429150276Speter#
14292166124Srafan# Kimtron seems to be history, but as March 1998 these people are still
1429350276Speter# offering repair services for Kimtron equipment:
1429450276Speter#
1429550276Speter#    Com/Pair Monitor Service
1429650276Speter#    1105 N. Cliff Ave.
1429750276Speter#    Sioux Falls, South Dakota 57103
14298166124Srafan#
1429950276Speter#    WATS voice:  1-800/398-4946
1430050276Speter#    POTS   fax: +1 605/338-8709
1430150276Speter#    POTS voice: +1 605/338-9650
1430250276Speter#         Email: <compair@sd.cybernex.net>
1430350276Speter#  Internet/Web: <http://www.com-pair.com>
1430450276Speter#
1430550276Speter# Kimtron entries include (undocumented) codes for: enter dim mode,
1430650276Speter# enter bold mode, enter reverse mode, turn off all attributes.
1430750276Speter#
1430850276Speter
1430950276Speter# Kimtron ABM 85 added by Dual Systems
1431050276Speter# (abm85: removed duplicated ":kd=^J:" -- esr)
14311166124Srafanabm85|Kimtron ABM 85,
14312166124Srafan	OTbs, am, bw, msgr,
14313166124Srafan	cols#80, it#8, lines#24, xmc#1,
14314166124Srafan	cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L,
14315166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14316166124Srafan	dl1=\ER, ed=\Ey, el=\Et, ht=^I,
14317166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE,
14318166124Srafan	is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H,
14319166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek,
14320166124Srafan	rmul=\Em, smir=\EQ, smso=\Ej, smul=\El,
1432150276Speter# Kimtron ABM 85H added by Dual Systems.
1432250276Speter# Some notes about the abm85h entries:
1432350276Speter# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
1432450276Speter#    firmware revs prior to SP51
1432550276Speter# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
1432650276Speter#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
1432750276Speter#    in some places and NOT software settable i.e., <is2> can't fix it)
1432850276Speter# 3) In 85h mode, the arrow keys and special functions transmit when
1432950276Speter#    the terminal is in dup-edit, and work only locally in local-edit.
1433050276Speter#    Vi won't swallow `del char' for instance, but <smcup> turns on
1433150276Speter#    dup-edit anyway so that the arrow keys will work right. If the
1433250276Speter#    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
1433350276Speter#    <is2>.  Note that 920E mode does not have software commands to toggle
1433450276Speter#    between dup and local edit, so you get whatever was set last on the
1433550276Speter#    terminal.
1433650276Speter# 4) <flash> attribute is nice, but seems too slow to work correctly
1433750276Speter#    (\Eb<pad>\Ed)
1433850276Speter# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
1433950276Speter#    are selected, the <xmc@> entry should be removed.
1434050276Speter# 6) auto new-line should be on (selectable from setup mode only)
1434150276Speter#
1434250276Speter# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
14343166124Srafanabm85h|Kimtron ABM 85H native mode,
14344166124Srafan	hs,
14345166124Srafan	xmc@,
14346166124Srafan	bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@,
14347166124Srafan	fsl=^M, invis@,
14348166124Srafan	is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El,
14349166124Srafan	kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr,
14350166124Srafan	use=abm85,
14351166124Srafanabm85e|Kimtron ABM 85H in 920E mode,
14352166124Srafan	xmc@,
14353166124Srafan	bel=^G, dim=\E), flash@,
14354166124Srafan	is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em,
14355166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
14356166124Srafanabm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.,
14357166124Srafan	xmc@,
14358166124Srafan	bel=^G, dim=\E),
14359166124Srafan	is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF,
14360166124Srafan	rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85,
1436150276Speter# From: <malman@bbn-vax.arpa>
1436250276Speter# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
14363166124Srafankt7|kimtron model kt-7,
14364166124Srafan	OTbs, am,
14365166124Srafan	cols#80, it#8, lines#24,
14366166124Srafan	cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L,
14367166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
14368166124Srafan	dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ,
14369166124Srafan	if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E",
14370166124Srafan	kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L,
14371166124Srafan	kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r,
14372166124Srafan	kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
14373166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
14374166124Srafan	kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr,
1437550276Speter# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
1437650276Speter# other kt7 entry and the adjacent key capabilities).  Removed EE which is
1437750276Speter# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
1437850276Speter# but we can't figure out what.
14379166124Srafankt7ix|kimtron model kt-7 or 70 in IX mode,
14380166124Srafan	am, bw,
14381166124Srafan	cols#80, it#8, lines#25,
14382166124Srafan	acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI,
14383166124Srafan	civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V,
14384166124Srafan	cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14385166124Srafan	dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M,
14386166124Srafan	home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J,
14387166124Srafan	is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*,
14388166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER,
14389166124Srafan	ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r,
14390166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14391166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ,
14392166124Srafan	nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0,
14393166124Srafan	sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef,
1439450276Speter
1439550276Speter#### Microdata/MDIS
1439650276Speter#
1439750276Speter# This was a line of terminals made by McDonnell-Douglas Information Systems.
1439850276Speter# These entries come direct from MDIS documentation.  I have edited them only
1439950276Speter# to move primary names of the form p[0-9] * to aliases, and to comment out
14400166124Srafan# <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have
1440150276Speter# also removed the change history; the last version indicates this is
1440250276Speter# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
1440350276Speter#
1440450276Speter
1440550276Speter# McDonnell Information Systems Terminal Family History
1440650276Speter# =========================================
1440750276Speter#
1440850276Speter# Prism-1, Prism-2 and P99:
1440950276Speter#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
1441050276Speter#
1441150276Speter# Prism-4 and Prism-5:
1441250276Speter#       Slightly less ancient range of Microdata terminals. Follow-on from
1441350276Speter#       Prism-2, but with many enhancements. P5 has eight display pages.
1441450276Speter#
1441550276Speter# Prism-6:
1441650276Speter#       A special terminal for use with library systems, primarily in Germany.
1441750276Speter#       Limited numbers. Similar functionality to P5 (except attributes?).
1441850276Speter#
1441950276Speter# Prism-7, Prism-8 and Prism-9:
1442050276Speter#       More recent range of MDIS terminals, in which P7 and P8
1442150276Speter#       replace the P4 & P5, with added functionality, and P9 is the flagship.
1442250276Speter#       The P9 has two emulation modes - P8 and ANSI - and includes a
1442350276Speter#       large number of the DEC VT220 control sequences. Both
1442450276Speter#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
1442550276Speter#
1442650276Speter# Prism-12 and Prism-14:
1442750276Speter#       Latest range, functionally very similar to the P9.  The P14 has a
1442850276Speter#       black-on-white overscanning screen.
1442950276Speter#
1443050276Speter# The terminfo definitions given here are:
1443150276Speter#
1443250276Speter# p2      - Prism-2 (or Prism-1 or P99).
1443350276Speter#
1443450276Speter# p4      - Prism-4 (and older P7s & P8s).
1443550276Speter# p5      - Prism-5 (or Prism-6).
1443650276Speter#
1443750276Speter# p7      - Prism-7.
1443850276Speter# p8      - Prism-8 (in national or multinational mode).
1443950276Speter# p8-w    - 132 column version of p8.
1444050276Speter# p9      - Prism-9 in ANSI mode.
1444150276Speter# p9-w    - 132 column version of p9.
1444250276Speter# p9-8    - Prism-9 in Prism-8 emulation mode.
1444350276Speter# p9-8-w  - As p9-8, but with 132 columns.
1444450276Speter#
1444550276Speter# p12     - Prism-12 in ANSI mode.
1444650276Speter# p12-w   - 132 column version of p12.
1444750276Speter# p12-m   - Prism-12 in MDC emulation mode.
1444850276Speter# p12-m-w - As p12-m, but with 132 columns.
1444950276Speter# p14     - Prism-14 in ANSI mode.
1445050276Speter# p14-w   - 132 column version of p14.
1445150276Speter# p14-m   - Prism-14 in MDC emulation mode.
1445250276Speter# p14-m-w - As p14-m, but with 132 columns.
1445350276Speter#
1445450276Speter# p2: Prism-2
1445550276Speter# -----------
1445650276Speter#
1445750276Speter# Includes Prism-1 and basic P99 without SP or MP loaded.
1445850276Speter# The simplest form of Prism-type terminal.
1445950276Speter# Basic cursor movement and clearing operations only.
1446050276Speter# No video attributes.
1446150276Speter# Notes:
1446250276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1446350276Speter#  value up, followed by backspace.
1446450276Speter#
14465166124Srafanprism2|MDC Prism-2,
14466166124Srafan	am, bw, msgr,
14467166124Srafan	cols#80, lines#24,
14468166124Srafan	bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14469166124Srafan	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,
14470166124Srafan	cuu1=^Z, ed=\EJ, el=\EK, home=^A,
14471166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14472166124Srafan	ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c,
1447350276Speter
1447450276Speter# p4: Prism-4
1447550276Speter# -----------
1447650276Speter#
1447750276Speter# Includes early versions of P7 & P8.
1447850276Speter# Basic family definition for most Prisms (except P2 and P9 ANSI).
1447950276Speter# Notes:
1448050276Speter#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
1448150276Speter#  value up, followed by backspace.
1448250276Speter#  Cursor key definitions removed because they interfere with vi and csh keys.
1448350276Speter#
14484166124Srafanprism4|p4|P4|MDC Prism-4,
14485166124Srafan	am, bw, hs, mc5i, msgr,
14486166124Srafan	cols#80, lines#24, wsl#72, xmc#1,
14487166124Srafan	bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>,
14488166124Srafan	cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
14489166124Srafan	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,
14490166124Srafan	cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK,
14491166124Srafan	fsl=^]\345, home=^A,
14492166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c,
14493166124Srafan	ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER,
14494166124Srafan	rev=^CD, rmso=^C\s, rmul=^C\s,
14495166124Srafan	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%;,
14496166124Srafan	sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343,
14497166124Srafan	vpa=\013%p1%{32}%+%c,
1449850276Speter
1449950276Speter# p5: Prism-5
1450050276Speter# -----------
1450150276Speter#
1450250276Speter# Same definition as p4. Includes Prism-6 (not tested!).
1450350276Speter# Does not use any multi-page features.
1450450276Speter#
14505166124Srafanprism5|p5|P5|MDC Prism-5,
14506166124Srafan	use=p4,
1450750276Speter
1450850276Speter# p7: Prism-7
1450950276Speter# -----------
1451050276Speter#
1451150276Speter# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
1451250276Speter# Notes:
1451350276Speter#  Use p4 for very early models of P7.
1451450276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1451550276Speter#
14516166124Srafanprism7|p7|P7|MDC Prism-7,
14517166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4,
1451850276Speter
1451950276Speter# p8: Prism-8
1452050276Speter# -----------
1452150276Speter#
1452250276Speter# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
1452350276Speter# Supports national and multinational character sets.
1452450276Speter# Notes:
1452550276Speter#  Alternate char set operations only work in multinational mode.
1452650276Speter#  Use p4 for very early models of P8.
1452750276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1452850276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1452950276Speter#
14530166124Srafanprism8|p8|P8|MDC Prism-8,
14531166124Srafan	cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h,
14532166124Srafan	vpa=\E[%i%p1%dd, use=p4,
1453350276Speter
1453450276Speter# p8-w: Prism-8 in 132 column mode
1453550276Speter# --------------------------------
1453650276Speter#
1453750276Speter# 'Wide' version of p8.
1453850276Speter# Notes:
1453950276Speter#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
1454050276Speter#
14541166124Srafanprism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode,
14542166124Srafan	cols#132,
14543166124Srafan	is2=\E[<12h\E[<14h, use=p8,
1454450276Speter
1454550276Speter# p9: Prism-9 in ANSI mode
1454650276Speter# -------------------------
1454750276Speter#
1454850276Speter# The "flagship" model of this generation of terminals.
1454950276Speter# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
1455050276Speter# Notes:
1455150276Speter#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
1455250276Speter#  Fixes to deal with terminal firmware bugs:
1455350276Speter#  . 'ri' uses insert-line since rev index doesn't always
1455450276Speter#  . 'sgr0' has extra '0' since esc[m fails
1455550276Speter#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
1455650276Speter#  Not covered in the current definition:
1455750276Speter#  . Labels
1455850276Speter#  . Programming Fn keys
1455950276Speter#  . Graphic characters (defaults correctly to vt100)
1456050276Speter#  . Padding values (sets xon)
1456150276Speter# (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
1456250276Speter#
14563166124Srafanprism9|p9|P9|MDC Prism-9 in ANSII mode,
14564166124Srafan	am, bw, hs, mc5i, msgr, xenl, xon,
14565166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#72,
14566166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l,
14567166124Srafan	clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v,
14568166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
14569166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
14570166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
14571166124Srafan	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX,
14572166124Srafan	ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`,
14573166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
14574166124Srafan	is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D,
14575166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~,
14576166124Srafan	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
14577166124Srafan	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
14578166124Srafan	kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~,
14579166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
14580166124Srafan	khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J,
14581166124Srafan	prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m,
14582166124Srafan	ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
14583166124Srafan	rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N,
14584166124Srafan	sc=\E[%y,
14585166124Srafan	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%;,
14586166124Srafan	sgr0=\E[0m\017, smir=\E[4h, smso=\E[7m, smul=\E[4m,
14587166124Srafan	tbc=\E[2g, tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd,
1458850276Speter
1458950276Speter# p9-w: Prism-9 in 132 column mode
1459050276Speter# --------------------------------
1459150276Speter#
1459250276Speter# 'Wide' version of p9.
1459350276Speter#
14594166124Srafanprism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode,
14595166124Srafan	cols#132,
14596166124Srafan	is2=\E[&p\E[<12l\E F\E[<14h,
14597166124Srafan	rs2=\E[&p\E[<12l\E F\E[<14h, use=p9,
1459850276Speter
1459950276Speter# p9-8: Prism-9 in P8 mode
1460050276Speter# ------------------------
1460150276Speter#
1460250276Speter# P9 terminal in P8 emulation mode.
1460350276Speter# Similar to p8 definition.
1460450276Speter# Insertion and deletion operations possible.
1460550276Speter#
14606166124Srafanprism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode,
14607166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14608166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8,
1460950276Speter
1461050276Speter# p9-8-w: Prism-9 in P8 and 132 column modes
1461150276Speter# ------------------------------------------
1461250276Speter#
1461350276Speter# P9 terminal in P8 emulation mode and 132 column mode.
1461450276Speter#
14615166124Srafanprism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode,
14616166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
14617166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w,
1461850276Speter
1461950276Speter# p12: Prism-12 in ANSI mode
1462050276Speter# ---------------------------
1462150276Speter#
1462250276Speter# See p9 definition.
1462350276Speter#
14624166124Srafanprism12|p12|P12|MDC Prism-12 in ANSI mode,
14625166124Srafan	use=p9,
1462650276Speter
1462750276Speter# p12-w: Prism-12 in 132 column mode
1462850276Speter# ----------------------------------
1462950276Speter#
1463050276Speter# 'Wide' version of p12.
1463150276Speter#
14632166124Srafanprism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode,
14633166124Srafan	use=p9-w,
1463450276Speter
1463550276Speter# p12-m: Prism-12 in MDC emulation mode
1463650276Speter# -------------------------------------
1463750276Speter#
1463850276Speter# P12 terminal in MDC emulation mode.
1463950276Speter# Similar to p8 definition.
1464050276Speter# Insertion and deletion operations possible.
1464150276Speter#
14642166124Srafanprism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode,
14643166124Srafan	use=p9-8,
1464450276Speter
1464550276Speter# p12-m-w: Prism-12 in MDC emulation and 132 column modes
1464650276Speter# -------------------------------------------------------
1464750276Speter#
1464850276Speter# P12 terminal in MDC emulation mode and 132 column mode.
1464950276Speter#
14650166124Srafanprism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode,
14651166124Srafan	use=p9-8-w,
1465250276Speter
1465350276Speter# p14: Prism-14 in ANSII mode
1465450276Speter# ---------------------------
1465550276Speter#
1465650276Speter# See p9 definition.
1465750276Speter#
14658166124Srafanprism14|p14|P14|MDC Prism-14 in ANSII mode,
14659166124Srafan	use=p9,
1466050276Speter
1466150276Speter# p14-w: Prism-14 in 132 column mode
1466250276Speter# ----------------------------------
1466350276Speter#
1466450276Speter# 'Wide' version of p14.
1466550276Speter#
14666166124Srafanprism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode,
14667166124Srafan	use=p9-w,
1466850276Speter
1466950276Speter# p14-m: Prism-14 in MDC emulation mode
1467050276Speter# -------------------------------------
1467150276Speter#
1467250276Speter# P14 terminal in MDC emulation mode.
1467350276Speter# Similar to p8 definition.
1467450276Speter# Insertion and deletion operations possible.
1467550276Speter#
14676166124Srafanprism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode,
14677166124Srafan	use=p9-8,
1467850276Speter
1467950276Speter# p14-m-w: Prism-14 in MDC emulation and 132 column modes
1468050276Speter# -------------------------------------------------------
1468150276Speter#
1468250276Speter# P14 terminal in MDC emulation mode and 132 column mode.
1468350276Speter#
14684166124Srafanprism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode,
14685166124Srafan	use=p9-8-w,
1468650276Speter
1468750276Speter# End of McDonnell Information Systems Prism definitions
1468850276Speter
1468950276Speter# These things were popular in the Pick database community at one time
1469050276Speter# From: George Land <georgeland@aol.com> 24 Sep 1996
14691166124Srafanp8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition,
14692166124Srafan	am, bw, hs, mir,
14693166124Srafan	cols#80, lines#24, ma#1, wsl#78, xmc#1,
14694166124Srafan	bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F,
14695166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P,
14696166124Srafan	ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U,
14697166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ,
14698166124Srafan	kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r,
14699166124Srafan	kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r,
14700166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
14701166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2,
14702166124Srafan	lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M,
14703166124Srafan	pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE,
14704166124Srafan	smul=^C0,
1470550276Speter
1470650276Speter#### Microterm (act, mime)
1470750276Speter#
1470850276Speter# The mime1 entries refer to the Microterm Mime I or Mime II.
1470950276Speter# The default mime is assumed to be in enhanced act iv mode.
1471050276Speter#
1471150276Speter
1471250276Speter# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
1471350276Speter# freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
1471450276Speter# <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
1471550276Speter# since Sytek insists ^S means xoff.
1471650276Speter# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
14717166124Srafanact4|microterm|microterm act iv,
14718166124Srafan	OTbs, am,
14719166124Srafan	cols#80, lines#24,
14720166124Srafan	bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X,
14721166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c,
14722166124Srafan	cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>,
14723166124Srafan	ed=\037$<2.2*/>, el=\036$<.1*/>, home=^],
14724166124Srafan	il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X,
14725166124Srafan	kcuu1=^Z,
1472650276Speter# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
1472750276Speter# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
1472850276Speter# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
14729166124Srafanact5|microterm5|microterm act v,
14730166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA,
14731166124Srafan	use=act4,
1473250276Speter# Mimes using brightness for standout.  Half bright is really dim unless
1473350276Speter# you turn up the brightness so far that lines show up on the screen.
14734166124Srafanmime-fb|full bright mime1,
14735166124Srafan	is2=^S\E, rmso=^S, smso=^Y, use=mime,
14736166124Srafanmime-hb|half bright mime1,
14737166124Srafan	is2=^Y\E, rmso=^Y, smso=^S, use=mime,
1473850276Speter# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
1473950276Speter# the more plausible ":do=^J:" -- esr)
1474050276Speter# uc was at one time disabled to get around a curses bug, be wary of it
14741166124Srafanmime|mime1|mime2|mimei|mimeii|microterm mime1,
14742166124Srafan	OTbs, am,
14743166124Srafan	cols#80, it#8, lines#24, vt#9,
14744166124Srafan	bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X,
14745166124Srafan	cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c,
14746166124Srafan	cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>,
14747166124Srafan	il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K,
14748166124Srafan	kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U,
1474950276Speter# These termcaps (for mime2a) put the terminal in low intensity mode
1475050276Speter# since high intensity mode is so obnoxious.
14751166124Srafanmime2a-s|microterm mime2a (emulating an enhanced soroc iq120),
14752166124Srafan	OTbs, am,
14753166124Srafan	cols#80, lines#24,
14754166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14755166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED,
14756166124Srafan	dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^,
14757166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J,
14758166124Srafan	kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7,
14759166124Srafan	smir=\EE, smso=\E\:, smul=\E6,
1476050276Speter# This is the preferred mode (but ^X can't be used as a kill character)
14761166124Srafanmime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52),
14762166124Srafan	OTbs,
14763166124Srafan	cols#80, it#8, lines#24,
14764166124Srafan	bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
14765166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N,
14766166124Srafan	dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I,
14767166124Srafan	il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED,
14768166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9,
14769166124Srafan	rmul=\E5, smir=^O, smso=\E8, smul=\E4,
1477050276Speter# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
14771166124Srafanmime3a|mime1 emulating 3a,
14772166124Srafan	am@,
14773166124Srafan	kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a,
14774166124Srafanmime3ax|mime-3ax|mime1 emulating enhanced 3a,
14775166124Srafan	it#8,
14776166124Srafan	dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>,
14777166124Srafan	use=mime3a,
1477850276Speter# Wed Mar  9 18:53:21 1983
1477950276Speter# We run our terminals at 2400 baud, so there might be some timing problems at
14780166124Srafan# higher speeds. The major improvements in this model are the terminal now
1478150276Speter# scrolls down and insert mode works without redrawing the rest of the line
1478250276Speter# to the right of the cursor. This is done with a bit of a kludge using the
1478350276Speter# exit graphics mode to get out of insert, but it does not appear to hurt
1478450276Speter# anything when using vi at least. If you have some users using act4s with
1478550276Speter# programs that use curses and graphics mode this could be a problem.
14786166124Srafanmime314|mm314|mime 314,
14787166124Srafan	am,
14788166124Srafan	cols#80, lines#24,
14789166124Srafan	clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z,
14790166124Srafan	dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H,
14791166124Srafan	kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S,
1479250276Speter# Microterm mime 340 from University of Wisconsin
14793166124Srafanmm340|mime340|mime 340,
14794166124Srafan	cols#80, lines#24,
14795166124Srafan	clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
14796166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
14797166124Srafan	dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>,
14798166124Srafan	el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,,
14799166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J,
1480050276Speter# This came from University of Wisconsin marked "astro termcap for jooss".
1480150276Speter# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
1480250276Speter# also added <rmam>/<smam> based  on the init string -- esr)
14803166124Srafanmt4520-rv|micro-term 4520 reverse video,
14804166124Srafan	am, hs, msgr, xenl, xon,
14805166124Srafan	cols#80, it#8, lines#24, wsl#80,
14806166124Srafan	bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M,
14807166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
14808166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
14809166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
14810166124Srafan	cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
14811166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h,
14812166124Srafan	fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
14813166124Srafan	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
14814166124Srafan	is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J,
14815166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
14816166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H,
14817166124Srafan	ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100,
14818166124Srafan	ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m,
14819166124Srafan	rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J,
14820166124Srafan	sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m,
14821166124Srafan	tbc=\E[g, tsl=\E[25;1H,
1482250276Speter
1482350276Speter# Fri Aug  5 08:11:57 1983
1482450276Speter# This entry works for the ergo 4000 with the following setups:
1482550276Speter# ansi,wraparound,newline disabled, xon/xoff disabled in both
1482650276Speter# setup a & c.
14827166124Srafan#
1482850276Speter# WARNING!!! There are multiple versions of ERGO 4000 microcode
14829166124Srafan# Be advised that very early versions DO NOT WORK RIGHT !!
1483050276Speter# Microterm does have a ROM exchange program- use it or lose big
1483150276Speter# (ergo400: added <rmam>/<smam> based on the init string -- esr)
14832166124Srafanergo4000|microterm ergo 4000,
14833166124Srafan	da, db, msgr,
14834166124Srafan	cols#80, lines#66,
14835166124Srafan	bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B,
14836166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
14837166124Srafan	dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>,
14838166124Srafan	el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>,
14839166124Srafan	is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>,
14840166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
14841166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3,
14842166124Srafan	lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l,
14843166124Srafan	rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>,
14844166124Srafan	smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>,
14845166124Srafan	smso=\E[7m$<20>,
1484650276Speter
14847166124Srafan#### NCR
1484850276Speter#
1484950276Speter# NCR's terminal group was merged with AT&T's when AT&T bought the company.
1485050276Speter# For what happened to that group, see the ADDS section.
1485150276Speter#
1485250276Speter# There is an NCR4103 terminal that's just a re-badged Wyse-50.
1485350276Speter#
1485450276Speter
1485550276Speter# The following vendor-supplied termcaps were captured from the Boundless
1485650276Speter# Technologies site, 8 March 1998.  I removed all-upper-case names that were
1485750276Speter# identical, except for case, to lower-case ones.  I also uncommented the acsc
1485850276Speter# capabilities.X
1485950276Speter#
1486062449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1486150276Speter# DEC vt200/300 with color capabilities added.
14862166124Srafanncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14863166124Srafan	colors#8, pairs#64,
14864166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14865166124Srafan	use=ncr260vt300an,
1486662449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1486750276Speter# DEC vt200/300 with color capabilities added.
14868166124Srafanncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard,
14869166124Srafan	colors#8, pairs#64,
14870166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14871166124Srafan	use=ncr260vt300wan,
1487262449Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
1487362449Speter# DEC vt200/300 with color capabilities added.
14874166124Srafanncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard,
14875166124Srafan	colors#8, pairs#64,
14876166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14877166124Srafan	use=ncr260vt300pp,
1487850276Speter# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
1487950276Speter# DEC vt200/300 with color capabilities added.
14880166124Srafanncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode,
14881166124Srafan	colors#8, pairs#64,
14882166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
14883166124Srafan	use=ncr260vt300wpp,
1488450276Speter# This definition for ViewPoint supports several attributes.  This means
1488550276Speter# that it has magic cookies (extra spaces where the attributes begin).
1488650276Speter# Some applications do not function well with magic cookies.  The System
14887166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1488850276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
14889166124Srafan# attributes can be removed.
14890166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1489150276Speter# restored if needed.
14892166124Srafanncr260vppp|NCR 2900_260 viewpoint,
14893166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
14894166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
14895166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
14896166124Srafan	cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5,
14897166124Srafan	cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>,
14898166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>,
14899166124Srafan	dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, ed=\Ek$<2>,
14900166124Srafan	el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, hts=\E1,
14901166124Srafan	il1=\EM$<2>, ind=\n$<2>, invis=\EG1,
14902166124Srafan	is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14903166124Srafan	kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ,
14904166124Srafan	kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F,
14905166124Srafan	kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r,
14906166124Srafan	kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r,
14907166124Srafan	kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r,
14908166124Srafan	kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r,
14909166124Srafan	kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r,
14910166124Srafan	kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r,
14911166124Srafan	kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r,
14912166124Srafan	kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ,
14913166124Srafan	kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R,
14914166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>,
14915166124Srafan	nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003,
14916166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
14917166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14918166124Srafan	sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq,
14919166124Srafan	smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF,
14920166124Srafanncr260vpwpp|NCR 2900_260 viewpoint wide mode,
14921166124Srafan	cols#132,
14922166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
14923166124Srafan	is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14924166124Srafan	rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>,
14925166124Srafan	use=ncr260vppp,
14926166124Srafanncr260vt100an|NCR 2900_260 vt100 with ansi kybd,
14927166124Srafan	am, hs, mir, msgr, xenl, xon,
14928166124Srafan	cols#80, lines#24, nlab#32,
14929166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14930166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14931166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14932166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>,
14933166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14934166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14935166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14936166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14937166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14938166124Srafan	ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>,
14939166124Srafan	fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I,
14940166124Srafan	hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>,
14941166124Srafan	il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>,
14942166124Srafan	invis=\E[8m,
14943166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14944166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14945166124Srafan	kdch1=\E[3~, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~,
14946166124Srafan	knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>,
14947166124Srafan	rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l,
14948166124Srafan	rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
14949166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14950166124Srafan	sc=\E7,
14951166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
14952166124Srafan	sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h,
14953166124Srafan	smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
14954166124Srafan	tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, use=vt220+keypad,
14955166124Srafanncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd,
14956166124Srafan	cols#132,
14957166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14958166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14959166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14960166124Srafan	use=ncr260vt100an,
14961166124Srafanncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
14962166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14963166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
14964166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
14965166124Srafan	kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~,
14966166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>,
14967166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14968166124Srafan	smkx=\E=, use=ncr260vt100an,
14969166124Srafanncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd,
14970166124Srafan	cols#132,
14971166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
14972166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14973166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14974166124Srafan	use=ncr260vt100pp,
14975166124Srafanncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
14976166124Srafan	am, hs, mir, msgr, xenl, xon,
14977166124Srafan	cols#80, lines#24, nlab#32,
14978166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
14979166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
14980166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
14981166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
14982166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
14983166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
14984166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
14985166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
14986166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
14987166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
14988166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
14989166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
14990166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
14991166124Srafan	is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
14992166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
14993166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
14994166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
14995166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
14996166124Srafan	kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, kf22=\E[32~,
14997166124Srafan	kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, kf26=\E[1~,
14998166124Srafan	kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, kf30=\E[5~,
14999166124Srafan	kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~,
15000166124Srafan	kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~,
15001166124Srafan	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~,
15002166124Srafan	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~,
15003166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
15004166124Srafan	ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l,
15005166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
15006166124Srafan	rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
15007166124Srafan	sc=\E7,
15008166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
15009166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
15010166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
15011166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
15012166124Srafan	use=vt220+keypad,
15013166124Srafanncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd,
15014166124Srafan	cols#132,
15015166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
15016166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
15017166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>,
15018166124Srafan	use=ncr260vt200an,
15019166124Srafanncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
15020166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
15021166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
15022166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
15023166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
15024166124Srafan	use=ncr260vt200an,
15025166124Srafanncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd,
15026166124Srafan	cols#132,
15027166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
15028166124Srafan	is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
15029166124Srafan	rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>,
15030166124Srafan	use=ncr260vt200pp,
15031166124Srafanncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
15032166124Srafan	am, hs, mir, msgr, xenl, xon,
15033166124Srafan	cols#80, lines#24, nlab#32,
15034166124Srafan	acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
15035166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[?25l,
15036166124Srafan	clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>,
15037166124Srafan	csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>,
15038166124Srafan	cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>,
15039166124Srafan	cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>,
15040166124Srafan	cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>,
15041166124Srafan	cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>,
15042166124Srafan	dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~,
15043166124Srafan	ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>,
15044166124Srafan	fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH,
15045166124Srafan	ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>,
15046166124Srafan	ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m,
15047166124Srafan	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>,
15048166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15049166124Srafan	kdch1=\E[3~, kf0=\EOy, kf10=\E[21~, kf11=\E[23~,
15050166124Srafan	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
15051166124Srafan	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
15052166124Srafan	kf20=\E[34~, kf21=\E[31~, kf22=\E[32~, kf23=\E[33~,
15053166124Srafan	kf24=\E[34~, kf25=\E[35~, kf26=\E[1~, kf27=\E[2~,
15054166124Srafan	kf28=\E[3~, kf29=\E[4~, kf30=\E[5~, kf31=\E[6~, kf32=\E[7~,
15055166124Srafan	kf33=\E[8~, kf34=\E[9~, kf35=\E[10~, kf5=\E[M, kf6=\E[17~,
15056166124Srafan	kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
15057166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
15058166124Srafan	krdo=\E[29~, kslt=\E[4~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
15059166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM$<5>, rmacs=\017$<20>,
15060166124Srafan	rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m,
15061166124Srafan	rmul=\E[24m,
15062166124Srafan	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>,
15063166124Srafan	sc=\E7,
15064166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>,
15065166124Srafan	sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h,
15066166124Srafan	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
15067166124Srafan	tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>,
15068166124Srafan	use=vt220+keypad,
15069166124Srafanncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd,
15070166124Srafan	cols#132,
15071166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
15072166124Srafan	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>,
15073166124Srafan	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>,
15074166124Srafan	use=ncr260vt300an,
15075166124Srafanncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
15076166124Srafan	ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D,
15077166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~,
15078166124Srafan	kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
15079166124Srafan	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=,
15080166124Srafan	use=ncr260vt300an,
15081166124SrafanNCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd,
15082166124Srafan	cols#132,
15083166124Srafan	cup=\E[%i%p1%d;%p2%dH$<30>,
15084166124Srafan	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>,
15085166124Srafan	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>,
15086166124Srafan	use=ncr260vt300pp,
15087166124Srafan# This terminfo file contains color capabilities for the Wyse325 emulation of
1508850276Speter# the NCR 2900/260C color terminal.  Because of the structure of the command
1508950276Speter# (escape sequence) used to set color attributes, one of the fore/background
1509050276Speter# colors must be preset to a given value. I have set the background color to
1509150276Speter# black.  The user can change this setup by altering the last section of the
15092166124Srafan# 'setf' definition.  The escape sequence to set color attributes is
15093166124Srafan#		ESC d y <foreground_color> <background_color> 1
1509450276Speter# In addition, the background color can be changed through the desk accessories.
15095166124Srafan# The capablitiy 'op' sets colors to green on black (default combination).
1509650276Speter#
1509750276Speter# NOTE:  The NCR Unix System Administrator's Shell will not function properly
1509850276Speter# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
15099166124Srafan#	    capability and recompile if you wish to have it included.
1510050276Speter#
15101166124Srafanncr260wy325pp|NCR 2900_260 wyse 325,
15102166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15103166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32,
15104166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15105166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M,
15106166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15107166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15108166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15109166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I,
15110166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15111166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15112166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15113166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI,
15114166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET,
15115166124Srafan	kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r,
15116166124Srafan	kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r,
15117166124Srafan	kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r,
15118166124Srafan	kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r,
15119166124Srafan	kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r,
15120166124Srafan	kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
15121166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ,
15122166124Srafan	kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15123166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15124166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15125166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15126166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15127166124Srafan	setb=\s,
15128166124Srafan	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>,
15129166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/,
15130166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15131166124Srafan	tsl=\EF,
15132166124Srafanncr260wy325wpp|NCR 2900_260 wyse 325 wide mode,
15133166124Srafan	cols#132,
15134166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15135166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15136166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15137166124Srafan	use=ncr260wy325pp,
1513850276Speter# This definition for Wyse 350 supports several attributes.  This means
1513950276Speter# that it has magic cookies (extra spaces where the attributes begin).
1514050276Speter# Some applications do not function well with magic cookies.  The System
15141166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1514250276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15143166124Srafan# attributes can be removed.
15144166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1514550276Speter# restored if needed.
1514650276Speter# In addition, color capabilities have been added to this file.  The drawback,
1514750276Speter# however, is that the background color has to be black.  The foreground colors
15148166124Srafan# are numbered 0 through 15.
1514950276Speter#
1515050276Speter# NOTE:  The NCR Unix System Administrator's Shell does not function properly
1515150276Speter# 	    with the 'pairs' capability defined as below.  If you wish to
15152166124Srafan#	    have it included, Un-comment it and recompile (using 'tic').
1515350276Speter#
15154166124Srafanncr260wy350pp|NCR 2900_260 wyse 350,
15155166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15156166124Srafan	colors#16, cols#80, lines#24, ncv#33, nlab#32, pairs#16, xmc#1,
15157166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15158166124Srafan	cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15159166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15160166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>,
15161166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15162166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I,
15163166124Srafan	hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1,
15164166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15165166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15166166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15167166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15168166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15169166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15170166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15171166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15172166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15173166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15174166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15175166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15176166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>,
15177166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0,
15178166124Srafan	rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15179166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15180166124Srafan	setb=\s,
15181166124Srafan	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>,
15182166124Srafan	sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/,
15183166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0,
15184166124Srafan	tsl=\EF,
15185166124Srafanncr260wy350wpp|NCR 2900_260 wyse 350 wide mode,
15186166124Srafan	cols#132,
15187166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15188166124Srafan	is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15189166124Srafan	rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15190166124Srafan	use=ncr260wy350pp,
1519150276Speter# This definition for Wyse 50+ supports several attributes.  This means
1519250276Speter# that it has magic cookies (extra spaces where the attributes begin).
1519350276Speter# Some applications do not function well with magic cookies.  The System
15194166124Srafan# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
1519550276Speter# If supporting various attributes is not vital, 'xmc#1' and the extra
15196166124Srafan# attributes can be removed.
15197166124Srafan# Mapping to ASCII character set ('acsc' capability) can also be
1519850276Speter# restored if needed.
15199166124Srafan# (ncr260wy50+pp: originally contained commented-out
1520050276Speter# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
15201166124Srafanncr260wy50+pp|NCR 2900_260 wyse 50+,
15202166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15203166124Srafan	cols#80, lines#24, nlab#32, xmc#1,
15204166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
15205166124Srafan	cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M,
15206166124Srafan	cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15207166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>,
15208166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c,
15209166124Srafan	ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>,
15210166124Srafan	ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>,
15211166124Srafan	invis=\EG1,
15212166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15213166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H,
15214166124Srafan	kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L,
15215166124Srafan	kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r,
15216166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
15217166124Srafan	kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r,
15218166124Srafan	kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r,
15219166124Srafan	kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r,
15220166124Srafan	kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r,
15221166124Srafan	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
15222166124Srafan	khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP,
15223166124Srafan	mc0=\EP$<10>, mc4=^T, mc5=^R,
15224166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>,
15225166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15226166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15227166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15228166124Srafan	sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq,
15229166124Srafan	smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF,
15230166124Srafanncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode,
15231166124Srafan	cols#132,
15232166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15233166124Srafan	is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15234166124Srafan	rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>,
15235166124Srafan	use=ncr260wy50+pp,
15236166124Srafanncr260wy60pp|NCR 2900_260 wyse 60,
15237166124Srafan	am, bw, hs, km, mc5i, mir, msgr, xon,
15238166124Srafan	cols#80, lines#24, nlab#32,
15239166124Srafan	acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2,
15240166124Srafan	cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1,
15241166124Srafan	cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>,
15242166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>,
15243166124Srafan	cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c,
15244166124Srafan	ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>,
15245166124Srafan	ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>,
15246166124Srafan	invis=\EG1,
15247166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15248166124Srafan	kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ,
15249166124Srafan	kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK,
15250166124Srafan	kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
15251166124Srafan	kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15252166124Srafan	kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r,
15253166124Srafan	kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r,
15254166124Srafan	kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r,
15255166124Srafan	kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r,
15256166124Srafan	kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r,
15257166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15258166124Srafan	kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R,
15259166124Srafan	mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>,
15260166124Srafan	nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed.,
15261166124Srafan	rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20,
15262166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15263166124Srafan	sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/,
15264166124Srafan	smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>,
15265166124Srafan	tsl=\EF,
15266166124Srafanncr260wy60wpp|NCR 2900_260 wyse 60 wide mode,
15267166124Srafan	cols#132,
15268166124Srafan	cup=\Ea%i%p1%dR%p2%dC$<30>,
15269166124Srafan	is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15270166124Srafan	rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>,
15271166124Srafan	use=ncr260wy60pp,
15272166124Srafanncr160vppp|NCR 2900_160 viewpoint,
15273166124Srafan	use=ncr260vppp,
15274166124Srafanncr160vpwpp|NCR 2900_160 viewpoint wide mode,
15275166124Srafan	use=ncr260vpwpp,
15276166124Srafanncr160vt100an|NCR 2900_160 vt100 with ansi kybd,
15277166124Srafan	use=ncr260vt100an,
15278166124Srafanncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd,
15279166124Srafan	use=ncr260vt100pp,
15280166124Srafanncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd,
15281166124Srafan	use=ncr260vt100wan,
15282166124Srafanncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd,
15283166124Srafan	use=ncr260vt100wpp,
15284166124Srafanncr160vt200an|NCR 2900_160 vt200 with ansi kybd,
15285166124Srafan	use=ncr260vt200an,
15286166124Srafanncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd,
15287166124Srafan	use=ncr260vt200pp,
15288166124Srafanncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd,
15289166124Srafan	use=ncr260vt200wan,
15290166124Srafanncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd,
15291166124Srafan	use=ncr260vt200wpp,
15292166124Srafanncr160vt300an|NCR 2900_160 vt300 with ansi kybd,
15293166124Srafan	use=ncr260vt300an,
15294166124Srafanncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd,
15295166124Srafan	use=ncr260vt300pp,
15296166124Srafanncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd,
15297166124Srafan	use=ncr260vt300wan,
15298166124Srafanncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd,
15299166124Srafan	use=ncr260vt300wpp,
15300166124Srafanncr160wy50+pp|NCR 2900_160 wyse 50+,
15301166124Srafan	use=ncr260wy50+pp,
15302166124Srafanncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode,
15303166124Srafan	use=ncr260wy50+wpp,
15304166124Srafanncr160wy60pp|NCR 2900_160 wyse 60,
15305166124Srafan	use=ncr260wy60pp,
15306166124Srafanncr160wy60wpp|NCR 2900_160 wyse 60 wide mode,
15307166124Srafan	use=ncr260wy60wpp,
15308166124Srafanncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal,
15309166124Srafan	am, hs, mc5i, mir, msgr, xon,
15310166124Srafan	cols#80, it#8, lines#24, nlab#32,
15311166124Srafan	acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~,
15312166124Srafan	bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>,
15313166124Srafan	clear=\E[2J\E[1;1H$<300>, cr=^M,
15314166124Srafan	csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>,
15315166124Srafan	cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>,
15316166124Srafan	cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>,
15317166124Srafan	cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>,
15318166124Srafan	cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>,
15319166124Srafan	dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>,
15320166124Srafan	ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>,
15321166124Srafan	enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>,
15322166124Srafan	ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>,
15323166124Srafan	ind=\ED,
15324166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>,
15325166124Srafan	kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D,
15326166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP,
15327166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE,
15328166124Srafan	rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>,
15329166124Srafan	rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>,
15330166124Srafan	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>,
15331166124Srafan	sc=\E7,
15332166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>,
15333166124Srafan	sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>,
15334166124Srafan	smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>,
15335166124Srafan	tsl=\E[>+1$<70>,
15336166124Srafanncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal,
15337166124Srafan	cols#132,
15338166124Srafan	is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>,
15339166124Srafan	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>,
15340166124Srafan	use=ncrvt100an,
1534150276Speter#
1534250276Speter# Vendor-supplied NCR termcaps end here
1534350276Speter
1534450276Speter# NCR7900 DIP switches:
1534550276Speter#
1534650276Speter# Switch A:
1534750276Speter# 1-4 - Baud Rate
1534850276Speter# 5   - Parity (Odd/Even)
1534950276Speter# 6   - Don't Send or Do Send Spaces
1535050276Speter# 7   - Parity Enable
1535150276Speter# 8   - Stop Bits (One/Two)
15352166124Srafan#
1535350276Speter# Switch B:
1535450276Speter# 1   - Upper/Lower Shift
1535550276Speter# 2   - Typewriter Shift
1535650276Speter# 3   - Half Duplex / Full Duplex
1535750276Speter# 4   - Light/Dark Background
1535850276Speter# 5-6 - Carriage Return Without / With Line Feed
1535950276Speter# 7   - Extended Mode
1536050276Speter# 8   - Suppress Keyboard Display
15361166124Srafan#
1536250276Speter# Switch C:
1536350276Speter# 1   - End of line entry disabled/enabled
1536450276Speter# 2   - Conversational mode / (Local?) Mode
1536550276Speter# 3   - Control characters displayed / not displayed
1536650276Speter# 4   - (2-wire?) / 4-wire communications
1536750276Speter# 5   - RTS on and off for each character
1536850276Speter# 6   - (50Hz?) / 60 Hz
1536950276Speter# 7   - Exit after level zero diagnostics
1537050276Speter# 8   - RS-232 interface
15371166124Srafan#
1537250276Speter# Switch D:
1537350276Speter# 1   - Reverse Channel (yes / no)
1537450276Speter# 2   - Manual answer (no / yes)
1537550276Speter# 3-4 - Cursor appearance
1537650276Speter# 5   - Communication Rate
1537750276Speter# 6   - Enable / Disable EXT turnoff
1537850276Speter# 7   - Enable / Disable CR turnoff
1537950276Speter# 8   - Enable / Disable backspace
1538050276Speter#
1538162449Speter# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
1538262449Speter# reverse, blink, dim, and underline) the appropriate number of bits (by
1538362449Speter# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
1538462449Speter# '@' is (effectively) "or"ed with each attribute to generate the proper third
1538562449Speter# character in the <ESC>0 sequence.  The <sgr> string implements the following
1538662449Speter# equation:
1538762449Speter#
1538862449Speter# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
1538962449Speter# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
1539062449Speter#
1539162449Speter#	Where:  P1 <==> Standout attribute parameter
1539262449Speter#		P2 <==> Underline attribute parameter
1539362449Speter#		P3 <==> Reverse attribute parameter
1539462449Speter#		P4 <==> Blink attribute parameter
1539562449Speter#		P5 <==> Dim attribute parameter
1539650276Speter# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
15397166124Srafanncr7900i|ncr7900|ncr 7900 model 1,
15398166124Srafan	am, bw, ul,
15399166124Srafan	cols#80, lines#24, xmc#1,
15400166124Srafan	bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
15401166124Srafan	cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J,
15402166124Srafan	is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F,
15403166124Srafan	kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@,
15404166124Srafan	rmul=\E0@,
15405166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c,
15406166124Srafan	sgr0=\E0@, smso=\E0Q, smul=\E0`,
15407166124Srafanncr7900iv|ncr 7900 model 4,
15408166124Srafan	am, bw, eslok, hs,
15409166124Srafan	cols#80, lines#24,
15410166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J,
15411166124Srafan	cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1,
15412166124Srafan	fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H,
15413166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET,
15414166124Srafan	kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER,
15415166124Srafan	khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J,
15416166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo,
1541762449Speter# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
1541862449Speter#	   The user can enter a CTRL-B to get out of this locked state.
1541962449Speter# In <hpa>, we want to output the character given by the formula:
1542062449Speter#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
15421166124Srafanncr7901|ncr 7901 model,
15422166124Srafan	am, bw, ul,
15423166124Srafan	cols#80, lines#24,
15424166124Srafan	bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M,
15425166124Srafan	cub1=^H, cud1=^J, cuf1=^F,
15426166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A,
15427166124Srafan	ed=\Ek, el=\EK,
15428166124Srafan	hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J,
15429166124Srafan	is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z,
15430166124Srafan	khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O,
15431166124Srafan	sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016,
15432166124Srafan	sgr0=^O, smso=\E0Q\016, smul=\E0`\016,
15433166124Srafan	vpa=\013%p1%{64}%+%c,
1543450276Speter
15435174993Srafan# Newbury Data Recording Limited (Newbury Data)
15436174993Srafan#
15437174993Srafan# Have been manufacturing and reselling  various peripherals for a long time
15438174993Srafan# They don't make terminals anymore, but are still in business (in 2007).
15439174993Srafan# Their e-mail address is at ndsales@newburydata.co.uk
15440174993Srafan# and their post address is:
15441174993Srafan#
15442174993Srafan# Newbury Data Recording Ltd,
15443174993Srafan# Premier Park, Road One,
15444174993Srafan# Winsford, Cheshire, CW7 3PT
15445174993Srafan#
15446174993Srafan# Their technical support is still good, they sent me for free a printed copy
15447174993Srafan# of the 9500 user manual and I got it just 1 week after I first contacted them
15448174993Srafan# (in 2005)!
15449174993Srafan
15450174993Srafan# NDR 9500
15451174993Srafan# Manufactured in the early/mid eighties, behaves almost the same as a
15452174993Srafan# Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
15453174993Srafan# keep the same keyboard layout), add an optional 25-line mode, replace the DIP
15454174993Srafan# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC ! 
15455174993Srafan# 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
15456174993Srafan# recognized:  if you type in "ESC !", the next (third) character is not
15457174993Srafan# echoed, showing that the terminal was actually waiting for a parameter!
15458174993Srafanndr9500|nd9500|Newbury Data 9500,
15459174993Srafan	am, bw, hs, mc5i, mir, msgr, ul, xon,
15460174993Srafan	cols#80, lines#24, wsl#79,
15461174993Srafan	acsc=qKnImAjDwNuLtMvOlBkCxJ, bel=^G, cbt=\EI, civis=\E.0,
15462174993Srafan	clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
15463174993Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
15464174993Srafan	dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
15465174993Srafan	flash=\Eb$<50/>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1,
15466174993Srafan	ich1=\EQ, il1=\EE, ind=^J, is2=\Ew\E'\EDF\El\Er\EO,
15467174993Srafan	kDC=\Er, kDL=\EO, kEOL=\Et, kIC=\Eq, kcbt=\EI, kclr=^Z,
15468174993Srafan	kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER,
15469174993Srafan	ked=\EY, kel=\ET, kent=^M, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r,
15470174993Srafan	kf12=^A`\r, kf13=^Aa\r, kf14=^Ab\r, kf15=^Ac\r, kf16=^Ad\r,
15471174993Srafan	kf17=^Ae\r, kf18=^Af\r, kf19=^Ag\r, kf2=^AA\r, kf20=^Ah\r,
15472174993Srafan	kf21=^Ai\r, kf22=^Aj\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
15473174993Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
15474174993Srafan	kich1=\EQ, kil1=\EE, kprt=\EP, mc4=\Ea, mc5=\E`, nel=^_,
15475174993Srafan	pfloc=\E|%{48}%p1%+%c2%p2\031,
15476174993Srafan	pfx=\E|%{48}%p1%+%c1%p2\031, prot=\E), ri=\Ej,
15477174993Srafan	rmacs=\E%%, rmir=\Er, rmso=\E(, rmxon=^N,
15478174993Srafan	sgr=\E%%\E(%?%p1%p5%p8%|%|%t\E)%;%?%p9%t\E$%;,
15479174993Srafan	sgr0=\EG0\E%%\E(, smacs=\E$, smir=\Eq, smso=\E), smxon=^O,
15480174993Srafan	tbc=\E3, tsl=\Eg\Ef\011%p1%{32}%+%c, .kbs=^H,
15481174993Srafan
15482174993Srafanndr9500-nl|NDR 9500 with no status line,
15483174993Srafan	hs@,
15484174993Srafan	wsl@,
15485174993Srafan	dsl@, fsl@, tsl@, use=ndr9500,
15486174993Srafan
15487174993Srafanndr9500-25|NDR 9500 with 25th line enabled,
15488174993Srafan	lines#25, use=ndr9500,
15489174993Srafan
15490174993Srafanndr9500-25-nl|NDR 9500 with 25 lines and no status line,
15491174993Srafan	lines#25, use=ndr9500-nl,
15492174993Srafan
15493174993Srafanndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink),
15494174993Srafan	msgr@,
15495174993Srafan	xmc#1,
15496174993Srafan	blink=\EG2, invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0,
15497174993Srafan	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,
15498174993Srafan	sgr0=\EG0\E%%\E(, smso=\EG4, smul=\EG8, use=ndr9500,
15499174993Srafan
15500174993Srafanndr9500-25-mc|NDR 500 with 25 lines and magic cookies,
15501174993Srafan	lines#25, use=ndr9500-mc,
15502174993Srafan
15503174993Srafanndr9500-mc-nl|NDR 9500 with magic cookies and no status line,
15504174993Srafan	hs@,
15505174993Srafan	wsl@,
15506174993Srafan	dsl@, fsl@, tsl@, use=ndr9500-mc,
15507174993Srafan
15508174993Srafanndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line,
15509174993Srafan	lines#25, use=ndr9500-mc-nl,
15510174993Srafan
1551150276Speter#### Perkin-Elmer (Owl)
1551250276Speter#
1551350276Speter# These are official terminfo entries from within Perkin-Elmer.
1551450276Speter#
1551550276Speter
15516166124Srafanbantam|pe550|pe6100|perkin elmer 550,
15517166124Srafan	OTbs,
15518166124Srafan	cols#80, lines#24,
15519166124Srafan	bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
15520166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15521166124Srafan	el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA,
15522166124Srafanfox|pe1100|perkin elmer 1100,
15523166124Srafan	OTbs, am,
15524166124Srafan	cols#80, lines#24,
15525166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15526166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15527166124Srafan	ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003,
15528166124Srafan	home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3,
15529166124Srafanowl|pe1200|perkin elmer 1200,
15530166124Srafan	OTbs, am, in,
15531166124Srafan	cols#80, lines#24,
15532166124Srafan	bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J,
15533166124Srafan	cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15534166124Srafan	dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>,
15535166124Srafan	el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH,
15536166124Srafan	hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>,
15537166124Srafan	kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD,
15538166124Srafan	kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA,
15539166124Srafan	rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3,
15540166124Srafanpe1251|pe6300|pe6312|perkin elmer 1251,
15541166124Srafan	am,
15542166124Srafan	cols#80, it#8, lines#24, pb#300, vt#8, xmc#1,
15543166124Srafan	bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC,
15544166124Srafan	cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA,
15545166124Srafan	ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J,
15546166124Srafan	kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE,
15547166124Srafan	kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3,
1554850276Speter# (pe7000m: this had
15549166124Srafan# 	rmul=\E!\0, smul=\E!\040,
1555050276Speter# which is probably wrong, it collides with kf0
15551166124Srafanpe7000m|perkin elmer 7000 series monochrome monitor,
15552166124Srafan	am,
15553166124Srafan	cols#80, lines#24,
15554166124Srafan	bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB,
15555166124Srafan	cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
15556166124Srafan	ed=\EJ, el=\EI, home=\EH, ind=^J,
15557166124Srafan	is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V,
15558166124Srafan	kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A,
15559166124Srafan	kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E,
15560166124Srafan	kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S,
15561166124Srafan	ll=\ES7\s, ri=\ER,
15562166124Srafanpe7000c|perkin elmer 7000 series colour monitor,
15563166124Srafan	is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0,
15564166124Srafan	rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m,
1556550276Speter
1556650276Speter#### Sperry Univac
1556750276Speter#
1556850276Speter# Sperry Univac has merged with Burroughs to form Unisys.
1556950276Speter#
1557050276Speter
15571166124Srafan# This entry is for the Sperry UTS30 terminal running the TTY
15572166124Srafan# utility under control of CP/M Plus 1R1. The functionality
1557350276Speter# provided is comparable to the DEC vt100.
1557450276Speter# (uts30: I added <rmam>/<smam> based on the init string -- esr)
15575166124Srafanuts30|sperry uts30 with cp/m@1R1,
15576166124Srafan	am, bw, hs,
15577166124Srafan	cols#80, lines#24, wsl#40,
15578166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15579166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L,
15580166124Srafan	cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c,
15581166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
15582166124Srafan	cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH,
15583166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM,
15584166124Srafan	dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H,
15585166124Srafan	ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN,
15586166124Srafan	ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H,
15587166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H,
15588166124Srafan	rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI,
15589166124Srafan	rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m,
15590166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
15591166124Srafan	sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m,
15592166124Srafan	smul=\E[4m, tsl=\E], uc=\EPB,
1559350276Speter
1559450276Speter#### Tandem
1559550276Speter#
1559650276Speter# Tandem builds these things for use with its line of fault-tolerant
1559750276Speter# transaction-processing computers.  They aren't generally available
1559850276Speter# on the merchant market, and so are fairly uncommon.
1559950276Speter#
1560050276Speter
15601166124Srafantandem6510|adm3a repackaged by Tandem,
15602166124Srafan	use=adm3a,
1560350276Speter
1560450276Speter# A funny series of terminal that TANDEM uses.  The actual model numbers
1560550276Speter# have a fourth digit after 653 that designates minor variants.  These are
1560650276Speter# natively block-mode and rather ugly, but they have a character mode which
1560750276Speter# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
1560850276Speter# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
1560950276Speter# removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
15610166124Srafantandem653|t653x|Tandem 653x multipage terminal,
15611166124Srafan	OTbs, am, da, db, hs,
15612166124Srafan	cols#80, lines#24, wsl#64, xmc#1,
15613166124Srafan	clear=\EI, cub1=^H, cud1=^J, cuf1=\EC,
15614166124Srafan	cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r,
15615166124Srafan	ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s,
15616166124Srafan	rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo,
1561750276Speter
1561850276Speter#### Tandy/Radio Shack
1561950276Speter#
1562050276Speter# Tandy has a line of VDTs distinct from its microcomputers.
1562150276Speter#
1562250276Speter
15623166124Srafandmterm|deskmate terminal,
15624166124Srafan	am, bw,
15625166124Srafan	cols#80, lines#24,
15626166124Srafan	bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H,
15627166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
15628166124Srafan	cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I,
15629166124Srafan	ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB,
15630166124Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4,
15631166124Srafan	kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0,
15632166124Srafan	khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6,
15633166124Srafan	lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@,
15634166124Srafan	use=adm+sgr,
15635166124Srafandt100|dt-100|Tandy DT-100 terminal,
15636166124Srafan	xon,
15637166124Srafan	cols#80, lines#24, xmc#1,
15638166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15639166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15640166124Srafan	csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
15641166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
15642166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
15643166124Srafan	il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D,
15644166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i,
15645166124Srafan	kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~,
15646166124Srafan	kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H,
15647166124Srafan	knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5,
15648166124Srafan	lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m,
15649166124Srafan	sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
15650166124Srafandt100w|dt-100w|Tandy DT-100 terminal (wide mode),
15651166124Srafan	cols#132, use=dt100,
15652166124Srafandt110|Tandy DT-110 emulating ansi,
15653166124Srafan	xon,
15654166124Srafan	cols#80, lines#24,
15655166124Srafan	acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l,
15656166124Srafan	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
15657166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C,
15658166124Srafan	cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P,
15659166124Srafan	dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H,
15660166124Srafan	ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B,
15661166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K,
15662166124Srafan	kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~,
15663166124Srafan	kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~,
15664166124Srafan	khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1,
15665166124Srafan	lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9,
15666166124Srafan	lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
15667166124Srafan	smacs=^N, smso=\E[7m, smul=\E[4m,
15668166124Srafanpt210|TRS-80 PT-210 printing terminal,
15669166124Srafan	hc, os,
15670166124Srafan	cols#80,
15671166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1567250276Speter
1567350276Speter#### Tektronix (tek)
1567450276Speter#
15675166124Srafan# Tektronix tubes are graphics terminals.  Most of them use modified
1567650276Speter# oscilloscope technology incorporating a long-persistence green phosphor,
1567750276Speter# and support vector graphics on a main screen with an attached "dialogue
1567850276Speter# area" for interactive text.
1567950276Speter#
1568050276Speter
15681166124Srafantek|tek4012|tektronix 4012,
15682166124Srafan	OTbs, os,
15683166124Srafan	cols#75, lines#35,
15684166124Srafan	bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J,
15685166124Srafan	ff=\014$<1000>, is2=\E^O,
1568650276Speter# (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15687166124Srafantek4013|tektronix 4013,
15688166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012,
15689166124Srafantek4014|tektronix 4014,
15690166124Srafan	cols#81, lines#38,
15691166124Srafan	is2=\E\017\E9, use=tek4012,
1569250276Speter# (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15693166124Srafantek4015|tektronix 4015,
15694166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014,
15695166124Srafantek4014-sm|tektronix 4014 in small font,
15696166124Srafan	cols#121, lines#58,
15697166124Srafan	is2=\E\017\E\:, use=tek4014,
1569850276Speter# (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
15699166124Srafantek4015-sm|tektronix 4015 in small font,
15700166124Srafan	acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm,
1570150276Speter# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
1570250276Speter#
1570350276Speter# You need to have "stty nl2" in effect.  Some versions of tset(1) know
1570450276Speter# how to set it for you.
1570550276Speter#
1570650276Speter# It's got the Magic Cookie problem around stand-out mode.  If you can't
1570750276Speter# live with Magic Cookie, remove the :so: and :se: fields and do without
1570850276Speter# reverse video.  If you like reverse video stand-out mode but don't want
1570950276Speter# it to flash, change the letter 'H' to 'P' in the :so: field.
15710166124Srafantek4023|tektronix 4023,
15711166124Srafan	OTbs, am,
15712166124Srafan	OTdN#4, cols#80, lines#24, vt#4, xmc#1,
15713166124Srafan	OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J,
15714166124Srafan	cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H,
15715166124Srafan	rmso=^_@, smso=^_P,
1571650276Speter# It is recommended that you run the 4025 at 4800 baud or less;
1571750276Speter# various bugs in the terminal appear at 9600.  It wedges at the
1571850276Speter# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
1571950276Speter# on keyboard don't work.  You have to hit BREAK twice to get
1572050276Speter# one break at any speed - this is a documented feature.
15721166124Srafan# Can't use cursor motion because it's memory relative, and
15722166124Srafan# because it only works in the workspace, not the monitor.
1572350276Speter# Same for home. Likewise, standout only works in the workspace.
15724166124Srafan#
15725166124Srafan# <el> was commented out since vi and rogue seem to work better
1572650276Speter# simulating it with lots of spaces!
15727166124Srafan#
15728166124Srafan# <il1> and <il> had 145ms of padding, but that slowed down vi's ^U
1572950276Speter# and didn't seem necessary.
1573050276Speter#
15731166124Srafantek4024|tek4025|tek4027|tektronix 4024/4025/4027,
15732166124Srafan	OTbs, am, da, db,
15733166124Srafan	cols#80, it#8, lines#34, lm#0,
15734166124Srafan	bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M,
15735166124Srafan	cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r,
15736166124Srafan	cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r,
15737166124Srafan	cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r,
15738166124Srafan	dl=\037dli %p1%d\r\006, dl1=\037dli\r\006,
15739166124Srafan	ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010,
15740166124Srafan	il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r,
15741166124Srafan	ind=^F^J,
15742166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15743166124Srafan	rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r,
15744166124Srafan	smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r,
15745166124Srafantek4025-17|tek 4025 17 line window,
15746166124Srafan	lines#17, use=tek4025,
15747166124Srafantek4025-17-ws|tek 4025 17 line window in workspace,
15748166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r,
15749166124Srafan	rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r,
15750166124Srafan	smso=\037att e\r, use=tek4025-17,
15751166124Srafantek4025-ex|tek4027-ex|tek 4025/4027 w/!,
15752166124Srafan	is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r,
15753166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
1575450276Speter# Tektronix 4025a
1575550276Speter# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
1575650276Speter# The following status modes are assumed for normal operation (replace the
1575750276Speter# initial "!" by whatever the current command character is):
1575850276Speter#	!COM 29			# NOTE: changes command character to GS (^])
1575950276Speter#	^]DUP
1576050276Speter#	^]ECH R
1576150276Speter#	^]EOL
1576250276Speter#	^]RSS T
1576350276Speter#	^]SNO N
1576450276Speter#	^]STO 9 17 25 33 41 49 57 65 73
1576550276Speter# Other modes may be set according to communication requirements.
1576650276Speter# If the command character is inadvertently changed, termcap can't restore it.
1576750276Speter# Insert-character cannot be made to work on both top and bottom rows.
1576850276Speter# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
1576950276Speter# There also seems to be a problem with vertical motion, perhaps involving
1577050276Speter# delete/insert-line, following a typed carriage return.  This terminal sucks.
1577150276Speter# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1577250276Speter# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
1577350276Speter# work any more. -- esr)
15774166124Srafantek4025a|Tektronix 4025A,
15775166124Srafan	OTbs, OTpt, am, bw, da, db, xon,
15776166124Srafan	cols#80, it#8, lines#34,
15777166124Srafan	bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^],
15778166124Srafan	cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;,
15779166124Srafan	cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;,
15780166124Srafan	cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;,
15781166124Srafan	dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;,
15782166124Srafan	el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I,
15783166124Srafan	il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;,
15784166124Srafan	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;,
15785166124Srafan	tbc=\035sto;,
1578650276Speter# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
1578750276Speter# Here's the command file that I use to get rogue to work on the 4025.
1578850276Speter# It should work with any program using the old curses (e.g. it better
1578950276Speter# not try to scroll, or cursor addressing won't work.  Also, you can't
1579050276Speter# see the cursor.)
1579150276Speter# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
15792166124Srafantek4025-cr|tek 4025 for curses and rogue,
15793166124Srafan	OTbs, am,
15794166124Srafan	cols#80, it#8, lines#33,
15795166124Srafan	clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;,
15796166124Srafan	cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J,
15797166124Srafan	is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r,
15798166124Srafan	rmcup=\037wor 0, smcup=\037wor 33h,
1579950276Speter# next two lines commented out since curses only allows 128 chars, sigh.
1580050276Speter#	: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:\
1580150276Speter#	: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:
15802166124Srafantek4025ex|4025ex|4027ex|tek 4025 w/!,
15803166124Srafan	is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r,
15804166124Srafan	rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025,
15805166124Srafantek4105|tektronix 4105,
15806166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15807166124Srafan	cols#79, it#8, lines#29,
15808166124Srafan	acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z,
15809166124Srafan	clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C,
15810166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P,
15811166124Srafan	dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
15812166124Srafan	il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m,
15813166124Srafan	is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B,
15814166124Srafan	kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T,
15815166124Srafan	rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m,
15816166124Srafan	rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m,
15817166124Srafan	smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
15818166124Srafan	smul=\E[=5;<2m, tbc=\E[1g,
1581950276Speter
1582050276Speter# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
15821166124Srafantek4105-30|4015 emulating 30 line vt100,
15822166124Srafan	am, mir, msgr, xenl, xon,
15823166124Srafan	cols#80, it#8, lines#30, vt#3,
15824166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
15825166124Srafan	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
15826166124Srafan	clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15827166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15828166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
15829166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
15830166124Srafan	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
15831166124Srafan	enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H,
15832166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
15833166124Srafan	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
15834166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
15835166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
15836166124Srafan	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
15837166124Srafan	sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
15838166124Srafan	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
15839166124Srafan	use=vt100+fnkeys,
1584050276Speter
1584150276Speter# Tektronix 4105 from BRL
1584250276Speter# The following setup modes are assumed for normal operation:
1584350276Speter#	CODE ansi		CRLF no			DABUFFER 141
1584450276Speter#	DAENABLE yes		DALINES 30		DAMODE replace
1584550276Speter#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
1584650276Speter#	FLAGGING input		INSERTREPLACE replace	LFCR no
1584750276Speter#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
1584850276Speter#	SELECTCHARSET G1 0	TABS -2
1584950276Speter# Other setup modes may be set for operator convenience or communication
1585050276Speter# requirements; I recommend
1585150276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1585250276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1585350276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1585450276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
1585550276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1585650276Speter#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
1585750276Speter#	XMTDELAY 0
1585850276Speter# and factory color maps.  After setting these modes, save them with NVSAVE. No
1585950276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1586050276Speter# "IC" cannot be used in combination with "im" & "ei".
1586150276Speter# "tek4105a" is just a guess:
15862166124Srafantek4105a|Tektronix 4105,
15863166124Srafan	OTbs, OTpt, msgr, xon,
15864166124Srafan	OTkn#8, cols#80, it#8, lines#30, vt#3,
15865166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15866166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15867166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15868166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15869166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15870166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15871166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15872166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15873166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15874166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15875166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15876166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15877166124Srafan	lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15878166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15879166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15880166124Srafan	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>,
15881166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15882166124Srafan	smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
1588350276Speter
1588450276Speter#
1588550276Speter# Tektronix 4106/4107/4109 from BRL
1588650276Speter# The following setup modes are assumed for normal operation:
1588750276Speter#	CODE ansi		COLUMNMODE 80		CRLF no
1588850276Speter#	DABUFFER 141		DAENABLE yes		DALINES 32
1588950276Speter#	DAMODE replace		DAVISIBILITY yes	ECHO no
1589050276Speter#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
1589150276Speter#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
1589250276Speter#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
1589350276Speter#	TABS -2
1589450276Speter# Other setup modes may be set for operator convenience or communication
1589550276Speter# requirements; I recommend
1589650276Speter#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
1589750276Speter#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
1589850276Speter#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
1589950276Speter#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
1590050276Speter#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
1590150276Speter#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
1590250276Speter#	XMTDELAY 0
1590350276Speter# and factory color maps.  After setting these modes, save them with NVSAVE.  No
1590450276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
1590550276Speter# "IC" cannot be used in combination with "im" & "ei".
15906166124Srafantek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109,
15907166124Srafan	msgr, xon,
15908166124Srafan	cols#80, it#8, lines#32, vt#3,
15909166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
15910166124Srafan	civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J,
15911166124Srafan	cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr,
15912166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
15913166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
15914166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1,
15915166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
15916166124Srafan	ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
15917166124Srafan	il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1,
15918166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
15919166124Srafan	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ,
15920166124Srafan	kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5,
15921166124Srafan	lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM,
15922166124Srafan	rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1,
15923166124Srafan	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
15924166124Srafan	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>,
15925166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h,
15926166124Srafan	smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g,
1592750276Speter
15928166124Srafantek4107|tek4109|tektronix terminals 4107 4109,
15929166124Srafan	OTbs, am, mir, msgr, ul, xenl, xt,
15930166124Srafan	cols#79, it#8, lines#29,
15931166124Srafan	bel=^G, blink=\E%!1\E[5m$<2>\E%!0,
15932166124Srafan	bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M,
15933166124Srafan	cub1=^H, cud1=^J, cuf1=\EC,
15934166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3,
15935166124Srafan	dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J,
15936166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
15937166124Srafan	rev=\E%!1\E[7m$<2>\E%0, ri=\EI,
15938166124Srafan	rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0,
15939166124Srafan	sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0,
15940166124Srafan	sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0,
15941166124Srafan	smul=\E%!1\E[4m$<2>\E%!0,
1594250276Speter# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
1594350276Speter# see the note attached to tek4207.
15944166124Srafantek4207-s|Tektronix 4207 with sysline but no memory,
15945166124Srafan	eslok, hs,
15946166124Srafan	dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8,
15947166124Srafan	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,
15948166124Srafan	is2=\E7\E[?6l\E[2K\E[?6h\E8,
15949166124Srafan	tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107,
1595050276Speter
1595150276Speter# The 4110 series may be a wonderful graphics series, but they make the 4025
1595250276Speter# look good for screen editing.  In the dialog area, you can't move the cursor
1595350276Speter# off the bottom line.  Out of the dialog area, ^K moves it up, but there
1595450276Speter# is no way to scroll.
15955166124Srafan#
15956166124Srafan# Note that there is a floppy for free from Tek that makes the
1595750276Speter# 4112 emulate the vt52 (use the vt52 termcap). There is also
1595850276Speter# an expected enhancement that will use ANSI standard sequences.
15959166124Srafan#
15960166124Srafan# 4112 in non-dialog area pretending to scroll. It really wraps
1596150276Speter# but vi is said to work (more or less) in this mode.
15962166124Srafan#
1596350276Speter# 'vi' works reasonably well with this entry.
1596450276Speter#
15965166124Srafanotek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series,
15966166124Srafan	am,
15967166124Srafan	cols#80, lines#34,
15968166124Srafan	bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J,
15969166124Srafan	rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0,
1597050276Speter# The 4112 with the ANSI compatibility enhancement
15971166124Srafantek4112|tek4114|tektronix 4110 series,
15972166124Srafan	OTbs, am, db,
15973166124Srafan	cols#80, lines#34,
15974166124Srafan	cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C,
15975166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M,
15976166124Srafan	ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L,
15977166124Srafan	ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8,
15978166124Srafan	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m,
15979166124Srafantek4112-nd|4112 not in dialog area,
15980166124Srafan	OTns,
15981166124Srafan	cuu1=^K, use=tek4112,
15982166124Srafantek4112-5|4112 in 5 line dialog area,
15983166124Srafan	lines#5, use=tek4112,
1598450276Speter# (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
1598550276Speter# removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
1598650276Speter# Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
1598750276Speter# previously \0410 and \0411 sequences...I don't *think* they were supposed
1598850276Speter# to be 4-digit octal -- esr)
15989166124Srafantek4113|tektronix 4113 color graphics with 5 line dialog area,
15990166124Srafan	OTbs, am, da, eo,
15991166124Srafan	cols#80, lines#5,
15992166124Srafan	clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0,
15993166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
15994166124Srafan	is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0,
15995166124Srafantek4113-34|tektronix 4113 color graphics with 34 line dialog area,
15996166124Srafan	lines#34,
15997166124Srafan	is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113,
15998166124Srafan# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
1599950276Speter# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
1600050276Speter# :vb: needs enough delay to let you see the background color being toggled.
16001166124Srafantek4113-nd|tektronix 4113 color graphics with no dialog area,
16002166124Srafan	OTbs, am, eo,
16003166124Srafan	cols#80, it#8, lines#34,
16004166124Srafan	clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K,
16005166124Srafan	cvvis=\ELZ\EKA0,
16006166124Srafan	flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0,
16007166124Srafan	home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @,
16008166124Srafan	ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0,
1600950276Speter# This entry is from Tek. Inc.  (Brian Biehl)
1601050276Speter# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
16011166124Srafanotek4115|Tektronix 4115,
16012166124Srafan	OTbs, am, da, db, eo,
16013166124Srafan	cols#80, it#8, lines#34,
16014166124Srafan	cbt=\E[Z, clear=\E[H\E[2J,
16015166124Srafan	cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B,
16016166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
16017166124Srafan	cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J,
16018166124Srafan	el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100,
16019166124Srafan	il1=\E[L,
16020166124Srafan	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,
16021166124Srafan	kbs=^H, ri=\EM, rmam=\E[?7l,
16022166124Srafan	rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l,
16023166124Srafan	rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h,
16024166124Srafan	smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m,
16025166124Srafan	smul=\E[4m,
16026166124Srafantek4115|newer tektronix 4115 entry with more ANSI capabilities,
16027166124Srafan	am, xon,
16028166124Srafan	cols#80, lines#34,
16029166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
16030166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
16031166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16032166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM,
16033166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG,
16034166124Srafan	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
16035166124Srafan	il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D,
16036166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
16037166124Srafan	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l,
16038166124Srafan	rmso=\E[m, rmul=\E[m,
16039166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
16040166124Srafan	sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
16041166124Srafan	vpa=\E[%p1%{1}%+%dd,
1604250276Speter# The tek4125 emulates a vt100 incorrectly - the scrolling region
1604350276Speter# command is ignored.  The following entry replaces <csr> with the needed
1604450276Speter# <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
1604550276Speter# chokes on; and adds a lot of initialization for the tek dialog area.
1604650276Speter# Note that this entry uses all 34 lines and sets the cursor color to green.
1604750276Speter# Steve Jacobson 8/85
1604850276Speter# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
1604950276Speter# commented out, <smir>=\E1 because there's no <rmir>  -- esr)
16050166124Srafantek4125|tektronix 4125,
16051166124Srafan	lines#34,
16052166124Srafan	csr@, dl1=\E[1M, il1=\E[1L,
16053166124Srafan	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,
16054166124Srafan	rc@, sc@, smkx=\E=, use=vt100,
1605550276Speter
1605650276Speter# From: <jcoker@ucbic>
1605750276Speter# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
1605850276Speter# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
1605950276Speter# note that if jcoker wasn't confused you may be able to use this one.
1606050276Speter# I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
16061166124Srafantek4207|Tektronix 4207 graphics terminal with memory,
16062166124Srafan	am, bw, mir, msgr, ul, xenl,
16063166124Srafan	cols#80, it#8, lines#32,
16064166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>,
16065166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16066166124Srafan	cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J,
16067166124Srafan	el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>,
16068166124Srafan	il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5,
16069166124Srafan	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,
16070166124Srafan	kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H,
16071166124Srafan	rev=\E[7m, ri=\E[T,
16072166124Srafan	rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m,
16073166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m,
16074166124Srafan	smul=\E[4m, tbc=\E[1g,
1607550276Speter
1607650276Speter# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
1607750276Speter# (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
1607850276Speter# Tab had been given as \E2I,that must be the tab-set capability -- esr)
16079166124Srafantek4404|tektronix 4404,
16080166124Srafan	OTbs,
16081166124Srafan	cols#80, it#8, lines#32,
16082166124Srafan	blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
16083166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
16084166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M,
16085166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L,
16086166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8,
16087166124Srafan	rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l,
16088166124Srafan	rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m,
16089166124Srafan	smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h,
16090166124Srafan	smkx=\E[?1l, smso=\E[7m, smul=\E[4m,
1609150276Speter# Some unknown person wrote:
16092166124Srafan# I added the is string - straight Unix has ESC ; in the login
16093166124Srafan# string which sets a ct8500 into monitor mode (aka 4025 snoopy
16094166124Srafan# mode). The is string here cleans up a few things (but not
1609550276Speter# everything).
16096166124Srafanct8500|tektronix ct8500,
16097166124Srafan	am, bw, da, db,
16098166124Srafan	cols#80, lines#25,
16099166124Srafan	bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J,
16100166124Srafan	cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER,
16101166124Srafan	dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\,
16102166124Srafan	il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s,
16103166124Srafan	rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!,
1610450276Speter
1610550276Speter# Tektronix 4205 terminal.
1610650276Speter#
1610750276Speter# am is not defined because the wrap around occurs not when the char.
1610850276Speter# is placed in the 80'th column, but when we are attempting to type
1610950276Speter# the 81'st character on the line.  (esr: hmm, this is like the vt100
1611050276Speter# version of xenl, perhaps am + xenl would work!)
1611150276Speter#
1611250276Speter# Bold, dim, and standout are simulated by colors and thus not allowed
1611350276Speter# with colors.  The tektronix color table is mapped into the RGB color
1611450276Speter# table by setf/setb. All colors are reset to factory specifications by oc.
16115166124Srafan# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
1611650276Speter# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
1611750276Speter# interval then maps into pre-defined value.
16118166124Srafantek4205|tektronix 4205,
16119166124Srafan	ccc, mir, msgr,
16120166124Srafan	colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63,
16121166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16122166124Srafan	bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z,
16123166124Srafan	clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
16124166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
16125166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16126166124Srafan	dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX,
16127166124Srafan	ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I,
16128166124Srafan	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
16129166124Srafan	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,
16130166124Srafan	invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H,
16131166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA,
16132166124Srafan	kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER,
16133166124Srafan	kf7=\ES,
16134166124Srafan	oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1,
16135166124Srafan	op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=,
16136166124Srafan	rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m,
16137166124Srafan	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%;,
16138166124Srafan	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%;,
16139166124Srafan	sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N,
16140166124Srafan	smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m,
16141166124Srafan	smul=\E[4m, tbc=\E[1g,
1614250276Speter
1614350276Speter#### Teletype (tty)
1614450276Speter#
1614550276Speter# These are the hardcopy Teletypes from before AT&T bought the company,
1614650276Speter# clattering electromechanical dinosaurs in Bakelite cases that printed on
1614750276Speter# pulpy yellow roll paper.  If you remember these you go back a ways.
1614850276Speter# Teletype-branded VDTs are listed in the AT&T section.
1614950276Speter#
1615050276Speter# The earliest UNIXes were designed to use these clunkers; nroff and a few
1615150276Speter# other programs still default to emitting codes for the Model 37.
1615250276Speter#
1615350276Speter
16154166124Srafantty33|tty35|model 33 or 35 teletype,
16155166124Srafan	hc, os, xon,
16156166124Srafan	cols#72,
16157166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
16158166124Srafantty37|model 37 teletype,
16159166124Srafan	OTbs, hc, os, xon,
16160166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
16161166124Srafan	ind=^J,
1616250276Speter
1616350276Speter# There are known to be at least three flavors of the tty40, all seem more
1616450276Speter# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
1616550276Speter# awful braindamage, such as printing a visible newline indicator after each
1616650276Speter# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
1616750276Speter# braindamaged but has hope and is described here.  The 40-4 is a 3270
1616850276Speter# lookalike and beyond hope.  The terminal has visible bell but I don't know
1616950276Speter# it - it's null here to prevent it from showing the BL character.
1617050276Speter# There is an \EG in <nl> because of a bug in old vi (if stty says you have
1617150276Speter# a "newline" style terminal (-crmode) vi figures all it needs is nl
1617250276Speter# to get crlf, even if <cr> is not ^M.)
1617350276Speter# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
16174166124Srafantty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2,
16175166124Srafan	OTbs, xon,
16176166124Srafan	cols#80, lines#24,
16177166124Srafan	clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB,
16178166124Srafan	cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>,
16179166124Srafan	ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1,
16180166124Srafan	ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^],
16181166124Srafan	kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4,
16182166124Srafan	rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>,
16183166124Srafantty43|model 43 teletype,
16184166124Srafan	OTbs, am, hc, os, xon,
16185166124Srafan	cols#132,
16186166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1618750276Speter
1618850276Speter#### Tymshare
1618950276Speter#
1619050276Speter
1619150276Speter# You can add <is2=\E<> to put this 40-column mode, though I can't
1619250276Speter# for the life of me think why anyone would want to.
16193166124Srafanscanset|sc410|sc415|Tymshare Scan Set,
16194166124Srafan	am, bw, msgr,
16195166124Srafan	cols#80, lines#24,
16196166124Srafan	acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H,
16197166124Srafan	cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16198166124Srafan	cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED,
16199166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0,
16200166124Srafan	mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N,
1620150276Speter
1620250276Speter#### Volker-Craig (vc)
1620350276Speter#
1620450276Speter# If you saw a Byte Magazine cover with a terminal on it during the early
1620550276Speter# 1980s, it was probably one of these.  Carl Helmers liked them because
1620650276Speter# they could crank 19.2 and were cheap (that is, he liked them until he tried
1620750276Speter# to program one...)
1620850276Speter#
1620950276Speter
1621050276Speter# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
1621150276Speter# every other linefeed.
16212166124Srafanvc303|vc103|vc203|volker-craig 303,
16213166124Srafan	OTbs, OTns, am,
16214166124Srafan	cols#80, lines#24,
16215166124Srafan	bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
16216166124Srafan	cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I,
16217166124Srafan	kcuu1=^N, ll=\017$<1>W,
16218166124Srafanvc303a|vc403a|volker-craig 303a,
16219166124Srafan	clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>,
16220166124Srafan	home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303,
1622150276Speter# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
16222166124Srafanvc404|volker-craig 404,
16223166124Srafan	OTbs, am,
16224166124Srafan	cols#80, lines#24,
16225166124Srafan	bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16226166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
16227166124Srafan	ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J,
16228166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z,
16229166124Srafanvc404-s|volker-craig 404 w/standout mode,
16230166124Srafan	cud1=^J, rmso=^O, smso=^N, use=vc404,
1623150276Speter# From: <wolfgang@cs.sfu.ca>
1623250276Speter# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
16233166124Srafanvc414|vc414h|Volker-Craig 414H in sane escape mode.,
16234166124Srafan	OTbs, am,
16235166124Srafan	cols#80, lines#24,
16236166124Srafan	clear=\E\034$<40>, cud1=\E^K, cuf1=^P,
16237166124Srafan	cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3,
16238166124Srafan	dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R,
16239166124Srafan	ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P,
16240166124Srafan	kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE,
16241166124Srafan	kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2,
16242166124Srafan	lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8,
16243166124Srafan	rmso=\E^_, smso=\E^Y,
16244166124Srafanvc415|volker-craig 415,
16245166124Srafan	clear=^L, use=vc404,
1624650276Speter
1624750276Speter######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
1624850276Speter#
1624950276Speter
1625050276Speter#### IBM PC and clones
1625150276Speter#
1625250276Speter
1625350276Speter# The pcplot IBM-PC terminal emulation program is really messed up. It is
1625450276Speter# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
1625550276Speter# doesn't support scrolling regions, ignores add line commands, and ignores
1625650276Speter# delete line commands. Consequently, the resulting behavior looks like a
1625750276Speter# crude adm3a-type terminal.
1625850276Speter# Steve Jacobson 8/85
16259166124Srafanpcplot|pc-plot terminal emulation program,
16260166124Srafan	xenl@,
16261166124Srafan	csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100,
1626250276Speter# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
1626350276Speter# I've found that my KayPro II, running MDM730, continues to emulate an
1626450276Speter# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
1626550276Speter# system the following termcap entry works well:
1626650276Speter# I have noticed a couple of minor glitches, but nothing I can't work
1626750276Speter# around. (I added two capabilities from the BRL entry -- esr)
16268166124Srafankaypro|kaypro2|kaypro II,
16269166124Srafan	OTbs, am,
16270166124Srafan	cols#80, lines#24,
16271166124Srafan	bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L,
16272166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W,
16273166124Srafan	el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K,
1627450276Speter
1627550276Speter# From IBM, Thu May  5 19:35:27 1983
1627662449Speter# (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
16277166124Srafanibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS),
16278166124Srafan	OTbs, am,
16279166124Srafan	cols#80, lines#24,
16280166124Srafan	bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\,
16281166124Srafan	cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_,
1628250276Speter
16283166124Srafanibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX,
16284166124Srafan	OTbs, am, bw, eo, hs, km, msgr, ul,
16285166124Srafan	cols#80, it#8, lines#24,
16286166124Srafan	acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263,
16287166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M,
16288166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16289166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16290166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
16291166124Srafan	home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B,
16292166124Srafan	indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H,
16293166124Srafan	kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
16294166124Srafan	kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241,
16295166124Srafan	kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247,
16296166124Srafan	kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V,
16297166124Srafan	ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A,
16298166124Srafan	rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m,
16299166124Srafan	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
16300166124Srafan	sgr0=\E[m, smso=\E[7m, smul=\E[4m,
1630150276Speter
1630250276Speter#### Apple II
1630350276Speter#
16304166124Srafan# Apple II firmware console first, then various 80-column cards and
1630550276Speter# terminal emulators.  For two cents I'd toss all these in the UFO file
1630650276Speter# along with the 40-column apple entries.
1630750276Speter#
1630850276Speter
1630950276Speter# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
1631050276Speter#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
1631150276Speter#		function of TIC, not the firmware.
16312166124Srafan#	The clear key on a IIgs will do something like clear-screen,
1631350276Speter#		depending on what you're in.
16314166124SrafanappleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface,
16315166124Srafan	OTbs, am, bw, eo, msgr,
16316166124Srafan	cols#80, it#8, lines#24,
16317166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\,
16318166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16319166124Srafan	home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J,
16320166124Srafan	kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N,
16321166124Srafan	smso=^O,
1632250276Speter# Apple //e with 80-column card, entry from BRL
1632350276Speter# The modem interface is permitted to discard LF (maybe DC1), otherwise
1632450276Speter# passing characters to the 80-column firmware via COUT (PR#3 assumed).
1632550276Speter# Auto-wrap does not work right due to newline scrolling delay, which also
1632650276Speter# requires that you set "stty cr2".
1632750276Speter# Note: Cursor addressing is only available via the Pascal V1.1 entry,
1632850276Speter# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
1632950276Speter# using a terminal emulation program instead of the built-in firmware.
16330166124Srafanapple2e|Apple //e,
16331166124Srafan	bw, msgr,
16332166124Srafan	cols#80, lines#24,
16333166124Srafan	bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_,
16334166124Srafan	ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W,
16335166124Srafan	is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K,
16336166124Srafan	nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16337166124Srafan	smso=^O,
1633850276Speter# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
1633950276Speter# 4.20, with incoming and outgoing terminals both on 0, emulation On.
16340166124Srafanapple2e-p|Apple //e via Pascal,
16341166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H,
16342166124Srafan	kcud1=^J, use=apple2e,
1634350276Speter# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
1634450276Speter# Enable DC3/DC1 flow control with "stty ixon -ixany".
16345166124Srafanapple-ae|ASCII Express,
16346166124Srafan	OTbs, am, bw, msgr, nxon, xon,
16347166124Srafan	cols#80, it#8, lines#24,
16348166124Srafan	bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
16349166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16350166124Srafan	home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J,
16351166124Srafan	kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N,
16352166124Srafan	smso=^O,
16353166124SrafanappleII|apple ii plus,
16354166124Srafan	OTbs, am,
16355166124Srafan	cols#80, it#8, lines#24,
16356166124Srafan	clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\,
16357166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6,
16358166124Srafan	ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I,
16359166124Srafan	is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N,
16360166124Srafan	smso=^O,
1636150276Speter# Originally by Gary Ford 21NOV83
1636250276Speter# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
16363166124Srafanapple-80|apple II with smarterm 80 col,
16364166124Srafan	OTbs, am, bw,
16365166124Srafan	cols#80, lines#24,
16366166124Srafan	cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J,
16367166124Srafan	cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_,
16368166124Srafan	ed=\013$<10*/>, el=\035$<10/>, home=^Y,
16369166124Srafanapple-soroc|apple emulating soroc 120,
16370166124Srafan	am,
16371166124Srafan	cols#80, lines#24,
16372166124Srafan	bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
16373166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET,
16374166124Srafan	home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
1637550276Speter# From Peter Harrison, Computer Graphics Lab, San Francisco
1637650276Speter#   ucbvax!ucsfmis!harrison  .....uucp
1637750276Speter#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
1637850276Speter# "These two work.  If you don't have the inverse video chip for the
1637950276Speter# Apple with videx then remove the :so: and :se: fields."
1638050276Speter# (apple-videx: this used to be called DaleApple -- esr)
16381166124Srafanapple-videx|Apple with videx videoterm 80 column board with inverse video,
16382166124Srafan	OTbs, am, xenl,
16383166124Srafan	cols#80, it#8, lines#24,
16384166124Srafan	clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\,
16385166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16386166124Srafan	home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y,
16387166124Srafan	rmso=^Z2, sgr0=^Z2, smso=^Z3,
1638850276Speter# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
1638950276Speter#			      Apple Cat ][ 212 modem, + more all
1639050276Speter#			      controlled by ASCII Express: Pro.
1639150276Speter# From Dave Shaver <isucs1!shaver>
16392166124Srafanapple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell,
16393166124Srafan	OTbs, am, eo, xt,
16394166124Srafan	cols#80, lines#24,
16395166124Srafan	acsc=, clear=^L, cuf1=^\,
16396166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16397166124Srafan	flash=^W35^W06, home=^Y,
16398166124Srafan	is2=^V4^W06\017\rVisible Bell Installed.\016\r\n,
16399166124Srafan	rmso=^N, smso=^O,
16400166124Srafanapple-uterm|Ultraterm for Apple micros,
16401166124Srafan	OTbs, am, eo, xt,
16402166124Srafan	cols#80, lines#24,
16403166124Srafan	acsc=, clear=^L, cuf1=^\,
16404166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16405166124Srafan	home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O,
1640650276Speter# from trwrba!bwong (Bradley W. Wong):
1640750276Speter#
1640850276Speter# This entry assumes that you are using an apple with the UCSD Pascal
1640950276Speter# language card.  SYSTEM.MISCINFO is assumed to be the same as that
1641050276Speter# supplied with the standard apple except that screenwidth should be set
1641150276Speter# using SETUP to 80 columns.  Note that the right arrow in not mapped in
1641250276Speter# this termcap entry.  This is because that key, on the Apple, transmits
1641350276Speter# a ^U and would thus preempt the more useful "up" function of vi.
1641450276Speter#
1641550276Speter# HMH 2/23/81
16416166124Srafanapple80p|80-column apple with Pascal card,
16417166124Srafan	am, bw,
16418166124Srafan	cols#80, lines#24,
16419166124Srafan	clear=^Y^L, cuf1=^\\:,
16420166124Srafan	cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^],
16421166124Srafan	home=^Y, kcub1=^H,
1642250276Speter#
1642350276Speter# Apple II+ equipped with Videx 80 column card
1642450276Speter#
1642550276Speter# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
1642650276Speter# manually converted by D A Gwyn
1642750276Speter#
1642850276Speter# DO NOT use any terminal emulation with this data base, it works directly
1642950276Speter# with the Videx card.  This has been tested with vi 1200 baud and works fine.
1643050276Speter#
1643150276Speter# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
1643250276Speter# 1 screen, while in R2 ^U doesn't.
1643350276Speter# For inverse alternate character set add:
1643450276Speter#	<smacs>=^O:<rmacs>=^N:
1643550276Speter# (apple-v: added it#8 -- esr)
16436166124Srafanapple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520),
16437166124Srafan	am, xenl,
16438166124Srafan	cols#80, it#8, lines#24,
16439166124Srafan	bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H,
16440166124Srafan	cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c,
16441166124Srafan	cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>,
16442166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_,
16443166124Srafan	khome=^Y, rmso=^Z2, smso=^Z3,
16444166124Srafanapple-videx3|vapple|Apple II with 80 col card,
16445166124Srafan	OTbs, am,
16446166124Srafan	cols#80, lines#24,
16447166124Srafan	clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
16448166124Srafan	cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
16449166124Srafan	kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!,
16450166124Srafan	kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH,
1645150276Speter#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
16452166124Srafanaepro|Apple II+ running ASCII Express Pro--vt52,
16453166124Srafan	OTbs,
16454166124Srafan	cols#80, lines#24,
16455166124Srafan	clear=\014$<300/>, cuf1=\EC,
16456166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
16457166124Srafan	el=\EK, home=\EH,
1645850276Speter# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
16459166124Srafanapple-vm80|ap-vm80|apple with viewmax-80,
16460166124Srafan	OTbs,
16461166124Srafan	cols#80, lines#24,
16462166124Srafan	clear=\014$<300/>, cuf1=^\\:,
16463166124Srafan	cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_,
16464166124Srafan	ed=\013$<300/>, el=^], home=\031$<200/>,
1646550276Speter
1646650276Speter#### Apple Lisa & Macintosh
1646750276Speter#
1646850276Speter
1646950276Speter# (lisa: changed <cvvis> to <cnorm> -- esr)
16470166124Srafanlisa|apple lisa console display (black on white),
16471166124Srafan	OTbs, am, eo, msgr,
16472166124Srafan	cols#88, it#8, lines#32,
16473166124Srafan	acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L,
16474166124Srafan	cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C,
16475166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
16476166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L,
16477166124Srafan	is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B,
16478166124Srafan	kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m,
16479166124Srafan	sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m,
16480166124Srafanliswb|apple lisa console display (white on black),
16481166124Srafan	is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m,
16482166124Srafan	smso=\E[m, smul=\E[4m, use=lisa,
1648350276Speter
1648450276Speter# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
1648550276Speter# <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
1648650276Speter#
1648750276Speter# These entries assume that the 'Auto Wraparound' is enabled.
1648850276Speter# Xon-Xoff flow control should also be enabled.
1648950276Speter#
1649050276Speter# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
1649150276Speter# settings are in non-volatile memory and don't need to be reset upon login.
1649250276Speter# Also setting the number of columns glitches the screen annoyingly.
1649350276Speter# You can type "reset" to get them set.
1649450276Speter#
16495166124Srafanlisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation,
16496166124Srafan	OTbs, OTpt, am, xenl, xon,
16497166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
16498166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M,
16499166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16500166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16501166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
16502166124Srafan	el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD,
16503166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ,
16504166124Srafan	kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8,
16505166124Srafan	rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16506166124Srafan	rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r,
16507166124Srafan	sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
16508166124Srafan	tbc=\E[3g,
1650950276Speter# Lisaterm in 132 column ("wide") mode.
16510166124Srafanlisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
16511166124Srafan	cols#132,
16512166124Srafan	kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm,
1651350276Speter# Although MacTerminal has insert/delete line, it is commented out here
1651450276Speter# since it is much faster and cleaner to use the "lock scrolling region"
1651550276Speter# method of inserting and deleting lines due to the MacTerminal implementation.
1651650276Speter# Also, the "Insert/delete ch" strings have an extra character appended to them
1651750276Speter# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
1651850276Speter# supported by MacTerminal.
16519166124Srafanmac|macintosh|Macintosh with MacTerminal,
16520166124Srafan	xenl,
16521166124Srafan	OTdN#30,
16522166124Srafan	blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa,
1652350276Speter# Lisaterm in 132 column ("wide") mode.
16524166124Srafanmac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
16525166124Srafan	cols#132, use=mac,
1652650276Speter
1652797049Speter# The AppKit Terminal.app descriptions all have names beginning with
1652897049Speter# "nsterm". Note that the statusline (-s) versions use the window
1652997049Speter# titlebar as a phony status line, and may produce warnings during
1653097049Speter# compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
1653197049Speter# these warnings, or even ignore these entries entirely. Apps which
1653297049Speter# need to position the cursor or do other fancy stuff inside the status
1653397049Speter# line won't work with these entries. They're primarily useful for
1653497049Speter# programs like Pine which provide simple notifications in the status
1653597049Speter# line. Please note that non-ASCII characters don't work right in the
1653697049Speter# status line, since Terminal.app incorrectly interprets their Unicode
1653797049Speter# codepoints as MacRoman codepoints.
16538166124Srafan#
1653997049Speter# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
1654097049Speter#   "nsterm" to comply with the name length and case conventions and
1654197049Speter#   limitations of various software packages [notably Solaris terminfo
1654297049Speter#   and UNIX.] A single Apple_Terminal alias is retained for
1654397049Speter#   backwards-compatbility.
16544166124Srafan#
1654597049Speter# * Added function key support (F1-F4). These only work in Terminal.app
1654697049Speter#   version 51, hopefully the capabilities won't cause problems for people
1654797049Speter#   using version 41.
16548166124Srafan#
1654997049Speter# * Added "full color" (-c) entries which support the 16-color mode in
1655097049Speter#   version 51.
16551166124Srafan#
1655297049Speter# * By default, version 51 uses UTF-8 encoding with broken altcharset
1655397049Speter#   support, so "ASCII" (-7) entries without altcharset support were
1655497049Speter#   added.
1655597049Speter
1655697049Speter# nsterm - AppKit Terminal.app
1655776726Speter#
1655897049Speter# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
1655997049Speter# Terminal.app. It is a partial VT100 emulation with some xterm-like
1656097049Speter# extensions. This terminfo was written to describe versions 41
1656197049Speter# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
1656297049Speter# version 10.1) of Terminal.app.
1656376726Speter#
1656497049Speter# Terminal.app runs under the Mac OS X Quartz windowing system (and
1656597049Speter# other AppKit-supported windowing systems.)  On the Mac OS X machine I
1656697049Speter# use, the executable for Terminal.app is:
1656797049Speter# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
1656876726Speter#
1656997049Speter# If you're looking for a description of the full-screen system
1657097049Speter# console which runs under Apple's Darwin operating system on PowerPC
1657197049Speter# platforms, see the "xnuppc" entry instead.
1657276726Speter#
1657397049Speter# There were no function keys in version 41. In version 51, there are
1657497049Speter# four working function keys (F1, F2, F3 and F4.) The function keys
1657597049Speter# are included in all of these entries.
1657697049Speter#
1657797049Speter# It does not support mouse pointer position reporting. Under some
1657897049Speter# circumstances the cursor can be positioned using option-click; this
1657997049Speter# works by comparing the cursor position and the selected position,
1658097049Speter# and simulating enough cursor-key presses to move the cursor to the
1658197049Speter# selected position. This technique fails in all but the simplest
1658297049Speter# applications.
1658397049Speter#
1658497049Speter# It provides partial ANSI color support (background colors interacted
1658597049Speter# badly with bold in version 41, though, as reflected in :ncv:.) The
1658697049Speter# monochrome (-m) entries are useful if you've disabled color support
1658797049Speter# or use a monochrome monitor. The full color (-c) entries are useful
1658897049Speter# in version 51, which doesn't exhibit the background color bug. They
1658997049Speter# also enable an xterm-compatible 16-color mode.
1659097049Speter#
1659176726Speter# The configurable titlebar is set using xterm-compatible sequences;
1659297049Speter# it is used as a status bar in the statusline (-s) entries. Its width
1659397049Speter# depends on font sizes and window sizes, but 50 characters seems to
1659497049Speter# be the default for an 80x24 window.
1659576726Speter#
1659676726Speter# The MacRoman character encoding is used for some of the alternate
1659797049Speter# characters in the "MacRoman" entries; the "ASCII" (-7) entries
1659897049Speter# disable alternate character set support entirely, and the "VT100"
1659997049Speter# (-acs) entries rely instead on Terminal.app's own buggy VT100
1660097049Speter# graphics emulation, which seems to think the character encoding is
1660197049Speter# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
1660297049Speter# are useful in Terminal.app version 51, which supports UTF-8 and
1660397049Speter# other ASCII-compatible character encodings but does not correctly
1660497049Speter# implement VT100 graphics; once VT100 graphics are correctly
1660597049Speter# implemented in Terminal.app, the "VT100" (-acs) entries should be
1660697049Speter# usable in any ASCII-compatible character encoding [except perhaps
1660797049Speter# in UTF-8, where some experts argue for disallowing alternate
1660897049Speter# characters entirely.]
1660976726Speter#
1661076726Speter# Terminal.app reports "vt100" as the terminal type, but exports
1661176726Speter# several environment variables which may aid detection in a shell
1661297049Speter# profile (i.e. .profile or .login):
1661376726Speter#
1661476726Speter# TERM=vt100
1661576726Speter# TERM_PROGRAM=Apple_Terminal
1661697049Speter# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
1661797049Speter# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
1661897049Speter#
1661997049Speter# For example, the following Bourne shell script would detect the
1662097049Speter# correct terminal type:
1662197049Speter#
1662297049Speter# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
1662397049Speter# then
1662497049Speter#     export TERM
1662597049Speter#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
1662697049Speter#     then
1662797049Speter#         TERM="nsterm"
1662897049Speter#     else
1662997049Speter#         TERM="nsterm-c-7"
1663097049Speter#     fi
1663197049Speter# fi
1663297049Speter#
1663397049Speter# In a C shell derivative, this would be accomplished by:
1663497049Speter#
1663597049Speter# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
1663697049Speter#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
1663797049Speter#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
1663897049Speter#              setenv TERM "nsterm"
1663997049Speter#          else
1664097049Speter#              setenv TERM "nsterm-c-7"
1664197049Speter#          endif
1664297049Speter#     endif
1664397049Speter# endif
1664476726Speter
1664597049Speter# The '+' entries are building blocks
16646166124Srafannsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset,
16647166124Srafan	am, bw, msgr, xenl, xon,
16648166124Srafan	cols#80, it#8, lines#24,
16649166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
16650166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
16651166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
16652166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
16653166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
16654166124Srafan	home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J,
16655166124Srafan	kbs=\177, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
16656166124Srafan	kent=\EOM, rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l,
16657166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
16658166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
16659166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m,
16660166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16661166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+enq, use=vt100+pfkeys,
1666276726Speter
16663166124Srafannsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset,
16664166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
16665166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16666166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16667166124Srafan	smacs=^N, use=nsterm+7,
1666897049Speter
16669166124Srafannsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
16670166124Srafan	acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,
16671166124Srafan	enacs=\E(B\E)0, rmacs=^O,
16672166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
16673166124Srafan	smacs=^N, use=nsterm+7,
1667497049Speter
16675166124Srafannsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support,
16676166124Srafan	hs,
16677166124Srafan	wsl#50,
16678166124Srafan	dsl=\E]2;\007, fsl=^G, tsl=\E]2;,
1667997049Speter
16680166124Srafannsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors),
16681166124Srafan	op=\E[0m, use=ibm+16color,
1668297049Speter
16683166124Srafannsterm+c41|AppKit Terminal.app v41 color support,
16684166124Srafan	colors#8, ncv#37, pairs#64,
16685166124Srafan	op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1668697049Speter
1668797049Speter# These are different combinations of the building blocks
1668897049Speter
1668997049Speter# ASCII charset (-7)
16690166124Srafannsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome),
16691166124Srafan	use=nsterm+7,
1669297049Speter
16693166124Srafannsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline),
16694166124Srafan	use=nsterm+s, use=nsterm+7,
1669597049Speter
16696166124Srafannsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color),
16697166124Srafan	use=nsterm+c41, use=nsterm+7,
1669897049Speter
16699166124Srafannsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color),
16700166124Srafan	use=nsterm+c, use=nsterm+7,
1670197049Speter
16702166124Srafannsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline),
16703166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+7,
1670497049Speter
16705166124Srafannsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline),
16706166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+7,
1670797049Speter
1670897049Speter# VT100 alternate-charset (-acs)
16709166124Srafannsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome),
16710166124Srafan	use=nsterm+acs,
1671197049Speter
16712166124Srafannsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline),
16713166124Srafan	use=nsterm+s, use=nsterm+acs,
1671497049Speter
16715166124Srafannsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color),
16716166124Srafan	use=nsterm+c41, use=nsterm+acs,
1671797049Speter
16718166124Srafannsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color),
16719166124Srafan	use=nsterm+c, use=nsterm+acs,
1672097049Speter
16721166124Srafannsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline),
16722166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+acs,
1672397049Speter
16724166124Srafannsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline),
16725166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+acs,
1672697049Speter
1672797049Speter# MacRoman charset
16728166124Srafannsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome),
16729166124Srafan	use=nsterm+mac,
1673097049Speter
16731166124Srafannsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline),
16732166124Srafan	use=nsterm+s, use=nsterm+mac,
1673397049Speter
16734166124Srafannsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color),
16735166124Srafan	use=nsterm+c41, use=nsterm+mac,
1673697049Speter
16737166124Srafannsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color),
16738166124Srafan	use=nsterm+c, use=nsterm+mac,
1673997049Speter
16740166124Srafannsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline),
16741166124Srafan	use=nsterm+s, use=nsterm+c41, use=nsterm+mac,
1674297049Speter
16743166124Srafannsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline),
16744166124Srafan	use=nsterm+s, use=nsterm+c, use=nsterm+mac,
1674597049Speter
16746166124Srafan
16747166124Srafan# This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
16748166124Srafan# and D P Schreber comparing to nsterm-c-s-acs.
16749166124Srafan#
16750166124Srafan# D P Schreber notes that $TERM can be set in Terminal.app, e.g.,
16751166124Srafan#	defaults write com.apple.Terminal TermCapString nsterm-c-s-acs
16752166124Srafan# and that it is not set in Terminal's preferences dialog.
16753166124Srafannsterm-16color|AppKit Terminal.app v100.1.8 with MacOS X 10.3.9,
16754166124Srafan	kdch1=\E[3~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
16755166124Srafan	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
16756166124Srafan	knp=\E[6~, kpp=\E[5~, use=nsterm-c-s-acs,
16757166124Srafan
1675897049Speter# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
1675997049Speter#
1676097049Speter# On PowerPC platforms, Apple's Darwin operating system uses a
1676197049Speter# full-screen system console derived from a NetBSD framebuffer
1676297049Speter# console. It is an ANSI-style terminal, and is not really VT-100
1676397049Speter# compatible.
1676497049Speter#
1676597049Speter# Under Mac OS X, this is the system console driver used while in
1676697049Speter# single-user mode [reachable by holding down Command-S during the
1676797049Speter# boot process] and when logged in using console mode [reachable by
1676897049Speter# typing ">console" at the graphical login prompt.]
1676997049Speter#
1677097049Speter# If you're looking for a description of the Terminal.app terminal
1677197049Speter# emulator which runs under the Mac OS X Quartz windowing system (and
1677297049Speter# other AppKit-supported windowing systems,) see the "nsterm"
1677397049Speter# entry instead.
1677497049Speter#
1677597049Speter# NOTE: Under Mac OS X version 10.1, the default login window does not
1677697049Speter# prompt for user name, instead requiring an icon to be selected from
1677797049Speter# a list of known users. Since the special ">console" login is not in
1677897049Speter# this list, you must make one of two changes in the Login Window
1677997049Speter# panel of the Login section of System Prefs to make the special
1678097049Speter# ">console" login accessible. The first option is to enable 'Show
1678197049Speter# "Other User" in list for network users', which will add a special
1678297049Speter# "Other..." icon to the graphical login panel. Selecting "Other..."
1678397049Speter# will present the regular graphical login prompt. The second option
1678497049Speter# is to change the 'Display Login Window as:' setting to 'Name and
1678597049Speter# password entry fields', which replaces the login panel with a
1678697049Speter# graphical login prompt.
1678797049Speter#
1678897049Speter# There are no function keys, at least not in Darwin 1.3.
1678997049Speter#
1679097049Speter# It has no mouse support.
1679197049Speter#
1679297049Speter# It has full ANSI color support, and color combines correctly with
1679397049Speter# all three supported attributes: bold, inverse-video and underline.
1679497049Speter# However, bold colored text is almost unreadable (bolding is
1679597049Speter# accomplished using shifting and or-ing, and looks smeared) so bold
1679697049Speter# has been excluded from the list of color-compatible attributes
1679797049Speter# [using (ncv)]. The monochrome entry (-m) is useful if you use a
1679897049Speter# monochrome monitor.
1679997049Speter#
1680097049Speter# There is one serious bug with this terminal emulation's color
1680197049Speter# support: repositioning the cursor onto a cell with non-matching
1680297049Speter# colors obliterates that cell's contents, replacing it with a blank
1680397049Speter# and displaying a colored cursor in the "current" colors. There is
1680497049Speter# no complete workaround at present [other than using the monochrome
1680597049Speter# (-m) entries,] but removing the (msgr) capability seemed to help.
1680697049Speter#
1680797049Speter# The "standout" chosen was simple reverse-video, although a colorful
1680897049Speter# standout might be more aesthetically pleasing. Similarly, the bold
1680997049Speter# chosen is the terminal's own smeared bold, although a simple
1681097049Speter# color-change might be more readable. The color-bold (-b) entries
1681197049Speter# uses magenta colored text for bolding instead. The fancy color (-f
1681297049Speter# and -f2) entries use color for bold, standout and underlined text
1681397049Speter# (underlined text is still underlined, though.)
1681497049Speter#
1681597049Speter# Apparently the terminal emulator does support a VT-100-style
1681697049Speter# alternate character set, but all the alternate character set
1681797049Speter# positions have been left blank in the font. For this reason, no
1681897049Speter# alternate character set capabilities have been included in this
1681997049Speter# description. The console driver appears to be ASCII-only, so (enacs)
1682097049Speter# has been excluded [although the VT-100 sequence does work.]
1682197049Speter#
1682297049Speter# The default Mac OS X and Darwin installation reports "vt100" as the
1682397049Speter# terminal type, and exports no helpful environment variables. To fix
1682497049Speter# this, change the "console" entry in /etc/ttys from "vt100" to
1682597049Speter# "xnuppc-WxH", where W and H are the character dimensions of your
1682697049Speter# console (see below.)
1682797049Speter#
1682897049Speter# The font used by the terminal emulator is apparently one originally
1682997049Speter# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
1683097049Speter# file includes descriptions for the following geometries:
1683197049Speter#
1683297049Speter#     Pixels        Characters   Entry Name (append -m for monochrome)
1683397049Speter#    -------------------------------------------------------------------
1683497049Speter#     640x400       80x25        xnuppc-80x25
1683597049Speter#     640x480       80x30        xnuppc-80x30
1683697049Speter#     720x480       90x30        xnuppc-90x30
1683797049Speter#     800x600       100x37       xnuppc-100x37
1683897049Speter#     896x600       112x37       xnuppc-112x37
1683997049Speter#     1024x640      128x40       xnuppc-128x40
1684097049Speter#     1024x768      128x48       xnuppc-128x48
1684197049Speter#     1152x768      144x48       xnuppc-144x48
1684297049Speter#     1280x1024     160x64       xnuppc-160x64
1684397049Speter#     1600x1024     200x64       xnuppc-200x64
1684497049Speter#     1600x1200     200x75       xnuppc-200x75
1684597049Speter#     2048x1536     256x96       xnuppc-256x96
1684697049Speter#
1684797049Speter# The basic "xnuppc" entry includes no size information, and the
1684897049Speter# emulator includes no reporting capability, so you'll be at the mercy
1684997049Speter# of the TTY device (which reports incorrectly on my hardware.) The
1685097049Speter# color-bold entries do not include size information.
1685197049Speter
1685297049Speter# The '+' entries are building blocks
16853166124Srafanxnuppc+basic|Darwin PowerPC Console basic capabilities,
16854166124Srafan	am, bce, mir, xenl,
16855166124Srafan	it#8,
16856166124Srafan	bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr,
16857166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
16858166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
16859166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K,
16860166124Srafan	el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=\177,
16861166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8,
16862166124Srafan	rev=\E[7m, ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m,
16863166124Srafan	rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
16864166124Srafan	sc=\E7,
16865166124Srafan	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16866166124Srafan	sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m,
16867166124Srafan	smul=\E[4m, tbc=\E[3g, use=vt100+keypad,
1686897049Speter
16869166124Srafanxnuppc+c|Darwin PowerPC Console ANSI color support,
16870166124Srafan	colors#8, ncv#32, pairs#64,
16871166124Srafan	op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
1687276726Speter
16873166124Srafanxnuppc+b|Darwin PowerPC Console color-bold support,
16874166124Srafan	ncv#32,
16875166124Srafan	bold=\E[35m,
16876166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m,
16877166124Srafan	use=xnuppc+basic,
1687876726Speter
16879166124Srafanxnuppc+f|Darwin PowerPC Console fancy color support,
16880166124Srafan	ncv#35,
16881166124Srafan	sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%?%p3%t;7%;m,
16882166124Srafan	smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b,
1688376726Speter
16884166124Srafanxnuppc+f2|Darwin PowerPC Console alternate fancy color support,
16885166124Srafan	ncv#35,
16886166124Srafan	bold=\E[33m,
16887166124Srafan	sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%?%p3%t;7%;m,
16888166124Srafan	smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic,
1688997049Speter
1689097049Speter# Building blocks for specific screen sizes
16891166124Srafanxnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels),
16892166124Srafan	cols#80, lines#25,
1689397049Speter
16894166124Srafanxnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels),
16895166124Srafan	cols#80, lines#30,
1689697049Speter
16897166124Srafanxnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels),
16898166124Srafan	cols#90, lines#30,
1689997049Speter
16900166124Srafanxnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels),
16901166124Srafan	cols#100, lines#37,
1690297049Speter
16903166124Srafanxnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels),
16904166124Srafan	cols#112, lines#37,
1690597049Speter
16906166124Srafanxnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels),
16907166124Srafan	cols#128, lines#40,
1690897049Speter
16909166124Srafanxnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels),
16910166124Srafan	cols#128, lines#48,
1691197049Speter
16912166124Srafanxnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels),
16913166124Srafan	cols#144, lines#48,
1691497049Speter
16915166124Srafanxnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels),
16916166124Srafan	cols#160, lines#64,
1691797049Speter
16918166124Srafanxnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels),
16919166124Srafan	cols#200, lines#64,
1692097049Speter
16921166124Srafanxnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels),
16922166124Srafan	cols#200, lines#75,
1692397049Speter
16924166124Srafanxnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels),
16925166124Srafan	cols#256, lines#96,
1692697049Speter
1692797049Speter# These are different combinations of the building blocks
1692897049Speter
16929166124Srafanxnuppc-m|darwin-m|Darwin PowerPC Console (monochrome),
16930166124Srafan	use=xnuppc+basic,
1693197049Speter
16932166124Srafanxnuppc|darwin|Darwin PowerPC Console (color),
16933166124Srafan	use=xnuppc+c, use=xnuppc+basic,
1693497049Speter
16935166124Srafanxnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold),
16936166124Srafan	use=xnuppc+b,
1693797049Speter
16938166124Srafanxnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold),
16939166124Srafan	use=xnuppc+b, use=xnuppc+c,
1694097049Speter
16941166124Srafanxnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome),
16942166124Srafan	use=xnuppc+f,
1694397049Speter
16944166124Srafanxnuppc-f|darwin-f|Darwin PowerPC Console (fancy color),
16945166124Srafan	use=xnuppc+f, use=xnuppc+c,
1694697049Speter
16947166124Srafanxnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome),
16948166124Srafan	use=xnuppc+f2,
1694997049Speter
16950166124Srafanxnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color),
16951166124Srafan	use=xnuppc+f2, use=xnuppc+c,
1695297049Speter
1695397049Speter# Combinations for specific screen sizes
16954166124Srafanxnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25,
16955166124Srafan	use=xnuppc+80x25, use=xnuppc+basic,
1695697049Speter
16957166124Srafanxnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25,
16958166124Srafan	use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic,
1695997049Speter
16960166124Srafanxnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30,
16961166124Srafan	use=xnuppc+80x30, use=xnuppc+basic,
1696297049Speter
16963166124Srafanxnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30,
16964166124Srafan	use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic,
1696597049Speter
16966166124Srafanxnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30,
16967166124Srafan	use=xnuppc+90x30, use=xnuppc+basic,
1696897049Speter
16969166124Srafanxnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30,
16970166124Srafan	use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic,
1697197049Speter
16972166124Srafanxnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37,
16973166124Srafan	use=xnuppc+100x37, use=xnuppc+basic,
1697497049Speter
16975166124Srafanxnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37,
16976166124Srafan	use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic,
1697797049Speter
16978166124Srafanxnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37,
16979166124Srafan	use=xnuppc+112x37, use=xnuppc+basic,
1698097049Speter
16981166124Srafanxnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37,
16982166124Srafan	use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic,
1698397049Speter
16984166124Srafanxnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40,
16985166124Srafan	use=xnuppc+128x40, use=xnuppc+basic,
1698697049Speter
16987166124Srafanxnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40,
16988166124Srafan	use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic,
1698997049Speter
16990166124Srafanxnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48,
16991166124Srafan	use=xnuppc+128x48, use=xnuppc+basic,
1699297049Speter
16993166124Srafanxnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48,
16994166124Srafan	use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic,
1699597049Speter
16996166124Srafanxnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48,
16997166124Srafan	use=xnuppc+144x48, use=xnuppc+basic,
1699897049Speter
16999166124Srafanxnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48,
17000166124Srafan	use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic,
1700197049Speter
17002166124Srafanxnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64,
17003166124Srafan	use=xnuppc+160x64, use=xnuppc+basic,
1700497049Speter
17005166124Srafanxnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64,
17006166124Srafan	use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic,
1700797049Speter
17008166124Srafanxnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64,
17009166124Srafan	use=xnuppc+200x64, use=xnuppc+basic,
1701097049Speter
17011166124Srafanxnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64,
17012166124Srafan	use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic,
1701397049Speter
17014166124Srafanxnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75,
17015166124Srafan	use=xnuppc+200x75, use=xnuppc+basic,
1701697049Speter
17017166124Srafanxnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75,
17018166124Srafan	use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic,
1701997049Speter
17020166124Srafanxnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96,
17021166124Srafan	use=xnuppc+256x96, use=xnuppc+basic,
1702297049Speter
17023166124Srafanxnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96,
17024166124Srafan	use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic,
1702597049Speter
1702650276Speter#### Radio Shack/Tandy
1702750276Speter#
1702850276Speter
1702950276Speter# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
1703050276Speter# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
1703150276Speter# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
17032166124Srafancoco3|os9LII|Tandy CoCo3 24*80 OS9 Level II,
17033166124Srafan	OTbs, am,
17034166124Srafan	cols#80, it#8, lines#24,
17035166124Srafan	bel=^G, blink=^_", bold=\E\:^A, civis=^E\s,
17036166124Srafan	clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F,
17037166124Srafan	cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I,
17038166124Srafan	dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J,
17039166124Srafan	kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#,
17040166124Srafan	sgr0=\037!\E\:\0, smso=^_\s, smul=^_",
1704150276Speter# (trs2: removed obsolete ":nl=^_:" -- esr)
17042166124Srafantrs2|trsII|trs80II|Radio Shack Model II using P&T CP/M,
17043166124Srafan	OTbs, am, msgr,
17044166124Srafan	cols#80, it#8, lines#24,
17045166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^],
17046166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B,
17047166124Srafan	el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\,
17048166124Srafan	kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N,
1704950276Speter# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
1705050276Speter# (This had extension capabilities
1705150276Speter#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
1705250276Speter#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
1705350276Speter# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
17054166124Srafantrs16|trs-80 model 16 console,
17055166124Srafan	OTbs, am,
17056166124Srafan	cols#80, it#8, lines#24,
17057166124Srafan	acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L,
17058166124Srafan	cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
17059166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
17060166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
17061166124Srafan	ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
17062166124Srafan	kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S,
17063166124Srafan	khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7,
17064166124Srafan	lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@,
17065166124Srafan	smacs=\ERG, smso=\ERD,
1706650276Speter
1706750276Speter#### Atari ST
1706850276Speter#
1706950276Speter
1707050276Speter# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
17071166124Srafanatari|atari st,
17072166124Srafan	OTbs, am,
17073166124Srafan	cols#80, it#8, lines#25,
17074166124Srafan	clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC,
17075166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
17076166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB,
17077166124Srafan	kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep,
1707850276Speter# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
1707950276Speter# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
17080166124Srafanuniterm|uniterm49|UniTerm VT220 emulator with 49 lines,
17081166124Srafan	lines#49,
17082166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H,
17083166124Srafan	use=vt220,
1708450276Speter# MiNT VT52 emulation. 80 columns, 25 rows.
1708550276Speter# MiNT is Now TOS, the operating system which comes with all Ataris now
1708650276Speter# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
1708750276Speter# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
1708850276Speter# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
17089166124Srafanst52|Atari ST with VT52 emulation,
17090166124Srafan	am, km,
17091166124Srafan	cols#80, lines#25,
17092166124Srafan	bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED,
17093166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
17094166124Srafan	cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL,
17095166124Srafan	ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1,
17096166124Srafan	kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M,
17097166124Srafan	kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>,
17098166124Srafan	kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G,
17099166124Srafan	kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek,
17100166124Srafan	ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq,
17101166124Srafan	smcup=\Ee, smso=\Ep,
17102166124Srafan
1710350276Speter#### Commodore Business Machines
1710450276Speter#
1710550276Speter# Formerly located in West Chester, PA; went spectacularly bust in 1994
1710650276Speter# after years of shaky engineering and egregious mismanagement.  Made one
1710750276Speter# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
1710850276Speter# C-128, VIC-20).  The C-64 is said to have been the most popular machine
1710950276Speter# ever (most units sold); they can still be found gathering dust in closets
1711050276Speter# everywhere.
1711150276Speter#
1711250276Speter
1711350276Speter# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
1711450276Speter# Added a few more entries, converted caret-type control sequence (^x) entries
1711550276Speter# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
1711662449Speter# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
1711750276Speter#
1711850276Speter# :as:, :ae:			Support for alternate character sets.
1711950276Speter# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
1712050276Speter# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
1712150276Speter#     This one appears to fix a problem I always had with a line ending
1712250276Speter#     at 'width+1' (I think) followed by a blank line in vi. The blank
1712350276Speter#     line tended to disappear and reappear depending on how the screen
1712450276Speter#     was refreshed. Note that this is probably needed only if you use
1712550276Speter#     something like a Dnet Fterm with the window sized to some peculiar
1712650276Speter#     dimension larger than 80 columns.
1712750276Speter# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
1712850276Speter# (amiga: removed obsolete :kn#10:,
1712950276Speter# also added empty <acsc> to suppress a warning --esr)
17130166124Srafanamiga|Amiga ANSI,
17131166124Srafan	OTbs, am, bw, xenl,
17132166124Srafan	cols#80, lines#24,
17133166124Srafan	acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z,
17134166124Srafan	civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD,
17135166124Srafan	cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
17136166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
17137166124Srafan	cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17138166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
17139166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S,
17140166124Srafan	indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H,
17141166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~,
17142166124Srafan	kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~,
17143166124Srafan	kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m,
17144166124Srafan	ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m,
17145166124Srafan	rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m,
1714650276Speter
1714750276Speter# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
1714850276Speter# (amiga: added empty <acsc> to suppress a warning.
1714950276Speter# I'm told this entry screws up badly with AS225, the Amiga
1715050276Speter# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
17151166124Srafanamiga-h|Hans Verkuil's Amiga ANSI,
17152166124Srafan	OTbs, bw, msgr,
17153166124Srafan	cols#80, lines#24,
17154166124Srafan	acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z,
17155166124Srafan	civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M,
17156166124Srafan	cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B,
17157166124Srafan	cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH,
17158166124Srafan	cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P,
17159166124Srafan	dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G,
17160166124Srafan	home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S,
17161166124Srafan	indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H,
17162166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17163166124Srafan	kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~,
17164166124Srafan	kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~,
17165166124Srafan	kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T,
17166166124Srafan	rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m,
17167166124Srafan	rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l,
17168166124Srafan	smso=\2337m, smul=\2334m,
1716950276Speter
1717056639Speter# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
17171166124Srafan#
17172166124Srafan# Pavel Fedin added
17173166124Srafan#	Home    Shift+Left
17174166124Srafan#	End     Shift+Right
17175166124Srafan#	PgUp    Shift+Up
17176166124Srafan#	PgDn    Shift+Down
17177166124Srafanamiga-8bit|Amiga ANSI using 8-bit controls,
17178166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17179166124Srafan	ind=\204, indn@, kend=\233 @, khome=\233 A, knp=\233S,
17180166124Srafan	kpp=\233T, ri=\215, rin@, use=amiga-h,
1718156639Speter
1718266963Speter# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
1718366963Speter# requires use of appropriate preferences settings.
17184166124Srafanamiga-vnc|Amiga using VNC console (black on light gray),
17185166124Srafan	am, da, db, msgr, ndscr,
17186166124Srafan	btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256,
17187166124Srafan	bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p,
17188166124Srafan	clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M,
17189166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17190166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17191166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17192166124Srafan	cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
17193166124Srafan	dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G,
17194166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED,
17195166124Srafan	indn=\E[%p1%dS, invis=\E8m,
17196166124Srafan	is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17197166124Srafan	kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17198166124Srafan	kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~,
17199166124Srafan	kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~,
17200166124Srafan	kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~,
17201166124Srafan	kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m,
17202166124Srafan	rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J,
17203166124Srafan	rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec,
17204166124Srafan	rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h,
17205166124Srafan	setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m,
17206166124Srafan	setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m,
17207166124Srafan	sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h,
17208166124Srafan	smso=\E[1m, smul=\E[4m,
1720966963Speter
17210166124Srafan# MorphOS on Genesi Pegasos
17211166124Srafan# By Pavel Fedin <sonic_amiga@rambler.ru>
17212166124Srafanmorphos,
17213166124Srafan	acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L,
17214166124Srafan	ind=\204, indn@, kend=\23345~, kf11=\23320~, kf12=\23321~,
17215166124Srafan	khome=\23344~, kich1=\23340~, knp=\23342~, kpp=\23341~,
17216166124Srafan	ri=\215, rin@, use=amiga-h,
17217166124Srafan
1721850276Speter# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
1721950276Speter# 	I'm trying to write a termcap for a commodore b-128, and I'm
1722050276Speter# having a little trouble. I've had to map most of my control characters
1722150276Speter# to something that unix will accept (my delete-char is a ctrl-t, etc),
1722250276Speter# and create some functions (like cm), but thats life.
1722350276Speter# 	The problem is with the arrow keys - right, and up work fine, but
1722450276Speter# left deletes the previous character and down I just can't figure out.
1722550276Speter# Jove knows what I want, but I don't know what it's sending to me (it
1722650276Speter# isn't thats bound to next-line in jove).
1722750276Speter# 	Anybody got any ideas? Here's my termcap.
1722850276Speter# DAG -- I changed his "^n" entries to "\n"; see if that works.
1722950276Speter#
17230166124Srafancommodore|b-128|Commodore B-128 micro,
17231166124Srafan	am, bw,
17232166124Srafan	OTdN#20, cols#80, lines#24, pb#150,
17233166124Srafan	OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J,
17234166124Srafan	cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P,
17235166124Srafan	dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>,
17236166124Srafan	home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>,
17237166124Srafan	kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=,
17238166124Srafan	smir=,
1723950276Speter
1724050276Speter#### North Star
1724150276Speter#
1724250276Speter# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
17243166124Srafannorthstar|North Star Advantage,
17244166124Srafan	OTbs,
17245166124Srafan	cols#80, lines#24,
17246166124Srafan	clear=\004$<200/>,
17247166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>,
17248166124Srafan	el=\016$<200/>, home=\034\032$<200/>,
1724950276Speter
1725050276Speter#### Osborne
1725150276Speter#
1725250276Speter# Thu Jul  7 03:55:16 1983
17253166124Srafan#
17254166124Srafan# As an aside, be careful; it may sound like an anomaly on the
17255166124Srafan# Osborne, but with the 80-column upgrade, it's too easy to
1725650276Speter# enter lines >80 columns!
17257166124Srafan#
1725850276Speter# I've already had several comments...
17259166124Srafan# The Osborne-1 with the 80-col option is capable of being
17260166124Srafan# 52, 80, or 104 characters wide; default to 80 for compatibility
1726150276Speter# with most systems.
17262166124Srafan#
1726350276Speter# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
17264166124Srafanosborne-w|osborne1-w|osborne I in 104-column mode,
17265166124Srafan	msgr, ul, xt,
17266166124Srafan	cols#104, lines#24,
17267166124Srafan	bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17268166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17269166124Srafan	dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J,
17270166124Srafan	kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El,
1727150276Speter# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
17272166124Srafanosborne|osborne1|osborne I in 80-column mode,
17273166124Srafan	OTbs, am, mir, msgr, ul, xhp,
17274166124Srafan	OTdB#4, cols#80, lines#24,
17275166124Srafan	clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L,
17276166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
17277166124Srafan	dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H,
17278166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E),
17279166124Srafan	rmul=\Em, smir=\EQ, smso=\E(, smul=\El,
1728050276Speter#
1728150276Speter# Osborne Executive definition from BRL
1728250276Speter# Similar to tvi920
1728350276Speter# Added by David Milligan and Tom Smith (SMU)
17284166124Srafanosexec|Osborne executive,
17285166124Srafan	OTbs, am,
17286166124Srafan	OTug#1, cols#80, lines#24, xmc#1,
17287166124Srafan	OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17288166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
17289166124Srafan	dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE,
17290166124Srafan	is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L,
17291166124Srafan	kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r,
17292166124Srafan	kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r,
17293166124Srafan	kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej,
17294166124Srafan	smul=\El, tbc=\E3,
1729550276Speter
1729650276Speter#### Console types for obsolete UNIX clones
1729750276Speter#
1729850276Speter# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
1729950276Speter# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
1730050276Speter# were commercial, Minix an educational tool sold in conjunction with a book.
1730150276Speter# Memory-segmentation limits and a strong tendency to look like V7 long after
1730250276Speter# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
1730350276Speter# and Minix were ported to 32-bit Intel boxes, only to be run over by a
17304166124Srafan# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
1730550276Speter# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
1730650276Speter# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
1730750276Speter# even as single processes under SunOS and the Macintosh OS.
1730850276Speter#
1730950276Speter
1731050276Speter# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
17311166124Srafanminix|minix console (v1.7),
17312166124Srafan	am, xenl,
17313166124Srafan	cols#80, it#8, lines#25,
17314166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17315166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17316166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17317166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17318166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17319166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17320166124Srafan	is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17321166124Srafan	kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S,
17322166124Srafan	kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +,
17323166124Srafan	lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM,
17324166124Srafan	rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1732550276Speter# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
17326166124Srafanminix-old|minix console (v1.5),
17327166124Srafan	xon,
17328166124Srafan	cols#80, it#8, lines#25,
17329166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M,
17330166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
17331166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17332166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17333166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I,
17334166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
17335166124Srafan	kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
17336166124Srafan	kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G,
17337166124Srafan	khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m,
17338166124Srafan	rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m,
1733950276Speter# The linewrap option can be specified by editing /usr/include/minix/config.h
1734050276Speter# before recompiling the minix 1.5 kernel.
17341166124Srafanminix-old-am|minix console with linewrap,
17342166124Srafan	am, use=minix-old,
1734350276Speter
17344166124Srafanpc-minix|minix console on an Intel box,
17345166124Srafan	use=klone+acs, use=minix,
1734650276Speter
1734750276Speter# According to the Coherent 2.3 manual, the PC console is similar
1734850276Speter# to a z19. The differences seem to be (1) 25 lines, (2) no status
1734950276Speter# line, (3) standout is broken, (4) ins/del line is broken, (5)
1735050276Speter# has blinking and bold.
17351166124Srafanpc-coherent|pcz19|coherent|IBM PC console running Coherent,
17352166124Srafan	am, mir,
17353166124Srafan	cols#80, it#8, lines#25,
17354166124Srafan	bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
17355166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN,
17356166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED,
17357166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO,
17358166124Srafan	rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep,
1735950276Speter
1736050276Speter# According to the Venix 1.1 manual, the PC console is similar
17361166124Srafan# to a DEC vt52.  Differences seem to be (1) arrow keys send
1736250276Speter# different strings, (2) enhanced standout, (3) added insert/delete line.
1736350276Speter# Note in particular that it doesn't have automatic margins.
1736450276Speter# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
1736550276Speter# not described here because this derives from an old termcap entry.
17366166124Srafanpc-venix|venix|IBM PC console running Venix,
17367166124Srafan	cols#80, it#8, lines#25,
17368166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
17369166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
17370166124Srafan	ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK,
17371166124Srafan	kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI,
1737250276Speter
1737350276Speter#### Miscellaneous microcomputer consoles
1737450276Speter#
1737550276Speter# If you know anything more about any of these, please tell me.
1737650276Speter#
1737750276Speter
1737850276Speter# The MAI Basic Four computer was obsolete at the end of the 1980s.
17379166124Srafan# It may be used as a terminal by putting it in "line" mode as seen on
1738050276Speter# one of the status lines.
17381166124Srafan# Initialization is similar to CIT80. <is2> will set ANSI mode for you.
1738250276Speter# Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
17383166124Srafan# wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I
1738450276Speter# used \ED instead.
1738550276Speter# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
17386166124Srafanmai|basic4|MAI Basic Four in ansi mode,
17387166124Srafan	am, da, db, mir, msgr,
17388166124Srafan	cols#82, it#8, lines#25,
17389166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h,
17390166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X,
17391166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P,
17392166124Srafan	dl1=\E[M, ed=^_, el=^^, home=^], ht=^I,
17393166124Srafan	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED,
17394166124Srafan	is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H,
17395166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
17396166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
17397166124Srafan	kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T,
17398166124Srafan	rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m,
17399166124Srafan	smir=\E[4h, smso=\E[7m, smul=\E[4m,
1740050276Speter# basis from Peter Harrison, Computer Graphics Lab, San Francisco
1740150276Speter#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
1740262449Speter#
1740362449Speter# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
1740462449Speter# The Basis 108 was a Apple II clone, manufactured by the "Basis
17405166124Srafan# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
1740662449Speter# about 1,5 km from where I live, but doesn't build own computers any
1740762449Speter# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
1740862449Speter# equipped with one or two 5.25" disk drives, had a monochrome and colour
1740962449Speter# video output for a TV set or a dedicated monitor and several slots for
1741062449Speter# Apple II cards. Basis 108 were quite popular at german schools before
1741162449Speter# the advent of the IBM PC. They run, for example, the UCSD Pascal
1741262449Speter# development system (which I used even in 1993 to program the steering
1741362449Speter# and data recording for our school's experimental solar panel :), Apple DOS
1741462449Speter# or CP/M.
1741550276Speter# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
17416166124Srafanbasis|BASIS108 computer with terminal translation table active,
17417166124Srafan	clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H,
17418166124Srafan	kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E),
17419166124Srafan	smso=\E(, use=adm3a,
1742050276Speter# luna's BMC terminal emulator
17421166124Srafanluna|luna68k|LUNA68K Bitmap console,
17422166124Srafan	cols#88, lines#46, use=ansi-mini,
17423166124Srafanmegatek|pegasus workstation terminal emulator,
17424166124Srafan	am, os,
17425166124Srafan	cols#83, lines#60,
17426166124Srafan# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
1742750276Speter# interface (pre-Macintosh by several years) that went nowhere.
17428166124Srafanxerox820|x820|Xerox 820,
17429166124Srafan	am,
17430166124Srafan	cols#80, lines#24,
17431166124Srafan	bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
17432166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X,
17433166124Srafan	home=^^, ind=^J,
1743450276Speter
1743550276Speter#### Videotex and teletext
1743650276Speter#
1743750276Speter
1743850276Speter# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
1743950276Speter# \E[?3l	80 columns
1744050276Speter# \E[?4l	scrolling on
1744150276Speter# \E[12h	local echo off
1744250276Speter# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
1744350276Speter# \E)0		G1 DEC set (line graphics)
1744450276Speter#
1744550276Speter# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
17446166124Srafanm2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique,
17447166124Srafan	OTbs, eslok, hs, xenl,
17448166124Srafan	cols#80, it#8, lines#24, wsl#72, xmc#0,
17449166124Srafan	acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G,
17450166124Srafan	blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J,
17451166124Srafan	cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr,
17452166124Srafan	cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B,
17453166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
17454166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17455166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J,
17456166124Srafan	home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>,
17457166124Srafan	is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0,
17458166124Srafan	is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B,
17459166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp,
17460166124Srafan	kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu,
17461166124Srafan	kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H,
17462166124Srafan	kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H,
17463166124Srafan	mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
17464166124Srafan	rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
17465166124Srafan	rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m,
17466166124Srafan	smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A,
17467166124Srafan	u6=\E[%i%d;%dR, u7=\E[6n,
1746850276Speter
1746950276Speter# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
1747050276Speter#
17471166124Srafanminitel1|minitel 1,
17472166124Srafan	am, bw, eslok, hs, hz, msgr,
17473166124Srafan	colors#8, cols#40, lines#24, pairs#8,
17474166124Srafan	acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L,
17475166124Srafan	cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
17476166124Srafan	cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X,
17477166124Srafan	enacs=^Y, fsl=^J, home=^^, ind=^J,
17478166124Srafan	is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG,
17479166124Srafan	rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\,
17480166124Srafan	setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;,
17481166124Srafan	sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;,
17482166124Srafan	sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c,
1748350276Speter# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
17484166124Srafanminitel1b|minitel 1-bistandard (in 40cols mode),
17485166124Srafan	mir,
17486166124Srafan	cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC,
17487166124Srafan	cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
17488166124Srafan	dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L,
17489166124Srafan	is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D,
17490166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17491166124Srafan	kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l,
17492166124Srafan	smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1,
1749350276Speter# <rmkx> posait des problemes (logout en sortant de vi).
17494166124Srafanminitel1b-80|minitel 1-bistandard (standard teleinformatique),
17495166124Srafan	am@, bw@, hz@,
17496166124Srafan	colors@, cols#80, it#8, pairs@,
17497166124Srafan	blink=\E[5m, bold=\E[1m, civis=\037@A\024\n,
17498166124Srafan	clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C,
17499166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
17500166124Srafan	ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq,
17501166124Srafan	kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw,
17502166124Srafan	kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m,
17503166124Srafan	ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@,
17504166124Srafan	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
17505166124Srafan	sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b,
1750650276Speter
1750750276Speter######## OBSOLETE VDT TYPES
1750850276Speter#
1750950276Speter# These terminals are *long* dead -- these entries are retained for
1751050276Speter# historical interest only.
1751150276Speter
1751250276Speter#### Amtek Business Machines
1751350276Speter#
1751450276Speter
1751550276Speter# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
1751650276Speter# but these caps were commented out in 8.3; also, removed overridden
1751750276Speter# ":do=^J:" -- esr)
17518166124Srafanabm80|amtek business machines 80,
17519166124Srafan	OTbs, am, bw,
17520166124Srafan	cols#80, lines#24,
17521166124Srafan	cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P,
17522166124Srafan	cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L,
17523166124Srafan	dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z,
1752450276Speter
1752550276Speter#### Bell Labs blit terminals
1752650276Speter#
17527166124Srafan# These were AT&T's official entries.  The 5620 FAQ maintained by
1752850276Speter# David Breneman <daveb@dgtl.com> has this to say:
1752950276Speter#
1753050276Speter#  Actually, in the beginning was the Jerq, and the Jerq was white with a
1753150276Speter#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
1753250276Speter#  was good.  But lo, upon the horizon loomed a mighty management-type person
1753350276Speter#  (known now only by the initials VP) who said, the mighty Jerq must stay
1753450276Speter#  alone, and could not go forth into the world. So Locanthi and Pike put the
1753550276Speter#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
1753650276Speter#  world. And the Jerq lived the rest of its days in research, but never
1753750276Speter#  strayed from those paths.
1753850276Speter#
1753950276Speter#  In all seriousness, the Blit was originally known as the Jerq, but when
1754050276Speter#  it started to be shown outside of the halls of the Bell Labs Research
1754150276Speter#  organization, the management powers that be decided that the name could
1754250276Speter#  not remain. So it was renamed to be Blit. This was in late 1981.
1754350276Speter#
1754450276Speter# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
1754550276Speter# 730, and 730+.)
1754650276Speter#
1754750276Speter
17548166124Srafanblit|jerq|blit running teletype rom,
17549166124Srafan	am, eo, ul, xon,
17550166124Srafan	cols#87, it#8, lines#72,
17551166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17552166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA,
17553166124Srafan	dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c,
17554166124Srafan	dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!,
17555166124Srafan	il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED,
17556166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez,
1755750276Speter
1755850276Speter# (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
17559166124Srafancbblit|fixterm|blit running columbus code,
17560166124Srafan	cols#88,
17561166124Srafan	ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d,
17562166124Srafan	rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!,
17563166124Srafan	smul=\EU", use=blit,
1756450276Speter
17565166124Srafanoblit|ojerq|first version of blit rom,
17566166124Srafan	am, da, db, eo, mir, ul, xon,
17567166124Srafan	cols#88, it#8, lines#72,
17568166124Srafan	bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC,
17569166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO,
17570166124Srafan	dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G,
17571166124Srafan	ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER,
17572166124Srafan	smir=\EQ,
1757350276Speter
1757450276Speter#### Bolt, Beranek & Newman (bbn)
1757550276Speter#
1757650276Speter# The BitGraph was a product of the now-defunct BBN Computer Corporation.
1757750276Speter# The parent company, best known as the architects of the Internet, is
1757850276Speter# still around.
1757950276Speter#
1758050276Speter# Jeff DelPapa <dp@world.std.com> writes:
1758150276Speter# The bitgraph was a large white box that contained a monochrome bitmap
1758250276Speter# display, and a 68000 to run it.  You could download code and run it on
1758350276Speter# the cpu, it had 128kb (I think) of memory.  I used one in the late
1758450276Speter# 70's, sure beat a vt100.  It had one strange feature tho -- it used
1758550276Speter# the cpu to bitblt pixels to scroll, it took longer than the refresh
1758650276Speter# rate, and looked like a rubber sheet stretching, then snapping
1758750276Speter# upwards.  It had everything the early mac had, except a floppy drive a
1758850276Speter# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
1758950276Speter# Beranek and Neuman) sold at most a few hundred of them to the real
1759050276Speter# world.  DOD may have bought more...
17591166124Srafan#
1759250276Speter
17593166124Srafan# Entries for the BitGraph terminals.  The problem
17594166124Srafan# with scrolling in vi can only be fixed by getting BBN to put
17595166124Srafan# smarter scroll logic in the terminal or changing vi or padding
1759650276Speter# scrolls with about 500 ms delay.
17597166124Srafan#
17598166124Srafan# I always thought the problem was related to the terminal
17599166124Srafan# counting newlines in its input buffer before scrolling and
17600166124Srafan# then moving the screen that much. Then vi comes along and
17601166124Srafan# paints lines in on the bottom line of the screen, so you get
1760250276Speter# this big white gap.
1760350276Speter
17604166124Srafanbitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video),
17605166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17606166124Srafan	use=bg2.0,
17607166124Srafanbg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video),
17608166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17609166124Srafan	use=bg2.0,
17610166124Srafanbg2.0|bg3.10|bbn bitgraph 2.0 or later (no init),
17611166124Srafan	OTbs, xenl,
17612166124Srafan	cols#85, lines#64,
17613166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M,
17614166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
17615166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>,
17616166124Srafan	ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>,
17617166124Srafan	ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
17618166124Srafan	kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1,
17619166124Srafan	lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7,
17620166124Srafan	sgr0=\E[m, smkx=\E=, smso=\E[7m,
1762150276Speter
17622166124Srafanbg1.25rv|bbn bitgraph 1.25 (reverse video),
17623166124Srafan	flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h,
17624166124Srafan	use=bg1.25,
17625166124Srafanbg1.25nv|bbn bitgraph 1.25 (normal video),
17626166124Srafan	flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h,
17627166124Srafan	use=bg1.25,
1762850276Speter# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
17629166124Srafanbg1.25|bbn bitgraph 1.25,
17630166124Srafan	cols#85, lines#64,
17631166124Srafan	bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B,
17632166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A,
17633166124Srafan	dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I,
17634166124Srafan	il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB,
17635166124Srafan	kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES,
17636166124Srafan	lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l,
17637166124Srafan	rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=,
17638166124Srafan	smso=\E[7m,
1763950276Speter
1764062449Speter#### Bull (bq, dku, vip)
1764162449Speter#
1764262449Speter# (Adapted for terminfo; AIX extension capabilities translated -- esr)
1764362449Speter
1764462449Speter#============================================#
1764562449Speter# BULL QUESTAR 210 `SDP' terminals emulation #
1764662449Speter#============================================#
1764762449Speter#
1764862449Speter# Description written by R.K.Saunders (Bull Transac)
1764962449Speter#
1765062449Speter# Modifications written by F. Girard (Bull MTS)
1765162449Speter#		19-05-87 V02.00.01
1765262449Speter#		17-12-87 V02.00.02
1765362449Speter#		15-09-89 V02.00.05
1765462449Speter#
1765562449Speter#	Typical technical selections F1 (modes SDP/ROLL):
1765662449Speter# -------------------------------------------------------
1765762449Speter# |   01   02   03   04   05   06   07   08   09   10   |
1765862449Speter# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
1765962449Speter# |                                                     |
1766062449Speter# |   11   12   13   14   15   16   17   18   19   20   |
1766162449Speter# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
1766262449Speter# |                                                     |
1766362449Speter# |   21   22   23   24   25   26   27   28   29   30   |
1766462449Speter# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
1766562449Speter# |                                                     |
1766662449Speter# |   31   32   33   34   35   36   37   38   39   40   |
1766762449Speter# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
1766862449Speter# -------------------------------------------------------
1766962449Speter#	Typical firmware identification F5 "etat 6":
1767062449Speter#  P287.02.04b	(AZERTY)
1767162449Speter#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
1767262449Speter#  P298.03.03	(monochrome)	or P374.03.02	(colour)
1767362449Speter#
1767462449Speter#	SM SDP mode (VIP command):	^[[?=h
1767562449Speter#	RIS (erases screen):		^[c
1767662449Speter#	DMI disable keyboard:		^[`
1767762449Speter#	SM double rendition mode:	^[[?>h
1767862449Speter#	RM solicited status mode:	^[[5l
1767962449Speter#	RM character mode:		^[[>l
1768062449Speter#	RM echoplex mode:		^[[12l
1768162449Speter#	RM column tab mode:		^[[18l
1768262449Speter#	RM forbid SS2 keyboard mode:	^[[?<l
1768362449Speter#	SM scroll mode:			^[[=h
1768462449Speter#	FCF enable XON/XOFF:		^[P1s^[\
1768562449Speter#	MTL select end msg character:	^[[^Wp
1768662449Speter#	EMI enable keyboard:		^[b
1768762449Speter#	RIS retour etat initial:	^[c
1768862449Speter#	enable FC keypad:		^[[?<h,
1768962449Speter#	MPW map status line window:	^[PY99:98^[\
1769062449Speter#	SCP select status line:		^[[0;98v
1769162449Speter#	ED erase entire partition:	^[[2J
1769262449Speter#	SCP select main partition:	^[[v
1769362449Speter#	SM character insertion mode:	^[[4h
1769462449Speter#	RM character replacement mode:	^[[4l
1769562449Speter#	COO cursor on:			^[[r
1769662449Speter#	COO cursor off:			^[[1r
1769762449Speter#	SGR dim (turquoise) rev attr:	^[[2;7m
1769862449Speter#	SGR Data normal attr:		^[[m
1769962449Speter#	SO Line-graphic mode ON:	^N
1770062449Speter#	SI Line-graphic mode OFF:	^O
1770162449Speter#	MC start routing to printer:	^[[5i
1770262449Speter#	MC stop routing to printer:	^M^[[4i
1770362449Speter#
1770462449Speter
1770562449Speter# This entry covers the following terminals:
1770662449Speter# dku7102, tws2102, and tws models 2105 to 2112
17707166124Srafantws-generic|dku7102|Bull Questar tws terminals,
17708166124Srafan	am, eslok, hs, mir, msgr, xenl, xhp@, xon,
17709166124Srafan	cols#80, it#8, lines#24, wsl#80,
17710166124Srafan	acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~,
17711166124Srafan	bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J,
17712166124Srafan	cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB,
17713166124Srafan	cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df,
17714166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
17715166124Srafan	dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M,
17716166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K,
17717166124Srafan	fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL,
17718166124Srafan	il1=\E[L, ind=^J, invis=\E[0;8m,
17719166124Srafan	is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\,
17720166124Srafan	is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p,
17721166124Srafan	is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D,
17722166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M,
17723166124Srafan	ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027,
17724166124Srafan	kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027,
17725166124Srafan	kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H,
17726166124Srafan	khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i,
17727166124Srafan	mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O,
17728166124Srafan	rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m,
17729166124Srafan	rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N,
17730166124Srafan	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%;,
17731166124Srafan	sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\,
17732166124Srafan	smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g,
17733166124Srafan	tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m,
17734166124Srafantws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA,
17735166124Srafan	dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v,
17736166124Srafan	use=tws-generic,
17737166124Srafantws2103|xdku|BULL Questar tws2103,
17738166124Srafan	ht=^I, use=tws-generic,
17739166124Srafantws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA,
17740166124Srafan	ht=^I, use=tws2102-sna,
17741166124Srafandku7102-old|BULL Questar 200 DKU7102 (microcode version < 6),
17742166124Srafan	clear=\E[2J\E[H, cup@, dl@, dl1@,
17743166124Srafan	dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m,
17744166124Srafan	il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m,
17745166124Srafan	use=tws-generic,
17746166124Srafandku7202|BULL Questar 200 DKU7202 (colour/character attributes),
17747166124Srafan	blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb,
17748166124Srafan	smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic,
1774962449Speter
1775062449Speter#=========================================================#
1775162449Speter# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
1775262449Speter#=========================================================#
1775362449Speter#
1775462449Speter# Description written by J. Staerck (BULL SA)
1775562449Speter#       Copyright (c) 1989 BULL SA
1775662449Speter#---------------------------------------------------------------------------
1775762449Speter#  This entry is used for terminals with vt320 emulation mode
17758166124Srafan#  and following set-up :
1775962449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17760166124Srafan#    7 bit Control Characters,
17761166124Srafan#    80 columns screen.
1776262449Speter#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
1776362449Speter#  They are used in string capabilities with vt220-320 emulation mode.
1776462449Speter#  In the following DEC definitions, two kinds of terminfo databases are
1776562449Speter#    provided :
17766166124Srafan#    1. the first with Command Sequence Introducer starting with escape
1776762449Speter#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
17768166124Srafan#    2. the second with Command Sequence Introducer starting with escape
1776962449Speter#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
1777062449Speter#	Soft Terminal Reset		esc [ ! p
1777162449Speter#	RIS (erases screen):		esc c
1777262449Speter#	DECKPNM numeric keypad mode:	esc >
1777362449Speter#	DECKPAM applic. keypad mode:	esc =
1777462449Speter#	DECSTBM Scrolling region:	esc [ r
1777562449Speter#	SCS select G0 = US:		esc ( B
1777662449Speter#	SCS select G1 = line-graphic:	esc ) 0
1777762449Speter#	Select 7-bit C1 controls:	esc sp F
1777862449Speter#	Select 8-bit C1 controls:	esc sp G
1777962449Speter#	Select cursor home:		esc [  H
1778062449Speter#	Select erase screen:		esc [  J
1778162449Speter#	SM KAM lock keyboard:		esc [ 2 h
1778262449Speter#	RM KAM unlock keyboard:		esc [ 2 l
1778362449Speter#	SM SRM local echo off:		esc [ 1 2 h
1778462449Speter#	RM SRM local echo on:		esc [ 1 2 l
1778562449Speter#	SM LNM New line :		esc [ 2 0 h
1778662449Speter#	RM LNM return = CR only:	esc [ 2 0 l
1778762449Speter#	SM DECCKM cursor keys mode:	esc [ ? 1 h
1778862449Speter#	RM DECCKM appli. keys mode:	esc [ ? 1 l
1778962449Speter#	SM DECANM ANSI mode on:		esc [ ? 2 h
1779062449Speter#	RM DECANM ANSI mode off:	esc [ ? 2 l
1779162449Speter#	SM DECCOLM 132-column screen:	esc [ ? 3 h
1779262449Speter#	RM DECCOLM 80-column screen:	esc [ ? 3 l
1779362449Speter#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
1779462449Speter#	RM DECSCLM Jump scroll:		esc [ ? 4 l
1779562449Speter#	SM DECSCNM screen light backgr.	esc [ ? 5 h
1779662449Speter#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
1779762449Speter#	SM DECOM move within margins:	esc [ ? 6 h
1779862449Speter#	RM DECOM move outside margins:	esc [ ? 6 l
1779962449Speter#	SM DECAWM auto right margin:	esc [ ? 7 h
1780062449Speter#	RM DECAWM auto right margin:	esc [ ? 7 l
1780162449Speter#	SM DECARM auto repeat:		esc [ ? 8 h
1780262449Speter#	RM DECARM auto repeat:		esc [ ? 8 l
17803166124Srafan#	DECSASD Select active main:	esc [ 0 $ }
17804166124Srafan#	DECSASD Select active status:	esc [ 1 $ }
17805166124Srafan#	DECSSDT Select status none:	esc [ 0 $ ~
17806166124Srafan#	DECSSDT Select status indic.:	esc [ 1 $ ~
17807166124Srafan#	DECSSDT Select status host-wr:	esc [ 2 $ ~
1780862449Speter#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
1780962449Speter#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
1781062449Speter#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
1781162449Speter#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
1781262449Speter#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
1781362449Speter#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
1781462449Speter#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
1781562449Speter#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
1781662449Speter#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
1781762449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
1781862449Speter# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
1781962449Speter#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
1782062449Speter#	Char. and Line attributes:	esc [ Ps ... Ps m
1782162449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1782262449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1782362449Speter#
1782462449Speter
1782562449Speter# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
17826166124Srafanbq300|Bull vt320 ISO Latin 1 80 columns terminal,
17827166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17828166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17829166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17830166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
17831166124Srafan	clear=\E[H\E[J, cnorm=\E[?25h, cr=^M,
17832166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
17833166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
17834166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
17835166124Srafan	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
17836166124Srafan	dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, ed=\E[J,
17837166124Srafan	el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
17838166124Srafan	flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I,
17839166124Srafan	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
17840166124Srafan	is1=\E[63;1"p\E[2h,
17841166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17842166124Srafan	is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy,
17843166124Srafan	kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B,
17844166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~,
17845166124Srafan	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
17846166124Srafan	kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
17847166124Srafan	kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
17848166124Srafan	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
17849166124Srafan	khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17850166124Srafan	krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4,
17851166124Srafan	mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m,
17852166124Srafan	ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l,
17853166124Srafan	rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p,
17854166124Srafan	rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17855166124Srafan	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%;,
17856166124Srafan	sgr0=\E[0m\E(B, smacs=\E(0, smam=\E[?7h,
17857166124Srafan	smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m,
17858166124Srafan	smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~,
17859166124Srafanbq300-rv|Bull vt320 reverse 80 columns,
17860166124Srafan	flash=\E[?5l$<50>\E[?5h,
17861166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17862166124Srafan	use=bq300,
17863166124Srafanbq300-w|Bull vt320 132 columns,
17864166124Srafan	cols#132, wsl#132,
17865166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17866166124Srafan	rs2=\E[?3h, use=bq300,
17867166124Srafanbq300-w-rv|Bull vt320 reverse mode 132 columns,
17868166124Srafan	cols#132, wsl#132,
17869166124Srafan	flash=\E[?5l$<50>\E[?5h,
17870166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17871166124Srafan	rs2=\E[?3h, use=bq300,
1787262449Speter
1787362449Speter#  This entry is used for terminals with vt320 emulation mode
17874166124Srafan#  and following set-up :
1787562449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
1787662449Speter#    8 bit Control Characters, (CSI coded as x9B for ESC [)
17877166124Srafan#    80 columns screen.
1787862449Speter#	Soft Terminal Reset		csi ! p
1787962449Speter#	RIS (erases screen):		esc c
1788062449Speter#	DECKPNM numeric keypad mode:	esc >
1788162449Speter#	DECKPAM applic. keypad mode:	esc =
1788262449Speter#	DECSTBM Scrolling region:	esc [ r
1788362449Speter#	SCS select G0 = US:		esc ( B
1788462449Speter#	SCS select G1 = line-graphic:	esc ) 0
1788562449Speter#	Select 7-bit C1 controls:	esc sp F
1788662449Speter#	Select 8-bit C1 controls:	esc sp G
1788762449Speter#	Select cursor home:		csi H
1788862449Speter#	Select erase screen:		csi J
1788962449Speter#	SM KAM lock keyboard:		csi 2 h
1789062449Speter#	RM KAM unlock keyboard:		csi 2 l
1789162449Speter#	SM SRM local echo off:		csi 1 2 h
1789262449Speter#	RM SRM local echo on:		csi 1 2 l
1789362449Speter#	SM LNM New line :		csi 2 0 h
1789462449Speter#	RM LNM return = CR only:	csi 2 0 l
1789562449Speter#	SM DECCKM cursor keys mode:	csi ? 1 h
1789662449Speter#	RM DECCKM appli. keys mode:	csi ? 1 l
1789762449Speter#	SM DECANM ANSI mode on:		csi ? 2 h
1789862449Speter#	RM DECANM ANSI mode off:	csi ? 2 l
1789962449Speter#	SM DECCOLM 132-column screen:	csi ? 3 h
1790062449Speter#	RM DECCOLM 80-column screen:	csi ? 3 l
1790162449Speter#	SM DECSCLM Smooth scroll:	csi ? 4 h
1790262449Speter#	RM DECSCLM Jump scroll:		csi ? 4 l
1790362449Speter#	SM DECSCNM screen light backgr.	csi ? 5 h
1790462449Speter#	RM DECSCNM screen dark backgr.	csi ? 5 l
1790562449Speter#	SM DECOM move within margins:	csi ? 6 h
1790662449Speter#	RM DECOM move outside margins:	csi ? 6 l
1790762449Speter#	SM DECAWM auto right margin:	csi ? 7 h
1790862449Speter#	RM DECAWM auto right margin:	csi ? 7 l
1790962449Speter#	SM DECARM auto repeat:		csi ? 8 h
1791062449Speter#	RM DECARM auto repeat:		csi ? 8 l
17911166124Srafan#	DECSASD Select active main:	csi 0 $ }
17912166124Srafan#	DECSASD Select active status:	csi 1 $ }
17913166124Srafan#	DECSSDT Select status none:	csi 0 $ ~
17914166124Srafan#	DECSSDT Select status indic.:	csi 1 $ ~
17915166124Srafan#	DECSSDT Select status host-wr:	csi 2 $ ~
1791662449Speter#	SM DECTCEM Visible cursor:	csi ? 2 5 h
1791762449Speter#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
1791862449Speter#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
1791962449Speter#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
1792062449Speter#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
1792162449Speter# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
1792262449Speter#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
1792362449Speter#	Char. and Line attributes:	csi Ps ... Ps m
1792462449Speter# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
1792562449Speter# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
1792662449Speter# (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
17927166124Srafanbq300-8|Bull vt320 full 8 bits 80 columns,
17928166124Srafan	am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon,
17929166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
17930166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
17931166124Srafan	bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l,
17932166124Srafan	clear=\233H\233J, cnorm=\233?25h, cr=^M,
17933166124Srafan	csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB,
17934166124Srafan	cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA,
17935166124Srafan	dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM,
17936166124Srafan	dsl=\2331$}\2332$~\n\2330$}, ech=\233%p1%dX, ed=\233J,
17937166124Srafan	el=\233K, el1=\2331K, enacs=\E(B\E)0,
17938166124Srafan	flash=\233?5h$<50>\233?5l, fsl=\2330$}, home=\233H,
17939166124Srafan	ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, ind=\ED,
17940166124Srafan	is1=\E[63;2"p\E[2h,
17941166124Srafan	is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17942166124Srafan	is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w,
17943166124Srafan	ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s,
17944166124Srafan	kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A,
17945166124Srafan	kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~,
17946166124Srafan	kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~,
17947166124Srafan	kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~,
17948166124Srafan	kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~,
17949166124Srafan	kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~,
17950166124Srafan	khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~,
17951166124Srafan	krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3,
17952166124Srafan	lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8,
17953166124Srafan	rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h,
17954166124Srafan	rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m,
17955166124Srafan	rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7,
17956166124Srafan	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%;,
17957166124Srafan	sgr0=\2330m\E(B, smacs=^N, smam=\233?7h,
17958166124Srafan	smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m,
17959166124Srafan	smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~,
17960166124Srafanbq300-8rv|Bull vt320 8-bit reverse mode 80 columns,
17961166124Srafan	flash=\233?5l$<50>\233?5h,
17962166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17963166124Srafan	use=bq300-8,
17964166124Srafanbq300-8w|Bull vt320 8-bit 132 columns,
17965166124Srafan	cols#132, wsl#132,
17966166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17967166124Srafan	rs2=\233?3h, use=bq300-8,
17968166124Srafanbq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns,
17969166124Srafan	cols#132, wsl#132,
17970166124Srafan	flash=\233?5l$<50>\233?5h,
17971166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
17972166124Srafan	rs2=\233?3h, use=bq300-8,
1797362449Speter
1797462449Speter#  This entry is used for terminals with vt320 emulation mode
17975166124Srafan#  a 102 keys keyboard (PC scancode !) and following set-up :
1797662449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
17977166124Srafan#    7 bit Control Characters,
17978166124Srafan#    80 columns screen.
17979166124Srafanbq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns,
17980166124Srafan	kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~,
17981166124Srafan	kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@,
17982166124Srafan	kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~,
17983166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
17984166124Srafan	kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
17985166124Srafan	krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300,
17986166124Srafanbq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns,
17987166124Srafan	flash=\E[?5l$<50>\E[?5h,
17988166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17989166124Srafan	use=bq300-pc,
17990166124Srafanbq300-pc-w|Questar 303 with PC keyboard 132 columns terminal,
17991166124Srafan	cols#132, wsl#132,
17992166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17993166124Srafan	rs2=\E[?3h, use=bq300-pc,
17994166124Srafanbq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns,
17995166124Srafan	cols#132, wsl#132,
17996166124Srafan	flash=\E[?5l$<50>\E[?5h,
17997166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l,
17998166124Srafan	rs2=\E[?3h, use=bq300-pc,
1799962449Speter#    8 bit ISO Latin Character Set (ISO 8859-1),
18000166124Srafan#    8 bit Control Characters,
18001166124Srafan#    80 columns screen.
18002166124Srafanbq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns,
18003166124Srafan	kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~,
18004166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@,
18005166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@,
18006166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
18007166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@,
18008166124Srafan	khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@,
18009166124Srafan	kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8,
18010166124Srafanbq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns,
18011166124Srafan	flash=\E[?5l$<50>\E[?5h,
18012166124Srafan	is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18013166124Srafan	use=bq300-8-pc,
18014166124Srafanbq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns,
18015166124Srafan	cols#132, wsl#132,
18016166124Srafan	is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18017166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
18018166124Srafanbq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns,
18019166124Srafan	cols#132, wsl#132,
18020166124Srafan	flash=\E[?5l$<50>\E[?5h,
18021166124Srafan	is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l,
18022166124Srafan	rs2=\E[?3h, use=bq300-8-pc,
1802362449Speter
1802462449Speter#======================================================#
1802562449Speter# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
1802662449Speter#======================================================#
1802762449Speter
1802862449Speter# normal mode, 8 bits, 80 columns terminal.
1802962449Speter#	RES reset :			^[e
1803062449Speter#	RIS reset initial state:	^[c
1803162449Speter#	BLE bell enable			^[h
1803262449Speter#	BLD bell disable		^[g
1803362449Speter#	CAMS char. attr. mode set	^[[D
1803462449Speter#	CAMR char. attr. mode reset	^[[G
1803562449Speter#	CLR clear			^[`
1803662449Speter#	KBU keyboard unlock (set)	^[[W
1803762449Speter#	KBL keyboard lock (reset)	^[[X
1803862449Speter#	CM  character mode (async.) 	^[k
1803962449Speter#	NEP non echoplex mode (by host)	^[l
1804062449Speter#	EP  echoplex mode (by host) 	^[m
1804162449Speter#	IM  insert mode set		^[[I
1804262449Speter#	IM  insert mode reset 		^[[J
1804362449Speter#	RMS roll mode set 		^[r
1804462449Speter#	RMR roll mode reset 		^[q
1804562449Speter#	SM78 set mode vip7800	 	^[[1q
1804662449Speter#	SD  scroll up  	(72 lines) 	^[[0s
1804762449Speter#	SD  scroll down	(72 lines) 	^[[1s
1804862449Speter#	RBM block mode reset		^[[E
1804962449Speter#	SLS status line set 		^[w
1805062449Speter#	SLR status line reset 		^[v
1805162449Speter#	SLL status line lock 		^[O
1805262449Speter#	LGS Line-graphic mode set 	^[G
1805362449Speter#	LGR Line-graphic mode reset 	^[F
1805462449Speter#	TBC tab clear (at cursor pos.)	^[[g
1805562449Speter#	TBI tab initialize 		^[[N
1805662449Speter#	TBS tab set (at cursor pos.)	^[p
1805762449Speter#	PDS  print data space		^[[0p
1805862449Speter#	PHD  print host data 		^[[3p
1805962449Speter#	PDT  print data terminator	^[[<p
1806062449Speter#	PRES print adapter reset	^[[2p
1806162449Speter#	SSPR multi-part. reset		^[[<>u
1806262449Speter#	SSP0 partition 0 set		^[[00u
1806362449Speter#	SSP1 partition n format 1 	^[[PnPnSTRINGu
1806462449Speter#	SSP2 partition n format 2 	^[[PnPnSTRINGu
1806562449Speter#	SSP3 partition n format 3 	^[[PnPnu
1806662449Speter#	ATR attribute (visual)
1806762449Speter#	    blink :			^[sB
1806862449Speter#	    dim :			^[sL
1806962449Speter#	    hide (blank) :		^[sH
1807062449Speter#	    restore :			^[sR
1807162449Speter#	    inverse video :		^[sI
1807262449Speter#	    prot. :			^[sP
1807362449Speter#	    underline :			^[s_
1807462449Speter#	    reset :			^{
1807562449Speter#
1807662449Speter# This covers the vip7800 and BQ3155-vip7800
18077166124Srafanvip|Bull Questar 3155-7800,
18078166124Srafan	am, eslok, hs, km, mc5i, msgr, xenl, xon,
18079166124Srafan	cols#80, it#8, lines#24, vt#3, wsl#80,
18080166124Srafan	acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB,
18081166124Srafan	cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18082166124Srafan	cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL,
18083166124Srafan	dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK,
18084166124Srafan	flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I,
18085166124Srafan	hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH,
18086166124Srafan	is2=\E[00u\E[<>001001024080024080u\E[01u,
18087166124Srafan	is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H,
18088166124Srafan	kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB,
18089166124Srafan	kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ,
18090166124Srafan	kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@,
18091166124Srafan	kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1,
18092166124Srafan	kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?,
18093166124Srafan	kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_,
18094166124Srafan	kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER,
18095166124Srafan	khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s,
18096166124Srafan	kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1,
18097166124Srafan	lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p,
18098166124Srafan	mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI,
18099166124Srafan	ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR,
18100166124Srafan	rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG,
18101166124Srafan	sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI,
18102166124Srafan	smul=\Es_, tbc=\E[N, tsl=\Ew,
1810362449Speter# normal screen, 8 bits, 132 columns terminal.
18104166124Srafanvip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide,
18105166124Srafan	cols#132, wsl#132,
18106166124Srafan	is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip,
18107166124Srafanvip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines,
18108166124Srafan	lines#72,
18109166124Srafan	is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip,
18110166124Srafanvip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines,
18111166124Srafan	cols#132, lines#72, wsl#132,
18112166124Srafan	is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip,
1811362449Speter
1811450276Speter#### Chromatics
1811550276Speter#
1811650276Speter
18117166124Srafan# I have put the long strings in <smcup>/<rmcup>. Ti sets up a window
18118166124Srafan# that is smaller than the screen, and puts up a warning message
18119166124Srafan# outside the window. Te erases the warning message, puts the
1812050276Speter# window back to be the whole screen, and puts the cursor at just
18121166124Srafan# below the small window. I defined <cnorm> and <civis> to really turn
18122166124Srafan# the cursor on and off, but I have taken this out since I don't
18123166124Srafan# like the cursor being turned off when vi exits.
18124166124Srafancg7900|chromatics|chromatics 7900,
18125166124Srafan	am,
18126166124Srafan	cols#80, lines#40,
18127166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^],
18128166124Srafan	cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2,
18129166124Srafan	ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|,
18130166124Srafan	rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,,
18131166124Srafan	rmso=\001C1\,\001c2\,,
18132166124Srafan	smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,,
18133166124Srafan	smso=\001C4\,\001c7\,, uc=\001\001_\001\0,
1813450276Speter
1813550276Speter#### Computer Automation
1813650276Speter#
1813750276Speter
18138166124Srafanca22851|computer automation 22851,
18139166124Srafan	am,
18140166124Srafan	cols#80, lines#24,
18141166124Srafan	bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I,
18142166124Srafan	cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J,
18143166124Srafan	kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^,
1814450276Speter
1814550276Speter#### Cybernex
1814650276Speter#
1814750276Speter
1814850276Speter# This entry has correct padding and the undocumented "ri" capability
18149166124Srafancyb83|xl83|cybernex xl-83,
18150166124Srafan	OTbs, am,
18151166124Srafan	cols#80, lines#24,
18152166124Srafan	bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I,
18153166124Srafan	cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N,
18154166124Srafan	ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H,
18155166124Srafan	kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N,
1815650276Speter# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
18157166124Srafancyb110|mdl110|cybernex mdl-110,
18158166124Srafan	OTbs, am,
18159166124Srafan	cols#80, lines#24,
18160166124Srafan	bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U,
18161166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z,
18162166124Srafan	dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>,
18163166124Srafan	ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y,
18164166124Srafan	ht=\011$<43>, ich1=\016A\035$<3.5>,
18165166124Srafan	il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF,
1816650276Speter
1816750276Speter#### Datapoint
1816850276Speter#
1816950276Speter# Datapoint is gone.  They used to be headquartered in Texas.
1817050276Speter# They created ARCnet, an Ethernet competitor that flourished for a while
1817150276Speter# in the early 1980s before 3COM got wise and cut its prices.  The service
1817250276Speter# side of Datapoint still lives (1995) in the form of Intelogic Trace.
1817350276Speter#
1817450276Speter
18175166124Srafandp3360|datapoint|datapoint 3360,
18176166124Srafan	OTbs, am,
18177166124Srafan	cols#82, lines#25,
18178166124Srafan	bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z,
18179166124Srafan	ed=^_, el=^^, home=^], ind=^J,
1818050276Speter
1818150276Speter# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
18182166124Srafan# The Datapoint 8242 Workstation was sold at least between 1985
18183166124Srafan# and 1989. To make the terminal work with this entry, press
18184166124Srafan# CONTROL-INT-INT to take the terminal off-line, and type (opt).
18185166124Srafan# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
18186166124Srafan# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
1818750276Speter# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
1818850276Speter# fact unusable because the strings sent by the terminal conflict
1818950276Speter# with other keys).
1819050276Speter# The terminal is capable of displaying "box draw" characters.
18191166124Srafan# For each graphic character you must send 2 ESC's (\E\E) followed
18192166124Srafan# by a control character as follows:
1819350276Speter#         character        meaning
1819450276Speter#         =========        =======
1819550276Speter#         ctrl-E           top tee
1819650276Speter#         ctrl-F           right tee
1819750276Speter#         ctrl-G           bottom tee
1819850276Speter#         ctrl-H           left tee
1819950276Speter#         ctrl-I           cross
1820050276Speter#         ctrl-J           top left corner
1820150276Speter#         ctrl-K           top right corner
1820250276Speter#         ctrl-L           bottom left corner
1820350276Speter#         ctrl-M           bottom right corner
1820450276Speter#         ctrl-N           horizontal line
1820550276Speter#         ctrl-O           vertical line
18206166124Srafan# Unfortunately this cannot be fitted into the termcap/terminfo
18207166124Srafan# description scheme.
18208166124Srafandp8242|datapoint 8242,
18209166124Srafan	msgr,
18210166124Srafan	cols#80, lines#25,
18211166124Srafan	bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X,
18212166124Srafan	cr=^M, cub1=^H, cud1=^J,
18213166124Srafan	cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V,
18214166124Srafan	home=^U, ht=^I, il1=\E^T, ind=^C,
18215166124Srafan	is1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18216166124Srafan	kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee,
18217166124Srafan	kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea,
18218166124Srafan	kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J,
18219166124Srafan	rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D,
18220166124Srafan	rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004,
18221166124Srafan	smso=\E^E, smul=\E^F,
18222166124Srafan	wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025,
1822350276Speter
1822450276Speter#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
1822550276Speter#
1822650276Speter# These entries are DEC's official terminfos for its older terminals.
1822750276Speter# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
18228166124Srafan# Engineering for more information.  Updated terminfos and termcaps
1822950276Speter# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1823050276Speter#
1823150276Speter
18232166124Srafangt40|dec gt40,
18233166124Srafan	OTbs, os,
18234166124Srafan	cols#72, lines#30,
18235166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18236166124Srafangt42|dec gt42,
18237166124Srafan	OTbs, os,
18238166124Srafan	cols#72, lines#40,
18239166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J,
18240166124Srafanvt50|dec vt50,
18241166124Srafan	OTbs,
18242166124Srafan	cols#80, lines#12,
18243166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18244166124Srafan	cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J,
18245166124Srafanvt50h|dec vt50h,
18246166124Srafan	OTbs,
18247166124Srafan	cols#80, lines#12,
18248166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
18249166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18250166124Srafan	el=\EK, ht=^I, ind=^J, ri=\EI,
1825150276Speter# (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
18252166124Srafanvt61|vt-61|vt61.5|dec vt61,
18253166124Srafan	cols#80, lines#24,
18254166124Srafan	bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J,
18255166124Srafan	cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>,
18256166124Srafan	cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I,
18257166124Srafan	ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA,
18258166124Srafan	ri=\E$<20>I,
1825950276Speter
1826050276Speter# The gigi does standout with red!
1826150276Speter# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
18262166124Srafangigi|vk100|dec gigi graphics terminal,
18263166124Srafan	OTbs, am, xenl,
18264166124Srafan	cols#84, lines#24,
18265166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H,
18266166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18267166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J,
18268166124Srafan	el=\E[K, ht=^I, ind=^J,
18269166124Srafan	is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h,
18270166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
18271166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM,
18272166124Srafan	rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18273166124Srafan	sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m,
18274166124Srafan	smul=\E[4m,
1827550276Speter
1827650276Speter# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
1827750276Speter# a PC differentiated from the IBM clones.  It was a total, ludicrous,
1827850276Speter# grossly-overpriced failure (among other things, DEC's OS didn't include
1827950276Speter# a format program, so you had to buy pre-formatted floppies from DEC at
1828050276Speter# a hefty premium!).
18281166124Srafanpro350|decpro|dec pro console,
18282166124Srafan	OTbs,
18283166124Srafan	cols#80, it#8, lines#24,
18284166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
18285166124Srafan	clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC,
18286166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
18287166124Srafan	el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18288166124Srafan	kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI,
18289166124Srafan	kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG,
18290166124Srafan	rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D,
1829150276Speter
18292166124Srafandw1|decwriter I,
18293166124Srafan	OTbs, hc, os,
18294166124Srafan	cols#72,
18295166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J,
18296166124Srafandw2|decwriter|dw|decwriter II,
18297166124Srafan	OTbs, hc, os,
18298166124Srafan	cols#132,
18299166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H,
1830050276Speter# \E(B		Use U.S. character set (otherwise # => british pound !)
1830150276Speter# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
1830250276Speter# \E[w   	10 char/in pitch
1830350276Speter# \E[1;132	full width horizontal margins
1830450276Speter# \E[2g		clear all tab stops
1830550276Speter# \E[z		6 lines/in
1830650276Speter# \E[66t	66 lines/page (for \f)
1830750276Speter# \E[1;66r	full vertical page can be printed
1830850276Speter# \E[4g		clear vertical tab stops
1830950276Speter# \E>		disable alternate keypad mode (so it transmits numbers!)
1831050276Speter# \E[%i%p1%du	set tab stop at column %d (origin == 1)
18311166124Srafan#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
1831250276Speter#		a tab stop)
1831350276Speter#
1831450276Speter#       The dw3 does standout with wide characters.
1831550276Speter#
18316166124Srafandw3|la120|decwriter III,
18317166124Srafan	OTbs, hc, os,
18318166124Srafan	cols#132,
18319166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J,
18320166124Srafan	is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>,
18321166124Srafan	is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r,
18322166124Srafan	kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w,
18323166124Srafandw4|decwriter IV,
18324166124Srafan	OTbs, am, hc, os,
18325166124Srafan	cols#132,
18326166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H,
18327166124Srafan	kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS,
1832850276Speter
1832950276Speter# These aren't official
18330166124Srafanln03|dec ln03 laser printer,
18331166124Srafan	hc,
18332166124Srafan	cols#80, lines#66,
18333166124Srafan	bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J,
18334166124Srafan	rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m,
18335166124Srafan	smul=\E[4m,
18336166124Srafanln03-w|dec ln03 laser printer 132 cols,
18337166124Srafan	cols#132,
18338166124Srafan	bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H,
18339166124Srafan	kcud1=^J, nel=^M^J, use=ln03,
1834050276Speter
1834150276Speter#### Delta Data (dd)
1834250276Speter#
1834350276Speter
1834450276Speter# Untested. The cup sequence is hairy enough that it probably needs work.
1834550276Speter# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
1834650276Speter# There are BSD-derived termcap entries floating around for this puppy
1834750276Speter# that are *certainly* wrong.
18348166124Srafandelta|dd5000|delta data 5000,
18349166124Srafan	OTbs, am,
18350166124Srafan	cols#80, lines#27,
18351166124Srafan	bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y,
18352166124Srafan	cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c,
18353166124Srafan	cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J,
1835450276Speter
1835550276Speter#### Digital Data Research (ddr)
1835650276Speter#
1835750276Speter
1835850276Speter# (ddr: I added <rmam>/<smam> based on the init string -- esr)
18359166124Srafanddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator,
18360166124Srafan	OTbs, am, xenl,
18361166124Srafan	cols#80, it#8, lines#24, vt#3,
18362166124Srafan	blink=\E[5m$<2/>, bold=\E[1m$<2/>,
18363166124Srafan	clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H,
18364166124Srafan	cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>,
18365166124Srafan	cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H,
18366166124Srafan	ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H,
18367166124Srafan	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP,
18368166124Srafan	kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>,
18369166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l,
18370166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>,
18371166124Srafan	rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
18372166124Srafan	sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m,
18373166124Srafan	smul=\E[4m$<2/>,
1837450276Speter
1837550276Speter#### Evans & Sutherland
1837650276Speter#
1837750276Speter
1837850276Speter# Jon Leech <leech@cs.unc.edu> tells us:
1837950276Speter# The ps300 was the Evans & Sutherland Picture System 300, a high
1838050276Speter# performance 3D vector graphics system with a bunch of specialized hardware.
1838150276Speter# Approximate date of release was 1982 (early 80s, anyway), and it had several
1838250276Speter# evolutions including (limited) color versions such as the PS330C. PS300s
1838350276Speter# were effectively obsolete by the late 80s, replaced by raster graphics
1838450276Speter# systems, although specialized applications like molecular modelling
1838550276Speter# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
1838650276Speter# are out of production, though of course E&S is very much alive (in 1996).
1838750276Speter# (ps300: changed ":pt@:" to "it@" -- esr)
1838850276Speter#
18389166124Srafanps300|Picture System 300,
18390166124Srafan	xt,
18391166124Srafan	it@,
18392166124Srafan	rmso@, rmul@, smso@, smul@, use=vt100,
1839350276Speter
1839450276Speter#### General Electric (ge)
1839550276Speter#
1839650276Speter
18397166124Srafanterminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200,
18398166124Srafan	OTbs, hc, os,
18399166124Srafan	cols#120,
18400166124Srafan	bel=^G, cr=^M, cud1=^J, ind=^J,
1840150276Speter
1840250276Speter#### Heathkit/Zenith
1840350276Speter#
1840450276Speter
1840550276Speter# Here is a description of the H19 DIP switches:
1840650276Speter#
1840750276Speter# S401
1840850276Speter# 0-3 = baud rate as follows:
18409166124Srafan#
1841050276Speter#         3       2       1       0
18411166124Srafan#	---	---	---	---
1841250276Speter#         0       0       1       1       300 baud
1841350276Speter#         0       1       0       1       1200 baud
1841450276Speter#         1       0       0       0       2400 baud
1841550276Speter#         1       0       1       0       4800 baud
1841650276Speter#         1       1       0       0       9600 baud
1841750276Speter#         1       1       0       1       19.2K baud
18418166124Srafan#
1841950276Speter# 4 = parity (0 = no parity)
1842050276Speter# 5 = even parity (0 = odd parity)
1842150276Speter# 6 = stick parity (0 = normal parity)
1842250276Speter# 7 = full duplex (0 = half duplex)
18423166124Srafan#
18424166124Srafan# S402
1842550276Speter# 0 = block cursor (0 = underscore cursor)
1842650276Speter# 1 = no key click (0 = keyclick)
1842750276Speter# 2 = wrap at end of line (0 = no wrap)
1842850276Speter# 3 = auto LF on CR (0 = no LF on CR)
1842950276Speter# 4 = auto CR on LF (0 = no CR on LF)
1843050276Speter# 5 = ANSI mode (0 = VT52 mode)
1843150276Speter# 6 = keypad shifted (0 = keypad unshifted)
1843250276Speter# 7 = 50Hz refresh (1 = 60Hz refresh)
18433166124Srafan#
1843450276Speter# Factory Default settings are as follows:
1843550276Speter#          7 6 5 4 3 2 1 0
1843650276Speter# S401     1 0 0 0 1 1 0 0
1843750276Speter# S402     0 0 0 0 0 0 0 0
1843850276Speter# (h19: I added <rmam>/<smam> based on the init string;
1843950276Speter# also added empty <acsc> to suppress a tic warning -- esr)
18440166124Srafanh19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
18441166124Srafan	OTbs, am, mir, msgr,
18442166124Srafan	cols#80, it#8, lines#24,
18443166124Srafan	acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H,
18444166124Srafan	cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH,
18445166124Srafan	cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>,
18446166124Srafan	ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
18447166124Srafan	is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h,
18448166124Srafan	kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
18449166124Srafan	kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
18450166124Srafan	kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
18451166124Srafan	ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,
18452166124Srafan	smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m,
18453166124Srafanh19-bs|heathkit w/keypad shifted,
18454166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-b,
18455166124Srafanh19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
18456166124Srafan	rmkx=\Eu, smkx=\Et, use=h19-u,
1845750276Speter# (h19: merged in <ip> from BSDI hp19-e entry>;
1845850276Speter# also added empty <acsc> to suppress a tic warning --esr)
18459166124Srafan# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
1846050276Speter# Tim tells us that:
1846150276Speter# I have an old Zenith-19 terminal at home that still gets a lot of use.
1846250276Speter# This terminal suffers from the same famous insert-mode padding lossage
1846350276Speter# that has been acknowledged for the Z29 terminal.  Emacs is nearly
1846450276Speter# unusable on this box, since even a half-scroll up or down the window
1846550276Speter# causes flaming terminal death.
18466166124Srafan#
1846750276Speter# On the Z19, the only way I have found around this problem is to remove
1846850276Speter# the :al: and :dl: entries entirely.  No amount of extra padding will
1846950276Speter# help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
1847050276Speter# makes Emacs a little slower, but it remains in the land of the living.
1847150276Speter# Big win.
18472166124Srafanh19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
18473166124Srafan	OTbs, am, eslok, hs, mir, msgr,
18474166124Srafan	cols#80, it#8, lines#24,
18475174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{, bel=^G,
18476174993Srafan	clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18477174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
18478174993Srafan	dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
18479174993Srafan	ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18480174993Srafan	kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW,
18481174993Srafan	kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, lf7=red,
18482174993Srafan	lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18483174993Srafan	smir=\E@, smso=\Ep, tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo,
18484166124Srafanh19-u|heathkit with underscore cursor,
18485166124Srafan	cnorm@, cvvis@, use=h19-b,
18486166124Srafanh19-g|h19g|heathkit w/block cursor,
18487174993Srafan	cnorm=\Ex4, cvvis@, use=h19-b,
18488166124Srafanalto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19,
18489166124Srafan	lines#60,
18490166124Srafan	dl1=\EM, il1=\EL, use=h19,
1849150276Speter
1849250276Speter# The major problem with the Z29 is that it requires more padding than the Z19.
1849350276Speter#
1849450276Speter# The problem with declaring an H19 to be synonymous with a Z29 is that
1849550276Speter# it needs more padding. It especially loses if a program attempts
1849650276Speter# to put the Z29 into insert mode and insert text at 9600 baud. It
1849750276Speter# even loses worse if the program attempts to insert tabs at 9600
18498166124Srafan# baud. Adding padding to text that is inserted loses because in
1849950276Speter# order to make the Z29 not die, one must add so much padding that
18500166124Srafan# whenever the program tries to use insert mode, the effective
1850150276Speter# rate is about 110 baud.
18502166124Srafan#
18503166124Srafan# What program would want to put the terminal into insert mode
18504166124Srafan# and shove stuff at it at 9600 baud you ask?
18505166124Srafan#
18506166124Srafan# Emacs. Emacs seems to want to do the mathematically optimal
1850750276Speter# thing in doing a redisplay rather than the practical thing.
18508166124Srafan# When it is about to output a line on top of a line that is
18509166124Srafan# already on the screen, instead of just killing to the end of
18510166124Srafan# the line and outputting the new line, it compares the old line
18511166124Srafan# and the new line and if there are any similarities, it
18512166124Srafan# constructs the new line by deleting the text on the old line
1851350276Speter# on the terminal that is already there and then inserting new
18514166124Srafan# text into the line to transform it into the new line that is
1851550276Speter# to be displayed. The Z29 does not react kindly to this.
18516166124Srafan#
1851750276Speter# But don't cry for too long.... There is a solution. You can make
1851850276Speter# a termcap entry for the Z29 that says the Z29 has no insert mode.
18519166124Srafan# Then Emacs cannot use it. "Oh, no, but now inserting into a
1852050276Speter# line will be really slow", you say. Well there is a sort of a
18521166124Srafan# solution to that too. There is an insert character option on
18522166124Srafan# the Z29 that will insert one character. Unfortunately, it
18523166124Srafan# involves putting the terminal into ansi mode, inserting the
18524166124Srafan# character, and changing it back to H19 mode. All this takes 12
18525166124Srafan# characters. Pretty expensive to insert one character, but it
18526166124Srafan# works. Either Emacs doesn't try to use its inserting hack when
18527166124Srafan# it's only given an insert character ability or the Z29 doesn't
18528166124Srafan# require padding with this (the former is probably more likely,
1852950276Speter# but I haven't checked it out).
1853050276Speter# (z29: added empty <acsc> to suppress a tic warning, merged in
1853150276Speter# status line capabilities from BRL entry --esr)
18532166124Srafanz29|zenith29|z29b|zenith z29b,
18533166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18534166124Srafan	OTkn#10, cols#80, lines#24,
18535166124Srafan	OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4,
18536166124Srafan	cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
18537166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A,
18538166124Srafan	cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1,
18539166124Srafan	ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I,
18540166124Srafan	ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>,
18541166124Srafan	is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
18542166124Srafan	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
18543166124Srafan	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
18544166124Srafan	lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq,
18545166124Srafan	rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8,
18546166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1854750276Speter# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
1854850276Speter# the world is stable. <rs1> causes the terminal to be reset to the state
1854950276Speter# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
1855050276Speter# cursor, bc -> block cursor.
1855150276Speter# From: Mike Meyers
1855250276Speter# (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
1855350276Speter# looks vt100-compatible -- esr)
18554166124Srafanz29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode,
18555166124Srafan	OTbs, OTpt, am, eslok, hs, mir, msgr,
18556166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18557166124Srafan	OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J,
18558166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18559166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
18560166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18561166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18562166124Srafan	dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H,
18563166124Srafan	ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL,
18564166124Srafan	ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB,
18565166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS,
18566166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18567166124Srafan	kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7,
18568166124Srafan	nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h,
18569166124Srafan	rmso=\E[m, rmul=\E[m,
18570166124Srafan	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,
18571166124Srafan	sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m,
18572166124Srafan	tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K,
18573166124Srafanz29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor,
18574166124Srafan	rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m,
18575166124Srafan	use=z29a,
18576166124Srafanz29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick,
18577166124Srafan	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,
18578166124Srafan	use=z29a,
18579166124Srafanz29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick,
18580166124Srafan	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,
18581166124Srafan	use=z29a,
1858250276Speter# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
18583166124Srafanz39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode,
18584166124Srafan	am, eslok, hs, mc5i, mir, msgr, xon,
18585166124Srafan	cols#80, lines#24,
18586166124Srafan	acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G,
18587166124Srafan	blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h,
18588166124Srafan	clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M,
18589166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18590166124Srafan	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
18591166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
18592166124Srafan	dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM,
18593166124Srafan	dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K,
18594166124Srafan	fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L,
18595166124Srafan	ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw,
18596166124Srafan	ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D,
18597166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS,
18598166124Srafan	kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ,
18599166124Srafan	kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H,
18600166124Srafan	mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m,
18601166124Srafan	rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m,
18602166124Srafan	rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0,
18603166124Srafan	smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
18604166124Srafan	tsl=\E[s\E[>1h\E[25;%i%p1%dH,
1860550276Speter
1860650276Speter# From: Brad Brahms <Brahms@USC-ECLC>
18607166124Srafanz100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
18608166124Srafan	cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw,
1860950276Speter# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
18610166124Srafanz100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
18611166124Srafan	OTbs, OTpt, mir, msgr,
18612166124Srafan	OTkn#10, cols#80, it#8, lines#24,
18613174993Srafan	acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{,
18614174993Srafan	clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
18615174993Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
18616174993Srafan	cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
18617174993Srafan	home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, kcub1=\ED, kcud1=\EB,
18618174993Srafan	kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, kf2=\ET, kf3=\EU,
18619174993Srafan	kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EOI,
18620174993Srafan	khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, smacs=\EF,
18621174993Srafan	smir=\E@, smso=\Ep,
18622166124Srafanp19|h19-b with il1/dl1,
18623166124Srafan	dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b,
1862450276Speter# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
1862550276Speter# (ztx: removed duplicate :sr: -- esr)
18626166124Srafanztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11,
18627166124Srafan	OTbs, am, eslok, hs,
18628166124Srafan	cols#80, it#8, lines#24,
18629166124Srafan	clear=\EE, cub1=^H, cud1=^J, cuf1=\EC,
18630166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM,
18631166124Srafan	dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I,
18632166124Srafan	il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>,
18633166124Srafan	kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES,
18634166124Srafan	kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER,
18635166124Srafan	ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2,
18636166124Srafan	tsl=\Ej\Ex5\Ex1\EY8%+ \Eo,
1863750276Speter
1863850276Speter#### IMS International (ims)
1863950276Speter#
18640166124Srafan# There was a company called IMS International located in Carson City,
1864150276Speter# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
18642166124Srafan# bus/Z80 hardware and a line of terminals called Ultimas.
1864350276Speter#
1864450276Speter
1864550276Speter# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
18646166124Srafanims950-b|bare ims950 no init string,
18647166124Srafan	is2@, use=ims950,
1864850276Speter# (ims950: removed obsolete ":ko@:" -- esr)
18649166124Srafanims950|ims televideo 950 emulation,
18650166124Srafan	xenl@,
18651166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18652166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950,
1865350276Speter# (ims950-rv: removed obsolete ":ko@:" -- esr)
18654166124Srafanims950-rv|ims tvi950 rev video,
18655166124Srafan	xenl@,
18656166124Srafan	flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@,
18657166124Srafan	kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv,
18658166124Srafanims-ansi|ultima2|ultimaII|IMS Ultima II,
18659166124Srafan	OTbs, am,
18660166124Srafan	cols#80, it#8, lines#24,
18661166124Srafan	clear=\E[H\E[2J, cub1=^H, cud1=\ED,
18662166124Srafan	cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K,
18663166124Srafan	ht=^I, if=/usr/share/tabset/vt100,
18664166124Srafan	is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D,
18665166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM,
18666166124Srafan	rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m,
18667166124Srafan	smul=\E[4m,
1866850276Speter
1866950276Speter#### Intertec Data Systems
1867050276Speter#
1867150276Speter# I think this company is long dead as of 1995.  They made an early CP/M
1867250276Speter# micro called the "Intertec Superbrain" that was moderately popular,
1867350276Speter# then sank out of sight.
1867450276Speter#
1867550276Speter
18676166124Srafansuperbrain|intertec superbrain,
18677166124Srafan	OTbs, am, bw,
18678166124Srafan	cols#80, lines#24,
18679166124Srafan	OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J,
18680166124Srafan	cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K,
18681166124Srafan	ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U,
18682166124Srafan	kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L,
18683166124Srafan# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
1868450276Speter# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
1868550276Speter# and the reverse is actually true.  Try it. -- esr)
18686166124Srafanintertube|intertec|Intertec InterTube,
18687166124Srafan	OTbs, am,
18688166124Srafan	cols#80, lines#25,
18689166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F,
18690166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A,
18691166124Srafan	ind=^J, rmso=\E0@, smso=\E0P,
1869250276Speter# The intertube 2 has the "full duplex" problem like the tek 4025: if you
1869350276Speter# are typing and a command comes in, the keystrokes you type get interspersed
1869450276Speter# with the command and it messes up
18695166124Srafanintertube2|intertec data systems intertube 2,
18696166124Srafan	OTbs,
18697166124Srafan	cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c,
18698166124Srafan	el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c,
18699166124Srafan	ll=^K^X\r, vpa=\013%p1%c, use=intertube,
1870050276Speter
1870150276Speter#### Ithaca Intersystems
1870250276Speter#
1870350276Speter# This company made S100-bus personal computers long ago in the pre-IBM-PC
1870450276Speter# past.  They used to be reachable at:
1870550276Speter#
1870650276Speter#	Ithaca Intersystems
1870750276Speter#	1650 Hanshaw Road
1870850276Speter#	Ithaca, New York 14850
1870950276Speter#
1871050276Speter# However, the outfit went bankrupt years ago.
1871150276Speter#
1871250276Speter
1871350276Speter# The Graphos III was a color graphics terminal from Ithaca Intersystems.
18714166124Srafan# These entries were written (originally in termcap syntax) by Brian Yandell
18715166124Srafan# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
1871650276Speter# University of Wisconsin.
1871750276Speter
18718166124Srafan# (graphos: removed obsolete and syntactically incorrect :kn=4:,
18719166124Srafan# removed <if=/usr/share/tabset/init.graphos> and
1872050276Speter# <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
18721166124Srafangraphos|graphos III,
18722166124Srafan	am, mir,
18723166124Srafan	cols#80, it#8, lines#24,
18724166124Srafan	clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z,
18725166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
18726166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18727166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A,
18728166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM,
18729166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL,
18730166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18731166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
18732166124Srafan	kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l,
18733166124Srafan	rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h,
18734166124Srafan	smir=\E[4h, smso=\E[7m,
18735166124Srafangraphos-30|graphos III with 30 lines,
18736166124Srafan	lines#30,
18737166124Srafan	cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos,
1873850276Speter
1873950276Speter#### Modgraph
1874050276Speter#
1874150276Speter# These people used to be reachable at:
1874250276Speter#
1874350276Speter#	Modgraph, Inc
1874450276Speter#	1393 Main Street,
1874550276Speter#	Waltham, MA 02154
1874650276Speter#	Vox: (617)-890-5796.
1874750276Speter#
1874850276Speter# However, if you call that number today you'll get an insurance company.
18749166124Srafan# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
1875050276Speter# 26 Feb 1997 that says:
1875150276Speter#
1875250276Speter# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
1875350276Speter# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
1875450276Speter# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
1875550276Speter# panel-mount etc).  I can be emailed at sonfour@aol.com
1875650276Speter#
1875750276Speter# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
1875850276Speter# dated 1984.  According to the manual, it featured Tek 4010/4014
1875950276Speter# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
1876050276Speter#
1876150276Speter
18762166124Srafanmodgraph|mod24|modgraph terminal emulating vt100,
18763166124Srafan	xenl@,
18764166124Srafan	cols#80, lines#24,
18765166124Srafan	cvvis=\E\^9;0s\E\^7;1s,
18766166124Srafan	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,
18767166124Srafan	rf@, ri=\EM\E[K$<5/>, use=vt100,
1876850276Speter# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
18769166124Srafanmodgraph2|modgraph gx-1000 80x24 with keypad not enabled,
18770166124Srafan	am, da, db,
18771166124Srafan	cols#80, it#8, lines#24,
18772166124Srafan	clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>,
18773166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>,
18774166124Srafan	ed=\EJ$<50/>, el=\EK$<3/>, ht=^I,
18775166124Srafan	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,
18776166124Srafan	ri=\EI$<5/>,
1877750276Speter#
1877850276Speter# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
1877950276Speter# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
1878050276Speter# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
1878150276Speter# mark and using delete-to-killbuffer work correctly.  However, we would
1878250276Speter# like normal mode of operation to be using a Modgraph with 48 line setting.
1878350276Speter# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
1878450276Speter# the setting mark and delete-to-killbuffer results in the deletion of only
1878550276Speter# the line the mark is set on.
1878650276Speter# We've discovered that the delete-to-killbuffer works correctly
1878750276Speter# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
1878850276Speter# the first line disappears but a ctrl-l shows that it did work
1878950276Speter# correctly.
18790166124Srafanmodgraph48|mod|Modgraph w/48 lines,
18791166124Srafan	OTbs, OTpt, am, xenl,
18792166124Srafan	cols#80, it#8, lines#48, vt#3,
18793166124Srafan	OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J,
18794166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C,
18795166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K,
18796166124Srafan	flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q,
18797166124Srafan	home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h,
18798166124Srafan	kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
18799166124Srafan	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m,
18800166124Srafan	ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18801166124Srafan	rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=,
18802166124Srafan	smso=\E[7m, smul=\E[4m,
1880350276Speter
1880450276Speter#### Morrow Designs
18805166124Srafan#
1880650276Speter# This was George Morrow's company.  They started in the late 1970s making
1880750276Speter# S100-bus machines.  They used to be reachable at:
1880850276Speter#
1880950276Speter#        Morrow
1881050276Speter#        600 McCormick St.
1881150276Speter#        San Leandro, CA 94577
1881250276Speter#
1881350276Speter# but they're long gone now (1995).
1881450276Speter#
1881550276Speter
18816166124Srafan# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
1881750276Speter# Jeff's specimen was dated June 1984.
1881850276Speter# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
18819166124Srafanmt70|mt-70|Morrow MD-70; native Morrow mode,
18820166124Srafan	am, mir, msgr, xon,
18821166124Srafan	cols#80, it#8, lines#24,
18822166124Srafan	acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G,
18823166124Srafan	cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H,
18824166124Srafan	cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>,
18825166124Srafan	cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>,
18826166124Srafan	flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE,
18827166124Srafan	ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r,
18828166124Srafan	kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r,
18829166124Srafan	kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r,
18830166124Srafan	kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r,
18831166124Srafan	kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r,
18832166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18833166124Srafan	kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_,
18834166124Srafan	rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E],
18835166124Srafan	smul=\EG1, tbc=\E0, use=adm+sgr,
1883650276Speter
1883750276Speter#### Motorola
1883850276Speter#
1883950276Speter
1884050276Speter# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
1884150276Speter# (Seth H Zirin)
18842166124Srafanex155|Motorola Exorterm 155,
18843166124Srafan	OTbs, am, bw,
18844166124Srafan	OTkn#5, OTug#1, cols#80, lines#24,
18845166124Srafan	cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED,
18846166124Srafan	cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU,
18847166124Srafan	home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H,
18848166124Srafan	kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@,
18849166124Srafan	rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED,
1885050276Speter
1885150276Speter#### Omron
1885250276Speter#
1885350276Speter# This company is still around in 1995, manufacturing point-of-sale systems.
1885450276Speter
18855166124Srafanomron|Omron 8025AG,
18856166124Srafan	OTbs, am, da, db,
18857166124Srafan	cols#80, lines#24,
18858166124Srafan	bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA,
18859166124Srafan	cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH,
18860166124Srafan	il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef,
1886150276Speter
1886250276Speter#### Ramtek
1886350276Speter#
1886450276Speter# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
1886550276Speter# were competition for things like the Tektronics 4025.
1886650276Speter#
1886750276Speter
1886850276Speter# Ramtek 6221 from BRL, probably by Doug Gwyn
1886950276Speter# The following SET-UP modes are assumed for normal operation:
1887050276Speter#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
1887150276Speter#	NEWLINE_OFF		80_COLUMNS
1887250276Speter# Other SET-UP modes may be set for operator convenience or communication
1887350276Speter# requirements; I recommend
1887450276Speter#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
1887550276Speter# Hardware tabs are assumed to be every 8 columns; they can be set up by the
1887650276Speter# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
1887750276Speter# Note that the Control-E key is useless on this brain-damaged terminal.  No
1887850276Speter# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
18879166124Srafanrt6221|Ramtek 6221 80x24,
18880166124Srafan	OTbs, OTpt, msgr, xon,
18881166124Srafan	OTkn#4, cols#80, it#8, lines#24, vt#3,
18882166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l,
18883166124Srafan	clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M,
18884166124Srafan	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
18885166124Srafan	cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C,
18886166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM,
18887166124Srafan	cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I,
18888166124Srafan	hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B,
18889166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR,
18890166124Srafan	kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H,
18891166124Srafan	nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>,
18892166124Srafan	rmso=\E[m, rmul=\E[m,
18893166124Srafan	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>,
18894166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m,
18895166124Srafan	smul=\E[4m, tbc=\E[3g,
1889650276Speter# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
18897166124Srafanrt6221-w|Ramtek 6221 160x48,
18898166124Srafan	cols#160, lines#48,
18899166124Srafan	ll=\E[48;1H, use=rt6221,
1890050276Speter
1890150276Speter#### RCA
1890250276Speter#
1890350276Speter
1890450276Speter# RCA VP3301 or VP3501
18905166124Srafanrca|rca vp3301/vp3501,
18906166124Srafan	OTbs,
18907166124Srafan	cols#40, lines#24,
18908166124Srafan	clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
18909166124Srafan	cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1,
1891050276Speter
1891150276Speter
1891250276Speter#### Selanar
1891350276Speter#
1891450276Speter
1891550276Speter# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
1891650276Speter# The following SET-UP modes are assumed for normal operation:
1891750276Speter#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
1891850276Speter#	ONLINE			ANSI			CURSOR_VISIBLE
1891950276Speter#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
1892050276Speter#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
1892150276Speter#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
1892250276Speter# For use with graphics software, all graphics modes should be set to factory
1892350276Speter# default.  Other SET-UP modes may be set for operator convenience or
1892450276Speter# communication requirements.  No delays are specified; use "stty ixon -ixany"
1892550276Speter# to enable DC3/DC1 flow control!
1892650276Speter# I commented out the scrolling capabilities since they are too slow.
18927166124Srafanhirez100|Selanar HiREZ-100,
18928166124Srafan	OTbs, OTpt, mir, msgr, xon,
18929166124Srafan	OTkn#4, cols#80, it#8, lines#48, vt#3,
18930166124Srafan	acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
18931166124Srafan	cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
18932166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
18933166124Srafan	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
18934166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
18935166124Srafan	hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H,
18936166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP,
18937166124Srafan	kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3,
18938166124Srafan	lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i,
18939166124Srafan	mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O,
18940166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
18941166124Srafan	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>,
18942166124Srafan	sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m,
18943166124Srafan	smul=\E[4m, tbc=\E[3g,
18944166124Srafanhirez100-w|Selanar HiREZ-100 in 132-column mode,
18945166124Srafan	cols#132, use=hirez100,
1894650276Speter
1894750276Speter#### Signetics
1894850276Speter#
1894950276Speter
1895050276Speter# From University of Wisconsin
18951166124Srafanvsc|Signetics Vsc Video driver by RMC,
18952166124Srafan	am, msgr,
18953166124Srafan	cols#80, it#8, lines#26,
18954166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C,
18955166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H,
18956166124Srafan	ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s,
18957166124Srafan	rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_",
1895850276Speter
1895950276Speter#### Soroc
1896050276Speter#
1896150276Speter# Alan Frisbie <frisbie@flying-disk.com> writes:
1896250276Speter#
1896350276Speter# As you may recall, the Soroc logo consisted of their name,
1896450276Speter# with the letter "S" superimposed over an odd design.   This
1896550276Speter# consisted of a circle with a slightly smaller 15 degree (approx.)
1896650276Speter# wedge with rounded corners inside it.   The color was sort of
1896750276Speter# a metallic gold/yellow.
18968166124Srafan#
1896950276Speter# If I had been more of a beer drinker it might have been obvious
1897050276Speter# to me, but it took a clue from their service department to make
1897150276Speter# me exclaim, "Of course!"   The circular object was the top of
1897250276Speter# a beer can (the old removable pop-top style) and "Soroc" was an
1897350276Speter# anagram for "Coors".
18974166124Srafan#
1897550276Speter# I can just imagine the founders of the company sitting around
1897650276Speter# one evening, tossing back a few and trying to decide what to
1897750276Speter# call their new company and what to use for a logo.
18978166124Srafan#
1897950276Speter
1898050276Speter# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
18981166124Srafansoroc120|iq120|soroc|soroc iq120,
18982166124Srafan	clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J,
18983166124Srafan	kcuf1=^L, kcuu1=^K, use=adm3a,
18984166124Srafansoroc140|iq140|soroc iq140,
18985166124Srafan	OTbs, am, mir,
18986166124Srafan	cols#80, lines#24,
18987166124Srafan	bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
18988166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew,
18989166124Srafan	dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J,
18990166124Srafan	kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r,
18991166124Srafan	kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
18992166124Srafan	kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8,
18993166124Srafan	rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A,
1899450276Speter
1899550276Speter#### Southwest Technical Products
1899650276Speter#
18997166124Srafan# These guys made an early personal micro called the M6800.
1899850276Speter# The ct82 was probably its console terminal.
1899950276Speter#
1900050276Speter
1900150276Speter# (swtp: removed obsolete ":bc=^D:" -- esr)
19002166124Srafanswtp|ct82|southwest technical products ct82,
19003166124Srafan	am,
19004166124Srafan	cols#82, lines#20,
19005166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S,
19006166124Srafan	cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F,
19007166124Srafan	home=^P, ich1=^\^X, il1=^\^Y, ind=^N,
19008166124Srafan	is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011,
19009166124Srafan	ll=^C, ri=^O, rmso=^^^F, smso=^^^V,
1901050276Speter
1901150276Speter#### Synertek
1901250276Speter#
1901350276Speter# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
1901450276Speter#
1901550276Speter# Synertek used to make ICs, various 6502-based single-board process
1901650276Speter# control and hobbyist computers, and assorted peripherals including a
1901750276Speter# series of small inexpensive terminals (I think they were one of the
1901850276Speter# first to have a "terminal-on-a-keyboard", where the terminal itself
1901950276Speter# was only slightly larger than the keyboard).
1902050276Speter#
1902150276Speter# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
1902250276Speter# was a 40x24 terminal that could connect to a standard TV through a
1902350276Speter# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
1902450276Speter# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
1902550276Speter# I have a KTM-2/80 still in working order.  The KTM-2s had fully
1902650276Speter# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
1902750276Speter# ROM and 2 ROMs as character generators. They were incredibly simple,
1902850276Speter# and I've never had any problems with mine (witness the fact that mine
1902950276Speter# was made in 1981 and is still working great... I've blown the video
1903050276Speter# output transistor a couple of times, but it's a 2N2222 :-)
1903150276Speter#
1903250276Speter# The KTM-3 (which is what is listed in the terminfo file) was their
1903350276Speter# attempt at putting a KTM-2 in a box (and some models came with a
1903450276Speter# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
1903550276Speter# control and escape sequences are very different. The KTM-3 was always
1903650276Speter# real broken, at least according to the folks I've talked to about it.
19037166124Srafan#
1903850276Speter# The padding in the entry is probably off--these terminals were very
1903950276Speter# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
1904050276Speter# anyone with any sanity replaced the ROMs with something that provided
1904150276Speter# a reasonable subset of VT100 functionality, since the usual ROMs were
1904250276Speter# obviously very primitive... oh, you could get an upgraded ROM from
1904350276Speter# Synertek for some incredible amount of money, but what hacker with an
1904450276Speter# EPROM burner would do that? :)
19045166124Srafan#
1904650276Speter# Sorry I don't have any contact info; I believe they were located in
1904750276Speter# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
1904850276Speter# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
1904950276Speter# business these days.
1905050276Speter#
1905150276Speter
1905250276Speter# Tested, seems to work fine with vi.
19053166124Srafansynertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal,
19054166124Srafan	am,
19055166124Srafan	cols#80, lines#24,
19056166124Srafan	clear=^Z, cub1=^H, cuf1=^L,
19057166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
1905850276Speter
1905950276Speter#### Tab Office Products
1906050276Speter#
1906150276Speter#	TAB Products Co. - Palo Alto, California
1906250276Speter#	Electronic Office Products,
1906350276Speter#	1451 California Avenue 94304
1906450276Speter#
1906550276Speter# I think they're out of business.
1906650276Speter#
1906750276Speter
1906850276Speter# The tab 132 uses xon/xoff, so no padding needed.
1906950276Speter# <smkx>/<rmkx> have nothing to do with arrow keys.
1907050276Speter# <is2> sets 80 col mode, normal video, autowrap on (for <am>).
1907150276Speter# Seems to be no way to get rid of status line.
1907250276Speter# The manual for this puppy was dated June 1981.  It claims to be VT52-
1907350276Speter# compatible but looks more vt100-like.
19074166124Srafantab132|tab|tab132-15|tab 132/15,
19075166124Srafan	da, db,
19076166124Srafan	OTdN@, cols#80, lines#24, lm#96,
19077166124Srafan	cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M,
19078166124Srafan	il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B,
19079166124Srafan	kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100,
19080166124Srafantab132-w|tab132 in wide mode,
19081166124Srafan	cols#132,
19082166124Srafan	is2=\E[?7h\E[?3h\E[?5l, use=tab132,
19083166124Srafantab132-rv|tab132 in reverse-video mode,
19084166124Srafan	is2=\E[?7h\E[?3l\E[?5h, use=tab132,
19085166124Srafantab132-w-rv|tab132 in reverse-video/wide mode,
19086166124Srafan	is2=\E[?7h\E[?3h\E[?5h, use=tab132-w,
1908750276Speter
1908850276Speter
1908950276Speter#### Teleray
1909050276Speter#
1909150276Speter#	Research Incorporated
1909250276Speter#	6425 Flying Cloud Drive
1909350276Speter#	Eden Prairie, MN 55344
1909450276Speter#	Vox: (612)-941-3300
1909550276Speter#
1909650276Speter# The Teleray terminals were all discontinued in 1992-93.  RI still services
1909750276Speter# and repairs these beasts, but no longer manufactures them.  The Teleray
1909850276Speter# people believe that all the types listed below are very rare now (1995).
1909950276Speter# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
1910050276Speter# Model 100) that were ANSI-compatible.
1910150276Speter#
1910250276Speter# Note two things called "teleray".  Reorder should move the common one
1910350276Speter# to the front if you have either.  A dumb teleray with the cursor stuck
1910450276Speter# on the bottom and no obvious model number is probably a 3700.
1910550276Speter#
1910650276Speter
19107166124Srafant3700|dumb teleray 3700,
19108166124Srafan	OTbs,
19109166124Srafan	cols#80, lines#24,
19110166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J,
19111166124Srafant3800|teleray 3800 series,
19112166124Srafan	OTbs,
19113166124Srafan	cols#80, it#8, lines#24,
19114166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19115166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK,
19116166124Srafan	home=\EH, ht=^I, ind=^J, ll=\EY7\s,
19117166124Srafant1061|teleray|teleray 1061,
19118166124Srafan	OTbs, am, km, xhp, xt,
19119166124Srafan	cols#80, it#8, lines#24, xmc#1,
19120166124Srafan	bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19121166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19122166124Srafan	dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF,
19123166124Srafan	ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>,
19124166124Srafan	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,
19125166124Srafan	kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7,
19126166124Srafan	kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH,
19127166124Srafan	tbc=\EG,
19128166124Srafant1061f|teleray 1061 with fast PROMs,
19129166124Srafan	dl1=\EM, il1=\EL, ip@, use=t1061,
1913050276Speter# "Teleray Arpa Special", officially designated as
1913150276Speter# "Teleray Arpa network model 10" with "Special feature 720".
1913250276Speter# This is the new (1981) fast microcode updating the older "arpa" proms
1913350276Speter# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
1913450276Speter# converts the keypad to programmable function keys, and has other goodies.
1913550276Speter# Standout mode is still broken (magic cookie, etc) so is suppressed as no
1913650276Speter# programs handle such lossage properly.
1913750276Speter# Note: this is NOT the old termcap's "t1061f with fast proms."
1913850276Speter# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
1913950276Speter# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
19140166124Srafant10|teleray 10 special,
19141166124Srafan	OTbs, km, xhp, xt,
19142166124Srafan	cols#80, it#8, lines#24, xmc#2,
19143166124Srafan	clear=\Ej$<30/>, cub1=^H, cuf1=\EC,
19144166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ,
19145166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL,
19146166124Srafan	ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD,
19147166124Srafan	smul=\ERH,
1914850276Speter# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
1914950276Speter# back/forth words. Put the function keys (f1-f10) where they can be
1915050276Speter# found, and turn off the other magic keys along the top row, except
1915150276Speter# for line/local. Do the magic appropriate to make the page shifts work.
1915250276Speter# Also toggle ^S/^Q for those of us who use Emacs.
19153166124Srafant16|teleray 16,
19154166124Srafan	am, da, db, mir, xhp, xt,
19155166124Srafan	cols#80, lines#24,
19156166124Srafan	bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B,
19157166124Srafan	cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P,
19158166124Srafan	dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L,
19159166124Srafan	ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5,
19160166124Srafan	kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T,
19161166124Srafan	rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m,
19162166124Srafan	rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h,
19163166124Srafan	smso=\E[7m, smul=\E[4m,
1916450276Speter
1916550276Speter#### Texas Instruments (ti)
1916650276Speter#
1916750276Speter
1916850276Speter# The Silent 700 was so called because it was built around a quiet thermal
1916950276Speter# printer.  It was portable, equipped with an acoustic coupler, and pretty
1917050276Speter# neat for its day.
19171166124Srafanti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800,
19172166124Srafan	OTbs, hc, os,
19173166124Srafan	cols#80,
19174166124Srafan	bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J,
1917550276Speter
1917650276Speter#
1917750276Speter# Texas Instruments 916 VDT 7 bit control mode
1917850276Speter#
19179166124Srafanti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL,
19180166124Srafan	da, db, in, msgr,
19181166124Srafan	cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>,
19182166124Srafan	cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB,
19183166124Srafan	cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
19184166124Srafan	dch=\E[%p1%dP$<250>, dch1=\E[P, dl=\E[%p1%dM,
19185166124Srafan	ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, el1=\E[1K,
19186166124Srafan	enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>,
19187166124Srafan	hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>,
19188166124Srafan	il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H,
19189166124Srafan	kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~,
19190166124Srafan	kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~,
19191166124Srafan	kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~,
19192166124Srafan	kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T,
19193166124Srafan	kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, sgr@,
19194166124Srafan	smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd,
19195166124Srafan	use=vt220,
1919650276Speter#
1919750276Speter# Texas Instruments 916 VDT 8 bit control mode
1919850276Speter#
19199166124Srafanti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL,
19200166124Srafan	kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C,
19201166124Srafan	kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~,
19202166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~,
19203166124Srafan	kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~,
19204166124Srafan	kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H,
19205166124Srafan	kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916,
1920650276Speter#
1920750276Speter# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
1920850276Speter#
19209166124Srafanti916-132|Texas Instruments 916 VDT vt220 132 column,
19210166124Srafan	cols#132, use=ti916,
1921150276Speter#
1921250276Speter# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
1921350276Speter#
19214166124Srafanti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column,
19215166124Srafan	cols#132, use=ti916-8,
19216166124Srafanti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL,
19217166124Srafan	OTbs, am, xon,
19218166124Srafan	cols#80, it#8, lines#24,
19219166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19220166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19221166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19222166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19223166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19224166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19225166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ,
19226166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~,
19227166124Srafan	kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m,
19228166124Srafan	ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19229166124Srafan	smul=\E[4m, tbc=\E[3g,
19230166124Srafanti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL,
19231166124Srafan	am, xon,
19232166124Srafan	cols#80, it#8, lines#24,
19233166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
19234166124Srafan	clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M,
19235166124Srafan	csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C,
19236166124Srafan	cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h,
19237166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH,
19238166124Srafan	il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19239166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>,
19240166124Srafan	kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>,
19241166124Srafan	kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>,
19242166124Srafan	kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM,
19243166124Srafan	rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m,
19244166124Srafan	smul=\E[4m, tbc=\E[3g,
19245166124Srafanti924w|Texas Instruments 924 VDT 7 bit - 132 column mode,
19246166124Srafan	cols#132, use=ti924,
19247166124Srafanti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode,
19248166124Srafan	cols#132, use=ti924-8,
19249166124Srafanti931|Texas Instruments 931 VDT,
19250166124Srafan	OTbs, am, xon,
19251166124Srafan	cols#80, lines#24,
19252166124Srafan	bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED,
19253166124Srafan	cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c,
19254166124Srafan	cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH,
19255166124Srafan	ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H,
19256166124Srafan	is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC,
19257166124Srafan	kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3,
19258166124Srafan	kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9,
19259166124Srafan	kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@,
19260166124Srafan	sgr0=\E4@, smso=\E4A, smul=\E4D,
19261166124Srafanti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL,
19262166124Srafan	csr@, ind=\E[1S, ri=\E[1T, use=ti924,
1926350276Speter# (ti926-8: I corrected this from the broken SCO entry -- esr)
19264166124Srafanti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL,
19265166124Srafan	csr@, ind=\2331S, ri=\2331T, use=ti924-8,
19266166124Srafanti_ansi|basic entry for ti928,
19267166124Srafan	am, bce, eo, xenl, xon,
19268166124Srafan	colors#8, cols#80, it#8, lines#25, pairs#64,
19269166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H,
19270166124Srafan	cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B,
19271166124Srafan	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P,
19272166124Srafan	dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@,
19273166124Srafan	il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B,
19274166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M,
19275166124Srafan	kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S,
19276166124Srafan	kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I,
19277166124Srafan	op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m,
19278166124Srafan	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m,
19279166124Srafan	smso=\E[7m, smul=\E[4m,
1928050276Speter#
1928150276Speter#       928 VDT 7 bit control mode
1928250276Speter#
19283166124Srafanti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL,
19284166124Srafan	kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~,
19285166124Srafan	kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~,
19286166124Srafan	kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~,
19287166124Srafan	kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~,
19288166124Srafan	kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi,
1928950276Speter#
1929050276Speter#       928 VDT 8 bit control mode
1929150276Speter#
19292166124Srafanti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL,
19293166124Srafan	kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~,
19294166124Srafan	kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~,
19295166124Srafan	kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~,
19296166124Srafan	kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~,
19297166124Srafan	kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S,
19298166124Srafan	kpp=\233T, kprt=\23335~, use=ti_ansi,
1929950276Speter
1930050276Speter#### Zentec (zen)
1930150276Speter#
1930250276Speter
1930350276Speter# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
19304166124Srafan# had just <smso>=\EG6 which I think means standout was supposed to be
1930550276Speter# dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
1930650276Speter# <invis> might work-- esr)
19307166124Srafanzen30|z30|zentec 30,
19308166124Srafan	OTbs, am, mir, ul,
19309166124Srafan	cols#80, lines#24,
19310166124Srafan	bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19311166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
19312166124Srafan	dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^,
19313166124Srafan	il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6,
19314166124Srafan	smul@, use=adm+sgr,
1931550276Speter# (zen50: this had extension capabilities
1931650276Speter#	:BS=^U:CL=^V:CR=^B:
1931750276Speter# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
1931850276Speter# which were also in the original entry -- esr)
1931950276Speter# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
19320166124Srafanzen50|z50|zentec zephyr,
19321166124Srafan	OTbs, am,
19322166124Srafan	cols#80, lines#24, xmc#1,
19323166124Srafan	clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c,
19324166124Srafan	cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE,
19325166124Srafan	invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^,
19326166124Srafan	rmul@, smul@, use=adm+sgr,
1932750276Speter
1932850276Speter# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
19329166124Srafancci|cci1|z8001|zen8001|CCI Custom Zentec 8001,
19330166124Srafan	OTbs, am, bw,
19331166124Srafan	cols#80, lines#24,
19332166124Srafan	blink=\EM", clear=\EH\EJ, cnorm=\EP,
19333166124Srafan	csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J,
19334166124Srafan	cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA,
19335166124Srafan	cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH,
19336166124Srafan	invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED,
19337166124Srafan	kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R,
19338166124Srafan	rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s,
19339166124Srafan	smso=\EM$, smul=\EM0,
1934050276Speter
1934150276Speter######## OBSOLETE UNIX CONSOLES
1934250276Speter#
1934350276Speter
1934450276Speter#### Apollo consoles
1934550276Speter#
19346166124Srafan# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
1934750276Speter# labeled HP700s now.
1934850276Speter#
1934950276Speter
1935050276Speter# From: Gary Darland <goodmanc@garnet.berkeley.edu>
19351166124Srafanapollo|apollo console,
19352166124Srafan	OTbs, am, mir,
19353166124Srafan	cols#88, lines#53,
19354166124Srafan	clear=^L, cub1=^H, cud1=\EB, cuf1=\EC,
19355166124Srafan	cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL,
19356166124Srafan	ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED,
19357166124Srafan	rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ,
19358166124Srafan	smso=\ES, smul=\EU, vpa=\EO+\s,
1935950276Speter
1936050276Speter# We don't know whether or not the apollo guys replicated DEC's firmware bug
1936150276Speter# in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
1936250276Speter# both these capabilities.
19363166124Srafanapollo_15P|apollo 15 inch display,
19364166124Srafan	rmir@, smir@, use=vt132,
19365166124Srafanapollo_19L|apollo 19 inch display,
19366166124Srafan	rmir@, smir@, use=vt132,
19367166124Srafanapollo_color|apollo color display,
19368166124Srafan	rmir@, smir@, use=vt132,
1936950276Speter
1937050276Speter#### Convergent Technology
1937150276Speter#
1937250276Speter# Burroughs bought Convergent shortly before it merged with Univac.
1937350276Speter# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
1937450276Speter# from 1991 or earlier).
1937550276Speter#
1937650276Speter
1937750276Speter# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
1937850276Speter# (aws: removed unknown :dn=^K: -- esr)
19379166124Srafanaws|Convergent Technologies AWS workstation under UTX and Xenix,
19380166124Srafan	am,
19381166124Srafan	OTug#0, cols#80, lines#28, xmc#0,
19382166124Srafan	OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=,
19383166124Srafan	clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A,
19384166124Srafan	dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c,
19385166124Srafan	ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K,
19386166124Srafan	kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF,
19387166124Srafan	rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN,
19388166124Srafan	vpa=\EV%p1%c,
19389166124Srafanawsc|Convergent Technologies AWS workstation under CTOS,
19390166124Srafan	am,
19391166124Srafan	OTug#0, cols#80, lines#24, xmc#0,
19392166124Srafan	OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L,
19393166124Srafan	cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF,
19394166124Srafan	el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A,
19395166124Srafan	rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE,
19396166124Srafan	smul=\EAC,
1939750276Speter
1939850276Speter#### DEC consoles
1939950276Speter#
1940050276Speter
1940150276Speter# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
1940250276Speter# The digital uVax II's had a graphic display called a qdss.  It was
1940350276Speter# supposed to be a high performance graphic accelerator, but it was
1940450276Speter# late to market and barely appeared before faster dumb frame buffers
1940550276Speter# appeared.  I have only used this display while running X11.  However,
1940650276Speter# during bootup, it was in text mode, and probably had a terminal emulator
1940750276Speter# within it.  And that is what your termcap entry is for.  In graphics
1940850276Speter# mode the screen size is 1024x864 pixels.
19409166124Srafanqdss|qdcons|qdss glass tty,
19410166124Srafan	OTbs, am,
19411166124Srafan	cols#128, lines#57,
19412166124Srafan	clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L,
19413166124Srafan	cup=\E=%p1%c%p2%c, cuu1=^K,
1941450276Speter
1941550276Speter#### Fortune Systems consoles
1941650276Speter#
1941750276Speter# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
1941850276Speter# in their day; I (esr) used one myself for a year or so around 1984.
1941950276Speter# They had no graphics, though, and couldn't compete against Suns and
1942050276Speter# the like.  R.I.P.
1942150276Speter#
1942250276Speter
1942350276Speter# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
1942450276Speter# (This had extension capabilities
1942550276Speter#	:rv=\EH:re=\EI:rg=0:GG=0:\
1942650276Speter#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
1942750276Speter#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
1942850276Speter#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
1942950276Speter# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
1943050276Speter# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
1943150276Speter# to force both magic cookie glitches off.  Once upon a time, I
1943250276Speter# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
1943350276Speter# function keys; thus the "Al" value for HM was certainly an error.  I renamed
19434166124Srafan# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
1943550276Speter# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
1943650276Speter# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
1943750276Speter# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
19438166124Srafanfos|fortune|Fortune system,
19439166124Srafan	OTbs, am, bw,
19440166124Srafan	cols#80, lines#25,
19441166124Srafan	acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E],
19442166124Srafan	clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>,
19443166124Srafan	cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>,
19444166124Srafan	cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>,
19445166124Srafan	ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z,
19446166124Srafan	ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H,
19447166124Srafan	kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r,
19448166124Srafan	kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r,
19449166124Srafan	kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r,
19450166124Srafan	khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH,
19451166124Srafan	rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo,
19452166124Srafan	smso=^\H`, smul=^\HP,
1945350276Speter
1945450276Speter#### Masscomp consoles
1945550276Speter#
1945650276Speter# Masscomp has gone out of business.  Their product line was purchased by
1945750276Speter# comany in Georgia (US) called "XS International", parts and service may
1945850276Speter# still be available through them.
1945950276Speter#
1946050276Speter
1946150276Speter# (masscomp: ":MT:" changed to ":km:";  -- esr)
19462166124Srafanmasscomp|masscomp workstation console,
19463166124Srafan	OTbs, km, mir,
19464166124Srafan	cols#80, it#8, lines#24,
19465166124Srafan	clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C,
19466166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19467166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H,
19468166124Srafan	kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l,
19469166124Srafan	rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu,
19470166124Srafanmasscomp1|masscomp large screen version 1,
19471166124Srafan	cols#104, lines#36, use=masscomp,
19472166124Srafanmasscomp2|masscomp large screen version 2,
19473166124Srafan	cols#64, lines#21, use=masscomp,
1947450276Speter
1947550276Speter######## OTHER OBSOLETE TYPES
1947650276Speter#
1947750276Speter# These terminals are *long* dead -- these entries are retained for
1947850276Speter# historical interest only.
1947950276Speter#
1948050276Speter
1948150276Speter#### Obsolete non-ANSI software emulations
1948250276Speter#
1948350276Speter
1948450276Speter# CTRM terminal emulator
19485166124Srafan# 1. underlining is not allowed with colors: first, is is simulated by
1948650276Speter# black on white, second, it disables background color manipulations.
1948750276Speter# 2. BLINKING, REVERSE and BOLD are allowed with colors,
1948850276Speter# so we have to save their status in the static registers A, B and H
1948950276Speter# respectively, to be able to restore them when color changes
1949050276Speter# (because any color change turns off ALL attributes)
1949150276Speter# 3. <bold> and <rev> sequences alternate modes,
19492166124Srafan# rather than simply  entering them.  Thus we have to check the
19493166124Srafan# static register B and H to determine the status, before sending the
1949450276Speter# escape sequence.
1949550276Speter# 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
1949650276Speter# and then reset colors
1949750276Speter# 5. implementation of the protect mode would badly penalize the performance.
1949850276Speter# we would have to use \E&bn sequence to turn off colors (as well as all
1949950276Speter# other attributes), and keep the status of protect mode in yet another
1950050276Speter# static variable.  If someone really needs this mode, they would have to
1950150276Speter# create another terminfo entry.
1950250276Speter# 6. original color-pair is white on black.
1950350276Speter# store the information about colors into static registers
1950450276Speter# 7. set foreground color.  it performs the following steps.
1950550276Speter#   1) turn off all attributes
1950650276Speter#   2) turn on the background and video attributes that have been turned
1950750276Speter#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
1950850276Speter#   3) turn on foreground attributes
1950950276Speter#   4) store information about foreground into U,V,W static registers
1951050276Speter# 8. turn on background: similar to turn on foreground above
19511166124Srafanctrm|C terminal emulator,
19512166124Srafan	am, bce, xon,
19513166124Srafan	colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0,
19514166124Srafan	pairs#63, pb#19200, vt#6,
19515166124Srafan	bel=^G, blink=\E&dA%{1}%PA,
19516166124Srafan	bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei,
19517166124Srafan	clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19518166124Srafan	cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM,
19519166124Srafan	ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1,
19520166124Srafan	il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r,
19521166124Srafan	kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r,
19522166124Srafan	kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r,
19523166124Srafan	kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r,
19524166124Srafan	op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU,
19525166124Srafan	rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA,
19526166124Srafan	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,
19527166124Srafan	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,
19528166124Srafan	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%;,
19529166124Srafan	sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB,
19530166124Srafan	smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY,
1953150276Speter
1953250276Speter# gs6300 - can't use blue foreground, it clashes with underline;
1953350276Speter# it's simulated with cyan
1953450276Speter# Bug: The <op> capability probably resets attributes.
1953550276Speter# (gs6300: commented out <rmln> (no <smln>) --esr)
19536166124Srafangs6300|emots|AT&T PC6300 with EMOTS terminal emulator,
19537166124Srafan	am, bce, msgr, xon,
19538166124Srafan	colors#8, cols#80, it#8, lines#24, pairs#63,
19539166124Srafan	acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19540166124Srafan	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M,
19541166124Srafan	cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
19542166124Srafan	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
19543166124Srafan	cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
19544166124Srafan	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I,
19545166124Srafan	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
19546166124Srafan	is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B,
19547166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s,
19548166124Srafan	kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s,
19549166124Srafan	khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m,
19550166124Srafan	ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm,
19551166124Srafan	setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m,
19552166124Srafan	sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m,
1955350276Speter
1955450276Speter# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
1955550276Speter# MS-Kermit with Heath-19 emulation mode enabled
1955650276Speter# (h19k: changed ":pt@:" to ":it@"
19557166124Srafanh19k|h19kermit|heathkit emulation provided by Kermit (no auto margin),
19558166124Srafan	am@, da, db, xt,
19559166124Srafan	it@,
19560166124Srafan	ht@, use=h19-u,
1956150276Speter
1956250276Speter# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
1956350276Speter# Software (formerly Peripherals Computers & Supplies, Inc) of
1956450276Speter# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
1956550276Speter# also be reached at support@synergy.com.
19566166124Srafanversaterm|versaterm vt100 emulator for the macintosh,
19567166124Srafan	am, xenl,
19568166124Srafan	cols#80, it#8, lines#24,
19569166124Srafan	bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>,
19570166124Srafan	clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
19571166124Srafan	cub1=^H, cud1=^J, cuf1=\E[C$<2/>,
19572166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>,
19573166124Srafan	dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>,
19574166124Srafan	el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>,
19575166124Srafan	il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD,
19576166124Srafan	kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ,
19577166124Srafan	kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>,
19578166124Srafan	rf=/usr/share/tabset/vt100, ri=\EM$<5/>,
19579166124Srafan	rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>,
19580166124Srafan	sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>,
19581166124Srafan	smul=\E[4m$<2/>,
1958250276Speter
1958350276Speter# From: Rick Thomas <ihnp4!btlunix!rbt>
1958450276Speter# (xtalk: I added <rmam>/<smam> based on the init string.
19585166124Srafanxtalk|IBM PC with xtalk communication program (versions up to 3.4),
19586166124Srafan	am, mir, msgr, xon,
19587166124Srafan	cols#80, it#8, lines#24, vt#3, xmc#1,
19588166124Srafan	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
19589166124Srafan	bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H,
19590166124Srafan	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>,
19591166124Srafan	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
19592166124Srafan	cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>,
19593166124Srafan	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH,
19594166124Srafan	il1=\E[L$<99>, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB,
19595166124Srafan	kcuf1=\EOC, kcuu1=\EOA, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
19596166124Srafan	rmkx=\E[?1l\E>, rmso=\E[m\s,
19597166124Srafan	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
19598166124Srafan	smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s,
19599166124Srafan	tbc=\E[3g, use=vt100+fnkeys,
1960050276Speter
1960150276Speter# The official PC terminal emulator program of the AT&T Product Centers.
1960250276Speter# Note - insert mode commented out - doesn't seem to work on AT&T PC.
19603166124Srafansimterm|attpc running simterm,
19604166124Srafan	am,
19605166124Srafan	cols#80, lines#24,
19606166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
19607166124Srafan	cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER,
19608166124Srafan	dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE,
19609166124Srafan	rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB,
1961050276Speter
1961150276Speter#### Daisy wheel printers
1961250276Speter#
1961350276Speter# This section collects Diablo, DTC, Xerox, Qume, and other daisy
1961450276Speter# wheel terminals.  These are now largely obsolete.
1961550276Speter#
1961650276Speter
1961750276Speter# (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
19618166124Srafandiablo1620|diablo1720|diablo450|ipsi|diablo 1620,
19619166124Srafan	hc, os,
19620166124Srafan	cols#132, it#8,
19621166124Srafan	cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c,
19622166124Srafan	ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2,
19623166124Srafandiablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin,
19624166124Srafan	cols#124,
19625166124Srafan	is2=\r        \E9, use=diablo1620,
1962650276Speter# (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
19627166124Srafandiablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640,
19628166124Srafan	bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE,
19629166124Srafan	use=diablo1620,
19630166124Srafan# (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such
1963150276Speter# file -- esr)
19632166124Srafandiablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin,
19633166124Srafan	cols#124,
19634166124Srafan	rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620,
19635166124Srafandiablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer,
19636166124Srafan	use=diablo1640-lm,
1963750276Speter# DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
1963850276Speter# <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
19639166124Srafan# The terminal has tabs, but I'm getting tired of fighting the braindamage.
1964050276Speter# If no tab is set or the terminal's in a bad mood, it glitches the screen
1964150276Speter# around all of memory.  Note that return puts a blank ("a return character")
1964250276Speter# in the space the cursor was at, so we use ^P return (and thus ^P newline for
1964350276Speter# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
1964450276Speter# curses won't work (some old BSD versions) because it doesn't clear this bit,
1964550276Speter# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
1964650276Speter# I have been unable to get tabs set in all 96 lines - it always leaves at
1964750276Speter# least one line with no tabs in it, and once you tab through that line,
1964850276Speter# it completely weirds out.
1964950276Speter# (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
19650166124Srafandtc382|DTC 382,
19651166124Srafan	am, da, db, xhp,
19652166124Srafan	cols#80, lines#24, lm#96,
19653166124Srafan	bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H,
19654166124Srafan	cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB,
19655166124Srafan	dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U,
19656166124Srafan	home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi,
19657166124Srafan	rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P,
19658166124Srafandtc300s|DTC 300s,
19659166124Srafan	hc, os,
19660166124Srafan	cols#132,
19661166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19662166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
19663166124Srafangsi|mystery gsi terminal,
19664166124Srafan	hc, os,
19665166124Srafan	cols#132,
19666166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH,
19667166124Srafan	ind=^J,
19668166124Srafanaj830|aj832|aj|anderson jacobson,
19669166124Srafan	hc, os,
19670166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8,
19671166124Srafan	ind=^J,
1967250276Speter# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
19673166124Srafanaj510|Anderson-Jacobson model 510,
19674166124Srafan	am, mir,
19675166124Srafan	cols#80, lines#24,
19676166124Srafan	clear=^L, cub1=^H, cuf1=\EX,
19677166124Srafan	cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY,
19678166124Srafan	dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=,
19679166124Srafan	il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ,
19680166124Srafan	kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J,
19681166124Srafan	rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I,
19682166124Srafan	smul=\E"U,
1968350276Speter# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
1968450276Speter# This is incomplete, but it's a start.
19685166124Srafannec5520|nec|spinwriter|nec 5520,
19686166124Srafan	hc, os,
19687166124Srafan	cols#132, it#8,
19688166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L,
19689166124Srafan	hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J,
19690166124Srafan	kbs=^H, tbc=\E3,
19691166124Srafanqume5|qume|Qume Sprint 5,
19692166124Srafan	hc, os,
19693166124Srafan	cols#80, it#8,
19694166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I,
19695166124Srafan	hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3,
1969650276Speter# I suspect the xerox 1720 is the same as the diablo 1620.
19697166124Srafanxerox1720|x1720|x1750|xerox 1720,
19698166124Srafan	hc, os,
19699166124Srafan	cols#132, it#8,
19700166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J,
19701166124Srafan	tbc=\E2,
1970250276Speter
1970350276Speter#### Miscellaneous obsolete terminals, manufacturers unknown
1970450276Speter#
19705166124Srafan# If you have any information about these (like, a manufacturer's name,
1970650276Speter# and a date on the serial-number plate) please send it!
1970750276Speter
19708166124Srafancad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars,
19709166124Srafan	OTbs, am,
19710166124Srafan	cols#73, lines#36,
19711166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^,
19712166124Srafancad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars,
19713166124Srafan	OTbs, am,
19714166124Srafan	cols#85, lines#39,
19715166124Srafan	clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3,
19716166124Srafan	kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7,
19717166124Srafan	kf4=\E8, rmso=\Em^C, smso=\Em^L,
19718166124Srafancops10|cops|cops-10|cops 10,
19719166124Srafan	am, bw,
19720166124Srafan	cols#80, lines#24,
19721166124Srafan	bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
19722166124Srafan	cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V,
19723166124Srafan	ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K,
19724166124Srafan	khome=^Y,
1972550276Speter# (d132: removed duplicate :ic=\E5:,
1972650276Speter# merged in capabilities from a BRL entry -- esr)
19727166124Srafand132|datagraphix|datagraphix 132a,
19728166124Srafan	da, db, in,
19729166124Srafan	cols#80, lines#30,
19730166124Srafan	bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J,
19731166124Srafan	cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex,
19732166124Srafan	dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H,
19733166124Srafan	kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew,
1973450276Speter# The d800 was an early portable terminal from c.1984-85 that looked a lot
1973550276Speter# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
1973650276Speter# mode (which is what this entry looks like) and several other lesser-known
1973750276Speter# emulations.
19738166124Srafand800|Direct 800/A,
19739166124Srafan	OTbs, am, da, db, msgr, xhp,
19740166124Srafan	cols#80, it#8, lines#24,
19741166124Srafan	acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
19742166124Srafan	bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H,
19743166124Srafan	cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
19744166124Srafan	cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D,
19745166124Srafan	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ,
19746166124Srafan	kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW,
19747166124Srafan	ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19748166124Srafan	smacs=\E[1m, smso=\E[7m, smul=\E[4m,
19749166124Srafandigilog|digilog 333,
19750166124Srafan	OTbs,
19751166124Srafan	cols#80, lines#16,
19752166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X,
19753166124Srafan	home=^N, ind=^J,
1975450276Speter# The DWK was a terminal manufactured in the Soviet Union c.1986
19755166124Srafandwk|dwk-vt|dwk terminal,
19756166124Srafan	am,
19757166124Srafan	cols#80, it#8, lines#24,
19758166124Srafan	acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_,
19759166124Srafan	bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
19760166124Srafan	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP,
19761166124Srafan	ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177,
19762166124Srafan	kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee,
19763166124Srafan	kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5,
19764166124Srafan	kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh,
19765166124Srafan	kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX,
19766166124Srafan	sgr0=\EX, smacs=\EF, smso=\ET,
19767166124Srafanenv230|envision230|envision 230 graphics terminal,
19768166124Srafan	xenl@,
19769166124Srafan	mc0=\E[0i, mc4=\E[4i, mc5=\E[5i,
19770166124Srafan	sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>,
19771166124Srafan	use=vt100,
1977250276Speter# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
1977350276Speter# coupler attached, the whole rig fitting in a suitcase and more or less
1977450276Speter# portable.  Hot stuff for c.1977 :-) -- esr
19775166124Srafanep48|ep4080|execuport 4080,
19776166124Srafan	OTbs, am, os,
19777166124Srafan	cols#80,
19778166124Srafan	bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J,
19779166124Srafanep40|ep4000|execuport 4000,
19780166124Srafan	cols#136, use=ep4080,
1978162449Speter# Adam Thompson <athompso@pangea.ca> tells us:
1978250276Speter# Informer series - these are all portable units, resembling older
1978350276Speter# automatic bread-baking machines.  The terminal looks like a `clamshell'
1978450276Speter# design, but isn't.  The structure is similar to the Direct terminals,
1978550276Speter# but only half the width.  The entire unit is only about 10" wide.
1978650276Speter# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
1978750276Speter# keyboard.  All the keys are crammed together, much like some laptop
1978850276Speter# PCs today, but perhaps less well organized...all these units have a
1978950276Speter# bewildering array of plugs on the back, including a built-in modem.
1979050276Speter# The 305 was a color version of the 304; the 306 and 307 were mono and
1979150276Speter# color terminals built for IBM bisync protocols.
1979250276Speter# From: Paul Leondis <unllab@amber.berkeley.edu>
19793166124Srafanifmr|Informer D304,
19794166124Srafan	OTbs, am,
19795166124Srafan	cols#80, lines#24,
19796166124Srafan	clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC,
19797166124Srafan	cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\,
19798166124Srafan	ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK,
19799166124Srafan	smso=\EJ,
1980050276Speter# Entry largely based on wy60 and has the features of wy60ak.
19801166124Srafanopus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys,
19802166124Srafan	am, bw, hs, km, mir, msgr, ul, xon,
19803166124Srafan	cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80,
19804166124Srafan	acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2,
19805166124Srafan	cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M,
19806166124Srafan	cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K,
19807166124Srafan	dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r,
19808166124Srafan	ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>,
19809166124Srafan	hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J,
19810166124Srafan	ip=$<3>,
19811166124Srafan	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,
19812166124Srafan	kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B,
19813166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY,
19814166124Srafan	kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r,
19815166124Srafan	kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r,
19816166124Srafan	kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r,
19817166124Srafan	kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^,
19818166124Srafan	kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er,
19819166124Srafan	mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>,
19820166124Srafan	pfloc=\EZ2%p1%{63}%+%c%p2%s\177,
19821166124Srafan	pfx=\EZ1%p1%{63}%+%c%p2%s\177,
19822166124Srafan	pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>,
19823166124Srafan	rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11,
19824166124Srafan	rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
19825166124Srafan	rs3=\EwG\Ee($<150>,
19826166124Srafan	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,
19827166124Srafan	sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/,
19828166124Srafan	smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177,
19829166124Srafan	smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(,
19830166124Srafan	uc=\EG8\EG0, use=adm+sgr,
19831166124Srafanteletec|Teletec Datascreen,
19832166124Srafan	OTbs, am,
19833166124Srafan	cols#80, lines#24,
19834166124Srafan	bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K,
19835166124Srafan	home=^^, ind=^J,
1983650276Speter# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
1983750276Speter# This description is for the LANPAR Technologies VISION 3220
1983850276Speter# terminal from 1984/85.  The function key definitions k0-k5 represent the
1983950276Speter# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
1984050276Speter# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
1984162449Speter#
1984262449Speter# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
1984362449Speter# I had a couple of scopes (3221) like this once where I used to work, around
19844166124Srafan# the 1987 time frame if memory serves me correctly.  These scopes were made
1984562449Speter# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
1984662449Speter# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
1984762449Speter# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
1984862449Speter# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
1984962449Speter# (3221) cost about $1500 each, and one was always broken -- had to be sent
1985062449Speter# back to the shop for repairs.
1985162449Speter# The only real advantage these scopes had over the VT-240's were:
1985262449Speter# 1) They were faster in the Regis display, or at least the ones I did
1985362449Speter# 2) They had a handy debugging feature where you could split-screen the
1985462449Speter# scope, the graphics would appear on the top, and the REGIS commands would
1985562449Speter# appear on the bottom.  I don't remember the VT-240s being able to do that.
1985662449Speter# I would swear that LANPAR Technologies was in MA someplace, but since I
1985762449Speter# don't work at the same place anymore, and those terminals and manuals were
1985862449Speter# long since junked, I cannot be any more sure than that.
1985962449Speter#
1986050276Speter# (v3220: removed obsolete ":kn#10:",
1986150276Speter# I added <rmam>/<smam> based on the init string -- esr)
19862166124Srafanv3220|LANPAR Vision II model 3220/3221/3222,
19863166124Srafan	OTbs, am, mir, xenl,
19864166124Srafan	cols#80, it#8, lines#24,
19865166124Srafan	clear=\E[H\E[J, cub1=^H, cuf1=\E[C,
19866166124Srafan	cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M,
19867166124Srafan	ed=\E[J, el=\E[K, ht=^I, il1=\E[L,
19868166124Srafan	is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B,
19869166124Srafan	kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~,
19870166124Srafan	kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ,
19871166124Srafan	kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l,
19872166124Srafan	rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m,
19873166124Srafan	smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m,
1987450276Speter######## ICH/ICH1 VERSUS RMIR/SMIR
1987550276Speter#
1987650276Speter# Some non-curses applications get confused if both ich/ich1 and rmir/smir
1987750276Speter# are present; the symptom is doubled characters in an update using insert.
1987850276Speter# These applications are technically correct; in both 4.3BSD termcap and
1987950276Speter# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
1988050276Speter# unless the terminal needs both.  To my knowledge, no terminal still in this
1988150276Speter# file requires both other than the very obsolete dm2500.
1988250276Speter#
1988350276Speter# For ncurses-based applications this is not a problem, as ncurses uses
1988450276Speter# one or the other as appropriate but never mixes the two.  Therefore we
1988550276Speter# have not corrected entries like `linux' and `xterm' that specify both.
1988650276Speter# If you see doubled characters from these, use the linux-nic and xterm-nic
1988750276Speter# entries that suppress ich/ich1.  And upgrade to ncurses!
1988850276Speter#
1988950276Speter
1989050276Speter######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
1989150276Speter#
1989250276Speter# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
1989350276Speter# ECMA-48 standards are said to be almost identical, but are not the same
1989450276Speter# as X3.64 (though for practical purposes they are close supersets of it).
1989550276Speter#
1989650276Speter# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
1989750276Speter# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
1989850276Speter# Coded Character Sets"), include your snail-mail address, and you should
1989950276Speter# receive the document in due course.  Don't expect an email acknowledgement.
1990050276Speter#
1990150276Speter# Related standards include "X3.4-1977: American National Standard Code for
19902166124Srafan# Information Interchange" (the ASCII standard) and "X3.41.1974:
1990350276Speter# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
1990450276Speter# American National Standard for Information Interchange."  I believe (but
1990550276Speter# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
19906166124Srafan# respectively.
1990750276Speter#
1990850276Speter
1990950276Speter#### VT100/ANSI/ECMA-48
1991050276Speter#
1991150276Speter# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
1991250276Speter# and ECMA-48 Control Functions for Coded Character Sets.
19913166124Srafan#
1991450276Speter# Much of the content of this comment is adapted from a table prepared by
1991550276Speter# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
1991650276Speter# discussion of some terminfo-related issues, and updates to capture ECMA-48
1991750276Speter# have been added.  Control functions described in ECMA-48 only are tagged
1991850276Speter# with * after their names.
1991950276Speter#
1992050276Speter# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
1992150276Speter# sequences.  In the main table, \E stands for an escape (\033) character,
1992250276Speter# SPC for space.  Pn stands for a single numeric parameter to be inserted
1992350276Speter# in decimal ASCII.  Ps stands for a list of such parameters separated by
1992450276Speter# semicolons.  Parameter meanings for most parametrized sequences are
1992550276Speter# decribed in the notes.
1992650276Speter#
1992750276Speter# Sequence     Sequence                             Parameter   or
1992850276Speter# Mnemonic     Name              Sequence           Value      Mode   terminfo
1992950276Speter# -----------------------------------------------------------------------------
1993050276Speter# APC  Applicatn Program Command \E _                -         Delim  -
1993150276Speter# BEL  Bell *                    ^G                  -         -      bel
1993250276Speter# BPH  Break Permitted Here *    \E B                -         *      -
1993350276Speter# BS   Backpace *                ^H                  -         EF     -
1993450276Speter# CAN  Cancel *                  ^X                  -         -      -   (A)
1993550276Speter# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
1993650276Speter# CCH  Cancel Previous Character \E T                -         -      -
1993750276Speter# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
1993850276Speter# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
1993950276Speter# CMD  Coding Method Delimiter * \E
1994050276Speter# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
1994150276Speter# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
1994250276Speter# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
1994350276Speter# CSI  Control Sequence Intro    \E [                -         Intro  -
1994450276Speter# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
1994550276Speter# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
1994650276Speter# CUD  Cursor Down               \E [ Pn B           1         eF     cud
1994750276Speter# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
1994850276Speter# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
1994950276Speter# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
1995050276Speter# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
1995150276Speter# DA   Device Attributes         \E [ Pn c           0         -      -
1995250276Speter# DAQ  Define Area Qualification \E [ Ps o           0         -      -
1995350276Speter# DCH  Delete Character          \E [ Pn P           1         eF     dch
1995450276Speter# DCS  Device Control String     \E P                -         Delim  -
1995550276Speter# DL   Delete Line               \E [ Pn M           1         eF     dl
1995650276Speter# DLE  Data Link Escape *        ^P                  -         -      -
1995750276Speter# DMI  Disable Manual Input      \E \                -         Fs     -
1995850276Speter# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
1995950276Speter# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
1996050276Speter# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
1996150276Speter# ECH  Erase Character           \E [ Pn X           1         eF     ech
1996250276Speter# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
1996350276Speter# EF   Erase in Field            \E [ Ps N           0         eF     -
1996450276Speter# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
1996550276Speter# EM   End of Medium *           ^Y                  -         -      -
1996650276Speter# EMI  Enable Manual Input       \E b                          Fs     -
1996750276Speter# ENQ  Enquire                   ^E                  -         -      -
1996850276Speter# EOT  End Of Transmission       ^D                  -         *      -
1996950276Speter# EPA  End of Protected Area     \E W                -         -      -   (K)
1997050276Speter# ESA  End of Selected Area      \E G                -         -      -
1997150276Speter# ESC  Escape                    ^[                  -         -      -
1997250276Speter# ETB  End Transmission Block    ^W                  -         -      -
1997350276Speter# ETX  End of Text               ^C                  -         -      -
1997450276Speter# FF   Form Feed                 ^L                  -         -      -
1997550276Speter# FNK  Function Key *            \E [ Pn SPC W       -         -      -
1997650276Speter# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
1997750276Speter# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
1997850276Speter# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
1997950276Speter# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
1998050276Speter# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
1998150276Speter# HPB  Char Position Backward    \E [ j              1         FE     -
1998250276Speter# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
1998350276Speter# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
1998450276Speter# HTJ  Horz Tab w/Justification  \E I                -         FE     -
1998550276Speter# HTS  Horizontal Tab Set        \E H                -         FE     hts
1998650276Speter# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
1998750276Speter# ICH  Insert Character          \E [ Pn @           1         eF     ich
1998850276Speter# IDCS ID Device Control String  \E [ SPC O          -         *      -
1998950276Speter# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
1999050276Speter# IL   Insert Line               \E [ Pn L           1         eF     il
1999150276Speter# IND  Index                     \E D                -         FE     -
1999250276Speter# INT  Interrupt                 \E a                -         Fs     -
1999350276Speter# JFY  Justify                   \E [ Ps SPC F       0         FE     -
1999450276Speter# IS1  Info Separator #1 *       ^_                  -         *      -
1999550276Speter# IS2  Info Separator #1 *       ^^                  -         *      -
1999650276Speter# IS3  Info Separator #1 *       ^]                  -         *      -
1999750276Speter# IS4  Info Separator #1 *       ^\                  -         *      -
1999850276Speter# LF   Line Feed                 ^J                  -         -      -
1999950276Speter# LS1R Locking Shift Right 1 *   \E ~                -         -      -
2000050276Speter# LS2  Locking Shift 2 *         \E n                -         -      -
2000150276Speter# LS2R Locking Shift Right 2 *   \E }                -         -      -
2000250276Speter# LS3  Locking Shift 3 *         \E o                -         -      -
2000350276Speter# LS3R Locking Shift Right 3 *   \E |                -         -      -
2000450276Speter# MC   Media Copy                \E [ Ps i           0         -      -   (S)
2000550276Speter# MW   Message Waiting           \E U                -         -      -
2000650276Speter# NAK  Negative Acknowledge *    ^U                  -         *      -
2000750276Speter# NBH  No Break Here *           \E C                -         -      -
2000850276Speter# NEL  Next Line                 \E E                -         FE     nel (D)
2000950276Speter# NP   Next Page                 \E [ Pn U           1         eF     -
2001050276Speter# NUL  Null *                    ^@                  -         -      -
2001150276Speter# OSC  Operating System Command  \E ]                -         Delim  -
2001250276Speter# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
2001350276Speter# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
2001450276Speter# PLD  Partial Line Down         \E K                -         FE     -   (T)
2001550276Speter# PLU  Partial Line Up           \E L                -         FE     -   (U)
2001650276Speter# PM   Privacy Message           \E ^                -         Delim  -
2001750276Speter# PP   Preceding Page            \E [ Pn V           1         eF     -
2001850276Speter# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
2001950276Speter# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
2002050276Speter# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
2002150276Speter# PTX  Parallel Texts *          \E [ \              -         -      -
2002250276Speter# PU1  Private Use 1             \E Q                -         -      -
2002350276Speter# PU2  Private Use 2             \E R                -         -      -
2002450276Speter# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
2002550276Speter# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
2002650276Speter# RI   Reverse Index             \E M                -         FE     -   (V)
2002750276Speter# RIS  Reset to Initial State    \E c                -         Fs     -
2002850276Speter# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
2002950276Speter# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
2003050276Speter# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
2003150276Speter# SCI  Single-Char Introducer    \E Z                -         -      -
2003250276Speter# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
2003350276Speter# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
2003450276Speter# SD   Scroll Down               \E [ Pn T           1         eF     rin
2003550276Speter# SDS  Start Directed String *   \E [ Pn ]           1         -      -
2003650276Speter# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
2003750276Speter# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
2003850276Speter# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
2003950276Speter# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
2004050276Speter# SI   Shift In                  ^O                  -         -      -   (P)
2004150276Speter# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
2004250276Speter# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
2004350276Speter# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
2004450276Speter# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
2004550276Speter# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
2004650276Speter# SM   Select Mode               \E [ Ps h           none      -      -   (W)
2004750276Speter# SO   Shift Out                 ^N                  -         -      -   (Q)
2004850276Speter# SOH  Start Of Heading *        ^A                  -         -      -
2004950276Speter# SOS  Start of String *         \E X                -         -      -
2005050276Speter# SPA  Start of Protected Area   \E V                -         -      -   (Z)
2005150276Speter# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
2005250276Speter# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
2005350276Speter# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
2005450276Speter# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
2005550276Speter# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
2005650276Speter# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
2005750276Speter# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
2005850276Speter# SRS  Start Reversed String *   \E [ Ps [           0         -      -
2005950276Speter# SSA  Start of Selected Area    \E F                -         -      -
2006050276Speter# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
2006150276Speter# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
2006250276Speter# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
2006350276Speter# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
2006450276Speter# ST   String Terminator         \E \                -         Delim  -
2006550276Speter# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
2006650276Speter# STS  Set Transmit State        \E S                -         -      -
2006750276Speter# STX  Start pf Text *           ^B                  -         -      -
2006850276Speter# SU   Scroll Up                 \E [ Pn S           1         eF     indn
2006950276Speter# SUB  Substitute *              ^Z                  -         -      -
2007050276Speter# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
2007150276Speter# SYN  Synchronous Idle *        ^F                  -         -      -
2007250276Speter# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
2007350276Speter# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
2007450276Speter# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
2007550276Speter# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
2007650276Speter# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
2007750276Speter# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
2007850276Speter# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
2007950276Speter# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
2008050276Speter# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
2008150276Speter# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
2008250276Speter# VT   Vertical Tabulation *     ^K                  -         FE     -
2008350276Speter# VTS  Vertical Tabulation Set   \E J                -         FE     -
20084166124Srafan#
2008550276Speter# ---------------------------------------------------------------------------
2008650276Speter#
2008750276Speter# Notes:
2008850276Speter#
20089166124Srafan# Some control characters are listed in the ECMA-48 standard without
20090166124Srafan# being assigned functions relevant to terminal control there (they
2009150276Speter# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
2009250276Speter# here anyway for completeness.
2009350276Speter#
2009450276Speter# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
2009550276Speter#
2009650276Speter# (B) There seems to be some confusion abroad between CHA and HPA.  Most
2009750276Speter# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
2009850276Speter# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
2009950276Speter# preserved the CHA abbreviation.
2010050276Speter#
2010150276Speter# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
2010250276Speter# Occasionally (as on, for example, certain HP terminals) this has the HTJ
2010350276Speter# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
2010450276Speter# CHT abbreviation.
2010550276Speter#
2010650276Speter# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
2010750276Speter#
20108166124Srafan# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
2010950276Speter# abbreviation.
20110166124Srafan#
2011150276Speter# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
20112166124Srafan# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
2011350276Speter# 5 = clear all char tabs, 6 = clear all line tabs.
2011450276Speter#
2011550276Speter# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
2011650276Speter# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
2011750276Speter# Position Absolute" but retains the HVP abbreviation.
2011850276Speter#
2011950276Speter# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
2012050276Speter# abbreviation.
2012150276Speter#
2012250276Speter# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
2012350276Speter# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
2012450276Speter# DSR, 6 = request CPR response.
2012550276Speter#
2012650276Speter# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
2012750276Speter# 1 = clear from beginning, 2 = clear.
20128166124Srafan#
2012950276Speter# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
2013050276Speter#
2013150276Speter# (L) The GSM parameters are vertical and horizontal parameters to scale by.
2013250276Speter#
2013350276Speter# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
2013450276Speter# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
2013550276Speter# Position Relative" but retains the HPR abbreviation.
2013650276Speter#
2013750276Speter# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
2013850276Speter# abbreviation.
2013950276Speter#
2014050276Speter# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
2014150276Speter# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
2014250276Speter# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
2014350276Speter# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
2014450276Speter# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
2014550276Speter# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
2014650276Speter# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
2014750276Speter# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
2014850276Speter# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
2014950276Speter# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
2015050276Speter# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
2015150276Speter# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
2015250276Speter# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
2015350276Speter# 61-65 = variable highlights for ideograms.
2015450276Speter#
2015550276Speter# (P) SI is also called LSO, Locking Shift Zero.
2015650276Speter#
2015750276Speter# (Q) SI is also called LS1, Locking Shift One.
2015850276Speter#
2015950276Speter# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
2016050276Speter# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
2016150276Speter# Absolute' but retains the VPA abbreviation.
2016250276Speter#
2016350276Speter# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
2016450276Speter# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
20165166124Srafan# from secondary aux device, 4 = stop relay to primary aux device, 5 =
2016650276Speter# start relay to primary aux device, 6 = stop relay to secondary aux device,
2016750276Speter# 7 = start relay to secondary aux device.
2016850276Speter#
2016950276Speter# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
2017050276Speter# abbreviation.
2017150276Speter#
20172166124Srafan# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
2017350276Speter# abbreviation.
2017450276Speter#
2017550276Speter# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
2017650276Speter#
20177166124Srafan# (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
20178166124Srafan# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
2017950276Speter# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
2018050276Speter# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
20181166124Srafan# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
2018250276Speter# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
20183166124Srafan# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
2018450276Speter# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
2018550276Speter# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
2018650276Speter# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
2018750276Speter# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
2018850276Speter# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
2018950276Speter# from ECMA-48's 5th edition but are listed here for reference.
2019050276Speter#
2019150276Speter# (X) Select Alternate Presentation Variants is used only for non-Latin
2019250276Speter# alphabets.
2019350276Speter#
2019450276Speter# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
2019550276Speter#
2019650276Speter# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
2019750276Speter# abbreviation.
2019850276Speter#
2019950276Speter# ---------------------------------------------------------------------------
20200166124Srafan#
2020150276Speter# Abbreviations:
2020250276Speter#
2020350276Speter# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
2020450276Speter#        X3.64 Control Sequence Introducer is the two characters "Escape ["
20205166124Srafan#
2020650276Speter# Delim  a Delimiter
20207166124Srafan#
2020850276Speter# x/y    identifies a character by position in the ASCII table (column/row)
20209166124Srafan#
2021050276Speter# eF     editor function (see explanation)
20211166124Srafan#
2021250276Speter# FE     format effector (see explanation)
2021350276Speter#
2021450276Speter# F      is a Final character in
2021550276Speter#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
2021650276Speter#             a control sequence (F from 4/0 to 7/14)
20217166124Srafan#
2021850276Speter# Gs     is a graphic character appearing in strings (Gs ranges from
2021950276Speter#        2/0 to 7/14) in the ASCII table
20220166124Srafan#
2022150276Speter# Ce     is a control represented as a single bit combination in the C1 set
2022250276Speter#        of controls in an 8-bit character set
20223166124Srafan#
2022450276Speter# C0     the familiar set of 7-bit ASCII control characters
20225166124Srafan#
2022650276Speter# C1     roughly, the set of control chars available only in 8-bit systems.
2022750276Speter#        This is too complicated to explain fully here, so read Jim Fleming's
2022850276Speter#        article in the February 1983 BYTE, especially pages 214 through 224.
20229166124Srafan#
2023050276Speter# Fe     is a Final character of a 2-character Escape sequence that has an
2023150276Speter#        equivalent representation in an 8-bit environment as a Ce-type
2023250276Speter#        (Fe ranges from 4/0 to 5/15)
20233166124Srafan#
2023450276Speter# Fs     is a Final character of a 2-character Escape sequence that is
2023550276Speter#        standardized internationally with identical representation in 7-bit
2023650276Speter#        and 8-bit environments and is independent of the currently
2023750276Speter#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
20238166124Srafan#
2023950276Speter# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
2024050276Speter#        ASCII table
20241166124Srafan#
2024250276Speter# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
2024350276Speter#        table
20244166124Srafan#
2024550276Speter# Pn     is a numeric parameter in a control sequence, a string of zero or
2024650276Speter#        more characters ranging from 3/0 to 3/9 in the ASCII table
20247166124Srafan#
2024850276Speter# Ps     is a variable number of selective parameters in a control sequence
2024950276Speter#        with each selective parameter separated from the other by the code
2025050276Speter#        3/11 (which usually represents a semicolon); Ps ranges from
2025150276Speter#        3/0 to 3/9 and includes 3/11
2025250276Speter#
2025350276Speter# *      Not relevant to terminal control, listed for completeness only.
20254166124Srafan#
2025550276Speter# Format Effectors versus Editor Functions
20256166124Srafan#
2025750276Speter# A format effector specifies how following output is to be displayed.
2025850276Speter# An editor function allows you to modify the display.  Informally
2025950276Speter# format effectors may be destructive; format effectors should not be.
20260166124Srafan#
20261166124Srafan# For instance, a format effector that moves the "active position" (the
2026250276Speter# cursor or equivalent) one space to the left would be useful when you want to
2026350276Speter# create an overstrike, a compound character made of two standard characters
2026450276Speter# overlaid. Control-H, the Backspace character, is actually supposed to be a
2026550276Speter# format effector, so you can do this. But many systems use it in a
2026650276Speter# nonstandard fashion, as an editor function, deleting the character to the
2026750276Speter# left of the cursor and moving the cursor left. When Control-H is assumed to
2026850276Speter# be an editor function, you cannot predict whether its use will create an
2026950276Speter# overstrike unless you also know whether the output device is in an "insert
2027050276Speter# mode" or an "overwrite mode". When Control-H is used as a format effector,
2027150276Speter# its effect can always be predicted. The familiar characters carriage
2027250276Speter# return, linefeed, formfeed, etc., are defined as format effectors.
2027350276Speter#
2027450276Speter# NOTES ON THE DEC VT100 IMPLEMENTATION
20275166124Srafan#
2027650276Speter# Control sequences implemented in the VT100 are as follows:
20277166124Srafan#
2027850276Speter#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
2027950276Speter#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
20280166124Srafan#
2028150276Speter# plus several private DEC commands.
20282166124Srafan#
2028350276Speter# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
20284166124Srafan#
2028550276Speter#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
2028650276Speter#      Erase from beginning of line to cursor     Esc [ 1 K
2028750276Speter#      Erase line containing cursor               Esc [ 2 K
2028850276Speter#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
2028950276Speter#      Erase from beginning of screen to cursor   Esc [ 1 J
2029050276Speter#      Erase entire screen                        Esc [ 2 J
2029150276Speter#
2029250276Speter# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
2029350276Speter# Esc [ 2 J, but this is wrong; the default is 0.
20294166124Srafan#
2029550276Speter# The VT100 responds to receiving the DA (Device Attributes) control
20296166124Srafan#
2029750276Speter#      Esc [ c    (or Esc [ 0 c)
20298166124Srafan#
2029950276Speter# by transmitting the sequence
20300166124Srafan#
2030150276Speter#      Esc [ ? l ; Ps c
20302166124Srafan#
2030350276Speter# where Ps is a character that describes installed options.
20304166124Srafan#
2030550276Speter# The VT100's cursor location can be read with the DSR (Device Status
2030650276Speter# Report) control
20307166124Srafan#
2030850276Speter#      Esc [ 6 n
20309166124Srafan#
2031050276Speter# The VT100 reports by transmitting the CPR sequence
20311166124Srafan#
2031250276Speter#      Esc [ Pl ; Pc R
20313166124Srafan#
2031450276Speter# where Pl is the line number and Pc is the column number (in decimal).
20315166124Srafan#
2031650276Speter# The specification for the DEC VT100 is document EK-VT100-UG-003.
2031750276Speter
2031850276Speter#### ANSI.SYS
20319166124Srafan#
2032050276Speter# Here is a description of the color and attribute controls supported in the
2032150276Speter# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
2032250276Speter# terminal emulators for Intel boxes obey these.  They are a proper subset
2032350276Speter# of the ECMA-48 escapes.
2032450276Speter#
2032550276Speter# 0	all attributes off
2032650276Speter# 1	foreground bright
2032750276Speter# 4	underscore on
2032850276Speter# 5	blink on/background bright (not reliable with brown)
2032950276Speter# 7	reverse-video
2033050276Speter# 8	set blank (non-display)
2033150276Speter# 10	set primary font
2033250276Speter# 11	set first alternate font (on PCs, display ROM characters 1-31)
2033350276Speter# 12	set second alternate font (on PCs, display IBM high-half chars)
2033450276Speter#
2033550276Speter#			Color attribute sets
2033650276Speter# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
2033750276Speter# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
2033850276Speter# Bright black becomes gray.  Bright brown becomes yellow,
2033950276Speter# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
2034050276Speter#
2034150276Speter# * If the 5 attribute is on and you set a background color (40-47) it is
2034250276Speter#   supposed to enable bright background.
2034350276Speter#
2034450276Speter# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
2034550276Speter#   when you try to set a "bright brown" (yellow) background with attribute
2034650276Speter#   5 (you get a blinking yellow foreground instead).  A few displays
2034750276Speter#   (including the System V console) support an attribute 6 that undoes this
2034850276Speter#   braindamage (this is required by iBCS2).
2034950276Speter#
2035050276Speter# * Some older versions of ANSI.SYS have a bug that causes thems to require
2035150276Speter#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
2035250276Speter#   compatible.)
2035350276Speter
2035450276Speter#### Intel Binary Compatibility Standard
2035550276Speter#
20356166124Srafan# For comparison, here are the capabilities implied by the Intel Binary
2035750276Speter# Compatibility Standard for UNIX systems (Intel order number 468366-001).
2035850276Speter# These recommendations are optional.  IBCS2 allows the leading escape to
2035950276Speter# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
2036050276Speter# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
2036150276Speter# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
2036250276Speter# terminfo entry are followed with the corresponding capability in parens:
2036350276Speter#
2036450276Speter#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
2036550276Speter#	CSI 2h   		lock keyboard
2036650276Speter#	CSI 2i  		send screen as input
2036750276Speter#	CSI 2l  		unlock keyboard
2036850276Speter#	CSI 6m  		enable background color intensity
2036950276Speter#	CSI <0-2>c		reserved
2037050276Speter#	CSI <0-59>m		select graphic rendition
2037150276Speter#	CSI <n>;<m>H	(cup)	cursor to line n and column m
2037250276Speter#	CSI <n>;<m>f		cursor to line n and column m
2037350276Speter#	CSI <n>@	(ich)	insert characters
2037450276Speter#	CSI <n>A	(cuu)	cursor up n lines
2037550276Speter#	CSI <n>B	(cud)	cursor down n lines
2037650276Speter#	CSI <n>C	(cuu)	cursor right n characters
2037750276Speter#	CSI <n>D	(cud)	cursor left n characters
2037850276Speter#	CSI <n>E		cursor down n lines and in first column
2037950276Speter#	CSI <n>F		cursor up n lines and in first column
2038050276Speter#	CSI <n>G	(hpa)	position cursor at column n-1
2038150276Speter#	CSI <n>J	(ed)	erase in display
2038250276Speter#	CSI <n>K	(el)	erase in line
2038350276Speter#	CSI <n>L	(il)	insert line(s)
2038450276Speter#	CSI <n>P	(dch)	delete characters
2038550276Speter#	CSI <n>S	(indn)	scroll up n lines
2038650276Speter#	CSI <n>T	(rin)	scroll down n lines
2038750276Speter#	CSI <n>X	(ech)	erase characters
2038850276Speter#	CSI <n>Z	(cbt)	back up n tab stops
2038950276Speter#	CSI <n>`		cursor to column n on line
2039050276Speter#	CSI <n>a	(cuu)	cursor right n characters
2039150276Speter#	CSI <n>d	(vpa)	cursor to line n
2039250276Speter#	CSI <n>e		cursor down n lines and in first column
2039350276Speter#	CSI <n>g	(cbt)	clear all tabs
2039450276Speter#	CSI <n>z		make virtual terminal n active
2039550276Speter#	CSI ?7h 	(smam)	turn automargin on
2039650276Speter#	CSI ?7l 	(rmam)	turn automargin off
2039750276Speter#	CSI s     		save cursor position
2039850276Speter#	CSI u   		restore cursor position to saved value
2039950276Speter#	CSI =<c>A		set overscan color
2040050276Speter#	CSI =<c>F		set normal foreground color
2040150276Speter#	CSI =<c>G		set normal background color
2040250276Speter#	CSI =<c>H		set reverse foreground color
2040350276Speter#	CSI =<c>I		set reverse foreground color
2040450276Speter#	CSI =<c>J		set graphic foreground color
2040550276Speter#	CSI =<c>K		set graphic foreground color
2040650276Speter#	CSI =<n>g	(dispc) display n from alternate graphics character set
2040750276Speter#	CSI =<p>;<d>B		set bell parameters
2040850276Speter#	CSI =<s>;<e>C		set cursor parameters
2040950276Speter#	CSI =<x>D		enable/disable intensity of background color
2041050276Speter#	CSI =<x>E		set/clear blink vs. bold background
2041150276Speter#	CSI 7     	(sc)	(sc) save cursor position
2041250276Speter#	CSI 8   	(rc)	(rc) restore cursor position to saved value
2041350276Speter#	CSI H		(hts)	(hts) set tab stop
2041450276Speter#	CSI Q<n><string>	define function key string
2041550276Speter#				(string must begin and end with delimiter char)
2041650276Speter#	CSI c   	(clear) clear screen
2041750276Speter#
2041850276Speter# The lack of any specification for attributes in SGR (among other things)
20419166124Srafan# makes this a wretchedly weak standard. The table above is literally
2042050276Speter# everything iBSC2 has to say about terminal escape sequences; there is
2042150276Speter# no further discussion of their meaning or how to set the parameters
2042250276Speter# in these sequences at all.
2042350276Speter#
2042450276Speter
2042550276Speter######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
2042650276Speter#
2042750276Speter# The historical termcap file entries were written primarily in 4.4BSD termcap.
2042850276Speter# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
2042950276Speter# with the extension names chosen for compatibility with the termcap names
2043050276Speter# assigned in System V terminfo.  There are some variant extension sets out
2043150276Speter# there.  We try to describe them here.
2043250276Speter#
2043350276Speter# XENIX extensions:
2043450276Speter#
2043550276Speter# The XENIX extensions include a set of function-key capabilities as follows:
2043650276Speter#
2043750276Speter#       code	XENIX variable name	terminfo name	name clashes?
2043850276Speter#	----	-------------------	-------------	-----------------------
2043950276Speter#	CL	key_char_left
2044050276Speter#	CR	key_char_right
2044150276Speter#	CW	key_change_window			create_window
2044250276Speter#	EN	key_end          	kend
2044350276Speter#	HM	key_home		khome
2044450276Speter#	HP	??
2044550276Speter#	LD	key_delete_line  	kdl1
2044650276Speter#	LF	key_linefeed     			label_off
2044750276Speter#	NU	key_next_unlocked_cell
2044850276Speter#	PD	key_page_down   	knp
2044950276Speter#	PL	??
2045050276Speter#	PN	start_print		mc5
2045150276Speter#	PR	??
2045250276Speter#	PS	stop_print		mc4
2045350276Speter#	PU	key_page_up     	kpp		pulse
2045450276Speter#	RC	key_recalc				remove_clock
2045550276Speter#	RF	key_toggle_ref				req_for_input
2045650276Speter#	RT	key_return      	kent
2045750276Speter#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
2045850276Speter#	WL	key_word_left
2045950276Speter#	WR	key_word_right
2046050276Speter#
2046150276Speter# The XENIX extensions also include the following character-set and highlight
2046250276Speter# capabilities:
2046350276Speter#
2046450276Speter#	XENIX	terminfo	function
2046550276Speter#	-----	--------	------------------------------
2046650276Speter#	GS	smacs		start alternate character set
2046750276Speter#	GE	rmacs		end alternate character set
2046850276Speter#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
2046950276Speter#	bo	blink		begin blink (not used in /etc/termcap)
2047050276Speter#	be			end blink (not used in /etc/termcap)
2047150276Speter#	bb			blink glitch  (not used in /etc/termcap)
2047250276Speter#	it	dim		begin dim (not used in /etc/termcap)
2047350276Speter#	ie			end dim (not used in /etc/termcap)
2047450276Speter#	ig			dim glitch  (not used in /etc/termcap)
2047550276Speter#
2047650276Speter# Finally, XENIX also used the following forms-drawing capabilities:
2047750276Speter#
20478166124Srafan#	single	double  type             ASCII approximation
2047950276Speter#	------	------	-------------    -------------------
2048050276Speter#	GV	Gv	vertical line             |
2048150276Speter#	GH	Gv	horizontal line       -   _
2048250276Speter#	G1	G5	top right corner       _   |
20483166124Srafan#	G2	G6	top left corner       |
2048450276Speter#	G3	G7	bottom left corner         |_
2048550276Speter#	G4	G8	bottom right corner   _|
2048650276Speter#	GD	Gd	down-tick character        T
2048750276Speter#	GL	Gl	left-tick character   -|
2048850276Speter#	GR	Gr	right-tick character       |-
2048950276Speter#	GC	Gc	middle intersection   -|-
2049050276Speter#	GU	Gu	up-tick character          _|_
2049150276Speter#
2049250276Speter# These were invented to take advantage of the IBM PC ROM character set.  One
2049350276Speter# can compose an acsc string from the single-width characters as follows
2049450276Speter#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
2049550276Speter# When translating a termcap file, ncurses tic will do this automatically.
2049650276Speter# The double forms characters don't fit the SVr4 terminfo model.
2049750276Speter#
2049850276Speter# AT&T Extensions:
2049950276Speter#
2050050276Speter# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
2050150276Speter# nonstandard capabilities.  Its signature is the KM capability, used to name
2050250276Speter# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
2050350276Speter# set.  Comments in the original, and a little cross-checking with other AT&T
2050450276Speter# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
2050550276Speter# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
2050650276Speter# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
2050750276Speter# cursor invisible), and CV=:ve: (make cursor normal).
2050850276Speter#
2050950276Speter# HP Extensions
2051050276Speter#
2051150276Speter# The HP library (as of mid-1995, their term.h file version 70.1) appears to
2051250276Speter# have the System V capabilities up to SVr1 level.  After that, it supports
2051350276Speter# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
2051450276Speter# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
2051550276Speter# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
2051650276Speter# HP binary format incompatible with SVr4's.
2051750276Speter#
2051850276Speter# IBM Extensions
2051950276Speter#
2052050276Speter# There is a set of nonstandard terminfos used by IBM's AIX operating system.
2052150276Speter# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
2052250276Speter# capabilities following prtr_non with the following special capabilties:
2052350276Speter# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
2052450276Speter# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
2052550276Speter# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
2052650276Speter# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
2052750276Speter# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
2052850276Speter# renamed (to kcbt and kslt).  The places in the box[12] capabilities
2052950276Speter# correspond to acsc chars, here is the mapping:
2053050276Speter#
2053150276Speter#	box1[0]  = ACS_ULCORNER
20532166124Srafan#	box1[1]  = ACS_HLINE
2053350276Speter#	box1[2]  = ACS_URCORNER
2053450276Speter#	box1[3]  = ACS_VLINE
2053550276Speter#	box1[4]  = ACS_LRCORNER
2053650276Speter#	box1[5]  = ACS_LLCORNER
2053750276Speter#	box1[6]  = ACS_TTEE
2053850276Speter#	box1[7]  = ACS_RTEE
2053950276Speter#	box1[8]  = ACS_BTEE
2054050276Speter#	box1[9]  = ACS_LTEE
2054150276Speter#	box1[10] = ACS_PLUS
2054250276Speter#
2054350276Speter# The box2 characters are the double-line versions of these forms graphics.
2054450276Speter# The AIX binary terminfo format is incompatible with SVr4's.
2054550276Speter#
2054650276Speter# Iris console extensions:
2054750276Speter#
2054850276Speter# HS is half-intensity start; HE is half-intensity end
2054950276Speter# CT is color terminal type (for Curses & rogue)
2055050276Speter# CP is color change escape sequence
2055150276Speter# CZ are color names (for Curses & rogue)
2055250276Speter#
2055350276Speter# The ncurses tic utility recognizes HS as an alias for mh <dim>.
2055450276Speter#
2055550276Speter# TC Extensions:
2055650276Speter#
2055750276Speter# There is a set of extended termcaps associated with something
2055850276Speter# called the "Terminal Control" or TC package created by MainStream Systems,
2055950276Speter# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
2056050276Speter# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
2056150276Speter# that flags color terminals.
2056250276Speter#
2056350276Speter######## CHANGE HISTORY
2056450276Speter#
2056550276Speter# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
2056650276Speter# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
2056750276Speter# project.
2056850276Speter#
2056950276Speter# This file contains all the capability information present in John Kunze's
20570166124Srafan# last version of the termcap master file, except as noted in the change
2057150276Speter# comments at end of file.  Some information about very ancient obsolete
2057250276Speter# capabilities has been moved to comments.  Some all-numeric names of older
2057350276Speter# terminals have been retired.
2057450276Speter#
2057550276Speter# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
2057650276Speter# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
2057750276Speter# used by BSD curses.
2057850276Speter#
2057950276Speter# The 9.1.0 version of this file was translated from my lightly-edited copy of
2058050276Speter# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
2058150276Speter# the purpose.  Unless the ncurses tic implementation and the Lisp code were
2058250276Speter# making perfectly synchronized mistakes which I then failed to catch by
2058350276Speter# eyeball, the translation was correct and perfectly information-preserving.
2058450276Speter#
2058550276Speter# Major version number bumps correspond to major version changes in ncurses.
2058650276Speter#
2058750276Speter# Here is a log of the changes since then:
2058850276Speter#
2058950276Speter# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
2059050276Speter#	* First terminfo master translated from 8.3.
2059150276Speter# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
2059250276Speter#	* Replaced Wyse entries with updated entries supplied by vendor.
2059350276Speter#
2059450276Speter# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
2059550276Speter#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
2059650276Speter# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
2059750276Speter#	* Better XENIX keycap translation.  Describe TC termcaps.
2059850276Speter#	* Contact and history info supplied by Qume.
2059950276Speter# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
2060050276Speter#	* Raided the Shuford FTP site for recent termcaps/terminfos.
2060150276Speter#	* Added information on X3.64 and VT100 standard escape sequences.
2060250276Speter# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
2060350276Speter#	* Added a correct X11R6 xterm entry.
2060450276Speter#	* Fixed terminfo translations of padding.
2060550276Speter# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
2060650276Speter#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
2060750276Speter#	* Added u6/u7/u8/u9 capabilities.
2060850276Speter#	* Added PCVT entry.
2060950276Speter# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
2061050276Speter#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
2061150276Speter#	  to use reverse-video standout so Emacs will look right.
2061250276Speter#	* Added el1 capability to ansi.
2061350276Speter#	* Added smacs/rmacs to ansi.sys.
2061450276Speter#
2061550276Speter# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
2061650276Speter#	* New mt70 entry.
2061750276Speter#	* Added COPYRIGHTS AND OTHER DELUSIONS.
2061850276Speter#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
2061950276Speter#	  smartvid & smarterm, ampex 175 & 219 & 232,
2062050276Speter#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
2062150276Speter#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
2062250276Speter#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
2062350276Speter#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
2062450276Speter#	* Replaced the Perkin-Elmer entries with vendor's official ones.
2062550276Speter#	* Restored the old minimal-ansi entry, luna needs it.
2062650276Speter#	* Fixed some incorrect ip and proportional-padding translations.
2062750276Speter# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
2062850276Speter#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
2062950276Speter#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
2063050276Speter#	  to force a particular height.
2063150276Speter#	* Added beehive4 and reorganized other Harris entries.
2063250276Speter# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
2063350276Speter#	* Merged in DEC's official entries for its terminals.  The only old
2063450276Speter#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
2063550276Speter#	* Replaced the translated BBN Bitgraph entries with purpose-built
2063650276Speter#	  ones from AT&T's SVr3.
2063750276Speter#	* Replaced the AT&T entries with AT&T's official terminfos.
20638166124Srafan#	* Added teleray 16, vc415, cops10.
2063950276Speter#	* Merged in many individual capabilities from SCO terminfo files.
2064050276Speter# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
2064150276Speter#	* Typo fixes.
2064250276Speter#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
2064350276Speter# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
2064450276Speter#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
2064550276Speter#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
2064650276Speter#	  simterm, citoh and variants.
2064750276Speter#	* Replaced sol entry with sol1 and sol2.
2064850276Speter#	* Replaced Qume QVT and Freedom-series entries with purpose-built
2064950276Speter#	  terminfo entries.
2065050276Speter#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
2065150276Speter#	  and dg200 entries using caps from from SCO.
2065250276Speter#	* Added the usual set of function-key mappings to ANSI entry.
2065350276Speter#	* Corrected xterm's function-key capabilities.
2065450276Speter# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
2065550276Speter#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
2065650276Speter# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
2065750276Speter#	* Fix in xterm entry, get the arrow keys right.
2065850276Speter#	* Change some \0 escapes to \200.
2065950276Speter# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
2066050276Speter#	* Added apple (Videx card), adm1a, oadm31.
2066150276Speter#	* Fixed malformed ampex csr.
20662166124Srafan#	* Fixed act4, cyb110; they had old-style prefix padding left in.
2066350276Speter#	* Changed mandatory to advisory padding in many entries.
2066450276Speter#	* Replaced HP entries up to hpsub with purpose-built ones.
2066550276Speter#	* Blank rmir/smir/rmdc/smdc capabilities removed.
2066650276Speter#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
2066750276Speter# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
2066850276Speter#	* Replaced the Ann Arbor entries with SCO's, the init strings are
2066950276Speter#	  more efficient (but the entries otherwise identical).
2067050276Speter#	* Added dg211 from Shuford archive.
2067150276Speter#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
2067250276Speter#	  adm42-nl, pc52, gs6300, xerox820, uts30.
2067350276Speter#	* Pull SCO's padding into vi200 entry.
2067450276Speter#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
2067550276Speter#	  entries merged in from SCO's descriptions.
2067650276Speter#	* Fixed old-style prefix padding on zen50, h1500.
2067750276Speter#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
2067850276Speter#	  entry from SCO's description.
2067950276Speter#	* Reorganized the special entries.
2068050276Speter#	* Added lm#0 to cbunix and virtual entries.
2068150276Speter#
2068250276Speter# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
2068350276Speter#	* Restored cdc456tst.
2068450276Speter#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
2068550276Speter#	* Added megatek, beacon, microkit.
2068650276Speter#	* Freeze for ncurses-1.9 release.
2068750276Speter# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
2068850276Speter#	* Added historical data for TAB.
2068950276Speter#	* Comment fixes from David MacKenzie.
2069050276Speter#	* Added the new BSDI pc3 entry.
2069150276Speter# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
20692166124Srafan#	* A change in the tic -C logic now ensures that all entries in
2069350276Speter#	  the termcap translation will fit in < 1024 bytes.
2069450276Speter#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
2069550276Speter#	  from GNU termcap file.  This merges in all their local information.
2069650276Speter# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
2069750276Speter#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
2069850276Speter#	* Added warnings about entries with long translations (restoring
2069950276Speter#	  all the GNU termcaps pushes a few over the edge).
2070050276Speter# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
2070150276Speter#	* Yet another tic change, and a couple of entry tweaks, to reduce the
2070250276Speter#	  number of long (> 1024) termcap translations back to 0.
2070350276Speter#
2070450276Speter# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
2070550276Speter#	* Added kf13-kf20 to Linux entry.
2070650276Speter#	* Regularize Prime terminal names.
2070750276Speter#	* Historical data on Synertek.
2070850276Speter#	* Freeze for ncurses-1.9.1.
2070950276Speter# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
2071050276Speter#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
2071150276Speter#	* Eliminate whitespace in short name fields, this tanks some scripts.
2071250276Speter#	* Name field changes to shorten some long entries.
2071350276Speter#	* Termcap translation now automatically generates empty rmir/smir
2071450276Speter#	  when ich1/ich is present (copes with an ancient vi bug).
2071550276Speter#	* Added `screen' entries from FSF's screen-3.6.2.
2071650276Speter#	* Added linux-nic and xterm-nic entries.
2071750276Speter# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
2071850276Speter#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
2071950276Speter#	  eliminating some special-case code in ncurses.
2072050276Speter#
2072150276Speter# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
2072250276Speter#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
2072350276Speter#	  that captures everything unique from it.
2072450276Speter#	* Added reorder script generator.
2072550276Speter#	* Freeze for ncurses 1.9.2 release.
2072650276Speter# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
2072750276Speter#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
2072850276Speter#	* Added Olaf Siebert's corrections for adm12.
2072950276Speter#	* ansi-pc-color now includes the colors and pairs caps, so that
2073050276Speter#	  entries which use it will inherit them automatically.
2073150276Speter#	* The linux entry can now recognize the center (keypad 5) key.
2073250276Speter#	* Removed some junk that found its way into Linux acsc.
2073350276Speter#
2073450276Speter# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
2073550276Speter#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
2073650276Speter#	* xterm doesn't try to use application keypad mode any more.
2073750276Speter#	* Freeze for ncurses-1.9.3 release.
2073850276Speter# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
2073950276Speter#	* Added corrected sun entry from vendor.
2074050276Speter#	* Added csr capability to linux entry.
2074150276Speter#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
2074250276Speter#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
20743166124Srafan#	* Some commented-out caps in long entries come back in, my code
2074450276Speter#	  for computing string-table lengths had a bug in it.
2074550276Speter#	* pcansi series modified to fit comm-program reality better.
2074650276Speter# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
2074750276Speter#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
2074850276Speter#	* Correct some bad aliases in the pcansi series
2074950276Speter#	* Added entry for QNX console.
2075050276Speter#	* Clean up duplicate long names for use with 4.4 library.
2075150276Speter#	* Change vt100 standout to be normal reverse vide, not bright reverse;
2075250276Speter#	  this makes the Emacs status line look better.
2075350276Speter# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
2075450276Speter#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
2075550276Speter#	* Minor surgery, mostly on name strings, to shorten termcap version.
2075650276Speter#
2075750276Speter# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
2075850276Speter#	* Added dec-vt100 for use with the EWAN emulator.
2075950276Speter#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
2076050276Speter#	* Freeze for 1.9.5 alpha release.
2076150276Speter# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
2076250276Speter#	* Changed xterm lines to 24, the X11R6 default.
2076350276Speter# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
2076450276Speter#	* Added 7 newly discovered, undocumented acsc characters to linux
2076550276Speter#	  entry (the pryz{|} characters).
2076650276Speter#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
2076750276Speter#	* Correct two typos in the xterm entries introduced in 9.9.1.
2076850276Speter#	* I finally figured out how to translate ko capabilities.  Done.
2076950276Speter#	* Added tvi921 entries from Tim Theisen.
2077050276Speter#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
2077150276Speter#	* Removed mystery tec entry, it was neither interesting nor useful.
2077250276Speter#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
2077350276Speter#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
2077450276Speter#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
2077550276Speter#	  by making them relative to use capabilities
2077650276Speter#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
2077750276Speter#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
2077850276Speter#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
2077950276Speter#	  ampex80,
20780166124Srafan#	* Translate all home=\E[;H capabilities to home=\E[H, they're
2078150276Speter#	  equivalent.
2078250276Speter#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
2078350276Speter#	  vt100 and ANSI-like terminals.
2078450276Speter# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
2078550276Speter#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
2078650276Speter#	  does this now, too.
2078750276Speter#	* fviewpoint is gone, it duplicated screwpoint.
2078850276Speter#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
20789166124Srafan#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
2079050276Speter#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
2079150276Speter#	  The UW vi50 replaces the old one, which becomes vi50adm,
2079250276Speter#	* No more embedded commas in name fields.
2079350276Speter#
2079450276Speter# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
2079550276Speter#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
2079650276Speter#	* Introduced klone+* entries for describing Intel-console behavior.
2079750276Speter#	* Linux kbs is default-mapped to delete for some brain-dead reason.
2079850276Speter#	* -nsl -> -ns.  The -pp syntax is obsolete.
2079950276Speter#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
2080050276Speter#	* Make xterm entry do application-keypad mode again.  I got complaints
2080150276Speter#	  that it was messing up someone's 3270 emulator.
2080250276Speter#	* Added some longname fields in order to avoid warning messages from
2080350276Speter#	  older tic implementations.
2080450276Speter#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
2080550276Speter#	  it! (This gives us pi, greater than, less than, and a few more.)
2080650276Speter#	* Freeze for ncurses-1.9.6 release.
2080750276Speter# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
2080850276Speter#	* Add xon to a number of console entries, they're memory-mapped and
2080950276Speter#	  don't need padding.
2081050276Speter#	* Correct the use dependencies in the ansi series.
2081150276Speter#	* Hand-translate more XENIX capabilities.
2081250276Speter#	* Added hpterm entry for HP's X terminal emulator.
2081350276Speter#	* Added aixterm entries.
20814166124Srafan#	* Shortened four names so everything fits in 14 chars.
2081550276Speter#
2081650276Speter# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
2081750276Speter#	* Added ibcs2 entry and info on iBCS2 standard.
2081850276Speter#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
2081950276Speter#	* We can handle the HP meml/memu capability now.
2082050276Speter#	* Added smacs to klone entries, just as documentation.
2082150276Speter#	* Carrected ansi.sys and cit-500 entries.
2082250276Speter#	* Added z39, vt320-k311, v220c, and avatar entries.
2082350276Speter#	* Make pcansi use the ansi.sys invis capability.
2082450276Speter#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
2082550276Speter#	  tvi925, tvi950, dt80, ncr7900i, h19.
2082650276Speter#	* X3.64 has been withdrawn, change some references.
2082750276Speter#	* Removed function keys from ansi-m entry.
2082850276Speter#	* Corrected ansi.sys entry.
2082950276Speter#	* Freeze for ncurses-1.9.7 release.
2083050276Speter# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
2083150276Speter#	* Added rmam/smam capabilities to many entries based on init strings.
2083250276Speter#	* Added correct hpa/vpa to linux.
2083350276Speter#	* Reduced several entries relative to vt52.
2083450276Speter# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
2083550276Speter#	* Exiled some utterly unidentifiable custom and homebrew types to the
2083650276Speter#	  UFO file; also, obsolete small-screen hardware; also, entries which
2083750276Speter#	  look flat-out incorrect, garbled, or redundant.  These include the
20838166124Srafan#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
2083950276Speter#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
2084050276Speter#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
20841166124Srafan#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
20842166124Srafan#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
20843166124Srafan#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
20844166124Srafan#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
20845166124Srafan#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
20846166124Srafan#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
20847166124Srafan#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
20848166124Srafan#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
20849166124Srafan#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
2085050276Speter#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
2085150276Speter#	* Corrected pcvt25h as suggested by Brian C. Grayson
2085250276Speter#	  <bgrayson@pine.ece.utexas.edu>.
2085350276Speter# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
20854166124Srafan#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
2085550276Speter#	* Added kent=\EOM to xterm entry.
2085650276Speter#
2085750276Speter# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
2085850276Speter#	* Corrected gigi entry.
2085950276Speter#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
2086050276Speter#	  bad hpa/vpa capabilities.
2086150276Speter#	* Corrected flash strings to have a uniform delay of .2 sec.  No
2086250276Speter#	  more speed-dependent NUL-padding!
2086350276Speter#	* terminfo capabilities in comments bracketed with <>.
2086450276Speter# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
2086550276Speter#	* Replaced pcvt with the 3.31 pcvt entries.
2086650276Speter#	* Freeze for 1.9.7a.
2086750276Speter# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
2086850276Speter#	* Added emu entry from the X11R6 contrib tape sources.
2086950276Speter#
2087050276Speter# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
2087150276Speter#	* Improved iris-ansi and sun entries.
2087250276Speter#	* More flash string improvements.
2087350276Speter#	* Corrected wy160 & wy160 as suggested by Robert Dunn
20874166124Srafan#	* Added dim to at386.
2087550276Speter#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
2087650276Speter#	  he's ready to start using the termcap generated from this one.
2087750276Speter#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
2087850276Speter#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
2087950276Speter#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
20880166124Srafan#	  att610, att620, att630,
2088150276Speter#	* Changed hazeltine name prefix from h to hz.
2088250276Speter#	* Sent t500 to the UFI file.
2088350276Speter#	* I think we've sucked all the juice out of BSDI's termcap file now.
2088450276Speter#	* Freeze for ncurses 1.9.8 release
2088550276Speter# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
2088650276Speter#	* Unfreeze, linux kbs needed to be fixed.
2088750276Speter#	* Tim Theisen pinned down a bug in the DMD firmware.
2088850276Speter# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
2088950276Speter#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
2089050276Speter#	  (The broken ones had been shadowed by sgr.)
2089150276Speter# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
2089250276Speter#	* Added documentation on ECMA-48 standard.
2089350276Speter#	* New Amiga entry.
2089450276Speter# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
2089550276Speter#	* More ECMA-48 stuff
2089650276Speter#	* Corrected typo in minix entry, added pc-minix.
2089750276Speter#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
2089850276Speter#	* Added rxvt entry.
2089950276Speter#	* Added 1.3.x color-change capabilities to linux entry.
2090050276Speter# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
2090150276Speter#	* Corrected rxvt entry khome/kend.
2090250276Speter#	* Corrected linux color change capabilities.
2090350276Speter#	* NeXT entries from Dave Wetzel.
2090450276Speter#	* Cleaned up if and rf file names (all in /usr/share now).
2090550276Speter#	* Changed linux op capability to avoid screwing up a background color
2090650276Speter#	  pair set by setterm.
2090750276Speter# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
2090850276Speter#	* Added xterm-sun.
2090950276Speter# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
2091050276Speter#	* Added visa50.
2091150276Speter#
2091250276Speter# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
2091350276Speter#	* Another sweep through the Shuford archive looking for new info.
2091450276Speter#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
2091550276Speter# 	* Added st52 from Per Persson.
2091650276Speter#	* Added eterm from the GNU Emacs 19.30 distribution.
2091750276Speter#	* Freeze for 1.9.9.
2091850276Speter# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
2091950276Speter#	* FreeBSD console entries from Andrew Chernov.
2092050276Speter#	* Removed duplicate Atari st52 name.
2092150276Speter# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
2092250276Speter#	* xterm doesn't actually have ACS_BLOCK.
2092350276Speter#	* Change klone+color setf/setb to simpler forms that can be
2092450276Speter#	  translated into termcap.
2092550276Speter#	* Added xterm1.
2092650276Speter#	* Removed mechanically-generated junk capabilities from cons* entries.
2092750276Speter#	* Added color support to bsdos.
2092850276Speter# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
2092950276Speter#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
2093050276Speter#	* Created ecma+color, linux can use it.  Also added ech to linux.
2093150276Speter#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
2093250276Speter#	* Add descriptions to FreeBSD console entries.  Also shorten
2093350276Speter#	  some aliases to <= 14 chars for portability.
2093450276Speter#	* Added x68k console
2093550276Speter#	* Added OTbs to several VT-series entries.
2093650276Speter# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
20937166124Srafan#	* screen entry update for 3.7.1 from Michael Alan Dorman.
2093850276Speter# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
2093950276Speter#	* kterm correction due to Kenji Rikitake.
2094050276Speter#	* ACS correction in vt320-kll due to Phillippe De Muyter.
2094150276Speter# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
2094250276Speter#	* Sun console entry correction from J.T. Conklin.
2094350276Speter#	* Changed all DEC VT300 and up terminals to use VT300 tab set
2094450276Speter# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
20945166124Srafan#	* Added smul to linux entry (we never noticed it was missing
2094650276Speter#	  because of sgr!).
2094750276Speter#	* Added rmln to hp+labels (deduced from other HP entries).
2094850276Speter#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
2094950276Speter#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
2095050276Speter#	* Corrected vt220 acsc.
2095150276Speter#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
2095250276Speter#	  this corresponds to reality and helps prevent some tic warnings.
2095350276Speter#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
2095450276Speter#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
2095550276Speter#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
2095650276Speter#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
2095750276Speter#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
20958166124Srafan#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
2095950276Speter#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
2096050276Speter#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
2096150276Speter#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
2096250276Speter#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
2096350276Speter#	  ifmr, v3220, wy100q, tandem653, ibmaed.
2096450276Speter#	* Added DWK terminal description.
2096550276Speter# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
2096650276Speter#	* Many entries now have highlights inherited from adm+sgr.
2096750276Speter#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
2096850276Speter#	* xtitle and xtitle-twm enable access to the X status line.
2096950276Speter#	* Added linux-1.3.6 color palette caps in conventional format.
2097050276Speter#	* Added adm1178 terminal.
2097150276Speter#	* Move fos and apollo terminals to obsolete category.
2097250276Speter#	* Aha! The BRL terminals file told us what the Iris extensions mean.
2097350276Speter#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
2097450276Speter#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
20975166124Srafan#	  cit500, adm11.
2097650276Speter# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
2097750276Speter#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
2097850276Speter#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
2097950276Speter#	* Corrected, from BRL termcap file: vi50.
2098050276Speter#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
2098150276Speter# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
2098250276Speter#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
2098350276Speter#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
2098450276Speter#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
2098550276Speter#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
2098650276Speter#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
2098750276Speter#	* Paired-attribute fixes to various terminals.
2098850276Speter#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
2098950276Speter#	* xterm entry corrections from Thomas Dickey.
2099050276Speter# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
2099150276Speter#	* Added t916 entry, translated from a termcap in SCO's support area.
2099250276Speter#	* New qnx entry from Michael Hunter.
2099350276Speter# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
2099450276Speter#	* Added hpex2 from Ville Sulko.
2099550276Speter#	* Fixed a bug that ran the qnx and pcvtXX together.
2099650276Speter# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
2099750276Speter#	* Added dtterm entry from Solaris CDE.
2099850276Speter# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
2099950276Speter#	* corrected pairs#8 typo in dtterm entry.
2100050276Speter#	* added tvi9065.
2100150276Speter# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
21002166124Srafan#	* updated xterm entry to cover 3.1.2E's new features.
2100350276Speter# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
2100450276Speter#	* Added new minix entry
2100550276Speter#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
2100650276Speter#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
2100750276Speter# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
2100850276Speter#	* Added Prism entries and kt7ix.
2100950276Speter#	* Caution notes about EWAN and tabset files.
2101050276Speter#	* Changed /usr/lib/tabset -> /usr/share/tabset.
2101150276Speter#	* Added acsc/rmacs/smacs to vt52.
2101250276Speter# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
2101350276Speter#	* Merged in Thomas Dickey's reorganization of the xterm entries;
2101450276Speter#	  added technical corrections to avoid warning messages.
2101550276Speter# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
2101650276Speter#	* Added rmso=\E[27m in Linux entry.
2101750276Speter#	* Added koi8-r support for Linux console.
2101850276Speter#	* Replace xterm entries with canonical ones from XFree86 3.2.
2101950276Speter# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
2102050276Speter#	* Added color_xterm from Jacob Mandelson
2102150276Speter# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
2102250276Speter#	* Back off the xterm entry to use r6 as a base.
2102350276Speter# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
2102450276Speter#	* Added dec-vt220 at Adrian Garside's request.
21025174993Srafan#
21026174993Srafan#-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
21027174993Srafan#
21028174993Srafan# 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
21029174993Srafan#	* Minor corrections to xterm entries.
21030174993Srafan#	* Replaced EWAN telnet entry.
21031174993Srafan#	* Dropped the reorder script generator.  It was a fossil.
2103250276Speter# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
2103350276Speter#	* Replaced minitel-2 entry.
2103450276Speter#	* Added MGR, ansi-nt.
21035174993Srafan# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
21036174993Srafan#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
21037174993Srafan#	  the 4.4BSD Lite2 file.
21038174993Srafan#
21039174993Srafan# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
21040174993Srafan#	* Use setaf/setab consistently with SVr4.
21041174993Srafan#	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
21042174993Srafan# 10.1.2 (Sat May 24 21:10:57 EDT 1997)
21043174993Srafan#	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
21044174993Srafan#	* add xterm-16color, for XFree86 3.3
21045174993Srafan# 10.1.3 (Sat May 31 12:21:05 EDT 1997)
21046174993Srafan#	* correct typo in emu
21047174993Srafan#	* correct typo in vt102-w (Robert Wuest)
21048174993Srafan#	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
21049174993Srafan# 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
21050174993Srafan#	* remove ech capability from rxvt (it does the wrong thing)
21051174993Srafan# 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
21052174993Srafan#	* remove spurious newlines from several entries (hp+color, wy50,
21053174993Srafan#	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
21054174993Srafan#	  gs6300)
21055174993Srafan# 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
21056174993Srafan#	* correct rmso capability of wy50-mc
21057174993Srafan# 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
21058174993Srafan#	* add cbt to xterm-xf86-v32
21059174993Srafan#	* disentangle some entries from 'xterm', preferring xterm-r6 in case
21060174993Srafan#	  'xterm' is derived from xterm-xf86-v32, which implements ech and
21061174993Srafan#	  other capabilities not in xterm-r6.
21062174993Srafan#	* remove alternate character set from kterm entry.
21063174993Srafan# 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
21064174993Srafan#	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
21065174993Srafan# 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
21066174993Srafan#	* add xterm-8bit entry.
21067174993Srafan# 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
21068174993Srafan#	* repair several places where early version of tic replaced \, with \\\,
21069174993Srafan#	* make acsc entries canonical form (sorted, uniq).
21070174993Srafan#	* modify acsc entries for linux, linux-koi8
21071174993Srafan#	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
21072174993Srafan#	* add color, mouse support to kterm.
21073174993Srafan# 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
21074174993Srafan#	* correct wy120 smxon/tbc capabilities which were stuck together.
21075174993Srafan# 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
21076174993Srafan#	* add entry for xterm-xf86-v39t
21077174993Srafan# 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
21078174993Srafan#	* add u8,u9 to sun-il description
21079174993Srafan# 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
21080174993Srafan#	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
21081174993Srafan#	  version.
21082174993Srafan#	* add hds200 description (Walter Skorski)
21083174993Srafan#	* add EMX 0.9b descriptions
21084174993Srafan#	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
21085174993Srafan#	* rename xhpterm back to hpterm.
21086174993Srafan# 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
21087174993Srafan#	* change initc in linux-c-nc to use 0..1000 range.
21088174993Srafan# 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
21089174993Srafan#	* remove hpa/vpa from rxvt, which implements them incorrectly.
21090174993Srafan#	* add sgr0 for rxvt.
21091174993Srafan#	* remove bogus smacs/rmacs from EMX descriptions.
21092174993Srafan# 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
21093174993Srafan#	* revised entry for att7300
21094174993Srafan# 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
21095174993Srafan#	* use \0 rather than \200.
21096174993Srafan#	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
21097174993Srafan# 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
21098174993Srafan#	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
21099174993Srafan#	* rename xterm-xf86-v39t to xterm-xf86-v40
21100174993Srafan#	* remove bold/underline from sun console entries since they're not
21101174993Srafan#	  implemented.
21102174993Srafan# 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
21103174993Srafan#	* add beterm entry (Fred Fish)
21104174993Srafan#	* add irix-color/xwsh entry.
21105174993Srafan#	* turn ncv off for linux.
21106174993Srafan# 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
21107174993Srafan#	* set ncv for FreeBSD console (treat colors with reverse specially).
21108174993Srafan#	* remove sgr string from qnx based on report by Xiaodan Tang
21109174993Srafan# 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
21110174993Srafan#	* remove spurious commas from descriptions
21111174993Srafan#	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
21112174993Srafan# 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
21113174993Srafan#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
21114174993Srafan#	  apparently based on cp-866).
21115174993Srafan#
21116174993Srafan#-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
21117174993Srafan#
21118174993Srafan# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
21119174993Srafan#	* Replaced minitel-2 entry.
21120174993Srafan#	* Added MGR, ansi-nt.
2112150276Speter#	* Minor corrections to xterm entries.
2112250276Speter#	* Replaced EWAN telnet entry.
2112350276Speter#	* Dropped the reorder script generator.  It was a fossil.
2112450276Speter# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
2112550276Speter#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
2112650276Speter#	  the 4.4BSD Lite2 file.
2112750276Speter# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
2112850276Speter#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
2112950276Speter#	* Updated iris-ansi; corrected vt102-w.
2113050276Speter#	* Switch base xterm entry to 3.3 level.
2113150276Speter# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
2113250276Speter#	* Added basic4.
2113350276Speter#	* Removed rmir/smir from tv92B.
2113450276Speter#
2113550276Speter# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
2113650276Speter#	* add hds200 description (Walter Skorski)
2113750276Speter#	* add beterm entry (Fred Fish)
2113850276Speter#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
2113950276Speter#	  iris-color entries.
2114050276Speter#	* add emx entries.
2114150276Speter#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
2114250276Speter#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
2114350276Speter#	  versions.
2114450276Speter#	* remove sgr string from qnx based on report by Xiaodan Tang
2114550276Speter#	* Added u8/u9, removed rmul/smul from sun-il.
2114650276Speter#	* 4.2 tic displays \0 rather than \200.
2114750276Speter#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
2114850276Speter#	  apparently based on cp-866).
2114950276Speter#	* Merged in Pavel Roskin's acsc for linux-koi8
2115050276Speter#	* Corrected some erroneous \\'s to \.
2115150276Speter#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
2115250276Speter#	* II -> ii in pcvtXX, screen, xterm.
2115350276Speter#	* Removed \n chars following ANSI escapes in sgr & friends.
2115450276Speter#	* Updated Wyse entries.
2115550276Speter#	* h19 corrections from Tim Pierce.
2115650276Speter#	* Noted that the dm2500 has both ich and smir.
2115750276Speter#	* added pccons for the Alpha under OSF/1.
2115850276Speter#	* Added Sony NEWS workstation entries and cit101e-rv.
2115950276Speter#	* Reverted `amiga'; to Kent Polk's version, as I'm told
2116050276Speter#	  the Verkuil entry messes up with Amiga Telnet.
2116150276Speter# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
2116250276Speter#	* Corrected attributions in 10.2.0 release notes.
2116350276Speter#	* Scanned the Shuford archive for new terminfos and information.
2116450276Speter#	* Removed sgr from qnx entry (Thomas Dickey).
2116550276Speter#	* Added entries for ICL and Kokusai Data Systems terminals.
2116650276Speter#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
2116750276Speter#	* Incorporated att700 from the Boundless Technology FTP site.
2116850276Speter#	* Miscellaneous contact-address and Web-page updates.
2116950276Speter#
21170174993Srafan#-(changelog-beginning-ncurses-4.2)---------------------------------------------
21171174993Srafan#
2117250276Speter# 1998/5/9
2117350276Speter#	* add nxterm and xterm-color terminfo description (request by Cristian
2117450276Speter#	  Gafton <gafton@redhat.com>).
2117550276Speter#	* modify rxvt terminfo description to clear alternate screen before
2117650276Speter#	  switching back to normal screen, for compatibility with applications
2117750276Speter#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
2117850276Speter#	* modify linux terminfo description to reset color palette (reported
2117950276Speter#	  by Telford Tendys <telford@eng.uts.edu.au>).
2118050276Speter#
2118150276Speter# 1998/7/4
2118250276Speter#	* merge changes from current XFree86 xterm terminfo descriptions.
2118350276Speter#
2118450276Speter# 1998/7/25
2118550276Speter#	* Added minitel1 entries from Alexander Montaron.
2118650276Speter#	* Added qnxt2 from Federico Bianchi.
2118750276Speter#	* Added arm100 terminfo entries from Dave Millen.
2118850276Speter#
2118950276Speter# 1998/8/6
2119050276Speter#	* Added ncsa telnet entries from Francesco Potorti
2119150276Speter#
2119250276Speter# 1998/8/15
2119350276Speter#	* modify ncsa telnet entry to reflect color, other capabilities based on
2119450276Speter#	  examination of the source code - T.Dickey.
2119550276Speter#
2119650276Speter# 1998/8/22
2119750276Speter#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
2119850276Speter#
2119950276Speter# 1998/8/29
2120050276Speter#	* Added Francesco Potorti's tuned Wyse 99 entries.
2120150276Speter#	* dtterm enacs correction from Alexander V. Lukyanov.
2120250276Speter#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
2120350276Speter#	* correct a typo in icl6404 entry.
2120450276Speter#	* add xtermm and xtermc
2120550276Speter#
2120650276Speter# 1998/9/26
2120750276Speter#	* format most %'char' sequences to %{number}
2120850276Speter#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
2120950276Speter#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
2121050276Speter#
2121150276Speter# 1998/10/10
2121250276Speter#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
2121350276Speter#	* correct initialization string in xterm-r5, add misc other features
2121450276Speter#	  to correspond with xterm patch 84 - TD
2121550276Speter#
2121650276Speter# 1998/12/19
2121750276Speter#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
2121850276Speter#	* add Mathew Vernon's mach console entries
2121950276Speter#	* corrections for ncsa function-keys (report by Larry Virden)
2122050276Speter#
2122150276Speter# 1998/12/19
2122250276Speter#	* change linux to use ncv#2, since underline does not work with color - TD
2122350276Speter#
2122450276Speter# 1999/1/9
2122550276Speter#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
2122650276Speter#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
2122750276Speter#	  application modes, change kent to use the correct keypad code - TD
2122850276Speter#
2122950276Speter# 1999/1/10
2123050276Speter#	* add entry for Tera Term - TD
2123150276Speter#
2123250276Speter# 1999/1/23
2123350276Speter#	* minor improvements for teraterm entry - TD
2123450276Speter#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
2123550276Speter#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
2123650276Speter#
2123750276Speter# 1999/2/20
2123850276Speter#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
2123950276Speter#	  xterm and ncsa entries by removing the unneeded ones.  Note that
2124050276Speter#	  some entries will return kend & khome versus kslt and kfnd, for
2124150276Speter#	  PC-style keyboards versus strict vt220 compatiblity - TD
2124250276Speter#
2124350276Speter# 1999/3/13
2124450276Speter#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
2124550276Speter#	  tables - TD
2124650276Speter#	* add 'crt' entry - TD
2124750276Speter#	* correct typos in 'linux-c' entry - TD
2124850276Speter#
2124950276Speter# 1999/3/14
2125050276Speter#	* update entries for BSD/OS console to use klone+sgr and klone+color
2125150276Speter#	  (Jeffrey C Honig)
2125250276Speter#
2125350276Speter# 1999/3/27
2125450276Speter#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
2125550276Speter#
2125650276Speter# 1999/4/10
2125750276Speter#	* add linux-lat, from RedHat patches to ncurses 4.2
2125850276Speter#
2125950276Speter# 1999/4/17
2126050276Speter#	* add complete set of default function-key definitions for scoansi - TD.
2126150276Speter#
2126250276Speter# 1999/7/3
2126350276Speter#	* add cnorm, cvvis for Linux 2.2 kernels
2126450276Speter#
2126550276Speter# 1999/7/24
2126650276Speter#	* add kmous to xterm-r5 -TD
2126750276Speter#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
2126850276Speter#	  parent "use" clause -TD
2126950276Speter#
2127050276Speter# 1999/7/31
2127150276Speter#	* corrected cnorm, added el1 in 'screen' description -TD
2127250276Speter#
2127350276Speter# 1999/8/14
2127450276Speter#	* add ms-vt100 -TD
2127550276Speter#
2127650276Speter# 1999/8/21
2127750276Speter#	* corrections to beterm entry -TD
2127850276Speter#
2127956639Speter# 1999/8/28
2128056639Speter#	* add cygwin entry -TD
2128156639Speter#
2128256639Speter# 1999/9/4
2128356639Speter#	* minor corrections for beterm entry -TD
2128456639Speter#
2128556639Speter# 1999/9/18
2128656639Speter#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
2128756639Speter#
2128856639Speter# 1999/9/25
2128956639Speter#	* add amiga-8bit entry
2129056639Speter#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
2129156639Speter#	  rcons-color, based on
2129256639Speter#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
2129356639Speter#	* add alias for iris-ansi-net
2129456639Speter#
2129556639Speter# 1999/10/2
2129656639Speter#	* corrected scoansi entry's acsc, some function keys, add color -TD
2129756639Speter#
2129856639Speter# 1999/10/23
2129956639Speter#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
2130056639Speter#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
2130156639Speter#	  key mapping, leaving Potorti's entries more like he named them -TD
2130256639Speter#	* remove enter/exit am-mode from cygwin -TD
2130356639Speter#
2130462449Speter# 1999/10/30
2130562449Speter#	* correct typos in several entries (missing '[' from CSI):
2130662449Speter#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
2130762449Speter#	  strings for avt-ns -TD
2130862449Speter#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
2130962449Speter#
2131062449Speter# 1999/11/27
2131162449Speter#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
2131262449Speter#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
2131362449Speter#	* add xterm-88color and xterm-256color -TD
2131462449Speter#
2131562449Speter# 1999/12/4
2131662449Speter#	* add "obsolete" termcap strings -TD
2131762449Speter#	* add kvt and gnome entries -TD
2131862449Speter#
2131962449Speter# 1999/12/11
2132062449Speter#	* correct cup string for regent100 -TD
2132162449Speter#
2132262449Speter# 2000/1/1
2132362449Speter#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
2132462449Speter#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
2132562449Speter#	* change OTrs capabilities to rs2 -TD
2132662449Speter#	* add obsolete and extended capabilities to 'screen' -TD
2132762449Speter#
2132862449Speter# 2000/1/5
2132962449Speter#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
2133062449Speter#	  with kf10 -TD
2133162449Speter#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
2133262449Speter#	  and adding kcbt -TD
2133362449Speter#
2133462449Speter# 2000/1/12
2133562449Speter#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
2133662449Speter#	  nonstandard resource settings -TD
2133762449Speter#
2133862449Speter# 2000/2/26
2133962449Speter#	* minor fixes for xterm-*, based on Debian #58530 -TD
2134062449Speter#
2134162449Speter# 2000/3/4
2134262449Speter#	* add several terminal types from esr's "11.0", as well as comments.
2134362449Speter#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
2134462449Speter#	  vt220-8bit, vt220-old, wy85-8bit
2134562449Speter#
2134662449Speter# 2000/3/18
2134762449Speter#	* add several terminal types from esr's "11.0.1" (ansi-*).
2134862449Speter#	* update OTxx capabilities for changes on 2000/3/4.
2134962449Speter#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
2135062449Speter#
2135162449Speter# 2000/3/26
2135262449Speter#	* move screen's AX extension to ecma+color, modify several entries to
2135362449Speter#	  use that, adjusting ncv as needed -TD
2135462449Speter#
2135562449Speter# 2000/4/8
2135662449Speter#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
2135762449Speter#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
2135862449Speter#	  in esr's version.
2135962449Speter#
2136062449Speter# 2000/4/15
2136162449Speter#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
2136262449Speter#	* correct color definition for ibm3164, make minor changes to other
2136362449Speter#	  IBM terminal definitions based on recent terminfo descriptions -TD
2136462449Speter#
2136562449Speter# 2000/4/22
2136662449Speter#	* add mgterm, from NetBSD -TD
2136762449Speter#	* add alias sun-cgsix for sun-ss5 as per NetBSD
2136862449Speter#	* change cons25w to use rs2 for reset rather than rs1 -TD
2136962449Speter#	* add rc/sc to aixterm based on manpage -TD
2137062449Speter#
2137162449Speter# 2000/5/13
21372166124Srafan#	* remove ncv from xterm-16color, xterm-256color
2137362449Speter#
2137462449Speter# 2000/6/10
2137562449Speter#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
2137662449Speter#
2137762449Speter# 2000/7/1
2137862449Speter#	* add Eterm (Michael Jennings)
2137962449Speter#
2138066963Speter# 2000-07-18
2138166963Speter#       * add amiga-vnc entry.
2138266963Speter#
2138366963Speter# 2000-08-12
2138466963Speter#	* correct description of Top Gun Telnet.
2138566963Speter#	* add kterm-color
2138666963Speter#
2138766963Speter# 2000-08-26
2138866963Speter#	* add qansi* entries from QNX ftp site.
2138966963Speter#
2139066963Speter# 2000-09-16
2139166963Speter#	* add Matrix Orbital entries by Eric Z. Ayers).
2139266963Speter#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
2139366963Speter#	  4.0.1c -TD
2139466963Speter#
2139566963Speter# 2000-09-17
2139666963Speter#	* add S0, E0 extensions to screen's entry -TD
2139766963Speter#
2139866963Speter# 2000-09-23
2139966963Speter#	* several corrections based on tic's new parameter-checking code -TD
2140066963Speter#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
2140166963Speter#	  bracketing sequences that reset video attributes (\E8 would restore
2140266963Speter#	  them) -TD
2140366963Speter#
2140476726Speter# 2000-11-11
2140576726Speter#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
2140676726Speter#
2140776726Speter# 2000-12-16
2140876726Speter#	* improved scoansi, based on SCO man-page, and testing console,
2140976726Speter#	  scoterm with tack -TD
2141076726Speter#
2141176726Speter# 2001-01-27
2141276726Speter#	* modify kterm to use acsc via SCS controls.
2141376726Speter#
2141476726Speter# 2001-02-10
2141576726Speter#	* screen 3.9.8 allows xterm mouse controls to pass-through
2141676726Speter#
2141776726Speter# 2001-03-11
2141876726Speter#	* remove spurious "%|" from some xterm entries.
2141976726Speter#
2142076726Speter# 2001-03-31
2142176726Speter#	* modify 'screen' khome/kend to match screen 3.09.08
2142276726Speter#	* add examples of 'screen' customization (screen.xterm-xfree86,
2142376726Speter#	  screen.xterm-r6, screen.teraterm) -TD
2142476726Speter#
2142576726Speter# 2001-04-14
2142676726Speter#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
2142776726Speter#	* add "Apple_Terminal" entries -Benjamin Sittler
2142876726Speter#	* remove time-delays from "Apple_Terminal" entries -TD
2142976726Speter#	* make sgr entries time-delays consistent with individual caps -TD
2143076726Speter#
2143176726Speter# 2001-05-05
2143276726Speter#	* corrected/updated screen.xterm-xfree86
2143376726Speter#
2143497049Speter# 2001-05-19
2143597049Speter#	* ELKS descriptions, from Federico Bianchi
2143697049Speter#	* add u6 (CSR) to Eterm (Michael Jennings).
2143797049Speter#
2143897049Speter# 2001-07-21
2143997049Speter#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
2144097049Speter#	  tic which handles names no longer than 14 characters.  Add
2144197049Speter#	  corresponding descriptions for the Darwin PowerPC console named
2144297049Speter#	  "xnuppc" -Benjamin Sittler
2144397049Speter#
2144497049Speter# 2001-09-01
2144597049Speter#	* change kbs in mach entries to ^? (Marcus Brinkmann).
2144697049Speter#
2144797049Speter# 2001-11-17
2144897049Speter#	* add "putty" entry -TD
2144997049Speter#	* updated "Apple_Terminal" entries -Benjamin Sittler
2145097049Speter#
2145197049Speter# 2001-11-24
2145297049Speter#	* add ms-vt100-color entry -TD
2145397049Speter#	* add "konsole" entries -TD
2145497049Speter#
2145597049Speter# 2001-12-08
2145697049Speter#	* update gnome entry to Redhat 7.2 -TD
2145797049Speter#
2145898503Speter# 2002-05-25
2145998503Speter#	* add kf13-kf48 strings to cons25w -TD
2146098503Speter#	* add pcvt25-color entry -TD
2146198503Speter#	* changed a few /usr/lib/tabset -> /usr/share/tabset.
2146298503Speter#	* improve some features of scoansi entry based on SCO's version -TD
2146398503Speter#	* add scoansi-new entry corresponding to OpenServer 5.0.6
2146498503Speter#
2146598503Speter# 2002-06-15
2146698503Speter#	* add kcbt to screen entry -TD
2146798503Speter#
21468166124Srafan# 2002-06-22
21469166124Srafan#	* add rxvt-16color, ibm+16color, mvterm entries -TD
21470166124Srafan#
21471166124Srafan# 2002-09-28
21472166124Srafan#	* split out linux-basic entry, making linux-c inherit from that, and
21473166124Srafan#	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
21474166124Srafan#	  the history of this console type -TD
21475166124Srafan#	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
21476166124Srafan#	  r/g/b parameters of initc are in the range 0 to 1000 -TD
21477166124Srafan#
21478166124Srafan# 2002-10-05
21479166124Srafan#	* minor fix for scale-factor of linux-c and linux-c-nc -TD
21480166124Srafan#
21481166124Srafan# 2002-11-09
21482166124Srafan#	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
21483166124Srafan#	  in the latter -TD
21484166124Srafan#
21485166124Srafan# 2002-11-16
21486166124Srafan#	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
21487166124Srafan#	* ncr260wy350pp has only 16 color pairs -TD
21488166124Srafan#	* add sun-type4 from NetBSD -TD
21489166124Srafan#	* update xterm-xfree86 to current (patch 170) -TD
21490166124Srafan#	* add screen-bce, screen-s entries -TD
21491166124Srafan#	* add xterm-1002, xterm-1003 entries -TD
21492166124Srafan#
21493166124Srafan# 2003-01-11
21494166124Srafan#	* update homepage for Top Gun Telnet/SSH
21495166124Srafan#
21496166124Srafan# 2003-01-25
21497166124Srafan#	* reduce duplication in emx entries, added emx-base -TD
21498166124Srafan#
21499166124Srafan# 2003-05-24
21500166124Srafan#	* corrected acs for screen.teraterm -TD
21501166124Srafan#	* add tkterm entry -TD
21502166124Srafan#
21503166124Srafan# 2003-07-15
21504166124Srafan#	* cygwin changes from Charles Wilson:
21505166124Srafan#	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
21506166124Srafan#	  primary instead of nxterm, to match XFree86's xterm.terminfo
21507166124Srafan#	  usage and to prevent circular links.
21508166124Srafan#	  (rxvt): add additional codes from rxvt.org.
21509166124Srafan#	  (rxvt-color): new alias
21510166124Srafan#	  (rxvt-xpm): new alias
21511166124Srafan#	  (rxvt-cygwin): like rxvt, but with special acsc codes.
21512166124Srafan#	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
21513166124Srafan#	  with a "native" MSWin GUI.  Each takes different acsc codes,
21514166124Srafan#	  which are both different from the "normal" rxvt's acsc.
21515166124Srafan#	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
21516166124Srafan#	  (cygwinDBG): ditto.
21517166124Srafan#
21518166124Srafan# 2003-09-27
21519166124Srafan#	* update gnome terminal entries -TD
21520166124Srafan#
21521166124Srafan# 2003-10-04
21522166124Srafan#	* add entries for djgpp 2.03 and 2.04 -TD
21523166124Srafan#
21524166124Srafan# 2003-10-25
21525166124Srafan#	* add alias for vtnt -TD
21526166124Srafan#	* update xterm-xfree86 for XFree86 4.4 -TD
21527166124Srafan#
21528166124Srafan# 2003-11-22
21529166124Srafan#	* add linux-vt (Andrey V Lukyanov)
21530166124Srafan#
21531166124Srafan# 2003-12-20
21532166124Srafan#	* add screen.linux -TD
21533166124Srafan#
21534166124Srafan# 2004-01-10
21535166124Srafan#	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
21536166124Srafan#
21537166124Srafan# 2004-01-17
21538166124Srafan#	* add OpenNT/Interix/SFU entries (Federico Bianchi)
21539166124Srafan#	* add vt100+ and vt-utf8 entries -TD
21540166124Srafan#	* add uwin entry -TD
21541166124Srafan#
21542166124Srafan# 2004-03-27
21543166124Srafan#	* add sgr strings to several common entries lacking them, e.g.,
21544166124Srafan#	  screen, to make the entries more portable -TD
21545166124Srafan#	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
21546166124Srafan#	* similar fixups for cvvis/cnorm various entries -TD
21547166124Srafan#
21548166124Srafan# 2004-05-22
21549166124Srafan#	* remove 'ncv' from xterm-256color (patch 188) -TD
21550166124Srafan#
21551166124Srafan# 2004-06-26
21552166124Srafan#	* add mlterm -TD
21553166124Srafan#	* add xterm-xf86-v44 -TD
21554166124Srafan#	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
21555166124Srafan#	  on G1 being used via an ISO-2022 escape sequence (report by
21556166124Srafan#	  Juliusz Chroboczek) -TD
21557166124Srafan#	* add 'hurd' entry -TD
21558166124Srafan#
21559166124Srafan# 2004-07-03
21560166124Srafan#	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
21561166124Srafan#	  xterm-basic -TD
21562166124Srafan#	* align with xterm #192's use of xterm-new -TD
21563166124Srafan#	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
21564166124Srafan#	* make xterm-new the default "xterm" -TD
21565166124Srafan#
21566166124Srafan# 2004-07-10
21567166124Srafan#	* minor fixes for emu -TD
21568166124Srafan#	* add emu-220
21569166124Srafan#	* add rmam/smam to linux (Trevor Van Bremen)
21570166124Srafan#	* change wyse acsc strings to use 'i' map rather than 'I' -TD
21571166124Srafan#	* fixes for avatar0 -TD
21572166124Srafan#	* fixes for vp3a+ -TD
21573166124Srafan#
21574166124Srafan# 2004-07-17
21575166124Srafan#	* add xterm-pc-fkeys -TD
21576166124Srafan#	* review/update gnome and gnome-rh90 entries (prompted by
21577166124Srafan#	  Redhat Bugzilla #122815) -TD
21578166124Srafan#	* review/update konsole entries -TD
21579166124Srafan#	* add sgr, correct sgr0 for kterm and mlterm -TD
21580166124Srafan#	* correct tsl string in kterm -TD
21581166124Srafan#
21582166124Srafan# 2004-07-24
21583166124Srafan#	* make ncsa-m rmacs/smacs consistent with sgr -TD
21584166124Srafan#	* add sgr, rc/sc and ech to syscons entries -TD
21585166124Srafan#	* add function-keys to decansi -TD
21586166124Srafan#	* add sgr to mterm-ansi -TD
21587166124Srafan#	* add sgr, civis, cnorm to emu -TD
21588166124Srafan#	* correct/simplify cup in addrinfo -TD
21589166124Srafan#	* corrections for gnome and konsole entries
21590166124Srafan#	  (Redhat Bugzilla #122815) -Hans de Goede
21591166124Srafan#	* modify DEC entries (vt220, etc), to add sgr string, and to use
21592166124Srafan#	  ISO-2022 strings for rmacs/smacs -TD
21593166124Srafan#
21594166124Srafan# 2004-07-31
21595166124Srafan#	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
21596166124Srafan#
21597166124Srafan# 2004-08-07
21598166124Srafan#	* improved putty entry -Robert de Bath
21599166124Srafan#
21600166124Srafan# 2004-08-14
21601166124Srafan#	* remove dch/dch1 from rxvt because they are implemented inconsistently
21602166124Srafan#	  with the common usage of bce/ech -TD
21603166124Srafan#	* remove khome from vt220 (vt220's have no home key) -TD
21604166124Srafan#	* add rxvt+pcfkeys -TD
21605166124Srafan#
21606166124Srafan# 2004-08-21
21607166124Srafan#	* modify several entries to ensure xterm mouse and cursor visibility
21608166124Srafan#	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
21609166124Srafan#	  Eterm, screen.  (The xterm entries are left alone - old ones for
21610166124Srafan#	  compatibility, and the new ones do not require this change) -TD
21611166124Srafan#
21612166124Srafan# 2004-08-28
21613166124Srafan#	* add morphos entry -Pavel Fedin
21614166124Srafan#	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
21615166124Srafan#	* corrected \E[5?l to \E[?5l in vt320 entries -TD
21616166124Srafan#
21617166124Srafan# 2004-11-20
21618166124Srafan#	* update wsvt25 entry -TD
21619166124Srafan#
21620166124Srafan# 2005-01-29
21621166124Srafan#	* update pairs for xterm-88color and xterm-256color to reflect the
21622166124Srafan#	  ncurses extended-color support -TD
21623166124Srafan#
21624166124Srafan# 2005-02-26
21625166124Srafan#	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
21626166124Srafan#	* add aixterm-16color to demonstrate 16-color capability -TD
21627166124Srafan#
21628166124Srafan# 2005-04-23
21629166124Srafan#	* add media-copy to vt100 -TD
21630166124Srafan#	* corrected acsc string for vt52 -TD
21631166124Srafan#
21632166124Srafan# 2005-04-30
21633166124Srafan#	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
21634166124Srafan#	  xterm-new -TD
21635166124Srafan#	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
21636166124Srafan#
21637166124Srafan# 2005-05-07
21638166124Srafan#	* re-corrected acsc string for vt52 -TD
21639166124Srafan#
21640166124Srafan# 2005-05-28
21641166124Srafan#	* corrected sun-il sgr string which referred to bold and underline -TD
21642166124Srafan#	* add sun-color entry -TD
21643166124Srafan#
21644166124Srafan# 2005-07-23
21645166124Srafan#	* modify sgr0 in several entries to reset alternate-charset as in the
21646166124Srafan#	  sgr string -TD
21647166124Srafan#	* modify sgr string of prism9 to better match the individual
21648166124Srafan#	  attributes -TD
21649166124Srafan#
21650166124Srafan# 2005-10-15
21651166124Srafan#	* correct order of use= in rxvt-basic -TD
21652166124Srafan#
21653166124Srafan# 2005-10-26
21654166124Srafan#	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
21655166124Srafan#
21656166124Srafan# 2005-11-12
21657166124Srafan#	* other minor fixes to cygwin based on tack -TD
21658166124Srafan#	* correct smacs in cygwin (report by Baurzhan Ismagulov).
21659166124Srafan#
21660166124Srafan# 2006-02-18
21661166124Srafan#	* add nsterm-16color entry -TD
21662166124Srafan#	* remove ncv flag from xterm-16color -TD
21663166124Srafan#	* remove setf/setb from xterm-256color to match xterm #209 -TD
21664166124Srafan#	* update mlterm entry to 2.9.2 -TD
21665166124Srafan#
21666166124Srafan# 2006-02-25
21667166124Srafan#	* fixes to make nsterm-16color match report
21668166124Srafan#	  by Christian Ebert -Alain Bench
21669166124Srafan#
21670166124Srafan# 2006-04-22
21671166124Srafan#	* add xterm+256color building block -TD
21672166124Srafan#	* add gnome-256color, putty-256color, rxvt-256color -TD
21673166124Srafan#
21674166124Srafan# 2006-05-06
21675166124Srafan#	* add hpterm-color -TD
21676166124Srafan#
21677166124Srafan# 2006-06-24
21678166124Srafan#	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
21679166124Srafan#	* add gnome-fc5 (prompted by GenToo #122566) -TD
21680166124Srafan#	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
21681166124Srafan#	* improve xterm-256color by combining the ibm+16color setaf/setab
21682166124Srafan#	  strings with SGR 48.  The setf/setb strings also are cancelled here
21683166124Srafan#	  rather than omitted so derived entries will cancel those also -Alain
21684166124Srafan#	  Bench
21685166124Srafan#
21686166124Srafan# 2006-07-01
21687166124Srafan#	* add some notes regarding copyright to terminfo.src -TD
21688166124Srafan#	* use rxvt+pcfkeys in Eterm -TD
21689166124Srafan#	* remove km and flash from gnome, Eterm and rxvt since they do not work
21690166124Srafan#	  as one would expect (km sends ESC rather than setting the 8th bit
21691166124Srafan#	  of the key) -TD
21692166124Srafan#	* add/use ansi+enq, vt100+enq and vt102+enq -TD
21693166124Srafan#	* add konsole-solaris -TD
21694166124Srafan#
21695166124Srafan# 2006-07-22
21696166124Srafan#	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
21697166124Srafan#	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
21698166124Srafan#	* modify xterm-24 to inherit from "xterm" -TD
21699166124Srafan#	* add xiterm entry -TD
21700166124Srafan#	* add putty-vt100 entry -TD
21701166124Srafan#	* corrected spelling of Michael A Dorman's name, prompted by
21702166124Srafan#	  http://www.advogato.org/person/mdorman/diary.html -TD
21703166124Srafan#
21704166124Srafan# 2006-08-05
21705166124Srafan#	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
21706166124Srafan#	* update xterm+pcfkeys to match xterm #216 -TD
21707166124Srafan#
21708166124Srafan# 2006-08-17
21709166124Srafan#	* make descriptions of xterm entries consistent with its terminfo -TD
21710166124Srafan#
21711166124Srafan# 2006-08-26
21712166124Srafan#	* add xfce, mgt -TD
21713166124Srafan#
21714166124Srafan# 2006-09-02
21715166124Srafan#	* correct acsc string in kterm -TD
21716166124Srafan#
21717166124Srafan# 2006-09-09
21718166124Srafan#	* add kon entry -TD
21719166124Srafan#	* remove invis from linux and related entries, add klone+sgr8 for those
21720166124Srafan#	  that implement the feature (or have not been shown to lack it) -TD
21721166124Srafan#
21722166124Srafan# 2006-09-23
21723166124Srafan#	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
21724166124Srafan#	* minor improvements to rxvt+pcfkeys -TD
21725166124Srafan#
21726166124Srafan# 2006-09-30
21727166124Srafan#	* fix a few typos in if/then/else expressions -TD
21728166124Srafan#
21729166124Srafan# 2006-10-07
21730166124Srafan#	* add several GNU Screen variations with 16- and 256-colors, and
21731166124Srafan#	  status line (Alain Bench).
21732166124Srafan#
21733174993Srafan# 2007-03-03
21734174993Srafan#	* add Newbury Data entries (Jean-Charles Billaud).
21735174993Srafan#
21736174993Srafan# 2007-06-10
21737174993Srafan#	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
21738174993Srafan#
21739174993Srafan# 2007-07-14
21740174993Srafan#	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
21741174993Srafan#	* add konsole-256color entry -TD
21742174993Srafan#
21743174993Srafan# 2007-08-18
21744174993Srafan#	* add 9term entry (request by Juhapekka Tolvanen) -TD
21745174993Srafan#
21746174993Srafan# 2007-10-13
21747174993Srafan#	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
21748174993Srafan#	* add shift-control- and control-modified keys for rxvt editing
21749174993Srafan#	  keypad -TD
21750174993Srafan#	* update mlterm entry to 2.9.3 -TD
21751174993Srafan#	* add mlterm+pcfkeys -TD
21752174993Srafan#
21753174993Srafan# 2007-10-20
21754174993Srafan#	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
21755174993Srafan#	  xterm+pcc0, etc., to make the corresponding building blocks reflect
21756174993Srafan#	  xterm's capabilities -TD
21757174993Srafan#	* add mrxvt entry -TD
21758174993Srafan#	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
21759174993Srafan#
21760174993Srafan# 2007-11-03
21761174993Srafan#	* correct acsc strings for h19 and z100 (Benjamin Sittler)
21762174993Srafan#
21763176187Srafan# 2007-11-11
21764176187Srafan#	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
21765176187Srafan#	  xterm starting with patch #216 -TD
21766176187Srafan#	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
21767176187Srafan#	  to match xterm #230 -TD
21768176187Srafan#	* extend xterm+pccX entries to match xterm #230 -TD
21769176187Srafan#	* add xterm+app, xterm+noapp, from xterm #230 -TD
21770176187Srafan#	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
21771176187Srafan#
21772178866Srafan# 2008-04-19
21773178866Srafan#	* add screen.rxvt -TD
21774178866Srafan#
21775178866Srafan# 2008-04-28
21776178866Srafan#	* add screen+fkeys (prompted by Debian # 478094) -TD
21777178866Srafan#
21778184989Srafan# 2008-06-28
21779184989Srafan#	* add screen.mlterm -TD
21780184989Srafan#	* improve mlterm and mlterm+pcfkeys -TD
21781184989Srafan#
21782184989Srafan# 2008-08-23
21783184989Srafan#	* add Eterm-256color, Eterm-88color -TD
21784184989Srafan#	* add rxvt-88color -TD
21785184989Srafan#
21786184989Srafan# 2008-10-12
21787184989Srafan#	* add teraterm4.59 entry, use that as primary teraterm entry, rename
21788184989Srafan#	  original to teraterm2.3 -TD
21789184989Srafan#	* update "gnome" to 2.22.3 -TD
21790184989Srafan#	* update "konsole" to 1.6.6 -TD
21791184989Srafan#	* add "aterm" -TD
21792184989Srafan#	* add "linux2.6.26" -TD
21793184989Srafan#
2179450276Speter# The following sets edit modes for GNU EMACS.
2179550276Speter# Local Variables:
2179650276Speter# fill-prefix:"\t"
2179750276Speter# fill-column:75
2179850276Speter# comment-column:0
2179950276Speter# comment-start-skip:"^#+"
2180050276Speter# comment-start:"# "
2180150276Speter# compile-command:"tic -c terminfo.master"
2180250276Speter# End:
2180350276Speter######## SHANTIH!  SHANTIH!  SHANTIH!
21804