xref: /illumos-gate/usr/src/data/terminfo/termcap.src (revision b1e2e3fb17324e9ddf43db264a0c64da7756d9e6)
1######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
2#
3# This version of terminfo.src is distributed with ncurses and is maintained
4# by Thomas E. Dickey (TD).
5#
6# Report bugs and new terminal descriptions to
7#	bug-ncurses@gnu.org
8#
9#	$Revision: 1.162 $
10#	$Date: 2011/08/20 20:52:51 $
11#
12# The original header is preserved below for reference.  It is noted that there
13# is a "newer" version which differs in some cosmetic details (but actually
14# stopped updates several years ago); we have decided to not change the header
15# unless there is also a change in content.
16#
17# To further muddy the waters, it is noted that changes to this file as part of
18# maintenance of ncurses (since 1996) are generally conceded to be copyright
19# under the ncurses MIT-style license.  That was the effect of the agreement
20# which the principal authors of ncurses made in 1998.  However, since much of
21# the file itself is of unknown authorship (and the disclaimer below makes it
22# obvious that Raymond cannot or will not convey rights over those parts),
23# there is no explicit copyright notice on the file itself.
24#
25# It would also be a nuisance to split the file into unknown/known authorship
26# and move pieces as they are maintained, since many of the maintenance changes
27# have been small corrections to Raymond's translations to/from termcap format,
28# correcting the data but not the accompanying annotations.
29#
30# In any case, note that almost half of this file is not data but annotations
31# which reflect creative effort.  Furthermore, the structure of entries to
32# reuse common chunks also is creative (and subject to copyright).  Finally,
33# some portions of the data are derivative work under a compatible MIT-style
34# license from xterm.
35#
36#------------------------------------------------------------------------------
37#	Version 10.2.1
38#	terminfo syntax
39#
40#	Eric S. Raymond		(current maintainer)
41#	John Kunze, Berkeley
42#	Craig Leres, Berkeley
43#
44# Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
45# address is no longer valid.  The latest version can always be found at
46# <http://www.tuxedo.org/terminfo>.
47#
48# PURPOSE OF THIS FILE:
49#
50# This file describes the capabilities of various character-cell terminals,
51# as needed by software such as screen-oriented editors.
52#
53# Other terminfo and termcap files exist, supported by various OS vendors
54# or as relics of various older versions of UNIX.  This one is the longest
55# and most comprehensive one in existence.  It subsumes not only the entirety
56# of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
57# termcap file, but also large numbers of vendor-maintained termcap and
58# terminfo entries more complete and carefully tested than those in historical
59# termcap/terminfo versions.
60#
61# Pointers to related resources (including the ncurses distribution) may
62# be found at <http://www.tuxedo.org/terminfo>.
63#
64# INTERNATIONALIZATION:
65#
66# This file uses only the US-ASCII character set (no ISO8859 characters).
67#
68# This file assumes a US-ASCII character set. If you need to fix this, start
69# by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
70# for your character set.  \E(A and \E)A enables the British character set
71# with the pound sign at position 2/3.
72#
73# In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
74# C1 characters are considered the first-byte set of the Japanese encodings,
75# so \E)0 should be avoided in <enacs> and initialization strings.
76#
77# FILE FORMAT:
78#
79# The version you are looking at may be in any of three formats: master
80# (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
81# which by the format given in the header above.
82#
83# The master format is accepted and generated by the terminfo tools in the
84# ncurses suite; it differs from stock (System V-compatible) terminfo only
85# in that it admits a group of capabilities (prefixed `OT') equivalent to
86# various obsolete termcap capabilities.  You can, thus, convert from master
87# to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
88# you have ncurses `tic -I' is nicer (among other things, it automatically
89# outputs entries in a canonical form).
90#
91# The termcap version is generated automatically from the master version
92# using tic -C.  This filtering leaves in the OT capabilities under their
93# original termcap names.  All translated entries fit within the 1023-byte
94# string-table limit of archaic termcap libraries except where explicitly
95# noted below.  Note that the termcap translation assumes that your termcap
96# library can handle multiple tc capabilities in an entry. 4.4BSD has this
97# capability.  Older versions of GNU termcap, through 1.3, do not.
98#
99# For details on these formats, see terminfo(5) in the ncurses distribution,
100# and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
101# curses has been declared obsolete by the caretakers of the 4.4BSD sources
102# as of June 1995; they are encouraging everyone to migrate to ncurses.
103#
104# Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
105# no entry in this file has embedded comments.  This is so source translation
106# to termcap only has to carry over leading comments.  Also, no name field
107# contains embedded whitespace (such whitespace confuses rdist).
108#
109# Further note: older versions of this file were often installed with an editor
110# script (reorder) that moved the most common terminal types to the front of
111# the file.  This should no longer be necessary, as the file is now ordered
112# roughly by type frequency with ANSI/VT100 and other common types up front.
113#
114# Some information has been merged in from terminfo files distributed by
115# USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
116# comes from vendors who maintain official terminfos for their hardware
117# (notably DEC and Wyse).
118#
119# A detailed change history is included at the end of this file.
120#
121# FILE ORGANIZATION:
122#
123# Comments in this file begin with # - they cannot appear in the middle
124# of a terminfo/termcap entry (this feature had to be sacrificed in order
125# to allow standard terminfo and termcap syntax to be generated cleanly from
126# the master format).  Individual capabilities are commented out by
127# placing a period between the colon and the capability name.
128#
129# The file is divided up into major sections (headed by lines beginning with
130# the string "########") and minor sections (beginning with "####"); do
131#
132#	grep "^####" <file> | more
133#
134# to see a listing of section headings.  The intent of the divisions is
135# (a) to make it easier to find things, and (b) to order the database so
136# that important and frequently-encountered terminal types are near the
137# front (so that you'll get reasonable search efficiency from a linear
138# search of the termcap form even if you don't use reorder).  Minor sections
139# usually correspond to manufacturers or standard terminal classes.
140# Parenthesized words following manufacturer names are type prefixes or
141# product line names used by that manufacturers.
142#
143# HOW TO READ THE ENTRIES:
144#
145# The first name in an entry is the canonical name for the model or
146# type, last entry is a verbose description.  Others are mnemonic synonyms for
147# the terminal.
148#
149# Terminal names look like <manufacturer> <model> - <modes/options>
150# The part to the left of the dash, if a dash is present, describes the
151# particular hardware of the terminal.  The part to the right may be used
152# for flags indicating special ROMs, extra memory, particular terminal modes,
153# or user preferences.
154#
155# All names should be in lower case, for consistency in typing.
156#
157# The following are conventionally used suffixes:
158#	-2p	Has two pages of memory.  Likewise 4p, 8p, etc.
159#	-am	Enable auto-margin.
160#	-m	Monochrome.  Suppress color support
161#	-mc	Magic-cookie.  Some terminals (notably older Wyses) can
162#		only support one attribute without magic-cookie lossage.
163#		Their base entry is usually paired with another that
164#		uses magic cookies to support multiple attributes.
165#	-nam	No auto-margin - suppress :am: capability
166#	-nl	No labels - suppress soft labels
167#	-ns	No status line - suppress status line
168#	-rv	Terminal in reverse video mode (black on white)
169#	-s	Enable status line.
170#	-vb	Use visible bell (:vb:) rather than :bl:.
171#	-w	Wide - in 132 column mode.
172# If a name has multiple suffixes and one is a line height, that one should
173# go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.
174#
175# Entries with embedded plus signs are designed to be included through use/tc
176# capabilities, not used as standalone entries.
177#
178# To avoid search clashes, some older all-numeric names for terminals have
179# been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
180# All primary names of terminals now have alphanumeric prefixes.
181#
182# Comments marked "esr" are mostly results of applying the termcap-compiler
183# code packaged with ncurses and contemplating the resulting error messages.
184# In many cases, these indicated obvious fixes to syntax garbled by the
185# composers.  In a few cases, I was able to deduce corrected forms for garbled
186# capabilities by looking at context.  All the information in the original
187# entries is preserved in the comments.
188#
189# In the comments, terminfo capability names are bracketed with <> (angle
190# brackets).  Termcap capability names are bracketed with :: (colons).
191#
192# INTERPRETATION OF USER CAPABILITIES
193#
194# The System V Release 4 and XPG4 terminfo format defines ten string
195# capabilities for use by applications, <u0>...<u9>.   In this file, we use
196# certain of these capabilities to describe functions which are not covered
197# by terminfo.  The mapping is as follows:
198#
199#	u9	terminal enquire string (equiv. to ANSI/ECMA-48 DA)
200#	u8	terminal answerback description
201#	u7	cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
202#	u6	cursor position report (equiv. to ANSI/ECMA-48 CPR)
203#
204# The terminal enquire string <u9> should elicit an answerback response
205# from the terminal.  Common values for <u9> will be ^E (on older ASCII
206# terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
207#
208# The cursor position request (<u7>) string should elicit a cursor position
209# report.  A typical value (for VT100 terminals) is \E[6n.
210#
211# The terminal answerback description (u8) must consist of an expected
212# answerback string.  The string may contain the following scanf(3)-like
213# escapes:
214#
215#	%c	Accept any character
216#	%[...]	Accept any number of characters in the given set
217#
218# The cursor position report (<u6>) string must contain two scanf(3)-style
219# %d format elements.  The first of these must correspond to the Y coordinate
220# and the second to the %d.  If the string contains the sequence %i, it is
221# taken as an instruction to decrement each value after reading it (this is
222# the inverse sense from the cup string).  The typical CPR value is
223# \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
224#
225# These capabilities are used by tack(1m), the terminfo action checker
226# (distributed with ncurses 5.0).
227#
228# TABSET FILES
229#
230# All the entries in this file have been edited to assume that the tabset
231# files directory is /usr/share/tabset, in conformance with the File Hierarchy
232# Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
233# use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.
234#
235# No curses package we know of actually uses these files.  If their location
236# is an issue, you will have to hand-patch the file locations before compiling
237# this file.
238#
239# REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
240#
241# As the ANSI/ECMA-48 standard and variants take firmer hold, and as
242# character-cell terminals are increasingly replaced by X displays, much of
243# this file is becoming a historical document (this is part of the reason for
244# the new organization, which puts ANSI types, xterm, Unix consoles,
245# and vt100 up front in confidence that this will catch 95% of new hardware).
246#
247# For the terminal types still alive, I'd like to have manufacturer's
248# contact data (Internet address and/or snail-mail + phone).
249#
250# I'm also interested in enriching the comments so that the latter portions of
251# the file do in fact become a potted history of VDT technology as seen by
252# UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
253# include its live/dead/out-of-the-business status, and for as many
254# terminal types as possible to be tagged with information like years
255# of heaviest use, popularity, and interesting features.
256#
257# I'm especially interested in identifying the obscure entries listed under
258# `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
259# wisdom about them gets lost.  If you know a lot about obscure old terminals,
260# please go to the terminfo resource page, grab the UFO file (ufo.ti), and
261# eyeball it for things you can identify and describe.
262#
263# If you have been around long enough to contribute, please read the file
264# with this in mind and send me your annotations.
265#
266# COPYRIGHTS AND OTHER DELUSIONS
267#
268# The BSD ancestor of this file had a standard Regents of the University of
269# California copyright with dates from 1980 to 1993.
270#
271# Some information has been merged in from a terminfo file SCO distributes.
272# It has an obnoxious boilerplate copyright which I'm ignoring because they
273# took so much of the content from the ancestral BSD versions of this file
274# and didn't attribute it, thereby violating the BSD Regents' copyright.
275#
276# Not that anyone should care.  However many valid functions copyrights may
277# serve, putting one on a termcap/terminfo file with hundreds of anonymous
278# contributors makes about as much sense as copyrighting a wall-full of
279# graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
280#
281# This file deliberately has no copyright.  It belongs to no one and everyone.
282# If you claim you own it, you will merely succeed in looking like a fool.
283# Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
284# There are no guarantees anywhere.  Svaha!
285#
286
287######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
288#
289# This section describes terminal classes and brands that are still
290# quite common.
291#
292
293#### Specials
294#
295# Special "terminals".  These are used to label tty lines when you don't
296# know what kind of terminal is on it.  The characteristics of an unknown
297# terminal are the lowest common denominator - they look about like a ti 700.
298#
299
300dumb|80-column dumb tty:\
301	:am:\
302	:co#80:\
303	:bl=^G:cr=^M:do=^J:sf=^J:
304unknown|unknown terminal type:\
305	:gn:tc=dumb:
306lpr|printer|line printer:\
307	:bs:hc:os:\
308	:co#132:li#66:\
309	:bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
310glasstty|classic glass tty interpreting ASCII control characters:\
311	:am:bs:\
312	:co#80:\
313	:bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
314
315vanilla|dumb tty:\
316	:bs:\
317	:bl=^G:cr=^M:do=^J:sf=^J:
318
319# This is almost the same as "dumb", but with no prespecified width.
320# DEL and ^C are hardcoded to act as kill characters.
321# ^D acts as a line break (just like newline).
322# It also interprets
323#      \033];xxx\007
324# for compatibility with xterm -TD
3259term|Plan9 terminal emulator for X:\
326	:am:\
327	:bl=^G:do=^J:nl=^J:
328
329#### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
330#
331# See the end-of-file comment for more on these.
332#
333
334# ANSI capabilities are broken up into pieces, so that a terminal
335# implementing some ANSI subset can use many of them.
336ansi+local1:\
337	:do=\E[B:le=\E[D:nd=\E[C:up=\E[A:
338ansi+local:\
339	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
340ansi+tabs:\
341	:bt=\E[Z:ct=\E[3g:st=\EH:ta=^I:
342ansi+inittabs:\
343	:it#8:tc=ansi+tabs:
344ansi+erase:\
345	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:
346ansi+rca:\
347	:ch=\E[%+^AG:cv=\E[%+^Ad:
348ansi+cup:\
349	:cm=\E[%i%d;%dH:ho=\E[H:
350ansi+rep:
351ansi+idl1:\
352	:al=\E[L:dl=\E[M:
353ansi+idl:\
354	:AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
355ansi+idc:\
356	:IC=\E[%d@:dc=\E[P:ei=\E6:ic=\E[@:im=\E6:
357ansi+arrows:\
358	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
359ansi+sgr|ansi graphic renditions:\
360	:mb=\E[5m:me=\E[0m:mk=\E[8m:mr=\E[7m:
361ansi+sgrso|ansi standout only:\
362	:se=\E[m:so=\E[7m:
363ansi+sgrul|ansi underline only:\
364	:ue=\E[m:us=\E[4m:
365ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim:\
366	:md=\E[1m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
367ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold:\
368	:mh=\E[2m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
369ansi+pp|ansi printer port:\
370	:pf=\E[4i:po=\E[5i:ps=\E[0i:
371ansi+csr|ansi scroll-region plus cursor save & restore:\
372	:cs=\E[%i%d;%dr:rc=\E8:sc=\E7:
373
374# The IBM PC alternate character set.  Plug this into any Intel console entry.
375# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
376# ROM graphics for control characters such as the diamond, up- and down-arrow.
377# This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
378# will work with any Intel console, they all seem to have inherited \E[11m
379# from the ANSI.SYS de-facto standard.
380klone+acs|alternate character set for ansi.sys displays:\
381	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
382	:ae=\E[10m:as=\E[11m:
383
384# Highlight controls corresponding to the ANSI.SYS standard.  Most
385# console drivers for Intel boxes obey these.  Makes the same assumption
386# about \E[11m as klone+acs.  True ANSI/ECMA-48 would have :se=\E[27m:,
387# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
388klone+sgr|attribute control for ansi.sys displays:\
389	:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:\
390	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
391
392# Most Intel boxes do not treat "invis" (invisible) text.
393klone+sgr8|attribute control for ansi.sys displays:\
394	:mk=\E[8m:tc=klone+sgr:
395
396# Highlight controls corresponding to the ANSI.SYS standard.  *All*
397# console drivers for Intel boxes obey these.  Does not assume \E[11m will
398# work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
399# diamond and arrow characters under curses.
400klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m):\
401	:as=\E[12m:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:\
402	:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
403
404# KOI8-R (RFC1489) acs (alternate character set)
405# From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
406klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset:\
407	:ac=+\020,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\200r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225:\
408	:ae=\E[10m:as=\E[11m:
409
410# ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
411# between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
412# but equivalent strings that don't rely on that coincidence:
413# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
414# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
415# The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
416# They match a subset of ECMA-48.
417klone+color|color control for ansi.sys and ISO6429-compatible displays:\
418	:Co#8:NC#3:pa#64:\
419	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
420
421# This is better than klone+color, it doesn't assume white-on-black as the
422# default color pair,  but many `ANSI' terminals don't grok the <op> cap.
423ecma+color|color control for ECMA-48-compatible terminals:\
424	:AX:\
425	:Co#8:NC#3:pa#64:\
426	:AB=\E[4%dm:AF=\E[3%dm:op=\E[39;49m:
427
428# Attribute control for ECMA-48-compatible terminals
429ecma+sgr|attribute capabilities for true ECMA-48 terminals:\
430	:se=\E[27m:ue=\E[24m:tc=klone+sgr8:
431
432# For comparison, here are all the capabilities implied by the Intel
433# Binary Compatibility Standard (level 2) that fit within terminfo.
434# For more detail on this rather pathetic standard, see the comments
435# near the end of this file.
436ibcs2|Intel Binary Compatibility Standard prescriptions:\
437	:AL=\E[%dL:DC=\E[%dP:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
438	:RA=\E[?7l:RI=\E[%dC:S1=\E=%dg:SA=\E[?7h:SF=\E[%dS:\
439	:SR=\E[%dT:UP=\E[%dA:bt=\E[Z:ch=\E[%i%dG:cl=\Ec:\
440	:cm=\E[%i%d;%dH:ct=\E[g:cv=\E[%i%dd:do=\E[1B:ec=\E[%dX:\
441	:ei=:im=:le=\E[1D:nd=\E[1C:rc=\E7:sc=\E7:st=\EH:up=\E[1A:
442
443#### ANSI/ECMA-48 terminals and terminal emulators
444#
445# See near the end of this file for details on ANSI conformance.
446# Don't mess with these entries!  Lots of other entries depend on them!
447#
448# This section lists entries in a least-capable to most-capable order.
449# if you're in doubt about what `ANSI' matches yours, try them in that
450# order and back off from the first that breaks.
451
452# ansi-mr is for ANSI terminals with ONLY relative cursor addressing
453# and more than one page of memory.  It uses local motions instead of
454# direct cursor addressing, and makes almost no assumptions. It does
455# assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
456ansi-mr|mem rel cup ansi:\
457	:am:xo:\
458	:co#80:li#24:tc=vanilla:tc=ansi+erase:tc=ansi+local1:
459
460# ansi-mini is a bare minimum ANSI terminal. This should work on anything, but
461# beware of screen size problems and memory relative cursor addressing.
462ansi-mini|any ansi terminal with pessimistic assumptions:\
463	:am:xo:\
464	:co#80:li#24:tc=vanilla:tc=ansi+cup:tc=ansi+erase:
465
466# ansi-mtabs adds relative addressing and minimal tab support
467ansi-mtabs|any ansi terminal with pessimistic assumptions:\
468	:it#8:\
469	:ta=^I:tc=ansi+local1:tc=ansi-mini:
470
471# ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
472#
473# The following is an entry for the full ANSI 3.64 (1977).  It lacks
474# padding, but most terminals using the standard are "fast" enough
475# not to require any -- even at 9600 bps.  If you encounter problems,
476# try including the padding specifications.
477#
478# Note: the :as: and :ae: specifications are not implemented here, for
479# the available termcap documentation does not make clear WHICH alternate
480# character set to specify.  ANSI 3.64 seems to make allowances for several.
481# Please make the appropriate adjustments to fit your needs -- that is
482# if you will be using alternate character sets.
483#
484# There are very few terminals running the full ANSI 3.64 standard,
485# so I could only test this entry on one verified terminal (Visual 102).
486# I would appreciate the results on other terminals sent to me.
487#
488# Please report comments, changes, and problems to:
489#
490# U.S. MAIL:   Hugh Hansard
491#              Box: 22830
492#              Emory University
493#              Atlanta, GA. 30322.
494#
495# USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
496#
497# (Added vt100 :rc:,:sc: to quiet a tic warning --esr)
498ansi77|ansi 3.64 standard 1977 version:\
499	:am:bs:mi:\
500	:co#80:it#8:li#24:\
501	:al=5*\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
502	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=5*\E[M:\
503	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOR:k4=\EOS:\
504	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
505	:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
506	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
507
508# Procomm and some other ANSI emulations don't recognize all of the ANSI-
509# standard capabilities.  This entry deletes :UP:, :RI:, :DO:, :LE:, and
510# <vpa>/<hpa> capabilities, forcing curses to use repetitions of :up:,
511# :nd:, :do: and :le:.  Also deleted :IC: and :ic:, as QModem up to
512# 5.03 doesn't recognize these.  Finally, we delete :rp: and :sr:, which seem
513# to confuse many emulators.  On the other hand, we can count on these programs
514# doing :ae:/:as:/:sa:. Older versions of this entry featured
515# <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
516# ANSI.SYS influence.
517# From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
518pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
519	:am:bs:mi:ms:\
520	:co#80:it#8:li#24:\
521	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
522	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
523	:ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
524	:le=\E[D:nd=\E[C:sf=^J:st=\EH:ta=^I:up=\E[A:\
525	:tc=klone+sgr-dumb:
526pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode):\
527	:li#25:tc=pcansi-m:
528pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode):\
529	:li#33:tc=pcansi-m:
530pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode):\
531	:li#43:tc=pcansi-m:
532# The color versions.  All PC emulators do color...
533pcansi|ibm-pc terminal programs claiming to be ansi:\
534	:tc=klone+color:tc=pcansi-m:
535pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines:\
536	:li#25:tc=pcansi:
537pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines:\
538	:li#33:tc=pcansi:
539pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines:\
540	:li#43:tc=pcansi:
541
542# ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
543# If you want pound signs rather than dollars, replace `B' with `A'
544# in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
545# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
546ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
547	:5i:\
548	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
549	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
550	:cb=\E[1K:ch=\E[%i%dG:ct=\E[3g:cv=\E[%i%dd:ec=\E[%dX:ei=:\
551	:im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
552	:nw=\r\E[S:pf=\E[4i:po=\E[5i:s0=\E(B:s1=\E)B:s2=\E*B:\
553	:s3=\E+B:ta=\E[I:tc=pcansi-m:
554
555ansi+enq|ncurses extension for ANSI ENQ:\
556	:u6=\E[%i%d;%dR:u7=\E[6n:u9=\E[c:
557
558# ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
559# standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
560# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
561ansi|ansi/pc-term compatible with color:\
562	:tc=ansi+enq:tc=ecma+color:tc=klone+sgr8:tc=ansi-m:
563
564# ansi-generic is a vanilla ANSI terminal. This is assumed to implement
565# all the normal ANSI stuff with no extensions. It assumes
566# insert/delete line/char is there, so it won't work with
567# vt100 clones. It assumes video attributes for bold, blink,
568# underline, and reverse, which won't matter much if the terminal
569# can't do some of those. Padding is assumed to be zero, which
570# shouldn't hurt since xon/xoff is assumed.
571ansi-generic|generic ansi standard terminal:\
572	:am:xo:\
573	:co#80:li#24:tc=vanilla:tc=ansi+csr:tc=ansi+cup:\
574	:tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\
575	:tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\
576	:tc=ansi+arrows:
577
578#### DOS ANSI.SYS variants
579#
580# This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
581# documentation (except for the keyboard key reassignment feature, which
582# doesn't fit the <pfkey> model well).  The klone+acs sequences were valid
583# though undocumented.  The <pfkey> capability is untested but should work for
584# keys F1-F10 (%p1 values outside this range will yield unpredictable results).
585# From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
586ansi.sys-old|ANSI.SYS under PC-DOS 2.1:\
587	:am:bs:mi:ms:xo:\
588	:co#80:li#25:\
589	:RA=\E[?7l:SA=\E[?7h:ce=\E[k:cl=\E[2J:cm=\E[%i%d;%dH:\
590	:do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
591	:ku=^K:le=^H:nd=\E[C:rc=\E[u:sc=\E[s:u6=\E[%i%d;%dR:\
592	:u7=\E[6n:up=\E[A:tc=klone+color:tc=klone+sgr8:
593
594# Keypad:	Home=\0G	Up=\0H	PrPag=\0I
595#		ka1,kh		kcuu1		kpp,ka3
596#
597#		Left=\0K	5=\0L		Right=\0M
598#		kcub1		kb2		kcuf1
599#
600#		End=\0O		Down=\0P	NxPag=\0Q
601#		kc1,kend	kcud1		kc3,knp
602#
603#		Ins=\0R		Del=\0S
604#		kich1		kdch1
605#
606# On keyboard with 12 function keys,
607#	shifted f-keys: F13-F24
608#	control f-keys: F25-F36
609#	alt f-keys:     F37-F48
610# The shift/control/alt keys do not modify each other, but alt overrides both,
611# and control overrides shift.
612#
613# <pfkey> capability for F1-F48 -TD
614ansi.sys|ANSI.SYS 3.1 and later versions:\
615	:@7=\200O:F1=\200\205:F2=\200\206:F3=\200T:F4=\200U:\
616	:F5=\200V:F6=\200W:F7=\200X:F8=\200Y:F9=\200Z:FA=\200[:\
617	:FB=\200\\:FC=\200]:FD=\200\207:FE=\200\210:FF=\200\136:\
618	:FG=\200_:FH=\200`:FI=\200a:FJ=\200b:FK=\200c:FL=\200d:\
619	:FM=\200e:FN=\200f:FO=\200g:FP=\200\211:FQ=\200\212:\
620	:FR=\200h:FS=\200i:FT=\200j:FU=\200k:FV=\200l:FW=\200m:\
621	:FX=\200n:FY=\200o:FZ=\200p:Fa=\200q:Fb=\200\213:\
622	:Fc=\200\214:K1=\200G:K2=\200L:K3=\200I:K4=\200O:K5=\200Q:\
623	:ce=\E[K:k1=\200;:k2=\200<:k3=\200=:k4=\200>:k5=\200?:\
624	:k6=\200@:k7=\200A:k8=\200B:k9=\200C:k;=\200D:kB=\200^O:\
625	:kD=\200S:kI=\200R:kN=\200Q:kP=\200I:kb=^H:kd=\200P:\
626	:kh=\200G:kl=\200K:kr=\200M:ku=\200H:tc=ansi.sys-old:
627
628#
629# Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
630# This should only be used when the terminal emulator cannot redefine the keys.
631# Since redefining keys with ansi.sys also affects PC-DOS programs, the key
632# definitions must be restored.  If the terminal emulator is quit while in vi
633# or others using :ks:/:ke:, the keypad will not be defined as per PC-DOS.
634# The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
635# (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
636# does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
637# Note that :kl: is always BS, because PC-dos can tolerate this change.
638# Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
639# Consequently the End keypad key could not be set (it is relatively safe and
640# actually useful because it sends ^@ O, which beeps and opens a line above).
641ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
642	:is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
643	:ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
644	:ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:\
645	:tc=ansi.sys:
646#
647# Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
648nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
649	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
650	:is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:\
651	:tc=ansi.sys:
652#
653# See ansi.sysk and nansi.sys above.
654nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
655	:al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
656	:is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
657	:tc=ansi.sysk:
658
659#### ANSI console types
660
661#
662# Atari ST terminals.
663# From Guido Flohr <gufl0000@stud.uni-sb.de>.
664#
665tw52|tw52-color|Toswin window manager with color:\
666	:ut:\
667	:Co#16:pa#256:\
668	:oc=\Eb?\Ec0:op=\Eb?\Ec0:tc=tw52-m:
669tw52-m|Toswin window manager monochrome:\
670	:ul:\
671	:ma#999:\
672	:dc=\Ea:is=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0:md=\Eya:me=\Ez_:\
673	:mh=\EyB:mr=\EyP:rs=\Ev\Eq\Ez_\Ee\Ei\Eb?\Ec0:se=\EzQ:\
674	:so=\EyQ:ue=\EzH:us=\EyH:tc=at-m:
675tt52|Atari TT medium and high resolution:\
676	:li#30:tc=at-color:
677st52-color|at-color|atari-color|atari_st-color|Atari ST with color:\
678	:ut:\
679	:Co#16:pa#256:\
680	:is=\Ev\Eq\Ee\Eb1\Ec0:rs=\Ev\Eq\Ee\Eb1\Ec0:tc=st52:
681st52|st52-m|at|at-m|atari|atari-m|atari_st|atarist-m|Atari ST:\
682	:NP:am:eo:mi:\
683	:co#80:it#8:li#24:\
684	:#4=\Ed:%1=\EH:%i=\Ec:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:\
685	:F5=\Et:F6=\Eu:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:al=\EL:bl=^G:\
686	:cb=\Eo:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dl=\EM:\
687	:do=\EB:ho=\EH:is=\Ev\Eq\Ee:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:\
688	:k5=\ET:k6=\EU:k7=\EV:k8=\EW:k9=\EX:k;=\EY:kD=\177:kI=\EI:\
689	:kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:kl=\ED:kr=\EC:ku=\EA:\
690	:le=\ED:me=\Eq:mr=\Ep:nd=\EC:nw=^M^J:rc=\Ek:rs=\Ev\Eq\Ee:\
691	:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:up=\EA:ve=\Ee:\
692	:vi=\Ef:
693tw100|toswin vt100 window mgr:\
694	:eo:mi:ms:xo:\
695	:Co#8:co#80:it#8:li#24:pa#64:vt#3:\
696	:%1=\EH:&8=\EK:DL=\E[%dM:DO=\E[%dB:F1=\Ep:F2=\Eq:F3=\Er:\
697	:F4=\Es:F5=\Et:F6=\Eu:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:IC=\E[%d@:\
698	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
699	:ac=++,,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
700	:ae=^O:al=\EL:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
701	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
702	:ct=\E[3g:dc=\Ea:dl=\E[M:do=\EB:ei=\Ei:ho=\E[H:im=\Eh:\
703	:is=\E<\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
704	:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:kD=\177:kI=\EI:\
705	:kN=\Eb:kP=\E\Ea:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E\EE:\
706	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:ll=\E[24H:\
707	:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\EC:nw=\EE:\
708	:oc=\E[30;47m:op=\E[30;47m:\
709	:r1=\E<\E[20l\E[?3;6;9l\E[r\Eq\E(B\017\E)0\E>:rc=\E8:\
710	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
711	:te=\E[?7h:ti=\E[?7l:ue=\E[m:up=\EA:us=\E[4m:ve=\Ee:vi=\Ef:
712# The entries for stv52 and stv52pc probably need a revision.
713stv52|MiNT virtual console:\
714	:am:ms:\
715	:co#80:it#8:li#30:\
716	:%1=\EH:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:F5=\Et:F6=\Eu:\
717	:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:al=\EL:bl=^G:cd=\EJ:ce=\EK:\
718	:cl=\EE:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:ho=\EH:k1=\EP:\
719	:k2=\EQ:k3=\ER:k4=\ES:k5=\ET:k6=\EU:k7=\EV:k8=\EW:k9=\EX:\
720	:k;=\EY:kD=\177:kI=\EI:kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:\
721	:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\Er:md=\EyA:me=\Ez_:mh=\Em:\
722	:mr=\Ep:nd=\EC:nw=2*\r\n:op=\Eb@\EcO:r1=\Ez_\Eb@\EcA:\
723	:se=\Eq:sf=2*\n:so=\Ep:sr=2*\EI:ta=^I:te=\Ev\E. \Ee\Ez_:\
724	:ti=\Ev\Ee\Ez_:ue=\EzH:up=\EA:us=\EyH:ve=\E. \Ee:vi=\Ef:\
725	:vs=\E.":
726stv52pc|MiNT virtual console with PC charset:\
727	:am:ms:\
728	:co#80:it#8:li#30:\
729	:%1=\EH:&8=\EK:F1=\Ep:F2=\Eq:F3=\Er:F4=\Es:F5=\Et:F6=\Eu:\
730	:F7=\Ev:F8=\Ew:F9=\Ex:FA=\Ey:\
731	:ac=+\257,\256-\136.v0\333I\374`\177a\260f\370g\361h\261j\331k\277l\332m\300n\305o\377p-q\304r-s_t+u+v+w+x\263y\363z\362{\343|\366}\234~\371:\
732	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:\
733	:dl=\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:k5=\ET:\
734	:k6=\EU:k7=\EV:k8=\EW:k9=\EX:k;=\EY:kD=\177:kI=\EI:kN=\Eb:\
735	:kP=\Ea:kb=^H:kd=\EB:kh=\EE:kl=\ED:kr=\EC:ku=\EA:le=^H:\
736	:mb=\Er:md=\EyA:me=\Ez_:mh=\Em:mr=\Ep:nd=\EC:nw=2*\r\n:\
737	:r1=\Ez_\Eb@\EcA:se=\Eq:sf=2*\n:so=\Ep:sr=2*\EI:ta=^I:\
738	:te=\Ev\E. \Ee\Ez_:ti=\Ev\Ee\Ez_:ue=\EzH:up=\EA:us=\EyH:\
739	:ve=\E. \Ee:vi=\Ef:vs=\E.":
740
741#### Atari ST
742#
743
744# From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
745atari-old|atari st:\
746	:am:bs:\
747	:co#80:it#8:li#25:\
748	:al=\EL:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :dl=\EM:do=\EB:\
749	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:me=\Eq:nd=\EC:se=\Eq:\
750	:so=\Ep:sr=\EI:ta=^I:up=\EA:
751# UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
752# From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
753uniterm|uniterm49|UniTerm VT220 emulator with 49 lines:\
754	:li#49:\
755	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H:\
756	:tc=vt220:
757# MiNT VT52 emulation. 80 columns, 25 rows.
758# MiNT is Now TOS, the operating system which comes with all Ataris now
759# (mainly Atari Falcon). This termcap is for the VT52 emulation you get
760# under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
761# From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
762st52-old|Atari ST with VT52 emulation:\
763	:am:km:\
764	:co#80:li#25:\
765	:K1=\E#7:K2=\E#9:K3=\E#5:K4=\E#1:K5=\E#3:al=\EL:bl=^G:\
766	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dl=\EM:do=\EB:\
767	:ho=\EH:k0=\E#D:k1=\E#;:k2=\E#<:k3=\E#=:k4=\E#>:k5=\E#?:\
768	:k6=\E#@:k7=\E#A:k8=\E#B:k9=\E#C:kA=\E#R:kC=\E#7:kF=\E#2:\
769	:kR=\E#8:kb=^H:kd=\E#P:kh=\E#G:kl=\E#K:kr=\E#M:ku=\E#H:\
770	:l0=f10:le=\ED:me=\Eq:nd=\EC:nw=^M^J:r1=\Ez_\Eb@\EcA:\
771	:rc=\Ek:sc=\Ej:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:te=:ti=\Ee:\
772	:up=\EA:ve=\Ee:vi=\Ef:
773
774#### BeOS
775#
776# BeOS entry for Terminal program Seems to be almost ANSI
777beterm|BeOS Terminal:\
778	:am:eo:mi:ms:xn:xo:\
779	:Co#8:NC#5:co#80:it#8:li#25:pa#64:\
780	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
781	:DL=\E[%dM:DO=\E[%dB:F1=\E[21~:F2=\E[22~:IC=\E[%d@:\
782	:LE=\E[%dD:RI=\E[%dC:Sb=\E[%+(m:Sf=\E[%+^^m:UP=\E[%dA:\
783	:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
784	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
785	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:\
786	:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
787	:k4=\E[14~:k5=\E[15~:k6=\E[16~:k7=\E[17~:k8=\E[18~:\
788	:k9=\E[19~:k;=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
789	:kb=^H:kd=\E[B:ke=\E[?4l:kh=\E[1~:kl=\E[D:kr=\E[C:\
790	:ks=\E[?4h:ku=\E[A:le=^H:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
791	:nd=\E[C:nw=^M^J:op=\E[m:r1=\Ec:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
792	:so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
793	:ue=\E[24m:up=\E[A:us=\E[4m:
794
795#### Linux consoles
796#
797
798# This entry is good for the 1.2.13 or later version of the Linux console.
799#
800# ***************************************************************************
801# *                                                                         *
802# *                           WARNING:                                      *
803# * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
804# * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
805# * character. Here are the keymap replacement lines that will set this up: *
806# *                                                                         *
807#	keycode  15 = Tab             Tab
808#		alt     keycode  15 = Meta_Tab
809#		shift	keycode  15 = F26
810#	string F26 ="\033[Z"
811# *                                                                         *
812# * This has to use a key slot which is unfortunate (any unused one will    *
813# * do, F26 is the higher-numbered one).  The change ought to be built      *
814# * into the kernel tables.                                                 *
815# *                                                                         *
816# ***************************************************************************
817#
818# All linux kernels since 1.2.13 (at least) set the screen size
819# themselves; this entry assumes that capability.
820#
821# (sgr removed to fit entry within 1023 bytes)
822# (rmacs/smacs removed for consistency)
823# (acsc removed to fit entry within 1023 bytes)
824linux-basic|linux console:\
825	:am:eo:mi:ms:ut:xn:xo:\
826	:NC#18:it#8:U8#1:\
827	:&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
828	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
829	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
830	:IC=\E[%d@:K2=\E[G:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
831	:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:\
832	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
833	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
834	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
835	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
836	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
837	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
838	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:mr=\E[7m:nd=\E[C:\
839	:nw=^M^J:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:sr=\EM:\
840	:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
841	:vb=200\E[?5h\E[?5l:tc=vt102+enq:tc=klone+sgr:\
842	:tc=ecma+color:
843
844linux-m|Linux console no color:\
845	:Co@:pa@:\
846	:AB@:AF@:Sb@:Sf@:tc=linux:
847
848# The 1.3.x kernels add color-change capabilities; if yours doesn't have this
849# and it matters, turn off <ccc>.  The %02x escape used to implement this is
850# not supposedly back-portable to older SV curses (although it has worked fine
851# on Solaris for several years) and not supported in ncurses versions before
852# 1.9.9.
853linux-c-nc|linux console with color-change:\
854	:cc:\
855	:oc=\E]R:tc=linux-basic:
856# From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
857linux-c|linux console 1.3.6+ for older ncurses:\
858	:cc:\
859	:oc=\E]R:tc=linux-basic:
860
861# The 2.2.x kernels add a private mode that sets the cursor type; use that to
862# get a block cursor for cvvis.
863# reported by Frank Heckenbach <frank@g-n-u.de>.
864linux2.2|linux 2.2.x console:\
865	:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:vs=\E[?25h\E[?8c:\
866	:tc=linux-c-nc:
867
868# Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
869#	http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html
870# Using SI/SO has the drawback that it confuses screen.  SCS would work.
871# However, SCS is buggy (see comment in Debian #515609) -TD
872linux2.6|linux 2.6.x console:\
873	:ae=^O:as=^N:me=\E[m\017:tc=linux2.2:
874
875# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
876linux3.0|linux 3.0 kernels:\
877	:E3=\E[3;J:tc=linux2.6:
878
879linux|linux console:\
880	:tc=linux3.0:
881
882# Subject: linux 2.6.26 vt back_color_erase
883# Changes to the Linux console driver broke bce model as reported in
884#	https://bugzilla.novell.com/show_bug.cgi?id=418613
885# apparently from
886#	http://lkml.org/lkml/2008/4/26/305
887#	http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/87f98338f0d636bb/aa96e8b86cee0d1e?lnk=st&q=#aa96e8b86cee0d1e
888linux2.6.26|linux console w/o bce:\
889	:ut@:tc=linux2.6:
890
891# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
892linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
893	:IC@:ic@:tc=linux:
894
895# This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
896# acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
897linux-koi8|linux with koi8 alternate character set:\
898	:ac=+\020,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\200q\200r\200s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224:\
899	:tc=linux:tc=klone+koi8acs:
900
901# Another entry for KOI8-r with Qing Long's acsc.
902# (which one better complies with the standard?)
903linux-koi8r|linux with koi8-r alternate character set:\
904	:tc=linux:tc=klone+koi8acs:
905
906# Entry for the latin1 and latin2 fonts
907linux-lat|linux with latin1 or latin2 alternate character set:\
908	:ac=+\020,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376:\
909	:tc=linux:
910
911# This uses graphics from VT codeset instead of from cp437.
912# reason: cp437 (aka "straight to font") is not functional under luit.
913# from: Andrey V Lukyanov <land@long.yar.ru>.
914linux-vt|linux console using VT codes for graphics:\
915	:S2@:S3@:\
916	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
917	:ae=\E(K:as=\E(0:me=\E[0m\E(K\017:sa@:tc=linux:
918
919# This is based on the Linux console (relies on the console to perform some
920# of the functionality), but does not recognize as many control sequences.
921# The program comes bundled with an old (circa 1998) copy of the Linux
922# console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
923#	\E*	move cursor to home, as as \E[H
924#	\E,X	same as \E(X
925#	\EE	move cursor to beginning of row
926#	\E[y,xf	same as \E[y,xH
927#
928# Note: The status-line support is buggy (dsl does not work).
929kon|kon2|jfbterm|Kanji ON Linux console:\
930	:cc@:hs:\
931	:Ic@:Ip@:ds=\E[?H:fs=\E[?F:kB@:oc@:op=\E[37;40m:r1=\Ec:\
932	:ts=\E[?T:vb@:ve@:vi@:vs@:tc=linux:
933
934# 16-color linux console entry; this works with a 256-character
935# console font but bright background colors turn into dim ones when
936# you use a 512-character console font. This uses bold for bright
937# foreground colors and blink for bright background colors.
938linux-16color|linux console with 16 colors:\
939	:Co#16:NC#54:pa#256:tc=linux:
940
941# bterm (bogl 0.1.18)
942# Implementation is in bogl-term.c
943# Key capabilities from linux terminfo entry
944#
945# Notes:
946# bterm only supports acs using wide-characters, has case for these: qjxamlkut
947# bterm does not support sgr, since it only processes one parameter -TD
948bterm|bogl virtual terminal:\
949	:am:ut:\
950	:Co#8:co#80:li#24:pa#64:\
951	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:F1=\E[23~:F2=\E[24~:\
952	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
953	:F8=\E[32~:F9=\E[33~:FA=\E[34~:K2=\E[G:Km=\E[M:\
954	:ac=aajjkkllmmqqttuuxx:ae=^O:as=^N:cd=\E[J:ce=\E[K:\
955	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:k1=\E[[A:\
956	:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:\
957	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:\
958	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:kl=\E[D:\
959	:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[0m:mr=\E[7m:nw=^M^J:\
960	:op=\E49;39m:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ue=\E[24m:\
961	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
962
963#### Mach
964#
965
966# From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
967mach|Mach Console:\
968	:am:km:\
969	:co#80:it#8:li#25:\
970	:@7=\E[Y:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
971	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
972	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:k1=\EOP:\
973	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
974	:k9=\EOX:k;=\EOY:kD=\E[9:kH=\E[F:kI=\E[@:kN=\E[U:kP=\E[V:\
975	:kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
976	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:se=\E[0m:\
977	:sf=^J:so=\E[7m:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
978mach-bold|Mach Console with bold instead of underline:\
979	:ue=\E[0m:us=\E[1m:tc=mach:
980mach-color|Mach Console with ANSI color:\
981	:Co#8:pa#64:\
982	:AB=\E[4%dm:AF=\E[3%dm:mh=\E[2m:mk=\E[8m:op=\E[37;40m:\
983	:se=\E[27m:tc=mach:
984
985# From: Marcus Brinkmann
986# http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/hurd/hurd/console/
987#
988# Comments in the original are summarized here:
989#
990# hurd uses 8-bit characters (km).
991#
992# Although it doesn't do XON/XOFF, we don't want padding characters (xon).
993#
994# Regarding compatibility to vt100:  hurd doesn't specify :xn:, as we don't
995# have the eat_newline_glitch.  It doesn't support setting or removing tab
996# stops (hts/tbc).
997#
998# hurd uses ^H instead of \E[D for cub1, as only ^H implements :bw: and it is
999# one byte instead three.
1000#
1001# :ic: is not included because hurd has insert mode.
1002#
1003# hurd doesn't use ^J for scrolling, because this could put things into the
1004# scrollback buffer.
1005#
1006# gsbom/grbom are used to enable/disable real bold (not intensity bright) mode.
1007# This is a GNU extension.
1008#
1009# The original has commented-out ncv, but is restored here.
1010#
1011# Reading the source, RIS resets cnorm, but not xmous.
1012# (acsc removed to fit entry within 1023 bytes)
1013# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1014hurd|The GNU Hurd console server:\
1015	:am:bw:eo:km:mi:ms:xo:\
1016	:it#8:\
1017	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1018	:K2=\E[G:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1019	:UP=\E[%dA:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:bt=\E[Z:\
1020	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%d;%dH:cr=^M:\
1021	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:\
1022	:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1023	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1024	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:\
1025	:kh=\E[1~:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
1026	:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:\
1027	:se=\E[27m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[24m:\
1028	:up=\E[A:us=\E[4m:vb=\Eg:ve=\E[?25h:vi=\E[?25l:vs=\E[34l:
1029
1030#### OSF Unix
1031#
1032
1033# OSF/1 1.1 Snapshot 2
1034pmcons|pmconsole|PMAX console:\
1035	:am:\
1036	:co#128:li#57:\
1037	:bl=^G:cl=^L:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1038	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:
1039
1040# SCO console and SOS-Syscons console for 386bsd
1041# (scoansi: had unknown capabilities
1042#	:Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
1043#	:GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
1044#	:G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
1045#	:CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
1046#	:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
1047# I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
1048# on the :as:=\E[12m  -- esr)
1049#
1050# klone+sgr-dumb is an error since the acsc does not match -TD
1051#
1052# In this description based on SCO's keyboard(HW) manpage list of default
1053# function key values:
1054#	F13-F24 are shifted F1-F12
1055#	F25-F36 are control F1-F12
1056#	F37-F48 are shift+control F1-F12
1057#
1058# hpa/vpa work in the console, but not in scoterm:
1059#	hpa=\E[%p1%dG,
1060#	vpa=\E[%p1%dd,
1061#
1062# SCO's terminfo uses
1063#	kLFT=\E[d,
1064#	kRIT=\E[c,
1065# which do not work (console or scoterm).
1066#
1067# Console documents only 3 attributes can be set with SGR (so we don't use sgr).
1068# (rmacs/smacs removed for consistency)
1069# (acsc removed to fit entry within 1023 bytes)
1070# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1071scoansi-old|SCO Extended ANSI standard crt (5.0.5):\
1072	:am:bs:eo:xo:\
1073	:co#80:it#8:li#25:\
1074	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1075	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
1076	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[m\E[J:ce=\E[m\E[K:\
1077	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
1078	:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
1079	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=\177:kI=\E[L:\
1080	:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
1081	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:mr=\E[7m:\
1082	:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
1083	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=10;12C:\
1084	:vi=\E[=14;12C:vs=\E[=0;12C:
1085scoansi-new|SCO Extended ANSI standard crt (5.0.6):\
1086	:km:\
1087	:MC=\E[=r:MR=\E[=3;0m:Zk=\E[=1;0m:Zl=\E[=1;%i%dm:\
1088	:Zm=\E[=2;%i%dm:Zn=\E[=3;%i%dm:Zo=\E[=0;0m:\
1089	:Zp=\E[=0;%i%dm:cs=\E[%i%d;%dr:mm=\E[=10L:mo=\E[=11L:\
1090	:oc=\E[51m:op=\E[50m:rp=\E[%d;%db:ve=\E[=1c:vi=\E[=0c:\
1091	:vs=\E[=2c:tc=scoansi-old:
1092# make this easy to change...
1093scoansi|SCO Extended ANSI standard crt:\
1094	:tc=scoansi-old:
1095
1096# This actually describes the generic SVr4 display driver for Intel boxes.
1097# The :mh=\E[2m: isn't documented and therefore may not be reliable.
1098# From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
1099att6386|at386|386at|AT&T WGS 6386 console:\
1100	:am:bw:eo:xo:\
1101	:co#80:it#8:li#25:\
1102	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
1103	:F2=\EOA:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
1104	:SR=\E[%dT:UP=\E[%dA:\
1105	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
1106	:ae=\E[10m:al=\E[1L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
1107	:ce=\E[K:ch=\E[%i%dG:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
1108	:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[1M:do=\E[B:ec=\E[%dX:\
1109	:ei=:ho=\E[H:ic=\E[1@:im=:is=\E[0;10;39m:k1=\EOP:k2=\EOQ:\
1110	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
1111	:k;=\EOY:kB=^]:kD=\E[P:kI=\E[@:kM=\E0:kN=\E[U:kP=\E[V:kb=^H:\
1112	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
1113	:md=\E[1m:me=\E[0;10m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
1114	:nw=\r\E[S:rc=\E8:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
1115	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=1C:vi=\E[=C:\
1116	:tc=klone+color:
1117# (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
1118pc6300plus|AT&T 6300 plus:\
1119	:am:bs:xo:\
1120	:co#80:li#24:\
1121	:al=\E[1L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[H:\
1122	:cm=\E[%i%2;%2H:cr=^M:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
1123	:ei=:ho=\E[H:ic=\E[1@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:\
1124	:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\EOk:k;=\EOu:kb=^H:\
1125	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
1126	:me=\E[m:mh=\E[2m:mk=\E[9m:mr=\E[7m:nd=\E[C:nw=^M^J:\
1127	:se=\E[m:sf=^J:so=\E[7m:st=\EH:ue=\E[m:up=\E[A:us=\E[4m:\
1128	:ve=\E[=1C:vi=\E[=C:
1129
1130# From: Benjamin C. W. Sittler <bsittler@nmt.edu>
1131#
1132# I have a UNIX PC which I use as a terminal attached to my Linux PC.
1133# Unfortunately, the UNIX PC terminfo entry that comes with ncurses
1134# is broken. All the special key sequences are broken, making it unusable
1135# with Emacs. The problem stems from the following:
1136#
1137# The UNIX PC has a plethora of keys (103 of them, and there's no numeric
1138# keypad!), loadable fonts, and strange highlighting modes ("dithered"
1139# half-intensity, "smeared" bold, and real strike-out, for example.) It also
1140# uses resizable terminal windows, but the bundled terminal program always
1141# uses an 80x24 window (and doesn't support seem to support a 132-column
1142# mode.)
1143#
1144# HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
1145# library which was a superset of SVr3.5 curses (called tam, for "terminal
1146# access method".) tam includes support for real, overlapping windows,
1147# onscreen function key labels, and bitmap graphics. But since the primary
1148# user interface on the UNIX PC was a GUI program (ua, for "user
1149# assistant",) and remote administration was considered important for the
1150# machine, tam also supported VT100-compatible terminals attached to the
1151# serial port or used across the StarLan network. To simulate the extra keys
1152# not present on a VT100, users could press ESC and a two-letter sequence,
1153# such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
1154# however, were not the same as those sent by the actual Undo key. The
1155# actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
1156# (If you're interested in adding some of the tam calls to ncurses, btw, I
1157# have the full documentation and several programs which use tam. It also
1158# used an extended terminfo format to describe key sequences, special
1159# highlighting modes, etc.)
1160#
1161# KEYS: This means that ncurses would quite painful on the UNIX PC, since
1162# there are two sequences for every key-modifier combination (local keyboard
1163# sequence and remote "VT100" sequence.) But I doubt many people are trying
1164# to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
1165# GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume)
1166# seem to have been built from the manual describing the VT100 sequences.
1167# This means it doesn't work for a real live UNIX PC.
1168#
1169# FONTS: The UNIX PC also has a strange interpretation of "alternate
1170# character set". Rather than the VT100 graphics you might expect, it allows
1171# up to 8 custom fonts to be loaded at any given time. This means that
1172# programs expecting VT100 graphics will usually be disappointed. For this
1173# reason I have disabled the smacs/rmacs sequences, but they could easily be
1174# re-enabled. Here are the relevant control sequences (from the ESCAPE(7)
1175# manpage), should you wish to do so:
1176#
1177# SGR10 - Select font 0 - ESC [ 10 m or SO
1178# SGR11 - Select font 1 - ESC [ 11 m or SI
1179# SGR12 - Select font 2 - ESC [ 12 m
1180# ... (etc.)
1181# SGR17 - Select font 7 - ESC [ 17 m
1182#
1183# Graphics for line drawing are not reliably found at *any* character
1184# location because the UNIX PC has dynamically reloadable fonts. I use font
1185# 0 for regular text and font 1 for italics, but this is by no means
1186# universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
1187#
1188# MISC: The cursor visible/cursor invisible sequences were swapped in the
1189# distributed terminfo.
1190#
1191# To ameliorate these problems (and fix a few highlighting bugs) I rewrote
1192# the UNIX PC terminfo entry. The modified version works great with Lynx,
1193# Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
1194# attached by serial cable. In Emacs, even the Undo key works, and many
1195# applications can now use the F1-F8 keys.
1196#
1197# esr's notes:
1198#	Terminfo entry for the AT&T Unix PC 7300
1199#	from escape(7) in Unix PC 7300 Manual.
1200#	Somewhat similar to a vt100-am (but different enough
1201#	to redo this from scratch.)
1202#
1203#	/***************************************************************
1204#	*
1205#	*           FONT LOADING PROGRAM FOR THE UNIX PC
1206#	*
1207#	*     This routine loads a font defined in the file ALTFONT
1208#	*     into font memory slot #1.  Once the font has been loaded,
1209#	*     it can be used as an alternative character set.
1210#	*
1211#	*     The call to ioctl with the argument WIOCLFONT is the key
1212#	*     to this routine.  For more information, see window(7) in
1213#	*     the PC 7300 documentation.
1214#	***************************************************************/
1215#	#include <string.h>		/* needed for strcpy call */
1216#	#include <sys/window.h>         /* needed for ioctl call */
1217#	#define FNSIZE	60		/* font name size */
1218#	#define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
1219#	/*
1220#	*     The file /usr/lib/wfont/special.8.ft comes with the
1221#	*     standard PC software.  It defines a graphics character set
1222#	*     similar to that of the Teletype 5425 terminal.  To view
1223#	*     this or other fonts in /usr/lib/wfont, use the command
1224#	*     cfont <filename>.  For further information on fonts see
1225#	*     cfont(1) in the PC 7300 documentation.
1226#	*/
1227#
1228#	struct altfdata 	/* structure for alt font data */
1229#	{
1230#	short	altf_slot;		/* memory slot number */
1231#	char	altf_name[FNSIZE];	/* font name (file name) */
1232#	};
1233#	ldfont()
1234#	{
1235#		int wd;		/* window in which altfont will be */
1236#		struct altfdata altf;
1237#		altf.altf_slot=1;
1238#		strcpy(altf.altf_name,ALTFONT);
1239#		for (wd =1; wd < 12; wd++) {
1240#		     ioctl(wd, WIOCLFONT,&altf);
1241#	        }
1242#	}
1243#
1244# (att7300: added :vi:/:ve:/:ic:/<invis> from the BSDI entry,
1245# they're confirmed by the man page for the System V display---esr)
1246#
1247# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1248att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300:\
1249	:am:xo:\
1250	:co#80:it#8:li#24:\
1251	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1252	:UP=\E[%dA:al=\E[L:bl=^G:bt=\E^I:cd=\E[0J:ce=\E[0K:\
1253	:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
1254	:do=\E[B:ei=:ho=\E[H:i1=\017\E[=1w:ic=\E[@:im=:k1=\EOc:\
1255	:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:\
1256	:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
1257	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[9m:md=\E[1m:\
1258	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[m:\
1259	:sf=^J:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[=0C:\
1260	:vi=\E[=1C:
1261
1262# Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
1263# from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
1264# for the application keypad mode.  We have added iris-ansi-ap rather than
1265# change the original to keypad mode.
1266#
1267# (iris-ansi: added rmam/smam based on init string -- esr)
1268#
1269# This entry, and those derived from it, is used in xwsh (also known as
1270# winterm).  Some capabilities that do not fit into the terminfo model
1271# include the shift- and control-functionkeys:
1272#
1273# F1-F12 generate different codes when shift or control modifiers are used.
1274# For example:
1275#	F1      	\E[001q
1276#	shift F1	\E[013q
1277#	control-F1	\E[025q
1278#
1279# In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
1280# \EOP to \EOS.  The shifted and control modifiers still do the same thing.
1281#
1282# The cursor keys also have different codes:
1283#	control-up	\E[162q
1284#	control-down	\E[165q
1285#	control-left	\E[159q
1286#	control-right	\E[168q
1287#
1288#	shift-up	\E[161q
1289#	shift-down	\E[164q
1290#	shift-left	\E[158q
1291#	shift-right	\E[167q
1292#
1293#	control-tab	\[072q
1294#
1295iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100):\
1296	:am:\
1297	:co#80:it#8:li#40:\
1298	:!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:%f=\E[210q:\
1299	:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:@7=\E[146q:\
1300	:@8=^M:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:F1=\E[011q:\
1301	:F2=\E[012q:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
1302	:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1303	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=\E[M:do=^J:\
1304	:ho=\E[H:is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:\
1305	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
1306	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k;=\E[010q:\
1307	:kB=\E[Z:kD=\177:kI=\E[139q:kM=\E[146q:kN=\E[154q:\
1308	:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
1309	:le=\E[D:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
1310	:sc=\E7:se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:st=\EH:ta=^I:\
1311	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
1312	:vs=\E[10/y\E[=1h\E[=2l\E[=6h:
1313iris-ansi-ap|IRIS ANSI in application-keypad mode:\
1314	:@8=\EOM:F1=\E[011q:F2=\E[012q:is=\E[?1l\E=\E[?7h:\
1315	:k9=\E[009q:k;=\E[010q:tc=iris-ansi:
1316
1317# From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
1318# (T.Dickey 98/1/24)
1319iris-color|xwsh|IRIX ANSI with color:\
1320	:NC#33:\
1321	:DC=\E[%dP:IC=\E[%d@:ZH=\E[3m:ZR=\E[23m:cs=\E[%i%d;%dr:\
1322	:ec=\E[%dX:ei=:im=:mh=\E[2m:r1=\Ec:\
1323	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
1324	:ue=\E[24m:tc=vt100+enq:tc=klone+color:tc=iris-ansi-ap:
1325
1326# The following is a version of the ibm-pc entry distributed with PC/IX,
1327# (Interactive Systems' System 3 for the Big Blue), modified by Richard
1328# McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
1329# (the former is untrue, and the latter failed under UCB/man); standout and
1330# underline modes have been added.  Note: this entry describes the "native"
1331# capabilities of the PC monochrome display, without ANY emulation; most
1332# communications packages (but NOT PC/IX connect) do some kind of emulation.
1333pcix|PC/IX console:\
1334	:am:bw:eo:\
1335	:co#80:li#24:\
1336	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
1337	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:up=\E[A:\
1338	:us=\E[4m:
1339
1340# (ibmpcx: this entry used to be known as ibmx.
1341# It formerly included the following extension capabilities:
1342#	:GC=b:GL=v:GR=t:RT=^J:\
1343#	:GH=\E[196g:GV=\E[179g:\
1344#	:GU=\E[193g:GD=\E[194g:\
1345#	:G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
1346#	:CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
1347#	:WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
1348# I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
1349# ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
1350# what was there before. -- esr)
1351ibmpcx|xenix|ibmx|IBM PC xenix console display:\
1352	:am:bs:ms:\
1353	:co#80:li#25:\
1354	:@7=\E[d:al=\E[L:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%d;%dH:\
1355	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[K:\
1356	:k2=\E[L:k3=\E[M:k4=\E[N:kN=\E[e:kP=\E[Z:kb=^H:kd=\E[B:\
1357	:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:up=\E[A:\
1358	:tc=klone+acs:tc=klone+sgr8:
1359
1360#### QNX
1361#
1362
1363# QNX 4.0 Console
1364# Michael's original version of this entry had <am@>, :ti=\Ei:,
1365# :te=\Eh\ER:; this was so terminfo applications could write the lower
1366# right corner without triggering a scroll.  The ncurses terminfo library can
1367# handle this case with the :ic: capability, and prefers :am: for better
1368# optimization.  Bug: The <op> capability resets attributes.
1369# From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
1370# (removed: :sa=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,:)
1371# (rmacs/smacs removed for consistency)
1372# (acsc removed to fit entry within 1023 bytes)
1373# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1374qnx|qnx4|qnx console:\
1375	:km:mi:ms:xt:\
1376	:co#80:it#4:li#25:\
1377	:al=\EE:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
1378	:dc=\Ef:dl=\EF:do=^J:ei=:ho=\EH:ic=\Ee:im=:k1=\377\201:\
1379	:k2=\377\202:k3=\377\203:k4=\377\204:k5=\377\205:\
1380	:k6=\377\206:k7=\377\207:k8=\377\210:k9=\377\211:\
1381	:kD=\377\254:kI=\377\253:kN=\377\252:kP=\377\242:\
1382	:kd=\377\251:kh=\377\240:kl=\377\244:kr=\377\246:\
1383	:ku=\377\241:le=^H:mb=\E{:md=\E<:me=\E}\E]\E>\E):mr=\E(:\
1384	:nd=\EC:rp=\Eg%r%+ %.:se=\E):sf=^J:so=\E(:sr=\EI:ta=^I:\
1385	:te=\Eh\ER:ti=\Ei:ue=\E]:up=\EA:us=\E[:ve=\Ey1:vi=\Ey0:\
1386	:vs=\Ey2:
1387#
1388#
1389qnxt|qnxt4|QNX4 terminal:\
1390	:YB:tc=qnx4:
1391#
1392qnxm|QNX4 with mouse events:\
1393	:Yd#1:\
1394	:ZC=\E/:ZD=\E":ZJ=\E/>2h:ZT=\E/>2l:ZZ=\E/>1l\E/>9h:\
1395	:Za=\E/>7h:Zb=\E/>7l:Zd=\E/>6l:Zf=\E/>1h:Zg=\E/>1h:\
1396	:Zh=\E/>1h\E/>9l:Zi=\E/>6h:i1=\E/0t:tc=qnx4:
1397#
1398qnxw|QNX4 windows:\
1399	:YD:tc=qnxm:
1400#
1401#	Monochrome QNX4 terminal or console. Setting this terminal type will
1402#	allow an application running on a color console to behave as if it
1403#	were a monochrome terminal. Output will be through stdout instead of
1404#	console writes because the term routines will recognize that the
1405#	terminal name starts with 'qnxt'.
1406#
1407qnxtmono|Monochrome QNX4 terminal or console:\
1408	:Co@:pa@:\
1409	:sp@:tc=qnx4:
1410
1411# From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
1412# (esr: commented out <scp> and :te: to avoid warnings.)
1413# (TD: derive from original qnx4 entry)
1414qnxt2|qnx 2.15 serial terminal:\
1415	:am:\
1416	:!3@:%h@:%j@:&7@:Sb@:Sf@:dc@:ic@:rp@:se=\E>:so=\E<:te@:ti@:ve@:vi@:\
1417	:vs@:tc=qnx4:
1418
1419# QNX ANSI terminal definition
1420# (sgr removed to fit entry within 1023 bytes)
1421# (acsc removed to fit entry within 1023 bytes)
1422# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1423qansi-g|QNX ANSI:\
1424	:am:es:hs:xo:\
1425	:co#80:it#8:li#25:ws#80:\
1426	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1427	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
1428	:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
1429	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
1430	:dl=\E[1M:do=\E[B:ds=\E[r:ec=\E[%dX:ei=:fs=\E[?6h\E8:\
1431	:ho=\E[H:i2=\E(B\E)0:ic=\E[1@:im=:\
1432	:is=\E>\E[?1l\E[?7h\E[0;10;39;49m:k1=\EOP:k2=\EOQ:\
1433	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
1434	:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:\
1435	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[99H:mb=\E[5m:\
1436	:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
1437	:se=\E[27m:sf=\E[S:so=\E[7m:sr=\E[T:st=\EH:ta=^I:\
1438	:ts=\E7\E1;24r\E[?6l\E[25;%i%dH:ue=\E[24m:up=\E[A:\
1439	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
1440	:vs=\E[?12;25h:
1441#
1442qansi|QNX ansi with console writes:\
1443	:YA:YC:tc=qansi-g:
1444#
1445qansi-t|QNX ansi without console writes:\
1446	:YB:tc=qansi:
1447#
1448qansi-m|QNX ansi with mouse:\
1449	:Yd#1:\
1450	:ZC=\E[:ZD=\E]:ZJ=\E[>2h:ZT=\E[>2l:ZZ=\E[>1l\E[>9h:\
1451	:Za=\E[>7h:Zb=\E[>7l:Zd=\E[>6l:Zf=\E[>1h:Zg=\E[>1h:\
1452	:Zh=\E[>1h\E[>9l:Zi=\E[>6h:i1=\E[0t:tc=qansi:
1453#
1454qansi-w|QNX ansi for windows:\
1455	:YD:tc=qansi-m:
1456
1457#### NetBSD consoles
1458#
1459# pcvt termcap database entries (corresponding to release 3.31)
1460# Author's last edit-date: [Fri Sep 15 20:29:10 1995]
1461#
1462# (For the terminfo master file, I translated these into terminfo syntax.
1463# Then I dropped all the pseudo-HP entries. we don't want and can't use
1464# the :Xs: flag. Then I split :is: into a size-independent :i1: and a
1465# size-dependent :is:.  Finally, I added <rmam>/<smam> -- esr)
1466
1467# NOTE: :ic: has been taken out of this entry. for reference, it should
1468# be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
1469# (esr: added :vi: and :ve: to resolve NetBSD Problem Report #4583)
1470pcvtXX|pcvt vt200 emulator (DEC VT220):\
1471	:am:km:mi:ms:xn:\
1472	:it#8:vt#3:\
1473	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1474	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
1475	:SR=\E[%dT:UP=\E[%dA:\
1476	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~:\
1477	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
1478	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1479	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
1480	:i1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:im=\E[4h:\
1481	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
1482	:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:kI=\E[2~:\
1483	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
1484	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:\
1485	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
1486	:r1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
1487	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
1488	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
1489	:ve=\E[?25h:vi=\E[?25l:
1490
1491#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1492#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1493#	50 lines entries; 80 columns
1494pcvt25|dec vt220 emulation with 25 lines:\
1495	:co#80:li#25:\
1496	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
1497pcvt28|dec vt220 emulation with 28 lines:\
1498	:co#80:li#28:\
1499	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
1500pcvt35|dec vt220 emulation with 35 lines:\
1501	:co#80:li#35:\
1502	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
1503pcvt40|dec vt220 emulation with 40 lines:\
1504	:co#80:li#40:\
1505	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
1506pcvt43|dec vt220 emulation with 43 lines:\
1507	:co#80:li#43:\
1508	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
1509pcvt50|dec vt220 emulation with 50 lines:\
1510	:co#80:li#50:\
1511	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
1512
1513#	NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
1514#	termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
1515#	50 lines entries; 132 columns
1516pcvt25w|dec vt220 emulation with 25 lines and 132 cols:\
1517	:co#132:li#25:\
1518	:is=\E[1;25r\E[25;1H:tc=pcvtXX:
1519pcvt28w|dec vt220 emulation with 28 lines and 132 cols:\
1520	:co#132:li#28:\
1521	:is=\E[1;28r\E[28;1H:tc=pcvtXX:
1522pcvt35w|dec vt220 emulation with 35 lines and 132 cols:\
1523	:co#132:li#35:\
1524	:is=\E[1;35r\E[35;1H:tc=pcvtXX:
1525pcvt40w|dec vt220 emulation with 40 lines and 132 cols:\
1526	:co#132:li#40:\
1527	:is=\E[1;40r\E[40;1H:tc=pcvtXX:
1528pcvt43w|dec vt220 emulation with 43 lines and 132 cols:\
1529	:co#132:li#43:\
1530	:is=\E[1;43r\E[43;1H:tc=pcvtXX:
1531pcvt50w|dec vt220 emulation with 50 lines and 132 cols:\
1532	:co#132:li#50:\
1533	:is=\E[1;50r\E[50;1H:tc=pcvtXX:
1534
1535#	OpenBSD implements a color variation
1536pcvt25-color|dec vt220 emulation with 25 lines and color:\
1537	:co#80:li#25:\
1538	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
1539	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
1540	:is=\E[1;25r\E[25;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
1541	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
1542	:k;=\E[29~:tc=pcvtXX:tc=ecma+color:
1543
1544# Terminfo entries to enable the use of the ncurses library in colour on a
1545# NetBSD-arm32 console (only tested on a RiscPC).
1546# Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
1547# modified codes for setf/setb to setaf/setab, then to klone+color, corrected
1548# typo in invis - TD
1549arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480):\
1550	:am:ms:ut:xn:xo:\
1551	:co#80:it#8:li#30:\
1552	:@8=\E[M:DO=\E[%dB:K1=\E[q:K2=\E[r:K3=\E[s:K4=\E[p:K5=\E[n:\
1553	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
1554	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
1555	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
1556	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
1557	:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:k0=\E[y:k1=\E[P:\
1558	:k2=\E[Q:k3=\E[R:k4=\E[S:k5=\E[t:k6=\E[u:k7=\E[v:k8=\E[l:\
1559	:k9=\E[w:k;=\E[x:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:\
1560	:kr=\E[C:ks=\E[?1h\E=:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:\
1561	:me=2\E[0m:mk=2\E[8m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
1562	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
1563	:sf=^J:so=2\E[7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
1564	:us=2\E[4m:tc=ecma+sgr:tc=klone+color:
1565
1566arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768):\
1567	:co#132:li#50:tc=arm100:
1568
1569# NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
1570# manufactured by Sharp for the Japenese market.
1571# From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
1572x68k|x68k-ite|NetBSD/x68k ITE:\
1573	:co#96:li#32:\
1574	:%1=\E[28~:kC=\E[9~:tc=vt220:
1575
1576# <tv@pobox.com>:
1577# Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
1578#
1579# (still unfinished, but good enough so far.)
1580ofcons|DNARD OpenFirmware console:\
1581	:bw:\
1582	:co#80:li#30:\
1583	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
1584	:LE=\233%dD:RI=\233%dC:UP=\233%dA:al=\233L:bl=^G:cd=\233J:\
1585	:ce=\233K:cl=^L:cm=\233%i%d;%dH:cr=^M:dc=\233P:dl=\233M:\
1586	:do=\233B:ei=:ic=\233@:im=:k1=\2330P:k2=\2330Q:k3=\2330W:\
1587	:k4=\2330x:k5=\2330t:k6=\2330u:k7=\2330q:k8=\2330r:\
1588	:k9=\2330p:k;=\2330M:kD=\233P:kN=\233/:kP=\233?:kb=^H:\
1589	:kd=\233B:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
1590	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
1591	:nd=\233C:nw=^M^J:se=\2330m:sf=^J:ta=^I:ue=\2330m:up=\233A:\
1592	:vb=^G:
1593
1594# NetBSD "wscons" emulator in vt220 mode.
1595# This entry is based on the NetBSD termcap entry, correcting the ncv value.
1596# The emulator renders underlined text in red.  Colors are otherwise usable.
1597#
1598# Testing the emulator and reading the source code (NetBSD 2.0), it appears
1599# that "vt220" is inaccurate.  There are a few vt220-features, but most of the
1600# vt220 screens in vttest do not work with this emulator.  For instance, it
1601# identifies itself (primary DA response) as a vt220 with selective erase.  But
1602# the selective erase feature does not work.  The secondary response is copied
1603# from Kermit's emulation of vt220, does not correspond to actual vt220.  At
1604# the level of detail in a termcap, it is a passable emulator, since ECH does
1605# work.  Don't use it on a VMS system -TD
1606wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
1607	:ms:ut:\
1608	:Co#8:NC#2:co#80:it#8:li#25:pa#64:\
1609	:@7=\E[8~:AB=\E[4%dm:AF=\E[3%dm:F1=\E[23~:F2=\E[24~:\
1610	:is=\E[r\E[25;1H:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
1611	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
1612	:k;=\E[21~:kh=\E[7~:op=\E[m:r1=\Ec:tc=vt220:
1613
1614wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta:\
1615	:km:tc=wsvt25:
1616
1617# `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and
1618# DECstation/pmax.
1619rcons|BSD rasterconsole:\
1620	:tc=sun-il:
1621# Color version of above. Color currently only provided by NetBSD.
1622rcons-color|BSD rasterconsole with ANSI color:\
1623	:ut:\
1624	:Co#8:pa#64:\
1625	:AB=\E[4%dm:AF=\E[3%dm:op=\E[m:tc=rcons:
1626
1627# mgterm -- MGL/MGL2, MobileGear Graphic Library
1628# for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
1629# -- the setf/setb are probably incorrect, more likely setaf/setab -TD
1630# -- compare with cons25w
1631mgterm:\
1632	:NP:am:bs:bw:eo:km:ms:pt:ut:\
1633	:Co#8:co#80:it#8:li#18:pa#64:\
1634	:@7=\E[F:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
1635	:F2=\E[X:IC=\E[%d@:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
1636	:SR=\E[%dT:Sb=\E[4%dm:Sf=\E[3%dm:UP=\E[%dA:al=\E[L:bl=^G:\
1637	:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
1638	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:\
1639	:dl=\E[M:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:\
1640	:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
1641	:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
1642	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
1643	:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[30;1m:mr=\E[7m:nd=\E[C:\
1644	:nw=\E[E:op=\E[x:rc=\E8:rs=\E[x\E[m\Ec:sc=\E7:se=\E[m:\
1645	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
1646
1647#### FreeBSD console entries
1648#
1649# From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
1650# Andrey Chernov maintains the FreeBSD termcap distributions.
1651#
1652# Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
1653# or comment out the :cb: capability in the console entry.
1654#
1655# Alexander Lukyanov reports:
1656# I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
1657# Now el1 clears not only to the line beginning, but also a large chunk
1658# of previous line. But there is another bug - ech does not work at all.
1659#
1660
1661# for syscons
1662# common entry without semigraphics
1663# Bug: The <op> capability resets attributes.
1664# Bug? The ech and el1 attributes appear to move the cursor in some cases; for
1665# instance el1 does if the cursor is moved to the right margin first.  Removed
1666# by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
1667#
1668# Setting colors turns off reverse; we cannot guarantee order, so use ncv.
1669# Note that this disables standout with color.
1670#
1671# The emulator sends difference strings based on shift- and control-keys,
1672# like scoansi:
1673#	F13-F24 are shifted F1-F12
1674#	F25-F36 are control F1-F12
1675#	F37-F48 are shift+control F1-F12
1676# (sgr removed to fit entry within 1023 bytes)
1677# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
1678cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode):\
1679	:am:bw:eo:ms:\
1680	:co#80:it#8:li#25:\
1681	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
1682	:K2=\E[E:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
1683	:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
1684	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
1685	:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
1686	:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kD=\177:\
1687	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
1688	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
1689	:mh=\E[30;1m:mr=\E[7m:nd=\E[C:nw=\E[E:rc=\E8:\
1690	:rs=\E[x\E[m\Ec:sc=\E7:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
1691	:ta=^I:up=\E[A:ve=\E[=0C:vs=\E[=1C:
1692cons25|ansis|ansi80x25|freebsd console (25-line ansi mode):\
1693	:ac=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\
1694	:tc=cons25w:
1695cons25-debian|freebsd console with debian backspace (25-line ansi mode):\
1696	:kD=\E[3~:kb=\177:tc=cons25:
1697cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode):\
1698	:Co@:pa@:\
1699	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25:
1700cons30|ansi80x30|freebsd console (30-line ansi mode):\
1701	:li#30:tc=cons25:
1702cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode):\
1703	:li#30:tc=cons25-m:
1704cons43|ansi80x43|freebsd console (43-line ansi mode):\
1705	:li#43:tc=cons25:
1706cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode):\
1707	:li#43:tc=cons25-m:
1708cons50|ansil|ansi80x50|freebsd console (50-line ansi mode):\
1709	:li#50:tc=cons25:
1710cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode):\
1711	:li#50:tc=cons25-m:
1712cons60|ansi80x60|freebsd console (60-line ansi mode):\
1713	:li#60:tc=cons25:
1714cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode):\
1715	:li#60:tc=cons25-m:
1716cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic:\
1717	:ac=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\200t\206u\207v\211w\210x\201y\230z\231~\225:\
1718	:tc=cons25w:
1719cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono):\
1720	:Co@:pa@:\
1721	:AB@:AF@:op@:ue=\E[m:us=\E[4m:tc=cons25r:
1722cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines):\
1723	:li#50:tc=cons25r:
1724cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono):\
1725	:li#50:tc=cons25r-m:
1726cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines):\
1727	:li#60:tc=cons25r:
1728cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono):\
1729	:li#60:tc=cons25r-m:
1730# ISO 8859-1 FreeBSD console
1731cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars:\
1732	:ac=+\253,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237:\
1733	:tc=cons25w:
1734cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono):\
1735	:Co@:pa@:\
1736	:AB@:AF@:md@:mh@:op@:ue=\E[m:us=\E[4m:tc=cons25l1:
1737cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines):\
1738	:li#50:tc=cons25l1:
1739cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono):\
1740	:li#50:tc=cons25l1-m:
1741cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines):\
1742	:li#60:tc=cons25l1:
1743cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono):\
1744	:li#60:tc=cons25l1-m:
1745
1746#### 386BSD and BSD/OS Consoles
1747#
1748
1749# This was the original 386BSD console entry (I think).
1750# Some places it's named oldpc3|oldibmpc3.
1751# From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
1752origpc3|origibmpc3|IBM PC 386BSD Console:\
1753	:am:bs:bw:eo:xo:\
1754	:co#80:li#25:\
1755	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
1756	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[H:\
1757	:kd=\E[B:kh=\E[Y:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[7m:\
1758	:me=\E[m\E[1;0x\E[2;7x:nd=\E[C:se=\E[1;0x\E[2;7x:\
1759	:sf=\E[S:so=\E[1;7x\E[2;0x:sr=\E[T:ue=\E[1;0x\E[2;7x:\
1760	:up=\E[A:us=\E[1;7x\E[2;0x:
1761
1762# description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
1763oldpc3|oldibmpc3|old IBM PC BSD/386 Console:\
1764	:bs:km:\
1765	:li#25:\
1766	:al=\E[L:bl=^G:cr=^M:dl=\E[M:do=^J:kH=\E[F:kI=\E[L:kN=\E[G:\
1767	:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
1768	:md=\E[=15F:me=\E[=R:mh=\E[=8F:nw=^M^J:sf=^J:ta=^I:
1769
1770# Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
1771# Note, the emulator supports many of the additional console features
1772# listed in the iBCS2 (e.g. character-set selection) though not all
1773# are described here.  This entry really ought to be upgraded.
1774# Also note, the console will also work with fewer lines after doing
1775# "stty rows NN", e.g. to use 24 lines.
1776# (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996)
1777# Bug: The <op> capability resets attributes.
1778bsdos-pc|IBM PC BSD/OS Console:\
1779	:tc=bsdos-pc-nobold:
1780
1781bsdos-pc-nobold|BSD/OS PC console w/o bold:\
1782	:tc=klone+color:tc=bsdos-pc-m:
1783
1784bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono:\
1785	:am:bs:eo:km:xo:\
1786	:co#80:it#8:li#25:\
1787	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
1788	:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\Ec:\
1789	:cm=\E[%i%d;%dH:cr=^M:dl=\E[M:do=^J:ho=\E[H:kH=\E[F:\
1790	:kI=\E[L:kN=\E[G:kP=\E[I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
1791	:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:sf=^J:\
1792	:ta=^I:up=\E[A:tc=klone+sgr8:
1793
1794# Old names for BSD/OS PC console used in releases before 4.1.
1795pc3|BSD/OS on the PC Console:\
1796	:tc=bsdos-pc-nobold:
1797ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline:\
1798	:tc=bsdos-pc:
1799
1800# BSD/OS on the SPARC
1801bsdos-sparc|Sun SPARC BSD/OS Console:\
1802	:tc=sun:
1803
1804# BSD/OS on the PowerPC
1805bsdos-ppc|PowerPC BSD/OS Console:\
1806	:tc=bsdos-pc:
1807
1808#### DEC VT52
1809# (<acsc>/:ae:/:as: capabilities aren't in DEC's official entry -- esr)
1810#
1811# Actually (TD pointed this out at the time the acsc string was added):
1812# vt52 shouldn't define full acsc since most of the cells don't match.
1813# see vt100 manual page A-31.  This is the list that does match:
1814#	f degree
1815#	g plus/minus
1816#	h right-arrow
1817#	k down-arrow
1818#	m scan-1
1819#	o scan-3
1820#	q scan-5
1821#	s scan-7
1822# The line-drawing happens to work in several terminal emulators, but should
1823# not be used as a guide to the capabilities of the vt52.  Note in particular
1824# that vt52 does not support line-drawing characters (the scan-X values refer
1825# to a crude plotting feature) -TD
1826vt52|dec vt52:\
1827	:bs:\
1828	:co#80:it#8:li#24:\
1829	:ac=+h.k0affggolpnqprrss:ae=\EG:as=\EF:bl=^G:cd=\EJ:\
1830	:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=\EB:ho=\EH:kb=^H:\
1831	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:nw=^M^J:sf=^J:\
1832	:sr=\EI:ta=^I:up=\EA:
1833
1834#### DEC VT100 and compatibles
1835#
1836# DEC terminals from the vt100 forward are collected here. Older DEC terminals
1837# and micro consoles can be found in the `obsolete' section.  More details on
1838# the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
1839# found near the end of this file.
1840#
1841# Except where noted, these entries are DEC's official terminfos.
1842# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
1843# Engineering for more information.  Updated terminfos and termcaps
1844# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
1845#
1846# In October 1995 DEC sold its terminals business, including the VT and Dorio
1847# line and trademark, to SunRiver Data Systems.  SunRiver has since changed
1848# its name to Boundless Technologies; see http://www.boundless.com.
1849#
1850
1851# NOTE:  Any VT100 emulation, whether in hardware or software, almost
1852# certainly includes what DEC called the `Level 1 editing extension' codes;
1853# only the very oldest VT100s lacked these and there probably aren't any of
1854# those left alive.  To capture these, use one of the VT102 entries.
1855#
1856# Note that the :xn: glitch in vt100 is not quite the same as on the Concept,
1857# since the cursor is left in a different position while in the
1858# weird state (concept at beginning of next line, vt100 at end
1859# of this line) so all versions of vi before 3.7 don't handle
1860# :xn: right on vt100. The correct way to handle :xn: is when
1861# you output the char in column 80, immediately output CR LF
1862# and then assume you are in column 1 of the next line. If :xn:
1863# is on, am should be on too.
1864#
1865# I assume you have smooth scroll off or are at a slow enough baud
1866# rate that it doesn't matter (1200? or less). Also this assumes
1867# that you set auto-nl to "on", if you set it off use vt100-nam
1868# below.
1869#
1870# The padding requirements listed here are guesses. It is strongly
1871# recommended that xon/xoff be enabled, as this is assumed here.
1872#
1873# The vt100 uses <rs2> and <rf> rather than :is:/:ct:/:st: because the
1874# tab settings are in non-volatile memory and don't need to be
1875# reset upon login. Also setting the number of columns glitches
1876# the screen annoyingly. You can type "reset" to get them set.
1877#
1878# The VT100 series terminals have cursor ("arrows") keys which can operate
1879# in two different modes: Cursor Mode and Application Mode.  Cursor Mode
1880# is the reset state, and is assumed to be the normal state.  Application
1881# Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
1882# "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
1883# Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
1884# was provided primarily as an aid to the porting of VT52 applications.  It is
1885# assumed that the cursor keys are normally in Cursor Mode, and expected that
1886# applications such as vi will always transmit the :ks: string.  Therefore,
1887# the definitions for the cursor keys are made to match what the terminal
1888# transmits after the :ks: string is transmitted.  If the :ks: string
1889# is a null string or is not defined, then cursor keys are assumed to be in
1890# "Cursor Mode", and the cursor keys definitions should match that assumption,
1891# else the application may fail.  It is also expected that applications will
1892# always transmit the :ke: string to the terminal before they exit.
1893#
1894# The VT100 series terminals have an auxiliary keypad, commonly referred to as
1895# the "Numeric Keypad", because it is a cluster of numeric and function keys.
1896# The Numeric Keypad which can operate in two different modes: Numeric Mode and
1897# Application Mode.  Numeric Mode is the reset state, and is assumed to be
1898# the normal state.  Application Mode is the "set" state.  In Numeric Mode,
1899# the numeric and punctuation keys transmit ASCII 7-bit characters, and the
1900# Enter key transmits the same as the Return key (Note: the Return key
1901# can be configured to send either LF (\015) or CR LF).  In Application Mode,
1902# all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
1903# always send the same "Esc O {code}" sequences.  It is assumed that the keypad
1904# is normally in Numeric Mode.  If an application requires that the keypad be
1905# in Application Mode then it is expected that the user, or the application,
1906# will set the TERM environment variable to point to a terminfo entry which has
1907# defined the :ks: string to include the codes that switch the keypad into
1908# Application Mode, and the terminfo entry will also define function key
1909# fields to match the Application Mode control codes.  If the :ks: string
1910# is a null string or is not defined, then the keypad is assumed to be in
1911# Numeric Mode.  If the :ks: string switches the keypad into Application
1912# Mode, it is expected that the :ke: string will contain the control codes
1913# necessary to reset the keypad to "Normal" mode, and it is also expected that
1914# applications which transmit the :ks: string will also always transmit the
1915# :ke: string to the terminal before they exit.
1916#
1917# Here's a diagram of the VT100 keypad keys with their bindings.
1918# The top line is the name of the key (some DEC keyboards have the keys
1919# labelled somewhat differently, like GOLD instead of PF1, but this is
1920# the most "official" name).  The second line is the escape sequence it
1921# generates in Application Keypad mode (where "$" means the ESC
1922# character).  The third line contains two items, first the mapping of
1923# the key in terminfo, and then in termcap.
1924#   _______________________________________
1925#  |   PF1   |   PF2   |   PF3   |   PF4   |
1926#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1927#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1928#  |    7         8         9         -    |
1929#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1930#  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
1931#  |    4    |    5    |    6    |    ,    |
1932#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1933#  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
1934#  |    1    |    2    |    3    |         |
1935#  |   $Oq   |   $Or   |   $Os   |  enter  |
1936#  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
1937#  |         0         |   .     |         |
1938#  |        $Op        |  $On    |         |
1939#  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
1940#
1941# Note however, that the arrangement of the 5-key ka1-kc3 do not follow the
1942# terminfo guidelines.  That is a compromise used to assign the remaining
1943# keys on the keypad to kf5-kf0, used on older systems with legacy termcap
1944# support:
1945vt100+keypad|dec vt100 numeric keypad no fkeys:\
1946	:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:
1947vt100+pfkeys|dec vt100 numeric keypad:\
1948	:@8=\EOM:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=vt100+keypad:
1949vt100+fnkeys|dec vt100 numeric keypad:\
1950	:k0=\EOy:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
1951	:tc=vt100+pfkeys:
1952#
1953# A better adaptation to modern keyboards such as the PC's, which have a dozen
1954# function keys and the keypad 2,4,6,8 keys are labeled with arrows keys, is to
1955# use the 5-key arrangement to model the arrow keys as suggested in the
1956# terminfo guidelines:
1957#   _______________________________________
1958#  |   PF1   |   PF2   |   PF3   |   PF4   |
1959#  |   $OP   |   $OQ   |   $OR   |   $OS   |
1960#  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
1961#  |    7         8         9         -    |
1962#  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
1963#  |_ka1__K1_|_________|_ka3__K3_|_________|
1964#  |    4    |    5    |    6    |    ,    |
1965#  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
1966#  |_________|_kb2__K2_|_________|_________|
1967#  |    1    |    2    |    3    |         |
1968#  |   $Oq   |   $Or   |   $Os   |  enter  |
1969#  |_kc1__K4_|_________|_kc3__K5_|  $OM    |
1970#  |         0         |   .     |         |
1971#  |        $Op        |  $On    |         |
1972#  |___________________|_________|_kent_@8_|
1973#
1974vt220+keypad|dec vt220 numeric keypad:\
1975	:@8=\EOM:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:k1=\EOP:\
1976	:k2=\EOQ:k3=\EOR:k4=\EOS:
1977#
1978vt100+enq|ncurses extension for vt100-style ENQ:\
1979	:u8=\E[?1;2c:tc=ansi+enq:
1980vt102+enq|ncurses extension for vt102-style ENQ:\
1981	:u8=\E[?6c:tc=ansi+enq:
1982#
1983# And here, for those of you with orphaned VT100s lacking documentation, is
1984# a description of the soft switches invoked when you do `Set Up'.
1985#
1986#  Scroll 0-Jump               Shifted 3   0-#
1987#  |      1-Smooth             |           1-British pound sign
1988#  | Autorepeat 0-Off          | Wrap Around 0-Off
1989#  | |          1-On           | |           1-On
1990#  | | Screen 0-Dark Bkg       | | New Line 0-Off
1991#  | | |      1-Light Bkg      | | |        1-On
1992#  | | | Cursor 0-Underline    | | | Interlace 0-Off
1993#  | | | |      1-Block        | | | |         1-On
1994#  | | | |                     | | | |
1995#  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
1996#                | | | |                     | | | |
1997#                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
1998#                | | |               1-On    | | |       1-50 Hz
1999#                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
2000#                | |           1-ANSI        | |                1-8 Bits
2001#                | Keyclick 0-Off            | Parity 0-Off
2002#                |          1-On             |        1-On
2003#                Margin Bell 0-Off           Parity Sense 0-Odd
2004#                            1-On                         1-Even
2005#
2006# The following SET-UP modes are assumed for normal operation:
2007#	ANSI_MODE	AUTO_XON/XOFF_ON	NEWLINE_OFF	80_COLUMNS
2008#	WRAP_AROUND_ON  JUMP_SCROLL_OFF
2009# Other SET-UP modes may be set for operator convenience or communication
2010# requirements; I recommend
2011#	AUTOREPEAT_ON	BLOCK_CURSOR	MARGIN_BELL_OFF    SHIFTED_3_#
2012# Unless you have a graphics add-on such as Digital Engineering's VT640
2013# (and even then, whenever it can be arranged!) you should set
2014#	INTERLACE_OFF
2015#
2016# (vt100: I added <rmam>/<smam> based on the init string, also :bs:. -- esr)
2017vt100|vt100-am|dec vt100 (w/advanced video):\
2018	:5i:am:bs:ms:xn:xo:\
2019	:co#80:it#8:li#24:vt#3:\
2020	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
2021	:UP=\E[%dA:\
2022	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2023	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
2024	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2025	:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:\
2026	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:\
2027	:l2=pf2:l3=pf3:l4=pf4:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[0m:\
2028	:mr=2\E[7m:nd=2\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:rc=\E8:\
2029	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
2030	:sf=^J:so=2\E[7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
2031	:us=2\E[4m:tc=vt100+fnkeys:
2032vt100nam|vt100-nam|vt100 no automargins:\
2033	:am@:xn@:tc=vt100-am:
2034vt100-vb|dec vt100 (w/advanced video) & no beep:\
2035	:bl@:vb=\E[?5h\E[?5l:tc=vt100:
2036
2037# Ordinary vt100 in 132 column ("wide") mode.
2038vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video):\
2039	:co#132:li#24:\
2040	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
2041vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin):\
2042	:co#132:li#14:vt@:\
2043	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-nam:
2044
2045# vt100 with no advanced video.
2046vt100-nav|vt100 without advanced video option:\
2047	:sg#1:\
2048	:mb@:md@:me@:mr@:sa@:se=\E[m:so=\E[7m:ue@:us@:tc=vt100:
2049vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option):\
2050	:co#132:li#14:tc=vt100-nav:
2051
2052# vt100 with one of the 24 lines used as a status line.
2053# We put the status line on the top.
2054vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline:\
2055	:es:hs:\
2056	:li#23:\
2057	:cl=50\E[2;1H\E[J:cm=5\E[%i%+^A;%dH:cs=\E[%i%i%d;%dr:\
2058	:ds=\E7\E[1;24r\E8:fs=\E8:ho=\E[2;1H:is=\E7\E[2;24r\E8:\
2059	:ts=\E7\E[1;%dH\E[1K:tc=vt100-am:
2060
2061# Status line at bottom.
2062# Clearing the screen will clobber status line.
2063vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline:\
2064	:es:hs:\
2065	:li#23:\
2066	:ds=\E7\E[1;24r\E8:fs=\E8:is=\E[1;23r\E[23;1H:\
2067	:ts=\E7\E[24;%dH\E[1K:tc=vt100-am:
2068
2069# Most of the `vt100' emulators out there actually emulate a vt102
2070# This entry (or vt102-nsgr) is probably the right thing to use for
2071# these.
2072vt102|dec vt102:\
2073	:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:tc=vt100:
2074vt102-w|dec vt102 in wide mode:\
2075	:co#132:\
2076	:r3=\E[?3h:tc=vt102:
2077
2078# Many brain-dead PC comm programs that pretend to be `vt100-compatible'
2079# fail to interpret the ^O and ^N escapes properly.  Symptom: the :me:
2080# string in the canonical vt100 entry above leaves the screen littered
2081# with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
2082# after highlight turnoffs.  This entry should fix that, and even leave
2083# ACS support working, at the cost of making multiple-highlight changes
2084# slightly more expensive.
2085# From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
2086vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes):\
2087	:me=\E[m:sa@:tc=vt102:
2088
2089# VT125 Graphics CRT.  Clear screen also erases graphics
2090# Some vt125's came configured with vt102 support.
2091vt125|vt125 graphics terminal:\
2092	:mi:\
2093	:cl=50\E[H\E[2J\EPpS(E)\E\\:tc=vt100:
2094
2095# This isn't a DEC entry, it came from University of Wisconsin.
2096# (vt131: I added <rmam>/<smam> based on the init string, also :bs: -- esr)
2097vt131|dec vt131:\
2098	:am:bs:xn:\
2099	:co#80:it#8:li#24:vt#3:\
2100	:RA=\E[?7h:SA=\E[?7h:bl=^G:cd=50\E[J:ce=3\E[K:\
2101	:cl=50\E[;H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2102	:do=^J:ho=\E[H:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:\
2103	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
2104	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:\
2105	:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=^M^J:\
2106	:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
2107	:se=2\E[m:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:\
2108	:us=2\E[4m:
2109
2110# vt132 - like vt100 but slower and has ins/del line and such.
2111# I'm told that :im:/:ei: are backwards in the terminal from the
2112# manual and from the ANSI standard, this describes the actual
2113# terminal. I've never actually used a vt132 myself, so this
2114# is untested.
2115#
2116vt132|DEC vt132:\
2117	:xn:\
2118	:al=99\E[L:dc=7\E[P:dl=99\E[M:ei=\E[4h:im=\E[4l:ip=7:\
2119	:sf=30\n:tc=vt100:
2120
2121# This vt220 description maps F5--F9 to the second block of function keys
2122# at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
2123# with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
2124# PF1--PF4 are used as F1--F4.
2125#
2126vt220-old|vt200-old|DEC VT220 in vt100 emulation mode:\
2127	:am:bs:mi:pt:xn:xo:\
2128	:co#80:li#24:vt#3:\
2129	:@7=\E[4~:RA=\E[?7l:SA=\E[?7h:\
2130	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2131	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cd=50\E[J:ce=3\E[K:\
2132	:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2133	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
2134	:if=/usr/share/tabset/vt100:im=\E[4h:\
2135	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2136	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
2137	:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
2138	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=2\E[5m:\
2139	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=\E[C:nl=^J:rc=\E8:\
2140	:rf=/usr/share/tabset/vt100:\
2141	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[27m:\
2142	:sf=20\ED:so=\E[7m:sr=14\EM:ta=^I:ue=\E[24m:up=\E[A:\
2143	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
2144
2145# A much better description of the VT200/220; used to be vt220-8
2146# changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
2147# designation to accommodate bug in pcvt -TD
2148# (sgr removed to fit entry within 1023 bytes)
2149# (acsc removed to fit entry within 1023 bytes)
2150vt220|vt200|dec vt220:\
2151	:5i:am:bs:mi:ms:xn:xo:\
2152	:co#80:it#8:li#24:vt#3:\
2153	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
2154	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
2155	:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
2156	:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
2157	:SA=\E[?7h:UP=\E[%dA:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:\
2158	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
2159	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2160	:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
2161	:if=/usr/share/tabset/vt100:im=\E[4h:\
2162	:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
2163	:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
2164	:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
2165	:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:\
2166	:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:\
2167	:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:sc=\E7:\
2168	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
2169	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:
2170vt220-w|vt200-w|DEC vt220 in wide mode:\
2171	:co#132:\
2172	:r3=\E[?3h:tc=vt220:
2173# (sgr removed to fit entry within 1023 bytes)
2174# (acsc removed to fit entry within 1023 bytes)
2175# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2176vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode:\
2177	:am:bs:mi:ms:xn:xo:\
2178	:co#80:it#8:li#24:vt#3:\
2179	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
2180	:LE=\233%dD:RI=\233%dC:UP=\233%dA:ae=\E(B:al=\233L:\
2181	:as=\E(0:bl=^G:cd=\233J:ce=\233K:cl=\233H\233J:\
2182	:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:ct=\2333g:\
2183	:dc=\233P:dl=\233M:do=^J:ec=\233%dX:ei=\2334l:ho=\233H:\
2184	:if=/usr/share/tabset/vt100:im=\2334h:\
2185	:is=\233?7h\233>\233?1h\E F\233?4l:k1=\EOP:k2=\EOQ:\
2186	:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:k8=\23319~:\
2187	:k9=\23320~:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:\
2188	:kh=\233H:kl=\233D:kr=\233C:ku=\233A:le=^H:mb=\2335m:\
2189	:md=\2331m:me=2\2330m:mr=\2337m:nd=\233C:nw=\EE:rc=\E8:\
2190	:sc=\E7:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
2191	:ue=\23324m:up=\233A:us=\2334m:vb=\233?5h\233?5l:
2192
2193# vt220d:
2194# This vt220 description regards F6--F10 as the second block of function keys
2195# at the top of the keyboard.  This mapping follows the description given
2196# in the VT220 Programmer Reference Manual and agrees with the labeling
2197# on some terminals that emulate the vt220.  There is no support for an F5.
2198# See vt220 for an alternate mapping.
2199#
2200vt220d|DEC VT220 in vt100 mode with DEC function key labeling:\
2201	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2202	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:k5@:\
2203	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2204	:tc=vt220-old:
2205
2206vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins:\
2207	:am@:\
2208	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
2209
2210# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
2211# (not an official DEC entry!)
2212# The problem with real vt220 terminals is they don't send escapes when in
2213# in vt220 mode.  This can be gotten around two ways.  1> don't send
2214# escapes or 2> put the vt220 into vt100 mode and use all the nifty
2215# features of vt100 advanced video which it then has.
2216#
2217# This entry takes the view of putting a vt220 into vt100 mode so
2218# you can use the escape key in emacs and everything else which needs it.
2219#
2220# You probably don't want to use this on a VMS machine since VMS will think
2221# it has a vt220 and will get fouled up coming out of emacs
2222#
2223# From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
2224# (Added vt100 :rc:,:sc: to quiet a tic warning -- esr)
2225vt200-js|vt220-js|dec vt200 series with jump scroll:\
2226	:am:\
2227	:co#80:\
2228	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
2229	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:\
2230	:ei=\E[4l:ho=\E[H:im=\E[4h:\
2231	:is=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
2232	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
2233	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
2234	:nd=\E[C:nw=^M\ED:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2235	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=5\E[27m:\
2236	:sf=\ED:so=5\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
2237
2238# This was DEC's vt320.  Use the purpose-built one below instead
2239#vt320|DEC VT320 in vt100 emulation mode,
2240#	use=vt220,
2241
2242# Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
2243#
2244vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode:\
2245	:am@:\
2246	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:tc=vt220:
2247
2248# These entries are not DEC's official ones, they were purpose-built for the
2249# VT320.  Here are the designer's notes:
2250# <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to
2251# 'Erase to End of Field'... since nothing seems to use 'end' anyways...
2252# khome is Home on a PC kbd.  Actually 'FIND' on a VT.
2253# Things that use <knxt> usually use tab anyways... and things that don't use
2254# tab usually use <knxt> instead...
2255# kprv is same as tab - Backtab is useless...
2256# I left out :sa: because of its RIDICULOUS complexity,
2257# and the resulting fact that it causes the termcap translation of the entry
2258# to SMASH the 1k-barrier...
2259# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2260# (vt320: uncommented :fs: --esr)
2261# (sgr removed to fit entry within 1023 bytes)
2262# (acsc removed to fit entry within 1023 bytes)
2263# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2264vt320|vt300|dec vt320 7 bit terminal:\
2265	:am:es:hs:mi:ms:xn:\
2266	:co#80:li#24:ws#80:\
2267	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2268	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:\
2269	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
2270	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
2271	:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
2272	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2273	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
2274	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
2275	:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
2276	:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:\
2277	:rc=\E8:\
2278	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2279	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2280	:ts=\E[1$}\E[H\E[K:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
2281	:vi=\E[?25l:tc=vt220+keypad:
2282vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy:\
2283	:am@:\
2284	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
2285	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
2286	:tc=vt320:
2287# We have to init 132-col mode, not 80-col mode.
2288vt320-w|vt300-w|dec vt320 wide 7 bit terminal:\
2289	:co#132:ws#132:\
2290	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2291	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2292	:tc=vt320:
2293vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am:\
2294	:am@:\
2295	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
2296	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;24r\E[24;1H:\
2297	:tc=vt320-w:
2298
2299# VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
2300#   which are pretty much a superset of the VT320.  They have the
2301#   host writable status line, yet another different DRCS matrix size,
2302#   and such, but they add the DEC Technical character set, Multiple text
2303#   pages, selectable length pages, and the like.  The difference between
2304#   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
2305#   monitor, the former has 4 planes and a color monitor.  These terminals
2306#   support VT131 and ANSI block mode, but as with much of these things,
2307#   termcap/terminfo doesn't deal with these features.
2308#
2309# Note that this entry is are set up in what was the standard way for GNU
2310# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2311# keys were switched into application mode at the same time the numeric pad
2312# is switched into application mode.  This changes the definitions of the
2313# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
2314# your termcap or terminfo entry,
2315#
2316# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2317# (vt340: string capability "sb=\E[M" corrected to "sr";
2318# also, added <rmam>/<smam> based on the init string -- esr)
2319vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page:\
2320	:am:es:hs:mi:ms:xn:xo:\
2321	:co#80:it#8:li#24:vt#3:\
2322	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2323	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
2324	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2325	:ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
2326	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
2327	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
2328	:fs=\E[$}:ho=\E[H:im=\E[4h:\
2329	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2330	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2331	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
2332	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
2333	:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:\
2334	:nw=^M\ED:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt300:\
2335	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2336	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
2337	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
2338
2339# DEC doesn't supply a vt400 description, so we add Daniel Glasser's
2340# (originally written with vt420 as its primary name, and usable for it).
2341#
2342# VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple
2343#    text pages and long text pages with selectable length of the vt340, along
2344#    with left and right margins, rectangular area text copy, fill, and erase
2345#    operations, selected region character attribute change operations,
2346#    page memory and rectangle checksums, insert/delete column, reception
2347#    macros, and other features too numerous to remember right now.  TERMCAP
2348#    can only take advantage of a few of these added features.
2349#
2350# Note that this entry is are set up in what was the standard way for GNU
2351# Emacs v18 terminal modes to deal with the cursor keys in that the arrow
2352# keys were switched into application mode at the same time the numeric pad
2353# is switched into application mode.  This changes the definitions of the
2354# arrow keys.  Emacs v19 is smarter and mines its keys directly out of
2355# your termcap entry,
2356#
2357# From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
2358# (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
2359# also, added <rmam>/<smam> based on the init string -- esr)
2360vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap:\
2361	:am:es:hs:mi:ms:xn:xo:\
2362	:co#80:it#8:li#24:vt#3:\
2363	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2364	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
2365	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2366	:ae=\E(B:al=\E[L:as=\E(0:cd=10\E[J:ce=4\E[K:cl=10\E[H\E[J:\
2367	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
2368	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
2369	:fs=\E[$}:ho=\E[H:ic=\E[@:im=\E[4h:\
2370	:is=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
2371	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
2372	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
2373	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
2374	:le=^H:mb=\E[5m:md=\E[1m:me=2\E[0m:mr=\E[7m:nd=\E[C:\
2375	:nw=^M\ED:r1=\E<\E[?3l\E[!p\E[?7h:rc=\E8:\
2376	:rf=/usr/share/tabset/vt300:sc=\E7:se=\E[27m:sf=\ED:\
2377	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[2$~\E[1$}\E[1;%dH:\
2378	:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
2379	:ve=\E[?25h:vi=\E[?25l:
2380
2381# (vt420: I removed :k0:, it collided with <kf10>.  I also restored
2382# a missing :sc: -- esr)
2383vt420|DEC VT420:\
2384	:am:mi:xn:xo:\
2385	:co#80:li#24:vt#3:\
2386	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
2387	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2388	:SA=\E[?7h:\
2389	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2390	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cd=50\E[J:ce=3\E[K:\
2391	:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2392	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
2393	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
2394	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
2395	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
2396	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2397	:kb=^H:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:\
2398	:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=\E[C:\
2399	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
2400	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
2401	:up=\E[A:us=\E[4m:
2402
2403# DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
2404# takes two parameters, the key and the string.  Translating the key is
2405# straightforward (keys 1-5 are not defined on real terminals, though some
2406# emulators define these):
2407#
2408#               if (key < 16) then  value = key;
2409#               else if (key < 21) then value = key + 1;
2410#               else if (key < 25) then value = key + 2;
2411#               else if (key < 27) then value = key + 3;
2412#               else if (key < 30) then value = key + 4;
2413#               else value = key + 5;
2414#
2415# The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT".
2416# There's no provision in terminfo for emitting a string in this format, so the
2417# application has to know it.
2418#
2419vt420pc|DEC VT420 w/PC keyboard:\
2420	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[11;2~:F4=\E[12;2~:\
2421	:F5=\E[13;2~:F6=\E[14;2~:F7=\E[15;2~:F8=\E[17;2~:\
2422	:F9=\E[18;2~:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:\
2423	:FD=\E[23;2~:FE=\E[24;2~:FF=\E[23~:FG=\E[24~:FH=\E[25~:\
2424	:FI=\E[26~:FJ=\E[28~:FK=\E[29~:FL=\E[31~:FM=\E[32~:\
2425	:FN=\E[33~:FO=\E[34~:FP=\E[35~:FQ=\E[36~:FR=\E[23;2~:\
2426	:FS=\E[24;2~:FT=\E[25;2~:FU=\E[26;2~:FV=\E[28;2~:\
2427	:FW=\E[29;2~:FX=\E[31;2~:FY=\E[32;2~:FZ=\E[33;2~:\
2428	:Fa=\E[34;2~:Fb=\E[35;2~:Fc=\E[36;2~:\
2429	:S6=USR_TERM\072vt420pcdos\072:k1=\E[11~:k2=\E[12~:\
2430	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
2431	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\177:kh=\E[H:tc=vt420:
2432
2433vt420pcdos|DEC VT420 w/PC for DOS Merge:\
2434	:li#25:\
2435	:S4=\E[?1;2r\E[34h:\
2436	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:S6@:\
2437	:me=\E[m:sa@:tc=vt420pc:
2438
2439vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys:\
2440	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2441	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2442	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2443	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2444	:kD=\177:kh=\E[H:l1=\EOP:l2=\EOQ:l3=\EOR:l4=\EOS:tc=vt420:
2445
2446vt510|DEC VT510:\
2447	:tc=vt420:
2448vt510pc|DEC VT510 w/PC keyboard:\
2449	:tc=vt420pc:
2450vt510pcdos|DEC VT510 w/PC for DOS Merge:\
2451	:tc=vt420pcdos:
2452
2453# VT520/VT525
2454#
2455# The VT520 is a monochrome text terminal capable of managing up to
2456# four independent sessions in the terminal.  It has multiple ANSI
2457# emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
2458# and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
2459# 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
2460#
2461# Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
2462# [Alt]/[Print Screen] depending upon which keyboard and which
2463# terminal mode is being used.  If Set-Up has been disabled or
2464# assigned to an unknown key, Set-Up may be entered by pressing
2465# [F3] as the first key after power up, regardless of keyboard type.
2466# (vt520: I added <rmam>/<smam> based on the init string, also :sc: -- esr)
2467vt520|DEC VT520:\
2468	:am:mi:xn:xo:\
2469	:co#80:li#24:vt#3:\
2470	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
2471	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2472	:SA=\E[?7h:\
2473	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2474	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cd=50\E[J:ce=3\E[K:\
2475	:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2476	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
2477	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
2478	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
2479	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
2480	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2481	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=2\E[5m:\
2482	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=\E[C:\
2483	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
2484	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
2485	:up=\E[A:us=\E[4m:
2486
2487# (vt525: I added <rmam>/<smam> based on the init string;
2488# removed :se:=\E[m, :ue:=\E[m, added :sc: -- esr)
2489vt525|DEC VT525:\
2490	:am:mi:xn:xo:\
2491	:co#80:li#24:vt#3:\
2492	:*6=\E[4~:@0=\E[1~:RA=\E[?7l:\
2493	:S5=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
2494	:SA=\E[?7h:\
2495	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2496	:ae=4\E(B:al=\E[L:as=2\E(0:bl=^G:cd=50\E[J:ce=3\E[K:\
2497	:cl=50\E[H\E[2J:cm=10\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2498	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:\
2499	:i2=\E[?67h\E[64;1"p:if=/usr/share/tabset/vt300:\
2500	:im=\E[4h:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:\
2501	:k4=\EOS:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:\
2502	:k9=\E[21~:k;=\E[29~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
2503	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=2\E[5m:\
2504	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=\E[C:\
2505	:r3=\E[?67h\E[64;1"p:rc=\E8:rf=/usr/share/tabset/vt300:\
2506	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
2507	:up=\E[A:us=\E[4m:
2508
2509#### VT100 emulations
2510#
2511
2512# John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
2513# (the best Windows telnet as of September 1995) presents the name `dec-vt100'
2514# to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
2515# that this works best with a stock vt100 entry.
2516dec-vt100|EWAN telnet's vt100 emulation:\
2517	:tc=vt100:
2518
2519# From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
2520dec-vt220|DOS tnvt200 terminal emulator:\
2521	:am@:tc=vt220:
2522
2523# Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
2524# anyone who needs PC VT340 emulation. (or anything below that level, for
2525# that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
2526# RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
2527# I can send the address if requested.
2528# (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
2529# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
2530z340|zstem vt340 terminal emulator 132col 42line:\
2531	:li#42:\
2532	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
2533	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H:\
2534	:tc=vt320-w:
2535z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins):\
2536	:am@:\
2537	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
2538	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H:\
2539	:tc=z340:
2540
2541# CRT is shareware.  It implements some xterm features, including mouse.
2542crt|crt-vt220|CRT 2.3 emulating VT220:\
2543	:ms:ut:\
2544	:NC@:\
2545	:st=\EH:tc=vt100+enq:tc=vt220:tc=ecma+color:
2546
2547# PuTTY 0.55 (released 3 August 2004)
2548# http://www.chiark.greenend.org.uk/~sgtatham/putty/
2549#
2550# Comparing with 0.51, vttest is much better (only a few problems with the
2551# cursor position reports and wrapping).
2552#
2553# PuTTY 0.51 (released 14 December 2000)
2554#
2555# This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
2556# well as SCO and Atari, color palettes from Linux console).  Reading the code,
2557# it is intended to be VT102 plus selected features.  By default, it sets $TERM
2558# to xterm, which is incorrect, since several features are misimplemented:
2559#
2560#	Alt+key always sends ESC+key, so 'km' capability is removed.
2561#
2562#	Control responses, wrapping and tabs are buggy, failing a couple of
2563#	screens in vttest.
2564#
2565#	xterm mouse support is not implemented (unrelease version may).
2566#
2567# Several features such as backspace/delete are optional; this entry documents
2568# the default behavior -TD
2569
2570# (sgr removed to fit entry within 1023 bytes)
2571# (acsc removed to fit entry within 1023 bytes)
2572# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2573putty|PuTTY terminal emulator:\
2574	:am:bw:hs:mi:ms:xn:xo:\
2575	:it#8:\
2576	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K2=\E[G:\
2577	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
2578	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
2579	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
2580	:dl=\E[M:do=\ED:ds=\E]0;\007:ec=\E[%dX:ei=\E[4l:fs=^G:\
2581	:ho=\E[H:im=\E[4h:\
2582	:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>\E]R:\
2583	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2584	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
2585	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:kh=\E[1~:\
2586	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
2587	:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
2588	:rs=\E<\E["p\E[50;6"p\Ec\E[?3l\E]R\E[?1000l:sc=\E7:\
2589	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2590	:te=\E[2J\E[?47l:ti=\E[?47h:ts=\E]0;:ue=\E[24m:up=\EM:\
2591	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
2592	:tc=vt102+enq:
2593vt100-putty|Reset PuTTY to pure vt100:\
2594	:rs=\E<\E["p\Ec\E[?3l\E]R\E[40"p\E[61"p\E[50;1;2"p:\
2595	:tc=vt100:
2596# palette is hardcoded...
2597putty-256color|PuTTY 0.58 with xterm 256-colors:\
2598	:Ic@:tc=xterm+256color:tc=putty:
2599
2600# One of the keyboard selections is "VT100+".
2601# pterm (the X11 port) uses shifted F1-F10 as F11-F20
2602putty-vt100|VT100+ keyboard layout:\
2603	:F1=\EOZ:F2=\EO[:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
2604	:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k;=\EOY:tc=putty:
2605
2606# This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
2607# T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
2608# (communication program) which supports:
2609#
2610#	- Serial port connections.
2611#	- TCP/IP (telnet) connections.
2612#	- VT100 emulation, and selected VT200/300 emulation.
2613#	- TEK4010 emulation.
2614#	- File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
2615#	  Quick-VAN).
2616#	- Scripts using the "Tera Term Language".
2617#	- Japanese and Russian character sets.
2618#
2619# The program does not come with terminfo or termcap entries.  However, the
2620# emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
2621# vt52 or doublesize character support; blinking is done with color).  Besides
2622# the HPA, VPA extensions it also implements CPL and CNL.
2623#
2624# All of the function keys can be remapped.  This description shows the default
2625# mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
2626# are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
2627# is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
2628#	kfnd	Insert
2629#	kslt	Delete
2630#	kich1	Home
2631#	kdch1	PageUp
2632#	kpp	End
2633#	knp	PageDown
2634#
2635# ANSI colors are implemented, but cannot be combined with video attributes
2636# except for reverse.
2637#
2638# No fonts are supplied with the program, so the acsc string is chosen to
2639# correspond with the default Microsoft terminal font.
2640#
2641# Tera Term recognizes some xterm sequences, including those for setting and
2642# retrieving the window title, and for setting the window size (i.e., using
2643# "resize -s"), though it does not pass SIGWINCH to the application if the
2644# user resizes the window with the mouse.
2645teraterm2.3|Tera Term Pro:\
2646	:km:xo@:\
2647	:NC#43:vt@:\
2648	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
2649	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
2650	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
2651	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
2652	:al=\E[L:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
2653	:cm=\E[%i%d;%dH:cv=\E[%i%dd:dc=\E[P:dl=\E[M:ec=\E[%dX:\
2654	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2655	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2656	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:mb=\E[5m:md=\E[1m:\
2657	:me=\E[0m\017:mr=\E[7m:nd=\E[C:op=\E[100m:se=\E[27m:\
2658	:so=\E[7m:sr=\EM:ue=\E[24m:up=\E[A:us=\E[4m:\
2659	:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=vt100+enq:\
2660	:tc=klone+color:tc=vt100:
2661
2662# Version 4.59 has regular vt100 line-drawing (so it is no longer necessary
2663# to choose a Windows OEM font).
2664#
2665# Testing with tack:
2666#	- it does not have xenl (suppress that)
2667#	- underline seems to work with color (modify ncv).
2668# Testing with vttest:
2669#	- wrapping differs from vt100 (menu 1).
2670#	- it recognizes xterm's X10 and normal mouse tracking, but none of the
2671#	  other flavors.
2672#	- it recognizes the dtterm window controls for reporting size in
2673#	  characters and pixels.
2674#	- it passes SIGWINCH.
2675teraterm4.59|Tera Term Pro:\
2676	:ut:xn@:\
2677	:NC#41:\
2678	:Km=\E[M:\
2679	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2680	:tc=teraterm2.3:
2681
2682teraterm|Tera Term:\
2683	:tc=teraterm4.59:
2684
2685# Tested with WinNT 4.0, the telnet application assumes the screensize is
2686# 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
2687#
2688# Other notes:
2689# a) Fails tack's cup (cursor-addressing) test, though cup works well enough
2690#    for casual (occasional) use.  Also fails several of the vttest screens,
2691#    but that is not unusual for vt100 "emulators".
2692# b) Does not implement vt100 keypad
2693# c) Recognizes a subset of vt52 controls.
2694ms-vt100|MS telnet imitating dec vt100:\
2695	:li#25:\
2696	:@8@:K1@:K2@:K3@:K4@:K5@:\
2697	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
2698	:ct@:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:tc=vt102+enq:\
2699	:tc=vt100:
2700
2701# Tested with Windows 2000, the telnet application runs in a console window,
2702# also using 'Terminal' font.
2703#
2704# Other notes:
2705# a) This version has no function keys or numeric keypad.  Unlike the older
2706#    version, the numeric keypad is entirely ignored.
2707# b) The program sets $TERM to "ansi", which of course is inaccurate.
2708ms-vt100-color|vtnt|windows 2000 ansi (sic):\
2709	:ut:\
2710	:DC=\E[%dP:IC=\E[%d@:ei=:im=:tc=ecma+color:tc=ms-vt100:
2711
2712# Based on comments from Federico Bianchi:
2713#
2714#	vt100+ is basically a VT102-noSGR with ANSI.SYS colors and a different
2715#	scheme for PF keys.
2716#
2717# and PuTTY wishlist:
2718#
2719#	The modifiers are represented as the codes listed above, prefixed to
2720#	the normal sequences.  If the modifier is pressed alone, its sequence
2721#	is transmitted twice in succession.  If multiple modifiers apply,
2722#	they're transmitted in the order shift, control, alt.
2723#
2724#	Shift	\E^S
2725#	Alt	\E^A,
2726#	Ctrl	\E^C,
2727ms-vt100+|vt100+|windows XP vt100+ (sic):\
2728	:@7=\Ek:F1=\E!:F2=\E@:F3=\E\023\E1:F4=\E\023\E2:\
2729	:F5=\E\023\E3:F6=\E\023\E4:F7=\E\023\E5:F8=\E\023\E6:\
2730	:F9=\E\023\E7:FA=\E\023\E8:FB=\E\023\E9:FC=\E\023\E0:\
2731	:FD=\E\023\E!:FE=\E\023\E@:FF=\E\003\E1:FG=\E\003\E2:\
2732	:FH=\E\003\E3:FI=\E\003\E4:FJ=\E\003\E5:FK=\E\003\E6:\
2733	:FL=\E\003\E7:FM=\E\003\E8:FN=\E\003\E9:FO=\E\003\E0:\
2734	:FP=\E\003\E!:FQ=\E\003\E@:FR=\E\001\E1:FS=\E\001\E2:\
2735	:FT=\E\001\E3:FU=\E\001\E4:FV=\E\001\E5:FW=\E\001\E6:\
2736	:FX=\E\001\E7:FY=\E\001\E8:FZ=\E\001\E9:Fa=\E\001\E0:\
2737	:Fb=\E\001\E!:Fc=\E\001\E@:k1=\E1:k2=\E2:k3=\E3:k4=\E4:\
2738	:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:k;=\E0:kD=\E-:kI=\E+:\
2739	:kN=\E/:kP=\E?:kh=\Eh:tc=ms-vt100-color:
2740
2741ms-vt-utf8|vt-utf8|UTF-8 flavor of vt100+:\
2742	:tc=ms-vt100+:
2743
2744# expect-5.44.1.15/example/tkterm
2745# a minimal subset of a vt100 (compare with "news-unk).
2746#
2747# The missing "=" in smkx is not a typo (here), but an error in tkterm.
2748tt|tkterm|Don Libes' tk text widget terminal emulator:\
2749	:cl=\E[H\E[J:cm=\E[%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:\
2750	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
2751	:ke=\E[?1l\E>:ks=\E[?1h\E:le=^H:nd=\E[C:se=\E[m:sf=^J:\
2752	:so=\E[7m:up=\E[A:
2753
2754######## X TERMINAL EMULATORS
2755#### XTERM
2756#
2757# You can add the following line to your .Xdefaults to change the terminal type
2758# set by the xterms you start up to my-xterm:
2759#
2760# *termName:  my-xterm
2761#
2762# System administrators can change the default entry for xterm instances
2763# by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
2764# case, xterm will detect and reject an invalid terminal type, falling back
2765# to the default of xterm.
2766#
2767
2768# X10/6.6	11/7/86, minus alternate screen, plus (csr)
2769# (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
2770# removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
2771# as these seem not to work -- esr)
2772x10term|vs100-x10|xterm terminal emulator (X10 window system):\
2773	:am:bs:km:mi:ms:xn:xo:\
2774	:co#80:it#8:li#65:\
2775	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
2776	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
2777	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
2778	:im=\E[4h:is=\E\E[m\E[?7h\E[?1;4l:k1=\EOP:k2=\EOQ:\
2779	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
2780	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:\
2781	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
2782	:ue=\E[m:up=\E[A:us=\E[4m:
2783# Compatible with the R5 xterm
2784# (from the XFree86 3.2 distribution, <blink=@> removed)
2785# added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
2786# corrected typos in rs2 string - TD
2787# added u6-u9 -TD
2788xterm-r5|xterm R5 version:\
2789	:am:bs:km:ms:xn:\
2790	:co#80:it#8:li#24:\
2791	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
2792	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
2793	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
2794	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
2795	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:\
2796	:im=\E[4h:k0=\EOq:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
2797	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
2798	:k;=\E[21~:kA=\E[30~:kD=\E[3~:kE=\E[8~:kI=\E[2~:kL=\E[31~:\
2799	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:\
2800	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
2801	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
2802	:rs=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H:\
2803	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
2804	:up=\E[A:us=\E[4m:tc=vt100+enq:
2805# Compatible with the R6 xterm
2806# (from XFree86 3.2 distribution, <acsc> and :it: added, <blink@> removed)
2807# added khome/kend, hts based on the R6 xterm code - TD
2808# (khome/kend do not actually work in X11R5 or X11R6, but many people use this
2809# for compatibility with other emulators).
2810xterm-r6|xterm-old|xterm X11R6 version:\
2811	:am:bs:km:mi:ms:xn:\
2812	:co#80:it#8:li#24:\
2813	:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
2814	:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
2815	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
2816	:FA=\E[34~:Km=\E[M:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
2817	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
2818	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
2819	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
2820	:dl=\E[M:do=^J:eA=\E)0:ei=\E[4l:ho=\E[H:im=\E[4h:\
2821	:is=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:\
2822	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2823	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
2824	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
2825	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
2826	:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:rc=\E8:\
2827	:rs=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8:sc=\E7:\
2828	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
2829	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
2830	:us=\E[4m:tc=vt100+enq:
2831# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
2832# The name has been changed and some aliases have been removed.
2833# (sgr removed to fit entry within 1023 bytes)
2834# (acsc removed to fit entry within 1023 bytes)
2835# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
2836xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System):\
2837	:am:bs:km:mi:ms:xn:\
2838	:co#80:it#8:li#24:\
2839	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
2840	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
2841	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
2842	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
2843	:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
2844	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:\
2845	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
2846	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
2847	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\EOH:\
2848	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:\
2849	:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
2850	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:\
2851	:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:us=\E[4m:\
2852	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=vt100+enq:\
2853	:tc=ecma+color:tc=vt220+keypad:
2854
2855# This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
2856# codes for F1-F4 except while in VT220 mode.
2857xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System):\
2858	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:tc=xterm-xf86-v32:
2859
2860# This version was released in XFree86 3.3.3 (November 1998).
2861# Besides providing printer support, it exploits a new feature that allows
2862# xterm to use terminfo-based descriptions with the titeInhibit resource.
2863# -- the distribution contained incorrect khome/kend values -TD
2864xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System):\
2865	:5i:\
2866	:*6@:@0@:ic@:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:mb=\E[5m:\
2867	:mk=\E[8m:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
2868	:r2=\E[!p\E[?3;4l\E[4l\E>:te=\E[?1047l\E[?1048l:\
2869	:ti=\E[?1048h\E[?1047h:tc=xterm-xf86-v33:
2870
2871# This version was released in XFree86 4.0.
2872xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System):\
2873	:NP:\
2874	:#2=\EO5H:#3=\E[2;5~:#4=\EO5D:%c=\E[6;5~:%e=\E[5;5~:\
2875	:%i=\EO5C:*4=\E[3;5~:*7=\EO5F:@7=\EOF:F3=\EO2P:F4=\EO2Q:\
2876	:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
2877	:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:\
2878	:FE=\E[24;2~:FF=\EO5P:FG=\EO5Q:FH=\EO5R:FI=\EO5S:\
2879	:FJ=\E[15;5~:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:\
2880	:FN=\E[20;5~:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:\
2881	:FR=\EO6P:FS=\EO6Q:FT=\EO6R:FU=\EO6S:FV=\E[15;6~:\
2882	:FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
2883	:Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:K1@:K2=\EOE:K3@:K4@:\
2884	:K5@:kB=\E[Z:kD=\E[3~:kh=\EOH:te=\E[?1049l:ti=\E[?1049h:\
2885	:tc=xterm-xf86-v333:
2886
2887# This version was released in XFree86 4.3.
2888xterm-xf86-v43|xterm terminal emulator (XFree86 4.3 Window System):\
2889	:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:\
2890	:%i=\E[1;2C:*4=\E[3;2~:*7=\E[1;2F:@1@:tc=xterm-xf86-v40:
2891
2892# This version was released in XFree86 4.4.
2893xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System):\
2894	:SF=\E[%dS:SR=\E[%dT:ve=\E[?12l\E[?25h:vs=\E[?12;25h:\
2895	:tc=xterm-xf86-v43:
2896
2897xterm-xfree86|xterm terminal emulator (XFree86):\
2898	:tc=xterm-xf86-v44:
2899
2900# This version reflects the current xterm features.
2901xterm-new|modern xterm terminal emulator:\
2902	:NP:\
2903	:@8=\EOM:K2=\EOE:SF=\E[%dS:SR=\E[%dT:kB=\E[Z:\
2904	:tc=xterm+pcfkeys:tc=xterm+tmux:tc=xterm-basic:
2905#
2906# This fragment describes as much of XFree86 xterm's "pc-style" function
2907# keys as will fit into terminfo's 60 function keys.
2908# From ctlseqs.ms:
2909#    Code     Modifiers
2910#  ---------------------------------
2911#     2       Shift
2912#     3       Alt
2913#     4       Shift + Alt
2914#     5       Control
2915#     6       Shift + Control
2916#     7       Alt + Control
2917#     8       Shift + Alt + Control
2918#  ---------------------------------
2919# The meta key may also be used as a modifier in this scheme, adding another
2920# bit to the parameter.
2921xterm+pcfkeys|fragment for PC-style fkeys:\
2922	:tc=xterm+app:tc=xterm+pcf2:tc=xterm+pcc2:tc=xterm+pce2:
2923#
2924xterm+noapp|fragment with cursor keys in normal mode:\
2925	:@7=\E[F:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
2926
2927xterm+app|fragment with cursor keys in application mode:\
2928	:@7=\EOF:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:
2929#
2930# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
2931# and revised in patch #167 (2002/8/24).  Some other terminal emulators copied
2932# the earlier scheme, as noted in the "use=" clauses in this file.
2933#
2934# The original assignments from patch #94 for cursor-keys had some technical
2935# issues:
2936#
2937#	A parameter for a function-key to represent a modifier is just more
2938#	bits.  But for a cursor-key it may change the behavior of the
2939#	application.  For instance, emacs decodes the first parameter of a
2940#	cursor-key as a repeat count.
2941#
2942#	A parameterized string should (really) not begin with SS3 (\EO).
2943#	Rather, CSI (\E[) should be used.
2944#
2945# For these reasons, the original assignments were deprecated.  For
2946# compatibility reasons, they are still available as a setting of xterm's
2947# modifyCursorKeys resource.  These fragments list the modified cursor-keys
2948# that might apply to xterm+pcfkeys with different values of that resource.
2949xterm+pcc3|fragment with modifyCursorKeys=3:\
2950	:#4=\E[>1;2D:%i=\E[>1;2C:kF=\E[>1;2B:kR=\E[>1;2A:
2951
2952xterm+pcc2|fragment with modifyCursorKeys=2:\
2953	:#4=\E[1;2D:%i=\E[1;2C:kF=\E[1;2B:kR=\E[1;2A:
2954
2955xterm+pcc1|fragment with modifyCursorKeys=1:\
2956	:#4=\E[2D:%i=\E[2C:kF=\E[2B:kR=\E[2A:
2957
2958xterm+pcc0|fragment with modifyCursorKeys=0:\
2959	:#4=\EO2D:%i=\EO2C:kF=\EO2B:kR=\EO2A:
2960
2961#
2962# Here are corresponding fragments from xterm patch #216:
2963#
2964xterm+pcf0|fragment with modifyFunctionKeys=0:\
2965	:F1=\E[23~:F2=\E[24~:F3=\EO2P:F4=\EO2Q:F5=\EO2R:F6=\EO2S:\
2966	:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:\
2967	:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:FE=\E[24;2~:\
2968	:FF=\EO5P:FG=\EO5Q:FH=\EO5R:FI=\EO5S:FJ=\E[15;5~:\
2969	:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:FN=\E[20;5~:\
2970	:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:FR=\EO6P:FS=\EO6Q:\
2971	:FT=\EO6R:FU=\EO6S:FV=\E[15;6~:FW=\E[17;6~:FX=\E[18;6~:\
2972	:FY=\E[19;6~:FZ=\E[20;6~:Fa=\E[21;6~:Fb=\E[23;6~:\
2973	:Fc=\E[24;6~:Fd=\EO3P:Fe=\EO3Q:Ff=\EO3R:Fg=\EO3S:\
2974	:Fh=\E[15;3~:Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:\
2975	:Fl=\E[20;3~:Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:\
2976	:Fp=\EO4P:Fq=\EO4Q:Fr=\EO4R:k1=\EOP:k2=\EOQ:k3=\EOR:\
2977	:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
2978	:k9=\E[20~:k;=\E[21~:
2979#
2980xterm+pcf2|fragment with modifyFunctionKeys=2:\
2981	:F1=\E[23~:F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:\
2982	:F6=\E[1;2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
2983	:FA=\E[19;2~:FB=\E[20;2~:FC=\E[21;2~:FD=\E[23;2~:\
2984	:FE=\E[24;2~:FF=\E[1;5P:FG=\E[1;5Q:FH=\E[1;5R:FI=\E[1;5S:\
2985	:FJ=\E[15;5~:FK=\E[17;5~:FL=\E[18;5~:FM=\E[19;5~:\
2986	:FN=\E[20;5~:FO=\E[21;5~:FP=\E[23;5~:FQ=\E[24;5~:\
2987	:FR=\E[1;6P:FS=\E[1;6Q:FT=\E[1;6R:FU=\E[1;6S:FV=\E[15;6~:\
2988	:FW=\E[17;6~:FX=\E[18;6~:FY=\E[19;6~:FZ=\E[20;6~:\
2989	:Fa=\E[21;6~:Fb=\E[23;6~:Fc=\E[24;6~:Fd=\E[1;3P:\
2990	:Fe=\E[1;3Q:Ff=\E[1;3R:Fg=\E[1;3S:Fh=\E[15;3~:\
2991	:Fi=\E[17;3~:Fj=\E[18;3~:Fk=\E[19;3~:Fl=\E[20;3~:\
2992	:Fm=\E[21;3~:Fn=\E[23;3~:Fo=\E[24;3~:Fp=\E[1;4P:\
2993	:Fq=\E[1;4Q:Fr=\E[1;4R:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
2994	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
2995	:k;=\E[21~:
2996#
2997# Chunks from xterm #230:
2998xterm+pce2|fragment with modifyCursorKeys=2:\
2999	:#2=\E[1;2H:#3=\E[2;2~:%c=\E[6;2~:%e=\E[5;2~:*4=\E[3;2~:\
3000	:*7=\E[1;2F:kI=\E[2~:kN=\E[6~:kP=\E[5~:tc=xterm+edit:
3001
3002xterm+edit|fragment for 6-key editing-keypad:\
3003	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:tc=xterm+pc+edit:
3004
3005xterm+pc+edit|fragment for pc-style editing keypad:\
3006	:@7=\E[4~:kh=\E[1~:
3007
3008xterm+vt+edit|fragment for vt220-style editing keypad:\
3009	:*6=\E[4~:@0=\E[1~:
3010
3011#
3012# Those chunks use the new-style (the xterm oldFunctionKeys resource is false).
3013# Alternatively, the same scheme with old-style function keys as in xterm-r6
3014# is shown here (because that is used in mrxvt and mlterm):
3015xterm+r6f2|xterm with oldFunctionKeys and modifyFunctionKeys=2:\
3016	:F3=\E[11;2~:F4=\E[12;2~:F5=\E[13;2~:F6=\E[14;2~:\
3017	:FF=\E[11;5~:FG=\E[12;5~:FH=\E[13;5~:FI=\E[14;5~:\
3018	:FR=\E[11;6~:FS=\E[12;6~:FT=\E[13;6~:FU=\E[14;6~:\
3019	:Fd=\E[11;3~:Fe=\E[12;3~:Ff=\E[13;3~:Fg=\E[14;3~:\
3020	:Fp=\E[11;4~:Fq=\E[12;4~:Fr=\E[13;4~:k1=\E[11~:k2=\E[12~:\
3021	:k3=\E[13~:k4=\E[14~:tc=xterm+pcf2:
3022#
3023# This chunk is used for building the VT220/Sun/PC keyboard variants.
3024xterm-basic|modern xterm terminal emulator - common:\
3025	:5i:am:bs:km:mi:ms:ut:xn:AX:\
3026	:Co#8:co#80:it#8:li#24:pa#64:\
3027	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
3028	:DO=\E[%dB:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RA=\E[?7l:\
3029	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
3030	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3031	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
3032	:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
3033	:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
3034	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
3035	:is=\E[!p\E[?3;4l\E[4l\E>:kb=^H:ke=\E[?1l\E>:\
3036	:ks=\E[?1h\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:\
3037	:ml=\El:mm=\E[?1034h:mo=\E[?1034l:mr=\E[7m:mu=\Em:nd=\E[C:\
3038	:op=\E[39;49m:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\Ec:\
3039	:r2=\E[!p\E[?3;4l\E[4l\E>:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
3040	:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1049l:ti=\E[?1049h:\
3041	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
3042	:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:\
3043	:tc=vt100+enq:
3044
3045# From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
3046# In retrospect, something like xterm-r6 was intended here -TD
3047xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1:\
3048	:se=\E[m:ue=\E[m:tc=xterm-xf86-v33:
3049
3050# 16-colors is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
3051# If configured to support 88- or 256-colors (which is fairly common in 2009),
3052# xterm also recognizes the control sequences for initc -TD
3053xterm-16color|xterm with 16 colors like aixterm:\
3054	:cc:tc=ibm+16color:tc=xterm-new:
3055
3056# 256-colors is a compile-time feature of XFree86 xterm beginning with
3057# patch #111 (1999/7/10) -TD
3058xterm+256color|xterm 256-color feature:\
3059	:cc:\
3060	:Co#256:pa#32767:\
3061	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:Sb@:Sf@:
3062
3063# 88-colors is a compile-time feature of XFree86 xterm beginning with
3064# patch #115 (1999/9/18) -TD
3065#
3066# Note that the escape sequences used are the same as for 256-colors - xterm
3067# has a different table of default color resource values.  If built for
3068# 256-colors, it can still handle an 88-color palette by using the initc
3069# capability.
3070#
3071# At this time (2007/7/14), except for rxvt 2.7.x, none of the other terminals
3072# which support the xterm+256color feature support the associated initc
3073# capability.  So it is cancelled in the entries which use this and/or the
3074# xterm+256color block.
3075#
3076# The default color palette for the 256- and 88-colors are different.  A
3077# given executable will have one palette (perhaps compiled-in).  If the program
3078# supports xterm's control sequence, it can be programmed using initc.
3079xterm+88color|xterm 88-color feature:\
3080	:Co#88:pa#7744:tc=xterm+256color:
3081
3082# These variants of XFree86 3.9.16 xterm are built as a configure option.
3083xterm-256color|xterm with 256 colors:\
3084	:tc=xterm+256color:tc=xterm-new:
3085xterm-88color|xterm with 88 colors:\
3086	:tc=xterm+88color:tc=xterm-256color:
3087
3088# These two are used to demonstrate the any-event mouse support, i.e., by
3089# using an extended name "XM" which tells ncurses to put the terminal into
3090# a special mode when initializing the xterm mouse.
3091xterm-1002|testing xterm-mouse:\
3092	:XM=\E[?1002%?%p1%{1}%=%th%el%;:tc=xterm-new:
3093xterm-1003|testing xterm-mouse:\
3094	:XM=\E[?1003%?%p1%{1}%=%th%el%;:tc=xterm-new:
3095
3096# This chunk is based on suggestions by Ailin Nemui and Nicholas Marriott, who
3097# asked for some of xterm's advanced features to be added to its terminfo
3098# entry.  It defines extended capabilities not found in standard terminfo or
3099# termcap.  These are useful in tmux, for instance, hence the name.
3100#
3101# One caveat in adding extended capabilities in ncurses is that if the names
3102# are longer than two characters, then they will not be visible through the
3103# termcap interface.
3104#
3105# Ms modifies the selection/clipboard.  Its parameters are
3106#	p1 = the storage unit (clipboard, selection or cut buffer)
3107#	p2 = the base64-encoded clipboard content.
3108#
3109# Ss is used to set the cursor style as described by the DECSCUSR
3110#	function to a block or underline.
3111# Se resets the cursor style to the terminal power-on default.
3112#
3113# Cs and Ce set and reset the cursor colour.
3114xterm+tmux|advanced xterm features used in tmux:\
3115	:Cr=\E]112\007:Cs=\E]12;%p1%s\007:\
3116	:Ms=\E]52;%p1%s;%p2%s\007:Se=\E[2 q:Ss=\E[%p1%d q:
3117
3118# This is another variant, for XFree86 4.0 xterm (T.Dickey)
3119# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
3120# To use it, your decTerminalID resource must be set to 200 or above.
3121#
3122#	HTS	\E H	\210
3123#	RI	\E M	\215
3124#	SS3	\E O	\217
3125#	CSI	\E [	\233
3126#
3127# (sgr removed to fit entry within 1023 bytes)
3128# (acsc removed to fit entry within 1023 bytes)
3129# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
3130xterm-8bit|xterm terminal emulator 8-bit controls (X Window System):\
3131	:am:bs:km:mi:ms:xn:\
3132	:co#80:it#8:li#24:\
3133	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
3134	:K1=\217w:K2=\217y:K3=\217u:K4=\217q:K5=\217s:LE=\233%dD:\
3135	:RI=\233%dC:UP=\233%dA:ae=\E(B:al=\233L:as=\E(0:bl=^G:\
3136	:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\2332J:\
3137	:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:ct=\2333g:\
3138	:dc=\233P:dl=\233M:do=^J:ec=\233%dX:ei=\2334l:ho=\233H:\
3139	:im=\2334h:\
3140	:is=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8:\
3141	:k1=\23311~:k2=\23312~:k3=\23313~:k4=\23314~:k5=\23315~:\
3142	:k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:kD=\2333~:\
3143	:kI=\2332~:kN=\2336~:kP=\2335~:kb=^H:kd=\217B:\
3144	:ke=\233?1l\E>:kh=\2331~:kl=\217D:kr=\217C:ks=\233?1h\E=:\
3145	:ku=\217A:le=^H:mb=\2335m:md=\2331m:me=\2330m:mr=\2337m:\
3146	:nd=\233C:rc=\E8:sc=\E7:se=\23327m:sf=^J:so=\2337m:sr=\215:\
3147	:st=\210:ta=^I:te=\233?1049l:ti=\233?1049h:ue=\23324m:\
3148	:up=\233A:us=\2334m:vb=\233?5h\233?5l:\
3149	:ve=\233?25l\233?25h:vi=\233?25l:vs=\233?12;25h:
3150
3151xterm-hp|xterm with hpterm function keys:\
3152	:@7=\EF:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:\
3153	:k8=\Ew:kC=\EJ:kD=\EP:kI=\EQ:kN=\ES:kP=\ET:kd=\EB:kh=\Eh:\
3154	:kl=\ED:kr=\EC:ku=\EA:tc=xterm-basic:
3155
3156xterm-sco|xterm with SCO function keys:\
3157	:@1=\E[E:@7=\E[F:F1=\E[W:F2=\E[X:F3=\E[Y:F4=\E[Z:F5=\E[a:\
3158	:F6=\E[b:F7=\E[c:F8=\E[d:F9=\E[e:FA=\E[f:FB=\E[g:FC=\E[h:\
3159	:FD=\E[i:FE=\E[j:FF=\E[k:FG=\E[l:FH=\E[m:FI=\E[n:FJ=\E[o:\
3160	:FK=\E[p:FL=\E[q:FM=\E[r:FN=\E[s:FO=\E[t:FP=\E[u:FQ=\E[v:\
3161	:FR=\E[w:FS=\E[x:FT=\E[y:FU=\E[z:FV=\E[@:FW=\E[[:FX=\E[\\:\
3162	:FY=\E[]:FZ=\E[\136:Fa=\E[_:Fb=\E[`:Fc=\E[{:Km=\E[>M:\
3163	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
3164	:k8=\E[T:k9=\E[U:k;=\E[V:kD=\177:kI=\E[L:kN=\E[G:kP=\E[I:\
3165	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=xterm-basic:
3166
3167# The xterm-new description has all of the features, but is not completely
3168# compatible with vt220.  If you are using a Sun or PC keyboard, set the
3169# sunKeyboard resource to true:
3170#	+ maps the editing keypad
3171#	+ interprets control-function-key as a second array of keys, so a
3172#	  12-fkey keyboard can support vt220's 20-fkeys.
3173#	+ maps numeric keypad "+" to ",".
3174#	+ uses DEC-style control sequences for the application keypad.
3175#
3176xterm-vt220|xterm emulating vt220:\
3177	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
3178	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
3179	:FA=\E[34~:Km=\E[M:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
3180	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[6~:\
3181	:kP=\E[5~:kd=\EOB:kh=\E[1~:kl=\EOD:kr=\EOC:ku=\EOA:\
3182	:tc=xterm+app:tc=xterm+edit:tc=xterm-basic:\
3183	:tc=vt220+keypad:
3184
3185xterm-vt52|xterm emulating dec vt52:\
3186	:co#80:it#8:li#24:\
3187	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3188	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
3189	:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
3190	:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
3191
3192xterm-noapp|xterm with cursor keys in normal mode:\
3193	:ke=\E>:ks=\E=:te@:ti@:tc=xterm+noapp:tc=xterm:
3194
3195xterm-24|vs100|xterms|xterm terminal emulator (X Window System):\
3196	:li#24:tc=xterm-old:
3197
3198# This is xterm for ncurses.
3199xterm|xterm terminal emulator (X Window System):\
3200	:tc=xterm-new:
3201
3202# This entry assumes that xterm's handling of VT100 SI/SO is disabled by
3203# setting the vt100Graphics resource to false.
3204xterm-utf8|xterm with no VT100 line-drawing in UTF-8 mode:\
3205	:U8#1:tc=xterm:
3206
3207# These entries allow access to the X titlebar and icon name as a status line.
3208# Note that twm (and possibly window managers descended from it such as tvtwm,
3209# ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
3210# with it.
3211xterm+sl|access X title line and icon name:\
3212	:hs:\
3213	:ws#40:\
3214	:ds=\E]0;\007:fs=^G:ts=\E]0;:tc=xterm:
3215xterm+sl-twm|access X title line (pacify twm-descended window managers):\
3216	:hs:\
3217	:ws#40:\
3218	:ds=\E]2;\007:fs=^G:ts=\E]2;:tc=xterm:
3219
3220#
3221# The following xterm variants don't depend on your base version
3222#
3223# xterm with bold instead of underline
3224xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold:\
3225	:so=\E[7m:us=\E[1m:tc=xterm-old:
3226
3227# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
3228xterm-nic|xterm with ich/ich1 suppressed for non-curses programs:\
3229	:IC@:ic@:tc=xterm:
3230# From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996
3231xterm1|xterm terminal emulator ignoring the alternate screen buffer:\
3232	:te@:ti@:tc=xterm:
3233
3234#### KTERM
3235# (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
3236# (kterm should not invoke DEC Graphics as the alternate character set
3237#  -- Kenji Rikitake)
3238# (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
3239#  -- MATSUMOTO Shoji)
3240# kterm implements acsc via built-in table of X Drawable's
3241kterm|kterm kanji terminal emulator (X window system):\
3242	:es:hs:XT:\
3243	:NC@:\
3244	:Km=\E[M:RA=\E[?7l:SA=\E[?7h:\
3245	:ac=``aajjkkllmmnnooppqqrrssttuuvvwwxx~~:ae=\E(B:\
3246	:as=\E(0:cs=\E[%i%d;%dr:ds=\E[?H:eA=:fs=\E[?F:me=\E[0m:\
3247	:rc=\E8:sc=\E7:ts=\E[?E\E[?%i%dT:tc=xterm-r6:\
3248	:tc=ecma+color:
3249kterm-color|kterm-co|kterm with ANSI colors:\
3250	:NC@:tc=kterm:tc=ecma+color:
3251
3252#### Other XTERM
3253# These (xtermc and xtermm) are distributed with Solaris.  They refer to a
3254# variant of xterm which is apparently no longer supported, but are interesting
3255# because they illustrate SVr4 curses mouse controls - T.Dickey
3256xtermm|xterm terminal emulator (monocrome):\
3257	:am:bs:km:mi:ms:xn:\
3258	:BT#3:co#80:it#8:li#24:\
3259	:@7=\E[Y:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\EOZ:\
3260	:F2=\EOA:Gm=\E[%dY:IC=\E[%d@:Km=\E[^_:LE=\E[%dD:RI=\E[%dC:\
3261	:RQ=\E[492Z:UP=\E[%dA:\
3262	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3263	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=\E[J:ce=\E[K:\
3264	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
3265	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
3266	:ic=\E[@:im=:k0=\EOy:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
3267	:k9=\EOX:k;=\EOY:kN=\E[U:kP=\E[V:kb=^H:kd=\EOB:kh=\E[H:\
3268	:kl=\EOD:kr=\EOC:ku=\EOA:le=\E[D:mb@:md=\E[1m:me=\E[0m:\
3269	:mr=\E[7m:nd=\E[C:\
3270	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
3271	:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:sc=\E7:\
3272	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E@0\E[?4r:\
3273	:ti=\E@0\E[?4s\E[?4h\E@1:up=\E[A:tc=vt100+fnkeys:
3274
3275xtermc|xterm terminal emulator (color):\
3276	:Co#8:NC#7:pa#64:\
3277	:AB=\E[4%dm:AF=\E[3%dm:op=\E[100m:tc=xtermm:
3278
3279# From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
3280# Here's a termcap entry I've been using for xterm_color, which comes
3281# with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
3282# color stuff, I also have a status line defined as the window manager
3283# title bar. [I have translated it to terminfo -- ESR]
3284xterm-pcolor|xterm with color used for highlights and status line:\
3285	:md=\E[1m\E[43m:mr=\E[7m\E[34m:so=\E[7m\E[31m:\
3286	:us=\E[4m\E[42m:tc=xterm+sl:tc=xterm-r6:
3287
3288# This describes the capabilities of color_xterm, an xterm variant from
3289# before ECMA-64 color support was folded into the main-line xterm release.
3290# This entry is straight from color_xterm's maintainer.
3291# From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
3292# The README's with the distribution also say that it supports SGR 21, 24, 25
3293# and 27, but they are not present in the terminfo or termcap.
3294color_xterm|cx|cx100|color_xterm color terminal emulator for X:\
3295	:am:bs:km:mi:ms:xn:XT:\
3296	:NC@:co#80:it#8:li#65:\
3297	:@7=\E[8~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
3298	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
3299	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
3300	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3301	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
3302	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
3303	:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
3304	:i1=\E[r\E[m\E[?7h\E[?4;6l\E[4l:im=\E[4h:k1=\E[11~:\
3305	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
3306	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:\
3307	:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:kh=\E[7~:kl=\EOD:kr=\EOC:\
3308	:ku=\EOA:le=^H:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
3309	:r1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:\
3310	:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
3311	:te=\E>\E[?41;1r:ti=\E[?1;41s\E[?1;41h\E=:ue=\E[24m:\
3312	:up=\E[A:us=\E[4m:tc=ecma+color:tc=vt220+keypad:
3313
3314# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
3315# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
3316# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
3317# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
3318# that each of those implements the home, end, delete keys differently.
3319#
3320# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
3321# colors; note that this is not compatible with the 5.2 version.
3322# csw (2002-05-15): make xterm-color primary instead of nxterm, to
3323#   match XFree86's xterm.terminfo usage and prevent circular links
3324xterm-color|nxterm|generic color xterm:\
3325	:NC@:\
3326	:op=\E[m:tc=xterm-r6:tc=klone+color:
3327
3328# This entry describes an xterm with Sun-style function keys enabled
3329# via the X resource setting "xterm*sunFunctionKeys:true"
3330# To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
3331# The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
3332# because we want it to be seen as <kcpy>.
3333# The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
3334# with their Sun keyboard labels instead.
3335# From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
3336xterm-sun|xterm with sunFunctionKeys true:\
3337	:%1=\E[196z:&8=\E[195z:@0=\E[200z:@5=\E[197z:@7=\E[220z:\
3338	:@8=\EOM:F1=\E[192z:F2=\E[193z:F3=\E[194z:F4=\E[195z:\
3339	:F5=\E[196z:F7=\E[198z:F8=\E[199z:F9=\E[200z:FA=\E[201z:\
3340	:FL=\E[208z:FM=\E[209z:FN=\E[210z:FO=\E[211z:FP=\E[212z:\
3341	:FQ=\E[213z:FS=\E[215z:FU=\E[217z:FW=\E[219z:FY=\E[221z:\
3342	:FZ=\E[222z:Fa=\E[234z:Fb=\E[235z:K2=\E[218z:k1=\E[224z:\
3343	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
3344	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kD=\E[3z:\
3345	:kI=\E[2z:kN=\E[222z:kP=\E[216z:kd=\EOB:kh=\E[214z:\
3346	:kl=\EOD:kr=\EOC:ku=\EOA:tc=xterm-basic:
3347xterms-sun|small (80x24) xterm with sunFunctionKeys true:\
3348	:co#80:li#24:tc=xterm-sun:
3349
3350#### GNOME (VTE)
3351# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
3352gnome-rh62|Gnome terminal:\
3353	:ut:\
3354	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kD=\177:tc=xterm-color:
3355
3356# GNOME Terminal 1.4.0.4 (Redhat 7.2)
3357#
3358# This implements a subset of vt102 with a random selection of features from
3359# other terminals such as color and function-keys.
3360#
3361# shift-f1 to shift-f10 are f11 to f20
3362#
3363# NumLock changes the application keypad to approximate vt100 keypad, except
3364# that there is no escape sequence matching comma (,).
3365#
3366# Other defects observed:
3367#	vt100 LNM mode is not implemented.
3368#	vt100 80/132 column mode is not implemented.
3369#	vt100 DECALN is not implemented.
3370#	vt100 DECSCNM mode is not implemented, so flash does not work.
3371#	vt100 TBC (tab reset) is not implemented.
3372#	xterm alternate screen controls do not restore cursor position properly
3373#	it hangs in tack after running function-keys test.
3374gnome-rh72|GNOME Terminal:\
3375	:km@:ut:\
3376	:RA=\E[?7l:SA=\E[?7h:ct@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
3377	:kD=\E[3~:me=\E[0m\017:ve=\E[?25h:vi=\E[?25l:\
3378	:tc=xterm-color:
3379
3380# GNOME Terminal 2.0.1 (Redhat 8.0)
3381#
3382# Documentation now claims it implements vt220 (which is demonstrably false).
3383# However, it does implement ECH, which is a vt220 feature.  And there are
3384# workable vt100 LNM, DECALN, DECSNM modes, making it possible to display
3385# more of its bugs using vttest.
3386#
3387# However, note that bce and msgr are broken in this release.  Tabs (tbc and
3388# hts) are broken as well.  Sometimes flash (as in xterm-new) works.
3389#
3390# kf1 and kf10 are not tested since they're assigned (hardcoded?) to menu
3391# operations.  Shift-tab generates a distinct sequence so it can be argued
3392# that it implements kcbt.
3393gnome-rh80|GNOME Terminal:\
3394	:ms@:ut@:\
3395	:ec=\E[%dX:kB=\E^I:kb=\177:op=\E[39;49m:vb=\E[?5h\E[?5l:\
3396	:tc=gnome-rh72:
3397
3398# GNOME Terminal 2.2.1 (Redhat 9.0)
3399#
3400# bce and msgr are repaired.
3401gnome-rh90|GNOME Terminal:\
3402	:ms:ut:\
3403	:#4=\EO2D:%i=\EO2C:*4=\E[3;2~:@7=\EOF:K2=\E[E:ch=\E[%i%dG:\
3404	:ct=\E[3g:cv=\E[%i%dd:kB=\E[Z:kh=\EOH:tc=xterm+pcf0:\
3405	:tc=xterm+pcfkeys:tc=gnome-rh80:
3406
3407# GNOME Terminal 2.14.2 (Fedora Core 5)
3408# Ed Catmur notes that gnome-terminal has recognized soft-reset since May 2002.
3409gnome-fc5|GNOME Terminal:\
3410	:r1=\Ec:\
3411	:r2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
3412	:tc=ansi+enq:tc=xterm+pcc0:tc=gnome-rh90:
3413
3414# GNOME Terminal 2.18.1 (2007 snapshot)
3415#
3416# For any "recent" version of gnome-terminal, it is futile to attempt to
3417# support modifiers on cursor- and keypad keys because the program usually
3418# is hardcoded to set $TERM to "xterm", and on startup, it builds a subset
3419# of the keys (which more/less correspond to the termcap values), and will
3420# interpret those according to the $TERM value, but others not in the
3421# terminfo according to some constantly changing set of hacker guidelines -TD
3422vte-2007|VTE in GNOME Terminal snapshot 2.18.1:\
3423	:tc=xterm+pcc2:tc=gnome-fc5:
3424gnome-2007|GNOME Terminal snapshot 2.18.1:\
3425	:tc=vte-2007:
3426
3427# GNOME Terminal 2.22.3 (2008 snapshot)
3428#
3429# In vttest, it claims to be a vt220 with national replacement character-sets,
3430# but aside from the identifier string, implements only a small fraction of
3431# vt220's behavior, which will make it less usable on a VMS system (unclear
3432# what the intent of the developer is, since the NRC feature exposed in vttest
3433# by this change does not work).
3434vte-2008|VTE in GNOME Terminal snapshot 2.22.3:\
3435	:tc=vte+pcfkeys:tc=vte-2007:
3436gnome-2008|GNOME Terminal snapshot 2.22.3:\
3437	:tc=vte-2008:
3438
3439# GNOME terminal may automatically use the contents of the "xterm" terminfo to
3440# supply key information which is not built into the program.  With 2.22.3,
3441# this list is built into the program (which addresses the inadvertant use of
3442# random terminfo data, though using a set of values which does not correspond
3443# to any that xterm produces - still not solving the problem that GNOME
3444# terminal hardcodes the $TERM variable as "xterm").
3445#
3446#	terminfo	modifier	code	keys
3447#	kf13-kf24	shift		2	F1 to F12
3448#	kf25-kf36	control		5	F1 to F12
3449#	kf37-kf48	shift/control	6	F1 to F12
3450#	kf49-kf60	alt		3	F1 to F12
3451#	kf61-kf63	shift-alt	4	F1 to F3
3452#
3453# The parameters with \EO (SS3) are technically an error, since SS3 should have
3454# no parameters.  This appears to be rote copying based on xterm+pcc0.
3455vte+pcfkeys|VTE's variation on xterm+pcfkeys:\
3456	:F3=\EO1;2P:F4=\EO1;2Q:F5=\EO1;2R:F6=\EO1;2S:FF=\EO1;5P:\
3457	:FG=\EO1;5Q:FH=\EO1;5R:FI=\EO1;5S:FR=\EO1;6P:FS=\EO1;6Q:\
3458	:FT=\EO1;6R:FU=\EO1;6S:Fd=\EO1;3P:Fe=\EO1;3Q:Ff=\EO1;3R:\
3459	:Fg=\EO1;3S:Fp=\EO1;4P:Fq=\EO1;4Q:Fr=\EO1;4R:k1=\EOP:\
3460	:k2=\EOQ:k3=\EOR:k4=\EOS:tc=xterm+pcfkeys:
3461gnome+pcfkeys|VTE's variation on xterm+pcfkeys:\
3462	:tc=vte+pcfkeys:
3463
3464vte|VTE aka GNOME Terminal:\
3465	:tc=vte-2008:
3466gnome|GNOME Terminal:\
3467	:tc=vte:
3468
3469# palette is hardcoded...
3470vte-256color|VTE with xterm 256-colors:\
3471	:Ic@:tc=xterm+256color:tc=vte:
3472gnome-256color|GNOME Terminal with xterm 256-colors:\
3473	:tc=vte-256color:
3474
3475# XFCE Terminal 0.2.5.4beta2
3476#
3477# This is based on some of the same source code, e.g., the VTE library, as
3478# gnome-terminal, but has fewer features, fails more screens in vttest.
3479# Since most of the terminfo-related behavior is due to the VTE library,
3480# the terminfo is the same as gnome-terminal.
3481xfce|Xfce Terminal:\
3482	:tc=vte:
3483
3484#### Other GNOME
3485# Multi-Gnome-Terminal 1.6.2
3486#
3487# This does not use VTE, and does have different behavior (compare xfce and
3488# gnome).
3489mgt|Multi GNOME Terminal:\
3490	:SF=\E[%dS:SR=\E[%dT:tc=xterm-xf86-v333:
3491
3492#### KDE
3493# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
3494# or not is debatable).
3495kvt|KDE terminal:\
3496	:km@:ut:\
3497	:@7=\E[F:kD=\177:kh=\E[H:tc=xterm-color:
3498
3499# Konsole 1.0.1
3500# (formerly known as kvt)
3501#
3502# This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
3503# simplify this entry (and point out why konsole isn't xterm), we base this on
3504# xterm-r6.  The default keyboard appears to be 'linux'.
3505#
3506# Notes:
3507# a) konsole implements several features from XFree86 xterm, though none of
3508#    that is documented - except of course in its source code - apparently
3509#    because its implementors are unaccustomed to reading documentation - as
3510#    evidenced by the sparse and poorly edited documentation distributed with
3511#    konsole.  Some features such as the 1049 private mode are recognized but
3512#    incorrectly implemented as a duplicate of the 47 private mode.
3513# b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
3514#    sends PC-style escapes rather than vt100.
3515# c) fails vttest menu 3 (Test of character sets) because it does not properly
3516#    parse some control sequences.  Also fails vttest Primary Device Attributes
3517#    by sending a bogus code (in the source it says it's supposed to be a
3518#    vt220, which is doubly incorrect because it does not implement vt220
3519#    control sequences except for a few special cases).  Treat it as a
3520#    mildly-broken vt102.
3521#
3522# Update for konsole 1.3.2:
3523#    The 1049 private mode works (but see the other xterm screens in vttest).
3524#    Primary Device Attributes now returns the code for a vt100 with advanced
3525#    video option.  Perhaps that's intended to be a "mildly-broken vt102".
3526#
3527# Updated for konsole 1.6.4:
3528#    add konsole-solaris
3529#
3530# Updated for konsole 1.6.6:
3531#    add control-key modifiers for function-keys, etc.
3532#
3533# vttest menu 1 shows that both konsole and gnome terminal do wrapping
3534# different from xterm (and vt100's).  They have the same behavior in this
3535# detail, but it is unclear which copies the other.
3536konsole-base|KDE console window:\
3537	:NP:km@:ut:XT:\
3538	:NC@:\
3539	:*6@:@0@:@7=\E[4~:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:\
3540	:RA=\E[?7l:SA=\E[?7h:SF=\E[%dS:SR=\E[%dT:bl@:ch=\E[%i%dG:\
3541	:cv=\E[%i%dd:ec=\E[%dX:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:k;@:\
3542	:kD@:kb=\177:kh=\E[1~:mb=\E[5m:me=\E[0m\017:\
3543	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
3544	:se=\E[27m:ue=\E[24m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
3545	:vi=\E[?25l:tc=ecma+color:tc=xterm-r6:
3546konsole-linux|KDE console window with linux keyboard:\
3547	:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:k1=\E[[A:\
3548	:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:\
3549	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:tc=konsole-base:
3550konsole-solaris|KDE console window with Solaris keyboard:\
3551	:@7=\E[4~:kb=^H:kh=\E[1~:tc=konsole-vt100:
3552# KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
3553# than testing the code.
3554konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm:\
3555	:@7=\E[4~:kh=\E[1~:tc=konsole-vt100:
3556# The value for kbs reflects local customization rather than the settings used
3557# for XFree86 xterm.
3558konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm:\
3559	:@7=\EOF:kh=\EOH:tc=konsole+pcfkeys:tc=konsole-vt100:
3560# Konsole does not implement shifted cursor-keys.
3561konsole+pcfkeys|konsole subset of xterm+pcfkeys:\
3562	:#4@:%i@:kB=\E[Z:kF@:kR@:tc=xterm+pcc2:tc=xterm+pcf0:
3563# KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
3564# it is still useful for deriving the other entries.
3565konsole-vt100|KDE console window with vt100 (sic) keyboard:\
3566	:@7=\E[F:F1=\E[23~:F2=\E[24~:F3@:F4@:F5@:F6@:F7@:F8@:F9@:FA@:\
3567	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
3568	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
3569	:kD=\E[3~:kb=\177:kh=\E[H:tc=konsole-base:
3570konsole-vt420pc|KDE console window with vt420 pc keyboard:\
3571	:kD=\177:kb=^H:tc=konsole-vt100:
3572konsole-16color|klone of xterm-16color:\
3573	:NC#32:tc=ibm+16color:tc=konsole:
3574# make a default entry for konsole
3575konsole|KDE console window:\
3576	:tc=konsole-xf4x:
3577
3578# palette is hardcoded...
3579konsole-256color|KDE console window with xterm 256-colors:\
3580	:Ic@:tc=xterm+256color:tc=konsole:
3581
3582#### MLTERM
3583# This is mlterm 2.9.3's mlterm.ti, with some additions/corrections -TD
3584#
3585# It is nominally a vt102 emulator, with features borrowed from rxvt and
3586# xterm.
3587#
3588# The function keys are numbered based on shift/control/alt modifiers, except
3589# that the control-modifier itself is used to spawn a new copy of mlterm (the
3590# "-P" option).  So control/F1 to control/F12 may not be usable, depending on
3591# how it is configured.
3592#
3593#				kf1 to kf12	\E[11~   to \E[24~
3594#	shift			kf1 to kf12	\E[11;2~ to \E[24;2~
3595#	alt			kf1 to kf12	\E[11;3~ to \E[24;3~
3596#	shift/alt		kf1 to kf12	\E[11;4~ to \E[24;4~
3597#	control			kf1 to kf12	\E[11;5~ to \E[24;5~ (maybe)
3598#	control/shift		kf1 to kf12	\E[11;6~ to \E[24;6~
3599#	control/alt		kf1 to kf12	\E[11;7~ to \E[24;7~
3600#	control/shift/alt	kf1 to kf12	\E[11;8~ to \E[24;8~
3601#
3602# (sgr removed to fit entry within 1023 bytes)
3603# (acsc removed to fit entry within 1023 bytes)
3604# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
3605mlterm|multi lingual terminal emulator:\
3606	:am:es:km:mi:ms:xn:\
3607	:co#80:it#8:li#24:\
3608	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
3609	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
3610	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
3611	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
3612	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
3613	:ic=\E[@:im=\E[4h:\
3614	:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:kD=\E[3~:\
3615	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
3616	:kh=\EOH:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
3617	:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
3618	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l:\
3619	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
3620	:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:us=\E[4m:\
3621	:ve=\E[?25h:vi=\E[?25l:tc=mlterm+pcfkeys:tc=xterm+r6f2:
3622
3623# The insert/delete/home/end keys do not respond to modifiers because mlterm
3624# looks in its termcap to decide which string to send.  If it used terminfo
3625# (when available), it could use the extended names introduced for xterm.
3626mlterm+pcfkeys|fragment for PC-style fkeys:\
3627	:#4=\EO1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\EO1;2C:
3628
3629mlterm-256color|mlterm 3.0 with xterm 256-colors:\
3630	:tc=xterm+256color:tc=rxvt:
3631
3632#### RXVT
3633# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
3634# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
3635# Notes:
3636# rxvt 2.21b uses
3637#	smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
3638# but some applications don't work with that.
3639# It also has an AIX extension
3640#	box2=lqkxjmwuvtn,
3641# and
3642#	ech=\E[%p1%dX,
3643# but the latter does not work correctly.
3644#
3645# The distributed terminfo says it implements hpa and vpa, but they are not
3646# implemented correctly, using relative rather than absolute positioning.
3647#
3648# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
3649# Since rxvt is not really compatible with xterm, it should be configured as
3650# "rxvt" or "rxvt-color".
3651#
3652# removed dch/dch1 because they are inconsistent with bce/ech -TD
3653# remove km as per tack test -TD
3654rxvt-basic|rxvt terminal base (X Window System):\
3655	:am:bs:eo:mi:ms:ut:xn:xo:XT:\
3656	:co#80:it#8:li#24:\
3657	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:Km=\E[M:\
3658	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
3659	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3660	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
3661	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
3662	:ct=\E[3g:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:ho=\E[H:\
3663	:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
3664	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:kB=\E[Z:\
3665	:kb=^H:ke=\E>:ks=\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
3666	:mr=\E[7m:nd=\E[C:\
3667	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
3668	:r2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
3669	:rc=\E8:s0=\E(B:s1=\E(0:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:\
3670	:sr=\EM:st=\EH:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
3671	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
3672	:vi=\E[?25l:tc=vt100+enq:tc=rxvt+pcfkeys:\
3673	:tc=vt220+keypad:
3674# Key Codes from rxvt reference:
3675#
3676# Note: Shift + F1-F10 generates F11-F20
3677#
3678# For the keypad, use Shift to temporarily override Application-Keypad
3679# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
3680# is off, escape sequences toggle Application-Keypad setting.
3681# Also note that values of Home, End, Delete may have been compiled
3682# differently on your system.
3683#
3684#                   Normal       Shift        Control      Ctrl+Shift
3685#  Tab              ^I           ESC [ Z      ^I           ESC [ Z
3686#  BackSpace        ^H           ^?           ^?           ^?
3687#  Find             ESC [ 1 ~    ESC [ 1 $    ESC [ 1 ^    ESC [ 1 @
3688#  Insert           ESC [ 2 ~    paste        ESC [ 2 ^    ESC [ 2 @
3689#  Execute          ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3690#  Select           ESC [ 4 ~    ESC [ 4 $    ESC [ 4 ^    ESC [ 4 @
3691#  Prior            ESC [ 5 ~    scroll-up    ESC [ 5 ^    ESC [ 5 @
3692#  Next             ESC [ 6 ~    scroll-down  ESC [ 6 ^    ESC [ 6 @
3693#  Home             ESC [ 7 ~    ESC [ 7 $    ESC [ 7 ^    ESC [ 7 @
3694#  End              ESC [ 8 ~    ESC [ 8 $    ESC [ 8 ^    ESC [ 8 @
3695#  Delete           ESC [ 3 ~    ESC [ 3 $    ESC [ 3 ^    ESC [ 3 @
3696#  F1               ESC [ 11 ~   ESC [ 23 ~   ESC [ 11 ^   ESC [ 23 ^
3697#  F2               ESC [ 12 ~   ESC [ 24 ~   ESC [ 12 ^   ESC [ 24 ^
3698#  F3               ESC [ 13 ~   ESC [ 25 ~   ESC [ 13 ^   ESC [ 25 ^
3699#  F4               ESC [ 14 ~   ESC [ 26 ~   ESC [ 14 ^   ESC [ 26 ^
3700#  F5               ESC [ 15 ~   ESC [ 28 ~   ESC [ 15 ^   ESC [ 28 ^
3701#  F6               ESC [ 17 ~   ESC [ 29 ~   ESC [ 17 ^   ESC [ 29 ^
3702#  F7               ESC [ 18 ~   ESC [ 31 ~   ESC [ 18 ^   ESC [ 31 ^
3703#  F8               ESC [ 19 ~   ESC [ 32 ~   ESC [ 19 ^   ESC [ 32 ^
3704#  F9               ESC [ 20 ~   ESC [ 33 ~   ESC [ 20 ^   ESC [ 33 ^
3705#  F10              ESC [ 21 ~   ESC [ 34 ~   ESC [ 21 ^   ESC [ 34 ^
3706#  F11              ESC [ 23 ~   ESC [ 23 $   ESC [ 23 ^   ESC [ 23 @
3707#  F12              ESC [ 24 ~   ESC [ 24 $   ESC [ 24 ^   ESC [ 24 @
3708#  F13              ESC [ 25 ~   ESC [ 25 $   ESC [ 25 ^   ESC [ 25 @
3709#  F14              ESC [ 26 ~   ESC [ 26 $   ESC [ 26 ^   ESC [ 26 @
3710#  F15 (Help)       ESC [ 28 ~   ESC [ 28 $   ESC [ 28 ^   ESC [ 28 @
3711#  F16 (Menu)       ESC [ 29 ~   ESC [ 29 $   ESC [ 29 ^   ESC [ 29 @
3712#  F17              ESC [ 31 ~   ESC [ 31 $   ESC [ 31 ^   ESC [ 31 @
3713#  F18              ESC [ 32 ~   ESC [ 32 $   ESC [ 32 ^   ESC [ 32 @
3714#  F19              ESC [ 33 ~   ESC [ 33 $   ESC [ 33 ^   ESC [ 33 @
3715#  F20              ESC [ 34 ~   ESC [ 34 $   ESC [ 34 ^   ESC [ 34 @
3716#
3717#                                                          Application
3718#  Up               ESC [ A      ESC [ a      ESC O a      ESC O A
3719#  Down             ESC [ B      ESC [ b      ESC O b      ESC O B
3720#  Right            ESC [ C      ESC [ c      ESC O c      ESC O C
3721#  Left             ESC [ D      ESC [ d      ESC O d      ESC O D
3722#  KP_Enter         ^M                                     ESC O M
3723#  KP_F1            ESC O P                                ESC O P
3724#  KP_F2            ESC O Q                                ESC O Q
3725#  KP_F3            ESC O R                                ESC O R
3726#  KP_F4            ESC O S                                ESC O S
3727#  XK_KP_Multiply   *                                      ESC O j
3728#  XK_KP_Add        +                                      ESC O k
3729#  XK_KP_Separator  ,                                      ESC O l
3730#  XK_KP_Subtract   -                                      ESC O m
3731#  XK_KP_Decimal    .                                      ESC O n
3732#  XK_KP_Divide     /                                      ESC O o
3733#  XK_KP_0          0                                      ESC O p
3734#  XK_KP_1          1                                      ESC O q
3735#  XK_KP_2          2                                      ESC O r
3736#  XK_KP_3          3                                      ESC O s
3737#  XK_KP_4          4                                      ESC O t
3738#  XK_KP_5          5                                      ESC O u
3739#  XK_KP_6          6                                      ESC O v
3740#  XK_KP_7          7                                      ESC O w
3741#  XK_KP_8          8                                      ESC O x
3742#  XK_KP_9          9                                      ESC O y
3743#
3744# The source-code for rxvt actually defines mappings for F21-F35, using
3745# "ESC [ 35 ~" to "ESC [  49 ~".  Keyboards with more than 12 function keys
3746# are rare, so this entry uses the shift- and control-modifiers as in
3747# xterm+pcfkeys to define keys past F12.
3748#
3749# kIC is normally not used, since rxvt performs a paste for that (shifted
3750# insert), unless private mode 35 is set.
3751#
3752# kDN, kDN5, kDN6, etc are extensions based on the names from xterm+pcfkeys -TD
3753# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
3754rxvt+pcfkeys|fragment for PC-style fkeys:\
3755	:#2=\E[7$:#3=\E[2$:#4=\E[d:%c=\E[6$:%e=\E[5$:%i=\E[c:\
3756	:*4=\E[3$:*6=\E[4~:*7=\E[8$:@0=\E[1~:@7=\E[8~:F1=\E[23~:\
3757	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
3758	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:FB=\E[23$:\
3759	:FC=\E[24$:FD=\E[11\136:FE=\E[12\136:FF=\E[13\136:\
3760	:FG=\E[14\136:FH=\E[15\136:FI=\E[17\136:FJ=\E[18\136:\
3761	:FK=\E[19\136:FL=\E[20\136:FM=\E[21\136:FN=\E[23\136:\
3762	:FO=\E[24\136:FP=\E[25\136:FQ=\E[26\136:FR=\E[28\136:\
3763	:FS=\E[29\136:FT=\E[31\136:FU=\E[32\136:FV=\E[33\136:\
3764	:FW=\E[34\136:FX=\E[23@:FY=\E[24@:k1=\E[11~:k2=\E[12~:\
3765	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
3766	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kE=\E[8\136:\
3767	:kF=\E[a:kI=\E[2~:kN=\E[6~:kP=\E[5~:kR=\E[b:kd=\E[B:\
3768	:kh=\E[7~:kl=\E[D:kr=\E[C:ku=\E[A:
3769
3770rxvt|rxvt terminal emulator (X Window System):\
3771	:NC@:\
3772	:ch=\E[%i%dG:cv=\E[%i%dd:k0=\E[21~:me=\E[m\017:\
3773	:tc=rxvt-basic:tc=ecma+color:
3774rxvt-color|rxvt terminal emulator (X Window System):\
3775	:tc=rxvt:
3776rxvt-256color|rxvt 2.7.9 with xterm 256-colors:\
3777	:tc=xterm+256color:tc=rxvt:
3778rxvt-88color|rxvt 2.7.9 with xterm 88-colors:\
3779	:tc=xterm+88color:tc=rxvt:
3780rxvt-xpm|rxvt terminal emulator (X Window System):\
3781	:tc=rxvt:
3782rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin:\
3783	:ac=+\257,\256-\1360\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
3784	:tc=rxvt:
3785rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin:\
3786	:ac=+\257,\256-\1360\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376:\
3787	:tc=rxvt-cygwin:
3788
3789# This variant is supposed to work with rxvt 2.7.7 when compiled with
3790# NO_BRIGHTCOLOR defined.  rxvt needs more work...
3791rxvt-16color|xterm with 16 colors like aixterm:\
3792	:NC#32:tc=ibm+16color:tc=rxvt:
3793
3794#### MRXVT
3795# mrxvt 0.5.4
3796#
3797# mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
3798# makes its function-keys different from other flavors of rxvt -TD
3799mrxvt|multitabbed rxvt:\
3800	:XT:\
3801	:#2=\E[7;2~:*7=\E[8;2~:@7=\E[8~:kd=\E[B:kh=\E[7~:kl=\E[D:\
3802	:kr=\E[C:ku=\E[A:tc=xterm+r6f2:tc=xterm+pcfkeys:tc=rxvt:
3803
3804mrxvt-256color|multitabbed rxvt with 256 colors:\
3805	:tc=xterm+256color:tc=mrxvt:
3806
3807#### ETERM
3808# From: Michael Jennings <mej@valinux.com>
3809#
3810# Eterm 0.9.3
3811#
3812# removed kf0 which conflicts with kf10 -TD
3813# remove cvvis which conflicts with cnorm -TD
3814# Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
3815# but does otherwise follow the rxvt+pcfkeys model -TD
3816# remove nonworking flash -TD
3817# remove km as per tack test -TD
3818# (sgr removed to fit entry within 1023 bytes)
3819# (acsc removed to fit entry within 1023 bytes)
3820Eterm|Eterm-color|Eterm with xterm-style color support (X Window System):\
3821	:5i:am:bw:eo:mi:ms:ut:xn:xo:XT:\
3822	:BT#5:NC@:co#80:it#8:li#24:lm#0:\
3823	:%1=\E[28~:%c@:%e@:@1=\EOu:@8=\EOM:AL=\E[%dL:DC=\E[%dP:\
3824	:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:K1=\E[7~:K2=\EOu:K3=\E[5~:\
3825	:K4=\E[8~:K5=\E[6~:Km=\E[M:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
3826	:SA=\E[?7h:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:\
3827	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
3828	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:\
3829	:dl=\E[M:do=\E[B:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
3830	:i1=\E[?47l\E>\E[?1l:ic=\E[@:im=\E[4h:\
3831	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:kb=^H:ke=:\
3832	:ks=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
3833	:pf=\E[4i:po=\E[5i:\
3834	:r1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H:\
3835	:r2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h:\
3836	:rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
3837	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
3838	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:tc=vt100+enq:\
3839	:tc=rxvt+pcfkeys:tc=ecma+color:
3840
3841Eterm-256color|Eterm with xterm 256-colors:\
3842	:tc=xterm+256color:tc=Eterm:
3843
3844Eterm-88color|Eterm with 88 colors:\
3845	:tc=xterm+88color:tc=Eterm:
3846
3847#### ATERM
3848# Based on rxvt 2.4.8, it has a few differences in key bindings
3849aterm|AfterStep terminal:\
3850	:XT:\
3851	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:tc=rxvt:
3852
3853#### XITERM
3854# xiterm  0.5-5.2
3855# This is not based on xterm's source...
3856# vttest shows several problems with keyboard, cursor-movements.
3857# see also http://invisible-island.net/xterm/xterm.faq.html#bug_xiterm
3858xiterm|internationalized terminal emulator for X:\
3859	:km@:\
3860	:kD=\E[3~:kb=\177:tc=klone+color:tc=xterm-r6:
3861
3862
3863#### HPTERM
3864# HP ships this (HPUX 9 and 10), except for the pb#9600 which was merged in
3865# from BSD termcap.  (hpterm:  added empty <acsc>, we have no idea what ACS
3866# chars look like --esr)
3867hpterm|X-hpterm|hp X11 terminal emulator:\
3868	:am:da:db:mi:xs:\
3869	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:pb#9600:sg#0:ug#0:\
3870	:LF=\E&j@:LO=\E&jB:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:\
3871	:cd=1\EJ:ce=\EK:ch=\E&a%dC:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:\
3872	:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:\
3873	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:\
3874	:kA=\EL:kC=\EJ:kD=\EP:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:\
3875	:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:\
3876	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:\
3877	:ku=\EA:le=^H:md=\E&dB:me=\E&d@:mh=\E&dH:ml=\El:mr=\E&dB:\
3878	:mu=\Em:nd=\EC:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:st=\E1:ta=^I:\
3879	:ue=\E&d@:up=\EA:us=\E&dD:
3880# HPUX 11 provides a color version.
3881hpterm-color|HP X11 terminal emulator with color:\
3882	:cc:\
3883	:Co#64:pa#8:\
3884	:ho=\E&a0y0C:op=\E&v0S:sp=\E&v%dS:tc=hpterm:
3885
3886#### EMU
3887# This is for the extensible terminal emulator on the X11R6 contrib tape.
3888# It corresponds to emu's internal emulation:
3889#	emu -term emu
3890# emu's default sets TERM to "xterm", but that doesn't work well -TD
3891# fixes: remove bogus rmacs/smacs, change oc to op, add bce, am -TD
3892# fixes: add civis, cnorm, sgr -TD
3893emu|emu native mode:\
3894	:am:mi:ms:ut:xo:\
3895	:Co#15:co#80:it#8:li#24:pa#64:vt#200:\
3896	:*6=\Esel:@0=\Efind:@8=^M:AB=\Es%i%d;:AF=\Er%i%d;:\
3897	:AL=\EQ%d;:DC=\EI%d;:DL=\ER%d;:DO=\Ep%d;:F1=\EF11:\
3898	:F2=\EF12:F3=\EF13:F4=\EF14:F5=\EF15:F6=\EF16:F7=\EF17:\
3899	:F8=\EF18:F9=\EF19:FA=\EF20:LE=\Eq-%d;:RI=\Eq%d;:\
3900	:UP=\Ep-%d;:\
3901	:ac=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244:\
3902	:al=\EQ1;:bl=^G:cb=\EL:cd=\EN:ce=\EK:cl=\EP\EE0;0;:\
3903	:cm=\EE%d;%d;:cr=^M:cs=\Ek%d;%d;:ct=\Ej:dc=\EI1;:dl=\ER1;:\
3904	:do=\EB:ec=\Ej%d;:ei=\EX:ho=\EE0;0;:im=\EY:\
3905	:is=\ES\Er0;\Es0;:k0=\EF00:k1=\EF01:k2=\EF02:k3=\EF03:\
3906	:k4=\EF04:k5=\EF05:k6=\EF06:k7=\EF07:k8=\EF08:k9=\EF09:\
3907	:k;=\EF10:kD=\177:kI=\Eins:kN=\Enext:kP=\Eprior:kb=^H:\
3908	:kd=\EB:kl=\EC:kr=\ED:ku=\EA:le=^H:mb=\EW:md=\EU:me=\ES:\
3909	:mr=\ET:nd=\EC:op=\Es0;\Er0;:rs=\ES\Es0;\Er0;:se=\ES:\
3910	:sf=\EG:so=\ET:sr=\EF:st=\Eh:ta=^I:ue=\ES:up=\EA:us=\EV:\
3911	:ve=\Ea:vi=\EZ:
3912
3913# vt220 Terminfo entry for the Emu emulation, corresponds to
3914#	emu -term vt220
3915# with NumLock set (to make the keypad transmit kf0-kf9).
3916# fixes: add am, xenl, corrected sgr0 -TD
3917# (sgr removed to fit entry within 1023 bytes)
3918# (acsc removed to fit entry within 1023 bytes)
3919# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
3920emu-220|Emu-220 (vt200-7bit mode):\
3921	:am:xn:xo:\
3922	:co#80:it#8:li#24:vt#200:\
3923	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
3924	:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:\
3925	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
3926	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[1B:\
3927	:ho=\E[H:if=/usr/share/tabset/vt300:\
3928	:is=\E>\E[?1l\E[?3l\E[4l\E[?7h:k0=\EOp:k1=\EOq:k2=\EOr:\
3929	:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:\
3930	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
3931	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=\E[1D:mb=\E[0;5m:\
3932	:md=\E[0;1m:me=\E[0m:mr=\E[0;7m:nd=\E[1C:rc=\E8:\
3933	:rs=\E[4l\E[34l\E[?1l\E[?3l\E[?5l\E[?7h:sc=\E7:se=\E[m:\
3934	:sf=\ED:so=\E[0;7m:sr=\EM:st=\EH:ta=^I:te=\E>:ti=\E[?1l\E=:\
3935	:ue=\E[m:up=\E[1A:us=\E[0;4m:ve=\E[?25h:vi=\E[?25l:
3936
3937#### MVTERM
3938# A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
3939# print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
3940# indicate that it emulates more than one terminal, but incompletely.
3941#
3942# This is adapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
3943# It is based on vt102's entry, with some subtle differences, but also
3944#	has status line
3945#	supports ANSI colors (except for 'op' string)
3946#	apparently implements alternate screen like xterm
3947#	does not use padding, of course.
3948mvterm|vv100|SwitchTerm aka mvTERM:\
3949	:am:es:hs:km:mi:ms:xn:\
3950	:Co#8:co#80:it#8:li#24:pa#64:\
3951	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
3952	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
3953	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3954	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=\E[J:ce=\E[K:\
3955	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
3956	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ds=\E[?E:eA=\E(B\E)0:ei=:\
3957	:fs=\E[?F:ho=\E[H:ic=\E[@:im=:k0=\EOy:k5=\EOt:k6=\EOu:\
3958	:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:kb=^H:kd=\EOB:\
3959	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
3960	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:op=\E[100m:\
3961	:rc=\E8:\
3962	:rs=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H:\
3963	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
3964	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ts=\E[?E\E[?%i%dT:\
3965	:ue=\E[m:up=\E[A:us=\E[4m:tc=vt100+fnkeys:
3966
3967#### MTERM
3968#
3969# This application is available by email from <mouse@Rodents.Montreal.QC.CA>.
3970#
3971# "mterm -type ansi" sets $TERM to "ansi"
3972mterm-ansi|ANSI emulation:\
3973	:am:bw:mi:ms:\
3974	:it#8:\
3975	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
3976	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
3977	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
3978	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%d`:\
3979	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:\
3980	:dl=\E[M:do=\E[B:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=:im=\E[4h:\
3981	:is=\E)0\017:kb=^H:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
3982	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:se=\E[27m:\
3983	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:
3984# mterm normally sets $TERM to "mterm"
3985mterm|mouse-sun|Der Mouse term:\
3986	:am:bw:mi:\
3987	:it#8:\
3988	:al=^A:bl=^G:cd=^B:ce=^C:cl=^L:cm=\006%d.%d.:cr=^M:dc=^Y:\
3989	:dl=^K:do=^N:ei=^O:ho=^P:im=^Q:kb=^H:le=^H:ll=^R:nd=^S:\
3990	:nw=^M^U:se=^T:sf=^U:so=^V:sr=^W:ta=^I:up=^X:
3991# "mterm -type decansi" sets $TERM to "decansi"
3992#
3993# note: kdch1, kfnd, kslt are in the source code, but do not work -TD
3994# (sgr removed to fit entry within 1023 bytes)
3995# (acsc removed to fit entry within 1023 bytes)
3996# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
3997decansi|ANSI emulation with DEC compatibility hacks:\
3998	:am:mi:ms:xn:\
3999	:it#8:\
4000	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
4001	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:al=\E[L:\
4002	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
4003	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:\
4004	:ei=\E[4l:ho=\E[H:ic=:im=\E[4h:is=\E)0\E[r\017:k1=\E[11~:\
4005	:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
4006	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
4007	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
4008	:ks=\E[?1h\E=:ku=\EOA:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
4009	:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:\
4010	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
4011	:ve=\E[?25h:vi=\E[?25l:
4012
4013#### VWM
4014#
4015# vwmterm is a terminal emulator written for the VWM console window manager
4016#
4017vwmterm|(vwm term):\
4018	:NP:am:cc:mi:ms:ut:xn:xo:\
4019	:Co#8:pa#64:\
4020	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:DO=\E[%dB:F1=\E[22~:\
4021	:F2=\E[23~:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
4022	:UP=\E[%dA:\
4023	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
4024	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
4025	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:ho=\E[H:\
4026	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
4027	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
4028	:kN=\E[6~:kP=\E[5~:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:\
4029	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:\
4030	:mk=\E[8m:mr=\E[7m:nd=\E[C:r1=\E[H\E[J\E[m\Ec:sf=^J:\
4031	:so=\E[3m:te=\E[?1049l:ti=\E[?1049h:up=\E[A:us=\E[4m:\
4032	:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
4033
4034#### MGR
4035#
4036# MGR is a Bell Labs window system lighter-weight than X.
4037# These entries describe MGR's xterm-equivalent.
4038# They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997
4039#
4040
4041mgr|Bellcore MGR (non X) window system terminal emulation:\
4042	:am:km:\
4043	:AL=3*\E%da:DC=5\E%dE:DL=3*\E%dd:IC=5\E%dA:RA=\E5S:\
4044	:SA=\E5s:al=3\Ea:bl=^G:cd=\EC:ce=\Ec:cl=^L:cm=\E%r%d;%dM:\
4045	:cr=^M:cs=\E%d;%dt:dc=\EE:dl=3\Ed:do=\Ef:ei=:hd=\E1;2f:\
4046	:hu=\E1;2u:ic=\EA:im=:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
4047	:le=^H:md=\E2n:me=\E0n:mr=\E1n:nd=\Er:nw=^M^J:se=\E0n:sf=^J:\
4048	:so=\E1n:ta=^I:ue=\E0n:up=\Eu:us=\E4n:ve=\Eh:vi=\E9h:\
4049	:vs=\E0h:
4050mgr-sun|Mgr window with Sun keyboard:\
4051	:%1=\E[207z:%6=\E[198z:&8=\E[195z:@0=\E[200z:@5=\E[197z:\
4052	:@7=\E[220z:@8=\E[250z:F1=\E[234z:F2=\E[235z:K1=\E[214z:\
4053	:K2=\E[218z:K3=\E[216z:K4=\E[220z:K5=\E[222z:k1=\E[224z:\
4054	:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:k6=\E[229z:\
4055	:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:kN=\E[222z:\
4056	:kP=\E[216z:kh=\E[214z:tc=mgr:
4057mgr-linux|Mgr window with Linux keyboard:\
4058	:@7=\E[4~:F1=\E[23~:F2=\E[24~:K1=\E[H:K2=\E[G:K3=\E[5~:\
4059	:K4=\E[Y:K5=\E[6~:k0=\E[[J:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
4060	:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
4061	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kh=\E[1~:\
4062	:tc=mgr:
4063
4064#### SIMPLETERM
4065# st.suckless.org
4066# st-0.1.1
4067#
4068# Note:  the original terminfo description uses leading blank to persuade
4069# ncurses to use "st" as its name.  Proper fix for that is to use "st" as an
4070# alias.
4071#
4072# Reading the code shows it should work for aixterm 16-colors
4073# - added st-16color
4074#
4075# Using tack:
4076# - set eo (erase-overstrike)
4077# - set xenl
4078# - tbc doesn't work
4079# - hts works
4080# - cbt doesn't work
4081# - shifted cursor-keys send sequences like rxvt
4082# - sgr referred to unimplemented "invis" mode.
4083# Fixes: add eo and xenl per tack, remove nonworking cbt, hts and tbc, invis
4084simpleterm|st| simpleterm:\
4085	:am:eo:mi:ms:ul:xn:\
4086	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
4087	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DO=\E[%dB:\
4088	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:RI=\E[%dC:SF=\E[%dS:\
4089	:UP=\E[%dA:\
4090	:ac=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
4091	:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
4092	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4093	:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:im=:k1=\EOP:k2=\EOQ:\
4094	:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
4095	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kN=\E[6~:kP=\E[5~:kb=\177:\
4096	:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:\
4097	:me=\E[0m:mr=\E[7m:nd=\E[C:op=\E[37;40m:rc=\E8:sc=\E7:\
4098	:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
4099	:ve=\E[?12l\E[?25h:vi=\E[?25l:
4100st-16color|simpleterm with 16-colors:\
4101	:tc=ibm+16color:tc=simpleterm:
4102# 256 colors "works", but when running xterm's test-scripts, some garbage is
4103# shown in the titlebar.
4104st-256color|simpleterm with 256 colors:\
4105	:cc@:\
4106	:Ic@:tc=simpleterm:tc=xterm+256color:
4107
4108### TERMINATOR
4109# http://software.jessies.org/terminator/
4110# Tested using their Debian package org.jessies.terminator 6.104.3256 on 64-bit
4111# Debian/current -TD (2011/8/20)
4112#
4113# There are some packaging problems:
4114# a) using Java, the program starts off using 50Mb, and climbs from there,
4115#    up to 114Mb after testing (no scrollback).
4116# b) it insists on reinstalling its terminal description in $HOME/.terminfo
4117#    (two copies, just in case the host happens to be Mac OS X).
4118#    I deleted this after testing with tack.
4119#
4120# Issues/features found with tack:
4121# a) tbc does not work (implying that hts also is broken).
4122#    Comparing with the tabs utility shows a problem with the last tabstop on
4123#    a line.
4124# b) has xterm-style shifted function-key strings
4125#    meta also is used, but control is ignored.
4126# c) has xterm-style modifiers for cursor keys (shift, control, shift+control, meta)
4127# d) some combinations of shift/control send xterm-style sequences for
4128#    insert/delete/home/end.
4129# e) numeric keypad sends only numbers (compare with vttest).
4130# f) meta mode (km) is not implemented.
4131#
4132# Issues found with ncurses test-program:
4133# a) bce is inconsistently implemented
4134# b) widths of Unicode values above 256 do not always agree with wcwidth.
4135#
4136# Checked with vttest, found low degree of compatibility there.
4137#
4138# Checked with xterm's scripts, found that the 256-color palette is fixed.
4139#
4140# Fixes:
4141# a) add sgr string
4142# b) corrected sgr0 to reset alternate character set
4143# c) modified smacs/rmacs to use SCS rather than SI/SO
4144# d) removed bce
4145# e) removed km
4146# (sgr removed to fit entry within 1023 bytes)
4147# (acsc removed to fit entry within 1023 bytes)
4148# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4149terminator|Terminator no line wrap:\
4150	:eo:mi:ms:xn:xo:\
4151	:co#80:it#8:li#24:lm#0:\
4152	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
4153	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:cd=\E[J:\
4154	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4155	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4156	:ds=\E]2;\007:ei=\E[4l:fs=^G:ho=\E[H:i1=\E[?47l\E=\E[?1l:\
4157	:im=\E[4h:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
4158	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
4159	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
4160	:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:\
4161	:le=^H:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
4162	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4163	:te=\E[?47l\E8:ti=\E7\E[?47h:ts=\E]2;:ue=\E[24m:up=\E[A:\
4164	:us=\E[4m:vb=^G:ve=\E[?25h:vi=\E[?25l:
4165
4166######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
4167#
4168
4169# Columbus UNIX virtual terminal. This terminal also appears in
4170# UNIX 4.0 and successors as line discipline 1 (?), but is
4171# undocumented and does not really work quite right.
4172cbunix|cb unix virtual terminal:\
4173	:am:bs:da:db:\
4174	:co#80:li#24:lm#0:\
4175	:al=\EP:bl=^G:cd=\EL:ce=\EK:cl=\EL:cm=\EG%r%.%.:cr=^M:\
4176	:dc=\EM:dl=\EN:do=^J:ei=:ic=\EO:im=:kd=\EB:kh=\EE:kl=\ED:\
4177	:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eb^D:sf=^J:so=\Ea^D:\
4178	:ue=\Eb^A:up=\EA:us=\Ea^A:
4179# (vremote: removed obsolete ":nl@:" -- esr)
4180vremote|virtual remote terminal:\
4181	:am@:\
4182	:co#79:tc=cbunix:
4183
4184pty|4bsd pseudo teletype:\
4185	:cm=\EG%+ %+ :se=\Eb$:so=\Ea$:ue=\Eb!:us=\Ea!:tc=cbunix:
4186
4187# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
4188eterm|gnu emacs term.el terminal emulation:\
4189	:am:mi:xn:\
4190	:co#80:li#24:\
4191	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4192	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:\
4193	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4194	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
4195	:im=\E[4h:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:se=\E[m:\
4196	:sf=^J:so=\E[7m:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
4197	:ue=\E[m:up=\E[A:us=\E[4m:
4198
4199# The codes supported by the term.el terminal emulation in GNU Emacs 22.2
4200eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96:\
4201	:am:mi:ms:xn:\
4202	:Co#8:co#80:li#24:pa#64:\
4203	:@7=\E[4~:AB=\E[%+(m:AF=\E[%+^^m:AL=\E[%dL:DC=\E[%dP:\
4204	:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
4205	:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
4206	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:\
4207	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:kD=\E[3~:kI=\E[2~:\
4208	:kN=\E[6~:kP=\E[5~:kb=\177:kd=\EOB:kh=\E[1~:kl=\EOD:\
4209	:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
4210	:mr=\E[7m:nd=\E[C:op=\E[39;49m:r1=\Ec:rc=\E8:sc=\E7:\
4211	:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:ta=^I:u6=\E[%i%d;%dR:\
4212	:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:
4213
4214# Entries for use by the `screen' program by Juergen Weigert,
4215# Michael Schroeder, Oliver Laumann.  The screen and
4216# screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
4217# come from University of Wisconsin and may be older.
4218# (screen: added :ve: on ANSI model -- esr)
4219#
4220# 'screen' defines extensions to termcap.  Some are used in its terminal
4221# description:
4222#      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
4223#      AX   (bool)  Does  understand ANSI set default fg/bg color
4224#                   (\E[39m / \E[49m).
4225#      S0   (str)   Switch charset 'G0' to the specified charset.
4226#      E0   (str)   Switch charset 'G0' back to standard charset.
4227#
4228# tested with screen 3.09.08
4229screen|VT 100/ANSI X3.64 virtual terminal:\
4230	:am:bs:km:mi:ms:pt:xn:G0:\
4231	:Co#8:NC@:co#80:it#8:li#24:pa#64:U8#1:\
4232	:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
4233	:F1=\E[23~:F2=\E[24~:IC=\E[%d@:Km=\E[M:LE=\E[%dD:\
4234	:RI=\E[%dC:UP=\E[%dA:\
4235	:ac=++,,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
4236	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
4237	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4238	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=\E[4l:\
4239	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
4240	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
4241	:k;=\E[21~:kB=\E[Z:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
4242	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
4243	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
4244	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:rs=\Ec\E[?1000l\E[?25h:\
4245	:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
4246	:te=\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\EM:us=\E[4m:\
4247	:vb=\Eg:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[34l:E0=\E(B:\
4248	:S0=\E(%p1%c:tc=ecma+color:
4249# The bce and status-line entries are from screen 3.9.13 (and require some
4250# changes to .screenrc).
4251screen-bce|VT 100/ANSI X3.64 virtual terminal with bce:\
4252	:ut:\
4253	:ec@:tc=screen:
4254screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\
4255	:ds=\E_\E\\:fs=\E\\:ts=\E_:tc=screen:
4256
4257# ======================================================================
4258# Entries for GNU Screen with 16 colors.
4259# Those variations permit to benefit from 16 colors palette, and from
4260# bold font and blink attribute separated from bright colors. But they
4261# are less portable than the generic "screen" 8 color entries: Their
4262# usage makes real sense only if the terminals you attach and reattach
4263# do all support 16 color palette.
4264
4265screen-16color|GNU Screen with 16 colors:\
4266	:tc=ibm+16color:tc=screen:
4267
4268screen-16color-s|GNU Screen with 16 colors and status line:\
4269	:tc=ibm+16color:tc=screen-s:
4270
4271screen-16color-bce|GNU Screen with 16 colors and BCE:\
4272	:tc=ibm+16color:tc=screen-bce:
4273
4274screen-16color-bce-s|GNU Screen with 16 colors, BCE, and status line:\
4275	:ut:tc=ibm+16color:tc=screen-s:
4276
4277# ======================================================================
4278# Entries for GNU Screen 4.02 with --enable-colors256.
4279
4280screen-256color|GNU Screen with 256 colors:\
4281	:cc@:\
4282	:Ic@:tc=xterm+256color:tc=screen:
4283
4284screen-256color-s|GNU Screen with 256 colors and status line:\
4285	:cc@:\
4286	:Ic@:tc=xterm+256color:tc=screen-s:
4287
4288screen-256color-bce|GNU Screen with 256 colors and BCE:\
4289	:cc@:\
4290	:Ic@:tc=xterm+256color:tc=screen-bce:
4291
4292screen-256color-bce-s|GNU Screen with 256 colors, BCE, and status line:\
4293	:cc@:ut:\
4294	:Ic@:tc=xterm+256color:tc=screen-s:
4295
4296# ======================================================================
4297
4298# Read the fine manpage:
4299#       When  screen  tries  to  figure  out  a  terminal name for
4300#       itself, it first looks for an entry named "screen.<term>",
4301#       where  <term>  is the contents of your $TERM variable.  If
4302#       no such entry exists, screen tries "screen" (or "screen-w"
4303#       if the terminal is wide (132 cols or more)).  If even this
4304#       entry cannot be found, "vt100" is used as a substitute.
4305#
4306# Notwithstanding the manpage, screen uses its own notion of the termcap
4307# and some keys from "screen.<term>" are ignored.  Here is an entry which
4308# covers those (tested with screen 4.00.02) -TD
4309screen+fkeys|function-keys according to screen:\
4310	:*6@:@0@:@7=\E[4~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kh=\E[1~:
4311#
4312# Here are a few customized entries which are useful -TD
4313#
4314# Notes:
4315# (a)	screen does not support invis.
4316# (b)	screen's implementation of bw is incorrect according to tack.
4317# (c)	screen appears to hardcode the strings for khome/kend, making it
4318#	necessary to override the "use=" clause's values (screen+fkeys).
4319# (d)	screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
4320#	which is NOT the same as the terminfo screen.<term>.
4321# (e)	when screen finds one of these customized entries, it sets $TERM to
4322#	match.  Hence, no "screen.xterm" entry is provided, since that would
4323#	create heartburn for people running remote xterm's.
4324#
4325#	xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
4326#	since the default translations override the built-in keycode
4327#	translation.  They are suppressed here to show what is tested by tack.
4328screen.xterm-xfree86|screen.xterm-new|screen customized for modern xterm:\
4329	:bw:ut@:\
4330	:#3@:%c@:%e@:mk@:ml@:mu@:tc=screen+fkeys:tc=xterm-new:
4331# xterm-r6 does not really support khome/kend unless it is propped up by
4332# the translations resource.
4333screen.xterm-r6|screen customized for X11R6 xterm:\
4334	:bw:tc=screen+fkeys:tc=xterm-r6:
4335# Color applications running in screen and TeraTerm do not play well together
4336# on Solaris because Sun's curses implementation gets confused.
4337screen.teraterm|disable ncv in teraterm:\
4338	:NC#127:\
4339	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
4340	:tc=screen+fkeys:tc=screen:
4341# Other terminals
4342screen.rxvt|screen in rxvt:\
4343	:bw:XT:\
4344	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:vb@:vs@:tc=screen+fkeys:\
4345	:tc=vt100+enq:tc=rxvt+pcfkeys:tc=vt220+keypad:tc=screen:
4346screen.Eterm|screen in Eterm:\
4347	:tc=screen+fkeys:tc=Eterm:
4348screen.mrxvt|screen in mrxvt:\
4349	:tc=screen+fkeys:tc=mrxvt:
4350screen.vte|screen in any VTE-based terminal:\
4351	:tc=screen+fkeys:tc=vte:
4352screen.gnome|screen in GNOME Terminal:\
4353	:tc=screen+fkeys:tc=gnome:
4354screen.konsole|screen in KDE console window:\
4355	:tc=screen+fkeys:tc=konsole:
4356# fix the backspace key
4357screen.linux|screen in linux console:\
4358	:bw:\
4359	:kB@:kb=\177:tc=screen+fkeys:tc=screen:
4360screen.mlterm|screen in mlterm:\
4361	:tc=screen+fkeys:tc=mlterm:
4362
4363# The default "screen" entry is reasonably portable, but not optimal for the
4364# most widely-used terminal emulators.  The "bce" capability is supported in
4365# screen since 3.9.13, and when used, will require fewer characters to be sent
4366# to the terminal for updates.
4367#
4368# If you are using only terminals which support bce, then you can use this
4369# feature in your screen configuration.
4370#
4371# Adding these lines to your ".screenrc" file will allow using these customized
4372# entries:
4373#	term screen-bce
4374#	bce on
4375#	defbce on
4376screen-bce.xterm-new|screen optimized for modern xterm:\
4377	:ut:\
4378	:ec@:tc=screen.xterm-new:
4379screen-bce.rxvt|screen optimized for rxvt:\
4380	:ut:\
4381	:ec@:tc=screen.rxvt:
4382screen-bce.Eterm|screen optimized for Eterm:\
4383	:ut:\
4384	:ec@:tc=screen.Eterm:
4385screen-bce.mrxvt|screen optimized for mrxvt:\
4386	:ut:\
4387	:ec@:tc=screen.mrxvt:
4388screen-bce.gnome|screen optimized for GNOME-Terminal:\
4389	:ut:\
4390	:ec@:tc=screen.gnome:
4391screen-bce.konsole|screen optimized for KDE console window:\
4392	:ut:\
4393	:ec@:tc=screen.konsole:
4394screen-bce.linux|screen optimized for linux console:\
4395	:ut:\
4396	:ec@:tc=screen.linux:
4397screen-bce.mlterm|screen optimized for mlterm:\
4398	:ut:\
4399	:ec@:tc=screen.mlterm:
4400
4401screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
4402	:co#132:tc=screen:
4403
4404screen2|old VT 100/ANSI X3.64 virtual terminal:\
4405	:co#80:it#8:li#24:\
4406	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4407	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:\
4408	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
4409	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ic=:im=\E[4h:k0=\E~:\
4410	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
4411	:k9=\E0I:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
4412	:me=\E[m:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[23m:\
4413	:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:\
4414	:us=\E[4m:
4415# (screen3: removed unknown ":xv:LP:G0:" -- esr)
4416screen3|older VT 100/ANSI X3.64 virtual terminal:\
4417	:km:mi:ms:\
4418	:co#80:it#8:li#24:\
4419	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4420	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
4421	:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
4422	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
4423	:ho=\E[H:im=\E[4h:is=\E)0:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
4424	:kb=^H:kd=\EOB:ke=\E>:kl=\EOD:kr=\EOC:ks=\E=:ku=\EOA:le=^H:\
4425	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:r1=\Ec:\
4426	:rc=\E8:sc=\E7:se=\E[23m:sf=^J:so=\E[3m:sr=\EM:st=\EH:ta=^I:\
4427	:ue=\E[24m:up=\EM:us=\E[4m:
4428
4429# Francesco Potorti <F.Potorti@cnuce.cnr.it>:
4430# NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
4431# been maintained until recently by the National Center for Supercomputer
4432# Applications, and it is feature rich, stable and free.  It can be downloaded
4433# from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
4434# xterm+sl, and the docs at NCSA.  It works well.
4435#
4436# NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
4437# The terminal options should be set as follows:
4438#         Xterm sequences ON
4439#         use VT wrap mode ON
4440#         use Emacs arrow keys OFF
4441#         CTRL-COMND is Emacs meta ON
4442#         8 bit mode ON
4443#         answerback string: "ncsa-vt220-8"
4444#         setup keys: all disabled
4445#
4446# Application mode is not used.
4447#
4448# Other special mappings:
4449#	Apple		VT220
4450#	HELP 		Find
4451#	HOME		Insert here
4452#	PAGEUP		Remove
4453#	DEL		Select
4454#	END		Prev Screen
4455#	PAGEDOWN	Next Screen
4456#
4457# Though it supports ANSI color, NCSA Telnet uses color to represent blinking
4458# text.
4459#
4460# The status-line manipulation is a mapping of the xterm-compatible control
4461# sequences for setting the window-title.  So you must use tsl and fsl in
4462# pairs, since the latter ends the string that is loaded to the window-title.
4463# (sgr removed to fit entry within 1023 bytes)
4464# (acsc removed to fit entry within 1023 bytes)
4465# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
4466ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
4467	:am:hs:km:mi:ms:xn:\
4468	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
4469	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:\
4470	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4471	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
4472	:ds=\E]0;\007:ei=\E[4l:fs=^G:ho=\E[H:\
4473	:if=/usr/share/tabset/vt100:im=\E[4h:\
4474	:is=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>:k1=\E[17~:\
4475	:k2=\E[18:k3=\E[19~:k4=\E[20~:k5=\E[21~:k6=\E[23~:\
4476	:k7=\E[24~:k8=\E[25~:k9=\E[26~:kD=\E[4~:kN=\E[6~:kP=\E[3~:\
4477	:kb=^H:kd=\E[B:kh=\E[2~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
4478	:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:rc=\E8:\
4479	:rs=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>:sc=\E7:\
4480	:se=\E[27m:sf=150*\n:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
4481	:te=\E[2J\E8:ti=\E7:ts=\E]0;:ue=\E[24m:up=\E[A:us=\E[4m:\
4482	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ansi+enq:
4483ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
4484	:tc=ncsa-m:tc=klone+color:
4485ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode:\
4486	:hs@:\
4487	:ds@:fs@:ts@:tc=ncsa:
4488ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode:\
4489	:hs@:\
4490	:ds@:fs@:ts@:tc=ncsa-m:
4491# alternate -TD:
4492# The documented function-key mapping refers to the Apple Extended Keyboard
4493# (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
4494# codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
4495# some keyboards and many applications require these as F1-F4.
4496#
4497ncsa-vt220|NCSA Telnet using vt220-compatible function keys:\
4498	:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
4499	:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
4500	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
4501	:k8=\E[19~:k9=\E[20~:k;=\E[21~:tc=ncsa:
4502
4503#### Pilot Pro Palm-Top
4504#
4505# Termcap for Top Gun Telnet and SSH on the Palm Pilot.
4506# http://www.ai/~iang/TGssh/
4507pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional:\
4508	:am:bs:xn:\
4509	:co#39:li#16:\
4510	:bl=^G:cl=\Ec:cm=\Em%+ %+ :cr=^M:do=^J:ho=\Em\040\040:\
4511	:kN=^L:kP=^K:kb=^H:kd=^J:kl=^H:le=^H:nw=\Em~\040:se=\EB:\
4512	:sf=^J:so=\Eb:ta=^I:
4513
4514# From: Federico Bianchi <bianchi@www.arte.unipi.it>
4515# These entries are for the Embeddable Linux Kernel System (ELKS)
4516# project - an heavily stripped down Linux to be run on 16 bit
4517# boxes or, eventually, to be used in embedded systems - and have been
4518# adapted from the stock ELKS termcap. The project itself looks stalled,
4519# and the latest improvements I know of date back to March 2000.
4520#
4521# To cope with the ELKS dumb console I added an "elks-glasstty" entry;
4522# as an added bonus, this deals with all the capabilities common to
4523# both VT52 and ANSI (or, eventually, "special") modes.
4524
4525elks-glasstty|ELKS glass-TTY capabilities:\
4526	:am:bs:\
4527	:co#80:it#8:li#25:\
4528	:bl=^G:cr=^M:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:
4529
4530elks-vt52|ELKS vt52 console:\
4531	:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:ho=\EH:le=\ED:nd=\EC:\
4532	:up=\EA:tc=elks-glasstty:
4533
4534elks-ansi|ELKS ANSI console:\
4535	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
4536	:le=\E[D:nd=\E[C:se=\E[m:so=\E[7m:up=\E[A:\
4537	:tc=elks-glasstty:
4538
4539# As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
4540# instead of VT52, but the "elks" entry still refers to the latter.
4541
4542elks|default ELKS console:\
4543	:tc=elks-vt52:
4544
4545# Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
4546# one but in screen size
4547
4548sibo|ELKS SIBO console:\
4549	:co#61:it#8:li#20:tc=elks-vt52:
4550
4551######## COMMERCIAL WORKSTATION CONSOLES
4552#
4553
4554#### Alpha consoles
4555#
4556
4557# This is from the OSF/1 Release 1.0 termcap file
4558pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation:\
4559	:am:xo:\
4560	:co#80:li#25:\
4561	:al=\E[L:bl=^G:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4562	:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:\
4563	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
4564	:nd=\E[C:nw=^M^J:se=\E[m:so=\E[7m:ta=^I:up=\E[A:
4565
4566#### Sun consoles
4567#
4568
4569# :is1: resets scrolling region in case a previous user had used "tset vt100"
4570oldsun|Sun Microsystems Workstation console:\
4571	:am:bs:km:mi:ms:\
4572	:co#80:it#8:li#34:\
4573	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:bl=^G:\
4574	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
4575	:dl=\E[M:do=\E[B:ei=:i1=\E[1r:ic=\E[@:im=:k1=\EOP:k2=\EOQ:\
4576	:k3=\EOR:k4=\EOS:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
4577	:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:up=\E[A:
4578# From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
4579# :li: capability later corrected by J.T. Conklin <jtc@cygnus.com>
4580# SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
4581sun-il|Sun Microsystems console with working insert-line:\
4582	:am:km:ms:\
4583	:co#80:li#34:\
4584	:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
4585	:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
4586	:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
4587	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
4588	:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
4589	:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
4590	:kD=\177:kI=\E[247z:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:\
4591	:kh=\E[214z:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:\
4592	:nd=\E[C:rs=\E[s:se=\E[m:sf=^J:so=\E[7m:ta=^I:u8=\E[1t:\
4593	:u9=\E[11t:ue@:up=\E[A:
4594# On some versions of CGSIX framebuffer firmware (SparcStation 5), :al:/:AL:
4595# flake out on the last line.  Unfortunately, without them the terminal has no
4596# way to scroll.
4597sun-cgsix|sun-ss5|Sun SparcStation 5 console:\
4598	:AL@:al@:tc=sun-il:
4599# If you are using an SS5, change the sun definition to use sun-ss5.
4600sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
4601	:tc=sun-il:
4602
4603# From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
4604sun-s|Sun Microsystems Workstation window with status line:\
4605	:hs:\
4606	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun:
4607sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\
4608	:hs:\
4609	:ds=\E]l\E\\:fs=\E\\:ts=\E]l:tc=sun-e:
4610sun-48|Sun 48-line window:\
4611	:co#80:li#48:tc=sun:
4612sun-34|Sun 34-line window:\
4613	:co#80:li#34:tc=sun:
4614sun-24|Sun 24-line window:\
4615	:co#80:li#24:tc=sun:
4616sun-17|Sun 17-line window:\
4617	:co#80:li#17:tc=sun:
4618sun-12|Sun 12-line window:\
4619	:co#80:li#12:tc=sun:
4620sun-1|Sun 1-line window for sysline:\
4621	:es:hs:\
4622	:co#80:li#1:\
4623	:ds=^L:fs=\E[K:ts=^M:tc=sun:
4624sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\
4625	:ei@:ic@:im@:tc=sun:
4626sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history:\
4627	:li#35:\
4628	:te=\E[>4h:ti=\E[>4l:tc=sun:
4629sun-type4|Sun Workstation console with type 4 keyboard:\
4630	:kd=\E[221z:kl=\E[217z:kr=\E[219z:ku=\E[215z:tc=sun-il:
4631
4632# Most of the current references to sun-color are from users wondering why this
4633# is the default on install.  Details from reading the wscons manpage, adding
4634# cub, etc., here (rather than in the base sun-il entry) since it is not clear
4635# when those were added -TD (2005-05-28)
4636#
4637# According to wscons manpage, color is supported only on IA systems.
4638# Sun's terminfo entry documents bold and smul/rmul capabilities, but wscons
4639# does not list these.  It also sets ncv#3, however that corresponds to
4640# underline and standout.
4641#
4642# Since the documentation and terminfo do not agree, see also current code at
4643# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/tem_safe.c
4644#
4645# That (actually a different driver which "supports" sun-color) also supports
4646# these features:
4647#	vpa=\E[%i%p1%dd
4648#	hpa=\E[%i%p1%d`
4649#	cbt=\E[Z
4650#	dim=\E[2m
4651#	blink=\E[5m
4652# It supports bold, but not underline -TD (2009-09-19)
4653sun-color|Sun Microsystems Workstation console with color support (IA systems):\
4654	:Co#8:NC#3:pa#64:\
4655	:AB=\E[4%dm:AF=\E[3%dm:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
4656	:UP=\E[%dA:ho=\E[H:op=\E[0m:so=\E[1m:tc=sun:
4657
4658#### Iris consoles
4659#
4660
4661# (wsiris: this had extension capabilities
4662#	:HS=\E7F2:HE=\E7F7:\
4663#	:CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
4664# See the note on Iris extensions near the end of this file.
4665# Finally, removed suboptimal :cl:=\EH\EJ and added :do: &
4666# :vb: from BRL -- esr)
4667wsiris|iris40|iris emulating a 40 line visual 50 (approximately):\
4668	:am:bs:nc:pt:\
4669	:co#80:it#8:kn#3:li#40:\
4670	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :dl=\EM:\
4671	:do=\EB:ho=\EH:is=\E7B0\E7F7\E7C2\E7R3:k0=\E0:k1=\E1:\
4672	:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:\
4673	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E7F7:mh=\E7F2:nd=\EC:\
4674	:nl=\EB:se=\E0@:sf=^J:so=\E9P:sr=\EI:ta=^I:ue=\E7R3\E0@:\
4675	:up=\EA:us=\E7R2\E9P:vb=\E7F4\E7B1\013\E7F7\E7B0:ve=\E>:\
4676	:vs=\E;:
4677
4678#### NeWS consoles
4679#
4680# Console terminal windows under the NeWS (Sun's Display Postscript windowing
4681# environment).   Note: these have nothing to do with Sony's News workstation
4682# line.
4683#
4684
4685# Entry for NeWS's psterm from Eric Messick & Hugh Daniel
4686# (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
4687psterm|psterm-basic|NeWS psterm-80x34:\
4688	:am:bs:hs:km:ul:\
4689	:co#80:it#8:li#34:\
4690	:al=\EA:cd=\EB:ce=\EC:cl=^L:cm=\E%d;%d;:cs=\EE%d;%d;:\
4691	:dc=\EF:dl=\EK:do=\EP:ei=\ENi:fs=\ENl:ho=\ER:i1=\EN*:\
4692	:im=\EOi:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\ET:ll=\EU:\
4693	:mb=\EOb:md=\EOd:me=\EN*:mr=\EOr:nd=\EV:rc=^\:sc=^]:se=\ENo:\
4694	:sf=\EW:so=\EOo:sr=\EX:ta=^I:te=\ENt:ti=\EOt:ts=\EOl:\
4695	:ue=\ENu:up=\EY:us=\EOu:vb=\EZ:
4696psterm-96x48|NeWS psterm 96x48:\
4697	:co#96:li#48:tc=psterm:
4698psterm-90x28|NeWS psterm 90x28:\
4699	:co#90:li#28:tc=psterm:
4700psterm-80x24|NeWS psterm 80x24:\
4701	:co#80:li#24:tc=psterm:
4702# This is a faster termcap for psterm.  Warning:  if you use this termcap,
4703# some control characters you type will do strange things to the screen.
4704# (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
4705psterm-fast|NeWS psterm fast version (flaky ctrl chars):\
4706	:am:bs:hs:km:ul:\
4707	:co#80:it#8:li#34:\
4708	:al=^A:cd=^B:ce=^C:cl=^L:cm=\004%d;%d;:cs=\005%d;%d;:dc=^F:\
4709	:dl=^K:do=^P:ei=^Ni:fs=^Nl:ho=^R:i1=^N*:im=^Oi:kd=\E[B:\
4710	:kl=\E[D:kr=\E[C:ku=\E[A:le=^T:ll=^U:mb=^Ob:md=^Od:me=^N*:\
4711	:mr=^Or:nd=^V:rc=^\:sc=^]:se=^No:sf=^W:so=^Oo:sr=^X:ta=^I:\
4712	:te=^Nt:ti=^Ot:ts=^Ol:ue=^Nu:up=^Y:us=^Ou:vb=^Z:
4713
4714#### NeXT consoles
4715#
4716# Use `glasstty' for the Workspace application
4717#
4718
4719# From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
4720next|NeXT console:\
4721	:am:xt:\
4722	:co#80:it#8:li#24:\
4723	:bl=^G:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:cr=^M:do=^J:ho=\E[H:\
4724	:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:nd=\E[C:nw=^M^J:se=\E[4;1m:\
4725	:sf=^J:so=\E[4;2m:ta=^I:up=\E[A:
4726nextshell|NeXT Shell application:\
4727	:am:\
4728	:co#80:\
4729	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
4730
4731#### Sony NEWS workstations
4732#
4733
4734# (news-unk: this had :KB=news: -- esr)
4735news-unk|SONY NEWS vt100 emulator common entry:\
4736	:am:bs:pt:xn:\
4737	:co#80:\
4738	:AL=\E[%dL:DL=\E[%dM:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
4739	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4740	:dl=\E[M:do=^J:ho=\E[H:if=/usr/share/tabset/vt100:\
4741	:is=\E[?7h\E[?1l\E[?3l\E7\E8:k0=\EOY:k1=\EOP:k2=\EOQ:\
4742	:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
4743	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
4744	:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
4745	:nl=^J:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r:\
4746	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
4747	:us=\E[4m:
4748#
4749# (news-29: this had :TY=ascii: --esr)
4750news-29:\
4751	:li#29:tc=news-unk:
4752# (news-29-euc: this had :TY=euc: --esr)
4753news-29-euc:\
4754	:tc=news-29:
4755# (news-29-sjis: this had :TY=sjis: --esr)
4756news-29-sjis:\
4757	:tc=news-29:
4758#
4759# (news-33: this had :TY=ascii: --esr)
4760news-33:\
4761	:li#33:tc=news-unk:
4762# (news-33-euc: this had :TY=euc: --esr)
4763news-33-euc:\
4764	:tc=news-33:
4765# (news-33-sjis: this had :TY=sjis: --esr)
4766news-33-sjis:\
4767	:tc=news-33:
4768#
4769# (news-42: this had :TY=ascii: --esr)
4770news-42:\
4771	:li#42:tc=news-unk:
4772# (news-42-euc: this had :TY=euc: --esr)
4773news-42-euc:\
4774	:tc=news-42:
4775# (news-42-sjis: this had :TY=sjis: --esr)
4776news-42-sjis:\
4777	:tc=news-42:
4778#
4779#	NEWS-OS old termcap entry
4780#
4781# (news-old-unk: this had :KB=news:TY=sjis: --esr)
4782news-old-unk|SONY NEWS vt100 emulator common entry:\
4783	:am:bs:pt:xn:\
4784	:co#80:vt#3:\
4785	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
4786	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
4787	:if=/usr/share/tabset/vt100:k1=\EOP:k2=\EOQ:k3=\EOR:\
4788	:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
4789	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
4790	:mr=\E[7m:nd=\E[C:nl=^J:rc=\E8:\
4791	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
4792	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
4793#
4794# (nwp512: this had :DE=^H:, which I think means :bs: --esr)
4795nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
4796	:bs:\
4797	:li#40:\
4798	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
4799	:tc=news-old-unk:
4800#
4801# (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4802nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line:\
4803	:li#42:\
4804	:is=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8:tc=news-old-unk:
4805#
4806# (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as :bs:. --esr)
4807nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
4808	:bs:\
4809	:li#40:\
4810	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8:\
4811	:tc=news-old-unk:
4812#
4813# (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4814nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines:\
4815	:bs:\
4816	:li#31:\
4817	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
4818	:tc=news-old-unk:
4819#
4820# (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as :bs:; --esr)
4821# also the alias vt100-bm.
4822nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines:\
4823	:bs:\
4824	:li#33:\
4825	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8:\
4826	:tc=news-old-unk:
4827#
4828# (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
4829nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines:\
4830	:bs:\
4831	:li#31:\
4832	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8:\
4833	:tc=news-old-unk:
4834#
4835# (news28: this had :DE=^H:, I think that's :bs:, and :KB=nws1200: --esr)
4836news28|sony vt100 emulator 28 lines:\
4837	:bs:\
4838	:li#28:\
4839	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8:\
4840	:tc=news-old-unk:
4841#
4842# (news29: this had :TY=ascii:KB=nws1200:\ --esr)
4843news29|news28-a|sony vt100 emulator 29 lines:\
4844	:li#29:\
4845	:is=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8:\
4846	:tc=news-old-unk:
4847#
4848# (news511: this had :TY=sjis: --esr)
4849nwp511|nwp-511|nwp-511 vt100:\
4850	:am:bs:pt:xn:\
4851	:co#80:li#24:\
4852	:al=\E[L:cd=30\E[J:ce=3\E[K:cl=20\E[;H\E[2J:\
4853	:cm=\E[%i%d;%dH:dl=\E[M:do=\E[B:\
4854	:is=\E[?5l\E[?1l\E>\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:k3=\EOR:\
4855	:k4=\EOS:k5=\EOT:k6=\E#W:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
4856	:ku=\E[A:le=\E[D:nd=\E[C:\
4857	:rs=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h:se=2\E[m:\
4858	:so=2\E[7m:sr=5\EM:ue=2\E[m:up=2\E[A:us=2\E[4m:\
4859	:vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:
4860# (news517: this had :TY=sjis:. --esr)
4861nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows:\
4862	:es:hs:\
4863	:co#80:li#30:\
4864	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
4865	:is=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
4866	:ts=\E[1$}\E[;%df:tc=vt200:
4867# (news517-w: this had :TY=sjis:. --esr)
4868nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows:\
4869	:es:hs:\
4870	:co#132:li#50:\
4871	:ds=\E[1$~:fs=\E[0$}:i2=\E[2$~\n:\
4872	:is=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
4873	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
4874	:ts=\E[1$}\E[;%df:tc=vt200:
4875
4876#### Common Desktop Environment
4877#
4878
4879# This ships with Sun's CDE in Solaris 2.5
4880# Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
4881dtterm|CDE desktop terminal:\
4882	:am:mi:ms:xn:xo:\
4883	:NC@:co#80:it#8:li#24:lm#0:\
4884	:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:\
4885	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
4886	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
4887	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:\
4888	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
4889	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
4890	:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
4891	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
4892	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ec=\E[%dX:\
4893	:ei=\E[4l:ho=\E[H:im=\E[4h:\
4894	:is=\E F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:\
4895	:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
4896	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
4897	:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
4898	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
4899	:nd=\E[C:nw=\EE:rc=\E8:sc=\E7:se=\E[22;27m:sf=\ED:\
4900	:so=\E[2;7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
4901	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:tc=ecma+color:
4902
4903#### Non-Unix Consoles
4904#
4905
4906#### EMX termcap.dat compatibility modes
4907#
4908# Also (possibly only EMX, so we don't put it in ansi.sys, etc): set the
4909# no_color_video to inform the application that standout(1), underline(2)
4910# reverse(4) and invisible(64) don't work with color.
4911emx-base|DOS special keys:\
4912	:bw:ut:\
4913	:NC#71:it#8:\
4914	:bl=^G:tc=ansi.sys:
4915
4916# Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
4917# a Unix-style environment used on OS/2.  (Note that the suffix makes some
4918# names longer than 14 characters, the nominal maximum).
4919#
4920# Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
4921ansi-emx|ANSI.SYS color:\
4922	:am:eo:mi:ms:ut:xo:\
4923	:Co#8:co#80:it#8:li#25:pa#64:\
4924	:&7=^Z:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dp:IC=\E[%d@:K2=\E[G:\
4925	:S2=\E[11m:S3=\E[10m:bl=^G:cd=\E[J:ce=\E[K:\
4926	:cl=\E[1;33;44m\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
4927	:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k0=\200D:kH=\200O:\
4928	:kb=^H:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m\E[1;33;44m:\
4929	:mr=\E[5;37;41m:nd=\E[C:nw=^M^J:r1=\Ec:\
4930	:se=\E[0;44m\E[1;33m:sf=^J:so=\E[0;31;47m:st=\EH:ta=^I:\
4931	:u8=\E[?6c:u9=\E[c:ue=\E[0;44m\E[1;33m:up=\E[A:\
4932	:us=\E[1;31;44m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
4933	:tc=emx-base:
4934# nice colors for Emacs (white on blue, mode line white on cyan)
4935ansi-color-2-emx|ANSI.SYS color 2:\
4936	:AF=\E[3%dm:cl=\E[0;37;44m\E[H\E[J:me=\E[0;37;44m:\
4937	:mr=\E[1;37;46m:r1=\Ec:se=\E[0;37;44m:so=\E[1;37;46m:\
4938	:ue=\E[0;37;44m:us=\E[1;36;44m:tc=ansi-emx:
4939# nice colors for Emacs (white on black, mode line black on cyan)
4940ansi-color-3-emx|ANSI.SYS color 3:\
4941	:AF=\E[3%dm:cl=\E[0;37;40m\E[H\E[J:me=\E[0;10m:\
4942	:mr=\E[1;37;46m:r1=\Ec:se=\E[0;37;40m:so=\E[1;37;46m:\
4943	:ue=\E[0;37;40m:us=\E[0;36;40m:tc=ansi-emx:
4944mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\
4945	:am:\
4946	:co#80:it#8:li#24:\
4947	:K2=\E[G:ce=\E[K:cl=50\E[H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
4948	:ho=\E[H:k0=\200D:k1=\200;:k2=\200<:k3=\200=:k4=\200>:\
4949	:k5=\200?:k6=\200@:k7=\200A:k8=\200B:k9=\200C:kH=\200O:\
4950	:kI=\200R:kN=\200Q:kP=\200I:kb=^H:kd=\200P:kh=\200G:\
4951	:kl=\200K:kr=\200M:ku=\200H:le=\E[D:me=\E[0m:mr=\E[7m:\
4952	:nd=\E[C:nw=^M^J:ta=^I:up=\E[A:
4953
4954# Use this for cygwin32 (tested with beta 19.1)
4955# underline is colored bright magenta
4956# shifted kf1-kf12 are kf11-kf22
4957cygwinB19|ansi emulation for cygwin32:\
4958	:@7=\E[4~:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
4959	:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
4960	:FA=\E[34~:RA@:SA@:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:\
4961	:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
4962	:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:\
4963	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:tc=ansi.sys:
4964
4965# Use this for cygwin (tested with version 1.1.0).
4966# I've combined pcansi and linux.  Some values of course were different and
4967# I've indicated which of these were and which I used.
4968# Cheers, earnie_boyd@yahoo.com
4969# several changes based on running with tack and comparing with older entry -TD
4970# more changes from csw:
4971#   add    cbt   [backtab]
4972#   remove eo    [erase overstrike with blank]
4973#   change clear was \E[H\E[J  now \E[2J  (faster?)
4974#   remove cols
4975#   remove lines
4976#   remove ncv#3 [colors collide with highlights, bitmask] not applicable
4977#                to MSDOS box?
4978#   add    cub   [cursor back param]
4979#   add    cuf   [cursor forward param]
4980#   add    cuu   [cursor up param]
4981#   add    cud   [cursor down param]
4982#   add    hs    [has status line]
4983#   add    fsl   [return from status line]
4984#   add    tsl   [go to status line]
4985#   add    smacs [Start alt charset] (not sure if this works)
4986#   add    rmacs [End alt charset]   (ditto)
4987#   add    smcup [enter_ca_mode] (save console; thanks Corinna)
4988#   add    rmcup [exit_ca_mode]  (restore console; thanks Corinna)
4989#   add    kb2   [center of keypad]
4990#   add    u8    [user string 8] \E[?6c
4991#   add    el    [clear to end of line] \E[K
4992# Notes:
4993#   cnorm [make cursor normal] not implemented
4994#   flash [flash] not implemented
4995#   blink [blink] not implemented very usefully in cygwin? \E[5m
4996#   dim   [dim] not implemented very usefully in cygwin? \E[2m
4997#   cub1  [cursor back 1] typically \E[D, but ^H is faster?
4998#   kNXT  [shifted next key] not implemented
4999#   kPRV  [shifted prev key] not implemented
5000#   khome [home key] really is \E[1~ NOT \E[H
5001#   tbc   [clear tab stops] not implemented
5002#   xenl  [newline ignnored after 80 cols] messes up last line? Ehud Karni
5003#   smpch [Start PC charset] is \E[11m, same as smacs
5004#   rmpch [End PC charset] is \E[10m, same as rmacs
5005#   mir   [move in insert mode] fails in tack?
5006#   bce   [back color erase] causes problems with change background color?
5007#   cvvis [make cursor very visible] causes a stackdump when testing with
5008#         testcurs using the output option? \E[?25h\E[?8c
5009#   civis [make cursor invisible] causes everything to stackdump? \E[?25l\E[?1c
5010#   ech   [erase characters param] broken \E[%p1%dX
5011#   kcbt  [back-tab key] not implemented in cygwin?  \E[Z
5012#
5013# 2005/11/12 -TD
5014#	Remove cbt since it does not work in current cygwin
5015#	Add 'mir' and 'in' flags based on tack
5016# (sgr removed to fit entry within 1023 bytes)
5017# (rmacs/smacs removed for consistency)
5018# (acsc removed to fit entry within 1023 bytes)
5019cygwin|ansi emulation for Cygwin:\
5020	:am:hs:mi:ms:xo:\
5021	:Co#8:it#8:pa#64:\
5022	:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
5023	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
5024	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:\
5025	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:LE=\E[%dD:\
5026	:RI=\E[%dC:S2=\E[11m:S3=\E[10m:UP=\E[%dA:al=\E[L:bl=^G:\
5027	:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
5028	:cm=\E[%i%d;%dH:cr=^M:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:\
5029	:ei=\E[4l:fs=^G:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:\
5030	:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
5031	:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
5032	:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
5033	:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
5034	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
5035	:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
5036	:ts=\E];:ue=\E[24m:up=\E[A:us=\E[4m:tc=vt102+enq:
5037
5038# I've supplied this so that you can help test new values and add other
5039# features.  Cheers, earnie_boyd@yahoo.com.
5040#
5041# Some features are from pcansi.  The op value is from linux.  Function-keys
5042# are from linux.  These have been tested not to cause problems.  xenl was in
5043# this list, but DOES cause problems so it has been removed
5044# (sgr removed to fit entry within 1023 bytes)
5045# (rmacs/smacs removed for consistency)
5046# (acsc removed to fit entry within 1023 bytes)
5047cygwinDBG|Debug Version for Cygwin:\
5048	:am:eo:mi:ms:xo:\
5049	:Co#8:NC#3:co#80:it#8:li#24:pa#64:\
5050	:%c=\E[6$:%e=\E[5$:&7=^Z:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:\
5051	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
5052	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
5053	:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:\
5054	:K2=\E[G:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
5055	:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[J:\
5056	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:\
5057	:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
5058	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
5059	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kD=\E[3~:\
5060	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
5061	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0m:\
5062	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[39;49m:\
5063	:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
5064	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l:\
5065	:ve=\E[?25h:tc=vt102+enq:
5066
5067# Key definitions:
5068# The encodings for unshifted arrow keys, F1-F12, Home, Insert, etc.  match the
5069# encodings used by other x86 environments.  All others are invented for DJGPP.
5070# Oddly enough, while several combinations of modifiers are tabulated, there is
5071# none for shifted cursor keys.
5072#
5073#	F1			\E[[A
5074#	F2			\E[[B
5075#	F3			\E[[C
5076#	F4			\E[[D
5077#	F5			\E[[E
5078#	F6			\E[17~
5079#	F7			\E[18~
5080#	F8			\E[19~
5081#	F9			\E[20~
5082#	F10			\E[21~
5083#	F11			\E[23~
5084#	F12			\E[24~
5085#
5086#	Delete			\E[3~
5087#	Down Arrow		\E[B
5088#	End			\E[4~
5089#	Home			\E[1~
5090#	Insert			\E[2~
5091#	Left Arrow		\E[D
5092#	Page Down		\E[6~
5093#	Page Up			\E[5~
5094#	Right Arrow		\E[C
5095#	Up Arrow		\E[A
5096#
5097#	Shift-F1		\E[25~
5098#	Shift-F2		\E[26~
5099#	Shift-F3		\E[27~
5100#	Shift-F4		\E[28~
5101#	Shift-F5		\E[29~
5102#	Shift-F6		\E[30~
5103#	Shift-F7		\E[31~
5104#	Shift-F8		\E[32~
5105#	Shift-F9		\E[33~
5106#	Shift-F10		\E[34~
5107#	Shift-F11		\E[35~
5108#	Shift-F12		\E[36~
5109#
5110#	Ctrl-F1			\E[47~
5111#	Ctrl-F2			\E[48~
5112#	Ctrl-F3			\E[49~
5113#	Ctrl-F4			\E[50~
5114#	Ctrl-F5			\E[51~
5115#	Ctrl-F6			\E[52~
5116#	Ctrl-F7			\E[53~
5117#	Ctrl-F8			\E[54~
5118#	Ctrl-F9			\E[55~
5119#	Ctrl-F10		\E[56~
5120#	Ctrl-F11		\E[57~
5121#	Ctrl-F12		\E[58~
5122#
5123#	Ctrl-Delete		\E[43~
5124#	Ctrl-Down Arrow		\E[38~
5125#	Ctrl-End		\E[44~
5126#	Ctrl-Home		\E[41~
5127#	Ctrl-Insert		\E[42~
5128#	Ctrl-Left Arrow		\E[39~
5129#	Ctrl-Page Down		\E[46~
5130#	Ctrl-Page Up		\E[45~
5131#	Ctrl-Right Arrow	\E[40~
5132#	Ctrl-Up Arrow		\E[37~
5133#
5134#	Alt-F1			\E[59~
5135#	Alt-F2			\E[60~
5136#	Alt-F3			\E[61~
5137#	Alt-F4			\E[62~
5138#	Alt-F5			\E[63~
5139#	Alt-F6			\E[64~
5140#	Alt-F7			\E[65~
5141#	Alt-F8			\E[66~
5142#	Alt-F9			\E[67~
5143#	Alt-F10			\E[68~
5144#	Alt-F11			\E[79~
5145#	Alt-F12			\E[80~
5146#
5147#	Alt-Delete		\E[65~
5148#	Alt-Down Arrow		\E[60~
5149#	Alt-End			\E[66~
5150#	Alt-Home		\E[41~
5151#	Alt-Insert		\E[64~
5152#	Alt-Left Arrow		\E[61~
5153#	Alt-Page Down		\E[68~
5154#	Alt-Page Up		\E[67~
5155#	Alt-Right Arrow		\E[62~
5156#	Alt-Up Arrow		\E[59~
5157#
5158# Also:
5159#	Alt-A			\E[82~
5160#	Alt-B			\E[82~
5161#	Alt-C			\E[83~
5162#	Alt-D			\E[84~
5163#	Alt-E			\E[85~
5164#	Alt-F			\E[86~
5165#	Alt-G			\E[87~
5166#	Alt-H			\E[88~
5167#	Alt-I			\E[89~
5168#	Alt-J			\E[90~
5169#	Alt-K			\E[91~
5170#	Alt-L			\E[92~
5171#	Alt-M			\E[93~
5172#	Alt-N			\E[94~
5173#	Alt-O			\E[95~
5174#	Alt-P			\E[96~
5175#	Alt-Q			\E[97~
5176#	Alt-R			\E[98~
5177#	Alt-S			\E[99~
5178#	Alt-T			\E[100~
5179#	Alt-U			\E[101~
5180#	Alt-V			\E[102~
5181#	Alt-W			\E[103~
5182#	Alt-X			\E[104~
5183#	Alt-Y			\E[105~
5184#	Alt-Z			\E[106~
5185djgpp|ansi emulation for DJGPP alpha:\
5186	:am:ms:ut:xo:xs:xt:\
5187	:Co#8:it#8:pa#64:\
5188	:@7=\E[4~:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:\
5189	:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:IC=\E[%d@:\
5190	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
5191	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
5192	:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
5193	:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
5194	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:\
5195	:ic=\E[@:im=:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
5196	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
5197	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
5198	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
5199	:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:\
5200	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:us=\E[4m:\
5201	:ve=\E[v:vi=\E[1v:vs=\E[2v:
5202
5203djgpp203|Entry for DJGPP 2.03:\
5204	:am:bs:\
5205	:co#80:it#8:li#25:\
5206	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:sf=^J:\
5207	:ta=^I:
5208
5209djgpp204|Entry for DJGPP 2.04:\
5210	:am:bs:AX:\
5211	:Co#8:NC#3:co#80:it#8:li#25:pa#64:\
5212	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
5213	:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
5214	:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
5215	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
5216	:do=\E[B:ec=\E[%dX:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[21~:\
5217	:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
5218	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
5219	:kH=\E[4~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
5220	:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
5221	:md=\E[1m:me=\E[m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:\
5222	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:us=\E[4m:\
5223	:ve=\E[v:vi=\E[1v:vs=\E[2v:
5224
5225# This is tested using U/Win's telnet.  Scrolling is omitted because it is
5226# buggy.  Another odd bug appears when displaying "~" in alternate character
5227# set (the emulator spits out error messages).  Compare with att6386 -TD
5228uwin|U/Win 3.2 console:\
5229	:am:eo:in:ms:xn:xo:\
5230	:Co#8:NC#58:it#8:pa#64:\
5231	:@7=\E[Y:AB=\E[4%dm:AF=\E[3%dm:DC=\E[%dP:F1=\EOZ:F2=\EOA:\
5232	:IC=\E[%d@:S2=\E[11m:S3=\E[10m:\
5233	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
5234	:ae=\E[10m:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:\
5235	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:do=^J:\
5236	:ec=\E[%dX:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\EOP:\
5237	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
5238	:k9=\EOX:k;=\EOY:kD=\177:kI=\E[@:kb=^H:kd=\E[B:kh=\E[H:\
5239	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:\
5240	:me=\E[0;10m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:\
5241	:op=\E[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:so=\E[7m:\
5242	:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:ue=\E[m:up=\E[A:\
5243	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
5244
5245# This entry fits the Windows NT console when the _POSIX_TERM environment
5246# variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
5247# the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
5248# stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
5249# systems is not, and (surprise!) they match very well.
5250#
5251# See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
5252# VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
5253# are the installation instructions a pile of mind-numbing bureaucratese,
5254# but the termcap entry is actually broken and unusable as given; the :do:
5255# capability is misspelled "d".
5256#
5257# To use this, you need to a bunch of environment variables:
5258#
5259# SET _POSIX_TERM=on
5260# SET TERM=ansi
5261# SET TERMCAP=location of termcap file in POSIX file format
5262# which is case-sensitive.
5263# e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
5264# SET TMP=//C/TEMP
5265#
5266# Important note: setting the TMP environment variable in POSIX style renders
5267# it incompatible with a lot of other applications, including Visual C++. So
5268# you should have a separate command window just for vi. All the other
5269# variables may be permanently set in the Control Panel\System applet.
5270#
5271# You can find out more about the restrictions of this facility at
5272# <http://www.nentug.org/unix-to-nt/ntposix.htm>.
5273#
5274# From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
5275ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode:\
5276	:am:bw:ms:\
5277	:co#80:it#8:li#25:\
5278	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
5279	:ho=\E[H:kb=^H:kd=\E[V:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
5280	:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\r\E[S:rc=\E[u:sc=\E[s:\
5281	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:up=\E[A:
5282# From: jew@venus.sunquest.com
5283# Date: 19 Feb 93 23:41:07 GMT
5284# Here's  a  combination of  ansi and  vt100 termcap
5285# entries   that  works  nearly   perfectly  for  me
5286# (Gateway 2000 Handbook and Microsoft Works 3.0):
5287pcmw|PC running Microsoft Works:\
5288	:am:xn:\
5289	:co#80:it#8:li#24:vt#3:\
5290	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
5291	:cm=5\E[%i%d;%dH:cr=^M:ct=2\E[3g:do=^J:ho=\E[H:\
5292	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
5293	:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=2\E[5m:\
5294	:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:nw=5\r\ED:rc=\E8:\
5295	:rf=/usr/share/tabset/vt100:\
5296	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
5297	:sf=5\ED:so=2\E[7m:sr=5\EM:st=2\EH:ta=^I:ue=2\E[m:up=2\E[A:\
5298	:us=2\E[4m:
5299
5300# From: Federico Bianchi
5301# This is the entry for the OpenNT terminal.
5302# The ntconsole name is for backward compatability.
5303# This is for OpenNT 2.0 and later.
5304# Later OpenNT was renamed to Interix.
5305#
5306# Presently it is distributed by Microsoft as Services For Unix (SFU).
5307# The 3.5 beta contains ncurses 4.2 (that is header files and executables,
5308# the documentation dates from 1.9.9e) -TD
5309
5310# (rmacs/smacs removed for consistency)
5311# (acsc removed to fit entry within 1023 bytes)
5312# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
5313interix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color:\
5314	:am:bw:ms:\
5315	:co#80:li#25:\
5316	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
5317	:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:\
5318	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dl=\E[M:do=^J:\
5319	:ho=\E[H:k0=\EFA:k1=\EF1:k2=\EF2:k3=\EF3:k4=\EF4:k5=\EF5:\
5320	:k6=\EF6:k7=\EF7:k8=\EF8:k9=\EF9:kD=\E[M:kH=\E[U:kI=\E[L:\
5321	:kN=\E[T:kP=\E[S:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
5322	:le=\E[D:ll=\E[U:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:\
5323	:nw=^M^J:rc=\E[u:sc=\E[s:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
5324	:ta=^I:te=\E[2b\E[u\r\E[K:ti=\E[s\E[1b:ue=\E[m:up=\E[A:\
5325	:us=\E[4m:
5326
5327opennt-35|ntconsole-35|OpenNT-term35 compatible with color:\
5328	:li#35:tc=opennt:
5329
5330opennt-50|ntconsole-50|OpenNT-term50 compatible with color:\
5331	:li#50:tc=opennt:
5332
5333opennt-60|ntconsole-60|OpenNT-term60 compatible with color:\
5334	:li#60:tc=opennt:
5335
5336opennt-100|ntconsole-100|OpenNT-term100 compatible with color:\
5337	:li#100:tc=opennt:
5338
5339# OpenNT wide terminals
5340opennt-w|opennt-25-w|ntconsole-w|ntconsole-25-w|OpenNT-term-w compat with color:\
5341	:co#125:tc=opennt:
5342
5343opennt-35-w|ntconsole-35-w|OpenNT-term35-w compatible with color:\
5344	:li#35:tc=opennt-w:
5345
5346opennt-50-w|ntconsole-50-w|OpenNT-term50-w compatible with color:\
5347	:li#50:tc=opennt-w:
5348
5349opennt-60-w|ntconsole-60-w|OpenNT-term60-w compatible with color:\
5350	:li#60:tc=opennt-w:
5351
5352opennt-w-vt|opennt-25-w-vt|ntconsole-w-vt|ntconsole-25-w-vt|OpenNT-term-w-vt compat with color:\
5353	:co#132:tc=opennt:
5354
5355# OpenNT terminals with no smcup/rmcup (names match termcap entries)
5356interix-nti|opennt-nti|opennt-25-nti|ntconsole-25-nti|OpenNT-nti compatible with color:\
5357	:te@:ti@:tc=opennt:
5358
5359opennt-35-nti|ntconsole-35-nti|OpenNT-term35-nti compatible with color:\
5360	:li#35:tc=opennt-nti:
5361
5362opennt-50-nti|ntconsole-50-nti|OpenNT-term50-nti compatible with color:\
5363	:li#50:tc=opennt-nti:
5364
5365opennt-60-nti|ntconsole-60-nti|OpenNT-term60-nti compatible with color:\
5366	:li#60:tc=opennt-nti:
5367
5368opennt-100-nti|ntconsole-100-nti|OpenNT-term100-nti compatible with color:\
5369	:li#100:tc=opennt-nti:
5370
5371######## COMMON TERMINAL TYPES
5372#
5373# This section describes terminal classes and maker brands that are still
5374# quite common, but have proprietary command sets not blessed by ANSI.
5375#
5376
5377#### Altos
5378#
5379# Altos made a moderately successful line of UNIX boxes.  In 1990 they were
5380# bought out by Acer, a major Taiwanese manufacturer of PC-clones.
5381# Acer has a web site at http://www.acer.com.
5382#
5383# Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
5384# His comments suggest they were shipped with the system.
5385#
5386
5387# (altos2: had extension capabilities
5388#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
5389#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
5390#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
5391#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
5392#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
5393#	:YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
5394#	:HL=^AP\r:SP=\E[i:\
5395#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
5396#	:LO=\E[0q:LC=\E[5q:LL=\E[6q:\
5397# Comparison with the k* capabilities makes it obvious that the c* things are
5398# shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
5399# :sr: was given as a boolean-- esr)
5400altos2|alt2|altos-2|altos II:\
5401	:co#80:it#8:li#24:sg#0:ug#0:\
5402	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
5403	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
5404	:FW=^Aj\r:FX=^Ak\r:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:\
5405	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
5406	:dl=\E[M:do=\E[1B:ei=:ho=\E[H:ic=\E[@:\
5407	:if=/usr/share/tabset/vt100:im=:\
5408	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=^AI\r:\
5409	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
5410	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
5411	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kb=^H:kd=\E[B:kh=\E[f:kl=\E[D:\
5412	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[1C:nw=^M^J:se=\E[m:\
5413	:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[1A:us=\E[4m:
5414# (altos3: had extension capabilities
5415#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
5416#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
5417#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
5418#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
5419#	:XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
5420#	:HL=^AP\r:SP=\E[i:\
5421#	:IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:
5422altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V:\
5423	:mb=\E[5p:me=\E[p:sr=\EM:tc=altos2:
5424altos4|alt4|altos-4|altos IV:\
5425	:tc=wy50:
5426# (altos7: had extension capabilities:
5427#	:GG#0:GI=\EH8:GF=\EH7:\
5428#	:c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
5429#	:c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
5430#	:c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
5431#	:cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
5432# Comparison with the k* capabilities makes it obvious that the c* things are
5433# shift keys.  I have renamed them to keys 32 and up accordingly.  I have
5434# also made this entry relative to adm12 in order to give it an :sa:. The
5435# <invis> imported by use=adm+sgr may work, let me know. -- esr)
5436altos7|alt7|altos VII:\
5437	:am:mi:\
5438	:co#80:li#24:sg#0:\
5439	:*5=^Am\r:*8=^An\r:FM=^A`\r:FN=^Aa\r:FO=^Ab\r:FP=^Ac\r:\
5440	:FQ=^Ad\r:FR=^Ae\r:FS=^Af\r:FT=^Ag\r:FU=^Ah\r:FV=^Ai\r:\
5441	:FW=^Aj\r:FX=^Ak\r:ac=j5k3l2m1n8q\072t4u9v=w0x6:al=\EE:\
5442	:cd=\EY:ce=\ET:cl=\E+^^:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
5443	:do=^J:ei=\Er:ho=^^:im=\Eq:\
5444	:is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2:k0=^AI\r:\
5445	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
5446	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=^AJ\r:kB=^AK\r:kC=^AL\r:\
5447	:kD=^AM\r:kE=^AN\r:kF=^AO\r:kN=\EK:kP=\EJ:kb=^H:kd=^J:kh=^^:\
5448	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:md=\EGt:mh=\EGp:mk=\EG1:\
5449	:nd=^L:nw=^M^J:pf=\EJ:po=\Ed#:sf=^J:sr=\Ej:ta=^I:up=^K:\
5450	:tc=adm+sgr:
5451altos7pc|alt7pc|altos PC VII:\
5452	:@7=\ET:tc=altos7:
5453
5454#### Hewlett-Packard (hp)
5455#
5456#	Hewlett-Packard
5457#	8000 Foothills Blvd
5458#	Roseville, CA 95747
5459#	Vox: 1-(916)-785-4363	(Technical response line for VDTs)
5460#	     1-(800)-633-3600	(General customer support)
5461#
5462#
5463# As of March 1998, HP no longer has any terminals in production.
5464# The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being
5465# supported (they still have parts). So are the 2392a and 2394a.
5466# See the WORKSTATION CONSOLES section for the 700s.
5467#
5468
5469# Generic HP terminal - this should (hopefully) work on any HP terminal.
5470hpgeneric|hp|hewlett-packard generic terminal:\
5471	:am:bs:da:db:mi:pt:xs:\
5472	:co#80:li#24:lm#0:vt#6:\
5473	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
5474	:cm=6\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=\EP:dl=\EM:\
5475	:do=^J:ei=\ER:im=\EQ:kB=\Ei:kb=^H:le=^H:me=\E&d@:nd=\EC:\
5476	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
5477	:us=\E&dD:
5478
5479hp110|hewlett-packard model 110 portable:\
5480	:li#16:tc=hpgeneric:
5481
5482hp+pfk+cr|hp function keys with CR:\
5483	:k1=\Ep\r:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:\
5484	:k7=\Ev\r:k8=\Ew\r:
5485
5486hp+pfk-cr|hp function keys w/o CR:\
5487	:k1=\Ep:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:
5488
5489# The hp2621s use the same keys for the arrows and function keys,
5490# but not separate escape sequences. These definitions allow the
5491# user to use those keys as arrow keys rather than as function
5492# keys.
5493hp+pfk+arrows|hp alternate arrow definitions:\
5494	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:kF=\Er\r:kH=\Eq\r:kR=\Es\r:\
5495	:kd=\Ew\r:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:ku=\Et\r:
5496
5497hp+arrows|hp arrow definitions:\
5498	:kF=\ES:kH=\EF:kR=\ET:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:ku=\EA:
5499
5500# Generic stuff from the HP 262x series
5501#
5502hp262x|HP 262x terminals:\
5503	:xs:\
5504	:cd=\EJ:dc=2\EP:ip=2:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:\
5505	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kd=\EB:ke=\E&s0A:\
5506	:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:mb=\E&dA:me=\E&d@:\
5507	:mk=\E&dS:mr=\E&dB:se=\E&d@:sf=\ES:so=\E&dB:ta=2\011:\
5508	:ue=\E&d@:us=\E&dD:
5509
5510# Note: no :ho: on HPs since that homes to top of memory, not screen.
5511# Due to severe 2621 braindamage, the only way to get the arrow keys to
5512# transmit anything at all is to turn on the function key labels
5513# with :ks:, and even then the user has to hold down shift!
5514# The default 2621 turns off the labels except when it has to to
5515# enable the function keys. If your installation prefers labels
5516# on all the time, or off all the time (at the "expense" of the
5517# function keys), use 2621-nl or 2621-wl.
5518#
5519# Note: there are newer ROMs for 2621's that allow you to set
5520# strap A so the regular arrow keys xmit \EA, etc, as with the
5521# 2645. However, even with this strap set, the terminal stops
5522# xmitting if you reset it, until you unset and reset the strap!
5523# Since there is no way to set/unset the strap with an escape
5524# sequence, we don't use it in the default.
5525# If you like, you can use 2621-ba (brain-damaged arrow keys).
5526hp2621-ba|2621 w/new rom and strap A set:\
5527	:ke@:ks@:tc=hp+arrows:tc=hp2621:
5528
5529# hp2621 with function labels. Most of the time they are off,
5530# but inside vi, the function key labels appear. You have to
5531# hold down shift to get them to xmit.
5532hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels:\
5533	:is=\E&jA\r:ke=\E&jA:tc=hp2621-fl:
5534hp2621-fl|hp 2621:\
5535	:xo:xs@:\
5536	:pb#19200:\
5537	:bt=\Ei:cm=\E&a%r%dc%dY:dc=2\EP:ip=2:is=\E&j@\r:ke=\E&j@:\
5538	:ks=\E&jB:me=\E&d@:se=\E&d@:so=\E&dD:ta=2\011:ue=\E&d@:\
5539	:us=\E&dD:tc=hp+pfk+cr:tc=hpgeneric:
5540
5541# To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
5542hp2621p|hp 2621 with printer:\
5543	:pf=\E&p13C:po=\E&p11C:tc=hp2621:
5544
5545hp2621p-a|hp2621p with fn as arrows:\
5546	:tc=hp+pfk+arrows:tc=hp2621p:
5547
5548# hp2621 with k45 keyboard
5549hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard:\
5550	:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:\
5551	:ku=\EA:tc=hp2621:
5552
5553# 2621 using all 48 lines of memory, only 24 visible at any time.
5554hp2621-48|48 line 2621:\
5555	:li#48:\
5556	:cm=\E&a%r%dc%dR:cv=\E&a%dR:ho=\EH:tc=hp2621:
5557
5558# 2621 with no labels ever. Also prevents vi delays on escape.
5559hp2621-nl|hp 2621 with no labels:\
5560	:kd@:ke@:kh@:kl@:kr@:ks@:ku@:tc=hp2621-fl:
5561
5562# Needed for UCB ARPAVAX console, since lsi-11 expands tabs
5563# (wrong).
5564#
5565hp2621-nt|hp 2621 w/no tabs:\
5566	:ta@:tc=hp2621:
5567
5568# Hp 2624 B with 4 or 10 pages of memory.
5569#
5570# Some assumptions are made with this entry. These settings are
5571# NOT set up by the initialization strings.
5572#
5573# Port Configuration
5574# 	RecvPace=Xon/Xoff
5575# 	XmitPace=Xon/Xoff
5576# 	StripNulDel=Yes
5577#
5578# Terminal Configuration
5579# 	InhHndShk=Yes
5580# 	InhDC2=Yes
5581# 	XmitFnctn(A)=No
5582# 	InhEolWrp=No
5583#
5584# Note: the 2624 DOES have a true :ho:, believe it or not!
5585#
5586# The 2624 has an "error line" to which messages can be sent.
5587# This is CLOSE to what is expected for a "status line". However,
5588# after a message is sent to the "error line", the next carriage
5589# return is EATEN and the "error line" is turned back off again!
5590# So I guess we can't define :hs:, :es:, :ws:, :ds:, :fs:, :ts:.
5591#
5592# This entry supports emacs (and any other program that uses raw
5593# mode) at 4800 baud and less. I couldn't get the padding right
5594# for 9600.
5595#
5596# (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
5597hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B:\
5598	:da:db:\
5599	:lm#96:\
5600	:vb=\E&w13F\E&w12F\E&w13F\E&w12F:tc=hp+labels:tc=scrhp:
5601
5602# This hp2626 entry does not use any of the fancy windowing stuff
5603# of the 2626.
5604#
5605# Indeed, terminfo does not yet handle such stuff. Since changing
5606# any window clears memory, it is probably not possible to use
5607# this for screen opt.
5608#
5609# ed is incredibly slow most of the time - I am guessing at the
5610# exact padding. Since the terminal uses xoff/xon this is intended
5611# only for cost computation, so that the terminal will prefer el
5612# or even dl1 which is probably faster!
5613#
5614# \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only
5615# extra slow on the last line of the window.
5616#
5617# The padding probably should be changed.
5618#
5619hp2626|hp2626a|hp2626p|hp 2626:\
5620	:da:db:\
5621	:lm#0:pb#19200:\
5622	:SF=\E&r%dD:SR=\E&r%dU:cd=\ED\EJ\EC:ip=4:is=\E&j@\r:\
5623	:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
5624
5625# This entry is for sysline. It allocates a 23 line window with
5626# a 115 line workspace for regular use, and a 1 line window for
5627# the status line.
5628#
5629# This assumes port 2 is being used.
5630# Turn off horizontal line, Create ws #1 with 115 lines,
5631# Create ws #2 with 1 line, Create window #1 lines 1-23,
5632# Create window #2 lines 24-24, Attach cursor to workspace #1.
5633# Note that this clears the tabs so it must be done by tset before
5634# it sets the tabs.
5635#
5636hp2626-s|hp 2626 using only 23 lines:\
5637	:es:hs:\
5638	:li#23:\
5639	:fs=\E&d@\E&w7f2p1I\E&w4f1I:\
5640	:i1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r:\
5641	:ts=\E&w7f2p2I\E&w4f2I\r\EK\E&a%dC:tc=hp2626:
5642# Force terminal back to 24 lines after being 23.
5643hp2626-ns|hp 2626 using all 24 lines:\
5644	:i1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r:\
5645	:tc=hp2626:
5646# Various entries useful for small windows on 2626.
5647hp2626-12|hewlett-packard 2626 12 lines:\
5648	:li#12:tc=hp2626:
5649hp2626-12x40|hewlett-packard 2626 12 lines 40 columns:\
5650	:co#40:li#12:tc=hp2626:
5651hp2626-x40|hewlett-packard 2626 40 columns:\
5652	:co#40:tc=hp2626:
5653hp2626-12-s|hewlett-packard 2626 11 lines plus status:\
5654	:li#11:tc=hp2626-s:
5655
5656#
5657# hp2627 color tubes from University of Wisconsin
5658#
5659hp2627a-rev|hp 2627 with reverse video colors:\
5660	:cr=^M:do=^J:\
5661	:is=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r:\
5662	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&v0S\E&d@:\
5663	:us=\E&dD\E&v1S:tc=hp2621-nl:
5664hp2627a|hp 2627 color terminal with no labels:\
5665	:cr=^M:do=^J:\
5666	:is=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r:\
5667	:kb=^H:kd=^J:kl=^H:nw=^M^J:se=\E&v0S:sf=^J:so=\E&v2S:ta=^I:\
5668	:ue=\E&v0S\E&d@:us=\E&dD\E&v1S:tc=hp2621-nl:
5669hp2627c|hp 2627 color (cyan) terminal with no labels:\
5670	:cr=^M:do=^J:\
5671	:is=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r:\
5672	:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=hp2627a:
5673
5674# hp2640a doesn't have the Y cursor addressing feature, and C is
5675# memory relative instead of screen relative, as we need.
5676#
5677hp2640a|hp 2640a:\
5678	:cm@:ke@:ks@:tc=hp2645:
5679
5680hp2640b|hp2644a|hp 264x series:\
5681	:ke@:ks@:tc=hp2645:
5682
5683# (hp2641a: removed unknown :gu: -- esr)
5684hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry:\
5685	:am:da:db:mi:xs:\
5686	:co#80:li#24:\
5687	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%2C:cl=\EH\EJ:\
5688	:cm=\E&a%r%2c%2Y:cr=^M:cv=\E&a%2Y:dc=\EP:dl=\EM:do=^J:\
5689	:ei=\ER:if=/usr/share/tabset/std:im=\EQ:is=500\EE:kb=^H:\
5690	:kd=^J:kl=^H:le=^H:nd=\EC:nw=^M^J:se=\E&d@:sf=^J:so=\E&dB:\
5691	:ta=^I:up=\EA:
5692
5693# This terminal should be used at 4800 baud or less. It needs padding for
5694# plain characters at 9600, I guessed at an appropriate cr delay.  It really
5695# wants ^E/^F handshaking, but that doesn't work well even if you write
5696# software to support it.
5697hp2645|hp45|HP 2645 series:\
5698	:pb#9600:\
5699	:cr=20\r:kA=\EL:kD=\EP:kE=\EK:kF=\ES:kI=\EQ:kL=\EM:kM=\ER:\
5700	:kN=\EU:kP=\EV:kR=\ET:kS=\EJ:kT=\E1:kd=\EB:ke=\E&s0A:kh=\Eh:\
5701	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:mb=\E&dA:me=\E&d@:\
5702	:mh=\E&dH:mr=\E&dB:us=\E&dD:tc=hpgeneric:
5703# You should use this terminal at 4800 baud or less.
5704hp2648|hp2648a|HP 2648a graphics terminal:\
5705	:cl=50\EH\EJ:cm=20\E&a%r%dc%dY:dc=7\EP:ip=5:tc=hp2645:
5706
5707# The HP 150 terminal is a fairly vanilla HP terminal, with the
5708# clreol standout problem. It also has graphics capabilities and
5709# a touch screen, which we don't describe here.
5710hp150|hewlett packard Model 150:\
5711	:bs:tc=hp2622:
5712
5713# HP 2382a terminals, "the little ones." They don't have any
5714# alternate character set support and sending out ^N/^O will
5715# leave the screen blank.
5716hp2382a|hp2382|hewlett packard 2382a:\
5717	:da:db:\
5718	:lh#1:lm#48:\
5719	:ac@:ae@:as@:me=\E&d@:tc=hp+labels:tc=scrhp:
5720
5721hp2621-a|hp2621a-a|hp2621 with fn as arrows:\
5722	:tc=hp+pfk+arrows:tc=hp2621-fl:
5723
5724# newer hewlett packard terminals
5725
5726newhpkeyboard|generic entry for HP extended keyboard:\
5727	:kA=\EL:kB=\Ei:kC=\EJ:kD=\EP:kE=\EK:kF=\ET:kH=\EF:kI=\EQ:\
5728	:kL=\EM:kM=\ER:kN=\EU:kP=\EV:kR=\ES:kS=\EJ:kb=^H:kd=\EB:\
5729	:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
5730	:tc=hp+pfk-cr:
5731
5732newhp|generic entry for new hewlett packard terminals:\
5733	:am:bw:mi:xo:xs:\
5734	:co#80:li#24:pb#4800:\
5735	:ac=2[3@4>5I9(\072'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\072Y+Z*dHjGkTlRmFn/q,t5u6v8w7x.:\
5736	:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:cr=^M:ct=\E3:\
5737	:dc=2\EP:dl=\EM:do=^J:ei=\ER:i1=8\E&jB:im=\EQ:ip=2:le=^H:\
5738	:mb=\E&dA:md=\E&dF:me=\E&d@:mh=\E&dH:mk=\E&dS:mr=\E&dB:\
5739	:nd=\EC:nw=^M^J:r1=\Eg:se=\E&d@:sf=^J:so=\E&dJ:sr=\ET:\
5740	:st=\E1:ta=2\011:ue=\E&d@:up=\EA:us=\E&dD:\
5741	:tc=newhpkeyboard:
5742
5743memhp|memory relative addressing for new HP ttys:\
5744	:vt#6:\
5745	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
5746	:UP=\E&a-%dR:ch=\E&a%dC:cl=40\EH\EJ:cm=\E&a%dr%dC:\
5747	:cv=\E&a%dR:ho=\EH:ll=\E&a23R\r:tc=newhp:
5748
5749scrhp|screen relative addressing for new HP ttys:\
5750	:CM=\E&a%dr%dC:DO=\E&a+%dR:LE=\E&a-%dC:RI=\E&a+%dC:\
5751	:UP=\E&a-%dR:ch=\E&a%dC:cl=40\E&a0c0Y\EJ:\
5752	:cm=10\E&a%dy%dC:cv=\E&a%dY:ho=\E&a0y0C:ll=\E&a0y0C\EA:\
5753	:tc=newhp:
5754
5755# (hp+labels: added label values from a BRL termcap -- esr)
5756hp+labels|"standard" label info for new HP ttys:\
5757	:Nl#8:lh#2:lw#8:\
5758	:LF=\E&j@:LO=\E&jB:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:\
5759	:l7=f8:
5760
5761hp+printer|"standard" printer info for HP ttys:\
5762	:ff=\E&p4u0C:pf=\E&p13C:po=\E&p11C:ps=\EH\E&p4dF:
5763
5764
5765# The new hp2621b is kind of a cross between the old 2621 and the
5766# new 262x series of machines. It has dip-switched options.
5767# The firmware has a bug in it such that if you give it a null
5768# length label, the following character is eaten!
5769hp2621b|hp 2621b with old style keyboard:\
5770	:Nl#8:lh#1:lm#48:lw#8:\
5771	:LO=\E&jB:kF=\ET:kH=\EF:kR=\ES:kd=\EB:kh=\Eh:kl=\ED:kr=\EC:\
5772	:ku=\EA:tc=hp2621:
5773
5774hp2621b-p|hp 2621b with printer:\
5775	:tc=hp+printer:tc=hp2621b:
5776
5777# hp2621b - new 2621b with new extended keyboard
5778# these are closer to the new 26xx series than the other 2621b
5779hp2621b-kx|hp 2621b with extended keyboard:\
5780	:tc=newhpkeyboard:tc=hp2621b:
5781
5782hp2621b-kx-p|hp 2621b with new keyboard & printer:\
5783	:tc=hp+printer:tc=hp2621b-kx:
5784
5785# Some assumptions are made in the following entries.
5786# These settings are NOT set up by the initialization strings.
5787#
5788#    Port Configuration
5789# RecvPace=Xon/Xoff	XmitPace=Xon/Xoff	StripNulDel=Yes
5790#
5791#    Terminal Configuration
5792# InhHndShk(G)=Yes	InhDC2(H)=Yes
5793# XmitFnctn(A)=No		InhEolWrp=No
5794#
5795#
5796# Hp 2622a & hp2623a display and graphics terminals
5797#
5798hp2622|hp2622a|hp 2622:\
5799	:da:db:\
5800	:lm#0:pb#19200:\
5801	:is=\E&dj@\r:tc=hp+pfk+cr:tc=hp+labels:tc=scrhp:
5802
5803# The 2623 is a 2622 with extra graphics hardware.
5804hp2623|hp2623a|hp 2623:\
5805	:tc=hp2622:
5806
5807hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer:\
5808	:tc=hp+printer:tc=hp2624:
5809
5810# The hewlett packard B can have an optional extra 6 pages of memory.
5811hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory:\
5812	:lm#240:tc=hp2624:
5813
5814hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer:\
5815	:lm#240:tc=hp2624b-p:
5816
5817# Color manipulations for HP terminals
5818hp+color|hp with colors:\
5819	:cc:\
5820	:Co#16:NC#17:pa#7:\
5821	:oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I:\
5822	:op=\E&v0S:sp=\E&v%dS:
5823
5824# :is: sets the screen to be 80 columns wide
5825hp2397a|hp2397|hewlett packard 2397A color terminal:\
5826	:is=\E&w6f80X:tc=memhp:tc=hp+labels:tc=hp+color:
5827
5828#  HP 700/44 Setup parameters:
5829# Terminal Mode		HP-PCterm
5830# Inhibit Auto Wrap	NO
5831# Status Line		Host Writable
5832# PC Character Set	YES
5833# Twenty-Five Line Mode	YES
5834# XON/XOFF		@128 or 64 (sc)
5835# Keycode Mode 		NO   or YES (sc)
5836# Backspace Key		BS or BS/DEL
5837#
5838# :is: 	sets pcterm; autowrap; 25 lines; pc char set; prog DEL key;
5839# \E\\? does not turn off keycode mode
5840# <smsc>	sets alternate start/stop; keycode on
5841hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode:\
5842	:am:eo:xn:xo:\
5843	:co#80:li#25:\
5844	:@7=\E[4~:RA=\E[?7l:S4=250\E[>11h\EPO**x0/65;1/67\E\\:\
5845	:S5=\E[>11l\EP1**x0/11;1/13\E[m\E\\:SA=\E[?7h:XF=g:XN=e:\
5846	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
5847	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
5848	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
5849	:ic=\E[@:im=:\
5850	:is=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\:\
5851	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
5852	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
5853	:kB=\E[Z:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:\
5854	:kr=\E[C:ku=\E[A:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
5855	:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
5856	:vi=\E[?25l:
5857#
5858# (hp2392: copied :ei: here from hpex -- esr)
5859hp2392|239x series:\
5860	:co#80:\
5861	:bt=\Ei:cm=\E&a%dy%dC:cv=\E&a%dY:ei=\ER:im=\EQ:k1=\Ep\r:\
5862	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
5863	:k8=\Ew\r:kF=\EU:kN=\Eu:kP=\Ev:kR=\EV:kh=\Eh:ue=\E&d@:\
5864	:us=\E&dD:tc=hpsub:
5865
5866hpsub|hp terminals -- capability subset:\
5867	:am:da:db:mi:xo:xs:\
5868	:li#24:\
5869	:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:cr=^M:\
5870	:dc=\EP:dl=\EM:do=\EB:if=/usr/share/tabset/stdcrt:\
5871	:is=\E&s1A\E<\E&k0\\:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:\
5872	:kr=\EC:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
5873	:sf=^J:so=\E&dB:ta=^I:up=\EA:
5874
5875# hpex:
5876#	May be used for most 24 x 80 hp terminals,
5877# but has no padding added, so may allow runover in some terminals at high
5878# baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and
5879# hp98x5 terminal emulators or hp98x6 consoles.
5880# 	Adds xy-cursor addressing, vertical cursor addressing, home,
5881# last line, and underline capabilities.
5882#
5883# (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
5884# moved :ei: here from hpsub -- esr)
5885hpex|hp extended capabilites:\
5886	:cm=\E&a%dy%dC:cr=^M:cv=\E&a%dY:do=^J:ei=\ER:im=\EQ:kb=^H:\
5887	:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:ue=\E&d@:us=\E&dD:tc=hpsub:
5888
5889# From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
5890hp2|hpex2|hewlett-packard extended capabilities newer version:\
5891	:am:da:db:mi:xs:\
5892	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:sg#0:ug#0:\
5893	:LF=\E&j@:LO=\E&jB:al=\EL:bl=^G:cd=\EJ:ce=\EK:ch=\E&a%dC:\
5894	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
5895	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
5896	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
5897	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
5898	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
5899	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:me=\E&d@\017:\
5900	:ml=\El:mu=\Em:nd=\EC:se=\E&d@:sf=^J:so=\E&dB:st=\E1:ta=^I:\
5901	:ue=\E&d@:up=\EA:us=\E&dD:
5902
5903# HP 236 console
5904# From: <ddavis@ic.berkeley.edu>
5905hp236|hp236 internal terminal emulator:\
5906	:am:bs:\
5907	:co#80:li#24:\
5908	:al=\EG:ce=\EK:cl=\EF:cm=\EE%+ %+ :dc=\EJ:dl=\EH:ei=:ic=\EI:\
5909	:im=:le=^H:me=\ECI:se=\ECI:so=\EBI:up=^K:ve=\EDE:vs=\EDB:
5910
5911# This works on a hp300 console running Utah 4.3 BSD
5912# From: Craig Leres <leres@okeeffe.berkeley.edu>
5913hp300h|HP Catseye console:\
5914	:am:bs:da:db:mi:xs:\
5915	:co#128:li#51:lm#0:sg#0:ug#0:\
5916	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
5917	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
5918	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/stdcrt:\
5919	:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
5920	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:se=\E&d@:sf=^J:\
5921	:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
5922# From: Greg Couch <gregc@ernie.berkeley.edu>
5923hp9837|hp98720|hp98721|HP 9000/300 workstations:\
5924	:am:bs:da:db:mi:xs:\
5925	:co#128:it#8:li#46:lm#0:\
5926	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:\
5927	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:ct=\E3:cv=\E&a%dY:dc=\EP:\
5928	:dl=\EM:do=\EB:ei=\ER:im=\EQ:is=\E&v0m1b0i&j@:kA=\EL:\
5929	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kN=\EU:kP=\EV:kS=\EJ:kb=^H:\
5930	:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:ks=\E&s1A:ku=\EA:\
5931	:le=^H:me=\E&d@:nd=\EC:se=\E&v0S:sf=^J:so=\E&v5S:st=\E1:\
5932	:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
5933# HP 9845 desktop computer from BRL
5934# (hp9845: removed unknown capability :gu: -- esr)
5935hp9845|HP 9845:\
5936	:am:bs:da:db:eo:mi:xs:\
5937	:co#80:li#21:\
5938	:al=\EL:bc=\ED:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E&a%r%2c%2Y:\
5939	:dc=\EP:dl=\EM:do=\EB:ei=\ER:if=/usr/share/tabset/std:\
5940	:im=\EQ:le=\ED:nd=\EC:se=\E&d@:so=\E&dB:up=\EA:
5941# From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
5942# (hp98550: replaced /usr/share/tabset/9837 with std because :it#8:,:st=\E1:;
5943# added empty <acsc> to avoid warnings re :as:/:ae: --esr)
5944hp98550|hp98550a|HP 9000 Series 300 color console:\
5945	:am:bs:da:db:mi:xs:\
5946	:co#128:it#8:li#49:lm#0:\
5947	:ac=:ae=^O:al=\EL:as=^N:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:\
5948	:ch=\E&a%dC:cl=\EH\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:\
5949	:cv=\E&a%dY:dc=\EP:dl=\EM:do=^J:ei=\ER:\
5950	:if=/usr/share/tabset/std:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
5951	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
5952	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
5953	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
5954	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
5955	:md=\E&dJ:me=\E&d@:mh=\E&dH:mk=\E&ds:mr=\E&dJ:nd=\EC:\
5956	:se=\E&d@:sf=^J:so=\E&dJ:st=\E1:ta=^I:ue=\E&d@:up=\EA:\
5957	:us=\E&dD:ve=\E*dQ:vi=\E*dR:
5958# From: Victor Duchovni <vic@fine.princeton.edu>
5959# (hp700-wy: removed obsolete ":nl=^J:";
5960# replaced /usr/share/tabset/hp700-wy with std because :it#8:,:st=\E1: -- esr)
5961hp700-wy|HP700/41 emulating wyse30:\
5962	:am:bs:bw:mi:ms:\
5963	:co#80:it#8:li#24:sg#1:ug#1:\
5964	:al=0.7*\EE:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=\E=%+ %+ :\
5965	:cr=^M:ct=\E0:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ei=\Er:ho=^^:\
5966	:i1=\E~"\EC\Er\E(\EG0\003\E`9\E`1:\
5967	:if=/usr/share/tabset/stdcrt:im=\Eq:kB=\EI:kC=^Z:kE=\ET:\
5968	:kI=\Eq:kM=\Er:kS=\EY:kT=\EI:kb=\177:kd=^V:kh=^^:kl=^H:kr=^L:\
5969	:ku=^K:le=^H:ll=^^^K:me=10\EG0:nd=^L:se=10\EG0:so=10\EG4:\
5970	:sr=\Ej:st=\E1:ta=^I:ue=10\EG0:up=^K:us=10\EG8:
5971hp70092|hp70092a|hp70092A|HP 700/92:\
5972	:am:da:db:xs:\
5973	:Nl#8:co#80:lh#2:li#24:lm#0:lw#8:\
5974	:LF=\E&j@:LO=\E&jB:ac=0cjgktlrmfn/q,t5u6v8w7x.:ae=^O:\
5975	:al=\EL:as=^N:bl=^G:bt=\Ei:ce=\EK:ch=\E&a%dC:\
5976	:cl=\E&a0y0C\EJ:cm=\E&a%dy%dC:cr=^M:ct=\E3:cv=\E&a%dY:\
5977	:dc=\EP:dl=\EM:do=\EB:ei=\ER:im=\EQ:k1=\Ep:k2=\Eq:k3=\Er:\
5978	:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kA=\EL:kC=\EJ:kD=\EP:\
5979	:kE=\EK:kF=\ES:kH=\EF:kI=\EQ:kL=\EM:kM=\ER:kN=\EU:kP=\EV:\
5980	:kR=\ET:kS=\EJ:kT=\E1:ka=\E3:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:\
5981	:kl=\ED:kr=\EC:ks=\E&s1A:kt=\E2:ku=\EA:le=^H:mb=\E&dA:\
5982	:md=\E&dB:me=\E&d@:mh=\E&dH:mr=\E&dB:nd=\EC:se=\E&d@:\
5983	:so=\E&dJ:sr=\ET:st=\E1:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
5984
5985bobcat|sbobcat|HP 9000 model 300 console:\
5986	:am:da:db:mi:xs:\
5987	:co#128:it#8:li#47:sg#0:ug#0:\
5988	:al=10*\EL:bt=\Ei:cd=\EJ:ce=\EK:ch=6\E&a%dC:cl=\EH\EJ:\
5989	:cm=6\E&a%dy%dC:cr=^M:cv=6\E&a%dY:dc=\EP:dl=10*\EM:do=\EB:\
5990	:ei=\ER:im=\EQ:kb=^H:kd=\EB:ke=\E&s0A:kh=\Eh:kl=\ED:kr=\EC:\
5991	:ks=\E&s1A:ku=\EA:le=^H:me=\E&d@:nd=\EC:nw=^M^J:se=\E&d@:\
5992	:sf=^J:so=\E&dB:ta=^I:ue=\E&d@:up=\EA:us=\E&dD:
5993gator-t|HP 9000 model 237 emulating extra-tall AAA:\
5994	:li#94:tc=gator:
5995gator|HP 9000 model 237 emulating AAA:\
5996	:bw:km:mi:ul:\
5997	:co#128:it#8:li#47:\
5998	:AL=1*\E[%dL:DC=4\E[%dP:DL=1*\E[%dM:IC=4\E[%d@:al=\E[L:\
5999	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%d`:cl=\E[H\E[J:\
6000	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
6001	:ic=\E[@:im=:kb=^H:kd=^J:kl=^H:le=^H:me=\E[m:mr=\E[7m:\
6002	:nd=\E[C:nw=^M^J:rp=1*%.\E[%db:se=\E[m:so=\E[7m:ta=^I:\
6003	:ue=\E[m:up=\EM:us=\E[4m:
6004gator-52|HP 9000 model 237 emulating VT52:\
6005	:co#128:li#47:tc=vt52:
6006gator-52t|HP 9000 model 237 emulating extra-tall VT52:\
6007	:li#94:tc=gator-52:
6008
6009#### Honeywell-Bull
6010#
6011# From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
6012#
6013
6014# Honeywell Bull terminal.  Its cursor and function keys send single
6015# control characters and it has standout/underline glitch.  Most programs
6016# do not like these features/bugs.  Visual bell is realized by flashing the
6017# "keyboard locked" LED.
6018dku7003-dumb|Honeywell Bull DKU 7003 dumb mode:\
6019	:co#80:li#25:\
6020	:cd=^_:ce=\E[K:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:do=^K:ho=^]:\
6021	:kb=^H:kd=^K:kh=^]:kl=^Y:kr=^X:ku=^Z:le=^Y:nd=^X:nw=^M^J:\
6022	:sf=^J:ta=^I:up=^Z:vb=\E[2h\E[2l:
6023dku7003|Honeywell Bull DKU 7003 all features described:\
6024	:ms:\
6025	:sg#1:ug#1:\
6026	:mb=\E[5m:md=\E[7m:me=\E[m:mh=\E[2m:mr=\E[7m:se=\E[m:\
6027	:so=\E[7m:ue=\E[m:us=\E[4m:tc=dku7003-dumb:
6028
6029#### Lear-Siegler (adm)
6030#
6031# These guys are long since out of the terminals business, but
6032# in 1995 many current terminals still have an adm type as one of their
6033# emulations (usually their stupidest, and usually labeled adm3, though
6034# these `adm3' emulations normally have adm3a+ capabilities).
6035#
6036# WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a
6037# `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
6038# was being held to ground would trigger a send of the top line on the screen.
6039# A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
6040# hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
6041# for clearing up this point.)
6042
6043adm1a|adm1|lsi adm1a:\
6044	:am:\
6045	:co#80:li#24:\
6046	:bl=^G:cl=1\E;:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:le=^H:nd=^L:\
6047	:sf=^J:up=^K:
6048adm2|lsi adm2:\
6049	:am:bs:\
6050	:co#80:li#24:\
6051	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
6052	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:\
6053	:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
6054# (adm3: removed obsolete ":ma=^K^P:" -- esr)
6055adm3|lsi adm3:\
6056	:am:bs:\
6057	:co#80:li#24:\
6058	:bl=^G:cl=^Z:cr=^M:do=^J:le=^H:sf=^J:
6059# The following ADM-3A switch settings are assumed for normal operation:
6060#	SPACE		U/L_DISP	CLR_SCRN	24_LINE
6061#	CUR_CTL		LC_EN		AUTO_NL		FDX
6062# Other switches may be set for operator convenience or communication
6063# requirements.  I recommend
6064#	DISABLE_KB_LOCK	LOCAL_OFF	103		202_OFF
6065#	ETX_OFF		EOT_OFF
6066# Most of these terminals required an option ROM to support lower case display.
6067# Open the case and look at the motherboard; if you see an open 24-pin DIP
6068# socket, you may be out of luck.
6069#
6070# (adm3a: some capabilities merged in from BRl entry -- esr)
6071adm3a|lsi adm3a:\
6072	:am:bs:\
6073	:co#80:li#24:\
6074	:bl=^G:cl=1\032:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:kd=^J:kl=^H:\
6075	:kr=^L:ku=^K:le=^H:ma=^K^P:nd=^L:nl=^J:rs=^N:sf=^J:up=^K:
6076adm3a+|adm3a plus:\
6077	:kb=^H:tc=adm3a:
6078# (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
6079adm5|lsi adm5:\
6080	:sg#1:\
6081	:bl=^G:cd=\EY:ce=\ET:cr=^M:do=^J:kb=^H:kh=^^:se=\EG:so=\EG:\
6082	:tc=adm3a+:
6083# A lot of terminals other than adm11s use these.  Wherever you see
6084# use=adm+sgr with some of its capabilities disabled, try the
6085# disabled ones.  They may well work but not have been documented or
6086# expressed in the using entry.  We'd like to cook up an :sa: but the
6087# :ae:/:as: sequences of the using entries vary too much.
6088adm+sgr|adm style highlight capabilities:\
6089	:me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
6090# LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
6091# Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
6092# :kh: from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  :cl: could also
6093# be ^Z, according to his entry.
6094# (adm11: :us:=\EG4 was obviously erroneous because it also said
6095# :mr:=\EG4.  Looking at other ADMs confirms this -- esr)
6096adm11|LSI ADM-11:\
6097	:am:bs:hs:\
6098	:co#80:kn#8:li#24:\
6099	:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:do=^J:ds=\Eh:\
6100	:fs=\E(\r:ho=^^:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
6101	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=^^:\
6102	:kl=^H:kr=^L:ku=^K:le=^H:mb=\EG2:nd=^L:nl=^J:nw=^M^J:ta=^I:\
6103	:ts=\EF\E):up=^K:tc=adm+sgr:
6104# From: Andrew Scott Beals <bandy@lll-crg.ARPA>
6105# Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
6106# Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
6107# (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
6108# :is:=\Eq but that looked wrong; this :is: is from Dave Yost <esquire!yost>
6109# via BRL.  That entry asserted :sg#1:, but I've left that out because
6110# neither earlier nor later ADMSs have it -- esr)
6111#
6112# You will need to get into the supervisor setup before you can set
6113# baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
6114# see a lot more setup options.
6115#
6116# While in supervisor setup you can also use following codes:
6117#
6118# Ctrl-P Personality character selections (configure for example what
6119#        arrow keys send, if I recall correctly)
6120# Ctrl-T tabs 1-80   use left&right to move and up to set and
6121# Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
6122# Ctrl-B Binary setup (probably not needed. I think that everything can
6123#        be set using normal setup)
6124# Ctrl-A Answerback mode (enter answerback message)
6125# Ctrl-U User friendly mode (normal setup)
6126# Ctrl-D Defaults entire setup and function keys from EPROM tables
6127# Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
6128# Ctrl-R Reads both setup and functions keys from NVM.
6129# Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
6130#
6131# ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
6132# RTS/CTS used nowadays with virtually every modem and computer. 19200
6133# bps works fine with hardware flow control.
6134#
6135# The following null-modem cable should fix this and enable you to use
6136# RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
6137# set ADM-12+ for DTR handshaking from supervisor setup.
6138#
6139# PC Serial   ADM-12+
6140#  --------   -------
6141#         2 - 3
6142#         3 - 2
6143#         4 - 5
6144#         5 - 20
6145#       6,8 - 4
6146#         7 - 7
6147#        20 - 6,8
6148#
6149adm12|lsi adm12:\
6150	:am:bs:mi:pt:\
6151	:co#80:it#8:li#24:ug#1:\
6152	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E0:\
6153	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:ic=\EQ:im=\Eq:\
6154	:is=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1:\
6155	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
6156	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:\
6157	:ku=^K:le=^H:nd=^L:st=\E1:up=^K:tc=adm+sgr:
6158# (adm20: removed obsolete ":kn#7:" -- esr)
6159adm20|lear siegler adm20:\
6160	:am:bs:\
6161	:co#80:it#8:li#24:\
6162	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:\
6163	:cm=\E=%i%r%+^_%+^_:cr=^M:dc=\EW:dl=\ER:ei=:ho=^^:ic=\EQ:\
6164	:im=:k1=^A:k2=^B:k3=^W:k4=^D:k5=^E:k6=^X:k7=^Z:le=^H:me=\E(:\
6165	:nd=^L:se=\E(:so=\E):ta=^I:up=^K:
6166adm21|lear siegler adm21:\
6167	:sg#1:\
6168	:al=30*\EE:bl=^G:cd=\EY:ce=\ET:cr=^M:dc=\EW:dl=30*\ER:do=^J:\
6169	:ei=:ic=\EQ:im=:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:mk@:sf=^J:\
6170	:tc=adm+sgr:tc=adm3a:
6171# (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
6172# removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
6173# removed bogus-looking \200 from before :cm:. -- esr)
6174adm22|lsi adm22:\
6175	:am:bs:\
6176	:co#80:li#24:\
6177	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
6178	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
6179	:is=\E%\014\014\014\016\003\200\003\002\003\002\200\200\200\200\200\200\200\200\200\200\200:\
6180	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
6181	:k7=^AF\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:l1=F1:l2=F2:\
6182	:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:le=^H:me=\E(:nd=^L:se=\E(:\
6183	:so=\E):ta=\Ei:up=^K:
6184# ADM 31 DIP Switches
6185#
6186# This information comes from two versions of the manual for the
6187# Lear-Siegler ADM 31.
6188#
6189# Main board:
6190#                  rear of case
6191#   +-||||-------------------------------------+
6192#   + S1S2                              ||S    +
6193#   +                                   ||3    +
6194#   +                                          +
6195#   +                                ||S       +
6196#   +                                ||4       +
6197#   +                                          +
6198#   +                                          +
6199#   +                                          +
6200#   +                                          +
6201#   +                                          +
6202# +-+                                          +-+
6203# +                                              +
6204# +                               S5 S6 S7       +
6205# +                               == == ==       +
6206# +----------------------------------------------+
6207#            front of case (keyboard)
6208#
6209#  S1 - Data Rate - Modem
6210#  S2 - Data Rate - Printer
6211# ------------------------
6212# Data Rate   Setting
6213# -------------------
6214# 50          0 0 0 0
6215# 75          1 0 0 0
6216# 110         0 1 0 0
6217# 134.5       1 1 0 0
6218# 150         0 0 1 0
6219# 300         1 0 1 0
6220# 600         0 1 1 0
6221# 1200        1 1 1 0
6222# 1800        0 0 0 1
6223# 2000        1 0 0 1
6224# 2400        0 1 0 1
6225# 3600        1 1 0 1
6226# 4800        0 0 1 1
6227# 7200        1 0 1 1
6228# 9600        0 1 1 1
6229# x           1 1 1 1
6230#
6231# S3 - Interface/Printer/Attributes
6232# ---------------------------------
6233# Printer Busy Control
6234# sw1   sw2   sw3
6235# ---------------
6236# off   off   off   Busy not active, CD disabled
6237# off   off   on    Busy not active, CD enabled
6238# off   on    off   Busy active on J5-20, CD disabled
6239# on    off   off   Busy active on J5-19, CD disabled - Factory Set.
6240# on    off   on    Busy active on J5-19, CD enabled
6241#
6242# sw4   Used in conjuction with S4 for comm interface control - Fact 0
6243#
6244# sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
6245#
6246# sw6   ON enables printer BUSY active LOW - Factory Setting
6247#       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
6248#
6249# sw7   ON - steady cursor - Factory Setting
6250#       OFF - blinking cursor
6251#
6252# sw8   ON causes selected attribute character to be displayed
6253#       OFF causes SPACE to be displayed instead - Factory Setting
6254#
6255# S4 - Interface
6256# --------------
6257# Modem Interface
6258# S3    S4    S4    S4    S4
6259# sw4   sw1   sw2   sw3   sw4
6260# ---------------------------
6261# OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
6262#                               Current Loop disabled - Factory Setting
6263# ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
6264#                               disabled
6265# OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
6266#                               Current Loop Disabled
6267#
6268# sw5   ON disables dot stretching mode - Factory Setting
6269#       OFF enables dot stretching mode
6270# sw6   ON enables blanking function
6271#       OFF enables underline function - Factory Setting
6272# sw7   ON causes NULLS to be displayed as NULLS
6273#       OFF causes NULLS to be displayed as SPACES - Factory Setting
6274#
6275# S5 - Word Structure
6276# -------------------
6277# sw1   ON enables BREAK key - Factory Setting
6278#       OFF disables BREAK key
6279# sw2   ON selects 50Hz monitor refresh rate
6280#       OFF selects 60Hz monitor refresh rate - Factory Setting
6281#
6282# Modem Port Selection
6283# sw3   sw4   sw5
6284# ---------------
6285# ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
6286# OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
6287# ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
6288# OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
6289# ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
6290# OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
6291# ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
6292# OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
6293#
6294# sw6   ON  sends bit 8 a 1 (mark)
6295#       OFF sends bit 8 as 0 (space) - Factory Setting
6296# sw7   ON  selects Block Mode
6297#       OFF selects Conversation Mode - Factory Setting
6298# sw8   ON  selects Full Duplex operation
6299#       OFF selects Half Duplex operation - Factory Setting
6300#
6301# S6 - Printer
6302# ------------
6303# sw1, sw2, sw6, sw7   Reserved - Factory 0
6304#
6305# Printer Port Selection
6306# same as Modem above, bit 8 (when 8 DATA bits) is always = 0
6307#
6308# sw8   ON   enables Printer Port
6309#       OFF disables Printer Port - Factory Setting
6310#
6311# S7 - Polling Address
6312# --------------------
6313# sw1-7 Establish ASCII character which designates terminal polling address
6314#       ON  = logic 0
6315#       OFF = logic 1 - Factory Setting
6316# sw8   ON   enables Polling Option
6317#       OFF disables Polling Option - Factory Setting
6318#
6319#
6320# On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
6321#
6322# This adm31 entry uses underline as the standout mode.
6323# If the adm31 gives you trouble with standout mode, check the DIP switch in
6324# position 6, bank @c11, 25% from back end of the circuit board.  Should be
6325# OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
6326# (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
6327adm31|lsi adm31 with sw6 set for underline mode:\
6328	:am:bs:mi:\
6329	:co#80:li#24:\
6330	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :cr=^M:\
6331	:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E0:k0=^A0\r:\
6332	:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:k6=^A6\r:\
6333	:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:\
6334	:me=\EG0:nd=^L:se=\EG0:sf=^J:so=\EG1:ue=\EG0:up=^K:us=\EG1:
6335adm31-old|o31|old adm31:\
6336	:so=\EG4:ue@:us@:tc=adm31:
6337# LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
6338adm36|LSI ADM36:\
6339	:bs:pt:\
6340	:kn#4:\
6341	:if=/usr/share/tabset/vt100:\
6342	:is=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l:\
6343	:tc=vt100:
6344# (adm42: removed obsolete ":ma=^K^P:" -- esr)
6345adm42|lsi adm42:\
6346	:am:bs:\
6347	:co#80:li#24:\
6348	:al=270\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :\
6349	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:im=\Eq:ip=6*:kd=^J:kh=^^:\
6350	:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:pc=\177:sf=^J:ta=^I:ue@:\
6351	:up=^K:us@:vs=\EC\E3 \E3(:tc=adm+sgr:
6352# The following termcap for the Lear Siegler ADM-42 leaves the
6353# "system line" at the bottom of the screen blank (for those who
6354# find it distracting otherwise)
6355adm42-ns|lsi adm-42 with no system line:\
6356	:al=\EE\EF \011:bt=\EI\EF \011:cd=\EY\EF \011:\
6357	:ce=\ET\EF \011:cl=\E;\EF \011:cm=\E=%+ %+ \EF \011:\
6358	:dc=\EW\EF \011:dl=\ER\EF \011:ei=\Er\EF \011:\
6359	:im=\Eq\EF \011:tc=adm42:
6360# ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
6361# The insert mode of this terminal is commented out because it's broken for our
6362# purposes in that it will shift the position of every character on the page,
6363# not just the cursor line!
6364# From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
6365adm1178|1178|lsi adm1178:\
6366	:am:\
6367	:co#80:li#24:sg#1:ug#1:\
6368	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
6369	:cr=^M:dc=\EW:dl=\ER:do=^J:ho=^^:ip=6*:kb=^H:kd=^J:kl=^H:\
6370	:le=^H:md=\E(:me=\E):mr=\EG4:nd=^L:nw=^M^J:pc=\177:se=\EG0:\
6371	:sf=^J:so=\EG4:ta=^I:ue=\EG0:up=^K:us=\EG1:vs=\EC\E3 \E3(:
6372
6373#### Prime
6374#
6375# Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
6376# <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
6377# Prime merged with ComputerVision in the late 1980s; you can reach them at:
6378#
6379#	ComputerVision Services
6380#	500 Old Connecticut Path
6381#	Framingham, Mass.
6382#
6383
6384# Standout mode is dim reverse-video.
6385pt100|pt200|wren|fenix|prime pt100/pt200:\
6386	:am:bw:mi:ms:\
6387	:co#80:it#8:li#24:\
6388	:DC=\E[%dP:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
6389	:al=\E[L\E[t:bt=\E[Z:cd=\E[J\E[r:ce=\E[K\E[t:cl=\E?:\
6390	:cm=\E0%+!%+!:cr=^M:dc=\E[P:dl=\E[M:do=\ED:ei=\E[4l:\
6391	:ho=\E$B:im=\E[4h:kb=^H:kd=\E[B:ke=\E[>13l:kh=\E$A:kl=\E[D:\
6392	:kr=\E[C:ks=\E[>13h:ku=\E[A:le=^H:me=\E[m:mh=\E[2m:nd=\E[C:\
6393	:nw=^M^J:se=\E[m:sf=^J:so=\E[2;7m:ta=^I:te=:\
6394	:ti=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q:\
6395	:ue=\E[m:up=\EM:us=\E[4m:vb=\E$\E$P:
6396pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode:\
6397	:co#132:\
6398	:cm=\E[%i%d;%dH:tc=pt100:
6399pt250|Prime PT250:\
6400	:se@:so@:tc=pt100:
6401pt250w|Prime PT250 in 132-column mode:\
6402	:se@:so@:tc=pt100w:
6403
6404#### Qume (qvt)
6405#
6406#	Qume, Inc.
6407#	3475-A North 1st Street
6408#	San Jose CA 95134
6409#	Vox: (800)-457-4447
6410#	Fax: (408)-473-1510
6411#	Net: josed@techsupp.wyse.com (Jose D'Oliveira)
6412#
6413# Qume was bought by Wyse, but still (as of early 1995) has its own support
6414# group and production division.
6415#
6416# Discontinued Qume models:
6417#
6418# The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
6419# built to replace them, and a qvt119+ which was a 101+ with available wide
6420# mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
6421# and an ANSI-compatible qvt203 that replaced it.  Qume started producing
6422# ANSI-compatible terminals with the qvt323 and qvt61.
6423#
6424# Current Qume models (as of February 1995):
6425#
6426# All current Qume terminals have ANSI-compatible operation modes.
6427# Qume is still producing the qvt62, which features emulations for other
6428# popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
6429# designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
6430# with many emulations including Wyse370, Wyse 325, etc.  Their newest
6431# model is the qvt520, which is vt420-compatible.
6432#
6433# There are some ancient printing Qume terminals under `Daisy Wheel Printers'
6434#
6435# If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
6436# setup mode.  Shift-s should be a configuration save to NVRAM.
6437
6438qvt101|qvt108|qume qvt 101 and QVT 108:\
6439	:sg#1:tc=qvt101+:
6440
6441# This used to have :vs=\E.2: but no :ve: or :vi:.  The BSD termcap
6442# file had :vs=\EM4 \200\200\200:.  I've done the safe thing and yanked
6443# both. The :mr: is from BSD, which also claimed bold=\E( and dim=\E).
6444# What seems to be going on here is that this entry was designed so that
6445# the normal highlight is bold and standout is dim plus something else
6446# (reverse-video maybe?  But then, are there two :mr: sequences?)
6447qvt101+|qvt101p|qume qvt 101 PLUS product:\
6448	:am:bw:hs:ul:\
6449	:co#80:li#24:sg#0:\
6450	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
6451	:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=:fs=^M:ho=^^:\
6452	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
6453	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:\
6454	:kB=\EI:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:\
6455	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\EA:po=\E@:se=\E(:sf=^J:\
6456	:so=\E0P\E):st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:\
6457	:tc=adm+sgr:
6458qvt102|qume qvt 102:\
6459	:ve=\E.:tc=qvt101:
6460# (qvt103: added <rmam>/<smam> based on init string -- esr)
6461qvt103|qume qvt 103:\
6462	:am:xn:xo:\
6463	:co#80:it#8:li#24:vt#3:\
6464	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
6465	:UP=\E[%dA:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
6466	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
6467	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
6468	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
6469	:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
6470	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
6471	:sf=^J:so=2\E[7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
6472	:us=2\E[4m:
6473qvt103-w|qume qvt103 132 cols:\
6474	:co#132:li#24:\
6475	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt103:
6476qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals:\
6477	:am:hs:mi:ms:\
6478	:co#80:li#24:sg#0:ug#0:\
6479	:al=\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E*1:cm=\E=%+ %+ :\
6480	:cr=^M:ct=\E3:dc=\EW:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:\
6481	:ho=^^:im=\Eq:is=\EDF\EC\EG0\Er\E(\E%EX:k0=^AI\r:\
6482	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
6483	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:\
6484	:ku=^K:le=^H:nd=^L:pf=\EA:po=\E@:sf=^J:sr=\EJ:st=\E1:ta=^I:\
6485	:ts=\Eg\Ef:up=^K:us=\EG8:vb=\En0\En1:ve=\E.4:vs=\E.2:\
6486	:tc=adm+sgr:
6487qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines:\
6488	:li#25:tc=qvt119+:
6489qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode:\
6490	:co#132:\
6491	:is=\EDF\EC\EG0\Er\E(\E%\EX\En4:tc=qvt119+:
6492qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25:\
6493	:li#25:tc=qvt119+:
6494qvt203|qvt203+|qume qvt 203 Plus:\
6495	:al=99\E[L:dc=7\E[P:dl=99\E[M:ei=\E[4l:im=\E[4h:ip=7:\
6496	:k0=\E[29~:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
6497	:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[28~:\
6498	:sf=30\n:tc=qvt103:
6499qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video):\
6500	:co#132:li#24:\
6501	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=qvt203:
6502#
6503#	Since a command is present for enabling 25 data lines,
6504#	a specific terminfo entry may be generated for the 203.
6505#	If one is desired for the QVT 119 PLUS then 25 lines must
6506#	be selected in the status line (setup line 9).
6507#
6508qvt203-25|QVT 203 PLUS with 25 by 80 column mode:\
6509	:co#80:li#25:\
6510	:is=\E[=40h\E[?3l:tc=qvt203:
6511qvt203-25-w|QVT 203 PLUS with 25 by 132 columns:\
6512	:co#132:li#25:\
6513	:rs=\E[?3h\E[=40h:tc=qvt203:
6514
6515#### Televideo (tvi)
6516#
6517#	TeleVideo
6518#	550 East Brokaw Road
6519#	PO Box 49048    95161
6520#	San Jose CA 95112
6521#	Vox: (408)-954-8333
6522#	Fax: (408)-954-0623
6523#
6524#
6525# These require incredible amounts of padding.
6526#
6527# All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
6528# Televideo terminals are ANSI and PC-ANSI compatible.
6529
6530tvi803|televideo 803:\
6531	:cl=10\E*:tc=tvi950:
6532
6533# Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
6534# Switch settings are:
6535#
6536# S1  1 2 3 4
6537#     D D D D  9600
6538#     D D D U    50
6539#     D D U D    75
6540#     D D U U   110
6541#     D U D D   135
6542#     D U D U   150
6543#     D U U D   300
6544#     D U U U   600
6545#     U D D D  1200
6546#     U D D U  1800
6547#     U D U D  2400
6548#     U D U U  3600
6549#     U U D D  4800
6550#     U U D U  7200
6551#     U U U D  9600
6552#     U U U U 19200
6553#
6554# S1  5 6 7 8
6555#     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
6556#     U D X U  7N2
6557#     U U D D  7O1
6558#     U U D U  7O2
6559#     U U U D  7E1
6560#     U U U U  7E2
6561#     D D X D  8N1
6562#     D D X U  8N2
6563#     D U D D  8O1
6564#     D U U U  8E2
6565#
6566# S1  9  Autowrap
6567#     U  on
6568#     D  off
6569#
6570# S1 10  CR/LF
6571#     U  do CR/LF when CR received
6572#     D  do CR when CR received
6573#
6574# S2  1  Mode
6575#     U  block
6576#     D  conversational
6577#
6578# S2  2  Duplex
6579#     U  half
6580#     D  full
6581#
6582# S2  3  Hertz
6583#     U  50
6584#     D  60
6585#
6586# S2  4  Edit mode
6587#     U  local
6588#     D  duplex
6589#
6590# S2  5  Cursor type
6591#     U  underline
6592#     D  block
6593#
6594# S2  6  Cursor down key
6595#     U  send ^J
6596#     D  send ^V
6597#
6598# S2  7  Screen colour
6599#     U  green on black
6600#     D  black on green
6601#
6602# S2  8  DSR status (pin 6)
6603#     U  disconnected
6604#     D  connected
6605#
6606# S2  9  DCD status (pin 8)
6607#     U  disconnected
6608#     D  duplex
6609#
6610# S2 10  DTR status (pin 20)
6611#     U  disconnected
6612#     D  duplex
6613# (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added :kh:, :le:, :do:,
6614# :sf:, <hpa>, <vpa>, :am:, :ms: from SCO entry -- esr)
6615tvi910|televideo model 910:\
6616	:am:bs:ms:\
6617	:co#80:it#8:li#24:sg#1:\
6618	:bl=^G:bt=\EI:cd=\EY:ce=\ET:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :\
6619	:cr=^M:cv=\E[%+ :do=^J:ho=\E=\001\001:\
6620	:if=/usr/share/tabset/stdcrt:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
6621	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
6622	:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:\
6623	:sf=^J:ta=^I:up=^K:tc=adm+sgr:
6624# From: Alan R. Rogers <rogers%albany@csnet-relay>
6625# as subsequently hacked over by someone at SCO
6626# (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
6627#
6628# Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
6629#
6630# S1  1 2 3 4:
6631#     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
6632#     D U D D   135     D U D U   150     D U U D   300     D U U U   600
6633#     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
6634#     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
6635#
6636# S1  5 6 7 8:
6637#     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
6638#     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
6639#     D U D D  8O1     D U U U  8E2
6640#
6641# S1  9  Autowrap            (U = on, D = off)
6642# S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
6643# S2  1  Mode                (U = block, D = conversational)
6644# S2  2  Duplex              (U =  half, D = full)
6645# S2  3  Hertz               (U = 50, D = 60)
6646# S2  4  Edit mode           (U = local, D = duplex)
6647# S2  5  Cursor type         (U = underline, D = block)
6648# S2  6  Cursor down key     (U = send ^J, D = send ^V)
6649# S2  7  Screen colour       (U = green on black, D = black on green)
6650# S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
6651# S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
6652# S2 10  DTR status (pin 20) (U = disconnected, D = connected)
6653#
6654tvi910+|televideo 910+:\
6655	:al=33*\EE:dc=\EW:dl=33*\ER:ei=:ho=^^:ic=\EQ:im=:k0=^A@\r:\
6656	:k1=^AA\r:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:\
6657	:k7=^AG\r:k8=^AH\r:k9=^AI\r:ll=\E=7\040:tc=tvi910:
6658
6659# (tvi912: removed obsolete ":ma=^K^P^L :", added  :vb: and
6660# :kh: from BRL entry -- esr)
6661tvi912|tvi914|tvi920|old televideo 912/914/920:\
6662	:am:bs:ms:pt:\
6663	:co#80:it#8:li#24:sg#1:ug#1:\
6664	:al=33*\EE:bl=^G:cd=\Ey:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
6665	:ct=\E3:dc=\EW:dl=33*\ER:do=^J:ei=:ho=^^:ic=\EQ:\
6666	:if=/usr/share/tabset/stdcrt:im=:k0=^AI\r:k1=^A@\r:\
6667	:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
6668	:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
6669	:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:us=\El:\
6670	:vb=\Eb\Ed:
6671# We got some new tvi912c terminals that act really weird on the regular
6672# termcap, so one of our gurus worked this up. Seems that cursor
6673# addressing is broken.
6674tvi912cc|tvi912 at cowell college:\
6675	:cm@:tc=tvi912c:
6676
6677# tvi{912,920}[bc] - TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C
6678# From: Benjamin C. W. Sittler
6679#
6680# Someone has put a scanned copy of the manual online at:
6681#     http://vt100.net/televideo/912b-om/
6682#
6683# These terminals were produced ca. 1979, and had a 12" monochrome
6684# screen, supported 75-9600 baud (no handshaking), monochrome, 7-bit
6685# ASCII, and were generally similar to adm3a but with attributes
6686# (including some with magic cookies), fancy half-duplex mode, and
6687# different bugs.
6688#
6689# Some operations reqire truly incredible amounts of padding. The
6690# insert_line (:al:) and delete_line (:dl:) operations in particular
6691# are so slow as to be nearly unusable.
6692#
6693# There may or may not have been a separate, earlier series of 912/920
6694# terminals (without the "B" and "C" suffix); I have never seen one,
6695# and the manual only describes the "B" and "C" series. The 912 and 920
6696# are quite distinct from the 914 and 924, which were much nicer non-
6697# magic-cookie terminals similar to the 950.
6698#
6699# This is a new description for the following TeleVideo terminals,
6700# distinguished chiefly by their keyboards:
6701#
6702#   TVI-912B - very odd layout, no function keys (84 keys)
6703#   TVI-920B - typewriter layout, no function keys (103 keys)
6704#   TVI-912C - very odd layout, function keys F1-F11 (82 keys)
6705#   TVI-920C - typewriter layout, function keys F1-F11 (101 keys)
6706#
6707# To choose a setting for the TERM variable, start with the model:
6708#
6709#    Model  || base name
6710# ----------||-----------
6711#  TVI-912B || tvi912b
6712#  TVI-912C || tvi912c
6713#  TVI-920B || tvi920b
6714#  TVI-920C || tvi920c
6715#
6716# Then add a suffix from the following table describing installed options
6717# and how you'd like to use the terminal:
6718#
6719#   Use Video | Second | Visual |  Magic  |  Page || feature
6720#  Attributes |  Page  |  Bell  | Cookies | Print || suffix
6721# ------------|--------|--------|---------|-------||---------
6722#      No     |   No   |  N/A   |   N/A   |   No  || -unk
6723#      No     |   No   |  N/A   |   N/A   |  Yes  || -p
6724#      No     |  Yes   |   No   |   N/A   |   No  || -2p-unk
6725#      No     |  Yes   |   No   |   N/A   |  Yes  || -2p-p
6726#      No     |  Yes   |  Yes   |   N/A   |   No  || -vb-unk
6727#      No     |  Yes   |  Yes   |   N/A   |  Yes  || -vb-p
6728#     Yes     |   No   |  N/A   |    No   |  N/A  ||
6729#     Yes     |   No   |  N/A   |   Yes   |  N/A  || -mc
6730#     Yes     |  Yes   |   No   |    No   |  N/A  || -2p
6731#     Yes     |  Yes   |   No   |   Yes   |  N/A  || -2p-mc
6732#     Yes     |  Yes   |  Yes   |    No   |  N/A  || -vb
6733#     Yes     |  Yes   |  Yes   |   Yes   |  N/A  || -vb-mc
6734#
6735# So e.g. a model 920 C with second page memory option, visual bell
6736# and no magic cookies would be tvi920c-vb; a model 912 B without the
6737# second page memory option and using magic cookies would be
6738# tvi912b-mc
6739#
6740# PADDING
6741#
6742# At 9600 baud, the terminal is prone to overflow its input buffer
6743# during complex operations (insert/delete
6744# character/line/screen/page), and it does not signal this over the
6745# RS232 cable. The typical symptom of an overrun is that the terminal
6746# starts beeping, and output becomes garbled.
6747#
6748# The padding delays in this terminfo were derived using tack(1)
6749# running on a Linux box connected to a TVI-920C with a later-model
6750# (A49C1-style) ROM running at 9600 baud, so your mileage may
6751# vary. The numbers below seem to give the terminal enough time so
6752# that it doesn't overflow its input buffer and start losing
6753# characters.
6754#
6755# KEYS
6756#
6757# If you want to use the FUNCT key on a tvi912[bc], use the
6758# corresponding tvi920[bc] terminfo with FUNCT + ... equivalents from
6759# the following table (these also work on the 920 series):
6760#
6761# Unshifted Function Keys:
6762#
6763#  Key | capname|| Equivalent
6764# -----|--------||------------
6765#   F1 |  :k1: || FUNCT + @
6766#   F2 |  :k2: || FUNCT + A
6767#   F3 |  :k3: || FUNCT + B
6768#   F4 |  :k4: || FUNCT + C
6769#   F5 |  :k5: || FUNCT + D
6770#   F6 |  :k6: || FUNCT + E
6771#   F7 |  :k7: || FUNCT + F
6772#   F8 |  :k8: || FUNCT + G
6773#   F9 |  :k9: || FUNCT + H
6774#  F10 | <kf10> || FUNCT + I
6775#  F11 | <kf11> || FUNCT + J
6776#
6777# Shifted Function Keys:
6778#
6779#  SHIFT + Key | capname|| Equivalent
6780# -------------|--------||------------
6781#   SHIFT + F1 | <kf12> || FUNCT + `
6782#   SHIFT + F2 | <kf13> || FUNCT + a
6783#   SHIFT + F3 | <kf14> || FUNCT + b
6784#   SHIFT + F4 | <kf15> || FUNCT + c
6785#   SHIFT + F5 | <kf16> || FUNCT + d
6786#   SHIFT + F6 | <kf17> || FUNCT + e
6787#   SHIFT + F7 | <kf18> || FUNCT + f
6788#   SHIFT + F8 | <kf19> || FUNCT + g
6789#   SHIFT + F9 | <kf20> || FUNCT + h
6790#  SHIFT + F10 | <kf21> || FUNCT + i
6791#  SHIFT + F11 | <kf22> || FUNCT + j
6792#
6793# PORTS AND SWITCH SETTINGS
6794#
6795# Here are the switch settings for the TVI-912B/TVI-920B and
6796# TVI-912C/TVI-920C:
6797#
6798# S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
6799# 2: 9600	3: 4800		4: 2400		5: 1200
6800# 6:  600	7:  300		8:  150		9:   75
6801# 10: 110
6802#
6803# S2 UART/Terminal options:
6804# 		Up			Down
6805# 1:		Not used		Not allowed
6806# 2:	Alternate character set	  Standard character set
6807# 3:	    Full duplex		    Half duplex
6808# 4:	    50 Hz refresh	    60 Hz refresh
6809# 5:	      No parity		     Send parity
6810# 6:	     2 stop bits	     1 stop bit
6811# 7:	     8 data bits	     7 data bits
6812# 8:		Not used		Not allowed on Rev E or lower
6813# 9:	     Even parity	     Odd parity
6814# 10:	    Steady cursor	    Blinking cursor
6815# 	(On Rev E or lower, use W25 instead of switch 10.)
6816#
6817# S5 UART/Terminal options:
6818# 		Open			Closed
6819# 1:	P3-6 Not connected	DSR received on P3-6
6820# 2:	P3-8 Not connected	DCD received on P3-8
6821#
6822# 3 Open, 4 Open:		P3-20 Not connected
6823# 3 Open, 4 Closed:	DTR on when terminal is on
6824# 3 Closed, 4 Open:	DTR is connected to RTS
6825# 3 Closed, 4 Closed:	Not allowed
6826#
6827# 5 Closed:	HDX printer (hardware control) Rev. K with extension port off,
6828# 		all data transmitted out of the modem port (P3) will also be
6829# 		transmitted out of the printer port (P4).
6830#
6831# 6 Open, 7 Open:		Not allowed
6832# 6 Open, 7 Closed:	20ma current loop input
6833# 6 Closed, 7 Open:	RS232 input
6834# 6 Closed, 7 Closed:	Not allowed
6835#
6836# Jumper options:
6837# If the jumper is installed, the effect will occur (the next time the terminal
6838# is switched on).
6839#
6840# S4/W31:	Enables automatic LF upon receipt of CR from
6841# 		remote or keyboard.
6842# S4/W32:	Enables transmission of EOT at the end of Send.  If not
6843# 		installed, a carriage return is sent.
6844# S4/W33:	Disables automatic carriage return in column 80.
6845# S4/W34:	Selects Page Print Mode as initial condition.  If not
6846# 		installed, Extension Mode is selected.
6847#
6848# NON-STANDARD CAPABILITIES
6849#
6850# Sending <u9> or <u7> returns a cursor position report in the format
6851# YX\r, where Y and X are as in :cm:. This format is described in
6852# <u8> and <u6>, but it's not clear how one should write an
6853# appropriate scanf string, since we need to subtract %' ' from the
6854# character after reading it. The <u9> capability is used by tack(1)
6855# to synchronize during padding tests, and seems to work for that
6856# purpose.
6857#
6858# This description also includes the obsolete termcap capabilities
6859# has_hardware_tabs (:pt:) and backspaces_with_bs (:bs:).
6860#
6861# FEATURES NOT YET DESCRIBED IN THIS TERMINFO
6862#
6863# The FUNCT modifier actually works with every normal key by sending
6864# ^AX\r, where X is the sequence normally sent by that key. This is a
6865# sort of meta key not currently describable in terminfo.
6866#
6867# There are quite a few other keys (especially on the 920 models,) but
6868# they are for the most part only useful in block mode.
6869#
6870# These terminals have lots of forms manipulation features, mainly
6871# useful in block mode, including "clear X to nulls" (vs. "clear X to
6872# spaces"; nulls are sentinels for "send X" operations); "send X"
6873# operations for uploading all or part of the screen; and block-mode
6874# editing keys (they don't send escape sequences, but manipulate video
6875# memory directly). Block mode is used for local editing, and protect
6876# mode (in conjunction with the "write protect" attribute,
6877# a.k.a. half-intensity outside of protect mode) is used to control
6878# which parts of the screen are edited/sent/printed (by <mc0>).
6879#
6880# There are at least two major families of ROM, "early" and
6881# A49B1/A49C1; the major difference seems to be that the latter ROMs
6882# support a few extra escape sequences for manipulating the off-screen
6883# memory page, and for sending whole pages back to the host (mainly
6884# useful in block mode.) The descriptions in this file don't use any
6885# of those sequences: set cursor position including page (\E-PYX,
6886# where P is \s for page 0 and ! for page 1 [actually only the LSB of
6887# P is taken into account, so e.g. 0 and 1 work too,] and Y and X are
6888# as in :cm:); read cursor position (\E/), which is analogous to <u9>
6889# and returns PYX\r, where P is \s for page 0 or ! for page 1, and YX
6890# are as in :cm:, and some "send page" features mainly useful for
6891# forms manipulation.
6892#
6893# The keyboard enable (\E") and disable (\E#) sequences are unused,
6894# except that a terminal reset (:is:) enables the keyboard.
6895#
6896# Auto-flip mode (\Ev) is likely faster than the scrolling mode (\Ew)
6897# enabled in :is:, but auto-flip is very jarring so we don't use it.
6898#
6899# BUGS
6900#
6901# At least up to the A49B1 and A49C1 ROMs, there are no \Eb and \Ed
6902# sequences (I infer that in some TeleVideo terminal they may invert
6903# and uninvert the display) so the :vb: sequence given here is a
6904# cheesy page-flip instead.
6905#
6906# The back_tab (:bt:) sequence (\EI) doesn't work according to
6907# tack(1), so it is not included in the descriptions below.
6908#
6909# It's not clear whether auto_left_margin (:bw:) flag should be set
6910# for these terminals; tack says yes, so it is set here, but this
6911# differs from other descriptions I've seen.
6912#
6913# Extension print mode (<mc5>) echoes all characters to the printer
6914# port [in addition to displaying them] except for the page print mode
6915# sequence (<mc4>); this is a slight violation of the terminfo
6916# definition for <mc5> but I don't expect it to cause problems.  We
6917# reset to page print mode in <rs1> since it may have been enabled
6918# accidentally.
6919#
6920# The descriptions with plus signs (+) are building blocks.
6921
6922tvi912b-unk|tvi912c-unk|TeleVideo TVI-912B or TVI-912C (no attributes):\
6923	:am:bs:bw:pt:\
6924	:co#80:it#8:li#24:\
6925	:@8=^M:al=100\EE:bl=^G:cd=10\Ey:ce=15\ET:cl=50\032:\
6926	:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=30\EW:dl=100\ER:do=^J:ei=:\
6927	:ho=^^:ic=30\EQ:if=/usr/share/tabset/stdcrt:im=:\
6928	:is=\Ew\EA\E'\E"\E(:kD=\177:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
6929	:le=^H:nd=^L:pf=\EA:po=\E@:r1=\Ek\010\Em\010\Eq\032:\
6930	:sf=10\n:st=\E1:ta=^I:u6=%.%.\r:u7=\E?:u8=%.%.\r:u9=\E?:\
6931	:up=^K:
6932
6933# This isn't included in the basic capabilities because it is
6934# typically unusable in combination with the full range of video
6935# attributes, since the magic cookie attributes turn into ASCII
6936# control characters, and the half-intensity ("protected") attribute
6937# converts all affected characters to spaces.
6938
6939tvi912b+printer|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C page print support:\
6940	:ps=\EP:
6941
6942# This uses half-intensity mode (:mh:) for standout (:so:), and
6943# exposes no other attributes (half-intensity is the only attribute
6944# that does not generate a magic cookie.)
6945
6946tvi912b+dim|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C half-intensity attribute support:\
6947	:ms:\
6948	:me=\E(:mh=\E):se=\E(:so=\E):
6949
6950# Full magic-cookie attribute support, with half-intensity reverse
6951# video for standout. Note that we add a space in the :mh: sequence
6952# to give a consistent magic-cookie count. Also note that :sa: uses
6953# backspacing (in the TVI-supported order) to apply all requested
6954# attributes with only a single magic cookie.
6955
6956tvi912b+mc|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C full magic-cookie attribute support:\
6957	:sg#1:ug#1:\
6958	:mb=\E\136:me=\E(\Ek\010\Em\010\Eq:mh=\E)\040:mk=\E_:\
6959	:mr=\Ej:se=\E(\Ek:so=\E)\Ej:ue=\Em:us=\El:
6960
6961# This uses the second page memory option to save & restore screen
6962# contents. If your terminal is missing the option, this description
6963# should still work, but that has not been tested.
6964
6965tvi912b+2p|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option support:\
6966	:te=\032\EK\E=7\040:\
6967	:ti=50\EK\032\E(\Ek\010\Em\010\Eq\032:vb=\EK\EK:
6968
6969# This simulates flashing by briefly toggling to the other page
6970# (kludge!)
6971
6972tvi912b+vb|TeleVideo TVI-912B/TVI-920B and TVI-912C/TVI-920C second page memory option "visible bell" support:\
6973	:bl=\EK\EK:tc=tvi912b+2p:
6974
6975# Function keys (<kf12> .. <kf22> are shifted :k1: .. <kf11>)
6976
6977tvi920b+fn|TeleVideo TVI-920B and TVI-920C function key support:\
6978	:F1=^AJ\r:F2=^A`\r:F3=^Aa\r:F4=^Ab\r:F5=^Ac\r:F6=^Ad\r:\
6979	:F7=^Ae\r:F8=^Af\r:F9=^Ag\r:FA=^Ah\r:FB=^Ai\r:FC=^Aj\r:\
6980	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
6981	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:
6982
6983# Combinations of the basic building blocks
6984
6985tvi912b-2p-unk|tvi912c-2p-unk|tvi912b-unk-2p|tvi912c-unk-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; no attributes):\
6986	:tc=tvi912b+2p:tc=tvi912b-unk:
6987
6988tvi912b-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):\
6989	:tc=tvi912b+vb:tc=tvi912b-unk:
6990
6991tvi912b-p|tvi912c-p|TeleVideo TVI-912B or TVI-912C (no attributes; page print):\
6992	:tc=tvi912b+printer:tc=tvi912b-unk:
6993
6994tvi912b-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):\
6995	:tc=tvi912b+2p:tc=tvi912b+printer:tc=tvi912b-unk:
6996
6997tvi912b-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):\
6998	:tc=tvi912b+vb:tc=tvi912b+printer:tc=tvi912b-unk:
6999
7000tvi912b-2p|tvi912c-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; half-intensity attribute):\
7001	:tc=tvi912b+2p:tc=tvi912b+dim:tc=tvi912b-unk:
7002
7003tvi912b-2p-mc|tvi912c-2p-mc|tvi912b-mc-2p|tvi912c-mc-2p|TeleVideo TVI-912B or TVI-912C (second page memory option; magic cookies):\
7004	:tc=tvi912b+2p:tc=tvi912b+mc:tc=tvi912b-unk:
7005
7006tvi912b-vb|tvi912c-vb|TeleVideo TVI-912B or TVI-912C (second page memory option "visible bell"; half-intensity attribute):\
7007	:tc=tvi912b+vb:tc=tvi912b+dim:tc=tvi912b-unk:
7008
7009tvi912b-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):\
7010	:tc=tvi912b+vb:tc=tvi912b+mc:tc=tvi912b-unk:
7011
7012tvi912b|tvi912c|TeleVideo TVI-912B or TVI-912C (half-intensity attribute):\
7013	:tc=tvi912b+dim:tc=tvi912b-unk:
7014
7015tvi912b-mc|tvi912c-mc|TeleVideo TVI-912B or TVI-912C (magic cookies):\
7016	:tc=tvi912b+mc:tc=tvi912b-unk:
7017
7018tvi920b-unk|tvi920c-unk|TeleVideo TVI-920B or TVI-920C (no attributes):\
7019	:tc=tvi920b+fn:tc=tvi912b-unk:
7020
7021tvi920b-2p-unk|tvi920c-2p-unk|tvi920b-unk-2p|tvi920c-unk-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; no attributes):\
7022	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b-unk:
7023
7024tvi920b-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):\
7025	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b-unk:
7026
7027tvi920b-p|tvi920c-p|TeleVideo TVI-920B or TVI-920C (no attributes; page print):\
7028	:tc=tvi920b+fn:tc=tvi912b+printer:tc=tvi912b-unk:
7029
7030tvi920b-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):\
7031	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+printer:\
7032	:tc=tvi912b-unk:
7033
7034tvi920b-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):\
7035	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+printer:\
7036	:tc=tvi912b-unk:
7037
7038tvi920b-2p|tvi920c-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; half-intensity attribute):\
7039	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+dim:\
7040	:tc=tvi912b-unk:
7041
7042tvi920b-2p-mc|tvi920c-2p-mc|tvi920b-mc-2p|tvi920c-mc-2p|TeleVideo TVI-920B or TVI-920C (second page memory option; magic cookies):\
7043	:tc=tvi920b+fn:tc=tvi912b+2p:tc=tvi912b+mc:\
7044	:tc=tvi912b-unk:
7045
7046tvi920b-vb|tvi920c-vb|TeleVideo TVI-920B or TVI-920C (second page memory option "visible bell"; half-intensity attribute):\
7047	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+dim:\
7048	:tc=tvi912b-unk:
7049
7050tvi920b-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):\
7051	:tc=tvi920b+fn:tc=tvi912b+vb:tc=tvi912b+mc:\
7052	:tc=tvi912b-unk:
7053
7054tvi920b|tvi920c|TeleVideo TVI-920B or TVI-920C (half-intensity attribute):\
7055	:tc=tvi920b+fn:tc=tvi912b+dim:tc=tvi912b-unk:
7056
7057tvi920b-mc|tvi920c-mc|TeleVideo TVI-920B or TVI-920C (magic cookies):\
7058	:tc=tvi920b+fn:tc=tvi912b+mc:tc=tvi912b-unk:
7059
7060# Televideo 921 and variants
7061# From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
7062# (tvi921: removed :ko=bt: before translation, I see no backtab cap;
7063# also added empty <acsc> to suppress tic warning -- esr)
7064tvi921|televideo model 921 with sysline same as page & real vi function:\
7065	:am:bs:hs:pt:xn:xs:\
7066	:co#80:li#24:sg#0:\
7067	:ac=:ae=\E%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
7068	:cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
7069	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
7070	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
7071	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
7072	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:ve=\E.3:\
7073	:vs=\E.2:tc=adm+sgr:
7074# without the beeper
7075# (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
7076# also added empty <acsc> to suppress tic warning -- esr)
7077tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper:\
7078	:am:hs:xn:xs:\
7079	:co#80:li#24:sg#0:\
7080	:ac=:ae=\E%%:al=\EE:as=\E$:cd=\EY:ce=\ET:cl=^Z:\
7081	:cm=3\E=%+ %+ :cr=^M:dc=\EW:dl=1*\ER:do=^V:ds=\Ef\r\Eg:ei=:\
7082	:fs=\Eg:ho=^^:ic=\EQ:if=/usr/share/tabset/stdcrt:im=:\
7083	:is=\El\E"\EF1\E.3\017\EA\E<:kA=\EE:kC=^Z:kD=\EW:kE=\ET:\
7084	:kI=\EQ:kL=1*\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:ku=^K:le=^H:\
7085	:mk@:nd=^L:nw=^M^J:sf=^J:ta=^I:ts=\Ef\EG0:up=^K:vb=\Eb\Ed:\
7086	:ve=\E.3:vs=\E.2:tc=adm+sgr:
7087# (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
7088tvi92D|tvi92B with DTR instead of XON/XOFF & better padding:\
7089	:al=2*\EE:dl=2*\ER:is=\El\E"\EF1\E.3\016\EA\E<:kA=2*\EE:\
7090	:kL=2*\ER:tc=tvi92B:
7091
7092# (tvi924: This used to have :ds=\Es0:, :fs=\031:.  I put the new strings
7093# in from a BSD termcap file because it looks like they do something the
7094# old ones skip -- esr)
7095tvi924|televideo tvi924:\
7096	:am:bw:hs:in:mi:ms:xn:xo:\
7097	:co#80:it#8:li#24:sg#0:ws#80:\
7098	:F1=^AK\r:F2=^AL\r:F3=^AM\r:F4=^AN\r:F5=^AO\r:al=\EE:bl=^G:\
7099	:bt=\EI:cd=\Ey:ce=\Et:cl=\E*0:cm=\E=%+ %+ :cr=^M:\
7100	:cs=\E_%+ %+ :ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Es0\Ef\031:\
7101	:ei=:fs=\031\Es1:ho=^^:\
7102	:i1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0:ic=\EQ:\
7103	:if=/usr/share/tabset/stdcrt:im=:k0=^A@\r:k1=^AA\r:\
7104	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
7105	:k8=^AH\r:k9=^AI\r:k;=^AJ\r:kA=\EE:kC=\E*0:kD=\EW:kE=\Et:\
7106	:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:\
7107	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:l9=F10:\
7108	:la=F11:le=^H:mb=\EG2:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:ta=^I:\
7109	:ts=\Ef:up=^K:vb=\Eb\Ed:ve=\E.3:vi=\E.0:vs=\E.1:tc=adm+sgr:
7110
7111# TVI925 DIP switches.  In each of these, D = Down and U = Up,
7112#
7113# Here are the settings for the external (baud) switches (S1):
7114#
7115#             Position		Baud
7116# 7	8	9	10		[Printer]
7117# 1	2	3	4		[Main RS232]
7118# -----------------------------------------------------
7119# D	D	D	D	9600
7120# D	D	D	U	  50
7121# D	D	U	D	  75
7122# D	D	U	U	 110
7123# D	U	D	D	 135
7124# D	U	D	U	 150
7125# D	U	U	D	 300
7126# D	U	U	U	 600
7127# U	D	D	D	1200
7128# U	D	D	U	1800
7129# U	D	U	D	2400
7130# U	D	U	U	3600
7131# U	U	D	D	4800
7132# U	U	D	U	7200
7133# U	U	U	D	9600
7134# U	U	U	U	19200
7135#
7136#
7137# Settings for word length and stop-bits (S1)
7138#
7139#  Position	Description
7140# 5	6
7141# ---------------------------
7142# U	-	7-bit word
7143# D	-	8-bit word
7144# -	U	2 stop bits
7145# -	D	1 stop bit
7146#
7147#
7148# S2 (external) settings
7149#
7150# Position	Up	Dn	Description
7151# --------------------------------------------
7152# 1		X		Local edit
7153# 			X	Duplex edit (transmit editing keys)
7154# --------------------------------------------
7155# 2		X		912/920 emulation
7156# 			X	925
7157# --------------------------------------------
7158# 3			X
7159# 4			X	No parity
7160# 5			X
7161# --------------------------------------------
7162# 3			X
7163# 4			X	Odd parity
7164# 5		X
7165# --------------------------------------------
7166# 3			X
7167# 4		X		Even parity
7168# 5		X
7169# --------------------------------------------
7170# 3		X
7171# 4			X	Mark parity
7172# 5		X
7173# --------------------------------------------
7174# 3		X
7175# 4		X		Space parity
7176# 5		X
7177# --------------------------------------------
7178# 6		X		White on black display
7179# 			X	Black on white display
7180# --------------------------------------------
7181# 7			X	Half Duplex
7182# 8			X
7183# --------------------------------------------
7184# 7		X		Full Duplex
7185# 8			X
7186# --------------------------------------------
7187# 7			X	Block mode
7188# 8		X
7189# --------------------------------------------
7190# 9			X	50 Hz
7191# 		X		60 Hz
7192# --------------------------------------------
7193# 10		X		CR/LF (Auto LF)
7194# 			X	CR only
7195#
7196# S3 (internal switch) settings:
7197#
7198# Position	Up	Dn	Description
7199# --------------------------------------------
7200# 1		X		Keyclick off
7201# 			X	Keyclick on
7202# --------------------------------------------
7203# 2			X	English
7204# 3			X
7205# --------------------------------------------
7206# 2			X	German
7207# 3		X
7208# --------------------------------------------
7209# 2		X		French
7210# 3			X
7211# --------------------------------------------
7212# 2		X		Spanish
7213# 3		X
7214# --------------------------------------------
7215# 4			X	Blinking block cursor
7216# 5			X
7217# --------------------------------------------
7218# 4			X	Blinking underline cursor
7219# 5		X
7220# --------------------------------------------
7221# 4		X		Steady block cursor
7222# 5			X
7223# --------------------------------------------
7224# 4		X		Steady underline cursor
7225# 5		X
7226# --------------------------------------------
7227# 6		X		Screen blanking timer (ON)
7228# 			X	Screen blanking timer (OFF)
7229# --------------------------------------------
7230# 7		X		Page attributes
7231# 			X	Line attributes
7232# --------------------------------------------
7233# 8		X		DCD disconnected
7234# 			X	DCD connected
7235# --------------------------------------------
7236# 9		X		DSR disconnected
7237# 			X	DSR connected
7238# --------------------------------------------
7239# 10		X		DTR Disconnected
7240# 			X	DTR connected
7241# --------------------------------------------
7242#
7243# (tvi925: BSD has :cl=\E*:.  I got :is: and :sr: from there -- esr)
7244tvi925|televideo 925:\
7245	:am:bs:bw:hs:ul:\
7246	:co#80:li#24:sg#1:\
7247	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
7248	:ct=\E3:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=:fs=^M\Eg:ho=^^:ic=\EQ:\
7249	:im=:is=\El\E":k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
7250	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
7251	:kA=\EE:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:\
7252	:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:nd=^L:sf=^J:sr=\Ej:st=\E1:\
7253	:ta=^I:ts=\Eh\Ef:up=^K:vb=\Eb\Ed:ve=\E.4:vs=\E.2:\
7254	:tc=adm+sgr:
7255# TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
7256# to avoid "magic cookie" standout glitch:
7257tvi925-hi|TeleVideo Model 925 with half intensity standout mode:\
7258	:sg@:\
7259	:kb=^H:kd=^J:kl=^H:se=\E(:so=\E):tc=tvi925:
7260
7261# From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
7262# Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
7263# for additional capabilities,
7264# The following tvi descriptions from B:pjphar and virus!mike
7265# is for all 950s.  It sets the following attributes:
7266# full duplex (\EDF)		write protect off (\E()
7267# conversation mode (\EC)	graphics mode off (\E%)
7268# white on black (\Ed)		auto page flip off (\Ew)
7269# turn off status line (\Eg)	clear status line (\Ef\r)
7270# normal video (\E0)		monitor mode off (\EX or \Eu)
7271# edit mode (\Er)		load blank char to space (\Ee\040)
7272# line edit mode (\EO)		enable buffer control (^O)
7273# protect mode off (\E\047)	duplex edit keys (\El)
7274# program unshifted send key to send line all (\E016)
7275# program shifted send key to send line unprotected (\E004)
7276# set the following to nulls:
7277#	field delimiter (\Ex0\200\200)
7278#	line delimiter (\Ex1\200\200)
7279#	start-protected field delimiter (\Ex2\200\200)
7280#	end-protected field delimiter (\Ex3\200\200)
7281# set end of text delimiter to carriage return/null (\Ex4\r\200)
7282#
7283#                     TVI 950 Switch Setting Reference Charts
7284#
7285#                                     TABLE 1:
7286#
7287#      S1     1     2     3     4     5     6     7     8     9    10
7288#          +-----------------------+-----+-----+-----------------------+
7289#          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
7290#          |                       |Bits |Bits |                       |
7291#   +------+-----------------------+-----+-----+-----------------------+
7292#   |  Up  |        See            |  7  |  2  |        See            |
7293#   +------+-----------------------+-----+-----+-----------------------+
7294#   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
7295#   +------+-----------------------+-----+-----+-----------------------+
7296#
7297#
7298#      S2     1     2     3     4     5     6     7     8     9    10
7299#          +-----+-----+-----------------+-----+-----------+-----+-----+
7300#          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
7301#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7302#   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
7303#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7304#   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
7305#   +------+-----+-----+-----------------+-----+-----------+-----+-----+
7306#
7307#                                    TABLE 2:
7308#
7309#             +-----------+-----+-----+-----+-----+-----------+
7310#             | Display   |  1  |  2  |  3  |  4  |   Baud    |
7311#             +-----------+-----+-----+-----+-----+           |
7312#             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
7313#             +-----------+-----+-----+-----+-----+-----------+
7314#                         |  D  |  D  |  D  |  D  |   9600    |
7315#                         |  U  |  D  |  D  |  D  |     50    |
7316#                         |  D  |  U  |  D  |  D  |     75    |
7317#                         |  U  |  U  |  D  |  D  |    110    |
7318#                         |  D  |  D  |  U  |  D  |    135    |
7319#                         |  U  |  D  |  U  |  D  |    150    |
7320#                         |  D  |  U  |  U  |  D  |    300    |
7321#                         |  U  |  U  |  U  |  D  |    600    |
7322#                         |  D  |  D  |  D  |  U  |   1200    |
7323#                         |  U  |  D  |  D  |  U  |   1800    |
7324#                         |  D  |  U  |  D  |  U  |   2400    |
7325#                         |  U  |  U  |  D  |  U  |   3600    |
7326#                         |  D  |  D  |  U  |  U  |   4800    |
7327#                         |  U  |  D  |  U  |  U  |   7200    |
7328#                         |  D  |  U  |  U  |  U  |   9600    |
7329#                         |  U  |  U  |  U  |  U  |  19200    |
7330#                         +-----+-----+-----+-----+-----------+
7331#
7332#                                    TABLE 3:
7333#                         +-----+-----+-----+-----------+
7334#                         |  3  |  4  |  5  |   Parity  |
7335#                         +-----+-----+-----+-----------+
7336#                         |  X  |  X  |  D  |    None   |
7337#                         |  D  |  D  |  U  |     Odd   |
7338#                         |  D  |  U  |  U  |    Even   |
7339#                         |  U  |  D  |  U  |    Mark   |
7340#                         |  U  |  U  |  U  |   Space   |
7341#                         +-----+-----+-----+-----------+
7342#                                 X = don't care
7343#
7344#                                     CHART:
7345#                         +-----+-----+-----------------+
7346#                         |  7  |  8  | Communication   |
7347#                         +-----+-----+-----------------+
7348#                         |  D  |  D  |  Half Duplex    |
7349#                         |  D  |  U  |  Full Duplex    |
7350#                         |  U  |  D  |     Block       |
7351#                         |  U  |  U  |     Local       |
7352#                         +-----+-----+-----------------+
7353#
7354# (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:".
7355# I also inserted :ic: and :kI:; the :ko: string indicated that :IC:
7356# should be present and all tvi native modes use the same string for this.
7357# Finally, note that BSD has cud1=^V. -- esr)
7358tvi950|televideo 950:\
7359	:am:bs:hs:mi:ms:xn:xo:\
7360	:co#80:it#8:li#24:sg#1:\
7361	:ac=b\011c\014d\re\ni\013:ae=^X:al=\EE:as=^U:bl=^G:bt=\EI:\
7362	:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :cr=^M:ct=\E3:dc=\EW:\
7363	:dl=\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
7364	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\Ef\r:\
7365	:k0=^A0\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
7366	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:\
7367	:kD=\EW:kE=\Et:kI=\EQ:kL=\ER:kS=\Ey:kb=^H:kd=^V:kh=^^:kl=^H:\
7368	:kr=^L:ku=^K:le=^H:mk@:nd=^L:pf=\Ea:po=\E`:sf=^J:sr=\Ej:\
7369	:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:tc=adm+sgr:
7370#
7371# is for 950 with two pages adds the following:
7372#	set 48 line page (\E\\2)
7373#	place cursor at page 0, line 24, column 1 (\E-07 )
7374#	set local (no send) edit keys (\Ek)
7375#
7376# two page 950 adds the following:
7377#	when entering ex, set 24 line page (\E\\1)
7378#	when exiting ex, reset 48 line page (\E\\2)
7379#			 place cursor at 0,24,1 (\E-07 )
7380#	set duplex (send) edit keys (\El) when entering vi
7381#	set local (no send) edit keys (\Ek) when exiting vi
7382#
7383tvi950-2p|televideo950 w/2 pages:\
7384	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07 \011:\
7385	:ke=\Ek:ks=\El:te=\E\\2\E-07\040:ti=\E\\1\E-07\040:\
7386	:tc=tvi950:
7387#
7388# is for 950 with four pages adds the following:
7389#	set 96 line page (\E\\3)
7390#	place cursor at page 0, line 24, column 1 (\E-07 )
7391#
7392# four page 950 adds the following:
7393#	when entering ex, set 24 line page (\E\\1)
7394#	when exiting ex, reset 96 line page (\E\\3)
7395#			 place cursor at 0,24,1 (\E-07 )
7396#
7397tvi950-4p|televideo950 w/4 pages:\
7398	:is=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07 \011:\
7399	:ke=\Ek:ks=\El:te=\E\\3\E-07\040:ti=\E\\1\E-07\040:\
7400	:tc=tvi950:
7401#
7402# :is: for reverse video 950 changes the following:
7403#	set reverse video (\Ed)
7404#
7405# set vb accordingly (\Ed ...delay... \Eb)
7406#
7407tvi950-rv|televideo950 rev video:\
7408	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200:\
7409	:vb=\Ed\Eb:tc=tvi950:
7410
7411# tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
7412tvi950-rv-2p|televideo950 rev video w/2 pages:\
7413	:is=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\2\E-07\040:\
7414	:ke=\Ek:ks=\El:te=\E\\2\E-07\040:ti=\E\\1\E-07\040:\
7415	:vb=\Ed\Eb:tc=tvi950:
7416
7417# tvi950-rv uses the appropriate entries from 950-4p and 950-rv
7418tvi950-rv-4p|televideo950 rev video w/4 pages:\
7419	:is=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\011\Ex3\200\200\Ex4\r\200\E\\3\E-07\040:\
7420	:ke=\Ek:ks=\El:te=\E\\3\E-07\040:ti=\E\\1\E-07\040:\
7421	:vb=\Ed\Eb:tc=tvi950:
7422# From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
7423# (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
7424# removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
7425# the :rs: string, inserted the :IC: implied by the termcap :ko: string.  Note
7426# the :ko: string had :cl: in it, which means that one of the original
7427# :cl=\E*:, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
7428# the 950 has.   Finally, corrected the <kel> string to match the 950 and what
7429# ko implies -- esr)
7430# If the BSD termcap file was right, :cm=\E=%p1%{32}%+%c%p2%{32}%+%c: would
7431# also work.
7432tvi955|televideo 955:\
7433	:5i:bs:ms@:\
7434	:it#8:sg@:\
7435	:RA=\E[=7l:RX=^N:SA=\E[=7h:SX=^O:\
7436	:ac=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ:ae=\E%%:as=\E$:\
7437	:cm=\E[%i%d;%dH:do=^V:is=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El:\
7438	:kM=\EQ:kN=\EK:kP=\EJ:kT=\E1:ka=\E3:kt=\E2:mb=\EG2:\
7439	:me=\EG0\E[=5l:mh=\E[=5h:mk=\EG1:ps=\EP:\
7440	:r1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\200\E0p\E4\200\Ef\r:\
7441	:sf@:ve=\E.2:vi=\E.0:vs=\E.1:tc=tvi950:
7442tvi955-w|955-w|televideo955 w/132 cols:\
7443	:co#132:\
7444	:is=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El:tc=tvi955:
7445# use half-intensity as normal mode, full intensity as :md:
7446tvi955-hb|955-hb|televideo955 half-bright:\
7447	:is=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El:md=\E[=5l:\
7448	:me=\EG0\E[=5h:mh@:tc=tvi955:
7449# From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
7450# (tvi970: removed ":sg#0:"; removed :se:=\E[m, :ue:=\E[m;
7451# added :am:/:cs:/:ho:/<hpa>/<vpa>/:ti:/:te: from BRL.
7452# According to BRL we could have :ke:=\E>, :ks:=\E= but I'm not sure what
7453# it does to the function keys.  I deduced <rmam>/<smam>.
7454# also added empty <acsc> to suppress tic warning,  -- esr)
7455tvi970|televideo 970:\
7456	:am:bs:da:db:mi:ms:pt:\
7457	:co#80:it#8:li#24:\
7458	:RA=\E[?7h:SA=\E[?7l:ac=:ae=\E(B:al=\E[L:as=\E(B:bt=\E[Z:\
7459	:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\E[H\E[2J:cm=\E[%i%d;%df:\
7460	:cs=\E[%i%d;%dr:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=\ED:\
7461	:ds=\Eg\Ef\r:ei=\E[4l:ho=\E[H:im=\E[4h:\
7462	:is=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J:k1=\E?a:\
7463	:k2=\E?b:k3=\E?c:k4=\E?d:k5=\E?e:k6=\E?f:k7=\E?g:k8=\E?h:\
7464	:k9=\E?i:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
7465	:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=:\
7466	:ti=\E[?20l\E[?7h\E[1Q:ue=\E[m:up=\EM:us=\E[4m:\
7467	:vb=\E[5m\E[m:vs=\E[1Q:
7468tvi970-vb|televideo 970 with visual bell:\
7469	:vb=\E[?5h\200\200\200\200\200\200\200\200\200\200\200\200\200\E[?5l:\
7470	:tc=tvi970:
7471tvi970-2p|televideo 970 with using 2 pages of memory:\
7472	:te=\E[H\E[J\E[V:ti=\E[U\E[?20l\E[?7h\E[1Q:tc=tvi970:
7473# Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
7474# per line (rather than 40), Esc K chooses the normal character set.  Not sure
7475# padding is needed, but adapted from the tvi920c termcap.  The :so: and
7476# :us: strings are klutzy, but at least use no screen space.
7477# (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
7478# its absence means <smam>=\Ev isn't safe to use. -- esr)
7479# From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84.
7480# The :cd:/:k0:/:k1:/:kh:/<mc4>, and <mc5> caps are from BRL, which says:
7481# F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
7482tvipt|televideo personal terminal:\
7483	:am:bs:\
7484	:co#80:li#24:\
7485	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dl=5*\ER:\
7486	:ho=^^:if=/usr/share/tabset/stdcrt:is=\Ev\Eu\EK:k0=^A:\
7487	:k1=^B:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:pf=^T:\
7488	:po=^R:se=\EF:so=\EG1@A\EH:ue=\EF:up=^K:us=\EG1B@\EH:
7489# From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
7490# (sgr removed to fit entry within 1023 bytes)
7491# (rmacs/smacs removed for consistency)
7492# (acsc removed to fit entry within 1023 bytes)
7493# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
7494tvi9065|televideo 9065:\
7495	:am:bw:hs:mi:ms:xn:xo:\
7496	:co#80:it#8:li#25:lm#0:ma#4:vt#0:ws#30:\
7497	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
7498	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\EE:\
7499	:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:\
7500	:cs=\E[%i%d;%dr:ct=\E3:dc=\EW:dl=\ER:dm=\Er:do=^V:\
7501	:ds=\E_30\r:ec=\E[%d@:ed=\200:ei=\Er:fs=^M:ho=^^:\
7502	:i1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er:\
7503	:i2=\E<\E[=4l\E[=8h:if=/usr/share/tabset/stdcrt:im=\Eq:\
7504	:ip=3:is=\EF2\EG0\E\\L:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
7505	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
7506	:kD=\EW:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
7507	:ll=\E[25;1H:mb=\EG2:md=\EG,:me=\EG0\E%:mh=\EGp:mr=\EG4:\
7508	:nd=^L:nw=^M^J:rp=\E[%r%db%.:se=\EG0:sf=^J:so=\EGt:sr=\Ej:\
7509	:st=\E1:ta=^I:te=\E.3\Er\E[1;25r\E[25;0H:ti=\E.2:\
7510	:ts=\E[4;1v\E_30:uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:\
7511	:vb=\Eb\Ed:ve=\E.3:vi=\E.0:vs=\E.2:
7512
7513#### Visual (vi)
7514#
7515# In September 1993, Visual Technology of Westboro, Massachusetts,
7516# merged with White Pine Software of Nashua, New Hampshire.
7517#
7518# White Pine Software may be contacted at +1 603/886-9050.
7519# Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
7520#
7521
7522# Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
7523# Recently I hacked together the following termcap for Visual
7524# Technology's Visual 50 terminal. It's a slight modification of
7525# the vt52 termcap.
7526# It's intended to run when the Visual 50 is in vt52 emulation mode
7527# (I know what you're thinking; if it's emulating a vt52, then why
7528# another termcap? Well, it turns out that the Visual 50 can handle
7529# :dl: and db(?) among other things, which the vt52 can't)
7530# The termcap works OK for the most part. The only problem is on
7531# character inserts. The whole line gets painfully redrawn for each
7532# character typed. Any suggestions?
7533# Beau's entry is combined with the vi50 entry from University of Wisconsin.
7534# Note especially the :al: function.  :k4:-:k6: are really l4-l6 in
7535# disguise; :k7:-:k9: are really l1-l3.
7536vi50|visual 50:\
7537	:am:bs:da:db:ms:pt:\
7538	:co#80:it#8:li#24:\
7539	:al=\EL:bl=^G:bt=4\Ez:cd=\EJ:ce=16\EK:cl=\EH\EJ:\
7540	:cm=\EY%+ %+ :cr=^M:dl=3*\EM:do=\EB:ho=\EH:k1=\EP:k2=\EQ:\
7541	:k3=\ER:k4=\EV:k5=\EE:k6=\E]:k7=\EL:k8=\Ev:k9=\EM:kb=^H:\
7542	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nl=^J:\
7543	:nw=^M^J:se=\ET:sf=^J:so=\EU:sr=\EI:ta=^I:ue=\EW:up=\EA:\
7544	:us=\ES:
7545# this one was BSD & SCO's vi50
7546vi50adm|visual 50 in adm3a mode:\
7547	:am:ms:\
7548	:co#80:it#8:li#24:\
7549	:al=\EL:bl=^G:cd=\Ek:ce=\EK:cl=^Z:cm=\E=%+ %+ :cr=^M:dl=\EM:\
7550	:do=^J:ho=\EH:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
7551	:nd=^L:se=\ET:sf=^J:so=\EU:ta=^I:up=^K:
7552# From: Jeff Siegal <jbs@quiotix.com>
7553vi55|Visual 55:\
7554	:am:bs:mi:ms:\
7555	:co#80:it#8:li#24:\
7556	:al=\EL:cd=\EJ:ce=\EK:cl=\Ev:cm=\EY%+ %+ :cs=\E_%+A%+A:\
7557	:dc=\Ew:dl=\EM:do=^J:ei=\Eb:ho=\EH:im=\Ea:\
7558	:is=\Ev\E_AX\Eb\EW\E9P\ET:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
7559	:ku=\EA:le=^H:nd=\EC:se=\ET:so=\EU:sr=\EI:ta=^I:up=\EA:
7560
7561# Visual 200 from BRL
7562# The following switch settings are assumed for normal operation:
7563#	FULL_DUPLEX		SCROLL			CR
7564#	AUTO_NEW_LINE_ON	VISUAL_200_EMULATION_MODE
7565# Other switches may be set for operator convenience or communication
7566# requirements.
7567# Character insertion is kludged in order to get around the "beep" misfeature.
7568# (This cap is commented out because :im:/:ei: is more efficient -- esr)
7569# Supposedly "4*" delays should be used for :al:, :cd:, :cl:, :dc:,
7570# and :dl: strings, but we seem to get along fine without them.
7571vi200|visual 200:\
7572	:am:bs:mi:ms:pt:\
7573	:co#80:it#8:kn#10:li#24:\
7574	:ac=:ae=\EG:al=\EL:as=\EF:bl=^G:bt=\Ez:cd=\Ey:ce=\Ex:cl=\Ev:\
7575	:cm=\EY%+ %+ :cr=^M:ct=\Eg:dc=\EO:dl=\EM:do=^J:ho=\EH:\
7576	:k0=\E?p:k1=\E?q:k2=\E?r:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:\
7577	:k7=\E?w:k8=\E?x:k9=\E?y:kA=\EL:kC=\Ev:kD=\EO:kE=\Et:kI=\Ei:\
7578	:kL=\EM:kM=\Ej:kS=\EJ:kT=\E1:kb=^H:kd=\EB:ke=\E>:kh=\EH:\
7579	:kl=\ED:kr=\EC:ks=\E=:kt=\E2:ku=\EA:le=^H:me=\E3\Eb:mh=\E4:\
7580	:mk=\Ea:nd=\EC:pf=\EX:po=\EW:ps=\EH\E]:\
7581	:r1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX:se=\E3:sf=^J:so=\E4:\
7582	:sr=\EI:st=\E1:ta=^I:up=\EA:ve=\Ec:vs=\Ed:
7583# The older Visuals didn't come with function keys. This entry uses
7584# :ks: and :ke: so that the keypad keys can be used as function keys.
7585# If your version of vi doesn't support function keys you may want
7586# to use vi200-f.
7587vi200-f|visual 200 no function keys:\
7588	:is=\E3\Eb\Ej\E\\\El\EG\Ed\Ek:k0=\E?p:k1=\E?q:k2=\E?r:\
7589	:k3=\E?s:k4=\E?t:k5=\E?u:k6=\E?v:k7=\E?w:k8=\E?x:k9=\E?y:\
7590	:ke=\E>:ks=\E=:se@:so@:tc=vi200:
7591vi200-rv|visual 200 reverse video:\
7592	:se=\E3:so=\E4:sr@:ve@:vs@:tc=vi200:
7593
7594# the function keys are programmable but we don't reprogram them to their
7595# default values with :is: because programming them is very verbose. maybe
7596# an initialization file should be made for the 300 and they could be stuck
7597# in it.
7598# (vi300: added <rmam>/<smam> based on init string -- esr)
7599vi300|visual 300 ansi x3.64:\
7600	:am:bw:mi:xn:\
7601	:co#80:li#24:\
7602	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
7603	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=40\E[P:dl=\E[M:\
7604	:do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
7605	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s:\
7606	:k1=\E_A\E\\:k2=\E_B\E\\:k3=\E_C\E\\:k4=\E_D\E\\:\
7607	:k5=\E_E\E\\:k6=\E_F\E\\:k7=\E_G\E\\:k8=\E_H\E\\:\
7608	:k9=\E_I\E\\:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
7609	:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[1m:sr=\EM:ta=^I:\
7610	:ue=\E[m:up=\E[A:us=\E[4m:
7611# some of the vi300s have older firmware that has the command
7612# sequence for setting editing extent reversed.
7613vi300-old|visual 300 with old firmware (set edit extent reversed):\
7614	:is=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s:\
7615	:tc=vi300:
7616
7617# Visual 500 prototype entry from University of Wisconsin.
7618# The best place to look for the escape sequences is page A1-1 of the
7619# Visual 500 manual.  The initialization sequence given here may be
7620# overkill, but it does leave out some of the initializations which can
7621# be done with the menus in set-up mode.
7622# The :xp: line below is so that emacs can understand the padding requirements
7623# of this slow terminal.  :xp: is 10 time the padding factor.
7624# (vi500: removed unknown :xp#4: termcap;
7625# also added empty <acsc> to suppress tic warning -- esr)
7626vi500|visual 500:\
7627	:am:mi:ms:\
7628	:co#80:it#8:li#33:\
7629	:ac=:ae=^O:al=3*\EL\Ex:as=^N:bt=4\Ez:cd=3*\Ey:ce=16\Ex:\
7630	:cl=6*\Ev:cm=\EY%+ %+ :cr=^M:cs=\E(%+ %+ :dc=3*\EO:\
7631	:dl=3*\EM:do=\EB:ei=\Ej:ho=\EH:im=\Ei:\
7632	:is=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\:\
7633	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
7634	:nw=^M^J:se=\E^G:sf=^J:so=\E^H:ta=8\011:ue=\E^C:up=\EA:\
7635	:us=\E^D:
7636
7637# The visual 550 is a visual 300 with tektronix graphics,
7638# and with 33 lines. clear screen is modified here to
7639# also clear the graphics.
7640vi550|visual 550 ansi x3.64:\
7641	:li#33:\
7642	:cl=\030\E[H\E[2J:tc=vi300:
7643
7644vi603|visual603|visual 603:\
7645	:hs:mi:\
7646	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
7647	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:ds=\EP2;1~\E\\:ei=\E[4l:\
7648	:fs=\E\\:i1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r:\
7649	:im=\E[4h:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
7650	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ts=\EP2~:ue=\E[24m:\
7651	:up=\E[A:us=\E[4m:tc=vt100:
7652
7653#### Wyse (wy)
7654#
7655#	Wyse Technology
7656#	3471 North First Street
7657#	San Jose, CA 95134
7658#	Vox: (408)-473-1200
7659#	Fax: (408) 473-1222
7660#	Web: http://www.wyse.com
7661#
7662# Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
7663# (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
7664# obvious address, <http://www.wyse.com>.  They keep terminfo entries at
7665# <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
7666#
7667# Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
7668# They now own the Qume and Amdek brands, too.  So these are the people to
7669# talk with about all Link, Qume, and Amdek terminals.
7670#
7671# These entries include a few small fixes.
7672# I canceled the bel capacities in the vb entries.
7673# I made two trivial syntax fixes in the wyse30 entry.
7674# I made some entries relative to adm+sgr.
7675#
7676#
7677# Note: The wyse75, wyse85, and wyse99 have been discontinued.
7678
7679#	   Although the Wyse 30 can support more than one attribute
7680#	it requires magic cookies to do so.  Many applications do not
7681#	function well with magic cookies.  The following terminfo uses
7682#	the protect mode to support one attribute (dim) without cookies.
7683#	If more than one attribute is needed then the wy30-mc terminfo
7684#	should be used.
7685#
7686wy30|wyse30|Wyse 30:\
7687	:5i:am:bw:hs:mi:ms:xo:\
7688	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
7689	:#2=\E{:&3=\Er:@8=\E7:LF=\EA11:LO=\EA10:\
7690	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=2\EE:\
7691	:as=\EH^B:bl=^G:bt=\EI:cd=80\EY:ce=\ET:cl=80\E+:\
7692	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=10\EW:dl=1\ER:do=^J:ds=\EF\r:\
7693	:ei=\Er:fs=^M:ho=^^:im=\Eq:ip=2:\
7694	:is=\E'\E(\E\1363\E`9\016\024:k1=^A@\r:k2=^AA\r:\
7695	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
7696	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
7697	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
7698	:me=\E(:mh=\E`7\E):mp=\E`7\E):nd=^L:nw=^M^J:pf=^T:po=^X:\
7699	:ps=\EP:se=\E(:sf=2\n:so=\E`7\E):sr=3\Ej:st=\E1:ta=1\011:\
7700	:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
7701#
7702#	This terminal description uses the non-hidden attribute mode
7703#	(with magic cookie).
7704#
7705# (wy30-mc: added :ti: to suppress tic warning --esr)
7706wy30-mc|wyse30-mc|wyse 30 with magic cookies:\
7707	:ms@:\
7708	:ma@:sg#1:\
7709	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
7710	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):se=\EG0:so=\EG4:\
7711	:te=\EG0:ti=:tc=wy30:tc=adm+sgr:
7712#	The mandatory pause used by :vb: does not work with
7713#	older versions of terminfo.  If you see this effect then
7714#	unset xon and delete the / from the delay.
7715#	i.e. change $<100/> to $<100>
7716wy30-vb|wyse30-vb|wyse 30 visible bell:\
7717	:bl@:tc=wy30:
7718#
7719#	   The Wyse 50 can support one attribute (e.g. Dim, Inverse,
7720#	Normal) without magic cookies by using the protect mode.
7721#	The following description uses this feature, but when more
7722#	than one attribute is put on the screen at once, all attributes
7723#	will be changed to be the same as the last attribute given.
7724#	   The Wyse 50 can support more attributes when used with magic
7725#	cookies.  The wy50-mc terminal description uses magic cookies
7726#	to correctly handle multiple attributes on a screen.
7727#
7728wy50|wyse50|Wyse 50:\
7729	:5i:am:bw:hs:mi:ms:xo:\
7730	:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
7731	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
7732	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
7733	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
7734	:as=\EH^B:bl=^G:bt=\EI:cd=20\EY:ce=\ET:cl=20\E+:\
7735	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=1\EW:dl=\ER:do=^J:ds=\EF\r:\
7736	:ei=\Er:fs=^M:ho=^^:i1=30\E`\072\E`9:im=\Eq:ip=1:\
7737	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
7738	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
7739	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
7740	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
7741	:me=\E(:mh=\E`7\E):mp=\E`7\E):mr=\E`6\E):nd=^L:nw=^M^J:\
7742	:pf=^T:po=^X:ps=\EP:se=\E(:sf=2\n:so=\E`6\E):sr=\Ej:st=\E1:\
7743	:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:
7744#
7745#	This terminal description uses the non-hidden attribute mode
7746#	(with magic cookie).
7747#
7748#	The mandatory pause used by flash does not work with some
7749#	older versions of terminfo.  If you see this effect then
7750#	unset :xo: and delete the / from the delay.
7751#	i.e. change $<100/> to $<100>
7752# (wy50-mc: added :ti: to suppress tic warning --esr)
7753wy50-mc|wyse50-mc|wyse 50 with magic cookies:\
7754	:ms@:\
7755	:ma@:sg#1:\
7756	:ae=\EG0\EH\003:as=\EG0\EH\002:mb=\EG2:\
7757	:me=\EG0\E(\EH\003:mh=\EGp:mp=\EG0\E):mr=\EG4:se=\EG0:\
7758	:so=\EGt:te=\EG0:ti=:tc=wy50:tc=adm+sgr:
7759wy50-vb|wyse50-vb|wyse 50 visible bell:\
7760	:bl@:tc=wy50:
7761wy50-w|wyse50-w|wyse 50 132-column:\
7762	:Nl#16:co#132:lw#7:ws#97:\
7763	:cm=\Ea%i%dR%dC:dc=2\EW:i1=30\E`;\E`9:tc=wy50:
7764wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell:\
7765	:bl@:tc=wy50-w:
7766
7767#
7768#	The Wyse 350 is a Wyse 50 with color.
7769#	Unfortunately this means that it has magic cookies.
7770#	The color attributes are designed to overlap the reverse, dim and
7771#	underline attributes.  This is nice for monochrome applications
7772#	because you can make underline stuff green (or any other color)
7773#	but for true color applications it's not so hot because you cannot
7774#	mix color with reverse, dim or underline.
7775#	    To further complicate things one of the attributes must be
7776#	black (either the foreground or the background).  In reverse video
7777#	the background changes color with black letters.  In normal video
7778#	the foreground changes colors on a black background.
7779#	    This terminfo uses some of the more advanced features of curses
7780#	to display both color and blink.  In the final analysis I am not
7781#	sure that the wy350 runs better with this terminfo than it does
7782#	with the wy50 terminfo (with user adjusted colors).
7783#
7784#	The mandatory pause used by flash does not work with
7785#	older versions of terminfo.  If you see this effect then
7786#	unset xon and delete the / from the delay.
7787#	i.e. change $<100/> to $<100>
7788#
7789# Bug: The <op> capability resets attributes.
7790wy350|wyse350|Wyse 350:\
7791	:5i:am:bw:hs:mi:xo:\
7792	:Co#8:NC#55:Nl#8:co#80:lh#1:li#24:lw#8:pa#8:sg#1:ws#45:\
7793	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
7794	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:Sb=:\
7795	:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EG0\EH\003:al=\EE:\
7796	:as=\EG0\EH\002:bl=^G:bt=\EI:cd=20\EY:ce=\ET:cl=20\E+:\
7797	:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=1\EW:dl=\ER:do=^J:ds=\EF\r:\
7798	:ei=\Er:fs=^M:ho=^^:i1=30\E`\072\E`9:i2=\E%?:im=\Eq:ip=1:\
7799	:is=\016\024\E'\E(:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
7800	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
7801	:kA=\EE:kB=\EI:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:\
7802	:kS=\EY:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:\
7803	:mb=\EG2:me=%{0}%PA%{0}%PC:mh=\EGp:mp=\EG0\E):nd=^L:\
7804	:nw=^M^J:oc=\E%?:op=\EG0:pf=^T:po=^X:ps=\EP:sf=2\n:sr=\Ej:\
7805	:st=\E1:ta=^I:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
7806	:tc=adm+sgr:
7807wy350-vb|wyse350-vb|wyse 350 visible bell:\
7808	:bl@:tc=wy350:
7809wy350-w|wyse350-w|wyse 350 132-column:\
7810	:Nl#16:co#132:lw#7:ws#97:\
7811	:cm=\Ea%i%dR%dC:dc=2\EW:i1=30\E`;\E`9:tc=wy350:
7812wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell:\
7813	:bl@:tc=wy350-w:
7814#
7815#	This terminfo description is untested.
7816#	The wyse100 emulates an adm31, so the adm31 entry should work.
7817#
7818wy100|wyse 100:\
7819	:hs:mi:\
7820	:co#80:li#24:sg#1:\
7821	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:\
7822	:dc=\EW:dl=\ER:do=^J:ds=\EA31:ei=\Er:fs=^M:im=\Eq:is=\Eu\E0:\
7823	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
7824	:k7=^AF\r:k8=^AG\r:kb=^H:kd=^J:kh=\E{:kl=^H:kr=^L:ku=^K:\
7825	:le=^H:mk@:nd=^L:sf=^J:ts=\EF:up=^K:tc=adm+sgr:
7826#
7827#	The Wyse 120/150 has most of the features of the Wyse 60.
7828#	This terminal does not need padding up to 9600 baud!
7829#	:ms: should be set but the clear screen fails when in
7830#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
7831#	then set :ms:.
7832#
7833# (sgr removed to fit entry within 1023 bytes)
7834# (rmacs/smacs removed for consistency)
7835# (acsc removed to fit entry within 1023 bytes)
7836wy120|wyse120|wy150|wyse150|Wyse 120/150:\
7837	:5i:am:bw:hs:km:mi:ms:xo:\
7838	:Nl#8:co#80:it#8:lh#1:li#24:lw#8:pb#9601:ws#45:\
7839	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
7840	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
7841	:RX=\Ec20:SA=\Ed/:SX=\Ec21:al=3\EE:bl=^G:bt=\EI:cd=50\EY:\
7842	:ce=4\ET:cl=50\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=7\EW:\
7843	:dl=3\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:\
7844	:i2=150\EwJ\Ew1:im=\Eq:ip=2:\
7845	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
7846	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
7847	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
7848	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
7849	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
7850	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=3\r\n:\
7851	:pf=^T:po=\Ed#:ps=\EP:r1=30\E~!\E~4:r2=70\EeF\E`\072:\
7852	:r3=100\EwG\Ee(:sf=3\n:so=\EGt:sr=2\Ej:st=\E1:ta=1\011:\
7853	:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
7854	:tc=adm+sgr:
7855#
7856wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column:\
7857	:Nl#16:co#132:lw#7:ws#97:\
7858	:cm=\Ea%i%dR%dC:dc=12\EW:ip=4:rs=70\E`;:tc=wy120:
7859#
7860wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines:\
7861	:Nl@:lh@:li#25:lw@:\
7862	:pn@:r3=100\EwG\Ee):tc=wy120:
7863#
7864wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines:\
7865	:Nl@:lh@:li#25:lw@:\
7866	:pn@:r3=100\EwG\Ee):tc=wy120-w:
7867#
7868wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell:\
7869	:bl@:tc=wy120:
7870#
7871wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell:\
7872	:bl@:tc=wy120-w:
7873#
7874#	The Wyse 60 is like the Wyse 50 but with more padding.
7875#	The reset strings are slow and the pad times very depending
7876#	on other parameters such as font loading.  I have tried
7877#	to follow the following outline:
7878#
7879#		<rs1> -> set personality
7880#		<rs2> -> set number of columns
7881#		<rs3> -> set number of lines
7882#		:i1: -> select the proper font
7883#		:is: -> do the initialization
7884#		:i3: -> set up display memory (2 pages)
7885#
7886#	The Wyse 60's that have vt100 emulation are slower than the
7887#	older Wyse 60's.  This change happened mid-1987.
7888#	The capabilities effected are :dc: :dl: :al: :sf: :sr:
7889#
7890#	The meta key is only half right.  This terminal will return the
7891#	high order bit set when you hit CTRL-function_key
7892#
7893#	It may be useful to assign two function keys with the
7894#	values  \E=(\s  look at old data in page 1
7895#	        \E=W,   look at bottom of page 1
7896#	where \s is a space ( ).
7897#
7898#	Note:
7899#	   The Wyse 60 runs faster when the XON/XOFF
7900#	   handshake is turned off.
7901#
7902# (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
7903# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
7904wy60|wyse60|Wyse 60:\
7905	:5i:am:bw:hs:km:mi:ms:\
7906	:Nl#8:co#80:lh#1:li#24:lw#8:ws#45:\
7907	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
7908	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
7909	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
7910	:ac=+/,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
7911	:ae=\EcD:al=4\EE:as=\EcE:bl=^G:bt=\EI:cd=100\EY:ce=\ET:\
7912	:cl=100\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=11\EW:dl=5\ER:\
7913	:do=^J:ds=\EF\r:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:\
7914	:i2=150\EwJ\Ew1:im=\Eq:ip=3:\
7915	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
7916	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
7917	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
7918	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
7919	:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
7920	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=3\r\n:\
7921	:pf=^T:po=\Ed#:ps=\EP:r1=150\E~!\E~4:r2=150\EeG:\
7922	:r3=200\EwG\Ee(:sf=5\n:so=\EGt:sr=7\Ej:st=\E1:ta=1\011:\
7923	:te=\Ew1:ti=\Ew0:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
7924	:tc=adm+sgr:
7925#
7926wy60-w|wyse60-w|wyse 60 132-column:\
7927	:Nl#16:co#132:lw#7:ws#97:\
7928	:cm=\Ea%i%dR%dC:dc=16\EW:ip=5:rs=150\EeF\E`;:tc=wy60:
7929#
7930wy60-25|wyse60-25|wyse 60 80-column 25-lines:\
7931	:Nl@:lh@:li#25:lw@:\
7932	:pn@:r3=200\EwG\Ee):tc=wy60:
7933wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines:\
7934	:Nl@:lh@:li#25:lw@:\
7935	:pn@:r3=200\EwG\Ee):tc=wy60-w:
7936#
7937wy60-42|wyse60-42|wyse 60 80-column 42-lines:\
7938	:li#42:\
7939	:al=11\EE:cd=260\Ey:cl=260\E+:cm=2\E=%+ %+ :dc=16\EW:\
7940	:dl=11\ER:i1=\EcB2\EcC3:ip=5:nw=6\r\n:r3=150\Ee*:sf=9\n:\
7941	:sr=10\Ej:tc=wy60:
7942wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines:\
7943	:Nl#16:co#132:lw#7:ws#97:\
7944	:cd=260\Ey:cl=260\E+:cm=2\Ea%i%dR%dC:dc=19\EW:ho=2\036:\
7945	:ip=6:nw=11\r\n:rs=150\EeF\E`;:tc=wy60-42:
7946#
7947wy60-43|wyse60-43|wyse 60 80-column 43-lines:\
7948	:Nl@:lh@:li#43:lw@:\
7949	:pn@:r3=150\Ee+:tc=wy60-42:
7950wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines:\
7951	:Nl@:lh@:li#43:lw@:\
7952	:pn@:r3=150\Ee+:tc=wy60-42-w:
7953#
7954wy60-vb|wyse60-vb|Wyse 60 visible bell:\
7955	:bl@:tc=wy60:
7956wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell:\
7957	:bl@:tc=wy60-w:
7958
7959#	The Wyse-99GT looks at lot like the Wyse 60 except that it
7960#	does not have the 42/43 line mode.  In the Wyse-60 the "lines"
7961#	setup parameter controls the number of lines on the screen.
7962#	For the Wyse 99GT the "lines" setup parameter controls the
7963#	number of lines in a page.  The screen can display 25 lines max.
7964#	    The Wyse-99GT also has personalities for the VT220 and
7965#	Tektronix 4014.  But this has no bearing on the native mode.
7966#
7967#	(msgr) should be set but the clear screen fails when in
7968#	alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
7969#	then set msgr, else use msgr@.
7970#
7971#	u0 -> enter Tektronix mode
7972#	u1 -> exit Tektronix mode
7973#
7974wy99gt|wyse99gt|Wyse 99gt:\
7975	:ms@:\
7976	:al=4\EE:cd=130\Ey:ce=5\Et:cl=130\E+:dc=7\EW:dl=4\ER:\
7977	:i2=20\Ew0:ip=2:nw@:rs=150\E`\072:sf=4\n:sr=3\Ej:ta=1\011:\
7978	:te=\Ew0:ti=\Ew1:u0=\E~>\E8:u1=\E[42h:vb=\E`8\E`9:tc=wy60:
7979#
7980wy99gt-w|wyse99gt-w|wyse 99gt 132-column:\
7981	:Nl#16:co#132:lw#7:ws#97:\
7982	:cd=160\Ey:cl=160\E+:cm=2\Ea%i%dR%dC:dc=9\EW:ip=4:\
7983	:rs=150\E`;:tc=wy99gt:
7984#
7985wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines:\
7986	:Nl@:lh@:li#25:lw@:\
7987	:pn@:r2=150\E`\072:r3=200\EwG\Ee):tc=wy99gt:
7988#
7989wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines:\
7990	:Nl@:lh@:li#25:lw@:\
7991	:pn@:rs=150\E`;:tc=wy99gt-w:
7992#
7993wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell:\
7994	:bl@:tc=wy99gt:
7995#
7996wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell:\
7997	:bl@:tc=wy99gt-w:
7998
7999# Can't set tabs! Other bugs (ANSI mode only):
8000# - can't redefine function keys (anyway, key redefinition in ANSI mode
8001#   is too much complex to be described);
8002# - meta key can't be described (the terminal forgets it when reset);
8003# The xon-xoff handshaking can't be disabled while in ansi personality, so
8004# emacs can't work at speed greater than 9600 baud.  No padding is needed at
8005# this speed.
8006#   dch1 has been commented out because it causes annoying glittering when
8007# vi deletes one character at the beginning of a line with tabs in it.
8008#   dch makes sysgen(1M) have a horrible behaviour when deleting
8009# a screen and makes screen(1) behave badly, so it is disabled too. The nice
8010# thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
8011# not, so smir and rmir are commented out as well.
8012# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8013# (sgr removed to fit entry within 1023 bytes)
8014# (acsc removed to fit entry within 1023 bytes)
8015# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8016wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard):\
8017	:am:km:mi:ms:xn:\
8018	:co#80:it#8:li#25:vt#3:\
8019	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=1\E[%dD:\
8020	:RI=1\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
8021	:cd=8*\E[J:ce=1\E[K:cl=200\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
8022	:cs=\E[%i%d;%dr:dl=\E[M:do=\ED:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
8023	:im=\E[4h:\
8024	:is=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i:\
8025	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
8026	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l:\
8027	:kl=\EOD:kr=\EOC:ks=\E[?1h:ku=\EOA:le=1\010:ll=\E[24E:\
8028	:mb=\E[5m:md=\E[1m:me=\E[m\017\E["q:mh=\E[2m:mr=\E[7m:\
8029	:nd=1\E[C:nw=\EE:rc=\E8:\
8030	:rs=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i:\
8031	:sc=\E7:se=\E[27m:sf=1\n:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:\
8032	:up=\EM:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[34h\E[?25h:\
8033	:vi=\E[?25l:vs=\E[34l\E[?25h:
8034
8035#   This is the american terminal. Here tabs work fine.
8036# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8037wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard):\
8038	:ct=\E[3g:i2=\E[?5l:r3=\E[?5l:st=\EH:tc=wy99-ansi:
8039
8040# This terminal (firmware version 02) has a lot of bugs:
8041# - can't set tabs;
8042# - other bugs in ANSI modes (see above).
8043# This description disables handshaking when using cup. This is because
8044# GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
8045# cannot be used at speeds greater than 9600 baud, because at greater
8046# speeds handshaking is needed even for character sending. If you use
8047# DTR handshaking, you can use even greater speeds.
8048# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8049# (sgr removed to fit entry within 1023 bytes)
8050# (rmacs/smacs removed for consistency)
8051# (acsc removed to fit entry within 1023 bytes)
8052# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8053wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard):\
8054	:am:bw:hs:km:mi:ms:xo:\
8055	:co#80:it#8:li#25:ws#46:\
8056	:K1=^^:K3=\EJ:K4=\ET:K5=\EK:al=\EE:bl=^G:bt=\EI:cd=8*\EY:\
8057	:ce=8\ET:cl=\E'\E(\032:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
8058	:do=\Ej:ds=\EF\r:ei=\Er:fs=^M:ho=^^:im=\Eq:\
8059	:is=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\072\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024:\
8060	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
8061	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:\
8062	:le=^H:mb=\EG2:me=\E(\EG0\EcD:mh=\EGp:mr=\EG4:nd=^L:nw=^_:\
8063	:rs=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\1360\E`1\E`4\Ee.\E`\072\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024:\
8064	:se=\EG0:sf=^J:so=\EG4:sr=\Ej:ta=^I:te=\Ec21\Ec31:\
8065	:ti=\Ec20\Ec30:ts=\EF:up=^K:vb=\E\1361\E\1360:\
8066	:ve=\E`4\E`1:vi=\E`0:vs=\E`2\E`1:
8067
8068# This is the american terminal. Here tabs work.
8069# From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
8070wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard):\
8071	:ct=\E0:st=\E1:tc=wy99f:
8072
8073#
8074#	The Wyse 160 is combination of the WY-60 and the WY-99gt.
8075#	The reset strings are slow and the pad times very depending
8076#	on other parameters such as font loading.  I have tried
8077#	to follow the following outline:
8078#
8079#		<rs1> -> set personality
8080#		<rs2> -> set number of columns
8081#		<rs3> -> set number of lines
8082#		:i1: -> select the proper font
8083#		:is: -> do the initialization
8084#		:i3: -> set up display memory (2 pages)
8085#
8086#	The display memory may be used for either text or graphics.
8087#	When "Display Memory = Shared" the terminal will have more pages
8088#	but garbage may be left on the screen when you switch from
8089#	graphics to text.  If "Display Memory = Unshared" then the
8090#	text area will be only one page long.
8091#
8092# (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
8093# a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
8094wy160|wyse160|Wyse 160:\
8095	:5i:am:bw:hs:km:mi:ms:\
8096	:Nl#8:co#80:lh#1:li#24:lw#8:ws#38:\
8097	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:DK=\E`b:F1=^AJ\r:F2=^AK\r:\
8098	:F3=^AL\r:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
8099	:RA=\Ed.:RC=\E`c:RX=\Ec20:SA=\Ed/:SX=\Ec21:\
8100	:ac=+/,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
8101	:ae=\EcD:al=1\EE:as=\EcE:bl=^G:bt=\EI:cd=30\EY:ce=5\ET:\
8102	:cl=30\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=5\EW:dl=1\ER:do=^J:\
8103	:ds=\EF\r:ei=\Er:fs=^M:ho=\E{:i1=\EcB0\EcC1:i2=100\Ew0:\
8104	:im=\Eq:ip=2:\
8105	:is=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
8106	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
8107	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
8108	:kE=\ET:kI=\EQ:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
8109	:kl=^H:kr=^L:ku=^K:le=^H:ll=\E{^K:mb=\EG2:\
8110	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:nw=1\r\n:\
8111	:pf=^T:po=\Ed#:ps=\EP:r1=70\E~!\E~4:r2=100\E`\072:\
8112	:r3=140\EwG\Ee(:sf=1\n:so=\EGt:sr=1\Ej:st=\E1:ta=^I:\
8113	:te=\Ew0:ti=\Ew1:ts=\EF:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:\
8114	:tc=adm+sgr:
8115#
8116wy160-w|wyse160-w|wyse 160 132-column:\
8117	:Nl#16:co#132:lw#7:ws#90:\
8118	:cm=\Ea%i%dR%dC:dc=9\EW:rs=150\EeF\E`;:tc=wy160:
8119#
8120wy160-25|wyse160-25|wyse 160 80-column 25-lines:\
8121	:Nl@:lh@:li#25:lw@:\
8122	:pn@:r3=200\EwG\Ee):tc=wy160:
8123wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines:\
8124	:Nl@:lh@:li#25:lw@:\
8125	:pn@:r3=200\EwG\Ee):tc=wy160-w:
8126#
8127wy160-42|wyse160-42|wyse 160 80-column 42-lines:\
8128	:li#42:\
8129	:al=2\EE:cd=50\Ey:cl=50\E+:dl=2\ER:i1=\EcB2\EcC3:nw=2\r\n:\
8130	:r3=150\Ee*:sf=2\n:sr=2\Ej:tc=wy160:
8131wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines:\
8132	:Nl#16:co#132:lw#7:ws#90:\
8133	:cm=\Ea%i%dR%dC:dc=8\EW:ip=3:rs=150\EeF\E`;:tc=wy160-42:
8134#
8135wy160-43|wyse160-43|wyse 160 80-column 43-lines:\
8136	:Nl@:lh@:li#43:lw@:\
8137	:pn@:r3=150\Ee+:tc=wy160-42:
8138wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines:\
8139	:Nl@:lh@:li#43:lw@:\
8140	:pn@:r3=150\Ee+:tc=wy160-42-w:
8141#
8142wy160-vb|wyse160-vb|Wyse 160 visible bell:\
8143	:bl@:tc=wy160:
8144wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell:\
8145	:bl@:tc=wy160-w:
8146#
8147#	The Wyse 75 is a vt100 lookalike without advanced video.
8148#
8149#	   The Wyse 75 can support one attribute (e.g. Dim, Inverse,
8150#	Underline) without magic cookies.  The following description
8151#	uses this capability, but when more than one attribute is
8152#	put on the screen at once, all attributes will be changed
8153#	to be the same as the last attribute given.
8154#	   The Wyse 75 can support more attributes when used with magic
8155#	cookies.  The wy75-mc terminal description uses magic cookies
8156#	to correctly handle multiple attributes on a screen.
8157#
8158# (sgr removed to fit entry within 1023 bytes)
8159# (acsc removed to fit entry within 1023 bytes)
8160# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8161wy75|wyse75|wyse 75:\
8162	:am:hs:mi:ms:xn:xo:\
8163	:co#80:li#24:ma#1:pb#1201:ws#78:\
8164	:AL=2*\E[%dL:DC=3*\E[%dP:DL=1*\E[%dM:DO=\E[%dB:\
8165	:IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=2\E[L:\
8166	:as=^N:bl=^G:bt=\E[Z:cd=30\E[J:ce=3\E[K:cl=30\E[H\E[J:\
8167	:cm=\E[%i%d;%dH:cr=^M:cs=2\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
8168	:dl=\E[M:do=^J:ds=\E[>,\001\001\E[>-\001\001:ec=\E[%dX:\
8169	:ei=\E[4l:fs=^A:ho=\E[H:\
8170	:i1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h:i2=\E[m:\
8171	:im=\E[4h:ip=1:is=\E>\E(B\E)0\017:k1=\E[?5i:k2=\E[?3i:\
8172	:k3=\E[2i:k4=\E[@:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
8173	:k9=\E[20~:kI=\E[@:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
8174	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[?1l\E[?7h\E=:ku=\E[A:le=^H:\
8175	:me=\E[m:mh=\E[0t\E[2m:mr=\E[1t\E[7m:nd=\E[C:rc=\E8:\
8176	:sc=\E7:se=\E[m:sf=2\n:so=\E[1t\E[7m:sr=2\EM:st=\EH:ta=^I:\
8177	:ts=\E[>,\001:ue=\E[m:up=\E[A:us=\E[2t\E[4m:\
8178	:vb=250\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:\
8179	:tc=vt220+keypad:
8180#
8181#	This terminal description uses the non-hidden attribute mode
8182#	(with magic cookie).
8183#
8184wy75-mc|wyse75-mc|wyse 75 with magic cookies:\
8185	:ms@:\
8186	:ma@:sg#1:ug#1:\
8187	:ae=\E[0p\017:as=\E[0p\016:i2=\E[m\E[p:mb=\E[2p:\
8188	:me=\E[0p\017:mh=\E[1p:mk=\E[4p:mr=\E[16p:se=\E[0p:\
8189	:so=\E[17p:ue=\E[0p:us=\E[8p:tc=wy75:
8190wy75-vb|wyse75-vb|wyse 75 with visible bell:\
8191	:pb@:\
8192	:bl@:tc=wy75:
8193wy75-w|wyse75-w|wyse 75 in 132 column mode:\
8194	:co#132:ws#130:\
8195	:rs=80\E[35h\E[?3h:tc=wy75:
8196wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns:\
8197	:pb@:\
8198	:bl@:tc=wy75-w:
8199#
8200#	Wyse 85 emulating a vt220 7 bit mode.
8201#		24 line screen with status line.
8202#
8203#	The vt220 mode permits more function keys but it wipes out
8204#	the escape key.  I strongly recommend that <f11> be set to
8205#	escape (esc).
8206#	The terminal may have to be set for 8 data bits and 2 stop
8207#	bits for the arrow keys to work.
8208#	The Wyse 85 runs faster with XON/XOFF enabled.  Also the
8209#	:DC: and :IC: work best when XON/XOFF is set.  :IC: and
8210#	:DC: leave trash on the screen when used without XON/XOFF.
8211#
8212# (sgr removed to fit entry within 1023 bytes)
8213# (acsc removed to fit entry within 1023 bytes)
8214# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8215wy85|wyse85|wyse 85:\
8216	:am:hs:mi:ms:xn:xo:\
8217	:co#80:it#8:li#24:ws#80:\
8218	:AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
8219	:IC=4*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=5\E[L:\
8220	:as=^N:bl=^G:bt=\E[Z:cd=110\E[J:ce=1\E[K:cl=110\E[H\E[J:\
8221	:cm=1\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
8222	:dl=3\E[M:do=^J:ds=\E[40l:ec=\E[%dX:ei=\E[4l:\
8223	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[62;1"p\E[?5W:\
8224	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=3:\
8225	:is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
8226	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
8227	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:\
8228	:kl=\E[D:kr=\E[C:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:\
8229	:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
8230	:se=\E[m:sf=3\n:so=\E[7m:sr=3\EM:st=\EH:ta=1\011:\
8231	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
8232	:vb=300\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:\
8233	:tc=vt220+keypad:
8234#
8235#	Wyse 85 with visual bell.
8236wy85-vb|wyse85-vb|wyse 85 with visible bell:\
8237	:bl@:vb=300\E[30h\E,\E[30l:tc=wy85:
8238#
8239#	Wyse 85 in 132-column mode.
8240wy85-w|wyse85-w|wyse 85 in 132-column mode:\
8241	:co#132:ws#132:\
8242	:rs=70\E[35h\E[?3h:tc=wy85:
8243#
8244#	Wyse 85 in 132-column mode with visual bell.
8245wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns:\
8246	:bl@:tc=wy85-w:
8247
8248# From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
8249# This copes with an apparent firmware bug in the wy85.  He writes:
8250# "What I did was change leave the terminal cursor keys set to Normal
8251# (instead of application), and change \E[ to \233 for all the keys in
8252# terminfo. At one point, I found some reference indicating that this
8253# terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
8254# me), but I can't find that and the server under my bookmark to "Wyse
8255# Technical" isn't responding.  So there's the question of wether the wy85
8256# terminfo should reflect the manufactuer's intended behaviour of the terminal
8257# or the actual."
8258# (sgr removed to fit entry within 1023 bytes)
8259# (acsc removed to fit entry within 1023 bytes)
8260# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8261wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode:\
8262	:am:hs:mi:ms:xn:xo:\
8263	:co#80:it#8:li#24:ws#80:\
8264	:AL=5*\E[%dL:DC=3*\E[%dP:DL=3*\E[%dM:DO=\E[%dB:\
8265	:IC=4*\E[%d@:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:\
8266	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=5\E[L:as=^N:bl=^G:\
8267	:bt=\E[Z:cd=110\E[J:ce=1\E[K:cl=110\E[H\E[J:\
8268	:cm=1\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:\
8269	:dl=3\E[M:do=^J:ds=\E[40l:ec=\E[%dX:ei=\E[4l:\
8270	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[62;1"p\E[?5W:\
8271	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=3:\
8272	:is=16\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
8273	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\23317~:k7=\23318~:\
8274	:k8=\23319~:k9=\23320~:kD=\2333~:kI=\2332~:kN=\2336~:\
8275	:kP=\2335~:kb=^H:kd=\233B:ke=\E>:kh=\23326~:kl=\233D:\
8276	:kr=\233C:ks=\E[?1l\E=:ku=\233A:le=^H:mb=\E[5m:md=\E[1m:\
8277	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
8278	:se=\E[m:sf=3\n:so=\E[7m:sr=3\EM:st=\EH:ta=1\011:\
8279	:ts=\E[40h\E7\E[25;%i%dH:ue=\E[m:up=\E[A:us=\E[4m:\
8280	:vb=300\E[30h\E,\E[30l:ve=\E[?25h:vi=\E[?25l:
8281#
8282#	Wyse 185 emulating a vt320 7 bit mode.
8283#
8284#	This terminal always displays 25 lines.  These lines may be used
8285#	as 24 data lines and a terminal status line (top or bottom) or
8286#	25 data lines.  The 48 and 50 line modes change the page size
8287#	and not the number of lines on the screen.
8288#
8289#	The Compose Character key can be used as a meta key if changed
8290#	by set-up.
8291#
8292# (sgr removed to fit entry within 1023 bytes)
8293# (acsc removed to fit entry within 1023 bytes)
8294# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8295wy185|wyse185|wyse 185:\
8296	:am:hs:km:mi:ms:xn:xo:\
8297	:co#80:it#8:li#24:ws#80:\
8298	:AL=3*\E[%dL:DC=3\E[%dP:DL=2*\E[%dM:DO=\E[%dB:IC=2\E[%d@:\
8299	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=3\E[L:as=^N:bl=^G:\
8300	:bt=\E[Z:cd=40\E[J:ce=\E[K:cl=40\E[H\E[J:cm=\E[%i%d;%dH:\
8301	:cr=^M:cs=20\E[%i%d;%dr:ct=\E[3g:dc=3\E[P:dl=2\E[M:do=^J:\
8302	:ds=\E7\E[99;0H\E[K\E8:ec=\E[%dX:ei=\E[4l:\
8303	:fs=\E[1;24r\E8:ho=\E[H:i1=\E[?5W:\
8304	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=4:\
8305	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h:\
8306	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
8307	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
8308	:kb=^H:kd=\E[B:ke=\E>:kh=\E[26~:kl=\E[D:kr=\E[C:\
8309	:ks=\E[?1l\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
8310	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=2\n:\
8311	:so=\E[7m:sr=2\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q:\
8312	:ts=\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
8313	:vb=100\E[30h\E,\E[30l:ve=\E[34h\E[?25h:vi=\E[?25l:\
8314	:vs=\E[?25h\E[34l:tc=vt220+keypad:
8315#
8316#	Wyse 185 with 24 data lines and top status (terminal status)
8317wy185-24|wyse185-24|wyse 185 with 24 data lines:\
8318	:hs@:\
8319	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy185:
8320#
8321#	Wyse 185 with visual bell.
8322wy185-vb|wyse185-vb|wyse 185+flash:\
8323	:bl@:tc=wy185:
8324#
8325#	Wyse 185 in 132-column mode.
8326wy185-w|wyse185-w|wyse 185 in 132-column mode:\
8327	:co#132:ws#132:\
8328	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
8329	:rs=\E[35h\E[?3h:tc=wy185:
8330#
8331#	Wyse 185 in 132-column mode with visual bell.
8332wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols:\
8333	:bl@:tc=wy185-w:
8334
8335# wy325 terminfo entries
8336# Done by Joe H. Davis        3-9-92
8337
8338# lines 25  columns 80
8339#
8340wy325|wyse325|Wyse epc:\
8341	:5i:am:bw:hs:mi:\
8342	:Nl#8:co#80:lh#1:li#24:lw#8:pb#9601:ws#45:\
8343	:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
8344	:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:RA=\Ed.:\
8345	:SA=\Ed/:\
8346	:ac=+/,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~:\
8347	:ae=\EcD:al=3\EE:as=\EcE:bl=^G:bt=\EI:cd=50\EY:ce=4\ET:\
8348	:cl=50\E+:cm=\E=%+ %+ :cr=^M:ct=\E0:dc=7\EW:dl=3\ER:do=^J:\
8349	:ds=\EF\r:ei=\Er:fs=^M:ho=^^:i1=\EcB0\EcC1:i2=16\Ew0:\
8350	:im=\Eq:ip=2:\
8351	:is=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El:\
8352	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
8353	:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kA=\EE:kB=\EI:kD=\EW:\
8354	:kE=\ET:kI=\Eq:kL=\ER:kN=\EK:kP=\EJ:kS=\EY:kb=^H:kd=^J:kh=^^:\
8355	:kl=^H:kr=^L:ku=^K:le=^H:ll=^^^K:mb=\EG2:\
8356	:me=\E(\EH\003\EG0\EcD:mh=\EGp:mp=\E):nd=^L:pf=^T:po=\Ed#:\
8357	:ps=\EP:r1=30\E~!\E~4:r2=70\EeF\E`\072:r3=100\EwG\Ee(:\
8358	:sf=3\n:so=\EGt:sr=2\Ej:st=\E1:ta=^I:te=\Ew0:ti=\Ew1:ts=\EF:\
8359	:up=^K:vb=\E`8\E`9:ve=\E`1:vi=\E`0:tc=adm+sgr:
8360
8361#
8362# lines 24  columns 80  vb
8363#
8364wy325-vb|wyse325-vb|wyse-325 with visual bell:\
8365	:bl@:tc=wy325:
8366
8367#
8368# lines 24  columns 132
8369#
8370wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode:\
8371	:Nl#16:co#132:lw#7:ws#97:\
8372	:cm=\Ea%i%dR%dC:dc=12\EW:ip=4:rs=70\E`;:tc=wy325:
8373#
8374# lines 25  columns 80
8375#
8376wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines:\
8377	:Nl@:lh@:li#25:lw@:\
8378	:pn@:r3=100\EwG\Ee):tc=wy325:
8379#
8380# lines 25  columns 132
8381#
8382wy325-25w|wyse325-25w|wy325 132 columns:\
8383	:Nl@:lh@:li#25:lw@:\
8384	:pn@:r3=100\EwG\Ee):tc=wy325-w:
8385#
8386# lines 25  columns 132  vb
8387#
8388wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video:\
8389	:bl@:tc=wy325-w:
8390
8391#
8392# lines 42  columns 80
8393#
8394wy325-42|wyse325-42|wyse-325 42 lines:\
8395	:Nl@:lh@:li#42:lw@:\
8396	:pn@:r3=100\EwG\Ee):tc=wy325:
8397#
8398# lines 42  columns 132
8399#
8400wy325-42w|wyse325-42w|wyse-325 42 lines wide mode:\
8401	:Nl@:lh@:li#42:lw@:\
8402	:pn@:r3=100\EwG\Ee):tc=wy325-w:
8403#
8404# lines 42  columns 132  vb
8405#
8406wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell:\
8407	:bl@:tc=wy325-w:
8408#
8409# lines 43  columns 80
8410#
8411wy325-43|wyse325-43|wyse-325 43 lines:\
8412	:Nl@:lh@:li#43:lw@:\
8413	:pn@:tc=wy325:
8414#
8415# lines 43  columns 132
8416#
8417wy325-43w|wyse325-43w|wyse-325 43 lines wide mode:\
8418	:Nl@:lh@:li#43:lw@:\
8419	:pn@:r3=100\EwG\Ee):tc=wy325-w:
8420#
8421# lines 43  columns 132  vb
8422#
8423wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell:\
8424	:bl@:tc=wy325-w:
8425
8426#	Wyse 370 -- 24 line screen with status line.
8427#
8428#	The terminal may have to be set for 8 data bits and 2 stop
8429#	bits for the arrow keys to work.
8430#
8431#	If you change keyboards the terminal will send different
8432#	escape sequences.
8433#	The following definition is for the basic terminal without
8434#	function keys.
8435#
8436#	<u0> -> enter Tektronix 4010/4014 mode
8437#	<u1> -> exit  Tektronix 4010/4014 mode
8438#	<u2> -> enter ASCII mode (from any ANSI mode)
8439#	<u3> -> exit  ASCII mode (goto native ANSI mode)
8440#	<u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
8441#	<u5> -> exit  Tek 4207 mode (goto native ANSI mode)
8442#
8443# Bug: The <op> capability resets attributes.
8444# (sgr removed to fit entry within 1023 bytes)
8445# (acsc removed to fit entry within 1023 bytes)
8446# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8447wy370-nk|wyse 370 without function keys:\
8448	:am:hs:mi:ms:xn:xo:\
8449	:co#80:it#8:li#24:ws#80:\
8450	:AL=2*\E[%dL:DC=1*\E[%dP:DL=2*\E[%dM:DO=\E[%dB:\
8451	:IC=1*\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=2\E[L:\
8452	:as=^N:bl=^G:bt=\E[Z:cd=40\E[J:ce=10\E[K:cl=40\E[H\E[J:\
8453	:cm=1\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=1\E[P:\
8454	:dl=2\E[M:do=^J:ds=\E[40l:ec=.1*\E[%dX:ei=\E[4l:\
8455	:fs=\E[1;24r\E8:ho=\E[H:i1=6\E[90;1"p\E[?5W:\
8456	:i2=\E>\017\E)0\E(B\E[63;0w\E[m:im=\E[4h:ip=1:\
8457	:is=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h:\
8458	:ke=\E>:ks=\E[?1l\E=:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
8459	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:sf=2\n:\
8460	:so=\E[7m:sr=2\EM:st=\EH:ta=1\011:te=\E[ R:ti=\E[ Q:\
8461	:ts=\E[40l\E[40h\E7\E[99;%i%dH:ue=\E[24m:up=\E[A:\
8462	:us=\E[4m:vb=300\E[30h\E,\E[30l:ve=\E[34h\E[?25h:\
8463	:vi=\E[?25l:vs=\E[?25h\E[34l:
8464#
8465#	Function key set for the ASCII (wy-50 compatible) keyboard
8466#	This is the default 370.
8467#
8468wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard:\
8469	:@8=\EOM:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
8470	:F5=\E[28~:F6=\E[29~:k1=\E[?4i:k2=\E[?3i:k3=\E[2i:k4=\E[@:\
8471	:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
8472	:k;=\E[21~:kA=\EOP:kB=\E[Z:kD=\EOQ:kI=\EOP:kL=\EOQ:kN=\E[U:\
8473	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
8474	:tc=wy370-nk:
8475#
8476#	Function key set for the VT-320 (and wy85) compatible keyboard
8477#
8478wy370-105k|Wyse 370 with 105 key keyboard:\
8479	:%1=\E[28~:*6=\E[4~:@0=\E[1~:F1=\E[23~:F2=\E[24~:\
8480	:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
8481	:F8=\E[32~:F9=\E[33~:FA=\E[34~:k6=\E[17~:k7=\E[18~:\
8482	:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
8483	:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:kl=\E[D:kr=\E[C:ku=\E[A:\
8484	:l1=PF1:l2=PF2:l3=PF3:l4=PF4:tc=wy370-nk:tc=vt220+keypad:
8485#
8486#	Function key set for the PC compatible keyboard
8487#
8488wy370-EPC|Wyse 370 with 102 key keyboard:\
8489	:@7=\E[1~:@8=\EOM:F1=\E[23~:F2=\E[24~:k1=\EOP:k2=\EOQ:\
8490	:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
8491	:k9=\E[20~:k;=\E[21~:kB=\E[Z:kI=\E[2~:kN=\E[U:kP=\E[V:\
8492	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:tc=wy370-nk:
8493#
8494#	Wyse 370 with visual bell.
8495wy370-vb|Wyse 370 with visible bell:\
8496	:bl@:tc=wy370:
8497#
8498#	Wyse 370 in 132-column mode.
8499wy370-w|Wyse 370 in 132-column mode:\
8500	:co#132:ws#132:\
8501	:rs=70\E[35h\E[?3h:tc=wy370:
8502#
8503#	Wyse 370 in 132-column mode with visual bell.
8504wy370-wvb|Wyse 370 with visible bell 132-columns:\
8505	:vb=300\E[30h\E,\E[30l:tc=wy370-w:
8506wy370-rv|Wyse 370 reverse video:\
8507	:r3=\E[32h\E[?5h:tc=wy370:
8508#
8509#	Wyse 99gt Tektronix 4010/4014 emulator,
8510#
8511wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator:\
8512	:am:os:\
8513	:co#74:li#35:\
8514	:bl=^G:cl=\E^L:cr=^M:do=^J:ff=^L:\
8515	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
8516	:ho=^]7`x @\037:\
8517	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
8518	:is=\E8:le=^H:nd=\040:nw=^M^J:u0=\E~>\E8:u1=\E[42h:up=^K:
8519#
8520#	Wyse 160 Tektronix 4010/4014 emulator,
8521#
8522wy160-tek|Wyse 160 Tektronix 4010/4014 emulator:\
8523	:ho=^]8`g @\037:tc=wy99gt-tek:
8524#
8525#	Wyse 370 Tektronix 4010/4014 emulator,
8526#
8527wy370-tek|Wyse 370 Tektronix 4010/4014 emulator:\
8528	:am:os:\
8529	:co#80:li#36:\
8530	:bl=^G:cl=\E^L:cr=^M:do=^J:ff=^L:\
8531	:hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037:\
8532	:ho=^]8g @\037:\
8533	:hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037:\
8534	:is=\E8:kb=^H:kd=^J:kl=^H:kr=^I:ku=^K:le=^H:nd=\040:nw=^M^J:\
8535	:u0=\E[?38h\E8:u1=\E[?38l\E)0:up=^K:
8536
8537# Vendor-supplied Wyse entries end here.
8538
8539#
8540#TITLE:  TERMINFO ENTRY WY520
8541#DATE:   8/5/93
8542# The WY520 terminfo is based on the WY285 entry published on the WYSE
8543# BBS with the addition of more function keys and special keys.
8544#
8545#               rs1 -> set personality
8546#               rs2 -> set number of columns
8547#               rs3 -> set number of lines
8548#               is1 -> select the proper font
8549#               is2 -> do the initialization
8550#               is3 -> If this string is empty then rs3 gets sent.
8551#
8552#       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
8553#       - The BS key is programmed to generate BS in smcup since
8554#         is2 doesn't seem to work.
8555#       - Remove and shift/Remove: delete a character
8556#       - Insert : enter insert mode
8557#       - Find   : delete to end of file
8558#       - Select : clear a line
8559#       - F11, F12, F13: send default sequences (not ESC, BS, LF)
8560#       - F14 : Home key
8561#       - Bottom status line (host writable line) is used.
8562#       - smkx,rmkx are removed because this would put the numeric
8563#         keypad in Dec application mode which doesn't seem to work
8564#         with SCO applications.
8565#
8566# (sgr removed to fit entry within 1023 bytes)
8567# (acsc removed to fit entry within 1023 bytes)
8568# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8569wy520|wyse520|wyse 520:\
8570	:am:hs:km:mi:xn:xo:\
8571	:co#80:it#8:li#24:ws#80:\
8572	:AL=3*\E[%dL:DC=3\E[%dP:DL=2*\E[%dM:DO=\E[%dB:IC=2\E[%d@:\
8573	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=3\E[L:as=^N:bl=^G:\
8574	:bt=\E[Z:cd=40\E[J:ce=\E[K:cl=40\E[H\E[J:cm=\E[%i%d;%dH:\
8575	:cr=^M:cs=20\E[%i%d;%dr:ct=\E[3g:dc=30\E[P:dl=2\E[M:do=^J:\
8576	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:i1=\E[?5W:\
8577	:i2=\E>\E(B\E)0\017\E[m:im=\E[4h:ip=4:\
8578	:is=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h:\
8579	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:\
8580	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kh=\E[26~:\
8581	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
8582	:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=2\n:\
8583	:so=\E[7m:sr=2\EM:st=\EH:ta=^I:te=\E[ R:ti=\E[ Q\E[?67;8h:\
8584	:ts=\E[2$~\E[1$}\E[%i%d`:ue=\E[24m:up=\E[A:us=\E[4m:\
8585	:ve=\E[34h\E[?25h:vi=\E[?25l:vs=\E[?25h\E[34l:\
8586	:tc=vt220+keypad:
8587#
8588#       Wyse 520 with 24 data lines and status (terminal status)
8589wy520-24|wyse520-24|wyse 520 with 24 data lines:\
8590	:hs@:\
8591	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520:
8592#
8593#       Wyse 520 with visual bell.
8594wy520-vb|wyse520-vb|wyse 520 with visible bell:\
8595	:vb=100\E[30h\E,\E[30l:tc=wy520:
8596#
8597#       Wyse 520 in 132-column mode.
8598wy520-w|wyse520-w|wyse 520 in 132-column mode:\
8599	:co#132:ws#132:\
8600	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
8601	:rs=\E[35h\E[?3h:tc=wy520:
8602#
8603#       Wyse 520 in 132-column mode with visual bell.
8604wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns:\
8605	:vb=100\E[30h\E,\E[30l:tc=wy520-w:
8606#
8607#
8608#       Wyse 520 emulating a vt420 7 bit mode.
8609#       The DEL key is programmed to generate BS in is2.
8610#       With EPC keyboard.
8611#       - 'End' key will clear till end of line on EPC keyboard
8612#       - Shift/End : ignored.
8613#       - Insert : enter insert mode.
8614#       - Delete : delete a character (have to change interrupt character
8615#                  to CTRL-C: stty intr '^c') for it to work since the
8616#                  Delete key sends 7FH.
8617wy520-epc|wyse520-epc|wyse 520 with EPC keyboard:\
8618	:@7=\E[4~:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:\
8619	:k4=\E[14~:k5=\E[15~:kD=\177:kE=\E[4~:kh=\E[H:tc=wy520:
8620#
8621#       Wyse 520 with 24 data lines and status (terminal status)
8622#       with EPC keyboard.
8623wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard:\
8624	:hs@:\
8625	:ds@:fs@:r3=\E[?5l\E[47h\E[40l\E[1;24r:ts@:tc=wy520-epc:
8626#
8627#       Wyse 520 with visual bell.
8628wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard:\
8629	:vb=100\E[30h\E,\E[30l:tc=wy520-epc:
8630#
8631#       Wyse 520 in 132-column mode.
8632wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard:\
8633	:co#132:ws#132:\
8634	:DC=7\E[%dP:IC=7\E[%d@:dc=7\E[P:ei=:im=:ip=7:\
8635	:rs=\E[35h\E[?3h:tc=wy520-epc:
8636#
8637#       Wyse 520 in 132-column mode with visual bell.
8638wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard:\
8639	:vb=100\E[30h\E,\E[30l:tc=wy520-epc-w:
8640#
8641#       Wyse 520 in 80-column, 36 lines
8642wy520-36|wyse520-36|wyse 520 with 36 data lines:\
8643	:hs@:\
8644	:li#36:\
8645	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
8646	:tc=wy520:
8647#
8648#       Wyse 520 in 80-column, 48 lines
8649wy520-48|wyse520-48|wyse 520 with 48 data lines:\
8650	:hs@:\
8651	:li#48:\
8652	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
8653	:tc=wy520:
8654#
8655#       Wyse 520 in 132-column, 36 lines
8656wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines:\
8657	:co#132:ws#132:\
8658	:r2=\E[?3h:\
8659	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
8660	:tc=wy520-36:
8661#
8662#       Wyse 520 in 132-column, 48 lines
8663wy520-48w|wyse520-48w|wyse 520 with 48 data lines:\
8664	:co#132:ws#132:\
8665	:r2=\E[?3h:\
8666	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
8667	:tc=wy520-48:
8668#
8669#
8670#       Wyse 520 in 80-column, 36 lines with EPC keyboard
8671wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard:\
8672	:hs@:\
8673	:li#36:\
8674	:ds@:fs@:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r:ts@:\
8675	:tc=wy520-epc:
8676#
8677#       Wyse 520 in 80-column, 48 lines with EPC keyboard
8678wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard:\
8679	:hs@:\
8680	:li#48:\
8681	:ds@:fs@:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r:ts@:\
8682	:tc=wy520-epc:
8683#
8684#       Wyse 520 in 132-column, 36 lines with EPC keyboard
8685wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard:\
8686	:co#132:ws#132:\
8687	:r2=\E[?3h:\
8688	:r3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|:\
8689	:tc=wy520-36pc:
8690#
8691#       Wyse 520 in 132-column, 48 lines with EPC keyboard
8692wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard:\
8693	:co#132:ws#132:\
8694	:r2=\E[?3h:\
8695	:r3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|:\
8696	:tc=wy520-48pc:
8697
8698# From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
8699# (wyse-vp: removed :if=/usr/share/tabset/wyse-adds:, there's no such
8700# file and we don't know what :st: is -- esr)
8701wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\
8702	:am:bs:\
8703	:co#80:it#8:li#24:\
8704	:al=\EM:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EW:\
8705	:dl=\El:do=^J:ei=\Er:ho=^A:im=\Eq:is=\E`\072\E`9\017\Er:\
8706	:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A^Z:me=^O:\
8707	:nd=^F:nw=^M^J:r1=\E`\072\E`9\017\Er:se=^O:sf=^J:so=^N:\
8708	:ta=^I:ue=^O:up=^Z:us=^N:
8709
8710wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad:\
8711	:is=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=:kb=^H:\
8712	:kd=\EOB:ke=10\E[?1l\E>:kh=\EOH:kl=\EOD:kr=\EOC:\
8713	:ks=10\E[?1h\E=:ku=\EOA:tc=wy75:
8714
8715# From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
8716wy100q|Wyse 100 for Quotron:\
8717	:bs:\
8718	:co#80:li#24:sg#1:\
8719	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
8720	:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:\
8721	:is=\E`\072\200\EC\EDF\E0\E'\E(\EA21:kd=^J:kl=^H:kr=^L:\
8722	:ku=^K:le=^H:mk@:nd=^L:sr=\Ej:up=^K:tc=adm+sgr:
8723
8724#### Kermit terminal emulations
8725#
8726# Obsolete Kermit versions may be listed in the section describing obsolete
8727# non-ANSI terminal emulators later in the file.
8728#
8729
8730# KERMIT standard all versions.
8731# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
8732# (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
8733# From: greg small <gts@populi.berkeley.edu> 9-25-84
8734kermit|standard kermit:\
8735	:bs:\
8736	:co#80:li#24:\
8737	:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :do=\EB:ho=\EH:\
8738	:is=K0 Standard Kermit  9-25-84\n:kd=^J:kh=^^:kl=^H:\
8739	:kr=^L:ku=^K:le=^H:nd=\EC:up=\EA:
8740kermit-am|standard kermit plus auto-margin:\
8741	:am:\
8742	:is=K1 Standard Kermit plus Automatic Margins\n:\
8743	:tc=kermit:
8744# IBMPC Kermit 1.2.
8745# Bugs: :cd:, :ce:: do not work except at beginning of line!  :cl: does
8746# not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
8747# line).
8748# From: greg small <gts@populi.berkeley.edu> 8-30-84
8749pckermit|pckermit12|UCB IBMPC Kermit 1.2:\
8750	:am:\
8751	:li#25:\
8752	:cd@:ce@:cl=\EH\EJ:\
8753	:is=K2 UCB IBMPC Kermit 1.2  8-30-84\n:tc=kermit:
8754# IBMPC Kermit 1.20
8755# Cannot use line 25, now acts funny like ansi special scrolling region.
8756# Initialization must escape from that region by cursor position to line 24.
8757# Cannot use character insert because 1.20 goes crazy if insert at col 80.
8758# Does not use :am: because autowrap is lost when kermit dropped and restarted.
8759# From: greg small <gts@populi.berkeley.edu> 12-19-84
8760pckermit120|UCB IBMPC Kermit 1.20:\
8761	:it#8:li#24:\
8762	:al=\EL:dc=\EN:dl=\EM:do=\EB:ei@:im@:\
8763	:is=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n:\
8764	:se=\Eq:so=\Ep:ta=^I:vs=\EO\Eq\EEK3:tc=kermit:
8765# MS-DOS Kermit 2.27 for the IBMPC
8766# Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
8767# Cannot use line 25, now acts funny like ansi special scrolling region.
8768# Initialization must escape from that region by cursor position to line 24.
8769# Does not use am: because autowrap is lost when kermit dropped and restarted.
8770# Reverse video for standout like H19.
8771# (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
8772# From: greg small <gts@populi.berkeley.edu> 3-17-85
8773msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC:\
8774	:am@:bs:\
8775	:co#80:it#8:li#24:\
8776	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dc=\EN:dl=\EM:\
8777	:do=\EB:ei=\EO:ho=\EH:im=\E@:\
8778	:is=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n:\
8779	:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:nd=\EC:rc=\Ek:sc=\Ej:\
8780	:se=\Eq:so=\Ep:ta=^I:up=\EA:vs=\EO\Eq\EG\EwK4:
8781# MS-DOS Kermit 2.27 with automatic margins
8782# From:	greg small <gts@populi.berkeley.edu> 3-17-85
8783msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins:\
8784	:am:\
8785	:is=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n:\
8786	:vs=\EO\Eq\EG\EvK5:tc=msk227:
8787# MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
8788# Automatic margins now default.  Use ansi :sa: for highlights.
8789# Define function keys.
8790# (msk22714: removed obsolete ":kn#10:" -- esr)
8791# From: greg small <gts@populi.berkeley.edu> 3-17-85
8792msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC:\
8793	:am:\
8794	:is=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n:\
8795	:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:k5=\E5:k6=\E6:k7=\E7:\
8796	:k8=\E8:k9=\E9:md=\E[1m:me=\E[m:mr=\E[7m:se=\E[m:so=\E[1m:\
8797	:ue=\E[m:us=\E[4m:vs=\EO\Eq\EG\EvK6:tc=mskermit227:
8798# This was designed for a VT320 emulator, but it is probably a good start
8799# at support for the VT320 itself.
8800# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
8801# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
8802# (acsc removed to fit entry within 1023 bytes)
8803# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
8804vt320-k3|MS-Kermit 3.00's vt320 emulation:\
8805	:am:es:hs:km:mi:ms:xn:\
8806	:co#80:it#8:li#49:pb#9600:vt#3:\
8807	:AL=\E[%dL:CC=\E:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
8808	:LE=\E[%dD:RI=\E[%dC:SR=\E[%dL:UP=\E[%dA:ae=\E(B:al=\E[L:\
8809	:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
8810	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
8811	:ds=\E[0$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:im=\E[4h:\
8812	:is=\E>\E F\E[?1l\E[?7h\E[r\E[2$~:k0=\E[21~:k1=\EOP:\
8813	:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
8814	:k9=\E[20~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
8815	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
8816	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:\
8817	:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
8818	:ts=\E[1$}\r\E[K:ue=\E[24m:up=\E[A:us=\E[4m:\
8819	:vb=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l:ve=\E[?25h:\
8820	:vi=\E[?25l:
8821# From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
8822# ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
8823# (I removed a bogus boolean :mo: and added :ms:, <smam>, <rmam> -- esr)
8824vt320-k311|dec vt320 series as defined by kermit 3.11:\
8825	:am:es:hs:mi:ms:xn:xo:\
8826	:co#80:it#8:li#24:vt#3:\
8827	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
8828	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
8829	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
8830	:ae=^O:al=3\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:\
8831	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
8832	:dl=\E[M:do=^J:ds=\E[2$~\r\E[1$}\E[K\E[$}:ei=\E[4l:\
8833	:fs=\E[$}:ho=\E[H:im=\E[4h:\
8834	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
8835	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
8836	:k8=\E[19~:k9=\E[20~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
8837	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
8838	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M\ED:\
8839	:r1=\E[?3l:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:\
8840	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
8841	:ts=\E[2$~\E[1$}\E[1;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
8842	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:
8843
8844######## NON-ANSI TERMINAL EMULATIONS
8845#
8846
8847#### Avatar
8848#
8849# These entries attempt to describe Avatar, a terminal emulation used with
8850# MS-DOS bulletin-board systems.  It was designed to give ANSI-like
8851# capabilities, but with cheaper (shorter) control sequences.  Messy design,
8852# excessively dependent on PC idiosyncracies, but apparently rather popular
8853# in the BBS world.
8854#
8855# No color support.  Avatar doesn't fit either of the Tektronix or HP color
8856# models that terminfo knows about.  An Avatar color attribute is the
8857# low 7 bits of the IBM-PC display-memory attribute.  Bletch.
8858#
8859# I wrote these entries while looking at the Avatar spec.  I don't have
8860# the facilities to test them.  Let me know if they work, or don't.
8861#
8862# Avatar escapes not used by these entries (because maybe you're smarter
8863# and more motivated than I am and can figure out how to wrap terminfo
8864# around some of them, and because they are weird enough to be funny):
8865#				level 0:
8866# ^L		-- clear window/reset current attribute to default
8867# ^V^A%p1%c	-- set current color attribute, parameter decodes as follows:
8868#
8869#      bit:         6   5   4   3   2   1   0
8870#                   |       |   |   |       |
8871#                   +---+---+   |   +---+---+
8872#                       |       |       |
8873#                       |       |  foreground color
8874#                       |  foreground intensity
8875#                  background color
8876#				level 0+:
8877# ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) up by p1 lines
8878# ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c	-- scroll (p2,p3) to (p4,p5) down by p1 lines
8879# ^V^L%p1%c%p2%c%p3%c		-- clear p2 lines and p3 cols w/attr %p1
8880# ^V^M%p1%c%p2%c%p3%c%p4%c	-- fill p3 lines & p4 cols w/char p2+attr %p1
8881# (^V^L and ^V^M set the current attribute as a side-effect.)
8882# ^V ^Y <a> [...] <c>	-- repeat pattern. <a> specifies the number of bytes
8883#			   in the pattern, <c> the number of times the pattern
8884#		  	   should be repeated. If either value is 0, no-op.
8885#			   The pattern can contain Avatar console codes,
8886#			   including other ^V ^Y patterns.
8887#				level 1:
8888# ^V^O		-- clockwise mode on; turn print direction right each time you
8889#		   hit a window edge (yes, really).  Turned off by CR
8890# ^V^P		-- no-op
8891# ^V^Q%c	-- query the driver
8892# ^V^R		-- driver reset
8893# ^V^S		-- Sound tone (PC-specific)
8894# ^V^T			-- change highlight at current cursor poition to %c
8895# ^V^U%p1%c%p2%c	-- highlight window <a> with attribute <b>
8896# ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
8897#			-- define window
8898#
8899# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8900# (The :mb:/:md:/:mr:/:as:/:us:/:so: capabilities exist only to
8901# tell ncurses that the corresponding highlights exist; it should use :sa:,
8902# which is the only method that will actually work for multiple highlights.)
8903#
8904# Update by TD - 2004: half of this was inconsistent.  Found documentation
8905# and repaired most of the damage.  sgr0 is probably incorrect, but the
8906# available documentation gives no clues for a workable string.
8907avatar0|avatar terminal emulator level 0:\
8908	:am:ms:ut:\
8909	:co#80:it#8:li#25:\
8910	:ae@:as@:ce=^V^G:cm=\026\010%.%.:cr=^M:do=^V^D:le=^V^E:\
8911	:mb=^V^B:md=^V^A^P:me=^V^A^G:mk=^V^A\200:mr=^V^Ap:nd=^V^F:\
8912	:rp=\031%.%.:rs=^L:sf=^J:so=^V^Ap:up=^V^C:us=^V^A^A:\
8913	:tc=klone+acs:
8914# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8915avatar0+|avatar terminal emulator level 0+:\
8916	:dc=^V^N:ei=\026\n\200\200\200\200:im=^V^I:tc=avatar0:
8917# From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
8918avatar|avatar1|avatar terminal emulator level 1:\
8919	:RA=^V":SA=^V$:al=^V+:dl=^V-:ei=^V^P:ve=^V'^A:vi=^V'^B:\
8920	:vs=^V^C:tc=avatar0+:
8921
8922#### RBcomm
8923#
8924# RBComm is a lean and mean terminal emulator written by the Interrupt List
8925# maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
8926# '90s), especially in the BBS world, and still has some loyal users due to
8927# its very small memory footprint and to a cute macro language.
8928rbcomm|IBM PC with RBcomm and EMACS keybindings:\
8929	:am:bw:mi:ms:xn:\
8930	:co#80:it#8:li#25:\
8931	:AL=\E[%dL:DL=\E[%dM:al=^K:bl=^G:bt=\E[Z:cd=^F5:ce=^P^P:\
8932	:cl=^L:cm=\037%r%+ %+ :cr=^M:cs=\E[%i%d;%dr:dc=^W:dl=^Z:\
8933	:dm=:do=^C:ec=\E[%dX:ed=:ei=^]:im=^\:\
8934	:is=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g:kb=^H:kd=^N:\
8935	:ke=\E>:kh=^A:kl=^B:kr=^F:ks=\E=:ku=^P:le=^H:mb=\E[5m:\
8936	:md=\E[1m:me=\E[m:mk=\E[8m:mr=^R:nd=^B:nw=^M\ED:\
8937	:r1=\017\E(B\E)0\025\E[?3l\E[>8g:rc=\E8:rp=\030%.%.:\
8938	:sc=\E7:se=^U:sf=\ED:so=^R:sr=\EM:ta=^I:te=:ti=:ue=^U:up=^^:\
8939	:us=^T:ve=\E[?25h:vi=\E[?25l:
8940rbcomm-nam|IBM PC with RBcomm without autowrap:\
8941	:am@:\
8942	:bl=^G:cr=^M:do=^J:\
8943	:is=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g:kb=^H:kd=^J:\
8944	:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=rbcomm:
8945rbcomm-w|IBM PC with RBcomm in 132 column mode:\
8946	:co#132:\
8947	:bl=^G:cr=^M:do=^J:\
8948	:is=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g:kb=^H:kd=^J:\
8949	:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=rbcomm:
8950
8951######## LCD DISPLAYS
8952#
8953
8954#### Matrix Orbital
8955# from: Eric Z. Ayers  (eric@ale.org)
8956#
8957# Matrix Orbital 20x4 LCD display
8958# Command Character is 0xFE (decimal 254, octal 376)
8959#
8960# On this device, cursor addressability isn't possible.  The LCD expects:
8961#      0xfe G <col> <row>
8962#      for cup: %p1 == row and %p2 is column
8963#
8964# This line:
8965#	cup=\376G%p2%c%p1%c
8966# LOOKS like it will work, but sometimes only one of the two numbers is sent.
8967# See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
8968#
8969# Alas, there is no cursor upline capability on this display.
8970#
8971# These entries add some 'sanity stuff' to the clear function.  That is, it
8972# does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
8973# and turns off the cursor blinking and stuff like that.
8974#
8975# NOTE: calling 'beep' turns on the backlight (bell)
8976# NOTE: calling 'flash' turns it on and back off (visual bell)
8977#
8978MtxOrb|Generic Matrix Orbital LCD display:\
8979	:bl=\376B^A:cl=\376X\376C\376R\376K\376T:ho=\376H:\
8980	:le=\376L:nd=\376M:vb=\376B\001\376F:ve=\376K\376T:
8981MtxOrb204|20x4 Matrix Orbital LCD display:\
8982	:co#20:li#4:tc=MtxOrb:
8983MtxOrb162|16x2 Matrix Orbital LCD display:\
8984	:co#16:li#2:tc=MtxOrb:
8985# The end
8986
8987######## OLDER TERMINAL TYPES
8988#
8989# This section is devoted to older commercial terminal brands that are now
8990# discontinued, but known to be still in use or represented by emulations.
8991#
8992
8993#### AT&T (att, tty)
8994#
8995# This section also includes Teletype-branded VDTs.
8996#
8997# The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
8998# Boundless Technologies); for details, see the header comment on the ADDS
8999# section.
9000#
9001# These are AT&T's official terminfo entries.  All-caps aliases have been
9002# removed.
9003#
9004att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode:\
9005	:am:eo:mi:ms:xo:\
9006	:co#80:it#8:li#24:\
9007	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[11r:\
9008	:F2=\E[12r:F3=\E[13r:F4=\E[14r:F5=\E[15r:F6=\E[16r:\
9009	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:\
9010	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
9011	:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:\
9012	:k1=\E[1r:k2=\E[2r:k3=\E[3r:k4=\E[4r:k5=\E[5r:k6=\E[6r:\
9013	:k7=\E[7r:k8=\E[8r:k9=\E[9r:k;=\E[10r:kA=\E[L:kB=\E[Z:\
9014	:kC=\E[J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:kd=\E[B:kh=\E[H:\
9015	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:mr=\E[7m:nd=\E[C:\
9016	:pf=\E[4i:po=\E[5i:ps=\E[0i:se=\E[m:sf=^J:so=\E[7m:ta=^I:\
9017	:up=\E[A:
9018att2350|AT&T 2350 Video Information Terminal 80 column mode:\
9019	:pf@:po@:ps@:tc=att2300:
9020
9021# Must setup RETURN KEY - CR, REC'VD LF - INDEX.
9022# Seems upward compatible with vt100, plus ins/del line/char.
9023# On sgr, the protection parameter is ignored.
9024# No check is made to make sure that only 3 parameters are output.
9025# 	standout= reverse + half-intensity = 3 | 5.
9026# 	bold= reverse + underline = 2 | 3.
9027# note that half-bright blinking doesn't look different from normal blinking.
9028# NOTE:you must program the function keys first, label second!
9029# (att4410: a BSD entry has been seen with the following capabilities:
9030# :is=\E[?6l:, :k1=\EOc:, :k2=\EOd:, :k3=\EOe:, :k4=\EOg:,
9031# :k6=\EOh:, :k7=\EOi:, :k8=\EOj:, -- esr)
9032att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1:\
9033	:am:hs:mi:ms:xo:\
9034	:Nl#8:co#80:it#8:lh#2:li#24:lw#8:ws#80:\
9035	:ac=++,,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9036	:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9037	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
9038	:do=\E[B:ei=:fs=\E8:ho=\E[H:i1=\E[?3l\E)0:\
9039	:i2=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW:\
9040	:ic=\E[@:im=:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
9041	:k6=\EOU:k7=\EOV:k8=\EOW:kC=\E[2J:kH=\E[24;1H:kb=^H:\
9042	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
9043	:mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
9044	:nd=\E[C:nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:\
9045	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%+^AH:\
9046	:ue=\E[m:up=\E[A:us=\E[4m:
9047
9048att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1:\
9049	:co#132:ws#132:\
9050	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att5410v1:
9051
9052att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2:\
9053	:bs:tc=att5410v1:
9054
9055att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode:\
9056	:co#132:ws#132:\
9057	:i1=\E[?3h\E)0:rs=\Ec\E[?3h\E[2;0y:tc=att4410:
9058
9059# 5410 in terms of a vt100
9060# (v5410: added <rmam>/<smam> based on init string -- esr)
9061v5410|att5410 in terms of a vt100:\
9062	:am:mi:ms:xo:\
9063	:co#80:it#8:li#24:vt#3:\
9064	:RA=\E[?7l:SA=\E[?7h:\
9065	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9066	:ae=^O:al=\E[L:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
9067	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
9068	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
9069	:ic=\E[@:im=:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
9070	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[0m:\
9071	:mr=2\E[7m:nd=2\E[C:rc=\E8:\
9072	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
9073	:sf=^J:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
9074	:us=2\E[4m:tc=vt100+fnkeys:
9075
9076#
9077# Teletype Model 5420 -- A souped up 5410, with multiple windows,
9078# even! the 5420 has three modes: scroll, window or page mode
9079# this terminfo should work in scroll or window mode, but doesn't
9080# take advantage of any of the differences between them.
9081#
9082# Has memory below (2 lines!)
9083# 3 pages of memory (plus some spare)
9084# The 5410 sequences for :cm:, :vs:, :DC:, :DL:, :ec:, :vb:, :ho:,
9085# <hpa>, :st: would work for these, but these work in both scroll and window
9086# mode... Unset insert character so insert mode works
9087# :i1: sets 80 column mode,
9088# :is: escape sequence:
9089# 1) turn off all fonts
9090# 2) function keys off, keyboard lock off, control display off,
9091#    insert mode off, erasure mode off,
9092# 3) full duplex, monitor mode off, send graphics off, nl on lf off
9093# 4) reset origin mode
9094# 5) set line wraparound
9095# 6) exit erasure mode, positional attribute mode, and erasure extent mode
9096# 7) clear margins
9097# 8) program ENTER to transmit ^J,
9098# We use \212 to program the ^J because a bare ^J will get translated by
9099# UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
9100#     1      2            3              4     5     6    7  8
9101# :i3: set screen color to black,
9102# No representation in terminfo for the delete word key: kdw1=\Ed
9103# Key capabilities assume the power-up send sequence...
9104# This :te: is not strictly necessary, but it helps maximize
9105# memory usefulness: :te=\Ez:,
9106# Alternate sgr0:	:me=\E[m\EW^O:,
9107# Alternate sgr:	:sa=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;:,
9108# smkx programs the SYS PF keys to send a set sequence.
9109# It also sets up labels f1, f2, ..., f8, and sends edit keys.
9110# This string causes them to send the strings :k1:-:k8:
9111# when pressed in SYS PF mode.
9112# (att4415: I added <rmam>/<smam> based on the init string -- esr)
9113att4415|tty5420|att5420|AT&T 4415/5420 80 cols:\
9114	:bs:db:mi:xo:\
9115	:Nl#8:lh#2:lm#78:lw#8:ws#55:\
9116	:@1=\Et:@7=\Ez:@8=\Eent:AL=\E[%dL:CM=\E[%i%d;%dt:\
9117	:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:LF=\E|:\
9118	:LO=\E~:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dE:SR=\E[%dF:\
9119	:UP=\E[%dA:bt=\E[Z:ch=\E[%+^AG:cl=\E[x\E[J:\
9120	:cm=\E[%i%d;%dx:ct=\E[3g:cv=\E[%+^Ad:ec=\E[%ds\E[%dD:\
9121	:ei=\E[4l:ho=\E[x:i1=100\E[?3l:i2=\E[?5l:ic@:im=\E[4h:\
9122	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212:\
9123	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
9124	:k8=\EOj:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\E[2K:kF=\E[T:kH=\Eu:\
9125	:kI=\E[4h:kL=\E[M:kN=\E[U:kP=\E[V:kR=\E[S:\
9126	:ke=\E[19;0j\E[21;1j\212:ks=\E[19;1j\E[21;4j\Eent:\
9127	:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:ll=\Ew:\
9128	:me=\E[0m\017:mp=\EV:pf=\E[?9i:po=\E[?4i:ps=\E[?2i:st=\EH:\
9129	:ts=\E7\E[25;%+^HH:vb=\E[?5h\E[?5l:ve=\E[11;0j:\
9130	:vs=\E[11;1j:tc=att4410:
9131
9132att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols:\
9133	:co#132:lm#54:ws#97:\
9134	:i1=100\E[?3h:tc=att4415:
9135
9136att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv:\
9137	:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
9138
9139att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv:\
9140	:co#132:lm#54:ws#97:\
9141	:i1=100\E[?3h:i2=\E[?5h:vb=\E[?5l\E[?5h:tc=att4415:
9142
9143# Note that this mode permits programming USER PF KEYS and labels
9144# However, when you program user pf labels you have to reselect
9145# user pf keys to make them appear!
9146att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels:\
9147	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:
9148
9149att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels:\
9150	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415:
9151
9152att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels:\
9153	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-rv:
9154
9155att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels:\
9156	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:tc=att4415-w:
9157
9158att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels:\
9159	:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:tc=att4415+nl:\
9160	:tc=att4415-w-rv:
9161
9162# (sgr removed to fit entry within 1023 bytes)
9163# (acsc removed to fit entry within 1023 bytes)
9164# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9165att5420_2|AT&T 5420 model 2 80 cols:\
9166	:am:db:hs:mi:ms:xo:\
9167	:co#80:it#8:li#24:lm#78:ws#55:\
9168	:AL=\E[%dL:CM=\E[%i%d;%dt:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
9169	:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:\
9170	:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bt=\E[1Z:cd=\E[0J:ce=\E[0K:\
9171	:cl=\EH\EJ:cm=\E[%i%d;%dH:cr=\EG:cs=\E[%i%d;%dr:ct=\E[3g:\
9172	:dc=\E[P:dl=\E[M:do=\E[1B:ec=\E[%ds\E[%dD:ei=:fs=\E8:\
9173	:ho=\E[H:\
9174	:i1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r:\
9175	:ic=\E[@:im=:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
9176	:k6=\EOh:k7=\EOi:k8=\EOj:kD=\E[P:kH=\Eu:kI=\E[4h:kN=\E[U:\
9177	:kP=\E[V:kb=^H:kd=\E[B:ke=\E[19;0j:kh=\E[H:kl=\E[D:kr=\E[C:\
9178	:ks=\E[19;1j:ku=\E[A:le=^H:ll=\Ew:mb=\E[5m:me=\E[0m:\
9179	:mh=\E[2m:mr=\E[7m:nd=\E[1C:nw=^M^J:rc=\E8:\
9180	:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
9181	:st=\EH:ta=^I:ts=\E7\E[25;%+^HH:ue=\E[m:up=\E[1A:us=\E[4m:\
9182	:vb=\E[?5h\E[?5l:ve=\E[11;0j:vs=\E[11;1j:
9183att5420_2-w|AT&T 5420 model 2 in 132 column mode:\
9184	:co#132:\
9185	:i1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r:\
9186	:tc=att5420_2:
9187
9188att4418|att5418|AT&T 5418 80 cols:\
9189	:am:xo:\
9190	:co#80:li#24:\
9191	:@8=\E[:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[n:\
9192	:F2=\E[o:F3=\E[H:F4=\E[I:F5=\E[J:F8=\E[K:F9=\E[L:FA=\E[E:\
9193	:FB=\E[_:FC=\E[M:FD=\E[N:FE=\E[O:IC=\E[%d@:LE=\E[%dD:\
9194	:RI=\E[%dC:UP=\E[%dA:\
9195	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9196	:ae=^O:al=\E[1L:as=^N:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
9197	:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
9198	:i1=\E[?3l:ic=\E[1@:im=:is=\E)0\E?6l\E?5l:k1=\E[h:k2=\E[i:\
9199	:k3=\E[j:k6=\E[k:k7=\E[l:k8=\E[f:k9=\E[w:k;=\E[m:kC=\E[%%:\
9200	:kd=\EU:kh=\Ec:kl=\E@:kr=\EA:ku=\ES:le=\E[D:mb=\E[5m:\
9201	:me=\E[m\017:mh=\E[2m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
9202	:se=\E[m:sf=^J:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
9203att4418-w|att5418-w|AT&T 5418 132 cols:\
9204	:co#132:\
9205	:i1=\E[?3h:tc=att5418:
9206
9207att4420|tty4420|teletype 4420:\
9208	:bs:da:db:eo:ms:ul:xo:\
9209	:co#80:li#24:lm#72:\
9210	:al=\EL:bl=^G:cd=\EJ:ce=\Ez:cl=\EH\EJ:cm=\EY%+ %+ :cr=\EG:\
9211	:dc=\EP:dl=\EM:dm@:do=\EB:ed@:ho=\EH:k0=\EU:k3=\E@:kA=\EL:\
9212	:kB=\EO:kC=\EJ:kD=\EP:kF=\ES:kI=\E\136:kL=\EM:kR=\ET:kd=\EB:\
9213	:kh=\EH:kl=^H:kr=\EC:ku=\EA:l0=segment advance:\
9214	:l3=cursor tab:le=\ED:nd=\EC:se=\E~:sf=\EH\EM\EY7\040:\
9215	:so=\E}:ue=\EZ:up=\EA:us=\E\\:
9216
9217#  The following is a terminfo entry for the Teletype 4424
9218#  asynchronous keyboard-display terminal.  It supports
9219#  the vi editor.  The terminal must be set up as follows,
9220#
9221# 	HIGHLIGHT DEFINITION	3-TONE
9222# 	DISPLAY FUNCTION	GROUP III
9223#
9224#  The second entry below provides limited (a la adm3a)
9225#  operation under GROUP II.
9226#
9227#  This must be used with DISPLAY FUNCTION GROUP I or III
9228# 	and HIGHLIGHT DEFINITION 3-TONE
9229# The terminal has either bold or blink, depending on options
9230#
9231# (att4424: commented out :ti:=\E[1m, we don't need bright locked on -- esr)
9232att4424|tty4424|teletype 4424:\
9233	:am:bs:xo:\
9234	:co#80:li#24:\
9235	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9236	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
9237	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9238	:ae=\E(B:al=\EL:as=\E(0:bl=^G:bt=\EO:cd=\EJ:ce=\Ez:\
9239	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\EF:\
9240	:dc=\EP:dl=\EM:do=\EB:ei=:ho=\E[H:ic=\E\136:im=:\
9241	:is=\E[20l\E[?7h:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kC=\EJ:\
9242	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E3:\
9243	:md=\E3:me=\EX\E~\EZ\E4\E(B:mh=\EW:mr=\E}:nd=\EC:nw=\EE:\
9244	:se=\E~:sf=^J:so=\E}:sr=\ET:st=\EH:ta=^I:ue=\EZ:up=\EA:\
9245	:us=\E\\:
9246
9247att4424-1|tty4424-1|teletype 4424 in display function group I:\
9248	:kC@:kd=\EB:kh@:kl=\ED:kr=\EC:ku=\EA:tc=att4424:
9249
9250# This entry is not one of AT&T's official ones, it was translated from the
9251# 4.4BSD termcap file.  The highlight strings are different from att4424.
9252# I have no idea why this is -- older firmware version, maybe?
9253# The following two lines are the comment originally attached to the entry:
9254# This entry appears to avoid the top line - I have no idea why.
9255# From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
9256att4424m|tty4424m|teletype 4424M:\
9257	:am:da:db:mi:\
9258	:co#80:it#8:li#23:\
9259	:al=\EL:bl=^G:ce=\E[K:cl=\E[2;H\E[J:cm=\E[%i%2;%2H\E[B:\
9260	:cr=^M:dc=\EP:dl=\EM:do=^J:ei=:ic=\E\136:im=:ip=2:\
9261	:is=\E[m\E[2;24r:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:\
9262	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:\
9263	:nd=\E[C:nw=^M^J:se=\E[m:sf=^J:so=\E[7m:sr=\ET:ta=^I:\
9264	:ue=\E[m:up=\E[A:us=\E[4m:
9265
9266# The Teletype 5425 is really version 2 of the Teletype 5420. It
9267# is quite similar, except for some minor differences. No page
9268# mode, for example, so all of the :cm: sequences used above have
9269# to change back to what's being used for the 5410. Many of the
9270# option settings have changed their numbering as well.
9271#
9272# This has been tested on a preliminary model.
9273#
9274# (att5425: added <rmam>/<smam> based on the init string -- esr)
9275# (sgr removed to fit entry within 1023 bytes)
9276# (acsc removed to fit entry within 1023 bytes)
9277# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9278att5425|tty5425|att4425|AT&T 4425/5425:\
9279	:am:da:db:hs:mi:ms:xn:xo:\
9280	:co#80:it#8:li#24:lm#78:ws#55:\
9281	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9282	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
9283	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9284	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
9285	:dl=\E[M:do=^J:ec=\E[%ds\E[%dD:ei=\E[4l:fs=\E8:ho=\E[H:\
9286	:i1=100\E<\E[?3l:i2=\E[?5l:im=\E[4h:\
9287	:is=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212:\
9288	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
9289	:k8=\EOj:kD=\E[P:kI=\E[4h:kb=^H:kd=\E[B:\
9290	:ke=\E[21;0j\E[25;1j\212:kh=\E[H:kl=\E[D:kr=\E[C:\
9291	:ks=\E[21;1j\E[25;4j\Eent\E~:ku=\E[A:le=^H:ll=\E[24H:\
9292	:mb=\E[5m:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
9293	:nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:sc=\E7:se=\E[m:sf=^J:\
9294	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E7\E[25;%+^HH:ue=\E[m:\
9295	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[12;0j:\
9296	:vs=\E[12;1j:
9297
9298att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels:\
9299	:ks=\E[21;1j\E[25;4j\Eent:tc=att4425:
9300
9301att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode:\
9302	:co#132:lm#54:ws#97:\
9303	:i1=100\E[?3h:tc=tty5425:
9304
9305# (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:.
9306# I also added <rmam>/<smam> -- esr)
9307att4426|tty4426|teletype 4426S:\
9308	:am:da:db:xo:\
9309	:co#80:li#24:lm#48:\
9310	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9311	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:SF=\E[%dS:\
9312	:SR=\E[%dT:UP=\E[%dA:\
9313	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9314	:ae=\E(B:al=\EL:as=\E(0:bl=^G:cd=\E[J:ce=\E[0K:ch=\E[%dG:\
9315	:cl=\E[H\E[2J\E[1U\E[H\E[2J\E[1V:cm=\E[%i%d;%dH:cr=^M:\
9316	:ct=\E[3g:cv=\E[%dd:dc=\EP:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
9317	:i1=\Ec\E[?7h:ic=\E\136:im=:is=\E[m\E[1;24r:k1=\EOP:\
9318	:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:\
9319	:kB=\EO:kC=\E[2J:kH=\E[24;1H:kb=^H:kd=\EB:kh=\E[H:kl=\ED:\
9320	:kr=\EC:ku=\EA:le=\E[D:ll=\E[24H:md=\E[5m:me=\E[m\E(B:\
9321	:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:rs=\Ec\E[?3l\E[2;0y:\
9322	:sc=\E7:se=\E[m:sf=^J:so=\E[5m:sr=\ET:st=\E1:ta=^I:ue=\E[m:\
9323	:up=\E[A:us=\E[4m:
9324
9325# Terminfo entry for the AT&T 510 A Personal Terminal
9326# Function keys 9 - 16 are available only after the
9327# screen labeled (soft keys/action blocks) are labeled.  Function key
9328# 9 corresponds to the leftmost touch target on the screen,
9329# function key 16 corresponds to the rightmost.
9330#
9331# This entry is based on one done by Ernie Rice at Summit, NJ and
9332# changed by Anne Gallup, Skokie, IL, ttrdc!anne
9333att510a|bct510a|AT&T 510A Personal Terminal:\
9334	:am:mi:ms:xn:xo:\
9335	:Nl#8:co#80:lh#2:li#24:lw#7:\
9336	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
9337	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:LE=\E[%dD:\
9338	:RI=\E[%dC:UP=\E[%dA:\
9339	:ac=+g,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~:\
9340	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
9341	:ce=\E[0K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
9342	:dc=\E[P:dl=\E[M:do=\E[B:eA=\E(B\E)1:ff=^L:ho=\E[H:\
9343	:i1=\E(B\E)1\E[2l:i2=\E[21;1|\212:k1=\EOm:k2=\EOV:\
9344	:k3=\EOu:k4=\ENj:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:\
9345	:k;=\EOd:kB=\E[Z:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:\
9346	:kl=\E[D:kr=\E[C:ks=\E[19;1|:ku=\E[A:le=^H:mb=\E[5m:\
9347	:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
9348	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:sc=\E7:se=\E[m:sf=^J:\
9349	:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
9350	:ve=\E[11;3|:vi=\E[11;0|:vs=\E[11;2|:
9351
9352# Terminfo entry for the AT&T 510 D Personal Terminal
9353# Function keys 9 through 16 are accessed by bringing up the
9354# system blocks.
9355# Function key 9 corresponds to the leftmost touch target on the screen,
9356# function key 16 corresponds to the rightmost.
9357#
9358# There are problems with soft key labeling.  These are due to
9359# strangenesses in the native terminal that are impossible to
9360# describe in a terminfo.
9361# (sgr removed to fit entry within 1023 bytes)
9362# (acsc removed to fit entry within 1023 bytes)
9363att510d|bct510d|AT&T 510D Personal Terminal:\
9364	:am:da:db:mi:ms:xn:xo:\
9365	:Nl#8:co#80:lh#2:li#24:lm#48:lw#7:\
9366	:#4=\E[u:%i=\E[v:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
9367	:F1=\EOe:F2=\EOf:F3=\EOg:F4=\EOh:F5=\EOi:F6=\EOj:IC=\E[%d@:\
9368	:LE=\E[%dD:LF=\E<:LO=\E?:MC=\E\072:ML=\E4:MR=\E5:RI=\E[%dC:\
9369	:RX=\E[29;1|:SF=\E[%dS:SR=\E[%dT:SX=\E[29;0|:UP=\E[%dA:\
9370	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[0J:\
9371	:ce=\E[0K:ch=\E[%+^AG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
9372	:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:dl=\E[M:do=\E[B:eA=\E(B\E)1:\
9373	:ei=\E[4l:ff=^L:ho=\E[H:i1=\E(B\E)1\E[5;0|:\
9374	:i2=\E[21;1|\212:im=\E[4h:k1=\EOm:k2=\EOV:k3=\EOu:k4=\ENj:\
9375	:k5=\ENe:k6=\ENf:k7=\ENh:k8=\E[H:k9=\EOc:k;=\EOd:kB=\E[Z:\
9376	:kF=\E[S:kR=\E[T:kb=^H:kd=\E[B:ke=\E[19;0|:kl=\E[D:kr=\E[C:\
9377	:ks=\E[19;1|:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:md=\E[2;7m:\
9378	:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=\EE:\
9379	:pf=\E[?8i:po=\E[?4i:ps=\E[0i:rc=\E8:rs=\E[5;0|:sc=\E7:\
9380	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
9381	:us=\E[4m:ve=\E[11;3|:vs=\E[11;2|:
9382
9383# (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
9384# (sgr removed to fit entry within 1023 bytes)
9385# (acsc removed to fit entry within 1023 bytes)
9386# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9387att500|att513|AT&T 513 using page mode:\
9388	:am:mi:ms:xn:xo:\
9389	:co#80:li#24:\
9390	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9391	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dE:SR=\E[%dF:UP=\E[%dA:ae=^O:\
9392	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9393	:cm=\E[%i%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dc=1\E[P:\
9394	:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
9395	:i1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l:\
9396	:im=\E[4h:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
9397	:k7=\EOi:k8=\EOj:kD=\ENf:kI=\ENj:kN=\E[U:kP=\E[V:kb=^H:\
9398	:kd=\E[B:ke=\E[19;0|\E[21;1|\212:kh=\E[H:kl=\E[D:kr=\E[C:\
9399	:ks=\E[19;1|\E[21;4|\Eent:ku=\E[A:le=^H:ll=\E#2:mb=\E[5m:\
9400	:md=\E[2;7m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=\EE:\
9401	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
9402	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[11;0|:vs=\E[11;1|:
9403
9404# 01-07-88
9405# printer must be set to EMUL ANSI to accept ESC codes
9406# :up: stops at top margin
9407# :i1: sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
9408#	and alt font ascii,wrap on,tabs cleared
9409# :is: disables newline on LF,Emphasized off
9410# The <u0> capability sets form length
9411att5310|att5320|AT&T Model 53210 or 5320 matrix printer:\
9412	:YA:YD:\
9413	:Ya#8192:Yi#10:Yj#12:Yk#100:Yl#72:Ym#120:co#132:it#8:li#66:\
9414	:DO=\E[%de:RI=\E[%da:ZM=\E[5m:ZU=\E[m:Zl=\E[;%dr:\
9415	:Zm=\E[%+^As:Zn=\E[;%+^As:Zp=\E[%dr:ch=\E[%d`:cr=^M:\
9416	:cv=\E[%dd:do=^J:ff=^L:i1=\Ec:is=\E[20l\r:nd=\040:ta=^I:\
9417	:u0=\E[%dt:up=\EM:
9418
9419# Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
9420# The following SET-UP modes are assumed for normal operation:
9421#	CR_DEF=CR	NL_DEF=INDEX	DUPLEX=FULL
9422# Other SET-UP modes may be set for operator convenience or communication
9423# requirements.  This termcap description is for the Resident Terminal Mode.
9424# No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9425# The BRL entry also said: UNSAFE :ll=\E[70H:
9426att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs:\
9427	:am:xo:\
9428	:co#88:it#8:li#70:vt#3:\
9429	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
9430	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9431	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ho=\E[H:\
9432	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
9433	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:nd=\E[C:nw=^M^J:r1=\Ec:\
9434	:rc=\E8:sc=\E7:sf=^J:sr=\E[T:ta=^I:up=\E[A:
9435
9436# 5620 terminfo  (2.0 or later ROMS with char attributes)
9437# The following SET-UP modes are assumed for normal operation:
9438#	DUPLEX=FULL	GEN_FLOW=ON	NEWLINE=INDEX	RETURN=CR
9439# Other SET-UP modes may be set for operator convenience or communication
9440# requirements.  This termcap description is for Resident Terminal Mode.  No
9441# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9442# assumptions: :sf: (scroll forward one line) is only done at screen bottom
9443# Be aware that older versions of the dmd have a firmware bug that affects
9444# parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
9445# :ms: is from an otherwise inferior BRL for this terminal.  That entry
9446# also has :ll:=\E[70H commented out and marked unsafe.
9447# For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
9448att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns:\
9449	:NL:NP:am:bs:ms:xo:\
9450	:co#88:it#8:li#70:\
9451	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:SF=\E[%dS:\
9452	:SR=\E[%dT:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9453	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
9454	:ic=\E[@:im=:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:\
9455	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[2m:me=\E[0m:mh=\E[2m:\
9456	:mr=\E[7m:nd=\E[C:nw=^J:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:\
9457	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
9458att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer:\
9459	:li#24:tc=att5620:
9460att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer:\
9461	:li#34:tc=att5620:
9462# 5620 layer running the "S" system's downloaded graphics handler:
9463att5620-s|tty5620-s|layer|vitty|5620 S layer:\
9464	:am:bs:pt:\
9465	:co#80:it#8:li#72:\
9466	:al=\EI:bl=^G:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dl=\ED:\
9467	:do=^J:kC=\E[2J:kH=\E[70;1H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
9468	:kr=\E[C:ku=\E[A:le=^H:sf=^J:ta=^I:up=^K:vb=\E^G:
9469
9470# Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
9471#
9472# Entries for <kf29> thru <kf46> refer to the alternate keypad mode
9473# keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
9474# (acsc removed to fit entry within 1023 bytes)
9475# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9476att605|AT&T 605 80 column 102key keyboard:\
9477	:am:eo:xo:\
9478	:co#80:li#24:ws#80:\
9479	:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:ae=^O:al=\E[L:as=\E)0\016:\
9480	:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
9481	:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
9482	:i1=\E[8;0|\E[?\E[13;20l\E[?\E[12h:ic=\E[@:im=\E[4h:\
9483	:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:\
9484	:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:\
9485	:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
9486	:le=^H:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m\017:mh=\E[2m:\
9487	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:\
9488	:se=\E[m:sf=^J:so=\E[7m:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:\
9489	:up=\E[A:us=\E[4m:
9490att605-pc|ATT 605 in pc term mode:\
9491	:@7=\E[F:S4=250\E[?11l\E[50;1|:S5=400\E[50;0|:XF=g:XN=e:\
9492	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
9493	:al=\E[L:bt=\E[Z:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
9494	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:\
9495	:k8=\E[T:k9=\E[U:k;=\E[V:kB=\E[Z:kD=\E[P:kI=\E[@:kL=\E[M:\
9496	:kN=\E[G:kP=\E[I:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
9497	:le=\E[D:nd=\E[C:up=\E[A:tc=att605:
9498att605-w|AT&T 605-w 132 column 102 key keyboard:\
9499	:co#132:ws#132:\
9500	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0:\
9501	:tc=att605:
9502# (att610: I added <rmam>/<smam> based on the init string.  I also
9503# added :SF: and :SR: because the BSD file says the att615s have them,
9504# and the 615 is like a 610 with a big keyboard, and most of their other
9505# smart terminals support the same sequence -- esr)
9506# (sgr removed to fit entry within 1023 bytes)
9507# (acsc removed to fit entry within 1023 bytes)
9508# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9509att610|AT&T 610; 80 column; 98key keyboard:\
9510	:am:es:hs:mi:ms:xn:xo:\
9511	:co#80:it#8:li#24:ws#80:\
9512	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9513	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:\
9514	:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
9515	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:\
9516	:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
9517	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0:\
9518	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
9519	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
9520	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
9521	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
9522	:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
9523	:sr=\EM:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:us=\E[4m:\
9524	:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
9525	:vs=\E[?12;25h:
9526att610-w|AT&T 610; 132 column; 98key keyboard:\
9527	:co#132:ws#132:\
9528	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
9529	:tc=att610:
9530
9531att610-103k|AT&T 610; 80 column; 103key keyboard:\
9532	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
9533	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
9534	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
9535	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
9536	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
9537	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
9538	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
9539	:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:k9@:k;@:kD=\ENf:\
9540	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:tc=att610:
9541att610-103k-w|AT&T 610; 132 column; 103key keyboard:\
9542	:co#132:ws#132:\
9543	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
9544	:tc=att610-103k:
9545att615|AT&T 615; 80 column; 98key keyboard:\
9546	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
9547	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
9548	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
9549	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
9550	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:tc=att610:
9551att615-w|AT&T 615; 132 column; 98key keyboard:\
9552	:#4=\E[ A:%i=\E[ @:F5=\EOC:F6=\EOD:F7=\EOE:F8=\EOF:F9=\EOG:\
9553	:FA=\EOH:FB=\EOI:FC=\EOJ:FD=\ENO:FE=\ENP:FF=\ENQ:FG=\ENR:\
9554	:FH=\ENS:FI=\ENT:FJ=\EOP:FK=\EOQ:FL=\EOR:FM=\EOS:FN=\EOw:\
9555	:FO=\EOx:FP=\EOy:FQ=\EOm:FR=\EOt:FS=\EOu:FT=\EOv:FU=\EOl:\
9556	:FV=\EOq:FW=\EOr:FX=\EOs:FY=\EOp:FZ=\EOn:Fa=\EOM:\
9557	:tc=att610-w:
9558att615-103k|AT&T 615; 80 column; 103key keyboard:\
9559	:#4=\E[ A:%i=\E[ @:tc=att610-103k:
9560att615-103k-w|AT&T 615; 132 column; 103key keyboard:\
9561	:#4=\E[ A:%i=\E[ @:tc=att610-103k-w:
9562# (att620: I added <rmam>/<smam> based on the init string and
9563# :SR:/:SF: from a BSD termcap -- esr)
9564# (sgr removed to fit entry within 1023 bytes)
9565# (acsc removed to fit entry within 1023 bytes)
9566# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9567att620|AT&T 620; 80 column; 98key keyboard:\
9568	:am:es:hs:mi:ms:xn:xo:\
9569	:co#80:it#8:li#24:ws#80:\
9570	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9571	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
9572	:ae=\E(B\017:al=\E[L:as=\E)0\016:bl=^G:bt=\E[Z:cd=\E[J:\
9573	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
9574	:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:ho=\E[H:\
9575	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h:\
9576	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
9577	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kb=^H:\
9578	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
9579	:mb=\E[5m:md=\E[1m:me=\E[m\E(B\017:mh=\E[2m:mr=\E[7m:\
9580	:nd=\E[C:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[m:sf=\ED:\
9581	:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[25;%i%dx:ue=\E[m:up=\E[A:\
9582	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
9583	:vs=\E[?12;25h:
9584att620-w|AT&T 620; 132 column; 98key keyboard:\
9585	:co#132:ws#132:\
9586	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
9587	:tc=att620:
9588att620-103k|AT&T 620; 80 column; 103key keyboard:\
9589	:!1=\EOO:!2=\EOP:!3=\EOS:#1=\EOM:%0=\EOt:%1=\EOm:%2=\ENi:\
9590	:%3=\EOl:%4=\ENc:%5=\ENh:%6=\EOv:%7=\EOr:%8=\ENg:%9=\EOz:\
9591	:%a=\EOL:%b=\ENC:%c=\ENH:%d=\EOR:%e=\ENG:%f=\EOZ:%g=\EOT:\
9592	:%h=\EOY:%j=\EOQ:&0=\EOW:&1=\EOb:&2=\ENa:&3=\EOy:&4=\EOB:\
9593	:&5=\EOq:&6=\EOo:&7=\EOp:&8=\EOs:&9=\ENB:*0=\EOX:*1=\EOU:\
9594	:*2=\END:*3=\EON:*4=\ENF:*5=\ENE:*6=\ENI:*7=\ENN:*8=\EOA:\
9595	:*9=\EOK:@0=\EOx:@1=\E9:@2=\EOw:@3=\EOV:@4=\EOu:@5=\ENd:\
9596	:@6=\EOn:@7=\E0:@8=^M:@9=\EOk:F1@:F2@:F3@:F4@:F5@:F6@:F7@:F8@:\
9597	:F9@:FA@:FB@:FC@:FD@:FE@:FF@:FG@:FH@:FI@:FJ@:FK@:FL@:FM@:FN@:FO@:FP@:\
9598	:FQ@:FR@:FS@:FT@:FU@:FV@:FW@:FX@:FY@:FZ@:Fa@:k9@:k;@:kD=\ENf:\
9599	:kE=\EOa:kI=\ENj:kL=\ENe:kM=\ENj:kN=\E[U:kP=\E[V:tc=att620:
9600
9601att620-103k-w|AT&T 620; 132 column; 103key keyboard:\
9602	:co#132:ws#132:\
9603	:i1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h:\
9604	:tc=att620-103k:
9605
9606# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
9607# The following SETUP modes are assumed for normal operation:
9608#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
9609#	Font_Size=Large		Non-Layers_Window_Cols=80
9610#				Non-Layers_Window_Rows=60
9611# Other SETUP modes may be set for operator convenience or communication
9612# requirements.  Some capabilities assume a printer attached to the Aux EIA
9613# port.  This termcap description is for the Fixed Non-Layers Window.  No
9614# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
9615# (att630: added :ic:, :mb: and :mh: from a BSD termcap file -- esr)
9616att630|AT&T 630 windowing terminal:\
9617	:NP:am:bs:da:db:mi:ms:xo:\
9618	:co#80:it#8:li#60:lm#0:\
9619	:@8=^M:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\ENq:\
9620	:F2=\ENr:F3=\ENs:F4=\ENt:F5=\ENu:F6=\ENv:F7=\ENw:F8=\ENx:\
9621	:F9=\ENy:FA=\ENz:FB=\EN{:FC=\EN|:FD=\EN}:FE=\EN~:IC=\E[%d@:\
9622	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
9623	:al=\E[L:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
9624	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:\
9625	:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:is=\E[m:k9=\ENo:k;=\ENp:\
9626	:kA=\E[L:kB=\E[Z:kC=\E[2J:kD=\E[P:kI=\E[@:kL=\E[M:kb=^H:\
9627	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:\
9628	:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^M^J:pf=\E[?4i:\
9629	:po=\E[?5i:rc=\E8:rs=\Ec:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:\
9630	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
9631att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines:\
9632	:li#24:tc=att630:
9633
9634# This is the att700 entry for 700 native emulation of the AT&T 700
9635# terminal.  Comments are relative to changes from the 605V2 entry and
9636# att730 on which the entry is based.  Comments show the terminfo
9637# capability name, termcap name, and description.
9638#
9639# Here is what's going onm in the init string:
9640#	ESC [ 50;4|	set 700 native mode (really is 605)
9641# x	ESC [ 56;ps| 	set lines to 24: ps=0; 40: ps=1 (plus status line)
9642#	ESC [ 53;0|	set GenFlow to Xon/Xoff
9643#	ESC [ 8 ;0|	set CR on NL
9644# x	ESC [ ? 3 l/h	set workspace: 80 col(l); 132 col(h)
9645#	ESC [ ? 4 l	jump scroll
9646#	ESC [ ? 5 l/h	video: normal (l); reverse (h)
9647#	ESC [ ?13 l	Labels on
9648#	ESC [ ?15 l	parity check = no
9649#	ESC [ 13 l	monitor mode off
9650#	ESC [ 20 l	LF on NL (not CRLF on NL)
9651#	ESC [ ? 7 h	autowrap on
9652#	ESC [ 12 h	local echo off
9653#	ESC ( B		GO = ASCII
9654#	ESC ) 0		G1 = Special Char & Line Drawing
9655#	ESC [ ? 31 l	Set 7 bit controls
9656#
9657# Note: Most terminals, especially the 600 family use Reverse Video for
9658# standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
9659# Assume we should stay with reverse video for 70..  However, the 605V2 exits
9660# standout mode with \E[m (all normal attributes).  The 730 entry simply
9661# exits reverse video which would leave other current attributes intact.  It
9662# was assumed the 730 entry to be more correct so rmso has changed.  The
9663# 605V2 has no sequences to turn individual attributes off, thus its setting
9664# and the rmso/smso settings from the 730.
9665#
9666# Note: For the same reason as above in rmso I changed exit under-score mode
9667# to specifically turn off underscore, rather than return to all normal
9668# attributes
9669#
9670# Note: The following pkey_xmit is taken from the 605V2 which contained the
9671# capability as pfxl.  It was changed here to pfx since pfxl
9672# will only compile successfully with Unix 4.0 tic.  Also note that pfx only
9673# allows strings to be parameters and label values must be programmed as
9674# constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
9675# and strings to be parameters.  The 605V2 pfx entry should be examined later
9676# in this regard. For reference the 730 pfxl entry is shown here for comparison
9677# 730 pfx entry:
9678#     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
9679# SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
9680#
9681# (for 4.0 tic)
9682#     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
9683#
9684# (for <4.0 tic)
9685#     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
9686#
9687# From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
9688#
9689# Port1 Interface
9690#
9691# modular 10 pin Connector
9692# Left side       Right side
9693# Pin 1 2 3 4 5 6 7 8 9 10
9694#
9695#        Key (notch) at bottom
9696#
9697# Pin    1 DSR
9698#        3 DCD
9699#        4 DTR
9700#        5 Sig Ground
9701#        6 RD
9702#        7 SD
9703#        8 CTS
9704#        9 RTS
9705#        10 Frame Ground
9706#
9707# The manual is 189 pages and is loaded with details about the escape codes,
9708# etc..... Available from AT&T CIC 800-432-6600...
9709# ask for Document number 999-300-660..
9710#
9711# (sgr removed to fit entry within 1023 bytes)
9712# (acsc removed to fit entry within 1023 bytes)
9713# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9714att700|AT&T 700 24x80 column display w/102key keyboard:\
9715	:am:es:hs:mi:ms:xn:xo:\
9716	:co#80:it#8:li#24:ws#80:\
9717	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9718	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
9719	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
9720	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
9721	:fs=\E8:ho=\E[H:i2=\E(B\E)0:im=\E[4h:\
9722	:is=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017:\
9723	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:\
9724	:k8=\EOj:k9=\ENo:kD=\E[P:kI=\E[@:kN=\E[U:kP=\E[V:kb=^H:\
9725	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:ll=\E[24H:\
9726	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
9727	:nw=\EE:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:\
9728	:st=\EH:ta=^I:ts=\E7\E[99;%i%dx:ue=\E[24m:up=\E[A:\
9729	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
9730	:vs=\E[?12;25h:
9731
9732# This entry was modified 3/13/90 by JWE.
9733# fixes include additions of <enacs>, correcting :rp:, and modification
9734# of <kHOM>.  (See comments below)
9735# att730 has status line of 80 chars
9736# These were commented out: :SF=\E[%p1%dS:, :SR=\E[%p1%dT:,
9737# the <kf25> and up keys are used for shifted system Fkeys
9738# NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is
9739# currently the same as :kh: (unshifted HOME or \E[H).  On the 102, 102+1
9740# and 122 key keyboards, the 730's translation is \E[2J.  For consistency
9741# <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
9742# 102, 102+1, or 122 key keyboards
9743#       kHOM=\E[2J,
9744# (att730: I added <rmam>/<smam> based on the init string -- esr)
9745# (sgr removed to fit entry within 1023 bytes)
9746# (acsc removed to fit entry within 1023 bytes)
9747# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
9748att730|AT&T 730 windowing terminal:\
9749	:am:da:db:es:hs:mi:ms:xn:xo:\
9750	:co#80:it#8:li#60:lm#0:ws#80:\
9751	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
9752	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
9753	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
9754	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:fs=\E8:\
9755	:ho=\E[H:\
9756	:i1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B:\
9757	:i2=\E(B\E)0:im=\E[4h:is=\E[m\017:k1=\EOc:k2=\EOd:k3=\EOe:\
9758	:k4=\EOf:k5=\EOg:k6=\EOh:k7=\EOi:k8=\EOj:k9=\ENo:kI=\E[@:\
9759	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
9760	:mb=\E[5m:md=\E[1m:me=\E[0m:mh=\E[2m:mr=\E[7m:nd=\E[C:\
9761	:nw=\EE:rc=\E8:rs=\Ec\E[?3l:sc=\E7:se=\E[27m:sf=\ED:\
9762	:so=\E[7m:sr=\EM:ta=^I:ts=\E7\E[;%i%dx:ue=\E[24m:up=\E[A:\
9763	:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h\E[?12l:vi=\E[?25l:\
9764	:vs=\E[?12;25h:
9765att730-41|730MTG-41|AT&T 730-41 windowing terminal Version:\
9766	:li#41:tc=att730:
9767att730-24|730MTG-24|AT&T 730-24 windowing terminal Version:\
9768	:li#24:tc=att730:
9769att730r|730MTGr|AT&T 730 rev video windowing terminal Version:\
9770	:i1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B:\
9771	:vb=\E[?5l\E[?5h:tc=att730:
9772att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version:\
9773	:li#41:tc=att730r:
9774att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version:\
9775	:li#24:tc=att730r:
9776
9777# The following represents the screen layout along with the associated
9778# bezel buttons for the 5430/pt505 terminal. The "kf" designations do
9779# not appear on the screen but are shown to reference the bezel buttons.
9780# The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
9781# position relative to the screen.
9782#
9783#
9784#
9785#      +----------------------------------------------------------------+
9786#      |                                                                |
9787# XXXX | kf0                                                       kf24 | XXXX
9788#      |                                                                |
9789#      |                                                                |
9790# XXXX | kf1                                                       kf23 | XXXX
9791#      |                                                                |
9792#      |                                                                |
9793# XXXX | kf2                                                       kf22 | XXXX
9794#      |                                                                |
9795#      |                                                                |
9796# XXXX | kf3                                                       kf21 | XXXX
9797#      |                                                                |
9798#      |                                                                |
9799# XXXX | kf4                                                       kf20 | XXXX
9800#      |                                                                |
9801#      |                                                                |
9802# XXXX | kf5                                                       kf19 | XXXX
9803#      |                                                                |
9804#      |                                                                |
9805# XXXX | kf6                                                       kf18 | XXXX
9806#      |                                                                |
9807#      |                                                                |
9808# XXXX |                                                                | XXXX
9809#      |                                                                |
9810#      |                                                                |
9811#      +----------------------------------------------------------------+
9812#
9813#          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
9814#
9815# Note: XXXX represents the screen buttons
9816#                                                          CMD   REDRAW
9817#
9818#                                                          MAIL
9819#
9820# version 1 note:
9821#	The character string sent by key 'kf26' may be user programmable
9822#       to send either \E[16s, or \E[26s.
9823#       The character string sent by key 'krfr' may be user programmable
9824#       to send either \E[17s, or \E[27s.
9825#
9826# Depression of the "CMD" key sends    \E!    (kcmd)
9827# Depression of the "MAIL" key sends   \E[26s (kf26)
9828# "REDRAW" same as "REFRESH" (krfr)
9829#
9830# "kf" functions adds carriage return to output string if terminal is in
9831# 'new line' mode.
9832#
9833# The following are functions not covered in the table above:
9834#
9835#       Set keyboard character (SKC): \EPn1;Pn2w
9836#                       Pn1= 0 Back Space key
9837#                       Pn1= 1 Break key
9838#                       Pn2=   Program char (hex)
9839#
9840#       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
9841#                       Pn1=     Window number (1-39)
9842#                       Pn2-Pn5= Y;X;Y;X coordinates
9843#
9844#       Screen Selection (SSL): \E[Pnu
9845#                       Pn= Window number
9846#
9847#       Set Terminal Modes (SM): \E[Pnh
9848#                       Pn= 3 Graphics mode
9849#                       Pn= > Cursor blink
9850#                       Pn= < Enter new line mode
9851#                       Pn= = Enter reverse insert/replace mode
9852#                       Pn= ? Enter no scroll mode
9853#
9854#       Reset Terminal Mode (RM): \E[Pnl
9855#                       Pn= 3 Exit graphics mode
9856#                       Pn= > Exit cursor blink
9857#                       Pn= < Exit new line mode
9858#                       Pn= = Exit reverse insert/replace mode
9859#                       Pn= ? Exit no scroll mode
9860#
9861#       Screen Status Report (SSR): \E[Pnp
9862#                       Pn= 0 Request current window number
9863#                       Pn= 1 Request current window dimensions
9864#
9865#       Device Status Report (DSR): \E[6n    Request cursor position
9866#
9867#       Call Status Report (CSR): \E[Pnv
9868#                       Pn= 0 Call failed
9869#                       Pn= 1 Call successful
9870#
9871#       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
9872#                       Pn1= Button number to be loaded
9873#                       Pn2= Character count of "string"
9874#                       Pn3= Key mode being loaded:
9875#                               0= Unshifted
9876#                               1= Shifted
9877#                               2= Control
9878#                       String= Text string (15 chars max)
9879#
9880#       Screen Number Report (SNR): \E[Pnp
9881#                       Pn= Screen number
9882#
9883#       Screen Dimension Report (SDR): \E[Pn1;Pn2r
9884#                       Pn1= Number of rows available in window
9885#                       Pn2= Number of columns available in window
9886#
9887#       Cursor Position Report (CPR): \E[Pn1;Pn2R
9888#                       Pn1= "Y" Position of cursor
9889#                       Pn2= "X" Position of cursor
9890#
9891#       Request Answer Back (RAB): \E[c
9892#
9893#       Answer Back Response (ABR): \E[?;*;30;VSV
9894#                       *=  0 No printer available
9895#                       *=  2 Printer available
9896#                       V=  Software version number
9897#                       SV= Software sub version number
9898#	(printer-available field not documented in v1)
9899#
9900#       Screen Alignment Aid: \En
9901#
9902#       Bell (lower pitch): \E[x
9903#
9904#       Dial Phone Number: \EPdstring\
9905#                       string= Phone number to be dialed
9906#
9907#       Set Phone Labels: \EPpstring\
9908#                       string= Label for phone buttons
9909#
9910#       Set Clock: \EPchour;minute;second\
9911#
9912#       Position Clock: \EPsY;X\
9913#                       Y= "Y" coordinate
9914#                       X= "X" coordinate
9915#
9916#       Delete Clock: \Epr\
9917#
9918#       Programming The Function Buttons: \EPfPn;string\
9919#                       Pn= Button number (00-06, 18-24)
9920#                                         (kf00-kf06, kf18-kf24)
9921#                       string= Text to sent on button depression
9922#
9923# The following in version 2 only:
9924#
9925#       Request For Local Directory Data: \EPp12;\
9926#
9927#       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
9928#
9929#	Request for Local Directory Data in print format: \EPp13;\
9930#
9931#	Enable 'Prt on Line' mode: \022 (DC2)
9932#
9933#	Disable 'Prt on Line' mode: \024 (DC4)
9934#
9935
9936# 05-Aug-86:
9937# The following Terminfo entry describes functions which are supported by
9938# the AT&T 5430/pt505 terminal software version 2 and later.
9939att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal:\
9940	:am:xo:\
9941	:co#80:it#8:li#24:\
9942	:&2=\E[27s:@4=\E!:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
9943	:F8=\E[18s:F9=\E[19s:FA=\E[20s:FB=\E[21s:FC=\E[22s:\
9944	:FD=\E[23s:FE=\E[24s:FG=\E[26s:LE=\E[%dD:RA=\E[11;1j:\
9945	:RI=\E[%dC:SA=\E[11;0j:UP=\E[%dA:\
9946	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
9947	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[2K:cd=\E[0J:\
9948	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
9949	:do=\E[B:ei=\E[4l:ho=\E[H:\
9950	:i1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l:\
9951	:im=\E[4h:k0=\E[00s:k1=\E[01s:k2=\E[02s:k3=\E[03s:\
9952	:k4=\E[04s:k5=\E[05s:k6=\E[06s:kb=^H:kd=\E[B:kl=\E[D:\
9953	:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:\
9954	:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:r1=\Ec:rc=\E8:sc=\E7:\
9955	:se=\E[m:sf=^J:so=\E[1m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:\
9956	:ve=\E[>l:vs=\E[>h:
9957
9958# The following Terminfo entry describes functions which are supported by
9959# the AT&T 5430/pt505 terminal software version 1.
9960att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines:\
9961	:li#24:\
9962	:RA@:SA@:pf@:po@:rc@:sc@:tc=att505:
9963tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines:\
9964	:li#22:tc=att505:
9965#
9966#### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
9967# This cut mark helps make life less painful for people running ncurses tic
9968# on machines with relatively little RAM.  The file can be broken in half here
9969# cleanly and compiled in sections -- no `use' references cross this cut
9970# going forward.
9971#
9972
9973#### Ampex (Dialogue)
9974#
9975# Yes, these are the same people who are better-known for making audio- and
9976# videotape.  I'm told they are located in Redwood City, CA.
9977#
9978
9979# From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
9980# (ampex80: some capabilities merged in from SCO's entry -- esr)
9981ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80:\
9982	:am:bs:bw:ul:\
9983	:co#80:it#8:li#24:\
9984	:al=5*\EE:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=75\E*:cm=\E=%+ %+ :\
9985	:cr=^M:ct=\E3:dc=\EW:dl=5*\ER:do=^J:ei=:ic=\EQ:im=:is=\EA:\
9986	:le=^H:nd=^L:se=\Ek:sf=^J:so=\Ej:st=\E1:ta=^I:ue=\Em:up=^K:\
9987	:us=\El:
9988# This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
9989ampex175|ampex d175:\
9990	:am:\
9991	:co#80:li#24:\
9992	:al=\EE:bl=^G:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :cr=^M:\
9993	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:is=\EX\EA\EF:\
9994	:kA=\EE:kD=\EW:kI=\EQ:kL=\ER:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:\
9995	:le=^H:ll=^^^K:nd=^L:se=\Ek:sf=^J:so=\Ej:te=\EF:ti=\EN:\
9996	:ue=\Em:up=^K:us=\El:
9997# No backspace key in the main QWERTY cluster. Fortunately, it has a
9998# NEWLINE/PAGE key just above RETURN that sends a strange single-character
9999# code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
10000# mode), this key can be used as the erase key; I find I like this. Because
10001# some people and some systems may not, there is another termcap ("ampex175")
10002# that suppresses this little eccentricity by omitting the relevant capability.
10003ampex175-b|ampex d175 using left arrow for erase:\
10004	:kb=^_:tc=ampex175:
10005# From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
10006# (ampex210: removed obsolete ":kn#10:" -- esr)
10007ampex210|a210|ampex a210:\
10008	:am:bs:hs:xn:\
10009	:co#80:it#8:li#24:sg#1:\
10010	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
10011	:dl=\ER:ei=:fs=\E.2:ho=^^:ic=\EQ:if=/usr/share/tabset/std:\
10012	:im=:is=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En:\
10013	:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:k5=^A5\r:\
10014	:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^V:kh=^^:kl=^H:\
10015	:kr=^L:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\E.0\Eg\E}\Ef:up=^K:\
10016	:vb=\EU\EX\EU\EX\EU\EX\EU\EX:tc=adm+sgr:
10017# (ampex219: I added <rmam>/<smam> based on the init string, added :vs:
10018# from ampex219w, added :ve:=\E[?3l, irresistibly suggested by :vs:,
10019# and moved the padding to be *after* the caps -- esr)
10020ampex219|ampex-219|amp219|Ampex with Automargins:\
10021	:hs:xn:\
10022	:co#80:it#8:li#24:\
10023	:RA=\E[?7l:SA=\E[?7h:bl=^G:bt=\E[Z:cd=50\E[J:ce=3\E[K:\
10024	:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:cr=^M:cs=%i\E[%2;%2r:\
10025	:do=\E[B:ho=\E[H:\
10026	:is=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k0=\E[21~:\
10027	:k1=\E[7~:k2=\E[8~:k3=\E[9~:k4=\E[10~:k5=\E[11~:k6=\E[17~:\
10028	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kd=\E[B:ke=\E>:kh=\E[H:\
10029	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:\
10030	:me=2\E[m:mh=\E[1m:mr=\E[7m:nd=2\E[C:se=2\E[m:sf=^J:\
10031	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:\
10032	:ve=\E[?3l:vs=\E[?3h:
10033ampex219w|ampex-219w|amp219w|Ampex 132 cols:\
10034	:co#132:li#24:\
10035	:bl=^G:cr=^M:do=^J:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
10036	:sf=^J:tc=ampex219:
10037# (ampex232: removed :if=/usr/share/tabset/ampex:, no file and no :st: --esr)
10038ampex232|ampex-232|Ampex Model 232:\
10039	:am:\
10040	:co#80:li#24:sg#1:\
10041	:al=5*\EE:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:\
10042	:dl=5*\ER:do=^V:ei=:ic=\EQ:im=:is=\Eg\El:k0=^A@\r:k1=^AA\r:\
10043	:k2=^AB\r:k3=^AC\r:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:\
10044	:k8=^AH\r:k9=^AI\r:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
10045	:mk@:nd=^L:ta=^I:up=^K:vb=\Eb\Ed:ve=\E.4:vi=\E.0:tc=adm+sgr:
10046# (ampex: removed :if=/usr/share/tabset/amp-132:, no file and no :st: -- esr)
10047ampex232w|Ampex Model 232 / 132 columns:\
10048	:co#132:li#24:\
10049	:is=\E\034Eg\El:tc=ampex232:
10050
10051#### Ann Arbor (aa)
10052#
10053# Ann Arbor made dream terminals for hackers -- large screen sizes and huge
10054# numbers of function keys.  At least some used monitors in portrait mode,
10055# allowing up to 76-character screen heights!  They were reachable at:
10056#
10057#	Ann Arbor Terminals
10058#	6175 Jackson Road
10059#	Ann Arbor, MI 48103
10060#	(313)-663-8000
10061#
10062# But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
10063# can't be found on the Web; I fear they're long dead.  R.I.P.
10064#
10065
10066
10067# Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
10068# Highly modified 6/22 by Mike O'Brien.
10069# split out into several for the various screen sizes by dave-yost@rand
10070# Modifications made 3/82 by Mark Horton
10071# Modified by Tom Quarles at UCB for greater efficiency and more diversity
10072# status line moved to top of screen, :vb: removed 5/82
10073# Some unknown person at SCO then hacked the init strings to make them more
10074# efficient.
10075#
10076# assumes the following setup:
10077#   A menu: 0000 1010  0001 0000
10078#   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
10079#   C menu: 56   66   0    0    9600  0110 1100
10080#   D menu: 0110 1001   1   0
10081#
10082#	Briefly, the settings are for the following modes:
10083#	   (values are for bit set/clear with * indicating our preference
10084#	    and the value used to test these termcaps)
10085#	Note that many of these settings are irrelevent to the terminfo
10086#	and are just set to the default mode of the terminal as shipped
10087#	by the factory.
10088#
10089# A menu: 0000 1010  0001 0000
10090#	Block/underline cursor*
10091#	blinking/nonblinking cursor*
10092#	key click/no key click*
10093#	bell/no bell at column 72*
10094#
10095#	key pad is cursor control*/key pad is numeric
10096#	return and line feed/return for :cr: key *
10097#	repeat after .5 sec*/no repeat
10098#	repeat at 25/15 chars per sec. *
10099#
10100#	hold data until pause pressed/process data unless pause pressed*
10101#	slow scroll/no slow scroll*
10102#	Hold in area/don't hold in area*
10103#	functions keys have default*/function keys disabled on powerup
10104#
10105#	show/don't show position of cursor during page transmit*
10106#	unused
10107#	unused
10108#	unused
10109#
10110# B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
10111#	Baud rate (9600*)
10112#
10113#	2 bits of parity - 00=odd,01=even*,10=space,11=mark
10114#	1 stop bit*/2 stop bits
10115#	parity error detection off*/on
10116#
10117#	keyboard local/on line*
10118#	half/full duplex*
10119#	disable/do not disable keyboard after data transmission*
10120#
10121#	transmit entire page/stop transmission at cursor*
10122#	transfer/do not transfer protected characters*
10123#	transmit all characters/transmit only selected characters*
10124#	transmit all selected areas/transmit only 1 selected area*
10125#
10126#	transmit/do not transmit line separators to host*
10127#	transmit/do not transmit page tab stops tabs to host*
10128#	transmit/do not transmit column tab stop tabs to host*
10129#	transmit/do not transmit graphics control (underline,inverse..)*
10130#
10131#	enable*/disable auto XON/XOFF control
10132#	require/do not require receipt of a DC1 from host after each LF*
10133#	pause key acts as a meta key/pause key is pause*
10134#	unused
10135#
10136#	unused
10137#	unused
10138#	unused
10139#	unused
10140#
10141#	XON character (17*)
10142#	XOFF character (19*)
10143#
10144# C menu: 56   66   0    0    9600  0110 1100
10145#	number of lines to print data on (printer) (56*)
10146#
10147#	number of lines on a sheet of paper (printer) (66*)
10148#
10149#	left margin (printer) (0*)
10150#
10151#	number of pad chars on new line to printer (0*)
10152#
10153#	printer baud rate (9600*)
10154#
10155#	printer parity: 00=odd,01=even*,10=space,11=mark
10156#	printer stop bits: 2*/1
10157#	print/do not print guarded areas*
10158#
10159#	new line is: 01=LF,10=CR,11=CRLF*
10160#	unused
10161#	unused
10162#
10163# D menu: 0110 1001   1   0
10164#	LF is newline/LF is down one line, same column*
10165#	wrap to preceding line if move left from col 1*/don't wrap
10166#	wrap to next line if move right from col 80*/don't wrap
10167#	backspace is/is not destructive*
10168#
10169#	display*/ignore DEL character
10170#	display will not/will scroll*
10171#	page/column tab stops*
10172#	erase everything*/erase unprotected only
10173#
10174#	editing extent: 0=display,1=line*,2=field,3=area
10175#
10176#	unused
10177#
10178
10179annarbor4080|aa4080|ann arbor 4080:\
10180	:am:bs:\
10181	:co#80:li#40:\
10182	:bl=^G:cl=2\014:cr=^M:ct=^\^P^P:do=^J:ho=^K:kb=^^:kd=^J:\
10183	:kh=^K:kl=^H:kr=^_:ku=^N:le=^H:nd=^_:sf=^J:st=^]^P1:ta=^I:\
10184	:up=^N:
10185
10186# Strange Ann Arbor terminal from BRL
10187aas1901|Ann Arbor K4080 w/S1901 mod:\
10188	:am:\
10189	:co#80:li#40:\
10190	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:kb=^H:kd=^J:kl=^H:le=^H:\
10191	:ll=^O\200c:nd=^_:nw=^M^J:sf=^J:ta=^I:up=^N:
10192
10193# If you're using the GNU termcap library, add
10194#	:cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
10195# to these capabilities.  This is the nonstandard GNU termcap scrolling
10196# capability, arguments are:
10197#   1. Total number of lines on the screen.
10198#   2. Number of lines above desired scroll region.
10199#   3. Number of lines below (outside of) desired scroll region.
10200#   4. Total number of lines on the screen, the same as the first parameter.
10201# The generic Ann Arbor entry is the only one that uses this.
10202# (sgr removed to fit entry within 1023 bytes)
10203# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
10204aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly):\
10205	:am:bs:km:mi:xo:\
10206	:co#80:it#8:\
10207	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=4*\E[%d@:\
10208	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=3\E[L:bl=^G:bt=\E[Z:\
10209	:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
10210	:ct=\E[3g:dc=\E[P:dl=\E[M:do=^K:ei=:ho=\E[H:\
10211	:i1=\E[m\E7\E[H\E9\E8:i2=\E[1Q\E[>20;30l\EP`+x~M\E\\:\
10212	:ic=4\E[@:im=:k1=\EOA:k2=\EOB:k3=\EOC:k4=\EOD:k5=\EOE:\
10213	:k6=\EOF:k7=\EOG:k8=\EOH:k9=\EOI:kD=\E[P:kI=\E[@:kb=^H:\
10214	:kd=\E[B:\
10215	:ke=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\:\
10216	:kh=\E[H:kl=\E[D:kr=\E[C:\
10217	:ks=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\:\
10218	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mm=\E[>52h:\
10219	:mo=\E[>52l:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^K:\
10220	:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
10221
10222aaa+rv|ann arbor ambassador in reverse video:\
10223	:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
10224	:me=\E[7m\016:mk=\E[7;8m:mr=\E[m:r1=156\E[H\E[7m\E[J:\
10225	:se=\E[7m:so=\E[m:ue=\E[7m:us=\E[4;7m:
10226# Ambassador with the DEC option, for partial vt100 compatibility.
10227aaa+dec|ann arbor ambassador in dec vt100 mode:\
10228	:ac=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}:\
10229	:ae=^N:as=^O:cs=\E[%i%d;%dr:eA=\E(0:
10230aaa-18|ann arbor ambassador/18 lines:\
10231	:li#18:\
10232	:is=\E7\E[60;0;0;18p\E8:te=\E[60;0;0;18p\E[60;1H\E[K:\
10233	:ti=\E[18;0;0;18p:tc=aaa+unk:
10234aaa-18-rv|ann arbor ambassador/18 lines+reverse video:\
10235	:tc=aaa+rv:tc=aaa-18:
10236aaa-20|ann arbor ambassador/20 lines:\
10237	:li#20:\
10238	:is=\E7\E[60;0;0;20p\E8:te=\E[60;0;0;20p\E[60;1H\E[K:\
10239	:ti=\E[20;0;0;20p:tc=aaa+unk:
10240aaa-22|ann arbor ambassador/22 lines:\
10241	:li#22:\
10242	:is=\E7\E[60;0;0;22p\E8:te=\E[60;0;0;22p\E[60;1H\E[K:\
10243	:ti=\E[22;0;0;22p:tc=aaa+unk:
10244aaa-24|ann arbor ambassador/24 lines:\
10245	:li#24:\
10246	:is=\E7\E[60;0;0;24p\E8:te=\E[60;0;0;24p\E[60;1H\E[K:\
10247	:ti=\E[24;0;0;24p:tc=aaa+unk:
10248aaa-24-rv|ann arbor ambassador/24 lines+reverse video:\
10249	:tc=aaa+rv:tc=aaa-24:
10250aaa-26|ann arbor ambassador/26 lines:\
10251	:li#26:\
10252	:is=\E7\E[60;0;0;26p\E8:te=\E[60;0;0;26p\E[26;1H\E[K:\
10253	:ti=\E[H\E[J\E[26;0;0;26p:tc=aaa+unk:
10254aaa-28|ann arbor ambassador/28 lines:\
10255	:li#28:\
10256	:is=\E7\E[60;0;0;28p\E8:te=\E[60;0;0;28p\E[28;1H\E[K:\
10257	:ti=\E[H\E[J\E[28;0;0;28p:tc=aaa+unk:
10258aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status:\
10259	:es:hs:\
10260	:li#29:\
10261	:ds=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
10262	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;30p\E8:\
10263	:te=\E[60;1;0;30p\E[29;1H\E[K:\
10264	:ti=\E[H\E[J\E[30;1;0;30p\E[30;1H\E[K:\
10265	:ts=\E[>51h\E[1;%dH\E[2K:tc=aaa+unk:
10266aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video:\
10267	:tc=aaa+rv:tc=aaa-30-s:
10268aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context:\
10269	:te=\E[60;1;0;30p\E[59;1H\E[K:\
10270	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s:
10271aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video:\
10272	:te=\E[60;1;0;30p\E[59;1H\E[K:\
10273	:ti=\E[30;1H\E[K\E[30;1;0;30p:tc=aaa-30-s-rv:
10274aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines:\
10275	:li#30:\
10276	:is=\E7\E[60;0;0;30p\E8:te=\E[60;0;0;30p\E[30;1H\E[K:\
10277	:ti=\E[H\E[J\E[30;0;0;30p:tc=aaa+unk:
10278aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video:\
10279	:tc=aaa+rv:tc=aaa-30:
10280aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context:\
10281	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
10282	:tc=aaa-30:
10283aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context:\
10284	:te=\E[60;0;0;30p\E[60;1H\E[K:ti=\E[30;0;0;30p:\
10285	:tc=aaa+rv:tc=aaa-30:
10286aaa-36|ann arbor ambassador/36 lines:\
10287	:li#36:\
10288	:is=\E7\E[60;0;0;36p\E8:te=\E[60;0;0;36p\E[36;1H\E[K:\
10289	:ti=\E[H\E[J\E[36;0;0;36p:tc=aaa+unk:
10290aaa-36-rv|ann arbor ambassador/36 lines+reverse video:\
10291	:tc=aaa+rv:tc=aaa-36:
10292aaa-40|ann arbor ambassador/40 lines:\
10293	:li#40:\
10294	:is=\E7\E[60;0;0;40p\E8:te=\E[60;0;0;40p\E[40;1H\E[K:\
10295	:ti=\E[H\E[J\E[40;0;0;40p:tc=aaa+unk:
10296aaa-40-rv|ann arbor ambassador/40 lines+reverse video:\
10297	:tc=aaa+rv:tc=aaa-40:
10298aaa-48|ann arbor ambassador/48 lines:\
10299	:li#48:\
10300	:is=\E7\E[60;0;0;48p\E8:te=\E[60;0;0;48p\E[48;1H\E[K:\
10301	:ti=\E[H\E[J\E[48;0;0;48p:tc=aaa+unk:
10302aaa-48-rv|ann arbor ambassador/48 lines+reverse video:\
10303	:tc=aaa+rv:tc=aaa-48:
10304aaa-60-s|ann arbor ambassador/59 lines+status:\
10305	:es:hs:\
10306	:li#59:\
10307	:ds=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K:\
10308	:fs=\E[>51l:is=\r\n\E[A\E7\E[60;1;0;60p\E8:\
10309	:ts=\E[>51h\E[1;%dH\E[2K:tc=aaa+unk:
10310aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video:\
10311	:tc=aaa+rv:tc=aaa-60-s:
10312aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video:\
10313	:tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s:
10314aaa-60|ann arbor ambassador/60 lines:\
10315	:li#60:\
10316	:is=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8:tc=aaa+unk:
10317aaa-60-rv|ann arbor ambassador/60 lines+reverse video:\
10318	:tc=aaa+rv:tc=aaa-60:
10319aaa-db|ann arbor ambassador 30/destructive backspace:\
10320	:bs@:\
10321	:i2=\E[1Q\E[m\E[>20l\E[>30h:le=\E[D:tc=aaa-30:
10322
10323guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols:\
10324	:li#33:\
10325	:i2=\E[>59l:is=\E7\E[255;0;0;33;80;80p\E8\E[J:\
10326	:te=\E[255p\E[255;1H\E[K:ti=\E[33p:vb=\E[>59h\E[>59l:\
10327	:tc=aaa+unk:
10328guru+rv|guru changes for reverse video:\
10329	:i2=\E[>59h:vb=\E[>59l\E[>59h:
10330guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video:\
10331	:tc=guru+rv:tc=guru-33:
10332guru+s|guru status line:\
10333	:es:hs:\
10334	:ds=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K:fs=\E[>51l:\
10335	:te=\E[255;1p\E[255;1H\E[K:ti=:ts=\E[>51h\E[1;%dH\E[2K:
10336guru-nctxt|guru with no saved context:\
10337	:ti=\E[H\E[J\E[33p\E[255;1H\E[K:tc=guru:
10338guru-s|guru-33-s|ann arbor guru/33 lines+status:\
10339	:li#32:\
10340	:is=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J:\
10341	:ti=\E[33;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
10342guru-24|ann arbor guru 24 lines:\
10343	:co#80:li#24:\
10344	:is=\E7\E[255;0;0;24;80;80p\E8\E[J:ti=\E[24p:\
10345	:tc=guru+unk:
10346guru-44|ann arbor guru 44 lines:\
10347	:co#97:li#44:\
10348	:is=\E7\E[255;0;0;44;97;100p\E8\E[J:ti=\E[44p:\
10349	:tc=guru+unk:
10350guru-44-s|ann arbor guru/44 lines+status:\
10351	:li#43:\
10352	:is=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J:\
10353	:ti=\E[44;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
10354guru-76|guru with 76 lines by 89 cols:\
10355	:co#89:li#76:\
10356	:is=\E7\E[255;0;0;76;89;100p\E8\E[J:ti=\E[76p:\
10357	:tc=guru+unk:
10358guru-76-s|ann arbor guru/76 lines+status:\
10359	:co#89:li#75:\
10360	:is=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J:\
10361	:ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
10362guru-76-lp|guru-lp|guru with page bigger than line printer:\
10363	:co#134:li#76:\
10364	:is=\E7\E[255;0;0;76;134;134p\E8\E[J:ti=\E[76p:\
10365	:tc=guru+unk:
10366guru-76-w|guru 76 lines by 178 cols:\
10367	:co#178:li#76:\
10368	:is=\E7\E[255;0;0;76;178;178p\E8\E[J:ti=\E[76p:\
10369	:tc=guru+unk:
10370guru-76-w-s|ann arbor guru/76 lines+status+wide:\
10371	:co#178:li#75:\
10372	:is=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J:\
10373	:ti=\E[76;1p\E[255;1H\E[K:tc=guru+s:tc=guru+unk:
10374guru-76-wm|guru 76 lines by 178 cols with 255 cols memory:\
10375	:co#178:li#76:\
10376	:is=\E7\E[255;0;0;76;178;255p\E8\E[J:ti=\E[76p:\
10377	:tc=guru+unk:
10378aaa-rv-unk|ann arbor unknown type:\
10379	:Nl#0:lh#0:lw#0:\
10380	:ho=\E[H:i1=\E[7m\E7\E[H\E9\E8:mb=\E[5;7m:md=\E[1;7m:\
10381	:me=\E[7m:mk=\E[7;8m:mr=\E[m:r1=\E[H\E[7m\E[J:se=\E[7m:\
10382	:so=\E[m:ue=\E[7m:us=\E[4;7m:
10383
10384#### Applied Digital Data Systems (adds)
10385#
10386# ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
10387# ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
10388# terminals was merged again.  Then AT&T sold the terminal business to
10389# SunRiver, which later changed its  name to Boundless Technologies.  The
10390# engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
10391# as of early 1995) are at:
10392#
10393#	Boundless Technologies
10394#	100 Marcus Boulevard
10395#	Hauppauge, NY 11788-3762
10396#	Vox: (800)-231-5445
10397#	Fax: (516)-342-7378
10398#	Web: http://boundless.com
10399#
10400# Their voice mail used to describe the place as "SunRiver (formerly ADDS)".
10401# In 1995 Boundless acquired DEC's terminals business.
10402#
10403
10404# Regent: lowest common denominator, works on all regents.
10405# (regent: renamed ":bc:" to ":le:" -- esr)
10406regent|Adds Regent Series:\
10407	:am:bs:\
10408	:co#80:li#24:\
10409	:bl=^G:cl=^L:cr=^M:do=^J:ho=\EY\040\040:le=^U:ll=^A:nd=^F:\
10410	:sf=^J:up=^Z:
10411# Regent 100 has a bug where if computer sends escape when user is holding
10412# down shift key it gets confused, so we avoid escape.
10413regent100|Adds Regent 100:\
10414	:sg#1:ug#1:\
10415	:bl=^G:cm=\013%+ \020%B%.:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
10416	:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
10417	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
10418	:ue=\E0@:us=\E0`:tc=regent:
10419regent20|Adds Regent 20:\
10420	:bl=^G:cd=\Ek:ce=\EK:cm=\EY%+ %+ :tc=regent:
10421regent25|Adds Regent 25:\
10422	:bl=^G:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:tc=regent20:
10423regent40|Adds Regent 40:\
10424	:sg#1:ug#1:\
10425	:al=2*\EM:bl=^G:dl=2*\El:k0=^B1\r:k1=^B2\r:k2=^B3\r:\
10426	:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:l0=F1:l1=F2:\
10427	:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:me=\E0@:se=\E0@:so=\E0P:\
10428	:ue=\E0@:us=\E0`:tc=regent25:
10429regent40+|Adds Regent 40+:\
10430	:is=\EB:tc=regent40:
10431regent60|regent200|Adds Regent 60:\
10432	:dc=\EE:ei=\EF:im=\EF:is=\EV\EB:kD=\EE:kI=\EF:kM=\EF:\
10433	:se=\ER\E0@\EV:so=\ER\E0P\EV:tc=regent40+:
10434# From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
10435# (viewpoint: added :kr:, function key, and :dl: capabilities -- esr)
10436viewpoint|addsviewpoint|adds viewpoint:\
10437	:am:bs:\
10438	:co#80:li#24:\
10439	:bl=^G:cd=16.1*\Ek:ce=16\EK:cl=^L:cm=\EY%+ %+ :cr=^M:\
10440	:dl=\El:do=^J:is=\017\E0`:k0=^B1:k2=^B2:k3=^B!:k4=^B":\
10441	:k5=^B#:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:ll=^A:me=^O:nd=^F:\
10442	:se=^O:sf=^J:so=^N:ue=^O:up=^Z:us=^N:ve=\017\E0`:\
10443	:vs=\017\E0P:
10444# Some viewpoints have bad ROMs that foo up on ^O
10445screwpoint|adds viewpoint with ^O bug:\
10446	:se@:so@:ue@:us@:vs@:tc=viewpoint:
10447
10448# From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
10449# The :vi:/:ve:/:sa:/:me: strings were added by ESR from specs.
10450# Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
10451# underline=01100000, rev=01010000, blink=01000010,dim=01000001,
10452# invis=01000100 and %c is the logical or of desired attributes.
10453# There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
10454#
10455# Update by TD - 2004:
10456# Adapted from
10457#	http://www.cs.utk.edu/~shuford/terminal/adds_viewpoint_news.txt
10458#
10459# COMMANDS                        ASCII CODE
10460#
10461# Address, Absolute               ESC,=,row,column
10462# Beep                            BEL
10463# Aux Port Enable                 ESC,@
10464# Aux Port Disable                ESC,A
10465# Backspace                       BS
10466# Cursor back                     BS
10467# Cursor down                     LF
10468# Cursor forward                  FF
10469# Cursor home                     RS
10470# Cursor up                       VT
10471# Cursor supress                  ETB
10472# Cursor enable                   CAN
10473# Erase to end of line            ESC,T
10474# Erase to end of page            ESC,Y
10475# Erase screen                    SUB
10476# Keyboard lock                   SI
10477# Keyboard unlock                 SO
10478# Read current cursor position    ESC,?
10479# Set Attribute                   ESC,0,x  (see below for values of x)
10480# Tag bit reset                   ESC,(
10481# Tag bit set                     ESC,)
10482# Transparent Print on            ESC,3
10483# Transparent Print off           ESC,4
10484#
10485#
10486# ATTRIBUTES
10487#
10488# Normal                          @	0100
10489# Half Intensity                  A	0101
10490# Blinking                        B	0102
10491# Half Intensity Blinking         C	0103
10492# Reverse Video                   P	0120
10493# Reverse Video Half Intensity    Q	0121
10494# Reverse Video Blinking          R	0122
10495# Reverse Video Half Intensity
10496#    Blinking                     S	0123
10497# Underlined                      `	0140
10498# Underlined Half Intensity       a	0141
10499# Underlined Blinking             b	0142
10500# Underlined Half Intensity
10501#    Blinking                     c	0143
10502# Video suppress                  D	0104
10503vp3a+|viewpoint3a+|adds viewpoint 3a+:\
10504	:am:bw:\
10505	:co#80:it#8:li#24:\
10506	:cd=80\EY:ce=\ET:cl=80\E*:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
10507	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mb=\E0B\E):me=\E(:\
10508	:mh=\E0A\E):mk=\E0D\E):mr=\E0P\E):nd=^L:nw=^M^J:se=\E(:\
10509	:sf=^J:so=\E0Q\E):ta=^I:up=^K:us=\E0`\E):ve=^X:vi=^W:
10510vp60|viewpoint60|addsvp60|adds viewpoint60:\
10511	:tc=regent40:
10512#
10513# adds viewpoint 90 - from cornell
10514# Note:  emacs sends ei occasionally to insure the terminal is out of
10515#        insert mode. This unfortunately puts the viewpoint90 IN insert
10516#        mode.  A hack to get around this is :ic=\EF\s\EF^U:.  (Also,
10517#   -    :ei=:im=: must be present in the termcap translation.)
10518#   -    :xs: indicates glitch that attributes stick to location
10519#   -    :ms: means it's safe to move in standout mode
10520#   -    :cl=\EG\Ek:: clears screen and visual attributes without affecting
10521#               the status line
10522# Function key and label capabilities merged in from SCO.
10523vp90|viewpoint90|adds viewpoint 90:\
10524	:bs:bw:ms:xs:\
10525	:co#80:li#24:\
10526	:cd=\Ek:ce=\EK:cl=\EG\Ek:cm=\EY%+ %+ :dc=\EE:dl=\El:do=^J:\
10527	:ei=:ho=\EY\040\040:ic=\EF \EF\025:im=:k0=^B1\r:k1=^B2\r:\
10528	:k2=^B3\r:k3=^B4\r:k4=^B5\r:k5=^B6\r:k6=^B7\r:k7=^B8\r:\
10529	:k8=^B9\r:k9=^B\072\r:k;=^B;\r:kb=^H:kd=^J:kh=^A:kl=^U:\
10530	:kr=^F:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:\
10531	:l8=F9:l9=F10:la=F11:le=^H:ll=^A:me=\ER\E0@\EV:nd=^F:\
10532	:se=\ER\E0@\EV:sf=^J:so=\ER\E0Q\EV:ta=^I:ue=\ER\E0@\EV:\
10533	:up=^Z:us=\ER\E0`\EV:
10534# Note: if return acts weird on a980, check internal switch #2
10535# on the top chip on the CONTROL pc board.
10536adds980|a980|adds consul 980:\
10537	:am:bs:\
10538	:co#80:li#24:\
10539	:al=13\E\016:bl=^G:cl=\014\013@:cm=\013%+@\E\005%2:cr=^M:\
10540	:dl=13\E\017:do=^J:k0=\E0:k1=\E1:k2=\E2:k3=\E3:k4=\E4:\
10541	:k5=\E5:k6=\E6:k7=\E7:k8=\E8:k9=\E9:le=^H:me=^O:nd=\E^E01:\
10542	:se=^O:sf=^J:so=^Y^^^N:
10543
10544#### C. Itoh Electronics
10545#
10546# As of 1995 these people no longer make terminals (they're still in the
10547# printer business).  Their terminals were all clones of the DEC VT series.
10548# They're located in Orange County, CA.
10549#
10550
10551# CIT 80  - vt-52 emulator, the termcap has been modified to remove
10552#           the delay times and do an auto tab set rather than the indirect
10553#           file used in vt100.
10554cit80|cit-80|citoh 80:\
10555	:am:bs:\
10556	:co#80:li#24:\
10557	:cd=\EJ:ce=\EK:cl=\E[H\EJ:cm=\E[%i%2;%2H:cr=^M:do=\E[B:\
10558	:ff=^L:is=\E>:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
10559	:ks=\E[?1h\E=:ku=\EOA:le=^H:nd=\E[C:sf=^J:up=\E[A:
10560# From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
10561# (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
10562cit101|citc|C.itoh fast vt100:\
10563	:am:bs:xn:\
10564	:co#80:li#24:\
10565	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
10566	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
10567	:ic=\E[@:im=:\
10568	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g:\
10569	:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
10570	:ku=\EOA:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:ue=\E[m:\
10571	:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[V\E8:vs=\E7\E[U:
10572# CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
10573# The following termcap entry was created from the Callan cd100 entry.  The
10574# last two lines (with the capabilities in caps) are used by RM-cobol to allow
10575# full selection of combinations of reverse video, underline, and blink.
10576# (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
10577# f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
10578# :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
10579cit101e|C. Itoh CIT-101e:\
10580	:am:bs:mi:ms:pt:\
10581	:co#80:it#8:li#24:\
10582	:ac=:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
10583	:cm=\E[%i%2;%2H:cs=\E[%i%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:\
10584	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:k0=\EOT:\
10585	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOm:k6=\EOl:k7=\EOM:\
10586	:k8=\EOn:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
10587	:le=\E[D:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:\
10588	:ue=\E[m:up=\E[A:us=\E[4m:ve=:vs=\E[?1l\E[?4l\E[?7h:
10589# From: David S. Lawyer, June 1997:
10590# The CIT 101-e was made in Japan in 1983-4 and imported by CIE
10591# Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
10592# late 1980's CIT Terminals went out of business.
10593# There is no need to use the initialization string is=... (by invoking
10594# tset or setterm etc.) provided that the terminal has been manually set
10595# up (and the setup saved with ^S) to be compatible with this termcap.  To be
10596# compatible it should be in ANSI mode (not VT52).   A set-up that
10597# works is to set all the manually setable stuff to factory defaults
10598# by pressing ^D in set-up mode.  Then increse the brighness with the
10599# up-arrow key since the factory default will likely be dim on an old
10600# terminal.  Then change any options you want (provided that they are
10601# compatible with the termcap).  For my terminal I set: Screen
10602# Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
10603# on.  I also set up mine for parity (but you may not need it).  Then
10604# save the setup with ^S.
10605# (cit101e-rv: added empty :te: to suppress a tic warning. --esr)
10606cit101e-rv|Citoh CIT-101e (sets reverse video):\
10607	:am:eo:mi:ms:xn:xo:\
10608	:co#80:it#8:li#24:\
10609	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10610	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
10611	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
10612	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
10613	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:ho=\E[H:ic=\E[@:\
10614	:im=\E[4h:\
10615	:is=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
10616	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:kd=\E[B:kl=\E[D:\
10617	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
10618	:nd=\E[C:nl=\EM:nw=\EE:r1=\Ec\E[?7h\E[>5g:rc=\E8:sc=\E7:\
10619	:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=:\
10620	:ti=\E[>5g\E[?7h\E[?5h:u6=\E[%i%d;%dR:u7=\E[6n:\
10621	:u8=\E[?6c:u9=\E[c:ue=\E[m:up=\E[A:us=\E[4m:\
10622	:vb=200\E[?5l\E[?5h:ve=\E[0;3;4v:vi=\E[1v:vs=\E[3;5v:
10623cit101e-n|CIT-101e w/o am:\
10624	:am@:\
10625	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
10626cit101e-132|CIT-101e with 132 cols:\
10627	:co#132:\
10628	:kb=^H:kd=^J:kl=^H:tc=cit101e:
10629cit101e-n132|CIT-101e with 132 cols w/o am:\
10630	:am@:\
10631	:co#132:\
10632	:kb=^H:kd=^J:kl=^H:vs=\E[?1l\E[?4l\E[?7l:tc=cit101e:
10633# CIE Terminals CIT-500 from BRL
10634# The following SET-UP modes are assumed for normal operation:
10635#	GENERATE_XON/XOFF:YES	DUPLEX:FULL		NEWLINE:OFF
10636#	AUTOWRAP:ON		MODE:ANSI		SCREEN_LENGTH:64_LINES
10637#	DSPLY_CNTRL_CODES?NO	PAGE_WIDTH:80		EDIT_MODE:OFF
10638# Other SET-UP modes may be set for operator convenience or communication
10639# requirements.
10640# Hardware tabs are assumed to be set every 8 columns; they can be set up
10641# by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
10642# "stty ixon -ixany" to enable DC3/DC1 flow control!
10643# (cit500: I added <rmam>/<smam> based on the init string -- esr)
10644cit500|CIE Terminals CIT-500:\
10645	:bs:mi:ms:pt:xo:\
10646	:co#80:it#8:kn#10:li#64:vt#3:\
10647	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:\
10648	:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:\
10649	:bl=^G:bt=\E[Z:cd=\EJ:ce=\EK:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
10650	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
10651	:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
10652	:k2=\EOR:k3=\EOS:k4=\EOU:k5=\EOV:k6=\EOW:k7=\EOX:k8=\EOY:\
10653	:k9=\EOZ:kA=\E[L:kB=\E[Z:kD=\E[P:kE=\EK:kI=\E[4h:kL=\E[M:\
10654	:kM=\E[4l:kS=\EJ:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
10655	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:\
10656	:l3=PF4:l4=F15:l5=F16:l6=F17:l7=F18:l8=F19:l9=F20:le=^H:\
10657	:ll=\E[64H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
10658	:nw=\EE:\
10659	:r1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>:\
10660	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
10661	:ue=\E[m:up=\EM:us=\E[4m:
10662
10663# C. Itoh printers begin here
10664citoh|ci8510|8510|c.itoh 8510a:\
10665	:co#80:it#8:\
10666	:is=\E(009,017,025,033,041,049,057,065,073.:le@:md=\E!:\
10667	:me=\E"\EY:rp=\ER%r%3%.:sr=\Er:ue=\EY:us=\EX:tc=lpr:
10668citoh-pica|citoh in pica:\
10669	:i1=\EN:tc=citoh:
10670citoh-elite|citoh in elite:\
10671	:co#96:\
10672	:i1=\EE:\
10673	:is=\E(009,017,025,033,041,049,057,065,073,081,089.:\
10674	:tc=citoh:
10675citoh-comp|citoh in compressed:\
10676	:co#136:\
10677	:i1=\EQ:\
10678	:is=\E(009,017,025,033,041,049,057,065,073,081,089,097,105,113,121,129.:\
10679	:tc=citoh:
10680# citoh has infinite cols because we don't want lp ever inserting \n\t**.
10681citoh-prop|citoh-ps|ips|citoh in proportional spacing mode:\
10682	:co#32767:\
10683	:i1=\EP:tc=citoh:
10684citoh-6lpi|citoh in 6 lines per inch mode:\
10685	:i2=\EA:tc=citoh:
10686citoh-8lpi|citoh in 8 lines per inch mode:\
10687	:li#88:\
10688	:i2=\EB:tc=citoh:
10689
10690#### Control Data (cdc)
10691#
10692
10693cdc456|cdc 456 terminal:\
10694	:am:bs:\
10695	:co#80:li#24:\
10696	:al=\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%+ %+ :cr=^M:dl=\EJ:\
10697	:do=^J:ho=^Y:le=^H:nd=^L:sf=^J:up=^Z:
10698
10699# Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
10700cdc721|CDC Viking:\
10701	:am:bs:\
10702	:co#80:li#24:\
10703	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
10704	:ku=^W:nd=^X:up=^W:
10705cdc721ll|CDC Vikingll:\
10706	:am:bs:\
10707	:co#132:li#24:\
10708	:ce=^K:cl=^L:cm=\002%r%+ %+ :ho=^Y:kd=^J:kh=^Y:kl=^H:kr=^I:\
10709	:ku=^W:nd=^X:up=^W:
10710# (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
10711cdc752|CDC 752:\
10712	:am:bs:bw:xs:\
10713	:co#80:li#24:\
10714	:bl=^G:ce=^V:cl=\030\E1\040\040:cm=\E1%r%+ %+ :cr=^M:\
10715	:do=^J:ho=\E1\040\040:le=^H:ll=^Y:nd=^U:\
10716	:r1=\E1  \030\002\003\017:sf=^J:up=^Z:
10717# CDC 756
10718# The following switch/key settings are assumed for normal operation:
10719#	96 chars	SCROLL		FULL duplex	not BLOCK
10720# Other switches may be set according to communication requirements.
10721# Insert/delete-character cannot be used, as the whole display is affected.
10722# "so" & "se" are commented out until jove handles "sg" correctly.
10723cdc756|CDC 756:\
10724	:am:bs:bw:\
10725	:co#80:kn#10:li#24:\
10726	:al=6*\EL:bl=^G:cd=^X:ce=^V:cl=^Y^X:cm=\E1%r%+ %+ :cr=^M:\
10727	:dl=6*\EJ:do=^J:ho=^Y:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:\
10728	:k5=\EF:k6=\EG:k7=\EH:k8=\Ea:k9=\Eb:kA=\EL:kD=\EI:kE=^V:\
10729	:kI=\EK:kL=\EL:kS=^X:kT=^O:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^U:\
10730	:ku=^Z:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l7=F8:l8=F9:\
10731	:l9=F10:le=^H:ll=^Y^Z:nd=^U:r1=\031\030\002\003\017:sf=^J:\
10732	:up=^Z:
10733#
10734# CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
10735#
10736# Part of the long initialization string defines the "DOWN" key to the left
10737# of the tab key to send an ESC.  The real ESC key is positioned way out
10738# in right field.
10739#
10740# The termcap won't work in 132 column mode due to the way it it moves the
10741# cursor.  Termcap doesn't have the capability (as far as I could tell) to
10742# handle the 721 in 132 column mode.
10743#
10744# (cdc721: changed :ri: to :sr: -- esr)
10745cdc721-esc|Control Data 721:\
10746	:am:bs:bw:ms:pt:xo:\
10747	:co#80:it#8:kn#10:li#30:\
10748	:al=^^R:bl=^G:bt=^^^K:cd=^^P:ce=^K:cl=^L:cm=\002%r%+ %+ :\
10749	:ct=^^^RY:dc=^^N:dl=^^Q:do=^Z:ei=:ho=^Y:ic=^^O:im=:\
10750	:is=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\136\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o:\
10751	:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:k7=^^x:\
10752	:k8=^^y:k9=^^z:kb=^H:kd=^Z:ke=^^^Rl:kh=^Y:kl=^H:kr=^X:\
10753	:ks=^^^Rk:ku=^W:le=^H:ll=^B =:mb=^N:\
10754	:me=\017\025\035\036E\036\022\\:mh=^\:mk=^^^R[:mr=^^D:\
10755	:nd=^X:se=^^E:sf=\036W =\036U:so=^^D:sr=\036W =\036V:\
10756	:st=^^^RW:ue=^]:up=^W:us=^\:
10757
10758#### Getronics
10759#
10760# Getronics is a Dutch electronics company that at one time was called
10761# `Geveke' and made async terminals; but (according to the company itself!)
10762# they've lost all their documentation on the command set.  The hardware
10763# documentation suggests the terminals were actually manufactured by a
10764# Taiwanese electronics company named Cal-Comp.  There are known
10765# to have been at least two models, the 33 and the 50.
10766#
10767
10768# The 50 seems to be a top end vt220 clone, with the addition of a higher
10769# screen resolution, a larger screen, at least 1 page of memory above and
10770# below the screen, apparently pages of memory right and left of the screen
10771# which can be panned, and about 75 function keys (15 function keys x normal,
10772# shift, control, func A, func B). It also has more setup possibilities than
10773# the vt220. The monitor case is dated November 1978 and the keyboard case is
10774# May 1982.
10775#
10776# The vt100 emulation works as is.  The entry below describes the rather
10777# non-conformant (but more featureful) ANSI mode.
10778#
10779# From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
10780# (acsc removed to fit entry within 1023 bytes)
10781visa50|geveke visa 50 terminal in ansi 80 character mode:\
10782	:bw:mi:ms:\
10783	:co#80:li#25:\
10784	:AL=\E[%dL:DC=\E[%dX:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
10785	:K1=\E[f:K2=\EOP:K3=\EOQ:K4=\EOR:K5=\EOS:LE=\E[%dD:\
10786	:RA=\E[?7l:RI=\E[%dC:SA=\E?7h:UP=\E[%dA:ae=\E[3l:al=\E[L:\
10787	:as=\E3h:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%i%dG:\
10788	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
10789	:ct=\E[3g:cv=\E[%i%dd:dc=\E[X:dl=\E[M:do=\E[B:ei=\E[4l:\
10790	:ho=\E[H:ic=\E[@:im=\E[4h:\
10791	:is=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h:k0=\E010:\
10792	:k1=\E001:k2=\E002:k3=\E003:k4=\E004:k5=\E005:k6=\E006:\
10793	:k7=\E007:k8=\E008:k9=\E009:k;=\E011:kD=\177:kL=\EOS:kb=^H:\
10794	:kd=\E[A:ke=\E>:kh=\E[f:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:\
10795	:l2=A delete char:l3=A insert line:l4=A delete line:\
10796	:l5=A clear:l6=A ce of/cf gn:l7=A print:l8=A on-line:\
10797	:l9=A funcl0=A send:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[0;2m:\
10798	:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0;2m:\
10799	:sf=^J:so=\E[2;7m:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:\
10800	:vb=\E[?5h\E[?5l:
10801
10802#### Human Designed Systems (Concept)
10803#
10804#	Human Designed Systems
10805#	400 Fehley Drive
10806#	King of Prussia, PA 19406
10807#	Vox: (610)-277-8300
10808#	Fax: (610)-275-5739
10809#	Net: support@hds.com
10810#
10811# John Martin <john@hds.com> is their termcap expert.  They're mostly out of
10812# the character-terminal business now (1995) and making X terminals.  In
10813# particular, the whole `Concept' line described here was discontinued long
10814# ago.
10815#
10816
10817# From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
10818# Extensive changes to c108 by arpavax:eric Feb 1982
10819# Some unknown person at SCO then translated it to terminfo.
10820#
10821# There seem to be a number of different versions of the C108 PROMS
10822# (with bug fixes in its Z-80 program).
10823#
10824# The first one that we had would lock out the keyboard of you
10825# sent lots of short lines (like /usr/dict/words) at 9600 baud.
10826# Try that on your C108 and see if it sends a ^S when you type it.
10827# If so, you have an old version of the PROMs.
10828#
10829# You should configure the C108 to send ^S/^Q before running this.
10830# It is much faster (at 9600 baud) than the c100 because the delays
10831# are not fixed.
10832# new status line display entries for c108-8p:
10833# :i3: - init str #3 - setup term for status display -
10834# set programmer mode, select window 2, define window at last
10835# line of memory, set bkgnd stat mesg there, select window 0.
10836#
10837# :ts: - to status line - select window 2, home cursor, erase to
10838# end-of-window, 1/2 bright on, goto(line#0, col#?)
10839#
10840# :fs: - from status line - 1/2 bright off, select window 0
10841#
10842# :ds: - disable status display - set bkgnd status mesg with
10843# illegal window #
10844#
10845# There are probably more function keys that should be added but
10846# I don't know what they are.
10847#
10848# No delays needed on c108 because of ^S/^Q handshaking
10849#
10850c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages:\
10851	:i2=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n:\
10852	:te=\Ev  \001\177p\Ep\r\n:tc=c108-4p:
10853c108-4p|concept108-4p|concept 108 w/4 pages:\
10854	:bs:es:hs:xo:\
10855	:pb@:\
10856	:ac=jEkTl\\mMqLxU:ae=\Ej\040:as=\Ej!:cr=^M:dc=16*\E 1:\
10857	:ds=\E ;\177:fs=\Ee\E z\040:i1=\EK\E!\E F:\
10858	:i2=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n:\
10859	:sf=^J:te=\Ev  \001 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r\E\025:\
10860	:ve=\Ew:vs=\EW:tc=c100:
10861c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video:\
10862	:te=\Ev  \002 p\Ep\r\n:ti=\EU\Ev  8p\Ep\r:\
10863	:tc=c108-rv-4p:
10864c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video:\
10865	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:tc=c108-4p:
10866c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode:\
10867	:co#132:\
10868	:i1=\E F\E":te=\Ev  ^A0\001D\Ep\r\n:\
10869	:ti=\EU\Ev  8\001D\Ep\r:tc=c108-8p:
10870
10871# Concept 100:
10872# These have only window relative cursor addressing, not screen
10873# relative. To get it to work right here, smcup/rmcup (which
10874# were invented for the concept) lock you into a one page
10875# window for screen style programs.
10876#
10877# To get out of the one page window, we use a clever trick:
10878# we set the window size to zero ("\Ev    " in rmcup) which the
10879# terminal recognizes as an error and resets the window to all
10880# of memory.
10881#
10882# This trick works on c100 but does not on c108, sigh.
10883#
10884# Some tty drivers use cr3 for concept, others use nl3, hence
10885# the delays on cr and ind below. This padding is only needed at
10886# 9600 baud and up.  One or the other is commented out depending on
10887# local conventions.
10888#
10889# 2 ms padding on :te: isn't always enough. 6 works fine. Maybe
10890# less than 6 but more than 2 will work.
10891#
10892# Note: can't use function keys f7-f10 because they are
10893# indistinguishable from arrow keys (!), also, del char and
10894# clear eol use xon/xoff so they probably won't work very well.
10895#
10896# Also note that we don't define insrt/del char/delline/eop/send
10897# because they don't transmit unless we reset them - I figured
10898# it was a bad idea to clobber their definitions.
10899#
10900# The <mc5> sequence changes the escape character to ^^ so that
10901# escapes will be passed through to the printer. Only trouble
10902# is that ^^ won't be - ^^ was chosen to be unlikely.
10903# Unfortunately, if you're sending raster bits through to be
10904# plotted, any character you choose will be likely, so we lose.
10905#
10906# \EQ"\EY(^W (send anything from printer to host, for xon/xoff)
10907# cannot be # in is2 because it will hang a c100 with no printer
10908# if sent twice.
10909c100|concept100|concept|c104|c100-4p|hds concept 100:\
10910	:am:bs:eo:mi:ul:xn:\
10911	:co#80:li#24:pb#9600:vt#8:\
10912	:al=3*\E\022:bl=^G:cd=16*\E\005:ce=16\E\025:\
10913	:cl=2*\E?\E\005:cm=\Ea%+ %+ :cr=\r:dc=16*\E\021:\
10914	:dl=3*\E\002:do=^J:ei=\E\040\040:i1=\EK:i2=\Ev    \Ep\n:\
10915	:im=\E^P:ip=16*:\
10916	:is=\EU\Ef\E7\E5\E8\El\ENH\E\200\Eo&\200\Eo'\E\Eo!\200\E\007!\E\010A@ \E4#\072"\E\072a\E4#;"\E\072b\E4#<"\E\072c:\
10917	:k1=\E5:k2=\E6:k3=\E7:k4=\E8:k5=\E9:k6=\E\072a:k7=\E\072b:\
10918	:k8=\E\072c:kA=\E^R:kB=\E':kD=\E^Q:kE=\E^S:kF=\E[:kI=\E^P:\
10919	:kL=\E^B:kM=\E\200:kN=\E-:kP=\E.:kR=\E\\:kS=\E^C:kT=\E]:\
10920	:kb=^H:kd=\E<:ke=\Ex:kh=\E?:kl=\E>:kr=\E=:ks=\EX:kt=\E_:\
10921	:ku=\E;:le=^H:mb=\EC:me=\EN@:mh=\EE:mk=\EH:mp=\EI:mr=\ED:\
10922	:nd=\E=:pf=\036o \E\EQ!\EYP\027:\
10923	:po=\EQ"\EY(\027\EYD\Eo \036:rp=.2*\Er%.%+ :se=\Ed:\
10924	:sf=^J:so=\ED:ta=8\011:te=\Ev    \Ep\r\n:\
10925	:ti=16\EU\Ev  8p\Ep\r\E\025:ue=\Eg:up=\E;:us=\EG:\
10926	:vb=\Ek\EK:
10927c100-rv|c100-rv-4p|concept100-rv|c100 rev video:\
10928	:i1=\Ek:se=\Ee:so=\EE:vb=\EK\Ek:ve@:vs@:tc=c100:
10929oc100|oconcept|c100-1p|old 1 page concept 100:\
10930	:in:\
10931	:i3@:tc=c100:
10932
10933# From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
10934# Lots of notes, originally inline, but ncurses doesn't grok that.
10935#
10936# am: 	not available in power on mode, but turned on with \E[=107;207h in
10937#	is2=.  Also, \E=124l in is2= could have been used to prevent needing
10938#	to specify xenl:, but that would have rendered the last space on the
10939#	last line useless.
10940# bw:	Not available in power on mode, but turned on with \E[=107;207h in
10941#	is2=.
10942# clear: Could be done with \E[2J alone, except that vi (and probably most
10943#	other programs) assume that this also homes the cursor.
10944# dsl:	Go to window 2, go to the beginning of the line, use a line feed to
10945#	scroll the window, and go back to window 1.
10946# is2:	the string may cause a warning to be issued by tic that it
10947#	found a very long line and that it suspects that a comma is missing
10948#	somewhere.  This warning can be ignored (unless it comes up more than
10949#	once).  The initialization string contains the following commands:
10950#
10951#	 [Setup mode items changed from factory defaults:]
10952#		\E)0			set alternate character set to
10953#						graphics
10954#		^O			set character set to default
10955#	 [In case it wasn't]
10956#		\E[m			turn off all attributes
10957#	 [In case they weren't off]
10958#		\E[=107;		cursor wrap and
10959#			207h			character wrap on
10960#		\E[90;3u		set Fkey definitions to "transmit"
10961#						defaults
10962#		\E[92;3u		set cursor key definitions to
10963#						"transmit" defaults
10964#		\E[43;1u		set shift F13 to transmit...
10965#		\177\E$P\177
10966#		\E[44;1u		set shift F14 to transmit...
10967#			\177\E$Q\177
10968#		\E[45;1u		set shift F15 to transmit...
10969#			\177\E$R\177
10970#		\E[46;1u		set shift F16 to transmit...
10971#			\177\E$S\177
10972#		\E[200;1u		set shift up to transmit...
10973#			\177\E$A\177
10974#		\E[201;1u		set shift down to transmit...
10975#			\177\E$B\177
10976#		\E[202;1u		set shift right to transmit...
10977#			\177\E$C\177
10978#		\E[203;1u		set shift left to transmit...
10979#			\177\E$D\177
10980#		\E[204;1u		set shift home to transmit...
10981#			\177\E$H\177
10982#		\E[212;1u		set backtab to transmit...
10983#			\177\E$I\177
10984#		\E[213;1u		set shift backspace to transmit...
10985#			\177\E$^H\177
10986#		\E[214;1u		set shift del to transmit...
10987#			"\E$\177"
10988#	 [Necessary items not mentioned in setup mode:]
10989#		\E[2!w			move to window 2
10990#		\E[25;25w		define window as line 25 of memory
10991#		\E[!w			move to window 1
10992#		\E[2*w			show current line of window 2 as
10993#						status line
10994#		\E[2+x			set meta key to use high bit
10995#		\E[;3+}			move underline to bottom of character
10996#
10997#	All Fkeys are set to their default transmit definitions with \E[90;3u
10998#	in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
10999#	setting MUST be redefined or deactivated, because the default is
11000#	contained in almost all of this terminal's Fkey strings!  If for some
11001#	reason "quit" cannot be altered, the Fkeys can, but it would be
11002#	necessary to change ^| to ^] in all of these definitions, and add
11003#	\E[2;029!t to is2.
11004# lines: is set to 24 because this terminal refuses to treat the 25th
11005#	line normally.
11006# ll:	Not available in power on mode, but turned on with \E[=107;207h in
11007#	is2=.
11008# lm:	Pointless, given that this definition locks a single screen of
11009#	memory into view, but what the hey...
11010# rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
11011#	other attributes alone), but some programs expect this to turn off
11012#	everything.
11013# rmul: Could use \E[4!{ to turn off only underline (leaving any other
11014#	attributes alone), but some programs expect this to turn off
11015#	everything.
11016# sgr:	Attributes are set on this terminal with the string \E[ followed by
11017#	a list of attribute code numbers (in decimal, separated by
11018#	semicolons), followed by the character m.  The attribute code
11019#	numbers are:
11020#		  1 for bold;
11021#		  2 for dim (which is ignored in power on mode);
11022#		  4 for underline;
11023#		  5 for blinking;
11024#		  7 for inverse;
11025#		  8 for not displayable; and
11026#		=99 for protected (except that there are strange side
11027#		effects to protected characters which make them inadvisable).
11028#	 The mapping of terminfo parameters to attributes is as follows:
11029#		%p1 (standout) = bold and inverse together;
11030#		%p2 (underline) = underline;
11031#		%p3 (reverse) = inverse;
11032#		%p4 (blink) = blinking;
11033#		%p5 (dim) is ignored;
11034#		%p6 (bold) = bold;
11035#		%p7 (invisible) = not displayable;
11036#		%p8 (protected) is ignored; and
11037#		%p9 (alt char set) = alt char set.
11038#	 The code to do this is:
11039#		\E[0		OUTPUT	\E[0
11040#		%?%p1%p6%O	IF	(standout; bold) OR
11041#		%t;1		THEN	OUTPUT	;1
11042#		%;		ENDIF
11043#		%?%p2		IF	underline
11044#		%t;4		THEN	OUTPUT	;4
11045#		%;		ENDIF
11046#		%?%p4		IF	blink
11047#		%t;5		THEN	OUTPUT	;5
11048#		%;		ENDIF
11049#		%?%p1%p3%O	IF	(standout; reverse) OR
11050#		%t;7		THEN	OUTPUT	;7
11051#		%;		ENDIF
11052#		%?%p7		IF	invisible
11053#		%t;8		THEN	OUTPUT	;8
11054#		%;		ENDIF
11055#		m		OUTPUT	m
11056#		%?%p9		IF	altcharset
11057#		%t^N		THEN	OUTPUT	^N
11058#		%e^O		ELSE	OUTPUT	^O
11059#		%;		ENDIF
11060# sgr0: Everything is turned off (including alternate character set), since
11061#	there is no way of knowing what it is that the program wants turned
11062#	off.
11063# smul: The "underline" attribute is reconfigurable to an overline or
11064#	strikethru, or (as done with \E[;3+} in is2=), to a line at the true
11065#	bottom of the character cell.  This was done to allow for more readable
11066#	underlined characters, and to be able to distinguish between an
11067#	underlined space, an underscore, and an underlined underscore.
11068# xenl: Terminal can be configured to not need this, but this "glitch"
11069#	behavior is actually preferable with autowrap terminals.
11070#
11071# Parameters kf31= thru kf53= actually contain the strings sent by the shifted
11072# Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
11073# string modifies the 'O' in kf43 to kf46 to a '$'.
11074#
11075# kcbt was originally ^I but redefined in is2=.
11076# kHOM was \E[H originally but redefined in is2=, as were a number of
11077# other keys.
11078# kDC was originally \177 but redefined in is2=.
11079#
11080# kbs:	Shift was also ^H originally but redefined as \E$^H in is2=.
11081# tsl:	Go to window 2, then do an hpa=.
11082#
11083#------- flash=\E[8;3!}^G\E[3;3!}
11084#------- flash=\E[?5h$<100>\E[?5l
11085# There are two ways to flash the screen, both of which have their drawbacks.
11086# The first is to set the bell mode to video, transmit a bell character, and
11087# set the bell mode back - but to what?  There is no way of knowing what the
11088# user's old bell setting was before we messed with it.  Worse, the command to
11089# set the bell mode also sets the key click volume, and there is no way to say
11090# "leave that alone", or to know what it's set to, either.
11091# The second way to do a flash is to set the screen to inverse video, pad for a
11092# tenth of a second, and set it back - but like before, there's no way to know
11093# that the screen wasn't ALREADY in inverse video, or that the user may prefer
11094# it that way.  The point is moot anyway, since vi (and probably other
11095# programs) assume that by defining flash=, you want the computer to use it
11096# INSTEAD of bel=, rather than as a secondary type of signal.
11097#
11098#------- cvvis=\E[+{
11099# The is the power on setting, which is also as visible as the cursor
11100# gets.
11101#-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
11102# Windowing is possible, but not defined here because it is also used to
11103# emulate status line functions.  Allowing a program to set a window could
11104# clobber the status line or render it unusable.  There is additional memory,
11105# but screen scroll functions are destructive and do not make use of it.
11106#
11107#-------   dim=			Not available in power on mode.
11108# You have a choice of defining low intensity characters as "half bright" and
11109# high intensity as "normal", or defining low as "normal" and high as "bold".
11110# No matter which you choose, only one of either "half bright" or "bold" is
11111# available at any time, so taking the time to override the default is
11112# pointless.
11113#
11114#-------  prot=\E[=0;99m
11115# Not defined, because it appears to have some strange side effects.
11116#------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
11117#------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
11118#-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
11119#	 Available, but making them available to programs is inadvisable.
11120#	 The code to do this is:
11121#		%?%p1%{24}%<	IF	((key; 24) <;
11122#		%p1%{30}%>		 ((key; 30) >;
11123#		%p1%{54}%<		  (key; 54) <
11124#		%A			 ) AND
11125#		%O		  	) OR
11126#	 [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
11127#		%t\E[		THEN	OUTPUT	\E[
11128#		%p1%d			OUTPUT	(key) as decimal
11129#	 [next line applies to pfx only]
11130#		;1			OUTPUT	;1
11131#		u			OUTPUT	u
11132#		\177			OUTPUT	\177
11133#		%p2%s			OUTPUT	(string) as string
11134#		\177			OUTPUT	\177
11135#	 [DEL chosen as delimiter, but could be any character]
11136#	 [implied:		ELSE	do nothing]
11137#		%;		ENDIF
11138#
11139#-------   rs2=
11140# Not defined since anything it might do could be done faster and easier with
11141# either Meta-Shift-Reset or the main power switch.
11142#
11143#-------  smkx=\E[1!z
11144#-------  rmkx=\E[!z
11145# These sequences apply to the cursor and setup keys only, not to the
11146# numeric keypad.  But it doesn't matter anyway, since making these
11147# available to programs is inadvisable.
11148# For the key definitions below, all sequences beginning with \E$ are
11149# custom and programmed into the terminal via is2.  \E$ also has no
11150# meaning to any other terminal.
11151#
11152#------- cmdch=\E[;%p1%d!t
11153# Available, but making it available to programs is inadvisable.
11154#------- smxon=\E[1*q
11155# Available, but making it available to programs is inadvisable.
11156# Terminal will send XON/XOFF on buffer overflow.
11157#------- rmxon=\E[*q
11158# Available, but making it available to programs is inadvisable.
11159# Terminal will not notify on buffer overflow.
11160#-------   smm=\E[2+x
11161#-------   rmm=\E[+x
11162# Available, but making them available to programs is inadvisable.
11163#
11164# Printing:
11165#	 It's not made clear in the manuals, but based on other ansi/vt type
11166#	 terminals, it's a good guess that this terminal is capable of both
11167#	 "transparent print" (which doesn't copy data to the screen, and
11168#	 therefore needs mc5i: specified to say so) and "auxilliary print"
11169#	 (which does duplicate printed data on the screen, in which case mc4=
11170#	 and mc5= should use the \E[?4i and \E[?5i strings instead).
11171
11172# (sgr removed to fit entry within 1023 bytes)
11173# (acsc removed to fit entry within 1023 bytes)
11174# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
11175# (some function-key capabilities suppressed to fit entry within 1023 bytes)
11176hds200|Human Designed Systems HDS200:\
11177	:am:bw:es:hs:km:mi:ms:xn:xo:\
11178	:co#80:it#8:li#24:lm#0:\
11179	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
11180	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:\
11181	:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
11182	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
11183	:ds=\E[2!w\r\n\E[!w:ei=\E[4l:fs=\E[!w:ho=\E[H:im=\E[4h:\
11184	:is=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}:\
11185	:kD=\177:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
11186	:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[H\E[A:mb=\E[0;5m:\
11187	:md=\E[0;1m:me=\E[0m:mr=\E[0;7m:nd=\E[C:nw=\E[E:rc=\E8:\
11188	:sc=\E7:se=\E[m\017:sf=\ED:so=\E[0;1;7m:sr=\EM:st=\EH:\
11189	:ta=^I:ts=\E[2!w\E[%i%dG:ue=\E[m\017:up=\E[A:us=\E[0;4m:\
11190	:ve=\E[+{:vi=\E[6+{:
11191
11192# :ta: through :ce: included to specify padding needed in raw mode.
11193# (avt-ns: added empty <acsc> to suppress a tic warning --esr)
11194avt-ns|concept avt no status line:\
11195	:am:bs:eo:mi:ul:xn:xo:\
11196	:co#80:it#8:li#24:lm#192:\
11197	:AL=4*\E[%dL:DL=4*\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
11198	:RI=\E[%dC:UP=\E[%dA:ac=:ae=1\016:al=4\E[L:as=1\017:bl=^G:\
11199	:bt=\E[Z:cd=96\E[J:ce=6\E[K:ch=\E[%+^AG:cl=38\E[H\E[J:\
11200	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:\
11201	:cv=\E[%+^Ad:dc=\E[P:dl=4\E[M:do=^J:ei=\E[4l:ho=\E[H:\
11202	:i1=\E[=103l\E[=205l:ic=\E[@:im=\E[4h:ip=4:\
11203	:is=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\0720\07232!r\E[0*w\E[w\E2\r\n\E[2;27!t:\
11204	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kA=\E^C\r:kD=\E^B\r:\
11205	:kI=\E^A\r:kS=\E^D\r:kb=^H:kd=\E[B:ke=\E[!z\E[0;2u:\
11206	:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[1!z\E[0;3u:ku=\E[A:le=^H:\
11207	:ll=\E[24H:mb=\E[5m:md=\E[1m:me=\E[m:mh=\E[1!{:mk=\E[8m:\
11208	:mp=\E[99m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
11209	:rc=\E8:sc=\E7:se=\E[7!{:sf=8\n:so=\E[7m:sr=4\EM:st=\EH:\
11210	:ta=4\011:te=\E[w\E2\r\n:ti=\E[=4l\E[1;24w\E2\r:\
11211	:ue=\E[4!{:up=\E[A:us=\E[4m:ve=\E[=119l:vs=\E[=119h:
11212avt-rv-ns|concept avt in reverse video mode/no status line:\
11213	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt-ns:
11214avt-w-ns|concept avt in 132 column mode/no status line:\
11215	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt-ns:
11216avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video:\
11217	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
11218	:vb=\E[=205l\E[=205h:tc=avt-ns:
11219
11220# Concept AVT with status line. We get the status line using the
11221# "Background status line" feature of the terminal. We swipe the
11222# first line of memory in window 2 for the status line, keeping
11223# 191 lines of memory and 24 screen lines for regular use.
11224# The first line is used instead of the last so that this works
11225# on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
11226# assumes an 8 page AVT but lm isn't currently used anywhere.)
11227#
11228avt+s|concept avt status line changes:\
11229	:es:hs:\
11230	:lm#191:\
11231	:ds=\E[0*w:fs=\E[1;1!w:\
11232	:i2=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n:\
11233	:te=\E[2w\E2\r\n:ti=\E[2;25w\E2\r:\
11234	:ts=\E[2;1!w\E[;%dH\E[2K:
11235avt|avt-s|concept-avt|avt w/80 columns:\
11236	:tc=avt+s:tc=avt-ns:
11237avt-rv|avt-rv-s|avt reverse video w/sl:\
11238	:i1=\E[=103l\E[=205h:vb=\E[=205l\E[=205h:tc=avt+s:\
11239	:tc=avt-ns:
11240avt-w|avt-w-s|concept avt 132 cols+status:\
11241	:i1=\E[=103h\E[=205l:ti=\E[H\E[1;24;1;132w:tc=avt+s:\
11242	:tc=avt-ns:
11243avt-w-rv|avt-w-rv-s|avt wide+status+rv:\
11244	:i1=\E[=103h\E[=205h:ti=\E[H\E[1;24;1;132w:\
11245	:vb=\E[=205l\E[=205h:tc=avt+s:tc=avt-ns:
11246
11247#### Contel Business Systems.
11248#
11249
11250# Contel c300 and c320 terminals.
11251contel300|contel320|c300|Contel Business Systems C-300 or C-320:\
11252	:am:in:xo:\
11253	:co#80:li#24:sg#1:\
11254	:al=5.5*\EL:bl=^G:cd=5.5*\EJ:ce=5.5\EI:cl=\EK:\
11255	:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:dc=5.5*\EO:dl=5.5*\EM:do=^J:\
11256	:ei=:ho=\EH:ic=\EN:im=:ip=5.5*:k0=\ERJ:k1=\ERA:k2=\ERB:\
11257	:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:\
11258	:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:nd=\EC:se=\E!\200:sf=^J:\
11259	:so=\E!\r:st=\E1:up=\EA:vb=\020\002\020\003:
11260# Contel c301 and c321 terminals.
11261contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321:\
11262	:ic@:ip@:se=20\E!\200:so=20\E!\r:vb@:tc=contel300:
11263
11264#### Data General (dg)
11265#
11266# According to James Carlson <carlson@xylogics.com> writing in January 1995,
11267# the terminals group at Data General was shut down in 1991; all these
11268# terminals have thus been discontinued.
11269#
11270# DG terminals have function keys that respond to the SHIFT and CTRL keys,
11271# e.g., SHIFT-F1 generates a different code from F1.  To number the keys
11272# sequentially, first the unmodified key codes are listed as F1 through F15.
11273# Then their SHIFT versions are listed as F16 through F30, their CTRL versions
11274# are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
11275# F46 through F60.  This is done in the private "includes" below whose names
11276# start with "dgkeys+".
11277#
11278# DG terminals generally support 8 bit characters.  For each of these terminals
11279# two descriptions are supplied:
11280#	1) A default description for 8 bits/character communications, which
11281#	   uses the default DG international character set and keyboard codes.
11282#	2) A description with suffix "-7b" for 7 bits/character communications.
11283#	   This description must use the NON-DEFAULT native keyboard language.
11284
11285# Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
11286# Ctrl/Shift fdkeys (kf34-kf44).
11287
11288dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys:\
11289	:%9=\233i:F1=\233011z:F2=\233012z:F3=\233013z:\
11290	:F4=\233014z:F5=\233000z:F6=\233101z:F7=\233102z:\
11291	:F8=\233103z:F9=\233104z:FA=\233105z:FB=\233106z:\
11292	:FC=\233107z:FD=\233108z:FE=\233109z:FF=\233110z:\
11293	:FG=\233111z:FH=\233112z:FI=\233113z:FJ=\233114z:\
11294	:FK=\233100z:FL=\233201z:FM=\233202z:FN=\233203z:\
11295	:FO=\233204z:FP=\233205z:FQ=\233206z:FR=\233207z:\
11296	:FS=\233208z:FT=\233209z:FU=\233210z:FV=\233211z:\
11297	:FW=\233212z:FX=\233213z:FY=\233214z:FZ=\233200z:\
11298	:Fa=\233301z:Fb=\233302z:Fc=\233303z:Fd=\233304z:\
11299	:Fe=\233305z:Ff=\233306z:Fg=\233307z:Fh=\233308z:\
11300	:Fi=\233309z:Fj=\233310z:Fk=\233311z:Fl=\233312z:\
11301	:Fm=\233313z:Fn=\233314z:Fo=\233300z:K1=\233020z:\
11302	:K3=\233021z:K4=\233022z:K5=\233023z:k1=\233001z:\
11303	:k2=\233002z:k3=\233003z:k4=\233004z:k5=\233005z:\
11304	:k6=\233006z:k7=\233007z:k8=\233008z:k9=\233009z:\
11305	:k;=\233010z:kC=\2332J:kE=\233K:kd=\233B:kh=\233H:\
11306	:kl=\233D:kr=\233C:ku=\233A:
11307
11308dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys:\
11309	:%9=\E[i:F1=\E[011z:F2=\E[012z:F3=\E[013z:F4=\E[014z:\
11310	:F5=\E[000z:F6=\E[101z:F7=\E[102z:F8=\E[103z:F9=\E[104z:\
11311	:FA=\E[105z:FB=\E[106z:FC=\E[107z:FD=\E[108z:FE=\E[109z:\
11312	:FF=\E[110z:FG=\E[111z:FH=\E[112z:FI=\E[113z:FJ=\E[114z:\
11313	:FK=\E[100z:FL=\E[201z:FM=\E[202z:FN=\E[203z:FO=\E[204z:\
11314	:FP=\E[205z:FQ=\E[206z:FR=\E[207z:FS=\E[208z:FT=\E[209z:\
11315	:FU=\E[210z:FV=\E[211z:FW=\E[212z:FX=\E[213z:FY=\E[214z:\
11316	:FZ=\E[200z:Fa=\E[301z:Fb=\E[302z:Fc=\E[303z:Fd=\E[304z:\
11317	:Fe=\E[305z:Ff=\E[306z:Fg=\E[307z:Fh=\E[308z:Fi=\E[309z:\
11318	:Fj=\E[310z:Fk=\E[311z:Fl=\E[312z:Fm=\E[313z:Fn=\E[314z:\
11319	:Fo=\E[300z:K1=\E[020z:K3=\E[021z:K4=\E[022z:K5=\E[023z:\
11320	:k1=\E[001z:k2=\E[002z:k3=\E[003z:k4=\E[004z:k5=\E[005z:\
11321	:k6=\E[006z:k7=\E[007z:k8=\E[008z:k9=\E[009z:k;=\E[010z:\
11322	:kC=\E[2J:kE=\E[K:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
11323
11324dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys:\
11325	:F1=^^{:F2=^^a:F3=^^b:F4=^^c:F5=^^d:F6=^^e:F7=^^f:F8=^^g:\
11326	:F9=^^h:FA=^^i:FB=^^j:FC=^^k:FD=^^1:FE=^^2:FF=^^3:FG=^^4:\
11327	:FH=^^5:FI=^^6:FJ=^^7:FK=^^8:FL=^^9:FM=^^\072:FN=^^;:FO=^^!:\
11328	:FP=^^":FQ=^^#:FR=^^$:FS=^^%%:FT=^^&:FU=^^':FV=^^(:FW=^^):\
11329	:FX=^^*:FY=^^+:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
11330	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:kC=^L:kE=^K:kd=^Z:kh=^H:kl=^Y:\
11331	:kr=^X:ku=^W:
11332
11333dgkeys+15|Private entry describing 15 DG mode special keys:\
11334	:#2=^^^H:#4=^^^Y:%i=^^^X:F1=^^{:F2=^^|:F3=^^}:F4=^^~:F5=^^p:\
11335	:F6=^^a:F7=^^b:F8=^^c:F9=^^d:FA=^^e:FB=^^f:FC=^^g:FD=^^h:\
11336	:FE=^^i:FF=^^j:FG=^^k:FH=^^l:FI=^^m:FJ=^^n:FK=^^`:FL=^^1:\
11337	:FM=^^2:FN=^^3:FO=^^4:FP=^^5:FQ=^^6:FR=^^7:FS=^^8:FT=^^9:\
11338	:FU=^^\072:FV=^^;:FW=^^<:FX=^^=:FY=^^>:FZ=^^0:Fa=^^!:Fb=^^":\
11339	:Fc=^^#:Fd=^^$:Fe=^^%%:Ff=^^&:Fg=^^':Fh=^^(:Fi=^^):Fj=^^*:\
11340	:Fk=^^+:Fl=^^,:Fm=^^-:Fn=^^.:Fo=^^\040:K1=^^\\:K3=^^]:\
11341	:K4=^^\136:K5=^^_:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:\
11342	:k7=^^w:k8=^^x:k9=^^y:k;=^^z:
11343
11344# Data General color terminals use the "Tektronix" color model.  The total
11345# number of colors varies with the terminal model, as does support for
11346# attributes used in conjunction with color.
11347
11348# Removed u7, u8 definitions since they conflict with tack:
11349#		Preserve user-defined colors in at least some cases.
11350#	u7=^^Fh,
11351#		Default is ACM mode.
11352#	u8=^^F}20^^Fi^^F}21,
11353#
11354dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode:\
11355	:ut:\
11356	:Co#16:NC#53:pa#256:\
11357	:Sb=\036B%+0:Sf=\036A%+0:op=\036Ad\036Bd:
11358
11359dg+fixed|Fixed color info for DG D430C terminals in DG mode:\
11360	:tc=dgunix+fixed:
11361
11362# Video attributes are coordinated using static variables set by "sgr", then
11363# checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings.
11364# (D=dim, U=underline, B=blink, R=reverse.)
11365dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode:\
11366	:ut:\
11367	:Co#8:NC#16:pa#64:\
11368	:op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m:
11369
11370dg+color|Color info for Data General D470C terminals in ANSI mode:\
11371	:Co#16:NC#53:pa#256:tc=dg+color8:
11372
11373dgmode+color8|Color info for Data General D220/D230C terminals in DG mode:\
11374	:ut:\
11375	:Co#8:NC#16:pa#64:\
11376	:AB=\036B%+^B:AF=\036A%+^B:Sb=\036B%+0:Sf=\036A%+0:\
11377	:op=\036Ad\036Bd:
11378
11379dgmode+color|Color info for Data General D470C terminals in DG mode:\
11380	:Co#16:pa#256:tc=dgmode+color8:
11381
11382dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode:\
11383	:cc:ut:\
11384	:Co#52:NC#53:pa#26:\
11385	:oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00:\
11386	:op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D:
11387
11388# Colors are in the order:  normal, reverse, dim, dim + reverse.
11389dg+ccc|Configurable color info for DG D430C terminals in DG mode:\
11390	:cc:ut:\
11391	:Co#52:NC#53:pa#26:\
11392	:oc=\036RG01\07200??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00:\
11393	:op=\036RF4831\072\036RF2>31;\036RF1=31<\036RF3?31=:\
11394	:sp=\036RG2%+^P%+^P:
11395
11396# The generic DG terminal type (an 8-bit-clean subset of the 6053)
11397# Initialization string 1 sets:
11398#	^R		- vertical scrolling enabled
11399#	^C		- blinking enabled
11400dg-generic|Generic Data General terminal in DG mode:\
11401	:NL:am:bw:ms:xo:\
11402	:co#80:li#24:\
11403	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:i1=^R^C:le=^Y:\
11404	:mb=^N:me=^O^U^]:mh=^\:nd=^X:nw=^J:ps=^Q:se=^]:sf=^J:so=^\:\
11405	:ue=^U:up=^W:us=^T:tc=dgkeys+11:
11406
11407# According to the 4.4BSD termcap file, the dg200 :cm: should be the
11408# termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
11409# notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
11410# maybe they were originally nuls (which would fit).
11411
11412dg200|data general dasher 200:\
11413	:NL:am:bs:bw:\
11414	:co#80:li#24:\
11415	:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:k0=^^z:\
11416	:k1=^^q:k2=^^r:k3=^^s:k4=^^t:k5=^^u:k6=^^v:k7=^^w:k8=^^x:\
11417	:k9=^^y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:l0=f10:le=^Y:nd=^X:\
11418	:nw=^J:se=^^E:sf=^J:so=^^D:ue=^U:up=^W:us=^T:
11419
11420# Data General 210/211 (and 410?)	from Lee Pearson (umich!lp) via BRL
11421dg210|dg-ansi|Data General 210/211:\
11422	:am:\
11423	:co#80:li#24:\
11424	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:do=\E[B:ho=\E[H:\
11425	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:nd=\E[C:\
11426	:nl=\E[B:nw=\r\E[H\E[A\n:se=\E[0;m:so=\E[7;m:ue=\E[0;m:\
11427	:up=\E[A:us=\E[4;m:
11428# From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
11429# courtesy of Carlos Rucalde of Vantage Software, Inc.
11430# (dg211: this had :cm=\020%r%.%:., which was an ancient termcap hangover.
11431# I suspect the d200 function keys actually work on the dg211, check it out.)
11432dg211|Data General d211:\
11433	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb=^Y:l0@:nw=^M^Z:\
11434	:se=\036E\200/>:sf@:so=5\036D:ta=^I:te=^L:ti=^L^R:ve=^L:\
11435	:vs=^L^R:tc=dg200:
11436
11437# dg450 from Cornell (not official)
11438dg450|dg6134|data general 6134:\
11439	:le@:nd=^X:tc=dg200:
11440
11441# Not official...
11442# Note: lesser Dasher terminals will not work with vi because vi insists upon
11443# having a command to move straight down from any position on the bottom line
11444# and scroll the screen up, or a direct vertical scroll command.  The 460 and
11445# above have both, the D210/211, for instance, has neither.  We must use ANSI
11446# mode rather than DG mode because standard UNIX tty drivers assume that ^H is
11447# backspace on all terminals.  This is not so in DG mode.
11448# (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
11449# grounds that there is no matching ":ml:"
11450dg460-ansi|Data General Dasher 460 in ANSI-mode:\
11451	:am:bs:ms:ul:\
11452	:co#80:it#8:li#24:\
11453	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%2;%2H:dc=\E[P:\
11454	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=^^F@:k0=\E[001z:\
11455	:k1=\E[002z:k2=\E[003z:k3=\E[004z:k4=\E[005z:k5=\E[006z:\
11456	:k6=\E[007z:k7=\E[008z:k8=\E[009z:k9=\E[00\072z:kb=\E[D:\
11457	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:l1=f2:l2=f3:\
11458	:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l9=f10:le=^H:mb=\E[5m:\
11459	:me=\E(B\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nl=\ED:ps=\E[i:\
11460	:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:u6=\E[%d;%dR:\
11461	:u7=\E[6n:u8=\E[5n:u9=\E[0n:ue=\E[05:up=\E[A:us=\E[4m:
11462# From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
11463# Data General 605x
11464# Ought to work for a Model 6242, Type D210 as well as a 605x.
11465# Note that the cursor-down key transmits ^Z.  Job control users, beware!
11466# This also matches a posted description of something called a `Dasher 100'
11467# so there's a dg100 alias here.
11468# (dg6053: the 4.4BSD file had :le=^H:, :do=^J:, :nd=^S:. -- esr)
11469dg6053-old|dg100|data general 6053:\
11470	:am:bs:bw:ul:\
11471	:co#80:li#24:\
11472	:bc=^Y:bl=^G:ce=^K:cl=^L:cm=\020%r%.%.:cr=^M:do=^Z:ho=^H:\
11473	:is=^R:k0=^^q:k1=^^r:k2=^^s:k3=^^t:k4=^^u:k5=^^v:k6=^^w:\
11474	:k7=^^x:k8=^^y:k9=^^z:kb=^Y:kd=^Z:kh=^H:kl=^Y:kr=^X:ku=^W:\
11475	:le=^Y:nd=^X:se=\200^^E:so=\200\200\200\200\200\036D:\
11476	:ta=^I:te=^L:ti=^L^R:ue=^U:up=^W:us=^T:ve=^L:vs=^L^R:
11477
11478# (Some performance can be gained over the generic DG terminal type)
11479dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053:\
11480	:xo@:\
11481	:ho=^P\200\200:ll=^P\200^W:tc=dg-generic:
11482
11483# Like 6053, but adds reverse video and more keypad and function keys.
11484d200|d200-dg|Data General DASHER D200:\
11485	:ho@:ll@:md=^^D^T:me=\017\025\035\036E:mr=^^D:se=^^E^]:\
11486	:so=^^D^\:tc=dgkeys+15:tc=dg6053:
11487
11488# DASHER D210 series terminals in ANSI mode.
11489#	Reverse video, no insert/delete character/line, 7 bits/character only.
11490#
11491# Initialization string 1 sets:
11492#	<0		- scrolling enabled
11493#	<1		- blink enabled
11494#	<4		- print characters regardless of attributes
11495d210|d214|Data General DASHER D210 series:\
11496	:NL:am:bw:ms:xo:\
11497	:co#80:li#24:\
11498	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cb=\E[1K:\
11499	:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:do=\E[B:\
11500	:ho=\E[H:i1=\E[<0;<1;<4l:le=^H:ll=\E[H\E[A:mb=\E[5m:\
11501	:md=\E[4;7m:me=\E[m:mh=\E[2m:mr=\E[7m:nd=\E[C:nw=^J:\
11502	:se=\E[m:sf=^J:so=\E[2;7m:ue=\E[m:up=\E[A:us=\E[4m:\
11503	:tc=dgkeys+7b:
11504
11505# DASHER D210 series terminals in DG mode.
11506# Like D200, but adds clear to end-of-screen and needs XON/XOFF.
11507d210-dg|d214-dg|Data General DASHER D210 series in DG mode:\
11508	:xo:\
11509	:cd=^^FF:tc=d200-dg:
11510
11511# DASHER D211 series terminals in ANSI mode.
11512# Like the D210, but with 8-bit characters and local printer support.
11513#
11514# Initialization string 2 sets:
11515#	\E[2;1;1;1v
11516#		2;1	- 8 bit operations
11517#		1;1	- 8 bit (international) keyboard language
11518#	\E(B		- default primary character set (U.S. ASCII)
11519#	\E)4		- default secondary character set (international)
11520#	^O		- primary character set
11521#
11522d211|d215|Data General DASHER D211 series:\
11523	:km:\
11524	:is=\E[2;1;1;1v\E(B\E)4\017:ps=\E[i:tc=dgkeys+8b:\
11525	:tc=d210:
11526
11527# Initialization string 2 sets:
11528#	\E[2;0;1;0v
11529#		2;0	- 7 bit operations
11530#		1;0	- 7 bit (native) keyboard language
11531#	\E(0		- default character set (the keyboard native language)
11532#	^O		- primary character set
11533d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode:\
11534	:km@:\
11535	:is=\E[2;0;1;0v\E(0\017:tc=dgkeys+7b:tc=d211:
11536
11537# Like the D210 series, but adds support for 8-bit characters.
11538#
11539# Reset string 2 sets:
11540#	^^N	- secondary character set
11541#	^^FS0>	- 8 bit international character set
11542#	^^O	- primary character set
11543#	^^FS00	- default character set (matching the native keyboard language)
11544#
11545d211-dg|d215-dg|Data General DASHER D211 series in DG mode:\
11546	:km:\
11547	:rs=\036N\036FS0>\036O\036FS00:tc=d210-dg:
11548
11549d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode:\
11550	:tc=d211-dg:
11551
11552# Enhanced DG mode with changes to be more UNIX compatible.
11553d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode:\
11554	:5i:\
11555	:it#8:\
11556	:#2=^^Pf:#4=^^Pd:%9=^^P0:%f=^^P1:%i=^^Pc:\
11557	:ac=a\177j$k"l!m#n)q+t'u&v(w%x*:ae=\036FS00:\
11558	:as=\036FS11:ce=^^PE:ch=\020%.\177:cl=^^PH:cv=\020\177%.:\
11559	:do=^^PB:ho=^^PF:i1=\022\003\036P@1:i2=\036Fz0:kC=^^PH:\
11560	:kE=^^PE:kd=^^PB:kh=^^PF:kl=^^PD:kr=^^PC:ku=^^PA:le=^^PD:\
11561	:mb=^^PI:me=\036PJ\025\035\036E\036FS00:nd=^^PC:pf=^^Fa:\
11562	:po=^^F`:ps=\036F?9:rs=\036N\036FS0E\036O\036FS00:sf=^J:\
11563	:ta=^I:up=^^PA:tc=dgkeys+15:tc=d216-dg:
11564d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines:\
11565	:li#25:\
11566	:i2=\036Fz2:tc=d216+:
11567
11568d217-unix|Data General DASHER D217 in DG-UNIX mode:\
11569	:tc=d216-unix:
11570d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines:\
11571	:tc=d216-unix-25:
11572
11573# DASHER D220 color terminal in ANSI mode.
11574# Like the D470C but with fewer colors and screen editing features.
11575#
11576# Initialization string 1 sets:
11577#	\E[<0;<1;<4l
11578#		<0	- scrolling enabled
11579#		<1	- blink enabled
11580#		<4	- print characters regardless of attributes
11581#	\E[m		- all attributes off
11582# Reset string 1 sets:
11583#	\Ec		- initial mode defaults (RIS)
11584#
11585d220|Data General DASHER D220:\
11586	:5i@:\
11587	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
11588	:tc=dg+color8:tc=d470c:
11589
11590d220-7b|Data General DASHER D220 in 7 bit mode:\
11591	:5i@:\
11592	:AL@:DL@:al@:dl@:i1=\E[<0;<1;<4l\E[m:pf@:po@:r1=\Ec:\
11593	:tc=dg+color8:tc=d470c-7b:
11594
11595# Initialization string 3 sets:
11596#	- default cursor (solid rectangle)
11597# Reset string 2 sets:
11598#	^^N     - secondary character set
11599#	^^FS0>  - 8 bit international character set
11600#	^^O     - primary character set
11601#       ^^FS00  - default character set (matching the native keyboard language)
11602#
11603d220-dg|Data General DASHER D220 color terminal in DG mode:\
11604	:5i@:\
11605	:al@:dl@:ho@:i2=\036FQ2:is@:ll@:pf@:po@:r1@:\
11606	:rs=\036N\036FS0>\036O\036FS00:tc=dgmode+color8:\
11607	:tc=d470c-dg:
11608
11609# DASHER D230C color terminal in ANSI mode.
11610# Like the D220 but with minor ANSI compatibility improvements.
11611#
11612d230c|d230|Data General DASHER D230C:\
11613	:ke=\E[2;1v:ks=\E[2;0v:mb=\E[5;50m:md=\E[4;7;50m:\
11614	:me=\E[50m\E)4\017:mh=\E[2;50m:mr=\E[7;50m:nw=^M^J:\
11615	:se=\E[50m:so=\E[2;7;50m:ue=\E[50m:us=\E[4;50m:\
11616	:tc=dgkeys+7b:tc=d220:
11617
11618d230c-dg|d230-dg|Data General DASHER D230C in DG mode:\
11619	:tc=d220-dg:
11620
11621# DASHER D400/D450 series terminals.
11622# These add intelligent features like insert/delete to the D200 series.
11623#
11624# Initialization string 2 sets:
11625#	^^FQ2		- default cursor (solid rectangle)
11626#	^^FW		- character protection disabled
11627#	^^FJ		- normal (80 column) mode
11628#	^^F\^		- horizontal scrolling enabled (for alignment)
11629#	^^FX004?	- margins at columns 0 and 79
11630#	^^F]		- horizontal scrolling disabled
11631#	^^O		- primary character set
11632#	^^FS00		- default character set (the keyboard native language)
11633#	- (should reset scrolling regions, but that glitches the screen)
11634# Reset string 1 sets:
11635#	^^FA		- all terminal defaults except scroll rate
11636# Reset string 2 sets:
11637#	^^F]		- horizontal scrolling disabled
11638#	^^FT0		- jump scrolling
11639#
11640d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series:\
11641	:5i:\
11642	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=^^O:al=^^FH:as=^^N:\
11643	:ch=\020%.\177:cv=\020\177%.:dc=^^K:dl=^^FI:\
11644	:eA=\036N\036FS11\036O:ei=:ho=^^FG:ic=^^J:im=:\
11645	:is=\036FQ2\036FW\036FJ\036F\136\036FX004?\036F]\036O\036FS00:\
11646	:ll=\036FG\027:me=\017\025\035\036E\036O:pf=^^Fa:\
11647	:po=^^F`:r1=^^FA:r2=\036F]\036FT0:sr=^^I:ve=\036FQ2:\
11648	:vi=\036FQ0:tc=d210-dg:
11649
11650# DASHER D410/D460 series terminals in ANSI mode.
11651# These add a large number of intelligent terminal features.
11652#
11653# Initialization string 1 sets:
11654#	\E[<0;<1;<2;<4l
11655#		<0	- scrolling enabled
11656#		<1	- blink enabled
11657#		<2	- horizontal scrolling enabled (for alignment)
11658#		<4	- print characters regardless of attributes
11659#	\E[5;0v		- normal (80 column) mode
11660#	\E[1;1;80w	- margins at columns 1 and 80
11661#	\E[1;6;<2h
11662#		1	- print all characters even if protected
11663#		6	- character protection disabled
11664#		<2	- horizontal scrolling disabled
11665#	- (should reset scrolling regions, but that glitches the screen)
11666#
11667# Initialization string 2 sets:
11668#	\E[3;2;2;1;1;1v
11669#		3;2	- default cursor (solid rectangle)
11670#		2;1	- 8 bit operations
11671#		1;1	- international keyboard language
11672#	\E(B		- default primary character set (U.S. ASCII)
11673#	\E)4		- default secondary character set (international)
11674#	^O		- primary character set
11675#
11676#	Reset string 1 sets:
11677#	\Ec		- initial mode defaults (RIS)
11678#	\E[<2h		- horizontal scrolling disabled
11679#
11680# Reset string 2 sets:
11681#	\E[4;0;2;1;1;1v
11682#		4;0	- jump scrolling
11683#		2;1	- 8 bit operations
11684#		1;1	- 8 bit (international) keyboard language
11685#	\E(B		- default primary character set (U.S. ASCII)
11686#	\E)4		- default secondary character set (international)
11687#
11688d410|d411|d460|d461|Data General DASHER D410/D460 series:\
11689	:5i:\
11690	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:\
11691	:ac=j$k"l!m#n)q+t'u&v(w%x*:ae=\E)4\017:al=\E[L:\
11692	:as=\E)6\016:dc=\E[P:dl=\E[M:ei=:\
11693	:i1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h:\
11694	:ic=\E[@:im=:is=\E[3;2;2;1;1;1v\E(B\E)4\017:me=\E[m:\
11695	:pf=\E[4i:po=\E[5i:r1=\Ec\E[<2h:\
11696	:r2=\E[4;0;2;1;1;1v\E(B\E)4:sr=\EM:ve=\E[3;2v:\
11697	:vi=\E[3;0v:tc=d211:
11698
11699# Initialization string 2 sets:
11700#	\E[3;2;2;0;1;0v
11701#		3;2	- default cursor (solid rectangle)
11702#		2;0	- 7 bit operations
11703#		1;0	- 7 bit (native) keyboard language
11704#	\E(0		- default character set (the keyboard native language)
11705#	^O		- primary character set
11706#
11707# Reset string 2 sets:
11708#	\E[4;0;2;0;1;0v
11709#		4;0	- jump scrolling
11710#		2;0	- 7 bit operations
11711#		1;0	- 7 bit (native) keyboard language
11712#	\E(0		- default character set (the keyboard native language)
11713#
11714d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode:\
11715	:km@:\
11716	:ae=^O:as=^N:eA=\E)6:is=\E[3;2;2;0;1;0v\E(0\017:me=\E[m:\
11717	:rs=\E[4;0;2;0;1;0v\E(0:tc=dgkeys+7b:tc=d410:
11718
11719d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode:\
11720	:km:\
11721	:ae=\036FS00:as=\036FS11:eA@:\
11722	:me=\017\025\035\036E\036FS00:tc=d400-dg:
11723
11724# DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
11725#
11726# Initialization string 1 sets:
11727#	\E[<0;<1;<2;<4l
11728#		<0	- scrolling enabled
11729#		<1	- blink enabled
11730#		<2	- horizontal scrolling enabled (for alignment)
11731#		<4	- print characters regardless of attributes
11732#	\E[5;1v		- compressed (135 column) mode
11733#	\E[1;1;126	- margins at columns 1 and 126
11734#	\E[1;6;<2h
11735#		1	- print all characters even if protected
11736#		6	- character protection disabled
11737#		<2	- horizontal scrolling disabled
11738#	- (should reset scrolling regions, but that glitches the screen)
11739#
11740# Reset string 1 sets:
11741#	\Ec		- initial mode defaults (RIS)
11742#	\E[5;1v		- compressed (135 column) mode
11743#	\E[1;1;126w	- margins at columns 1 and 126
11744#	\E[<2h		- horizontal scrolling disabled
11745#
11746d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode:\
11747	:co#126:\
11748	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
11749	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:tc=d410:
11750
11751d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode:\
11752	:co#126:\
11753	:i1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h:\
11754	:r1=\Ec\E[5;1v\E[1;1;126w\E[<2h:tc=d410-7b:
11755
11756d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode:\
11757	:tc=d410-dg:
11758
11759# These add intelligent features like scrolling regions.
11760d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode:\
11761	:al=^^FH:cl=^^FE:dc=^^K:dl=^^FI:ei=:ho=^^FG:ic=^^J:im=:\
11762	:is=\036FQ5\036FW\036FJ\036F\136\036FX004F\036O\036FS00:\
11763	:ll=\036FG\036PA:ps=^A:r1=\036FA\036FT0:r2=\036P@1:\
11764	:rc=\036F}11:sc=\036F}10:sr=^^I:ve=\036FQ5:vi=\036FQ0:\
11765	:tc=d216+:
11766d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode:\
11767	:co#132:\
11768	:is=\036FQ5\036FW\036FK\036F\136\036FX0083\036O\036FS00:\
11769	:rs=\036P@1\036FK\036FX0083:tc=d412-unix:
11770d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines:\
11771	:li#25:\
11772	:i2=\036Fz2:tc=d462+:
11773d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line:\
11774	:es:hs:\
11775	:cl=\036FG\036PH:fs=\036F}01\022:\
11776	:i2=\036Fz2\036F}00\036FB180000\036F}01:ll@:tc=d462+:
11777
11778#	Relative cursor motions are confined to the current window,
11779#	which is not what the scrolling region specification expects.
11780#	Thus, relative vertical cursor positioning must be deleted.
11781d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region:\
11782	:do@:ll@:up@:tc=d462+:
11783
11784d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode:\
11785	:tc=d412-unix:
11786d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode:\
11787	:tc=d412-unix-w:
11788d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines:\
11789	:tc=d412-unix-25:
11790d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line:\
11791	:tc=d412-unix-s:
11792d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region:\
11793	:tc=d412-unix-sr:
11794
11795d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode:\
11796	:tc=d413-unix:
11797d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode:\
11798	:tc=d413-unix-w:
11799d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines:\
11800	:tc=d413-unix-25:
11801d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line:\
11802	:tc=d413-unix-s:
11803d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\
11804	:tc=d413-unix-sr:
11805
11806d430c-dg|d430-dg|Data General D430C in DG mode:\
11807	:tc=d413-dg:tc=dg+fixed:
11808d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors:\
11809	:tc=d413-dg:tc=dg+ccc:
11810
11811d430c-unix|d430-unix|Data General D430C in DG-UNIX mode:\
11812	:tc=d413-unix:tc=dgunix+fixed:
11813d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode:\
11814	:tc=d413-unix-w:tc=dgunix+fixed:
11815d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines:\
11816	:tc=d413-unix-25:tc=dgunix+fixed:
11817d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line:\
11818	:tc=d413-unix-s:tc=dgunix+fixed:
11819d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\
11820	:tc=d413-unix-sr:tc=dgunix+fixed:
11821d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors:\
11822	:tc=d413-unix:tc=dgunix+ccc:
11823d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors:\
11824	:tc=d413-unix-w:tc=dgunix+ccc:
11825d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors:\
11826	:tc=d413-unix-25:tc=dgunix+ccc:
11827d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors:\
11828	:tc=d413-unix-s:tc=dgunix+ccc:
11829d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors:\
11830	:tc=d413-unix-sr:tc=dgunix+ccc:
11831
11832# DASHER D470C color terminal in ANSI mode.
11833# Like the D460 but with 16 colors and without a compressed mode.
11834#
11835# Initialization string 1 sets:
11836#	\E[<0;<1;<2;<4l
11837#		<0	- scrolling enabled
11838#		<1	- blink enabled
11839#		<2	- horizontal scrolling enabled (for alignment)
11840#		<4	- print characters regardless of attributes
11841#	\E[1;1;80w	- margins at columns 1 and 80
11842#	\E[1;6;<2h
11843#		1	- print all characters even if protected
11844#		6	- character protection disabled
11845#		<2	- horizontal scrolling disabled
11846#	- (should reset scrolling regions, but that glitches the screen)
11847#
11848d470c|d470|Data General DASHER D470C:\
11849	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=dg+color:\
11850	:tc=d460:
11851
11852d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode:\
11853	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=dg+color:\
11854	:tc=d460-7b:
11855
11856# Initialization string 2 sets:
11857#	^^FQ2		- default cursor (solid rectangle)
11858#	^^FW		- character protection disabled
11859#	^^F\^		- horizontal scrolling enabled (for alignment)
11860#	^^FX004?	- margins at columns 0 and 79
11861#	^^F]		- horizontal scrolling disabled
11862#	^^O		- primary character set
11863#	^^FS00		- default character set (the keyboard native language)
11864#	- (should reset scrolling regions, but that glitches the screen)
11865#
11866d470c-dg|d470-dg|Data General DASHER D470C in DG mode:\
11867	:is=\036FQ2\036FW\036F\136\036FX004?\036F]\036O\036FS00:\
11868	:tc=dgmode+color:tc=d460-dg:
11869
11870# DASHER D555 terminal in ANSI mode.
11871# Like a D411, but has an integrated phone.
11872d555|Data General DASHER D555:\
11873	:tc=d411:
11874d555-7b|Data General DASHER D555 in 7-bit mode:\
11875	:tc=d411-7b:
11876d555-w|Data General DASHER D555 in wide mode:\
11877	:tc=d411-w:
11878d555-7b-w|Data General DASHER D555 in wide 7-bit mode:\
11879	:tc=d411-7b-w:
11880d555-dg|Data General DASHER D555 series in DG mode:\
11881	:tc=d411-dg:
11882
11883# DASHER D577 terminal in ANSI mode.
11884# Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
11885d577|Data General DASHER D577:\
11886	:tc=d411:
11887d577-7b|Data General DASHER D577 in 7-bit mode:\
11888	:tc=d411-7b:
11889d577-w|Data General DASHER D577 in wide mode:\
11890	:tc=d411-w:
11891d577-7b-w|Data General DASHER D577 in wide 7-bit mode:\
11892	:tc=d411-7b-w:
11893
11894d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode:\
11895	:tc=d411-dg:
11896
11897# DASHER D578 terminal.
11898# Like a D577, but without compressed mode; like a D470C in this respect.
11899#
11900# Initialization string 1 sets:
11901#	\E[<0;<1;<2;<4l
11902#		<0	- scrolling enabled
11903#		<1	- blink enabled
11904#		<2	- horizontal scrolling enabled (for alignment)
11905#		<4	- print characters regardless of attributes
11906#	\E[1;1;80w	- margins at columns 1 and 80
11907#	\E[1;6;<2h
11908#		1	- print all characters even if protected
11909#		6	- character protection disabled
11910#		<2	- horizontal scrolling disabled
11911#	- (should reset scrolling regions, but that glitches the screen)
11912#
11913d578|Data General DASHER D578:\
11914	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577:
11915d578-7b|Data General DASHER D578 in 7-bit mode:\
11916	:i1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h:tc=d577-7b:
11917
11918#### Datamedia (dm)
11919#
11920# Datamedia was headquartered in Nashua, New Hampshire until it went
11921# out of business in 1993, but the ID plates on the terminals referred
11922# to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
11923# manufacturer which threw out all information about the terminals.
11924#
11925
11926cs10|colorscan|Datamedia Color Scan 10:\
11927	:ms:\
11928	:co#80:li#24:\
11929	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%2;%2H:cr=^M:\
11930	:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:kl=\E[D:\
11931	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:\
11932	:so=\E[7m:ue=\E[m:up=\E[A:us=\E[4m:
11933cs10-w|Datamedia Color Scan 10 with 132 columns:\
11934	:co#132:\
11935	:cm=\E[%i%2;%3H:tc=cs10:
11936
11937# (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
11938dm1520|dm1521|datamedia 1520:\
11939	:am:bs:xn:\
11940	:co#80:it#8:li#24:\
11941	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
11942	:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:nd=^\:sf=^J:ta=^I:up=^_:
11943# dm2500: this terminal has both :IC: and :im:. Applications using
11944# termcap/terminfo directly (rather than through ncurses) might be confused.
11945dm2500|datamedia2500|datamedia 2500:\
11946	:bs:nc:\
11947	:co#80:li#24:\
11948	:al=15\020\n\030\035\030\035:bl=^G:ce=^W:cl=^^^^\177:\
11949	:cm=\014%r%n%.%.:dc=10*\020\010\030\035:\
11950	:dl=10*\020\032\030\035:dm=^P:do=^J:ed=^X^]:\
11951	:ei=10\377\377\030\035:ho=^B:ic=10*\020\034\030\035:\
11952	:im=^P:le=^H:nd=^\:pc=\377:se=^X^]:sf=^J:so=^N:up=^Z:
11953# dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
11954# also, has a meta-key.
11955# From: <goldberger@su-csli.arpa>
11956# (dmchat: ":MT:" changed to ":km:" -- esr)
11957dmchat|dmchat version of datamedia 2500:\
11958	:km:\
11959	:al=1*\020\n\030\035\030\035:dl=2\020\032\030\035:\
11960	:tc=dm2500:
11961# (dm3025: ":MT:" changed to ":km:" -- esr)
11962dm3025|datamedia 3025a:\
11963	:bs:km:\
11964	:co#80:it#8:li#24:\
11965	:al=130\EP\n\EQ:bl=^G:cd=2\EJ:ce=\EK:cl=2\EM:\
11966	:cm=\EY%r%+ %+ :cr=^M:dc=6\010:dl=130\EP\EA\EQ:dm=\EP:\
11967	:do=^J:ed=\EQ:ei=\EQ:ho=\EH:im=\EP:ip=6:is=\EQ\EU\EV:le=^H:\
11968	:nd=\EC:se=\EO0:sf=^J:so=\EO1:ta=^I:up=\EA:
11969dm3045|datamedia 3045a:\
11970	:am:bs:eo:km@:ul:xn:\
11971	:al@:dc=6\EB:dl@:dm@:ed@:ei=\EP:is=\EU\EV:k0=\Ey\r:k1=\Ep\r:\
11972	:k2=\Eq\r:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:\
11973	:k8=\Ew\r:k9=\Ex\r:kh=\EH:kr=\EC:ku=\EA:pc=\177:se@:so@:\
11974	:tc=dm3025:
11975# Datamedia DT80 soft switches:
11976# 1	0=Jump  1=Smooth
11977# 	Autorepeat 	0=off  1=on
11978# 	Screen		0=Dark 1=light
11979# 	Cursor		0=u/l  1=block
11980#
11981# 2	Margin Bell	0=off  1=on
11982# 	Keyclick	0=off  1=on
11983# 	Ansi/VT52	0=VT52 1=Ansi
11984# 	Xon/Xoff	0=Off  1=On
11985#
11986# 3	Shift3		0=Hash 1=UK Pound
11987# 	Wrap		0=Off  1=On
11988# 	Newline		0=Off  1=On
11989# 	Interlace	0=Off  1=On
11990#
11991# 4	Parity		0=Odd  1=Even
11992# 	Parity		0=Off  1=On
11993# 	Bits/Char	0=7    1=8
11994# 	Power		0=60Hz 1=50Hz
11995#
11996# 5	Line Interface  0=EIA  1=Loop
11997# 	Aux Interface   0=EIA  1=Loop
11998# 	Local Copy    	0=Off  1=On
11999# 	Spare
12000#
12001# 6	Aux Parity	0=Odd  1=Even
12002# 	Aux Parity	0=Off  1=On
12003# 	Aux Bits/Char   0=7    1=8
12004# 	CRT Saver	0=Off  1=On
12005# dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
12006dm80|dmdt80|dt80|datamedia dt80/1:\
12007	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=%i\E[%d;%dH:do=^J:\
12008	:ho=\E[H:me=\E[m:nd=\E[C:pf=\E[4i:po=\E[5i:ps=\E[0i:\
12009	:se=\E[m:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:us=\E[4m:tc=vt100:
12010# except in 132 column mode, where it needs a little padding.
12011# This is still less padding than the vt100, and you can always turn on
12012# the ^S/^Q handshaking, so you can use vt100 flavors for things like
12013# reverse video.
12014dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode:\
12015	:co#132:\
12016	:cd=20\E[0J:ce=20\E[0K:cl=50\E[H\E[2J:cm=5\E[%i%d;%dH:\
12017	:do=^J:up=5\E[A:tc=dm80:
12018# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
12019dt80-sas|Datamedia DT803/DTX for SAS usage:\
12020	:am:bw:\
12021	:co#80:li#24:\
12022	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
12023	:ae=\EG:al=\EL:as=\EF:bl=^G:cd=^K:ce=^]:cl=^L:\
12024	:cm=\E=%r%+ %+ :cr=^M:ct=\E'0:dl=\EM:do=\EB:ff=^L:ho=^Y:\
12025	:is=\E)0\E<\EP\E'0\E$2:kC=^L:kE=^]:kS=^K:kd=^J:kh=^Y:kl=^H:\
12026	:kr=^\:ku=^_:le=^H:me=^X:mr=\E$2\004:nd=^\:pf=^O:po=^N:se=^X:\
12027	:sf=\EB:so=\E$2\004:sr=\EI:st=\E'1:ta=^I:up=^_:
12028
12029# Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
12030# These aren't end-all Excel termcaps; but do insert/delete char/line
12031# and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
12032# The naming convention has been bent somewhat, with the use of E? (where
12033# E is for 'Excel') as # a name.  This was done to distinguish the entries
12034# from the other Datamedias in use here, and yet to associate a model of
12035# the Excel terminals with the regular datamedia terminals that share
12036# major characteristics.
12037excel62|excel64|datamedia Excel 62:\
12038	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
12039	:k9=\EOy:kb=^H:kd=^J:kl=^H:tc=dt80:
12040excel62-w|excel64-w|datamedia Excel 62 in 132 char mode:\
12041	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
12042	:k9=\EOy:kb=^H:kd=^J:kl=^H:tc=dt80w:
12043excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode:\
12044	:dc=\E[P:ei=\E[4l:im=\E[4h:k5=\EOu:k6=\EOv:k7=\EOw:k8=\EOx:\
12045	:k9=\EOy:kb=^H:kd=^J:kl=^H:vb=\E[?5l\E[?5h:tc=dt80:
12046
12047#### Falco
12048#
12049#	Falco Data Products
12050#	440 Potrero Avenue
12051#	Sunnyvale, CA 940864-196
12052#	Vox: (800)-325-2648
12053#	Fax: (408)-745-7860
12054#	Net: techsup@charm.sys.falco.com
12055#
12056# Current Falco models as of 1995 are generally ANSI-compatible and support
12057# emulations of DEC VT-series, Wyse, and Televideo types.
12058#
12059
12060# Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
12061# This terminal was released around 1983 and was discontinued long ago.
12062# The standout and underline highlights are the same.
12063falco|ts1|ts-1|falco ts-1:\
12064	:am:bs:\
12065	:co#80:it#8:li#24:\
12066	:al=\EE:bl=^G:cd=\EY:ce=\ET\EG0\010:cl=\E*:cm=\E=%+ %+ :\
12067	:cr=^M:dc=\EW:dl=\ER:do=^J:ei=\Er:ho=^^:im=\Eq:is=\Eu\E3:\
12068	:k0=^A0\r:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:me=\Eg0:nd=^L:\
12069	:se=\Eg0:sf=^J:so=\Eg1:ta=^I:ue=\Eg0:up=^K:us=\Eg1:
12070falco-p|ts1p|ts-1p|falco ts-1 with paging option:\
12071	:am:bs:da:db:mi:ms:ul:\
12072	:co#80:it#8:li#24:\
12073	:al=\EE:bl=^G:bt=\EI:cd=\EY:ce=\ET\EG0\010\Eg0:cl=\E*:\
12074	:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=\E[B:ei=\Er:im=\Eq:\
12075	:is=\EZ\E3\E_c:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
12076	:le=^H:me=\Eg0:nd=\E[C:se=\Eg0:sf=^J:so=\Eg4:ta=^I:te=\E_b:\
12077	:ti=\E_d:ue=\Eg0:up=\E[A:us=\Eg1:
12078# (ts100: I added <rmam>/<smam> based on the init string -- esr)
12079ts100|ts100-sp|falco ts100-sp:\
12080	:am:mi:ms:xn:xo:\
12081	:co#80:it#8:li#24:vt#3:\
12082	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
12083	:UP=\E[%dA:\
12084	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
12085	:ae=^O:al=\E~E:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
12086	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
12087	:ct=\E[3g:dc=\E~W:dl=\E~R:do=^J:eA=\E(B\E)0:ei=:ho=\E[H:\
12088	:i1=\E~)\E~ea:ic=\E~Q:im=:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
12089	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=2\E[5m:\
12090	:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
12091	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
12092	:sf=^J:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
12093	:us=2\E[4m:tc=vt100+fnkeys:
12094ts100-ctxt|falco ts-100 saving context:\
12095	:te=\E~_b:ti=\E~_d\E[2J:tc=ts100:
12096
12097#### Florida Computer Graphics
12098#
12099
12100# Florida Computer Graphics Beacon System, using terminal emulator program
12101# "host.com", as provided by FCG.  This description is for an early release
12102# of the "host" program.  Known bug: :cd: clears the whole screen, so it's
12103# commented out.
12104
12105# From: David Bryant <cbosg!djb> 1/7/83
12106beacon|FCG Beacon System:\
12107	:am:da:db:\
12108	:co#80:li#32:\
12109	:al=\EE:bl=1\ESTART\r\E37\r\EEND\r:ce=\ET:cl=10\EZ:\
12110	:cm=20\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:do=^J:ei=:ho=10\EH:\
12111	:ic=\EQ:im=:le=^H:mb=\ESTART\r\E61,1\r\EEND\r:\
12112	:me=20\ESTART\r\E78\r\E70,0\r\EEND\r:\
12113	:mr=\ESTART\r\E59,1\r\EEND\r:nd=\EV:\
12114	:se=20\ESTART\r\E70,0\r\EEND\r:sf=^J:\
12115	:so=20\ESTART\r\E70,6\r\EEND\r:te=:\
12116	:ti=10\ESTART\r\E2,0\r\E12\r\EEND\r:\
12117	:ue=\ESTART\r\E60,0\r\EEND\r:up=\EU:\
12118	:us=\ESTART\r\E60,1\r\EEND\r:
12119
12120#### Fluke
12121#
12122
12123# The f1720a differences from ANSI: no auto margin, destructive
12124# tabs, # of lines, funny highlighting and underlining
12125f1720|f1720a|fluke 1720A:\
12126	:xt:\
12127	:co#80:li#16:sg#1:ug#1:\
12128	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
12129	:do=\E[B:is=\E[H\E[2J:kd=^]:kl=^_:kr=^^:ku=^\:le=^H:me=\E[m:\
12130	:nd=\E[C:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[m:up=\E[A:\
12131	:us=\E[4m:
12132
12133#### Liberty Electronics (Freedom)
12134#
12135#	Liberty Electronics
12136#	48089 Fremont Blvd
12137#	Fremont CA 94538
12138#	Vox: (510)-623-6000
12139#	Fax: (510)-623-7021
12140
12141# From: <faletti@berkeley.edu>
12142# (f100: added empty <acsc> to suppress a tic warning;
12143# made this relative to adm+sgr -- note that <invis> isn't
12144# known to work for f100 but does on the f110. --esr)
12145f100|freedom|freedom100|freedom model 100:\
12146	:am:bs:bw:hs:mi:ms:xo:\
12147	:co#80:li#24:\
12148	:ac=:ae=\E$:al=8.5*\EE:as=\E%%:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
12149	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:cv=\E[%+ :\
12150	:dc=\EW:dl=11.5*\ER:do=^J:ds=\Eg\Ef\r:ei=\Er:fs=^M:ho=^^:\
12151	:im=\Eq:ip=6:is=\Eg\Ef\r\Ed:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
12152	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
12153	:k;=^AI\r:kB=\EI:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:\
12154	:nd=^L:sf=^J:sr=\Ej:st=\E1:ta=^I:ts=\Eg\Ef:up=^K:vb=\Eb\Ed:\
12155	:tc=adm+sgr:
12156f100-rv|freedom-rv|freedom 100 in reverse video:\
12157	:is=\Eg\Ef\r\Eb:vb=\Ed\Eb:tc=f100:
12158# The f110 and f200 have problems with vi(1).  They use the ^V
12159# code for the down cursor key. When kcud1 is defined in terminfo
12160# as ^V, the Control Character Quoting capability (^V in insert mode)
12161# is lost! It cannot be remapped in vi because it is necessary to enter
12162# a ^V to to quote the ^V that is being remapped!!!
12163#
12164# f110/f200 users will have to decide whether
12165# to lose the down cursor key or the quoting capability. We will opt
12166# initially for leaving the quoting capability out, since use of VI
12167# is not generally applicable to most interactive applications
12168# (f110: added :ta:, :kh: & <kcbt> from f100 -- esr)
12169f110|freedom110|Liberty Freedom 110:\
12170	:bw@:es:\
12171	:it#8:ws#80:\
12172	:ae=\E%%:al=\EE:as=\E$:dl=\ER:do=^V:ds=\Ef\r:ei=\Er\EO:\
12173	:im=\EO\Eq:ip@:is@:k0=^AI\r:k;@:kA=\EE:kC=^^:kD=\EW:kE=\ET:\
12174	:kI=\EQ:kL=\ER:kS=\EY:mb=\EG2:md=\EG0:mh=\EG@:pf=\Ea:po=\E`:\
12175	:so=\EG<:sr=\EJ:ts=\Ef:vb=\Eb\Ed:ve=\E.2:vi=\E.1:tc=f100:
12176f110-14|Liberty Freedom 110 14inch:\
12177	:dc@:tc=f110:
12178f110-w|Liberty Freedom 110 - 132 cols:\
12179	:co#132:tc=f110:
12180f110-14w|Liberty Freedom 110 14in/132 cols:\
12181	:co#132:\
12182	:dc@:tc=f110:
12183# (f200: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
12184f200|freedom200|Liberty Freedom 200:\
12185	:am:bs:es:hs:mi:ms:xo:\
12186	:co#80:it#8:li#24:ws#80:\
12187	:ac=:ae=\E%%:al=\EE:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:\
12188	:ch=\E]%+ :cl=^Z:cm=\E=%+ %+ :cr=^M:cs=\Em0%+ %+ :ct=\E3:\
12189	:cv=\E[%+ :dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=\Er:fs=^M:ho=^^:\
12190	:im=\Eq:k0=^AI\r:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
12191	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kC=^^:\
12192	:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kl=^H:kr=^L:\
12193	:ku=^K:le=^H:mb=\EG2:md=\EG0:mh=\EG@:nd=^L:pf=\Ea:po=\E`:\
12194	:sf=^J:so=\EG<:sr=\EJ:st=\E1:ts=\Ef:up=^K:vb=\Eo\En:ve=\E.1:\
12195	:vi=\E.0:tc=adm+sgr:
12196f200-w|Liberty Freedom 200 - 132 cols:\
12197	:co#132:tc=f200:
12198# The f200 has the ability to reprogram the down cursor key. The key is
12199# reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
12200# so powering the terminal off and on will not cause the change to be lost.
12201f200vi|Liberty Freedom 200 for vi:\
12202	:kd=^J:vb=\Eb\Ed:tc=f200:
12203f200vi-w|Liberty Freedom 200 - 132 cols for vi:\
12204	:co#132:tc=f200vi:
12205
12206#### GraphOn (go)
12207#
12208#	Graphon Corporation
12209#	544 Division Street
12210#	Campbell, CA 95008
12211#	Vox: (408)-370-4080
12212#	Fax: (408)-370-5047
12213#	Net: troy@graphon.com (Troy Morrison)
12214#
12215#
12216# The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
12217# including one odd hybrid that starts out life on power-up as a character
12218# terminal, than can be switched to X graphics mode (driven over the serial
12219# line) by an escape sequence.  No info on this beast yet.
12220# (go140: I added <rmam>/<smam> based on the init string -- esr)
12221go140|graphon go-140:\
12222	:bs:\
12223	:co#80:it#8:li#24:\
12224	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=10\E[J:ce=\E[K:\
12225	:cl=10\E[H\E[2J:cm=\E[%i%2;%2H:dc=\E[P:dl=\E[M:do=\E[B:\
12226	:ei=\E[4l:if=/usr/share/tabset/vt100:im=\E[4h:\
12227	:is=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
12228	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:\
12229	:kh=\E[H:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
12230	:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:\
12231	:up=\E[A:us=\E[4m:
12232go140w|graphon go-140 in 132 column mode:\
12233	:am:\
12234	:co#132:\
12235	:is=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q:\
12236	:tc=go140:
12237# Hacked up vt200 termcap to handle GO-225/VT220
12238# From: <edm@nwnexus.WA.COM>
12239# (go225: I added <rmam>/<smam> based on the init string -- esr)
12240go225|go-225|Graphon 225:\
12241	:am:bs:mi:xn:\
12242	:co#80:it#8:li#25:vt#3:\
12243	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
12244	:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=^J:\
12245	:ei=\E[4l:ho=\E[H:im=\E[4h:\
12246	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:k2=\EOQ:\
12247	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
12248	:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
12249	:mr=\E[7m:nd=\E[C:r1=\E[!p\E[?7h\E[2;1;1#w:rc=\E8:\
12250	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[27m:sf=\ED:\
12251	:so=\E[7m:sr=\EM:ta=^I:te=\E[!p\E[?7h\E[2;1;1#w:\
12252	:ti=\E[2;0#w\E[1;25r:ue=\E[24m:up=\E[A:us=\E[4m:
12253
12254#### Harris (Beehive)
12255#
12256# Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
12257# Their terminal group is ancient history now (1995) though the parent
12258# company is still in business.
12259#
12260
12261# Beehive documentation is undated and marked Preliminary and has no figures
12262# so we must have early Superbee2 (Model 600, according to phone conversation
12263# with mfr.). It has proved reliable except for some missing padding
12264# (notably after \EK and <nl> at bottom of screen).
12265#
12266# The key idea is that AEP mode is poison for :cm: & that US's in
12267# the local memory should be avoided like the plague. That means
12268# that the 2048 character local buffer is used as 25 lines of 80
12269# characters, period. No scrolling local memory, folks. It also
12270# appears that we cannot use naked INS LINE feature since it uses
12271# US. The sbi fakes :al: with an 80-space insert that may be too
12272# slow at low speeds; also spaces get converted to \040 which is
12273# too long for some programs (not vi).  DEL LINE is ok but slow.
12274#
12275# The <nl> string is designed for last line of screen ONLY; cup to
12276# 25th line corrects the motion inherent in scrolling to Page 1.
12277#
12278# There is one understood bug. It is that the screen appears to
12279# pop to a new (blank) page after a :nw:, or leave a half-line
12280# ellipsis to a quad that is the extra 48 memory locations. The
12281# data received is dumped into memory but not displayed.  Not to
12282# worry if :cm: is being used; the lines not displayed will be,
12283# whenever the cursor is moved up there. Since :cm: is addressed
12284# relative to MEMORY of window, nothing is lost; but beware of
12285# relative cursor motion (:up:,:do:,:nd:,:le:). Recommended,
12286# therefore, is setenv MORE -c .
12287#
12288# WARNING: Not all features tested.
12289#
12290# Timings are assembled from 3 sources. Some timings may reflect
12291# SB2/Model 300 that were used if more conservative.
12292# Tested on a Model 600 at 1200 and 9600 bd.
12293#
12294# The BACKSPACEkb option is cute. The NEWLINE key, so cleverly
12295# placed on the keyboard and useless because of AEP, is made
12296# into a backspace key. In use ESC must be pressed twice (to send)
12297# and sending ^C must be prefixed by ESC to avoid that weird
12298# transmit mode associated with ENTER key.
12299#
12300# IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across
12301# the screen, then it has dropped into ENTER mode; hit
12302# RESET--ONLINE--!tset.
12303#
12304# As delivered this machine has a FATAL feature that will throw
12305# it into that strange transmit state (SPOW) if the space bar is
12306# hit after a CR is received, but before receiving a LF (or a
12307# few others).
12308#
12309# The circuits MUST be modified to eliminate the SPOW latch.
12310# This is done by strapping on chip A46 of the I/O board; cut
12311# the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that
12312# chip. This mod has been checked out on a Mod 600 of Superbee II.
12313# With this modification absurdly high timings on cr are
12314# unnecessary.
12315#
12316# NOTE WELL that the rear panel switch should be set to CR/LF,
12317# not AEP!
12318#
12319sb1|beehive superbee:\
12320	:am:bs:bw:da:db:mi:ul:xb:\
12321	:co#80:li#25:sg#1:ug#1:\
12322	:al=3\EN\EL\EQ                                                                                \EP \EO\ER\EA:\
12323	:bl=^G:bt=650\E`:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:cm=\EF%r%3%3:\
12324	:cr=\r:ct=\E3:dc=3\EP:dl=100\EM:do=^J:ei=\ER:ho=1\EH:\
12325	:im=\EQ\EO:is=\EE\EX\EZ\EO\Eb\Eg\ER:k0=\E2:k1=\Ep:k2=\Eq:\
12326	:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\E1:kE=\EK:\
12327	:kI=\EQ\EO:kL=\EM:kM=\ER:kS=\EJ:kb=^_:kd=\EB:kh=\EH:kl=\ED:\
12328	:kr=\EC:ku=\EA:l0=TAB CLEAR:l9=TAB SET:le=^H:me=\E_3:\
12329	:nd=3\EC:se=\E_3:sf=^J:so=\E_1:st=\E1:ta=^I:te=:ti=\EO:\
12330	:ue=\E_3:up=3\EA:us=\E_0:
12331sbi|superbee|beehive superbee at Indiana U.:\
12332	:xb:\
12333	:al=1\EN\EL\EQ \EP \EO\ER\EA:cr=1\r:tc=sb1:
12334# Alternate (older) description of Superbee - f1=escape, f2=^C.
12335# Note: there are at least 3 kinds of superbees in the world.  The sb1
12336# holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
12337# The sb3 puts garbage on the bottom of the screen when you scroll with
12338# the switch in the back set to CRLF instead of AEP.  This description
12339# is tested on the sb2 but should work on all with either switch setting.
12340# The f1/f2 business is for the sb1 and the :xb: can be taken out for
12341# the other two if you want to try to hit that tiny escape key.
12342# This description is tricky: being able to use cup depends on there being
12343# 2048 bytes of memory and the hairy <nl> string.
12344superbee-xsb|beehive super bee:\
12345	:am:da:db:xb:\
12346	:co#80:it#8:li#25:\
12347	:cd=3\EJ:ce=3\EK:cl=3\EH\EJ:cm=\EF%r%3%3:cr=1000\r:ct=\E3:\
12348	:dc=3\EP:dl=100\EM:do=^J:ho=\EH:is=\EH\EJ:k1=\Ep:k2=\Eq:\
12349	:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:kd=\EB:kh=\EH:\
12350	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\E_3:nd=\EC:se=\E_3:\
12351	:sf=\n\200\200\200\n\200\200\200\EA\EK\200\200\200\ET\ET:\
12352	:so=\E_1:st=\E1:ta=^I:up=3\EA:ve=^J:
12353# This loses on lines > 80 chars long, use at your own risk
12354superbeeic|super bee with insert char:\
12355	:ei=\ER:ic=:im=\EQ:tc=superbee-xsb:
12356sb2|sb3|fixed superbee:\
12357	:xb@:tc=superbee:
12358
12359#### Beehive Medical Electronics
12360#
12361# Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
12362# Regarding your question though; Beehive terminals weren't made by Harris.
12363# They were made by Beehive Medical Electronics in Utah. They went out of
12364# business in the early '80s.
12365#
12366# (OK, then, I don't know why a couple of these say "harris beehive".)
12367#
12368
12369# Reports are that most of these Beehive entries (except superbee) have not
12370# been tested and do not work right.  :se: is a trouble spot.  Be warned.
12371
12372# (bee: :ic: was empty, which is obviously bogus -- esr)
12373beehive|bee|harris beehive:\
12374	:am:bs:mi:\
12375	:co#80:li#24:\
12376	:al=\EL:bt=\E>:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :dc=\EP:\
12377	:dl=\EM:do=\EB:ei=\E@:ho=\EH:im=\EQ:kA=\EL:kB=\E>:kC=\EE:\
12378	:kD=\EP:kE=\EK:kI=\EQ:kL=\EM:kM=\E@:kb=^H:kd=\EB:kh=\EH:\
12379	:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:se=\Ed@:so=\EdP:\
12380	:ue=\Ed@:up=\EA:us=\Ed`:
12381# set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
12382# good grief - does this entry make :sg:/:ug: when it doesn't have to?
12383# look at those spaces in :se:/:so:.  Seems strange to me...
12384# (beehive: :if=/usr/share/tabset/beehive: removed, no such file.  If you
12385# really care, cook up one using ^F -- esr)
12386beehive3|bh3m|beehiveIIIm|harris beehive 3m:\
12387	:am:bs:\
12388	:co#80:it#8:li#20:\
12389	:al=160\023:bl=^G:cd=^R:ce=^P:cl=^E^R:cr=^M:dl=350\021:\
12390	:do=^J:ho=^E:le=^H:ll=^E^K:nd=^L:se=\040^_:sf=^J:so=^]\040:\
12391	:st=^F:ta=^I:up=^K:
12392beehive4|bh4|beehive 4:\
12393	:am:\
12394	:co#80:li#24:\
12395	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cr=^M:do=^J:ho=\EH:le=\ED:nd=\EC:\
12396	:sf=^J:up=\EA:
12397# There was an early Australian kit-built computer called a "Microbee".
12398# It's not clear whether this is for one of those or for a relative
12399# of the Beehive.
12400microb|microbee|micro bee series:\
12401	:am:bs:\
12402	:co#80:it#8:li#24:\
12403	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EF%+ %+ :cr=^M:do=^J:k1=\Ep:\
12404	:k2=\Eq:k3=\Er:k4=\Es:k5=\Et:k6=\Eu:k7=\Ev:k8=\Ew:k9=\Ex:\
12405	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:me=\Ed@:nd=\EC:\
12406	:se=\Ed@:sf=^J:so=\040\EdP:ta=^I:ue=\Ed@:up=\EA:us=\Ed`:
12407
12408# 8675, 8686, and bee from Cyrus Rahman
12409# (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
12410ha8675|harris 8675:\
12411	:F1=^W:F2=\ER:F3=\EE:F4=\EI:F5=\Ei:F6=\Eg:\
12412	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU:k1=^F:k2=^P:k3=^N:\
12413	:k4=^V:k5=^J:k6=^T:k7=^H:k8=\177:k9=\Ee:k;=\Ed:tc=bee:
12414# (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
12415# in :is: -- esr)
12416ha8686|harris 8686:\
12417	:F1=\EW:F2=\002\E{\003:F3=\002\E|\003:F4=\002\E}\003:\
12418	:F5=\002\E~\003:F6=\002\E\177\003:\
12419	:is=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#:\
12420	:k1=\002\Ep\003:k2=\002\Eq\003:k3=\002\Er\003:\
12421	:k4=\002\Es\003:k5=\E3:k6=\EI:k7=\ER:k8=\EJ:k9=\E(:k;=\Ej:\
12422	:tc=bee:
12423
12424#### Hazeltine
12425#
12426# Hazeltine appears to be out of the terminal business as of 1995.  These
12427# guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
12428# Harris. They have a hazeltine.com domain (but no web page there ) and can
12429# be reached at:
12430#
12431#	Hazeltine
12432#	450 East Pulaski Road
12433#	Greenlawn, New York 11740
12434#
12435# As late as 1993, manuals for the terminal product line could still be
12436# purchased from:
12437#
12438#	TRW Customer Service Division
12439#	15 Law Drive
12440#	P.O. Box 2076
12441#	Fairfield, NJ 07007-2078
12442#
12443# They're now (1998) a subsidiary of General Electric, operating under the
12444# marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
12445# at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
12446#
12447
12448# Since :nd: is blank, when you want to erase something you
12449# are out of luck.  You will have to do ^L's a lot to
12450# redraw the screen.  h1000 is untested.  It doesn't work in
12451# vi - this terminal is too dumb for even vi.  (The code is
12452# there but it isn't debugged for this case.)
12453hz1000|hazeltine 1000:\
12454	:bs:\
12455	:co#80:li#12:\
12456	:bl=^G:cl=^L:cr=^M:do=^J:ho=^K:le=^H:nd=\040:sf=^J:
12457# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
12458hz1420|hazeltine 1420:\
12459	:am:bs:\
12460	:co#80:li#24:\
12461	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%+ :\
12462	:cr=^M:dl=\E^S:do=^J:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:ta=^N:\
12463	:up=\E^L:
12464# New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
12465# freakout with out-of-range args and tn3270.  No hz since it needs to
12466# receive tildes.
12467hz1500|hazeltine 1500:\
12468	:am:bs:hz:\
12469	:co#80:li#24:\
12470	:al=40~\032:bl=^G:cd=10~\030:ce=~^O:cl=~^\:\
12471	:cm=~\021%r%>^^ %+`%+`:cr=^M:dl=40~\023:do=~^K:ho=~^R:\
12472	:kd=^J:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:nd=^P:se=~^Y:sf=^J:\
12473	:so=~^_:up=~^L:
12474# h1510 assumed to be in sane escape mode.  Else use h1500.
12475# (h1510: early versions of this entry apparently had ":se=\E^_:,
12476# :so=\E^Y:, but these caps were commented out in 8.3; also,
12477# removed incorrect and overridden ":do=^J:" -- esr)
12478hz1510|hazeltine 1510:\
12479	:am:bs:\
12480	:co#80:li#24:\
12481	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
12482	:cr=^M:dl=\E^S:do=\E^K:le=^H:nd=^P:sf=^J:up=\E^L:
12483# Hazeltine 1520
12484# The following switch settings are assumed for normal operation:
12485#	FULL		CR		U/L_CASE	ESCAPE
12486#	FORMAT_OFF	EOM_A_OFF	EOM_B_OFF	WRAPAROUND_ON
12487# Other switches may be set for operator convenience or communication
12488# requirements.
12489hz1520|Hazeltine 1520:\
12490	:am:bs:bw:ms:\
12491	:co#80:li#24:\
12492	:al=\E^Z:bl=^G:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%.%.:\
12493	:cr=^M:dl=\E^S:do=^J:ho=\E^R:kA=\E^Z:kC=\E^\:kE=\E^O:\
12494	:kL=\E^S:kS=\E^X:kb=^H:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:\
12495	:le=^H:md=\E^_:me=\E^Y:nd=^P:r1=\E$\E\005\E?\E\031:\
12496	:se=\E^Y:sf=^J:so=\E^_:up=\E^L:
12497# This version works with the escape switch off
12498# (h1520: removed incorrect and overridden ":do=^J:" -- esr)
12499hz1520-noesc|hazeltine 1520:\
12500	:am:hz:\
12501	:co#80:li#24:\
12502	:al=~^Z:bl=^G:cd=~^X:ce=~^O:cl=~^\:cm=1~\021%r%.%.:cr=^M:\
12503	:dl=~^S:do=~^K:ho=~^R:le=^H:nd=^P:se=~^Y:sf=^J:so=~^_:up=~^L:
12504# Note: the h1552 appears to be the first Hazeltine terminal which
12505# is not braindamaged.  It has tildes and backprimes and everything!
12506# Be sure the auto lf/cr switch is set to cr.
12507hz1552|hazeltine 1552:\
12508	:bs:\
12509	:al=\EE:dl=\EO:do=^J:k1=\EP:k2=\EQ:k3=\ER:l1=blue:l2=red:\
12510	:l3=green:tc=vt52:
12511hz1552-rv|hazeltine 1552 reverse video:\
12512	:do=^J:se=\ET:so=\ES:tc=hz1552:
12513# Note: h2000 won't work well because of a clash between upper case and ~'s.
12514hz2000|hazeltine 2000:\
12515	:am:bs:nc:\
12516	:co#74:li#27:\
12517	:al=6~\032:bl=^G:cl=6~\034:cm=~\021%r%.%.:dl=6~\023:do=^J:\
12518	:ho=~^R:le=^H:pc=\177:sf=^J:
12519# Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
12520# I tested this termcap entry for the Hazeltine Esprit with vi. It seems
12521# to work ok. There is one problem though if one types a lot of garbage
12522# characters very fast vi seems not able to keep up and hangs while trying
12523# to insert. That's in insert mode while trying to insert in the middle of
12524# a line. It might be because the Esprit doesn't have insert char and delete
12525# char as a built in function. Vi has to delete to end of line and then
12526# redraw the rest of the line.
12527esprit|Hazeltine Esprit I:\
12528	:am:bs:bw:\
12529	:co#80:li#24:\
12530	:al=\E^Z:bl=^G:bt=\E^T:cd=\E^W:ce=\E^O:cl=\E^\:\
12531	:cm=\E\021%r%.%.:cr=^M:dl=\E^S:do=\E^K:ho=\E^R:is=\E?:\
12532	:k0=^B0^J:k1=^B1^J:k2=^B2^J:k3=^B3^J:k4=^B4^J:k5=^B5^J:\
12533	:k6=^B6^J:k7=^B7^J:k8=^B8^J:k9=^B9^J:kb=^H:kd=\E^K:ke=\E>:\
12534	:kh=\E^R:kl=^H:kr=^P:ks=\E<:ku=\E^L:l0=0:l1=1:l2=2:l3=3:l4=4:\
12535	:l5=5:l6=6:l7=7:l8=8:l9=9:le=^H:nd=^P:se=\E^Y:sf=^J:so=\E^_:\
12536	:up=\E^L:
12537esprit-am|hazeltine esprit auto-margin:\
12538	:am:tc=esprit:
12539# Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
12540# Vi it seems always wants to send a control J for "do" and it turned out
12541# that the terminal would work somewhat if the auto LF/CR was turned off.
12542# (hmod1: removed :dn=~^K: -- esr)
12543hmod1|Hazeltine Modular 1:\
12544	:am:bs:hz:\
12545	:co#80:li#24:\
12546	:al=~^Z:bl=^G:bt=~^T:cl=~^\:cm=~\021%r%.%.:cr=^M:dl=~^S:\
12547	:do=~^K:ho=~^R:kd=~^K:kh=~^R:kl=^H:kr=^P:ku=~^L:le=^H:me=~^Y:\
12548	:nd=^P:rc=~^Q:sc=~^E:se=~^Y:sf=^J:so=~^_:up=~^L:
12549#
12550# Hazeltine Executive 80 Model 30 (1554?)
12551#	from  Will Martin <control@ALMSA-1.ARPA> via BRL
12552# Like VT100, except for different "am" behavior.
12553hazel|exec80|h80|he80|Hazeltine Executive 80:\
12554	:am:bs:pt:\
12555	:co#80:it#8:li#24:vt#3:\
12556	:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
12557	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
12558	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
12559	:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
12560	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
12561	:nd=2\E[C:nl=^J:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
12562	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:\
12563	:so=2\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
12564
12565#### IBM
12566#
12567
12568ibm327x|line mode IBM 3270 style:\
12569	:gn:\
12570	:ce=^M:cl=^M^J:ho=^M:
12571
12572ibm3101|i3101|IBM 3101-10:\
12573	:am:bs:xo:\
12574	:co#80:li#24:\
12575	:bl=^G:cd=\EJ:ce=\EI:cl=\EK:cm=\EY%+ %+ :cr=^M:ct=\EH:do=^J:\
12576	:ho=\EH:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:nw=^M^J:\
12577	:sf=^J:st=\E0:up=\EA:
12578ibm3151|IBM 3151 display:\
12579	:ae=\E>B:as=\E>A:is=\E S:me=\E4@:rs=\E S:s0=\E>B:te=\E>B:\
12580	:ti=\E>B:tc=ibm3162:
12581# From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992
12582# removed kend, knp, kpp -TD
12583ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display:\
12584	:am:bs:mi:ms:\
12585	:co#80:it#8:li#24:\
12586	:F1=\Ek\r:F2=\El\r:F3=\E!a\r:F4=\E!b\r:F5=\E!c\r:\
12587	:F6=\E!d\r:F7=\E!e\r:F8=\E!f\r:F9=\E!g\r:FA=\E!h\r:\
12588	:FB=\E!i\r:FC=\E!j\r:FD=\E!k\r:FE=\E!l\r:\
12589	:ac=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370:\
12590	:bl=^G:cd=\EJ:ce=\EI:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:dc=\EQ:\
12591	:dl=\EO:do=\EB:ho=\EH:k1=\Ea\r:k2=\Eb\r:k3=\Ec\r:k4=\Ed\r:\
12592	:k5=\Ee\r:k6=\Ef\r:k7=\Eg\r:k8=\Eh\r:k9=\Ei\r:k;=\Ej\r:\
12593	:kA=\EN:kB=\E2:kC=\EL\r:kD=\EQ:kE=\EI:kI=\EP \010:kL=\EO:\
12594	:kS=\EJ:kT=\E0:ka=\E 1:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
12595	:kt=\E1:ku=\EA:le=\ED:mb=\E4D:md=\E4H:me=\E4@\E<@:mk=\E4P:\
12596	:mr=\E4A:nd=\EC:pf=^P^T:po=^P^R:se=\E4@:sf=^J:so=\E4A:\
12597	:te=\E>A:ti=\E>A:ue=\E4@:up=\EA:us=\E4B:
12598
12599ibm3161-C|IBM 3161-C NLS terminal using cartridge:\
12600	:s0=\E>B:s1=\E>A:te=\E>B:ti=\E>B:tc=ibm3161:
12601ibm3162|IBM 3162 display:\
12602	:al=\EN:mb=\E4$a:md=\E4(a:me=\E4@:mk=\E40a:mr=\E4!a:\
12603	:se=\E4>b:so=\E4!a:ue=\E4=b:us=\E4"a:tc=ibm3161-C:
12604
12605# This really should not use setab/setaf, but it is clear that the
12606# original terminfo does not toggle red/blue colors as in setb/setf.
12607ibm3164|i3164|IBM 3164:\
12608	:ms:\
12609	:Co#8:pa#64:\
12610	:AB=\E4  %+@:op=\E4 "@:s0=\E>B:s1=\E>A:te=\E!9(N\E>B:\
12611	:ti=\E!9/N\E>B:tc=ibm3161:
12612
12613# (sgr removed to fit entry within 1023 bytes)
12614# (rmacs/smacs removed for consistency)
12615# (acsc removed to fit entry within 1023 bytes)
12616# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
12617ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display:\
12618	:am:bw:ms:xo:\
12619	:co#80:it#8:li#25:\
12620	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
12621	:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[J:\
12622	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
12623	:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:\
12624	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
12625	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:\
12626	:kI=\E[139q:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:\
12627	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
12628	:mr=\E[7m:nd=\E[C:rs=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:\
12629	:ue=\E[m:up=\E[A:us=\E[4m:
12630
12631ibmaed|IBM Experimental display:\
12632	:am:bs:eo:ms:\
12633	:co#80:it#8:li#52:\
12634	:al=\EN:cd=\EJ:ce=\EI:cl=\EH\EK:cm=\EY%+ %+ :dc=\EQ:dl=\EO:\
12635	:do=\EB:ei=:ho=\EH:ic=\EP:im=:kb=^H:kd=\EB:kl=\ED:kr=\EC:\
12636	:ku=\EA:le=^H:me=\E0:nd=\EC:se=\E0:so=\E0:ta=^I:up=\EA:\
12637	:vb=\EG:
12638ibm-apl|apl|IBM apl terminal simulator:\
12639	:li#25:tc=dm1520:
12640# (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.
12641# Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
12642ibmmono|IBM workstation monochrome:\
12643	:es:hs:\
12644	:al=\EL:dl=\EM:ds=\Ej\EY8 \EI\Ek:fs=\Ek:k0=\E<:k1=\ES:\
12645	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\EY:\
12646	:kF=\EE:kI=\200:kN=\EE:kP=\Eg:kR=\EG:kb=^H:kh=\EH:l0=f10:\
12647	:md=\EZ:me=\Ew\Eq\Ez\EB:mk=\EF\Ef0;\Eb0;:mr=\Ep:se=\Ez:\
12648	:so=\EZ:sr=\EA:ue=\Ew:us=\EW:tc=ibm3101:
12649ibmega|IBM Enhanced Color Display:\
12650	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
12651	:tc=ibmmono:
12652# This color scheme is assumed in some recent IBM terminal descriptions
12653# (green on black, emulated on a 16-color terminal).
12654ibm+color|IBM color definitions:\
12655	:Co#8:NC#3:pa#64:\
12656	:op=\E[32m\E[40m:
12657ibm+16color|IBM aixterm color definitions:\
12658	:Co#16:pa#256:
12659ibm5154|IBM 5154 Color display:\
12660	:Co#8:NC@:pa#64:\
12661	:AB=\E[4%dm:AF=\E[3%dm:md@:tc=ibm5151:tc=ibm+color:
12662ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline:\
12663	:se=\EB:so=\EF\Ef3;:ue=\EB:us=\EF\Ef2;:tc=ibmmono:
12664ibmvga-c|IBM VGA display color termcap:\
12665	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
12666	:tc=ibmega-c:
12667ibmvga|IBM VGA display:\
12668	:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:tc=ibmega:
12669# ibmapa* and ibmmono entries come from ACIS 4.3 distribution
12670rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display:\
12671	:li#32:\
12672	:ds=\Ej\EY@ \EI\Ek:tc=ibmmono:
12673ibm6155|IBM 6155 Black & White display:\
12674	:mb@:md@:tc=ibm5151:
12675# Advanced Monochrome (6153) and Color (6154) Graphics Display:
12676ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display:\
12677	:li#31:\
12678	:ds=\Ej\EY? \EI\Ek:tc=ibmmono:
12679ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display:\
12680	:li#31:\
12681	:ds=\Ej\EY? \EI\Ek:mh=\EF\Ef7;:tc=ibmega-c:
12682ibm6154|IBM 6154 Color displays:\
12683	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
12684	:tc=ibm5154:
12685ibm6153|IBM 6153 Black & White display:\
12686	:mb@:md=\E[12m:me=\E[0;10m:s0=\E[10m:s1=\E[11m:s2=\E[12m:\
12687	:tc=ibm5151:
12688ibm6153-90|IBM 6153 Black & White display:\
12689	:co#90:li#36:\
12690	:mb@:md@:tc=ibm5151:
12691ibm6153-40|IBM 6153 Black & White display:\
12692	:co#40:li#12:tc=ibm6153-90:
12693ibm8512|ibm8513|IBM color VGA Terminal:\
12694	:am:mi:ms:\
12695	:co#80:it#8:li#25:\
12696	:AL=\E[%dL:DL=\E[%dM:RA=\E[?7l:SA=\E[?7h:\
12697	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:cd=\E[J:\
12698	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dl=\E[M:dm=\E[4h:\
12699	:do=^J:ec=\E[%dX:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:\
12700	:is=\Eb\E[m\017\E[?7h:k0=\E[010q:k1=\E[001q:k2=\E[002q:\
12701	:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\
12702	:k8=\E[008q:k9=\E[009q:kd=\E[B:kh=\E[H:ku=\E[A:le=\E[D:\
12703	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
12704	:r1=\Eb\E[m\017\E[?7h\E[H\E[J:rc=\E[u:sc=\E[s:se=\E[m:\
12705	:so=\E[7m:te=\E[20h:ti=\E[20;4l\E[?7h\Eb:ue=\E[m:up=\E[A:\
12706	:us=\E[4m:tc=ibm8503:
12707hft-c|HFT with Color:\
12708	:Co#8:pa#64:\
12709	:AB=\E[4%dm:AF=\E[3%dm:ac=jjkkllmmnnqqttuuvvwwxx:\
12710	:me=\E[0m\E(B:s0=\E(B:s1=\E(0:tc=ibm5151:tc=ibm+color:
12711hft-c-old|HFT with Color PC850:\
12712	:Co#8:pa#64:\
12713	:AB=\E[4%dm:AF=\E[3%dm:tc=ibm5151:tc=ibm+color:
12714hft-old|AIWS High Function Terminal:\
12715	:am:xo:\
12716	:co#80:li#25:\
12717	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
12718	:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=\E6:ho=\E[H:ic=\E[@:im=\E6:\
12719	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
12720	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:kN=\E[153q:\
12721	:kP=\E[159q:ka=\E[010q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
12722	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[8m:\
12723	:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:\
12724	:up=\E[A:us=\E[4m:tc=ibm+color:
12725ibm-system1|system1|ibm system/1 computer:\
12726	:am:xt:\
12727	:co#80:li#24:\
12728	:bl=^G:cl=^Z:cm=\005%+ %+ :ho=^K:le=^H:nd=^\:sf=^J:up=^^:
12729#       lft-pc850 : IBM Low Function Terminal Device
12730#    lft "supports" underline, bold, and blink in the sense that the lft code
12731#    sets all the right bits.  HOWEVER, depending upon the adapter, these
12732#    attributes may or may not be supported by the device driver.
12733# (sgr removed to fit entry within 1023 bytes)
12734# (rmacs/smacs removed for consistency)
12735# (acsc removed to fit entry within 1023 bytes)
12736# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
12737lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device:\
12738	:am:bw:ms:xo:\
12739	:co#80:it#8:li#25:\
12740	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
12741	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
12742	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[2J:ce=\E[0K:cl=\E[H\E[J:\
12743	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\
12744	:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:is=\Ec:k1=\E[001q:\
12745	:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:k6=\E[006q:\
12746	:k7=\E[007q:k8=\E[008q:k9=\E[009q:kD=\E[P:kI=\E[139q:\
12747	:kN=\E[154q:kP=\E[150q:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:\
12748	:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E(B:\
12749	:mr=\E[7m:nd=\E[C:rs=\Ec:se=\E[0m:sf=\ED:so=\E[7m:sr=\EL:\
12750	:ue=\E[0m:up=\E[A:us=\E[4m:
12751ibm5081|hft|IBM Megapel Color display:\
12752	:ac=jjkkllmmnnqqttuuvvwwxx:mb@:md@:me=\E[0m\E(B:s0=\E(B:\
12753	:s1=\E(0:tc=ibm5154:
12754ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display:\
12755	:es:hs:\
12756	:li#33:\
12757	:ds=\Ej\EYA \EI\Ek:fs=\Ek:tc=ibmega-c:
12758ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display:\
12759	:tc=hft-c:
12760ibm8514|IBM 8514/a color VGA display:\
12761	:es:hs:\
12762	:ds=\Ej\EYI \EI\Ek:fs=\Ek:tc=hft:
12763ibm8514-c|IBM 8514 color display with standout and underline:\
12764	:es:hs:\
12765	:li#41:\
12766	:cr=^M:do=^J:ds=\Ej\EYI \EI\Ek:fs=\Ek:kb=^H:kd=^J:kl=^H:\
12767	:nw=^M^J:sf=^J:ta=^I:tc=ibmega-c:
12768
12769#
12770# AIX entries.  IBM ships these with AIX 3.2.5.
12771# -- added rc, sc based on manpage -TD
12772# Note that we could use ibm+16color, but that is not how IBM defines this one.
12773aixterm|IBM Aixterm Terminal Emulator:\
12774	:es:hs:\
12775	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
12776	:me=\E[0;10m\E(B:rc=\E8:s0=\E(B:s1=\E(0:sc=\E7:sr@:\
12777	:ts=\E[?%dT:tc=ibm6154:
12778aixterm-m|IBM AIXterm Monochrome Terminal Emulator:\
12779	:es:hs:\
12780	:ac=jjkkllmmnnqqttuuvvwwxx:ds=\E[?E:fs=\E[?F:md=\E[1m:\
12781	:me=\E[0;10m\E(B:s0=\E(B:s1=\E(0:sr@:ts=\E[?%dT:\
12782	:tc=ibm6153:
12783aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator:\
12784	:es:hs:\
12785	:ds=\E[?E:fs=\E[?F:md=\E[1m:sr@:ts=\E[?%dT:tc=ibm6153:
12786jaixterm|IBM Kanji Aixterm Terminal Eemulator:\
12787	:ac@:tc=aixterm:
12788jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator:\
12789	:ac@:tc=aixterm-m:
12790
12791# This flavor is adapted from xterm, in turn from aixterm documentation -TD
12792aixterm-16color|IBM Aixterm Terminal Emulator with 16 colors:\
12793	:tc=ibm+16color:tc=aixterm:
12794
12795#### Infoton/General Terminal Corp.
12796#
12797
12798# gt100 sounds like something DEC would come out with.  Let's hope they don't.
12799i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100):\
12800	:am:bs:\
12801	:co#80:li#24:\
12802	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\Ef%r%+ %+ :cr=^M:\
12803	:dl=\EM:do=^J:ho=\EH:le=^H:nd=\EC:se=\Ea:sf=^J:so=\Eb:up=\EA:\
12804	:vb=\Eb\Ea:
12805i400|infoton 400:\
12806	:am:bs:\
12807	:co#80:li#25:\
12808	:al=\E[L:bl=^G:ce=\E[N:cl=\E[2J:cm=\E[%i%3;%3H:cr=^M:\
12809	:dc=\E[4h\E[2Q\E[P\E[4l\E[0Q:dl=\E[M:do=^J:\
12810	:ei=\E[4l\E[0Q:im=\E[4h\E[2Q:le=^H:nd=\E[C:sf=^J:up=\E[A:
12811# (addrinfo: removed obsolete ":bc=^Z:" -- esr)
12812addrinfo:\
12813	:am:\
12814	:co#80:li#24:\
12815	:bl=^G:cd=^K:cl=^L:cm=\037%.%.:cr=^M:do=^J:ho=^H:le=^Z:\
12816	:ll=^H^\:nd=^Y:sf=^J:up=^\:
12817# (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
12818infoton:\
12819	:am:\
12820	:co#80:li#24:\
12821	:bl=^G:cd=^K:cl=^L:cr=^M:do=^J:le=^Z:ll=^H^\:nd=^Y:sf=^J:\
12822	:up=^\:
12823
12824# The ICL6402 was actually the Kokusai Display System 6402.
12825# The 6404 was the KDS7372 (color version of the 6402).
12826#
12827# ICL6404 control codes follow:
12828#
12829#code            function
12830#~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12831#ctrl-A          set SOM position at cursor position
12832#ctrl-G          Bell
12833#ctrl-H          Backspace
12834#ctrl-I          Horiz tab
12835#ctrl-J          Linefeed
12836#ctrl-K          Cursor up
12837#ctrl-L          Cursor right
12838#ctrl-M          Carriage return
12839#ctrl-N          Disable xon/xoff to host
12840#ctrl-O          Enable xon/xoff to host
12841#ctrl-R          Enable bidirectional mode
12842#ctrl-T          Disable bidirectional mode
12843#ctrl-V          Cursor down
12844#ctrl-Z          Clear unprotected data to insert char
12845#ctrl-^          Cursor home
12846#ctrl-_          Newline
12847#
12848#ESC             lead-in char for multiple character command
12849#
12850#ESC space R     execute power on sequence
12851#ESC ! p1 p2     define scroll region:
12852#                p1 = scroll top    line:  20h - 37h
12853#                p1 = scroll bottom line:  20h - 37h
12854#ESC "           unlock keyboard
12855#ESC #           lock keyboard
12856#ESC $           Semi-graphics mode on
12857#ESC %           Semi-graphics mode off
12858#ESC &           protect mode on
12859#ESC '           protect mode off
12860#ESC (           write protect mode off (full intensity)
12861#ESC )           write protect mode on (half intensity)
12862#
12863#ESC *           clear screen
12864#ESC +           clear unprotected data to insert char
12865#ESC ,           clear unprotected data to half intensity spaces
12866#ESC - p1 p2 p3 p4     address cursor to page, row, column:
12867#                      p1 = page number  0 - 3
12868#                      p2 = row          20h - 7fh
12869#                      p3 = column (lo)  20h - 7fh
12870#                      p4 = column (hi)  20h - 21h (only 132 col)
12871#ESC . p1        set cursor style:
12872#                p1 = 0  invisible cursor
12873#                p1 = 1  block blinking cursor
12874#                p1 = 2  block steady cursor
12875#                p1 = 3  underline blinking cursor
12876#                p1 = 4  underline steady cursor
12877#ESC /           transmit cursor location (page, row, column)
12878#ESC 0 p1 p2 p3 p4     program edit key:
12879#                      p1 = edit key code: '@'-'S', '`'-'s'
12880#                      p2 p3 p4 = program data (3 bytes)
12881#
12882#ESC 1           set tab
12883#ESC 2           clear tab at cursor
12884#ESC 3           clear all tabs
12885#ESC 4           send unprotect line to cursor
12886#ESC 5           send unprotect page to cursor
12887#ESC 6           send line to cursor
12888#ESC 7           send page to cursor
12889#ESC 8 n         set scroll mode:
12890#                n = 0   set jump scroll
12891#                n = 1   set smooth scroll
12892#ESC 9 n         control display:
12893#                n = 0   display off
12894#                n = 1   display on
12895#ESC :           clear unprotected data to null
12896#ESC ;           clear unprotected data to insert char
12897#
12898#ESC <           keyclick on
12899#ESC = p1 p2     address cursor to row, column
12900#                p1 = row          20h - 7fh
12901#                p2 = column (lo)  20h - 7fh
12902#                p3 = column (hi)  20h - 21h (only 132 col)
12903#ESC >           keyclick off
12904#ESC ?           transmit cursor location (row, column)
12905#
12906#ESC @           copy print mode on
12907#ESC A           copy print mode off
12908#ESC B           block mode on
12909#ESC C           block mode off (conversation mode)
12910#ESC D F         set full duplex
12911#ESC D H         set half duplex
12912#ESC E           line insert
12913#ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
12914#                0 = black, 1 = red,     2 = green, 3 = yellow
12915#                4 = blue,  5 = magenta, 6 = cyan,  7 = white
12916#ESC G n         set serial field attribute (n = 30h - 3Fh)
12917#ESC H n         full graphics mode:
12918#                n = 0  exit full graphics mode
12919#                n = 1  enter full graphics mode
12920#ESC I           back tab
12921#ESC J           back page
12922#ESC K           forward page
12923#
12924#ESC L           unformatted page print
12925#ESC M L         move window left  (132 col mode only)
12926#ESC M R         move window right (132 col mode only)
12927#ESC N           set page edit (clear line edit)
12928#ESC O           set line edit (clear page edit)
12929#ESC P           formatted page print
12930#ESC Q           character insert
12931#ESC R           line delete
12932#ESC S           send message unprotected only
12933#ESC T           erase line to insert char
12934#ESC U           set monitor mode   (see ESC X, ESC u)
12935#
12936#ESC V n         select video attribute mode:
12937#                n = 0   serial field attribute mode
12938#                n = 1   parallel character attribute mode
12939#ESC V 2 n       define line attribute:
12940#                n = 0   single width single height
12941#                n = 1   single width double height
12942#                n = 2   double width single height
12943#                n = 3   double width double height
12944#ESC V 3 n       select character font:
12945#                n = 0   system font
12946#                n = 1   user defined font
12947#ESC V 4 n       select screen mode:
12948#                n = 0   page screen mode
12949#                n = 1   virtual screen mode
12950#ESC V 5 n       control mouse mode:
12951#                n = 0   disable mouse
12952#                n = 1   enable sample mode
12953#                n = 2   send mouse information
12954#                n = 3   enable request mode
12955#ESC W           character delete
12956#ESC X           clear monitor mode (see ESC U, ESC u)
12957#ESC Y           erase page to insert char
12958#
12959#ESC Z n         send user/status line:
12960#                n = 0   send user line
12961#                n = 1   send status line
12962#                n = 2   send terminal ID
12963#ESC [ p1 p2 p3  set character attribute (parallel char mode):
12964#                p1: 0 = normal
12965#                    1 = blank
12966#                    2 = blink
12967#                    3 = blink blank (= blank)
12968#                    4 = reverse
12969#                    5 = reverse blank
12970#                    6 = reverse blink
12971#                    7 = reverse blink blank (= reverse blank)
12972#                    8 = underline
12973#                    9 = underline blank
12974#                    : = underline blink
12975#                    ; = underline blink blank
12976#                    < = reverse underline
12977#                    = = reverse underline blank
12978#                    > = reverse underline blink
12979#                    ? = reverse underline blink blank
12980#                p2, p3: f/grnd, b/grnd colour
12981#                (see ESC F for colours)
12982#                use ZZ for mono, eg.
12983#                    ESC [ 0 Z Z for normal
12984#                    ESC [ 4 Z Z for inverse etc.
12985#
12986#ESC \ n         set page size:
12987#                n = 1   24 lines/page
12988#                n = 2   48 lines/page
12989#                n = 3   72 lines/page
12990#                n = 4   96 lines/page
12991#ESC ] n         set Wordstar mode:
12992#                n = 0   normal (KDS7372) mode
12993#                n = 1   Wordstar mode
12994#
12995#ESC b           set foreground colour screen
12996#
12997#ESC c n         enter self-test mode:
12998#                n = 0   exit self test mode
12999#                n = 1   ROM test
13000#                n = 2   RAM test
13001#                n = 3   NVRAM test
13002#                n = 4   screen display test
13003#                n = 5   main/printer port test
13004#                n = 6   mouse port test
13005#                n = 7   graphics board test
13006#                n = 8   graphics memory test
13007#                n = 9   display all 'E'
13008#                n = :   display all 'H'
13009#ESC d           set background colour screen
13010#
13011#ESC e n         program insert char (n = insert char)
13012#ESC f text CR   load user status line with 'text'
13013#
13014#ESC g           display user status line on 25th line
13015#ESC h           display system status line on 25th line
13016#ESC i           tab
13017#ESC j           reverse linefeed
13018#ESC k n         duplex/local edit mode:
13019#                n = 0   duplex edit mode
13020#                n = 1   local edit mode
13021#ESC l n         select virtual screen:
13022#                n = 0   screen 1
13023#                n = 1   screen 2
13024#ESC m           save current config to NVRAM
13025#ESC n p1        select display screen:
13026#                p1 = 0  screen 1
13027#                p1 = 1  screen 2
13028#                p1 = 2  screen 3
13029#                p1 = 3  screen 4
13030#ESC o p1 p2     set characters/line and attribute:
13031#                p1 = 0  80 chars/line
13032#
13033#ESC o p1 p2     set characters/line and attribute:
13034#                p1 = 0  80 chars/line
13035#                p1 = 1  132 chars/line
13036#                p2 = 0  single width single height
13037#                p2 = 1  single width double height
13038#                p2 = 2  double width single height
13039#                p2 = 3  double width double height
13040#
13041#ESC q           insert mode on
13042#ESC r           edit mode on
13043#ESC s           send message all
13044#ESC t           erase line to null
13045#ESC u           clear monitor mode (see ESC U, ESC X)
13046#ESC v           autopage mode on
13047#ESC w           autopage mode off
13048#ESC x p1 p2 p3  define delimiter code...
13049#ESC y           erase page to null
13050#
13051#ESC z 2 p1 p2 p3 p4   draw quadrangle:
13052#                      p1 = starting row
13053#                      p2 = starting column
13054#                      p3 = end row
13055#                      p4 = end column
13056#
13057#ESC { p1 p2 p3 p4     configure main port
13058#                      (baud, stop bits, parity, word length)
13059#
13060#ESC | p1 p2 text Ctrl-Y    program function key with 'text':
13061#                        p1 = function key code:
13062#                             '1' - ';'  normal f1- f11
13063#                             '<' - 'F'  shifted f1 - f11
13064#                        p2 = program mode:
13065#                             1 = FDX
13066#                             2 = LOC
13067#                             3 = HDX
13068#                        Ctrl-Y = terminator
13069#                        (use Ctrl-P to escape ^P, ^Y )
13070#
13071#ESC } p1 p2 p3 p4     configure printer port
13072#                      (baud, stop bits, parity, word length)
13073#ESC ~           send system status
13074#
13075# Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
13076#
13077# Entry is by esr going solely on above information and is UNTESTED.
13078# This actually looks a lot like a Televideo 9xx.
13079# This entry uses page 0 and is monochrome; I'm not brave enough to try
13080# to make color work without a test terminal.  The :am: capability is a guess.
13081# The initialization string sets conversation mode, blinking underline cursor,
13082# full duplex, parallel attribute mode, display user status line, white
13083# foreground, black background, normal highlight.
13084#
13085icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372:\
13086	:am:bs:hs:\
13087	:co#80:li#24:\
13088	:al=\EE:bl=^G:bt=\EI:cl=\E*:cm=\E=%+ %+P%+P:cr=^M:ct=\E3:\
13089	:dc=\EW:dl=\ER:ei=\Er:ho=^^:i1=\EC\E.3\EDF\EV1\Eg\E[0ZZ:\
13090	:im=\Eq:mb=\E[2ZZ:me=\E[0ZZ:mk=\E[1ZZ:mr=\E[4ZZ:nd=^L:\
13091	:nw=^_:rs=\Eo1:se=\E[%gh%{4}%^%Ph%gh%dZZ:so=\E[8ZZ:\
13092	:st=\E1:ta=^I:ue=\E[%gh%{8}%^%Ph%gh%dZZ:up=^K:us=\E[8ZZ:\
13093	:ve=\E.3:vi=\E.0:vs=\E.1:
13094icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols:\
13095	:rs=\Eo1:tc=icl6404:
13096
13097#### Interactive Systems Corp
13098#
13099# ISC used to sell OEMed and customized hardware to support ISC UNIX.
13100# ISC UNIX still exists in 1995, but ISC itself is no more; they got
13101# bought out by Sun.
13102#
13103
13104# From: <cithep!eric>  Wed Sep 16 08:06:44 1981
13105# (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
13106# ":le=^_:" later overridden -- esr)
13107intext|Interactive Systems Corporation modified owl 1200:\
13108	:am:bs:\
13109	:co#80:it#8:li#24:sg#1:\
13110	:al=5.5*\020:bl=^G:bt=^Y:cd=5.5*\026J:ce=^Kp^R:cl=132\014:\
13111	:cm=\017%+ %+ :cr=^M:dc=5.5*\022:dl=5.5*\021:do=^J:ei=^V<:\
13112	:im=^V;:ip=5.5*:k0=^VJ\r:k1=^VA\r:k2=^VB\r:k3=^VC\r:\
13113	:k4=^VD\r:k5=^VE\r:k6=^VF\r:k7=^VG\r:k8=^VH\r:k9=^VI\r:\
13114	:kb=^H:kd=^J:ke=^V9:kh=^Z:kl=^_:kr=^^:\
13115	:ks=\036\072\264\026%%:ku=^\:le=^H:nd=^^:se=^V#\040:sf=^J:\
13116	:so=^V$,:ta=^I:up=^\:
13117intext2|intextii|INTERACTIVE modified owl 1251:\
13118	:am:bw:ul:\
13119	:co#80:li#24:sg#0:ug#0:\
13120	:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:\
13121	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:\
13122	:do=\E[B:ei=:ic=\E[@:im=:k0=\E@\r:k1=\EP\r:k2=\EQ\r:\
13123	:k3=\ES\r:k4=\ET\r:k5=\EU\r:k6=\EV\r:k7=\EW\r:k8=\EX\r:\
13124	:k9=\EY\r:kb=^H:kd=\EB\r:kh=\ER\r:kl=\ED\r:kr=\EC\r:\
13125	:ku=\EA\r:l0=REFRSH:l1=DEL CH:l2=TABSET:l3=GOTO:l4=+PAGE:\
13126	:l5=+SRCH:l6=-PAGE:l7=-SRCH:l8=LEFT:l9=RIGHT:le=\E[D:\
13127	:nd=\E[C:se=\E[2 D:sf=\E[S:so=\E[6 D:sr=\E[T:ta=^I:\
13128	:ue=\E[2 D:up=\E[A:us=\E[18 D:\
13129	:vb=\E[;;;;;;;;;2;;u\E[;;;;;;;;;1;;u:
13130
13131#### Kimtron (abm, kt)
13132#
13133# Kimtron seems to be history, but as March 1998 these people are still
13134# offering repair services for Kimtron equipment:
13135#
13136#    Com/Pair Monitor Service
13137#    1105 N. Cliff Ave.
13138#    Sioux Falls, South Dakota 57103
13139#
13140#    WATS voice:  1-800/398-4946
13141#    POTS   fax: +1 605/338-8709
13142#    POTS voice: +1 605/338-9650
13143#         Email: <compair@sd.cybernex.net>
13144#  Internet/Web: <http://www.com-pair.com>
13145#
13146# Kimtron entries include (undocumented) codes for: enter dim mode,
13147# enter bold mode, enter reverse mode, turn off all attributes.
13148#
13149
13150# Kimtron ABM 85 added by Dual Systems
13151# (abm85: removed duplicated ":kd=^J:" -- esr)
13152abm85|Kimtron ABM 85:\
13153	:am:bs:bw:ms:\
13154	:co#80:it#8:li#24:sg#1:ug#1:\
13155	:al=\EE:bt=\EI:cd=\Ey:ce=\Et:cl=\E*:cm=\E=%+ %+ :dc=\EW:\
13156	:dl=\ER:do=^J:ei=\Er:if=/usr/share/tabset/stdcrt:im=\EQ:\
13157	:is=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq:kb=^H:kd=^J:kh=^^:\
13158	:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\Ek:so=\Ej:ta=^I:ue=\Em:\
13159	:up=^K:us=\El:
13160# Kimtron ABM 85H added by Dual Systems.
13161# Some notes about the abm85h entries:
13162# 1) there are several firmware revs of 85H in the world. Use abm85h-old for
13163#    firmware revs prior to SP51
13164# 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
13165#    abm85e entry if it is in tvi920 emulation mode. They are incompatible
13166#    in some places and NOT software settable i.e., :is: can't fix it)
13167# 3) In 85h mode, the arrow keys and special functions transmit when
13168#    the terminal is in dup-edit, and work only locally in local-edit.
13169#    Vi won't swallow `del char' for instance, but :ti: turns on
13170#    dup-edit anyway so that the arrow keys will work right. If the
13171#    arrow keys don't work the way you like, change :ti:, :te:, and
13172#    :is:.  Note that 920E mode does not have software commands to toggle
13173#    between dup and local edit, so you get whatever was set last on the
13174#    terminal.
13175# 4) :vb: attribute is nice, but seems too slow to work correctly
13176#    (\Eb:pc:\Ed)
13177# 5) Make sure `hidden' attributes are selected. If `embedded' attributes
13178#    are selected, the <xmc@> entry should be removed.
13179# 6) auto new-line should be on (selectable from setup mode only)
13180#
13181# From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
13182abm85h|Kimtron ABM 85H native mode:\
13183	:hs:\
13184	:sg@:\
13185	:bl=^G:ds=\Ee:fs=^M:im=\EZ:\
13186	:is=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El:\
13187	:kd=^V:me=\E(\EG0:mh=\E):mk@:ts=\Eg\Ef:vb@:ve=\E.4:vs=\E.2:\
13188	:tc=adm+sgr:tc=abm85:
13189abm85e|Kimtron ABM 85H in 920E mode:\
13190	:sg@:\
13191	:bl=^G:im=\EZ:\
13192	:is=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em:\
13193	:me=\E(\Ek:mh=\E):mr=\Ej:vb@:tc=abm85:
13194abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev.:\
13195	:sg@:\
13196	:bl=^G:im=\EZ:\
13197	:is=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF:\
13198	:me=\E(\Ek:mh=\E):mr=\Ej:tc=abm85:
13199# From: <malman@bbn-vax.arpa>
13200# (kt7: removed obsolete :ma=^V^J^L :" -- esr)
13201kt7|kimtron model kt-7:\
13202	:am:bs:\
13203	:co#80:it#8:li#24:\
13204	:al=\EE:bt=\EI:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=\EW:\
13205	:dl=\ER:do=^V:ei=:fs=\Eg:ho=^^:ic=\EQ:\
13206	:if=/usr/share/tabset/stdcrt:im=:is=\El\E":k0=^AI\r:\
13207	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
13208	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:\
13209	:kE=\ET:kI=\EQ:kL=\ER:kS=\EY:kb=^H:kd=^V:kh=^^:kl=^H:kr=^L:\
13210	:ku=^K:le=^H:mk@:nd=^L:ta=^I:ts=\Ef:up=^K:tc=adm+sgr:
13211# Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
13212# other kt7 entry and the adjacent key capabilities).  Removed EE which is
13213# identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
13214# but we can't figure out what.
13215kt7ix|kimtron model kt-7 or 70 in IX mode:\
13216	:am:bw:\
13217	:co#80:it#8:li#25:\
13218	:@7=\EY:PU=\EK:ac=jYk?lZm@nEqDt4uCvAwBx3:ae=\E%%:al=\EE:\
13219	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E*:cm=\E=%+ %+ :\
13220	:cr=^M:dc=\EW:dl=\ER:do=^V:ds=\Ef\r:ei=:fs=^M:ho=^^:ic=\EQ:\
13221	:im=:is=\EG0\E s\017\E~:k0=^AI\r:k1=^A@\r:k2=^AA\r:\
13222	:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:\
13223	:k9=^AH\r:kA=\EE:kB=\EI:kC=\E*:kE=\ET:kI=\EQ:kL=\ER:kN=\EJ:\
13224	:kS=\EY:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
13225	:mb=\EG2:me=\EG0:mh=\EG@:nd=^L:nw=^M^J:se=\EG0:sf=^J:\
13226	:so=\EG4:ta=^I:ts=\Ef:ue=\EG0:up=^K:us=\EG8:ve=\E.3:vi=\E.0:
13227
13228#### Microdata/MDIS
13229#
13230# This was a line of terminals made by McDonnell-Douglas Information Systems.
13231# These entries come direct from MDIS documentation.  I have edited them only
13232# to move primary names of the form p[0-9] * to aliases, and to comment out
13233# :ae:/:as: in a couple of entries without <acsc> strings.  I have
13234# also removed the change history; the last version indicates this is
13235# version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
13236#
13237
13238# McDonnell Information Systems Terminal Family History
13239# =========================================
13240#
13241# Prism-1, Prism-2 and P99:
13242#       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
13243#
13244# Prism-4 and Prism-5:
13245#       Slightly less ancient range of Microdata terminals. Follow-on from
13246#       Prism-2, but with many enhancements. P5 has eight display pages.
13247#
13248# Prism-6:
13249#       A special terminal for use with library systems, primarily in Germany.
13250#       Limited numbers. Similar functionality to P5 (except attributes?).
13251#
13252# Prism-7, Prism-8 and Prism-9:
13253#       More recent range of MDIS terminals, in which P7 and P8
13254#       replace the P4 & P5, with added functionality, and P9 is the flagship.
13255#       The P9 has two emulation modes - P8 and ANSI - and includes a
13256#       large number of the DEC VT220 control sequences. Both
13257#       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
13258#
13259# Prism-12 and Prism-14:
13260#       Latest range, functionally very similar to the P9.  The P14 has a
13261#       black-on-white overscanning screen.
13262#
13263# The terminfo definitions given here are:
13264#
13265# p2      - Prism-2 (or Prism-1 or P99).
13266#
13267# p4      - Prism-4 (and older P7s & P8s).
13268# p5      - Prism-5 (or Prism-6).
13269#
13270# p7      - Prism-7.
13271# p8      - Prism-8 (in national or multinational mode).
13272# p8-w    - 132 column version of p8.
13273# p9      - Prism-9 in ANSI mode.
13274# p9-w    - 132 column version of p9.
13275# p9-8    - Prism-9 in Prism-8 emulation mode.
13276# p9-8-w  - As p9-8, but with 132 columns.
13277#
13278# p12     - Prism-12 in ANSI mode.
13279# p12-w   - 132 column version of p12.
13280# p12-m   - Prism-12 in MDC emulation mode.
13281# p12-m-w - As p12-m, but with 132 columns.
13282# p14     - Prism-14 in ANSI mode.
13283# p14-w   - 132 column version of p14.
13284# p14-m   - Prism-14 in MDC emulation mode.
13285# p14-m-w - As p14-m, but with 132 columns.
13286#
13287# p2: Prism-2
13288# -----------
13289#
13290# Includes Prism-1 and basic P99 without SP or MP loaded.
13291# The simplest form of Prism-type terminal.
13292# Basic cursor movement and clearing operations only.
13293# No video attributes.
13294# Notes:
13295#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
13296#  value up, followed by backspace.
13297#
13298prism2|MDC Prism-2:\
13299	:am:bw:ms:\
13300	:co#80:li#24:\
13301	:bl=^G:cd=\EJ:ce=\EK:cl=20\014:cr=^M:cv=\013%+ :do=^J:ho=^A:\
13302	:kb=^H:kh=^A:le=^H:nd=^F:sf=^J:up=^Z:
13303
13304# p4: Prism-4
13305# -----------
13306#
13307# Includes early versions of P7 & P8.
13308# Basic family definition for most Prisms (except P2 and P9 ANSI).
13309# Notes:
13310#  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
13311#  value up, followed by backspace.
13312#  Cursor key definitions removed because they interfere with vi and csh keys.
13313#
13314prism4|p4|P4|MDC Prism-4:\
13315	:5i:am:bw:hs:ms:\
13316	:co#80:li#24:sg#1:ug#1:ws#72:\
13317	:bl=^G:cd=\EJ:ce=\EK:cl=20\014:cr=^M:cv=\013%+ :do=^J:\
13318	:ds=\035\343\035\345:fs=^]\345:ho=^A:kb=^H:kh=^A:le=^H:\
13319	:mb=^CB:me=^C\040:mh=^CA:mk=^CH:mr=^CD:nd=^F:pf=\ET:po=\ER:\
13320	:ps=\EU:se=^C\040:sf=^J:so=^CD:ts=^]\343:ue=^C\040:up=^Z:\
13321	:us=^CP:ve=^]\342:vi=^]\344:
13322
13323# p5: Prism-5
13324# -----------
13325#
13326# Same definition as p4. Includes Prism-6 (not tested!).
13327# Does not use any multi-page features.
13328#
13329prism5|p5|P5|MDC Prism-5:\
13330	:tc=p4:
13331
13332# p7: Prism-7
13333# -----------
13334#
13335# Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
13336# Notes:
13337#  Use p4 for very early models of P7.
13338#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13339#
13340prism7|p7|P7|MDC Prism-7:\
13341	:ch@:cm=\E[%i%d;%dH:cv@:tc=p4:
13342
13343# p8: Prism-8
13344# -----------
13345#
13346# Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
13347# Supports national and multinational character sets.
13348# Notes:
13349#  Alternate char set operations only work in multinational mode.
13350#  Use p4 for very early models of P8.
13351#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13352# (esr: commented out :as:/:ae: because there's no <acsc>)
13353#
13354prism8|p8|P8|MDC Prism-8:\
13355	:ch=\E[%i%d`:cm=\E[%i%d;%dH:cv=\E[%i%dd:is=\E[<12h:tc=p4:
13356
13357# p8-w: Prism-8 in 132 column mode
13358# --------------------------------
13359#
13360# 'Wide' version of p8.
13361# Notes:
13362#  Rev-index removed; can't send nulls to terminal in 8-bit modes.
13363#
13364prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode:\
13365	:co#132:\
13366	:is=\E[<12h\E[<14h:tc=p8:
13367
13368# p9: Prism-9 in ANSI mode
13369# -------------------------
13370#
13371# The "flagship" model of this generation of terminals.
13372# ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
13373# Notes:
13374#  Tabs only reset by "reset". Otherwise assumes default (8 cols).
13375#  Fixes to deal with terminal firmware bugs:
13376#  . 'ri' uses insert-line since rev index doesn't always
13377#  . 'sgr0' has extra '0' since esc[m fails
13378#  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
13379#  Not covered in the current definition:
13380#  . Labels
13381#  . Programming Fn keys
13382#  . Graphic characters (defaults correctly to vt100)
13383#  . Padding values (sets xon)
13384# (esr: commented out :as:/:ae: because there's no <acsc>)
13385#
13386prism9|p9|P9|MDC Prism-9 in ANSII mode:\
13387	:5i:am:bw:hs:ms:xn:xo:\
13388	:co#80:it#8:li#24:vt#3:ws#72:\
13389	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:\
13390	:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:\
13391	:F7=\E[31~:F8=\E[32~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
13392	:al=\E[L:bl=^G:bt=\E[Z:cd=10\E[J:ce=\E[K:ch=\E[%i%d`:cl=^L:\
13393	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%d%%v:ct=\E[3g:\
13394	:cv=\E[%i%dd:dc=\E[P:dl=\E[M:do=^J:ds=\E[%}\024:ec=\E[%dX:\
13395	:ei=\E[4l:fs=^T:ho=\E[H:im=\E[4h:is=\E[&p\E[<12l\E F:\
13396	:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
13397	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kC=^L:\
13398	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
13399	:mb=\E[5m:md=\E[1m:me=\E[m\017:mp=\E[32%{:mr=\E[7m:\
13400	:nd=\E[C:nw=^M^J:pf=\E[4i:po=\E[5i:ps=\E[i:rc=\E[%z:\
13401	:rp=\E[%r%db%.:\
13402	:rs=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N:\
13403	:sc=\E[%y:se=\E[27m:sf=^J:so=\E[7m:sr=\E[L:st=\EH:ta=^I:\
13404	:ts=\E[%i%d%%}:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[<4h:\
13405	:vi=\E[<4l:
13406
13407# p9-w: Prism-9 in 132 column mode
13408# --------------------------------
13409#
13410# 'Wide' version of p9.
13411#
13412prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode:\
13413	:co#132:\
13414	:is=\E[&p\E[<12l\E F\E[<14h:\
13415	:rs=\E[&p\E[<12l\E F\E[<14h:tc=p9:
13416
13417# p9-8: Prism-9 in P8 mode
13418# ------------------------
13419#
13420# P9 terminal in P8 emulation mode.
13421# Similar to p8 definition.
13422# Insertion and deletion operations possible.
13423#
13424prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode:\
13425	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
13426	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8:
13427
13428# p9-8-w: Prism-9 in P8 and 132 column modes
13429# ------------------------------------------
13430#
13431# P9 terminal in P8 emulation mode and 132 column mode.
13432#
13433prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode:\
13434	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:al=\E[L:dc=\E[P:\
13435	:dl=\E[M:ei=:ic=\E[@:im=:tc=p8-w:
13436
13437# p12: Prism-12 in ANSI mode
13438# ---------------------------
13439#
13440# See p9 definition.
13441#
13442prism12|p12|P12|MDC Prism-12 in ANSI mode:\
13443	:tc=p9:
13444
13445# p12-w: Prism-12 in 132 column mode
13446# ----------------------------------
13447#
13448# 'Wide' version of p12.
13449#
13450prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode:\
13451	:tc=p9-w:
13452
13453# p12-m: Prism-12 in MDC emulation mode
13454# -------------------------------------
13455#
13456# P12 terminal in MDC emulation mode.
13457# Similar to p8 definition.
13458# Insertion and deletion operations possible.
13459#
13460prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode:\
13461	:tc=p9-8:
13462
13463# p12-m-w: Prism-12 in MDC emulation and 132 column modes
13464# -------------------------------------------------------
13465#
13466# P12 terminal in MDC emulation mode and 132 column mode.
13467#
13468prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode:\
13469	:tc=p9-8-w:
13470
13471# p14: Prism-14 in ANSII mode
13472# ---------------------------
13473#
13474# See p9 definition.
13475#
13476prism14|p14|P14|MDC Prism-14 in ANSII mode:\
13477	:tc=p9:
13478
13479# p14-w: Prism-14 in 132 column mode
13480# ----------------------------------
13481#
13482# 'Wide' version of p14.
13483#
13484prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode:\
13485	:tc=p9-w:
13486
13487# p14-m: Prism-14 in MDC emulation mode
13488# -------------------------------------
13489#
13490# P14 terminal in MDC emulation mode.
13491# Similar to p8 definition.
13492# Insertion and deletion operations possible.
13493#
13494prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode:\
13495	:tc=p9-8:
13496
13497# p14-m-w: Prism-14 in MDC emulation and 132 column modes
13498# -------------------------------------------------------
13499#
13500# P14 terminal in MDC emulation mode and 132 column mode.
13501#
13502prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode:\
13503	:tc=p9-8-w:
13504
13505# End of McDonnell Information Systems Prism definitions
13506
13507# These things were popular in the Pick database community at one time
13508# From: George Land <georgeland@aol.com> 24 Sep 1996
13509p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition:\
13510	:am:bw:hs:mi:\
13511	:co#80:li#24:ma#1:sg#1:ug#1:ws#78:\
13512	:F2=^AJ\r:F3=^AK\r:F4=^AL\r:F5=^AM\r:F6=^AN\r:F7=^AO\r:\
13513	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\E[%i%d;%dH:cr=^M:dc=\040^H:\
13514	:dl=^P:do=^J:ho=^A:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:\
13515	:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:\
13516	:kD=\040^H:kE=\EK:kL=^P:kS=\EJ:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:\
13517	:ku=^Z:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:l7=F7:l8=F8:l9=F9:\
13518	:la=F10:le=^U:mb=^CB:me=^C\040:mh=^CA:mk=^CH:mr=^CD:nd=^F:\
13519	:nw=^J^M:pc=\200:se=^C\040:sf=^J:so=^CE:ue=^C\040:up=^Z:\
13520	:us=^C0:
13521
13522#### Microterm (act, mime)
13523#
13524# The mime1 entries refer to the Microterm Mime I or Mime II.
13525# The default mime is assumed to be in enhanced act iv mode.
13526#
13527
13528# New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
13529# freakout with out-of-range args on Sytek multiplexors.  No :so=^N: and
13530# :se=^N: since  it gets confused and it's too dim anyway.  No :ic:
13531# since Sytek insists ^S means xoff.
13532# (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
13533act4|microterm|microterm act iv:\
13534	:am:bs:\
13535	:co#80:li#24:\
13536	:al=2.3*\001<2.3*/>:bl=^G:cd=2.2*\037:ce=.1*\036:\
13537	:cl=12\014:cm=\024%+^X%>/0%+P:cr=^M:dc=.1*\004:\
13538	:dl=2.3*\027:do=^K:ho=^]:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:\
13539	:sf=^J:up=^Z:
13540# The padding on :sr: and :ta: for act5 and mime is a guess and not final.
13541# The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
13542# (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
13543act5|microterm5|microterm act v:\
13544	:kd=^K:kl=^H:kr=^X:ku=^Z:sr=3\EH:uc=^H\EA:tc=act4:
13545# Mimes using brightness for standout.  Half bright is really dim unless
13546# you turn up the brightness so far that lines show up on the screen.
13547mime-fb|full bright mime1:\
13548	:is=^S\E:se=^S:so=^Y:tc=mime:
13549mime-hb|half bright mime1:\
13550	:is=^Y\E:se=^Y:so=^S:tc=mime:
13551# (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
13552# the more plausible ":do=^J:" -- esr)
13553# uc was at one time disabled to get around a curses bug, be wary of it
13554mime|mime1|mime2|mimei|mimeii|microterm mime1:\
13555	:am:bs:\
13556	:co#80:it#8:li#24:vt#9:\
13557	:al=80\001:bl=^G:cd=^_:ce=^^:cl=^]^C:cm=\024%+^X%> 0%+P:\
13558	:cr=^M:dl=80\027:do=^J:ho=^]:is=^S\E^Q:kd=^K:kl=^H:kr=^X:\
13559	:ku=^Z:le=^H:nd=^X:sf=^J:sr=3\022:ta=2\011:uc=^U:up=^Z:
13560# These termcaps (for mime2a) put the terminal in low intensity mode
13561# since high intensity mode is so obnoxious.
13562mime2a-s|microterm mime2a (emulating an enhanced soroc iq120):\
13563	:am:bs:\
13564	:co#80:li#24:\
13565	:al=20*\001:bl=^G:cd=20*\EJ:ce=\EK:cl=\EL:cm=\E=%+ %+ :\
13566	:cr=^M:dc=\ED:dl=20*\027:do=^J:ei=^Z:ho=^^:im=\EE:ip=2:\
13567	:is=\E):kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:se=\E;:sf=^J:\
13568	:so=\E\072:sr=\EI:ue=\E7:up=\EI:us=\E6:
13569# This is the preferred mode (but ^X can't be used as a kill character)
13570mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52):\
13571	:bs:\
13572	:co#80:it#8:li#24:\
13573	:al=20*\001:bl=^G:cd=20*\EQ:ce=\EP:cl=\EL:cm=\EY%+ %+ :\
13574	:cr=^M:dc=^N:dl=20*\027:do=^J:ei=^Z:ho=\EH:im=^O:ip=2:is=^Y:\
13575	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\E9:sf=^J:\
13576	:so=\E8:sr=\EA:ta=^I:ue=\E5:up=\EA:us=\E4:
13577# (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
13578mime3a|mime1 emulating 3a:\
13579	:am@:\
13580	:kd=^K:kl=^H:kr=^X:ku=^Z:tc=adm3a:
13581mime3ax|mime-3ax|mime1 emulating enhanced 3a:\
13582	:it#8:\
13583	:al=80\001:cd=^_:ce=^X:dl=80\027:ta=3\011:tc=mime3a:
13584# Wed Mar  9 18:53:21 1983
13585# We run our terminals at 2400 baud, so there might be some timing problems at
13586# higher speeds. The major improvements in this model are the terminal now
13587# scrolls down and insert mode works without redrawing the rest of the line
13588# to the right of the cursor. This is done with a bit of a kludge using the
13589# exit graphics mode to get out of insert, but it does not appear to hurt
13590# anything when using vi at least. If you have some users using act4s with
13591# programs that use curses and graphics mode this could be a problem.
13592mime314|mm314|mime 314:\
13593	:am:\
13594	:co#80:li#24:\
13595	:al=^A:cd=^_:ce=^^:cl=^L:cm=\024%.%.:dc=^D:dl=^W:ei=^V:ho=^]:\
13596	:im=^S:kd=^K:kl=^H:kr=^X:ku=^Z:le=^H:nd=^X:ta=^I:up=^Z:
13597# Microterm mime 340 from University of Wisconsin
13598mm340|mime340|mime 340:\
13599	:co#80:li#24:\
13600	:al=46\EU:cd=2*\037:ce=2.1\EL:cl=12\032:cm=\E=%+ %+ :\
13601	:cr=^M:dc=2.1*\E#:dl=49.6\EV:do=^J:is=\E,:kb=^H:kd=^J:kl=^H:\
13602	:ku=^K:le=^H:nd=^L:nw=^M^J:sf=^J:ta=^I:up=^K:
13603# This came from University of Wisconsin marked "astro termcap for jooss".
13604# (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
13605# also added <rmam>/<smam> based  on the init string -- esr)
13606mt4520-rv|micro-term 4520 reverse video:\
13607	:am:hs:ms:xn:xo:\
13608	:co#80:it#8:li#24:ws#80:\
13609	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
13610	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
13611	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
13612	:cr=^M:cs=\E[%i%d;%dr:ct=\E[g:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
13613	:fs=\E[?5l\E[?5h:ho=\E[H:ic=\E[@:im=:\
13614	:is=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J:\
13615	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:\
13616	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:me=\E[m:\
13617	:nd=\E[C:nw=\EE:\
13618	:r1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J:\
13619	:rc=\E8:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[0m:\
13620	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ts=\E[25;1H:ue=\E[24m:\
13621	:up=\E[A:us=\E[4m:vb=\E[?5l\E[?5h:ve=\E[0V\E8:\
13622	:vs=\E7\E[0U:
13623
13624# Fri Aug  5 08:11:57 1983
13625# This entry works for the ergo 4000 with the following setups:
13626# ansi,wraparound,newline disabled, xon/xoff disabled in both
13627# setup a & c.
13628#
13629# WARNING!!! There are multiple versions of ERGO 4000 microcode
13630# Be advised that very early versions DO NOT WORK RIGHT !!
13631# Microterm does have a ROM exchange program- use it or lose big
13632# (ergo400: added <rmam>/<smam> based on the init string -- esr)
13633ergo4000|microterm ergo 4000:\
13634	:da:db:ms:\
13635	:co#80:li#66:\
13636	:RA=\E[?7l:SA=\E[?7m:al=5*\E[1L:bl=^G:cd=15\E[0J:\
13637	:ce=13\E[0K:cl=80\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
13638	:dc=80\E[1P:dl=5*\E[1M:do=\E[B:ei=\E[4l:im=6\E[4h:\
13639	:is=300\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h:k1=\EOP:\
13640	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=4\E=:kl=\E[D:kr=\E[C:\
13641	:ks=4\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:\
13642	:me=20\E[m:nd=\E[C:se=20\E[m:sf=20*\ED:so=20\E[7m:\
13643	:sr=20*\EM:ta=^I:up=\E[A:
13644
13645#### NCR
13646#
13647# NCR's terminal group was merged with AT&T's when AT&T bought the company.
13648# For what happened to that group, see the ADDS section.
13649#
13650# There is an NCR4103 terminal that's just a re-badged Wyse-50.
13651#
13652
13653# The following vendor-supplied termcaps were captured from the Boundless
13654# Technologies site, 8 March 1998.  I removed all-upper-case names that were
13655# identical, except for case, to lower-case ones.  I also uncommented the acsc
13656# capabilities.X
13657#
13658# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
13659# DEC vt200/300 with color capabilities added.
13660ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
13661	:Co#8:pa#64:\
13662	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300an:
13663# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
13664# DEC vt200/300 with color capabilities added.
13665ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard:\
13666	:Co#8:pa#64:\
13667	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300wan:
13668# The Intecolor emulation of the NCR 2900/260C color terminal is basically a
13669# DEC vt200/300 with color capabilities added.
13670ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard:\
13671	:Co#8:pa#64:\
13672	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300pp:
13673# The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
13674# DEC vt200/300 with color capabilities added.
13675ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode:\
13676	:Co#8:pa#64:\
13677	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:tc=ncr260vt300wpp:
13678# This definition for ViewPoint supports several attributes.  This means
13679# that it has magic cookies (extra spaces where the attributes begin).
13680# Some applications do not function well with magic cookies.  The System
13681# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
13682# If supporting various attributes is not vital, 'xmc#1' and the extra
13683# attributes can be removed.
13684# Mapping to ASCII character set ('acsc' capability) can also be
13685# restored if needed.
13686# (rmacs/smacs removed for consistency)
13687# (acsc removed to fit entry within 1023 bytes)
13688# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13689ncr260vppp|NCR 2900_260 viewpoint:\
13690	:am:bw:hs:km:mi:ms:xo:\
13691	:co#80:li#24:sg#1:ug#1:\
13692	:K1=^A:K3=\EJ:K4=\ET:K5=\EJ:al=2\EM:bl=^G:bt=\EI:cd=2\Ek:\
13693	:ce=2\EK:cl=40\014:cm=5\EY%+ %+ :cr=2\r:dc=2\EW:dl=2\El:\
13694	:do=2\n:ds=\E`c:ei=\Er:fs=^M:ho=2\036:im=\Eq:\
13695	:is=100\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
13696	:k1=^B1\r:k2=^B2\r:k3=^B3\r:k4=^B4\r:k5=^B5\r:k6=^B6\r:\
13697	:k7=^B7\r:k8=^B8\r:k9=^B9\r:kD=\EW:kI=\Eq:kN=\EJ:kP=\EJ:\
13698	:kb=^H:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=2\010:ll=5\001:\
13699	:mb=\EG2:me=\EG0\EH\003:mh=\EGp:mr=\EG4:nd=2\006:nw=2\037:\
13700	:rs=100\Ee6\E~%\E+\E`\072\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
13701	:se=\EG0:sf=2\n:so=\EG4:sr=2\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
13702	:up=2\032:us=\EG8:ve=\E`5:vi=\E`0:
13703ncr260vpwpp|NCR 2900_260 viewpoint wide mode:\
13704	:co#132:\
13705	:cm=30\Ea%i%dR%dC:\
13706	:is=100\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
13707	:rs=100\Ee6\E~%\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7:\
13708	:tc=ncr260vppp:
13709ncr260vt100an|NCR 2900_260 vt100 with ansi kybd:\
13710	:am:hs:mi:ms:xn:xo:\
13711	:Nl#32:co#80:li#24:\
13712	:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=5\E[%dL:\
13713	:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:LE=5\E[%dD:\
13714	:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:\
13715	:ac=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:ae=^O:\
13716	:al=5\E[L:as=^N:bl=^G:cb=3\E[1K:cd=5\E[0J:ce=3\E[0K:\
13717	:ch=40\E[%dG:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
13718	:cs=\E[%i%d;%dr:ct=\E[3g:cv=40\E[%dd:dc=5\E[1P:dl=5\E[M:\
13719	:do=5\E[B:ds=\E[0$~\E[1$~:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
13720	:ho=1\E[H:im=\E[4h:\
13721	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13722	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
13723	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
13724	:le=5\E[D:mb=\E[5m:md=\E[1m:me=20\E[0m:mk=\E[8m:mr=\E[7m:\
13725	:nd=5\E[C:nw=5\EE:rc=\E8:\
13726	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13727	:sc=\E7:se=\E[0m:sf=5\ED:so=\E[1;7m:sr=5\EM:st=\EH:ta=^I:\
13728	:ts=\E[2$~\E[1$}:ue=\E[0m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
13729	:vi=\E[?25l:tc=vt220+keypad:
13730ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd:\
13731	:co#132:\
13732	:cm=30\E[%i%d;%dH:\
13733	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13734	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13735	:tc=ncr260vt100an:
13736ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd:\
13737	:@7=\E[5~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:\
13738	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13739	:kD=\E[4~:kI=\E[1~:kN=\E[6~:kP=\E[3~:kd=\E[B:ke=\E>:\
13740	:kh=\E[2~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:\
13741	:l3=pf3:l4=pf4:\
13742	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13743	:tc=ncr260vt100an:
13744ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd:\
13745	:co#132:\
13746	:cm=30\E[%i%d;%dH:\
13747	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13748	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13749	:tc=ncr260vt100pp:
13750# (sgr removed to fit entry within 1023 bytes)
13751# (acsc removed to fit entry within 1023 bytes)
13752# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13753ncr260vt200an|NCR 2900_260 vt200 with ansi kybd:\
13754	:am:hs:mi:ms:xn:xo:\
13755	:co#80:li#24:\
13756	:AL=5\E[%dL:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:\
13757	:LE=5\E[%dD:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:ae=20\017:\
13758	:al=5\E[L:as=20\016:bl=^G:cd=\E[0J:ce=5\E[0K:\
13759	:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
13760	:cs=5\E[%i%d;%dr:ct=\E[3g:dc=5\E[1P:dl=5\E[M:do=5\E[B:\
13761	:ds=\E[0$~\E[1$~:ec=5\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
13762	:im=\E[4h:\
13763	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13764	:k0=\EOy:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[M:k6=\E[17~:\
13765	:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
13766	:kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
13767	:ks=\E[?1h\E=:ku=\EOA:le=5\E[D:mb=\E[5m:md=\E[1m:\
13768	:me=20\E[0m:mr=\E[7m:nd=5\E[C:nw=\EE:rc=\E8:\
13769	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13770	:sc=\E7:se=\E[27m:sf=5\ED:so=\E[7m:sr=5\EM:st=\EH:ta=^I:\
13771	:ts=\E[2$~\E[1$}:ue=\E[24m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
13772	:vi=\E[?25l:tc=vt220+keypad:
13773ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd:\
13774	:co#132:\
13775	:cm=30\E[%i%d;%dH:\
13776	:is=200\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
13777	:rs=200\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H:\
13778	:tc=ncr260vt200an:
13779ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd:\
13780	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
13781	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
13782	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
13783	:tc=ncr260vt200an:
13784ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd:\
13785	:co#132:\
13786	:cm=30\E[%i%d;%dH:\
13787	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13788	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>:\
13789	:tc=ncr260vt200pp:
13790# (sgr removed to fit entry within 1023 bytes)
13791# (acsc removed to fit entry within 1023 bytes)
13792# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13793ncr260vt300an|NCR 2900_260 vt300 with ansi kybd:\
13794	:am:hs:mi:ms:xn:xo:\
13795	:co#80:li#24:\
13796	:AL=5\E[%dL:DC=5\E[%dP:DL=5\E[%dM:DO=5\E[%dB:IC=5\E[%d@:\
13797	:LE=5\E[%dD:RI=5\E[%dC:SF=5\E[%dE:UP=5\E[%dA:ae=20\017:\
13798	:al=5\E[L:as=20\016:bl=^G:cd=\E[0J:ce=5\E[0K:\
13799	:cl=20\E[2J\E[1;1H:cm=10\E[%i%d;%dH:cr=1\r:\
13800	:cs=5\E[%i%d;%dr:ct=\E[3g:dc=5\E[1P:dl=5\E[M:do=5\E[B:\
13801	:ds=\E[0$~\E[1$~:ec=5\E[%dX:ei=\E[4l:fs=\E[0$}:ho=\E[H:\
13802	:im=\E[4h:\
13803	:is=200\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
13804	:k0=\EOy:k5=\E[M:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
13805	:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\EOB:\
13806	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
13807	:le=5\E[D:mb=\E[5m:md=\E[1m:me=20\E[0m:mr=\E[7m:nd=5\E[C:\
13808	:nw=\EE:rc=\E8:\
13809	:rs=200\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
13810	:sc=\E7:se=\E[27m:sf=5\ED:so=\E[7m:sr=5\EM:st=\EH:ta=^I:\
13811	:ts=\E[2$~\E[1$}:ue=\E[24m:up=5\E[A:us=\E[4m:ve=\E[?25h:\
13812	:vi=\E[?25l:tc=vt220+keypad:
13813ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd:\
13814	:co#132:\
13815	:cm=30\E[%i%d;%dH:\
13816	:is=200\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
13817	:rs=200\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H:\
13818	:tc=ncr260vt300an:
13819ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd:\
13820	:@7=\E[1~:K1=\E[H:K2=\E[V:K3=\EOu:K5=\E[U:kD=\E[4~:\
13821	:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:\
13822	:kr=\E[C:ks=\E=:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:l4=pf4:\
13823	:tc=ncr260vt300an:
13824NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd:\
13825	:co#132:\
13826	:cm=30\E[%i%d;%dH:\
13827	:is=200\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
13828	:rs=200\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>:\
13829	:tc=ncr260vt300pp:
13830# This terminfo file contains color capabilities for the Wyse325 emulation of
13831# the NCR 2900/260C color terminal.  Because of the structure of the command
13832# (escape sequence) used to set color attributes, one of the fore/background
13833# colors must be preset to a given value. I have set the background color to
13834# black.  The user can change this setup by altering the last section of the
13835# 'setf' definition.  The escape sequence to set color attributes is
13836#		ESC d y <foreground_color> <background_color> 1
13837# In addition, the background color can be changed through the desk accessories.
13838# The capablitiy 'op' sets colors to green on black (default combination).
13839#
13840# NOTE:  The NCR Unix System Administrator's Shell will not function properly
13841# 	    if the 'pairs' capability is defined. Un-Comment the 'pairs'
13842#	    capability and recompile if you wish to have it included.
13843#
13844# (rmacs/smacs removed for consistency)
13845# (acsc removed to fit entry within 1023 bytes)
13846# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13847ncr260wy325pp|NCR 2900_260 wyse 325:\
13848	:am:bw:hs:km:mi:ms:xo:\
13849	:co#80:li#24:\
13850	:K1=^^:K2=\EJ:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=\EI:cd=5\Ey:\
13851	:ce=5\Et:cl=10\E*:cm=10\E=%+ %+ :cr=^M:ct=\E0:dc=50\EW:\
13852	:dl=5\ER:do=5\n:ds=\E`c:ei=\Er:fs=^M:ho=5\036:im=\Eq:\
13853	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13854	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
13855	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
13856	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=5\010:mb=\EG2:\
13857	:me=15\EG0\EcB0\EcD:mr=\EG4:nd=5\014:nw=5\037:\
13858	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13859	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
13860	:up=5\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
13861ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode:\
13862	:co#132:\
13863	:cm=30\Ea%i%dR%dC:\
13864	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13865	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13866	:tc=ncr260wy325pp:
13867# This definition for Wyse 350 supports several attributes.  This means
13868# that it has magic cookies (extra spaces where the attributes begin).
13869# Some applications do not function well with magic cookies.  The System
13870# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
13871# If supporting various attributes is not vital, 'xmc#1' and the extra
13872# attributes can be removed.
13873# Mapping to ASCII character set ('acsc' capability) can also be
13874# restored if needed.
13875# In addition, color capabilities have been added to this file.  The drawback,
13876# however, is that the background color has to be black.  The foreground colors
13877# are numbered 0 through 15.
13878#
13879# NOTE:  The NCR Unix System Administrator's Shell does not function properly
13880# 	    with the 'pairs' capability defined as below.  If you wish to
13881#	    have it included, Un-comment it and recompile (using 'tic').
13882#
13883# (rmacs/smacs removed for consistency)
13884# (acsc removed to fit entry within 1023 bytes)
13885# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13886ncr260wy350pp|NCR 2900_260 wyse 350:\
13887	:am:bw:hs:km:mi:ms:xo:\
13888	:co#80:li#24:sg#1:ug#1:\
13889	:K1=^^:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=\EI:cd=5\Ey:ce=5\Et:\
13890	:cl=20\E+:cm=40\E=%+ %+ :cr=^M:ct=\E0:dc=50\EW:dl=5\ER:\
13891	:do=5\n:ds=\E`c:ei=\Er:fs=^M:ho=10\036:im=\Eq:\
13892	:is=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13893	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
13894	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
13895	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=5\010:mb=\EG2:\
13896	:me=\EG0\EH\003\EcD:mh=\EGp:mr=\EG4:nd=5\014:nw=5\037:\
13897	:rs=100\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13898	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=\E1:ta=^I:ts=\EF:ue=\EG0:\
13899	:up=5\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
13900ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode:\
13901	:co#132:\
13902	:cm=30\Ea%i%dR%dC:\
13903	:is=200\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13904	:rs=200\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13905	:tc=ncr260wy350pp:
13906# This definition for Wyse 50+ supports several attributes.  This means
13907# that it has magic cookies (extra spaces where the attributes begin).
13908# Some applications do not function well with magic cookies.  The System
13909# Administrator's Shell in NCR Unix SVR4 1.03 is one such application.
13910# If supporting various attributes is not vital, 'xmc#1' and the extra
13911# attributes can be removed.
13912# Mapping to ASCII character set ('acsc' capability) can also be
13913# restored if needed.
13914# (ncr260wy50+pp: originally contained commented-out
13915# <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
13916# (rmacs/smacs removed for consistency)
13917# (acsc removed to fit entry within 1023 bytes)
13918# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13919ncr260wy50+pp|NCR 2900_260 wyse 50+:\
13920	:am:bw:hs:km:mi:ms:xo:\
13921	:co#80:li#24:sg#1:ug#1:\
13922	:K1=^^:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=5\EI:cd=5\EY:ce=5\ET:\
13923	:cl=20\E+:cm=30\E=%+ %+ :cr=^M:ct=5\E0:dc=50\EW:dl=5\ER:\
13924	:do=5\n:ds=\E`c:ei=\Er:fs=^M:ho=10\036:im=\Eq:\
13925	:is=100\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13926	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
13927	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
13928	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=5\010:mb=\EG2:\
13929	:me=15\EG0\EH\003:mh=\EGp:mr=\EG4:nd=5\014:nw=5\037:\
13930	:rs=100\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13931	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=5\E1:ta=5\011:ts=\EF:\
13932	:ue=\EG0:up=5\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
13933ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode:\
13934	:co#132:\
13935	:cm=30\Ea%i%dR%dC:\
13936	:is=200\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13937	:rs=200\Ee6\E~"\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13938	:tc=ncr260wy50+pp:
13939# (rmacs/smacs removed for consistency)
13940# (acsc removed to fit entry within 1023 bytes)
13941# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
13942ncr260wy60pp|NCR 2900_260 wyse 60:\
13943	:am:bw:hs:km:mi:ms:xo:\
13944	:co#80:li#24:\
13945	:K1=^^:K2=\EJ:K4=\ET:K5=\EK:al=5\EE:bl=^G:bt=15\EI:cd=5\Ey:\
13946	:ce=5\Et:cl=100\E*:cm=10\E=%+ %+ :cr=^M:ct=15\E0:dc=50\EW:\
13947	:dl=5\ER:do=5\n:ds=\E`c:ei=\Er:fs=^M:ho=25\036:im=\Eq:\
13948	:is=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13949	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
13950	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\Eq:kN=\EK:kP=\EJ:\
13951	:kb=^H:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=5\010:mb=\EG2:\
13952	:me=15\EG0\EcB0\EcD:mr=\EG4:nd=5\014:nw=5\037:\
13953	:rs=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\072\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13954	:se=\EG0:sf=5\n:so=\EGt:sr=5\Ej:st=15\E1:ta=15\011:ts=\EF:\
13955	:ue=\EG0:up=5\013:us=\EG8:ve=\E`1:vi=\E`0:vs=\E`5:
13956ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode:\
13957	:co#132:\
13958	:cm=30\Ea%i%dR%dC:\
13959	:is=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13960	:rs=100\Ee6\E~4\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7:\
13961	:tc=ncr260wy60pp:
13962ncr160vppp|NCR 2900_160 viewpoint:\
13963	:tc=ncr260vppp:
13964ncr160vpwpp|NCR 2900_160 viewpoint wide mode:\
13965	:tc=ncr260vpwpp:
13966ncr160vt100an|NCR 2900_160 vt100 with ansi kybd:\
13967	:tc=ncr260vt100an:
13968ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd:\
13969	:tc=ncr260vt100pp:
13970ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd:\
13971	:tc=ncr260vt100wan:
13972ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd:\
13973	:tc=ncr260vt100wpp:
13974ncr160vt200an|NCR 2900_160 vt200 with ansi kybd:\
13975	:tc=ncr260vt200an:
13976ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd:\
13977	:tc=ncr260vt200pp:
13978ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd:\
13979	:tc=ncr260vt200wan:
13980ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd:\
13981	:tc=ncr260vt200wpp:
13982ncr160vt300an|NCR 2900_160 vt300 with ansi kybd:\
13983	:tc=ncr260vt300an:
13984ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd:\
13985	:tc=ncr260vt300pp:
13986ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd:\
13987	:tc=ncr260vt300wan:
13988ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd:\
13989	:tc=ncr260vt300wpp:
13990ncr160wy50+pp|NCR 2900_160 wyse 50+:\
13991	:tc=ncr260wy50+pp:
13992ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode:\
13993	:tc=ncr260wy50+wpp:
13994ncr160wy60pp|NCR 2900_160 wyse 60:\
13995	:tc=ncr260wy60pp:
13996ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode:\
13997	:tc=ncr260wy60wpp:
13998ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal:\
13999	:5i:am:hs:mi:ms:xo:\
14000	:Nl#32:co#80:it#8:li#24:\
14001	:#4=\E[D:%i=\E[C:@8=^M:AL=80\E[%dL:DC=40\E[%dP:\
14002	:DL=70\E[%dM:DO=30\E[%dB:K1=\E[H:LE=30\E[%dD:RI=30\E[%dC:\
14003	:UP=30\E[%dA:\
14004	:ac=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~:\
14005	:ae=90\017:al=80\E[B\E[L:as=90\016:bl=^G:cb=30\E[1K:\
14006	:cd=300\E[0J:ce=30\E[0K:cl=300\E[2J\E[1;1H:\
14007	:cm=100\E[%i%d;%dH:cr=^M:cs=100\E[%i%d;%dr:ct=40\E[3g:\
14008	:dc=10\E[1P:dl=40\E[M:do=2\E[B:ds=25\E[31l:eA=40\E(B\E)0:\
14009	:ei=80\E[4l:fs=101:ho=80\E[H:im=80\E[4h:\
14010	:is=200\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0:\
14011	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kl=\E[D:\
14012	:kr=\E[C:ku=\E[A:le=2\E[D:mb=30\E[5m:md=30\E[1m:\
14013	:me=120\017\E[0m:mr=30\E[7m:nd=2\E[C:nw=\EE:ps=100\E[i:\
14014	:rc=\E8:\
14015	:rs=200\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031:\
14016	:sc=\E7:se=30\E[0m:sf=\ED:so=30\E[7m:sr=50\EM:st=\EH:ta=^I:\
14017	:ts=70\E[>+1:ue=30\E[0m:up=2\E[A:us=30\E[4m:
14018ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal:\
14019	:co#132:\
14020	:is=200\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0:\
14021	:rs=200\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031:\
14022	:tc=ncrvt100an:
14023#
14024# Vendor-supplied NCR termcaps end here
14025
14026# NCR7900 DIP switches:
14027#
14028# Switch A:
14029# 1-4 - Baud Rate
14030# 5   - Parity (Odd/Even)
14031# 6   - Don't Send or Do Send Spaces
14032# 7   - Parity Enable
14033# 8   - Stop Bits (One/Two)
14034#
14035# Switch B:
14036# 1   - Upper/Lower Shift
14037# 2   - Typewriter Shift
14038# 3   - Half Duplex / Full Duplex
14039# 4   - Light/Dark Background
14040# 5-6 - Carriage Return Without / With Line Feed
14041# 7   - Extended Mode
14042# 8   - Suppress Keyboard Display
14043#
14044# Switch C:
14045# 1   - End of line entry disabled/enabled
14046# 2   - Conversational mode / (Local?) Mode
14047# 3   - Control characters displayed / not displayed
14048# 4   - (2-wire?) / 4-wire communications
14049# 5   - RTS on and off for each character
14050# 6   - (50Hz?) / 60 Hz
14051# 7   - Exit after level zero diagnostics
14052# 8   - RS-232 interface
14053#
14054# Switch D:
14055# 1   - Reverse Channel (yes / no)
14056# 2   - Manual answer (no / yes)
14057# 3-4 - Cursor appearance
14058# 5   - Communication Rate
14059# 6   - Enable / Disable EXT turnoff
14060# 7   - Enable / Disable CR turnoff
14061# 8   - Enable / Disable backspace
14062#
14063# Since each attribute parameter is 0 or 1, we shift each attribute (standout,
14064# reverse, blink, dim, and underline) the appropriate number of bits (by
14065# multiplying the 0 or 1 by a correct factor to shift) so the bias character,
14066# '@' is (effectively) "or"ed with each attribute to generate the proper third
14067# character in the <ESC>0 sequence.  The :sa: string implements the following
14068# equation:
14069#
14070# ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
14071# ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
14072#
14073#	Where:  P1 <==> Standout attribute parameter
14074#		P2 <==> Underline attribute parameter
14075#		P3 <==> Reverse attribute parameter
14076#		P4 <==> Blink attribute parameter
14077#		P5 <==> Dim attribute parameter
14078# From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
14079ncr7900i|ncr7900|ncr 7900 model 1:\
14080	:am:bw:ul:\
14081	:co#80:li#24:sg#1:ug#1:\
14082	:bl=^G:cd=\Ek:ce=\EK:cl=^L:cm=\E1%r%.%.:cr=^M:do=^J:\
14083	:is=\E0@\010\E3\E4\E7:kd=^J:kh=^A:kl=^U:kr=^F:ku=^Z:le=^H:\
14084	:ll=^A:mb=\E0B:me=\E0@:mh=\E0A:mr=\E0P:nd=^F:pf=^T:po=^R:\
14085	:se=\E0@:sf=^J:so=\E0Q:ue=\E0@:up=^Z:us=\E0`:
14086ncr7900iv|ncr 7900 model 4:\
14087	:am:bw:es:hs:\
14088	:co#80:li#24:\
14089	:al=\E^N:bl=^G:cl=^L:cm=\013%+@\E\005%2:cr=^M:dl=\E^O:\
14090	:do=^J:ds=\Ey1:fs=\Ek\Ey5:ho=\013@\E^E00:k1=\ES:k2=\ET:\
14091	:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:kb=^H:kd=\EB:\
14092	:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:l8=white:le=^H:\
14093	:nw=^M^J:sf=^J:ts=\Ej\Ex5\Ex1\EY8%+ \Eo:
14094# Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
14095#	   The user can enter a CTRL-B to get out of this locked state.
14096# In <hpa>, we want to output the character given by the formula:
14097#		((col / 10) * 16) + (col % 10)		where "col" is "p1"
14098ncr7901|ncr 7901 model:\
14099	:am:bw:ul:\
14100	:co#80:li#24:\
14101	:bl=^G:cd=\Ek:ce=\EK:ch=\020%B%.:cl=^L:cm=\EY%+ %+ :cr=^M:\
14102	:cv=\013%+@:do=^J:is=\E4^O:kC=^L:kd=^J:kh=^H:kl=^U:kr=^F:\
14103	:ku=^Z:le=^H:ll=^A:mb=\E0B:me=^O:mh=\E0A:mr=\E0P:nd=^F:pf=^T:\
14104	:po=^R:se=^O:sf=^J:so=\E0Q\016:ue=^O:up=^Z:us=\E0`\016:\
14105	:ve=^X:vi=^W:
14106
14107# Newbury Data Recording Limited (Newbury Data)
14108#
14109# Have been manufacturing and reselling  various peripherals for a long time
14110# They don't make terminals anymore, but are still in business (in 2007).
14111# Their e-mail address is at ndsales@newburydata.co.uk
14112# and their post address is:
14113#
14114# Newbury Data Recording Ltd,
14115# Premier Park, Road One,
14116# Winsford, Cheshire, CW7 3PT
14117#
14118# Their technical support is still good, they sent me for free a printed copy
14119# of the 9500 user manual and I got it just 1 week after I first contacted them
14120# (in 2005)!
14121
14122# NDR 9500
14123# Manufactured in the early/mid eighties, behaves almost the same as a
14124# Televideo 950.  Take a 950, change its cabinet for a more 80s-ish one (but
14125# keep the same keyboard layout), add an optional 25-line mode, replace the DIP
14126# switches with a menu and remove the "lock line" feature (ESC !  1 and ESC !
14127# 2), here is the NDR 9500.  Even the line-lock, albeit disabled, is
14128# recognized:  if you type in "ESC !", the next (third) character is not
14129# echoed, showing that the terminal was actually waiting for a parameter!
14130ndr9500|nd9500|Newbury Data 9500:\
14131	:5i:am:bw:hs:mi:ms:ul:xo:\
14132	:co#80:li#24:ws#79:\
14133	:#3=\Eq:%9=\EP:*4=\Er:*5=\EO:*8=\Et:@8=^M:F1=^AJ\r:F2=^A`\r:\
14134	:F3=^Aa\r:F4=^Ab\r:F5=^Ac\r:F6=^Ad\r:F7=^Ae\r:F8=^Af\r:\
14135	:F9=^Ag\r:FA=^Ah\r:FB=^Ai\r:FC=^Aj\r:RX=^N:SX=^O:\
14136	:ac=jDkClBmAnIqKtMuLvOwNxJ:ae=\E%%:al=\EE:as=\E$:bl=^G:\
14137	:bt=\EI:cd=\EY:ce=\ET:cl=\E;:cm=\E=%+ %+ :cr=^M:ct=\E3:\
14138	:dc=\EW:dl=\ER:do=^V:ds=\Eh:ei=\Er:fs=^M:ho=^^:ic=\EQ:im=\Eq:\
14139	:is=\Ew\E'\EDF\El\Er\EO:k1=^A@\r:k2=^AA\r:k3=^AB\r:\
14140	:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:\
14141	:k;=^AI\r:kA=\EE:kB=\EI:kC=^Z:kD=\EW:kE=\ET:kI=\EQ:kL=\ER:\
14142	:kS=\EY:kd=^V:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:me=\EG0\E%%\E(:\
14143	:mh=\E):mp=\E):nd=^L:nw=^_:pf=\Ea:pl=\E|%+02%r\031:po=\E`:\
14144	:px=\E|%+01%r\031:se=\E(:sf=^J:so=\E):sr=\Ej:st=\E1:ta=^I:\
14145	:ts=\Eg\Ef\011%+ :up=^K:vb=\Eb\Ed:ve=\E.1:vi=\E.0:
14146
14147ndr9500-nl|NDR 9500 with no status line:\
14148	:hs@:\
14149	:ws@:\
14150	:ds@:fs@:ts@:tc=ndr9500:
14151
14152ndr9500-25|NDR 9500 with 25th line enabled:\
14153	:li#25:tc=ndr9500:
14154
14155ndr9500-25-nl|NDR 9500 with 25 lines and no status line:\
14156	:li#25:tc=ndr9500-nl:
14157
14158ndr9500-mc|NDR 9500 with magic cookies (enables underline inverse video invisible and blink):\
14159	:ms@:\
14160	:sg#1:ug#1:\
14161	:mb=\EG2:me=\EG0\E%%\E(:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:\
14162	:ue=\EG0:us=\EG8:tc=ndr9500:
14163
14164ndr9500-25-mc|NDR 500 with 25 lines and magic cookies:\
14165	:li#25:tc=ndr9500-mc:
14166
14167ndr9500-mc-nl|NDR 9500 with magic cookies and no status line:\
14168	:hs@:\
14169	:ws@:\
14170	:ds@:fs@:ts@:tc=ndr9500-mc:
14171
14172ndr9500-25-mc-nl|NDR 9500 with 25 lines and magic cookies and no status line:\
14173	:li#25:tc=ndr9500-mc-nl:
14174
14175#### Perkin-Elmer (Owl)
14176#
14177# These are official terminfo entries from within Perkin-Elmer.
14178#
14179
14180bantam|pe550|pe6100|perkin elmer 550:\
14181	:bs:\
14182	:co#80:li#24:\
14183	:bl=^G:ce=20\EI:cl=20\EK:cm=\EX%+ \EY%+ :cr=^M:do=^J:\
14184	:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:up=\EA:
14185fox|pe1100|perkin elmer 1100:\
14186	:am:bs:\
14187	:co#80:li#24:\
14188	:bl=^G:cd=5.5*\EJ:ce=\EI:cl=132\EH\EJ:cm=\EX%+ \EY%+ :\
14189	:cr=^M:ct=\E3:do=^J:ho=\EH:le=^H:ll=\EH\EA:nd=\EC:sf=^J:\
14190	:st=\E1:up=\EA:vb=\020\002\020\003:
14191owl|pe1200|perkin elmer 1200:\
14192	:am:bs:in:\
14193	:co#80:li#24:\
14194	:al=5.5*\EL:bl=^G:cd=5.5*\EJ:ce=5.5\EI:cl=132\EH\EJ:\
14195	:cm=\EX%+ \EY%+ :cr=^M:ct=\E3:dc=5.5*\EO:dl=5.5*\EM:do=^J:\
14196	:ei=:ho=\EH:ic=\EN:im=:ip=5.5*:k0=\ERJ:k1=\ERA:k2=\ERB:\
14197	:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:k8=\ERH:k9=\ERI:\
14198	:kb=^H:le=^H:ll=\EH\EA:me=\E!\200:nd=\EC:se=\E!\200:sf=^J:\
14199	:so=\E!^H:st=\E1:up=\EA:vb=\020\002\020\003:
14200pe1251|pe6300|pe6312|perkin elmer 1251:\
14201	:am:\
14202	:co#80:it#8:li#24:pb#300:sg#1:vt#8:\
14203	:bl=^G:cd=20*\EJ:ce=10*\EI:cl=332\EK:cm=\EX%+ \EY%+ :\
14204	:cr=^M:ct=\E3:do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:\
14205	:k4=\ERE:k5=\ERF:k6=\ERG:k7=\ERH:k8=\ERI:k9=\ERJ:k;=\ERK:\
14206	:le=\ED:nd=\EC:sf=^J:st=\E1:up=\EA:
14207# (pe7000m: this had
14208# 	rmul=\E!\0, smul=\E!\040,
14209# which is probably wrong, it collides with kf0
14210pe7000m|perkin elmer 7000 series monochrome monitor:\
14211	:am:\
14212	:co#80:li#24:\
14213	:bl=^G:bt=\E!Y:cd=\EJ:ce=\EI:cl=\EK:cm=\ES%+ %+ :cr=^M:\
14214	:do=\EB:ho=\EH:i1=\E!\200\EW  7o\Egf\ES7\040:k0=\E!\200:\
14215	:k1=\E!^A:k2=\E!^B:k3=\E!^C:k4=\E!^D:k5=\E!^E:k6=\E!^F:\
14216	:k7=\E!^G:k8=\E!^H:k9=\E!^I:k;=\E!^J:kb=^H:kd=\E!U:kh=\E!S:\
14217	:kl=\E!V:kr=\E!W:ku=\E!T:le=\ED:ll=\ES7\040:nd=\EC:sf=^J:\
14218	:sr=\ER:up=\EA:
14219pe7000c|perkin elmer 7000 series colour monitor:\
14220	:i1=\E!\200\EW  7o\Egf\Eb0\Ec7\ES7\040:se=\Eb0:so=\Eb2:\
14221	:ue=\E!\200:us=\E!\040:tc=pe7000m:
14222
14223#### Sperry Univac
14224#
14225# Sperry Univac has merged with Burroughs to form Unisys.
14226#
14227
14228# This entry is for the Sperry UTS30 terminal running the TTY
14229# utility under control of CP/M Plus 1R1. The functionality
14230# provided is comparable to the DEC vt100.
14231# (uts30: I added <rmam>/<smam> based on the init string -- esr)
14232uts30|sperry uts30 with cp/m@1R1:\
14233	:am:bw:hs:\
14234	:co#80:li#24:ws#40:\
14235	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
14236	:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7m:SF=\E[%dB:\
14237	:SR=\E[%dA:UP=\E[%dA:\
14238	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
14239	:ae=\Ed:al=\EN:as=\EF:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
14240	:cm=\E[%i%d;%dH:cr=^M:cs=\EU%+ %+ :dc=\EM:dl=\EL:do=\E[B:\
14241	:ei=:fs=^M:ho=\E[H:ic=\EO:im=:is=\E[U 7\E[24;1H:kb=^H:\
14242	:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:mb=\E[5m:\
14243	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\EX:\
14244	:rf=/usr/share/tabset/vt100:\
14245	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\EW:se=\E[m:\
14246	:sf=^J:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\
14247	:us=\E[4m:ve=\ES:vi=\ER:
14248
14249#### Tandem
14250#
14251# Tandem builds these things for use with its line of fault-tolerant
14252# transaction-processing computers.  They aren't generally available
14253# on the merchant market, and so are fairly uncommon.
14254#
14255
14256tandem6510|adm3a repackaged by Tandem:\
14257	:tc=adm3a:
14258
14259# A funny series of terminal that TANDEM uses.  The actual model numbers
14260# have a fourth digit after 653 that designates minor variants.  These are
14261# natively block-mode and rather ugly, but they have a character mode which
14262# this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
14263# (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
14264# removed :if=/usr/share/tabset/tandem653:, no such file -- esr)
14265tandem653|t653x|Tandem 653x multipage terminal:\
14266	:am:bs:da:db:hs:\
14267	:co#80:li#24:sg#1:ug#1:ws#64:\
14268	:cd=\EJ:ce=\EK:cl=\EI:cm=\023%+ %+ :do=^J:ds=\Eo\r:fs=^M:\
14269	:ho=\EH:le=^H:me=\E6\040:nd=\EC:se=\E6\040:sf=\ES:so=\E6$:\
14270	:sr=\ET:ts=\Eo:ue=\E6\040:up=\EA:us=\E60:
14271
14272#### Tandy/Radio Shack
14273#
14274# Tandy has a line of VDTs distinct from its microcomputers.
14275#
14276
14277dmterm|deskmate terminal:\
14278	:am:bw:\
14279	:co#80:li#24:\
14280	:al=\EP:bl=^G:cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :cr=^M:\
14281	:dc=\ES:dl=\ER:do=\EB:ei=:ho=\EH:ic=\EQ:im=:k0=\E1:k1=\E2:\
14282	:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:k7=\E8:k8=\E9:k9=\E0:\
14283	:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:\
14284	:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:ll=\EE:mk@:nd=\EC:\
14285	:sf=\EX:ta=^I:ue@:up=\EA:us@:ve=\EG6:vi=\EG5:tc=adm+sgr:
14286dt100|dt-100|Tandy DT-100 terminal:\
14287	:xo:\
14288	:co#80:li#24:sg#1:ug#1:\
14289	:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[L:as=^N:bl=^G:\
14290	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:cr=^M:\
14291	:cs=\E[%2;%2r:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:\
14292	:im=:is=\E[?3l\E)0\E(B:k1=\E[?3i:k2=\E[2i:k3=\E[@:k4=\E[M:\
14293	:k5=\E[17~:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:\
14294	:k;=\E[?5i:kN=\E[29~:kP=\E[28~:kd=\E[B:kh=\E[H:kl=\E[D:\
14295	:kr=\E[C:ku=\E[A:l1=f1:l2=f2:l3=f3:l4=f4:l5=f5:l6=f6:l7=f7:\
14296	:l8=f8:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:\
14297	:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
14298dt100w|dt-100w|Tandy DT-100 terminal (wide mode):\
14299	:co#132:tc=dt100:
14300dt110|Tandy DT-110 emulating ansi:\
14301	:xo:\
14302	:co#80:li#24:\
14303	:@7=\E[K:ac=jjkkllmmnnqqttuuvvwwxx:ae=^O:al=\E[0L:as=^N:\
14304	:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\010\E[%i%d;%dH:\
14305	:cr=^M:cs=\E[%i%d;%dr:dc=\E[0P:dl=\E[0M:do=\E[B:\
14306	:eA=\E(B\E)0:ei=:ho=\E[H:ic=\E[0@:im=:is=\E[?3l\E)0\E(B:\
14307	:k1=\E[1~:k2=\E[2~:k3=\E[3~:k4=\E[4~:k5=\E[5~:k6=\E[6~:\
14308	:k7=\E[7~:k8=\E[8~:k9=\E[9~:k;=\E[10~:kI=\E[@:kN=\E[26~:\
14309	:kP=\E[25~:kd=\E[B:kh=\E[G:kl=\E[D:kr=\E[C:ku=\E[A:l0=f1:\
14310	:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:l8=f9:l9=f10:le=^H:\
14311	:me=\E[m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
14312	:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
14313pt210|TRS-80 PT-210 printing terminal:\
14314	:hc:os:\
14315	:co#80:\
14316	:bl=^G:cr=^M:do=^J:sf=^J:
14317
14318#### Tektronix (tek)
14319#
14320# Tektronix tubes are graphics terminals.  Most of them use modified
14321# oscilloscope technology incorporating a long-persistence green phosphor,
14322# and support vector graphics on a main screen with an attached "dialogue
14323# area" for interactive text.
14324#
14325
14326tek|tek4012|tektronix 4012:\
14327	:bs:os:\
14328	:co#75:li#35:\
14329	:bl=^G:cl=1000\E\014:cr=^M:do=^J:ff=1000\014:is=\E^O:le=^H:
14330# (tek4013: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
14331tek4013|tektronix 4013:\
14332	:ac=:ae=\E^O:as=\E^N:tc=tek4012:
14333tek4014|tektronix 4014:\
14334	:co#81:li#38:\
14335	:is=\E\017\E9:tc=tek4012:
14336# (tek4015: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
14337tek4015|tektronix 4015:\
14338	:ac=:ae=\E^O:as=\E^N:tc=tek4014:
14339tek4014-sm|tektronix 4014 in small font:\
14340	:co#121:li#58:\
14341	:is=\E\017\E\072:tc=tek4014:
14342# (tek4015-sm: added <acsc> to suppress tic warnings re :as:/:ae: --esr)
14343tek4015-sm|tektronix 4015 in small font:\
14344	:ac=:ae=\E^O:as=\E^N:tc=tek4014-sm:
14345# Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
14346#
14347# You need to have "stty nl2" in effect.  Some versions of tset(1) know
14348# how to set it for you.
14349#
14350# It's got the Magic Cookie problem around stand-out mode.  If you can't
14351# live with Magic Cookie, remove the :so: and :se: fields and do without
14352# reverse video.  If you like reverse video stand-out mode but don't want
14353# it to flash, change the letter 'H' to 'P' in the :so: field.
14354tek4023|tektronix 4023:\
14355	:am:bs:\
14356	:co#80:dN#4:li#24:sg#1:vt#4:\
14357	:bl=^G:cl=4\E\014:cm=\034%r%+ %+ :cr=^M:do=^J:kb=^H:le=^H:\
14358	:nd=^I:nl=^J:se=^_@:so=^_P:
14359# It is recommended that you run the 4025 at 4800 baud or less;
14360# various bugs in the terminal appear at 9600.  It wedges at the
14361# bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
14362# on keyboard don't work.  You have to hit BREAK twice to get
14363# one break at any speed - this is a documented feature.
14364# Can't use cursor motion because it's memory relative, and
14365# because it only works in the workspace, not the monitor.
14366# Same for home. Likewise, standout only works in the workspace.
14367#
14368# :ce: was commented out since vi and rogue seem to work better
14369# simulating it with lots of spaces!
14370#
14371# :al: and :AL: had 145ms of padding, but that slowed down vi's ^U
14372# and didn't seem necessary.
14373#
14374tek4024|tek4025|tek4027|tektronix 4024/4025/4027:\
14375	:am:bs:da:db:\
14376	:co#80:it#8:li#34:lm#0:\
14377	:AL=\037up\r\037ili %d\r:CC=^_:DL=\037dli %d\r\006:\
14378	:DO=\037dow %d\r:LE=\037lef %d\r:RI=\037rig %d\r:\
14379	:UP=\037up %d\r:al=\037up\r\037ili\r:bl=^G:\
14380	:cd=\037dli 50\r:cl=\037era\r\n\n:cr=^M:dc=\037dch\r:\
14381	:dl=\037dli\r\006:do=^F^J:ei=:ic=\037ich\r \010:im=:\
14382	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
14383	:ke=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r:\
14384	:ks=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r:\
14385	:le=^H:nd=\037rig\r:sf=^F^J:ta=^I:up=^K:
14386tek4025-17|tek 4025 17 line window:\
14387	:li#17:tc=tek4025:
14388tek4025-17-ws|tek 4025 17 line window in workspace:\
14389	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r:\
14390	:se=\037att s\r:so=\037att e\r:te=\037mon h\r:\
14391	:ti=\037wor h\r:tc=tek4025-17:
14392tek4025-ex|tek4027-ex|tek 4025/4027 w/!:\
14393	:is=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r:\
14394	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
14395# Tektronix 4025a
14396# From: Doug Gwyn <gwyn@brl-smoke.ARPA>
14397# The following status modes are assumed for normal operation (replace the
14398# initial "!" by whatever the current command character is):
14399#	!COM 29			# NOTE: changes command character to GS (^])
14400#	^]DUP
14401#	^]ECH R
14402#	^]EOL
14403#	^]RSS T
14404#	^]SNO N
14405#	^]STO 9 17 25 33 41 49 57 65 73
14406# Other modes may be set according to communication requirements.
14407# If the command character is inadvertently changed, termcap can't restore it.
14408# Insert-character cannot be made to work on both top and bottom rows.
14409# Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
14410# There also seems to be a problem with vertical motion, perhaps involving
14411# delete/insert-line, following a typed carriage return.  This terminal sucks.
14412# Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14413# (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
14414# work any more. -- esr)
14415tek4025a|Tektronix 4025A:\
14416	:am:bs:bw:da:db:pt:xo:\
14417	:co#80:it#8:li#34:\
14418	:CC=^]:DC=\035dch %d;:DL=\035dli %d;:DO=\035dow %d;:\
14419	:LE=\035lef %d;:RI=\035rig %d;:SF=\035dow %d;:\
14420	:UP=\035up %d;:al=\013\035ili;:bl=^G:bt=\035bac;:\
14421	:ce=\035dch 80;:ch=\r\035rig %d;:cl=\035era;\n\035rup;:\
14422	:cr=^M:ct=\035sto;:dc=\035dch;:dl=\035dli;:do=^J:le=^H:\
14423	:nd=\035rig;:\
14424	:rs=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;:\
14425	:sf=^J:ta=^I:up=^K:
14426# From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
14427# Here's the command file that I use to get rogue to work on the 4025.
14428# It should work with any program using the old curses (e.g. it better
14429# not try to scroll, or cursor addressing won't work.  Also, you can't
14430# see the cursor.)
14431# (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
14432tek4025-cr|tek 4025 for curses and rogue:\
14433	:am:bs:\
14434	:co#80:it#8:li#33:\
14435	:cl=\037era;:cm=\037jum%i%d,%d;:do=^F^J:\
14436	:is=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r:\
14437	:le=^H:nd=\037rig;:sf=^F^J:ta=^I:te=\037wor 0:\
14438	:ti=\037wor 33h:up=^K:
14439# next two lines commented out since curses only allows 128 chars, sigh.
14440#	: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:\
14441#	: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:
14442tek4025ex|4025ex|4027ex|tek 4025 w/!:\
14443	:is=\037com 33\r\n!sto 9,17,25,33,41,49,57,65,73\r:\
14444	:te=\037com 33\r:ti=!com 31\r:tc=tek4025:
14445tek4105|tektronix 4105:\
14446	:am:bs:mi:ms:ul:xn:xt:\
14447	:co#79:it#8:li#29:\
14448	:ac=:ae=\E[m:al=\E[1L:as=\E[1m:bl=^G:bt=\E[Z:cd=\E[J:\
14449	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%2H:cr=^M:ct=\E[1g:\
14450	:dc=\E[1P:dl=\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:i1=\E%!1\E[m:\
14451	:im=\E[4h:is=\E%!1\E[?6141\E[m:kb=^H:kd=\E[1B:kl=\E[1D:\
14452	:kr=\E[1C:ku=\E[1A:le=\E[1D:mb=\E[=3;<7m:md=\E[=7;<4m:\
14453	:me=\E[=0;<1m:mh=\E[=1;<6m:mk=\E[=6;<5:mr=\E[=1;<3m:\
14454	:nd=\E[1C:se=\E[=0;<1m:sf=\E[S:so=\E[=2;<3m:sr=\E[T:ta=^I:\
14455	:te=:ti=\E%!1\E[?6l\E[2J:ue=\E[=0;<1m:up=\E[1A:\
14456	:us=\E[=5;<2m:
14457
14458# (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
14459tek4105-30|4015 emulating 30 line vt100:\
14460	:am:mi:ms:xn:xo:\
14461	:co#80:it#8:li#30:vt#3:\
14462	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
14463	:UP=\E[%dA:\
14464	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
14465	:ae=^O:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
14466	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
14467	:ct=\E[3g:do=^J:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:\
14468	:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
14469	:mb=2\E[5m:md=2\E[1m:me=2\E[0m:mr=2\E[7m:nd=2\E[C:rc=\E8:\
14470	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=2\E[m:\
14471	:sf=^J:so=2\E[1;7m:sr=5\EM:st=\EH:ta=^I:ue=2\E[m:up=2\E[A:\
14472	:us=2\E[4m:tc=vt100+fnkeys:
14473
14474# Tektronix 4105 from BRL
14475# The following setup modes are assumed for normal operation:
14476#	CODE ansi		CRLF no			DABUFFER 141
14477#	DAENABLE yes		DALINES 30		DAMODE replace
14478#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 30
14479#	FLAGGING input		INSERTREPLACE replace	LFCR no
14480#	ORIGINMODE relative	PROMPTMODE no		SELECTCHARSET G0 B
14481#	SELECTCHARSET G1 0	TABS -2
14482# Other setup modes may be set for operator convenience or communication
14483# requirements; I recommend
14484#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
14485#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
14486#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
14487#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 10 1
14488#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
14489#	PROMPTSTRING ''		QUEUESIZE 2460		WINDOW 0 0 4095 3132
14490#	XMTDELAY 0
14491# and factory color maps.  After setting these modes, save them with NVSAVE. No
14492# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14493# "IC" cannot be used in combination with "im" & "ei".
14494# "tek4105a" is just a guess:
14495tek4105a|Tektronix 4105:\
14496	:bs:ms:pt:xo:\
14497	:co#80:it#8:kn#8:li#30:vt#3:\
14498	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
14499	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
14500	:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
14501	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
14502	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
14503	:is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
14504	:k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
14505	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
14506	:l5=F6:l6=F8:le=^H:ll=\E[30;H:mb=\E[5m:md=\E[1m:me=\E[m:\
14507	:mr=\E[7m:nd=\E[C:nw=\EE:rc=\E8:\
14508	:rs=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\
14509	:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
14510	:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:us=\E[4m:\
14511	:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
14512	:vs=\E%!0\ETD70\E%!1:
14513
14514#
14515# Tektronix 4106/4107/4109 from BRL
14516# The following setup modes are assumed for normal operation:
14517#	CODE ansi		COLUMNMODE 80		CRLF no
14518#	DABUFFER 141		DAENABLE yes		DALINES 32
14519#	DAMODE replace		DAVISIBILITY yes	ECHO no
14520#	EDITMARGINS 1 32	FLAGGING input		INSERTREPLACE replace
14521#	LFCR no			LOCKKEYBOARD no		ORIGINMODE relative
14522#	PROMPTMODE no		SELECTCHARSET G0 B	SELECTCHARSET G1 0
14523#	TABS -2
14524# Other setup modes may be set for operator convenience or communication
14525# requirements; I recommend
14526#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
14527#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
14528#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
14529#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
14530#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
14531#	PROMPTSTRING ''		QUEUESIZE 2620		WINDOW 0 0 4095 3132
14532#	XMTDELAY 0
14533# and factory color maps.  After setting these modes, save them with NVSAVE.  No
14534# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
14535# "IC" cannot be used in combination with "im" & "ei".
14536tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109:\
14537	:ms:xo:\
14538	:co#80:it#8:li#32:vt#3:\
14539	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
14540	:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:ae=^O:al=\E[L:\
14541	:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
14542	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
14543	:dl=\E[M:do=^J:ec=\E[%dX:ei=\E[4l:ho=\E[H:im=\E[4h:\
14544	:is=\E%!1:k0=\EOA:k1=\EOB:k2=\EOC:k3=\EOD:k4=\EOP:k5=\EOQ:\
14545	:k6=\EOR:k7=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
14546	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:\
14547	:l5=F6:l6=F8:le=^H:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:\
14548	:mr=\E[7m:nd=\E[C:nw=\EE:\
14549	:r1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\
14550	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7;42m:sr=\EM:st=\EH:\
14551	:ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:up=\EM:\
14552	:us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
14553	:vs=\E%!0\ETD70\E%!1:
14554
14555# Tektronix 4107/4109 interpret 4 modes using "\E%!" followed by a code:
14556# 0 selects Tek mode, i.e., \E%!0
14557# 1 selects ANSI mode
14558# 2 selects ANSI edit-mode
14559# 3 selects VT52 mode
14560#
14561# One odd thing about the description (which has been unchanged since the 90s)
14562# is that the cursor addressing is using VT52 mode, and a few others use the
14563# VT52's non-CSI versions of ANSI, e.g., \EJ.
14564tek4107|tek4109|tektronix terminals 4107 4109:\
14565	:am:bs:mi:ms:ul:xn:xt:\
14566	:co#79:it#8:li#29:\
14567	:bl=^G:cd=\EJ:ce=\EK:cl=\ELZ:cm=\EY%+ %+ :cr=^M:do=^J:kb=^H:\
14568	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:mb=\E%!1\E[5m\E%!0:\
14569	:md=\E%!1\E[1m\E%!0:me=\E%!1\E[m\E%!0:\
14570	:mh=\E%!1\E[<0m\E%!0:mr=\E%!1\E[7m\E%!0:nd=\EC:\
14571	:se=\E%!1\E[m\E%!0:sf=^J:so=\E%!1\E[7;5m\E%!0:sr=\EI:\
14572	:ta=^I:ue=\E%!1\E[m\E%!0:up=\EA:us=\E%!1\E[4m\E%!0:\
14573	:ve=\E%!0:vs=\E%!3:
14574# Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
14575# see the note attached to tek4207.
14576tek4207-s|Tektronix 4207 with sysline but no memory:\
14577	:es:hs:\
14578	:ds=\E7\E[?6l\E[2K\E[?6h\E8:fs=\E[?6h\E8:\
14579	:i1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
14580	:is=\E7\E[?6l\E[2K\E[?6h\E8:\
14581	:ts=\E7\E[?6l\E[2K\E[;%i%df:tc=tek4107:
14582
14583# The 4110 series may be a wonderful graphics series, but they make the 4025
14584# look good for screen editing.  In the dialog area, you can't move the cursor
14585# off the bottom line.  Out of the dialog area, ^K moves it up, but there
14586# is no way to scroll.
14587#
14588# Note that there is a floppy for free from Tek that makes the
14589# 4112 emulate the vt52 (use the vt52 termcap). There is also
14590# an expected enhancement that will use ANSI standard sequences.
14591#
14592# 4112 in non-dialog area pretending to scroll. It really wraps
14593# but vi is said to work (more or less) in this mode.
14594#
14595# 'vi' works reasonably well with this entry.
14596#
14597otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series:\
14598	:am:\
14599	:co#80:li#34:\
14600	:bl=^G:cl=\E^L:cr=^M:do=^J:le=^H:sf=^J:te=\EKA1\ELV1:\
14601	:ti=\EKA0\ELV0\EMG0:up=^K:
14602# The 4112 with the ANSI compatibility enhancement
14603tek4112|tek4114|tektronix 4110 series:\
14604	:am:bs:db:\
14605	:co#80:li#34:\
14606	:al=\E[L:bt=\E[Z:cd=\E[0J:ce=\E[0K:cl=\E[2J\E[0;0H:\
14607	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:ic=\E[@:im=:\
14608	:is=\E3!1:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
14609	:sf=\E7\E[0;0H\E[M\E8:so=\E[7m:sr=\E7\E[0;0H\E[L\E8:\
14610	:ue=\E[m:up=\EM:us=\E[4m:
14611tek4112-nd|4112 not in dialog area:\
14612	:ns:\
14613	:up=^K:tc=tek4112:
14614tek4112-5|4112 in 5 line dialog area:\
14615	:li#5:tc=tek4112:
14616# (tek4113: this used to have ":nd=\LM1\s\LM0:", someone's mistake;
14617# removed ":as=\E^N:, :ae=\E^O:", which had been commented out in 8.3.
14618# Note, the !0 and !1 sequences in :te:/:ti:/:ve:/:vi: were
14619# previously \0410 and \0411 sequences...I don't *think* they were supposed
14620# to be 4-digit octal -- esr)
14621tek4113|tektronix 4113 color graphics with 5 line dialog area:\
14622	:am:bs:da:eo:\
14623	:co#80:li#5:\
14624	:cl=\ELZ:do=^J:is=\EKA1\ELL5\ELV0\ELV1:le=^H:\
14625	:nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\
14626	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:
14627tek4113-34|tektronix 4113 color graphics with 34 line dialog area:\
14628	:li#34:\
14629	:is=\EKA1\ELLB2\ELV0\ELV1:tc=tek4113:
14630# :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not
14631# supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
14632# :vb: needs enough delay to let you see the background color being toggled.
14633tek4113-nd|tektronix 4113 color graphics with no dialog area:\
14634	:am:bs:eo:\
14635	:co#80:it#8:li#34:\
14636	:cl=\E^L:do=^J:ho=\ELF7l\177 @:is=\ELZ\EKA0\ELF7l\177 @:\
14637	:le=^H:ll=\ELF hl @:nd=^I:se=\EMT1:so=\EMT2:ta=^I:\
14638	:uc=\010\EMG1_\EMG0:up=^K:\
14639	:vb=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0:\
14640	:vs=\ELZ\EKA0:
14641# This entry is from Tek. Inc.  (Brian Biehl)
14642# (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
14643otek4115|Tektronix 4115:\
14644	:am:bs:da:db:eo:\
14645	:co#80:it#8:li#34:\
14646	:RA=\E[?7l:SA=\E[?7h:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
14647	:cl=\E[H\E[2J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:\
14648	:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:\
14649	:is=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m:\
14650	:kb=^H:ke=\E>:ks=\E=:le=\E[D:me=\E[m:nd=\E[C:se=\E[m:\
14651	:so=\E[7m:sr=\EM:ta=^I:te=\E%!0\ELBG8\E%!1\E[34;1H\E[J:\
14652	:ti=\E%!0\ELBB2\E%!1:ue=\E[m:up=\E[A:us=\E[4m:\
14653	:ve=\E%!0\ELBG8\E%!1\E[34;1H:vs=\E%!0\ELBB2\E%!1:
14654tek4115|newer tektronix 4115 entry with more ANSI capabilities:\
14655	:am:xo:\
14656	:co#80:li#34:\
14657	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
14658	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
14659	:bt=\E[Z:cd=\E[J:ce=\E[K:ch=\E[%+^AG:cl=\E[H\E[J:\
14660	:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:\
14661	:dl=\E[M:do=^J:ei=:ho=\E[H:ic=\E[@:im=:kb=^H:kd=\E[B:kh=\E[H:\
14662	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
14663	:mk=\E[8m:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:so=\E[7m:st=\EH:\
14664	:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
14665# The tek4125 emulates a vt100 incorrectly - the scrolling region
14666# command is ignored.  The following entry replaces :cs: with the needed
14667# :AL:, :AL:, and :im:; removes some cursor pad commands that the tek4125
14668# chokes on; and adds a lot of initialization for the tek dialog area.
14669# Note that this entry uses all 34 lines and sets the cursor color to green.
14670# Steve Jacobson 8/85
14671# (tek4125: there were two "\!"s in the is that I replaced with "\E!";
14672# commented out, :im:=\E1 because there's no :ei:  -- esr)
14673tek4125|tektronix 4125:\
14674	:li#34:\
14675	:al=\E[1L:cs@:dl=\E[1M:\
14676	:is=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
14677	:ks=\E=:rc@:sc@:tc=vt100:
14678
14679# From: <jcoker@ucbic>
14680# (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
14681# supplied another, less capable 4107 entry.  So we'll use that for 4107 and
14682# note that if jcoker wasn't confused you may be able to use this one.
14683# I merged in :ms:,:sf:,:sr:,<invis>,:ct: from a BRL entry -- esr)
14684tek4207|Tektronix 4207 graphics terminal with memory:\
14685	:am:bw:mi:ms:ul:xn:\
14686	:co#80:it#8:li#32:\
14687	:al=3\E[L:bt=\E[Z:cd=\E[J:ce=5\E[K:cl=156\E[H\E[J:\
14688	:cm=\E[%i%d;%dH:ct=\E[1g:dc=4\E[P:dl=3\E[M:do=^J:ei=:\
14689	:ho=\E[H:ic=4\E[@:im=:\
14690	:is=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J:\
14691	:kd=\ED:kh=\E[H:kl=\E[D:kr=\E[C:ku=\EM:le=^H:mb=\E[5m:\
14692	:md=\E[1m:me=\E[m:mk=\E[=6;<5:mr=\E[7m:nd=\E[C:se=\E[m:\
14693	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:\
14694	:te=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f:ti=\E[?6l\E[H\E[J:\
14695	:ue=\E[m:up=\EM:us=\E[4m:
14696
14697# From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
14698# (tek4404: There was a "\!" in :ti: that I replaced with "\E!".
14699# Tab had been given as \E2I,that must be the tab-set capability -- esr)
14700tek4404|tektronix 4404:\
14701	:bs:\
14702	:co#80:it#8:li#32:\
14703	:al=\E[1L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
14704	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[1M:do=^J:ei=\E[4l:ho=\E[H:\
14705	:im=\E[4h:kd=\E[B:ke=\E[?1h:kl=\E[D:kr=\E[C:ks=\E[?1l:\
14706	:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:rc=\E8:\
14707	:sc=\E7:se=\E[27m:so=\E[7m:st=\E[2I:ta=^I:\
14708	:te=\E[1;1H\E[0J\E[?6h\E[?1l:\
14709	:ti=\E%\E!1\E[1;32r\E[?6l\E>:ue=\E[m:up=\E[A:us=\E[4m:
14710# Some unknown person wrote:
14711# I added the is string - straight Unix has ESC ; in the login
14712# string which sets a ct8500 into monitor mode (aka 4025 snoopy
14713# mode). The is string here cleans up a few things (but not
14714# everything).
14715ct8500|tektronix ct8500:\
14716	:am:bw:da:db:\
14717	:co#80:li#25:\
14718	:al=\E^L:bl=^G:bt=\E^I:cd=\E^U:ce=\E^T:cl=\E^E:\
14719	:cm=\E|%+ %+ :cr=^M:dc=\E^]:dl=\E^M:do=^J:ei=:ic=\E^\:im=:\
14720	:is=\037\EZ\Ek:le=^H:me=\E\040:nd=\ES:se=\E\040:sf=^J:\
14721	:so=\E$:sr=\E^A:ta=^I:ue=\E\040:up=\ER:us=\E!:
14722
14723# Tektronix 4205 terminal.
14724#
14725# am is not defined because the wrap around occurs not when the char.
14726# is placed in the 80'th column, but when we are attempting to type
14727# the 81'st character on the line.  (esr: hmm, this is like the vt100
14728# version of xenl, perhaps am + xenl would work!)
14729#
14730# Bold, dim, and standout are simulated by colors and thus not allowed
14731# with colors.  The tektronix color table is mapped into the RGB color
14732# table by setf/setb. All colors are reset to factory specifications by oc.
14733# The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the
14734# interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
14735# interval then maps into pre-defined value.
14736tek4205|tektronix 4205:\
14737	:cc:mi:ms:\
14738	:Co#8:NC#49:co#80:it#8:li#30:pa#63:\
14739	:AL=\E[%dL:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:\
14740	:UP=\E[%dA:\
14741	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
14742	:ae=^O:al=\E[1L:as=^N:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:\
14743	:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:ct=\E[1g:\
14744	:dc=\E[1P:dl=\E[1M:do=\E[B:eA=\E)0:ec=\E%dX:ei=\E[4l:\
14745	:ho=\E[H:i1=\E%!0\ETM1\E%!1\E[m:im=\E[4h:k0=\EOA:k1=\EOB:\
14746	:k2=\EOC:k3=\EOD:k4=\EP:k5=\EQ:k6=\ER:k7=\ES:kb=^H:kd=\E[B:\
14747	:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[=7;<4m:\
14748	:me=\E[=0;<1m\E[24;25;27m\017:mh=\E[=1;<6m:mk=\E[=6;<5:\
14749	:mr=\E[7m:nd=\E[C:\
14750	:oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1:\
14751	:op=\E[39;40m:se=\E[=0;<1m:sf=\ED:so=\E[=2;<3m:sr=\EM:\
14752	:ta=^I:te=:ti=\E%%!1\E[?6l\E[2J:ue=\E[24m:up=\E[A:\
14753	:us=\E[4m:
14754
14755#### Teletype (tty)
14756#
14757# These are the hardcopy Teletypes from before AT&T bought the company,
14758# clattering electromechanical dinosaurs in Bakelite cases that printed on
14759# pulpy yellow roll paper.  If you remember these you go back a ways.
14760# Teletype-branded VDTs are listed in the AT&T section.
14761#
14762# The earliest UNIXes were designed to use these clunkers; nroff and a few
14763# other programs still default to emitting codes for the Model 37.
14764#
14765
14766tty33|tty35|model 33 or 35 teletype:\
14767	:hc:os:xo:\
14768	:co#72:\
14769	:bl=^G:cr=^M:do=^J:sf=^J:
14770tty37|model 37 teletype:\
14771	:bs:hc:os:xo:\
14772	:bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
14773
14774# There are known to be at least three flavors of the tty40, all seem more
14775# like IBM half duplex forms fillers than ASCII terminals.  They have lots of
14776# awful braindamage, such as printing a visible newline indicator after each
14777# newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
14778# braindamaged but has hope and is described here.  The 40-4 is a 3270
14779# lookalike and beyond hope.  The terminal has visible bell but I don't know
14780# it - it's null here to prevent it from showing the BL character.
14781# There is an \EG in <nl> because of a bug in old vi (if stty says you have
14782# a "newline" style terminal (-crmode) vi figures all it needs is nl
14783# to get crlf, even if :cr: is not ^M.)
14784# (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
14785tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2:\
14786	:bs:xo:\
14787	:co#80:li#24:\
14788	:al=50\EL:cd=75\EJ:cl=80\EH\EJ:cr=\EG:ct=80\EH\E2:\
14789	:dc=50\EP:dl=50\EM:do=\EB:ei=:ho=10\EH:ic=50\E\136:im=:\
14790	:kb=^]:kl=^H:le=^H:nd=\EC:pf=^T:po=2000\022:rs=60\023\ER:\
14791	:se=\E4:sf=20\ES:so=\E3:sr=10\ET:st=\E1:ta=10\E@:up=\E7:
14792tty43|model 43 teletype:\
14793	:am:bs:hc:os:xo:\
14794	:co#132:\
14795	:bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
14796
14797#### Tymshare
14798#
14799
14800# You can add :is=\E<: to put this 40-column mode, though I can't
14801# for the life of me think why anyone would want to.
14802scanset|sc410|sc415|Tymshare Scan Set:\
14803	:am:bw:ms:\
14804	:co#80:li#24:\
14805	:ac=j%k4l<m-q,x5:ae=^O:as=^N:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:\
14806	:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:kd=\EB:kl=\ED:kr=\EC:\
14807	:ku=\EA:le=^H:nd=^I:pf=\E;0:po=\E;0:ps=\E;3:r1=\E>:rc=^C:\
14808	:sc=^B:sf=^J:up=^K:
14809
14810#### Volker-Craig (vc)
14811#
14812# If you saw a Byte Magazine cover with a terminal on it during the early
14813# 1980s, it was probably one of these.  Carl Helmers liked them because
14814# they could crank 19.2 and were cheap (that is, he liked them until he tried
14815# to program one...)
14816#
14817
14818# Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
14819# every other linefeed.
14820vc303|vc103|vc203|volker-craig 303:\
14821	:am:bs:ns:\
14822	:co#80:li#24:\
14823	:bl=^G:cl=40\014:cr=^M:do=^J:ho=40\013:kd=^J:kl=^H:kr=^I:\
14824	:ku=^N:le=^H:ll=\017W:nd=^I:up=^N:
14825vc303a|vc403a|volker-craig 303a:\
14826	:ce=20\026:cl=40\030:ho=40\031:kr=^U:ku=^Z:ll=^P:nd=^U:\
14827	:up=^Z:tc=vc303:
14828# (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
14829vc404|volker-craig 404:\
14830	:am:bs:\
14831	:co#80:li#24:\
14832	:bl=^G:cd=40\027:ce=20\026:cl=40\030:cm=\020%+ %+ :cr=^M:\
14833	:do=^J:ho=40\031:kd=^J:kl=^H:kr=^U:ku=^Z:le=^H:nd=^U:sf=^J:\
14834	:up=^Z:
14835vc404-s|volker-craig 404 w/standout mode:\
14836	:do=^J:se=^O:so=^N:tc=vc404:
14837# From: <wolfgang@cs.sfu.ca>
14838# (vc414: merged in cup/dl1/home from an old vc414h-noxon)
14839vc414|vc414h|Volker-Craig 414H in sane escape mode.:\
14840	:am:bs:\
14841	:co#80:li#24:\
14842	:al=40\E\032:cd=\E^X:ce=10\E\017:cl=40\E\034:\
14843	:cm=40\E\021%r%.%.:dc=\E3:dl=40\E\023:do=\E^K:ei=:ho=\E^R:\
14844	:ic=\E\072:im=:k0=\EA:k1=\EB:k2=\EC:k3=\ED:k4=\EE:k5=\EF:\
14845	:k6=\EG:k7=\EH:kd=\E^K:kh=\E^R:kl=^H:kr=^P:ku=\E^L:l0=PF1:\
14846	:l1=PF2:l2=PF3:l3=PF4:l4=PF5:l5=PF6:l6=PF7:l7=PF8:nd=^P:\
14847	:se=\E^_:so=\E^Y:up=\E^L:
14848vc415|volker-craig 415:\
14849	:cl=^L:tc=vc404:
14850
14851######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
14852#
14853
14854#### IBM PC and clones
14855#
14856
14857# The pcplot IBM-PC terminal emulation program is really messed up. It is
14858# supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
14859# doesn't support scrolling regions, ignores add line commands, and ignores
14860# delete line commands. Consequently, the resulting behavior looks like a
14861# crude adm3a-type terminal.
14862# Steve Jacobson 8/85
14863pcplot|pc-plot terminal emulation program:\
14864	:xn@:\
14865	:AL@:DL@:al@:cs@:dl@:rc@:sc@:tc=vt100:
14866# KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
14867# I've found that my KayPro II, running MDM730, continues to emulate an
14868# ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
14869# system the following termcap entry works well:
14870# I have noticed a couple of minor glitches, but nothing I can't work
14871# around. (I added two capabilities from the BRL entry -- esr)
14872kaypro|kaypro2|kaypro II:\
14873	:am:bs:\
14874	:co#80:li#24:\
14875	:al=\EE:bl=^G:cd=^W:ce=^X:cl=1\032:cm=\E=%+ %+ :cr=^M:\
14876	:dl=\ER:do=^J:ho=^^:kd=^J:kr=^L:ku=^K:nd=^L:sf=^J:up=^K:
14877
14878# From IBM, Thu May  5 19:35:27 1983
14879# (ibmpc: commented out :im:=\200R because we don't know :ei: -- esr)
14880ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS):\
14881	:am:bs:\
14882	:co#80:li#24:\
14883	:bl=^G:cl=^L^K:cr=^M^^:do=^J:ho=^K:kd=^_:le=^]:nd=^\:sf=10\n:\
14884	:up=^^:
14885
14886ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX:\
14887	:am:bs:bw:eo:hs:km:ms:ul:\
14888	:co#80:it#8:li#24:\
14889	:@7=\E[Y:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS\E[%dB:\
14890	:SR=\E[%dT\E[%dA:UP=\E[%dA:\
14891	:ac=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263:\
14892	:bl=^G:cd=\E[J:ce=\E[K:ch=\E[%i%dG:cl=\Ec:cm=\E[%i%d;%dH:\
14893	:cr=^M:do=\E[B:ec=\E[%dX:ho=\E[H:k1=\240:k2=\241:k3=\242:\
14894	:k4=\243:k5=\244:k6=\245:k7=\246:k8=\247:k9=\250:k;=\251:\
14895	:kB=^]:kD=\177:kI=\E[^H:kN=\E[U:kP=\E[V:kb=^H:kd=\E[B:\
14896	:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;1H:\
14897	:mb=\E[5m:md=\E[1m:me=\E[m:mk=\E[30;40m:mr=\E[7m:nd=\E[C:\
14898	:nw=^M:se=\E[m:sf=\E[S\E[B:so=\E[7m:sr=\E[T\E[A:ue=\E[m:\
14899	:up=\E[A:us=\E[4m:
14900
14901#### Apple II
14902#
14903# Apple II firmware console first, then various 80-column cards and
14904# terminal emulators.  For two cents I'd toss all these in the UFO file
14905# along with the 40-column apple entries.
14906#
14907
14908# From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
14909#	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
14910#		function of TIC, not the firmware.
14911#	The clear key on a IIgs will do something like clear-screen,
14912#		depending on what you're in.
14913appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface:\
14914	:am:bs:bw:eo:ms:\
14915	:co#80:it#8:li#24:\
14916	:bl=^G:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:ho=^Y:\
14917	:kC=^X:kD=\177:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:nd=^\:\
14918	:nw=^M^W:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
14919# Apple //e with 80-column card, entry from BRL
14920# The modem interface is permitted to discard LF (maybe DC1), otherwise
14921# passing characters to the 80-column firmware via COUT (PR#3 assumed).
14922# Auto-wrap does not work right due to newline scrolling delay, which also
14923# requires that you set "stty cr2".
14924# Note: Cursor addressing is only available via the Pascal V1.1 entry,
14925# not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
14926# using a terminal emulation program instead of the built-in firmware.
14927apple2e|Apple //e:\
14928	:bw:ms:\
14929	:co#80:li#24:\
14930	:bl=^G:cd=4*\013:ce=4\035:cl=100\014:do=^J:ho=^Y:is=^R^N:\
14931	:kb=^H:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:mr=^O:nw=100\r:\
14932	:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:ta=^I:up=^_:
14933# mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
14934# 4.20, with incoming and outgoing terminals both on 0, emulation On.
14935apple2e-p|Apple //e via Pascal:\
14936	:cm=\036%r%+ %+ :kb=^H:kd=^J:kl=^H:tc=apple2e:
14937# (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
14938# Enable DC3/DC1 flow control with "stty ixon -ixany".
14939apple-ae|ASCII Express:\
14940	:am:bs:bw:ms:nx:xo:\
14941	:co#80:it#8:li#24:\
14942	:bl=500\007:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :cr=^M:do=^J:\
14943	:ho=^Y:is=^R^N:kC=^X:kd=^J:kl=^H:kr=^U:ku=^K:le=^H:me=^N:\
14944	:mr=^O:nd=^U:r1=^R^N:se=^N:sf=^W:so=^O:sr=^V:up=^_:
14945appleII|apple ii plus:\
14946	:am:bs:\
14947	:co#80:it#8:li#24:\
14948	:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :do=^J:ho=\E^Y:\
14949	:is=\024T1\016:kd=^J:kr=^U:le=^H:me=^N:nd=^\:se=^N:so=^O:\
14950	:ta=^I:up=^_:vb=\024G1\024T1:ve=^TC2:vs=^TC6:
14951# Originally by Gary Ford 21NOV83
14952# From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
14953apple-80|apple II with smarterm 80 col:\
14954	:am:bs:bw:\
14955	:co#80:li#24:\
14956	:bt=^R:cd=10*\013:ce=10\035:cl=10*\014:cm=\036%r%+ %+ :\
14957	:cr=10*\r:do=^J:ho=^Y:le=^H:nd=^\:up=^_:
14958apple-soroc|apple emulating soroc 120:\
14959	:am:\
14960	:co#80:li#24:\
14961	:bl=^G:cd=\EY:ce=\ET:cl=300\E*:cm=\E=%+ %+ :cr=^M:do=^J:\
14962	:ho=^^:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
14963# From Peter Harrison, Computer Graphics Lab, San Francisco
14964#   ucbvax!ucsfmis!harrison  .....uucp
14965#   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
14966# "These two work.  If you don't have the inverse video chip for the
14967# Apple with videx then remove the :so: and :se: fields."
14968# (apple-videx: this used to be called DaleApple -- esr)
14969apple-videx|Apple with videx videoterm 80 column board with inverse video:\
14970	:am:bs:xn:\
14971	:co#80:it#8:li#24:\
14972	:cd=^K:ce=^]:cl=300\014:cm=\036%r%+ %+ :do=^J:ho=^Y:kd=^J:\
14973	:kh=^Y:kl=^H:kr=^U:le=^H:me=^Z2:nd=^\:se=^Z2:so=^Z3:ta=^I:\
14974	:up=^_:
14975# My system [for reference] : Apple ][+, 64K, Ultraterm display card,
14976#			      Apple Cat ][ 212 modem, + more all
14977#			      controlled by ASCII Express: Pro.
14978# From Dave Shaver <isucs1!shaver>
14979apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell:\
14980	:am:bs:eo:xt:\
14981	:co#80:li#24:\
14982	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
14983	:is=^V4^W06\017\rVisible Bell Installed.\016\r\n:\
14984	:nd=^\:se=^N:so=^O:up=^_:vb=^W35^W06:
14985apple-uterm|Ultraterm for Apple micros:\
14986	:am:bs:eo:xt:\
14987	:co#80:li#24:\
14988	:ac=:cd=^K:ce=^]:cl=^L:cm=\036%r%+ %+ :ho=^Y:\
14989	:is=^V4^W06\016:nd=^\:se=^N:so=^O:up=^_:
14990# from trwrba!bwong (Bradley W. Wong):
14991#
14992# This entry assumes that you are using an apple with the UCSD Pascal
14993# language card.  SYSTEM.MISCINFO is assumed to be the same as that
14994# supplied with the standard apple except that screenwidth should be set
14995# using SETUP to 80 columns.  Note that the right arrow is not mapped in
14996# this termcap entry.  This is because that key, on the Apple, transmits
14997# a ^U and would thus preempt the more useful "up" function of vi.
14998#
14999# HMH 2/23/81
15000apple80p|80-column apple with Pascal card:\
15001	:am:bw:\
15002	:co#80:li#24:\
15003	:cd=^K:ce=^]:cl=^Y^L:cm=\036%r%+ %+ :ho=^Y:kl=^H:nd=^\\072:\
15004	:up=^_:
15005#
15006# Apple II+ equipped with Videx 80 column card
15007#
15008# Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
15009# manually converted by D A Gwyn
15010#
15011# DO NOT use any terminal emulation with this data base, it works directly
15012# with the Videx card.  This has been tested with vi 1200 baud and works fine.
15013#
15014# This works great for vi, except I've noticed in pre-R2, ^U will scroll back
15015# 1 screen, while in R2 ^U doesn't.
15016# For inverse alternate character set add:
15017#	:as:=^O::ae:=^N:
15018# (apple-v: added it#8 -- esr)
15019apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520):\
15020	:am:xn:\
15021	:co#80:it#8:li#24:\
15022	:bl=100\007:cd=16*\013:ce=^]:cl=16*\014:cm=\036%r%+ %+ :\
15023	:cr=^M:do=^J:ho=^Y:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^\:ku=^_:le=^H:\
15024	:nd=^\:se=^Z2:sf=^J:so=^Z3:ta=8\011:up=^_:
15025apple-videx3|vapple|Apple II with 80 col card:\
15026	:am:bs:\
15027	:co#80:li#24:\
15028	:ce=\Ex:cl=\Ev:cm=\EY%+ %+ :do=\EB:ho=\EH:k0=\EP:k1=\EQ:\
15029	:k2=\ER:k3=\E\040:k4=\E!:k5=\E":k6=\E#:k7=\E$:k8=\E%%:\
15030	:k9=\E&:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=\ED:nd=\EC:\
15031	:up=\EA:
15032#From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
15033aepro|Apple II+ running ASCII Express Pro--vt52:\
15034	:bs:\
15035	:co#80:li#24:\
15036	:cd=\EJ:ce=\EK:cl=300\014:cm=\EY%+ %+ :do=\EB:ho=\EH:\
15037	:le=\ED:nd=\EC:up=\EA:
15038# UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
15039apple-vm80|ap-vm80|apple with viewmax-80:\
15040	:bs:\
15041	:co#80:li#24:\
15042	:cd=300\013:ce=^]:cl=300\014:cm=100\036%+ %+ :ho=200\031:\
15043	:nd=^\\072:up=^_:
15044
15045#### Apple Lisa & Macintosh
15046#
15047
15048# (lisa: changed :vs: to :ve: -- esr)
15049lisa|apple lisa console display (black on white):\
15050	:am:bs:eo:ms:\
15051	:co#88:it#8:li#32:\
15052	:ac=jdkclfmenbqattuvvuwsx`:ae=\E[10m:al=\E[L:as=\E[11m:\
15053	:cd=\E[J:ce=\E[K:cl=^L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:\
15054	:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E>\E[m\014:kb=^H:\
15055	:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:\
15056	:se=\E[m:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[5l:\
15057	:vi=\E[5h:
15058liswb|apple lisa console display (white on black):\
15059	:is=\E>\E[0;7m\014:se=\E[0;7m:so=\E[m:ue=\E[0;7m:\
15060	:us=\E[4m:tc=lisa:
15061
15062# lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
15063# :is: revised by Ferd Brundick <fsbrn@BRL.ARPA>
15064#
15065# These entries assume that the 'Auto Wraparound' is enabled.
15066# Xon-Xoff flow control should also be enabled.
15067#
15068# The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
15069# settings are in non-volatile memory and don't need to be reset upon login.
15070# Also setting the number of columns glitches the screen annoyingly.
15071# You can type "reset" to get them set.
15072#
15073lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation:\
15074	:am:bs:pt:xn:xo:\
15075	:co#80:it#8:kn#4:li#24:vt#3:\
15076	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bl=^G:cd=\E[J:\
15077	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
15078	:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:ho=\E[H:k0=\EOP:k1=\EOQ:\
15079	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
15080	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=F1:l1=F2:l2=F3:l3=F4:le=^H:\
15081	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:\
15082	:r1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r:\
15083	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
15084	:ue=\E[m:up=\E[A:us=\E[4m:
15085# Lisaterm in 132 column ("wide") mode.
15086lisaterm-w|Apple Lisa with Lisaterm in 132 column mode:\
15087	:co#132:\
15088	:kb=^H:kd=^J:kl=^H:tc=lisaterm:
15089# Although MacTerminal has insert/delete line, it is commented out here
15090# since it is much faster and cleaner to use the "lock scrolling region"
15091# method of inserting and deleting lines due to the MacTerminal implementation.
15092# Also, the "Insert/delete ch" strings have an extra character appended to them
15093# due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
15094# supported by MacTerminal.
15095mac|macintosh|Macintosh with MacTerminal:\
15096	:xn:\
15097	:dN#30:\
15098	:dc=7\E[P:ei=:ic=9\E[@:im=:ip=7:mb@:tc=lisa:
15099# Lisaterm in 132 column ("wide") mode.
15100mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode:\
15101	:co#132:tc=mac:
15102
15103# nsterm*|Apple_Terminal - AppKit Terminal.app
15104#
15105# Terminal.app is a Terminal emulator bundled with NeXT's NeXTStep and
15106# OPENSTEP/Mach operating systems, and with Apple's Rhapsody, Mac OS X
15107# Server and Mac OS X operating systems. There is also a
15108# "terminal.app" in GNUStep, but I believe it to be an unrelated
15109# codebase and I have not attempted to describe it here.
15110#
15111# For NeXTStep, OPENSTEP/Mach, Rhapsody and Mac OS X Server 1.0, you
15112# are pretty much on your own. Use "nsterm-7-m" and hope for the best.
15113# You might also try "nsterm-7" and "nsterm-old" if you suspect your
15114# version supports color.
15115#
15116# To determine the version of Terminal.app you're using by running:
15117#
15118#     echo "$TERM_PROGRAM" "$TERM_PROGRAM_VERSION"
15119#
15120# For Apple_Terminal v200+, use "nsterm-16color" (a.k.a. "nsterm")
15121#
15122# For Apple_Terminal v71+/v100+, use "nsterm-bce".
15123#
15124# For Apple_Terminal v51+, use "nsterm-7-c" or "nsterm-7-c-s".
15125#
15126# For Apple_Terminal v41+, use "nsterm-old", or "nsterm-s".
15127#
15128# For all earlier versions (Apple_Terminal), try "nsterm-7-m"
15129# (monochrome) or "nsterm-7" (color); "nsterm-7-m-s" and "nsterm-7-s"
15130# might work too, but really you're on your own here since these
15131# systems are very obsolete and I can't test them. I do welcome
15132# patches, though :).
15133
15134# Other Terminals:
15135#
15136# For GNUstep_Terminal, you're probably best off using "linux" or
15137# writing your own terminfo.
15138
15139# For MacTelnet, you're on your own. It's a different codebase, and
15140# seems to be somewhere between "vt102", "ncsa" and "xterm-color".
15141
15142# For iTerm.app, see "iterm".
15143
15144#
15145# The AppKit Terminal.app descriptions all have names beginning with
15146# "nsterm". Note that the statusline (-s) versions use the window
15147# titlebar as a phony status line, and may produce warnings during
15148# compilation as a result ("tsl uses 0 parameters, expected 1".)
15149# Ignore these warnings, or even ignore these entries entirely. Apps
15150# which need to position the cursor or do other fancy stuff inside the
15151# status line won't work with these entries. They're primarily useful
15152# for programs like Pine which provide simple notifications in the
15153# status line. Please note that non-ASCII characters don't work right
15154# in the status line, since Terminal.app incorrectly interprets their
15155# Unicode codepoints as MacRoman codepoints (in earlier Mac OS X
15156# versions) or only accepts status lines consisting entirely of
15157# characters from the first 256 Unicode positions (including C1 but
15158# not C0 or DEL.)
15159#
15160# The Mythology* of AppKit Terminal.app:
15161#
15162# In the days of NeXTSTep 0.x and 1.x there were two incompatible
15163# bundled terminal emulators, Shell and Terminal. Scott Hess wrote a
15164# shareware replacement for Terminal called "Stuart" which NeXT bought
15165# and used as the basis for the Terminal.app in NeXTstep 2+,
15166# OPENSTEP/Mach, Apple Rhapsody, Mac OS X Server 1.0, and Mac OS X. I
15167# don't know the TERM_PROGRAM and TERM_PROGRAM_VERSION settings or
15168# capabilities for the early versions, but I believe that the
15169# TERM_PROGRAM_VERSION may have been reset at some point.
15170#
15171# The early versions were tailored to the NeXT character set. Sometime
15172# after the Apple aquisition the encoding was swiched to MacRoman
15173# (initally with serious altcharset bugs due to incomplete conversion
15174# of the old NeXT code,) and then later to UTF-8. Alos sometime during
15175# or just prior to the early days of Mac OS X, the Terminal grew ANSI
15176# 8-color support (initially buggy when combined with attributes, but
15177# that was later fixed.) More recently, around Mac OS X version 10.3
15178# or so (Terminal.app v100+) xterm-like 16-color support was added. In
15179# some versions (for instance 133-1 which shipped with Mac OS X
15180# version 10.4) this suffered from the <bce> bug, but that seems to
15181# have been fixed in Mac OS X version 10.5 (Terminal.app v240.2+).
15182#
15183# In the early days of Mac OS X the terminal was fairly buggy and
15184# would routinely crash under load. Many of these bugs seem to have
15185# been fixed around Mac OS X version 10.3 (Terminal.app v100+) but
15186# some may still remain. This change seems to correspond to
15187# Terminal.app reporting "xterm-color" as $TERM rather than "vt100" as
15188# it did previously.
15189#
15190# * This may correspond with what actually happened, but I don't
15191#   know. It is based on guesswork, hearsay, private correspondence,
15192#   my faulty memory, and the following online sources and references:
15193#
15194# [1] "Three Scotts and a Duane" by Simson L. Garfinkel
15195# http://www.nextcomputers.org/NeXTfiles/Articles/NeXTWORLD/93.8/93.8.Dec.Community1.html
15196#
15197# [2] NeXTSTEP entry from Wikipedia, the free encyclopedia
15198# https://secure.wikimedia.org/wikipedia/en/wiki/Nextstep
15199#
15200# * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
15201#   "nsterm" to comply with the name length and case conventions and
15202#   limitations of various software packages [notably Solaris terminfo
15203#   and UNIX.] A single Apple_Terminal alias is retained for
15204#   backwards-compatbility.
15205#
15206# * Added function key support (F1-F4). These only work in Terminal.app
15207#   version 51, hopefully the capabilities won't cause problems for people
15208#   using version 41.
15209#
15210# * Added "full color" (-c) entries which support the 16-color mode in
15211#   version 51.
15212#
15213# * By default, version 51 uses UTF-8 encoding with broken altcharset
15214#   support, so "ASCII" (-7) entries without altcharset support were
15215#   added.
15216
15217# nsterm - AppKit Terminal.app
15218#
15219# Apple's Mac OS X includes a Terminal.app derived from the old NeXT
15220# Terminal.app. It is a partial VT100 emulation with some xterm-like
15221# extensions. This terminfo was written to describe versions 41
15222# (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
15223# version 10.1) of Terminal.app.
15224#
15225# Terminal.app runs under the Mac OS X Quartz windowing system (and
15226# other AppKit-supported windowing systems.)  On the Mac OS X machine I
15227# use, the executable for Terminal.app is:
15228# /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
15229#
15230# If you're looking for a description of the full-screen system
15231# console which runs under Apple's Darwin operating system on PowerPC
15232# platforms, see the "xnuppc" entry instead.
15233#
15234# There were no function keys in version 41. In version 51, there are
15235# four working function keys (F1, F2, F3 and F4.) The function keys
15236# are included in all of these entries.
15237#
15238# It does not support mouse pointer position reporting. Under some
15239# circumstances the cursor can be positioned using option-click; this
15240# works by comparing the cursor position and the selected position,
15241# and simulating enough cursor-key presses to move the cursor to the
15242# selected position. This technique fails in all but the simplest
15243# applications.
15244#
15245# It provides partial ANSI color support (background colors interacted
15246# badly with bold in version 41, though, as reflected in :ncv:.) The
15247# monochrome (-m) entries are useful if you've disabled color support
15248# or use a monochrome monitor. The full color (-c) entries are useful
15249# in version 51, which doesn't exhibit the background color bug. They
15250# also enable an xterm-compatible 16-color mode.
15251#
15252# The configurable titlebar is set using xterm-compatible sequences;
15253# it is used as a status bar in the statusline (-s) entries. Its width
15254# depends on font sizes and window sizes, but 50 characters seems to
15255# be the default for an 80x24 window.
15256#
15257# The MacRoman character encoding is used for some of the alternate
15258# characters in the "MacRoman" entries; the "ASCII" (-7) entries
15259# disable alternate character set support entirely, and the "VT100"
15260# (-acs) entries rely instead on Terminal.app's own buggy VT100
15261# graphics emulation, which seems to think the character encoding is
15262# the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
15263# are useful in Terminal.app version 51, which supports UTF-8 and
15264# other ASCII-compatible character encodings but does not correctly
15265# implement VT100 graphics; once VT100 graphics are correctly
15266# implemented in Terminal.app, the "VT100" (-acs) entries should be
15267# usable in any ASCII-compatible character encoding [except perhaps
15268# in UTF-8, where some experts argue for disallowing alternate
15269# characters entirely.]
15270#
15271# Terminal.app reports "vt100" as the terminal type, but exports
15272# several environment variables which may aid detection in a shell
15273# profile (i.e. .profile or .login):
15274#
15275# TERM=vt100
15276# TERM_PROGRAM=Apple_Terminal
15277# TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
15278# TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
15279#
15280# For example, the following Bourne shell script would detect the
15281# correct terminal type:
15282#
15283# if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
15284# then
15285#     export TERM
15286#     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
15287#     then
15288#         TERM="nsterm-old"
15289#     else
15290#         TERM="nsterm-c-7"
15291#     fi
15292# fi
15293#
15294# In a C shell derivative, this would be accomplished by:
15295#
15296# if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
15297#     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
15298#          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
15299#              setenv TERM "nsterm-old"
15300#          else
15301#              setenv TERM "nsterm-c-7"
15302#          endif
15303#     endif
15304# endif
15305
15306# The '+' entries are building blocks
15307nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset:\
15308	:am:bw:ms:xn:xo:\
15309	:co#80:it#8:li#24:\
15310	:@8=\EOM:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
15311	:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:al=\E[L:bl=^G:\
15312	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
15313	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dl=\E[M:do=^J:ho=\E[H:\
15314	:kb=\177:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
15315	:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:\
15316	:mk=\E[8m:mr=\E[7m:nd=\E[C:rc=\E8:\
15317	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
15318	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
15319	:us=\E[4m:tc=vt100+enq:tc=vt100+pfkeys:
15320
15321nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset:\
15322	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
15323	:ae=^O:as=^N:eA=\E(B\E)0:me=\E[0m:tc=nsterm+7:
15324
15325nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset:\
15326	:ac=+\335,\334-\366.\3770#`\327a\072f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245:\
15327	:ae=^O:as=^N:eA=\E(B\E)0:me=\E[0m:tc=nsterm+7:
15328
15329nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support:\
15330	:hs:\
15331	:ws#50:\
15332	:ds=\E]2;\007:fs=^G:ts=\E]2;:
15333
15334nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors):\
15335	:op=\E[0m:tc=ibm+16color:
15336
15337nsterm+c41|AppKit Terminal.app v41 color support:\
15338	:Co#8:NC#37:pa#64:\
15339	:AB=\E[4%dm:AF=\E[3%dm:op=\E[0m:
15340
15341# These are different combinations of the building blocks
15342
15343# ASCII charset (-7)
15344nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome):\
15345	:tc=nsterm+7:
15346
15347nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline):\
15348	:tc=nsterm+s:tc=nsterm+7:
15349
15350nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color):\
15351	:tc=nsterm+c41:tc=nsterm+7:
15352
15353nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color):\
15354	:tc=nsterm+c:tc=nsterm+7:
15355
15356nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline):\
15357	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+7:
15358
15359nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline):\
15360	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+7:
15361
15362# VT100 alternate-charset (-acs)
15363nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome):\
15364	:tc=nsterm+acs:
15365
15366nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline):\
15367	:tc=nsterm+s:tc=nsterm+acs:
15368
15369nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color):\
15370	:tc=nsterm+c41:tc=nsterm+acs:
15371
15372nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color):\
15373	:tc=nsterm+c:tc=nsterm+acs:
15374
15375nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline):\
15376	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+acs:
15377
15378nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline):\
15379	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+acs:
15380
15381# MacRoman charset
15382nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome):\
15383	:tc=nsterm+mac:
15384
15385nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline):\
15386	:tc=nsterm+s:tc=nsterm+mac:
15387
15388nsterm-old|AppKit Terminal.app v41+ w/MacRoman charset (color):\
15389	:tc=nsterm+c41:tc=nsterm+mac:
15390
15391nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color):\
15392	:tc=nsterm+c:tc=nsterm+mac:
15393
15394nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline):\
15395	:tc=nsterm+s:tc=nsterm+c41:tc=nsterm+mac:
15396
15397nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline):\
15398	:tc=nsterm+s:tc=nsterm+c:tc=nsterm+mac:
15399
15400# In Mac OS X version 10.5 the format of the preferences has changed
15401# and a new, more complex technique is needed, e.g.,
15402#
15403#       python -c 'import sys,objc;NSUserDefaults=objc.lookUpClass(
15404#       "NSUserDefaults");ud=NSUserDefaults.alloc();
15405#       ud.init();prefs=ud.persistentDomainForName_(
15406#       "com.apple.Terminal");prefs["Window Settings"][
15407#       prefs["Default Window Settings"]]["TerminalType"
15408#       ]=sys.argv[1];ud.setPersistentDomain_forName_(prefs,
15409#       "com.apple.Terminal")' nsterm-16color
15410#
15411# and it is still not settable from the preferences dialog. This is
15412# tracked under rdar://problem/7365108 and rdar://problem/7365134
15413# in Apple's bug reporter.
15414nsterm-16color|AppKit Terminal.app v240.2+ with Mac OS X version 10.5:\
15415	:NP:bw@:mi:\
15416	:@7=\E[F:DC=\E[%dP:F1=\E[23~:F2=\E[24~:F3=\E[25~:\
15417	:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[22~:\
15418	:F9=\E[33~:FA=\E[34~:IC=\E[%d@:ch=\E[%i%dG:cv=\E[%i%dd:\
15419	:dc=\E[P:ei=\E[4l:ic=\E[@:im=\E[4h:k5=\E[15~:k6=\E[17~:\
15420	:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:\
15421	:kN=\E[6~:kP=\E[5~:kh=\E[H:te=\E[2J\E[?47l\E8:\
15422	:ti=\E7\E[?47h:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
15423	:tc=nsterm-c-s-acs:
15424
15425# The versions of Terminal.app in Mac OS X version 10.3.x seem to have
15426# the background color erase bug. The newer version 240.2 in Mac OS X
15427# version 10.5 does not.
15428#
15429# This entry is based on newsgroup comments by Alain Bench, Christian Ebert,
15430# and D P Schreber comparing to nsterm-c-s-acs.
15431#
15432# In Mac OS X version 10.4 and earlier, D P Schreber notes that $TERM
15433# can be set in Terminal.app, e.g.,
15434#
15435#	defaults write com.apple.Terminal TermCapString nsterm-bce
15436#
15437# and that it is not set in Terminal's preferences dialog.
15438nsterm-bce|AppKit Terminal.app v71+/v100.1.8+ with Mac OS X version 10.3/10.4 (bce):\
15439	:bw:ut:tc=nsterm-16color:
15440
15441# This is an alias which should always point to the "current" version
15442nsterm|Apple_Terminal|AppKit Terminal.app:\
15443	:tc=nsterm-16color:
15444
15445# iTerm.app from http://iterm.sourceforge.net/ is an alternative (and
15446# more featureful) terminal emulator for Mac OS X. It is similar
15447# enough in capabilities to nsterm-16color that I have derived this
15448# description from that one, but as far as I know they share no code.
15449# Many of the features are user-configurable, but I attempt only to
15450# describe the default configuration.
15451#
15452# NOTE: When tack tests (csr) + (nel) iTerm.app crashes, so (csr) is
15453# disabled.
15454iTerm.app|iTerm.app terminal emulator for Mac OS X:\
15455	:bw@:cc@:ut:\
15456	:@7=\EOF:Ic@:cs@:kh=\EOH:tc=xterm+256color:\
15457	:tc=nsterm-16color:
15458
15459# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
15460#
15461# On PowerPC platforms, Apple's Darwin operating system uses a
15462# full-screen system console derived from a NetBSD framebuffer
15463# console. It is an ANSI-style terminal, and is not really VT-100
15464# compatible.
15465#
15466# Under Mac OS X, this is the system console driver used while in
15467# single-user mode [reachable by holding down Command-S during the
15468# boot process] and when logged in using console mode [reachable by
15469# typing ">console" at the graphical login prompt.]
15470#
15471# If you're looking for a description of the Terminal.app terminal
15472# emulator which runs under the Mac OS X Quartz windowing system (and
15473# other AppKit-supported windowing systems,) see the "nsterm"
15474# entry instead.
15475#
15476# NOTE: Under Mac OS X version 10.1, the default login window does not
15477# prompt for user name, instead requiring an icon to be selected from
15478# a list of known users. Since the special ">console" login is not in
15479# this list, you must make one of two changes in the Login Window
15480# panel of the Login section of System Prefs to make the special
15481# ">console" login accessible. The first option is to enable 'Show
15482# "Other User" in list for network users', which will add a special
15483# "Other..." icon to the graphical login panel. Selecting "Other..."
15484# will present the regular graphical login prompt. The second option
15485# is to change the 'Display Login Window as:' setting to 'Name and
15486# password entry fields', which replaces the login panel with a
15487# graphical login prompt.
15488#
15489# There are no function keys, at least not in Darwin 1.3.
15490#
15491# It has no mouse support.
15492#
15493# It has full ANSI color support, and color combines correctly with
15494# all three supported attributes: bold, inverse-video and underline.
15495# However, bold colored text is almost unreadable (bolding is
15496# accomplished using shifting and or-ing, and looks smeared) so bold
15497# has been excluded from the list of color-compatible attributes
15498# [using (ncv)]. The monochrome entry (-m) is useful if you use a
15499# monochrome monitor.
15500#
15501# There is one serious bug with this terminal emulation's color
15502# support: repositioning the cursor onto a cell with non-matching
15503# colors obliterates that cell's contents, replacing it with a blank
15504# and displaying a colored cursor in the "current" colors. There is
15505# no complete workaround at present [other than using the monochrome
15506# (-m) entries,] but removing the (msgr) capability seemed to help.
15507#
15508# The "standout" chosen was simple reverse-video, although a colorful
15509# standout might be more aesthetically pleasing. Similarly, the bold
15510# chosen is the terminal's own smeared bold, although a simple
15511# color-change might be more readable. The color-bold (-b) entries
15512# uses magenta colored text for bolding instead. The fancy color (-f
15513# and -f2) entries use color for bold, standout and underlined text
15514# (underlined text is still underlined, though.)
15515#
15516# Apparently the terminal emulator does support a VT-100-style
15517# alternate character set, but all the alternate character set
15518# positions have been left blank in the font. For this reason, no
15519# alternate character set capabilities have been included in this
15520# description. The console driver appears to be ASCII-only, so (enacs)
15521# has been excluded [although the VT-100 sequence does work.]
15522#
15523# The default Mac OS X and Darwin installation reports "vt100" as the
15524# terminal type, and exports no helpful environment variables. To fix
15525# this, change the "console" entry in /etc/ttys from "vt100" to
15526# "xnuppc-WxH", where W and H are the character dimensions of your
15527# console (see below.)
15528#
15529# The font used by the terminal emulator is apparently one originally
15530# drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
15531# file includes descriptions for the following geometries:
15532#
15533#     Pixels        Characters   Entry Name (append -m for monochrome)
15534#    -------------------------------------------------------------------
15535#     640x400       80x25        xnuppc-80x25
15536#     640x480       80x30        xnuppc-80x30
15537#     720x480       90x30        xnuppc-90x30
15538#     800x600       100x37       xnuppc-100x37
15539#     896x600       112x37       xnuppc-112x37
15540#     1024x640      128x40       xnuppc-128x40
15541#     1024x768      128x48       xnuppc-128x48
15542#     1152x768      144x48       xnuppc-144x48
15543#     1280x1024     160x64       xnuppc-160x64
15544#     1600x1024     200x64       xnuppc-200x64
15545#     1600x1200     200x75       xnuppc-200x75
15546#     2048x1536     256x96       xnuppc-256x96
15547#
15548# The basic "xnuppc" entry includes no size information, and the
15549# emulator includes no reporting capability, so you'll be at the mercy
15550# of the TTY device (which reports incorrectly on my hardware.) The
15551# color-bold entries do not include size information.
15552
15553# The '+' entries are building blocks
15554xnuppc+basic|Darwin PowerPC Console basic capabilities:\
15555	:am:mi:ut:xn:\
15556	:it#8:\
15557	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
15558	:UP=\E[%dA:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
15559	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=\E[B:\
15560	:ds=\E]2;\007:ho=\E[H:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
15561	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=\E[D:md=\E[1m:\
15562	:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:\
15563	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:sc=\E7:se=\E[m:\
15564	:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
15565	:us=\E[4m:tc=vt100+keypad:
15566
15567xnuppc+c|Darwin PowerPC Console ANSI color support:\
15568	:Co#8:NC#32:pa#64:\
15569	:AB=\E[4%dm:AF=\E[3%dm:op=\E[37;40m:
15570
15571xnuppc+b|Darwin PowerPC Console color-bold support:\
15572	:NC#32:\
15573	:md=\E[35m:tc=xnuppc+basic:
15574
15575xnuppc+f|Darwin PowerPC Console fancy color support:\
15576	:NC#35:\
15577	:so=\E[33;44m:us=\E[36;4m:tc=xnuppc+b:
15578
15579xnuppc+f2|Darwin PowerPC Console alternate fancy color support:\
15580	:NC#35:\
15581	:md=\E[33m:so=\E[31;47m:us=\E[34m:tc=xnuppc+basic:
15582
15583# Building blocks for specific screen sizes
15584xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels):\
15585	:co#80:li#25:
15586
15587xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels):\
15588	:co#80:li#30:
15589
15590xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels):\
15591	:co#90:li#30:
15592
15593xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels):\
15594	:co#100:li#37:
15595
15596xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels):\
15597	:co#112:li#37:
15598
15599xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels):\
15600	:co#128:li#40:
15601
15602xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels):\
15603	:co#128:li#48:
15604
15605xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels):\
15606	:co#144:li#48:
15607
15608xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels):\
15609	:co#160:li#64:
15610
15611xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels):\
15612	:co#200:li#64:
15613
15614xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels):\
15615	:co#200:li#75:
15616
15617xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels):\
15618	:co#256:li#96:
15619
15620# These are different combinations of the building blocks
15621
15622xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome):\
15623	:tc=xnuppc+basic:
15624
15625xnuppc|darwin|Darwin PowerPC Console (color):\
15626	:tc=xnuppc+c:tc=xnuppc+basic:
15627
15628xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold):\
15629	:tc=xnuppc+b:
15630
15631xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold):\
15632	:tc=xnuppc+b:tc=xnuppc+c:
15633
15634xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome):\
15635	:tc=xnuppc+f:
15636
15637xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color):\
15638	:tc=xnuppc+f:tc=xnuppc+c:
15639
15640xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome):\
15641	:tc=xnuppc+f2:
15642
15643xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color):\
15644	:tc=xnuppc+f2:tc=xnuppc+c:
15645
15646# Combinations for specific screen sizes
15647xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25:\
15648	:tc=xnuppc+80x25:tc=xnuppc+basic:
15649
15650xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25:\
15651	:tc=xnuppc+c:tc=xnuppc+80x25:tc=xnuppc+basic:
15652
15653xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30:\
15654	:tc=xnuppc+80x30:tc=xnuppc+basic:
15655
15656xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30:\
15657	:tc=xnuppc+c:tc=xnuppc+80x30:tc=xnuppc+basic:
15658
15659xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30:\
15660	:tc=xnuppc+90x30:tc=xnuppc+basic:
15661
15662xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30:\
15663	:tc=xnuppc+c:tc=xnuppc+90x30:tc=xnuppc+basic:
15664
15665xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37:\
15666	:tc=xnuppc+100x37:tc=xnuppc+basic:
15667
15668xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37:\
15669	:tc=xnuppc+c:tc=xnuppc+100x37:tc=xnuppc+basic:
15670
15671xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37:\
15672	:tc=xnuppc+112x37:tc=xnuppc+basic:
15673
15674xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37:\
15675	:tc=xnuppc+c:tc=xnuppc+112x37:tc=xnuppc+basic:
15676
15677xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40:\
15678	:tc=xnuppc+128x40:tc=xnuppc+basic:
15679
15680xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40:\
15681	:tc=xnuppc+c:tc=xnuppc+128x40:tc=xnuppc+basic:
15682
15683xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48:\
15684	:tc=xnuppc+128x48:tc=xnuppc+basic:
15685
15686xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48:\
15687	:tc=xnuppc+c:tc=xnuppc+128x48:tc=xnuppc+basic:
15688
15689xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48:\
15690	:tc=xnuppc+144x48:tc=xnuppc+basic:
15691
15692xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48:\
15693	:tc=xnuppc+c:tc=xnuppc+144x48:tc=xnuppc+basic:
15694
15695xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64:\
15696	:tc=xnuppc+160x64:tc=xnuppc+basic:
15697
15698xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64:\
15699	:tc=xnuppc+c:tc=xnuppc+160x64:tc=xnuppc+basic:
15700
15701xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64:\
15702	:tc=xnuppc+200x64:tc=xnuppc+basic:
15703
15704xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64:\
15705	:tc=xnuppc+c:tc=xnuppc+200x64:tc=xnuppc+basic:
15706
15707xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75:\
15708	:tc=xnuppc+200x75:tc=xnuppc+basic:
15709
15710xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75:\
15711	:tc=xnuppc+c:tc=xnuppc+200x75:tc=xnuppc+basic:
15712
15713xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96:\
15714	:tc=xnuppc+256x96:tc=xnuppc+basic:
15715
15716xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96:\
15717	:tc=xnuppc+c:tc=xnuppc+256x96:tc=xnuppc+basic:
15718
15719#### Radio Shack/Tandy
15720#
15721
15722# (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
15723# I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
15724# From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
15725coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II:\
15726	:am:bs:\
15727	:co#80:it#8:li#24:\
15728	:al=^_0:bl=^G:cd=^K:ce=^D:cl=5*\014:cm=2\002%r%+ %+ :\
15729	:dl=^_1:do=^J:ho=^A:kd=^J:kl=^H:kr=^I:ku=^L:le=^H:mb=^_":\
15730	:md=\E\072^A:me=\037!\E\072\200:mr=^_\040:nd=^F:se=^_!:\
15731	:so=^_\040:ue=^_#:up=^I:us=^_":ve=^E!:vi=^E\040:
15732# (trs2: removed obsolete ":nl=^_:" -- esr)
15733trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M:\
15734	:am:bs:ms:\
15735	:co#80:it#8:li#24:\
15736	:al=^D:bl=^G:cd=^B:ce=^A:cl=^L:cm=\EY%+ %+ :cr=^M:dl=^K:\
15737	:do=^_:ho=^F:kb=^H:kd=^_:kl=^\:kr=^]:ku=^^:le=^H:me=^O:nd=^]:\
15738	:se=^O:sf=^J:so=^N:ta=^I:up=^^:
15739# From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
15740# (This had extension capabilities
15741#	:BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
15742#	:CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
15743# I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
15744trs16|trs-80 model 16 console:\
15745	:am:bs:\
15746	:co#80:it#8:li#24:\
15747	:ac=jak`l_mbquvewcxs:ae=\ERg:al=\EL:as=\ERG:bl=^G:cd=\EJ:\
15748	:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:dc=\EQ:dl=\EM:do=\EB:ei=:\
15749	:ho=\EH:ic=\EP:im=:k0=^A:k1=^B:k2=^D:k3=^L:k4=^U:k5=^P:k6=^N:\
15750	:k7=^S:kb=^H:kd=\EB:kh=^W:kl=\ED:kr=\EC:ku=\EA:l0=f1:l1=f2:\
15751	:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:le=^H:me=\ER@:nd=\EC:\
15752	:pf=\E]+:po=\E]=:se=\ER@:sf=^J:so=\ERD:ta=^I:up=\EA:ve=\ERC:\
15753	:vi=\ERc:
15754
15755#### Commodore Business Machines
15756#
15757# Formerly located in West Chester, PA; went spectacularly bust in 1994
15758# after years of shaky engineering and egregious mismanagement.  Made one
15759# really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
15760# C-128, VIC-20).  The C-64 is said to have been the most popular machine
15761# ever (most units sold); they can still be found gathering dust in closets
15762# everywhere.
15763#
15764
15765# From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
15766# Added a few more entries, converted caret-type control sequence (^x) entries
15767# to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
15768# Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
15769#
15770# :as:, :ae:			Support for alternate character sets.
15771# :ve=\E[\040p:vi=\E[\060\040p:	cursor visible/invisible.
15772# :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
15773#     This one appears to fix a problem I always had with a line ending
15774#     at 'width+1' (I think) followed by a blank line in vi. The blank
15775#     line tended to disappear and reappear depending on how the screen
15776#     was refreshed. Note that this is probably needed only if you use
15777#     something like a Dnet Fterm with the window sized to some peculiar
15778#     dimension larger than 80 columns.
15779# :k0=\E9~:	map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
15780# (amiga: removed obsolete :kn#10:,
15781# also added empty <acsc> to suppress a warning --esr)
15782amiga|Amiga ANSI:\
15783	:am:bs:bw:xn:\
15784	:co#80:li#24:\
15785	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
15786	:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ac=:\
15787	:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
15788	:cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=:\
15789	:ho=\E[H:ic=\E[@:im=:is=\E[20l:k0=\E[9~:k1=\E[0~:k2=\E[1~:\
15790	:k3=\E[2~:k4=\E[3~:k5=\E[4~:k6=\E[5~:k7=\E[6~:k8=\E[7~:\
15791	:k9=\E[8~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:\
15792	:mb=\E[7;2m:md=\E[1m:me=\E[m:mh=\E[2m:mk=\E[8m:mr=\E[7m:\
15793	:nd=\E[C:r1=\Ec:se=\E[m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[m:\
15794	:up=\E[A:us=\E[4m:ve=\E[ p:vi=\E[0 p:
15795
15796# From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
15797# (amiga: added empty <acsc> to suppress a warning.
15798# I'm told this entry screws up badly with AS225, the Amiga
15799# TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
15800amiga-h|Hans Verkuil's Amiga ANSI:\
15801	:bs:bw:ms:\
15802	:co#80:li#24:\
15803	:DC=\233%dP:DO=\233%dB:IC=\233%d@:LE=\233%dD:RI=\233%dC:\
15804	:SF=\233%dS:SR=\233%dT:UP=\233%dA:ac=:ae=^O:as=^N:bl=^G:\
15805	:bt=\233Z:cd=\233J:ce=\233K:cl=\233H\233J:\
15806	:cm=\233%i%d;%dH:cr=^M:dc=\233P:do=\233B:ec=\233%dP:ei=:\
15807	:ho=\233H:ic=\233@:im=:is=\23320l:k0=\2339~:k1=\2330~:\
15808	:k2=\2331~:k3=\2332~:k4=\2333~:k5=\2334~:k6=\2335~:\
15809	:k7=\2336~:k8=\2337~:k9=\2338~:kD=\177:kb=^H:kd=\233B:\
15810	:kl=\233D:kr=\233C:ku=\233A:le=\233D:mb=\2337;2m:\
15811	:md=\2331m:me=\2330m:mh=\2332m:mk=\2338m:mr=\2337m:\
15812	:nd=\233C:nw=\233B\r:r1=\Ec:se=\2330m:sf=\233S:so=\2337m:\
15813	:sr=\233T:ta=^I:te=\233?7h:ti=\233?7l:ue=\2330m:up=\233A:\
15814	:us=\2334m:vb=^G:ve=\233 p:vi=\2330 p:
15815
15816# From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
15817#
15818# Pavel Fedin added
15819#	Home    Shift+Left
15820#	End     Shift+Right
15821#	PgUp    Shift+Up
15822#	PgDn    Shift+Down
15823amiga-8bit|Amiga ANSI using 8-bit controls:\
15824	:@7=\233 @:AL=\233%dL:DL=\233%dM:SF@:SR@:ac=:al=\233L:\
15825	:dl=\233M:kN=\233S:kP=\233T:kh=\233 A:sf=\204:sr=\215:\
15826	:tc=amiga-h:
15827
15828# From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
15829# requires use of appropriate preferences settings.
15830amiga-vnc|Amiga using VNC console (black on light gray):\
15831	:ND:am:da:db:ms:\
15832	:BT#1:Co#16:NC#0:co#80:li#24:lm#0:pa#256:\
15833	:%1=\E[?~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
15834	:IC=\E[%d@:Km=\E[M:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
15835	:SR=\E[%dT:UP=\E[%dA:al=\E[1L:bl=^G:cd=\E[J:ce=\E[K:\
15836	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:\
15837	:dl=\E[1M:do=\E[B:ei=:ic=\E[@:im=:\
15838	:is=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
15839	:k0=\E[9~:k1=\E[0~:k2=\E[1~:k3=\E[2~:k4=\E[3~:k5=\E[4~:\
15840	:k6=\E[5~:k7=\E[6~:k8=\E[7~:k9=\E[8~:kB=\233Z:kD=\177:\
15841	:kH=\E[45~:kN=\E[42~:kP=\E[41~:kb=^H:kd=\E[B:ke=\E[?1l:\
15842	:kh=\E[44~:kl=\E[D:kr=\E[C:ks=\E[?1h:ku=\E[A:le=\E[D:\
15843	:mb=\E[7;2m:md=\E[1m:me=\E[0m\017\E[30;85;>15m:mh=\E[2m:\
15844	:mk=\E8m:mr=\E[7m:nd=\E[C:nw=\EE:oc=\E[0m:r1=\Ec:\
15845	:r2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h:\
15846	:se=\E[21m:sf=\ED:so=\E[1m:sr=\EM:te=\E[?7h\E[r\E[J:\
15847	:ti=\E[?7h:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:\
15848	:ve=\E[p\E[>?6l:vi=\E[0p:vs=\E[>?6h:
15849
15850# MorphOS on Genesi Pegasos
15851# By Pavel Fedin <sonic_amiga@rambler.ru>
15852morphos:\
15853	:@7=\23345~:AL=\233%dL:DL=\233%dM:F1=\23320~:F2=\23321~:\
15854	:SF@:SR@:ac=:al=\233L:dl=\233M:kI=\23340~:kN=\23342~:\
15855	:kP=\23341~:kh=\23344~:sf=\204:sr=\215:tc=amiga-h:
15856
15857# Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
15858# 	I'm trying to write a termcap for a commodore b-128, and I'm
15859# having a little trouble. I've had to map most of my control characters
15860# to something that unix will accept (my delete-char is a ctrl-t, etc),
15861# and create some functions (like cm), but thats life.
15862# 	The problem is with the arrow keys - right, and up work fine, but
15863# left deletes the previous character and down I just can't figure out.
15864# Jove knows what I want, but I don't know what it's sending to me (it
15865# isn't thats bound to next-line in jove).
15866# 	Anybody got any ideas? Here's my termcap.
15867# DAG -- I changed his "^n" entries to "\n"; see if that works.
15868#
15869commodore|b-128|Commodore B-128 micro:\
15870	:am:bw:\
15871	:co#80:dN#20:li#24:pb#150:\
15872	:al=10\Ei:bc=^H:ce=10\Eq:cl=10\E\006:cm=20\E\013%2,%2,:\
15873	:cr=^M:dc=10*\177:dl=10*\Ed:do=^J:ei=:ho=\E^E:ic=5\E\n:im=:\
15874	:kd=^J:kh=\E^E:kl=^B:kr=^F:ku=^P:nd=^F:nl=^M:ta=5\011:up=^P:
15875
15876#### North Star
15877#
15878# North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
15879northstar|North Star Advantage:\
15880	:bs:\
15881	:co#80:li#24:\
15882	:cd=200\017:ce=200\016:cl=200\004:cm=1\E=%+ %+ :\
15883	:ho=200\034\032:
15884
15885#### Osborne
15886#
15887# Thu Jul  7 03:55:16 1983
15888#
15889# As an aside, be careful; it may sound like an anomaly on the
15890# Osborne, but with the 80-column upgrade, it's too easy to
15891# enter lines >80 columns!
15892#
15893# I've already had several comments...
15894# The Osborne-1 with the 80-col option is capable of being
15895# 52, 80, or 104 characters wide; default to 80 for compatibility
15896# with most systems.
15897#
15898# The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
15899osborne-w|osborne1-w|osborne I in 104-column mode:\
15900	:ms:ul:xt:\
15901	:co#104:li#24:\
15902	:al=\EE:bl=^G:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:dc=\EW:dl=\ER:\
15903	:do=^J:ei=:ic=\EQ:im=:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:\
15904	:se=\E(:sf=^J:so=\E):ue=\Em:up=^K:us=\El:
15905# Osborne I	from ptsfa!rhc (Robert Cohen) via BRL
15906osborne|osborne1|osborne I in 80-column mode:\
15907	:am:bs:mi:ms:ul:xs:\
15908	:co#80:dB#4:li#24:\
15909	:al=\EE:ce=\ET:cl=^Z:cm=\E=%+ %+ :dc=4\EW:dl=\ER:do=^J:ei=:\
15910	:im=\EQ:is=^Z:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=4\010:nd=^L:\
15911	:se=\E):so=\E(:ue=\Em:up=^K:us=\El:
15912#
15913# Osborne Executive definition from BRL
15914# Similar to tvi920
15915# Added by David Milligan and Tom Smith (SMU)
15916osexec|Osborne executive:\
15917	:am:bs:\
15918	:co#80:li#24:sg#1:ug#1:\
15919	:al=\EE:bl=^G:cd=\EY:ce=\ET:cl=^Z:cm=\E=%+ %+ :cr=^M:ct=\E3:\
15920	:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:ic=\EQ:im=:\
15921	:is=\Eq\Ek\Em\EA\Ex0:k0=^A@\r:k1=^AA\r:k2=^AB\r:k3=^AC\r:\
15922	:k4=^AD\r:k5=^AE\r:k6=^AF\r:k7=^AG\r:k8=^AH\r:k9=^AI\r:\
15923	:kb=^H:kd=^J:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:nl=^J:se=\Ek:\
15924	:so=\Ej:st=\E1:ue=\Em:up=^K:us=\El:
15925
15926#### Console types for obsolete UNIX clones
15927#
15928# Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
15929# machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
15930# were commercial, Minix an educational tool sold in conjunction with a book.
15931# Memory-segmentation limits and a strong tendency to look like V7 long after
15932# it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
15933# and Minix were ported to 32-bit Intel boxes, only to be run over by a
15934# steamroller named `Linux' (which, to be fair, traces some lineage to Minix).
15935# Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
15936# are also, I'm told, Minix ports that ran on Amiga and Atari machines and
15937# even as single processes under SunOS and the Macintosh OS.
15938#
15939
15940# See
15941#	http://www.minix3.org/manpages/man4/console.4.html
15942minix|minix console (v3):\
15943	:@7=\E[Y:F1=\E[11;2~:F2=\E[12;2~:F3=\E[13;2~:F4=\E[14;2~:\
15944	:F5=\E[15;2~:F6=\E[17;2~:F7=\E[18;2~:F8=\E[19;2~:\
15945	:F9=\E[20;2~:FA=\E[21;2~:FB=\E[11;5~:FC=\E[12;5~:\
15946	:FD=\E[13;5~:FE=\E[14;5~:FF=\E[15;5~:FG=\E[17;5~:\
15947	:FH=\E[18;5~:FI=\E[19;5~:FJ=\E[20;5~:FK=\E[21;5~:\
15948	:FL=\E[11;6~:FM=\E[12;6~:FN=\E[13;6~:FO=\E[14;6~:\
15949	:FP=\E[15;6~:FQ=\E[17;6~:FR=\E[18;6~:FS=\E[19;6~:\
15950	:FT=\E[20;6~:FU=\E[21;6~:\
15951	:ac=+\020,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376:\
15952	:k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
15953	:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
15954	:k;=\E[21~:kD=\177:kI=\E[@:kN=\E[U:kP=\E[V:l0@:l1@:l2@:l3@:\
15955	:l4@:l5@:tc=minix-3.0:
15956
15957minix-3.0|minix console (v3.0):\
15958	:tc=ecma+color:tc=minix-1.7:
15959
15960# See
15961#	http://www.minix-vmd.org/pub/Minix-vmd/1.7.0/wwwman/man4/console.4.html
15962# This is the entry provided with minix 1.7.4, with bogus :ri: removed.
15963minix-1.7|minix console (v1.7):\
15964	:am:xn:\
15965	:co#80:it#8:li#25:\
15966	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
15967	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cb=\E[2K:\
15968	:cd=\E[0J:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:\
15969	:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:is=\E[0m:\
15970	:k0=\E[Y:k1=\E[V:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:\
15971	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l0=End:l1=PgUp:\
15972	:l2=PgDn:l3=Num +:l4=Num -:l5=Num 5:le=^H:mb=\E[5m:\
15973	:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:\
15974	:so=\E[7m:sr=\EM:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
15975# Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
15976minix-old|minix-1.5|minix console (v1.5):\
15977	:xo:\
15978	:co#80:it#8:li#25:\
15979	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
15980	:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:cd=\E[0J:\
15981	:ce=\E[K:cl=\E[H\E[0J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:\
15982	:dl=\E[M:do=\E[B:ei=:ho=\E[H:ic=\E[@:im=:k0=\E[Y:k1=\E[V:\
15983	:k2=\E[U:k3=\E[T:k4=\E[S:k5=\E[G:kb=^H:kd=\E[B:kh=\E[H:\
15984	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:\
15985	:mr=\E[7m:nd=\E[C:nw=^M^J:se=\E[0m:sf=^J:so=\E[7m:sr=\EM:\
15986	:ta=^I:ue=\E[0m:up=\E[A:us=\E[4m:
15987# The linewrap option can be specified by editing /usr/include/minix/config.h
15988# before recompiling the minix 1.5 kernel.
15989minix-old-am|minix console with linewrap:\
15990	:am:tc=minix-old:
15991
15992pc-minix|minix console on an Intel box:\
15993	:tc=klone+acs:tc=minix-3.0:
15994
15995# According to the Coherent 2.3 manual, the PC console is similar
15996# to a z19. The differences seem to be (1) 25 lines, (2) no status
15997# line, (3) standout is broken, (4) ins/del line is broken, (5)
15998# has blinking and bold.
15999pc-coherent|pcz19|coherent|IBM PC console running Coherent:\
16000	:am:mi:\
16001	:co#80:it#8:li#25:\
16002	:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:dc=\EN:\
16003	:do=\EB:ei=\EO:ho=\EH:im=\E@:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
16004	:kr=\EC:ku=\EA:le=^H:me=\Eq:nd=\EC:se=\Eq:sf=^J:so=\Ep:\
16005	:sr=\EI:ta=^I:up=\EA:
16006
16007# According to the Venix 1.1 manual, the PC console is similar
16008# to a DEC vt52.  Differences seem to be (1) arrow keys send
16009# different strings, (2) enhanced standout, (3) added insert/delete line.
16010# Note in particular that it doesn't have automatic margins.
16011# There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
16012# not described here because this derives from an old termcap entry.
16013pc-venix|venix|IBM PC console running Venix:\
16014	:co#80:it#8:li#25:\
16015	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:\
16016	:dl=\EM:do=^J:kb=^H:kd=\EP:kh=\EG:kl=\EK:kr=\EM:ku=\EH:le=^H:\
16017	:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
16018
16019#### Miscellaneous microcomputer consoles
16020#
16021# If you know anything more about any of these, please tell me.
16022#
16023
16024# The MAI Basic Four computer was obsolete at the end of the 1980s.
16025# It may be used as a terminal by putting it in "line" mode as seen on
16026# one of the status lines.
16027# Initialization is similar to CIT80. :is: will set ANSI mode for you.
16028# Hardware tabs set by :if: at 8-spacing.  Auto line wrap causes glitches so
16029# wrap mode is reset by :vs:.  Using :sf:=\E[S caused errors so I
16030# used \ED instead.
16031# From: bf347@lafn.org (David Lawyer), 28 Jun 1997
16032mai|basic4|MAI Basic Four in ansi mode:\
16033	:am:da:db:mi:ms:\
16034	:co#82:it#8:li#25:\
16035	:al=\E[L:bl=^G:cd=^_:ce=^^:cl=^]^_:cm=\E[%i%d;%dH:cr=^M:\
16036	:cs=\E[%i%d;%dr:dc=\E[1P:dl=\E[M:do=^J:ei=\E[4l:ho=^]:\
16037	:if=/usr/share/tabset/vt100:im=\E[4h:\
16038	:is=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H:\
16039	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:\
16040	:k8=\EOW:kb=^H:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:\
16041	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=^X:nw=^M\ED:rc=\E8:\
16042	:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=^Z:\
16043	:us=\E[4m:ve=\E[?7h:vs=\E[?7l:
16044# basis from Peter Harrison, Computer Graphics Lab, San Francisco
16045#   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
16046#
16047# On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
16048# The Basis 108 was a Apple II clone, manufactured by the "Basis
16049# Mikrocomputer GmbH" in Munster, Germany (the company still exists today,
16050# about 1,5 km from where I live, but doesn't build own computers any
16051# more). A Basis 108 featured a really heavy (cast aluminium?) case, was
16052# equipped with one or two 5.25" disk drives, had a monochrome and colour
16053# video output for a TV set or a dedicated monitor and several slots for
16054# Apple II cards. Basis 108 were quite popular at german schools before
16055# the advent of the IBM PC. They run, for example, the UCSD Pascal
16056# development system (which I used even in 1993 to program the steering
16057# and data recording for our school's experimental solar panel :), Apple DOS
16058# or CP/M.
16059# (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
16060basis|BASIS108 computer with terminal translation table active:\
16061	:cd=\EY:ce=\ET:cl=300\E*:do=5000\n:kb=^H:kd=^J:kl=^H:kr=^L:\
16062	:ku=^K:me=\E):se=\E):so=\E(:tc=adm3a:
16063# luna's BMC terminal emulator
16064luna|luna68k|LUNA68K Bitmap console:\
16065	:co#88:li#46:tc=ansi-mini:
16066megatek|pegasus workstation terminal emulator:\
16067	:am:os:\
16068	:co#83:li#60:
16069# The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived
16070# interface (pre-Macintosh by several years) that went nowhere.
16071xerox820|x820|Xerox 820:\
16072	:am:\
16073	:co#80:li#24:\
16074	:bl=^G:cd=^Q:ce=^X:cl=1^Z:cm=\E=%+ %+ :cr=^M:do=^J:ho=^^:\
16075	:le=^H:nd=^L:sf=^J:up=^K:
16076
16077#### Videotex and teletext
16078#
16079
16080# \E\:1}	switch to te'le'informatique mode (ascii terminal/ISO 6429)
16081# \E[?3l	80 columns
16082# \E[?4l	scrolling on
16083# \E[12h	local echo off
16084# \Ec		reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
16085# \E)0		G1 DEC set (line graphics)
16086#
16087# From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
16088m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique:\
16089	:bs:es:hs:xn:\
16090	:co#80:it#8:li#24:sg#0:ug#0:ws#72:\
16091	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
16092	:RI=\E[%dC:UP=\E[%dA:\
16093	:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:ae=^O:al=\E[L:\
16094	:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\
16095	:cr=^M:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
16096	:fs=^J:ho=\E[H:i1=\E\0721}\Ec\E[?4l\E[12h:\
16097	:i2=\E[?3l kbs=\010:im=\E[4h:ip=7:is=\Ec\E[12h\E)0:\
16098	:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:k6=\EOv:\
16099	:k7=\EOw:k8=\EOx:k9=\EOy:k;=\EOp:kA=\E[4l:kC=\E[2J:kD=\E[P:\
16100	:kI=\E[4h:kL=\E[M:kN=\EOn:kP=\EOR:kd=\E[B:kh=\E[H:kl=\E[D:\
16101	:kr=\E[C:ku=\E[A:le=\E[D:ll=\E[24;80H:mb=\E[5m:md=\E[1m:\
16102	:me=\E[m:mr=\E[7m:nd=\E[C:nw=^M^J:ps=\E[i:\
16103	:r1=\Ec\E[?4l\E[12h:r2=\Ec\E)0:rc=\E8:sc=\E7:se=\E[27m:\
16104	:sf=^J:so=\E[7m:sr=\EM:ta=^I:ts=^_@A:u6=\E[%i%d;%dR:\
16105	:u7=\E[6n:ue=\E[24m:up=\E[A:us=\E[4m:vb=^G:ve=\E[<1l:\
16106	:vi=\E[<1h:
16107
16108# From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
16109#
16110minitel1|minitel 1:\
16111	:am:bw:es:hs:hz:ms:\
16112	:Co#8:co#40:li#24:pa#8:\
16113	:ac=+.,,./f0g1:bl=^G:ce=^X:cl=^L:cm=\037%+A%+A:cr=^M:do=^J:\
16114	:eA=^Y:fs=^J:ho=^^:is=\E;`ZQ\E\072iC\E\072iE\021:le=^H:\
16115	:mb=\EH:me=\EI\E\\:mr=\E]:nd=^I:nw=^M^J:op=\EG:\
16116	:rp=%.\022%+?:se=\E\\:sf=^J:so=\E]:sr=^K:ts=\037@%+A:up=^K:\
16117	:ve=^Q:vi=^T:
16118# is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
16119minitel1b|minitel 1-bistandard (in 40cols mode):\
16120	:mi:\
16121	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
16122	:RI=\E[%dC:UP=\E[%dA:al=\E[L:cb=\E[1K:cd=\E[J:dc=\E[P:\
16123	:dl=\E[M:ei=\E[4l:i1=\E;iYA\E;jYC:im=\E[4h:kA=\E[L:\
16124	:kC=\E[2J:kD=\E[P:kE=^X:kI=\E[4h:kL=\E[M:kd=\E[B:kh=\E[H:\
16125	:kl=\E[D:kr=\E[C:ks=\E;iYA\E;jYC:kt=^I:ku=\E[A:\
16126	:tc=minitel1:
16127# :ke: posait des problemes (logout en sortant de vi).
16128minitel1b-80|minitel 1-bistandard (standard teleinformatique):\
16129	:am@:bw@:hz@:\
16130	:Co@:co#80:it#8:pa@:\
16131	:@8=\EOM:Sf@:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:ho=\E[H:\
16132	:i1@:is@:k0=\EOp:k1=\EOq:k2=\EOr:k3=\EOs:k4=\EOt:k5=\EOu:\
16133	:k6=\EOv:k7=\EOw:k8=\EOx:k9=\EOy:ke@:ks@:mb=\E[5m:md=\E[1m:\
16134	:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:op@:rc=\E8:rp@:sc=\E7:\
16135	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:ue=\E[24m:up=\E[A:\
16136	:us=\E[4m:ve=\037@A\021\n:vi=\037@A\024\n:tc=minitel1b:
16137
16138######## OBSOLETE VDT TYPES
16139#
16140# These terminals are *long* dead -- these entries are retained for
16141# historical interest only.
16142
16143#### Amtek Business Machines
16144#
16145
16146# (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
16147# but these caps were commented out in 8.3; also, removed overridden
16148# ":do=^J:" -- esr)
16149abm80|amtek business machines 80:\
16150	:am:bs:bw:\
16151	:co#80:li#24:\
16152	:al=\E^Z:bt=^T:cd=\E^X:ce=\E^O:cl=\E^\:cm=\E\021%r%+ %+ :\
16153	:dl=\E^S:do=\E^K:ho=\E^R:le=^H:nd=^P:up=\E^L:
16154
16155#### Bell Labs blit terminals
16156#
16157# These were AT&T's official entries.  The 5620 FAQ maintained by
16158# David Breneman <daveb@dgtl.com> has this to say:
16159#
16160#  Actually, in the beginning was the Jerq, and the Jerq was white with a
16161#  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
16162#  was good.  But lo, upon the horizon loomed a mighty management-type person
16163#  (known now only by the initials VP) who said, the mighty Jerq must stay
16164#  alone, and could not go forth into the world. So Locanthi and Pike put the
16165#  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
16166#  world. And the Jerq lived the rest of its days in research, but never
16167#  strayed from those paths.
16168#
16169#  In all seriousness, the Blit was originally known as the Jerq, but when
16170#  it started to be shown outside of the halls of the Bell Labs Research
16171#  organization, the management powers that be decided that the name could
16172#  not remain. So it was renamed to be Blit. This was in late 1981.
16173#
16174# (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
16175# 730, and 730+.)
16176#
16177
16178blit|jerq|blit running teletype rom:\
16179	:am:eo:ul:xo:\
16180	:co#87:it#8:li#72:\
16181	:AL=\EF%+ :DC=\Ee%+ :DL=\EE%+ :IC=\Ef%+ :al=\EF!:bl=^G:\
16182	:ce=\EK:cl=^L:cm=\EY%r%+ %+ :cr=^M:dc=\Ee!:dl=\EE!:do=^J:\
16183	:ei=:ic=\Ef!:im=:k1=\Ex:k2=\Ey:k3=\Ez:kb=^H:kd=\EB:kl=\ED:\
16184	:kr=\EC:ku=\EA:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:
16185
16186# (cbblit: here's a BSD termcap that says :do=\EG: -- esr)
16187cbblit|fixterm|blit running columbus code:\
16188	:co#88:\
16189	:cd=\EJ:ei=\ER:ic@:im=\EQ:pO=\EP%3:pf=^T:po=^R:se=\EV!:\
16190	:so=\EU!:ue=\EV":us=\EU":vb=\E^G:tc=blit:
16191
16192oblit|ojerq|first version of blit rom:\
16193	:am:da:db:eo:mi:ul:xo:\
16194	:co#88:it#8:li#72:\
16195	:AL=\Ef%+ :DL=\Ee%+ :al=\EF:bl=^G:cd=\EJ:ce=\EK:cl=^L:\
16196	:cm=\EY%r%+ %+ :cr=^M:dc=\EO:dl=\EE:do=^J:ei=\ER:im=\EQ:\
16197	:kb=^H:le=\ED:nd=\EC:sf=^J:ta=^I:up=\EA:vb=\E^G:
16198
16199#### Bolt, Beranek & Newman (bbn)
16200#
16201# The BitGraph was a product of the now-defunct BBN Computer Corporation.
16202# The parent company, best known as the architects of the Internet, is
16203# still around.
16204#
16205# Jeff DelPapa <dp@world.std.com> writes:
16206# The bitgraph was a large white box that contained a monochrome bitmap
16207# display, and a 68000 to run it.  You could download code and run it on
16208# the cpu, it had 128kb (I think) of memory.  I used one in the late
16209# 70's, sure beat a vt100.  It had one strange feature tho -- it used
16210# the cpu to bitblt pixels to scroll, it took longer than the refresh
16211# rate, and looked like a rubber sheet stretching, then snapping
16212# upwards.  It had everything the early mac had, except a floppy drive a
16213# small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
16214# Beranek and Neuman) sold at most a few hundred of them to the real
16215# world.  DOD may have bought more...
16216#
16217
16218# Entries for the BitGraph terminals.  The problem
16219# with scrolling in vi can only be fixed by getting BBN to put
16220# smarter scroll logic in the terminal or changing vi or padding
16221# scrolls with about 500 ms delay.
16222#
16223# I always thought the problem was related to the terminal
16224# counting newlines in its input buffer before scrolling and
16225# then moving the screen that much. Then vi comes along and
16226# paints lines in on the bottom line of the screen, so you get
16227# this big white gap.
16228
16229bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video):\
16230	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg2.0:
16231bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video):\
16232	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg2.0:
16233bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init):\
16234	:bs:xn:\
16235	:co#85:li#64:\
16236	:al=2*\E[L:bl=^G:cd=150\E[J:ce=2\E[K:cl=150\E[H\E[J:\
16237	:cm=%i\E[%d;%dH:cr=^M:cs=\E[%i%d;%dr:dl=2*\E[M:do=\E[B:\
16238	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\E[B:ke=\E>:kl=\E[D:\
16239	:kr=\E[C:ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
16240	:me=\E[m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=280\n:so=\E[7m:\
16241	:ta=^I:up=\E[A:
16242
16243bg1.25rv|bbn bitgraph 1.25 (reverse video):\
16244	:is=\E>\E[?5h\E[?7h:vb=\E[?5l\E[?5h:tc=bg1.25:
16245bg1.25nv|bbn bitgraph 1.25 (normal video):\
16246	:is=\E>\E[?5l\E[?7h:vb=\E[?5h\E[?5l:tc=bg1.25:
16247# (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
16248bg1.25|bbn bitgraph 1.25:\
16249	:co#85:li#64:\
16250	:RA=\E[?7l:SA=\E[?7h:al=2*\E[L:bl=^G:cd=150\E[J:ce=2\E[K:\
16251	:cl=150\E[H\E[J:cm=%i\E[%d;%dH:cr=^M:dl=2*\E[M:do=\E[B:\
16252	:k1=\EP:k2=\EQ:k3=\ER:k4=\ES:kd=\EB:ke=\E>:kl=\ED:kr=\EC:\
16253	:ks=\E=:ku=\EA:l1=PF1:l2=PF2:l3=PF3:l4=PF4:le=^H:\
16254	:ll=\E[64;1H:me=\E[m:nd=\E[C:se=\E[m:sf=280\n:so=\E[7m:\
16255	:ta=^I:up=\E[A:
16256
16257#### Bull (bq, dku, vip)
16258#
16259# (Adapted for terminfo; AIX extension capabilities translated -- esr)
16260
16261#============================================#
16262# BULL QUESTAR 210 `SDP' terminals emulation #
16263#============================================#
16264#
16265# Description written by R.K.Saunders (Bull Transac)
16266#
16267# Modifications written by F. Girard (Bull MTS)
16268#		19-05-87 V02.00.01
16269#		17-12-87 V02.00.02
16270#		15-09-89 V02.00.05
16271#
16272#	Typical technical selections F1 (modes SDP/ROLL):
16273# -------------------------------------------------------
16274# |   01   02   03   04   05   06   07   08   09   10   |
16275# |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
16276# |                                                     |
16277# |   11   12   13   14   15   16   17   18   19   20   |
16278# |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
16279# |                                                     |
16280# |   21   22   23   24   25   26   27   28   29   30   |
16281# |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
16282# |                                                     |
16283# |   31   32   33   34   35   36   37   38   39   40   |
16284# |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
16285# -------------------------------------------------------
16286#	Typical firmware identification F5 "etat 6":
16287#  P287.02.04b	(AZERTY)
16288#  P297.11.04	(24-pin: 2732)	or P798.11.04	(28-pin: 2764)
16289#  P298.03.03	(monochrome)	or P374.03.02	(colour)
16290#
16291#	SM SDP mode (VIP command):	^[[?=h
16292#	RIS (erases screen):		^[c
16293#	DMI disable keyboard:		^[`
16294#	SM double rendition mode:	^[[?>h
16295#	RM solicited status mode:	^[[5l
16296#	RM character mode:		^[[>l
16297#	RM echoplex mode:		^[[12l
16298#	RM column tab mode:		^[[18l
16299#	RM forbid SS2 keyboard mode:	^[[?<l
16300#	SM scroll mode:			^[[=h
16301#	FCF enable XON/XOFF:		^[P1s^[\
16302#	MTL select end msg character:	^[[^Wp
16303#	EMI enable keyboard:		^[b
16304#	RIS retour etat initial:	^[c
16305#	enable FC keypad:		^[[?<h,
16306#	MPW map status line window:	^[PY99:98^[\
16307#	SCP select status line:		^[[0;98v
16308#	ED erase entire partition:	^[[2J
16309#	SCP select main partition:	^[[v
16310#	SM character insertion mode:	^[[4h
16311#	RM character replacement mode:	^[[4l
16312#	COO cursor on:			^[[r
16313#	COO cursor off:			^[[1r
16314#	SGR dim (turquoise) rev attr:	^[[2;7m
16315#	SGR Data normal attr:		^[[m
16316#	SO Line-graphic mode ON:	^N
16317#	SI Line-graphic mode OFF:	^O
16318#	MC start routing to printer:	^[[5i
16319#	MC stop routing to printer:	^M^[[4i
16320#
16321
16322# This entry covers the following terminals:
16323# dku7102, tws2102, and tws models 2105 to 2112
16324# (sgr removed to fit entry within 1023 bytes)
16325# (rmacs/smacs removed for consistency)
16326# (acsc removed to fit entry within 1023 bytes)
16327# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
16328tws-generic|dku7102|Bull Questar tws terminals:\
16329	:am:es:hs:mi:ms:xn:xo:xs@:\
16330	:co#80:it#8:li#24:ws#80:\
16331	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
16332	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
16333	:cl=\E[2J:cm=\E[%i%d;%df:cr=^M:ct=\E[3g:dc=\E[P:dl=\E[M:\
16334	:do=^J:ds=\EPY99\07298\E\\\E[0;98v\E[2J\E[v:ei=\E[4l:\
16335	:fs=\E[v:ho=\E[H:i1=\E[?=h\Ec\E`\E[?>h\EPY99\07298\E\\:\
16336	:i2=\Eb\E[?<h:im=\E[4h:\
16337	:is=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p:\
16338	:k1=\E[1u\027:k2=\E[2u\027:k3=\E[3u\027:k4=\E[4u\027:\
16339	:k5=\E[5u\027:k6=\E[6u\027:k7=\E[7u\027:k8=\E[8u\027:\
16340	:kD=\E[P:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
16341	:le=^H:ll=\E[H\E[A:mb=\E[0;5m:me=\E[0m\017:mh=\E[0;2m:\
16342	:mr=\E[0;7m:nd=\E[C:rs=\E[?=h\Ec:se=\E[m:sf=^J:so=\E[0;7m:\
16343	:st=\EH:ta=\E[I:te=\E[0;98v\E[2J\E[v:\
16344	:ti=\E[?>h\EPY99\07298\E\\:\
16345	:ts=\EPY99\07298\E\\\E[0;98v\E[2;7m:ue=\E[m:up=\E[A:\
16346	:us=\E[0;4m:ve=\E[r:vi=\E[1r:
16347tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA:\
16348	:ds=\E[0;98v\E[2J\E[v:fs=\E[v:i2=\Eb:ts=\E[0;98v:\
16349	:tc=tws-generic:
16350tws2103|xdku|BULL Questar tws2103:\
16351	:ta=^I:tc=tws-generic:
16352tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA:\
16353	:ta=^I:tc=tws2102-sna:
16354dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6):\
16355	:AL@:DL@:al@:ce=\E[K\E[m:cl=\E[2J\E[H:cm@:dl@:\
16356	:ds=\EPY99\07298\E\\\E[0;98v\E[2J\E[H\E[v:\
16357	:ts=\EPY99\07298\E\\\E[0;98v\E[H\E[2;7m:\
16358	:tc=tws-generic:
16359dku7202|BULL Questar 200 DKU7202 (colour/character attributes):\
16360	:i2=\E[?3h\Eb:mb=\E[0;2;4m:mh=\E[0;5m:so=\E[0;4;5;7m:\
16361	:ta=^I:us=\E[0;2m:tc=tws-generic:
16362
16363#=========================================================#
16364# BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
16365#=========================================================#
16366#
16367# Description written by J. Staerck (BULL SA)
16368#       Copyright (c) 1989 BULL SA
16369#---------------------------------------------------------------------------
16370#  This entry is used for terminals with vt320 emulation mode
16371#  and following set-up :
16372#    8 bit ISO Latin Character Set (ISO 8859-1),
16373#    7 bit Control Characters,
16374#    80 columns screen.
16375#  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
16376#  They are used in string capabilities with vt220-320 emulation mode.
16377#  In the following DEC definitions, two kinds of terminfo databases are
16378#    provided :
16379#    1. the first with Command Sequence Introducer starting with escape
16380#       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
16381#    2. the second with Command Sequence Introducer starting with escape
16382#       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
16383#	Soft Terminal Reset		esc [ ! p
16384#	RIS (erases screen):		esc c
16385#	DECKPNM numeric keypad mode:	esc >
16386#	DECKPAM applic. keypad mode:	esc =
16387#	DECSTBM Scrolling region:	esc [ r
16388#	SCS select G0 = US:		esc ( B
16389#	SCS select G1 = line-graphic:	esc ) 0
16390#	Select 7-bit C1 controls:	esc sp F
16391#	Select 8-bit C1 controls:	esc sp G
16392#	Select cursor home:		esc [  H
16393#	Select erase screen:		esc [  J
16394#	SM KAM lock keyboard:		esc [ 2 h
16395#	RM KAM unlock keyboard:		esc [ 2 l
16396#	SM SRM local echo off:		esc [ 1 2 h
16397#	RM SRM local echo on:		esc [ 1 2 l
16398#	SM LNM New line :		esc [ 2 0 h
16399#	RM LNM return = CR only:	esc [ 2 0 l
16400#	SM DECCKM cursor keys mode:	esc [ ? 1 h
16401#	RM DECCKM appli. keys mode:	esc [ ? 1 l
16402#	SM DECANM ANSI mode on:		esc [ ? 2 h
16403#	RM DECANM ANSI mode off:	esc [ ? 2 l
16404#	SM DECCOLM 132-column screen:	esc [ ? 3 h
16405#	RM DECCOLM 80-column screen:	esc [ ? 3 l
16406#	SM DECSCLM Smooth scroll:	esc [ ? 4 h
16407#	RM DECSCLM Jump scroll:		esc [ ? 4 l
16408#	SM DECSCNM screen light backgr.	esc [ ? 5 h
16409#	RM DECSCNM screen dark backgr.	esc [ ? 5 l
16410#	SM DECOM move within margins:	esc [ ? 6 h
16411#	RM DECOM move outside margins:	esc [ ? 6 l
16412#	SM DECAWM auto right margin:	esc [ ? 7 h
16413#	RM DECAWM auto right margin:	esc [ ? 7 l
16414#	SM DECARM auto repeat:		esc [ ? 8 h
16415#	RM DECARM auto repeat:		esc [ ? 8 l
16416#	DECSASD Select active main:	esc [ 0 $ }
16417#	DECSASD Select active status:	esc [ 1 $ }
16418#	DECSSDT Select status none:	esc [ 0 $ ~
16419#	DECSSDT Select status indic.:	esc [ 1 $ ~
16420#	DECSSDT Select status host-wr:	esc [ 2 $ ~
16421#	SM DECTCEM Visible cursor:	esc [ ? 2 5 h
16422#	RM DECTCEM Invisible cursor:	esc [ ? 2 5 l
16423#	SM DECNCRM 7 bits NCR set:	esc [ ? 4 2 h
16424#	RM DECNCRM Multi or ISO latin:	esc [ ? 4 2 l
16425#	SM DECNKM numeric keypad mode:	esc [ ? 6 6 h
16426#	RM DECNKM numeric keypad appl.:	esc [ ? 6 6 l
16427#	SM DECKBUM clavier informatique	esc [ ? 6 8 h
16428#	RM DECKBUM clavier bureautique:	esc [ ? 6 8 l
16429#	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 " p
16430# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 0 " p
16431# or	DECSCL vt300 mode 8-bit ctrl:	esc [ 6 3 ; 2 " p
16432#	DECSCL vt300 mode 7-bit ctrl:	esc [ 6 3 ; 1 " p
16433#	Char. and Line attributes:	esc [ Ps ... Ps m
16434# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
16435# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
16436#
16437
16438# This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
16439# (sgr removed to fit entry within 1023 bytes)
16440# (acsc removed to fit entry within 1023 bytes)
16441# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
16442bq300|Bull vt320 ISO Latin 1 80 columns terminal:\
16443	:am:eo:es:hs:km:mi:ms:xn:xo:\
16444	:co#80:it#8:li#24:vt#3:ws#80:\
16445	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
16446	:K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
16447	:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:\
16448	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
16449	:ct=\E[3g:dc=\E[P:dl=\E[M:do=\E[B:\
16450	:ds=\E[1$}\E[2$~\n\E[0$}:ec=\E[%dX:ei=\E[4l:fs=\E[0$}:\
16451	:ho=\E[H:i1=\E[63;1"p\E[2h:\
16452	:i2=\E[0$}\E[?25h\E[2l\E[H\E[J:im=\E[4h:\
16453	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16454	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:\
16455	:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
16456	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ku=\E[A:\
16457	:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:nw=\EE:\
16458	:rc=\E8:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:\
16459	:ta=^I:te=\E[?7h:ti=\E[?7l\E[?1l\E(B:ts=\E[1$}\E[2$~:\
16460	:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
16461	:vi=\E[?25l:
16462bq300-rv|Bull vt320 reverse 80 columns:\
16463	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16464	:vb=\E[?5l\E[?5h:tc=bq300:
16465bq300-w|Bull vt320 132 columns:\
16466	:co#132:ws#132:\
16467	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16468	:rs=\E[?3h:tc=bq300:
16469bq300-w-rv|Bull vt320 reverse mode 132 columns:\
16470	:co#132:ws#132:\
16471	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16472	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300:
16473
16474#  This entry is used for terminals with vt320 emulation mode
16475#  and following set-up :
16476#    8 bit ISO Latin Character Set (ISO 8859-1),
16477#    8 bit Control Characters, (CSI coded as x9B for ESC [)
16478#    80 columns screen.
16479#	Soft Terminal Reset		csi ! p
16480#	RIS (erases screen):		esc c
16481#	DECKPNM numeric keypad mode:	esc >
16482#	DECKPAM applic. keypad mode:	esc =
16483#	DECSTBM Scrolling region:	esc [ r
16484#	SCS select G0 = US:		esc ( B
16485#	SCS select G1 = line-graphic:	esc ) 0
16486#	Select 7-bit C1 controls:	esc sp F
16487#	Select 8-bit C1 controls:	esc sp G
16488#	Select cursor home:		csi H
16489#	Select erase screen:		csi J
16490#	SM KAM lock keyboard:		csi 2 h
16491#	RM KAM unlock keyboard:		csi 2 l
16492#	SM SRM local echo off:		csi 1 2 h
16493#	RM SRM local echo on:		csi 1 2 l
16494#	SM LNM New line :		csi 2 0 h
16495#	RM LNM return = CR only:	csi 2 0 l
16496#	SM DECCKM cursor keys mode:	csi ? 1 h
16497#	RM DECCKM appli. keys mode:	csi ? 1 l
16498#	SM DECANM ANSI mode on:		csi ? 2 h
16499#	RM DECANM ANSI mode off:	csi ? 2 l
16500#	SM DECCOLM 132-column screen:	csi ? 3 h
16501#	RM DECCOLM 80-column screen:	csi ? 3 l
16502#	SM DECSCLM Smooth scroll:	csi ? 4 h
16503#	RM DECSCLM Jump scroll:		csi ? 4 l
16504#	SM DECSCNM screen light backgr.	csi ? 5 h
16505#	RM DECSCNM screen dark backgr.	csi ? 5 l
16506#	SM DECOM move within margins:	csi ? 6 h
16507#	RM DECOM move outside margins:	csi ? 6 l
16508#	SM DECAWM auto right margin:	csi ? 7 h
16509#	RM DECAWM auto right margin:	csi ? 7 l
16510#	SM DECARM auto repeat:		csi ? 8 h
16511#	RM DECARM auto repeat:		csi ? 8 l
16512#	DECSASD Select active main:	csi 0 $ }
16513#	DECSASD Select active status:	csi 1 $ }
16514#	DECSSDT Select status none:	csi 0 $ ~
16515#	DECSSDT Select status indic.:	csi 1 $ ~
16516#	DECSSDT Select status host-wr:	csi 2 $ ~
16517#	SM DECTCEM Visible cursor:	csi ? 2 5 h
16518#	RM DECTCEM Invisible cursor:	csi ? 2 5 l
16519#	SM DECNCRM 7 bits NCR set:	csi ? 4 2 h
16520#	RM DECNCRM Multi or ISO latin:	csi ? 4 2 l
16521#	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 " p
16522# or	DECSCL vt300 mode 8-bit ctrl:	csi 6 3 ; 0 " p
16523#	DECSCL vt300 mode 7-bit ctrl:	csi 6 3 ; 1 " p
16524#	Char. and Line attributes:	csi Ps ... Ps m
16525# with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
16526# and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
16527# (bq300-8: :le:,:nd:,:up:,:do:,:dl:,:al: to get under 1024 --esr)
16528# (sgr removed to fit entry within 1023 bytes)
16529# (acsc removed to fit entry within 1023 bytes)
16530# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
16531# (some function-key capabilities suppressed to fit entry within 1023 bytes)
16532bq300-8|Bull vt320 full 8 bits 80 columns:\
16533	:am:eo:es:hs:km:mi:ms:xn:xo:\
16534	:co#80:it#8:li#24:vt#3:ws#80:\
16535	:AL=\233%dL:DC=\233%dP:DL=\233%dM:DO=\233%dB:IC=\233%d@:\
16536	:K1=\217w:K2=\217u:K3=\217y:K4=\217q:K5=\217s:LE=\233%dD:\
16537	:RI=\233%dC:UP=\233%dA:ae=^O:as=^N:bl=^G:cd=\233J:ce=\233K:\
16538	:cl=\233H\233J:cm=\233%i%d;%dH:cr=^M:cs=\233%i%d;%dr:\
16539	:ct=\2333g:dc=\233P:do=\2331B:\
16540	:ds=\2331$}\2332$~\n\2330$}:ec=\233%dX:ei=\2334l:\
16541	:fs=\2330$}:ho=\233H:i1=\E[63;2"p\E[2h:\
16542	:i2=\2330$}\233?25h\2332l\233H\233J:im=\2334h:\
16543	:is=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16544	:k1=\217P:k2=\217Q:k3=\217R:k4=\217S:kD=\2333~:kI=\2332~:\
16545	:kN=\2336~:kP=\2335~:kb=^H:kd=\233B:ke=\233?1l\E>:\
16546	:kl=\233D:kr=\233C:ku=\233A:le=\2331D:mb=\2335m:md=\2331m:\
16547	:me=\2330m\E(B:mr=\2337m:nd=\2331C:nw=\EE:rc=\E8:sc=\E7:\
16548	:se=\23327m:sf=\ED:so=\2337m:sr=\EM:st=\EH:ta=^I:\
16549	:te=\233?7h:ti=\233?7l\233?1l\E(B:ts=\2331$}\2332$~:\
16550	:ue=\23324m:up=\2331A:us=\2334m:vb=\233?5h\233?5l:\
16551	:ve=\233?25h:vi=\233?25l:
16552bq300-8rv|Bull vt320 8-bit reverse mode 80 columns:\
16553	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16554	:vb=\233?5l\233?5h:tc=bq300-8:
16555bq300-8w|Bull vt320 8-bit 132 columns:\
16556	:co#132:ws#132:\
16557	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16558	:rs=\233?3h:tc=bq300-8:
16559bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns:\
16560	:co#132:ws#132:\
16561	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16562	:rs=\233?3h:vb=\233?5l\233?5h:tc=bq300-8:
16563
16564#  This entry is used for terminals with vt320 emulation mode
16565#  a 102 keys keyboard (PC scancode !) and following set-up :
16566#    8 bit ISO Latin Character Set (ISO 8859-1),
16567#    7 bit Control Characters,
16568#    80 columns screen.
16569bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns:\
16570	:%0@:%1@:*6@:@0@:@7=\E[4~:F1=\E[29~:F2=\E[31~:F3@:F4@:F5@:F6@:\
16571	:F7@:F8@:F9@:FA@:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
16572	:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:\
16573	:k;=\E[28~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:\
16574	:kh=\E[1~:l1@:l2@:l3@:l4@:tc=bq300:
16575bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns:\
16576	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16577	:vb=\E[?5l\E[?5h:tc=bq300-pc:
16578bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal:\
16579	:co#132:ws#132:\
16580	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16581	:rs=\E[?3h:tc=bq300-pc:
16582bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns:\
16583	:co#132:ws#132:\
16584	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l:\
16585	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-pc:
16586#    8 bit ISO Latin Character Set (ISO 8859-1),
16587#    8 bit Control Characters,
16588#    80 columns screen.
16589bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns:\
16590	:%0@:%1@:*6@:@0@:@7=\2334~:F1=\23329~:F2=\23331~:F3@:F4@:F5@:\
16591	:F6@:F7@:F8@:F9@:FA@:k1=\23317~:k2=\23318~:k3=\23319~:\
16592	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
16593	:k9=\23326~:k;=\23328~:kD=\2333~:kI=\2332~:kN=\2336~:\
16594	:kP=\2335~:kb=^H:kh=\2331~:l1@:l2@:l3@:l4@:tc=bq300-8:
16595bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns:\
16596	:is=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16597	:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
16598bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns:\
16599	:co#132:ws#132:\
16600	:is=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16601	:rs=\E[?3h:tc=bq300-8-pc:
16602bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns:\
16603	:co#132:ws#132:\
16604	:is=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l:\
16605	:rs=\E[?3h:vb=\E[?5l\E[?5h:tc=bq300-8-pc:
16606
16607#======================================================#
16608# BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
16609#======================================================#
16610
16611# normal mode, 8 bits, 80 columns terminal.
16612#	RES reset :			^[e
16613#	RIS reset initial state:	^[c
16614#	BLE bell enable			^[h
16615#	BLD bell disable		^[g
16616#	CAMS char. attr. mode set	^[[D
16617#	CAMR char. attr. mode reset	^[[G
16618#	CLR clear			^[`
16619#	KBU keyboard unlock (set)	^[[W
16620#	KBL keyboard lock (reset)	^[[X
16621#	CM  character mode (async.) 	^[k
16622#	NEP non echoplex mode (by host)	^[l
16623#	EP  echoplex mode (by host) 	^[m
16624#	IM  insert mode set		^[[I
16625#	IM  insert mode reset 		^[[J
16626#	RMS roll mode set 		^[r
16627#	RMR roll mode reset 		^[q
16628#	SM78 set mode vip7800	 	^[[1q
16629#	SD  scroll up  	(72 lines) 	^[[0s
16630#	SD  scroll down	(72 lines) 	^[[1s
16631#	RBM block mode reset		^[[E
16632#	SLS status line set 		^[w
16633#	SLR status line reset 		^[v
16634#	SLL status line lock 		^[O
16635#	LGS Line-graphic mode set 	^[G
16636#	LGR Line-graphic mode reset 	^[F
16637#	TBC tab clear (at cursor pos.)	^[[g
16638#	TBI tab initialize 		^[[N
16639#	TBS tab set (at cursor pos.)	^[p
16640#	PDS  print data space		^[[0p
16641#	PHD  print host data 		^[[3p
16642#	PDT  print data terminator	^[[<p
16643#	PRES print adapter reset	^[[2p
16644#	SSPR multi-part. reset		^[[<>u
16645#	SSP0 partition 0 set		^[[00u
16646#	SSP1 partition n format 1 	^[[PnPnSTRINGu
16647#	SSP2 partition n format 2 	^[[PnPnSTRINGu
16648#	SSP3 partition n format 3 	^[[PnPnu
16649#	ATR attribute (visual)
16650#	    blink :			^[sB
16651#	    dim :			^[sL
16652#	    hide (blank) :		^[sH
16653#	    restore :			^[sR
16654#	    inverse video :		^[sI
16655#	    prot. :			^[sP
16656#	    underline :			^[s_
16657#	    reset :			^{
16658#
16659# This covers the vip7800 and BQ3155-vip7800
16660# (rmacs/smacs removed for consistency)
16661# (acsc removed to fit entry within 1023 bytes)
16662vip|Bull Questar 3155-7800:\
16663	:5i:am:es:hs:km:ms:xn:xo:\
16664	:co#80:it#8:li#24:vt#3:ws#80:\
16665	:#2=\EH:#4=\Eo:%i=\Eu:F1=\E\\:F2=\E\136:F3@:F4@:F5@:F6@:F7@:\
16666	:F8@:F9@:FA@:FB=\E1:FC=\E5:FD=\E7:FE=\E9:FF=\E;:FG=\E=:FH=\E?:\
16667	:FI=\EQ:FJ=\ES:FK=\EV:FL=\E]:FM=\E_:bl=^G:bt=\E[Z:cd=\EJ:\
16668	:ce=\EK:cl=\E`:cm=\E[%i%3%3f:cr=^M:ct=\E[N:dc=\E[P:dl=\E[M:\
16669	:do=^J:ds=\Ev:ei=\E[J:fs=\EO:ho=\EH:i2=\Er\E[W\E`:ic=\E[I:\
16670	:im=\E[I:is=\E[00u\E[<>001001024080024080u\E[01u:\
16671	:k1=\E0:k2=\E2:k3=\E6:k4=\E8:k5=\E\072:k6=\E<:k7=\E>:k8=\EP:\
16672	:k9=\ER:k;=\ET:kA=\E[L:kB=\E[Z:kC=\E`:kD=\E[P:kE=\EK:\
16673	:kF=\E[0s:kH=\EH\EA:kI=\E[I:kL=\E[M:kM=\E[J:kR=\E[1s:\
16674	:kS=\EJ:kT=\Ep:ka=\E[N:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:\
16675	:kt=\E[g:ku=\EA:l1=pf1:l2=pf2:l3=pf3:l4=pf4:le=^H:ll=\EH\EA:\
16676	:mb=\EsB:me=\EsR\EsU\EF:mh=\EsL:mk=\EsH:mp=\EsP:mr=\EsI:\
16677	:nd=\EC:nw=^M:pf=\E[<p:po=\E[3p:ps=\E[0p:r1=\Ec:r2=\E[G:\
16678	:s0=\EF:s1=\EG:se=\EsR:sf=^J:so=\EsI:sr=10\EA\EJ\EH\E[L:\
16679	:st=\Ep:ta=^I:ts=\Ew:ue=\EsR:up=\EA:us=\Es_:\
16680	:vb=\007\007\007:
16681# normal screen, 8 bits, 132 columns terminal.
16682vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide:\
16683	:co#132:ws#132:\
16684	:is=\E[00u\E[<>001001024132024132u\E[01u:tc=vip:
16685vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines:\
16686	:li#72:\
16687	:is=\E[00u\E[<>001001024080072080u\E[01u:tc=vip:
16688vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines:\
16689	:co#132:li#72:ws#132:\
16690	:is=\E[00u\E[<>001001024132072132u\E[01u:tc=vip:
16691
16692#### Chromatics
16693#
16694
16695# I have put the long strings in :ti:/:te:. Ti sets up a window
16696# that is smaller than the screen, and puts up a warning message
16697# outside the window. Te erases the warning message, puts the
16698# window back to be the whole screen, and puts the cursor at just
16699# below the small window. I defined :ve: and :vi: to really turn
16700# the cursor on and off, but I have taken this out since I don't
16701# like the cursor being turned off when vi exits.
16702cg7900|chromatics|chromatics 7900:\
16703	:am:\
16704	:co#80:li#40:\
16705	:al=^A>2:bl=^G:cd=^Al:ce=^A`:cl=^L:cm=\001M%r%d,%d,:cr=^M:\
16706	:dc=^A<1:dl=^A<2:do=^J:ei=:ho=^\:ic=^A>1:im=:le=^H:ll=^A|:\
16707	:nd=^]:se=\001C1,\001c2,:sf=^J:so=\001C4,\001c7,:\
16708	:te=\001W0,40,85,48,\014\001W0,0,85,48,\001M0,40,:\
16709	:ti=\001P0\001O1\001R1\001C4,\001c0,\014\001M0,42,WARNING DOUBLE ENTER ESCAPE and \025\001C1,\001c2,\001W0,0,79,39,:\
16710	:uc=\001\001_\001\200:up=^K:
16711
16712#### Computer Automation
16713#
16714
16715ca22851|computer automation 22851:\
16716	:am:\
16717	:co#80:li#24:\
16718	:bl=^G:cd=^\:ce=^]:cl=8\014:cm=\002%i%.%.:cr=^M:do=^J:ho=^^:\
16719	:kd=^W:kh=^^:kl=^U:ku=^V:le=^U:nd=^I:sf=^J:up=^V:
16720
16721#### Cybernex
16722#
16723
16724# This entry has correct padding and the undocumented "ri" capability
16725cyb83|xl83|cybernex xl-83:\
16726	:am:bs:\
16727	:co#80:li#24:\
16728	:bl=^G:cd=62\020:ce=3\017:cl=62\014:cm=\027%+ %+ :cr=^M:\
16729	:do=^J:ho=^K:kd=^J:kl=^H:kr=^I:ku=^N:le=^H:nd=^I:sf=^J:sr=^N:\
16730	:up=^N:
16731# (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
16732cyb110|mdl110|cybernex mdl-110:\
16733	:am:bs:\
16734	:co#80:li#24:\
16735	:al=65\016A\016\035:bl=^G:cd=6\016@\026:ce=145\016@\026:\
16736	:cl=70\030:cm=\020%+ %+ :cr=^M:dc=3.5\016A\036:\
16737	:dl=40\016A\016\036:do=^J:ei=:ho=^Y:ic=3.5\016A\035:im=:\
16738	:le=^H:nd=^U:se=^NG:sf=^J:so=^NF:ta=43\011:up=^Z:
16739
16740#### Datapoint
16741#
16742# Datapoint is gone.  They used to be headquartered in Texas.
16743# They created ARCnet, an Ethernet competitor that flourished for a while
16744# in the early 1980s before 3COM got wise and cut its prices.  The service
16745# side of Datapoint still lives (1995) in the form of Intelogic Trace.
16746#
16747
16748dp3360|datapoint|datapoint 3360:\
16749	:am:bs:\
16750	:co#82:li#25:\
16751	:bl=^G:cd=^_:ce=^^:cl=^]^_:cr=^M:do=^J:ho=^]:le=^H:nd=^X:\
16752	:sf=^J:up=^Z:
16753
16754# From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
16755# The Datapoint 8242 Workstation was sold at least between 1985
16756# and 1989. To make the terminal work with this entry, press
16757# CONTROL-INT-INT to take the terminal off-line, and type (opt).
16758# Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO
16759# CR/LF off. Use control-shift-[] as escape key, control-I as tab,
16760# shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
16761# fact unusable because the strings sent by the terminal conflict
16762# with other keys).
16763# The terminal is capable of displaying "box draw" characters.
16764# For each graphic character you must send 2 ESC's (\E\E) followed
16765# by a control character as follows:
16766#         character        meaning
16767#         =========        =======
16768#         ctrl-E           top tee
16769#         ctrl-F           right tee
16770#         ctrl-G           bottom tee
16771#         ctrl-H           left tee
16772#         ctrl-I           cross
16773#         ctrl-J           top left corner
16774#         ctrl-K           top right corner
16775#         ctrl-L           bottom left corner
16776#         ctrl-M           bottom right corner
16777#         ctrl-N           horizontal line
16778#         ctrl-O           vertical line
16779# Unfortunately this cannot be fitted into the termcap/terminfo
16780# description scheme.
16781dp8242|datapoint 8242:\
16782	:ms:\
16783	:co#80:li#25:\
16784	:al=\E^T:bl=^G:cd=^W:ce=^V:cl=\025\E\004\027\030:\
16785	:cm=\011%r%+\\%+\\:cr=^M:dl=\E^Z:do=^J:ho=^U:\
16786	:i1=\E\014\E\016\200\230\200\317\025\027\030\E\004:\
16787	:k1=^G\Ee:k2=^I\Ed:k3=^J\Ec:k4=^J\Eb:k5=^S\Ea:k6=\EO\Ee:\
16788	:k7=\EN\Ed:k8=\EM\Ec:k9=\EL\Eb:k;=\EK\Ea:kb=^H:kd=^B:kl=^D:\
16789	:kr=^F:ku=^E:le=^H:nw=^M^J:\
16790	:r1=\E\014\E\016\200\230\200\317\025\027\030\E\004:\
16791	:rp=\E\023%.%.:se=\E^D:sf=^C:so=\E^E:sr=^K:ta=^I:ue=\E^D:\
16792	:us=\E^F:ve=^X:vi=^Y:
16793
16794#### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
16795#
16796# These entries are DEC's official terminfos for its older terminals.
16797# Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
16798# Engineering for more information.  Updated terminfos and termcaps
16799# are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
16800#
16801
16802gt40|dec gt40:\
16803	:bs:os:\
16804	:co#72:li#30:\
16805	:bl=^G:cr=^M:do=^J:le=^H:
16806gt42|dec gt42:\
16807	:bs:os:\
16808	:co#72:li#40:\
16809	:bl=^G:cr=^M:do=^J:le=^H:
16810vt50|dec vt50:\
16811	:bs:\
16812	:co#80:li#12:\
16813	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cr=^M:do=^J:le=^H:nd=\EC:\
16814	:sf=^J:ta=^I:up=\EA:
16815vt50h|dec vt50h:\
16816	:bs:\
16817	:co#80:li#12:\
16818	:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cr=^M:do=^J:\
16819	:le=^H:nd=\EC:sf=^J:sr=\EI:ta=^I:up=\EA:
16820# (vt61: there's a BSD termcap that claims :dl=\EPd:, :al=\EPf.: :kb=^H:)
16821vt61|vt-61|vt61.5|dec vt61:\
16822	:co#80:li#24:\
16823	:bl=^G:cd=120\EJ:ce=70\EK:cl=120\EH\EJ:cm=20\EY%+ %+ :\
16824	:cr=20\r:do=^J:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=20\EC:\
16825	:sf=20\n:sr=\EI:ta=^I:up=20\EA:
16826
16827# The gigi does standout with red!
16828# (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
16829gigi|vk100|dec gigi graphics terminal:\
16830	:am:bs:xn:\
16831	:co#84:li#24:\
16832	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
16833	:UP=\E[%dA:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
16834	:cm=\E[%i%d;%dH:cr=^M:do=^J:\
16835	:is=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h:k1=\EOP:\
16836	:k2=\EOQ:k3=\EOR:k4=\EOS:kd=\EOB:ke=\E[?1l\E>:kh=\E[H:\
16837	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
16838	:nd=\E[C:se=\E[m:sf=^J:so=\E[7;31m:sr=\EM:ta=^I:ue=\E[m:\
16839	:up=\E[A:us=\E[4m:
16840
16841# DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
16842# a PC differentiated from the IBM clones.  It was a total, ludicrous,
16843# grossly-overpriced failure (among other things, DEC's OS didn't include
16844# a format program, so you had to buy pre-formatted floppies from DEC at
16845# a hefty premium!).
16846pro350|decpro|dec pro console:\
16847	:bs:\
16848	:co#80:it#8:li#24:\
16849	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
16850	:ae=\EG:as=\EF:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :do=\EB:\
16851	:ho=\EH:k0=\EE:k1=\EF:k2=\EG:k3=\EH:k4=\EI:k5=\EJ:k6=\Ei:\
16852	:k7=\Ej:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:\
16853	:se=\E^N:so=\E^H:sr=\EI:ta=^I:ue=\E^C:up=\EA:us=\E^D:
16854
16855dw1|decwriter I:\
16856	:bs:hc:os:\
16857	:co#72:\
16858	:bl=^G:cr=^M:do=^J:le=^H:sf=^J:
16859dw2|decwriter|dw|decwriter II:\
16860	:bs:hc:os:\
16861	:co#132:\
16862	:bl=^G:cr=^M:do=^J:kb=^H:le=^H:sf=^J:
16863# \E(B		Use U.S. character set (otherwise # => british pound !)
16864# \E[20l	Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
16865# \E[w   	10 char/in pitch
16866# \E[1;132	full width horizontal margins
16867# \E[2g		clear all tab stops
16868# \E[z		6 lines/in
16869# \E[66t	66 lines/page (for \f)
16870# \E[1;66r	full vertical page can be printed
16871# \E[4g		clear vertical tab stops
16872# \E>		disable alternate keypad mode (so it transmits numbers!)
16873# \E[%i%p1%du	set tab stop at column %d (origin == 1)
16874#		(Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is
16875#		a tab stop)
16876#
16877#       The dw3 does standout with wide characters.
16878#
16879dw3|la120|decwriter III:\
16880	:bs:hc:os:\
16881	:co#132:\
16882	:bl=^G:cr=^M:do=^J:\
16883	:i1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>:\
16884	:is=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r:\
16885	:kb=^H:le=^H:me=\E[w:se=\E[w:sf=^J:so=\E[6w:ta=^I:
16886dw4|decwriter IV:\
16887	:am:bs:hc:os:\
16888	:co#132:\
16889	:bl=^G:cr=^M:do=^J:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:\
16890	:kb=^H:le=^H:sf=^J:ta=^I:
16891
16892# These aren't official
16893ln03|dec ln03 laser printer:\
16894	:hc:\
16895	:co#80:li#66:\
16896	:bl=^G:cr=^M:do=^J:hd=\EK:hu=\EL:me=\E[m:nw=^M^J:se=\E[22m:\
16897	:sf=^J:so=\E[1m:ta=^I:ue=\E[24m:us=\E[4m:
16898ln03-w|dec ln03 laser printer 132 cols:\
16899	:co#132:\
16900	:bl=^G:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:nw=^M^J:sf=^J:ta=^I:\
16901	:tc=ln03:
16902
16903#### Delta Data (dd)
16904#
16905
16906# Untested. The cup sequence is hairy enough that it probably needs work.
16907# The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
16908# There are BSD-derived termcap entries floating around for this puppy
16909# that are *certainly* wrong.
16910delta|dd5000|delta data 5000:\
16911	:am:bs:\
16912	:co#80:li#27:\
16913	:bl=^G:ce=^NU:cl=^NR:cm=\017%+^P%+^P:dc=^NV:do=^J:ho=^NQ:\
16914	:le=^H:nd=^Y:sf=^J:up=^Z:
16915
16916#### Digital Data Research (ddr)
16917#
16918
16919# (ddr: I added <rmam>/<smam> based on the init string -- esr)
16920ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator:\
16921	:am:bs:xn:\
16922	:co#80:it#8:li#24:vt#3:\
16923	:RA=\E[7l:SA=\E[7l:cd=50\E[J:ce=3\E[K:cl=50\E[H\E[2J:\
16924	:cm=5\E[%i%d;%dH:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
16925	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
16926	:kb=^H:kd=\E[B:ke=\E[?1l\E>:kl=\E[D:kr=\E[C:ks=\E[?1h\E=:\
16927	:ku=\E[A:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
16928	:nd=2\E[C:r1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
16929	:rf=/usr/share/tabset/vt100:sc=\E7:se=\E[m:sf=5\ED:\
16930	:so=\E[7m:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
16931
16932#### Evans & Sutherland
16933#
16934
16935# Jon Leech <leech@cs.unc.edu> tells us:
16936# The ps300 was the Evans & Sutherland Picture System 300, a high
16937# performance 3D vector graphics system with a bunch of specialized hardware.
16938# Approximate date of release was 1982 (early 80s, anyway), and it had several
16939# evolutions including (limited) color versions such as the PS330C. PS300s
16940# were effectively obsolete by the late 80s, replaced by raster graphics
16941# systems, although specialized applications like molecular modelling
16942# hung onto them for a while longer.  AFAIK all E&S vector graphics systems
16943# are out of production, though of course E&S is very much alive (in 1996).
16944# (ps300: changed ":pt@:" to "it@" -- esr)
16945#
16946ps300|Picture System 300:\
16947	:xt:\
16948	:it@:\
16949	:se@:so@:ue@:us@:tc=vt100:
16950
16951#### General Electric (ge)
16952#
16953
16954terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200:\
16955	:bs:hc:os:\
16956	:co#120:\
16957	:bl=^G:cr=^M:do=^J:sf=^J:
16958
16959#### Heathkit/Zenith
16960#
16961
16962# Here is a description of the H19 DIP switches:
16963#
16964# S401
16965# 0-3 = baud rate as follows:
16966#
16967#         3       2       1       0
16968#	---	---	---	---
16969#         0       0       1       1       300 baud
16970#         0       1       0       1       1200 baud
16971#         1       0       0       0       2400 baud
16972#         1       0       1       0       4800 baud
16973#         1       1       0       0       9600 baud
16974#         1       1       0       1       19.2K baud
16975#
16976# 4 = parity (0 = no parity)
16977# 5 = even parity (0 = odd parity)
16978# 6 = stick parity (0 = normal parity)
16979# 7 = full duplex (0 = half duplex)
16980#
16981# S402
16982# 0 = block cursor (0 = underscore cursor)
16983# 1 = no key click (0 = keyclick)
16984# 2 = wrap at end of line (0 = no wrap)
16985# 3 = auto LF on CR (0 = no LF on CR)
16986# 4 = auto CR on LF (0 = no CR on LF)
16987# 5 = ANSI mode (0 = VT52 mode)
16988# 6 = keypad shifted (0 = keypad unshifted)
16989# 7 = 50Hz refresh (1 = 60Hz refresh)
16990#
16991# Factory Default settings are as follows:
16992#          7 6 5 4 3 2 1 0
16993# S401     1 0 0 0 1 1 0 0
16994# S402     0 0 0 0 0 0 0 0
16995# (h19: I added <rmam>/<smam> based on the init string;
16996# also added empty <acsc> to suppress a tic warning -- esr)
16997h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
16998	:am:bs:mi:ms:\
16999	:co#80:it#8:li#24:\
17000	:RA=\E[?7l:SA=\E[?7h:ac=:ae=\E[11m:al=1*\E[1L:as=\E[10m:\
17001	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:\
17002	:dc=\E[1P:dl=1*\E[1M:do=\E[1B:ei=\E[4l:ho=\E[H:im=\E[4h:\
17003	:is=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h:k1=\EOS:\
17004	:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:\
17005	:kb=^H:kd=\E[1B:kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:\
17006	:l7=red:l8=white:le=^H:nd=\E[1C:se=\E[m:sf=^J:so=\E[7m:\
17007	:sr=\EM:ta=^I:up=\E[1A:ve=\E[>4l:vs=\E[>4h:
17008h19-bs|heathkit w/keypad shifted:\
17009	:ke=\Eu:ks=\Et:tc=h19-b:
17010h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor:\
17011	:ke=\Eu:ks=\Et:tc=h19-u:
17012# (h19: merged in :ip: from BSDI hp19-e entry>;
17013# also added empty <acsc> to suppress a tic warning --esr)
17014# From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998
17015# Tim tells us that:
17016# I have an old Zenith-19 terminal at home that still gets a lot of use.
17017# This terminal suffers from the same famous insert-mode padding lossage
17018# that has been acknowledged for the Z29 terminal.  Emacs is nearly
17019# unusable on this box, since even a half-scroll up or down the window
17020# causes flaming terminal death.
17021#
17022# On the Z19, the only way I have found around this problem is to remove
17023# the :al: and :dl: entries entirely.  No amount of extra padding will
17024# help (I have tried up to 20000).  Removing :al=\EL$: and :dl=\EM$:
17025# makes Emacs a little slower, but it remains in the land of the living.
17026# Big win.
17027h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19:\
17028	:am:bs:es:hs:mi:ms:\
17029	:co#80:it#8:li#24:\
17030	:ac=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\136:ae=\EG:\
17031	:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :cr=^M:\
17032	:dc=\EN:do=\EB:ei=\EO:fs=\Ek\Ey5:ho=\EH:im=\E@:ip=.5<1.5/>:\
17033	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
17034	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l6=blue:l7=red:\
17035	:l8=white:le=^H:nd=\EC:se=\Eq:sf=^J:so=\Ep:sr=\EI:ta=^I:\
17036	:ts=\Ej\Ex5\EY8%+ \Eo\Eo:up=\EA:ve=\Ey4:vs=\Ex4:
17037h19-u|heathkit with underscore cursor:\
17038	:ve@:vs@:tc=h19-b:
17039h19-g|h19g|heathkit w/block cursor:\
17040	:ve=\Ex4:vs@:tc=h19-b:
17041alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19:\
17042	:li#60:\
17043	:al=\EL:dl=\EM:tc=h19:
17044
17045# The major problem with the Z29 is that it requires more padding than the Z19.
17046#
17047# The problem with declaring an H19 to be synonymous with a Z29 is that
17048# it needs more padding. It especially loses if a program attempts
17049# to put the Z29 into insert mode and insert text at 9600 baud. It
17050# even loses worse if the program attempts to insert tabs at 9600
17051# baud. Adding padding to text that is inserted loses because in
17052# order to make the Z29 not die, one must add so much padding that
17053# whenever the program tries to use insert mode, the effective
17054# rate is about 110 baud.
17055#
17056# What program would want to put the terminal into insert mode
17057# and shove stuff at it at 9600 baud you ask?
17058#
17059# Emacs. Emacs seems to want to do the mathematically optimal
17060# thing in doing a redisplay rather than the practical thing.
17061# When it is about to output a line on top of a line that is
17062# already on the screen, instead of just killing to the end of
17063# the line and outputting the new line, it compares the old line
17064# and the new line and if there are any similarities, it
17065# constructs the new line by deleting the text on the old line
17066# on the terminal that is already there and then inserting new
17067# text into the line to transform it into the new line that is
17068# to be displayed. The Z29 does not react kindly to this.
17069#
17070# But don't cry for too long.... There is a solution. You can make
17071# a termcap entry for the Z29 that says the Z29 has no insert mode.
17072# Then Emacs cannot use it. "Oh, no, but now inserting into a
17073# line will be really slow", you say. Well there is a sort of a
17074# solution to that too. There is an insert character option on
17075# the Z29 that will insert one character. Unfortunately, it
17076# involves putting the terminal into ansi mode, inserting the
17077# character, and changing it back to H19 mode. All this takes 12
17078# characters. Pretty expensive to insert one character, but it
17079# works. Either Emacs doesn't try to use its inserting hack when
17080# it's only given an insert character ability or the Z29 doesn't
17081# require padding with this (the former is probably more likely,
17082# but I haven't checked it out).
17083# (z29: added empty <acsc> to suppress a tic warning, merged in
17084# status line capabilities from BRL entry --esr)
17085z29|zenith29|z29b|zenith z29b:\
17086	:am:bs:es:hs:mi:ms:pt:\
17087	:co#80:kn#10:li#24:\
17088	:ac=:ae=\EF:al=1\EL:as=\EG:bc=\ED:bl=^G:bt=\E-:cd=14\EJ:\
17089	:ce=1\EK:cl=14\EE:cm=\EY%+ %+ :cr=^M:dc=0.1*\EN:dl=1\EM:\
17090	:do=\EB:ds=\Ey1:ei=\EO:fs=\Ek\Ey5:ho=\EH:\
17091	:ic=1\E<\E[1@\E[?2h:im=\E@:is=\E<\E[?2h\Ev:k0=\E~:k1=\ES:\
17092	:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:k9=\E0I:\
17093	:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:l0=home:le=^H:\
17094	:nd=\EC:se=\Eq:sf=2\n:so=\Ep:sr=2\EI:ta=^I:ue=\Es0:up=\EA:\
17095	:us=\Es8:ve=\Ey4:vs=\Ex4:
17096# z29 in ansi mode. Assumes that the cursor is in the correct state, and that
17097# the world is stable. <rs1> causes the terminal to be reset to the state
17098# indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
17099# cursor, bc -> block cursor.
17100# From: Mike Meyers
17101# (z29a: replaced nonexistent :if=/usr/share/tabset/zenith29: befause :st:
17102# looks vt100-compatible -- esr)
17103z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode:\
17104	:am:bs:es:hs:mi:ms:pt:\
17105	:co#80:it#8:kn#10:li#24:\
17106	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
17107	:RI=\E[%dC:UP=\E[%dA:bc=\ED:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J:\
17108	:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:\
17109	:do=^J:ds=\E[>1l:fs=\E[u\E[>5l:ho=\E[H:\
17110	:if=/usr/share/tabset/vt100:k0=\E[~:k1=\EOS:k2=\EOT:\
17111	:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:\
17112	:kC=\E[J:kS=\E[J:kb=^H:kd=\EOB:kh=\E[H:kl=\EOD:kr=\EOC:\
17113	:ku=\EOA:l0=help:le=^H:mb=\E[5m:md=\E[2m:me=\E[m:mh=\E[2m:\
17114	:mr=\E[7m:nd=\E[C:nw=^M\ED:ps=\E#7:\
17115	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m:\
17116	:rc=\E[r:sc=\E[s:se=\E[m:sf=\ED:so=\E[7;2m:sr=\EM:st=\EH:\
17117	:ta=^I:te=\E[?7h:ti=\E[?7l:\
17118	:ts=\E[s\E[>5;1h\E[25;%i%dH\E[1K:ue=\E[m:up=\E[A:\
17119	:us=\E[4m:
17120z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\
17121	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m:\
17122	:tc=z29a:
17123z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick:\
17124	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m:\
17125	:tc=z29a:
17126z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\
17127	:r1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m:\
17128	:tc=z29a:
17129# From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
17130z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode:\
17131	:5i:am:es:hs:mi:ms:xo:\
17132	:co#80:li#24:\
17133	:%1=\E[~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:\
17134	:K2=\EOy:K3=\EOu:K4=\EOq:K5=\EOs:LE=\E[%dD:RI=\E[%dC:\
17135	:UP=\E[%dA:ac=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~:\
17136	:ae=\E(B:al=\E[1L:as=\E(0:bl=^G:bt=\E[1Z:cb=\E[1K:cd=\E[0J:\
17137	:ce=\E[0K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
17138	:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[1P:dl=\E[1M:do=\E[B:\
17139	:ds=\E[>1l:ei=\E[4l:fs=\E[u:ho=\E[H:im=\E[4h:\
17140	:is=\E<\E[>1;3;5;6;7l\E[0m\E[2J:k1=\EOS:k2=\EOT:k3=\EOU:\
17141	:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:k8=\EOR:k9=\EOX:kS=\E[J:\
17142	:kb=^H:kd=\E[B:ke=\E[>7l:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E[>7h:\
17143	:ku=\E[A:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[0m:\
17144	:mh=\E[2m:mr=\E[7m:nd=\E[C:pf=\E[4i:po=\E[5i:\
17145	:ps=\E[?19h\E[i:rc=\E[u:rs=\E<\Ec\200:sc=\E[s:se=\E[0m:\
17146	:sf=^J:so=\E[7m:st=\EH:ta=^I:ts=\E[s\E[>1h\E[25;%i%dH:\
17147	:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[>5l:vi=\E[>5h:
17148
17149# From: Brad Brahms <Brahms@USC-ECLC>
17150z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor:\
17151	:ve=\Ey4\Em70:vs=\Ex4\Em71:tc=z100bw:
17152# (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
17153z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc:\
17154	:bs:mi:ms:pt:\
17155	:co#80:it#8:kn#10:li#24:\
17156	:ac=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\136:ae=\EG:\
17157	:al=5*\EL:as=\EF:cd=\EJ:ce=\EK:cl=5*\EE:cm=1*\EY%+ %+ :\
17158	:dc=1*\EN:dl=5*\EM:do=\EB:ei=\EO:ho=\EH:im=\E@:k0=\EJ:\
17159	:k1=\ES:k2=\ET:k3=\EU:k4=\EV:k5=\EW:k6=\EP:k7=\EQ:k8=\ER:\
17160	:k9=\EOI:kb=^H:kd=\EB:kh=\EH:kl=\ED:kr=\EC:ku=\EA:le=^H:\
17161	:nd=\EC:se=\Eq:so=\Ep:sr=\EI:ta=^I:up=\EA:ve=\Ey4:vs=\Ex4:
17162p19|h19-b with il1/dl1:\
17163	:al=2*\EL:dl=2*\EM:tc=h19-b:
17164# From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
17165# (ztx: removed duplicate :sr: -- esr)
17166ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11:\
17167	:am:bs:es:hs:\
17168	:co#80:it#8:li#24:\
17169	:al=\EL:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :dl=\EM:do=^J:\
17170	:ds=\Ey1:fs=\Ek\Ey5:ho=\EH:\
17171	:is=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>:k0=\ES:\
17172	:k1=\EB:k2=\EU:k3=\EV:k4=\EW:k5=\EP:k6=\EQ:k7=\ER:kb=^H:\
17173	:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=^H:nd=\EC:se=\Eq:so=\Es5:\
17174	:sr=\EI:ta=^I:ue=\Eq:up=\EA:us=\Es2:
17175
17176#### IMS International (ims)
17177#
17178# There was a company called IMS International located in Carson City,
17179# Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
17180# bus/Z80 hardware and a line of terminals called Ultimas.
17181#
17182
17183# From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
17184ims950-b|bare ims950 no init string:\
17185	:is@:tc=ims950:
17186# (ims950: removed obsolete ":ko@:" -- esr)
17187ims950|ims televideo 950 emulation:\
17188	:xn@:\
17189	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:\
17190	:tc=tvi950:
17191# (ims950-rv: removed obsolete ":ko@:" -- esr)
17192ims950-rv|ims tvi950 rev video:\
17193	:xn@:\
17194	:k0@:k1@:k2@:k3@:k4@:k5@:k6@:k7@:k8@:k9@:kb@:kd@:kh@:kl@:kr@:ku@:vb@:\
17195	:tc=tvi950-rv:
17196ims-ansi|ultima2|ultimaII|IMS Ultima II:\
17197	:am:bs:\
17198	:co#80:it#8:li#24:\
17199	:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%2;%2H:do=\ED:\
17200	:if=/usr/share/tabset/vt100:\
17201	:is=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r:kd=\E[B:kh=\E[H:\
17202	:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\EC:se=\E[m\E[1m:\
17203	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m\E[1m:up=\EM:us=\E[4m:
17204
17205#### Intertec Data Systems
17206#
17207# I think this company is long dead as of 1995.  They made an early CP/M
17208# micro called the "Intertec Superbrain" that was moderately popular,
17209# then sank out of sight.
17210#
17211
17212superbrain|intertec superbrain:\
17213	:am:bs:bw:\
17214	:co#80:li#24:\
17215	:bc=^U:bl=^G:cd=10*\E~k<10*>:ce=15\E~K:cl=5*\014:\
17216	:cm=20\EY%+ %+ :cr=^M:do=^J:kd=^J:kl=^U:kr=^F:ku=^K:le=^H:\
17217	:nd=^F:sf=^J:ta=^I:te=^L:ti=^L:up=^K:
17218# (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>,
17219# rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
17220# and the reverse is actually true.  Try it. -- esr)
17221intertube|intertec|Intertec InterTube:\
17222	:am:bs:\
17223	:co#80:li#25:\
17224	:bl=^G:cl=^L:cm=50\EY%+ %+ :cr=^M:do=^J:ho=^A:le=^H:nd=^F:\
17225	:se=\E0@:sf=^J:so=\E0P:up=^Z:
17226# The intertube 2 has the "full duplex" problem like the tek 4025: if you
17227# are typing and a command comes in, the keystrokes you type get interspersed
17228# with the command and it messes up
17229intertube2|intertec data systems intertube 2:\
17230	:bs:\
17231	:ce=\EK:ch=\020%B%.:cm=\016%.\020%B%.:cv=\013%.:\
17232	:ll=^K^X\r:tc=intertube:
17233
17234#### Ithaca Intersystems
17235#
17236# This company made S100-bus personal computers long ago in the pre-IBM-PC
17237# past.  They used to be reachable at:
17238#
17239#	Ithaca Intersystems
17240#	1650 Hanshaw Road
17241#	Ithaca, New York 14850
17242#
17243# However, the outfit went bankrupt years ago.
17244#
17245
17246# The Graphos III was a color graphics terminal from Ithaca Intersystems.
17247# These entries were written (originally in termcap syntax) by Brian Yandell
17248# <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the
17249# University of Wisconsin.
17250
17251# (graphos: removed obsolete and syntactically incorrect :kn=4:,
17252# removed :if=/usr/share/tabset/init.graphos: and
17253# <rf=/usr/share/tabset/init.graphos> no such file & no :st: -- esr)
17254graphos|graphos III:\
17255	:am:mi:\
17256	:co#80:it#8:li#24:\
17257	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
17258	:UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
17259	:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:dm=\E[4h:do=\E[B:\
17260	:ed=\E[4l:ei=\E[4l:ho=\E[H:im=\E[4h:k1=\EOP:k2=\EOQ:\
17261	:k3=\EOR:k4=\EOS:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:\
17262	:ku=\E[A:le=^H:me=\E[m:nd=\E[C:nw=^M\ED:rc=\E8:sc=\E7:\
17263	:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:ta=^I:up=\E[A:\
17264	:ve=\Ez56;2;0;0z\Ez73z\Ez4;1;1z:\
17265	:vs=\Ez4;2;1z\Ez56;2;80;24z:
17266graphos-30|graphos III with 30 lines:\
17267	:li#30:\
17268	:vs=\Ez4;2;1z\Ez56;2;80;30z:tc=graphos:
17269
17270#### Modgraph
17271#
17272# These people used to be reachable at:
17273#
17274#	Modgraph, Inc
17275#	1393 Main Street,
17276#	Waltham, MA 02154
17277#	Vox: (617)-890-5796.
17278#
17279# However, if you call that number today you'll get an insurance company.
17280# I have mail from "Michael Berman, V.P. Sales, Modgraph" dated
17281# 26 Feb 1997 that says:
17282#
17283# Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
17284# for ~7 years.  Modgraph still in business.  Products are rugged laptop and
17285# portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
17286# panel-mount etc).  I can be emailed at sonfour@aol.com
17287#
17288# Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
17289# dated 1984.  According to the manual, it featured Tek 4010/4014
17290# graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
17291#
17292
17293modgraph|mod24|modgraph terminal emulating vt100:\
17294	:xn@:\
17295	:co#80:li#24:\
17296	:is=\E\1369;0s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s:\
17297	:rf@:sr=5\EM\E[K:vs=\E\1369;0s\E\1367;1s:tc=vt100:
17298# The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
17299modgraph2|modgraph gx-1000 80x24 with keypad not enabled:\
17300	:am:da:db:\
17301	:co#80:it#8:li#24:\
17302	:cd=50\EJ:ce=3\EK:cl=50\EH\EJ:cm=5\EY%+ %+ :do=2\EB:\
17303	:is=\E<\E\1365;2s\E\1367;1s\E[3g\E\13611;9s\E\13611;17s\E\13611;25s\E\13611;33s\E\13611;41s\E\13611;49s\E\13611;57s\E\13611;65s\E\13611;73s\E\13611;81s\E\13611;89s\E\13612;0s\E\13614;2s\E\13615;9s\E\13625;1s\E\1369;1s\E\13627;1:\
17304	:le=^H:nd=2\EC:sr=5\EI:ta=^I:up=2\EA:
17305#
17306# Modgraph from Nancy L. Cider <nancyc@brl-tbd>
17307# BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
17308# If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
17309# mark and using delete-to-killbuffer work correctly.  However, we would
17310# like normal mode of operation to be using a Modgraph with 48 line setting.
17311# If we set TERM=mod (which is a valid entry in termcap with 48 lines)
17312# the setting mark and delete-to-killbuffer results in the deletion of only
17313# the line the mark is set on.
17314# We've discovered that the delete-to-killbuffer works correctly
17315# with TERM=mod and screen set to 80x48 but it's not obvious.  Only
17316# the first line disappears but a ctrl-l shows that it did work
17317# correctly.
17318modgraph48|mod|Modgraph w/48 lines:\
17319	:am:bs:pt:xn:\
17320	:co#80:it#8:li#48:vt#3:\
17321	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
17322	:cs=\E[%i%d;%dr:do=^J:ho=\E[H:\
17323	:is=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h:k1=\EOP:k2=\EOQ:\
17324	:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
17325	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:\
17326	:me=\E[m:mr=\E[7m:nd=\E[C:nl=^J:r1=\E=\E[0q\E>:rc=\E8:\
17327	:sc=\E7:se=\E[m:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:\
17328	:us=\E[4m:vb=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q:
17329
17330#### Morrow Designs
17331#
17332# This was George Morrow's company.  They started in the late 1970s making
17333# S100-bus machines.  They used to be reachable at:
17334#
17335#        Morrow
17336#        600 McCormick St.
17337#        San Leandro, CA 94577
17338#
17339# but they're long gone now (1995).
17340#
17341
17342# The mt70 terminal was shipped with the Morrow MD-3 microcomputer.
17343# Jeff's specimen was dated June 1984.
17344# From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
17345mt70|mt-70|Morrow MD-70; native Morrow mode:\
17346	:am:mi:ms:xo:\
17347	:co#80:it#8:li#24:\
17348	:%1=^AO\r:F1=^A`\r:F2=^Aa\r:F3=^Ab\r:F4=^Ac\r:F5=^Ad\r:\
17349	:F6=^Ae\r:F7=^Af\r:F8=^Ag\r:F9=^Ah\r:FA=^Ai\r:\
17350	:ac=+z,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI:ae=\E%%:al=\EE:\
17351	:as=\E$:bl=^G:bt=\EI:cd=\EY:ce=10\ET:cl=^Z:cm=1\E=%+ %+ :\
17352	:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ei=:ho=^^:i1=\E"2\EG0\E]:\
17353	:ic=\EQ:im=:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:\
17354	:k6=^AE\r:k7=^AF\r:k8=^AG\r:k9=^AH\r:k;=^AI\r:kB=^A^Z\r:\
17355	:kC=^An\r:kD=\177:kb=^H:kd=^AK\r:kh=^AN\r:kl=^AL\r:\
17356	:kr=^AM\r:ku=^AJ\r:le=^H:mh=\EG2:mk@:nd=^L:nw=^_:sf=^J:ta=^I:\
17357	:te=:ti=\E"2\EG0\E]:up=^K:us=\EG1:vb=\EK1\EK0:ve=\E"2:\
17358	:vi=\E"0:tc=adm+sgr:
17359
17360#### Motorola
17361#
17362
17363# Motorola EXORterm 155	from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
17364# (Seth H Zirin)
17365ex155|Motorola Exorterm 155:\
17366	:am:bs:bw:\
17367	:co#80:kn#5:li#24:ug#1:\
17368	:bt=\E[:cd=\ET:ce=\EU:cl=\EX:cm=\EE%+ %+ :do=\EB:ho=\E@:\
17369	:kB=\E[:kC=\EX:kE=\EU:kS=\ET:kb=^H:kd=^J:kh=\E@:kl=^H:kr=^L:\
17370	:ku=^K:le=\ED:nd=\EC:se=\Ec\ED:so=\Eb\ED:ta=\EZ:ue=\Eg\ED:\
17371	:up=\EA:us=\Ef\ED:
17372
17373#### Omron
17374#
17375# This company is still around in 1995, manufacturing point-of-sale systems.
17376
17377omron|Omron 8025AG:\
17378	:am:bs:da:db:\
17379	:co#80:li#24:\
17380	:al=\EL:bl=^G:cd=\ER:ce=\EK:cl=\EJ:cr=^M:dc=\EP:dl=\EM:do=^J:\
17381	:ho=\EH:le=^H:nd=\EC:se=\E4:sf=\ES:so=\Ef:sr=\ET:up=\EA:\
17382	:vs=\EN:
17383
17384#### Ramtek
17385#
17386# Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
17387# were competition for things like the Tektronics 4025.
17388#
17389
17390# Ramtek 6221 from BRL, probably by Doug Gwyn
17391# The following SET-UP modes are assumed for normal operation:
17392#	UNDERLINE_CURSOR	ANSI_MODE	AUTO_XON/XOFF_ON
17393#	NEWLINE_OFF		80_COLUMNS
17394# Other SET-UP modes may be set for operator convenience or communication
17395# requirements; I recommend
17396#	SMOOTH_SCROLL	AUTO_REPEAT_ON	3_#_SHIFTED	WRAP_AROUND_ON
17397# Hardware tabs are assumed to be every 8 columns; they can be set up by the
17398# "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
17399# Note that the Control-E key is useless on this brain-damaged terminal.  No
17400# delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
17401rt6221|Ramtek 6221 80x24:\
17402	:bs:ms:pt:xo:\
17403	:co#80:it#8:kn#4:li#24:vt#3:\
17404	:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:as=^N:\
17405	:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[J:cm=\E[%i%d;%dH:\
17406	:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^K:ho=\E[1;1H:is=\E)0:\
17407	:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:kd=\E[B:ke=\E>:\
17408	:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
17409	:le=^H:ll=\E[24;1H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
17410	:nd=\E[C:nw=\EE:\
17411	:r1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>:\
17412	:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
17413	:ue=\E[m:up=\EM:us=\E[4m:ve=\E[>5h\E[>9h:vi=\E[>5l:\
17414	:vs=\E[>7h\E[>9l:
17415# [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
17416rt6221-w|Ramtek 6221 160x48:\
17417	:co#160:li#48:\
17418	:ll=\E[48;1H:tc=rt6221:
17419
17420#### RCA
17421#
17422
17423# RCA VP3301 or VP3501
17424rca|rca vp3301/vp3501:\
17425	:bs:\
17426	:co#40:li#24:\
17427	:cl=^L:cm=\EY%+ %+ :ho=^Z:nd=^U:se=\E\ES0:so=\E\ES1:up=^K:
17428
17429
17430#### Selanar
17431#
17432
17433# Selanar HiREZ-100 from BRL, probably by Doug Gwyn
17434# The following SET-UP modes are assumed for normal operation:
17435#	SET_DEFAULT_TABS	48_LINES		80_COLUMNS
17436#	ONLINE			ANSI			CURSOR_VISIBLE
17437#	VT102_AUTO_WRAP_ON	VT102_NEWLINE_OFF	VT102_MONITOR_MODE_OFF
17438#	LOCAL_ECHO_OFF		US_CHAR_SET		WPS_TERMINAL_DISABLED
17439#	CPU_AUTO_XON/XOFF_ENABLED			PRINT_FULL_SCREEN
17440# For use with graphics software, all graphics modes should be set to factory
17441# default.  Other SET-UP modes may be set for operator convenience or
17442# communication requirements.  No delays are specified; use "stty ixon -ixany"
17443# to enable DC3/DC1 flow control!
17444# I commented out the scrolling capabilities since they are too slow.
17445hirez100|Selanar HiREZ-100:\
17446	:bs:mi:ms:pt:xo:\
17447	:co#80:it#8:kn#4:li#48:vt#3:\
17448	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
17449	:RI=\E[%dC:UP=\E[%dA:ac=:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
17450	:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[3g:\
17451	:dc=\E[P:dl=\E[M:do=^J:ho=\E[H:is=\E<\E)0:k0=\EOP:k1=\EOQ:\
17452	:k2=\EOR:k3=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
17453	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:l0=PF1:l1=PF2:l2=PF3:l3=PF4:\
17454	:le=^H:ll=\E[48H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
17455	:nd=\E[C:nw=\EE:pf=\E[4i\E[?4i:po=\E[?5i\E[5i:ps=\E[i:\
17456	:r1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>:\
17457	:rc=\E8:sc=\E7:se=\E[m:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\EM:\
17458	:us=\E[4m:
17459hirez100-w|Selanar HiREZ-100 in 132-column mode:\
17460	:co#132:tc=hirez100:
17461
17462#### Signetics
17463#
17464
17465# From University of Wisconsin
17466vsc|Signetics Vsc Video driver by RMC:\
17467	:am:ms:\
17468	:co#80:it#8:li#26:\
17469	:ce=\E[K:cl=50\E[;H\E[2J:cm=\E[%i%d;%dH:cr=^M:do=^J:\
17470	:ho=\E[H:kb=^H:kd=^J:kl=^H:le=^H:me=^_!:mr=^_\040:nd=\E[C:\
17471	:nw=^M^J:se=^_!:sf=^J:so=^_\040:ta=^I:ue=^_#:up=\E[A:us=^_":
17472
17473#### Soroc
17474#
17475# Alan Frisbie <frisbie@flying-disk.com> writes:
17476#
17477# As you may recall, the Soroc logo consisted of their name,
17478# with the letter "S" superimposed over an odd design.   This
17479# consisted of a circle with a slightly smaller 15 degree (approx.)
17480# wedge with rounded corners inside it.   The color was sort of
17481# a metallic gold/yellow.
17482#
17483# If I had been more of a beer drinker it might have been obvious
17484# to me, but it took a clue from their service department to make
17485# me exclaim, "Of course!"   The circular object was the top of
17486# a beer can (the old removable pop-top style) and "Soroc" was an
17487# anagram for "Coors".
17488#
17489# I can just imagine the founders of the company sitting around
17490# one evening, tossing back a few and trying to decide what to
17491# call their new company and what to use for a logo.
17492#
17493
17494# (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
17495soroc120|iq120|soroc|soroc iq120:\
17496	:cd=\EY:ce=\ET:cl=2\E*:do=^J:kd=^J:kl=^H:kr=^L:ku=^K:\
17497	:tc=adm3a:
17498soroc140|iq140|soroc iq140:\
17499	:am:bs:mi:\
17500	:co#80:li#24:\
17501	:al=1*\Ee:bl=^G:bt=\EI:cd=\Ey:ce=\Et:cl=\E+:cm=\E=%+ %+ :\
17502	:cr=^M:dc=\Ew:dl=.7*\Er:do=^J:ei=\E8:ho=^^:im=\E9:k0=^A0\r:\
17503	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
17504	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kb=^H:kh=^^:kr=^L:ku=^K:le=^H:\
17505	:ll=^^^K:nd=^L:se=\E\177:sf=^J:so=\E\177:ue=\E^A:up=^K:\
17506	:us=\E^A:
17507
17508#### Southwest Technical Products
17509#
17510# These guys made an early personal micro called the M6800.
17511# The ct82 was probably its console terminal.
17512#
17513
17514# (swtp: removed obsolete ":bc=^D:" -- esr)
17515swtp|ct82|southwest technical products ct82:\
17516	:am:\
17517	:co#82:li#20:\
17518	:al=^\^Y:bl=^G:cd=^V:ce=^F:cl=^L:cm=\013%r%.%.:cr=^M:\
17519	:dc=^\^H:dl=^Z:do=^J:ei=:ho=^P:ic=^\^X:im=:\
17520	:is=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011:\
17521	:le=^D:ll=^C:nd=^S:se=^^^F:sf=^N:so=^^^V:sr=^O:up=^A:
17522
17523#### Synertek
17524#
17525# Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
17526#
17527# Synertek used to make ICs, various 6502-based single-board process
17528# control and hobbyist computers, and assorted peripherals including a
17529# series of small inexpensive terminals (I think they were one of the
17530# first to have a "terminal-on-a-keyboard", where the terminal itself
17531# was only slightly larger than the keyboard).
17532#
17533# They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
17534# was a 40x24 terminal that could connect to a standard TV through a
17535# video modulator.  The KTM-2/80 was the 80-column version (the 2/40
17536# could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
17537# I have a KTM-2/80 still in working order.  The KTM-2s had fully
17538# socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
17539# ROM and 2 ROMs as character generators. They were incredibly simple,
17540# and I've never had any problems with mine (witness the fact that mine
17541# was made in 1981 and is still working great... I've blown the video
17542# output transistor a couple of times, but it's a 2N2222 :-)
17543#
17544# The KTM-3 (which is what is listed in the terminfo file) was their
17545# attempt at putting a KTM-2 in a box (and some models came with a
17546# CRT). It wasn't much different from the KTM-2 hardware-wise, but the
17547# control and escape sequences are very different. The KTM-3 was always
17548# real broken, at least according to the folks I've talked to about it.
17549#
17550# The padding in the entry is probably off--these terminals were very
17551# slow (it takes like 100ms for the KTM-2 to clear the screen...) And
17552# anyone with any sanity replaced the ROMs with something that provided
17553# a reasonable subset of VT100 functionality, since the usual ROMs were
17554# obviously very primitive... oh, you could get an upgraded ROM from
17555# Synertek for some incredible amount of money, but what hacker with an
17556# EPROM burner would do that? :)
17557#
17558# Sorry I don't have any contact info; I believe they were located in
17559# Sunnyvale, and I'm fairly sure they are still manufacturing ICs
17560# (they've gone to ASICs and FPGAs), but I doubt they're in the computer
17561# business these days.
17562#
17563
17564# Tested, seems to work fine with vi.
17565synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal:\
17566	:am:\
17567	:co#80:li#24:\
17568	:cd=\EJ:ce=\EK:cl=^Z:cm=\E=%+ %+ :le=^H:nd=^L:up=^K:
17569
17570#### Tab Office Products
17571#
17572#	TAB Products Co. - Palo Alto, California
17573#	Electronic Office Products,
17574#	1451 California Avenue 94304
17575#
17576# I think they're out of business.
17577#
17578
17579# The tab 132 uses xon/xoff, so no padding needed.
17580# :ks:/:ke: have nothing to do with arrow keys.
17581# :is: sets 80 col mode, normal video, autowrap on (for :am:).
17582# Seems to be no way to get rid of status line.
17583# The manual for this puppy was dated June 1981.  It claims to be VT52-
17584# compatible but looks more vt100-like.
17585tab132|tab|tab132-15|tab 132/15:\
17586	:da:db:\
17587	:co#80:dN@:li#24:lm#96:\
17588	:al=\E[L:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
17589	:im=\E[4h:is=\E[?7h\E[?3l\E[?5l:kd=\E[B:ke@:kl=\E[D:ks@:\
17590	:ku=\E[A:tc=vt100:
17591tab132-w|tab132 in wide mode:\
17592	:co#132:\
17593	:is=\E[?7h\E[?3h\E[?5l:tc=tab132:
17594tab132-rv|tab132 in reverse-video mode:\
17595	:is=\E[?7h\E[?3l\E[?5h:tc=tab132:
17596tab132-w-rv|tab132 in reverse-video/wide mode:\
17597	:is=\E[?7h\E[?3h\E[?5h:tc=tab132-w:
17598
17599
17600#### Teleray
17601#
17602#	Research Incorporated
17603#	6425 Flying Cloud Drive
17604#	Eden Prairie, MN 55344
17605#	Vox: (612)-941-3300
17606#
17607# The Teleray terminals were all discontinued in 1992-93.  RI still services
17608# and repairs these beasts, but no longer manufactures them.  The Teleray
17609# people believe that all the types listed below are very rare now (1995).
17610# There was a newer line of Telerays (Model 7, Model 20, Model 30, and
17611# Model 100) that were ANSI-compatible.
17612#
17613# Note two things called "teleray".  Reorder should move the common one
17614# to the front if you have either.  A dumb teleray with the cursor stuck
17615# on the bottom and no obvious model number is probably a 3700.
17616#
17617
17618t3700|dumb teleray 3700:\
17619	:bs:\
17620	:co#80:li#24:\
17621	:bl=^G:cl=^L:cr=^M:do=^J:le=^H:sf=^J:
17622t3800|teleray 3800 series:\
17623	:bs:\
17624	:co#80:it#8:li#24:\
17625	:bl=^G:cd=\EJ:ce=\EK:cl=^L:cm=\EY%+ %+ :cr=^M:do=^J:ho=\EH:\
17626	:le=^H:ll=\EY7\040:nd=\EC:sf=^J:ta=^I:up=^K:
17627t1061|teleray|teleray 1061:\
17628	:am:bs:km:xs:xt:\
17629	:co#80:it#8:li#24:sg#1:ug#1:\
17630	:al=2*\EL:bl=^G:cd=1\EJ:ce=\EK:cl=1\014:cm=\EY%+ %+ :cr=^M:\
17631	:ct=\EG:dc=\EQ:dl=2*\EM:do=^J:ei=:ho=\EH:ic=\EP:im=:ip=0.4*:\
17632	:is=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef:\
17633	:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:k7=^Z7:k8=^Z8:\
17634	:le=^H:nd=\EC:se=\ER@:sf=^J:so=\040\ERD:st=\EF:ta=^I:\
17635	:ue=\ER@:up=\EA:us=\ERH:
17636t1061f|teleray 1061 with fast PROMs:\
17637	:al=\EL:dl=\EM:ip@:tc=t1061:
17638# "Teleray Arpa Special", officially designated as
17639# "Teleray Arpa network model 10" with "Special feature 720".
17640# This is the new (1981) fast microcode updating the older "arpa" proms
17641# (which gave meta-key and programmable-fxn keys).  720 is much much faster,
17642# converts the keypad to programmable function keys, and has other goodies.
17643# Standout mode is still broken (magic cookie, etc) so is suppressed as no
17644# programs handle such lossage properly.
17645# Note: this is NOT the old termcap's "t1061f with fast proms."
17646# From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
17647# (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
17648t10|teleray 10 special:\
17649	:bs:km:xs:xt:\
17650	:co#80:it#8:li#24:sg#2:ug#2:\
17651	:al=\EL:cd=\EJ:ce=\EK:cl=30\Ej:cm=\EY%+ %+ :dc=\EQ:dl=\EM:\
17652	:do=\EB:ei=:ho=\EH:ic=\EP:im=:le=^H:nd=\EC:pc=\200:se=\ER@:\
17653	:sf=\Eq:so=\ERD:sr=\Ep:ta=^I:ue=\ER@:up=\EA:us=\ERH:
17654# teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
17655# back/forth words. Put the function keys (f1-f10) where they can be
17656# found, and turn off the other magic keys along the top row, except
17657# for line/local. Do the magic appropriate to make the page shifts work.
17658# Also toggle ^S/^Q for those of us who use Emacs.
17659t16|teleray 16:\
17660	:am:da:db:mi:xs:xt:\
17661	:co#80:li#24:\
17662	:al=\E[L:bl=^G:cd=\E[0J:ce=\E[0K:cl=\E[H\E[2J:\
17663	:cm=%i\E[%d;%df:cr=^M:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:\
17664	:ho=\E[H:im=\E[4h:k1=^Z1:k2=^Z2:k3=^Z3:k4=^Z4:k5=^Z5:k6=^Z6:\
17665	:k7=^Z7:k8=^Z8:k9=^Z9:k;=^Z0:le=^H:me=\E[m:nd=\E[C:se=\E[m:\
17666	:sf=^J:so=\E[7m:sr=\E[T:ta=^I:te=\E[V\E[24;1f\E[?38h:\
17667	:ti=\E[U\E[?38l:ue=\E[m:up=\E[A:us=\E[4m:
17668
17669#### Texas Instruments (ti)
17670#
17671
17672# The Silent 700 was so called because it was built around a quiet thermal
17673# printer.  It was portable, equipped with an acoustic coupler, and pretty
17674# neat for its day.
17675ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800:\
17676	:bs:hc:os:\
17677	:co#80:\
17678	:bl=^G:cr=162\r:do=^J:le=^H:sf=^J:
17679
17680#
17681# Texas Instruments 916 VDT 7 bit control mode
17682#
17683ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL:\
17684	:da:db:in:ms:\
17685	:%9=^X:@4=\E[29~:@8=^J:AL=36\E[%dL:DC=250\E[%dP:DL=\E[%dM:\
17686	:DO=\E[%dB:F1=\E[29~:F2=\E[31~:IC=250\E[%d@:LE=\E[%dD:\
17687	:RI=\E[%dC:UP=\E[%dA:ae=2\017:as=2\016:bt=\E[Z:cb=\E[1K:\
17688	:cd=6\E[J:ce=\E[0K:ch=\E[%+^AG:cl=6\E[H\E[2J:\
17689	:cm=\E[%i%d;%dH:ct=\E[3g:cv=\E[%+^Ad:dc=\E[P:eA=\E(B\E)0:\
17690	:ec=20\E[%dX:ei=:ff=^L:im=:ip=10:is=\E[1;24r\E[24;1H:\
17691	:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:k5=\E[21~:\
17692	:k6=\E[23~:k7=\E[24~:k8=\E[25~:k9=\E[26~:k;=\E[28~:\
17693	:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:kh=\E[H:mp=\E&:rs=\E[!p:\
17694	:sa@:st=\E[0W:vb=6\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
17695	:tc=vt220:
17696#
17697# Texas Instruments 916 VDT 8 bit control mode
17698#
17699ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL:\
17700	:%9=^X:@4=\23329~:@8=^J:F1=\23329~:F2=\23331~:k1=\23317~:\
17701	:k2=\23318~:k3=\23319~:k4=\23320~:k5=\23321~:k6=\23323~:\
17702	:k7=\23324~:k8=\23325~:k9=\23326~:k;=\23328~:kD=\233P:\
17703	:kI=\233@:kN=\233S:kP=\233T:kd=\233B:kh=\233H:kl=\233D:\
17704	:kr=\233C:ku=\233A:tc=ti916:
17705#
17706# Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
17707#
17708ti916-132|Texas Instruments 916 VDT vt220 132 column:\
17709	:co#132:tc=ti916:
17710#
17711# Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
17712#
17713ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column:\
17714	:co#132:tc=ti916-8:
17715ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL:\
17716	:am:bs:xo:\
17717	:co#80:it#8:li#24:\
17718	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
17719	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
17720	:do=\E[B:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~:\
17721	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[P:kI=\E[@:\
17722	:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
17723	:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:\
17724	:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
17725	:us=\E[4m:ve=\E[?25h:vi=\E[?25l:vs=\E[?31h:
17726ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL:\
17727	:am:xo:\
17728	:co#80:it#8:li#24:\
17729	:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:\
17730	:cm=%i\E[%d;%dH:cr=^M:cs=%i\E[%d;%dr:ct=\E[3g:dl=\E[M:\
17731	:do=\E[B:ho=\E[H:k1=17P\217>:k2=17Q\217>:k3=17R\217>:\
17732	:k4=17S\217>:k5=3316~\23316>:k6=3317~\23317>:\
17733	:k7=3318~\23318>:k8=3319~\23319>:k9=3320~\23320>:\
17734	:kD=33P\233>:kI=33@\233>:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:\
17735	:ku=\E[A:le=\E[D:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
17736	:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:\
17737	:st=\EH:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[?25h:\
17738	:vi=\E[?25l:vs=\E[?31h:
17739ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode:\
17740	:co#132:tc=ti924:
17741ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode:\
17742	:co#132:tc=ti924-8:
17743ti931|Texas Instruments 931 VDT:\
17744	:am:bs:xo:\
17745	:co#80:li#24:\
17746	:al=\EN:bl=^G:cd=\EJ:ce=\EI:cl=\EL:cm=\EY%+ %+ :cr=^M:\
17747	:dc=\EQ:dl=\EO:do=\EB:ei=:ho=\EH:ic=\ER\EP\EM:im=:\
17748	:is=\EGB\E(@B@@\E):k1=\Ei1:k2=\Ei2:k3=\Ei3:k4=\Ei4:\
17749	:k5=\Ei5:k6=\Ei6:k7=\Ei7:k8=\Ei8:k9=\Ei9:kA=\EN:kD=\EQ:\
17750	:kI=\EP:kL=\EO:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\ED:mb=\E4P:\
17751	:me=\E4@:mk=\E4H:mr=\E4B:nd=\EC:se=\E4@:sf=\Ea:so=\E4A:\
17752	:sr=\Eb:ue=\E4@:up=\EA:us=\E4D:ve=\E4@:
17753ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL:\
17754	:cs@:sf=\E[1S:sr=\E[1T:tc=ti924:
17755# (ti926-8: I corrected this from the broken SCO entry -- esr)
17756ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL:\
17757	:cs@:sf=\2331S:sr=\2331T:tc=ti924-8:
17758ti_ansi|basic entry for ti928:\
17759	:am:eo:ut:xn:xo:\
17760	:Co#8:co#80:it#8:li#25:pa#64:\
17761	:@7=\E[F:AB=\E[4%dm:AF=\E[3%dm:al=\E[L:bl=^G:bt=\E[Z:\
17762	:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:cr=^M:\
17763	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:do=\E[B:ei=:ho=\E[H:\
17764	:ic=\E[@:im=:k0=\E[V:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:\
17765	:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:kN=\E[G:kP=\E[I:\
17766	:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
17767	:mb=\E[5m:md=\E[1m:me=\E[m:nd=\E[C:op=\E[37;40m:se=\E[m:\
17768	:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
17769#
17770#       928 VDT 7 bit control mode
17771#
17772ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL:\
17773	:%9=\E[35~:@7=\E_1\E\\:@8=\E[8~:F1=\E[29~:F2=\E[31~:\
17774	:F3=\E[32~:F5=\E[34~:k1=\E[17~:k2=\E[18~:k3=\E[19~:\
17775	:k4=\E[20~:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:\
17776	:k9=\E[26~:k;=\E[28~:kD=\E[P:kI=\E[@:kN=\E[S:kP=\E[T:\
17777	:tc=ti_ansi:
17778#
17779#       928 VDT 8 bit control mode
17780#
17781ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL:\
17782	:%9=\23335~:@7=\2371\234:@8=\2338~:F1=\23329~:F2=\23331~:\
17783	:F3=\23332~:F5=\23334~:k1=\23317~:k2=\23318~:k3=\23319~:\
17784	:k4=\23320~:k5=\23321~:k6=\23323~:k7=\23324~:k8=\23325~:\
17785	:k9=\23326~:k;=\23328~:kD=\233P:kI=\233@:kN=\233S:\
17786	:kP=\233T:kh=\233H:tc=ti_ansi:
17787
17788#### Zentec (zen)
17789#
17790
17791# (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
17792# had just :so:=\EG6 which I think means standout was supposed to be
17793# dim-reverse using ADM12-style attributes. ADM12 :us:/:ue: and
17794# <invis> might work-- esr)
17795zen30|z30|zentec 30:\
17796	:am:bs:mi:ul:\
17797	:co#80:li#24:\
17798	:al=1.5*\EE:bl=^G:cd=\EY:ce=1.0*\ET:cl=\E*:cm=\E=%+ %+ :\
17799	:cr=^M:dc=\EW:dl=1.5*\ER:do=^J:ei=\Er:ho=^^:im=\Eq:le=^H:\
17800	:mh=\EG2:nd=^L:sf=^J:so=\EG6:ue@:up=^K:us@:tc=adm+sgr:
17801# (zen50: this had extension capabilities
17802#	:BS=^U:CL=^V:CR=^B:
17803# UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
17804# which were also in the original entry -- esr)
17805# (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
17806zen50|z50|zentec zephyr:\
17807	:am:bs:\
17808	:co#80:li#24:sg#1:\
17809	:al=\EE:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :dc=\EW:dl=\ER:ei=:\
17810	:ic=\EQ:im=:kd=^J:kh=^^:kl=^H:kr=^L:ku=^K:le=^H:mk@:ue@:up=^K:\
17811	:us@:tc=adm+sgr:
17812
17813# CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
17814cci|cci1|z8001|zen8001|CCI Custom Zentec 8001:\
17815	:am:bs:bw:\
17816	:co#80:li#24:\
17817	:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :cs=\ER%+ %+ :do=^J:\
17818	:ho=\EH:is=\EM \EF\ET\EP\ER 7:kb=^H:kd=\EB:kh=\EH:kl=\ED:\
17819	:kr=\EC:ku=\EA:le=^H:mb=\EM":me=\EM\040:mh=\EM!:mk=\EM(:\
17820	:mr=\EM$:nd=\EC:pf=^T:po=^R:se=\EM\040:so=\EM$:sr=\EI:\
17821	:ue=\EM\040:up=\EA:us=\EM0:ve=\EP:vs=\EF\EQ\EM \ER 7:
17822
17823######## OBSOLETE UNIX CONSOLES
17824#
17825
17826#### Apollo consoles
17827#
17828# Apollo got bought by Hewlett-Packard.  The Apollo workstations are
17829# labeled HP700s now.
17830#
17831
17832# From: Gary Darland <goodmanc@garnet.berkeley.edu>
17833apollo|apollo console:\
17834	:am:bs:mi:\
17835	:co#88:li#53:\
17836	:al=\EI:cd=\EJ:ce=\EK:ch=\EN%d:cl=^L:cm=\EM%+ %d):\
17837	:cv=\EO+\040:dc=\EP:dl=\EL:do=\EB:ei=\ER:im=\EQ:le=^H:\
17838	:nd=\EC:se=\ET:sf=\EE:so=\ES:sr=\ED:te=\EX:ti=\EW:ue=\EV:\
17839	:up=\EA:us=\EU:
17840
17841# We don't know whether or not the apollo guys replicated DEC's firmware bug
17842# in the VT132 that reversed :ei:/:im:.  To be on the safe side, disable
17843# both these capabilities.
17844apollo_15P|apollo 15 inch display:\
17845	:ei@:im@:tc=vt132:
17846apollo_19L|apollo 19 inch display:\
17847	:ei@:im@:tc=vt132:
17848apollo_color|apollo color display:\
17849	:ei@:im@:tc=vt132:
17850
17851#### Convergent Technology
17852#
17853# Burroughs bought Convergent shortly before it merged with Univac.
17854# CTOS is (I believe) dead.  Probably the aws is too (this entry dates
17855# from 1991 or earlier).
17856#
17857
17858# Convergent AWS workstation from Gould/SEL UTX/32 via BRL
17859# (aws: removed unknown :dn=^K: -- esr)
17860aws|Convergent Technologies AWS workstation under UTX and Xenix:\
17861	:am:\
17862	:co#80:li#28:sg#0:ug#0:\
17863	:ac=:ae=\EAAF:al=\EIL:as=\EAAN:bc=^H:cd=\EEF:ce=\EEL:\
17864	:ch=\EH%.:cl=^L:cm=\EC%r%.%.:cv=\EV%.:dc=\EDC:dl=\EDL:\
17865	:do=^K:ei=:ic=\EIC:im=:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
17866	:ma=\016h\013j\001k\022l\002m:nd=^R:nl=^J:se=\EARF:\
17867	:sf=\ESU:so=\EARN:sr=\ESD:ue=\EAUF:up=^A:us=\EAUN:
17868awsc|Convergent Technologies AWS workstation under CTOS:\
17869	:am:\
17870	:co#80:li#24:sg#0:ug#0:\
17871	:ac=:ae=\EAAF:as=\EAAN:bc=^N:cd=\EEF:ce=\EEL:cl=^L:\
17872	:cm=\EC%r%.%.:do=^K:kb=^H:kd=^K:kl=^N:kr=^R:ku=^A:\
17873	:ma=\016h\013j\001k\022l\002m:nd=^R:se=\EAA:so=\EAE:\
17874	:ue=\EAA:up=^A:us=\EAC:
17875
17876#### DEC consoles
17877#
17878
17879# The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
17880# The digital uVax II's had a graphic display called a qdss.  It was
17881# supposed to be a high performance graphic accelerator, but it was
17882# late to market and barely appeared before faster dumb frame buffers
17883# appeared.  I have only used this display while running X11.  However,
17884# during bootup, it was in text mode, and probably had a terminal emulator
17885# within it.  And that is what your termcap entry is for.  In graphics
17886# mode the screen size is 1024x864 pixels.
17887qdss|qdcons|qdss glass tty:\
17888	:am:bs:\
17889	:co#128:li#57:\
17890	:cl=1\032:cm=\E=%.%.:do=^J:le=^H:nd=^L:up=^K:
17891
17892#### Fortune Systems consoles
17893#
17894# Fortune made a line of 68K-based UNIX boxes that were pretty nifty
17895# in their day; I (esr) used one myself for a year or so around 1984.
17896# They had no graphics, though, and couldn't compete against Suns and
17897# the like.  R.I.P.
17898#
17899
17900# From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
17901# (This had extension capabilities
17902#	:rv=\EH:re=\EI:rg=0:GG=0:\
17903#	:CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
17904#	:RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
17905#	:PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
17906# It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
17907# ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
17908# to force both magic cookie glitches off.  Once upon a time, I
17909# used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
17910# function keys; thus the "Al" value for HM was certainly an error.  I renamed
17911# EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.
17912# I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
17913# "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
17914# names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
17915fos|fortune|Fortune system:\
17916	:am:bs:bw:\
17917	:co#80:li#25:\
17918	:@7=^Ak\r:@8=^Aq:ac=j*k(l m"q&v%w#x-:ae=^O:al=15\034E:\
17919	:as=\Eo:bl=^G:cd=3*\034Y:ce=^\Z:cl=20\014:cm=\034C%+ %+ :\
17920	:cr=^M:dc=5\034W:dl=15\034R:do=3\n:ei=:ho=10\036:ic=5\034Q:\
17921	:im=:is=^_..:k1=^Aa\r:k2=^Ab\r:k3=^Ac\r:k4=^Ad\r:k5=^Ae\r:\
17922	:k6=^Af\r:k7=^Ag\r:k8=^Ah\r:kN=^Ao\r:kP=^An\r:kb=^H:\
17923	:kd=^Ay\r:kh=^A?\r:kl=^Aw\r:kr=^Az\r:ku=^Ax\r:le=^H:mb=\EN:\
17924	:me=\EI:mr=\EH:nw=^M^J:se=^\I`:sf=^J:so=^\H`:ta=^Z:ue=^\IP:\
17925	:up=3\013:us=^\HP:ve=\E\\:vi=\E]:vs=\E\072:
17926
17927#### Masscomp consoles
17928#
17929# Masscomp has gone out of business.  Their product line was purchased by
17930# comany in Georgia (US) called "XS International", parts and service may
17931# still be available through them.
17932#
17933
17934# (masscomp: ":MT:" changed to ":km:";  -- esr)
17935masscomp|masscomp workstation console:\
17936	:bs:km:mi:\
17937	:co#80:it#8:li#24:\
17938	:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:dc=\E[P:\
17939	:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:is=\EGc\EGb\EGw:kb=^H:\
17940	:kd=\EOB:kl=\EOD:kr=\EOC:ku=\EOA:le=^H:nd=\E[C:se=\E[m:\
17941	:so=\E[7m:ta=^I:ue=\EGau:up=\E[A:us=\EGu:
17942masscomp1|masscomp large screen version 1:\
17943	:co#104:li#36:tc=masscomp:
17944masscomp2|masscomp large screen version 2:\
17945	:co#64:li#21:tc=masscomp:
17946
17947######## OTHER OBSOLETE TYPES
17948#
17949# These terminals are *long* dead -- these entries are retained for
17950# historical interest only.
17951#
17952
17953#### Obsolete non-ANSI software emulations
17954#
17955
17956# CTRM terminal emulator
17957# 1. underlining is not allowed with colors: first, is is simulated by
17958# black on white, second, it disables background color manipulations.
17959# 2. BLINKING, REVERSE and BOLD are allowed with colors,
17960# so we have to save their status in the static registers A, B and H
17961# respectively, to be able to restore them when color changes
17962# (because any color change turns off ALL attributes)
17963# 3. :md: and :mr: sequences alternate modes,
17964# rather than simply  entering them.  Thus we have to check the
17965# static register B and H to determine the status, before sending the
17966# escape sequence.
17967# 4. :me: now must set the status of all 3 register (A,B,H) to zero
17968# and then reset colors
17969# 5. implementation of the protect mode would badly penalize the performance.
17970# we would have to use \E&bn sequence to turn off colors (as well as all
17971# other attributes), and keep the status of protect mode in yet another
17972# static variable.  If someone really needs this mode, they would have to
17973# create another terminfo entry.
17974# 6. original color-pair is white on black.
17975# store the information about colors into static registers
17976# 7. set foreground color.  it performs the following steps.
17977#   1) turn off all attributes
17978#   2) turn on the background and video attributes that have been turned
17979#      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
17980#   3) turn on foreground attributes
17981#   4) store information about foreground into U,V,W static registers
17982# 8. turn on background: similar to turn on foreground above
17983ctrm|C terminal emulator:\
17984	:am:ut:xo:\
17985	:Co#8:NC#2:Nl#0:co#80:lh#0:li#24:lm#0:lw#0:pa#63:pb#19200:vt#6:\
17986	:al=\EL:bl=^G:bt=\Ei:cd=\EJ:ce=\EK:ch=\E&a%dC:cl=\EH\EJ:\
17987	:cm=\E&a%r%dc%dY:cr=^M:ct=\E3:cv=\E&a%dY:dc=2\EP:dl=\EM:\
17988	:do=^J:ei=\ER:im=\EQ:ip=2:is=\E&jA\r:k1=\Ep\r:k2=\Eq\r:\
17989	:k3=\Er\r:k4=\Es\r:k5=\Et\r:k6=\Eu\r:k7=\Ev\r:k8=\Ew\r:\
17990	:kb=^H:kd=\Ew\r:ke=\E&jA:kh=\Ep\r:kl=\Eu\r:kr=\Ev\r:\
17991	:ks=\E&jB:ku=\Et\r:le=^H:mb=\E&dA%{1}%PA:\
17992	:md=%?%gH%{0}%=%t\E&dH%{1}%PH%;:\
17993	:me=\E&d@%{0}%PA%{0}%PB%{0}%PH:\
17994	:mr=%?%gB%{0}%=%t\E&dB%{1}%PB%;:nd=\EC:\
17995	:op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU:\
17996	:sf=^J:so=\E&dD:st=\E1:ta=2\011:up=\EA:us=\E&dD:
17997
17998# gs6300 - can't use blue foreground, it clashes with underline;
17999# it's simulated with cyan
18000# Bug: The <op> capability probably resets attributes.
18001# (gs6300: commented out <rmln> (no <smln>) --esr)
18002gs6300|emots|AT&T PC6300 with EMOTS terminal emulator:\
18003	:am:ms:ut:xo:\
18004	:Co#8:co#80:it#8:li#24:pa#63:\
18005	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
18006	:LE=\E[%dD:RI=\E[%dC:Sb=\E[?;%dm:UP=\E[%dA:\
18007	:ac=++,,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
18008	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
18009	:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:\
18010	:ei=:ho=\E[H:ic=\E[@:im=:is=\E[m:k1=\E[0s:k2=\E[24s:\
18011	:k3=\E[1s:k4=\E[23s:k5=\E[2s:k6=\E[22s:k7=\E[3s:k8=\E[21s:\
18012	:kB=^R^I:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
18013	:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\E[10m:mr=\E[7m:nd=\E[C:\
18014	:op=\E[?;m:pf=\E[4i:po=\E[5i:r1=\Ec:sf=^J:so=\E[1m:sr=\E[L:\
18015	:ta=^I:up=\E[A:us=\E[4m:
18016
18017# From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
18018# MS-Kermit with Heath-19 emulation mode enabled
18019# (h19k: changed ":pt@:" to ":it@"
18020h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin):\
18021	:am@:da:db:xt:\
18022	:it@:\
18023	:ta@:tc=h19-u:
18024
18025# Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
18026# Software (formerly Peripherals Computers & Supplies, Inc) of
18027# 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
18028# also be reached at support@synergy.com.
18029versaterm|versaterm vt100 emulator for the macintosh:\
18030	:am:xn:\
18031	:co#80:it#8:li#24:\
18032	:al=9\E[1L:bl=^G:cd=50\E[J:ce=3\E[K:cl=50\E[;H\E[2J:\
18033	:cm=5\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:dc=7\E[1P:\
18034	:dl=9\E[1M:do=^J:ei=:ho=\E[H:ic=7\E[1@:im=:\
18035	:is=\E[1;24r\E[24;1H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
18036	:kb=^H:kd=\EOB:ke=\E>\E[?1l:kl=\EOD:kr=\EOC:ks=\E=\E[?1h:\
18037	:ku=\EOA:le=^H:mb=2\E[5m:md=2\E[1m:me=2\E[m:mr=2\E[7m:\
18038	:nd=2\E[C:nw=^M^J:r1=\E>:rc=\E8:\
18039	:rf=/usr/share/tabset/vt100:sc=\E7:se=2\E[m:so=2\E[7m:\
18040	:sr=5\EM:ta=^I:ue=2\E[m:up=2\E[A:us=2\E[4m:
18041
18042# From: Rick Thomas <ihnp4!btlunix!rbt>
18043# (xtalk: I added <rmam>/<smam> based on the init string.
18044xtalk|IBM PC with xtalk communication program (versions up to 3.4):\
18045	:am:mi:ms:xo:\
18046	:co#80:it#8:li#24:sg#1:vt#3:\
18047	:DO=\E[%dB:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
18048	:UP=\E[%dA:\
18049	:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
18050	:ae=^O:al=99\E[L:as=^N:bl=^G:cb=3\E[1K:cd=50\E[J:ce=3\E[K:\
18051	:cl=50\E[H\E[J:cm=5\E[%i%d;%dH:cr=^M:ct=\E[3g:dl=99\E[M:\
18052	:do=^J:eA=\E(B\E)0:ho=\E[H:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
18053	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:me=\E[m:\
18054	:nd=2\E[C:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
18055	:se=\E[m\040:sf=^J:so=\E[7m\040:sr=5\EM:st=\EH:ta=^I:\
18056	:up=2\E[A:tc=vt100+fnkeys:
18057
18058# The official PC terminal emulator program of the AT&T Product Centers.
18059# Note - insert mode commented out - doesn't seem to work on AT&T PC.
18060simterm|attpc running simterm:\
18061	:am:\
18062	:co#80:li#24:\
18063	:al=\EL:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\E=%+ %+ :cr=^M:\
18064	:dc=\ER:dl=\EM:do=\EB:ho=\EH:le=^H:me=\E&d@:nd=\EC:se=\E&d@:\
18065	:sf=^J:so=\E&dB:te=\EVE:ti=\EVS:up=\EA:
18066
18067#### Daisy wheel printers
18068#
18069# This section collects Diablo, DTC, Xerox, Qume, and other daisy
18070# wheel terminals.  These are now largely obsolete.
18071#
18072
18073# (diablo1620: removed :if=/usr/share/tabset/xerox1720:, no such file -- esr)
18074diablo1620|diablo1720|diablo450|ipsi|diablo 1620:\
18075	:hc:os:\
18076	:co#132:it#8:\
18077	:ch=\E\011%i%.:ct=\E2:do=^J:hd=\ED:hu=\EU:kb=^H:le=^H:\
18078	:st=\E1:ta=^I:up=\E^J:
18079diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin:\
18080	:co#124:\
18081	:is=\r        \E9:tc=diablo1620:
18082# (diablo1640: removed :if=/usr/share/tabset/xerox1730:, no such file -- esr)
18083diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640:\
18084	:bl=^G:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
18085# (diablo1640-lm: removed :if=/usr/share/tabset/xerox1730-lm:, no such
18086# file -- esr)
18087diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin:\
18088	:co#124:\
18089	:se=\E&:so=\EW:ue=\ER:us=\EE:tc=diablo1620:
18090diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer:\
18091	:tc=diablo1640-lm:
18092# DTC 382 with VDU.  Has no :cd: so we fake it with :ce:.  Standout
18093# :so=^P\s\002^PF: works but won't go away without dynamite :se=^P\s\0:.
18094# The terminal has tabs, but I'm getting tired of fighting the braindamage.
18095# If no tab is set or the terminal's in a bad mood, it glitches the screen
18096# around all of memory.  Note that return puts a blank ("a return character")
18097# in the space the cursor was at, so we use ^P return (and thus ^P newline for
18098# newline).  Note also that if you turn off :pt: and let Unix expand tabs,
18099# curses won't work (some old BSD versions) because it doesn't clear this bit,
18100# and cursor addressing sends a tab for row/column 9.  What a losing terminal!
18101# I have been unable to get tabs set in all 96 lines - it always leaves at
18102# least one line with no tabs in it, and once you tab through that line,
18103# it completely weirds out.
18104# (dtc382: change :te: to :ti: -- it  just does a clear --esr)
18105dtc382|DTC 382:\
18106	:am:da:db:xs:\
18107	:co#80:li#24:lm#96:\
18108	:al=^P^Z:bl=^G:cd=\020\025\020\023\020\023:ce=^P^U:\
18109	:cl=20\020\035:cm=\020\021%r%.%.:cr=^P^M:dc=^X:dl=^P^S:\
18110	:ei=^Pi:ho=^P^R:im=^PI:le=^H:nd=^PR:pc=\177:sf=^J:te=:\
18111	:ti=20\020\035:ue=^P \200:up=^P^L:us=^P ^P:ve=^Pb:vs=^PB:
18112dtc300s|DTC 300s:\
18113	:hc:os:\
18114	:co#132:\
18115	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
18116	:sf=^J:st=\E1:ta=^I:up=^Z:
18117gsi|mystery gsi terminal:\
18118	:hc:os:\
18119	:co#132:\
18120	:bl=^G:cr=^M:do=^J:hd=\Eh:hu=\EH:le=^H:sf=^J:ta=^I:up=^Z:
18121aj830|aj832|aj|anderson jacobson:\
18122	:hc:os:\
18123	:bl=^G:cr=^M:do=^J:hd=\E9:hu=\E8:le=^H:sf=^J:up=\E7:
18124# From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
18125aj510|Anderson-Jacobson model 510:\
18126	:am:mi:\
18127	:co#80:li#24:\
18128	:al=2*\E&I:cd=\E'P:ce=\E'L:cl=^L:cm=\E#%+ %+ :dc=.1*\E'D:\
18129	:dl=2*\E&D:ei=\E'J:ic=:im=\E'I:ip=.1*:kd=\EZ:kl=\EW:kr=\EX:\
18130	:ku=\EY:le=^H:nd=\EX:pc=\177:se=\E"I:so=\E"I:te=\E"N:\
18131	:ti=\E"N:ue=\E"U:up=\EY:us=\E"U:
18132# From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
18133# This is incomplete, but it's a start.
18134nec5520|nec|spinwriter|nec 5520:\
18135	:hc:os:\
18136	:co#132:it#8:\
18137	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\E]s\n\E]W:\
18138	:hu=\E]s\E9\E]W:kb=^H:le=^H:sf=^J:st=\E1:ta=^I:up=\E9:
18139qume5|qume|Qume Sprint 5:\
18140	:hc:os:\
18141	:co#80:it#8:\
18142	:bl=^G:cr=^M:ct=\E3:do=^J:ff=^L:hd=\Eh:hu=\EH:kb=^H:le=^H:\
18143	:sf=^J:st=\E1:ta=^I:up=^Z:
18144# I suspect the xerox 1720 is the same as the diablo 1620.
18145xerox1720|x1720|x1750|xerox 1720:\
18146	:hc:os:\
18147	:co#132:it#8:\
18148	:bl=^G:cr=^M:ct=\E2:do=^J:ff=^L:le=^H:sf=^J:st=\E1:ta=^I:
18149
18150#### Miscellaneous obsolete terminals, manufacturers unknown
18151#
18152# If you have any information about these (like, a manufacturer's name,
18153# and a date on the serial-number plate) please send it!
18154
18155cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars:\
18156	:am:bs:\
18157	:co#73:li#36:\
18158	:cl=^Z:ho=^^:le=^H:nd=^L:up=^K:
18159cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars:\
18160	:am:bs:\
18161	:co#85:li#39:\
18162	:cl=^Z:ho=^^:k1=\E5:k2=\E6:k3=\E7:k4=\E8:kd=\E2:kl=\E3:\
18163	:kr=\E4:ku=\E1:le=^H:nd=^L:se=\Em^C:so=\Em^L:up=^K:
18164cops10|cops|cops-10|cops 10:\
18165	:am:bw:\
18166	:co#80:li#24:\
18167	:bl=^G:cd=^W:ce=^V:cl=30\030:cm=\020%+ %+ :cr=^M:do=^J:\
18168	:kb=^H:kd=^J:kh=^Y:kl=^H:kr=^L:ku=^K:le=^H:nd=^L:sf=^J:up=^K:
18169# (d132: removed duplicate :ic=\E5:,
18170# merged in capabilities from a BRL entry -- esr)
18171d132|datagraphix|datagraphix 132a:\
18172	:da:db:in:\
18173	:co#80:li#30:\
18174	:al=\E3:bl=^G:cl=^L:cm=\E8%i%3%3:cr=^M:dc=\E6:do=^J:ei=:\
18175	:ho=\ET:ic=\E5:im=:kb=^H:kd=^J:kl=^H:le=^H:nd=\EL:nw=^M^J:\
18176	:sf=^J:sr=\Ew:ta=^I:up=\EK:ve=\Em\En:vs=\Ex:
18177# The d800 was an early portable terminal from c.1984-85 that looked a lot
18178# like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
18179# mode (which is what this entry looks like) and several other lesser-known
18180# emulations.
18181d800|Direct 800/A:\
18182	:am:bs:da:db:ms:xs:\
18183	:co#80:it#8:li#24:\
18184	:ac=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~:\
18185	:ae=\E[m:as=\E[1m:bl=^G:cd=\E[J:ce=\E[K:cl=\E[1;1H\E[2J:\
18186	:cm=\E[%i%d;%dH:cr=^M:do=^J:k1=\EOP:k2=\EOQ:k3=\EOR:\
18187	:k4=\EOS:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW:kd=\E[B:kl=\E[D:\
18188	:kr=\E[C:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:sf=\ED:\
18189	:so=\E[7m:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:ve=\E[>12h:\
18190	:vs=\E[>12l:
18191digilog|digilog 333:\
18192	:bs:\
18193	:co#80:li#16:\
18194	:bl=^G:ce=^X:cr=^M:do=^J:ho=^N:le=^H:nd=^I:sf=^J:up=^O:
18195# The DWK was a terminal manufactured in the Soviet Union c.1986
18196dwk|dwk-vt|dwk terminal:\
18197	:am:\
18198	:co#80:it#8:li#24:\
18199	:ac=+\136,Q-S.M0\177`+a\072f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_:\
18200	:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
18201	:cr=^M:dc=\EP:do=^J:ei=:ho=\EH:ic=\EQ:im=:k1=\Ef1:k2=\Ef2:\
18202	:k3=\Ef3:k4=\Ef4:k5=\Ef5:k6=\Ef6:k7=\Ef7:k8=\Ef8:k9=\Ef9:\
18203	:k;=\Ef0:kD=\Ee:kI=\Ed:kN=\Eh:kP=\Eg:kb=\177:kd=\EB:kl=\ED:\
18204	:kr=\EC:ku=\EA:le=^H:me=\EX:mr=\ET:nd=\EC:nw=^M^J:se=\EX:\
18205	:sf=^J:so=\ET:sr=\ES:ta=^I:up=\EA:
18206env230|envision230|envision 230 graphics terminal:\
18207	:xn@:\
18208	:pf=\E[4i:po=\E[5i:ps=\E[0i:tc=vt100:
18209# These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
18210# coupler attached, the whole rig fitting in a suitcase and more or less
18211# portable.  Hot stuff for c.1977 :-) -- esr
18212ep48|ep4080|execuport 4080:\
18213	:am:bs:os:\
18214	:co#80:\
18215	:bl=^G:cr=^M:do=^J:hd=^\:hu=^^:le=^H:sf=^J:
18216ep40|ep4000|execuport 4000:\
18217	:co#136:tc=ep4080:
18218# Adam Thompson <athompso@pangea.ca> tells us:
18219# Informer series - these are all portable units, resembling older
18220# automatic bread-baking machines.  The terminal looks like a `clamshell'
18221# design, but isn't.  The structure is similar to the Direct terminals,
18222# but only half the width.  The entire unit is only about 10" wide.
18223# It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
18224# keyboard.  All the keys are crammed together, much like some laptop
18225# PCs today, but perhaps less well organized...all these units have a
18226# bewildering array of plugs on the back, including a built-in modem.
18227# The 305 was a color version of the 304; the 306 and 307 were mono and
18228# color terminals built for IBM bisync protocols.
18229# From: Paul Leondis <unllab@amber.berkeley.edu>
18230ifmr|Informer D304:\
18231	:am:bs:\
18232	:co#80:li#24:\
18233	:cd=\E/:ce=\EQ:cl=\EZ:cm=\EY%r%+ %+ :dc=\E\\:do=^J:ei=:\
18234	:ho=\EH:ic=\E[:im=:le=^H:me=\EK:nd=\EC:se=\EK:so=\EJ:sr=\En:\
18235	:up=\EA:
18236# Entry largely based on wy60 and has the features of wy60ak.
18237# (sgr removed to fit entry within 1023 bytes)
18238# (rmacs/smacs removed for consistency)
18239# (acsc removed to fit entry within 1023 bytes)
18240# (terminfo-only capabilities suppressed to fit entry within 1023 bytes)
18241opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys:\
18242	:am:bw:hs:km:mi:ms:ul:xo:\
18243	:co#80:li#24:ws#80:\
18244	:al=4\EE:bl=^G:bt=\EI:cd=100\EY:ce=\ET:cl=100\E*:\
18245	:cm=\Ea%i%dR%dC:cr=^M:ct=\E0:dc=11\EW:dl=5\ER:do=^J:\
18246	:ds=\Ez(\r:ei=\Er:fs=^M:ho=2\036:\
18247	:if=/usr/share/tabset/std:im=\Eq:ip=3:\
18248	:is=\E`\072\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:\
18249	:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:\
18250	:k7=^AF\r:k8=^AG\r:k9=^AH\r:kD=\EW:kI=\EQ:kN=\EK:kP=\EJ:\
18251	:kb=^H:kd=\E[B:kh=^^:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mb=\EG2:\
18252	:me=\EcD:mh=\EGp:nd=^L:nw=3\r\n:sf=^J:sr=7\Ej:st=\E1:\
18253	:ta=5\011:te=:\
18254	:ti=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177:\
18255	:ts=\Ez(:uc=\EG8\EG0:up=^K:ve=\E`1:vi=\E`0:tc=adm+sgr:
18256teletec|Teletec Datascreen:\
18257	:am:bs:\
18258	:co#80:li#24:\
18259	:bl=^G:cl=^L:cr=^M:do=^J:ho=^^:le=^H:nd=^_:sf=^J:up=^K:
18260# From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
18261# This description is for the LANPAR Technologies VISION 3220
18262# terminal from 1984/85.  The function key definitions k0-k5 represent the
18263# edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
18264# NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
18265#
18266# Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
18267# I had a couple of scopes (3221) like this once where I used to work, around
18268# the 1987 time frame if memory serves me correctly.  These scopes were made
18269# by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
18270# compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
18271# was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
18272# was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
18273# (3221) cost about $1500 each, and one was always broken -- had to be sent
18274# back to the shop for repairs.
18275# The only real advantage these scopes had over the VT-240's were:
18276# 1) They were faster in the Regis display, or at least the ones I did
18277# 2) They had a handy debugging feature where you could split-screen the
18278# scope, the graphics would appear on the top, and the REGIS commands would
18279# appear on the bottom.  I don't remember the VT-240s being able to do that.
18280# I would swear that LANPAR Technologies was in MA someplace, but since I
18281# don't work at the same place anymore, and those terminals and manuals were
18282# long since junked, I cannot be any more sure than that.
18283#
18284# (v3220: removed obsolete ":kn#10:",
18285# I added <rmam>/<smam> based on the init string -- esr)
18286v3220|LANPAR Vision II model 3220/3221/3222:\
18287	:am:bs:mi:xn:\
18288	:co#80:it#8:li#24:\
18289	:RA=\E[?7l:SA=\E[?7h:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
18290	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ei=\E[4l:im=\E[4h:\
18291	:is=\E>\E[?3l\E[?7h\E[?8h\E[p:k0=\E[1~:k1=\E[2~:\
18292	:k2=\E[3~:k3=\E[4~:k4=\E[5~:k5=\E[6~:k6=\E[OP:k7=\E[OQ:\
18293	:k8=\E[OR:k9=\E[OS:kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:\
18294	:ks=\E=:ku=\E[A:le=^H:me=\E[m:nd=\E[C:se=\E[m:so=\E[7m:\
18295	:sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
18296######## ICH/ICH1 VERSUS RMIR/SMIR
18297#
18298# Some non-curses applications get confused if both ich/ich1 and rmir/smir
18299# are present; the symptom is doubled characters in an update using insert.
18300# These applications are technically correct; in both 4.3BSD termcap and
18301# terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
18302# unless the terminal needs both.  To my knowledge, no terminal still in this
18303# file requires both other than the very obsolete dm2500.
18304#
18305# For ncurses-based applications this is not a problem, as ncurses uses
18306# one or the other as appropriate but never mixes the two.  Therefore we
18307# have not corrected entries like `linux' and `xterm' that specify both.
18308# If you see doubled characters from these, use the linux-nic and xterm-nic
18309# entries that suppress ich/ich1.  And upgrade to ncurses!
18310#
18311
18312######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
18313#
18314# ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
18315# ECMA-48 standards are said to be almost identical, but are not the same
18316# as X3.64 (though for practical purposes they are close supersets of it).
18317#
18318# You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
18319# requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
18320# Coded Character Sets"), include your snail-mail address, and you should
18321# receive the document in due course.  Don't expect an email acknowledgement.
18322#
18323# Related standards include "X3.4-1977: American National Standard Code for
18324# Information Interchange" (the ASCII standard) and "X3.41.1974:
18325# Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
18326# American National Standard for Information Interchange."  I believe (but
18327# am not certain) that these are effectively identical to ECMA-6 and ECMA-35
18328# respectively.
18329#
18330
18331#### VT100/ANSI/ECMA-48
18332#
18333# ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
18334# and ECMA-48 Control Functions for Coded Character Sets.
18335#
18336# Much of the content of this comment is adapted from a table prepared by
18337# Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
18338# discussion of some terminfo-related issues, and updates to capture ECMA-48
18339# have been added.  Control functions described in ECMA-48 only are tagged
18340# with * after their names.
18341#
18342# The table is a complete list of the defined ANSI X3.64/ECMA-48 control
18343# sequences.  In the main table, \E stands for an escape (\033) character,
18344# SPC for space.  Pn stands for a single numeric parameter to be inserted
18345# in decimal ASCII.  Ps stands for a list of such parameters separated by
18346# semicolons.  Parameter meanings for most parametrized sequences are
18347# decribed in the notes.
18348#
18349# Sequence     Sequence                             Parameter   or
18350# Mnemonic     Name              Sequence           Value      Mode   terminfo
18351# -----------------------------------------------------------------------------
18352# APC  Applicatn Program Command \E _                -         Delim  -
18353# BEL  Bell *                    ^G                  -         -      bel
18354# BPH  Break Permitted Here *    \E B                -         *      -
18355# BS   Backpace *                ^H                  -         EF     -
18356# CAN  Cancel *                  ^X                  -         -      -   (A)
18357# CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
18358# CCH  Cancel Previous Character \E T                -         -      -
18359# CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
18360# CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
18361# CMD  Coding Method Delimiter * \E
18362# CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
18363# CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
18364# CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
18365# CSI  Control Sequence Intro    \E [                -         Intro  -
18366# CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
18367# CUB  Cursor Backward           \E [ Pn D           1         eF     cub
18368# CUD  Cursor Down               \E [ Pn B           1         eF     cud
18369# CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
18370# CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
18371# CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
18372# CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
18373# DA   Device Attributes         \E [ Pn c           0         -      -
18374# DAQ  Define Area Qualification \E [ Ps o           0         -      -
18375# DCH  Delete Character          \E [ Pn P           1         eF     dch
18376# DCS  Device Control String     \E P                -         Delim  -
18377# DL   Delete Line               \E [ Pn M           1         eF     dl
18378# DLE  Data Link Escape *        ^P                  -         -      -
18379# DMI  Disable Manual Input      \E \                -         Fs     -
18380# DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
18381# DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
18382# EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
18383# ECH  Erase Character           \E [ Pn X           1         eF     ech
18384# ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
18385# EF   Erase in Field            \E [ Ps N           0         eF     -
18386# EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
18387# EM   End of Medium *           ^Y                  -         -      -
18388# EMI  Enable Manual Input       \E b                          Fs     -
18389# ENQ  Enquire                   ^E                  -         -      -
18390# EOT  End Of Transmission       ^D                  -         *      -
18391# EPA  End of Protected Area     \E W                -         -      -   (K)
18392# ESA  End of Selected Area      \E G                -         -      -
18393# ESC  Escape                    ^[                  -         -      -
18394# ETB  End Transmission Block    ^W                  -         -      -
18395# ETX  End of Text               ^C                  -         -      -
18396# FF   Form Feed                 ^L                  -         -      -
18397# FNK  Function Key *            \E [ Pn SPC W       -         -      -
18398# GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
18399# FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
18400# GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
18401# GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
18402# HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
18403# HPB  Char Position Backward    \E [ j              1         FE     -
18404# HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
18405# HT   Horizontal Tab *          ^I                  -         FE     -   (N)
18406# HTJ  Horz Tab w/Justification  \E I                -         FE     -
18407# HTS  Horizontal Tab Set        \E H                -         FE     hts
18408# HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
18409# ICH  Insert Character          \E [ Pn @           1         eF     ich
18410# IDCS ID Device Control String  \E [ SPC O          -         *      -
18411# IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
18412# IL   Insert Line               \E [ Pn L           1         eF     il
18413# IND  Index                     \E D                -         FE     -
18414# INT  Interrupt                 \E a                -         Fs     -
18415# JFY  Justify                   \E [ Ps SPC F       0         FE     -
18416# IS1  Info Separator #1 *       ^_                  -         *      -
18417# IS2  Info Separator #1 *       ^^                  -         *      -
18418# IS3  Info Separator #1 *       ^]                  -         *      -
18419# IS4  Info Separator #1 *       ^\                  -         *      -
18420# LF   Line Feed                 ^J                  -         -      -
18421# LS1R Locking Shift Right 1 *   \E ~                -         -      -
18422# LS2  Locking Shift 2 *         \E n                -         -      -
18423# LS2R Locking Shift Right 2 *   \E }                -         -      -
18424# LS3  Locking Shift 3 *         \E o                -         -      -
18425# LS3R Locking Shift Right 3 *   \E |                -         -      -
18426# MC   Media Copy                \E [ Ps i           0         -      -   (S)
18427# MW   Message Waiting           \E U                -         -      -
18428# NAK  Negative Acknowledge *    ^U                  -         *      -
18429# NBH  No Break Here *           \E C                -         -      -
18430# NEL  Next Line                 \E E                -         FE     nel (D)
18431# NP   Next Page                 \E [ Pn U           1         eF     -
18432# NUL  Null *                    ^@                  -         -      -
18433# OSC  Operating System Command  \E ]                -         Delim  -
18434# PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
18435# PFS  Page Format Selection *   \E Pn SPC J         0         -      -
18436# PLD  Partial Line Down         \E K                -         FE     -   (T)
18437# PLU  Partial Line Up           \E L                -         FE     -   (U)
18438# PM   Privacy Message           \E ^                -         Delim  -
18439# PP   Preceding Page            \E [ Pn V           1         eF     -
18440# PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
18441# PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
18442# PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
18443# PTX  Parallel Texts *          \E [ \              -         -      -
18444# PU1  Private Use 1             \E Q                -         -      -
18445# PU2  Private Use 2             \E R                -         -      -
18446# QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
18447# REP  Repeat Char or Control    \E [ Pn b           1         -      rep
18448# RI   Reverse Index             \E M                -         FE     -   (V)
18449# RIS  Reset to Initial State    \E c                -         Fs     -
18450# RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
18451# SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
18452# SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
18453# SCI  Single-Char Introducer    \E Z                -         -      -
18454# SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
18455# SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
18456# SD   Scroll Down               \E [ Pn T           1         eF     rin
18457# SDS  Start Directed String *   \E [ Pn ]           1         -      -
18458# SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
18459# SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
18460# SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
18461# SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
18462# SI   Shift In                  ^O                  -         -      -   (P)
18463# SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
18464# SL   Scroll Left               \E [ Pn SPC @       1         eF     -
18465# SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
18466# SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
18467# SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
18468# SM   Select Mode               \E [ Ps h           none      -      -   (W)
18469# SO   Shift Out                 ^N                  -         -      -   (Q)
18470# SOH  Start Of Heading *        ^A                  -         -      -
18471# SOS  Start of String *         \E X                -         -      -
18472# SPA  Start of Protected Area   \E V                -         -      -   (Z)
18473# SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
18474# SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
18475# SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
18476# SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
18477# SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
18478# SR   Scroll Right              \E [ Pn SPC A       1         eF     -
18479# SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
18480# SRS  Start Reversed String *   \E [ Ps [           0         -      -
18481# SSA  Start of Selected Area    \E F                -         -      -
18482# SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
18483# SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
18484# SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
18485# SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
18486# ST   String Terminator         \E \                -         Delim  -
18487# STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
18488# STS  Set Transmit State        \E S                -         -      -
18489# STX  Start pf Text *           ^B                  -         -      -
18490# SU   Scroll Up                 \E [ Pn S           1         eF     indn
18491# SUB  Substitute *              ^Z                  -         -      -
18492# SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
18493# SYN  Synchronous Idle *        ^F                  -         -      -
18494# TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
18495# TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
18496# TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
18497# TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
18498# TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
18499# TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
18500# TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
18501# VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
18502# VPB  Line Position Backward *  \E [ Pn k           1         FE     -
18503# VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
18504# VT   Vertical Tabulation *     ^K                  -         FE     -
18505# VTS  Vertical Tabulation Set   \E J                -         FE     -
18506#
18507# ---------------------------------------------------------------------------
18508#
18509# Notes:
18510#
18511# Some control characters are listed in the ECMA-48 standard without
18512# being assigned functions relevant to terminal control there (they
18513# referred to other standards such as ISO 1745 or ECMA-35).  They are listed
18514# here anyway for completeness.
18515#
18516# (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
18517#
18518# (B) There seems to be some confusion abroad between CHA and HPA.  Most
18519# `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
18520# the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
18521# preserved the CHA abbreviation.
18522#
18523# (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
18524# Occasionally (as on, for example, certain HP terminals) this has the HTJ
18525# value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
18526# CHT abbreviation.
18527#
18528# (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
18529#
18530# (E) ECMA-48 calls this "Active Position Report" but preserves the CPR
18531# abbreviation.
18532#
18533# (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
18534# char tab, 3 = clear line tab, 4 = clear all char tabs on current line,
18535# 5 = clear all char tabs, 6 = clear all line tabs.
18536#
18537# (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
18538# HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
18539# Position Absolute" but retains the HVP abbreviation.
18540#
18541# (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
18542# abbreviation.
18543#
18544# (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
18545# later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
18546# DSR, 6 = request CPR response.
18547#
18548# (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
18549# 1 = clear from beginning, 2 = clear.
18550#
18551# (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
18552#
18553# (L) The GSM parameters are vertical and horizontal parameters to scale by.
18554#
18555# (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
18556# use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
18557# Position Relative" but retains the HPR abbreviation.
18558#
18559# (N) ECMA-48 calls this "Character Tabulation" but retains the HT
18560# abbreviation.
18561#
18562# (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
18563# 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
18564# 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
18565# 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
18566# 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
18567# 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
18568# 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
18569# fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
18570# fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
18571# 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
18572# 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
18573# default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
18574# overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
18575# 61-65 = variable highlights for ideograms.
18576#
18577# (P) SI is also called LSO, Locking Shift Zero.
18578#
18579# (Q) SI is also called LS1, Locking Shift One.
18580#
18581# (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
18582# use CUD for this function and ignore VPR.  ECMA calls it `Line Position
18583# Absolute' but retains the VPA abbreviation.
18584#
18585# (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
18586# primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
18587# from secondary aux device, 4 = stop relay to primary aux device, 5 =
18588# start relay to primary aux device, 6 = stop relay to secondary aux device,
18589# 7 = start relay to secondary aux device.
18590#
18591# (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
18592# abbreviation.
18593#
18594# (U) ECMA-48 calls this "Partial Line Backward" but retains the PLU
18595# abbreviation.
18596#
18597# (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
18598#
18599# (W) RM/SM modes are as follows: 1 = Guarded Area Transfer Mode (GATM),
18600# 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM),
18601# 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
18602# 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
18603# Support Mode (BDSM), 9 = Device Component Select Mode (DCSM),
18604# 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
18605# 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM),
18606# 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
18607# Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
18608# Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
18609# New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
18610# Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
18611# from ECMA-48's 5th edition but are listed here for reference.
18612#
18613# (X) Select Alternate Presentation Variants is used only for non-Latin
18614# alphabets.
18615#
18616# (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
18617#
18618# (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
18619# abbreviation.
18620#
18621# ---------------------------------------------------------------------------
18622#
18623# Abbreviations:
18624#
18625# Intro  an Introducer of some kind of defined sequence; the normal 7-bit
18626#        X3.64 Control Sequence Introducer is the two characters "Escape ["
18627#
18628# Delim  a Delimiter
18629#
18630# x/y    identifies a character by position in the ASCII table (column/row)
18631#
18632# eF     editor function (see explanation)
18633#
18634# FE     format effector (see explanation)
18635#
18636# F      is a Final character in
18637#             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
18638#             a control sequence (F from 4/0 to 7/14)
18639#
18640# Gs     is a graphic character appearing in strings (Gs ranges from
18641#        2/0 to 7/14) in the ASCII table
18642#
18643# Ce     is a control represented as a single bit combination in the C1 set
18644#        of controls in an 8-bit character set
18645#
18646# C0     the familiar set of 7-bit ASCII control characters
18647#
18648# C1     roughly, the set of control chars available only in 8-bit systems.
18649#        This is too complicated to explain fully here, so read Jim Fleming's
18650#        article in the February 1983 BYTE, especially pages 214 through 224.
18651#
18652# Fe     is a Final character of a 2-character Escape sequence that has an
18653#        equivalent representation in an 8-bit environment as a Ce-type
18654#        (Fe ranges from 4/0 to 5/15)
18655#
18656# Fs     is a Final character of a 2-character Escape sequence that is
18657#        standardized internationally with identical representation in 7-bit
18658#        and 8-bit environments and is independent of the currently
18659#        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
18660#
18661# I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
18662#        ASCII table
18663#
18664# P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
18665#        table
18666#
18667# Pn     is a numeric parameter in a control sequence, a string of zero or
18668#        more characters ranging from 3/0 to 3/9 in the ASCII table
18669#
18670# Ps     is a variable number of selective parameters in a control sequence
18671#        with each selective parameter separated from the other by the code
18672#        3/11 (which usually represents a semicolon); Ps ranges from
18673#        3/0 to 3/9 and includes 3/11
18674#
18675# *      Not relevant to terminal control, listed for completeness only.
18676#
18677# Format Effectors versus Editor Functions
18678#
18679# A format effector specifies how following output is to be displayed.
18680# An editor function allows you to modify the display.  Informally
18681# format effectors may be destructive; format effectors should not be.
18682#
18683# For instance, a format effector that moves the "active position" (the
18684# cursor or equivalent) one space to the left would be useful when you want to
18685# create an overstrike, a compound character made of two standard characters
18686# overlaid. Control-H, the Backspace character, is actually supposed to be a
18687# format effector, so you can do this. But many systems use it in a
18688# nonstandard fashion, as an editor function, deleting the character to the
18689# left of the cursor and moving the cursor left. When Control-H is assumed to
18690# be an editor function, you cannot predict whether its use will create an
18691# overstrike unless you also know whether the output device is in an "insert
18692# mode" or an "overwrite mode". When Control-H is used as a format effector,
18693# its effect can always be predicted. The familiar characters carriage
18694# return, linefeed, formfeed, etc., are defined as format effectors.
18695#
18696# NOTES ON THE DEC VT100 IMPLEMENTATION
18697#
18698# Control sequences implemented in the VT100 are as follows:
18699#
18700#      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
18701#      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
18702#
18703# plus several private DEC commands.
18704#
18705# Erasing parts of the display (EL and ED) in the VT100 is performed thus:
18706#
18707#      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
18708#      Erase from beginning of line to cursor     Esc [ 1 K
18709#      Erase line containing cursor               Esc [ 2 K
18710#      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
18711#      Erase from beginning of screen to cursor   Esc [ 1 J
18712#      Erase entire screen                        Esc [ 2 J
18713#
18714# Some brain-damaged terminal/emulators respond to Esc [ J as if it were
18715# Esc [ 2 J, but this is wrong; the default is 0.
18716#
18717# The VT100 responds to receiving the DA (Device Attributes) control
18718#
18719#      Esc [ c    (or Esc [ 0 c)
18720#
18721# by transmitting the sequence
18722#
18723#      Esc [ ? l ; Ps c
18724#
18725# where Ps is a character that describes installed options.
18726#
18727# The VT100's cursor location can be read with the DSR (Device Status
18728# Report) control
18729#
18730#      Esc [ 6 n
18731#
18732# The VT100 reports by transmitting the CPR sequence
18733#
18734#      Esc [ Pl ; Pc R
18735#
18736# where Pl is the line number and Pc is the column number (in decimal).
18737#
18738# The specification for the DEC VT100 is document EK-VT100-UG-003.
18739
18740#### ANSI.SYS
18741#
18742# Here is a description of the color and attribute controls supported in the
18743# the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
18744# terminal emulators for Intel boxes obey these.  They are a proper subset
18745# of the ECMA-48 escapes.
18746#
18747# 0	all attributes off
18748# 1	foreground bright
18749# 4	underscore on
18750# 5	blink on/background bright (not reliable with brown)
18751# 7	reverse-video
18752# 8	set blank (non-display)
18753# 10	set primary font
18754# 11	set first alternate font (on PCs, display ROM characters 1-31)
18755# 12	set second alternate font (on PCs, display IBM high-half chars)
18756#
18757#			Color attribute sets
18758# 3n	set foreground color       / 0=black, 1=red,     2=green, 3=brown,
18759# 4n	set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
18760# Bright black becomes gray.  Bright brown becomes yellow,
18761# These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
18762#
18763# * If the 5 attribute is on and you set a background color (40-47) it is
18764#   supposed to enable bright background.
18765#
18766# * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
18767#   when you try to set a "bright brown" (yellow) background with attribute
18768#   5 (you get a blinking yellow foreground instead).  A few displays
18769#   (including the System V console) support an attribute 6 that undoes this
18770#   braindamage (this is required by iBCS2).
18771#
18772# * Some older versions of ANSI.SYS have a bug that causes thems to require
18773#   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
18774#   compatible.)
18775
18776#### Intel Binary Compatibility Standard
18777#
18778# For comparison, here are the capabilities implied by the Intel Binary
18779# Compatibility Standard for UNIX systems (Intel order number 468366-001).
18780# These recommendations are optional.  IBCS2 allows the leading escape to
18781# be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
18782# the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
18783# (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
18784# terminfo entry are followed with the corresponding capability in parens:
18785#
18786#	CSI <n>k		disable (n=0) or enable (n=1) keyclick
18787#	CSI 2h   		lock keyboard
18788#	CSI 2i  		send screen as input
18789#	CSI 2l  		unlock keyboard
18790#	CSI 6m  		enable background color intensity
18791#	CSI <0-2>c		reserved
18792#	CSI <0-59>m		select graphic rendition
18793#	CSI <n>;<m>H	(cup)	cursor to line n and column m
18794#	CSI <n>;<m>f		cursor to line n and column m
18795#	CSI <n>@	(ich)	insert characters
18796#	CSI <n>A	(cuu)	cursor up n lines
18797#	CSI <n>B	(cud)	cursor down n lines
18798#	CSI <n>C	(cuu)	cursor right n characters
18799#	CSI <n>D	(cud)	cursor left n characters
18800#	CSI <n>E		cursor down n lines and in first column
18801#	CSI <n>F		cursor up n lines and in first column
18802#	CSI <n>G	(hpa)	position cursor at column n-1
18803#	CSI <n>J	(ed)	erase in display
18804#	CSI <n>K	(el)	erase in line
18805#	CSI <n>L	(il)	insert line(s)
18806#	CSI <n>P	(dch)	delete characters
18807#	CSI <n>S	(indn)	scroll up n lines
18808#	CSI <n>T	(rin)	scroll down n lines
18809#	CSI <n>X	(ech)	erase characters
18810#	CSI <n>Z	(cbt)	back up n tab stops
18811#	CSI <n>`		cursor to column n on line
18812#	CSI <n>a	(cuu)	cursor right n characters
18813#	CSI <n>d	(vpa)	cursor to line n
18814#	CSI <n>e		cursor down n lines and in first column
18815#	CSI <n>g	(cbt)	clear all tabs
18816#	CSI <n>z		make virtual terminal n active
18817#	CSI ?7h 	(smam)	turn automargin on
18818#	CSI ?7l 	(rmam)	turn automargin off
18819#	CSI s     		save cursor position
18820#	CSI u   		restore cursor position to saved value
18821#	CSI =<c>A		set overscan color
18822#	CSI =<c>F		set normal foreground color
18823#	CSI =<c>G		set normal background color
18824#	CSI =<c>H		set reverse foreground color
18825#	CSI =<c>I		set reverse foreground color
18826#	CSI =<c>J		set graphic foreground color
18827#	CSI =<c>K		set graphic foreground color
18828#	CSI =<n>g	(dispc) display n from alternate graphics character set
18829#	CSI =<p>;<d>B		set bell parameters
18830#	CSI =<s>;<e>C		set cursor parameters
18831#	CSI =<x>D		enable/disable intensity of background color
18832#	CSI =<x>E		set/clear blink vs. bold background
18833#	CSI 7     	(sc)	(sc) save cursor position
18834#	CSI 8   	(rc)	(rc) restore cursor position to saved value
18835#	CSI H		(hts)	(hts) set tab stop
18836#	CSI Q<n><string>	define function key string
18837#				(string must begin and end with delimiter char)
18838#	CSI c   	(clear) clear screen
18839#
18840# The lack of any specification for attributes in SGR (among other things)
18841# makes this a wretchedly weak standard. The table above is literally
18842# everything iBSC2 has to say about terminal escape sequences; there is
18843# no further discussion of their meaning or how to set the parameters
18844# in these sequences at all.
18845#
18846
18847######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
18848#
18849# The historical termcap file entries were written primarily in 4.4BSD termcap.
18850# The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
18851# with the extension names chosen for compatibility with the termcap names
18852# assigned in System V terminfo.  There are some variant extension sets out
18853# there.  We try to describe them here.
18854#
18855# XENIX extensions:
18856#
18857# The XENIX extensions include a set of function-key capabilities as follows:
18858#
18859#       code	XENIX variable name	terminfo name	name clashes?
18860#	----	-------------------	-------------	-----------------------
18861#	CL	key_char_left
18862#	CR	key_char_right
18863#	CW	key_change_window			create_window
18864#	EN	key_end          	kend
18865#	HM	key_home		khome
18866#	HP	??
18867#	LD	key_delete_line  	kdl1
18868#	LF	key_linefeed     			label_off
18869#	NU	key_next_unlocked_cell
18870#	PD	key_page_down   	knp
18871#	PL	??
18872#	PN	start_print		mc5
18873#	PR	??
18874#	PS	stop_print		mc4
18875#	PU	key_page_up     	kpp		pulse
18876#	RC	key_recalc				remove_clock
18877#	RF	key_toggle_ref				req_for_input
18878#	RT	key_return      	kent
18879#	UP	key_up_arrow           	kcuu1   	parm_up_cursor
18880#	WL	key_word_left
18881#	WR	key_word_right
18882#
18883# The XENIX extensions also include the following character-set and highlight
18884# capabilities:
18885#
18886#	XENIX	terminfo	function
18887#	-----	--------	------------------------------
18888#	GS	smacs		start alternate character set
18889#	GE	rmacs		end alternate character set
18890#	GG			:as:/:ae: glitch (analogous to :sg:/:ug:)
18891#	bo	blink		begin blink (not used in /etc/termcap)
18892#	be			end blink (not used in /etc/termcap)
18893#	bb			blink glitch  (not used in /etc/termcap)
18894#	it	dim		begin dim (not used in /etc/termcap)
18895#	ie			end dim (not used in /etc/termcap)
18896#	ig			dim glitch  (not used in /etc/termcap)
18897#
18898# Finally, XENIX also used the following forms-drawing capabilities:
18899#
18900#	single	double  type             ASCII approximation
18901#	------	------	-------------    -------------------
18902#	GV	Gv	vertical line             |
18903#	GH	Gv	horizontal line       -   _
18904#	G1	G5	top right corner       _   |
18905#	G2	G6	top left corner       |
18906#	G3	G7	bottom left corner         |_
18907#	G4	G8	bottom right corner   _|
18908#	GD	Gd	down-tick character        T
18909#	GL	Gl	left-tick character   -|
18910#	GR	Gr	right-tick character       |-
18911#	GC	Gc	middle intersection   -|-
18912#	GU	Gu	up-tick character          _|_
18913#
18914# These were invented to take advantage of the IBM PC ROM character set.  One
18915# can compose an acsc string from the single-width characters as follows
18916#	"j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
18917# When translating a termcap file, ncurses tic will do this automatically.
18918# The double forms characters don't fit the SVr4 terminfo model.
18919#
18920# AT&T Extensions:
18921#
18922# The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
18923# nonstandard capabilities.  Its signature is the KM capability, used to name
18924# some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
18925# set.  Comments in the original, and a little cross-checking with other AT&T
18926# documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
18927# (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
18928# FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
18929# cursor invisible), and CV=:ve: (make cursor normal).
18930#
18931# HP Extensions
18932#
18933# The HP library (as of mid-1995, their term.h file version 70.1) appears to
18934# have the System V capabilities up to SVr1 level.  After that, it supports
18935# two nonstandard caps meml and memu corresponding to the old termcap :ml:,
18936# :mu: capabilities.  After that, it supports caps plab_norm, label_on,
18937# label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
18938# HP binary format incompatible with SVr4's.
18939#
18940# IBM Extensions
18941#
18942# There is a set of nonstandard terminfos used by IBM's AIX operating system.
18943# The AIX terminfo library diverged from SVr1 terminfo, and replaces all
18944# capabilities following prtr_non with the following special capabilties:
18945# box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
18946# kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
18947# ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
18948# rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
18949# kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
18950# renamed (to kcbt and kslt).  The places in the box[12] capabilities
18951# correspond to acsc chars, here is the mapping:
18952#
18953#	box1[0]  = ACS_ULCORNER
18954#	box1[1]  = ACS_HLINE
18955#	box1[2]  = ACS_URCORNER
18956#	box1[3]  = ACS_VLINE
18957#	box1[4]  = ACS_LRCORNER
18958#	box1[5]  = ACS_LLCORNER
18959#	box1[6]  = ACS_TTEE
18960#	box1[7]  = ACS_RTEE
18961#	box1[8]  = ACS_BTEE
18962#	box1[9]  = ACS_LTEE
18963#	box1[10] = ACS_PLUS
18964#
18965# The box2 characters are the double-line versions of these forms graphics.
18966# The AIX binary terminfo format is incompatible with SVr4's.
18967#
18968# Iris console extensions:
18969#
18970# HS is half-intensity start; HE is half-intensity end
18971# CT is color terminal type (for Curses & rogue)
18972# CP is color change escape sequence
18973# CZ are color names (for Curses & rogue)
18974#
18975# The ncurses tic utility recognizes HS as an alias for mh <dim>.
18976#
18977# TC Extensions:
18978#
18979# There is a set of extended termcaps associated with something
18980# called the "Terminal Control" or TC package created by MainStream Systems,
18981# Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
18982# CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
18983# that flags color terminals.
18984#
18985######## CHANGE HISTORY
18986#
18987# The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
18988# Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
18989# project.
18990#
18991# This file contains all the capability information present in John Kunze's
18992# last version of the termcap master file, except as noted in the change
18993# comments at end of file.  Some information about very ancient obsolete
18994# capabilities has been moved to comments.  Some all-numeric names of older
18995# terminals have been retired.
18996#
18997# I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
18998# capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
18999# used by BSD curses.
19000#
19001# The 9.1.0 version of this file was translated from my lightly-edited copy of
19002# 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
19003# the purpose.  Unless the ncurses tic implementation and the Lisp code were
19004# making perfectly synchronized mistakes which I then failed to catch by
19005# eyeball, the translation was correct and perfectly information-preserving.
19006#
19007# Major version number bumps correspond to major version changes in ncurses.
19008#
19009# Here is a log of the changes since then:
19010#
19011# 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
19012#	* First terminfo master translated from 8.3.
19013# 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
19014#	* Replaced Wyse entries with updated entries supplied by vendor.
19015#
19016# 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
19017#	* Added contact & status info from G. Clark Brown <clark@sssi.com>.
19018# 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
19019#	* Better XENIX keycap translation.  Describe TC termcaps.
19020#	* Contact and history info supplied by Qume.
19021# 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
19022#	* Raided the Shuford FTP site for recent termcaps/terminfos.
19023#	* Added information on X3.64 and VT100 standard escape sequences.
19024# 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
19025#	* Added a correct X11R6 xterm entry.
19026#	* Fixed terminfo translations of padding.
19027# 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
19028#	* Added correct acsc/smacs/rmacs strings for vt100 and xterm.
19029#	* Added u6/u7/u8/u9 capabilities.
19030#	* Added PCVT entry.
19031# 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
19032#	* Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
19033#	  to use reverse-video standout so Emacs will look right.
19034#	* Added el1 capability to ansi.
19035#	* Added smacs/rmacs to ansi.sys.
19036#
19037# 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
19038#	* New mt70 entry.
19039#	* Added COPYRIGHTS AND OTHER DELUSIONS.
19040#	* Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
19041#	  smartvid & smarterm, ampex 175 & 219 & 232,
19042#	  env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
19043#	  ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
19044#	  screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
19045#	  adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
19046#	* Replaced the Perkin-Elmer entries with vendor's official ones.
19047#	* Restored the old minimal-ansi entry, luna needs it.
19048#	* Fixed some incorrect ip and proportional-padding translations.
19049# 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
19050#	* Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
19051#	* Make the xterm entry 65 lines again; create xterm25 and xterm24
19052#	  to force a particular height.
19053#	* Added beehive4 and reorganized other Harris entries.
19054# 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
19055#	* Merged in DEC's official entries for its terminals.  The only old
19056#	  entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
19057#	* Replaced the translated BBN Bitgraph entries with purpose-built
19058#	  ones from AT&T's SVr3.
19059#	* Replaced the AT&T entries with AT&T's official terminfos.
19060#	* Added teleray 16, vc415, cops10.
19061#	* Merged in many individual capabilities from SCO terminfo files.
19062# 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
19063#	* Typo fixes.
19064#	* Change linux entry so A_PROTECT enables IBM-PC ROM characters.
19065# 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
19066#	* Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
19067#	  pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
19068#	  simterm, citoh and variants.
19069#	* Replaced sol entry with sol1 and sol2.
19070#	* Replaced Qume QVT and Freedom-series entries with purpose-built
19071#	  terminfo entries.
19072#	* Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
19073#	  and dg200 entries using caps from from SCO.
19074#	* Added the usual set of function-key mappings to ANSI entry.
19075#	* Corrected xterm's function-key capabilities.
19076# 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
19077#	* Fix in xterm entry, cub and cud are not reliable under X11R6.
19078# 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
19079#	* Fix in xterm entry, get the arrow keys right.
19080#	* Change some \0 escapes to \200.
19081# 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
19082#	* Added apple (Videx card), adm1a, oadm31.
19083#	* Fixed malformed ampex csr.
19084#	* Fixed act4, cyb110; they had old-style prefix padding left in.
19085#	* Changed mandatory to advisory padding in many entries.
19086#	* Replaced HP entries up to hpsub with purpose-built ones.
19087#	* Blank rmir/smir/rmdc/smdc capabilities removed.
19088#	* Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
19089# 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
19090#	* Replaced the Ann Arbor entries with SCO's, the init strings are
19091#	  more efficient (but the entries otherwise identical).
19092#	* Added dg211 from Shuford archive.
19093#	* Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
19094#	  adm42-nl, pc52, gs6300, xerox820, uts30.
19095#	* Pull SCO's padding into vi200 entry.
19096#	* Improved capabilities for tvi4107 and other Televideo and Viewpoint
19097#	  entries merged in from SCO's descriptions.
19098#	* Fixed old-style prefix padding on zen50, h1500.
19099#	* Moved old superbee entry to superbee-xsb, pulled in new superbee
19100#	  entry from SCO's description.
19101#	* Reorganized the special entries.
19102#	* Added lm#0 to cbunix and virtual entries.
19103#
19104# 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
19105#	* Restored cdc456tst.
19106#	* Fixed sb1 entry, SCO erroneously left out the xsb glitch.
19107#	* Added megatek, beacon, microkit.
19108#	* Freeze for ncurses-1.9 release.
19109# 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
19110#	* Added historical data for TAB.
19111#	* Comment fixes from David MacKenzie.
19112#	* Added the new BSDI pc3 entry.
19113# 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
19114#	* A change in the tic -C logic now ensures that all entries in
19115#	  the termcap translation will fit in < 1024 bytes.
19116#	* Added `bobcat' and `gator' HP consoles and the Nu machine entries
19117#	  from GNU termcap file.  This merges in all their local information.
19118# 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
19119#	* Changed tic -C logic to dump all capabilities used by GNU termcap.
19120#	* Added warnings about entries with long translations (restoring
19121#	  all the GNU termcaps pushes a few over the edge).
19122# 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
19123#	* Yet another tic change, and a couple of entry tweaks, to reduce the
19124#	  number of long (> 1024) termcap translations back to 0.
19125#
19126# 9.6.0 (Mon May  1 10:35:54 EDT 1995)
19127#	* Added kf13-kf20 to Linux entry.
19128#	* Regularize Prime terminal names.
19129#	* Historical data on Synertek.
19130#	* Freeze for ncurses-1.9.1.
19131# 9.6.1 (Sat May  6 02:00:52 EDT 1995):
19132#	* Added true xterm-color entry, renamed djm's pseudo-color entry.
19133#	* Eliminate whitespace in short name fields, this tanks some scripts.
19134#	* Name field changes to shorten some long entries.
19135#	* Termcap translation now automatically generates empty rmir/smir
19136#	  when ich1/ich is present (copes with an ancient vi bug).
19137#	* Added `screen' entries from FSF's screen-3.6.2.
19138#	* Added linux-nic and xterm-nic entries.
19139# 9.6.2 (Sat May  6 17:00:55 EDT 1995):
19140#	* Change linux entry to use smacs=\E[11m and have an explicit acsc,
19141#	  eliminating some special-case code in ncurses.
19142#
19143# 9.7.0 (Tue May  9 18:03:12 EDT 1995):
19144#	* Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
19145#	  that captures everything unique from it.
19146#	* Added reorder script generator.
19147#	* Freeze for ncurses 1.9.2 release.
19148# 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
19149#	* Added Sean Farley's kspd, flash, rs1 capabilities for linux.
19150#	* Added Olaf Siebert's corrections for adm12.
19151#	* ansi-pc-color now includes the colors and pairs caps, so that
19152#	  entries which use it will inherit them automatically.
19153#	* The linux entry can now recognize the center (keypad 5) key.
19154#	* Removed some junk that found its way into Linux acsc.
19155#
19156# 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
19157#	* Add 50% cut mark as a desperate hack to reduce tic's core usage.
19158#	* xterm doesn't try to use application keypad mode any more.
19159#	* Freeze for ncurses-1.9.3 release.
19160# 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
19161#	* Added corrected sun entry from vendor.
19162#	* Added csr capability to linux entry.
19163#	* Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
19164#	* Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
19165#	* Some commented-out caps in long entries come back in, my code
19166#	  for computing string-table lengths had a bug in it.
19167#	* pcansi series modified to fit comm-program reality better.
19168# 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
19169#	* BSD/OS actually ships the ibmpc3 bold entry as its console.
19170#	* Correct some bad aliases in the pcansi series
19171#	* Added entry for QNX console.
19172#	* Clean up duplicate long names for use with 4.4 library.
19173#	* Change vt100 standout to be normal reverse vide, not bright reverse;
19174#	  this makes the Emacs status line look better.
19175# 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
19176#	* Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
19177#	* Minor surgery, mostly on name strings, to shorten termcap version.
19178#
19179# 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
19180#	* Added dec-vt100 for use with the EWAN emulator.
19181#	* Added kmous to xterm for use with xterm's mouse-tracking facility.
19182#	* Freeze for 1.9.5 alpha release.
19183# 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
19184#	* Changed xterm lines to 24, the X11R6 default.
19185# 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
19186#	* Added 7 newly discovered, undocumented acsc characters to linux
19187#	  entry (the pryz{|} characters).
19188#	* ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
19189#	* Correct two typos in the xterm entries introduced in 9.9.1.
19190#	* I finally figured out how to translate ko capabilities.  Done.
19191#	* Added tvi921 entries from Tim Theisen.
19192#	* Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
19193#	* Removed mystery tec entry, it was neither interesting nor useful.
19194#	* shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
19195#	  vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
19196#	  trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
19197#	  by making them relative to use capabilities
19198#	* Added cuf1=^L to tvi925 from deleted variant tvi925a.
19199#	* fixed cup in adm22 entry and parametrized strings in vt320-k3.
19200#	* added it#8 to entries that used to have :pt: -- tvi912, vi200,
19201#	  ampex80,
19202#	* Translate all home=\E[;H capabilities to home=\E[H, they're
19203#	  equivalent.
19204#	* Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
19205#	  vt100 and ANSI-like terminals.
19206# 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
19207#	* Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
19208#	  does this now, too.
19209#	* fviewpoint is gone, it duplicated screwpoint.
19210#	* Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
19211#	  ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3,
19212#	  versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
19213#	  The UW vi50 replaces the old one, which becomes vi50adm,
19214#	* No more embedded commas in name fields.
19215#
19216# 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
19217#	* XENIX forms characters in fos, trs16, scoansi become acsc strings,
19218#	* Introduced klone+* entries for describing Intel-console behavior.
19219#	* Linux kbs is default-mapped to delete for some brain-dead reason.
19220#	* -nsl -> -ns.  The -pp syntax is obsolete.
19221#	* Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
19222#	* Make xterm entry do application-keypad mode again.  I got complaints
19223#	  that it was messing up someone's 3270 emulator.
19224#	* Added some longname fields in order to avoid warning messages from
19225#	  older tic implementations.
19226#	* According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
19227#	  it! (This gives us pi, greater than, less than, and a few more.)
19228#	* Freeze for ncurses-1.9.6 release.
19229# 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
19230#	* Add xon to a number of console entries, they're memory-mapped and
19231#	  don't need padding.
19232#	* Correct the use dependencies in the ansi series.
19233#	* Hand-translate more XENIX capabilities.
19234#	* Added hpterm entry for HP's X terminal emulator.
19235#	* Added aixterm entries.
19236#	* Shortened four names so everything fits in 14 chars.
19237#
19238# 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
19239#	* Added ibcs2 entry and info on iBCS2 standard.
19240#	* Corrected hpa/vpa in linux entry.  They still fail the worm test.
19241#	* We can handle the HP meml/memu capability now.
19242#	* Added smacs to klone entries, just as documentation.
19243#	* Carrected ansi.sys and cit-500 entries.
19244#	* Added z39, vt320-k311, v220c, and avatar entries.
19245#	* Make pcansi use the ansi.sys invis capability.
19246#	* Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
19247#	  tvi925, tvi950, dt80, ncr7900i, h19.
19248#	* X3.64 has been withdrawn, change some references.
19249#	* Removed function keys from ansi-m entry.
19250#	* Corrected ansi.sys entry.
19251#	* Freeze for ncurses-1.9.7 release.
19252# 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
19253#	* Added rmam/smam capabilities to many entries based on init strings.
19254#	* Added correct hpa/vpa to linux.
19255#	* Reduced several entries relative to vt52.
19256# 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
19257#	* Exiled some utterly unidentifiable custom and homebrew types to the
19258#	  UFO file; also, obsolete small-screen hardware; also, entries which
19259#	  look flat-out incorrect, garbled, or redundant.  These include the
19260#	  following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec,
19261#	  tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
19262#	  apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
19263#	  fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55,
19264#	  yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2,
19265#	  vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200,
19266#	  trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40,
19267#	  att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w,
19268#	  tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na,
19269#	  c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na,
19270#	  regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb,
19271#	  vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam,
19272#	  vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
19273#	* Corrected pcvt25h as suggested by Brian C. Grayson
19274#	  <bgrayson@pine.ece.utexas.edu>.
19275# 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
19276#	* Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H.
19277#	* Added kent=\EOM to xterm entry.
19278#
19279# 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
19280#	* Corrected gigi entry.
19281#	* Restored cuf/cud1 to xterm, their apparent bugginess was due to
19282#	  bad hpa/vpa capabilities.
19283#	* Corrected flash strings to have a uniform delay of .2 sec.  No
19284#	  more speed-dependent NUL-padding!
19285#	* terminfo capabilities in comments bracketed with <>.
19286# 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
19287#	* Replaced pcvt with the 3.31 pcvt entries.
19288#	* Freeze for 1.9.7a.
19289# 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
19290#	* Added emu entry from the X11R6 contrib tape sources.
19291#
19292# 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
19293#	* Improved iris-ansi and sun entries.
19294#	* More flash string improvements.
19295#	* Corrected wy160 & wy160 as suggested by Robert Dunn
19296#	* Added dim to at386.
19297#	* Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
19298#	  he's ready to start using the termcap generated from this one.
19299#	* Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
19300#	  ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
19301#	* Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
19302#	  att610, att620, att630,
19303#	* Changed hazeltine name prefix from h to hz.
19304#	* Sent t500 to the UFI file.
19305#	* I think we've sucked all the juice out of BSDI's termcap file now.
19306#	* Freeze for ncurses 1.9.8 release
19307# 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
19308#	* Unfreeze, linux kbs needed to be fixed.
19309#	* Tim Theisen pinned down a bug in the DMD firmware.
19310# 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
19311#	* Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
19312#	  (The broken ones had been shadowed by sgr.)
19313# 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
19314#	* Added documentation on ECMA-48 standard.
19315#	* New Amiga entry.
19316# 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
19317#	* More ECMA-48 stuff
19318#	* Corrected typo in minix entry, added pc-minix.
19319#	* Corrected khome/kend in xterm (thank you again, Aaron Ucko).
19320#	* Added rxvt entry.
19321#	* Added 1.3.x color-change capabilities to linux entry.
19322# 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
19323#	* Corrected rxvt entry khome/kend.
19324#	* Corrected linux color change capabilities.
19325#	* NeXT entries from Dave Wetzel.
19326#	* Cleaned up if and rf file names (all in /usr/share now).
19327#	* Changed linux op capability to avoid screwing up a background color
19328#	  pair set by setterm.
19329# 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
19330#	* Added xterm-sun.
19331# 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
19332#	* Added visa50.
19333#
19334# 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
19335#	* Another sweep through the Shuford archive looking for new info.
19336#	* Added dg100 alias to dg6053 based on a comp.terminals posting.
19337# 	* Added st52 from Per Persson.
19338#	* Added eterm from the GNU Emacs 19.30 distribution.
19339#	* Freeze for 1.9.9.
19340# 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
19341#	* FreeBSD console entries from Andrew Chernov.
19342#	* Removed duplicate Atari st52 name.
19343# 9.13.2 (Tue May  7 16:10:06 EDT 1996)
19344#	* xterm doesn't actually have ACS_BLOCK.
19345#	* Change klone+color setf/setb to simpler forms that can be
19346#	  translated into termcap.
19347#	* Added xterm1.
19348#	* Removed mechanically-generated junk capabilities from cons* entries.
19349#	* Added color support to bsdos.
19350# 9.13.3 (Thu May  9 10:35:51 EDT 1996):
19351#	* Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
19352#	* Created ecma+color, linux can use it.  Also added ech to linux.
19353#	* Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
19354#	* Add descriptions to FreeBSD console entries.  Also shorten
19355#	  some aliases to <= 14 chars for portability.
19356#	* Added x68k console
19357#	* Added OTbs to several VT-series entries.
19358# 9.13.4 (Wed May 22 10:54:09 EDT 1996):
19359#	* screen entry update for 3.7.1 from Michael Alan Dorman.
19360# 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
19361#	* kterm correction due to Kenji Rikitake.
19362#	* ACS correction in vt320-kll due to Phillippe De Muyter.
19363# 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
19364#	* Sun console entry correction from J.T. Conklin.
19365#	* Changed all DEC VT300 and up terminals to use VT300 tab set
19366# 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
19367#	* Added smul to linux entry (we never noticed it was missing
19368#	  because of sgr!).
19369#	* Added rmln to hp+labels (deduced from other HP entries).
19370#	* Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
19371#	  pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
19372#	* Corrected vt220 acsc.
19373#	* The klone+sgr and klone+sgr-dumb entries now use klone+acs;
19374#	  this corresponds to reality and helps prevent some tic warnings.
19375#	* Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
19376#	  hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
19377#	  adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
19378#	  qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
19379#	  wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
19380#	  adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p,
19381#	  f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
19382#	  owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
19383#	  lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
19384#	  dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
19385#	  ifmr, v3220, wy100q, tandem653, ibmaed.
19386#	* Added DWK terminal description.
19387# 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
19388#	* Many entries now have highlights inherited from adm+sgr.
19389#	* xterm entry now corresponds to XFree86 3.1.2E, with color.
19390#	* xtitle and xtitle-twm enable access to the X status line.
19391#	* Added linux-1.3.6 color palette caps in conventional format.
19392#	* Added adm1178 terminal.
19393#	* Move fos and apollo terminals to obsolete category.
19394#	* Aha! The BRL terminals file told us what the Iris extensions mean.
19395#	* Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
19396#	  commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
19397#	  cit500, adm11.
19398# 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
19399#	* Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
19400#	  aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
19401#	* Corrected, from BRL termcap file: vi50.
19402#	* Better rxvt entry & corrected xterm entries from Thomas Dickey.
19403# 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
19404#	* Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
19405#	  att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
19406#	  (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
19407#	  tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
19408#	  apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
19409#	* Paired-attribute fixes to various terminals.
19410#	* Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
19411#	* xterm entry corrections from Thomas Dickey.
19412# 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
19413#	* Added t916 entry, translated from a termcap in SCO's support area.
19414#	* New qnx entry from Michael Hunter.
19415# 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
19416#	* Added hpex2 from Ville Sulko.
19417#	* Fixed a bug that ran the qnx and pcvtXX together.
19418# 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
19419#	* Added dtterm entry from Solaris CDE.
19420# 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
19421#	* corrected pairs#8 typo in dtterm entry.
19422#	* added tvi9065.
19423# 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
19424#	* updated xterm entry to cover 3.1.2E's new features.
19425# 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
19426#	* Added new minix entry
19427#	* Removed aliases of the form ^[0-9]* for obsolete terminals.
19428#	* Commented out linux-old, nobody's using pre-1.2 kernels now.
19429# 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
19430#	* Added Prism entries and kt7ix.
19431#	* Caution notes about EWAN and tabset files.
19432#	* Changed /usr/lib/tabset -> /usr/share/tabset.
19433#	* Added acsc/rmacs/smacs to vt52.
19434# 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
19435#	* Merged in Thomas Dickey's reorganization of the xterm entries;
19436#	  added technical corrections to avoid warning messages.
19437# 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
19438#	* Added rmso=\E[27m in Linux entry.
19439#	* Added koi8-r support for Linux console.
19440#	* Replace xterm entries with canonical ones from XFree86 3.2.
19441# 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
19442#	* Added color_xterm from Jacob Mandelson
19443# 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
19444#	* Back off the xterm entry to use r6 as a base.
19445# 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
19446#	* Added dec-vt220 at Adrian Garside's request.
19447#
19448#-(original-changelog-1996/12/29-to-1998/02/28-by-TD)---------------------------
19449#
19450# 10.1.0 (Sun Dec 29 02:36:31 EST 1996): withdrawn
19451#	* Minor corrections to xterm entries.
19452#	* Replaced EWAN telnet entry.
19453#	* Dropped the reorder script generator.  It was a fossil.
19454# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
19455#	* Replaced minitel-2 entry.
19456#	* Added MGR, ansi-nt.
19457# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
19458#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
19459#	  the 4.4BSD Lite2 file.
19460#
19461# 10.1.1 (Sat May  3 21:41:27 EDT 1997):
19462#	* Use setaf/setab consistently with SVr4.
19463#	* Remove ech, el1 from cons25w, they do not work in FreeBSD 2.1.5
19464# 10.1.2 (Sat May 24 21:10:57 EDT 1997)
19465#	* update xterm-xf86-v32 to match XFree86 3.2A (changes F1-F4)
19466#	* add xterm-16color, for XFree86 3.3
19467# 10.1.3 (Sat May 31 12:21:05 EDT 1997)
19468#	* correct typo in emu
19469#	* correct typo in vt102-w (Robert Wuest)
19470#	* make new entry xterm-xf86-v33, restored xterm-xf86-v32.
19471# 10.1.4 (Sun Jun 15 08:29:05 EDT 1997)
19472#	* remove ech capability from rxvt (it does the wrong thing)
19473# 10.1.5 (Sat Jun 28 21:34:36 EDT 1997)
19474#	* remove spurious newlines from several entries (hp+color, wy50,
19475#	  wy350, wy370-nk, wy99gt-tek, wy370-tek, ibm3161, tek4205, ctrm,
19476#	  gs6300)
19477# 10.1.6 (Sat Jul  5 15:08:16 EDT 1997)
19478#	* correct rmso capability of wy50-mc
19479# 10.1.7 (Sat Jul 12 20:05:55 EDT 1997)
19480#	* add cbt to xterm-xf86-v32
19481#	* disentangle some entries from 'xterm', preferring xterm-r6 in case
19482#	  'xterm' is derived from xterm-xf86-v32, which implements ech and
19483#	  other capabilities not in xterm-r6.
19484#	* remove alternate character set from kterm entry.
19485# 10.1.8 (Sat Aug  2 18:43:18 EDT 1997)
19486#	* correct acsc entries for ACS_LANTERN, which is 'i', not 'I'.
19487# 10.1.9 (Sat Aug 23 17:54:38 EDT 1997)
19488#	* add xterm-8bit entry.
19489# 10.1.10 (Sat Oct  4 18:17:13 EDT 1997)
19490#	* repair several places where early version of tic replaced \, with \\\,
19491#	* make acsc entries canonical form (sorted, uniq).
19492#	* modify acsc entries for linux, linux-koi8
19493#	* new rxvt entry, from corrected copy of distribution in rxvt 2.21b
19494#	* add color, mouse support to kterm.
19495# 10.1.11 (Sat Oct 11 14:57:10 EDT 1997)
19496#	* correct wy120 smxon/tbc capabilities which were stuck together.
19497# 10.1.12 (Sat Oct 18 17:38:41 EDT 1997)
19498#	* add entry for xterm-xf86-v39t
19499# 10.1.13 (Sat Nov  8 13:43:33 EST 1997)
19500#	* add u8,u9 to sun-il description
19501# 10.1.14 (Sat Nov 22 19:59:03 EST 1997)
19502#	* add vt220-js, pilot, rbcomm, datapoint entries from esr's 27-jun-97
19503#	  version.
19504#	* add hds200 description (Walter Skorski)
19505#	* add EMX 0.9b descriptions
19506#	* correct rmso/smso capabilities in wy30-mc and wy50-mc (Daniel Weaver)
19507#	* rename xhpterm back to hpterm.
19508# 10.1.15 (Sat Nov 29 19:21:59 EST 1997)
19509#	* change initc in linux-c-nc to use 0..1000 range.
19510# 10.1.16 (Sat Dec 13 19:41:59 EST 1997)
19511#	* remove hpa/vpa from rxvt, which implements them incorrectly.
19512#	* add sgr0 for rxvt.
19513#	* remove bogus smacs/rmacs from EMX descriptions.
19514# 10.1.17 (Sat Dec 20 17:54:10 EST 1997)
19515#	* revised entry for att7300
19516# 10.1.18 (Sat Jan  3 17:58:49 EST 1998)
19517#	* use \0 rather than \200.
19518#	* rename rxvt-color to rxvt to match rxvt 2.4.5 distribution.
19519# 10.1.19 (Sat Jan 17 14:24:57 EST 1998)
19520#	* change xterm (xterm-xf86-v40), xterm-8bit rs1 to use hard reset.
19521#	* rename xterm-xf86-v39t to xterm-xf86-v40
19522#	* remove bold/underline from sun console entries since they're not
19523#	  implemented.
19524# 10.1.20 (Sat Jan 24 11:02:51 EST 1998)
19525#	* add beterm entry (Fred Fish)
19526#	* add irix-color/xwsh entry.
19527#	* turn ncv off for linux.
19528# 10.1.21 (Sat Jan 31 17:39:16 EST 1998)
19529#	* set ncv for FreeBSD console (treat colors with reverse specially).
19530#	* remove sgr string from qnx based on report by Xiaodan Tang
19531# 10.1.22 (Wed Feb 11 18:40:12 EST 1998)
19532#	* remove spurious commas from descriptions
19533#	* correct xterm-8bit to match XFree86 3.9Ad F1-F4.
19534# 10.1.23 (Sat Feb 28 17:48:38 EST 1998)
19535#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
19536#	  apparently based on cp-866).
19537#
19538#-(replaced-changelog-1998/02/28-by-ESR)----------------------------------------
19539#
19540# 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
19541#	* Replaced minitel-2 entry.
19542#	* Added MGR, ansi-nt.
19543#	* Minor corrections to xterm entries.
19544#	* Replaced EWAN telnet entry.
19545#	* Dropped the reorder script generator.  It was a fossil.
19546# 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
19547#	* Thorsten Lockert added termcap `bs' to a lot of types, working from
19548#	  the 4.4BSD Lite2 file.
19549# 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
19550#	* Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
19551#	* Updated iris-ansi; corrected vt102-w.
19552#	* Switch base xterm entry to 3.3 level.
19553# 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
19554#	* Added basic4.
19555#	* Removed rmir/smir from tv92B.
19556#
19557# 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
19558#	* add hds200 description (Walter Skorski)
19559#	* add beterm entry (Fred Fish)
19560#	* add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
19561#	  iris-color entries.
19562#	* add emx entries.
19563#	* Replaced unixpc entry with Benjamin Sittler's corrected version.
19564#	* Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
19565#	  versions.
19566#	* remove sgr string from qnx based on report by Xiaodan Tang
19567#	* Added u8/u9, removed rmul/smul from sun-il.
19568#	* 4.2 tic displays \0 rather than \200.
19569#	* add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
19570#	  apparently based on cp-866).
19571#	* Merged in Pavel Roskin's acsc for linux-koi8
19572#	* Corrected some erroneous \\'s to \.
19573#	* 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
19574#	* II -> ii in pcvtXX, screen, xterm.
19575#	* Removed \n chars following ANSI escapes in sgr & friends.
19576#	* Updated Wyse entries.
19577#	* h19 corrections from Tim Pierce.
19578#	* Noted that the dm2500 has both ich and smir.
19579#	* added pccons for the Alpha under OSF/1.
19580#	* Added Sony NEWS workstation entries and cit101e-rv.
19581#	* Reverted `amiga'; to Kent Polk's version, as I'm told
19582#	  the Verkuil entry messes up with Amiga Telnet.
19583# 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
19584#	* Corrected attributions in 10.2.0 release notes.
19585#	* Scanned the Shuford archive for new terminfos and information.
19586#	* Removed sgr from qnx entry (Thomas Dickey).
19587#	* Added entries for ICL and Kokusai Data Systems terminals.
19588#	* Incorporated NCR terminfos from the Boundless Technology FTP site.
19589#	* Incorporated att700 from the Boundless Technology FTP site.
19590#	* Miscellaneous contact-address and Web-page updates.
19591#
19592#-(changelog-beginning-ncurses-4.2)---------------------------------------------
19593#
19594# 1998/5/9
19595#	* add nxterm and xterm-color terminfo description (request by Cristian
19596#	  Gafton <gafton@redhat.com>).
19597#	* modify rxvt terminfo description to clear alternate screen before
19598#	  switching back to normal screen, for compatibility with applications
19599#	  which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
19600#	* modify linux terminfo description to reset color palette (reported
19601#	  by Telford Tendys <telford@eng.uts.edu.au>).
19602#
19603# 1998/7/4
19604#	* merge changes from current XFree86 xterm terminfo descriptions.
19605#
19606# 1998/7/25
19607#	* Added minitel1 entries from Alexander Montaron.
19608#	* Added qnxt2 from Federico Bianchi.
19609#	* Added arm100 terminfo entries from Dave Millen.
19610#
19611# 1998/8/6
19612#	* Added ncsa telnet entries from Francesco Potorti
19613#
19614# 1998/8/15
19615#	* modify ncsa telnet entry to reflect color, other capabilities based on
19616#	  examination of the source code - T.Dickey.
19617#
19618# 1998/8/22
19619#	* Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
19620#
19621# 1998/8/29
19622#	* Added Francesco Potorti's tuned Wyse 99 entries.
19623#	* dtterm enacs correction from Alexander V. Lukyanov.
19624#	* Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
19625#	* correct a typo in icl6404 entry.
19626#	* add xtermm and xtermc
19627#
19628# 1998/9/26
19629#	* format most %'char' sequences to %{number}
19630#	* adapt IBM AIX 3.2.5 terminfo - T.Dickey
19631#	* merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
19632#
19633# 1998/10/10
19634#	* update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
19635#	* correct initialization string in xterm-r5, add misc other features
19636#	  to correspond with xterm patch 84 - TD
19637#
19638# 1998/12/19
19639#	* update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
19640#	* add Mathew Vernon's mach console entries
19641#	* corrections for ncsa function-keys (report by Larry Virden)
19642#
19643# 1998/12/19
19644#	* change linux to use ncv#2, since underline does not work with color - TD
19645#
19646# 1999/1/9
19647#	* add kbt to iris-ansi, document other shift/control functionkeys - TD
19648#	* correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
19649#	  application modes, change kent to use the correct keypad code - TD
19650#
19651# 1999/1/10
19652#	* add entry for Tera Term - TD
19653#
19654# 1999/1/23
19655#	* minor improvements for teraterm entry - TD
19656#	* rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
19657#	  and bsdos-bold to bsdos-pc (Jeffrey C Honig)
19658#
19659# 1999/2/20
19660#	* resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
19661#	  xterm and ncsa entries by removing the unneeded ones.  Note that
19662#	  some entries will return kend & khome versus kslt and kfnd, for
19663#	  PC-style keyboards versus strict vt220 compatiblity - TD
19664#
19665# 1999/3/13
19666#	* adjust xterm-xfree86 khome/kend to match default PC-style keyboard
19667#	  tables - TD
19668#	* add 'crt' entry - TD
19669#	* correct typos in 'linux-c' entry - TD
19670#
19671# 1999/3/14
19672#	* update entries for BSD/OS console to use klone+sgr and klone+color
19673#	  (Jeffrey C Honig)
19674#
19675# 1999/3/27
19676#	* adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
19677#
19678# 1999/4/10
19679#	* add linux-lat, from RedHat patches to ncurses 4.2
19680#
19681# 1999/4/17
19682#	* add complete set of default function-key definitions for scoansi - TD.
19683#
19684# 1999/7/3
19685#	* add cnorm, cvvis for Linux 2.2 kernels
19686#
19687# 1999/7/24
19688#	* add kmous to xterm-r5 -TD
19689#	* correct entries xterm+sl and xterm+sl-twm, which were missing the
19690#	  parent "use" clause -TD
19691#
19692# 1999/7/31
19693#	* corrected cnorm, added el1 in 'screen' description -TD
19694#
19695# 1999/8/14
19696#	* add ms-vt100 -TD
19697#
19698# 1999/8/21
19699#	* corrections to beterm entry -TD
19700#
19701# 1999/8/28
19702#	* add cygwin entry -TD
19703#
19704# 1999/9/4
19705#	* minor corrections for beterm entry -TD
19706#
19707# 1999/9/18
19708#	* add acsc string to HP 70092 terminfo entry -Joerg Wunsch
19709#
19710# 1999/9/25
19711#	* add amiga-8bit entry
19712#	* add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
19713#	  rcons-color, based on
19714#	  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
19715#	* add alias for iris-ansi-net
19716#
19717# 1999/10/2
19718#	* corrected scoansi entry's acsc, some function keys, add color -TD
19719#
19720# 1999/10/23
19721#	* add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
19722#	* reorder ncsa entries to make ncsa-vt220 use the alternate function
19723#	  key mapping, leaving Potorti's entries more like he named them -TD
19724#	* remove enter/exit am-mode from cygwin -TD
19725#
19726# 1999/10/30
19727#	* correct typos in several entries (missing '[' from CSI):
19728#	  mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
19729#	  strings for avt-ns -TD
19730#	* add 'dim' to ncv mask for linux (report by Klaus Weide).
19731#
19732# 1999/11/27
19733#	* correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
19734#	* add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
19735#	* add xterm-88color and xterm-256color -TD
19736#
19737# 1999/12/4
19738#	* add "obsolete" termcap strings -TD
19739#	* add kvt and gnome entries -TD
19740#
19741# 1999/12/11
19742#	* correct cup string for regent100 -TD
19743#
19744# 2000/1/1
19745#	* update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
19746#	* add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
19747#	* change OTrs capabilities to rs2 -TD
19748#	* add obsolete and extended capabilities to 'screen' -TD
19749#
19750# 2000/1/5
19751#	* remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
19752#	  with kf10 -TD
19753#	* updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
19754#	  and adding kcbt -TD
19755#
19756# 2000/1/12
19757#	* remove incorrect khome/kend from xterm-xf86-v333, which was based on
19758#	  nonstandard resource settings -TD
19759#
19760# 2000/2/26
19761#	* minor fixes for xterm-*, based on Debian #58530 -TD
19762#
19763# 2000/3/4
19764#	* add several terminal types from esr's "11.0", as well as comments.
19765#	  bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
19766#	  vt220-8bit, vt220-old, wy85-8bit
19767#
19768# 2000/3/18
19769#	* add several terminal types from esr's "11.0.1" (ansi-*).
19770#	* update OTxx capabilities for changes on 2000/3/4.
19771#	* revert part of vt220 change (request by Todd C Miller for OpenBSD)
19772#
19773# 2000/3/26
19774#	* move screen's AX extension to ecma+color, modify several entries to
19775#	  use that, adjusting ncv as needed -TD
19776#
19777# 2000/4/8
19778#	* add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
19779#	* correct spelling error in entry name: bq300-rv was given as bg300-rv
19780#	  in esr's version.
19781#
19782# 2000/4/15
19783#	* add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
19784#	* correct color definition for ibm3164, make minor changes to other
19785#	  IBM terminal definitions based on recent terminfo descriptions -TD
19786#
19787# 2000/4/22
19788#	* add mgterm, from NetBSD -TD
19789#	* add alias sun-cgsix for sun-ss5 as per NetBSD
19790#	* change cons25w to use rs2 for reset rather than rs1 -TD
19791#	* add rc/sc to aixterm based on manpage -TD
19792#
19793# 2000/5/13
19794#	* remove ncv from xterm-16color, xterm-256color
19795#
19796# 2000/6/10
19797#	* add kmous capability to linux to use Joerg Schoen's gpm patch.
19798#
19799# 2000/7/1
19800#	* add Eterm (Michael Jennings)
19801#
19802# 2000-07-18
19803#       * add amiga-vnc entry.
19804#
19805# 2000-08-12
19806#	* correct description of Top Gun Telnet.
19807#	* add kterm-color
19808#
19809# 2000-08-26
19810#	* add qansi* entries from QNX ftp site.
19811#
19812# 2000-09-16
19813#	* add Matrix Orbital entries by Eric Z. Ayers).
19814#	* add xterm-basic, xterm-sco entries, update related entries to XFree86
19815#	  4.0.1c -TD
19816#
19817# 2000-09-17
19818#	* add S0, E0 extensions to screen's entry -TD
19819#
19820# 2000-09-23
19821#	* several corrections based on tic's new parameter-checking code -TD
19822#	* modify xterm-r6 and similar rs2 sequences which had \E7...\E8
19823#	  bracketing sequences that reset video attributes (\E8 would restore
19824#	  them) -TD
19825#
19826# 2000-11-11
19827#	* rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
19828#
19829# 2000-12-16
19830#	* improved scoansi, based on SCO man-page, and testing console,
19831#	  scoterm with tack -TD
19832#
19833# 2001-01-27
19834#	* modify kterm to use acsc via SCS controls.
19835#
19836# 2001-02-10
19837#	* screen 3.9.8 allows xterm mouse controls to pass-through
19838#
19839# 2001-03-11
19840#	* remove spurious "%|" from some xterm entries.
19841#
19842# 2001-03-31
19843#	* modify 'screen' khome/kend to match screen 3.09.08
19844#	* add examples of 'screen' customization (screen.xterm-xfree86,
19845#	  screen.xterm-r6, screen.teraterm) -TD
19846#
19847# 2001-04-14
19848#	* correct definitions of shifted editing keys for xterm-xfree86 -TD
19849#	* add "Apple_Terminal" entries -Benjamin Sittler
19850#	* remove time-delays from "Apple_Terminal" entries -TD
19851#	* make sgr entries time-delays consistent with individual caps -TD
19852#
19853# 2001-05-05
19854#	* corrected/updated screen.xterm-xfree86
19855#
19856# 2001-05-19
19857#	* ELKS descriptions, from Federico Bianchi
19858#	* add u6 (CSR) to Eterm (Michael Jennings).
19859#
19860# 2001-07-21
19861#	* renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
19862#	  tic which handles names no longer than 14 characters.  Add
19863#	  corresponding descriptions for the Darwin PowerPC console named
19864#	  "xnuppc" -Benjamin Sittler
19865#
19866# 2001-09-01
19867#	* change kbs in mach entries to ^? (Marcus Brinkmann).
19868#
19869# 2001-11-17
19870#	* add "putty" entry -TD
19871#	* updated "Apple_Terminal" entries -Benjamin Sittler
19872#
19873# 2001-11-24
19874#	* add ms-vt100-color entry -TD
19875#	* add "konsole" entries -TD
19876#
19877# 2001-12-08
19878#	* update gnome entry to Redhat 7.2 -TD
19879#
19880# 2002-05-25
19881#	* add kf13-kf48 strings to cons25w -TD
19882#	* add pcvt25-color entry -TD
19883#	* changed a few /usr/lib/tabset -> /usr/share/tabset.
19884#	* improve some features of scoansi entry based on SCO's version -TD
19885#	* add scoansi-new entry corresponding to OpenServer 5.0.6
19886#
19887# 2002-06-15
19888#	* add kcbt to screen entry -TD
19889#
19890# 2002-06-22
19891#	* add rxvt-16color, ibm+16color, mvterm entries -TD
19892#
19893# 2002-09-28
19894#	* split out linux-basic entry, making linux-c inherit from that, and
19895#	  in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
19896#	  the history of this console type -TD
19897#	* scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
19898#	  r/g/b parameters of initc are in the range 0 to 1000 -TD
19899#
19900# 2002-10-05
19901#	* minor fix for scale-factor of linux-c and linux-c-nc -TD
19902#
19903# 2002-11-09
19904#	* split-out vt100+keypad and vt220+keypad, fix interchanged ka3/kb2
19905#	  in the latter -TD
19906#
19907# 2002-11-16
19908#	* add entries for mterm (mterm, mterm-ansi, decansi) -TD
19909#	* ncr260wy350pp has only 16 color pairs -TD
19910#	* add sun-type4 from NetBSD -TD
19911#	* update xterm-xfree86 to current (patch 170) -TD
19912#	* add screen-bce, screen-s entries -TD
19913#	* add xterm-1002, xterm-1003 entries -TD
19914#
19915# 2003-01-11
19916#	* update homepage for Top Gun Telnet/SSH
19917#
19918# 2003-01-25
19919#	* reduce duplication in emx entries, added emx-base -TD
19920#
19921# 2003-05-24
19922#	* corrected acs for screen.teraterm -TD
19923#	* add tkterm entry -TD
19924#
19925# 2003-07-15
19926#	* cygwin changes from Charles Wilson:
19927#	  misc/terminfo.src (nxterm|xterm-color): make xterm-color
19928#	  primary instead of nxterm, to match XFree86's xterm.terminfo
19929#	  usage and to prevent circular links.
19930#	  (rxvt): add additional codes from rxvt.org.
19931#	  (rxvt-color): new alias
19932#	  (rxvt-xpm): new alias
19933#	  (rxvt-cygwin): like rxvt, but with special acsc codes.
19934#	  (rxvt-cygwin-native): ditto.  rxvt may be run under XWindows, or
19935#	  with a "native" MSWin GUI.  Each takes different acsc codes,
19936#	  which are both different from the "normal" rxvt's acsc.
19937#	  (cygwin): cygwin-in-cmd.exe window.  Lots of fixes.
19938#	  (cygwinDBG): ditto.
19939#
19940# 2003-09-27
19941#	* update gnome terminal entries -TD
19942#
19943# 2003-10-04
19944#	* add entries for djgpp 2.03 and 2.04 -TD
19945#
19946# 2003-10-25
19947#	* add alias for vtnt -TD
19948#	* update xterm-xfree86 for XFree86 4.4 -TD
19949#
19950# 2003-11-22
19951#	* add linux-vt (Andrey V Lukyanov)
19952#
19953# 2003-12-20
19954#	* add screen.linux -TD
19955#
19956# 2004-01-10
19957#	* revised/improved entries for tvi912b, tvi920b (Benjamin Sittler)
19958#
19959# 2004-01-17
19960#	* add OpenNT/Interix/SFU entries (Federico Bianchi)
19961#	* add vt100+ and vt-utf8 entries -TD
19962#	* add uwin entry -TD
19963#
19964# 2004-03-27
19965#	* add sgr strings to several common entries lacking them, e.g.,
19966#	  screen, to make the entries more portable -TD
19967#	* remove cvvis from rxvt entry, since it is the same as cnorm -TD
19968#	* similar fixups for cvvis/cnorm various entries -TD
19969#
19970# 2004-05-22
19971#	* remove 'ncv' from xterm-256color (patch 188) -TD
19972#
19973# 2004-06-26
19974#	* add mlterm -TD
19975#	* add xterm-xf86-v44 -TD
19976#	* modify xterm-new aka xterm-xfree86 to accommodate luit, which relies
19977#	  on G1 being used via an ISO-2022 escape sequence (report by
19978#	  Juliusz Chroboczek) -TD
19979#	* add 'hurd' entry -TD
19980#
19981# 2004-07-03
19982#	* make xterm-xf86-v43 derived from xterm-xf86-v40 rather than
19983#	  xterm-basic -TD
19984#	* align with xterm #192's use of xterm-new -TD
19985#	* update xterm-new and xterm-8bit for cvvis/cnorm strings -TD
19986#	* make xterm-new the default "xterm" -TD
19987#
19988# 2004-07-10
19989#	* minor fixes for emu -TD
19990#	* add emu-220
19991#	* add rmam/smam to linux (Trevor Van Bremen)
19992#	* change wyse acsc strings to use 'i' map rather than 'I' -TD
19993#	* fixes for avatar0 -TD
19994#	* fixes for vp3a+ -TD
19995#
19996# 2004-07-17
19997#	* add xterm-pc-fkeys -TD
19998#	* review/update gnome and gnome-rh90 entries (prompted by
19999#	  Redhat Bugzilla #122815) -TD
20000#	* review/update konsole entries -TD
20001#	* add sgr, correct sgr0 for kterm and mlterm -TD
20002#	* correct tsl string in kterm -TD
20003#
20004# 2004-07-24
20005#	* make ncsa-m rmacs/smacs consistent with sgr -TD
20006#	* add sgr, rc/sc and ech to syscons entries -TD
20007#	* add function-keys to decansi -TD
20008#	* add sgr to mterm-ansi -TD
20009#	* add sgr, civis, cnorm to emu -TD
20010#	* correct/simplify cup in addrinfo -TD
20011#	* corrections for gnome and konsole entries
20012#	  (Redhat Bugzilla #122815) -Hans de Goede
20013#	* modify DEC entries (vt220, etc), to add sgr string, and to use
20014#	  ISO-2022 strings for rmacs/smacs -TD
20015#
20016# 2004-07-31
20017#	* rename xterm-pc-fkeys to xterm+pcfkeys -TD
20018#
20019# 2004-08-07
20020#	* improved putty entry -Robert de Bath
20021#
20022# 2004-08-14
20023#	* remove dch/dch1 from rxvt because they are implemented inconsistently
20024#	  with the common usage of bce/ech -TD
20025#	* remove khome from vt220 (vt220's have no home key) -TD
20026#	* add rxvt+pcfkeys -TD
20027#
20028# 2004-08-21
20029#	* modify several entries to ensure xterm mouse and cursor visibility
20030#	  are reset in rs2 string:  hurd, putty, gnome, konsole-base, mlterm,
20031#	  Eterm, screen.  (The xterm entries are left alone - old ones for
20032#	  compatibility, and the new ones do not require this change) -TD
20033#
20034# 2004-08-28
20035#	* add morphos entry -Pavel Fedin
20036#	* modify amiga-8bit to add khome/kend/knp/kpp -Pavel Fedin
20037#	* corrected \E[5?l to \E[?5l in vt320 entries -TD
20038#
20039# 2004-11-20
20040#	* update wsvt25 entry -TD
20041#
20042# 2005-01-29
20043#	* update pairs for xterm-88color and xterm-256color to reflect the
20044#	  ncurses extended-color support -TD
20045#
20046# 2005-02-26
20047#	* modify sgr/sgr0 in xterm-new to improve tgetent's derived "me" -TD
20048#	* add aixterm-16color to demonstrate 16-color capability -TD
20049#
20050# 2005-04-23
20051#	* add media-copy to vt100 -TD
20052#	* corrected acsc string for vt52 -TD
20053#
20054# 2005-04-30
20055#	* add kUP, kDN (user-defined shifted up/down arrow) definitions for
20056#	  xterm-new -TD
20057#	* add kUP5, kUP6, etc., for xterm-new and rxvt -TD
20058#
20059# 2005-05-07
20060#	* re-corrected acsc string for vt52 -TD
20061#
20062# 2005-05-28
20063#	* corrected sun-il sgr string which referred to bold and underline -TD
20064#	* add sun-color entry -TD
20065#
20066# 2005-07-23
20067#	* modify sgr0 in several entries to reset alternate-charset as in the
20068#	  sgr string -TD
20069#	* modify sgr string of prism9 to better match the individual
20070#	  attributes -TD
20071#
20072# 2005-10-15
20073#	* correct order of use= in rxvt-basic -TD
20074#
20075# 2005-10-26
20076#	* use kind/kri as shifted up/down cursor keys for xterm-new -TD
20077#
20078# 2005-11-12
20079#	* other minor fixes to cygwin based on tack -TD
20080#	* correct smacs in cygwin (report by Baurzhan Ismagulov).
20081#
20082# 2006-02-18
20083#	* add nsterm-16color entry -TD
20084#	* remove ncv flag from xterm-16color -TD
20085#	* remove setf/setb from xterm-256color to match xterm #209 -TD
20086#	* update mlterm entry to 2.9.2 -TD
20087#
20088# 2006-02-25
20089#	* fixes to make nsterm-16color match report
20090#	  by Christian Ebert -Alain Bench
20091#
20092# 2006-04-22
20093#	* add xterm+256color building block -TD
20094#	* add gnome-256color, putty-256color, rxvt-256color -TD
20095#
20096# 2006-05-06
20097#	* add hpterm-color -TD
20098#
20099# 2006-06-24
20100#	* add xterm+pcc0, xterm+pcc1, xterm+pcc2, xterm+pcc3 -TD
20101#	* add gnome-fc5 (prompted by GenToo #122566) -TD
20102#	* remove obsolete/misleading comments about kcbt on Linux -Alain Bench
20103#	* improve xterm-256color by combining the ibm+16color setaf/setab
20104#	  strings with SGR 48.  The setf/setb strings also are cancelled here
20105#	  rather than omitted so derived entries will cancel those also -Alain
20106#	  Bench
20107#
20108# 2006-07-01
20109#	* add some notes regarding copyright to terminfo.src -TD
20110#	* use rxvt+pcfkeys in Eterm -TD
20111#	* remove km and flash from gnome, Eterm and rxvt since they do not work
20112#	  as one would expect (km sends ESC rather than setting the 8th bit
20113#	  of the key) -TD
20114#	* add/use ansi+enq, vt100+enq and vt102+enq -TD
20115#	* add konsole-solaris -TD
20116#
20117# 2006-07-22
20118#	* update xterm-sun and xterm-sco entries to match xterm #216 -TD
20119#	* modify is2/rs2 strings for xterm-r6 as per fix in xterm #148 -TD
20120#	* modify xterm-24 to inherit from "xterm" -TD
20121#	* add xiterm entry -TD
20122#	* add putty-vt100 entry -TD
20123#	* corrected spelling of Michael A Dorman's name, prompted by
20124#	  http://www.advogato.org/person/mdorman/diary.html -TD
20125#
20126# 2006-08-05
20127#	* add xterm+pcf0, xterm+pcf2 from xterm #216 -TD
20128#	* update xterm+pcfkeys to match xterm #216 -TD
20129#
20130# 2006-08-17
20131#	* make descriptions of xterm entries consistent with its terminfo -TD
20132#
20133# 2006-08-26
20134#	* add xfce, mgt -TD
20135#
20136# 2006-09-02
20137#	* correct acsc string in kterm -TD
20138#
20139# 2006-09-09
20140#	* add kon entry -TD
20141#	* remove invis from linux and related entries, add klone+sgr8 for those
20142#	  that implement the feature (or have not been shown to lack it) -TD
20143#
20144# 2006-09-23
20145#	* add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD
20146#	* minor improvements to rxvt+pcfkeys -TD
20147#
20148# 2006-09-30
20149#	* fix a few typos in if/then/else expressions -TD
20150#
20151# 2006-10-07
20152#	* add several GNU Screen variations with 16- and 256-colors, and
20153#	  status line (Alain Bench).
20154#
20155# 2007-03-03
20156#	* add Newbury Data entries (Jean-Charles Billaud).
20157#
20158# 2007-06-10
20159#	* corrected xterm+pcf2 modifiers for F1-F4, match xterm #226 -TD
20160#
20161# 2007-07-14
20162#	* restore section of pre-ncurses-4.2 changelog to fix attribution -TD
20163#	* add konsole-256color entry -TD
20164#
20165# 2007-08-18
20166#	* add 9term entry (request by Juhapekka Tolvanen) -TD
20167#
20168# 2007-10-13
20169#	* correct kIC in rxvt+pcfkeys (prompted by Debian #446444) -TD
20170#	* add shift-control- and control-modified keys for rxvt editing
20171#	  keypad -TD
20172#	* update mlterm entry to 2.9.3 -TD
20173#	* add mlterm+pcfkeys -TD
20174#
20175# 2007-10-20
20176#	* move kLFT, kRIT, kind and kri capabilities from xterm-new to
20177#	  xterm+pcc0, etc., to make the corresponding building blocks reflect
20178#	  xterm's capabilities -TD
20179#	* add mrxvt entry -TD
20180#	* add xterm+r6f2, use in mlterm and mrxvt entries -TD
20181#
20182# 2007-11-03
20183#	* correct acsc strings for h19 and z100 (Benjamin Sittler)
20184#
20185# 2007-11-11
20186#	* use xterm-xf86-v44 for "xterm-xfree86", reflecting changes to
20187#	  xterm starting with patch #216 -TD
20188#	* make legacy xterm entries such as xterm-24 inherit from xterm-old,
20189#	  to match xterm #230 -TD
20190#	* extend xterm+pccX entries to match xterm #230 -TD
20191#	* add xterm+app, xterm+noapp, from xterm #230 -TD
20192#	* add/use xterm+pce2 from xterm #230, in xterm+pcfkeys -TD
20193#
20194# 2008-04-19
20195#	* add screen.rxvt -TD
20196#
20197# 2008-04-28
20198#	* add screen+fkeys (prompted by Debian #478094) -TD
20199#
20200# 2008-06-28
20201#	* add screen.mlterm -TD
20202#	* improve mlterm and mlterm+pcfkeys -TD
20203#
20204# 2008-08-23
20205#	* add Eterm-256color, Eterm-88color -TD
20206#	* add rxvt-88color -TD
20207#
20208# 2008-10-12
20209#	* add teraterm4.59 entry, use that as primary teraterm entry, rename
20210#	  original to teraterm2.3 -TD
20211#	* update "gnome" to 2.22.3 -TD
20212#	* update "konsole" to 1.6.6 -TD
20213#	* add "aterm" -TD
20214#	* add "linux2.6.26" -TD
20215#
20216# 2008-11-15
20217#	* change several \E[2g (clear tab at current column) to \E[3g
20218#	  (clear all tabs) to match definition for tbc capability -TD
20219#
20220# 2008-11-29
20221#	* add eterm-color -TD
20222#
20223# 2009-01-10
20224#	* add screen.Eterm -TD
20225#
20226# 2009-03-28
20227#	* correct typo in pfkey of ansi.sys-old
20228#	  (report by Kalle Olavi Niemitalo)
20229#	* move function- and cursor-keys from emx-base to ansi.sys, and create
20230#	  a pfkey capability which handles F1-F48 -TD
20231#
20232# 2009-05-02
20233#	* add vwmterm entry (Bryan Christ)
20234#
20235# 2009-09-19
20236#	* change ncv and op capabilities in sun-color to match Sun's entry for
20237#	  this (report by Laszlo Peter)
20238#	* improve interix smso by using reverse rather than bold (report by
20239#	  Kristof Zelechovski).
20240#
20241# 2009-10-03
20242#	* remove unnecessary kcan assignment to ^C from putty (Sven Joachim)
20243#	* add linux-16color (Benjamin Sittler)
20244#	* correct initc capability of linux-c-nc end-of-range (Benjamin Sittler)
20245#	* similar change for dg+ccc and dgunix+ccc (Benjamin Sittler)
20246#	* add ccc and initc capabilities to xterm-16color -TD
20247#
20248# 2009-10-31
20249#	* updated nsterm* entries (Benjamin Sittler, prompted by GenToo #206201)
20250#
20251# 2009-12-12
20252#	* updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta)
20253#
20254# 2009-12-12
20255#	* add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler)
20256#	* rename minix to minix-1.7, add minix entry for Minux3 -TD
20257#
20258# 2009-12-26
20259#	* add bterm (bogl 0.1.18) -TD
20260#	* minor fix to rxvt+pcfkeys -TD
20261#
20262# 2010-02-06
20263#	* update mrxvt to 0.5.4, add mrxvt-256color -TD
20264#
20265# 2010-02-13
20266#	* add several screen-bce.XXX entries -TD
20267#
20268# 2010-02-23
20269#	* modify screen-bce.XXX entries to exclude ech, since screen's color
20270#	  model does not clear with color for that feature -TD
20271#
20272# 2010-03-20
20273#	* rename atari and st52 to atari-old, st52-old, use newer entries from
20274#	  FreeMiNT by Guido Flohr (from patch/report by Alan Hourihane).
20275#
20276# 2010-06-12
20277#	* add mlterm+256color entry -TD
20278#
20279# 2010-07-17
20280#	* add hard-reset for rs2 to wsvt25 to help ensure that reset ends
20281#	  the alternate character set (patch by Nicholas Marriott)
20282#
20283# 2010-08-28
20284#	* improve acsc for vt52 (Benjamin Sittler)
20285#	* modify nsterm entries for consistent sgr/sgr0 -TD
20286#	* modify xnuppc entries for consistent sgr/sgr0 -TD
20287#	* add invis to tek4115 sgr -TD
20288#
20289# 2010-09-11
20290#	* reformat acsc strings to canonical format -TD
20291#
20292# 2010-09-25
20293#	* add "XT" capability to entries for terminals that support both
20294#	  xterm-style mouse- and title-controls, for "screen" which
20295#	  special-cases TERM beginning with "xterm" or "rxvt" -TD
20296#
20297# 2010-10-02
20298#	* fill in no-parameter forms of cursor-movement where a parameterized
20299#	  form is available -TD
20300#	* fill in missing cursor controls where the form of the controls is
20301#	  ANSI -TD
20302#	* add parameterized cursor-controls to linux-basic (report by Dae) -TD
20303#
20304# 2010-10-09
20305#	* correct comparison used for setting 16-colors in linux-16color
20306#	  entry (Novell #644831) -TD
20307#	* improve linux-16color entry, using "dim" for color-8 which makes it
20308#	  gray rather than black like color-0 -TD
20309#
20310# 2010-11-20
20311#	* make "vte" the principal entry defining "gnome", since GNOME terminal
20312#	  is merely one of several terminals whose behavior is provided by this
20313#	  library -TD
20314#
20315# 2010-11-27
20316#	* fix typo in rmso for tek4106 -Goran Weinholt
20317#
20318# 2010-12-11
20319#	* suppress ncv in screen entry, allowing underline -Alejandro R. Sedeno
20320#	* also suppress ncv in konsole-base -TD
20321#
20322# 2011-02-05
20323#	* add U8 feature to denote entries for terminal emulators which do not
20324#	  support VT100 SI/SO when processing UTF-8 encoding -TD
20325#	* add xterm-utf8 as a demo of the U8 feature -TD
20326#
20327# 2011-02-20
20328#	* add cons25-debian entry (Brian M Carlson, Debian #607662).
20329#
20330# 2011-06-11
20331#	* update minix entry to minix 3.2 (Thomas Cort).
20332#
20333# 2011-07-09
20334#	* fix inconsistent tabset path in pcmw (Todd C. Miller).
20335#	* remove a backslash which continued comment, obscuring altos3
20336#	  definition with OpenBSD toolset (Nicholas Marriott).
20337#
20338# 2011-07-16
20339#	* add/use xterm+tmux chunk from xterm #271 -TD
20340#	* resync xterm-new entry from xterm #271 -TD
20341#	* add E3 extended capability to linux-basic (Miroslav Lichvar)
20342#	* add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
20343#	* add SI/SO change to linux2.6 entry (Debian #515609) -TD
20344#
20345# 2011-07-21
20346#	* add kich1 to sun (Yuri Pankov)
20347#	* use bold rather than reverse for smso in sun-color (Yuri Pankov).
20348#
20349# 2011-08-06
20350#	* corrected k9 in dg460-ansi, add other features based on manuals -TD
20351#
20352# 2011-08-20
20353#	* minor cleanup of X-terminal emulator section -TD
20354#	* add terminator entry -TD
20355#	* add simpleterm entry -TD
20356#
20357######## SHANTIH!  SHANTIH!  SHANTIH!
20358# generated by ncurses 5.9.20110813 tic
20359# using options -Ktx
20360# from terminfo.src revision 1.399
20361